diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000..f9e3b7b282 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +xn--rttn50cxwe.xn--xuw71npw9a.ml \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..7c60232f70 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019-2022, VoileLabs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000000..b84ee9d431 Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png new file mode 100644 index 0000000000..09bfe518b3 Binary files /dev/null and b/android-chrome-512x512.png differ diff --git a/api/index.js b/api/index.js new file mode 100644 index 0000000000..f7047c265a --- /dev/null +++ b/api/index.js @@ -0,0 +1,216 @@ +require('cross-fetch/polyfill') + +const path = require('path') +const fs = require('fs') +const gql = require('fake-tag') +const { encode } = require('html-entities') +const { Readable } = require('stream') +const { compressStream } = require('../libs/common') + +const html = fs.readFileSync(path.join(__dirname, '../index.html')).toString() + +/** + * @param {import('@vercel/node').VercelRequest} req + * @param {import('@vercel/node').VercelResponse} res + */ +module.exports = async (req, res) => { + try { + processRequest(req, res) + } catch (e) { + res.status(200) + res.setHeader('Content-Type', 'text/html; charset=utf-8') + res.end(html) + } +} + +/** + * @param {import('@vercel/node').VercelRequest} req + * @param {import('@vercel/node').VercelResponse} res + */ +async function processRequest(req, res) { + let body = html + + const timeStart = Date.now() + + /* Open Graph */ + try { + if (/\/video\/\w+/.test(req.url)) { + const vid = req.url.match(/\/video\/(\w+)/)[1] + const data = ( + await queryGraphQL( + gql` + query ($vid: String!) { + getVideo(para: { vid: $vid, lang: "CHS" }) { + item { + coverImage + title + desc + } + tags { + languages { + value + } + } + } + } + `, + { + vid, + } + ) + ).data.getVideo + const og = [ + // common data + `${encode(data.item.title)} - PatchyVideo`, + ``, + ``, + ``, + ``, + ``, + + // opengraph data + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ...[...new Set(data.tags.reduce((pv, cv) => [...pv, ...cv.languages.map((v) => v.value)], []))].map( + (v) => `` + ), + + // twitter data + ``, + ``, + ``, + ``, + ``, + ``, + ``, + ].join('\n') + body = body.replace(/[\S\s]*/, og) + } else if (/\/playlist\/\w+/.test(req.url)) { + const pid = req.url.match(/\/playlist\/(\w+)/)[1] + const data = ( + await queryGraphQL( + gql` + query ($pid: String!) { + getPlaylist(para: { pid: $pid }) { + item { + title + cover + desc + } + } + } + `, + { + pid, + } + ) + ).data.getPlaylist + const og = [ + // common data + `${encode(data.item.title)} - PatchyVideo`, + ``, + ``, + ``, + ``, + + // opengraph data + ``, + ``, + ``, + ``, + ``, + + // twitter data + ``, + ``, + ``, + ``, + ``, + ``, + ].join('\n') + body = body.replace(/[\S\s]*/, og) + } else if (/\/user\/\w+/.test(req.url)) { + const uid = req.url.match(/\/user\/(\w+)/)[1] + const data = ( + await queryGraphQL( + gql` + query ($uid: String!) { + getUser(para: { uid: $uid }) { + username + desc + image + gravatar + } + } + `, + { + uid, + } + ) + ).data.getUser + const og = [ + // common data + `${encode(data.username)} - PatchyVideo`, + ``, + ``, + ``, + ``, + + // opengraph data + ``, + ``, + ``, + ``, + ``, + ``, + + // twitter data + ``, + ``, + ``, + ``, + ``, + ``, + ].join('\n') + body = body.replace(/[\S\s]*/, og) + } + } catch (e) { + body += '\n' + } + + body = body.replace('', ``) + + res.status(200) + res.setHeader('Content-Type', 'text/html; charset=utf-8') + await compressStream(req, Readable.from(body), res) +} + +/** + * @param {string} gql + * @returns {Promise>} + */ +function queryGraphQL(gql, vari) { + return fetch('https://patchyvideo.com/be/gql/graphql', { + method: 'POST', + headers: new Headers({ + 'Content-Type': 'application/json', + }), + body: JSON.stringify({ + query: gql, + variables: vari, + }), + }).then((res) => res.json()) +} + +function encodeHTML(string, replaceBr = true) { + return encode(replaceBr ? string.replace(/[\n\r]/g, ' ') : string, { level: 'xml' }) +} diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000000..ef4a656176 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/assets/404.1cc6a619.js b/assets/404.1cc6a619.js new file mode 100644 index 0000000000..f1835bf06a --- /dev/null +++ b/assets/404.1cc6a619.js @@ -0,0 +1,2 @@ +import{d as a,u as c,o as r,g as l,e as t,t as e,f as s,ac as _}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const i={class:"w-full"},d={class:"text-center"},u=["textContent"],x=["textContent"],g=a({__name:"404",setup(p){const{t:n}=c(),{fullPath:o}=_();return(f,h)=>(r(),l("div",i,[t("div",d,[t("h1",{class:"text-xl dark:text-white",textContent:e(s(n)("error-pages.N404.title"))},null,8,u),t("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:e(s(o))},null,8,x)])]))}});export{g as default}; +//# sourceMappingURL=404.1cc6a619.js.map diff --git a/assets/404.1cc6a619.js.map b/assets/404.1cc6a619.js.map new file mode 100644 index 0000000000..ccdea6e9b6 --- /dev/null +++ b/assets/404.1cc6a619.js.map @@ -0,0 +1 @@ +{"version":3,"file":"404.1cc6a619.js","sources":["../../packages/error-pages/components/404.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","fullPath","useRoute"],"mappings":"kPAaA,KAAA,CAAA,EAAAA,GAAAC,IACA,CAAA,SAAAC,GAAAC"} \ No newline at end of file diff --git a/assets/Author.4c62f310.js b/assets/Author.4c62f310.js new file mode 100644 index 0000000000..ce822b8c18 --- /dev/null +++ b/assets/Author.4c62f310.js @@ -0,0 +1,44 @@ +import{_ as T,b as U,c as z}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as D,u as F,U as v,D as y,G as w,B as k,H as $,m as C,o as l,c as _,w as u,ap as P,aq as W,f as a,g as i,e as t,$ as E,s as M,b as d,t as n,Q as m,F as f,h as S,i as p,ac as Q,j,P as G,ax as J}from"./index.72556674.js";import{s as K}from"./setSiteTitle.db0fa839.js";import{_ as O}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{_ as X}from"./PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";import"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */const Y={key:0,class:"max-w-screen-xl mx-auto"},Z=t("div",{class:"w-full aspect-ratio-6/1 bg-gray-200 dark:bg-gray-600"},null,-1),ee={class:"flex flex-row lt-sm:mt-2 ml-4 md:ml-16"},te={class:"aspect-ratio-1/1 flex-shrink-0 flex-grow-0 sm:-mt-16"},ae={class:"mt-1 sm:mt-2 ml-2 sm:ml-6"},se=["textContent"],re={class:"text-md sm:text-base text-gray-800 dark:text-gray-300"},oe={class:"inline-flex align-middle flex-row space-x-1 flex-nowrap"},le=["href"],ie=["textContent"],ne={class:"mt-4 ml-8"},ue={key:0},de={class:"flex flex-nowrap gap-2"},me=t("span",{class:"i-uil:external-link-alt text-lg"},null,-1),ce={class:"grid mt-2 grid-cols-5 grid-flow-row gap-x-2"},ge=["textContent"],_e={class:"w-full text-xs truncate text-gray-600 dark:text-gray-300 font-light"},Ce=D({__name:"Author",setup(fe){const{t:h}=F(),V=Q(),q=v(()=>Number(V.params.tid)),{result:R,loading:A}=y(w` + query ($tid: Int!) { + getAuthor(para: { tagid: $tid }) { + tagname + type + desc + avatar + urls + commonTags { + id + languages { + lang + value + } + } + } + } + `,{tid:q});k(()=>{A.value?P():W()});const s=$(R,null,e=>e==null?void 0:e.getAuthor);k(()=>{s.value&&K(h("tag.author.title",{tagname:s.value.tagname}))});const I=e=>{const o=new URL(e);return o.hostname.endsWith("bilibili.com")?"bilibili":o.hostname.endsWith("youtube.com")?"youtube":o.hostname.endsWith("twitter.com")?"twitter":"other"},B=e=>{switch(e){case"bilibili":return"i-ri:bilibili-line";case"youtube":return"i-uil:youtube-alt";case"twitter":return"i-uil:twitter-alt";default:return"i-uil:link-alt"}},c=C(!1),L=[{name:"author-videos",label:"发布的视频"}],x=C("author-videos"),{result:N}=y(w` + query ($limit: Int!, $query: String!, $order: String!) { + listVideo( + para: { + offset: 0 + limit: $limit + humanReadableTag: true + query: $query + order: $order + qtype: "tag" + } + ) { + count + videos { + id + item { + title + coverImage + } + meta { + createdAt + } + } + } + } + `,{limit:20,query:v(()=>{var e;return(e=s.value)==null?void 0:e.tagname}),order:"last_modified"},()=>{var e;return{enabled:!!((e=s.value)!=null&&e.tagname)}}),g=$(N,null,e=>e==null?void 0:e.listVideo);return(e,o)=>{const b=j("RouterLink"),H=T;return l(),_(H,null,{default:u(()=>[a(s)?(l(),i("div",Y,[Z,t("div",ee,[t("div",te,[t("div",{class:"overflow-hidden border-2 border-gray-300 dark:border-gray-800 transform transition-all ease duration-300",style:E({borderRadius:c.value?"0.25rem":a(M).md?"14rem":"5rem"}),onMouseenter:o[0]||(o[0]=()=>c.value=!0),onMouseleave:o[1]||(o[1]=()=>c.value=!1)},[d(U,{class:"w-20 h-20 md:w-56 md:h-56 cursor-pointer",openable:"","hide-title":"",alt:a(s).tagname,image:a(s).avatar},null,8,["alt","image"])],36)]),t("div",ae,[t("h1",{class:"text-lg sm:text-2xl font-bold",textContent:n(a(s).tagname)},null,8,se),t("div",re,[m(n(a(h)(`tag.author.type.${a(s).type}`)),1),a(s).urls.length>0?(l(),i(f,{key:0},[m(" ˙ "),t("div",oe,[(l(!0),i(f,null,S(a(s).urls,r=>(l(),i("a",{key:r,target:"_blank",rel:"noopener noreferrer",href:r,class:G(["inline-block text-lg",B(I(r))])},null,10,le))),128))])],64)):p("",!0)]),t("p",{class:"whitespace-pre break-normal line-clamp-4",textContent:n(a(s).desc)},null,8,ie)])]),t("div",ne,[d(X,{modelValue:x.value,"onUpdate:modelValue":o[2]||(o[2]=r=>x.value=r),tabs:L},{"author-videos":u(()=>[a(g)?(l(),i("div",ue,[t("div",de,[t("span",null,n(a(s).tagname)+"共发布了 "+n(a(g).count)+" 个视频",1),d(b,{to:{path:"/search-result",query:{i:a(s).tagname}},class:"flex text-purple-600 flex-nowrap items-center gap-0.5 dark:text-white dark:border-b dark:border-gray-400"},{default:u(()=>[m(" 查看全部"),me]),_:1},8,["to"])]),t("div",ce,[(l(!0),i(f,null,S(a(g).videos,r=>(l(),_(b,{key:r.id.toHexString(),to:`/video/${r.id.toHexString()}`,class:"p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors duration-100"},{default:u(()=>[d(O,{title:r.item.title,"cover-image":r.item.coverImage,class:"rounded-md border border-gray-200 dark:border-gray-800"},null,8,["title","cover-image"]),t("a",{class:"w-full text-sm overflow-hidden line-clamp-2 overflow-ellipsis",textContent:n(r.item.title)},null,8,ge),t("div",_e,[(l(),_(J,null,{default:u(()=>[d(z,{date:r.meta.createdAt},null,8,["date"])]),_:2},1024)),m("  ")])]),_:2},1032,["to"]))),128))])])):p("",!0)]),_:1},8,["modelValue"])])])):p("",!0)]),_:1})}}});export{Ce as default}; +//# sourceMappingURL=Author.4c62f310.js.map diff --git a/assets/Author.4c62f310.js.map b/assets/Author.4c62f310.js.map new file mode 100644 index 0000000000..5b695ba98b --- /dev/null +++ b/assets/Author.4c62f310.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Author.4c62f310.js","sources":["../../packages/tag/Author.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","route","useRoute","tid","computed","result","loading","useQuery","gql","watchEffect","startProgress","stopProgress","author","useResult","data","setSiteTitle","getUrlSite","url","urlo","getIconForSite","site","isHoveringAvatar","ref","tabs","tab","authorVideosRes","_a","authorVideos"],"mappings":"shDA4GA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,IAEAC,EAAAC,EAAA,IAAA,OAAAH,EAAA,OAAA,GAAA,CAAA,EACA,CAAA,OAAAI,EAAA,QAAAC,CAAA,EAAAC,EAA4BC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAC1B,CAkBA,IAAAL,CACE,CACF,EAGFM,EAAA,IAAA,CACEH,EAAA,MACEI,IAEAC,GAAa,CAAA,EAIjB,MAAAC,EAAAC,EAAAR,EAAA,KAAAS,GAAAA,GAAA,YAAAA,EAAA,SAAA,EAEAL,EAAA,IAAA,CACEG,EAAA,OACEG,EAAAhB,EAAA,mBAAA,CAAA,QAAAa,EAAA,MAAA,OAAA,CAAA,CAAA,CAAqE,CAAA,EAGzE,MAAAI,EAAAC,GAAA,CACE,MAAAC,EAAA,IAAA,IAAAD,CAAA,EACA,OAAAC,EAAA,SAAA,SAAA,cAAA,EACE,WACFA,EAAA,SAAA,SAAA,aAAA,EACE,UAGFA,EAAA,SAAA,SAAA,aAAA,EACE,UACF,OAAO,EAETC,EAAAC,GAAA,CACE,OAAAA,EAAA,CAAc,IAAA,WAEV,MAAA,qBAAO,IAAA,UAEP,MAAA,oBAAO,IAAA,UAEP,MAAA,oBAAO,QAEP,MAAA,gBAAO,CACX,EAGFC,EAAAC,EAAA,EAAA,EAEAC,EAAA,CAAa,CAAA,KAAA,gBAAA,MAAA,OAAA,CAC6B,EAE1CC,EAAAF,EAAA,eAAA,EAGA,CAAA,OAAAG,CAAA,EAAAlB,EAAoCC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAClC,CA0BA,MAAA,GACS,MAAAJ,EAAA,IAAA,OAAA,OAAAsB,EAAAd,EAAA,QAAA,YAAAc,EAAA,QAAA,EACoC,MAAA,eACpC,EACT,IAAA,OAAA,OACO,QAAA,CAAA,GAAAA,EAAAd,EAAA,QAAA,MAAAc,EAAA,QACoB,EAC3B,EAGFC,EAAAd,EAAAY,EAAA,KAAAX,GAAAA,GAAA,YAAAA,EAAA,SAAA"} \ No newline at end of file diff --git a/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js b/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js new file mode 100644 index 0000000000..d2836d938c --- /dev/null +++ b/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js @@ -0,0 +1,2 @@ +import{d as s,u as a,m as l,z as c,o as r,g as i,P as u,f as d,at as p,e as m}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const _=["title"],f=m("div",{class:"i-uil:top-arrow-to-top text-3xl"},null,-1),v=[f],w=s({__name:"BackTop",setup(b){const{t:n}=a(),o=l(document.body.scrollTop||document.documentElement.scrollTop);c(document,"scroll",p(()=>{o.value=document.body.scrollTop||document.documentElement.scrollTop},10,!0));function e(){o.value>0&&(window.requestAnimationFrame(e),window.scrollTo(0,o.value-o.value/5))}return(k,t)=>(r(),i("div",{class:u(["fixed bottom-5 right-5 p-2 cursor-pointer select-none bg-gray-50 dark:bg-gray-800 shadow transition-opacity rounded-full",{"opacity-50":!o.value}]),title:d(n)("ui.back-top.back-top"),onClick:t[0]||(t[0]=T=>e())},v,10,_))}});export{w as _}; +//# sourceMappingURL=BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js.map diff --git a/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js.map b/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js.map new file mode 100644 index 0000000000..c2de8289fb --- /dev/null +++ b/assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js","sources":["../../packages/ui/components/BackTop.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","top","ref","useEventListener","useThrottleFn","backUp"],"mappings":"oQAgBA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,EAAA,SAAA,KAAA,WAAA,SAAA,gBAAA,SAAA,EAEAC,EAAA,SACE,SACAC,EAAA,IAAA,CAEEH,EAAA,MAAA,SAAA,KAAA,WAAA,SAAA,gBAAA,SAAgE,EAAA,GAAA,EAAA,CACvD,EAGb,SAAAI,GAAA,CACEJ,EAAA,MAAA,IACE,OAAA,sBAAAI,CAAA,EACA,OAAA,SAAA,EAAAJ,EAAA,MAAAA,EAAA,MAAA,CAAA,EACF"} \ No newline at end of file diff --git a/assets/ChangeSettings.0ee1356b.js b/assets/ChangeSettings.0ee1356b.js new file mode 100644 index 0000000000..d7cd207b55 --- /dev/null +++ b/assets/ChangeSettings.0ee1356b.js @@ -0,0 +1,2 @@ +import{d as E,u as D,a6 as L,U as u,B as k,m as P,o as i,c as m,w as d,a as _,_ as p,e as t,t as x,f as s,P as r,g as C,h as A,F as B,ax as R,k as T,ac as V,ad as I,at as S}from"./index.72556674.js";import{_ as $}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{s as F}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const O={class:"flex flex-col sm:flex-row gap-x-8 gap-y-4 max-w-screen-xl mx-4 sm:mx-auto mt-4"},j={class:"flex-shrink-0 w-full sm:w-48"},z={class:"flex flex-row flex-nowrap justify-between items-center"},N=["textContent"],U={class:"flex mt-3 flex-col gap-y-1"},q=["onClick"],G=["textContent"],H={class:"flex-1 flex-shrink-0 min-h-70vh"},J={class:"mt-30vh text-center text-xl text-gray-600 dark:text-gray-300"},K=["textContent"],M=t("div",{class:"i-uil:spinner-alt text-2xl animate-spin"},null,-1),st=E({__name:"ChangeSettings",setup(Q){const w=V(),f=I(),{t:n}=D(),y=L(),a=u(()=>w.params.catogory),h=u(()=>{const l=[{name:"general",text:n("settings.general.name"),icon:"i-mdi-light:cog",component:_(()=>p(()=>import("./SettingsGeneral.bcf54fe7.js"),["assets/SettingsGeneral.bcf54fe7.js","assets/index.72556674.js","assets/index.40792eff.css","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]))},{name:"appearance",text:n("settings.appearance.name"),icon:"i-ph:magic-wand-light",component:_(()=>p(()=>import("./SettingsAppearance.720b4f87.js"),["assets/SettingsAppearance.720b4f87.js","assets/index.72556674.js","assets/index.40792eff.css","assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js","assets/use-controllable.d8c790f2.js","assets/index.8f2b1f29.js"]))}];return y.isLogin&&l.push({name:"account",text:n("settings.account.name"),icon:"i-ph:user-circle-light",component:_(()=>p(()=>import("./SettingsAccount.b75b2b1f.js"),["assets/SettingsAccount.b75b2b1f.js","assets/index.72556674.js","assets/index.40792eff.css"]))}),l}),c=u(()=>h.value.find(l=>l.name===a.value));k(()=>{!c.value&&a.value&&f.push("/settings/general")}),k(()=>{c.value&&F(`${c.value.text} - ${n("settings.settings")} - PatchyVideo`)});const o=P(!0),g=S(()=>{o.value=!o.value},100,!1);return(l,v)=>{const b=$;return i(),m(b,null,{default:d(()=>[t("div",O,[t("div",j,[t("div",z,[t("h1",{class:"text-2xl",textContent:x(s(n)("settings.settings"))},null,8,N),t("div",{class:r(["sm:hidden text-3xl",{"i-uil:arrow-from-top":o.value,"i-uil:arrow-to-bottom transform rotate-180":!o.value}]),onClick:v[0]||(v[0]=(...e)=>s(g)&&s(g)(...e))},null,2)]),t("div",{class:r(["overflow-hidden",{"lt-sm:h-0":o.value}])},[t("div",U,[(i(!0),C(B,null,A(s(h),e=>(i(),C("div",{key:e.name,class:r(["pl-2 py-1 rounded-full",{"cursor-default text-purple-900 dark:text-white bg-purple-100 dark:bg-gray-700":s(a)===e.name,"cursor-pointer select-none":s(a)!==e.name}]),onClick:()=>s(a)!==e.name&&s(f).push(`/settings/${e.name}`)},[t("div",{class:r(["inline-block mr-2 text-4xl text-center align-middle",e.icon])},null,2),t("div",{class:"inline-block text-lg align-middle",textContent:x(e.text)},null,8,G)],10,q))),128))])],2)]),t("div",H,[(i(),m(R,{timeout:"150"},{default:d(()=>{var e;return[(i(),m(T((e=s(c))==null?void 0:e.component)))]}),fallback:d(()=>[t("div",J,[t("div",{class:"inline-block align-middle",textContent:x(s(n)("settings.loading"))},null,8,K),M])]),_:1}))])])]),_:1})}}});export{st as default}; +//# sourceMappingURL=ChangeSettings.0ee1356b.js.map diff --git a/assets/ChangeSettings.0ee1356b.js.map b/assets/ChangeSettings.0ee1356b.js.map new file mode 100644 index 0000000000..2073468612 --- /dev/null +++ b/assets/ChangeSettings.0ee1356b.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"ojCA4DA,YACAA,MACA,UACAC,MAEAC,2BAQAC,SACE,SAAuC,CACrC,eACQ,gCACyB,uBACzB,qQAC0E,EAClF,CACA,kBACQ,mCAC4B,6BAC5B,sSAC6E,CACrF,EAGF,kBACEC,QAAgB,eACR,gCACyB,8BACzB,6JAC0E,GAIpFA,CAAO,GAETC,2CACAC,OACE,mBACEN,2BAA+B,GAEnCM,OACED,SACEE,8DAAqF,GAGzF,cACAC,IAAmB,KAEfC,gBAA6B,EAC/B,IACA,EACA","names":["router","auth","active","catogories","catogories2","activeCatogory","watchEffect","setSiteTitle","onCollapse","collapsed"],"sources":["../../packages/settings/ChangeSettings.vue"],"sourcesContent":["\n\n\n"],"file":"assets/ChangeSettings.0ee1356b.js"} \ No newline at end of file diff --git a/assets/CompPlaylist.6f1acf8f.js b/assets/CompPlaylist.6f1acf8f.js new file mode 100644 index 0000000000..47f4e281be --- /dev/null +++ b/assets/CompPlaylist.6f1acf8f.js @@ -0,0 +1,25 @@ +import{d as g,u as k,r as x,aG as $,G as b,y as C,C as I,U as P,m as S,aw as A,B,H as E,o as n,g as u,f as o,b as v}from"./index.72556674.js";import{V as N,_ as O}from"./VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js";import"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import"./index.8f2b1f29.js";import"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";import"./CoverPlaceholder.83cb739d.js";/*! PatchyVideo/Platinum by VoileLabs */const V={key:0},q={key:1},U=g({__name:"CompPlaylist",props:{data:{default:"{}"}},setup(m){const _=m;k();const e=x({playlist_id:"5e057a1b31929c83a76d18a4",title_pos:"tl",video_show_title:!0,video_show_date:!0,video_rows:1,...JSON.parse(_.data)}),{result:s,load:f,fetchMore:w,forceDisabled:y}=$(b` + query ($pid: String!, $limit: Int!) { + getPlaylist(para: { pid: $pid }) { + item { + title + count + } + videos(offset: 0, limit: $limit) { + id + item { + title + coverImage + } + meta { + createdAt + } + } + meta { + createdAt + modifiedAt + } + } + } + `,{},{notifyOnNetworkStatusChange:!0}),a=C(null),{width:h}=I(a),t=P(()=>Math.floor(h.value/(240+16))*e.video_rows),c=S(!1);let l=0;A(a,([{isIntersecting:i}])=>{c.value=i},{rootMargin:"200px 200px 200px 200px"}),B(()=>{l===t.value||!c.value||(l=t.value,!(s.value&&l<=s.value.getPlaylist.videos.length)&&(y.value?f(void 0,{pid:e.playlist_id,limit:t.value}):w({variables:{pid:e.playlist_id,limit:t.value},updateQuery(i,{fetchMoreResult:d}){return d||i}})))});const r=E(s,null,i=>i.getPlaylist);return(i,d)=>{var p;return n(),u("div",{ref_key:"el",ref:a,class:"w-full"},[o(r)?(n(),u("div",V,[v(N,{name:(p=e.title)!=null?p:o(r).item.title,"title-links-to":`/playlist/${e.playlist_id}`,videos:o(r).videos,count:o(t),rows:e.video_rows,"video-show-title":e.video_show_title,"video-show-date":e.video_show_date},null,8,["name","title-links-to","videos","count","rows","video-show-title","video-show-date"])])):(n(),u("div",q,[v(O,{count:o(t),rows:e.video_rows},null,8,["count","rows"])]))],512)}}});export{U as default}; +//# sourceMappingURL=CompPlaylist.6f1acf8f.js.map diff --git a/assets/CompPlaylist.6f1acf8f.js.map b/assets/CompPlaylist.6f1acf8f.js.map new file mode 100644 index 0000000000..85f072cc96 --- /dev/null +++ b/assets/CompPlaylist.6f1acf8f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CompPlaylist.6f1acf8f.js","sources":["../../packages/home/components/CompPlaylist.vue"],"sourcesContent":["\n\n\n"],"names":["useI18n","config","reactive","props","result","load","fetchMore","forceDisabled","useLazyQuery","gql","el","shallowRef","width","useElementSize","count","computed","isInc","ref","shownCount","useIntersectionObserver","isIntersecting","watchEffect","previousQueryResult","fetchMoreResult","playlist","useResult","data"],"mappings":"+uBAqCAA,EAAA,EAWA,MAAAC,EAAAC,EAAA,CAA0C,YAAA,2BAC3B,UAAA,KACF,iBAAA,GACO,gBAAA,GACD,WAAA,EACL,GAAA,KAAA,MAAAC,EAAA,IAAA,CACY,CAAA,EAG1B,CAAA,OAAAC,EAAA,KAAAC,EAAA,UAAAC,EAAA,cAAAC,CAAA,EAAAC,EAAmDC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACjD,CAAA,EAwBC,CACD,4BAAA,EAC+B,CAC/B,EAGFC,EAAAC,EAAA,IAAA,EACA,CAAA,MAAAC,CAAA,EAAAC,EAAAH,CAAA,EACAI,EAAAC,EAAA,IAAA,KAAA,MAAAH,EAAA,OAAA,IAAA,GAAA,EAAAX,EAAA,UAAA,EACAe,EAAAC,EAAA,EAAA,EACA,IAAAC,EAAA,EACAC,EAAAT,EACE,CAAA,CAAA,CAAA,eAAAU,CAAA,CAAA,IAAA,CAEEJ,EAAA,MAAAI,CAAc,EAChB,CAAA,WAAA,yBAAA,CACwC,EAE1CC,EAAA,IAAA,CACEH,IAAAJ,EAAA,OAAA,CAAAE,EAAA,QAEAE,EAAAJ,EAAA,MACA,EAAAV,EAAA,OAAAc,GAAAd,EAAA,MAAA,YAAA,OAAA,UAEAG,EAAA,MACEF,EAAA,OAAA,CAAA,IAAAJ,EAAA,YAAA,MAAAa,EAAA,KAAA,CAAA,EAGAR,EAAA,CAAU,UAAA,CAAA,IAAAL,EAAA,YAAA,MAAAa,EAAA,KAAA,EACiD,YAAAQ,EAAA,CAAA,gBAAAC,GAAA,CAEvD,OAAAA,GACED,CACK,CACT,CAAA,GAEJ,CAAA,EAGF,MAAAE,EAAAC,EAAArB,EAAA,KAAAsB,GAAAA,EAAA,WAAA"} \ No newline at end of file diff --git a/assets/CompQueryVideo.d0cc364c.js b/assets/CompQueryVideo.d0cc364c.js new file mode 100644 index 0000000000..a410f4d4db --- /dev/null +++ b/assets/CompQueryVideo.d0cc364c.js @@ -0,0 +1,26 @@ +import{d as C,u as q,r as g,aG as $,G as k,y as V,C as b,U as x,m as S,aw as I,B,H as E,o as d,g as l,f as i,b as v}from"./index.72556674.js";import{V as N,_ as O}from"./VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js";import"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import"./index.8f2b1f29.js";import"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";import"./CoverPlaceholder.83cb739d.js";/*! PatchyVideo/Platinum by VoileLabs */const Q={key:0},R={key:1},U=C({__name:"CompQueryVideo",props:{data:{default:"{}"}},setup(m){const p=m,{t:f}=q(),e=g({query:"",order:"latest",additionalConstraint:"",title:f("home.home.components.query-video.default-title"),title_pos:"tl",video_show_title:!0,video_show_date:!0,video_rows:1,...JSON.parse(p.data)}),{result:r,load:_,fetchMore:w,forceDisabled:h}=$(k` + query ($limit: Int!, $query: String!, $order: String!, $additionalConstraint: String) { + listVideo( + para: { + offset: 0 + limit: $limit + humanReadableTag: true + query: $query + order: $order + additionalConstraint: $additionalConstraint + } + ) { + videos { + id + item { + title + coverImage + } + meta { + createdAt + } + } + } + } + `,{},{notifyOnNetworkStatusChange:!0}),a=V(null),{width:y}=b(a),t=x(()=>Math.floor(y.value/(240+16))*e.video_rows),u=S(!1);let s=0;I(a,([{isIntersecting:o}])=>{u.value=o},{rootMargin:"200px 200px 200px 200px"}),B(()=>{s===t.value||!u.value||(s=t.value,!(r.value&&s<=r.value.listVideo.videos.length)&&(h.value?_(void 0,{query:e.query,order:e.order,additionalConstraint:e.additionalConstraint,limit:t.value}):w({variables:{query:e.query,order:e.order,additionalConstraint:e.additionalConstraint,limit:t.value},updateQuery(o,{fetchMoreResult:n}){return n||o}})))});const c=E(r,null,o=>o.listVideo);return(o,n)=>(d(),l("div",{ref_key:"el",ref:a,class:"w-full"},[i(c)?(d(),l("div",Q,[v(N,{name:e.title,"title-links-to":{path:"/search-result",query:{i:e.query,order:e.order,visible_site:e.additionalConstraint}},videos:i(c).videos,count:i(t),rows:e.video_rows,"video-show-title":e.video_show_title,"video-show-date":e.video_show_date},null,8,["name","title-links-to","videos","count","rows","video-show-title","video-show-date"])])):(d(),l("div",R,[v(O,{count:i(t),rows:e.video_rows},null,8,["count","rows"])]))],512))}});export{U as default}; +//# sourceMappingURL=CompQueryVideo.d0cc364c.js.map diff --git a/assets/CompQueryVideo.d0cc364c.js.map b/assets/CompQueryVideo.d0cc364c.js.map new file mode 100644 index 0000000000..75cbff285c --- /dev/null +++ b/assets/CompQueryVideo.d0cc364c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CompQueryVideo.d0cc364c.js","sources":["../../packages/home/components/CompQueryVideo.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","config","reactive","props","result","load","fetchMore","forceDisabled","useLazyQuery","gql","el","shallowRef","width","useElementSize","count","computed","isInc","ref","shownCount","useIntersectionObserver","isIntersecting","watchEffect","previousQueryResult","fetchMoreResult","listVideo","useResult","data"],"mappings":"ivBAwCA,CAAA,EAAAA,GAAAC,IAaAC,EAAAC,EAAA,CAA0C,MAAA,GACjC,MAAA,SACA,qBAAA,GACe,MAAAH,EAAA,gDAAA,EACmC,UAAA,KAC9C,iBAAA,GACO,gBAAA,GACD,WAAA,EACL,GAAA,KAAA,MAAAI,EAAA,IAAA,CACY,CAAA,EAG1B,CAAA,OAAAC,EAAA,KAAAC,EAAA,UAAAC,EAAA,cAAAC,CAAA,EAAAC,EAAmDC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACjD,CAAA,EAyBC,CACD,4BAAA,EAC+B,CAC/B,EAGFC,EAAAC,EAAA,IAAA,EACA,CAAA,MAAAC,CAAA,EAAAC,EAAAH,CAAA,EACAI,EAAAC,EAAA,IAAA,KAAA,MAAAH,EAAA,OAAA,IAAA,GAAA,EAAAX,EAAA,UAAA,EACAe,EAAAC,EAAA,EAAA,EACA,IAAAC,EAAA,EACAC,EAAAT,EACE,CAAA,CAAA,CAAA,eAAAU,CAAA,CAAA,IAAA,CAEEJ,EAAA,MAAAI,CAAc,EAChB,CAAA,WAAA,yBAAA,CACwC,EAE1CC,EAAA,IAAA,CACEH,IAAAJ,EAAA,OAAA,CAAAE,EAAA,QAEAE,EAAAJ,EAAA,MACA,EAAAV,EAAA,OAAAc,GAAAd,EAAA,MAAA,UAAA,OAAA,UAEAG,EAAA,MACEF,EAAA,OAAA,CAAgB,MAAAJ,EAAA,MACA,MAAAA,EAAA,MACA,qBAAAA,EAAA,qBACe,MAAAa,EAAA,KAChB,CAAA,EAIfR,EAAA,CAAU,UAAA,CACG,MAAAL,EAAA,MACK,MAAAA,EAAA,MACA,qBAAAA,EAAA,qBACe,MAAAa,EAAA,KAChB,EACf,YAAAQ,EAAA,CAAA,gBAAAC,GAAA,CAEE,OAAAA,GACED,CACK,CACT,CAAA,GAEJ,CAAA,EAGF,MAAAE,EAAAC,EAAArB,EAAA,KAAAsB,GAAAA,EAAA,SAAA"} \ No newline at end of file diff --git a/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js b/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js new file mode 100644 index 0000000000..aa329b3eba --- /dev/null +++ b/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js @@ -0,0 +1,2 @@ +import{d as r,u as o,o as l,g as c,e as i,P as n,f as t}from"./index.72556674.js";import{u as m}from"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */const u={class:"aspect-ratio-16/10 overflow-hidden"},d=["alt","src"],p=r({__name:"Cover",props:{title:null,coverImage:null},setup(e){const{t:s}=o(),a=m();return(f,g)=>(l(),c("div",u,[i("img",{class:n(["object-cover h-full w-full bg-gray-300 dark:bg-gray-600",{"dark:filter dark:brightness-75":t(a)}]),alt:t(s)("image.cover.alt",{title:e.title.slice(0,40)}),src:`https://patchyvideo.com/images/covers/${e.coverImage}`},null,10,d)]))}});export{p as _}; +//# sourceMappingURL=Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js.map diff --git a/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js.map b/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js.map new file mode 100644 index 0000000000..a23fb58f25 --- /dev/null +++ b/assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","sources":["../../packages/video/components/Cover.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","filter","useThemeDarkCoverFilter"],"mappings":"uSAoBA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC"} \ No newline at end of file diff --git a/assets/CoverPlaceholder.83cb739d.js b/assets/CoverPlaceholder.83cb739d.js new file mode 100644 index 0000000000..bd1c3df9d5 --- /dev/null +++ b/assets/CoverPlaceholder.83cb739d.js @@ -0,0 +1,2 @@ +import{a1 as e,o as r,g as c}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const o={},a={class:"aspect-ratio-16/10 bg-gray-300 dark:bg-gray-600"};function s(t,n){return r(),c("div",a)}const d=e(o,[["render",s]]);export{d as C}; +//# sourceMappingURL=CoverPlaceholder.83cb739d.js.map diff --git a/assets/CoverPlaceholder.83cb739d.js.map b/assets/CoverPlaceholder.83cb739d.js.map new file mode 100644 index 0000000000..ade0b429b6 --- /dev/null +++ b/assets/CoverPlaceholder.83cb739d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CoverPlaceholder.83cb739d.js","sources":["../../packages/video/components/CoverPlaceholder.vue"],"sourcesContent":["\n"],"names":["_sfc_render","_ctx","_cache"],"mappings":"sKACE,SAAAA,EAAAC,EAAAC,EAAA"} \ No newline at end of file diff --git a/assets/DefaultAvatar.471a92cc.jpg b/assets/DefaultAvatar.471a92cc.jpg new file mode 100644 index 0000000000..5d0e762ca7 Binary files /dev/null and b/assets/DefaultAvatar.471a92cc.jpg differ diff --git a/assets/EditVideo.df41c9f5.js b/assets/EditVideo.df41c9f5.js new file mode 100644 index 0000000000..e56252cfd7 --- /dev/null +++ b/assets/EditVideo.df41c9f5.js @@ -0,0 +1,28 @@ +import{d as B,u as q,a6 as E,U as m,D as N,G as h,B as r,H as T,m as p,a7 as w,q as A,f as i,o as f,g as x,e as l,t as d,c as D,i as F,ap as H,aq as I,aE as M,ac as P}from"./index.72556674.js";import{_ as R}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import{s as n}from"./setSiteTitle.db0fa839.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const U={key:0,class:"mx-2"},G={class:"pl-2 text-gray-700 dark:text-gray-200 border-b border-purple-200 dark:border-gray-700"},Q={class:"mx-2 mt-1"},j={class:"flex flex-col gap-2"},z={class:"flex"},J=["textContent"],K={class:"flex"},L=["textContent"],te=B({__name:"EditVideo",setup(O){const{t}=q(),y=P(),C=E(),_=m(()=>y.params.vid),{result:V,loading:S,refetch:$}=N(h` + query ($vid: String!) { + getVideo(para: { vid: $vid, lang: "CHS" }) { + item { + title + desc + uploadTime + url + repostType + } + meta { + createdBy { + id + username + desc + image + gravatar + } + } + clearence + } + } + `,{vid:_.value});r(()=>{S.value?H():I()});const e=T(V,null,a=>a==null?void 0:a.getVideo);r(()=>{e.value&&n(t("video.edit-video.title",{videoname:e.value.item.title}))});const o=p("3"),g=m(()=>[{name:t("video.edit-video.profile.ranks.0"),value:"0"},{name:t("video.edit-video.profile.ranks.1"),value:"1"},{name:t("video.edit-video.profile.ranks.2"),value:"2"},{name:t("video.edit-video.profile.ranks.3"),value:"3"}]);r(()=>{e.value&&(o.value=e.value.clearence.toString())});const v=p(!1),k=m(()=>v.value),u=p(!1);{const{mutate:a}=w(h` + mutation ($clearence: Int!, $vid: String!) { + setVideoClearence(para: { clearence: $clearence, vid: $vid }) + } + `);A(o,(s,c)=>{var b;s!==c&&s!==((b=e.value)==null?void 0:b.clearence.toString())&&(v.value=!0,a({vid:_.value,clearence:Number(o.value)}).then(()=>{v.value=!1,$()}).catch(W=>{u.value=!0,v.value=!1}))})}return r(()=>{if(k.value&&e.value){n(t("video.edit-video.profile.edit.saving",{videoname:e.value.item.title}));const a=r(()=>{!k.value&&e.value&&(a(),u.value?n(t("video.edit-video.profile.edit.failed",{videoname:e.value.item.title})):(n(t("video.edit-video.profile.edit.saved",{videoname:e.value.item.title})),M(()=>{e.value&&n(t("video.edit-video.title",{videoname:e.value.item.title}))},3e3)),u.value=!1)})}}),(a,s)=>i(e)?(f(),x("div",U,[l("div",G,d(i(t)("video.edit-video.profile.profile")),1),l("div",Q,[l("div",j,[l("div",z,[l("span",null,d(i(t)("video.edit-video.profile.title")),1),l("span",{class:"ml-4 border-b border-purple-300 dark:border-gray-600",textContent:d(i(e).item.title)},null,8,J)]),l("div",K,[l("span",null,d(i(t)("video.edit-video.profile.ranks.rank")),1),i(C).isAdmin?(f(),D(R,{key:0,modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=c=>o.value=c),class:"ml-4 w-52","item-list":i(g)},null,8,["modelValue","item-list"])):(f(),x("span",{key:1,class:"ml-4 border-b border-purple-400 dark:border-purple-800",textContent:d(i(g)[Number(o.value)].name)},null,8,L))])])])])):F("",!0)}});export{te as default}; +//# sourceMappingURL=EditVideo.df41c9f5.js.map diff --git a/assets/EditVideo.df41c9f5.js.map b/assets/EditVideo.df41c9f5.js.map new file mode 100644 index 0000000000..5132273a96 --- /dev/null +++ b/assets/EditVideo.df41c9f5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"EditVideo.df41c9f5.js","sources":["../../packages/video/EditVideo.vue"],"sourcesContent":["\n\n\n"],"names":["useI18n","route","useRoute","auth","useAuth","vid","computed","result","loading","refetch","useQuery","gql","watchEffect","startProgress","stopProgress","video","useResult","data","setSiteTitle","clearence","ref","clearences","loadingMutateClearence","saving","savingFailed","mutate","useMutation","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AAf,EAAA,QAAA,YAAAe,EAAA,UAAA,cACER,EAAA,MAAA,GACAG,EAAA,CAAO,IAAApB,EAAA,MACI,UAAA,OAAAc,EAAA,KAAA,CACwB,CAAA,EAAA,KAAA,IAAA,CAG/BG,EAAA,MAAA,GACAb,GAAQ,CAAA,EAAA,MAAAsB,GAAA,CAIRP,EAAA,MAAA,GACAF,EAAA,MAAA,EAA+B,CAAA,EAErC,CAAA,CACD,CAEH,OAAAV,EAAA,IAAA,CACE,GAAAW,EAAA,OAAAR,EAAA,MAAA,CACEG,EAAA,EAAA,uCAAA,CAAA,UAAAH,EAAA,MAAA,KAAA,KAAA,CAAA,CAAA,EACA,MAAAiB,EAAApB,EAAA,IAAA,CACE,CAAAW,EAAA,OAAAR,EAAA,QACEiB,IACAR,EAAA,MAQEN,EAAA,EAAA,uCAAA,CAAA,UAAAH,EAAA,MAAA,KAAA,KAAA,CAAA,CAAA,GAPAG,EAAA,EAAA,sCAAA,CAAA,UAAAH,EAAA,MAAA,KAAA,KAAA,CAAA,CAAA,EACAkB,EAAA,IAAA,CACElB,EAAA,OACEG,EAAA,EAAA,yBAAA,CAAA,UAAAH,EAAA,MAAA,KAAA,KAAA,CAAA,CAAA,CAA+E,EAAA,GAAA,GAMrFS,EAAA,MAAA,GACF,CAAA,CACD,CACH,CAAA"} \ No newline at end of file diff --git a/assets/Embed.d14e0c94.js b/assets/Embed.d14e0c94.js new file mode 100644 index 0000000000..5de02605db --- /dev/null +++ b/assets/Embed.d14e0c94.js @@ -0,0 +1,12 @@ +import{d as l,U as u,D as c,G as n,H as m,B as d,f as s,o,g as p,c as f,w as v,ax as _,i as g,b as h,ac as b}from"./index.72556674.js";import{P as k}from"./Player.74106f66.js";import{s as x}from"./setSiteTitle.db0fa839.js";import"./PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const y={key:0,class:"absolute top-0 bottom-0 left-0 right-0"},H=l({__name:"Embed",setup(B){const i=b(),a=u(()=>i.params.vid),{result:r}=c(n` + query ($vid: String!) { + getVideo(para: { vid: $vid, lang: "CHS" }) { + item { + title + url + site + } + } + } + `,{vid:a.value}),e=m(r,null,t=>t==null?void 0:t.getVideo);return d(()=>{e.value&&x(e.value.item.title)}),(t,C)=>s(e)?(o(),p("div",y,[(o(),f(_,null,{default:v(()=>[h(k,{item:s(e).item,"full-height":!0,"disable-fullscreen":!0},null,8,["item"])]),_:1}))])):g("",!0)}});export{H as default}; +//# sourceMappingURL=Embed.d14e0c94.js.map diff --git a/assets/Embed.d14e0c94.js.map b/assets/Embed.d14e0c94.js.map new file mode 100644 index 0000000000..71b4b7c891 --- /dev/null +++ b/assets/Embed.d14e0c94.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Embed.d14e0c94.js","sources":["../../packages/video/Embed.vue"],"sourcesContent":["\n\n\n"],"names":["route","useRoute","vid","computed","result","useQuery","gql","video","useResult","data","watchEffect","setSiteTitle"],"mappings":"6cAkBA,MAAAA,EAAAC,IACAC,EAAAC,EAAA,IAAAH,EAAA,OAAA,GAAA,EACA,CAAA,OAAAI,CAAA,EAAAC,EAAmBC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACjB,CAWA,IAAAJ,EAAA,KACW,CACX,EAIFK,EAAAC,EAAAJ,EAAA,KAAAK,GAAAA,GAAA,YAAAA,EAAA,QAAA,EAEA,OAAAC,EAAA,IAAA,CACEH,EAAA,OACEI,EAAAJ,EAAA,MAAA,KAAA,KAAA,CAAmC,CAAA"} \ No newline at end of file diff --git a/assets/ForgetPassword.bd463b9d.css b/assets/ForgetPassword.bd463b9d.css new file mode 100644 index 0000000000..ed85f4c533 --- /dev/null +++ b/assets/ForgetPassword.bd463b9d.css @@ -0,0 +1 @@ +@media (max-width: 720px){.forget-password[data-v-f4b55bf1]{background-image:url(/assets/LoginMobile.7dec527c.jpg)}}@media (min-width: 720px){.forget-password[data-v-f4b55bf1]{background-image:url(/assets/Login.a949e73d.jpg)}} diff --git a/assets/ForgetPassword.d9239742.js b/assets/ForgetPassword.d9239742.js new file mode 100644 index 0000000000..a716386ea9 --- /dev/null +++ b/assets/ForgetPassword.d9239742.js @@ -0,0 +1,2 @@ +import{d as Z,u as E,m as b,o as u,g as c,f as o,e,b as v,t as l,J as m,K as x,M as y,i as k,w as S,l as I,a9 as K,au as P,j as T,s as $,Q as C,ar as D,as as F,a1 as L}from"./index.72556674.js";import{s as N}from"./setSiteTitle.db0fa839.js";import{r as V}from"./resDataStatus.1d07d88c.js";import{_ as z}from"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";/*! PatchyVideo/Platinum by VoileLabs */const d=f=>(D("data-v-f4b55bf1"),f=f(),F(),f),j={class:"forget-password h-screen w-full md:min-h-xl flex justify-end bg-center bg-no-repeat bg-cover dark:filter dark:brightness-75"},M={key:0,class:"flex-wrap content-between w-full h-full p-5 shadow text-white flex filter drop-shadow-md backdrop-filter backdrop-blur-sm"},B={class:"w-full text-center"},U={class:"text-lg"},J={class:"w-full space-y-2"},O={class:"flex w-full border-b border-white"},R=d(()=>e("div",{class:"i-uil:envelope align-middle text-2xl"},null,-1)),q=["placeholder","onKeydown"],H={class:"text-red-500 text-sm h-4"},Q={class:"space-y-1"},G=["disabled"],W={key:0,class:"text-red-500"},X=d(()=>e("div",{class:"h-20 w-full"},null,-1)),Y=d(()=>e("div",null,"© VoileLabs 2019-2022",-1)),ee={key:1,class:"flex mr-50 p-5 w-80 h-full flex-wrap content-between text-black bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm"},se={class:"w-full"},te={class:"text-lg text-center"},ae={class:"w-full space-y-2"},oe={class:"flex w-full border-b border-black"},le=d(()=>e("div",{class:"i-uil:envelope align-middle text-2xl"},null,-1)),re=["placeholder","onKeydown"],de={class:"text-red-500 text-sm h-4"},ie={class:"space-y-1"},ne=["disabled"],ue={key:0,class:"text-red-500"},ce=d(()=>e("div",{class:"h-20 w-full"},null,-1)),fe=d(()=>e("div",null,"© VoileLabs 2019-2022",-1)),pe=Z({__name:"ForgetPassword",setup(f){const{t:s}=E();N(`${s("user.forget-password.title")} - PatchyVideo`);const t=b("ready"),A=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,p={fine:s("user.forget-password.email.email-status.fine"),tip:s("user.forget-password.email.email-status.tip"),msg:s("user.forget-password.email.email-status.msg")},i=b(p.fine),r=b(""),n=b(" ");async function _(){if(t.value==="loading")return;t.value="loading";let g=!0;if(r.value?A.test(r.value)?i.value=p.fine:(g=!1,i.value=p.msg):(g=!1,i.value=p.tip),!g){t.value="ready";return}await fetch("https://patchyvideo.com/be/user/request_resetpass.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({email:r.value,lang:I.value}),credentials:"include"}).then(a=>a.json()).then(a=>{a.status===V.SUCCEED?(t.value="ready",K({message:s("user.forget-password.send-status.successful"),type:P.warning})):a.status===V.FAILED?(t.value="error",n.value=s("user.forget-password.send-status.failed")):(t.value="error",n.value=s("user.forget-password.send-status.error"))}).catch(a=>{t.value="error",n.value=a})}return(g,a)=>{const w=T("RouterLink");return u(),c("div",j,[o($)["r.value=h),class:"outline-none w-full bg-transparent placeholder-white",placeholder:o(s)("user.forget-password.email.placeholder"),onKeydown:y(_,["enter"])},null,40,q),[[x,r.value]])]),e("div",H,l(i.value),1)]),e("div",Q,[e("button",{disabled:t.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300",onClick:_},l(t.value==="loading"?o(s)("user.forget-password.send-status.loading"):o(s)("user.forget-password.send-status.ready")),9,G),t.value==="error"?(u(),c("div",W,l(n.value),1)):k("",!0),v(w,{class:"block text-right text-blue-600",to:"/user/login"},{default:S(()=>[C(l(`←${o(s)("user.forget-password.login")}`),1)]),_:1})])]),X,Y])):(u(),c("div",ee,[e("div",se,[v(z,{larger:20}),e("div",te,l(o(s)("user.forget-password.title")),1)]),e("div",ae,[e("div",null,[e("div",oe,[le,m(e("input",{"onUpdate:modelValue":a[1]||(a[1]=h=>r.value=h),class:"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700",placeholder:o(s)("user.forget-password.email.placeholder"),onKeydown:y(_,["enter"])},null,40,re),[[x,r.value]])]),e("div",de,l(i.value),1)]),e("div",ie,[e("button",{disabled:t.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed",onClick:_},l(t.value==="loading"?o(s)("user.forget-password.send-status.loading"):o(s)("user.forget-password.send-status.ready")),9,ne),t.value==="error"?(u(),c("div",ue,l(n.value),1)):k("",!0),v(w,{class:"block text-blue-600 text-right hover:text-blue-800",to:"/user/login"},{default:S(()=>[C(l(`←${o(s)("user.forget-password.login")}`),1)]),_:1})])]),ce,fe]))])}}});const he=L(pe,[["__scopeId","data-v-f4b55bf1"]]);export{he as default}; +//# sourceMappingURL=ForgetPassword.d9239742.js.map diff --git a/assets/ForgetPassword.d9239742.js.map b/assets/ForgetPassword.d9239742.js.map new file mode 100644 index 0000000000..eb085e8dbb --- /dev/null +++ b/assets/ForgetPassword.d9239742.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ForgetPassword.d9239742.js","sources":["../../packages/user/ForgetPassword.vue"],"sourcesContent":["\n\n\n\n\n"],"names":["t","useI18n","setSiteTitle","sendStatus","ref","emailFormat","EmailStatus","emailStatus","email","errmsg","sendEmail","valid","locale","data","res","resDataStatus","PvMessage","MessageType","err"],"mappings":"0wDAyHA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAA,GAAAF,EAAA,4BAAA,iBAAA,EAEA,MAAAG,EAAAC,EAAA,OAAA,EACAC,EAAA,uIAEAC,EAAA,CAAoB,KAAAN,EAAA,8CAAA,EACoC,IAAAA,EAAA,6CAAA,EACF,IAAAA,EAAA,6CAAA,CACA,EAEtDO,EAAAH,EAAAE,EAAA,IAAA,EAEAE,EAAAJ,EAAA,EAAA,EACAK,EAAAL,EAAA,GAAA,EAEA,eAAAM,GAAA,CACE,GAAAP,EAAA,QAAA,UACE,OACFA,EAAA,MAAA,UAGA,IAAAQ,EAAA,GAYA,GAXAH,EAAA,MAEkCH,EAAA,KAAAG,EAAA,KAAA,EAOhCD,EAAA,MAAAD,EAAA,MAJAK,EAAA,GACAJ,EAAA,MAAAD,EAAA,MALAK,EAAA,GACAJ,EAAA,MAAAD,EAAA,KASF,CAAAK,EAAA,CACER,EAAA,MAAA,QACA,MAAA,CAEF,MAAA,MAAA,uDAAA,CAAoE,OAAA,OAC1D,QAAA,IAAA,QAAA,CACa,eAAA,kBACH,CAAA,EACjB,KAAA,KAAA,UAAA,CACoB,MAAAK,EAAA,MACN,KAAAI,EAAA,KACA,CAAA,EACd,YAAA,SACY,CAAA,EAAA,KAAAC,GAAAA,EAAA,MAAA,EAAA,KAAAC,GAAA,CAKXA,EAAA,SAAAC,EAAA,SACEZ,EAAA,MAAA,QACAa,EAAA,CAAA,QAAAhB,EAAA,6CAAA,EAAA,KAAAiB,EAAA,OAAA,CAAA,GAAkGH,EAAA,SAAAC,EAAA,QAGlGZ,EAAA,MAAA,QACAM,EAAA,MAAAT,EAAA,yCAAA,IAGAG,EAAA,MAAA,QACAM,EAAA,MAAAT,EAAA,wCAAA,EACF,CAAA,EAAA,MAAAkB,GAAA,CAIAf,EAAA,MAAA,QACAM,EAAA,MAAAS,CAAe,CAAA,CAChB"} \ No newline at end of file diff --git a/assets/Home.7de31a6a.js b/assets/Home.7de31a6a.js new file mode 100644 index 0000000000..17c5d47856 --- /dev/null +++ b/assets/Home.7de31a6a.js @@ -0,0 +1,2 @@ +import{_ as k}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as c,a as d,_ as m,u as v,r as g,o as a,c as p,w as s,b,e as t,t as r,f as e,l as x,s as w,g as n,F as C,h as D,i as E,j as L,k as V}from"./index.72556674.js";import{s as B}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const _={fallback:c({render:()=>[]}),playlist:d(()=>m(()=>import("./CompPlaylist.6f1acf8f.js"),["assets/CompPlaylist.6f1acf8f.js","assets/index.72556674.js","assets/index.40792eff.css","assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js","assets/VideoRowPlaceholder.963d45c4.css","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/CoverPlaceholder.83cb739d.js"])),query_video:d(()=>m(()=>import("./CompQueryVideo.d0cc364c.js"),["assets/CompQueryVideo.d0cc364c.js","assets/index.72556674.js","assets/index.40792eff.css","assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js","assets/VideoRowPlaceholder.963d45c4.css","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/CoverPlaceholder.83cb739d.js"]))},N={class:"font-medium"},j={class:"text-purple-800 dark:text-purple-300",href:"https://patchyvideo.com/",target:"_blank",rel:"noopener noreferrer"},z={class:"text-purple-800 dark:text-purple-300",href:"https://space.bilibili.com/515657675",target:"_blank",rel:"noopener noreferrer"},A=["href"],I={key:0},P=t("div",{class:"w-full mb-8"},null,-1),S={class:"mx-2"},T=t("div",{class:"w-full mt-8"},null,-1),K=c({__name:"Home",setup(q){const{t:o}=v();B(o("home.home.title"));const u=g([{name:"playlist",data:'{"playlist_id":"63cf704629516959d2f876a9"}'},{name:"query_video",data:'{"video_rows":2}'},{name:"playlist",data:'{"playlist_id":"5dbd93c6de383eb9a3aa089e"}'},{name:"playlist",data:'{"playlist_id":"5f5871aef1017bad0f7f5165"}'}]);return(F,H)=>{const h=L("i18n-t"),f=k;return a(),p(f,null,{default:s(()=>[b(h,{class:"mx-4 my-3 p-2 rounded-lg text-center bg-purple-50 ring-2 ring-purple-300 dark:bg-gray-800 dark:ring-gray-600",keypath:"home.home.intro.template",tag:"div"},{medium:s(()=>[t("span",N,r(e(o)("home.home.intro.medium")),1)]),old:s(()=>[t("a",j,r(e(o)("home.home.intro.old")),1)]),follow:s(()=>[t("a",z,r(e(o)("home.home.intro.follow")),1)]),joinus:s(()=>[t("a",{class:"text-purple-800 dark:text-purple-300",href:e(x)==="zh-Hans-CN"?"https://patchyvideo.wiki/zh/JoinUs":"https://patchyvideo.wiki/en/JoinUs",target:"_blank",rel:"noopener noreferrer"},r(e(o)("home.home.intro.joinus")),9,A)]),_:1}),e(w).md?(a(),n("div",I,[(a(!0),n(C,null,D(u,(i,y)=>{var l;return a(),n("div",{key:y},[P,t("div",S,[(a(),p(V((l=e(_)[i.name])!=null?l:e(_).fallback),{data:i.data},null,8,["data"]))]),T])}),128))])):E("",!0)]),_:1})}}});export{K as default}; +//# sourceMappingURL=Home.7de31a6a.js.map diff --git a/assets/Home.7de31a6a.js.map b/assets/Home.7de31a6a.js.map new file mode 100644 index 0000000000..58ac1730f0 --- /dev/null +++ b/assets/Home.7de31a6a.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"4fAGO,MAAMA,EAA4C,CACvD,SAAUC,EAAgB,CAAE,OAAQ,IAAM,GAAI,EAC9C,SAAUC,EAAqB,IAAMC,aAAO,8BAAgC,qmBAC5E,YAAaD,EAAqB,IAAMC,aAAO,qoBAAkC,CACnF,gbCmDA,eACAC,wBAOA,WAA2C,oEAC8B,6CACvB,oEACuB,mEACA","names":["homeComponents","defineComponent","defineAsyncComponent","__vitePreload","setSiteTitle"],"sources":["../../packages/home/index.ts","../../packages/home/Home.vue"],"sourcesContent":["import { defineAsyncComponent, defineComponent } from 'vue'\nimport type { Component } from 'vue'\n\nexport const homeComponents: Record = {\n fallback: defineComponent({ render: () => [] }),\n playlist: defineAsyncComponent(() => import('./components/CompPlaylist.vue')),\n query_video: defineAsyncComponent(() => import('./components/CompQueryVideo.vue')),\n}\n","\n\n\n"],"file":"assets/Home.7de31a6a.js"} \ No newline at end of file diff --git a/assets/LayoutDefault.5019921a.css b/assets/LayoutDefault.5019921a.css new file mode 100644 index 0000000000..7eb56b6c8e --- /dev/null +++ b/assets/LayoutDefault.5019921a.css @@ -0,0 +1 @@ +.panel[data-v-951d4274]:after{content:" ";width:.5rem;height:.5rem;transform:rotate(45deg);background:white;border-top:2px solid #d8b4fe;border-left:2px solid #d8b4fe;position:absolute;top:3px;right:var(--2b36d605)}.dark .panel[data-v-951d4274]:after{background:#111827;border-top:2px solid #4b5563;border-left:2px solid #4b5563} diff --git a/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js b/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js new file mode 100644 index 0000000000..2bed0f9e07 --- /dev/null +++ b/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js @@ -0,0 +1,93 @@ +import{d as H,m as R,n as Vt,p as Nt,q as Bt,o as C,g as P,v as Le,u as ce,x as gt,r as Ut,y as te,z as yt,A as Wt,B as ne,C as bt,D as Xe,E as Ft,G as Ie,H as Je,I as Yt,e as E,J as re,K as qt,f as T,L as Ht,M as Ye,N as rt,O as de,t as L,i as V,b as N,w as U,P as W,c as ee,F as Q,h as pe,Q as q,T as zt,R as wt,S as ot,U as B,V as Ze,W as we,X as et,Y as Pe,Z as Gt,$ as Qt,a0 as Kt,a1 as Xt,a2 as Jt,a3 as Zt,_ as b,a4 as en,a5 as xt,a6 as tt,a7 as tn,j as nt,a8 as nn,a9 as an,aa as it,ab as rn,l as on,s as Oe,ac as sn,ad as ln,k as un,ae as dn,af as cn,ag as fn,ah as qe,ai as st,aj as lt,ak as ut}from"./index.72556674.js";import{_ as mn}from"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import{e as kt,m as Be,E as Et,c as vn,l as Re,y as hn,h as pn,F as _n,p as Tt,P as ve,M as he,_ as gn}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import{t as _e,o as I,u as xe,P as Ee,b as yn,f as Ge,a as Qe,R as je,w as bn,c as se}from"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const wn=H({__name:"NavTopLink",props:{index:null,itemLength:null,drawerOpen:{type:Boolean}},setup(n){const t=n,e=R(),a=Vt(e,{enter:{opacity:.7,x:-20}}),{drawerOpen:o,index:u,itemLength:v}=Nt(t);return Bt(o,(w,y)=>{w?a.apply({opacity:1,x:0,transition:{delay:100/v.value*u.value,duration:250,type:"tween"}}):a.apply("enter")}),(w,y)=>(C(),P("div",{ref_key:"el",ref:e,class:"w-full"},[Le(w.$slots,"default")],512))}}),xn={class:"flex h-9 justify-start items-center rounded-lg border border-purple-300 dark:border-gray-700 bg-white dark:bg-gray-800"},kn=["placeholder"],En=["textContent"],Tn={key:0,role:"listbox",class:"w-full rounded-md divide-y-1 divide-purple-200 divide-dashed overflow-hidden dark:divide-gray-600"},Cn=["onClick"],Pn={class:"flex min-w-0 flex-col"},On={class:"flex gap-px items-center"},Dn={key:0,class:"text-xs text-gray-700 dark:text-gray-200 truncate"},$n={key:0,class:"text-gray-400"},An={key:1,class:"flex w-full py-5 justify-center items-center gap-1 text-2xl text-gray-600 font-light"},Sn={key:2,class:"flex w-full py-5 justify-center items-center gap-1 text-2xl text-gray-300 font-light"},Ln=E("div",{class:"i-uil:spinner-alt text-3xl animate-spin"},null,-1),In={key:3,class:"w-full py-1"},Rn={class:"mx-2 font-light"},jn=E("div",{class:"i-uil:tag-alt inline-block text-lg align-middle text-gray-600 dark:text-gray-300"},null,-1),Mn={key:0,class:"i-uil:spinner-alt inline animate-spin"},Vn={key:0,class:"mx-0.5 line-clamp-4 text-gray-800 dark:text-gray-300"},Nn=["onClick","textContent"],Bn=H({__name:"AutoComplete",props:{keyword:{default:""},placeholder:{default:"search!"},teleportResult:{default:void 0},showRecommendations:{type:Boolean,default:!1},showTagCnt:{type:Boolean,default:!0}},emits:["update:keyword","search","searching","suggestionClick"],setup(n,{expose:t,emit:e}){const a=n,{t:o}=ce(),u=R(!0),v=R(!1),w=R(!0),y=gt(a,"keyword",e,{passive:!0});let x,k;const _=R([]),m=R(-1),p=Ut([{tag:"site:acfun",cat:6,cnt:null,active:!1},{tag:"site:bilibili",cat:6,cnt:null,active:!1},{tag:"site:nicovideo",cat:6,cnt:null,active:!1},{tag:"site:twitter",cat:6,cnt:null,active:!1},{tag:"site:youtube",cat:6,cnt:null,active:!1},{tag:"site:zcool",cat:6,cnt:null,active:!1},{tag:"site:ipfs",cat:6,cnt:null,active:!1},{tag:"AND",cat:6,cnt:null,active:!1},{tag:"OR",cat:6,cnt:null,active:!1},{tag:"NOT",cat:6,cnt:null,active:!1},{tag:"date:",cat:6,cnt:null,active:!1},{tag:"tags:",cat:6,cnt:null,active:!1}]),h=te(),f=R(!0);yt(document,"click",async D=>{var O;m.value=-1,(O=h.value)!=null&&O.contains(D.target)||(f.value=!0,await ot(),u.value=!0,v.value=!1)});const g=()=>{if(!y.value||!i()){m.value=-1,u.value=!0,f.value=!1;return}const D=i()||"";D?d(D):f.value=!1};Wt(y,()=>ot(g),{debounce:500});const s=te(null),c=D=>!D.trim();function i(){var G,ie,fe,Ce;const D=((G=s.value)==null?void 0:G.selectionStart)||0;let O=((ie=y.value)==null?void 0:ie.slice(0,D))||"";const $=r(O);return x=((fe=y.value)==null?void 0:fe.slice(0,$))||"",k=((Ce=y.value)==null?void 0:Ce.slice(D,y.value.length))||"",O=O.slice($,D),c(O)?null:O}function r(D){let O=D.length;for(;O--;)switch(D.charAt(O)){case" ":case" ":case` +`:case"\v":case"\f":case"\r":case")":return O+1;case"(":{if(O>0&&D.charAt(O-1)==="_")continue;return O+1}}return 0}async function d(D){m.value=-1,u.value=!0,v.value=!0;let O=p.filter(l(D));await fetch(`https://patchyvideo.com/be/autocomplete/ql?q=${D}`).then($=>$.json()).then($=>{O=O.concat($),v.value=!1,m.value=-1,_.value=O,u.value=!1,f.value=!1}).catch(()=>{w.value=!1,f.value=!1})}function l(D){return O=>{var $;return(($=O.tag)==null?void 0:$.toLowerCase().indexOf(D.toLowerCase()))===0}}function A(D,O=""){const $=[10,5,1,2];let G=null;for(let fe=0;fe<$.length&&(G=D.find(Ce=>Ce.l===$[fe]),!G);fe++);const ie=G?G.w:O;return{main:O.replace(/_/g," "),sub:ie.replace(/_/g," ")}}function S(D){!_.value.length||(D?m.value===0?m.value=_.value.length-1:m.value--:m.value===_.value.length-1?m.value=0:m.value++)}function M(D){var O;!D.tag||(y.value=Z(`${x+D.tag.replace(/ /g,"_")} ${k}`),m.value=-1,u.value=!0,(O=s.value)==null||O.focus(),e("suggestionClick",D))}const Y=D=>{const O=A(D.langs||[],D.keyword);return{...D,tag:D.tag||O.main,sub:O.sub}};function J(D=!1){if(v.value=!1,D||m.value===-1)y.value&&e("search",y.value);else{const O=_.value[m.value],$=Y(O).tag;y.value=Z(`${x+$.replace(/ /g,"_")} ${k}`),_.value=[],e("suggestionClick",O)}}function Z(D){return D=D.replace(/\s+/g," "),D}const We=()=>{var D;(D=s.value)==null||D.focus()};ne(()=>{e("searching",!u.value||v.value)});const{width:Fe}=bt(h),{result:z}=Xe(Ie` + query ($lang: String!) { + getPopularTags(para: { lang: $lang }) { + popularTags { + popluarity + tag { + languages { + lang + value + } + } + } + } + } + `,{lang:Ft.value}),X=Je(z,[],D=>{var O,$;return($=[...(O=D==null?void 0:D.getPopularTags.popularTags)!=null?O:[]].sort((G,ie)=>ie.popluarity-G.popluarity).map(G=>Yt(G.tag.languages)))!=null?$:[]});return t({focus:We}),(D,O)=>(C(),P("div",{ref_key:"autoCompleteRoot",ref:h,class:"relative inline-block"},[E("div",xn,[E("div",{class:"flex-shrink-0 inline i-uil:search text-lg ml-2 mr-1",onClick:O[0]||(O[0]=$=>g())}),re(E("input",{ref_key:"autoComplete",ref:s,"onUpdate:modelValue":O[1]||(O[1]=$=>Ht(y)?y.value=$:null),class:"inline-block h-full outline-none dark:bg-gray-800 w-full rounded-lg",placeholder:n.placeholder,onKeydown:[O[2]||(O[2]=Ye(rt($=>S(!0),["prevent"]),["arrow-up"])),O[3]||(O[3]=Ye(rt($=>S(!1),["prevent"]),["arrow-down"])),O[4]||(O[4]=Ye($=>J(),["enter"]))],onClick:O[5]||(O[5]=$=>g())},null,40,kn),[[qt,T(y)]]),re(E("div",{class:"i-uil:times-circle flex-shrink-0 inline-block ml-1 mr-2",onClick:O[6]||(O[6]=$=>y.value="")},null,512),[[de,T(y)]]),T(Fe)>500?(C(),P("button",{key:0,class:"flex-shrink-0 h-full px-3 text-purple-900 dark:text-white rounded-r-lg border-l-1 border-l-purple-200 dark:border-l-gray-700 bg-purple-100 dark:bg-gray-700 hover:bg-purple-200 focus:outline-none focus:ring focus:ring-purple-300 transition-colors",onClick:O[7]||(O[7]=$=>J(!0)),textContent:L(T(o)("search.auto-complete.search"))},null,8,En)):V("",!0)]),E("div",{class:W(["absolute z-11 top-full left-0 w-full overflow-hidden",{"pt-1":!f.value&&!n.teleportResult}])},[N(wt,{"enter-active-class":"transform transition duration-100 ease-out","enter-from-class":"scale-95 -translate-y-1/20 opacity-0","enter-to-class":"scale-100 opacity-100","leave-active-class":"transform transition duration-75 ease-out","leave-from-class":"scale-100 opacity-100","leave-to-class":"scale-95 -translate-y-1/20 opacity-0"},{default:U(()=>[re(E("div",{class:W(["w-full rounded-md border-purple-300 shadow-lg bg-white dark:border-gray-700 dark:bg-gray-900",{"border-1":!u.value||v.value||(!n.teleportResult||!f.value)&&n.showRecommendations}])},[(C(),ee(zt,{disabled:!n.teleportResult,to:n.teleportResult},[!u.value&&_.value.length>0?(C(),P("ul",Tn,[(C(!0),P(Q,null,pe(_.value.map(Y),($,G)=>(C(),P("li",{key:$.tag,class:W(["flex px-3 py-1 gap-2 justify-between transition-colors cursor-pointer hover:bg-purple-50 dark:hover:bg-gray-700",{"bg-purple-50 dark:bg-gray-700":G===m.value}]),onClick:ie=>M($)},[E("div",Pn,[E("div",On,[E("div",{class:W(["i-uil:tag-alt flex-shrink-0",{"text-copyright":$.cat===2,"text-language":$.cat===5,"text-character":$.cat===1,"text-author":$.cat===3,"text-general":$.cat===0,"text-meta":$.cat===4,"text-soundtrack":$.cat===6}])},null,2),E("div",{class:W(["truncate",{"text-purple-900 dark:text-purple-50":G===m.value}])},L($.tag),3)]),$.sub?(C(),P("div",Dn,L($.sub),1)):V("",!0)]),n.showTagCnt?(C(),P("div",$n,L($.cnt||""),1)):V("",!0)],10,Cn))),128))])):u.value?v.value?(C(),P("div",Sn,[w.value?(C(),P(Q,{key:0},[Ln,q(" "+L(T(o)("search.auto-complete.loading")),1)],64)):(C(),P(Q,{key:1},[q(L(T(o)("search.auto-complete.loading-failed")),1)],64))])):(!n.teleportResult||!f.value)&&n.showRecommendations?(C(),P("div",In,[E("div",null,[E("h4",Rn,[jn,q(" "+L(T(o)("search.auto-complete.hot-tags"))+" ",1),T(X).length===0?(C(),P("div",Mn)):V("",!0)]),T(X)?(C(),P("div",Vn,[(C(!0),P(Q,null,pe(T(X),$=>(C(),P("div",{key:$,class:"inline-block mx-1.5 cursor-pointer select-none",onClick:()=>{T(y).length>0&&[" "," ",` +`,"\v","\f","\r"].indexOf(T(y).charAt(T(y).length-1))===-1&&(y.value+=" "),y.value+=`${$} `,T(s)&&T(s).focus()},textContent:L($.replaceAll(/_/g," "))},null,8,Nn))),128))])):V("",!0)])])):V("",!0):(C(),P("div",An,L(T(o)("search.auto-complete.loading-nothing")),1))],8,["disabled","to"]))],2),[[de,!f.value&&!n.teleportResult]])]),_:1})],2)],512))}});function Un(n,t,e){kt||ne(a=>{window.addEventListener(n,t,e),a(()=>window.removeEventListener(n,t,e))})}var ue=(n=>(n[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n))(ue||{});function Ct(){let n=R(0);return Un("keydown",t=>{t.key==="Tab"&&(n.value=t.shiftKey?1:0)}),n}function Wn(n,t,e,a){kt||ne(o=>{n=n!=null?n:window,n.addEventListener(t,e,a),o(()=>n.removeEventListener(t,e,a))})}var Fn=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(Fn||{});let Pt=Symbol("PopoverContext");function Ue(n){let t=et(Pt,null);if(t===null){let e=new Error(`<${n} /> is missing a parent <${At.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Ue),e}return t}let Ot=Symbol("PopoverGroupContext");function Dt(){return et(Ot,null)}let $t=Symbol("PopoverPanelContext");function Yn(){return et($t,null)}let At=H({name:"Popover",props:{as:{type:[Object,String],default:"div"}},setup(n,{slots:t,attrs:e,expose:a}){var o;let u=`headlessui-popover-button-${_e()}`,v=`headlessui-popover-panel-${_e()}`,w=R(null);a({el:w,$el:w});let y=R(1),x=R(null),k=R(null),_=R(null),m=R(null),p=B(()=>Be(w)),h=B(()=>{var r,d;if(!I(x)||!I(m))return!1;for(let Z of document.querySelectorAll("body > *"))if(Number(Z==null?void 0:Z.contains(I(x)))^Number(Z==null?void 0:Z.contains(I(m))))return!0;let l=Et(),A=l.indexOf(I(x)),S=(A+l.length-1)%l.length,M=(A+1)%l.length,Y=l[S],J=l[M];return!((r=I(m))!=null&&r.contains(Y))&&!((d=I(m))!=null&&d.contains(J))}),f={popoverState:y,buttonId:u,panelId:v,panel:m,button:x,isPortalled:h,beforePanelSentinel:k,afterPanelSentinel:_,togglePopover(){y.value=xe(y.value,{[0]:1,[1]:0})},closePopover(){y.value!==1&&(y.value=1)},close(r){f.closePopover();let d=(()=>r?r instanceof HTMLElement?r:r.value instanceof HTMLElement?I(r):I(f.button):I(f.button))();d==null||d.focus()}};Ze(Pt,f),vn(B(()=>xe(y.value,{[0]:Re.Open,[1]:Re.Closed})));let g={buttonId:u,panelId:v,close(){f.closePopover()}},s=Dt(),c=s==null?void 0:s.registerPopover;function i(){var r,d,l,A;return(A=s==null?void 0:s.isFocusWithinPopoverGroup())!=null?A:((r=p.value)==null?void 0:r.activeElement)&&(((d=I(x))==null?void 0:d.contains(p.value.activeElement))||((l=I(m))==null?void 0:l.contains(p.value.activeElement)))}return ne(()=>c==null?void 0:c(g)),Wn((o=p.value)==null?void 0:o.defaultView,"focus",r=>{var d,l;y.value===0&&(i()||!x||!m||(d=I(f.beforePanelSentinel))!=null&&d.contains(r.target)||(l=I(f.afterPanelSentinel))!=null&&l.contains(r.target)||f.closePopover())},!0),hn([x,m],(r,d)=>{var l;f.closePopover(),pn(d,_n.Loose)||(r.preventDefault(),(l=I(x))==null||l.focus())},B(()=>y.value===0)),()=>{let r={open:y.value===0,close:f.close};return Ee({theirProps:n,ourProps:{ref:w},slot:r,slots:t,attrs:e,name:"Popover"})}}}),qn=H({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(n,{attrs:t,slots:e,expose:a}){let o=Ue("PopoverButton"),u=B(()=>Be(o.button));a({el:o.button,$el:o.button});let v=Dt(),w=v==null?void 0:v.closeOthers,y=Yn(),x=y===null?!1:y===o.panelId,k=R(null),_=`headlessui-focus-sentinel-${_e()}`;x||ne(()=>{o.button.value=k.value});let m=yn(B(()=>({as:n.as,type:t.type})),k);function p(s){var c,i,r,d,l;if(x){if(o.popoverState.value===1)return;switch(s.key){case se.Space:case se.Enter:s.preventDefault(),(i=(c=s.target).click)==null||i.call(c),o.closePopover(),(r=I(o.button))==null||r.focus();break}}else switch(s.key){case se.Space:case se.Enter:s.preventDefault(),s.stopPropagation(),o.popoverState.value===1&&(w==null||w(o.buttonId)),o.togglePopover();break;case se.Escape:if(o.popoverState.value!==0)return w==null?void 0:w(o.buttonId);if(!I(o.button)||((d=u.value)==null?void 0:d.activeElement)&&!((l=I(o.button))!=null&&l.contains(u.value.activeElement)))return;s.preventDefault(),s.stopPropagation(),o.closePopover();break}}function h(s){x||s.key===se.Space&&s.preventDefault()}function f(s){var c,i;n.disabled||(x?(o.closePopover(),(c=I(o.button))==null||c.focus()):(s.preventDefault(),s.stopPropagation(),o.popoverState.value===1&&(w==null||w(o.buttonId)),o.togglePopover(),(i=I(o.button))==null||i.focus()))}function g(s){s.preventDefault(),s.stopPropagation()}return()=>{let s=o.popoverState.value===0,c={open:s},i=x?{ref:k,type:m.value,onKeydown:p,onClick:f}:{ref:k,id:o.buttonId,type:m.value,"aria-expanded":n.disabled?void 0:o.popoverState.value===0,"aria-controls":I(o.panel)?o.panelId:void 0,disabled:n.disabled?!0:void 0,onKeydown:p,onKeyup:h,onClick:f,onMousedown:g},r=Ct();function d(){let l=I(o.panel);if(!l)return;function A(){xe(r.value,{[ue.Forwards]:()=>ve(l,he.First),[ue.Backwards]:()=>ve(l,he.Last)})}A()}return we(Q,[Ee({ourProps:i,theirProps:{...t,...n},slot:c,attrs:t,slots:e,name:"PopoverButton"}),s&&!x&&o.isPortalled.value&&we(Ge,{id:_,features:Qe.Focusable,as:"button",type:"button",onFocus:d})])}}});H({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(n,{attrs:t,slots:e}){let a=Ue("PopoverOverlay"),o=`headlessui-popover-overlay-${_e()}`,u=Tt(),v=B(()=>u!==null?u.value===Re.Open:a.popoverState.value===0);function w(){a.closePopover()}return()=>{let y={open:a.popoverState.value===0};return Ee({ourProps:{id:o,"aria-hidden":!0,onClick:w},theirProps:n,slot:y,attrs:t,slots:e,features:je.RenderStrategy|je.Static,visible:v.value,name:"PopoverOverlay"})}}});let Hn=H({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1}},inheritAttrs:!1,setup(n,{attrs:t,slots:e,expose:a}){let{focus:o}=n,u=Ue("PopoverPanel"),v=B(()=>Be(u.panel)),w=`headlessui-focus-sentinel-before-${_e()}`,y=`headlessui-focus-sentinel-after-${_e()}`;a({el:u.panel,$el:u.panel}),Ze($t,u.panelId),ne(()=>{var g,s;if(!o||u.popoverState.value!==0||!u.panel)return;let c=(g=v.value)==null?void 0:g.activeElement;(s=I(u.panel))!=null&&s.contains(c)||ve(I(u.panel),he.First)});let x=Tt(),k=B(()=>x!==null?x.value===Re.Open:u.popoverState.value===0);function _(g){var s,c;switch(g.key){case se.Escape:if(u.popoverState.value!==0||!I(u.panel)||v.value&&!((s=I(u.panel))!=null&&s.contains(v.value.activeElement)))return;g.preventDefault(),g.stopPropagation(),u.closePopover(),(c=I(u.button))==null||c.focus();break}}function m(g){var s,c,i,r,d;let l=g.relatedTarget;!l||!I(u.panel)||(s=I(u.panel))!=null&&s.contains(l)||(u.closePopover(),(((i=(c=I(u.beforePanelSentinel))==null?void 0:c.contains)==null?void 0:i.call(c,l))||((d=(r=I(u.afterPanelSentinel))==null?void 0:r.contains)==null?void 0:d.call(r,l)))&&l.focus({preventScroll:!0}))}let p=Ct();function h(){let g=I(u.panel);if(!g)return;function s(){xe(p.value,{[ue.Forwards]:()=>{ve(g,he.Next)},[ue.Backwards]:()=>{var c;(c=I(u.button))==null||c.focus({preventScroll:!0})}})}s()}function f(){let g=I(u.panel);if(!g)return;function s(){xe(p.value,{[ue.Forwards]:()=>{var c,i;let r=I(u.button),d=I(u.panel);if(!r)return;let l=Et(),A=l.indexOf(r),S=l.slice(0,A+1),M=[...l.slice(A+1),...S];for(let Y of M.slice())if(((i=(c=Y==null?void 0:Y.id)==null?void 0:c.startsWith)==null?void 0:i.call(c,"headlessui-focus-sentinel-"))||(d==null?void 0:d.contains(Y))){let J=M.indexOf(Y);J!==-1&&M.splice(J,1)}ve(M,he.First,!1)},[ue.Backwards]:()=>ve(g,he.Previous)})}s()}return()=>{let g={open:u.popoverState.value===0,close:u.close},s={ref:u.panel,id:u.panelId,onKeydown:_,onFocusout:o&&u.popoverState.value===0?m:void 0,tabIndex:-1};return Ee({ourProps:s,theirProps:{...t,...bn(n,["focus"])},attrs:t,slot:g,slots:{...e,default:(...c)=>{var i;return[we(Q,[k.value&&u.isPortalled.value&&we(Ge,{id:w,ref:u.beforePanelSentinel,features:Qe.Focusable,as:"button",type:"button",onFocus:h}),(i=e.default)==null?void 0:i.call(e,...c),k.value&&u.isPortalled.value&&we(Ge,{id:y,ref:u.afterPanelSentinel,features:Qe.Focusable,as:"button",type:"button",onFocus:f})])]}},features:je.RenderStrategy|je.Static,visible:k.value,name:"PopoverPanel"})}}});H({name:"PopoverGroup",props:{as:{type:[Object,String],default:"div"}},setup(n,{attrs:t,slots:e,expose:a}){let o=R(null),u=R([]),v=B(()=>Be(o));a({el:o,$el:o});function w(_){let m=u.value.indexOf(_);m!==-1&&u.value.splice(m,1)}function y(_){return u.value.push(_),()=>{w(_)}}function x(){var _;let m=v.value;if(!m)return!1;let p=m.activeElement;return(_=I(o))!=null&&_.contains(p)?!0:u.value.some(h=>{var f,g;return((f=m.getElementById(h.buttonId))==null?void 0:f.contains(p))||((g=m.getElementById(h.panelId))==null?void 0:g.contains(p))})}function k(_){for(let m of u.value)m.buttonId!==_&&m.close()}return Ze(Ot,{registerPopover:y,unregisterPopover:w,isFocusWithinPopoverGroup:x,closeOthers:k}),()=>Ee({ourProps:{ref:o},theirProps:n,slot:{},attrs:t,slots:e,name:"PopoverGroup"})}});const zn={class:"flex flex-row space-x-1 text-xl"},Gn=["title"],Qn=["title"],Kn=["title"],Xn=H({__name:"DarkModeSwitch",setup(n){const{t}=ce(),e=a=>{Pe.value=a};return(a,o)=>(C(),P("div",zn,[E("div",{class:W(["i-uil:desktop cursor-pointer",{"text-gray-400 dark:text-gray-600":T(Pe)!=="system"}]),title:T(t)("darkmode.system"),onClick:o[0]||(o[0]=u=>e("system"))},null,10,Gn),E("div",{class:W(["i-uil:sun cursor-pointer",{"text-gray-400 dark:text-gray-600":T(Pe)!=="light"}]),title:T(t)("darkmode.light"),onClick:o[1]||(o[1]=u=>e("light"))},null,10,Qn),E("div",{class:W(["i-uil:moon cursor-pointer",{"text-gray-400 dark:text-gray-600":T(Pe)!=="dark"}]),title:T(t)("darkmode.dark"),onClick:o[2]||(o[2]=u=>e("dark"))},null,10,Kn)]))}}),Jn=H({__name:"PvNavPopover",props:{buttonClass:null,panelClass:null},setup(n){Kt(k=>({"2b36d605":`${T(x)}px`}));const t=te(null),e=B(()=>{var k;return(k=t.value)==null?void 0:k.$el}),a=te(null),{x:o,width:u}=Gt(e),{width:v}=bt(a),w=B(()=>window.innerWidth-o.value-u.value/2),y=B(()=>Math.max(w.value-v.value/2,6)),x=B(()=>w.value-y.value-4);return(k,_)=>(C(),ee(T(At),null,{default:U(({open:m})=>[N(T(qn),{ref_key:"buttonComp",ref:t,class:W(["focus:outline-none",n.buttonClass])},{default:U(()=>[Le(k.$slots,"button",{open:m},void 0,!0)]),_:2},1032,["class"]),N(wt,{"enter-active-class":"transform transition duration-100 ease-out","enter-from-class":"scale-95 -translate-y-1/20 opacity-0","enter-to-class":"scale-100 opacity-100","leave-active-class":"transform transition duration-75 ease-out","leave-from-class":"scale-100 opacity-100","leave-to-class":"scale-95 -translate-y-1/20 opacity-0"},{default:U(()=>[re(E("div",{ref_key:"panelEl",ref:a,class:"panel z-50 absolute",style:Qt({right:`${T(y)}px`})},[N(T(Hn),{static:""},{default:U(()=>[E("div",{class:W(["mt-1.5 rounded-lg border-2 border-purple-300 shadow-md bg-white dark:bg-gray-900 dark:border-gray-600",n.panelClass])},[Le(k.$slots,"default",{open:m},void 0,!0)],2)]),_:2},1024)],4),[[de,m]])]),_:2},1024)]),_:3}))}});const St=Xt(Jn,[["__scopeId","data-v-951d4274"]]);var Zn={};function Te(){return Zn}function ke(n){var t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),n.getTime()-t.getTime()}function F(n,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function $e(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$e=function(e){return typeof e}:$e=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$e(n)}function K(n){F(1,arguments);var t=Object.prototype.toString.call(n);return n instanceof Date||$e(n)==="object"&&t==="[object Date]"?new Date(n.getTime()):typeof n=="number"||t==="[object Number]"?new Date(n):((typeof n=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function dt(n){F(1,arguments);var t=K(n);return t.setHours(0,0,0,0),t}var ea=864e5;function ta(n,t){F(2,arguments);var e=dt(n),a=dt(t),o=e.getTime()-ke(e),u=a.getTime()-ke(a);return Math.round((o-u)/ea)}function Ae(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ae=function(e){return typeof e}:Ae=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(n)}function na(n){return F(1,arguments),n instanceof Date||Ae(n)==="object"&&Object.prototype.toString.call(n)==="[object Date]"}function aa(n){if(F(1,arguments),!na(n)&&typeof n!="number")return!1;var t=K(n);return!isNaN(Number(t))}function oe(n){if(n===null||n===!0||n===!1)return NaN;var t=Number(n);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ra(n,t){F(2,arguments);var e=K(n).getTime(),a=oe(t);return new Date(e+a)}function Ke(n,t){F(2,arguments);var e=oe(t);return ra(n,-e)}var oa=864e5;function ia(n){F(1,arguments);var t=K(n),e=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=t.getTime(),o=e-a;return Math.floor(o/oa)+1}function Me(n){F(1,arguments);var t=1,e=K(n),a=e.getUTCDay(),o=(a=o.getTime()?e+1:t.getTime()>=v.getTime()?e:e-1}function sa(n){F(1,arguments);var t=Lt(n),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var a=Me(e);return a}var la=6048e5;function ua(n){F(1,arguments);var t=K(n),e=Me(t).getTime()-sa(t).getTime();return Math.round(e/la)+1}function Ve(n,t){var e,a,o,u,v,w,y,x;F(1,arguments);var k=Te(),_=oe((e=(a=(o=(u=t==null?void 0:t.weekStartsOn)!==null&&u!==void 0?u:t==null||(v=t.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&o!==void 0?o:k.weekStartsOn)!==null&&a!==void 0?a:(y=k.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&e!==void 0?e:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=K(n),p=m.getUTCDay(),h=(p<_?7:0)+p-_;return m.setUTCDate(m.getUTCDate()-h),m.setUTCHours(0,0,0,0),m}function It(n,t){var e,a,o,u,v,w,y,x;F(1,arguments);var k=K(n),_=k.getUTCFullYear(),m=Te(),p=oe((e=(a=(o=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(v=t.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.firstWeekContainsDate)!==null&&o!==void 0?o:m.firstWeekContainsDate)!==null&&a!==void 0?a:(y=m.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.firstWeekContainsDate)!==null&&e!==void 0?e:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(_+1,0,p),h.setUTCHours(0,0,0,0);var f=Ve(h,t),g=new Date(0);g.setUTCFullYear(_,0,p),g.setUTCHours(0,0,0,0);var s=Ve(g,t);return k.getTime()>=f.getTime()?_+1:k.getTime()>=s.getTime()?_:_-1}function da(n,t){var e,a,o,u,v,w,y,x;F(1,arguments);var k=Te(),_=oe((e=(a=(o=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(v=t.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.firstWeekContainsDate)!==null&&o!==void 0?o:k.firstWeekContainsDate)!==null&&a!==void 0?a:(y=k.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.firstWeekContainsDate)!==null&&e!==void 0?e:1),m=It(n,t),p=new Date(0);p.setUTCFullYear(m,0,_),p.setUTCHours(0,0,0,0);var h=Ve(p,t);return h}var ca=6048e5;function fa(n,t){F(1,arguments);var e=K(n),a=Ve(e,t).getTime()-da(e,t).getTime();return Math.round(a/ca)+1}function j(n,t){for(var e=n<0?"-":"",a=Math.abs(n).toString();a.length0?a:1-a;return j(e==="yy"?o%100:o,e.length)},M:function(t,e){var a=t.getUTCMonth();return e==="M"?String(a+1):j(a+1,2)},d:function(t,e){return j(t.getUTCDate(),e.length)},a:function(t,e){var a=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(t,e){return j(t.getUTCHours()%12||12,e.length)},H:function(t,e){return j(t.getUTCHours(),e.length)},m:function(t,e){return j(t.getUTCMinutes(),e.length)},s:function(t,e){return j(t.getUTCSeconds(),e.length)},S:function(t,e){var a=e.length,o=t.getUTCMilliseconds(),u=Math.floor(o*Math.pow(10,a-3));return j(u,e.length)}};const ae=ma;var me={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},va={G:function(t,e,a){var o=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})}},y:function(t,e,a){if(e==="yo"){var o=t.getUTCFullYear(),u=o>0?o:1-o;return a.ordinalNumber(u,{unit:"year"})}return ae.y(t,e)},Y:function(t,e,a,o){var u=It(t,o),v=u>0?u:1-u;if(e==="YY"){var w=v%100;return j(w,2)}return e==="Yo"?a.ordinalNumber(v,{unit:"year"}):j(v,e.length)},R:function(t,e){var a=Lt(t);return j(a,e.length)},u:function(t,e){var a=t.getUTCFullYear();return j(a,e.length)},Q:function(t,e,a){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return j(o,2);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,a){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return j(o,2);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,a){var o=t.getUTCMonth();switch(e){case"M":case"MM":return ae.M(t,e);case"Mo":return a.ordinalNumber(o+1,{unit:"month"});case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,a){var o=t.getUTCMonth();switch(e){case"L":return String(o+1);case"LL":return j(o+1,2);case"Lo":return a.ordinalNumber(o+1,{unit:"month"});case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,a,o){var u=fa(t,o);return e==="wo"?a.ordinalNumber(u,{unit:"week"}):j(u,e.length)},I:function(t,e,a){var o=ua(t);return e==="Io"?a.ordinalNumber(o,{unit:"week"}):j(o,e.length)},d:function(t,e,a){return e==="do"?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):ae.d(t,e)},D:function(t,e,a){var o=ia(t);return e==="Do"?a.ordinalNumber(o,{unit:"dayOfYear"}):j(o,e.length)},E:function(t,e,a){var o=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,a,o){var u=t.getUTCDay(),v=(u-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(v);case"ee":return j(v,2);case"eo":return a.ordinalNumber(v,{unit:"day"});case"eee":return a.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(u,{width:"short",context:"formatting"});case"eeee":default:return a.day(u,{width:"wide",context:"formatting"})}},c:function(t,e,a,o){var u=t.getUTCDay(),v=(u-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(v);case"cc":return j(v,e.length);case"co":return a.ordinalNumber(v,{unit:"day"});case"ccc":return a.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(u,{width:"narrow",context:"standalone"});case"cccccc":return a.day(u,{width:"short",context:"standalone"});case"cccc":default:return a.day(u,{width:"wide",context:"standalone"})}},i:function(t,e,a){var o=t.getUTCDay(),u=o===0?7:o;switch(e){case"i":return String(u);case"ii":return j(u,e.length);case"io":return a.ordinalNumber(u,{unit:"day"});case"iii":return a.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(o,{width:"short",context:"formatting"});case"iiii":default:return a.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,a){var o=t.getUTCHours(),u=o/12>=1?"pm":"am";switch(e){case"a":case"aa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,e,a){var o=t.getUTCHours(),u;switch(o===12?u=me.noon:o===0?u=me.midnight:u=o/12>=1?"pm":"am",e){case"b":case"bb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,e,a){var o=t.getUTCHours(),u;switch(o>=17?u=me.evening:o>=12?u=me.afternoon:o>=4?u=me.morning:u=me.night,e){case"B":case"BB":case"BBB":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,e,a){if(e==="ho"){var o=t.getUTCHours()%12;return o===0&&(o=12),a.ordinalNumber(o,{unit:"hour"})}return ae.h(t,e)},H:function(t,e,a){return e==="Ho"?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ae.H(t,e)},K:function(t,e,a){var o=t.getUTCHours()%12;return e==="Ko"?a.ordinalNumber(o,{unit:"hour"}):j(o,e.length)},k:function(t,e,a){var o=t.getUTCHours();return o===0&&(o=24),e==="ko"?a.ordinalNumber(o,{unit:"hour"}):j(o,e.length)},m:function(t,e,a){return e==="mo"?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ae.m(t,e)},s:function(t,e,a){return e==="so"?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ae.s(t,e)},S:function(t,e){return ae.S(t,e)},X:function(t,e,a,o){var u=o._originalDate||t,v=u.getTimezoneOffset();if(v===0)return"Z";switch(e){case"X":return ft(v);case"XXXX":case"XX":return le(v);case"XXXXX":case"XXX":default:return le(v,":")}},x:function(t,e,a,o){var u=o._originalDate||t,v=u.getTimezoneOffset();switch(e){case"x":return ft(v);case"xxxx":case"xx":return le(v);case"xxxxx":case"xxx":default:return le(v,":")}},O:function(t,e,a,o){var u=o._originalDate||t,v=u.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ct(v,":");case"OOOO":default:return"GMT"+le(v,":")}},z:function(t,e,a,o){var u=o._originalDate||t,v=u.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ct(v,":");case"zzzz":default:return"GMT"+le(v,":")}},t:function(t,e,a,o){var u=o._originalDate||t,v=Math.floor(u.getTime()/1e3);return j(v,e.length)},T:function(t,e,a,o){var u=o._originalDate||t,v=u.getTime();return j(v,e.length)}};function ct(n,t){var e=n>0?"-":"+",a=Math.abs(n),o=Math.floor(a/60),u=a%60;if(u===0)return e+String(o);var v=t||"";return e+String(o)+v+j(u,2)}function ft(n,t){if(n%60===0){var e=n>0?"-":"+";return e+j(Math.abs(n)/60,2)}return le(n,t)}function le(n,t){var e=t||"",a=n>0?"-":"+",o=Math.abs(n),u=j(Math.floor(o/60),2),v=j(o%60,2);return a+u+e+v}const ha=va;var mt=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Rt=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},pa=function(t,e){var a=t.match(/(P+)(p+)?/)||[],o=a[1],u=a[2];if(!u)return mt(t,e);var v;switch(o){case"P":v=e.dateTime({width:"short"});break;case"PP":v=e.dateTime({width:"medium"});break;case"PPP":v=e.dateTime({width:"long"});break;case"PPPP":default:v=e.dateTime({width:"full"});break}return v.replace("{{date}}",mt(o,e)).replace("{{time}}",Rt(u,e))},_a={p:Rt,P:pa};const ga=_a;var ya=["D","DD"],ba=["YY","YYYY"];function wa(n){return ya.indexOf(n)!==-1}function xa(n){return ba.indexOf(n)!==-1}function vt(n,t,e){if(n==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ka={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ea=function(t,e,a){var o,u=ka[t];return typeof u=="string"?o=u:e===1?o=u.one:o=u.other.replace("{{count}}",e.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+o:o+" ago":o};const Ta=Ea;function He(n){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.width?String(t.width):n.defaultWidth,a=n.formats[e]||n.formats[n.defaultWidth];return a}}var Ca={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Pa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Oa={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Da={date:He({formats:Ca,defaultWidth:"full"}),time:He({formats:Pa,defaultWidth:"full"}),dateTime:He({formats:Oa,defaultWidth:"full"})};const $a=Da;var Aa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Sa=function(t,e,a,o){return Aa[t]};const La=Sa;function ge(n){return function(t,e){var a=e!=null&&e.context?String(e.context):"standalone",o;if(a==="formatting"&&n.formattingValues){var u=n.defaultFormattingWidth||n.defaultWidth,v=e!=null&&e.width?String(e.width):u;o=n.formattingValues[v]||n.formattingValues[u]}else{var w=n.defaultWidth,y=e!=null&&e.width?String(e.width):n.defaultWidth;o=n.values[y]||n.values[w]}var x=n.argumentCallback?n.argumentCallback(t):t;return o[x]}}var Ia={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ra={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ja={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ma={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Va={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Na={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ba=function(t,e){var a=Number(t),o=a%100;if(o>20||o<10)switch(o%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Ua={ordinalNumber:Ba,era:ge({values:Ia,defaultWidth:"wide"}),quarter:ge({values:Ra,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:ge({values:ja,defaultWidth:"wide"}),day:ge({values:Ma,defaultWidth:"wide"}),dayPeriod:ge({values:Va,defaultWidth:"wide",formattingValues:Na,defaultFormattingWidth:"wide"})};const Wa=Ua;function ye(n){return function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.width,o=a&&n.matchPatterns[a]||n.matchPatterns[n.defaultMatchWidth],u=t.match(o);if(!u)return null;var v=u[0],w=a&&n.parsePatterns[a]||n.parsePatterns[n.defaultParseWidth],y=Array.isArray(w)?Ya(w,function(_){return _.test(v)}):Fa(w,function(_){return _.test(v)}),x;x=n.valueCallback?n.valueCallback(y):y,x=e.valueCallback?e.valueCallback(x):x;var k=t.slice(v.length);return{value:x,rest:k}}}function Fa(n,t){for(var e in n)if(n.hasOwnProperty(e)&&t(n[e]))return e}function Ya(n,t){for(var e=0;e1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(n.matchPattern);if(!a)return null;var o=a[0],u=t.match(n.parsePattern);if(!u)return null;var v=n.valueCallback?n.valueCallback(u[0]):u[0];v=e.valueCallback?e.valueCallback(v):v;var w=t.slice(o.length);return{value:v,rest:w}}}var Ha=/^(\d+)(th|st|nd|rd)?/i,za=/\d+/i,Ga={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Qa={any:[/^b/i,/^(a|c)/i]},Ka={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xa={any:[/1/i,/2/i,/3/i,/4/i]},Ja={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Za={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},er={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},tr={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},nr={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ar={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},rr={ordinalNumber:qa({matchPattern:Ha,parsePattern:za,valueCallback:function(t){return parseInt(t,10)}}),era:ye({matchPatterns:Ga,defaultMatchWidth:"wide",parsePatterns:Qa,defaultParseWidth:"any"}),quarter:ye({matchPatterns:Ka,defaultMatchWidth:"wide",parsePatterns:Xa,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ye({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Za,defaultParseWidth:"any"}),day:ye({matchPatterns:er,defaultMatchWidth:"wide",parsePatterns:tr,defaultParseWidth:"any"}),dayPeriod:ye({matchPatterns:nr,defaultMatchWidth:"any",parsePatterns:ar,defaultParseWidth:"any"})};const or=rr;var ir={code:"en-US",formatDistance:Ta,formatLong:$a,formatRelative:La,localize:Wa,match:or,options:{weekStartsOn:0,firstWeekContainsDate:1}};const at=ir,ht=Object.freeze(Object.defineProperty({__proto__:null,default:at},Symbol.toStringTag,{value:"Module"}));var sr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lr=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ur=/^'([^]*?)'?$/,dr=/''/g,cr=/[a-zA-Z]/;function fr(n,t,e){var a,o,u,v,w,y,x,k,_,m,p,h,f,g,s,c,i,r;F(2,arguments);var d=String(t),l=Te(),A=(a=(o=e==null?void 0:e.locale)!==null&&o!==void 0?o:l.locale)!==null&&a!==void 0?a:at,S=oe((u=(v=(w=(y=e==null?void 0:e.firstWeekContainsDate)!==null&&y!==void 0?y:e==null||(x=e.locale)===null||x===void 0||(k=x.options)===null||k===void 0?void 0:k.firstWeekContainsDate)!==null&&w!==void 0?w:l.firstWeekContainsDate)!==null&&v!==void 0?v:(_=l.locale)===null||_===void 0||(m=_.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&u!==void 0?u:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=oe((p=(h=(f=(g=e==null?void 0:e.weekStartsOn)!==null&&g!==void 0?g:e==null||(s=e.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&f!==void 0?f:l.weekStartsOn)!==null&&h!==void 0?h:(i=l.locale)===null||i===void 0||(r=i.options)===null||r===void 0?void 0:r.weekStartsOn)!==null&&p!==void 0?p:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!A.localize)throw new RangeError("locale must contain localize property");if(!A.formatLong)throw new RangeError("locale must contain formatLong property");var Y=K(n);if(!aa(Y))throw new RangeError("Invalid time value");var J=ke(Y),Z=Ke(Y,J),We={firstWeekContainsDate:S,weekStartsOn:M,locale:A,_originalDate:Y},Fe=d.match(lr).map(function(z){var X=z[0];if(X==="p"||X==="P"){var D=ga[X];return D(z,A.formatLong)}return z}).join("").match(sr).map(function(z){if(z==="''")return"'";var X=z[0];if(X==="'")return mr(z);var D=ha[X];if(D)return!(e!=null&&e.useAdditionalWeekYearTokens)&&xa(z)&&vt(z,t,String(n)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&wa(z)&&vt(z,t,String(n)),D(Z,z,A.localize,We);if(X.match(cr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+X+"`");return z}).join("");return Fe}function mr(n){var t=n.match(ur);return t?t[1].replace(dr,"'"):n}function vr(n,t,e){var a,o,u,v,w,y,x,k,_,m;F(2,arguments);var p=K(n),h=K(t),f=Te(),g=(a=(o=e==null?void 0:e.locale)!==null&&o!==void 0?o:f.locale)!==null&&a!==void 0?a:at,s=oe((u=(v=(w=(y=e==null?void 0:e.weekStartsOn)!==null&&y!==void 0?y:e==null||(x=e.locale)===null||x===void 0||(k=x.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&w!==void 0?w:f.weekStartsOn)!==null&&v!==void 0?v:(_=f.locale)===null||_===void 0||(m=_.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&u!==void 0?u:0);if(!g.localize)throw new RangeError("locale must contain localize property");if(!g.formatLong)throw new RangeError("locale must contain formatLong property");if(!g.formatRelative)throw new RangeError("locale must contain formatRelative property");var c=ta(p,h);if(isNaN(c))throw new RangeError("Invalid time value");var i;c<-6?i="other":c<-1?i="lastWeek":c<0?i="yesterday":c<1?i="today":c<2?i="tomorrow":c<7?i="nextWeek":i="other";var r=Ke(p,ke(p)),d=Ke(h,ke(h)),l=g.formatRelative(i,r,d,{locale:g,weekStartsOn:s});return fr(p,l,{locale:g,weekStartsOn:s})}async function pt(n){try{return await Zt(Object.assign({"../../node_modules/date-fns/esm/locale/af/index.js":()=>b(()=>import("./index.1c3beaef.js"),["assets/index.1c3beaef.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar-DZ/index.js":()=>b(()=>import("./index.6b96687e.js"),["assets/index.6b96687e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar-EG/index.js":()=>b(()=>import("./index.dc7d7db8.js"),["assets/index.dc7d7db8.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar-MA/index.js":()=>b(()=>import("./index.127c9386.js"),["assets/index.127c9386.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar-SA/index.js":()=>b(()=>import("./index.abdbe908.js"),["assets/index.abdbe908.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar-TN/index.js":()=>b(()=>import("./index.76e3de19.js"),["assets/index.76e3de19.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ar/index.js":()=>b(()=>import("./index.4a2b8680.js"),["assets/index.4a2b8680.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/az/index.js":()=>b(()=>import("./index.6d06af31.js"),["assets/index.6d06af31.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/be-tarask/index.js":()=>b(()=>import("./index.4ca8df01.js"),["assets/index.4ca8df01.js","assets/index.2b8b0fc4.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/be/index.js":()=>b(()=>import("./index.92015277.js"),["assets/index.92015277.js","assets/index.2b8b0fc4.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/bg/index.js":()=>b(()=>import("./index.01b34437.js"),["assets/index.01b34437.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/bn/index.js":()=>b(()=>import("./index.9d67e082.js"),["assets/index.9d67e082.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/bs/index.js":()=>b(()=>import("./index.eace165b.js"),["assets/index.eace165b.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ca/index.js":()=>b(()=>import("./index.73e24402.js"),["assets/index.73e24402.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/cs/index.js":()=>b(()=>import("./index.fa2d35ac.js"),["assets/index.fa2d35ac.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/cy/index.js":()=>b(()=>import("./index.8ea81576.js"),["assets/index.8ea81576.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/da/index.js":()=>b(()=>import("./index.0290b1e2.js"),["assets/index.0290b1e2.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/de-AT/index.js":()=>b(()=>import("./index.a453e265.js"),["assets/index.a453e265.js","assets/index.cc66e238.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/de/index.js":()=>b(()=>import("./index.5549f2c5.js"),["assets/index.5549f2c5.js","assets/index.cc66e238.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/el/index.js":()=>b(()=>import("./index.c3510264.js"),["assets/index.c3510264.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-AU/index.js":()=>b(()=>import("./index.24c46401.js"),["assets/index.24c46401.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-CA/index.js":()=>b(()=>import("./index.b1d012ea.js"),["assets/index.b1d012ea.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-GB/index.js":()=>b(()=>import("./index.66fff3a6.js"),["assets/index.66fff3a6.js","assets/index.53b8c5bf.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-IE/index.js":()=>b(()=>import("./index.49d553e0.js"),["assets/index.49d553e0.js","assets/index.53b8c5bf.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-IN/index.js":()=>b(()=>import("./index.7656b5a1.js"),["assets/index.7656b5a1.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-NZ/index.js":()=>b(()=>import("./index.3a85abe5.js"),["assets/index.3a85abe5.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/en-US/index.js":()=>b(()=>Promise.resolve().then(()=>ht),void 0),"../../node_modules/date-fns/esm/locale/en-ZA/index.js":()=>b(()=>import("./index.5c6f2287.js"),["assets/index.5c6f2287.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/eo/index.js":()=>b(()=>import("./index.979a39bb.js"),["assets/index.979a39bb.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/es/index.js":()=>b(()=>import("./index.caf22d62.js"),["assets/index.caf22d62.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/et/index.js":()=>b(()=>import("./index.a841e78a.js"),["assets/index.a841e78a.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/eu/index.js":()=>b(()=>import("./index.7cc232d2.js"),["assets/index.7cc232d2.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fa-IR/index.js":()=>b(()=>import("./index.2434a05f.js"),["assets/index.2434a05f.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fi/index.js":()=>b(()=>import("./index.7fa6b9e4.js"),["assets/index.7fa6b9e4.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fr-CA/index.js":()=>b(()=>import("./index.b87d0715.js"),["assets/index.b87d0715.js","assets/index.7fdd26b2.js","assets/index.31a6003e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fr-CH/index.js":()=>b(()=>import("./index.0e5950f5.js"),["assets/index.0e5950f5.js","assets/index.7fdd26b2.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fr/index.js":()=>b(()=>import("./index.21309fda.js"),["assets/index.21309fda.js","assets/index.7fdd26b2.js","assets/index.31a6003e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/fy/index.js":()=>b(()=>import("./index.be15d94c.js"),["assets/index.be15d94c.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/gd/index.js":()=>b(()=>import("./index.05450fda.js"),["assets/index.05450fda.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/gl/index.js":()=>b(()=>import("./index.2fc1066c.js"),["assets/index.2fc1066c.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/gu/index.js":()=>b(()=>import("./index.f40153f5.js"),["assets/index.f40153f5.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/he/index.js":()=>b(()=>import("./index.1072c2b0.js"),["assets/index.1072c2b0.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/hi/index.js":()=>b(()=>import("./index.53926116.js"),["assets/index.53926116.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/hr/index.js":()=>b(()=>import("./index.fef22090.js"),["assets/index.fef22090.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ht/index.js":()=>b(()=>import("./index.3056eec4.js"),["assets/index.3056eec4.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/hu/index.js":()=>b(()=>import("./index.b2e27d9a.js"),["assets/index.b2e27d9a.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/hy/index.js":()=>b(()=>import("./index.f02d858e.js"),["assets/index.f02d858e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/id/index.js":()=>b(()=>import("./index.718447b7.js"),["assets/index.718447b7.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/is/index.js":()=>b(()=>import("./index.1e0e538b.js"),["assets/index.1e0e538b.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/it-CH/index.js":()=>b(()=>import("./index.02584d69.js"),["assets/index.02584d69.js","assets/index.99dc73d2.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/it/index.js":()=>b(()=>import("./index.c9eec16e.js"),["assets/index.c9eec16e.js","assets/index.99dc73d2.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ja-Hira/index.js":()=>b(()=>import("./index.63e09bc0.js"),["assets/index.63e09bc0.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ja/index.js":()=>b(()=>import("./index.cb72749d.js"),["assets/index.cb72749d.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ka/index.js":()=>b(()=>import("./index.6fd89f14.js"),["assets/index.6fd89f14.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/kk/index.js":()=>b(()=>import("./index.7d92ff02.js"),["assets/index.7d92ff02.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/km/index.js":()=>b(()=>import("./index.4ecef494.js"),["assets/index.4ecef494.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/kn/index.js":()=>b(()=>import("./index.557f901b.js"),["assets/index.557f901b.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ko/index.js":()=>b(()=>import("./index.84dcbf24.js"),["assets/index.84dcbf24.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/lb/index.js":()=>b(()=>import("./index.d8221a4b.js"),["assets/index.d8221a4b.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/lt/index.js":()=>b(()=>import("./index.236bd355.js"),["assets/index.236bd355.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/lv/index.js":()=>b(()=>import("./index.a6fcf9a7.js"),["assets/index.a6fcf9a7.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/mk/index.js":()=>b(()=>import("./index.91b1bc45.js"),["assets/index.91b1bc45.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/mn/index.js":()=>b(()=>import("./index.1802f367.js"),["assets/index.1802f367.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ms/index.js":()=>b(()=>import("./index.f1fb4291.js"),["assets/index.f1fb4291.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/mt/index.js":()=>b(()=>import("./index.fde568dc.js"),["assets/index.fde568dc.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/nb/index.js":()=>b(()=>import("./index.a703cba5.js"),["assets/index.a703cba5.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/nl-BE/index.js":()=>b(()=>import("./index.da3b51fe.js"),["assets/index.da3b51fe.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/nl/index.js":()=>b(()=>import("./index.5f43a2ae.js"),["assets/index.5f43a2ae.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/nn/index.js":()=>b(()=>import("./index.d01bfff8.js"),["assets/index.d01bfff8.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/oc/index.js":()=>b(()=>import("./index.45cad889.js"),["assets/index.45cad889.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/pl/index.js":()=>b(()=>import("./index.e75ddd8e.js"),["assets/index.e75ddd8e.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/pt-BR/index.js":()=>b(()=>import("./index.65678116.js"),["assets/index.65678116.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/pt/index.js":()=>b(()=>import("./index.410c0191.js"),["assets/index.410c0191.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ro/index.js":()=>b(()=>import("./index.ea0c2911.js"),["assets/index.ea0c2911.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ru/index.js":()=>b(()=>import("./index.23a6c151.js"),["assets/index.23a6c151.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sk/index.js":()=>b(()=>import("./index.f42002a5.js"),["assets/index.f42002a5.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sl/index.js":()=>b(()=>import("./index.3f00e5cf.js"),["assets/index.3f00e5cf.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sq/index.js":()=>b(()=>import("./index.b8bf3075.js"),["assets/index.b8bf3075.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sr-Latn/index.js":()=>b(()=>import("./index.3a2a2ff8.js"),["assets/index.3a2a2ff8.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sr/index.js":()=>b(()=>import("./index.3045f291.js"),["assets/index.3045f291.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/sv/index.js":()=>b(()=>import("./index.9f39dc77.js"),["assets/index.9f39dc77.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ta/index.js":()=>b(()=>import("./index.2699235a.js"),["assets/index.2699235a.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/te/index.js":()=>b(()=>import("./index.fd390468.js"),["assets/index.fd390468.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/th/index.js":()=>b(()=>import("./index.8db34127.js"),["assets/index.8db34127.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/tr/index.js":()=>b(()=>import("./index.96c55bff.js"),["assets/index.96c55bff.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/ug/index.js":()=>b(()=>import("./index.8126c63d.js"),["assets/index.8126c63d.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/uk/index.js":()=>b(()=>import("./index.5fcee0b4.js"),["assets/index.5fcee0b4.js","assets/index.2b8b0fc4.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/uz-Cyrl/index.js":()=>b(()=>import("./index.2e976be3.js"),["assets/index.2e976be3.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/uz/index.js":()=>b(()=>import("./index.f1359114.js"),["assets/index.f1359114.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/vi/index.js":()=>b(()=>import("./index.f2c4e740.js"),["assets/index.f2c4e740.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/zh-CN/index.js":()=>b(()=>import("./index.47c106c9.js"),["assets/index.47c106c9.js","assets/index.2a57f56e.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/zh-HK/index.js":()=>b(()=>import("./index.bae2e35d.js"),["assets/index.bae2e35d.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"]),"../../node_modules/date-fns/esm/locale/zh-TW/index.js":()=>b(()=>import("./index.b5c3ba94.js"),["assets/index.b5c3ba94.js","assets/index.72556674.js","assets/index.40792eff.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js"])}),`../../node_modules/date-fns/esm/locale/${n}/index.js`)}catch{return await b(()=>Promise.resolve().then(()=>ht),void 0)}}const hr=async()=>{const n=Jt(["af","ar","ar-DZ","ar-EG","ar-MA","ar-SA","ar-TN","az","be","be-tarask","bg","bn","bs","ca","cs","cy","da","de","de-AT","el","en-AU","en-CA","en-GB","en-IE","en-IN","en-NZ","en-US","en-ZA","eo","es","et","eu","fa-IR","fi","fr","fr-CA","fr-CH","fy","gd","gl","gu","he","hi","hr","ht","hu","hy","id","is","it","it-CH","ja","ja-Hira","ka","kk","km","kn","ko","lb","lt","lv","mk","mn","ms","mt","nb","nl","nl-BE","nn","oc","pl","pt","pt-BR","ro","ru","sk","sl","sq","sr","sr-Latn","sv","ta","te","th","tr","ug","uk","uz","uz-Cyrl","vi","zh-CN","zh-HK","zh-TW"],"en-US"),t=await pt(n);return"default"in t?t.default:(await pt("en-US")).default},pr=["title","textContent"],_t=H({__name:"RelativeDate",props:{date:null},async setup(n){let t,e;const a=n,o=([t,e]=en(()=>hr()),t=await t,e(),t),u=B(()=>vr(a.date,new Date,{locale:o!=null?o:void 0}));return(v,w)=>(C(),P("span",{title:n.date.toString(),textContent:L(T(u))},null,8,pr))}});var be={exports:{}};(function(n,t){(function(e){n.exports=e()})(function(e){var a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function o(s,c){var i=s[0],r=s[1],d=s[2],l=s[3];i+=(r&d|~r&l)+c[0]-680876936|0,i=(i<<7|i>>>25)+r|0,l+=(i&r|~i&d)+c[1]-389564586|0,l=(l<<12|l>>>20)+i|0,d+=(l&i|~l&r)+c[2]+606105819|0,d=(d<<17|d>>>15)+l|0,r+=(d&l|~d&i)+c[3]-1044525330|0,r=(r<<22|r>>>10)+d|0,i+=(r&d|~r&l)+c[4]-176418897|0,i=(i<<7|i>>>25)+r|0,l+=(i&r|~i&d)+c[5]+1200080426|0,l=(l<<12|l>>>20)+i|0,d+=(l&i|~l&r)+c[6]-1473231341|0,d=(d<<17|d>>>15)+l|0,r+=(d&l|~d&i)+c[7]-45705983|0,r=(r<<22|r>>>10)+d|0,i+=(r&d|~r&l)+c[8]+1770035416|0,i=(i<<7|i>>>25)+r|0,l+=(i&r|~i&d)+c[9]-1958414417|0,l=(l<<12|l>>>20)+i|0,d+=(l&i|~l&r)+c[10]-42063|0,d=(d<<17|d>>>15)+l|0,r+=(d&l|~d&i)+c[11]-1990404162|0,r=(r<<22|r>>>10)+d|0,i+=(r&d|~r&l)+c[12]+1804603682|0,i=(i<<7|i>>>25)+r|0,l+=(i&r|~i&d)+c[13]-40341101|0,l=(l<<12|l>>>20)+i|0,d+=(l&i|~l&r)+c[14]-1502002290|0,d=(d<<17|d>>>15)+l|0,r+=(d&l|~d&i)+c[15]+1236535329|0,r=(r<<22|r>>>10)+d|0,i+=(r&l|d&~l)+c[1]-165796510|0,i=(i<<5|i>>>27)+r|0,l+=(i&d|r&~d)+c[6]-1069501632|0,l=(l<<9|l>>>23)+i|0,d+=(l&r|i&~r)+c[11]+643717713|0,d=(d<<14|d>>>18)+l|0,r+=(d&i|l&~i)+c[0]-373897302|0,r=(r<<20|r>>>12)+d|0,i+=(r&l|d&~l)+c[5]-701558691|0,i=(i<<5|i>>>27)+r|0,l+=(i&d|r&~d)+c[10]+38016083|0,l=(l<<9|l>>>23)+i|0,d+=(l&r|i&~r)+c[15]-660478335|0,d=(d<<14|d>>>18)+l|0,r+=(d&i|l&~i)+c[4]-405537848|0,r=(r<<20|r>>>12)+d|0,i+=(r&l|d&~l)+c[9]+568446438|0,i=(i<<5|i>>>27)+r|0,l+=(i&d|r&~d)+c[14]-1019803690|0,l=(l<<9|l>>>23)+i|0,d+=(l&r|i&~r)+c[3]-187363961|0,d=(d<<14|d>>>18)+l|0,r+=(d&i|l&~i)+c[8]+1163531501|0,r=(r<<20|r>>>12)+d|0,i+=(r&l|d&~l)+c[13]-1444681467|0,i=(i<<5|i>>>27)+r|0,l+=(i&d|r&~d)+c[2]-51403784|0,l=(l<<9|l>>>23)+i|0,d+=(l&r|i&~r)+c[7]+1735328473|0,d=(d<<14|d>>>18)+l|0,r+=(d&i|l&~i)+c[12]-1926607734|0,r=(r<<20|r>>>12)+d|0,i+=(r^d^l)+c[5]-378558|0,i=(i<<4|i>>>28)+r|0,l+=(i^r^d)+c[8]-2022574463|0,l=(l<<11|l>>>21)+i|0,d+=(l^i^r)+c[11]+1839030562|0,d=(d<<16|d>>>16)+l|0,r+=(d^l^i)+c[14]-35309556|0,r=(r<<23|r>>>9)+d|0,i+=(r^d^l)+c[1]-1530992060|0,i=(i<<4|i>>>28)+r|0,l+=(i^r^d)+c[4]+1272893353|0,l=(l<<11|l>>>21)+i|0,d+=(l^i^r)+c[7]-155497632|0,d=(d<<16|d>>>16)+l|0,r+=(d^l^i)+c[10]-1094730640|0,r=(r<<23|r>>>9)+d|0,i+=(r^d^l)+c[13]+681279174|0,i=(i<<4|i>>>28)+r|0,l+=(i^r^d)+c[0]-358537222|0,l=(l<<11|l>>>21)+i|0,d+=(l^i^r)+c[3]-722521979|0,d=(d<<16|d>>>16)+l|0,r+=(d^l^i)+c[6]+76029189|0,r=(r<<23|r>>>9)+d|0,i+=(r^d^l)+c[9]-640364487|0,i=(i<<4|i>>>28)+r|0,l+=(i^r^d)+c[12]-421815835|0,l=(l<<11|l>>>21)+i|0,d+=(l^i^r)+c[15]+530742520|0,d=(d<<16|d>>>16)+l|0,r+=(d^l^i)+c[2]-995338651|0,r=(r<<23|r>>>9)+d|0,i+=(d^(r|~l))+c[0]-198630844|0,i=(i<<6|i>>>26)+r|0,l+=(r^(i|~d))+c[7]+1126891415|0,l=(l<<10|l>>>22)+i|0,d+=(i^(l|~r))+c[14]-1416354905|0,d=(d<<15|d>>>17)+l|0,r+=(l^(d|~i))+c[5]-57434055|0,r=(r<<21|r>>>11)+d|0,i+=(d^(r|~l))+c[12]+1700485571|0,i=(i<<6|i>>>26)+r|0,l+=(r^(i|~d))+c[3]-1894986606|0,l=(l<<10|l>>>22)+i|0,d+=(i^(l|~r))+c[10]-1051523|0,d=(d<<15|d>>>17)+l|0,r+=(l^(d|~i))+c[1]-2054922799|0,r=(r<<21|r>>>11)+d|0,i+=(d^(r|~l))+c[8]+1873313359|0,i=(i<<6|i>>>26)+r|0,l+=(r^(i|~d))+c[15]-30611744|0,l=(l<<10|l>>>22)+i|0,d+=(i^(l|~r))+c[6]-1560198380|0,d=(d<<15|d>>>17)+l|0,r+=(l^(d|~i))+c[13]+1309151649|0,r=(r<<21|r>>>11)+d|0,i+=(d^(r|~l))+c[4]-145523070|0,i=(i<<6|i>>>26)+r|0,l+=(r^(i|~d))+c[11]-1120210379|0,l=(l<<10|l>>>22)+i|0,d+=(i^(l|~r))+c[2]+718787259|0,d=(d<<15|d>>>17)+l|0,r+=(l^(d|~i))+c[9]-343485551|0,r=(r<<21|r>>>11)+d|0,s[0]=i+s[0]|0,s[1]=r+s[1]|0,s[2]=d+s[2]|0,s[3]=l+s[3]|0}function u(s){var c=[],i;for(i=0;i<64;i+=4)c[i>>2]=s.charCodeAt(i)+(s.charCodeAt(i+1)<<8)+(s.charCodeAt(i+2)<<16)+(s.charCodeAt(i+3)<<24);return c}function v(s){var c=[],i;for(i=0;i<64;i+=4)c[i>>2]=s[i]+(s[i+1]<<8)+(s[i+2]<<16)+(s[i+3]<<24);return c}function w(s){var c=s.length,i=[1732584193,-271733879,-1732584194,271733878],r,d,l,A,S,M;for(r=64;r<=c;r+=64)o(i,u(s.substring(r-64,r)));for(s=s.substring(r-64),d=s.length,l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r>2]|=s.charCodeAt(r)<<(r%4<<3);if(l[r>>2]|=128<<(r%4<<3),r>55)for(o(i,l),r=0;r<16;r+=1)l[r]=0;return A=c*8,A=A.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(A[2],16),M=parseInt(A[1],16)||0,l[14]=S,l[15]=M,o(i,l),i}function y(s){var c=s.length,i=[1732584193,-271733879,-1732584194,271733878],r,d,l,A,S,M;for(r=64;r<=c;r+=64)o(i,v(s.subarray(r-64,r)));for(s=r-64>2]|=s[r]<<(r%4<<3);if(l[r>>2]|=128<<(r%4<<3),r>55)for(o(i,l),r=0;r<16;r+=1)l[r]=0;return A=c*8,A=A.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(A[2],16),M=parseInt(A[1],16)||0,l[14]=S,l[15]=M,o(i,l),i}function x(s){var c="",i;for(i=0;i<4;i+=1)c+=a[s>>i*8+4&15]+a[s>>i*8&15];return c}function k(s){var c;for(c=0;cl?new ArrayBuffer(0):(A=l-d,S=new ArrayBuffer(A),M=new Uint8Array(S),Y=new Uint8Array(this,d,A),M.set(Y),S)}}();function _(s){return/[\u0080-\uFFFF]/.test(s)&&(s=unescape(encodeURIComponent(s))),s}function m(s,c){var i=s.length,r=new ArrayBuffer(i),d=new Uint8Array(r),l;for(l=0;l>2]|=c.charCodeAt(r)<<(r%4<<3);return this._finish(d,i),l=k(this._hash),s&&(l=f(l)),this.reset(),l},g.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},g.prototype.setState=function(s){return this._buff=s.buff,this._length=s.length,this._hash=s.hash,this},g.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},g.prototype._finish=function(s,c){var i=c,r,d,l;if(s[i>>2]|=128<<(i%4<<3),i>55)for(o(this._hash,s),i=0;i<16;i+=1)s[i]=0;r=this._length*8,r=r.toString(16).match(/(.*?)(.{0,8})$/),d=parseInt(r[2],16),l=parseInt(r[1],16)||0,s[14]=d,s[15]=l,o(this._hash,s)},g.hash=function(s,c){return g.hashBinary(_(s),c)},g.hashBinary=function(s,c){var i=w(s),r=k(i);return c?f(r):r},g.ArrayBuffer=function(){this.reset()},g.ArrayBuffer.prototype.append=function(s){var c=h(this._buff.buffer,s,!0),i=c.length,r;for(this._length+=s.byteLength,r=64;r<=i;r+=64)o(this._hash,v(c.subarray(r-64,r)));return this._buff=r-64>2]|=c[d]<<(d%4<<3);return this._finish(r,i),l=k(this._hash),s&&(l=f(l)),this.reset(),l},g.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},g.ArrayBuffer.prototype.getState=function(){var s=g.prototype.getState.call(this);return s.buff=p(s.buff),s},g.ArrayBuffer.prototype.setState=function(s){return s.buff=m(s.buff,!0),g.prototype.setState.call(this,s)},g.ArrayBuffer.prototype.destroy=g.prototype.destroy,g.ArrayBuffer.prototype._finish=g.prototype._finish,g.ArrayBuffer.hash=function(s,c){var i=y(new Uint8Array(s)),r=k(i);return c?f(r):r},g})})(be);const _r="/assets/DefaultAvatar.471a92cc.jpg",gr=["alt","title","src"],Ne=H({__name:"UserAvatar",props:{current:null,image:null,gravatar:null,email:null,alt:null,openable:{type:Boolean},hideTitle:{type:Boolean}},setup(n){const t=n,{t:e}=ce(),a=te(null),o=R(new Set),u=R(new Set),v=R(0),w=B(()=>[...o.value][v.value]),y=B(()=>[...u.value][v.value]),x=p=>{v.value{var g;const p=(g=a.value)==null?void 0:g.clientWidth,h=p&&p>10?p:48,f=(s,c)=>{c?(o.value.add(s),u.value.add(c)):(o.value.add(s),u.value.add(s))};t.current&&f(t.current),t.image&&t.image!=="default"&&f(`https://patchyvideo.com/be/images/userphotos/${t.image}`),t.gravatar&&t.gravatar.length===32&&f(`https://gravatar.loli.net/avatar/${t.gravatar}?s=${h}&d=404`,`https://gravatar.loli.net/avatar/${t.gravatar}?s=512&d=404`),t.email&&f(`https://gravatar.loli.net/avatar/${be.exports.hash(t.email)}?s=${h}&d=404`,`https://gravatar.loli.net/avatar/${be.exports.hash(t.email)}?s=512&d=404`),t.gravatar&&t.gravatar.length===32&&f(`https://gravatar.com/avatar/${t.gravatar}?s=${h}&d=404`,`https://gravatar.com/avatar/${t.gravatar}?s=512&d=404`),t.email&&f(`https://gravatar.com/avatar/${be.exports.hash(t.email)}?s=${h}&d=404`,`https://gravatar.com/avatar/${be.exports.hash(t.email)}?s=512&d=404`),f(_r),v.value=0};xt(()=>{ne(()=>{k()})});const _=()=>{t.openable&&window.open(y.value,"_blank")},m=p=>{p.button===1&&_()};return(p,h)=>(C(),P("img",{ref_key:"el",ref:a,class:"dark:filter dark:brightness-90 bg-gray-300 dark:bg-gray-600",alt:T(e)("user.avatar.alt",{alt:n.alt}),title:n.hideTitle?void 0:T(e)("user.avatar.alt",{alt:n.alt}),src:T(w),onError:x,onClick:_,onAuxclick:m},null,40,gr))}}),Se=R(0),yr=B(()=>Se.value?"loading":"ready"),br=E("div",{class:"grid w-9 h-9 place-items-center rounded-full ring ring-transparent transition-colors duration-100 hover:ring-gray-200 dark:hover:ring-gray-700"},[E("div",{class:"i-uil:envelope w-6 h-6"})],-1),wr={key:0,class:"absolute -top-0.3 -right-0.5 bg-red-500 text-white text-xs rounded-full px-1"},xr={class:"w-80 p-2"},kr={key:0},Er={key:1},Tr={key:2,class:"divide-y-1"},Cr={class:"py-2"},Pr={key:3},Or={class:"divide-y-1 divide-gray-300 max-h-110 overflow-auto"},Dr={key:0,class:"flex items-center space-x-2 p-2"},$r=["onClick"],Ar={class:"text-xs bg-gray-100 text-gray-400 p-1 truncate dark:bg-gray-500 dark:text-gray-200"},Sr={class:"text-xs text-gray-600 text-right dark:text-white"},Lr={key:1,class:"p-2"},Ir=["onClick"],Rr={class:"w-5/6"},jr={class:"truncate"},Mr={class:"text-xs bg-gray-100 text-gray-400 p-1 truncate dark:bg-gray-500 dark:text-gray-200"},Vr={class:"text-xs text-gray-600 text-right dark:text-white"},Nr=H({__name:"NoteBoxNavTop",props:{listNoteCountUnread:{default:0}},emits:["update:listNoteCountUnread"],setup(n,{emit:t}){const e=n,{t:a}=ce(),o=tt(),u=gt(e,"listNoteCountUnread",t),v=R(!1),w=R([]),y=R(),x=R(5),k=R(0),_=R("all"),{result:m,loading:p,onError:h}=Xe(Ie` + query ($offset: Int, $limit: Int, $listAll: Boolean, $noteType: String) { + listNotifications(para: { offset: $offset, limit: $limit, listAll: $listAll, noteType: $noteType }) { + notes { + id + read + type + ... on ReplyNotificationObject { + cid + repliedBy { + id + username + image + gravatar + } + time + repliedObj + repliedType + content + } + ... on SystemNotificationObject { + time + title + content + } + } + countUnread + } + } + `,{offset:k.value*x.value,limit:x.value,listAll:v.value,noteType:_.value},()=>({enabled:o.isLogin&&yr.value!=="loading",fetchPolicy:"network-only"}));ne(()=>{p.value?y.value="loading":y.value="result"});const f=Je(m,null,d=>d==null?void 0:d.listNotifications);ne(()=>{f.value?(w.value=f.value.notes,u.value=f.value.countUnread):y.value="error"});const g=R("");h(d=>{g.value=d.message,y.value="error"});const{mutate:s,onDone:c,onError:i}=tn(Ie` + mutation ($markAll: Boolean, $noteType: String, $noteIds: [String!]) { + markAsRead(para: { markAll: $markAll, noteType: $noteType, noteIds: $noteIds }) { + empty + } + } + `);c(()=>{Se.value--}),i(()=>{Se.value--});function r(d,l){Se.value++,s({markAll:!1,noteType:d,noteIds:l})}return(d,l)=>{const A=nt("RouterLink");return C(),ee(St,{"button-class":"relative flex items-center"},{button:U(()=>[br,T(u)?(C(),P("div",wr,L(T(u)>99?"99+":T(u)),1)):V("",!0)]),default:U(()=>[E("div",xr,[q(L(T(a)("user-notification.notification-navtop.title"))+" ",1),y.value==="loading"?(C(),P("div",kr,L(T(a)("user-notification.notification-navtop.loading")),1)):y.value==="error"?(C(),P("div",Er,L(T(a)("user-notification.notification-navtop.error",{error:g.value})),1)):T(u)===0?(C(),P("div",Tr,[E("div",Cr,L(T(a)("user-notification.notification-navtop.no-message")),1),N(A,{to:"/user/notification",class:"pt-1 text-center block"},{default:U(()=>[q(L(T(a)("user-notification.notification-navtop.show-all")),1)]),_:1})])):(C(),P("div",Pr,[E("div",Or,[(C(!0),P(Q,null,pe(w.value,S=>(C(),P("div",{key:S.id.id,class:"transition cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-500"},[S.__typename==="ReplyNotificationObject"?(C(),P("div",Dr,[N(A,{class:"w-1/6 cursor-pointer",to:`/user/${S.repliedBy.id.toHexString()}`},{default:U(()=>[N(Ne,{title:S.repliedBy.username,image:S.repliedBy.image,gravatar:S.repliedBy.gravatar,class:"rounded-full ring-2 ring-white"},null,8,["title","image","gravatar"])]),_:2},1032,["to"]),N(A,{to:(S.repliedType==="forum"?"":S.repliedType==="video"?"/video/":"/playlist/")+S.repliedObj,custom:""},{default:U(({navigate:M})=>[E("div",{class:"w-5/6",onClick:()=>{r(S.type,[S.id.toHexString()]),M()}},[E("div",null,L(T(a)("user-notification.notification-navtop.reply",{username:S.repliedBy.username})),1),E("div",Ar,L(S.content),1),E("div",Sr,[N(_t,{date:S.time},null,8,["date"])])],8,$r)]),_:2},1032,["to"])])):S.__typename==="SystemNotificationObject"?(C(),P("div",Lr,[N(A,{to:"/user/notification?type=system_message",custom:""},{default:U(({navigate:M})=>[E("div",{class:"flex items-center space-x-2",onClick:M},[N(Ne,{title:S.title,current:"packages/common/assets/systemNoitficationIcon.png",class:"w-1/6 rounded-full ring-2 ring-white"},null,8,["title"]),E("div",Rr,[E("div",jr,L(T(a)("user-notification.notification-navtop.system",{title:S.title})),1),E("div",Mr,L(S.content),1),E("div",Vr,[N(_t,{date:S.time},null,8,["date"])])])],8,Ir)]),_:2},1024)])):V("",!0)]))),128))]),N(A,{to:"/user/notification",class:"pt-1 border-t border-gray-600 text-center block"},{default:U(()=>[q(L(T(a)("user-notification.notification-navtop.show-all")),1)]),_:1})]))])]),_:1})}}}),Br={key:0,class:"sm:hidden absolute -top-0.3 -right-0.5 bg-red-500 rounded-full p-1.5"},Ur={class:"flex flex-col"},Wr={class:"flex my-2 px-4 gap-3 items-center"},Fr={class:"font-medium"},Yr={class:"text-sm text-gray-600 dark:text-gray-200"},qr=E("div",{class:"w-full border-b-1 border-purple-300 dark:border-gray-600"},null,-1),Hr=E("div",{class:"i-uil:user text-lg"},null,-1),zr=E("div",{class:"w-full border-b-1 border-purple-200 border-dashed dark:border-gray-700"},null,-1),Gr=E("div",{class:"i-uil:envelope text-lg"},null,-1),Qr={key:0,class:"px-2 rounded-full text-white text-sm bg-red-500"},Kr=E("div",{class:"w-full border-b-1 border-purple-300 dark:border-gray-600"},null,-1),Xr=E("div",{class:"i-uil:exit text-lg"},null,-1),Jr={class:"i-uil:spinner-alt text-lg animate-spin"},Zr=H({__name:"UserBoxNavTop",props:{fetchNote:{type:Boolean},listNoteCountUnread:null},setup(n){const{t}=ce(),e=tt(),a=R(!1);async function o(){a.value=!0,await nn("https://patchyvideo.com/be/logout.do",{method:"POST",credentials:"include",body:{}}),e.refetch(),a.value=!1}return(u,v)=>{const w=nt("RouterLink");return C(),ee(St,{"button-class":"relative flex items-center"},{button:U(({open:y})=>[N(Ne,{class:"w-9 h-9 rounded-full ring ring-transparent hover:ring-gray-200 dark:hover:ring-gray-700",title:T(e).username,image:T(e).image,email:T(e).email},null,8,["title","image","email"]),!y&&n.fetchNote&&n.listNoteCountUnread?(C(),P("div",Br)):V("",!0)]),default:U(()=>[E("div",Ur,[E("div",Wr,[N(Ne,{class:"w-12 h-12 rounded-full border border-white",title:T(e).username,image:T(e).image,email:T(e).email},null,8,["title","image","email"]),E("div",null,[E("div",Fr,L(T(e).username),1),E("div",Yr,L(T(e).email),1)])]),qr,N(w,{class:"flex px-4 py-1.5 w-full items-center gap-2 hover:bg-purple-50 dark:hover:bg-indigo-800",to:`/user/${T(e).uid}`},{default:U(()=>[Hr,q(" 个人中心 ")]),_:1},8,["to"]),n.fetchNote?(C(),P(Q,{key:0},[zr,N(w,{class:"flex px-4 py-1.5 w-full items-center gap-2 hover:bg-purple-50 dark:hover:bg-indigo-800",to:"/user/notification"},{default:U(()=>[Gr,q(" "+L(T(t)("common.nav-top.user.my-message"))+" ",1),n.listNoteCountUnread?(C(),P("span",Qr,L(n.listNoteCountUnread>99?"99+":n.listNoteCountUnread),1)):V("",!0)]),_:1})],64)):V("",!0),Kr,E("button",{class:"flex px-4 py-1.5 w-full items-center gap-2 hover:bg-purple-50 dark:hover:bg-indigo-800",onClick:v[0]||(v[0]=()=>o())},[Xr,q(" 退出登录 "),re(E("div",Jr,null,512),[[de,a.value]])])])]),_:1})}}});function ze(n=it.global.t("others.WIP1")){an(it.global.t("others.WIP2",{WIP1:n}))}const eo={class:"flex-1 inline-flex items-center flex-nowrap mr-auto"},to={class:"p-0.5 rounded-full border-2 border-transparent transition-colors duration-100 hover:border-gray-200 dark:hover:border-gray-700"},no={key:0,class:"flex-auto inline-flex flex-nowrap items-center justify-center mx-2"},ao={class:"flex-1 inline-flex justify-end ml-auto mr-2 min-w-9"},ro={key:0,class:"whitespace-nowrap"},oo={key:1,class:"flex items-center space-x-3"},io=E("div",{class:"h-12"},null,-1),so={class:"flex flex-col gap-1 pt-2 px-2 rounded-r overflow-y-auto border-r border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900"},lo={key:0,class:"w-full mt-2"},uo=["textContent"],co=["textContent"],fo=["href"],mo=["textContent"],vo=["onClick"],ho=["textContent"],po={key:4,class:"flex justify-between gap-x-6 items-center"},_o={class:"inline-flex flex-row items-center gap-1"},go=["textContent"],yo={key:5,class:"flex justify-between gap-x-6 items-center"},bo={class:"inline-flex flex-row items-center gap-1"},wo=["textContent"],xo={key:6,class:"flex flex-row items-center gap-1"},ko=["textContent"],Eo={class:"z-49 fixed flex top-12 bottom-0 w-full h-full bg-white dark:bg-gray-900"},To=H({__name:"NavTop",props:{showSearchBar:{type:Boolean,default:!0},fetchNote:{type:Boolean,default:!0}},setup(n){const{t}=ce(),e=sn(),a=tt(),o=te(null),u=te(null),v=R(0),w=R(!1);yt(document,"click",h=>{if(!u.value)return;const f=h.target;u.value.contains(f)||(w.value=!1)},{passive:!0});const y=ln(),x=R(!1);function k(h){x.value=!1,y.push({path:"/search-result",query:{i:h}})}const _=R(e.path==="/search-result"&&e.query.i?Array.isArray(e.query.i)?e.query.i.join(" "):e.query.i:""),m=te(),p=B(()=>{const h=[{key:"home",type:"router",icon:"i-uil:home-alt",text:t("common.nav-top.main-menu.home"),path:"/"},{key:"video-list",type:"router",icon:"i-uil:play-circle",text:t("common.nav-top.main-menu.video"),path:"/video-list"},{key:"playlist-list",type:"router",icon:"i-uil:folder",text:t("common.nav-top.main-menu.list"),path:"/playlist-list"},{key:"discuss-board",type:"click",icon:"i-uil:chat",text:t("common.nav-top.main-menu.discuss-board"),onClick:()=>ze(t("common.nav-top.main-menu.discuss-board"))},{key:"leaderboard",type:"router",icon:"i-uil:list-ol-alt",text:t("common.nav-top.main-menu.leaderboard"),path:"/leaderboard"},{key:"wiki",type:"a",icon:"i-carbon:wikis",text:t("common.nav-top.main-menu.wiki"),href:"https://patchyvideo.wiki/"}];return a.isLogin&&h.push({key:"user-padding",type:"blank",text:""},{key:"postvideo",type:"click",icon:"i-uil:upload",text:t("common.nav-top.user-operation.postvideo"),onClick:()=>ze(t("common.nav-top.user-operation.postvideo"))},{key:"edittag",type:"click",icon:"i-uil:tag-alt",text:t("common.nav-top.user-operation.tag"),onClick:()=>ze(t("common.nav-top.user-operation.tag"))}),a.isLogin&&a.isAdmin&&h.push({key:"admin-padding",type:"blank",text:""},{key:"admin",type:"catogory",text:t("common.nav-top.admin.admin")},{key:"who-am-I",type:"blank",text:t("common.nav-top.admin.who-am-I")},{key:"super-admin",type:"blank",text:t("common.nav-top.admin.super-admin")}),h.push({key:"settings-padding",type:"blank",text:""},{key:"settings",type:"catogory",text:t("common.nav-top.settings.settings")},{key:"settings-darkmode",type:"component",text:t("common.nav-top.settings.darkmode"),component:Xn},{key:"settings-language",type:"select",text:t("common.nav-top.settings.lang"),options:rn,selected:on},{key:"settings-other",type:"router",text:"更改其它设置",icon:"i-uil:cog",path:"/settings"}),h});return(h,f)=>{const g=nt("RouterLink");return C(),P("div",{ref_key:"navContainer",ref:u},[E("div",{ref_key:"nav",ref:o,class:"z-49 fixed flex inset-x-0 h-12 p-1 items-center border-b border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900"},[re(E("div",eo,[E("div",to,[E("button",{class:W(["text-3xl rounded-full",w.value?"i-uil:times":"i-uil:list-ul"]),onClick:f[0]||(f[0]=s=>w.value=!w.value)},null,2)]),T(Oe).md?(C(),ee(g,{key:0,to:"/"},{default:U(()=>[N(mn,{class:"ml-2"})]),_:1})):V("",!0)],512),[[de,!x.value]]),n.showSearchBar?(C(),P("div",no,[N(Bn,{keyword:_.value,"onUpdate:keyword":f[1]||(f[1]=s=>_.value=s),class:"w-full max-w-2xl","teleport-result":T(Oe)["T(Oe)["x.value=!1)})):V("",!0)])):V("",!0),re(E("div",ao,[T(a).isLogin?(C(),P("div",oo,[T(Oe).sm&&n.fetchNote?(C(),ee(Nr,{key:0,"list-note-count-unread":v.value,"onUpdate:list-note-count-unread":f[4]||(f[4]=s=>v.value=s)},null,8,["list-note-count-unread"])):V("",!0),N(Zr,{"fetch-note":n.fetchNote,"list-note-count-unread":v.value},null,8,["fetch-note","list-note-count-unread"])])):(C(),P("div",ro,[N(g,{to:"/user/login"},{default:U(()=>[q(L(T(t)("common.nav-top.user.login")),1)]),_:1})]))],512),[[de,!x.value]])],512),io,E("div",{class:W(["z-50 fixed flex top-12 bottom-0 transform transition-transform ease-in-out",{"-translate-x-full":!w.value}])},[E("div",so,[(C(!0),P(Q,null,pe(T(p),(s,c)=>(C(),P(Q,{key:s.key},[s.type==="blank"&&s.text===""?(C(),P("div",lo)):(C(),ee(wn,{key:1,index:c,"drawer-open":w.value,"item-length":T(p).length},{default:U(()=>[s.type==="catogory"?(C(),P("div",{key:0,class:"text-gray-500 text-sm dark:text-gray-400",textContent:L(s.text)},null,8,uo)):s.type==="router"?(C(),ee(g,{key:1,to:s.path,class:"flex flex-row items-center gap-x-1"},{default:U(()=>[s.icon?(C(),P("div",{key:0,class:W(["text-xl text-center",s.icon])},null,2)):V("",!0),E("div",{textContent:L(s.text)},null,8,co)]),_:2},1032,["to"])):s.type==="a"?(C(),P("a",{key:2,class:"flex flex-row items-center gap-x-1",target:"_blank",rel:"noopener noreferrer",href:s.href},[s.icon?(C(),P("div",{key:0,class:W(["text-xl text-center",s.icon])},null,2)):V("",!0),E("div",{textContent:L(s.text)},null,8,mo)],8,fo)):s.type==="click"?(C(),P("a",{key:3,class:"flex flex-row items-center gap-x-1",onClick:s.onClick},[s.icon?(C(),P("div",{key:0,class:W(["text-xl text-center",s.icon])},null,2)):V("",!0),E("div",{textContent:L(s.text)},null,8,ho)],8,vo)):s.type==="select"?(C(),P("div",po,[E("div",_o,[s.icon?(C(),P("div",{key:0,class:W(["text-xl text-center",s.icon])},null,2)):V("",!0),E("div",{textContent:L(s.text)},null,8,go)]),N(gn,{modelValue:s.selected.value,"onUpdate:modelValue":i=>s.selected.value=i,"item-list":s.options},null,8,["modelValue","onUpdate:modelValue","item-list"])])):s.type==="component"?(C(),P("div",yo,[E("div",bo,[s.icon?(C(),P("div",{key:0,class:W(["inline-block mr-1 text-xl text-center align-middle",s.icon])},null,2)):V("",!0),E("div",{class:"inline-block align-middle",textContent:L(s.text)},null,8,wo)]),(C(),ee(un(s.component)))])):(C(),P("div",xo,[s.icon?(C(),P("div",{key:0,class:W(["text-xl text-center",s.icon])},null,2)):V("",!0),E("div",{textContent:L(s.text)},null,8,ko)]))]),_:2},1032,["index","drawer-open","item-length"]))],64))),128))])],2),re(E("div",Eo,[E("div",{ref_key:"teleportTo",ref:m,class:"absolute w-full"},null,512)],512),[[de,x.value]])],512)}}});var jt={exports:{}};/*! + * + * typed.js - A JavaScript Typing Animation Library + * Author: Matt Boldt + * Version: v2.0.12 + * Url: https://github.com/mattboldt/typed.js + * License(s): MIT + * + */(function(n,t){(function(a,o){n.exports=o()})(dn,function(){return function(e){var a={};function o(u){if(a[u])return a[u].exports;var v=a[u]={exports:{},id:u,loaded:!1};return e[u].call(v.exports,v,v.exports,o),v.loaded=!0,v.exports}return o.m=e,o.c=a,o.p="",o(0)}([function(e,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){function k(_,m){for(var p=0;pm.length)););var r=m.substring(0,p),d=m.substring(r.length+1,p+g),l=m.substring(p+g+1);m=r+d+l,g--}h.timeout=setTimeout(function(){h.toggleBlinking(!1),p>=m.length?h.doneTyping(m,p):h.keepTyping(m,p,g),h.temporaryPause&&(h.temporaryPause=!1,h.options.onTypingResumed(h.arrayPos,h))},s)},f)}},{key:"keepTyping",value:function(m,p,h){p===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),p+=h;var f=m.substr(0,p);this.replaceText(f),this.typewrite(m,p)}},{key:"doneTyping",value:function(m,p){var h=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),!(this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount))&&(this.timeout=setTimeout(function(){h.backspace(m,p)},this.backDelay))}},{key:"backspace",value:function(m,p){var h=this;if(this.pause.status===!0){this.setPauseStatus(m,p,!1);return}if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var f=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){p=y.htmlParser.backSpaceHtmlChars(m,p,h);var g=m.substr(0,p);if(h.replaceText(g),h.smartBackspace){var s=h.strings[h.arrayPos+1];s&&g===s.substr(0,p)?h.stopNum=p:h.stopNum=0}p>h.stopNum?(p--,h.backspace(m,p)):p<=h.stopNum&&(h.arrayPos++,h.arrayPos===h.strings.length?(h.arrayPos=0,h.options.onLastStringBackspaced(),h.shuffleStringsIfNeeded(),h.begin()):h.typewrite(h.strings[h.sequence[h.arrayPos]],p))},f)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(m,p,h){this.pause.typewrite=h,this.pause.curString=m,this.pause.curStrPos=p}},{key:"toggleBlinking",value:function(m){!this.cursor||this.pause.status||this.cursorBlinking!==m&&(this.cursorBlinking=m,m?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink"))}},{key:"humanizer",value:function(m){return Math.round(Math.random()*m/2)+m}},{key:"shuffleStringsIfNeeded",value:function(){!this.shuffle||(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var m=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){m.arrayPos++,m.replaceText(""),m.strings.length>m.arrayPos?m.typewrite(m.strings[m.sequence[m.arrayPos]],0):(m.typewrite(m.strings[0],0),m.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(m){this.attr?this.el.setAttribute(this.attr,m):this.isInput?this.el.value=m:this.contentType==="html"?this.el.innerHTML=m:this.el.textContent=m}},{key:"bindFocusEvents",value:function(){var m=this;!this.isInput||(this.el.addEventListener("focus",function(p){m.stop()}),this.el.addEventListener("blur",function(p){m.el.value&&m.el.value.length!==0||m.start()}))}},{key:"insertCursor",value:function(){!this.showCursor||this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling))}}]),k}();a.default=x,e.exports=a.default},function(e,a,o){Object.defineProperty(a,"__esModule",{value:!0});var u=Object.assign||function(p){for(var h=1;h":h=";";k.substr(_+1).charAt(0)!==h&&(_++,!(_+1>k.length)););_++}return _}},{key:"backSpaceHtmlChars",value:function(k,_,m){if(m.contentType!=="html")return _;var p=k.substr(_).charAt(0);if(p===">"||p===";"){var h="";for(p===">"?h="<":h="&";k.substr(_-1).charAt(0)!==h&&(_--,!(_<0)););_--}return _}}]),y}();a.default=v;var w=new v;a.htmlParser=w}])})})(jt);const Co=cn(jt.exports),Mt=["看板娘 freesia 要出小恶魔","世界名画《看板娘在女装》","我只是个路过的博丽巫女,给我记住了!","是在这里死亡呢,还是死后留在这里呢,还请选择吧","是~ 这~ 样~ 的~ 吗~","八云紫又过了一个17岁生日","魔理沙偷走了重要的服务器","幽幽子桑,白玉楼的樱花开了","拳打八云敬老院,脚踢红魔幼儿园","你不德豪寺,这寺豪德,这里是豪德寺","Windows 正在更新中,你的电脑将重启多次,请坐和放宽。","Windows 更新失败,正在滚回以前的版本...","我做东方整活页面,好吗?","女巫!八卦炉!Best Match! Are you ready? 普通的黑白魔法使!魔理沙魔理沙魔理沙!Yeah~","我幽幽子,就是饿死,死外边,从白玉楼跳下去,也绝对不碰米斯蒂娅一根毛!A moment later.... 真香诶","敌羞吾去脱她衣","前方到站:幻想乡。请到站的旅客提前到车门前等候,未到站的旅客请不要下车。","欢迎乘坐八云号动车组,本次列车是 GSK999 次列车,列车由博丽神社开往红魔馆,途径雾之湖站。","你知道吗?如果用 TNT 搭建 TNT 阵列塔,一塔的爆炸量相当于9个红魔馆。","灵梦:你这卡保用吗?三花:我一个开卡摊的,能卖你白卡不成?","$ sudo rm -rf /*","$ curl https://patchyvideo.com/","$ gh repo clone PatchyVideo/platinum","$ gh repo clone PatchyVideo/PatchyVideo","> console.log('TOUHOU GUICHU YINMAD');","パチュリーズ・ベストヒットGSK - IOSYS","色は匂へど いつか散りぬるを","月には叢雲 華には風と","ずっとその手を離さないでねと微笑った 君とはぐれた","ヒフミ ヒフミ ヒフミ ヒフミ ヒヒフ","上海 上海 上海 上海 蓬莱 蓬莱 蓬莱 蓬莱 フランス オランダ チベット 京都 ロンドン ロシアン オルレアン","「叡智」 が、ありますように。「志操」 と、ありますように。「希望」 で、ありますように。やがて 「世界」になりますように。","芽生え終えた生命よ 彷徨いの冥で逢おう","Humpty Dumpty sat on a wall. Humpty Dumpty had a great fall. All the king's horses and king's men. Couldn't put Humpty together again.","一句不经意平凡话语,剪断最后的一根神经,我的天空开始崩坏离析。","回首 切切低語向苍茫,客星擦過天際夜朦朧,昏暗黎明前悠悠昤唱傳誦之歌 破長空。","彷徨う森の外れに ひとひらの灯 酔いの様に揺らめいて 私を誘っている","微睡み瞳閉じれば 幾千の花びら 風を跨ぎ瞬いて 憐み唄う","先代巫女末年,略复不省事,人多怨之。因自叹曰:“人言我愦愦,后人当思此愦愦。”后灵梦为幻想乡,人多思之。","萃香坐神社中,目博丽巫女,抚箱而叹曰:“愁肠长辘辘,壶中酒不空。”时守矢巫女方至,博丽指之,曰:“不效此辈,乃至于斯。”早苗于是阴怨灵梦。","蕾米之心,日益骄固。冰精叫,雾湖举。芙兰一炬,可怜焦土。","蕾米莉亚问七曜贤者:“博丽、守矢,巫女也,吾将从之,则何如?”对曰:“以雾之湖为池,赤馆为城,十六夜为政于内,美铃御敌于外,谨修内德,彰喻教化,近和妖精, 远化毛玉,则幻想乡之事,未可知也。","博丽巫女下大图书馆,屠破时钟塔,赤馆震恐。蕾米莉亚乃素服自缚,牵羊而出,迎之馆门。巫女大喜,执羊而走,曰:“本为些许柴米,不意竟得此羊!”赤馆遂全。","七曜贤者责蕾米曰:“姊之为姊,未曾初见教芙兰也。”蕾米答曰:“吾自教之耳。”芙兰从旁过,闻言对曰:“幸无所成。”","博丽巫女常忧其贫,而八云氏多讥之。一日见巫女,巫女以清茶待之。八云于是笑曰:“身居陋室,箪食瓢饮,欲效先贤乎?”,则曰:“吾忧其贫,或忧其老。贫者易安,老者难回。”","幽幽子饥甚,遣妖梦外出抄掠。妖梦掳米斯蒂娅等归。及见幽幽子,众皆垂泪。幽幽子不忍,持之手为涕泣良久。于是亲解其缚,执手躬自送诸庖厨。","或问八云氏:“忆君少时,为博丽结界,数有功焉。今老矣,奈何愦愦竟日也?”对曰:“功遂身退,天之道也。吾其身退,逐成巫女之名矣。”","芙兰以姊无威仪,固多轻之。常于众而论,曰:“使吾为赤馆,当抚四方。”七曜贤者闻之,见芙兰曰:“向使君为赤馆,将何如?”曰:“以力以威,以平四境。”对曰:“如此则殆矣。赤馆虽强,人不过其万一,地不过方十里,惟修内德,穆上下,使知礼而不加饥馑已矣。”芙兰乃愧,终不复轻姊。","芙兰游学于人里,从慧音学史,十日竟反。蕾米不说,曰:“学如积万仞之山,日增尺寸,乃有所长,归何为?”芙兰曰:“今日十五,不归何为?”","慧音东游,见四妖精辩日,问其故。桑尼曰:“我以日始出时去人近,而日中时远也。” 露娜以日初出远,而日中时近也。 斯塔曰:“日初出大如车盖,及日中则如盘盂,此不为远者小而近者大乎?” 冰精则驳之:“日初出沧沧凉凉,及其日中如探汤,此不为近者热而远者凉乎?” 慧音不能决也。众妖精笑曰:“孰为汝多知乎?”","余闻人语,曰尝于网吧见一男,击键盘甚急,时高声疾呼,时哀怨恼怒,人之四态,须臾而毕见焉。忽猛摔键盘,而身痉挛不止,面扭曲难以名状,口中有白沫出。旁人大惊,趁其意识尚存,惑问其故。其人曰:“打则死路一条。”语毕,昏死不能省。","稗田家修《求闻史记》,至《八云列传》,阿礼记曰:“八云氏凡万有一十七岁矣。”紫乃大忿,则稗田家寿皆不过三十,然《八云列传》固如是。直至阿求,始改《八云列传 》为:“八云氏十七,芳华正好。”紫大喜曰:“汝寿可至九十九也!”","八云氏谓芙兰:“幼而不孙姊,不闻孝悌之道,长恐无所述矣。”芙兰闻之,答曰:“诚如所言。吾亦闻老而不死,是为贼也。","看板娘真可爱Q-1AQ","此生手贱入东方,来世炸穿幻想乡","爷是阿吽 爷是华扇","弟啊,给我来一杯八心八箭的西行寺幽灵红茶","大小姐:我扼住了命运的喉咙,但命运却砸平了我的胸","get☆down","禁止迫害厄神","如是耶?","千年尽葬妖西行,风华绝代墨染樱",'"Sanae is a good girl"',"it's a moriya shrine conspiracy!","因为患有密集恐惧症,上白泽慧音拒绝召开校庆大会","“春天来了喔!”莉莉白话音未落,当场使出一套咏春拳与红师傅打的难解难分","世道不公啊,藤原妹红被赶出加油站","Christ on a bike","Awoo~Awoo~Awoo~","我军打则必胜","无可奉告","谢谢你,古明地恋 不用谢,射命丸文","十年疮痍,感谢有你","吃我大麻将山啦!","河意志科学技术世界第一!!!","北饮da☆ze、未至、道渴而死,弃其帚、化为竹林","あや、あややや……","我们遇到什么击破撞,也不要怕,削除击破撞的最好方法就是击破之前撞,疮痍,就是胜利,加油,奥利给!","有罪!","(一种植物)","そこの紅白!私の書斎で暴れない","今宵は永い夜になるだろう。","あなたの持ってるなけなしの春を すべて頂くわ!","巫女のくせに神を食べようだなんて 笑止千万、不届き千万!","阿姨压一压~一压~一~~","芙兰朵露百年来在地下室闭关苦练麻将,后与神妈在神圣庄严的古战场平分秋色","你看这个毛玉中暑了,不如我们……","我们受过严格的训练,无论多好笑,也不会笑(除非忍不住)","派手な魔法でなければ魔法じゃない。弾幕は火力だぜ!","秘封俱乐部由莲子和蕾蒂组成","打则死路一条","世界美咲剧场","biu~biu~biubiubiubiubiu~~~","Cheeeeeeeeeeeeeen!!!","红魔馆财政危机","19在三途川里游泳"];function Po(n){let t=0;for(let e=0;e=0&&a<=128?t+=1:t+=2}return t}let De=[];function Oo(){return De.length>0||(De=[...Mt].filter(t=>Po(t)<=120)),De}function Do(n=!1,t=!1){const e=[...n?Oo():Mt];if(t)for(let a=1;a[{key:"PatchyVideo",links:[{key:a("common.footer.wiki"),href:"https://patchyvideo.wiki/"},{key:a("common.footer.status"),href:"https://status.patchyvideo.com/"},{key:a("common.footer.bl-account"),href:"https://space.bilibili.com/515657675"},{key:a("common.footer.joinus"),href:"https://patchyvideo.wiki/zh/JoinUs"}]},{key:a("common.footer.code"),links:[{key:a("common.footer.repositories"),href:"https://patchyvideo.wiki/zh/Repositories"},{key:a("common.footer.feedback-issue"),href:"https://github.com/PatchyVideo/PatchyVideo/issues"},{key:a("common.footer.license"),href:"/LICENSE"}]},{key:a("common.footer.sponsor"),links:[{key:"Ko-fi",href:"https://ko-fi.com/voilelabs"},{key:"Patreon",href:"https://www.patreon.com/voilelabs"},{key:"爱发电",href:"https://afdian.net/@voilelabs"}]},{key:a("common.footer.contact"),links:[{key:"Email (DMCA)",href:"mailto:zyddnys@outlook.com"},{key:"Tencent QQ",href:"https://jq.qq.com/?k=fOJYEJt1"},{key:"Telegram",href:"https://t.me/PatchyVideo"},{key:"Discord",href:"https://discord.gg/FtPPQqz"},{key:"Twitter",href:"https://twitter.com/PatchyVideo"}]}]),u=te(null);let v;xt(()=>{!t.small&&u.value&&(v=new Co(u.value,{strings:Do(!0,!0),typeSpeed:30,backSpeed:10,backDelay:1600,loop:!0,smartBackspace:!1}))}),fn(()=>{v!=null&&v.destroy&&v.destroy()});const w="0.7.0-alpha.6",y="537d33892d40e0eeca7b0586645e5b19407f6785",x=B(()=>Object.keys(qe.value).length>0),{result:k}=Xe(Ie` + query { + getStats { + users + } + } +`),_=Je(k,0,m=>m.getStats.users);return(m,p)=>(C(),P("div",$o,[E("div",Ao,[(C(!0),P(Q,null,pe(T(o),h=>(C(),P("div",{key:h.key},[E("ul",So,[E("li",null,[E("h1",{class:"font-semibold tracking-wide text-gray-900 dark:text-white py-1",textContent:L(h.key)},null,8,Lo)]),(C(!0),P(Q,null,pe(h.links,f=>(C(),P("li",{key:f.key},[f.href?(C(),P("a",{key:0,class:"inline-block mt-1 text-gray-900 dark:text-gray-100 whitespace-nowrap",href:f.href,target:"_blank",rel:"noopener noreferrer",textContent:L(f.key)},null,8,Io)):V("",!0)]))),128))])]))),128))]),n.small?V("",!0):(C(),P("div",Ro,[E("span",{ref_key:"typedEl",ref:u},null,512)])),E("div",jo,[E("span",null,L(T(a)("common.footer.user-number",{users:T(_)})),1),Mo,E("span",null,[E("span",null,"Platinum v"+L(T(w)),1),q("("),E("a",{href:`https://github.com/PatchyVideo/platinum/commit/${T(y)}`,title:T(y),target:"_blank",rel:"noopener noreferrer",textContent:L(T(y).slice(0,7))},null,8,Vo),q(", "+L(T(e)?"dev":"prod")+")",1),T(x)?(C(),P(Q,{key:0},[q(" "),E("span",{title:`List: ${Object.values(T(qe)).map(({name:h,extVersion:f})=>`${h}(${f})`).join(", ")}`},"("+L(Object.values(T(qe)).length)+" ext installed)",9,No)],64)):V("",!0),q(". ")]),Bo])]))}}),Ho=H({__name:"LayoutDefault",props:{showSearchBar:{type:Boolean,default:!0},fetchNote:{type:Boolean,default:!0},small:{type:Boolean,default:!1}},setup(n){const t=n,e=st(t,"showSearchBar","fetchNote"),a=st(t,"small");return(o,u)=>(C(),P(Q,null,[N(To,lt(ut(T(e))),null,16),Le(o.$slots,"default"),N(Uo,lt(ut(T(a))),null,16)],64))}});export{Ho as _,Bn as a,Ne as b,_t as c,He as d,ge as e,qa as f,ye as g,It as h,Me as i,fa as j,oe as k,ua as l,Se as m,Te as n,Ta as o,ze as p,La as q,F as r,Ve as s,K as t,Wa as u,or as v}; +//# sourceMappingURL=LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js.map diff --git a/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js.map b/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js.map new file mode 100644 index 0000000000..68b4b97f1a --- /dev/null +++ b/assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"8nCAiBAA,MAEAC,QAA6B,OACpB,WACI,KACN,CACL,GAGF,0CAEA,oBACEC,EACED,SAAa,UACF,IACN,YACS,0BAC8B,aAC9B,YACJ,CACR,GAIFA,gBACF,y9CCqIF,WAEAE,QACAC,QACAC,QACAC,iCACA,MACAC,EACA,cACAC,QACAC,MAAwD,4CACA,+CACG,gDACC,8CACF,8CACA,4CACF,2CACD,qCACN,oCACD,qCACC,uCACE,sCACA,GAInDC,OACAC,QACAC,oCACEJ,YACAK,yCACEF,WACA,WACAR,WACAC,WACF,GAIF,aACE,mBACEI,WACAL,WACAQ,WACA,OAEF,gBACAG,EACEC,KAEAJ,UAAsB,EAE1BK,+BAGA,iBACAC,eACA,4BACE,uDACA,oDACA,aAIA,OAHAC,gDACAX,6DACAY,eACAF,KACE,KACFE,CAAO,CAET,cACE,eACA,UACE,oBAAwB,QACjB,QACA;AAAA,EACA,SACA,SACA,SACA,QAEH,WAAW,SAEX,4BACE,SAEA,UAAW,CACf,CAGJ,QAAO,CAIT,oBACEX,WACAL,WACAC,WACA,qBACA,4FAIIgB,cACAhB,WACAI,WACAa,UACAlB,WACAQ,UAAsB,cAGtBN,WACAM,UAAsB,EACvB,CAEL,cACE,6FAAyH,CAE3H,mBACE,mBAKA,WACA,2BACEW,aACEC,YAAqB,EAEvB,IAJFC,KAIE,CAGF,iBAGA,OAAO,yBAC0B,wBACD,CAChC,CAIF,cACE,kBAEAC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AA;AAAA;AAAA;AAAA;AAAA,IACnC,CA8BA,uBAC+B,cAChB,gBACQ,gBACF,EACrB,MACO,wCAC+C,0BACvC,EACf,EAEFD,QACE1B,QACEsY,kBAEAA,gBAAuB,GAE3B,yDACA5W,QACE+W,SACEJ,sBACAF,6BAEKG,eAA+B,GAExC,cACAhB,MACEoB,kBACAJ,eAAuB,GAIzB,MAAM,SACJ,SACA,SACS,KACP3W;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACF,EAQFgX,OACEb,UAAwB,GAE1Bc,OACEd,UAAwB,GAE1B,gBACEA,WACAe,oCAA+D,stGCnJjE,cACAX,OAGAY,QACA,mBACEA,WACA,iDAAqD,cAC3C,sBACK,OACN,GAETZ,YACAY,UAAmB,q3CCrGd,SAASC,GAAYC,EAAMC,GAAK,OAAO,EAAE,aAAa,EAAS,CAC1DC,MAAK,OAAO,EAAE,cAAe,CAAE,KAAMF,CAAK,EAAC,CACvD,8wCCwJA,cACAG,OACAjB,OAEAkB,WACAC,WAGAlB,OAGAmB,QACA9Y,YACE,QACAwB,IAEE,YACE,OACF,iBACAqX,sBACEC,WAAmB,EACvB,YACgB,EAIlB,aACAC,QACA,cACEA,WACAC,2CAAmE,CAGrE,UAAgBL,8FAOV,EAGNM,OA+CAC,SACE,SAAyB,CACvB,WACO,cACC,sBACA,wCACiC,QACjC,EACR,CACA,iBACO,cACC,yBACA,yCACkC,kBAClC,EACR,CACA,oBACO,cACC,oBACA,wCACiC,qBACjC,EACR,CACA,oBACO,aACC,kBACA,iDAC0C,2DACsB,EACxE,CACA,kBACO,cACC,yBACA,+CACwC,mBACxC,EACR,CACA,WACO,SACC,sBACA,wCACiC,gCACjC,CACR,EAGF,kBACEC,OAAM,CACJ,mBACO,aACC,OACA,EACR,CACA,gBACO,aACC,oBACA,kDAC2C,4DACsB,EACzE,CACA,cACO,aACC,qBACA,4CACqC,sDACsB,CACnE,EAIJzB,sBACEyB,OAAM,CACJ,oBACO,aACC,OACA,EACR,CACA,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gC,OACvB,iDAC+C,yDACQ,gDACR,CACtD,EACF,CACA,+BACgC,OACvB,uDACqD,wDACC,iDACP,kDACC,sDACK,CAC5D,CACF,GAIF2E,WACA,MACA1G,QACE,oBACE2G,kBAAiC,kBACE,aACtB,aACA,eACA,QACL,iBACU,GAEpB,GAEFC,QACED,oBACEA,WAAc,GAGlB,wBACAE,6CAEAC,wCAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAmC,EAOnCC,60CC9HAC,oCACAC","names":["el","motion","n","listHidden","loading","searchSuccess","searchContent","cutTailSearchContent","activeSearchResult","sitesAndKeywords","autoCompleteRoot","hideContainer","useEventListener","_a","searchKeyword","getSearchList","watchDebounced","isEmptyString","cutHeadSearchContent","query","listData","searchResult","SubLangWord","x","i","up","emit","usingSearchButton","tag","content","watchEffect","gql","popularTags","result","data","w","e","t","r","o","d","a","E","fe","v","ee","V","m","S","_","ce","te","oe","ne","ve","K","p","k","b","T","u","g","y","s","c","O","A","h","R","C","D","X","f","F","M","P","j","q","ue","W","I","l","U","pe","se","le","ae","G","ke","ie","Z","H","L","B","$","Q","z","J","Y","N","Le","re","changeTheme","themePreference","buttonEl","panelEl","buttonCenterRight","panelRight","arrowRight","defaultOptions","getDefaultOptions","getTimezoneOffsetInMilliseconds","date","utcDate","requiredArgs","required","args","_typeof","obj","toDate","argument","argStr","startOfDay","dirtyDate","MILLISECONDS_IN_DAY","differenceInCalendarDays","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","isDate","value","isValid","toInteger","dirtyNumber","number","addMilliseconds","dirtyAmount","timestamp","amount","subMilliseconds","getUTCDayOfYear","startOfYearTimestamp","difference","startOfUTCISOWeek","weekStartsOn","day","diff","getUTCISOWeekYear","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","startOfUTCISOWeekYear","fourthOfJanuary","MILLISECONDS_IN_WEEK","getUTCISOWeek","startOfUTCWeek","options","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_options$locale$optio","_defaultOptions$local","_defaultOptions$local2","getUTCWeekYear","_options$firstWeekCon","firstWeekContainsDate","firstWeekOfNextYear","firstWeekOfThisYear","startOfUTCWeekYear","firstWeek","getUTCWeek","addLeadingZeros","targetLength","sign","output","formatters","token","signedYear","month","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds","dayPeriodEnum","localize","era","lightFormatters","signedWeekYear","weekYear","twoDigitYear","isoWeekYear","quarter","week","isoWeek","dayOfYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","hours","_localize","originalDate","timezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","offset","dirtyDelimiter","absOffset","minutes","delimiter","dateLongFormatter","pattern","formatLong","timeLongFormatter","dateTimeLongFormatter","matchResult","datePattern","timePattern","dateTimeFormat","longFormatters","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","throwProtectedError","format","input","formatDistanceLocale","formatDistance","count","tokenValue","buildFormatLongFn","width","dateFormats","timeFormats","dateTimeFormats","formatRelativeLocale","formatRelative","_date","_baseDate","_options","buildLocalizeFn","dirtyIndex","context","valuesArray","defaultWidth","_defaultWidth","_width","index","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","rem100","buildMatchFn","string","matchPattern","matchedString","parsePatterns","key","findIndex","findKey","rest","object","predicate","array","buildMatchPatternFn","parseResult","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","locale","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","dirtyFormatStr","_ref4","_options$locale2","_options$locale2$opti","_ref5","_ref6","_ref7","_options$locale3","_options$locale3$opti","_defaultOptions$local3","_defaultOptions$local4","formatStr","defaultLocale","formatterOptions","substring","firstCharacter","longFormatter","cleanEscapedString","formatter","matched","dirtyBaseDate","baseDate","utcBaseDate","getLocale","__variableDynamicImportRuntimeHelper","dateFnsLocale","lang","pickBestLocale","langFile","relativeDate","factory","module","undefined","hex_chr","md5cycle","md5blk","md5blks","md5blk_array","md51","state","length","tail","tmp","lo","hi","md51_array","rhex","hex","clamp","val","from","to","begin","end","num","target","targetArray","sourceArray","toUtf8","str","utf8Str2ArrayBuffer","returnUInt8Array","buff","arr","arrayBuffer2Utf8Str","concatenateArrayBuffers","first","second","hexToBinaryString","bytes","SparkMD5","contents","raw","ret","hash","defaultAvatar","imgs","originalImgs","currImg","currUrl","currOriginalUrl","onError","setImgs","pushImg","ori","props","onMounted","onAuxClick","onClick","markAsReadMutationCount","ref","markAsReadStatus","computed","auth","listNoteCountUnread","listNoteAll","listNote","listNoteStatus","limit","noteType","listNotifications","errMsg","onDone","markAsReadMutationError","mutate","loggingOut","progressing","fun","i18n","PvMessage","route","nav","navContainer","drawerOpen","hidePage","router","teleportTo","links","links2","root","this","modules","installedModules","__webpack_require__","moduleId","exports","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","_classCallCheck","instance","_initializerJs","_htmlParserJs","Typed","elementId","restart","_this","curString","curStrPos","_this2","humanize","numChars","pauseTime","substr","skip","stringBeforeSkip","stringSkipped","stringAfterSkip","nextString","_this3","_this4","curStringAtPosition","isTyping","isBlinking","speed","_this5","_this6","_extends","source","_interopRequireDefault","_defaultsJs","_defaultsJs2","Initializer","self","strings","stringsLength","stringEl","elContent","cssDataName","css","innerCss","initializer","defaults","arrayPos","HTMLParser","curChar","endTag","htmlParser","yiyan","getByteLen","len","shortYiyan","getShortYiyan","getYiyanArray","short","rand","yy","random","isDev","typedEl","typed","onUnmounted","commitHash","hasExtension","users","navtopProps","footerProps"],"sources":["../../packages/common/components/NavTopLink.vue","../../packages/search/components/AutoComplete.vue","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-window-event.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-tab-direction.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-event-listener.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/popover/popover.js","../../packages/darkmode/components/DarkModeSwitch.vue","../../packages/ui/components/PvNavPopover.vue","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/defaultOptions/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/requiredArgs/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/toDate/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/startOfDay/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/differenceInCalendarDays/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/isDate/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/isValid/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/toInteger/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/addMilliseconds/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/subMilliseconds/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/getUTCWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/format/formatters/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/format/longFormatters/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/protectedTokens/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-US/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/format/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/formatRelative/index.js","../../packages/date-fns/index.ts","../../packages/date-fns/components/RelativeDate.vue","../../node_modules/.pnpm/spark-md5@3.0.2/node_modules/spark-md5/spark-md5.js","../../packages/user/assets/DefaultAvatar.jpg","../../packages/user/components/UserAvatar.vue","../../packages/user-notification/libs/markAsRead.ts","../../packages/user-notification/components/NoteBoxNavTop.vue","../../packages/user/components/UserBoxNavTop.vue","../../packages/common/libs/progressing.ts","../../packages/common/components/NavTop.vue","../../node_modules/.pnpm/typed.js@2.0.12/node_modules/typed.js/lib/typed.js","../../packages/yiyan/yiyan.ts","../../packages/yiyan/index.ts","../../packages/common/components/Footer.vue","../../packages/layouts/components/LayoutDefault.vue"],"sourcesContent":["\n\n\n","\n\n\n\n\n\n","import{watchEffect as i}from\"vue\";import{isServer as r}from'../utils/ssr.js';function w(e,n,t){r||i(o=>{window.addEventListener(e,n,t),o(()=>window.removeEventListener(e,n,t))})}export{w as useWindowEvent};\n","import{ref as a}from\"vue\";import{useWindowEvent as t}from'./use-window-event.js';var d=(r=>(r[r.Forwards=0]=\"Forwards\",r[r.Backwards=1]=\"Backwards\",r))(d||{});function n(){let o=a(0);return t(\"keydown\",e=>{e.key===\"Tab\"&&(o.value=e.shiftKey?1:0)}),o}export{d as Direction,n as useTabDirection};\n","import{watchEffect as i}from\"vue\";import{isServer as a}from'../utils/ssr.js';function E(n,e,o,r){a||i(t=>{n=n!=null?n:window,n.addEventListener(e,o,r),t(()=>n.removeEventListener(e,o,r))})}export{E as useEventListener};\n","import{Fragment as Q,computed as O,defineComponent as K,h as $,inject as _,provide as q,ref as T,watchEffect as U}from\"vue\";import{match as j}from'../../utils/match.js';import{render as G,omit as re,Features as N}from'../../utils/render.js';import{useId as k}from'../../hooks/use-id.js';import{Keys as w}from'../../keyboard.js';import{getFocusableElements as X,Focus as B,focusIn as L,isFocusableElement as le,FocusableMode as ae}from'../../utils/focus-management.js';import{dom as n}from'../../utils/dom.js';import{useOpenClosedProvider as ue,State as W,useOpenClosed as Y}from'../../internal/open-closed.js';import{useResolveButtonType as ie}from'../../hooks/use-resolve-button-type.js';import{useOutsideClick as se}from'../../hooks/use-outside-click.js';import{getOwnerDocument as A}from'../../utils/owner.js';import{useEventListener as pe}from'../../hooks/use-event-listener.js';import{Hidden as z,Features as J}from'../../internal/hidden.js';import{useTabDirection as Z,Direction as H}from'../../hooks/use-tab-direction.js';import'../../utils/micro-task.js';var fe=(v=>(v[v.Open=0]=\"Open\",v[v.Closed=1]=\"Closed\",v))(fe||{});let ee=Symbol(\"PopoverContext\");function V(m){let S=_(ee,null);if(S===null){let v=new Error(`<${m} /> is missing a parent <${ce.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(v,V),v}return S}let te=Symbol(\"PopoverGroupContext\");function oe(){return _(te,null)}let ne=Symbol(\"PopoverPanelContext\");function ve(){return _(ne,null)}let ce=K({name:\"Popover\",props:{as:{type:[Object,String],default:\"div\"}},setup(m,{slots:S,attrs:v,expose:E}){var p;let t=`headlessui-popover-button-${k()}`,e=`headlessui-popover-panel-${k()}`,b=T(null);E({el:b,$el:b});let u=T(1),d=T(null),g=T(null),y=T(null),s=T(null),c=O(()=>A(b)),h=O(()=>{var R,C;if(!n(d)||!n(s))return!1;for(let D of document.querySelectorAll(\"body > *\"))if(Number(D==null?void 0:D.contains(n(d)))^Number(D==null?void 0:D.contains(n(s))))return!0;let r=X(),a=r.indexOf(n(d)),f=(a+r.length-1)%r.length,F=(a+1)%r.length,M=r[f],x=r[F];return!((R=n(s))!=null&&R.contains(M))&&!((C=n(s))!=null&&C.contains(x))}),P={popoverState:u,buttonId:t,panelId:e,panel:s,button:d,isPortalled:h,beforePanelSentinel:g,afterPanelSentinel:y,togglePopover(){u.value=j(u.value,{[0]:1,[1]:0})},closePopover(){u.value!==1&&(u.value=1)},close(r){P.closePopover();let a=(()=>r?r instanceof HTMLElement?r:r.value instanceof HTMLElement?n(r):n(P.button):n(P.button))();a==null||a.focus()}};q(ee,P),ue(O(()=>j(u.value,{[0]:W.Open,[1]:W.Closed})));let I={buttonId:t,panelId:e,close(){P.closePopover()}},l=oe(),o=l==null?void 0:l.registerPopover;function i(){var r,a,f,F;return(F=l==null?void 0:l.isFocusWithinPopoverGroup())!=null?F:((r=c.value)==null?void 0:r.activeElement)&&(((a=n(d))==null?void 0:a.contains(c.value.activeElement))||((f=n(s))==null?void 0:f.contains(c.value.activeElement)))}return U(()=>o==null?void 0:o(I)),pe((p=c.value)==null?void 0:p.defaultView,\"focus\",r=>{var a,f;u.value===0&&(i()||!d||!s||(a=n(P.beforePanelSentinel))!=null&&a.contains(r.target)||(f=n(P.afterPanelSentinel))!=null&&f.contains(r.target)||P.closePopover())},!0),se([d,s],(r,a)=>{var f;P.closePopover(),le(a,ae.Loose)||(r.preventDefault(),(f=n(d))==null||f.focus())},O(()=>u.value===0)),()=>{let r={open:u.value===0,close:P.close};return G({theirProps:m,ourProps:{ref:b},slot:r,slots:S,attrs:v,name:\"Popover\"})}}}),ke=K({name:\"PopoverButton\",props:{as:{type:[Object,String],default:\"button\"},disabled:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(m,{attrs:S,slots:v,expose:E}){let t=V(\"PopoverButton\"),e=O(()=>A(t.button));E({el:t.button,$el:t.button});let b=oe(),u=b==null?void 0:b.closeOthers,d=ve(),g=d===null?!1:d===t.panelId,y=T(null),s=`headlessui-focus-sentinel-${k()}`;g||U(()=>{t.button.value=y.value});let c=ie(O(()=>({as:m.as,type:S.type})),y);function h(o){var i,p,r,a,f;if(g){if(t.popoverState.value===1)return;switch(o.key){case w.Space:case w.Enter:o.preventDefault(),(p=(i=o.target).click)==null||p.call(i),t.closePopover(),(r=n(t.button))==null||r.focus();break}}else switch(o.key){case w.Space:case w.Enter:o.preventDefault(),o.stopPropagation(),t.popoverState.value===1&&(u==null||u(t.buttonId)),t.togglePopover();break;case w.Escape:if(t.popoverState.value!==0)return u==null?void 0:u(t.buttonId);if(!n(t.button)||((a=e.value)==null?void 0:a.activeElement)&&!((f=n(t.button))!=null&&f.contains(e.value.activeElement)))return;o.preventDefault(),o.stopPropagation(),t.closePopover();break}}function P(o){g||o.key===w.Space&&o.preventDefault()}function I(o){var i,p;m.disabled||(g?(t.closePopover(),(i=n(t.button))==null||i.focus()):(o.preventDefault(),o.stopPropagation(),t.popoverState.value===1&&(u==null||u(t.buttonId)),t.togglePopover(),(p=n(t.button))==null||p.focus()))}function l(o){o.preventDefault(),o.stopPropagation()}return()=>{let o=t.popoverState.value===0,i={open:o},p=g?{ref:y,type:c.value,onKeydown:h,onClick:I}:{ref:y,id:t.buttonId,type:c.value,\"aria-expanded\":m.disabled?void 0:t.popoverState.value===0,\"aria-controls\":n(t.panel)?t.panelId:void 0,disabled:m.disabled?!0:void 0,onKeydown:h,onKeyup:P,onClick:I,onMousedown:l},r=Z();function a(){let f=n(t.panel);if(!f)return;function F(){j(r.value,{[H.Forwards]:()=>L(f,B.First),[H.Backwards]:()=>L(f,B.Last)})}F()}return $(Q,[G({ourProps:p,theirProps:{...S,...m},slot:i,attrs:S,slots:v,name:\"PopoverButton\"}),o&&!g&&t.isPortalled.value&&$(z,{id:s,features:J.Focusable,as:\"button\",type:\"button\",onFocus:a})])}}}),Be=K({name:\"PopoverOverlay\",props:{as:{type:[Object,String],default:\"div\"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(m,{attrs:S,slots:v}){let E=V(\"PopoverOverlay\"),t=`headlessui-popover-overlay-${k()}`,e=Y(),b=O(()=>e!==null?e.value===W.Open:E.popoverState.value===0);function u(){E.closePopover()}return()=>{let d={open:E.popoverState.value===0};return G({ourProps:{id:t,\"aria-hidden\":!0,onClick:u},theirProps:m,slot:d,attrs:S,slots:v,features:N.RenderStrategy|N.Static,visible:b.value,name:\"PopoverOverlay\"})}}}),Le=K({name:\"PopoverPanel\",props:{as:{type:[Object,String],default:\"div\"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1}},inheritAttrs:!1,setup(m,{attrs:S,slots:v,expose:E}){let{focus:t}=m,e=V(\"PopoverPanel\"),b=O(()=>A(e.panel)),u=`headlessui-focus-sentinel-before-${k()}`,d=`headlessui-focus-sentinel-after-${k()}`;E({el:e.panel,$el:e.panel}),q(ne,e.panelId),U(()=>{var o,i;if(!t||e.popoverState.value!==0||!e.panel)return;let l=(o=b.value)==null?void 0:o.activeElement;(i=n(e.panel))!=null&&i.contains(l)||L(n(e.panel),B.First)});let g=Y(),y=O(()=>g!==null?g.value===W.Open:e.popoverState.value===0);function s(l){var o,i;switch(l.key){case w.Escape:if(e.popoverState.value!==0||!n(e.panel)||b.value&&!((o=n(e.panel))!=null&&o.contains(b.value.activeElement)))return;l.preventDefault(),l.stopPropagation(),e.closePopover(),(i=n(e.button))==null||i.focus();break}}function c(l){var i,p,r,a,f;let o=l.relatedTarget;!o||!n(e.panel)||(i=n(e.panel))!=null&&i.contains(o)||(e.closePopover(),(((r=(p=n(e.beforePanelSentinel))==null?void 0:p.contains)==null?void 0:r.call(p,o))||((f=(a=n(e.afterPanelSentinel))==null?void 0:a.contains)==null?void 0:f.call(a,o)))&&o.focus({preventScroll:!0}))}let h=Z();function P(){let l=n(e.panel);if(!l)return;function o(){j(h.value,{[H.Forwards]:()=>{L(l,B.Next)},[H.Backwards]:()=>{var i;(i=n(e.button))==null||i.focus({preventScroll:!0})}})}o()}function I(){let l=n(e.panel);if(!l)return;function o(){j(h.value,{[H.Forwards]:()=>{var x,R;let i=n(e.button),p=n(e.panel);if(!i)return;let r=X(),a=r.indexOf(i),f=r.slice(0,a+1),M=[...r.slice(a+1),...f];for(let C of M.slice())if(((R=(x=C==null?void 0:C.id)==null?void 0:x.startsWith)==null?void 0:R.call(x,\"headlessui-focus-sentinel-\"))||(p==null?void 0:p.contains(C))){let D=M.indexOf(C);D!==-1&&M.splice(D,1)}L(M,B.First,!1)},[H.Backwards]:()=>L(l,B.Previous)})}o()}return()=>{let l={open:e.popoverState.value===0,close:e.close},o={ref:e.panel,id:e.panelId,onKeydown:s,onFocusout:t&&e.popoverState.value===0?c:void 0,tabIndex:-1};return G({ourProps:o,theirProps:{...S,...re(m,[\"focus\"])},attrs:S,slot:l,slots:{...v,default:(...i)=>{var p;return[$(Q,[y.value&&e.isPortalled.value&&$(z,{id:u,ref:e.beforePanelSentinel,features:J.Focusable,as:\"button\",type:\"button\",onFocus:P}),(p=v.default)==null?void 0:p.call(v,...i),y.value&&e.isPortalled.value&&$(z,{id:d,ref:e.afterPanelSentinel,features:J.Focusable,as:\"button\",type:\"button\",onFocus:I})])]}},features:N.RenderStrategy|N.Static,visible:y.value,name:\"PopoverPanel\"})}}}),He=K({name:\"PopoverGroup\",props:{as:{type:[Object,String],default:\"div\"}},setup(m,{attrs:S,slots:v,expose:E}){let t=T(null),e=T([]),b=O(()=>A(t));E({el:t,$el:t});function u(s){let c=e.value.indexOf(s);c!==-1&&e.value.splice(c,1)}function d(s){return e.value.push(s),()=>{u(s)}}function g(){var h;let s=b.value;if(!s)return!1;let c=s.activeElement;return(h=n(t))!=null&&h.contains(c)?!0:e.value.some(P=>{var I,l;return((I=s.getElementById(P.buttonId))==null?void 0:I.contains(c))||((l=s.getElementById(P.panelId))==null?void 0:l.contains(c))})}function y(s){for(let c of e.value)c.buttonId!==s&&c.close()}return q(te,{registerPopover:d,unregisterPopover:u,isFocusWithinPopoverGroup:g,closeOthers:y}),()=>G({ourProps:{ref:t},theirProps:m,slot:{},attrs:S,slots:v,name:\"PopoverGroup\"})}});export{ce as Popover,ke as PopoverButton,He as PopoverGroup,Be as PopoverOverlay,Le as PopoverPanel};\n","\n\n\n","\n\n\n\n\n","var defaultOptions = {};\nexport function getDefaultOptions() {\n return defaultOptions;\n}\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param {*} value - the value to check\n * @returns {boolean} true if the given value is a date\n * @throws {TypeError} 1 arguments required\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\n\nexport default function isDate(value) {\n requiredArgs(1, arguments);\n return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]';\n}","import isDate from \"../isDate/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param {*} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\n\nexport default function isValid(dirtyDate) {\n requiredArgs(1, arguments);\n\n if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {\n return false;\n }\n\n var date = toDate(dirtyDate);\n return !isNaN(Number(date));\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","import addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\nexport default function getUTCDayOfYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function startOfUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import getUTCISOWeekYear from \"../getUTCISOWeekYear/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport startOfUTCISOWeekYear from \"../startOfUTCISOWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000;\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function startOfUTCWeek(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function getUTCWeekYear(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var defaultOptions = getDefaultOptions();\n var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import getUTCWeekYear from \"../getUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function startOfUTCWeekYear(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);\n var year = getUTCWeekYear(dirtyDate, options);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, options);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport startOfUTCWeekYear from \"../startOfUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000;\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n\n while (output.length < targetLength) {\n output = '0' + output;\n }\n\n return sign + output;\n}","import addLeadingZeros from \"../../addLeadingZeros/index.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nvar formatters = {\n // Year\n y: function y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function M(date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function d(date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function a(date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n return dayPeriodEnumValue.toUpperCase();\n\n case 'aaa':\n return dayPeriodEnumValue;\n\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function h(date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function H(date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function m(date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function s(date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function S(date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","import getUTCDayOfYear from \"../../../_lib/getUTCDayOfYear/index.js\";\nimport getUTCISOWeek from \"../../../_lib/getUTCISOWeek/index.js\";\nimport getUTCISOWeekYear from \"../../../_lib/getUTCISOWeekYear/index.js\";\nimport getUTCWeek from \"../../../_lib/getUTCWeek/index.js\";\nimport getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport addLeadingZeros from \"../../addLeadingZeros/index.js\";\nimport lightFormatters from \"../lightFormatters/index.js\";\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n};\n\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\nvar formatters = {\n // Era\n G: function G(date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function y(date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function Y(date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year\n\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n } // Ordinal number\n\n\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n } // Padding\n\n\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function R(date, token) {\n var isoWeekYear = getUTCISOWeekYear(date); // Padding\n\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function u(date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function Q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function M(date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function L(date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function w(date, token, localize, options) {\n var week = getUTCWeek(date, options);\n\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function I(date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function d(date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function D(date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function E(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function e(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function c(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function i(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function a(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function b(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n\n switch (token) {\n case 'b':\n case 'bb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function B(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function h(date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function H(date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function K(date, token, localize) {\n var hours = date.getUTCHours() % 12;\n\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function k(date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function m(date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n\n return lightFormatters.m(date, token);\n },\n // Second\n s: function s(date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function S(date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function X(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n if (timezoneOffset === 0) {\n return 'Z';\n }\n\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function x(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function O(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function z(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function t(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function T(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\n\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n\n if (minutes === 0) {\n return sign + String(hours);\n }\n\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n\n return formatTimezone(offset, dirtyDelimiter);\n}\n\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\n\nexport default formatters;","var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n};\n\nvar timeLongFormatter = function timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n};\n\nvar dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/) || [];\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n var dateTimeFormat;\n\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n};\n\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token, format, input) {\n if (token === 'YYYY') {\n throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'YY') {\n throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'D') {\n throw new RangeError(\"Use `d` instead of `D` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'DD') {\n throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n }\n}","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","export default function buildFormatLongFn(args) {\n return function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // TODO: Remove String()\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n\n return valuesArray[index];\n };\n}","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","export default function buildMatchFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n }) : findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n\n return undefined;\n}","export default function buildMatchPatternFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import isValid from \"../isValid/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport formatters from \"../_lib/format/formatters/index.js\";\nimport longFormatters from \"../_lib/format/longFormatters/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from \"../_lib/protectedTokens/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\"; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | AM, PM | a..aa | AM, PM | |\n * | | aaa | am, pm | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |\n * | | bbb | am, pm, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 04/29/1453 | 7 |\n * | | PP | Apr 29, 1453 | 7 |\n * | | PPP | April 29th, 1453 | 7 |\n * | | PPPP | Friday, April 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |\n * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | April 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * const result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, options) {\n var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;\n\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n var originalDate = toDate(dirtyDate);\n\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n\n var firstCharacter = substring[0];\n\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n\n var formatter = formatters[firstCharacter];\n\n if (formatter) {\n if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));\n }\n\n if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));\n }\n\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n\n return substring;\n }).join('');\n return result;\n}\n\nfunction cleanEscapedString(input) {\n var matched = input.match(escapedStringRegExp);\n\n if (!matched) {\n return input;\n }\n\n return matched[1].replace(doubleQuoteRegExp, \"'\");\n}","import { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport differenceInCalendarDays from \"../differenceInCalendarDays/index.js\";\nimport format from \"../format/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name formatRelative\n * @category Common Helpers\n * @summary Represent the date in words relative to the given base date.\n *\n * @description\n * Represent the date in words relative to the given base date.\n *\n * | Distance to the base date | Result |\n * |---------------------------|---------------------------|\n * | Previous 6 days | last Sunday at 04:30 AM |\n * | Last day | yesterday at 04:30 AM |\n * | Same day | today at 04:30 AM |\n * | Next day | tomorrow at 04:30 AM |\n * | Next 6 days | Sunday at 04:30 AM |\n * | Other | 12/31/2017 |\n *\n * @param {Date|Number} date - the date to format\n * @param {Date|Number} baseDate - the date to compare with\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {String} the date in words\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `baseDate` must not be Invalid Date\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.locale` must contain `formatRelative` property\n *\n * @example\n * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday\n * const result = formatRelative(addDays(new Date(), -6), new Date())\n * //=> \"last Thursday at 12:45 AM\"\n */\n\nexport default function formatRelative(dirtyDate, dirtyBaseDate, options) {\n var _ref, _options$locale, _ref2, _ref3, _ref4, _options$weekStartsOn, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var baseDate = toDate(dirtyBaseDate);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n var weekStartsOn = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.weekStartsOn) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : 0);\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n if (!locale.formatRelative) {\n throw new RangeError('locale must contain formatRelative property');\n }\n\n var diff = differenceInCalendarDays(date, baseDate);\n\n if (isNaN(diff)) {\n throw new RangeError('Invalid time value');\n }\n\n var token;\n\n if (diff < -6) {\n token = 'other';\n } else if (diff < -1) {\n token = 'lastWeek';\n } else if (diff < 0) {\n token = 'yesterday';\n } else if (diff < 1) {\n token = 'today';\n } else if (diff < 2) {\n token = 'tomorrow';\n } else if (diff < 7) {\n token = 'nextWeek';\n } else {\n token = 'other';\n }\n\n var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));\n var utcBaseDate = subMilliseconds(baseDate, getTimezoneOffsetInMilliseconds(baseDate));\n var formatStr = locale.formatRelative(token, utcDate, utcBaseDate, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n return format(date, formatStr, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n}","import type { Locale } from 'date-fns'\nimport { pickBestLocale } from '@/locales'\nasync function getLocale(locale: string) {\n try {\n return await import(`../../node_modules/date-fns/esm/locale/${locale}/index.js`)\n }\n catch (e) {\n return await import('../../node_modules/date-fns/esm/locale/en-US/index.js')\n }\n}\n\nexport const dateFnsLocale = async (): Promise => {\n const lang = pickBestLocale(import.meta.env.VITE_DATE_FNS_LOCALE, 'en-US')\n const langFile = await getLocale(lang)\n return 'default' in langFile ? langFile.default : (await getLocale('en-US')).default\n}\n","\n\n\n","(function (factory) {\n if (typeof exports === 'object') {\n // Node/CommonJS\n module.exports = factory();\n } else if (typeof define === 'function' && define.amd) {\n // AMD\n define(factory);\n } else {\n // Browser globals (with support for web workers)\n var glob;\n\n try {\n glob = window;\n } catch (e) {\n glob = self;\n }\n\n glob.SparkMD5 = factory();\n }\n}(function (undefined) {\n\n 'use strict';\n\n /*\n * Fastest md5 implementation around (JKM md5).\n * Credits: Joseph Myers\n *\n * @see http://www.myersdaily.org/joseph/javascript/md5-text.html\n * @see http://jsperf.com/md5-shootout/7\n */\n\n /* this function is much faster,\n so if possible we use it. Some IEs\n are the only ones I know of that\n need the idiotic second function,\n generated by an if clause. */\n var add32 = function (a, b) {\n return (a + b) & 0xFFFFFFFF;\n },\n hex_chr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'];\n\n\n function cmn(q, a, b, x, s, t) {\n a = add32(add32(a, q), add32(x, t));\n return add32((a << s) | (a >>> (32 - s)), b);\n }\n\n function md5cycle(x, k) {\n var a = x[0],\n b = x[1],\n c = x[2],\n d = x[3];\n\n a += (b & c | ~b & d) + k[0] - 680876936 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[1] - 389564586 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[2] + 606105819 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[3] - 1044525330 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[4] - 176418897 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[5] + 1200080426 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[6] - 1473231341 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[7] - 45705983 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[8] + 1770035416 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[9] - 1958414417 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[10] - 42063 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[11] - 1990404162 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[12] + 1804603682 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[13] - 40341101 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[14] - 1502002290 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[15] + 1236535329 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n\n a += (b & d | c & ~d) + k[1] - 165796510 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[6] - 1069501632 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[11] + 643717713 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[0] - 373897302 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[5] - 701558691 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[10] + 38016083 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[15] - 660478335 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[4] - 405537848 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[9] + 568446438 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[14] - 1019803690 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[3] - 187363961 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[8] + 1163531501 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[13] - 1444681467 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[2] - 51403784 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[7] + 1735328473 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[12] - 1926607734 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n\n a += (b ^ c ^ d) + k[5] - 378558 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[8] - 2022574463 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[11] + 1839030562 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[14] - 35309556 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[1] - 1530992060 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[4] + 1272893353 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[7] - 155497632 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[10] - 1094730640 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[13] + 681279174 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[0] - 358537222 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[3] - 722521979 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[6] + 76029189 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[9] - 640364487 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[12] - 421815835 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[15] + 530742520 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[2] - 995338651 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n\n a += (c ^ (b | ~d)) + k[0] - 198630844 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[5] - 57434055 | 0;\n b = (b << 21 |b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[10] - 1051523 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0;\n b = (b << 21 |b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[15] - 30611744 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0;\n b = (b << 21 |b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[4] - 145523070 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[2] + 718787259 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[9] - 343485551 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n\n x[0] = a + x[0] | 0;\n x[1] = b + x[1] | 0;\n x[2] = c + x[2] | 0;\n x[3] = d + x[3] | 0;\n }\n\n function md5blk(s) {\n var md5blks = [],\n i; /* Andy King said do it this way. */\n\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);\n }\n return md5blks;\n }\n\n function md5blk_array(a) {\n var md5blks = [],\n i; /* Andy King said do it this way. */\n\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = a[i] + (a[i + 1] << 8) + (a[i + 2] << 16) + (a[i + 3] << 24);\n }\n return md5blks;\n }\n\n function md51(s) {\n var n = s.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk(s.substring(i - 64, i)));\n }\n s = s.substring(i - 64);\n length = s.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);\n }\n tail[i >> 2] |= 0x80 << ((i % 4) << 3);\n if (i > 55) {\n md5cycle(state, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n // Beware that the final length might not fit in 32 bits so we take care of that\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n\n tail[14] = lo;\n tail[15] = hi;\n\n md5cycle(state, tail);\n return state;\n }\n\n function md51_array(a) {\n var n = a.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk_array(a.subarray(i - 64, i)));\n }\n\n // Not sure if it is a bug, however IE10 will always produce a sub array of length 1\n // containing the last element of the parent array if the sub array specified starts\n // beyond the length of the parent array - weird.\n // https://connect.microsoft.com/IE/feedback/details/771452/typed-array-subarray-issue\n a = (i - 64) < n ? a.subarray(i - 64) : new Uint8Array(0);\n\n length = a.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= a[i] << ((i % 4) << 3);\n }\n\n tail[i >> 2] |= 0x80 << ((i % 4) << 3);\n if (i > 55) {\n md5cycle(state, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n // Beware that the final length might not fit in 32 bits so we take care of that\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n\n tail[14] = lo;\n tail[15] = hi;\n\n md5cycle(state, tail);\n\n return state;\n }\n\n function rhex(n) {\n var s = '',\n j;\n for (j = 0; j < 4; j += 1) {\n s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] + hex_chr[(n >> (j * 8)) & 0x0F];\n }\n return s;\n }\n\n function hex(x) {\n var i;\n for (i = 0; i < x.length; i += 1) {\n x[i] = rhex(x[i]);\n }\n return x.join('');\n }\n\n // In some cases the fast add32 function cannot be used..\n if (hex(md51('hello')) !== '5d41402abc4b2a76b9719d911017c592') {\n add32 = function (x, y) {\n var lsw = (x & 0xFFFF) + (y & 0xFFFF),\n msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n return (msw << 16) | (lsw & 0xFFFF);\n };\n }\n\n // ---------------------------------------------------\n\n /**\n * ArrayBuffer slice polyfill.\n *\n * @see https://github.com/ttaubert/node-arraybuffer-slice\n */\n\n if (typeof ArrayBuffer !== 'undefined' && !ArrayBuffer.prototype.slice) {\n (function () {\n function clamp(val, length) {\n val = (val | 0) || 0;\n\n if (val < 0) {\n return Math.max(val + length, 0);\n }\n\n return Math.min(val, length);\n }\n\n ArrayBuffer.prototype.slice = function (from, to) {\n var length = this.byteLength,\n begin = clamp(from, length),\n end = length,\n num,\n target,\n targetArray,\n sourceArray;\n\n if (to !== undefined) {\n end = clamp(to, length);\n }\n\n if (begin > end) {\n return new ArrayBuffer(0);\n }\n\n num = end - begin;\n target = new ArrayBuffer(num);\n targetArray = new Uint8Array(target);\n\n sourceArray = new Uint8Array(this, begin, num);\n targetArray.set(sourceArray);\n\n return target;\n };\n })();\n }\n\n // ---------------------------------------------------\n\n /**\n * Helpers.\n */\n\n function toUtf8(str) {\n if (/[\\u0080-\\uFFFF]/.test(str)) {\n str = unescape(encodeURIComponent(str));\n }\n\n return str;\n }\n\n function utf8Str2ArrayBuffer(str, returnUInt8Array) {\n var length = str.length,\n buff = new ArrayBuffer(length),\n arr = new Uint8Array(buff),\n i;\n\n for (i = 0; i < length; i += 1) {\n arr[i] = str.charCodeAt(i);\n }\n\n return returnUInt8Array ? arr : buff;\n }\n\n function arrayBuffer2Utf8Str(buff) {\n return String.fromCharCode.apply(null, new Uint8Array(buff));\n }\n\n function concatenateArrayBuffers(first, second, returnUInt8Array) {\n var result = new Uint8Array(first.byteLength + second.byteLength);\n\n result.set(new Uint8Array(first));\n result.set(new Uint8Array(second), first.byteLength);\n\n return returnUInt8Array ? result : result.buffer;\n }\n\n function hexToBinaryString(hex) {\n var bytes = [],\n length = hex.length,\n x;\n\n for (x = 0; x < length - 1; x += 2) {\n bytes.push(parseInt(hex.substr(x, 2), 16));\n }\n\n return String.fromCharCode.apply(String, bytes);\n }\n\n // ---------------------------------------------------\n\n /**\n * SparkMD5 OOP implementation.\n *\n * Use this class to perform an incremental md5, otherwise use the\n * static methods instead.\n */\n\n function SparkMD5() {\n // call reset to init the instance\n this.reset();\n }\n\n /**\n * Appends a string.\n * A conversion will be applied if an utf8 string is detected.\n *\n * @param {String} str The string to be appended\n *\n * @return {SparkMD5} The instance itself\n */\n SparkMD5.prototype.append = function (str) {\n // Converts the string to utf8 bytes if necessary\n // Then append as binary\n this.appendBinary(toUtf8(str));\n\n return this;\n };\n\n /**\n * Appends a binary string.\n *\n * @param {String} contents The binary string to be appended\n *\n * @return {SparkMD5} The instance itself\n */\n SparkMD5.prototype.appendBinary = function (contents) {\n this._buff += contents;\n this._length += contents.length;\n\n var length = this._buff.length,\n i;\n\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk(this._buff.substring(i - 64, i)));\n }\n\n this._buff = this._buff.substring(i - 64);\n\n return this;\n };\n\n /**\n * Finishes the incremental computation, reseting the internal state and\n * returning the result.\n *\n * @param {Boolean} raw True to get the raw string, false to get the hex string\n *\n * @return {String} The result\n */\n SparkMD5.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n i,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n ret;\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff.charCodeAt(i) << ((i % 4) << 3);\n }\n\n this._finish(tail, length);\n ret = hex(this._hash);\n\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n\n this.reset();\n\n return ret;\n };\n\n /**\n * Resets the internal state of the computation.\n *\n * @return {SparkMD5} The instance itself\n */\n SparkMD5.prototype.reset = function () {\n this._buff = '';\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n\n return this;\n };\n\n /**\n * Gets the internal state of the computation.\n *\n * @return {Object} The state\n */\n SparkMD5.prototype.getState = function () {\n return {\n buff: this._buff,\n length: this._length,\n hash: this._hash.slice()\n };\n };\n\n /**\n * Gets the internal state of the computation.\n *\n * @param {Object} state The state\n *\n * @return {SparkMD5} The instance itself\n */\n SparkMD5.prototype.setState = function (state) {\n this._buff = state.buff;\n this._length = state.length;\n this._hash = state.hash;\n\n return this;\n };\n\n /**\n * Releases memory used by the incremental buffer and other additional\n * resources. If you plan to use the instance again, use reset instead.\n */\n SparkMD5.prototype.destroy = function () {\n delete this._hash;\n delete this._buff;\n delete this._length;\n };\n\n /**\n * Finish the final calculation based on the tail.\n *\n * @param {Array} tail The tail (will be modified)\n * @param {Number} length The length of the remaining buffer\n */\n SparkMD5.prototype._finish = function (tail, length) {\n var i = length,\n tmp,\n lo,\n hi;\n\n tail[i >> 2] |= 0x80 << ((i % 4) << 3);\n if (i > 55) {\n md5cycle(this._hash, tail);\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n // Do the final computation based on the tail and length\n // Beware that the final length may not fit in 32 bits so we take care of that\n tmp = this._length * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(this._hash, tail);\n };\n\n /**\n * Performs the md5 hash on a string.\n * A conversion will be applied if utf8 string is detected.\n *\n * @param {String} str The string\n * @param {Boolean} [raw] True to get the raw string, false to get the hex string\n *\n * @return {String} The result\n */\n SparkMD5.hash = function (str, raw) {\n // Converts the string to utf8 bytes if necessary\n // Then compute it using the binary function\n return SparkMD5.hashBinary(toUtf8(str), raw);\n };\n\n /**\n * Performs the md5 hash on a binary string.\n *\n * @param {String} content The binary string\n * @param {Boolean} [raw] True to get the raw string, false to get the hex string\n *\n * @return {String} The result\n */\n SparkMD5.hashBinary = function (content, raw) {\n var hash = md51(content),\n ret = hex(hash);\n\n return raw ? hexToBinaryString(ret) : ret;\n };\n\n // ---------------------------------------------------\n\n /**\n * SparkMD5 OOP implementation for array buffers.\n *\n * Use this class to perform an incremental md5 ONLY for array buffers.\n */\n SparkMD5.ArrayBuffer = function () {\n // call reset to init the instance\n this.reset();\n };\n\n /**\n * Appends an array buffer.\n *\n * @param {ArrayBuffer} arr The array to be appended\n *\n * @return {SparkMD5.ArrayBuffer} The instance itself\n */\n SparkMD5.ArrayBuffer.prototype.append = function (arr) {\n var buff = concatenateArrayBuffers(this._buff.buffer, arr, true),\n length = buff.length,\n i;\n\n this._length += arr.byteLength;\n\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk_array(buff.subarray(i - 64, i)));\n }\n\n this._buff = (i - 64) < length ? new Uint8Array(buff.buffer.slice(i - 64)) : new Uint8Array(0);\n\n return this;\n };\n\n /**\n * Finishes the incremental computation, reseting the internal state and\n * returning the result.\n *\n * @param {Boolean} raw True to get the raw string, false to get the hex string\n *\n * @return {String} The result\n */\n SparkMD5.ArrayBuffer.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n i,\n ret;\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff[i] << ((i % 4) << 3);\n }\n\n this._finish(tail, length);\n ret = hex(this._hash);\n\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n\n this.reset();\n\n return ret;\n };\n\n /**\n * Resets the internal state of the computation.\n *\n * @return {SparkMD5.ArrayBuffer} The instance itself\n */\n SparkMD5.ArrayBuffer.prototype.reset = function () {\n this._buff = new Uint8Array(0);\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n\n return this;\n };\n\n /**\n * Gets the internal state of the computation.\n *\n * @return {Object} The state\n */\n SparkMD5.ArrayBuffer.prototype.getState = function () {\n var state = SparkMD5.prototype.getState.call(this);\n\n // Convert buffer to a string\n state.buff = arrayBuffer2Utf8Str(state.buff);\n\n return state;\n };\n\n /**\n * Gets the internal state of the computation.\n *\n * @param {Object} state The state\n *\n * @return {SparkMD5.ArrayBuffer} The instance itself\n */\n SparkMD5.ArrayBuffer.prototype.setState = function (state) {\n // Convert string to buffer\n state.buff = utf8Str2ArrayBuffer(state.buff, true);\n\n return SparkMD5.prototype.setState.call(this, state);\n };\n\n SparkMD5.ArrayBuffer.prototype.destroy = SparkMD5.prototype.destroy;\n\n SparkMD5.ArrayBuffer.prototype._finish = SparkMD5.prototype._finish;\n\n /**\n * Performs the md5 hash on an array buffer.\n *\n * @param {ArrayBuffer} arr The array buffer\n * @param {Boolean} [raw] True to get the raw string, false to get the hex one\n *\n * @return {String} The result\n */\n SparkMD5.ArrayBuffer.hash = function (arr, raw) {\n var hash = md51_array(new Uint8Array(arr)),\n ret = hex(hash);\n\n return raw ? hexToBinaryString(ret) : ret;\n };\n\n return SparkMD5;\n}));\n","export default \"__VITE_ASSET__471a92cc__\"","\n\n\n","import { computed, ref } from 'vue'\n\nexport const markAsReadMutationCount = ref(0)\nexport const markAsReadStatus = computed<'ready' | 'loading'>(() => {\n if (markAsReadMutationCount.value)\n return 'loading'\n else return 'ready'\n})\n","\n\n\n","\n\n\n","import i18n from '@/locales/index'\nimport { PvMessage } from '@/ui/libs/PvMessage'\nexport function progressing(fun = i18n.global.t('others.WIP1')): void {\n PvMessage(i18n.global.t('others.WIP2', { WIP1: fun }))\n}\n","\n\n\n","/*!\n * \n * typed.js - A JavaScript Typing Animation Library\n * Author: Matt Boldt \n * Version: v2.0.12\n * Url: https://github.com/mattboldt/typed.js\n * License(s): MIT\n * \n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Typed\"] = factory();\n\telse\n\t\troot[\"Typed\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _initializerJs = __webpack_require__(1);\n\t\n\tvar _htmlParserJs = __webpack_require__(3);\n\t\n\t/**\n\t * Welcome to Typed.js!\n\t * @param {string} elementId HTML element ID _OR_ HTML element\n\t * @param {object} options options object\n\t * @returns {object} a new Typed object\n\t */\n\t\n\tvar Typed = (function () {\n\t function Typed(elementId, options) {\n\t _classCallCheck(this, Typed);\n\t\n\t // Initialize it up\n\t _initializerJs.initializer.load(this, options, elementId);\n\t // All systems go!\n\t this.begin();\n\t }\n\t\n\t /**\n\t * Toggle start() and stop() of the Typed instance\n\t * @public\n\t */\n\t\n\t _createClass(Typed, [{\n\t key: 'toggle',\n\t value: function toggle() {\n\t this.pause.status ? this.start() : this.stop();\n\t }\n\t\n\t /**\n\t * Stop typing / backspacing and enable cursor blinking\n\t * @public\n\t */\n\t }, {\n\t key: 'stop',\n\t value: function stop() {\n\t if (this.typingComplete) return;\n\t if (this.pause.status) return;\n\t this.toggleBlinking(true);\n\t this.pause.status = true;\n\t this.options.onStop(this.arrayPos, this);\n\t }\n\t\n\t /**\n\t * Start typing / backspacing after being stopped\n\t * @public\n\t */\n\t }, {\n\t key: 'start',\n\t value: function start() {\n\t if (this.typingComplete) return;\n\t if (!this.pause.status) return;\n\t this.pause.status = false;\n\t if (this.pause.typewrite) {\n\t this.typewrite(this.pause.curString, this.pause.curStrPos);\n\t } else {\n\t this.backspace(this.pause.curString, this.pause.curStrPos);\n\t }\n\t this.options.onStart(this.arrayPos, this);\n\t }\n\t\n\t /**\n\t * Destroy this instance of Typed\n\t * @public\n\t */\n\t }, {\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.reset(false);\n\t this.options.onDestroy(this);\n\t }\n\t\n\t /**\n\t * Reset Typed and optionally restarts\n\t * @param {boolean} restart\n\t * @public\n\t */\n\t }, {\n\t key: 'reset',\n\t value: function reset() {\n\t var restart = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t\n\t clearInterval(this.timeout);\n\t this.replaceText('');\n\t if (this.cursor && this.cursor.parentNode) {\n\t this.cursor.parentNode.removeChild(this.cursor);\n\t this.cursor = null;\n\t }\n\t this.strPos = 0;\n\t this.arrayPos = 0;\n\t this.curLoop = 0;\n\t if (restart) {\n\t this.insertCursor();\n\t this.options.onReset(this);\n\t this.begin();\n\t }\n\t }\n\t\n\t /**\n\t * Begins the typing animation\n\t * @private\n\t */\n\t }, {\n\t key: 'begin',\n\t value: function begin() {\n\t var _this = this;\n\t\n\t this.options.onBegin(this);\n\t this.typingComplete = false;\n\t this.shuffleStringsIfNeeded(this);\n\t this.insertCursor();\n\t if (this.bindInputFocusEvents) this.bindFocusEvents();\n\t this.timeout = setTimeout(function () {\n\t // Check if there is some text in the element, if yes start by backspacing the default message\n\t if (!_this.currentElContent || _this.currentElContent.length === 0) {\n\t _this.typewrite(_this.strings[_this.sequence[_this.arrayPos]], _this.strPos);\n\t } else {\n\t // Start typing\n\t _this.backspace(_this.currentElContent, _this.currentElContent.length);\n\t }\n\t }, this.startDelay);\n\t }\n\t\n\t /**\n\t * Called for each character typed\n\t * @param {string} curString the current string in the strings array\n\t * @param {number} curStrPos the current position in the curString\n\t * @private\n\t */\n\t }, {\n\t key: 'typewrite',\n\t value: function typewrite(curString, curStrPos) {\n\t var _this2 = this;\n\t\n\t if (this.fadeOut && this.el.classList.contains(this.fadeOutClass)) {\n\t this.el.classList.remove(this.fadeOutClass);\n\t if (this.cursor) this.cursor.classList.remove(this.fadeOutClass);\n\t }\n\t\n\t var humanize = this.humanizer(this.typeSpeed);\n\t var numChars = 1;\n\t\n\t if (this.pause.status === true) {\n\t this.setPauseStatus(curString, curStrPos, true);\n\t return;\n\t }\n\t\n\t // contain typing function in a timeout humanize'd delay\n\t this.timeout = setTimeout(function () {\n\t // skip over any HTML chars\n\t curStrPos = _htmlParserJs.htmlParser.typeHtmlChars(curString, curStrPos, _this2);\n\t\n\t var pauseTime = 0;\n\t var substr = curString.substr(curStrPos);\n\t // check for an escape character before a pause value\n\t // format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^\n\t // single ^ are removed from string\n\t if (substr.charAt(0) === '^') {\n\t if (/^\\^\\d+/.test(substr)) {\n\t var skip = 1; // skip at least 1\n\t substr = /\\d+/.exec(substr)[0];\n\t skip += substr.length;\n\t pauseTime = parseInt(substr);\n\t _this2.temporaryPause = true;\n\t _this2.options.onTypingPaused(_this2.arrayPos, _this2);\n\t // strip out the escape character and pause value so they're not printed\n\t curString = curString.substring(0, curStrPos) + curString.substring(curStrPos + skip);\n\t _this2.toggleBlinking(true);\n\t }\n\t }\n\t\n\t // check for skip characters formatted as\n\t // \"this is a `string to print NOW` ...\"\n\t if (substr.charAt(0) === '`') {\n\t while (curString.substr(curStrPos + numChars).charAt(0) !== '`') {\n\t numChars++;\n\t if (curStrPos + numChars > curString.length) break;\n\t }\n\t // strip out the escape characters and append all the string in between\n\t var stringBeforeSkip = curString.substring(0, curStrPos);\n\t var stringSkipped = curString.substring(stringBeforeSkip.length + 1, curStrPos + numChars);\n\t var stringAfterSkip = curString.substring(curStrPos + numChars + 1);\n\t curString = stringBeforeSkip + stringSkipped + stringAfterSkip;\n\t numChars--;\n\t }\n\t\n\t // timeout for any pause after a character\n\t _this2.timeout = setTimeout(function () {\n\t // Accounts for blinking while paused\n\t _this2.toggleBlinking(false);\n\t\n\t // We're done with this sentence!\n\t if (curStrPos >= curString.length) {\n\t _this2.doneTyping(curString, curStrPos);\n\t } else {\n\t _this2.keepTyping(curString, curStrPos, numChars);\n\t }\n\t // end of character pause\n\t if (_this2.temporaryPause) {\n\t _this2.temporaryPause = false;\n\t _this2.options.onTypingResumed(_this2.arrayPos, _this2);\n\t }\n\t }, pauseTime);\n\t\n\t // humanized value for typing\n\t }, humanize);\n\t }\n\t\n\t /**\n\t * Continue to the next string & begin typing\n\t * @param {string} curString the current string in the strings array\n\t * @param {number} curStrPos the current position in the curString\n\t * @private\n\t */\n\t }, {\n\t key: 'keepTyping',\n\t value: function keepTyping(curString, curStrPos, numChars) {\n\t // call before functions if applicable\n\t if (curStrPos === 0) {\n\t this.toggleBlinking(false);\n\t this.options.preStringTyped(this.arrayPos, this);\n\t }\n\t // start typing each new char into existing string\n\t // curString: arg, this.el.html: original text inside element\n\t curStrPos += numChars;\n\t var nextString = curString.substr(0, curStrPos);\n\t this.replaceText(nextString);\n\t // loop the function\n\t this.typewrite(curString, curStrPos);\n\t }\n\t\n\t /**\n\t * We're done typing the current string\n\t * @param {string} curString the current string in the strings array\n\t * @param {number} curStrPos the current position in the curString\n\t * @private\n\t */\n\t }, {\n\t key: 'doneTyping',\n\t value: function doneTyping(curString, curStrPos) {\n\t var _this3 = this;\n\t\n\t // fires callback function\n\t this.options.onStringTyped(this.arrayPos, this);\n\t this.toggleBlinking(true);\n\t // is this the final string\n\t if (this.arrayPos === this.strings.length - 1) {\n\t // callback that occurs on the last typed string\n\t this.complete();\n\t // quit if we wont loop back\n\t if (this.loop === false || this.curLoop === this.loopCount) {\n\t return;\n\t }\n\t }\n\t this.timeout = setTimeout(function () {\n\t _this3.backspace(curString, curStrPos);\n\t }, this.backDelay);\n\t }\n\t\n\t /**\n\t * Backspaces 1 character at a time\n\t * @param {string} curString the current string in the strings array\n\t * @param {number} curStrPos the current position in the curString\n\t * @private\n\t */\n\t }, {\n\t key: 'backspace',\n\t value: function backspace(curString, curStrPos) {\n\t var _this4 = this;\n\t\n\t if (this.pause.status === true) {\n\t this.setPauseStatus(curString, curStrPos, false);\n\t return;\n\t }\n\t if (this.fadeOut) return this.initFadeOut();\n\t\n\t this.toggleBlinking(false);\n\t var humanize = this.humanizer(this.backSpeed);\n\t\n\t this.timeout = setTimeout(function () {\n\t curStrPos = _htmlParserJs.htmlParser.backSpaceHtmlChars(curString, curStrPos, _this4);\n\t // replace text with base text + typed characters\n\t var curStringAtPosition = curString.substr(0, curStrPos);\n\t _this4.replaceText(curStringAtPosition);\n\t\n\t // if smartBack is enabled\n\t if (_this4.smartBackspace) {\n\t // the remaining part of the current string is equal of the same part of the new string\n\t var nextString = _this4.strings[_this4.arrayPos + 1];\n\t if (nextString && curStringAtPosition === nextString.substr(0, curStrPos)) {\n\t _this4.stopNum = curStrPos;\n\t } else {\n\t _this4.stopNum = 0;\n\t }\n\t }\n\t\n\t // if the number (id of character in current string) is\n\t // less than the stop number, keep going\n\t if (curStrPos > _this4.stopNum) {\n\t // subtract characters one by one\n\t curStrPos--;\n\t // loop the function\n\t _this4.backspace(curString, curStrPos);\n\t } else if (curStrPos <= _this4.stopNum) {\n\t // if the stop number has been reached, increase\n\t // array position to next string\n\t _this4.arrayPos++;\n\t // When looping, begin at the beginning after backspace complete\n\t if (_this4.arrayPos === _this4.strings.length) {\n\t _this4.arrayPos = 0;\n\t _this4.options.onLastStringBackspaced();\n\t _this4.shuffleStringsIfNeeded();\n\t _this4.begin();\n\t } else {\n\t _this4.typewrite(_this4.strings[_this4.sequence[_this4.arrayPos]], curStrPos);\n\t }\n\t }\n\t // humanized value for typing\n\t }, humanize);\n\t }\n\t\n\t /**\n\t * Full animation is complete\n\t * @private\n\t */\n\t }, {\n\t key: 'complete',\n\t value: function complete() {\n\t this.options.onComplete(this);\n\t if (this.loop) {\n\t this.curLoop++;\n\t } else {\n\t this.typingComplete = true;\n\t }\n\t }\n\t\n\t /**\n\t * Has the typing been stopped\n\t * @param {string} curString the current string in the strings array\n\t * @param {number} curStrPos the current position in the curString\n\t * @param {boolean} isTyping\n\t * @private\n\t */\n\t }, {\n\t key: 'setPauseStatus',\n\t value: function setPauseStatus(curString, curStrPos, isTyping) {\n\t this.pause.typewrite = isTyping;\n\t this.pause.curString = curString;\n\t this.pause.curStrPos = curStrPos;\n\t }\n\t\n\t /**\n\t * Toggle the blinking cursor\n\t * @param {boolean} isBlinking\n\t * @private\n\t */\n\t }, {\n\t key: 'toggleBlinking',\n\t value: function toggleBlinking(isBlinking) {\n\t if (!this.cursor) return;\n\t // if in paused state, don't toggle blinking a 2nd time\n\t if (this.pause.status) return;\n\t if (this.cursorBlinking === isBlinking) return;\n\t this.cursorBlinking = isBlinking;\n\t if (isBlinking) {\n\t this.cursor.classList.add('typed-cursor--blink');\n\t } else {\n\t this.cursor.classList.remove('typed-cursor--blink');\n\t }\n\t }\n\t\n\t /**\n\t * Speed in MS to type\n\t * @param {number} speed\n\t * @private\n\t */\n\t }, {\n\t key: 'humanizer',\n\t value: function humanizer(speed) {\n\t return Math.round(Math.random() * speed / 2) + speed;\n\t }\n\t\n\t /**\n\t * Shuffle the sequence of the strings array\n\t * @private\n\t */\n\t }, {\n\t key: 'shuffleStringsIfNeeded',\n\t value: function shuffleStringsIfNeeded() {\n\t if (!this.shuffle) return;\n\t this.sequence = this.sequence.sort(function () {\n\t return Math.random() - 0.5;\n\t });\n\t }\n\t\n\t /**\n\t * Adds a CSS class to fade out current string\n\t * @private\n\t */\n\t }, {\n\t key: 'initFadeOut',\n\t value: function initFadeOut() {\n\t var _this5 = this;\n\t\n\t this.el.className += ' ' + this.fadeOutClass;\n\t if (this.cursor) this.cursor.className += ' ' + this.fadeOutClass;\n\t return setTimeout(function () {\n\t _this5.arrayPos++;\n\t _this5.replaceText('');\n\t\n\t // Resets current string if end of loop reached\n\t if (_this5.strings.length > _this5.arrayPos) {\n\t _this5.typewrite(_this5.strings[_this5.sequence[_this5.arrayPos]], 0);\n\t } else {\n\t _this5.typewrite(_this5.strings[0], 0);\n\t _this5.arrayPos = 0;\n\t }\n\t }, this.fadeOutDelay);\n\t }\n\t\n\t /**\n\t * Replaces current text in the HTML element\n\t * depending on element type\n\t * @param {string} str\n\t * @private\n\t */\n\t }, {\n\t key: 'replaceText',\n\t value: function replaceText(str) {\n\t if (this.attr) {\n\t this.el.setAttribute(this.attr, str);\n\t } else {\n\t if (this.isInput) {\n\t this.el.value = str;\n\t } else if (this.contentType === 'html') {\n\t this.el.innerHTML = str;\n\t } else {\n\t this.el.textContent = str;\n\t }\n\t }\n\t }\n\t\n\t /**\n\t * If using input elements, bind focus in order to\n\t * start and stop the animation\n\t * @private\n\t */\n\t }, {\n\t key: 'bindFocusEvents',\n\t value: function bindFocusEvents() {\n\t var _this6 = this;\n\t\n\t if (!this.isInput) return;\n\t this.el.addEventListener('focus', function (e) {\n\t _this6.stop();\n\t });\n\t this.el.addEventListener('blur', function (e) {\n\t if (_this6.el.value && _this6.el.value.length !== 0) {\n\t return;\n\t }\n\t _this6.start();\n\t });\n\t }\n\t\n\t /**\n\t * On init, insert the cursor element\n\t * @private\n\t */\n\t }, {\n\t key: 'insertCursor',\n\t value: function insertCursor() {\n\t if (!this.showCursor) return;\n\t if (this.cursor) return;\n\t this.cursor = document.createElement('span');\n\t this.cursor.className = 'typed-cursor';\n\t this.cursor.setAttribute('aria-hidden', true);\n\t this.cursor.innerHTML = this.cursorChar;\n\t this.el.parentNode && this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);\n\t }\n\t }]);\n\t\n\t return Typed;\n\t})();\n\t\n\texports['default'] = Typed;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar _defaultsJs = __webpack_require__(2);\n\t\n\tvar _defaultsJs2 = _interopRequireDefault(_defaultsJs);\n\t\n\t/**\n\t * Initialize the Typed object\n\t */\n\t\n\tvar Initializer = (function () {\n\t function Initializer() {\n\t _classCallCheck(this, Initializer);\n\t }\n\t\n\t _createClass(Initializer, [{\n\t key: 'load',\n\t\n\t /**\n\t * Load up defaults & options on the Typed instance\n\t * @param {Typed} self instance of Typed\n\t * @param {object} options options object\n\t * @param {string} elementId HTML element ID _OR_ instance of HTML element\n\t * @private\n\t */\n\t\n\t value: function load(self, options, elementId) {\n\t // chosen element to manipulate text\n\t if (typeof elementId === 'string') {\n\t self.el = document.querySelector(elementId);\n\t } else {\n\t self.el = elementId;\n\t }\n\t\n\t self.options = _extends({}, _defaultsJs2['default'], options);\n\t\n\t // attribute to type into\n\t self.isInput = self.el.tagName.toLowerCase() === 'input';\n\t self.attr = self.options.attr;\n\t self.bindInputFocusEvents = self.options.bindInputFocusEvents;\n\t\n\t // show cursor\n\t self.showCursor = self.isInput ? false : self.options.showCursor;\n\t\n\t // custom cursor\n\t self.cursorChar = self.options.cursorChar;\n\t\n\t // Is the cursor blinking\n\t self.cursorBlinking = true;\n\t\n\t // text content of element\n\t self.elContent = self.attr ? self.el.getAttribute(self.attr) : self.el.textContent;\n\t\n\t // html or plain text\n\t self.contentType = self.options.contentType;\n\t\n\t // typing speed\n\t self.typeSpeed = self.options.typeSpeed;\n\t\n\t // add a delay before typing starts\n\t self.startDelay = self.options.startDelay;\n\t\n\t // backspacing speed\n\t self.backSpeed = self.options.backSpeed;\n\t\n\t // only backspace what doesn't match the previous string\n\t self.smartBackspace = self.options.smartBackspace;\n\t\n\t // amount of time to wait before backspacing\n\t self.backDelay = self.options.backDelay;\n\t\n\t // Fade out instead of backspace\n\t self.fadeOut = self.options.fadeOut;\n\t self.fadeOutClass = self.options.fadeOutClass;\n\t self.fadeOutDelay = self.options.fadeOutDelay;\n\t\n\t // variable to check whether typing is currently paused\n\t self.isPaused = false;\n\t\n\t // input strings of text\n\t self.strings = self.options.strings.map(function (s) {\n\t return s.trim();\n\t });\n\t\n\t // div containing strings\n\t if (typeof self.options.stringsElement === 'string') {\n\t self.stringsElement = document.querySelector(self.options.stringsElement);\n\t } else {\n\t self.stringsElement = self.options.stringsElement;\n\t }\n\t\n\t if (self.stringsElement) {\n\t self.strings = [];\n\t self.stringsElement.style.display = 'none';\n\t var strings = Array.prototype.slice.apply(self.stringsElement.children);\n\t var stringsLength = strings.length;\n\t\n\t if (stringsLength) {\n\t for (var i = 0; i < stringsLength; i += 1) {\n\t var stringEl = strings[i];\n\t self.strings.push(stringEl.innerHTML.trim());\n\t }\n\t }\n\t }\n\t\n\t // character number position of current string\n\t self.strPos = 0;\n\t\n\t // current array position\n\t self.arrayPos = 0;\n\t\n\t // index of string to stop backspacing on\n\t self.stopNum = 0;\n\t\n\t // Looping logic\n\t self.loop = self.options.loop;\n\t self.loopCount = self.options.loopCount;\n\t self.curLoop = 0;\n\t\n\t // shuffle the strings\n\t self.shuffle = self.options.shuffle;\n\t // the order of strings\n\t self.sequence = [];\n\t\n\t self.pause = {\n\t status: false,\n\t typewrite: true,\n\t curString: '',\n\t curStrPos: 0\n\t };\n\t\n\t // When the typing is complete (when not looped)\n\t self.typingComplete = false;\n\t\n\t // Set the order in which the strings are typed\n\t for (var i in self.strings) {\n\t self.sequence[i] = i;\n\t }\n\t\n\t // If there is some text in the element\n\t self.currentElContent = this.getCurrentElContent(self);\n\t\n\t self.autoInsertCss = self.options.autoInsertCss;\n\t\n\t this.appendAnimationCss(self);\n\t }\n\t }, {\n\t key: 'getCurrentElContent',\n\t value: function getCurrentElContent(self) {\n\t var elContent = '';\n\t if (self.attr) {\n\t elContent = self.el.getAttribute(self.attr);\n\t } else if (self.isInput) {\n\t elContent = self.el.value;\n\t } else if (self.contentType === 'html') {\n\t elContent = self.el.innerHTML;\n\t } else {\n\t elContent = self.el.textContent;\n\t }\n\t return elContent;\n\t }\n\t }, {\n\t key: 'appendAnimationCss',\n\t value: function appendAnimationCss(self) {\n\t var cssDataName = 'data-typed-js-css';\n\t if (!self.autoInsertCss) {\n\t return;\n\t }\n\t if (!self.showCursor && !self.fadeOut) {\n\t return;\n\t }\n\t if (document.querySelector('[' + cssDataName + ']')) {\n\t return;\n\t }\n\t\n\t var css = document.createElement('style');\n\t css.type = 'text/css';\n\t css.setAttribute(cssDataName, true);\n\t\n\t var innerCss = '';\n\t if (self.showCursor) {\n\t innerCss += '\\n .typed-cursor{\\n opacity: 1;\\n }\\n .typed-cursor.typed-cursor--blink{\\n animation: typedjsBlink 0.7s infinite;\\n -webkit-animation: typedjsBlink 0.7s infinite;\\n animation: typedjsBlink 0.7s infinite;\\n }\\n @keyframes typedjsBlink{\\n 50% { opacity: 0.0; }\\n }\\n @-webkit-keyframes typedjsBlink{\\n 0% { opacity: 1; }\\n 50% { opacity: 0.0; }\\n 100% { opacity: 1; }\\n }\\n ';\n\t }\n\t if (self.fadeOut) {\n\t innerCss += '\\n .typed-fade-out{\\n opacity: 0;\\n transition: opacity .25s;\\n }\\n .typed-cursor.typed-cursor--blink.typed-fade-out{\\n -webkit-animation: 0;\\n animation: 0;\\n }\\n ';\n\t }\n\t if (css.length === 0) {\n\t return;\n\t }\n\t css.innerHTML = innerCss;\n\t document.body.appendChild(css);\n\t }\n\t }]);\n\t\n\t return Initializer;\n\t})();\n\t\n\texports['default'] = Initializer;\n\tvar initializer = new Initializer();\n\texports.initializer = initializer;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * Defaults & options\n\t * @returns {object} Typed defaults & options\n\t * @public\n\t */\n\t\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\tvar defaults = {\n\t /**\n\t * @property {array} strings strings to be typed\n\t * @property {string} stringsElement ID of element containing string children\n\t */\n\t strings: ['These are the default values...', 'You know what you should do?', 'Use your own!', 'Have a great day!'],\n\t stringsElement: null,\n\t\n\t /**\n\t * @property {number} typeSpeed type speed in milliseconds\n\t */\n\t typeSpeed: 0,\n\t\n\t /**\n\t * @property {number} startDelay time before typing starts in milliseconds\n\t */\n\t startDelay: 0,\n\t\n\t /**\n\t * @property {number} backSpeed backspacing speed in milliseconds\n\t */\n\t backSpeed: 0,\n\t\n\t /**\n\t * @property {boolean} smartBackspace only backspace what doesn't match the previous string\n\t */\n\t smartBackspace: true,\n\t\n\t /**\n\t * @property {boolean} shuffle shuffle the strings\n\t */\n\t shuffle: false,\n\t\n\t /**\n\t * @property {number} backDelay time before backspacing in milliseconds\n\t */\n\t backDelay: 700,\n\t\n\t /**\n\t * @property {boolean} fadeOut Fade out instead of backspace\n\t * @property {string} fadeOutClass css class for fade animation\n\t * @property {boolean} fadeOutDelay Fade out delay in milliseconds\n\t */\n\t fadeOut: false,\n\t fadeOutClass: 'typed-fade-out',\n\t fadeOutDelay: 500,\n\t\n\t /**\n\t * @property {boolean} loop loop strings\n\t * @property {number} loopCount amount of loops\n\t */\n\t loop: false,\n\t loopCount: Infinity,\n\t\n\t /**\n\t * @property {boolean} showCursor show cursor\n\t * @property {string} cursorChar character for cursor\n\t * @property {boolean} autoInsertCss insert CSS for cursor and fadeOut into HTML \n\t */\n\t showCursor: true,\n\t cursorChar: '|',\n\t autoInsertCss: true,\n\t\n\t /**\n\t * @property {string} attr attribute for typing\n\t * Ex: input placeholder, value, or just HTML text\n\t */\n\t attr: null,\n\t\n\t /**\n\t * @property {boolean} bindInputFocusEvents bind to focus and blur if el is text input\n\t */\n\t bindInputFocusEvents: false,\n\t\n\t /**\n\t * @property {string} contentType 'html' or 'null' for plaintext\n\t */\n\t contentType: 'html',\n\t\n\t /**\n\t * Before it begins typing\n\t * @param {Typed} self\n\t */\n\t onBegin: function onBegin(self) {},\n\t\n\t /**\n\t * All typing is complete\n\t * @param {Typed} self\n\t */\n\t onComplete: function onComplete(self) {},\n\t\n\t /**\n\t * Before each string is typed\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t preStringTyped: function preStringTyped(arrayPos, self) {},\n\t\n\t /**\n\t * After each string is typed\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t onStringTyped: function onStringTyped(arrayPos, self) {},\n\t\n\t /**\n\t * During looping, after last string is typed\n\t * @param {Typed} self\n\t */\n\t onLastStringBackspaced: function onLastStringBackspaced(self) {},\n\t\n\t /**\n\t * Typing has been stopped\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t onTypingPaused: function onTypingPaused(arrayPos, self) {},\n\t\n\t /**\n\t * Typing has been started after being stopped\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t onTypingResumed: function onTypingResumed(arrayPos, self) {},\n\t\n\t /**\n\t * After reset\n\t * @param {Typed} self\n\t */\n\t onReset: function onReset(self) {},\n\t\n\t /**\n\t * After stop\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t onStop: function onStop(arrayPos, self) {},\n\t\n\t /**\n\t * After start\n\t * @param {number} arrayPos\n\t * @param {Typed} self\n\t */\n\t onStart: function onStart(arrayPos, self) {},\n\t\n\t /**\n\t * After destroy\n\t * @param {Typed} self\n\t */\n\t onDestroy: function onDestroy(self) {}\n\t};\n\t\n\texports['default'] = defaults;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * TODO: These methods can probably be combined somehow\n\t * Parse HTML tags & HTML Characters\n\t */\n\t\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\t\n\tvar HTMLParser = (function () {\n\t function HTMLParser() {\n\t _classCallCheck(this, HTMLParser);\n\t }\n\t\n\t _createClass(HTMLParser, [{\n\t key: 'typeHtmlChars',\n\t\n\t /**\n\t * Type HTML tags & HTML Characters\n\t * @param {string} curString Current string\n\t * @param {number} curStrPos Position in current string\n\t * @param {Typed} self instance of Typed\n\t * @returns {number} a new string position\n\t * @private\n\t */\n\t\n\t value: function typeHtmlChars(curString, curStrPos, self) {\n\t if (self.contentType !== 'html') return curStrPos;\n\t var curChar = curString.substr(curStrPos).charAt(0);\n\t if (curChar === '<' || curChar === '&') {\n\t var endTag = '';\n\t if (curChar === '<') {\n\t endTag = '>';\n\t } else {\n\t endTag = ';';\n\t }\n\t while (curString.substr(curStrPos + 1).charAt(0) !== endTag) {\n\t curStrPos++;\n\t if (curStrPos + 1 > curString.length) {\n\t break;\n\t }\n\t }\n\t curStrPos++;\n\t }\n\t return curStrPos;\n\t }\n\t\n\t /**\n\t * Backspace HTML tags and HTML Characters\n\t * @param {string} curString Current string\n\t * @param {number} curStrPos Position in current string\n\t * @param {Typed} self instance of Typed\n\t * @returns {number} a new string position\n\t * @private\n\t */\n\t }, {\n\t key: 'backSpaceHtmlChars',\n\t value: function backSpaceHtmlChars(curString, curStrPos, self) {\n\t if (self.contentType !== 'html') return curStrPos;\n\t var curChar = curString.substr(curStrPos).charAt(0);\n\t if (curChar === '>' || curChar === ';') {\n\t var endTag = '';\n\t if (curChar === '>') {\n\t endTag = '<';\n\t } else {\n\t endTag = '&';\n\t }\n\t while (curString.substr(curStrPos - 1).charAt(0) !== endTag) {\n\t curStrPos--;\n\t if (curStrPos < 0) {\n\t break;\n\t }\n\t }\n\t curStrPos--;\n\t }\n\t return curStrPos;\n\t }\n\t }]);\n\t\n\t return HTMLParser;\n\t})();\n\t\n\texports['default'] = HTMLParser;\n\tvar htmlParser = new HTMLParser();\n\texports.htmlParser = htmlParser;\n\n/***/ })\n/******/ ])\n});\n;","/**\n * 在错误页和页底的一言\n * 播放前会被打乱,无需在意顺序\n */\nconst yiyan: string[] = [\n /**\n * **超重要的头等大事件!!!!**\n */\n '看板娘 freesia 要出小恶魔',\n '世界名画《看板娘在女装》',\n\n /**\n * 名 人 名 言\n */\n '我只是个路过的博丽巫女,给我记住了!',\n '是在这里死亡呢,还是死后留在这里呢,还请选择吧',\n '是~ 这~ 样~ 的~ 吗~',\n '八云紫又过了一个17岁生日',\n '魔理沙偷走了重要的服务器',\n '幽幽子桑,白玉楼的樱花开了',\n '拳打八云敬老院,脚踢红魔幼儿园',\n '你不德豪寺,这寺豪德,这里是豪德寺',\n\n /**\n * 一些看着会笑和一些看着会 噔 噔 咚 的现实语句\n */\n 'Windows 正在更新中,你的电脑将重启多次,请坐和放宽。',\n 'Windows 更新失败,正在滚回以前的版本...',\n '我做东方整活页面,好吗?',\n '女巫!八卦炉!Best Match! Are you ready? 普通的黑白魔法使!魔理沙魔理沙魔理沙!Yeah~',\n '我幽幽子,就是饿死,死外边,从白玉楼跳下去,也绝对不碰米斯蒂娅一根毛!A moment later.... 真香诶',\n '敌羞吾去脱她衣',\n '前方到站:幻想乡。请到站的旅客提前到车门前等候,未到站的旅客请不要下车。',\n '欢迎乘坐八云号动车组,本次列车是 GSK999 次列车,列车由博丽神社开往红魔馆,途径雾之湖站。',\n '你知道吗?如果用 TNT 搭建 TNT 阵列塔,一塔的爆炸量相当于9个红魔馆。',\n '灵梦:你这卡保用吗?三花:我一个开卡摊的,能卖你白卡不成?',\n\n /**\n * 有点你该跑和不该跑的东西\n */\n '$ sudo rm -rf /*',\n '$ curl https://patchyvideo.com/',\n '$ gh repo clone PatchyVideo/platinum',\n '$ gh repo clone PatchyVideo/PatchyVideo',\n '> console.log(\\'TOUHOU GUICHU YINMAD\\');',\n\n /**\n * 一点听了之后 DNA 会起反应的音乐歌词\n */\n 'パチュリーズ・ベストヒットGSK - IOSYS',\n '色は匂へど いつか散りぬるを',\n '月には叢雲 華には風と',\n 'ずっとその手を離さないでねと微笑った 君とはぐれた',\n 'ヒフミ ヒフミ ヒフミ ヒフミ ヒヒフ',\n '上海 上海 上海 上海 蓬莱 蓬莱 蓬莱 蓬莱 フランス オランダ チベット 京都 ロンドン ロシアン オルレアン',\n '「叡智」 が、ありますように。「志操」 と、ありますように。「希望」 で、ありますように。やがて 「世界」になりますように。',\n '芽生え終えた生命よ 彷徨いの冥で逢おう',\n 'Humpty Dumpty sat on a wall. Humpty Dumpty had a great fall. All the king\\'s horses and king\\'s men. Couldn\\'t put Humpty together again.',\n '一句不经意平凡话语,剪断最后的一根神经,我的天空开始崩坏离析。',\n '回首 切切低語向苍茫,客星擦過天際夜朦朧,昏暗黎明前悠悠昤唱傳誦之歌 破長空。',\n '彷徨う森の外れに ひとひらの灯 酔いの様に揺らめいて 私を誘っている',\n '微睡み瞳閉じれば 幾千の花びら 風を跨ぎ瞬いて 憐み唄う',\n\n /**\n * 伪 古 代 艺 术\n */\n '先代巫女末年,略复不省事,人多怨之。因自叹曰:“人言我愦愦,后人当思此愦愦。”后灵梦为幻想乡,人多思之。',\n '萃香坐神社中,目博丽巫女,抚箱而叹曰:“愁肠长辘辘,壶中酒不空。”时守矢巫女方至,博丽指之,曰:“不效此辈,乃至于斯。”早苗于是阴怨灵梦。',\n '蕾米之心,日益骄固。冰精叫,雾湖举。芙兰一炬,可怜焦土。',\n '蕾米莉亚问七曜贤者:“博丽、守矢,巫女也,吾将从之,则何如?”对曰:“以雾之湖为池,赤馆为城,十六夜为政于内,美铃御敌于外,谨修内德,彰喻教化,近和妖精, 远化毛玉,则幻想乡之事,未可知也。',\n '博丽巫女下大图书馆,屠破时钟塔,赤馆震恐。蕾米莉亚乃素服自缚,牵羊而出,迎之馆门。巫女大喜,执羊而走,曰:“本为些许柴米,不意竟得此羊!”赤馆遂全。',\n '七曜贤者责蕾米曰:“姊之为姊,未曾初见教芙兰也。”蕾米答曰:“吾自教之耳。”芙兰从旁过,闻言对曰:“幸无所成。”',\n '博丽巫女常忧其贫,而八云氏多讥之。一日见巫女,巫女以清茶待之。八云于是笑曰:“身居陋室,箪食瓢饮,欲效先贤乎?”,则曰:“吾忧其贫,或忧其老。贫者易安,老者难回。”',\n '幽幽子饥甚,遣妖梦外出抄掠。妖梦掳米斯蒂娅等归。及见幽幽子,众皆垂泪。幽幽子不忍,持之手为涕泣良久。于是亲解其缚,执手躬自送诸庖厨。',\n '或问八云氏:“忆君少时,为博丽结界,数有功焉。今老矣,奈何愦愦竟日也?”对曰:“功遂身退,天之道也。吾其身退,逐成巫女之名矣。”',\n '芙兰以姊无威仪,固多轻之。常于众而论,曰:“使吾为赤馆,当抚四方。”七曜贤者闻之,见芙兰曰:“向使君为赤馆,将何如?”曰:“以力以威,以平四境。”对曰:“如此则殆矣。赤馆虽强,人不过其万一,地不过方十里,惟修内德,穆上下,使知礼而不加饥馑已矣。”芙兰乃愧,终不复轻姊。',\n '芙兰游学于人里,从慧音学史,十日竟反。蕾米不说,曰:“学如积万仞之山,日增尺寸,乃有所长,归何为?”芙兰曰:“今日十五,不归何为?”',\n '慧音东游,见四妖精辩日,问其故。桑尼曰:“我以日始出时去人近,而日中时远也。” 露娜以日初出远,而日中时近也。 斯塔曰:“日初出大如车盖,及日中则如盘盂,此不为远者小而近者大乎?” 冰精则驳之:“日初出沧沧凉凉,及其日中如探汤,此不为近者热而远者凉乎?” 慧音不能决也。众妖精笑曰:“孰为汝多知乎?”',\n '余闻人语,曰尝于网吧见一男,击键盘甚急,时高声疾呼,时哀怨恼怒,人之四态,须臾而毕见焉。忽猛摔键盘,而身痉挛不止,面扭曲难以名状,口中有白沫出。旁人大惊,趁其意识尚存,惑问其故。其人曰:“打则死路一条。”语毕,昏死不能省。',\n '稗田家修《求闻史记》,至《八云列传》,阿礼记曰:“八云氏凡万有一十七岁矣。”紫乃大忿,则稗田家寿皆不过三十,然《八云列传》固如是。直至阿求,始改《八云列传 》为:“八云氏十七,芳华正好。”紫大喜曰:“汝寿可至九十九也!”',\n '八云氏谓芙兰:“幼而不孙姊,不闻孝悌之道,长恐无所述矣。”芙兰闻之,答曰:“诚如所言。吾亦闻老而不死,是为贼也。',\n\n /**\n * 群友贡献的生草弹幕,排名不分先后\n * https://docs.qq.com/doc/DRVF2Q2xHeWNhd3R1\n * 些许有微调以适应总体语法,具体以源文件为准\n */\n // 诺利奇\n '看板娘真可爱Q-1AQ',\n // Raisin\n '此生手贱入东方,来世炸穿幻想乡',\n '爷是阿吽 爷是华扇',\n '弟啊,给我来一杯八心八箭的西行寺幽灵红茶',\n '大小姐:我扼住了命运的喉咙,但命运却砸平了我的胸',\n 'get☆down',\n '禁止迫害厄神',\n '如是耶?',\n // cinemage\n '千年尽葬妖西行,风华绝代墨染樱',\n '\"Sanae is a good girl\"',\n 'it\\'s a moriya shrine conspiracy!',\n '因为患有密集恐惧症,上白泽慧音拒绝召开校庆大会',\n '“春天来了喔!”莉莉白话音未落,当场使出一套咏春拳与红师傅打的难解难分',\n '世道不公啊,藤原妹红被赶出加油站',\n 'Christ on a bike',\n 'Awoo~Awoo~Awoo~',\n // ナリネ(Nalyne)\n '我军打则必胜',\n '无可奉告',\n '谢谢你,古明地恋 不用谢,射命丸文',\n '十年疮痍,感谢有你',\n '吃我大麻将山啦!',\n '河意志科学技术世界第一!!!',\n '北饮da☆ze、未至、道渴而死,弃其帚、化为竹林',\n 'あや、あややや……',\n '我们遇到什么击破撞,也不要怕,削除击破撞的最好方法就是击破之前撞,疮痍,就是胜利,加油,奥利给!',\n '有罪!',\n '(一种植物)',\n 'そこの紅白!私の書斎で暴れない',\n '今宵は永い夜になるだろう。',\n 'あなたの持ってるなけなしの春を すべて頂くわ!',\n '巫女のくせに神を食べようだなんて 笑止千万、不届き千万!',\n '阿姨压一压~一压~一~~',\n '芙兰朵露百年来在地下室闭关苦练麻将,后与神妈在神圣庄严的古战场平分秋色',\n '你看这个毛玉中暑了,不如我们……',\n '我们受过严格的训练,无论多好笑,也不会笑(除非忍不住)',\n // 魂魄淑漾\n '派手な魔法でなければ魔法じゃない。弾幕は火力だぜ!',\n // hal9000\n '秘封俱乐部由莲子和蕾蒂组成',\n // 小学熟学习学习\n '打则死路一条',\n '世界美咲剧场',\n 'biu~biu~biubiubiubiubiu~~~',\n 'Cheeeeeeeeeeeeeen!!!',\n // 奈良的热可可\n '红魔馆财政危机',\n // 流星穿梭\n '19在三途川里游泳',\n]\n\nexport default yiyan\n","import yiyan from './yiyan'\n\nfunction getByteLen(val: string): number {\n let len = 0\n for (let i = 0; i < val.length; i++) {\n const length = val.charCodeAt(i)\n if (length >= 0 && length <= 128)\n len += 1\n else\n len += 2\n }\n return len\n}\n\nlet shortYiyan: string[] = []\nfunction getShortYiyan(): string[] {\n if (shortYiyan.length > 0)\n return shortYiyan\n const yy = [...yiyan]\n shortYiyan = yy.filter(v => getByteLen(v) <= 120)\n return shortYiyan\n}\n\nexport function getYiyan(short = false): string {\n const yy = [...(short ? getShortYiyan() : yiyan)]\n const random = Math.floor(Math.random() * yy.length + 1)\n return yy[random]\n}\n\nexport function getYiyanArray(short = false, rand = false): string[] {\n const yy = [...(short ? getShortYiyan() : yiyan)]\n if (rand) {\n for (let i = 1; i < yy.length; i++) {\n const random = Math.floor(Math.random() * (i + 1))\n ;[yy[i], yy[random]] = [yy[random], yy[i]]\n }\n }\n return yy\n}\n","\n\n\n","\n\n\n"],"file":"assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js"} \ No newline at end of file diff --git a/assets/Leaderboard.755750e5.js b/assets/Leaderboard.755750e5.js new file mode 100644 index 0000000000..9c813978bd --- /dev/null +++ b/assets/Leaderboard.755750e5.js @@ -0,0 +1,16 @@ +import{_ as k,b as L}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as R,u as V,m as v,U as b,r as N,D as j,G as B,B as D,H as P,o as s,c as T,w as d,ap as q,aq as U,e as t,f as a,g as i,t as l,b as r,F as E,h as F,Q,j as z,P as f}from"./index.72556674.js";import{_ as G}from"./BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js";import{_ as H}from"./PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js";import{_ as S}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const A={class:"p-2 md:p-10 md:m-auto xl:w-9/10 2xl:w-4/5"},J={key:0},K={key:1},M={key:2},O={class:"flex flex-col flex-nowrap justify-start items-center px-0 md:px-2"},W={class:"rank-list w-full"},X={class:"flex flex-row justify-between items-center w-full my-2 md:my-4 sm:h-36 md:h-30 p-4 hover:rounded-xl hover:bg-[#f4f4f5] hover:shadow-xl box-border transition-all duration-300 shadow-gray-500/20 cursor-pointer"},Y={class:"flex flex-row justify-start items-center w-1/2 sm:w-1/3 md:w-1/5 h-full"},Z=["textContent"],I={class:"flex flex-col md:flex-row justify-between md:items-center w-1/2 sm:w-2/3 md:w-4/5 h-full lt-md:ml-2"},ee=["textContent"],te=["textContent"],ae=["textContent"],oe=t("div",{class:"w-full h-px my-4 md:my-8 bg-gray-400"},null,-1),ce=R({__name:"Leaderboard",setup(se){const{t:o}=V(),x=v("tag-contributions"),_=b(()=>[{value:`${24*7*52*10}`,name:o("leaderboard.tag-contributions.date-range.all")},{value:`${24*30}`,name:o("leaderboard.tag-contributions.date-range.last-month")},{value:`${24*7}`,name:o("leaderboard.tag-contributions.date-range.last-week")},{value:`${24}`,name:o("leaderboard.tag-contributions.date-range.last-day")}]),u=v(_.value[0].value),c=N({0:"text-shadow-xl text-[#f77]",1:"text-shadow-xl text-[#228dff]",2:"text-shadow-xl text-[#54df31]"}),{result:y,loading:w,error:p}=j(B` + query ($dateRangeNumber: Int!) { + getLeaderboard(hrs: $dateRangeNumber, k: 30) { + items { + count + user { + id + username + desc + image + } + } + } + } + `,{dateRangeNumber:b(()=>parseInt(u.value))},{fetchPolicy:"network-only"});D(()=>{w.value?q():U()});const C=P(y,[],h=>h.getLeaderboard.items);return(h,m)=>{const g=z("RouterLink"),$=k;return s(),T($,null,{default:d(()=>[t("div",A,[a(w)?(s(),i("div",J,l(a(o)("leaderboard.loading")),1)):a(p)?(s(),i("div",K,l(a(p).message),1)):(s(),i("div",M,[r(H,{modelValue:x.value,"onUpdate:modelValue":m[1]||(m[1]=e=>x.value=e),tabs:[{name:"tag-contributions",label:a(o)("leaderboard.tag-contributions.name")},{name:"others",label:"其他排行榜"}]},{"tag-contributions":d(()=>[t("div",O,[r(S,{modelValue:u.value,"onUpdate:modelValue":m[0]||(m[0]=e=>u.value=e),class:"md:w-1/4","item-list":a(_)},null,8,["modelValue","item-list"]),t("div",W,[(s(!0),i(E,null,F(a(C),(e,n)=>(s(),i("div",{key:n,class:"rank-item w-full"},[t("div",X,[t("div",Y,[t("div",{class:f(["w-1/3 md:w-14 text-3xl text-center md:text-left text-gray-600 font-bold hover:opacity-70 transition-all duration-300 cursor-pointer",c[n]]),textContent:l(n+1)},null,10,Z),r(g,{to:`/user/${e.user.id}`,class:"relative lt-md:w-2/3 md:min-w-max md:h-24 hover:opacity-70 transition-all duration-300 cursor-pointer"},{default:d(()=>[r(L,{class:"md:w-full md:h-full rounded-full",alt:e.user.username,image:e.user.image},null,8,["alt","image"])]),_:2},1032,["to"])]),t("div",I,[r(g,{to:`/users/${e.user.id}`,class:"w-full md:w-1/4 md:ml-8"},{default:d(()=>[t("div",{class:f(["text-xl text-gray-600 font-bold hover:opacity-70 whitespace-nowrap overflow-hidden transition-all duration-300 cursor-pointer",c[n]]),textContent:l(e.user.username)},null,10,ee)]),_:2},1032,["to"]),t("div",{class:"w-full md:w-1/3 lt-md:h-6 md:max-h-28 md:overflow-auto md:ml-4 lt-md:my-2 text-gray-500 text-ellipsis overflow-hidden md:overflow-clip whitespace-nowrap md:whitespace-normal box-border",textContent:l(e.user.desc)},null,8,te),t("div",{class:f(["flex-grow w-full md:w-5/12 md:ml-8 text-left md:text-right text-xl font-bold text-gray-600 hover:opacity-70 whitespace-normal md:whitespace-nowrap transition-all duration-300 cursor-pointer",c[n]]),textContent:l(a(o)("leaderboard.tag-contributions.edit-time",e.count))},null,10,ae)])]),oe]))),128))])])]),others:d(()=>[Q(" 其他排行榜列表 ")]),_:1},8,["modelValue","tabs"])]))]),r(G)]),_:1})}}});export{ce as default}; +//# sourceMappingURL=Leaderboard.755750e5.js.map diff --git a/assets/Leaderboard.755750e5.js.map b/assets/Leaderboard.755750e5.js.map new file mode 100644 index 0000000000..ec5dec2799 --- /dev/null +++ b/assets/Leaderboard.755750e5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Leaderboard.755750e5.js","sources":["../../packages/leaderboard/Leaderboard.vue"],"sourcesContent":["\n\n\n"],"names":["t","useI18n","currentRankType","ref","dateRangeList","computed","selectedDateRange","rankNumberTextIndexToClasses","reactive","result","loading","error","useQuery","gql","watchEffect","startProgress","stopProgress","rankList","useResult","data"],"mappings":"i7CA0FA,KAAA,CAAA,EAAAA,GAAAC,IAEAC,EAAAC,EAAA,mBAAA,EACAC,EAAAC,EAAA,IAAA,CAAqC,CAAA,MAAA,GAAA,GAAA,EAAA,GAAA,KAAA,KAAAL,EAAA,8CAAA,CAAA,EACqD,CAAA,MAAA,GAAA,GAAA,KAAA,KAAAA,EAAA,qDAAA,CAAA,EACF,CAAA,MAAA,GAAA,GAAA,IAAA,KAAAA,EAAA,oDAAA,CAAA,EACF,CAAA,MAAA,GAAA,KAAA,KAAAA,EAAA,mDAAA,CAAA,CACL,CAAA,EAEjFM,EAAAH,EAAAC,EAAA,MAAA,GAAA,KAAA,EACAG,EAAAC,EAAA,CAAsE,EAAA,6BACjE,EAAA,gCACA,EAAA,+BACA,CAAA,EAEL,CAAA,OAAAC,EAAA,QAAAC,EAAA,MAAAC,CAAA,EAAAC,EAAmCC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACjC,CAeA,gBAAAR,EAAA,IAAA,SAAAC,EAAA,KAAA,CAAA,CACmE,EACnE,CACA,YAAA,cACe,CACf,EAEFQ,EAAA,IAAA,CACEJ,EAAA,MACEK,IAEAC,GAAa,CAAA,EAGjB,MAAAC,EAAAC,EAAAT,EAAA,CAAA,EAAAU,GAAAA,EAAA,eAAA,KAAA"} \ No newline at end of file diff --git a/assets/Login.4eedfc40.css b/assets/Login.4eedfc40.css new file mode 100644 index 0000000000..b934841804 --- /dev/null +++ b/assets/Login.4eedfc40.css @@ -0,0 +1 @@ +@media (max-width: 720px){.login[data-v-f6876c16]{background-image:url(/assets/LoginMobile.7dec527c.jpg)}}@media (min-width: 720px){.login[data-v-f6876c16]{background-image:url(/assets/Login.a949e73d.jpg)}}.autofill[data-v-f6876c16]:-webkit-autofill,.autofill[data-v-f6876c16]:-webkit-autofill:hover,.autofill[data-v-f6876c16]:-webkit-autofill:focus{-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#93c5fd}@media (min-width: 720px){.autofill[data-v-f6876c16]:-webkit-autofill,.autofill[data-v-f6876c16]:-webkit-autofill:hover,.autofill[data-v-f6876c16]:-webkit-autofill:focus{-webkit-text-fill-color:#1e3a8a}} diff --git a/assets/Login.a949e73d.jpg b/assets/Login.a949e73d.jpg new file mode 100644 index 0000000000..1c01ec2f2e Binary files /dev/null and b/assets/Login.a949e73d.jpg differ diff --git a/assets/Login.cfbb7729.js b/assets/Login.cfbb7729.js new file mode 100644 index 0000000000..93b55cbe4a --- /dev/null +++ b/assets/Login.cfbb7729.js @@ -0,0 +1,2 @@ +import{d as N,u as D,a6 as T,m as c,o as x,g as y,e,b,t as o,f as n,N as U,J as C,K as S,M as K,w as k,i as P,j as $,Q as L,ar as B,as as M,ad as O,a8 as V,a1 as R}from"./index.72556674.js";import{s as A}from"./setSiteTitle.db0fa839.js";import{_ as j}from"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";/*! PatchyVideo/Platinum by VoileLabs */const h=p=>(B("data-v-f6876c16"),p=p(),M(),p),F={class:"login h-screen w-full md:min-h-xl bg-bottom bg-no-repeat bg-cover dark:filter dark:brightness-75"},G={class:"flex flex-wrap content-between w-full md:w-80 h-full p-5 text-white md:text-black bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm lt-md:shadow md:ml-48"},J={class:"w-full lt-md:text-center"},Q=["textContent"],q=["onSubmit"],z={class:"flex w-full border-b border-black"},H=h(()=>e("div",{class:"i-uil:user align-middle text-2xl"},null,-1)),W=["placeholder"],X=["textContent"],Y={class:"flex w-full border-b border-black"},Z=h(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),ee=["placeholder","onKeydown"],te=["textContent"],se={class:"space-y-1"},le=["disabled","textContent"],ae=["textContent"],oe=h(()=>e("div",{class:"h-20 w-full"},null,-1)),ne=h(()=>e("div",null,"© VoileLabs 2019-2022",-1)),re=N({__name:"Login",setup(p){const{t}=D(),I=O(),E=T();A(`${t("user.login.title")} - PatchyVideo`);const l=c("ready"),g={fine:t("user.login.username.username-status.fine"),tip:t("user.login.username.username-status.tip"),msg:t("user.login.username.username-status.msg")},m=c(g.fine),v={fine:t("user.login.password.password-status.fine"),tip:t("user.login.password.password-status.tip"),msg:t("user.login.password.password-status.msg")},f=c(v.fine),r=c(""),u=c(""),i=c("");async function w(){if(l.value==="loading")return;l.value="loading";let d=!0;if(r.value?r.value.length<2||r.value.length>32?(d=!1,m.value=g.msg):m.value=g.fine:(d=!1,m.value=g.tip),u.value?u.value.length<6||u.value.length>64?(d=!1,f.value=v.msg):f.value=v.fine:(d=!1,f.value=v.tip),!d){l.value="ready";return}let a="";try{const s=await V("https://patchyvideo.com/be/auth/get_session.do",{method:"POST",credentials:"include",body:{type:"LOGIN"}});if(s.status==="SUCCEED")a=s.data;else{l.value="error",i.value=t("user.login.login-status.error");return}}catch(s){i.value=String(s),l.value="error";return}try{const s=await V("https://patchyvideo.com/be/login.do",{method:"POST",credentials:"include",body:{username:r.value,password:u.value,session:a}});s.status==="SUCCEED"?(l.value="ready",await E.refetch(),I.push("/")):s.status==="FAILED"?(l.value="error",i.value=t("user.login.login-status.failed")):(l.value="error",i.value=s.dataerr.reason)}catch(s){l.value="error",i.value=String(s)}}return(d,a)=>{const s=$("RouterLink");return x(),y("div",F,[e("div",G,[e("div",J,[b(j,{larger:20}),e("div",{class:"text-lg md:text-center",textContent:o(n(t)("user.login.title"))},null,8,Q)]),e("form",{class:"w-full space-y-3",autocomplete:"on",onSubmit:U(w,["prevent"])},[e("div",null,[e("div",z,[H,C(e("input",{"onUpdate:modelValue":a[0]||(a[0]=_=>r.value=_),type:"text",name:"username",autocomplete:"username",class:"autofill outline-none w-full bg-transparent placeholder-white md:placeholder-gray-700 md:text-gray-700",placeholder:n(t)("user.login.username.placeholder")},null,8,W),[[S,r.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:o(m.value)},null,8,X)]),e("div",null,[e("div",Y,[Z,C(e("input",{"onUpdate:modelValue":a[1]||(a[1]=_=>u.value=_),type:"password",name:"password",autocomplete:"current-password",class:"autofill outline-none w-full bg-transparent placeholder-white md:placeholder-gray-700 md:text-gray-700",placeholder:n(t)("user.login.password.placeholder"),onKeydown:K(w,["enter"])},null,40,ee),[[S,u.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:o(f.value)},null,8,te),b(s,{class:"block text-right text-xs text-blue-600",to:"/user/forget-password"},{default:k(()=>[L(o(n(t)("user.login.forget-password")),1)]),_:1})]),e("div",se,[e("button",{type:"submit",disabled:l.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed",textContent:o(l.value==="loading"?n(t)("user.login.login-status.loading"):n(t)("user.login.login-status.ready"))},null,8,le),l.value==="error"?(x(),y("div",{key:0,class:"text-red-500",textContent:o(i.value)},null,8,ae)):P("",!0),b(s,{class:"block text-blue-600 hover:text-blue-800",to:"/user/signup"},{default:k(()=>[L(o(`${n(t)("user.login.signup")}→`),1)]),_:1})])],40,q),oe,ne])])}}});const ce=R(re,[["__scopeId","data-v-f6876c16"]]);export{ce as default}; +//# sourceMappingURL=Login.cfbb7729.js.map diff --git a/assets/Login.cfbb7729.js.map b/assets/Login.cfbb7729.js.map new file mode 100644 index 0000000000..b6d4322eda --- /dev/null +++ b/assets/Login.cfbb7729.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Login.cfbb7729.js","sources":["../../packages/user/Login.vue"],"sourcesContent":["\n\n\n\n\n"],"names":["useI18n","router","useRouter","auth","useAuth","setSiteTitle","loginStatus","ref","UsernameStatus","usernameStatus","PasswordStatus","passwordStatus","username","password","errmsg","login","valid","session","data","$fetch","err"],"mappings":"4wCA+EA,KAAA,CAAA,GAAAA,IACAC,EAAAC,IACAC,EAAAC,IAEAC,EAAA,GAAA,EAAA,kBAAA,iBAAA,EAEA,MAAAC,EAAAC,EAAA,OAAA,EACAC,EAAA,CAAuB,KAAA,EAAA,0CAAA,EAC6B,IAAA,EAAA,yCAAA,EACF,IAAA,EAAA,yCAAA,CACA,EAElDC,EAAAF,EAAAC,EAAA,IAAA,EACAE,EAAA,CAAuB,KAAA,EAAA,0CAAA,EAC6B,IAAA,EAAA,yCAAA,EACF,IAAA,EAAA,yCAAA,CACA,EAElDC,EAAAJ,EAAAG,EAAA,IAAA,EAEAE,EAAAL,EAAA,EAAA,EACAM,EAAAN,EAAA,EAAA,EACAO,EAAAP,EAAA,EAAA,EAEA,eAAAQ,GAAA,CACE,GAAAT,EAAA,QAAA,UACE,OACFA,EAAA,MAAA,UAGA,IAAAU,EAAA,GAuBA,GAtBAJ,EAAA,MAEwCA,EAAA,MAAA,OAAA,GAAAA,EAAA,MAAA,OAAA,IAGtCI,EAAA,GACAP,EAAA,MAAAD,EAAA,KAGAC,EAAA,MAAAD,EAAA,MARAQ,EAAA,GACAP,EAAA,MAAAD,EAAA,KASFK,EAAA,MAEwCA,EAAA,MAAA,OAAA,GAAAA,EAAA,MAAA,OAAA,IAGtCG,EAAA,GACAL,EAAA,MAAAD,EAAA,KAGAC,EAAA,MAAAD,EAAA,MARAM,EAAA,GACAL,EAAA,MAAAD,EAAA,KASF,CAAAM,EAAA,CACEV,EAAA,MAAA,QACA,MAAA,CAIF,IAAAW,EAAA,GACA,GAAA,CACE,MAAAC,EAAA,MAAAC,EAAA,iDAAA,CAGqD,OAAA,OAC3C,YAAA,UACK,KAAA,CACP,KAAA,OACE,CACR,CAAA,EAEF,GAAAD,EAAA,SAAA,UACED,EAAAC,EAAA,SAAe,CAGfZ,EAAA,MAAA,QACAQ,EAAA,MAAA,EAAA,+BAAA,EACA,MAAA,CACF,OAAAM,EAAA,CAGAN,EAAA,MAAA,OAAAM,CAAA,EACAd,EAAA,MAAA,QACA,MAAA,CAGF,GAAA,CACE,MAAAY,EAAA,MAAAC,EAAA,sCAAA,CAE0C,OAAA,OAChC,YAAA,UACK,KAAA,CACP,SAAAP,EAAA,MACe,SAAAC,EAAA,MACA,QAAAI,CACnB,CACF,CAAA,EAGFC,EAAA,SAAA,WACEZ,EAAA,MAAA,QACA,MAAAH,EAAA,UACAF,EAAA,KAAA,GAAA,GAAeiB,EAAA,SAAA,UAGfZ,EAAA,MAAA,QACAQ,EAAA,MAAA,EAAA,gCAAA,IAGAR,EAAA,MAAA,QAEAQ,EAAA,MAAAI,EAAA,QAAA,OACF,OAAAE,EAAA,CAGAd,EAAA,MAAA,QACAQ,EAAA,MAAA,OAAAM,CAAA,CAAyB,CAC3B"} \ No newline at end of file diff --git a/assets/LoginMobile.7dec527c.jpg b/assets/LoginMobile.7dec527c.jpg new file mode 100644 index 0000000000..2946d947e3 Binary files /dev/null and b/assets/LoginMobile.7dec527c.jpg differ diff --git a/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js b/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js new file mode 100644 index 0000000000..7cfb7a061f --- /dev/null +++ b/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js @@ -0,0 +1,2 @@ +import{d as e,U as s,o as l,g as v,f as t,i as o,e as c,al as a}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const i={class:"inline-flex flex-row items-center flex-nowrap"},n=["height"],r=c("path",{d:"M1836.8 2530.3c-690.5 0-1250.3-559.8-1250.3-1250.3 0-586.4 403.7-1078.5 948.4-1213.6h-3.3c-773.4 0-1400.3 626.9-1400.3 1400.3S758.2 2867 1531.6 2867c545.8 0 1018.6-312.2 1249.6-767.8-229.1 264.1-567.2 431.1-944.4 431.1z",stroke:"#000","stroke-width":"3","stroke-miterlimit":"10"},null,-1),p=c("path",{d:"M793.1 2724.5c-225.2 0-416.5 145.1-485.6 346.9 88.5-128 236.2-211.9 403.6-211.9 270.8 0 490.2 219.5 490.2 490.2 0 112.9-38.2 216.9-102.4 299.8 125.7-93.5 207.2-243.2 207.2-412 .1-283.3-229.6-513-513-513z",stroke:"#000","stroke-width":"10","stroke-miterlimit":"10"},null,-1),d=c("path",{fill:"none",stroke:"#000","stroke-width":"14","stroke-miterlimit":"10",d:"M609.7 3238.6l67.8 60.2 12.1 10.6 43.9-25.8 53.1-33.2-42.7 97.8 74.8 75.8-101.8-9.9-4.4-.4-42.7 97.8-22.9-104.3-18.3-1.7-87.9-8.6 54.6-32.1 37.4-22z"},null,-1),f=c("path",{fill:"none",stroke:"#000","stroke-width":"14","stroke-miterlimit":"10",d:"M712.5 3413.7l-65.6-6.5-14.2-64.4 61.9-38.4 49.3 43.8-31.4 65.5"},null,-1),_=[r,p,d,f],k=["height"],w=a('',15),g=[w],F=e({__name:"Logo",props:{showIcon:{type:Boolean,default:!0},larger:{default:0}},setup(z){const h=z,M=s(()=>h.larger+30),m=s(()=>h.larger+48);return(u,x)=>(l(),v("div",i,[z.showIcon?(l(),v("svg",{key:0,version:"1.2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2844 3778",class:"fill-current inline-block",height:t(M)},_,8,n)):o("",!0),(l(),v("svg",{version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 1000 5000 1800",overflow:"visible",height:t(m),class:"fill-current inline-block -ml-2"},g,8,k))]))}});export{F as _}; +//# sourceMappingURL=Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js.map diff --git a/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js.map b/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js.map new file mode 100644 index 0000000000..e297ef9af1 --- /dev/null +++ b/assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","sources":["../../packages/common/components/Logo.vue"],"sourcesContent":["\n\n\n"],"names":["h1","computed","props","h2"],"mappings":"+52BAuHAA,EAAAC,EAAA,IAAAC,EAAA,OAAA,EAAA,EACAC,EAAAF,EAAA,IAAAC,EAAA,OAAA,EAAA"} \ No newline at end of file diff --git a/assets/Notification.9bab8373.js b/assets/Notification.9bab8373.js new file mode 100644 index 0000000000..10d078c71b --- /dev/null +++ b/assets/Notification.9bab8373.js @@ -0,0 +1,74 @@ +import{m as L,b as me,c as ue,_ as ve}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as Y,u as Z,m as p,ao as de,D as ee,G as z,B as M,ap as te,aq as le,H as K,q as ie,a7 as ce,o as s,g as n,e as i,t as r,f as l,P as h,F as W,h as pe,j as fe,b as C,w as X,N as ye,i as $,U as I,$ as ge,c as se,s as _e,L as R,Q as G,R as xe,ac as ke,ad as be}from"./index.72556674.js";import{_ as ne}from"./PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js";import{s as $e}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function he(E){window.open(E,"_blank")}const Ce={class:"border-b flex justify-between p-1"},Ne={key:0},we={key:1},Ae={key:2},Te={key:3},Se=["onClick","onMouseup"],qe={class:"text-xs bg-gray-100 text-gray-400 p-1 truncate dark:bg-gray-500 dark:text-gray-200"},Ue={class:"text-xs text-gray-600 dark:text-white"},ae=Y({__name:"NoteBoxReplyComment",props:{limit:null,offset:null,pageCount:null},emits:["update:limit","update:offset","update:pageCount"],setup(E,{emit:_}){const a=E,{t:f}=Z(),g=p("comment_reply"),T=p(!0),{limit:k,offset:N,pageCount:S}=de(a,_),u=p(),c=p([]),d=p(0),x=p(0),{result:y,loading:q,onError:H,fetchMore:Q}=ee(z` + query ($offset: Int, $limit: Int, $listAll: Boolean, $noteType: String) { + listNotifications(para: { offset: $offset, limit: $limit, listAll: $listAll, noteType: $noteType }) { + notes { + id + read + ... on ReplyNotificationObject { + cid + repliedBy { + id + username + image + gravatar + } + time + repliedObj + repliedType + content + } + } + countAll + countUnread + pageCount + } + } + `,{offset:N.value*k.value,limit:k.value,listAll:T.value,noteType:g.value},{notifyOnNetworkStatusChange:!0});M(()=>{q.value?(u.value="loading",te()):(u.value="result",le())});const A=K(y,null,o=>o==null?void 0:o.listNotifications);M(()=>{A.value?(c.value=A.value.notes,d.value=A.value.countAll,x.value=A.value.countUnread,S.value=A.value.pageCount):u.value="error"});const U=p("");H(o=>{U.value=o.message,u.value="error"}),ie(a,()=>{Q({variables:{offset:N.value*k.value,limit:k.value,listAll:T.value,noteType:g.value},updateQuery(o,{fetchMoreResult:t}){return t||o}})},{deep:!0});const{mutate:b,loading:V,onDone:P,onError:J}=ce(z` + mutation ($markAll: Boolean, $noteType: String, $noteIds: [String!]) { + markAsRead(para: { markAll: $markAll, noteType: $noteType, noteIds: $noteIds }) { + empty + } + } + `);M(()=>{V.value&&L.value++});let j=!1;P(()=>{L.value--,j&&location.reload()}),J(()=>{L.value--});function w(o=!1,t="comment_reply",m,e=!1){!x.value||e||(j=o,b({markAll:o,noteType:t,noteIds:m}))}return(o,t)=>{const m=fe("router-link");return s(),n(W,null,[i("div",Ce,[i("div",null,r(l(f)("user-notification.notification-reply.title")),1),i("div",{class:h(["text-sm cursor-pointer transition transition-colors hover:text-purple-300",{"text-gray-500":!x.value}]),onClick:t[0]||(t[0]=e=>w(!0,g.value="comment_reply",[]))},r(l(f)("user-notification.notification-reply.mark-all-as-read")),3)]),u.value==="loading"?(s(),n("div",Ne,r(l(f)("user-notification.notification-reply.loading")),1)):u.value==="error"?(s(),n("div",we)):d.value===0?(s(),n("div",Ae,r(l(f)("user-notification.notification-reply.no-message")),1)):(s(),n("div",Te,[(s(!0),n(W,null,pe(c.value,e=>(s(),n("div",{key:e.id.toHexString()},[e.__typename==="ReplyNotificationObject"?(s(),n("div",{key:0,class:h(["flex items-center m-1 p-2 shadow rounded-md",{"bg-gray-100 dark:bg-gray-500":!e.read}])},[C(m,{class:"w-1/6 md:w-1/15 mr-2 cursor-pointer",to:`/user/${e.repliedBy.id.toHexString()}`},{default:X(()=>[C(me,{title:e.repliedBy.username,image:e.repliedBy.image,gravatar:e.repliedBy.gravatar,class:"rounded-full ring-2 ring-white"},null,8,["title","image","gravatar"])]),_:2},1032,["to"]),C(m,{to:`${(e.repliedType==="forum"?"":e.repliedType==="video"?"/video/":"/playlist/")+e.repliedObj}#${e.cid}`,custom:""},{default:X(({href:v,navigate:D})=>[i("div",{class:"w-5/6 md:w-14/15",onClick:()=>{w(!1,e.__typename,[e.id.toHexString()],e.read),D()},onMouseup:ye(()=>{w(!1,e.__typename,[e.id.toHexString()],e.read),l(he)(v)},["middle"])},[i("div",null,r(l(f)("user-notification.notification-reply.reply",{username:e.repliedBy.username})),1),i("div",qe,r(e.content),1),i("div",Ue,[C(ue,{date:e.time},null,8,["date"])])],40,Se)]),_:2},1032,["to"])],2)):$("",!0)]))),128))]))],64)}}}),F=p({commentReply:0,systemMessage:0}),O=I(()=>F.value.systemMessage),B=I(()=>F.value.commentReply),Re={class:"border-b flex justify-between p-1"},Oe={key:0},Be={key:1},Me={key:2},je={key:3,class:"space-y-2"},Ie={class:"relative overflow-hidden"},Ee={class:"flex justify-between text-xs text-gray-600 dark:text-white"},He=["onClick"],re=Y({__name:"NoteBoxSystemMessage",props:{limit:null,offset:null,pageCount:null},emits:["update:limit","update:offset","update:pageCount"],setup(E,{emit:_}){const a=E,{t:f}=Z(),g=p("system_message"),T=p(!0),{limit:k,offset:N,pageCount:S}=de(a,_),u=p(),c=p([]),d=p([]),x=p(),y=p(0),q=p(0),{result:H,loading:Q,onError:A,fetchMore:U}=ee(z` + query ($offset: Int, $limit: Int, $listAll: Boolean, $noteType: String) { + listNotifications(para: { offset: $offset, limit: $limit, listAll: $listAll, noteType: $noteType }) { + notes { + id + read + type + ... on SystemNotificationObject { + time + title + content + } + } + countAll + countUnread + pageCount + } + } + `,{offset:N.value*k.value,limit:k.value,listAll:T.value,noteType:g.value},{notifyOnNetworkStatusChange:!0});M(()=>{Q.value?(u.value="loading",te()):(u.value="result",le())});const b=K(H,null,m=>m==null?void 0:m.listNotifications);M(()=>{b.value?(d.value=b.value.notes.map(m=>m.read),c.value=b.value.notes,y.value=b.value.countAll,q.value=b.value.countUnread,S.value=b.value.pageCount):u.value="error"});const V=p("");A(m=>{V.value=m.message,u.value="error"}),ie(a,()=>{U({variables:{offset:N.value*k.value,limit:k.value,listAll:T.value,noteType:g.value},updateQuery(m,{fetchMoreResult:e}){return e||m}})},{deep:!0});const{mutate:P,loading:J,onDone:j,onError:w}=ce(z` + mutation ($markAll: Boolean, $noteType: String, $noteIds: [String!]) { + markAsRead(para: { markAll: $markAll, noteType: $noteType, noteIds: $noteIds }) { + empty + } + } + `);M(()=>{J.value&&L.value++});let o=!1;j(()=>{L.value--,o&&location.reload(),F.value.systemMessage--}),w(()=>{L.value--});function t(m=!1,e=g.value,v,D=!1){x.value===v[0]?x.value=void 0:x.value=v[0],!(!q.value||D)&&(v[0]&&(d.value[c.value.findIndex(oe=>oe.id.toHexString()===v[0])]=!0),o=m,P({markAll:m,noteType:e,noteIds:v}))}return(m,e)=>(s(),n(W,null,[i("div",Re,[i("div",null,r(l(f)("user-notification.notification-system.title")),1),i("div",{class:h(["text-sm cursor-pointer transition transition-colors hover:text-purple-300",{"text-gray-500":!q.value}]),onClick:e[0]||(e[0]=v=>t(!0,g.value="system_message",[]))},r(l(f)("user-notification.notification-system.mark-all-as-read")),3)]),u.value==="loading"?(s(),n("div",Oe,r(l(f)("user-notification.notification-system.loading")),1)):u.value==="error"?(s(),n("div",Be)):y.value===0?(s(),n("div",Me,r(l(f)("user-notification.notification-system.no-message")),1)):(s(),n("div",je,[(s(!0),n(W,null,pe(c.value,(v,D)=>(s(),n("div",{key:v.id.toHexString()},[v.__typename==="SystemNotificationObject"?(s(),n("div",{key:0,class:h(["m-1 p-2 shadow rounded-md space-y-2",{"bg-gray-100 dark:bg-gray-500":!d.value[D]}])},[i("div",null,r(v.title),1),i("div",Ie,[i("div",{class:"transform transition-all duration-200 text-sm",style:ge({marginTop:v.id.toHexString()===x.value?"0":"-100%"})},r(v.content),5)]),i("div",Ee,[C(ue,{date:v.time},null,8,["date"]),i("div",{class:"cursor-pointer text-purple-300",onClick:oe=>t(!1,v.type,[v.id.toHexString()],d.value[D])},r(v.id.toHexString()===x.value?l(f)("user-notification.notification-system.fold"):l(f)("user-notification.notification-system.unfold")),9,He)])],2)):$("",!0)]))),128))]))],64))}}),Pe={key:0,class:"w-full p-2 dark:bg-gray-900 dark:border-black"},Je={key:0},De={key:1},Le=["title"],Qe=i("div",{class:"i-uil:chat text-2xl"},null,-1),Ve={key:0,class:"absolute top-0 right-0 bg-red-500 text-white text-xs rounded-full px-1"},ze={class:"w-full border-b p-1 pb-1.5 flex justify-between"},Fe={class:"flex items-center flex-nowrap"},Ge=i("div",{class:"i-uil:telegram-alt text-2xl transition-colors"},null,-1),Ke={class:"text-lg ml-2"},We={class:"mt-4 space-y-2"},Xe=i("div",{class:"i-uil:comment-alt-dots inline align-middle text-xl text-center"},null,-1),Ye={key:0,class:"bg-red-500 text-white text-sm rounded-full px-2"},Ze=i("div",{class:"i-uil:at inline align-middle text-xl text-center"},null,-1),et=i("div",{class:"i-uil:volume inline align-middle text-xl text-center"},null,-1),tt={key:0,class:"bg-red-500 text-white text-sm rounded-full px-2"},lt={key:1,class:"p-5 flex space-x-3 min-h-screen w-9/10 m-auto xl:w-4/5"},it={class:"p-1 overflow-auto rounded-md shadow bg-white w-1/4 xl:w-1/5 dark:bg-gray-900"},ot={class:"w-full border-b p-1 pb-1.5 flex items-center flex-nowrap"},st=i("div",{class:"i-uil:telegram-alt text-2xl transition-colors hover:bg-gray-200 dark:hover:bg-gray-700"},null,-1),nt={class:"text-lg ml-2"},at={class:"mt-4 space-y-2"},rt=i("div",{class:"i-uil:comment-alt-dots inline align-middle text-xl text-center"},null,-1),ut={key:0,class:"bg-red-500 text-white text-sm rounded-full px-2"},dt=i("div",{class:"i-uil:at inline align-middle text-xl text-center"},null,-1),ct=i("div",{class:"i-uil:volume inline align-middle text-xl text-center"},null,-1),pt={key:0,class:"bg-red-500 text-white text-sm rounded-full px-2"},mt={class:"w-3/4 p-2 bg-white rounded-md shadow xl:4/5 dark:bg-gray-600"},vt={key:0},ft={key:1},ht=Y({__name:"Notification",setup(E){const{t:_}=Z(),a=ke(),f=be();$e("消息中心 - PatchyVideo");const g=p(),T=p(!0),k=p(0),N=p(0),S=p(),u=p(0),c=I(()=>Number(a.query.limit?Array.isArray(a.query.limit)?a.query.limit[0]:a.query.limit:10)),d=I(()=>Number(a.query.page?Array.isArray(a.query.page)?a.query.page[0]:a.query.page:0)),x=I(()=>d.value+1),y=I(()=>String(a.query.type?Array.isArray(a.query.type)?a.query.type[0]:a.query.type:"comment_reply")),{result:q,loading:H,onError:Q,fetchMore:A}=ee(z` + query ($offset: Int, $limit: Int, $listAll: Boolean, $noteType: String) { + listNotifications(para: { offset: $offset, limit: $limit, listAll: $listAll, noteType: $noteType }) { + notes { + id + } + countAll + countUnread + pageCount + } + listUnreadNotificationsCount { + list { + msgtype + count + } + } + } + `,{offset:d.value*c.value,limit:c.value,listAll:T.value,noteType:y.value},{notifyOnNetworkStatusChange:!0});M(()=>{H.value?(S.value="loading",te()):(S.value="result",le())});const U=K(q,null,o=>o==null?void 0:o.listNotifications),b=K(q,null,o=>o==null?void 0:o.listUnreadNotificationsCount);M(()=>{U.value?(k.value=U.value.countAll,N.value=U.value.countUnread,b.value&&b.value.list.forEach(o=>{o.msgtype==="system_message"?F.value.systemMessage=o.count:o.msgtype==="comment_reply"&&(F.value.commentReply=o.count)}),u.value=U.value.pageCount):S.value="error"}),Q(()=>{S.value="error"});const V=I(()=>a.query);ie(V,()=>{A({variables:{offset:d.value*c.value,limit:c.value,listAll:T.value,noteType:y.value},updateQuery(o,{fetchMoreResult:t}){return t||o}})});function P(){const o=JSON.parse(JSON.stringify(a.query));o.page=d.value-1,f.push({path:a.path,query:o})}function J(){const o=JSON.parse(JSON.stringify(a.query));o.page=d.value+1,f.push({path:a.path,query:o})}function j(o){const t=JSON.parse(JSON.stringify(a.query));t.page=o-1,f.push({path:a.path,query:t})}function w(o){const t=JSON.parse(JSON.stringify(a.query));t.type!==o&&(g.value=!1,t.page=0,t.type=o,f.push({path:a.path,query:t}))}return(o,t)=>{const m=ve;return s(),se(m,{"fetch-note":!1},{default:X(()=>[l(_e)["R(c)?c.value=e:null),offset:l(d),"onUpdate:offset":t[1]||(t[1]=e=>R(d)?d.value=e:null),pageCount:u.value,"onUpdate:pageCount":t[2]||(t[2]=e=>u.value=e)},null,8,["limit","offset","pageCount"])])):l(y)==="system_message"?(s(),n("div",De,[C(re,{limit:l(c),"onUpdate:limit":t[3]||(t[3]=e=>R(c)?c.value=e:null),offset:l(d),"onUpdate:offset":t[4]||(t[4]=e=>R(d)?d.value=e:null),pageCount:u.value,"onUpdate:pageCount":t[5]||(t[5]=e=>u.value=e)},null,8,["limit","offset","pageCount"])])):$("",!0),C(ne,{"page-count":Number(u.value),page:l(x),onPrevious:P,onNext:J,onChange:j},null,8,["page-count","page"]),i("div",{class:"shadow fixed bottom-20 right-5 bg-gray-50 select-none p-2 rounded-full dark:bg-gray-800",title:l(_)("user-notification.notification.slide-open"),onClick:t[6]||(t[6]=e=>g.value=!0)},[Qe,N.value?(s(),n("label",Ve,r(N.value>99?"99+":N.value),1)):$("",!0)],8,Le),i("div",{class:h(["fixed inset-x-0 border-t rounded-t border-purple-400 p-1 z-50 bottom-0 overflow-auto bg-white transform transition-transform duration-300 dark:bg-gray-900",{"translate-y-full":!g.value}])},[i("div",ze,[i("div",Fe,[Ge,i("div",Ke,r(l(_)("user-notification.notification.title")),1)]),i("div",{class:"i-uil:times text-2xl transition-colors",onClick:t[7]||(t[7]=e=>g.value=!1)})]),i("div",We,[i("div",{class:h(["flex align-middle p-2 rounded-md cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="comment_reply"}]),onClick:t[8]||(t[8]=e=>w("comment_reply"))},[Xe,i("div",null,[G(r(l(_)("user-notification.notification.reply"))+" ",1),l(B)?(s(),n("label",Ye,r((l(B)?l(B):0)>99?"99+":l(B)),1)):$("",!0)])],2),i("div",{class:h(["flex align-middle p-2 rounded-md text-gray-500 cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="at"}])},[Ze,i("div",null,r(l(_)("user-notification.notification.at")),1)],2),i("div",{class:h(["flex align-middle p-2 rounded-md cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="system_message"}]),onClick:t[9]||(t[9]=e=>w("system_message"))},[et,i("div",null,[G(r(l(_)("user-notification.notification.system"))+" ",1),l(O)?(s(),n("label",tt,r((l(O)?l(O):0)>99?"99+":l(O)),1)):$("",!0)])],2)])],2),C(xe,{"enter-active-class":"transition-all duration-200","enter-from-class":"bg-opacity-0","leave-active-class":"transition-all duration-200","leave-to-class":"bg-opacity-0"},{default:X(()=>[g.value?(s(),n("div",{key:0,class:"fixed inset-0 z-49",onClick:t[10]||(t[10]=e=>g.value=!1)})):$("",!0)]),_:1})])):(s(),n("div",lt,[i("div",it,[i("div",ot,[st,i("div",nt,r(l(_)("user-notification.notification.title")),1)]),i("div",at,[i("div",{class:h(["flex align-middle p-2 rounded-md cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="comment_reply"}]),onClick:t[11]||(t[11]=e=>w("comment_reply"))},[rt,i("div",null,[G(r(l(_)("user-notification.notification.reply"))+" ",1),l(B)?(s(),n("label",ut,r((l(B)?l(B):0)>99?"99+":l(B)),1)):$("",!0)])],2),i("div",{class:h(["flex align-middle p-2 rounded-md text-gray-500 cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="at"}])},[dt,i("div",null,r(l(_)("user-notification.notification.at")),1)],2),i("div",{class:h(["flex align-middle p-2 rounded-md cursor-pointer",{"bg-gray-50 shadow-inner dark:bg-gray-500":l(y)==="system_message"}]),onClick:t[12]||(t[12]=e=>w("system_message"))},[ct,i("div",null,[G(r(l(_)("user-notification.notification.system"))+" ",1),l(O)?(s(),n("label",pt,r((l(O)?l(O):0)>99?"99+":l(O)),1)):$("",!0)])],2)])]),i("div",mt,[l(y)==="comment_reply"?(s(),n("div",vt,[C(ae,{limit:l(c),"onUpdate:limit":t[13]||(t[13]=e=>R(c)?c.value=e:null),offset:l(d),"onUpdate:offset":t[14]||(t[14]=e=>R(d)?d.value=e:null),pageCount:u.value,"onUpdate:pageCount":t[15]||(t[15]=e=>u.value=e)},null,8,["limit","offset","pageCount"])])):l(y)==="system_message"?(s(),n("div",ft,[C(re,{limit:l(c),"onUpdate:limit":t[16]||(t[16]=e=>R(c)?c.value=e:null),offset:l(d),"onUpdate:offset":t[17]||(t[17]=e=>R(d)?d.value=e:null),pageCount:u.value,"onUpdate:pageCount":t[18]||(t[18]=e=>u.value=e)},null,8,["limit","offset","pageCount"])])):$("",!0),l(H)?$("",!0):(s(),se(ne,{key:2,"page-count":Number(u.value),page:l(x),onPrevious:P,onNext:J,onChange:j},null,8,["page-count","page"]))])]))]),_:1})}}});export{ht as default}; +//# sourceMappingURL=Notification.9bab8373.js.map diff --git a/assets/Notification.9bab8373.js.map b/assets/Notification.9bab8373.js.map new file mode 100644 index 0000000000..4810270fa1 --- /dev/null +++ b/assets/Notification.9bab8373.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Notification.9bab8373.js","sources":["../../packages/common/libs/link.ts","../../packages/user-notification/components/NoteBoxReplyComment.vue","../../packages/user-notification/libs/listNoteCountTypes.ts","../../packages/user-notification/components/NoteBoxSystemMessage.vue","../../packages/user-notification/Notification.vue"],"sourcesContent":["export function openInNewTab(url: string) {\n window.open(url, '_blank')\n}\n","\n\n\n","import { computed, ref } from 'vue'\n\ninterface ListNoteCountTypes {\n systemMessage: number\n commentReply: number\n}\nexport const listNoteCountTypes = ref({\n commentReply: 0,\n systemMessage: 0,\n})\nexport const listNoteCountTypesSystemMessage = computed(() => listNoteCountTypes.value.systemMessage)\nexport const listNoteCountTypesCommentReply = computed(() => listNoteCountTypes.value.commentReply)\n","\n\n\n","\n\n\n"],"names":["openInNewTab","url","t","useI18n","noteType","ref","listAll","limit","offset","pageCount","useVModels","props","emit","listNoteStatus","listNote","listNoteCountAll","listNoteCountUnread","result","loading","onError","fetchMore","useQuery","gql","watchEffect","startProgress","stopProgress","listNotifications","useResult","data","errMsg","err","watch","previousQueryResult","fetchMoreResult","mutate","markAsReadLoading","onDone","markAsReadError","useMutation","markAsReadMutationCount","isMarkAll","markAsRead","markAll","noteType2","noteId","noteIsRead","listNoteCountTypes","listNoteCountTypesSystemMessage","computed","listNoteCountTypesCommentReply","listNoteRead","listNoteOpenID","item","note","route","useRoute","router","useRouter","setSiteTitle","noteDrawerOpen","listNoteCountStatus","page","listUnreadNotificationsCount","URLQuery","jumpToPreviousPage","query","jumpToNextPage","jumpToSelectedPage","page2","changeNoteType","type"],"mappings":"quBAAO,SAASA,GAAaC,EAAa,CACjC,OAAA,KAAKA,EAAK,QAAQ,CAC3B,ubCgGA,CAAA,EAAAC,GAAAC,IAEAC,EAAAC,EAAA,eAAA,EACAC,EAAAD,EAAA,EAAA,EACA,CAAA,MAAAE,EAAA,OAAAC,EAAA,UAAAC,CAAA,EAAAC,GAAAC,EAAAC,CAAA,EACAC,EAAAR,IACAS,EAAAT,EAAA,CAAA,CAAA,EAGAU,EAAAV,EAAA,CAAA,EACAW,EAAAX,EAAA,CAAA,EAEA,CAAA,OAAAY,EAAA,QAAAC,EAAA,QAA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,CACE,MAAAH,EAAA,KAAA,MAAA,KAAA,UAAAX,EAAA,KAAA,CAAA,EACAW,EAAA,KAAAG,EAAA,EACAZ,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAW,CAAA,CAAA,CAAuC,CAEzC,SAAAI,EAAAC,EAAA,CACE,MAAAL,EAAA,KAAA,MAAA,KAAA,UAAAX,EAAA,KAAA,CAAA,EACAW,EAAA,OAAAK,IAEAX,EAAA,MAAA,GACAM,EAAA,KAAA,EACAA,EAAA,KAAAK,EACAd,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAW,CAAA,CAAA,EAAuC"} \ No newline at end of file diff --git a/assets/Player.74106f66.js b/assets/Player.74106f66.js new file mode 100644 index 0000000000..6e14cff00f --- /dev/null +++ b/assets/Player.74106f66.js @@ -0,0 +1,22 @@ +import{d as yt,u as gt,y as H,m as d,Z as _t,U as E,aA as wt,z as p,aB as xt,av as Ye,q as L,aC as bt,a5 as kt,ag as Ge,_ as $t,B as ae,aD as Ct,o as u,g as r,J as z,O as X,e as n,f,i as U,P as C,t as O,F as de,h as ve,$ as J,b as $e,w as Ce,R as St,aE as Se,S as Tt,c as Bt,Q as Mt,ar as qt,as as Rt,at as Pt,a1 as Et}from"./index.72556674.js";import{t as Ft,n as Vt,_ as At}from"./PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js";/*! PatchyVideo/Platinum by VoileLabs */const Q=k=>(qt("data-v-c6badfac"),k=k(),Rt(),k),Wt=["crossorigin"],Ht=["crossorigin"],Lt=["src"],Ut={class:"m-2 flex justify-between"},Ot=["textContent"],jt=Q(()=>n("div",{class:"i-uil:setting text-white text-2xl"},null,-1)),Nt=[jt],Dt={class:"h-full m-0 align-middle"},zt={class:"absolute h-full w-full overflow-hidden"},Xt={key:0,class:"h-1/2 w-full"},Jt={key:1,class:"h-1/2 w-full"},Qt={key:2,class:"h-full w-full"},Yt=Q(()=>n("span",{class:"absolute right-0 top-0 w-3 h-3 -mt-1 -mr-1.5 bg-white rounded-full cursor-pointer"},null,-1)),Gt=[Yt],Zt={class:"flex flex-row justify-between flex-nowrap h-8 mx-4 my-1 text-white overflow-hidden"},Kt={class:"flex-grow-0 flex flex-row items-center"},It={key:0,class:"i-uil:spinner-alt text-2xl animate-spin"},ea={key:1,class:"i-uil:pause text-2xl"},ta={key:2,class:"i-uil:play text-2xl"},aa=Q(()=>n("div",{class:"px-1"},null,-1)),la={class:"flex flex-row items-center gap-2"},sa={key:0,class:"i-uil:volume"},ia={key:1,class:"i-uil:volume-mute"},oa={class:"lt-sm:hidden h-full m-0"},na=Q(()=>n("span",{class:"absolute -right-1.5 -top-1 w-3 h-3 bg-white rounded-full cursor-pointer"},null,-1)),ua=[na],ra={class:"flex-grow-0 flex items-center"},ca={key:0,class:"i-uil:expand-arrows-alt text-2xl"},da={key:1,class:"i-uil:compress-arrows text-2xl"},va=Q(()=>n("span",{class:"px-1"},null,-1)),fa={class:"px-2 pt-3 pb-2 font-medium"},pa=["textContent"],ha=["onClick","textContent"],ma=["onClick"],ya=["textContent"],ga={class:"inline-block float-right"},_a=["textContent"],wa=Q(()=>n("div",{class:"i-uil:arrow-right inline-block text-2xl align-middle"},null,-1)),xa={class:"flex justify-between"},ba={key:1,class:"absolute bottom-2 left-2 log overflow-y-scroll text-sm text-white"},ka=["textContent"],$a=yt({__name:"Player",props:{item:null,fullHeight:{type:Boolean,default:!1},disableFullscreen:{type:Boolean,default:!1}},setup(k){const le=k,Te=["144p","240p","360p","480p","720p","1080p","1440p","2160p","2880p","4320p"].reverse(),se=["webm_dash","mp4_dash","flv"],{t:c}=gt(),Y=H(null),y=d("video"),s=H(null),{width:Be}=_t(Y),Ze=E(()=>s.value&&s.value.videoWidth>0&&s.value.videoHeight>0?Be.value/s.value.videoWidth*s.value.videoHeight:Be.value/16*9),fe=d(""),F=d([]),ie=d(),w=d(!1),{isFullscreen:Me,toggle:qe}=wt(Y),o=H(null),x=d(!1),S=d(!1),Ke=E(()=>S.value&&(!w.value||x.value));let oe;p(s,"waiting",()=>{const{stop:t}=Se(()=>{S.value=!1},200);oe=t}),p(s,"canplay",()=>{oe&&(oe(),oe=void 0),S.value=!0});let ne;p(o,"waiting",()=>{const{stop:t}=Se(()=>{x.value=!1},200);ne=t}),p(o,"canplay",()=>{ne&&(ne(),ne=void 0),x.value=!0}),p(o,"timeupdate",()=>{!o.value.paused&&x.value&&(!s.value||!S.value||s.value.paused)&&o.value.pause()});const Re=d(!1),G=E(()=>Re.value||xt.value.includes("enable_cors_requests")),ue=d(!0);let Z;const Pe=Pt((t=200)=>{Z&&Z();const{stop:a}=Se(()=>{ue.value=!1},t,{immediate:!0});Z=a},200,!0);p(Y,"mousemove",()=>{Z&&Z(),ue.value=!0,Me.value&&Pe(800)}),p(Y,"mouseleave",()=>{Pe()});const j=d(!1),Ee=Ye("player_settings_sync_audio",!1),Fe=d(!1),pe=d(!1),re=E(()=>({default:{id:"default",name:c("video.player.settings.default.name"),items:[{type:"sub",to:"quality",text:c("video.player.settings.default.items.quality"),rightText:fe.value},{type:"check",text:c("video.player.settings.default.items.audio"),checked:Ee},...(()=>G.value?[{type:"check",text:c("video.player.settings.default.items.canvas"),checked:Fe},{type:"check",text:c("video.player.settings.default.items.canvas-transparent"),checked:pe}]:[])()]},quality:{id:"quality",name:c("video.player.settings.quality.name"),parent:"default",items:[...(()=>ie.value?[{type:"text",text:c("video.player.settings.quality.items.current-codec",{container:ie.value.container.replace(/_dash$/,""),codec:ie.value.vcodec||"unknown"})}]:[])(),...(()=>{const t=[];return F.value.forEach(a=>{t.includes(a.quality)||t.push(a.quality)}),t.map(a=>({type:"text",text:`${fe.value===a?"·":" "} ${a}`,onClick:()=>_e(a)}))})()]}})),N=d("default"),K=E(()=>re.value[N.value]),I=d(!1);L(N,(t,a)=>{I.value=t===re.value[a].parent});const Ie=()=>{N.value=K.value.parent},Ve=d(""),he=H(null),h=t=>{Ve.value+=t,Tt(()=>{he.value&&he.value.scrollIntoView({block:"end"})})},b=d(!1),ee=d(!1),et=()=>{ee.value||(ee.value=!0),b.value=!b.value},Ae=()=>{if(s.value&&S.value&&(!w.value||o.value&&x.value))try{s.value.currentTime===s.value.duration&&(s.value.currentTime=0,o.value&&(o.value.currentTime=0)),b.value&&s.value.paused&&s.value.play(),!b.value&&!s.value.paused&&s.value.pause()}catch{}};bt(Ae,500),L(b,Ae),p(s,"ended",()=>{b.value=!1}),kt(()=>{p(s,"play",()=>{w.value&&o.value&&(o.value.currentTime=s.value.currentTime,o.value.play())}),p(s,"pause",()=>{w.value&&o.value&&(o.value.currentTime=s.value.currentTime,o.value.pause())})});const M=d(0);p(s,"durationchange",()=>{M.value=s.value.duration});const q=d(!1),We=t=>{if(t){const a=[];let e=0;for(let l=0;l({isBuffer:l.isBuffer,start:l.start/M.value,end:l.end/M.value}))}else return[{isBuffer:!1,start:0,end:1}]},R=d(0),He=d(null),Le=E(()=>We(He.value)),Ue=d(null),tt=E(()=>We(Ue.value)),at=E(()=>R.value/M.value),V=H(null),Oe=()=>{s.value&&(s.value.currentTime=R.value),o.value&&(o.value.currentTime=R.value)};p(s,"timeupdate",()=>{R.value=s.value.currentTime,w.value&&(S.value&&x.value?(o.value&&Ee.value&&Math.abs(o.value.currentTime-R.value)>.1&&(o.value.currentTime=s.value.currentTime+(o.value.currentTime-R.value),o.value.play()),o.value&&o.value.paused&&!s.value.paused&&o.value.play(),o.value&&!o.value.paused&&s.value.paused&&o.value.pause()):(s.value.pause(),L(x,()=>{x.value&&b.value&&s.value.play()},{flush:"post"}))),s.value&&(He.value=s.value.buffered),o.value&&(Ue.value=o.value.buffered)}),p(V,"click",t=>{let a=(t.clientX-V.value.getBoundingClientRect().left)/V.value.clientWidth;a=Math.max(0,Math.min(1,a)),R.value=a*M.value,Oe()}),p(V,"mousedown",t=>{const a=p("mousemove",l=>{let i=(l.clientX-V.value.getBoundingClientRect().left)/V.value.clientWidth;i=Math.max(0,Math.min(1,i)),R.value=i*M.value}),e=p("mouseup",l=>{a(),e(),Oe()})});const T=Ye("player_settings_volume",.5,{listenToStorageChanges:!1}),me=d(!1);L([T,s,o,me],()=>{let t=T.value;me.value&&(t=1),s.value&&s.value.volume!==t&&(s.value.volume=t),o.value&&o.value.volume!==t&&(o.value.volume=t)});const A=H(null);p(A,"click",t=>{let a=(t.clientX-A.value.getBoundingClientRect().left)/A.value.clientWidth;a=Math.max(0,Math.min(1,a)),Number.isFinite(a)&&(T.value=a)}),p(A,"mousedown",t=>{const a=p("mousemove",l=>{let i=(l.clientX-A.value.getBoundingClientRect().left)/A.value.clientWidth;i=Math.max(0,Math.min(1,i)),Number.isFinite(i)&&(T.value=i)}),e=p("mouseup",l=>{a(),e()})});const lt=/(https:\/\/|http:\/\/)www.bilibili.com\/video\/av(\S+)\?p=(\S+)/,st=/(https:\/\/|http:\/\/)www.nicovideo.jp\/watch\/sm(\S+)/,it=/(https:\/\/|http:\/\/)www.youtube.com\/watch\?v=(\S+)/,ot=/(https:\/\/|http:\/\/)www.acfun.cn\/v\/ac(\S+)/,ye=d("");function nt(t){const a=lt.exec(t);if(a)return`//player.bilibili.com/player.html?aid=${a[2]}&page=${a[3]}`;const e=st.exec(t);if(e)return`//embed.nicovideo.jp/watch/sm${e[2]}`;const l=it.exec(t);if(l)return`https://www.youtube.com/embed/${l[2]}`;const i=ot.exec(t);if(i)return`https://www.acfun.cn/player/ac${i[2]}`}function ut(t){h(`${c("video.player.iframe.enable")} +`);const a=nt(t);return a?(ye.value=a,y.value="iframe",!0):(h(`${c("video.player.iframe.failed")} +`),!1)}const rt=(t,a,e=!1)=>`${e?"audio":"video"}/${t.replace(/_dash$/,"")}${a?`; codecs="${a}"`:""}`,ge=(t,a,e=!1)=>["flv"].includes(t)?!0:window.MediaSource.isTypeSupported(rt(t,a,e));let $;Ge(()=>{$==null||$.destroy()});async function _e(t){var a;if((!s.value||!o.value)&&await new Promise(e=>{L([s,o],([l,i])=>{l&&i&&e()})}),fe.value=t,$==null||$.destroy(),s.value){h(`${c("video.player.play-stream.source.video.source-changing")} +`);const e=(a=F.value.filter(i=>i.quality===t).find(i=>ge(i.container,i.vcodec)))!=null?a:F.value.find(i=>ge(i.container,i.vcodec));if(!e)return h(`${c("video.player.play-stream.source.video.source-nothing")} +`),!1;const l=e.audioStreams?e.audioStreams.sort((i,v)=>se.indexOf(i.container)-se.indexOf(v.container)).sort((i,v)=>{var m,g;return((m=i.tbr)!=null?m:0)-((g=v.tbr)!=null?g:0)}).reverse().find(i=>ge(i.container,i.acodec,!0)):void 0;if(e.audioStreams&&!l)return h(`${c("video.player.play-stream.source.audio.source-nothing")} +`),!1;try{switch(e.container){case"flv":{h(`${c("video.player.play-stream.container.flv.player-loading")} +`);try{const v=(await $t(()=>import("./flv.44cf4476.js").then(m=>m.f),["assets/flv.44cf4476.js","assets/index.72556674.js","assets/index.40792eff.css"])).default;h(`${c("video.player.play-stream.container.flv.parse-creating")} +`),"createPlayer"in v&&($=v.createPlayer({type:"flv",url:e.src[0].replace(/^http:/,"https:")}),$.attachMediaElement(s.value),h(`${c("video.player.play-stream.container.flv.source-loading")} +`),$.load(),$.on("metadata_arrived",()=>{h(`${c("video.player.play-stream.container.flv.player-loaded")} +`),q.value=!0}),w.value=!1)}catch(i){return h(`${c("video.player.play-stream.container.flv.player-failed")} +${i} +`),!1}return!0}case"webm_dash":case"mp4_dash":return h(`${c("video.player.play-stream.container.mp4_dash.source-loading")} +`),s.value.src=e.src[0],p(s,"canplay",()=>{h(`${c("video.player.play-stream.container.mp4_dash.player-loaded")} +`),ie.value=e,q.value=!0},{once:!0}),e.audioStreams&&(o.value.src=e.audioStreams[0].src[0],o.value.currentTime=s.value.currentTime,o.value.load(),w.value=!0),s.value.load(),!0}}catch(i){return h(`${c("video.player.play-stream.container.failed")} +${i} +`),!1}}}async function ct(t){try{h(`${c("video.player.video.address-parsing")} +`);const e=await(await fetch("https://patchyvideo.com/be/helper/get_video_stream",{method:"POST",credentials:"include",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({url:t})})).json();if(!e.data)return!1;switch(e.data.extractor){case"BiliBili":{F.value=e.data.streams;const l=F.value[0];if(h(`${c("video.player.video.profile.known-source",{source:"BiliBili",format:l.container,quality:l.quality})} +`),Re.value=!0,await _e(l.quality))return!0;break}case"Youtube":{let l=[];const i=[];e.data.streams.forEach(m=>{m.quality==="tiny"?i.push(m):l.push(m)}),l=l.map(m=>({...m,audioStreams:i})).sort((m,g)=>se.indexOf(m.container)-se.indexOf(g.container)).sort((m,g)=>Te.indexOf(m.quality)-Te.indexOf(g.quality)),F.value=l;const v=F.value[0];if(h(`${c("video.player.video.profile.known-source",{source:"Youtube",format:v.container,quality:v.quality})} +`),await _e(v.quality))return!0;break}default:{h(c("video.player.video.profile.unknown-source",{source:e.data.extractor}));break}}return!1}catch{return!1}}const dt=["youtube"];async function vt(t){return!!(dt.includes(t.site)&&await ct(t.url)||ut(t.url))}const je=d("");L(()=>le.item.url,async()=>{!le.item.url||(h(`${c("video.player.video.info-fetching")} +`),je.value=le.item.url,h(`${c("video.player.video.URL",{url:je.value})} +`),vt(le.item))},{immediate:!0});const Ne=H(null);{ae(()=>{!G.value&&y.value==="canvas"&&(y.value="iframe")}),ae(()=>{Fe.value?y.value="canvas":y.value==="canvas"&&(y.value="video")});let t,a,e,l,i,v,m,g,De=!1;const we=16;ae(()=>{G.value&&ee.value&&!De&&(ae(()=>{if(w.value&&o.value&&m!=="audio")g&&g(),t=new AudioContext,v=t.createMediaElementSource(o.value),m="audio";else if(!w.value&&s.value&&m!=="video")g&&g(),t=new AudioContext,v=t.createMediaElementSource(s.value),m="video";else return;a=t.createGain(),me.value=!0,e=t.createAnalyser(),e.minDecibels=-90,e.maxDecibels=-10,e.smoothingTimeConstant=.8,e.fftSize=4096,l=e.frequencyBinCount/16+we,i=new Uint8Array(l),t.state==="suspended"&&t.resume(),v.connect(a),v.connect(e),a.connect(t.destination),g=()=>{t==null||t.close(),v==null||v.disconnect(0),v=void 0,a==null||a.disconnect(0),a=void 0,e==null||e.disconnect(0),e=void 0,g=void 0}}),ae(()=>{a&&(a.gain.value=T.value)}),De=!0)}),Ge(()=>{g&&g()});let ft=0;const W=[],{pause:pt,resume:ht}=Ct(()=>{const D=Ne.value,xe=s.value;if(D&&!(xe!=null&&xe.paused)){const te=D.width=D.clientWidth,B=D.height=D.clientHeight,_=D.getContext("2d");if(!_)return;if(pe.value?_.clearRect(0,0,te,B):(_.fillStyle="rgb(0,0,0)",_.fillRect(0,0,te,B)),e&&l&&i){e.getByteFrequencyData(i);const P=Math.PI/12,ce=(te+B*Math.tan(P))/(l-we)-1;let be=0;for(const mt of i.slice(we)){const ke=mt/255;_.fillStyle=`rgba(255,255,255,${ke/2+.2})`,_.beginPath();const Xe=be-(1-ke)*B*Math.tan(P),Je=(1-ke)*B;_.moveTo(Xe,Je),_.lineTo(Xe+ce,Je+ce*Math.tan(P));const Qe=be-B*Math.tan(P);_.lineTo(Qe+ce/Math.cos(P)**2,B),_.lineTo(Qe,B),_.fill(),be+=ce+1}}{W.push(performance.now()),W.length>50&&W.shift(),_.fillStyle="rgb(255,255,255)";const P=`Frame: ${ft++} Width: ${te} Height: ${B} FPS: ${Math.floor(1e3/((W[W.length-1]-W[0])/W.length))}`,ze=(te-_.measureText(P).width)/2;_.fillText(P,ze,20)}}},{immediate:!1});L([y,b,S,x],()=>{y.value==="canvas"&&b.value&&S.value&&(!w.value||x.value)&&ht(),(y.value!=="canvas"||!b.value||!S.value||w.value&&!x.value)&&pt()},{immediate:!0})}return(t,a)=>(u(),r("div",{ref_key:"root",ref:Y,class:C(["root relative w-full bg-black overflow-hidden",{"h-full":k.fullHeight}]),style:J({height:k.fullHeight?void 0:`${f(Ze)}px`})},[z(n("video",{ref_key:"video",ref:s,class:"video w-full h-full focus:outline-none",playsinline:"",preload:"auto",crossorigin:f(G)?"":void 0},null,8,Wt),[[X,q.value&&(y.value==="video"||y.value==="canvas"&&pe.value)]]),n("audio",{ref_key:"audio",ref:o,class:"hidden",crossorigin:f(G)?"":void 0},null,8,Ht),y.value==="iframe"&&ye.value?(u(),r("iframe",{key:0,title:"Video Player",class:"block w-full h-full",src:ye.value,allow:"fullscreen",sandbox:"allow-scripts allow-popups-to-escape-sandbox allow-same-origin"},null,8,Lt)):U("",!0),z(n("canvas",{ref_key:"canvas",ref:Ne,class:"absolute top-0 w-full h-full"},null,512),[[X,y.value==="canvas"]]),z(n("div",{class:C(["absolute top-0 left-0 right-0 bg-black bg-opcity-75 transform transition-all ease-in-out duration-300",{"-translate-y-3/2":!j.value&&!ue.value&&ee.value}])},[n("div",Ut,[n("div",{class:C(["flex-nowrap text-white whitespace-nowrap overflow-hidden",{"ml-2":!k.item.title.startsWith("【")}]),textContent:O(k.item.title)},null,10,Ot),n("div",{onClick:a[0]||(a[0]=e=>j.value=!0)},Nt)])],2),[[X,q.value&&y.value!=="iframe"]]),z(n("div",{class:C(["absolute bottom-0 left-0 right-0 bg-black bg-opacity-75 transform transition-all ease-in-out duration-300",{"translate-y-3/2":!j.value&&!ue.value&&ee.value}])},[n("div",Dt,[n("div",{ref_key:"progressbar",ref:V,class:"relative w-full h-1 bg-gray-600 transition-all ease-in-out"},[n("div",zt,[w.value?(u(),r("div",Xt,[(u(!0),r(de,null,ve(f(Le),(e,l)=>(u(),r("div",{key:l,class:C(["absolute h-1/2",{"bg-orange-200":e.isBuffer}]),style:J({width:`${(e.end-e.start)*100}%`,left:`${e.start*100}%`})},null,6))),128))])):U("",!0),w.value?(u(),r("div",Jt,[(u(!0),r(de,null,ve(f(tt),(e,l)=>(u(),r("div",{key:l,class:C(["absolute h-1/2",{"bg-purple-400":e.isBuffer}]),style:J({width:`${(e.end-e.start)*100}%`,left:`${e.start*100}%`})},null,6))),128))])):(u(),r("div",Qt,[(u(!0),r(de,null,ve(f(Le),(e,l)=>(u(),r("div",{key:l,class:C(["absolute h-full",{"bg-orange-200":e.isBuffer}]),style:J({width:`${(e.end-e.start)*100}%`,left:`${e.start*100}%`})},null,6))),128))]))]),n("div",{class:"absolute h-full bg-purple-600",style:J({width:`${f(at)*100}%`})},Gt,4)],512)]),n("div",Zt,[n("div",Kt,[n("div",{class:"flex",onClick:et},[f(Ke)?b.value?(u(),r("div",ea)):(u(),r("div",ta)):(u(),r("div",It))]),aa,n("div",la,[n("div",{class:"flex items-center text-2xl",onClick:a[1]||(a[1]=()=>{T.value=f(T)?0:1})},[f(T)>0?(u(),r("div",sa)):(u(),r("div",ia))]),n("div",oa,[n("div",{ref_key:"volumebar",ref:A,class:"w-16 h-1 bg-gray-600 rounded-full transition-all ease-in-out"},[n("div",{class:"relative h-full left-0 bottom-0 bg-purple-600 rounded-l-full",style:J({width:`${f(T)*100}%`})},ua,4)],512)])])]),n("div",ra,[k.disableFullscreen?U("",!0):(u(),r("span",{key:0,class:"flex",onClick:a[2]||(a[2]=(...e)=>f(qe)&&f(qe)(...e))},[f(Me)?(u(),r("div",da)):(u(),r("div",ca))])),va])])],2),[[X,q.value&&y.value!=="iframe"]]),z(n("div",{class:"absolute top-0 bottom-0 left-0 right-0",onClick:a[3]||(a[3]=e=>j.value=!1)},null,512),[[X,q.value&&y.value!=="iframe"&&j.value]]),z(n("div",{class:C(["absolute top-0 bottom-0 right-0 bg-black transform transition-all duration-300 ease-in-out overflow-hidden",{"translate-x-full":!j.value}])},[$e(St,{"enter-active-class":I.value?"transition-all duration-250 transform":"absolute top-0 transform transition-all duration-250","leave-active-class":I.value?"absolute top-0 transform transition-all duration-250":"transition-all duration-250 transform","enter-from-class":I.value?"-translate-x-full":"translate-x-full","leave-to-class":I.value?"translate-x-full":"-translate-x-full"},{default:Ce(()=>{var e;return[(u(),r("div",{key:N.value,class:"text-white w-72 overflow-x-hidden divide-y-1 divide-gray-600"},[n("div",fa,[f(K).parent&&f(K).parent in f(re)?(u(),r("div",{key:0,class:"i-uil:arrow-left absolute text-2xl align-middle",onClick:Ie})):U("",!0),n("div",{class:"text-center select-none",textContent:O((e=f(K).name)!=null?e:N.value)},null,8,pa)]),(u(!0),r(de,null,ve(f(K).items,(l,i)=>(u(),r("div",{key:i,class:C(["px-2 py-1 whitespace-pre transform transition-all ease-in-out duration-100",{"hover:bg-gray-900 cursor-pointer":"onClick"in l||"to"in l}])},[l.type==="text"?(u(),r("div",{key:0,class:C(l.class),onClick:l.onClick,textContent:O(l.text)},null,10,ha)):l.type==="sub"&&l.to in f(re)?(u(),r("div",{key:1,onClick:v=>N.value=l.to},[n("div",{class:"inline-block",textContent:O(l.text)},null,8,ya),n("div",ga,[l.rightText?(u(),r("span",{key:0,class:"text-gray-300",textContent:O(l.rightText)},null,8,_a)):U("",!0),wa])],8,ma)):l.type==="check"?(u(),Bt(f(Ft),{key:2},{default:Ce(()=>[n("div",xa,[$e(f(Vt),{class:"select-none"},{default:Ce(()=>[Mt(O(l.text),1)]),_:2},1024),$e(At,{modelValue:l.checked.value,"onUpdate:modelValue":v=>l.checked.value=v,size:"sm"},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1024)):U("",!0)],2))),128))]))]}),_:1},8,["enter-active-class","leave-active-class","enter-from-class","leave-to-class"])],2),[[X,q.value&&y.value!=="iframe"]]),!q.value&&y.value!=="iframe"?(u(),r("div",ba,[n("p",{ref_key:"logEl",ref:he,class:"whitespace-pre",textContent:O(Ve.value)},null,8,ka)])):U("",!0)],6))}});const Ta=Et($a,[["__scopeId","data-v-c6badfac"]]);export{Ta as P}; +//# sourceMappingURL=Player.74106f66.js.map diff --git a/assets/Player.74106f66.js.map b/assets/Player.74106f66.js.map new file mode 100644 index 0000000000..f3c336d5e9 --- /dev/null +++ b/assets/Player.74106f66.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"2zEA2TAA,0FACAC,kCAEA,WAEAC,UACAC,aACAC,UACA,iBACAC,KAAe,sHAGY,EAI3BC,SACAC,QACAC,OACAC,QAGA,kCAGAC,UAEAC,QACAC,QACAC,uCACA,OACAC,mBACE,sBACEF,UAAmB,OAErBG,IAAgB,GAElBD,mBACEC,KACEA,KACAA,WAEFH,UAAmB,GAErB,OACAE,mBACE,sBACEH,UAAmB,OAErBK,IAAgB,GAElBF,mBACEE,KACEA,KACAA,WAEFL,UAAmB,GAErBG,sBACE,gEACEJ,eAAmB,GAGvB,eACAO,6DAGAC,SACA,MACA,sBACEC,GACEA,IACF,iBAAiB,KAEbD,WAAuB,EACzBE,EACA,cACkB,EAEpBD,GAAqB,UAEvBL,qBACEK,GACEA,IACFD,YACAG,UACEC,OAAyB,GAE7BR,sBACEQ,IAAsB,GAIxB,cAEAC,uCACAC,SACAC,SAEAC,WAA8D,SACnD,aACH,6CACwC,OACrC,CACL,WACQ,aACF,sDACiD,kBAC5B,EAC3B,CACA,aACQ,oDAC6C,UAC1C,EACX,iBAGO,CACC,aACQ,qDAC8C,UAC3C,EACX,CACA,aACQ,iEAC0D,UACvD,CACX,OAEE,CACZ,EACF,SACS,aACH,6CACwC,iBACpC,OACD,QAEHlB,UACK,CACC,YACQ,4DACuD,kDACE,gCACxB,EACtC,CACH,MAED,EACJ,SAED,WACA,2BACEmB,uBACEA,iBAA6B,GAEjCA,WAAiC,YACzB,oCACkD,iBACvB,GACjC,IACD,CACL,CACF,IAGFC,eACAC,2BAEAC,QACAC,YACED,8BAA8C,GAEhD,cACEF,sBAAwD,EAI1DI,SACAC,WACAC,MAEEF,YACAG,QACEF,UACEA,yBAA2B,WAClB,EAEX,EACD,EAIHG,QACAC,SACAC,QACED,WACEA,aACFD,gBAAyB,EAE3BG,QACE,kDACE,IACEnC,yCACEA,sBACAM,UACEA,wBAEJ0B,yBACEhC,eACF,2BACEA,eAAkB,OAEtB,CAGF,EAEFoC,WACAT,QACAjB,iBACEsB,UAAgB,GAElBK,QA+BE3B,gBACEL,mBACEC,wCACAA,eACF,GAEFI,iBACEL,mBACEC,wCACAA,gBACF,EACD,GAEH,aACAI,0BACE4B,wBAA8B,GAEhC,cAGAC,OACE,MACE,WACA,QACA,2BACEC,cACEC,QAAY,YACA,QACH,cACY,GAGvBA,QAAY,YACA,iBACW,YACJ,GAEnBD,WAEF,kBACEC,QAAY,YACA,QACH,WACO,GAGlBA,WAAwB,oBACV,sBACc,iBACJ,GACtB,KAGF,QAAO,CACL,YACY,QACH,KACF,CACP,CAEJ,EAEFC,OACAC,WACAC,uBACAC,WACAC,uBAEAC,0BACAC,UACAC,QACEjD,UACEA,6BACFM,UACEA,4BAAsC,EAE1CI,sBACEgC,4BACArC,UACEG,kBAOEF,8DACEA,sEACAA,gBAEFA,0CACEA,eACFA,0CACEA,kBAGFN,gBACA2B,IACE,KAEEpB,kBACEP,cAAkB,EACtB,cACgB,IAItBA,UACE2C,2BACFrC,UACEuC,0BAAsC,GAQ1CnC,gBACE,2EACAwC,4BACAR,kBACAO,IAAkB,GAEpBvC,oBACE,0BACE,2EACAwC,4BACAR,iBAA0C,GAE5CS,kBACEC,IACAD,IACAF,IAAkB,EACnB,GAIH,oEACAI,SACA1B,kBACE,cACA0B,WACEC,KACFtD,8BACEA,kBACFM,8BACEA,iBAAqB,GAEzB,gBACAI,gBACE,2EACAwC,4BACA,qBACEK,UAAe,GAEnB7C,oBACE,0BACE,2EACAwC,4BACA,qBACEK,UAAe,GAEnBJ,kBACEC,IACAD,GAAY,EACb,GAIH,2EACAK,4DACAC,2DACAC,oDACAC,SACA,eACE,mBACA,KACE,mEACF,mBACA,KACE,6CACF,mBACA,KACE,8CACF,mBACA,KACE,6CAA4C,CAEhD,eACE7B;AAAA,CAAqC,EACrC,cACA,UAIA6B,WACA5D,iBACA,KALE+B;AAAA,CAAqC,EACrC,GAIK,CAIT,+FAEA8B,eACE,oBACE,GACF,8CAEF,MACAC,QACEC,oBAAmB,GAErB,2BAgBE,IAfA,qBACE,sBACEnC,QACe,UAEXoC,MACEC,GAAQ,CACZ,CACF,GAGJ9D,WAEA4D,qBAEA9D,SACE8B;AAAA,CAAgE,EAChE,iIAGA,MACE;AAAA,CAA+D,EAC/D,GAEF,kOAOA,sBACE;AAAA,CAA+D,EAC/D,GAIF,IACE,oBAA0B,WAEtBA;AAAA,CAAgE,EAChE,IAEE,SADA,0IACA,QACAA;AAAA,CAAgE,EAChE,qBACEgC,kBAA+B,WACvB,uCACuC,GAE/CA,8BACAhC;AAAA,CAAgE,EAChEgC,SACAA,6BACEhC;AAAA,CAA+D,EAC/DmC,UAA0B,GAE5B5D,WACF,UAGA;AAAA,EAA+D6D;AAAA,CAAM,EACrE,EAAO,CAET,QAAO,CACT,gBACK,eAEH;AAAA,CAAqE,EACrElE,qBACAU,IACE,UACA,KAEEoB;AAAA,CAAoE,EACpE1B,WACA6D,UAA0B,EAC5B,SACa,EAEfE,iBACE7D,qCACAA,wCACAA,eACAD,YAEFL,eACA,EACF,CACF,UAGA;AAAA,EAAoDkE;AAAA,CAAM,EAC1D,EAAO,CACT,CACF,CAEF,qBACE,IACEpC;AAAA,CAA6C,EAW7C,cAVA,kEAA8E,cACpE,sBACK,qBACQ,iCACH,GACjB,qBACoB,KACnB,EACD,IAEH,OACA,WACE,SAEF,yBAA+B,gBAE3B3B,uBACA,mBASA,GARA2B,kDACkD,kBACtC,mBACO,iBACC;AAAA,CACjB,EAEHsC,YACA,oBACE,SACF,MACF,eAEE,SACA,WACAC,2BACEC,mBACEC,UAEAC,SAAkC,GAEtCA,0JAIArE,UACA,mBASA,GARA2B,kDACkD,iBACtC,mBACO,iBACC;AAAA,CACjB,EAGH,oBACE,SACF,MACF,SAEEA,4EACA,MACF,CAEF,QAAO,OAGP,QAAO,CACT,CAGF,UAAwB,SACtB,EAKF,qBAME,MALA,wBACE,iBAIF2C,UAEO,CAGT,eACA9C,kBACmB,UAEf,eAEAG;AAAA,CAA2C,EAC3C4C,qBACA5C;AAAA,CAAqD,EACrD6C,YAAoB,EACtB,CACA,YACa,CACb,EAGF,iBACA,CACEC,QACE,+BACE7E,iBAAkB,GAEtB6E,QACExD,SACErB,iBAAkBA,qBAGlBA,gBAAkB,GAEtB,MACA8E,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,MACA,YACAR,QACE/D,yBACE+D,QACE,iCACEO,GACEA,IACFE,mBACAJ,sCACAC,kBAAkB,+BAGlBC,GACEA,IACFE,mBACAJ,sCACAC,cAGA,QAEFL,iBACAxB,YACAyB,qBACAA,kBACAA,kBACAA,2BACAA,eACAC,4BACAC,oBAEAK,uBACEA,WACFJ,aACAA,aACAJ,yBACAM,OACEE,mBACAJ,yBACAA,SACAJ,yBACAA,SACAC,yBACAA,SACAK,QAAQ,CACV,GAEFP,QACEC,IACEA,qBAA6B,GAEjCO,MACF,GAEFvB,QACEsB,GACEA,GAAM,GAEV,SACA,WACA,wBAAiE,KAE7D,iBACAG,WACA,8BACE,+BACAC,0BACAC,qBACA,MACE,OAYF,GATAnE,SACEmE,uBAGAA,yBACAA,sBAIFV,SACEA,0BACA,mBAEAW,IADAC,mBACAX,QACA,SACA,6BACE,gBACAS,2CACAA,cACA,iCACAG,YACAH,gBACAA,kCACA,0BACAA,iCACAA,eACAA,SACAI,QAAS,CACX,CAIF,CACEC,0BACAA,aACEA,UACFL,+BACA,oEAA8E,mCACvB,IAEvDC,iCACAD,mBAAwB,CAC1B,CACF,EACF,cACmB,EAErB7D,YAC6C,KAEzC5B,2DAME+F,MACF/F,4DAMEgG,IAAkB,EACtB,cACkB,CACpB","names":["qualities","formats","root","usePlayer","video","height","streamQuality","streams","currentStream","hasAudioStream","audio","audioReady","videoReady","streamsReady","useEventListener","stopVideoWait","stopAudioWait","crossorigin","showControlBar","stopHideControlBar","delay","isFullscreen","delayedHideControlBar","syncAudio","useCanvas","canvasTransparent","settings","qualities2","activeSettingsItemName","activeSettingsItem","transToParent","watch","logText","logEl","log","nextTick","playing","userClickedPlaying","onPlayPause","updatePlaying","useIntervalFn","onMounted","duration","computeLoadedRanges","last","ranges","currentTime","videoLoadedAmount","videoLoadedRanges","audioLoadedAmount","audioLoadedRanges","progress","progressbar","updateCurrentTime","percentage","stopMouseUp","stopMouseMove","keepElementVolume","target","volume","regNico","regU2b","regAcf","iframeUrl","isContainerSupported","onUnmounted","flvPlayer","video2","resolve","videoElementReady","e","stream","videoHasCors","result","s","audioStreams","videoStreams","loadIframe","url","loadVideo","watchEffect","gainNode","analyser","frequencyBufferLength","frequencyBuffer","source","audioSourceType","clear","watched","audioCtx","vid","height2","ctx","w","width2","by","x","ltrds","resumeCanvasRender","pauseCanvasRender"],"sources":["../../packages/video/components/Player.vue"],"sourcesContent":["\n\n\n\n\n"],"file":"assets/Player.74106f66.js"} \ No newline at end of file diff --git a/assets/Player.79dbd7ef.css b/assets/Player.79dbd7ef.css new file mode 100644 index 0000000000..f55a2f7ff3 --- /dev/null +++ b/assets/Player.79dbd7ef.css @@ -0,0 +1 @@ +.log[data-v-c6badfac]::-webkit-scrollbar{display:none;width:0px;background:transparent}.log[data-v-c6badfac]{-ms-overflow-style:none;scrollbar-width:none} diff --git a/assets/Playlist.77c78238.css b/assets/Playlist.77c78238.css new file mode 100644 index 0000000000..0b59433dfb --- /dev/null +++ b/assets/Playlist.77c78238.css @@ -0,0 +1,10 @@ +pre code.hljs[data-v-ab22c362]{display:block;overflow-x:auto;padding:1em}code.hljs[data-v-ab22c362]{padding:3px 5px}/*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS +*/.hljs[data-v-ab22c362]{color:#24292e;background:#fff}.hljs-doctag[data-v-ab22c362],.hljs-keyword[data-v-ab22c362],.hljs-meta .hljs-keyword[data-v-ab22c362],.hljs-template-tag[data-v-ab22c362],.hljs-template-variable[data-v-ab22c362],.hljs-type[data-v-ab22c362],.hljs-variable.language_[data-v-ab22c362]{color:#d73a49}.hljs-title[data-v-ab22c362],.hljs-title.class_[data-v-ab22c362],.hljs-title.class_.inherited__[data-v-ab22c362],.hljs-title.function_[data-v-ab22c362]{color:#6f42c1}.hljs-attr[data-v-ab22c362],.hljs-attribute[data-v-ab22c362],.hljs-literal[data-v-ab22c362],.hljs-meta[data-v-ab22c362],.hljs-number[data-v-ab22c362],.hljs-operator[data-v-ab22c362],.hljs-selector-attr[data-v-ab22c362],.hljs-selector-class[data-v-ab22c362],.hljs-selector-id[data-v-ab22c362],.hljs-variable[data-v-ab22c362]{color:#005cc5}.hljs-meta .hljs-string[data-v-ab22c362],.hljs-regexp[data-v-ab22c362],.hljs-string[data-v-ab22c362]{color:#032f62}.hljs-built_in[data-v-ab22c362],.hljs-symbol[data-v-ab22c362]{color:#e36209}.hljs-code[data-v-ab22c362],.hljs-comment[data-v-ab22c362],.hljs-formula[data-v-ab22c362]{color:#6a737d}.hljs-name[data-v-ab22c362],.hljs-quote[data-v-ab22c362],.hljs-selector-pseudo[data-v-ab22c362],.hljs-selector-tag[data-v-ab22c362]{color:#22863a}.hljs-subst[data-v-ab22c362]{color:#24292e}.hljs-section[data-v-ab22c362]{color:#005cc5;font-weight:700}.hljs-bullet[data-v-ab22c362]{color:#735c0f}.hljs-emphasis[data-v-ab22c362]{color:#24292e;font-style:italic}.hljs-strong[data-v-ab22c362]{color:#24292e;font-weight:700}.hljs-addition[data-v-ab22c362]{color:#22863a;background-color:#f0fff4}.hljs-deletion[data-v-ab22c362]{color:#b31d28;background-color:#ffeef0}.prose[data-v-ab22c362]{max-width:inherit} diff --git a/assets/Playlist.a2ddeab9.js b/assets/Playlist.a2ddeab9.js new file mode 100644 index 0000000000..54cec97929 --- /dev/null +++ b/assets/Playlist.a2ddeab9.js @@ -0,0 +1,42 @@ +import{_ as Sn,c as xn,b as Tn}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{ae as Q1,d as on,m as Re,q as An,y as Ge,aw as cn,S as ln,o as oe,g as ue,e as K,P as un,a1 as On,u as Rn,U as J1,D as In,G as kn,H as Mn,B as j1,Z as Dn,c as et,w as Le,ap as Cn,aq as Ln,f as B,t as ve,Q as Je,i as fe,b as Te,$ as qn,F as tt,h as Bn,ac as Un,j as nt,s as Pn}from"./index.72556674.js";import{M as Fn,l as zn,f as $n,U as Hn}from"./UserAvatarPopper.a1f280ca.js";import{s as Gn}from"./setSiteTitle.db0fa839.js";import{a as rt}from"./imageUrl.5afb7f35.js";import{p as Kn}from"./biliHelper.9b20d4b7.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const Vn=new Uint16Array([7489,60,213,305,650,1181,1403,1488,1653,1758,1954,2006,2063,2634,2705,3489,3693,3849,3878,4298,4648,4833,5141,5277,5315,5343,5413,0,0,0,0,0,0,5483,5837,6541,7186,7645,8062,8288,8624,8845,9152,9211,9282,10276,10514,11528,11848,12238,12310,12986,13881,14252,14590,14888,14961,15072,15150,2048,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,98,102,109,115,127,132,139,144,149,152,166,179,185,200,207,108,105,103,32827,198,16582,80,32827,38,16422,99,117,116,101,32827,193,16577,114,101,118,101,59,16642,256,105,121,120,125,114,99,32827,194,16578,59,17424,114,59,49152,55349,56580,114,97,118,101,32827,192,16576,112,104,97,59,17297,97,99,114,59,16640,100,59,27219,256,103,112,157,161,111,110,59,16644,102,59,49152,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,24673,105,110,103,32827,197,16581,256,99,115,190,195,114,59,49152,55349,56476,105,103,110,59,25172,105,108,100,101,32827,195,16579,109,108,32827,196,16580,1024,97,99,101,102,111,114,115,117,229,251,254,279,284,290,295,298,256,99,114,234,242,107,115,108,97,115,104,59,25110,374,246,248,59,27367,101,100,59,25350,121,59,17425,384,99,114,116,261,267,276,97,117,115,101,59,25141,110,111,117,108,108,105,115,59,24876,97,59,17298,114,59,49152,55349,56581,112,102,59,49152,55349,56633,101,118,101,59,17112,99,242,275,109,112,101,113,59,25166,1792,72,79,97,99,100,101,102,104,105,108,111,114,115,117,333,337,342,384,414,418,437,439,442,476,533,627,632,638,99,121,59,17447,80,89,32827,169,16553,384,99,112,121,349,354,378,117,116,101,59,16646,256,59,105,359,360,25298,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,24901,108,101,121,115,59,24877,512,97,101,105,111,393,398,404,408,114,111,110,59,16652,100,105,108,32827,199,16583,114,99,59,16648,110,105,110,116,59,25136,111,116,59,16650,256,100,110,423,429,105,108,108,97,59,16568,116,101,114,68,111,116,59,16567,242,383,105,59,17319,114,99,108,101,512,68,77,80,84,455,459,465,470,111,116,59,25241,105,110,117,115,59,25238,108,117,115,59,25237,105,109,101,115,59,25239,111,256,99,115,482,504,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25138,101,67,117,114,108,121,256,68,81,515,527,111,117,98,108,101,81,117,111,116,101,59,24605,117,111,116,101,59,24601,512,108,110,112,117,542,552,583,597,111,110,256,59,101,549,550,25143,59,27252,384,103,105,116,559,566,570,114,117,101,110,116,59,25185,110,116,59,25135,111,117,114,73,110,116,101,103,114,97,108,59,25134,256,102,114,588,590,59,24834,111,100,117,99,116,59,25104,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25139,111,115,115,59,27183,99,114,59,49152,55349,56478,112,256,59,67,644,645,25299,97,112,59,25165,1408,68,74,83,90,97,99,101,102,105,111,115,672,684,688,692,696,715,727,737,742,819,1165,256,59,111,377,677,116,114,97,104,100,59,26897,99,121,59,17410,99,121,59,17413,99,121,59,17423,384,103,114,115,703,708,711,103,101,114,59,24609,114,59,24993,104,118,59,27364,256,97,121,720,725,114,111,110,59,16654,59,17428,108,256,59,116,733,734,25095,97,59,17300,114,59,49152,55349,56583,256,97,102,747,807,256,99,109,752,802,114,105,116,105,99,97,108,512,65,68,71,84,768,774,790,796,99,117,116,101,59,16564,111,372,779,781,59,17113,98,108,101,65,99,117,116,101,59,17117,114,97,118,101,59,16480,105,108,100,101,59,17116,111,110,100,59,25284,102,101,114,101,110,116,105,97,108,68,59,24902,1136,829,0,0,0,834,852,0,1029,102,59,49152,55349,56635,384,59,68,69,840,841,845,16552,111,116,59,24796,113,117,97,108,59,25168,98,108,101,768,67,68,76,82,85,86,867,882,898,975,994,1016,111,110,116,111,117,114,73,110,116,101,103,114,97,236,569,111,628,889,0,0,891,187,841,110,65,114,114,111,119,59,25043,256,101,111,903,932,102,116,384,65,82,84,912,918,929,114,114,111,119,59,25040,105,103,104,116,65,114,114,111,119,59,25044,101,229,714,110,103,256,76,82,939,964,101,102,116,256,65,82,947,953,114,114,111,119,59,26616,105,103,104,116,65,114,114,111,119,59,26618,105,103,104,116,65,114,114,111,119,59,26617,105,103,104,116,256,65,84,984,990,114,114,111,119,59,25042,101,101,59,25256,112,577,1001,0,0,1007,114,114,111,119,59,25041,111,119,110,65,114,114,111,119,59,25045,101,114,116,105,99,97,108,66,97,114,59,25125,110,768,65,66,76,82,84,97,1042,1066,1072,1118,1151,892,114,114,111,119,384,59,66,85,1053,1054,1058,24979,97,114,59,26899,112,65,114,114,111,119,59,25077,114,101,118,101,59,17169,101,102,116,722,1082,0,1094,0,1104,105,103,104,116,86,101,99,116,111,114,59,26960,101,101,86,101,99,116,111,114,59,26974,101,99,116,111,114,256,59,66,1113,1114,25021,97,114,59,26966,105,103,104,116,468,1127,0,1137,101,101,86,101,99,116,111,114,59,26975,101,99,116,111,114,256,59,66,1146,1147,25025,97,114,59,26967,101,101,256,59,65,1158,1159,25252,114,114,111,119,59,24999,256,99,116,1170,1175,114,59,49152,55349,56479,114,111,107,59,16656,2048,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1213,1216,1220,1227,1246,1250,1255,1262,1269,1313,1327,1334,1362,1373,1376,1381,71,59,16714,72,32827,208,16592,99,117,116,101,32827,201,16585,384,97,105,121,1234,1239,1244,114,111,110,59,16666,114,99,32827,202,16586,59,17453,111,116,59,16662,114,59,49152,55349,56584,114,97,118,101,32827,200,16584,101,109,101,110,116,59,25096,256,97,112,1274,1278,99,114,59,16658,116,121,595,1286,0,0,1298,109,97,108,108,83,113,117,97,114,101,59,26107,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26027,256,103,112,1318,1322,111,110,59,16664,102,59,49152,55349,56636,115,105,108,111,110,59,17301,117,256,97,105,1340,1353,108,256,59,84,1346,1347,27253,105,108,100,101,59,25154,108,105,98,114,105,117,109,59,25036,256,99,105,1367,1370,114,59,24880,109,59,27251,97,59,17303,109,108,32827,203,16587,256,105,112,1386,1391,115,116,115,59,25091,111,110,101,110,116,105,97,108,69,59,24903,640,99,102,105,111,115,1413,1416,1421,1458,1484,121,59,17444,114,59,49152,55349,56585,108,108,101,100,595,1431,0,0,1443,109,97,108,108,83,113,117,97,114,101,59,26108,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26026,880,1466,0,1471,0,0,1476,102,59,49152,55349,56637,65,108,108,59,25088,114,105,101,114,116,114,102,59,24881,99,242,1483,1536,74,84,97,98,99,100,102,103,111,114,115,116,1512,1516,1519,1530,1536,1554,1558,1563,1565,1571,1644,1650,99,121,59,17411,32827,62,16446,109,109,97,256,59,100,1527,1528,17299,59,17372,114,101,118,101,59,16670,384,101,105,121,1543,1548,1552,100,105,108,59,16674,114,99,59,16668,59,17427,111,116,59,16672,114,59,49152,55349,56586,59,25305,112,102,59,49152,55349,56638,101,97,116,101,114,768,69,70,71,76,83,84,1589,1604,1614,1622,1627,1638,113,117,97,108,256,59,76,1598,1599,25189,101,115,115,59,25307,117,108,108,69,113,117,97,108,59,25191,114,101,97,116,101,114,59,27298,101,115,115,59,25207,108,97,110,116,69,113,117,97,108,59,27262,105,108,100,101,59,25203,99,114,59,49152,55349,56482,59,25195,1024,65,97,99,102,105,111,115,117,1669,1675,1686,1691,1694,1706,1726,1738,82,68,99,121,59,17450,256,99,116,1680,1684,101,107,59,17095,59,16478,105,114,99,59,16676,114,59,24844,108,98,101,114,116,83,112,97,99,101,59,24843,496,1711,0,1714,102,59,24845,105,122,111,110,116,97,108,76,105,110,101,59,25856,256,99,116,1731,1733,242,1705,114,111,107,59,16678,109,112,324,1744,1752,111,119,110,72,117,109,240,303,113,117,97,108,59,25167,1792,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1786,1790,1795,1799,1806,1818,1822,1825,1832,1860,1912,1931,1935,1941,99,121,59,17429,108,105,103,59,16690,99,121,59,17409,99,117,116,101,32827,205,16589,256,105,121,1811,1816,114,99,32827,206,16590,59,17432,111,116,59,16688,114,59,24849,114,97,118,101,32827,204,16588,384,59,97,112,1824,1839,1855,256,99,103,1844,1847,114,59,16682,105,110,97,114,121,73,59,24904,108,105,101,243,989,500,1865,0,1890,256,59,101,1869,1870,25132,256,103,114,1875,1880,114,97,108,59,25131,115,101,99,116,105,111,110,59,25282,105,115,105,98,108,101,256,67,84,1900,1906,111,109,109,97,59,24675,105,109,101,115,59,24674,384,103,112,116,1919,1923,1928,111,110,59,16686,102,59,49152,55349,56640,97,59,17305,99,114,59,24848,105,108,100,101,59,16680,491,1946,0,1950,99,121,59,17414,108,32827,207,16591,640,99,102,111,115,117,1964,1975,1980,1986,2e3,256,105,121,1969,1973,114,99,59,16692,59,17433,114,59,49152,55349,56589,112,102,59,49152,55349,56641,483,1991,0,1996,114,59,49152,55349,56485,114,99,121,59,17416,107,99,121,59,17412,896,72,74,97,99,102,111,115,2020,2024,2028,2033,2045,2050,2056,99,121,59,17445,99,121,59,17420,112,112,97,59,17306,256,101,121,2038,2043,100,105,108,59,16694,59,17434,114,59,49152,55349,56590,112,102,59,49152,55349,56642,99,114,59,49152,55349,56486,1408,74,84,97,99,101,102,108,109,111,115,116,2085,2089,2092,2128,2147,2483,2488,2503,2509,2615,2631,99,121,59,17417,32827,60,16444,640,99,109,110,112,114,2103,2108,2113,2116,2125,117,116,101,59,16697,98,100,97,59,17307,103,59,26602,108,97,99,101,116,114,102,59,24850,114,59,24990,384,97,101,121,2135,2140,2145,114,111,110,59,16701,100,105,108,59,16699,59,17435,256,102,115,2152,2416,116,1280,65,67,68,70,82,84,85,86,97,114,2174,2217,2225,2272,2278,2300,2351,2395,912,2410,256,110,114,2179,2191,103,108,101,66,114,97,99,107,101,116,59,26600,114,111,119,384,59,66,82,2201,2202,2206,24976,97,114,59,25060,105,103,104,116,65,114,114,111,119,59,25030,101,105,108,105,110,103,59,25352,111,501,2231,0,2243,98,108,101,66,114,97,99,107,101,116,59,26598,110,468,2248,0,2258,101,101,86,101,99,116,111,114,59,26977,101,99,116,111,114,256,59,66,2267,2268,25027,97,114,59,26969,108,111,111,114,59,25354,105,103,104,116,256,65,86,2287,2293,114,114,111,119,59,24980,101,99,116,111,114,59,26958,256,101,114,2305,2327,101,384,59,65,86,2313,2314,2320,25251,114,114,111,119,59,24996,101,99,116,111,114,59,26970,105,97,110,103,108,101,384,59,66,69,2340,2341,2345,25266,97,114,59,27087,113,117,97,108,59,25268,112,384,68,84,86,2359,2370,2380,111,119,110,86,101,99,116,111,114,59,26961,101,101,86,101,99,116,111,114,59,26976,101,99,116,111,114,256,59,66,2390,2391,25023,97,114,59,26968,101,99,116,111,114,256,59,66,2405,2406,25020,97,114,59,26962,105,103,104,116,225,924,115,768,69,70,71,76,83,84,2430,2443,2453,2461,2466,2477,113,117,97,108,71,114,101,97,116,101,114,59,25306,117,108,108,69,113,117,97,108,59,25190,114,101,97,116,101,114,59,25206,101,115,115,59,27297,108,97,110,116,69,113,117,97,108,59,27261,105,108,100,101,59,25202,114,59,49152,55349,56591,256,59,101,2493,2494,25304,102,116,97,114,114,111,119,59,25050,105,100,111,116,59,16703,384,110,112,119,2516,2582,2587,103,512,76,82,108,114,2526,2551,2562,2576,101,102,116,256,65,82,2534,2540,114,114,111,119,59,26613,105,103,104,116,65,114,114,111,119,59,26615,105,103,104,116,65,114,114,111,119,59,26614,101,102,116,256,97,114,947,2570,105,103,104,116,225,959,105,103,104,116,225,970,102,59,49152,55349,56643,101,114,256,76,82,2594,2604,101,102,116,65,114,114,111,119,59,24985,105,103,104,116,65,114,114,111,119,59,24984,384,99,104,116,2622,2624,2626,242,2124,59,25008,114,111,107,59,16705,59,25194,1024,97,99,101,102,105,111,115,117,2650,2653,2656,2679,2684,2693,2699,2702,112,59,26885,121,59,17436,256,100,108,2661,2671,105,117,109,83,112,97,99,101,59,24671,108,105,110,116,114,102,59,24883,114,59,49152,55349,56592,110,117,115,80,108,117,115,59,25107,112,102,59,49152,55349,56644,99,242,2678,59,17308,1152,74,97,99,101,102,111,115,116,117,2723,2727,2733,2752,2836,2841,3473,3479,3486,99,121,59,17418,99,117,116,101,59,16707,384,97,101,121,2740,2745,2750,114,111,110,59,16711,100,105,108,59,16709,59,17437,384,103,115,119,2759,2800,2830,97,116,105,118,101,384,77,84,86,2771,2783,2792,101,100,105,117,109,83,112,97,99,101,59,24587,104,105,256,99,110,2790,2776,235,2777,101,114,121,84,104,105,238,2777,116,101,100,256,71,76,2808,2822,114,101,97,116,101,114,71,114,101,97,116,101,242,1651,101,115,115,76,101,115,243,2632,76,105,110,101,59,16394,114,59,49152,55349,56593,512,66,110,112,116,2850,2856,2871,2874,114,101,97,107,59,24672,66,114,101,97,107,105,110,103,83,112,97,99,101,59,16544,102,59,24853,1664,59,67,68,69,71,72,76,78,80,82,83,84,86,2901,2902,2922,2940,2977,3051,3076,3166,3204,3238,3288,3425,3461,27372,256,111,117,2907,2916,110,103,114,117,101,110,116,59,25186,112,67,97,112,59,25197,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,25126,384,108,113,120,2947,2954,2971,101,109,101,110,116,59,25097,117,97,108,256,59,84,2962,2963,25184,105,108,100,101,59,49152,8770,824,105,115,116,115,59,25092,114,101,97,116,101,114,896,59,69,70,71,76,83,84,2998,2999,3005,3017,3027,3032,3045,25199,113,117,97,108,59,25201,117,108,108,69,113,117,97,108,59,49152,8807,824,114,101,97,116,101,114,59,49152,8811,824,101,115,115,59,25209,108,97,110,116,69,113,117,97,108,59,49152,10878,824,105,108,100,101,59,25205,117,109,112,324,3058,3069,111,119,110,72,117,109,112,59,49152,8782,824,113,117,97,108,59,49152,8783,824,101,256,102,115,3082,3111,116,84,114,105,97,110,103,108,101,384,59,66,69,3098,3099,3105,25322,97,114,59,49152,10703,824,113,117,97,108,59,25324,115,768,59,69,71,76,83,84,3125,3126,3132,3140,3147,3160,25198,113,117,97,108,59,25200,114,101,97,116,101,114,59,25208,101,115,115,59,49152,8810,824,108,97,110,116,69,113,117,97,108,59,49152,10877,824,105,108,100,101,59,25204,101,115,116,101,100,256,71,76,3176,3193,114,101,97,116,101,114,71,114,101,97,116,101,114,59,49152,10914,824,101,115,115,76,101,115,115,59,49152,10913,824,114,101,99,101,100,101,115,384,59,69,83,3218,3219,3227,25216,113,117,97,108,59,49152,10927,824,108,97,110,116,69,113,117,97,108,59,25312,256,101,105,3243,3257,118,101,114,115,101,69,108,101,109,101,110,116,59,25100,103,104,116,84,114,105,97,110,103,108,101,384,59,66,69,3275,3276,3282,25323,97,114,59,49152,10704,824,113,117,97,108,59,25325,256,113,117,3293,3340,117,97,114,101,83,117,256,98,112,3304,3321,115,101,116,256,59,69,3312,3315,49152,8847,824,113,117,97,108,59,25314,101,114,115,101,116,256,59,69,3331,3334,49152,8848,824,113,117,97,108,59,25315,384,98,99,112,3347,3364,3406,115,101,116,256,59,69,3355,3358,49152,8834,8402,113,117,97,108,59,25224,99,101,101,100,115,512,59,69,83,84,3378,3379,3387,3398,25217,113,117,97,108,59,49152,10928,824,108,97,110,116,69,113,117,97,108,59,25313,105,108,100,101,59,49152,8831,824,101,114,115,101,116,256,59,69,3416,3419,49152,8835,8402,113,117,97,108,59,25225,105,108,100,101,512,59,69,70,84,3438,3439,3445,3455,25153,113,117,97,108,59,25156,117,108,108,69,113,117,97,108,59,25159,105,108,100,101,59,25161,101,114,116,105,99,97,108,66,97,114,59,25124,99,114,59,49152,55349,56489,105,108,100,101,32827,209,16593,59,17309,1792,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3517,3522,3529,3541,3547,3552,3559,3580,3586,3616,3618,3634,3647,3652,108,105,103,59,16722,99,117,116,101,32827,211,16595,256,105,121,3534,3539,114,99,32827,212,16596,59,17438,98,108,97,99,59,16720,114,59,49152,55349,56594,114,97,118,101,32827,210,16594,384,97,101,105,3566,3570,3574,99,114,59,16716,103,97,59,17321,99,114,111,110,59,17311,112,102,59,49152,55349,56646,101,110,67,117,114,108,121,256,68,81,3598,3610,111,117,98,108,101,81,117,111,116,101,59,24604,117,111,116,101,59,24600,59,27220,256,99,108,3623,3628,114,59,49152,55349,56490,97,115,104,32827,216,16600,105,364,3639,3644,100,101,32827,213,16597,101,115,59,27191,109,108,32827,214,16598,101,114,256,66,80,3659,3680,256,97,114,3664,3667,114,59,24638,97,99,256,101,107,3674,3676,59,25566,101,116,59,25524,97,114,101,110,116,104,101,115,105,115,59,25564,1152,97,99,102,104,105,108,111,114,115,3711,3719,3722,3727,3730,3732,3741,3760,3836,114,116,105,97,108,68,59,25090,121,59,17439,114,59,49152,55349,56595,105,59,17318,59,17312,117,115,77,105,110,117,115,59,16561,256,105,112,3746,3757,110,99,97,114,101,112,108,97,110,229,1693,102,59,24857,512,59,101,105,111,3769,3770,3808,3812,27323,99,101,100,101,115,512,59,69,83,84,3784,3785,3791,3802,25210,113,117,97,108,59,27311,108,97,110,116,69,113,117,97,108,59,25212,105,108,100,101,59,25214,109,101,59,24627,256,100,112,3817,3822,117,99,116,59,25103,111,114,116,105,111,110,256,59,97,549,3833,108,59,25117,256,99,105,3841,3846,114,59,49152,55349,56491,59,17320,512,85,102,111,115,3857,3862,3867,3871,79,84,32827,34,16418,114,59,49152,55349,56596,112,102,59,24858,99,114,59,49152,55349,56492,1536,66,69,97,99,101,102,104,105,111,114,115,117,3902,3907,3911,3936,3955,4007,4010,4013,4246,4265,4276,4286,97,114,114,59,26896,71,32827,174,16558,384,99,110,114,3918,3923,3926,117,116,101,59,16724,103,59,26603,114,256,59,116,3932,3933,24992,108,59,26902,384,97,101,121,3943,3948,3953,114,111,110,59,16728,100,105,108,59,16726,59,17440,256,59,118,3960,3961,24860,101,114,115,101,256,69,85,3970,3993,256,108,113,3975,3982,101,109,101,110,116,59,25099,117,105,108,105,98,114,105,117,109,59,25035,112,69,113,117,105,108,105,98,114,105,117,109,59,26991,114,187,3961,111,59,17313,103,104,116,1024,65,67,68,70,84,85,86,97,4033,4075,4083,4130,4136,4187,4231,984,256,110,114,4038,4050,103,108,101,66,114,97,99,107,101,116,59,26601,114,111,119,384,59,66,76,4060,4061,4065,24978,97,114,59,25061,101,102,116,65,114,114,111,119,59,25028,101,105,108,105,110,103,59,25353,111,501,4089,0,4101,98,108,101,66,114,97,99,107,101,116,59,26599,110,468,4106,0,4116,101,101,86,101,99,116,111,114,59,26973,101,99,116,111,114,256,59,66,4125,4126,25026,97,114,59,26965,108,111,111,114,59,25355,256,101,114,4141,4163,101,384,59,65,86,4149,4150,4156,25250,114,114,111,119,59,24998,101,99,116,111,114,59,26971,105,97,110,103,108,101,384,59,66,69,4176,4177,4181,25267,97,114,59,27088,113,117,97,108,59,25269,112,384,68,84,86,4195,4206,4216,111,119,110,86,101,99,116,111,114,59,26959,101,101,86,101,99,116,111,114,59,26972,101,99,116,111,114,256,59,66,4226,4227,25022,97,114,59,26964,101,99,116,111,114,256,59,66,4241,4242,25024,97,114,59,26963,256,112,117,4251,4254,102,59,24861,110,100,73,109,112,108,105,101,115,59,26992,105,103,104,116,97,114,114,111,119,59,25051,256,99,104,4281,4284,114,59,24859,59,25009,108,101,68,101,108,97,121,101,100,59,27124,1664,72,79,97,99,102,104,105,109,111,113,115,116,117,4324,4337,4343,4349,4377,4382,4433,4438,4449,4455,4533,4539,4543,256,67,99,4329,4334,72,99,121,59,17449,121,59,17448,70,84,99,121,59,17452,99,117,116,101,59,16730,640,59,97,101,105,121,4360,4361,4366,4371,4375,27324,114,111,110,59,16736,100,105,108,59,16734,114,99,59,16732,59,17441,114,59,49152,55349,56598,111,114,116,512,68,76,82,85,4394,4404,4414,4425,111,119,110,65,114,114,111,119,187,1054,101,102,116,65,114,114,111,119,187,2202,105,103,104,116,65,114,114,111,119,187,4061,112,65,114,114,111,119,59,24977,103,109,97,59,17315,97,108,108,67,105,114,99,108,101,59,25112,112,102,59,49152,55349,56650,626,4461,0,0,4464,116,59,25114,97,114,101,512,59,73,83,85,4475,4476,4489,4527,26017,110,116,101,114,115,101,99,116,105,111,110,59,25235,117,256,98,112,4495,4510,115,101,116,256,59,69,4503,4504,25231,113,117,97,108,59,25233,101,114,115,101,116,256,59,69,4520,4521,25232,113,117,97,108,59,25234,110,105,111,110,59,25236,99,114,59,49152,55349,56494,97,114,59,25286,512,98,99,109,112,4552,4571,4617,4619,256,59,115,4557,4558,25296,101,116,256,59,69,4557,4565,113,117,97,108,59,25222,256,99,104,4576,4613,101,101,100,115,512,59,69,83,84,4589,4590,4596,4607,25211,113,117,97,108,59,27312,108,97,110,116,69,113,117,97,108,59,25213,105,108,100,101,59,25215,84,104,225,3980,59,25105,384,59,101,115,4626,4627,4643,25297,114,115,101,116,256,59,69,4636,4637,25219,113,117,97,108,59,25223,101,116,187,4627,1408,72,82,83,97,99,102,104,105,111,114,115,4670,4676,4681,4693,4702,4721,4726,4767,4802,4808,4817,79,82,78,32827,222,16606,65,68,69,59,24866,256,72,99,4686,4690,99,121,59,17419,121,59,17446,256,98,117,4698,4700,59,16393,59,17316,384,97,101,121,4709,4714,4719,114,111,110,59,16740,100,105,108,59,16738,59,17442,114,59,49152,55349,56599,256,101,105,4731,4745,498,4736,0,4743,101,102,111,114,101,59,25140,97,59,17304,256,99,110,4750,4760,107,83,112,97,99,101,59,49152,8287,8202,83,112,97,99,101,59,24585,108,100,101,512,59,69,70,84,4779,4780,4786,4796,25148,113,117,97,108,59,25155,117,108,108,69,113,117,97,108,59,25157,105,108,100,101,59,25160,112,102,59,49152,55349,56651,105,112,108,101,68,111,116,59,24795,256,99,116,4822,4827,114,59,49152,55349,56495,114,111,107,59,16742,2785,4855,4878,4890,4902,0,4908,4913,0,0,0,0,0,4920,4925,4983,4997,0,5119,5124,5130,5136,256,99,114,4859,4865,117,116,101,32827,218,16602,114,256,59,111,4871,4872,24991,99,105,114,59,26953,114,483,4883,0,4886,121,59,17422,118,101,59,16748,256,105,121,4894,4899,114,99,32827,219,16603,59,17443,98,108,97,99,59,16752,114,59,49152,55349,56600,114,97,118,101,32827,217,16601,97,99,114,59,16746,256,100,105,4929,4969,101,114,256,66,80,4936,4957,256,97,114,4941,4944,114,59,16479,97,99,256,101,107,4951,4953,59,25567,101,116,59,25525,97,114,101,110,116,104,101,115,105,115,59,25565,111,110,256,59,80,4976,4977,25283,108,117,115,59,25230,256,103,112,4987,4991,111,110,59,16754,102,59,49152,55349,56652,1024,65,68,69,84,97,100,112,115,5013,5038,5048,5060,1e3,5074,5079,5107,114,114,111,119,384,59,66,68,4432,5024,5028,97,114,59,26898,111,119,110,65,114,114,111,119,59,25029,111,119,110,65,114,114,111,119,59,24981,113,117,105,108,105,98,114,105,117,109,59,26990,101,101,256,59,65,5067,5068,25253,114,114,111,119,59,24997,111,119,110,225,1011,101,114,256,76,82,5086,5096,101,102,116,65,114,114,111,119,59,24982,105,103,104,116,65,114,114,111,119,59,24983,105,256,59,108,5113,5114,17362,111,110,59,17317,105,110,103,59,16750,99,114,59,49152,55349,56496,105,108,100,101,59,16744,109,108,32827,220,16604,1152,68,98,99,100,101,102,111,115,118,5159,5164,5168,5171,5182,5253,5258,5264,5270,97,115,104,59,25259,97,114,59,27371,121,59,17426,97,115,104,256,59,108,5179,5180,25257,59,27366,256,101,114,5187,5189,59,25281,384,98,116,121,5196,5200,5242,97,114,59,24598,256,59,105,5199,5205,99,97,108,512,66,76,83,84,5217,5221,5226,5236,97,114,59,25123,105,110,101,59,16508,101,112,97,114,97,116,111,114,59,26456,105,108,100,101,59,25152,84,104,105,110,83,112,97,99,101,59,24586,114,59,49152,55349,56601,112,102,59,49152,55349,56653,99,114,59,49152,55349,56497,100,97,115,104,59,25258,640,99,101,102,111,115,5287,5292,5297,5302,5308,105,114,99,59,16756,100,103,101,59,25280,114,59,49152,55349,56602,112,102,59,49152,55349,56654,99,114,59,49152,55349,56498,512,102,105,111,115,5323,5328,5330,5336,114,59,49152,55349,56603,59,17310,112,102,59,49152,55349,56655,99,114,59,49152,55349,56499,1152,65,73,85,97,99,102,111,115,117,5361,5365,5369,5373,5380,5391,5396,5402,5408,99,121,59,17455,99,121,59,17415,99,121,59,17454,99,117,116,101,32827,221,16605,256,105,121,5385,5389,114,99,59,16758,59,17451,114,59,49152,55349,56604,112,102,59,49152,55349,56656,99,114,59,49152,55349,56500,109,108,59,16760,1024,72,97,99,100,101,102,111,115,5429,5433,5439,5451,5455,5469,5472,5476,99,121,59,17430,99,117,116,101,59,16761,256,97,121,5444,5449,114,111,110,59,16765,59,17431,111,116,59,16763,498,5460,0,5467,111,87,105,100,116,232,2777,97,59,17302,114,59,24872,112,102,59,24868,99,114,59,49152,55349,56501,3041,5507,5514,5520,0,5552,5558,5567,0,0,0,0,5574,5595,5611,5727,5741,0,5781,5787,5810,5817,0,5822,99,117,116,101,32827,225,16609,114,101,118,101,59,16643,768,59,69,100,105,117,121,5532,5533,5537,5539,5544,5549,25150,59,49152,8766,819,59,25151,114,99,32827,226,16610,116,101,32955,180,774,59,17456,108,105,103,32827,230,16614,256,59,114,178,5562,59,49152,55349,56606,114,97,118,101,32827,224,16608,256,101,112,5578,5590,256,102,112,5583,5588,115,121,109,59,24885,232,5587,104,97,59,17329,256,97,112,5599,99,256,99,108,5604,5607,114,59,16641,103,59,27199,612,5616,0,0,5642,640,59,97,100,115,118,5626,5627,5631,5633,5639,25127,110,100,59,27221,59,27228,108,111,112,101,59,27224,59,27226,896,59,101,108,109,114,115,122,5656,5657,5659,5662,5695,5711,5721,25120,59,27044,101,187,5657,115,100,256,59,97,5669,5670,25121,1121,5680,5682,5684,5686,5688,5690,5692,5694,59,27048,59,27049,59,27050,59,27051,59,27052,59,27053,59,27054,59,27055,116,256,59,118,5701,5702,25119,98,256,59,100,5708,5709,25278,59,27037,256,112,116,5716,5719,104,59,25122,187,185,97,114,114,59,25468,256,103,112,5731,5735,111,110,59,16645,102,59,49152,55349,56658,896,59,69,97,101,105,111,112,4801,5755,5757,5762,5764,5767,5770,59,27248,99,105,114,59,27247,59,25162,100,59,25163,115,59,16423,114,111,120,256,59,101,4801,5778,241,5763,105,110,103,32827,229,16613,384,99,116,121,5793,5798,5800,114,59,49152,55349,56502,59,16426,109,112,256,59,101,4801,5807,241,648,105,108,100,101,32827,227,16611,109,108,32827,228,16612,256,99,105,5826,5832,111,110,105,110,244,626,110,116,59,27153,2048,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,5869,5873,5936,5948,5955,5960,6008,6013,6112,6118,6201,6224,5901,6461,6472,6512,111,116,59,27373,256,99,114,5878,5918,107,512,99,101,112,115,5888,5893,5901,5907,111,110,103,59,25164,112,115,105,108,111,110,59,17398,114,105,109,101,59,24629,105,109,256,59,101,5914,5915,25149,113,59,25293,374,5922,5926,101,101,59,25277,101,100,256,59,103,5932,5933,25349,101,187,5933,114,107,256,59,116,4956,5943,98,114,107,59,25526,256,111,121,5889,5953,59,17457,113,117,111,59,24606,640,99,109,112,114,116,5971,5979,5985,5988,5992,97,117,115,256,59,101,266,265,112,116,121,118,59,27056,115,233,5900,110,111,245,275,384,97,104,119,5999,6001,6003,59,17330,59,24886,101,101,110,59,25196,114,59,49152,55349,56607,103,896,99,111,115,116,117,118,119,6029,6045,6067,6081,6101,6107,6110,384,97,105,117,6036,6038,6042,240,1888,114,99,59,26095,112,187,4977,384,100,112,116,6052,6056,6061,111,116,59,27136,108,117,115,59,27137,105,109,101,115,59,27138,625,6073,0,0,6078,99,117,112,59,27142,97,114,59,26117,114,105,97,110,103,108,101,256,100,117,6093,6098,111,119,110,59,26045,112,59,26035,112,108,117,115,59,27140,101,229,5188,229,5293,97,114,111,119,59,26893,384,97,107,111,6125,6182,6197,256,99,110,6130,6179,107,384,108,115,116,6138,1451,6146,111,122,101,110,103,101,59,27115,114,105,97,110,103,108,101,512,59,100,108,114,6162,6163,6168,6173,26036,111,119,110,59,26046,101,102,116,59,26050,105,103,104,116,59,26040,107,59,25635,433,6187,0,6195,434,6191,0,6193,59,26002,59,26001,52,59,26003,99,107,59,25992,256,101,111,6206,6221,256,59,113,6211,6214,49152,61,8421,117,105,118,59,49152,8801,8421,116,59,25360,512,112,116,119,120,6233,6238,6247,6252,102,59,49152,55349,56659,256,59,116,5067,6243,111,109,187,5068,116,105,101,59,25288,1536,68,72,85,86,98,100,104,109,112,116,117,118,6277,6294,6314,6331,6359,6363,6380,6399,6405,6410,6416,6433,512,76,82,108,114,6286,6288,6290,6292,59,25943,59,25940,59,25942,59,25939,640,59,68,85,100,117,6305,6306,6308,6310,6312,25936,59,25958,59,25961,59,25956,59,25959,512,76,82,108,114,6323,6325,6327,6329,59,25949,59,25946,59,25948,59,25945,896,59,72,76,82,104,108,114,6346,6347,6349,6351,6353,6355,6357,25937,59,25964,59,25955,59,25952,59,25963,59,25954,59,25951,111,120,59,27081,512,76,82,108,114,6372,6374,6376,6378,59,25941,59,25938,59,25872,59,25868,640,59,68,85,100,117,1725,6391,6393,6395,6397,59,25957,59,25960,59,25900,59,25908,105,110,117,115,59,25247,108,117,115,59,25246,105,109,101,115,59,25248,512,76,82,108,114,6425,6427,6429,6431,59,25947,59,25944,59,25880,59,25876,896,59,72,76,82,104,108,114,6448,6449,6451,6453,6455,6457,6459,25858,59,25962,59,25953,59,25950,59,25916,59,25892,59,25884,256,101,118,291,6466,98,97,114,32827,166,16550,512,99,101,105,111,6481,6486,6490,6496,114,59,49152,55349,56503,109,105,59,24655,109,256,59,101,5914,5916,108,384,59,98,104,6504,6505,6507,16476,59,27077,115,117,98,59,26568,364,6516,6526,108,256,59,101,6521,6522,24610,116,187,6522,112,384,59,69,101,303,6533,6535,59,27310,256,59,113,1756,1755,3297,6567,0,6632,6673,6677,6706,0,6711,6736,0,0,6836,0,0,6849,0,0,6945,6958,6989,6994,0,7165,0,7180,384,99,112,114,6573,6578,6621,117,116,101,59,16647,768,59,97,98,99,100,115,6591,6592,6596,6602,6613,6617,25129,110,100,59,27204,114,99,117,112,59,27209,256,97,117,6607,6610,112,59,27211,112,59,27207,111,116,59,27200,59,49152,8745,65024,256,101,111,6626,6629,116,59,24641,238,1683,512,97,101,105,117,6640,6651,6657,6661,496,6645,0,6648,115,59,27213,111,110,59,16653,100,105,108,32827,231,16615,114,99,59,16649,112,115,256,59,115,6668,6669,27212,109,59,27216,111,116,59,16651,384,100,109,110,6683,6688,6694,105,108,32955,184,429,112,116,121,118,59,27058,116,33024,162,59,101,6701,6702,16546,114,228,434,114,59,49152,55349,56608,384,99,101,105,6717,6720,6733,121,59,17479,99,107,256,59,109,6727,6728,26387,97,114,107,187,6728,59,17351,114,896,59,69,99,101,102,109,115,6751,6752,6754,6763,6820,6826,6830,26059,59,27075,384,59,101,108,6761,6762,6765,17094,113,59,25175,101,609,6772,0,0,6792,114,114,111,119,256,108,114,6780,6785,101,102,116,59,25018,105,103,104,116,59,25019,640,82,83,97,99,100,6802,6804,6806,6810,6815,187,3911,59,25800,115,116,59,25243,105,114,99,59,25242,97,115,104,59,25245,110,105,110,116,59,27152,105,100,59,27375,99,105,114,59,27074,117,98,115,256,59,117,6843,6844,26211,105,116,187,6844,748,6855,6868,6906,0,6922,111,110,256,59,101,6861,6862,16442,256,59,113,199,198,621,6873,0,0,6882,97,256,59,116,6878,6879,16428,59,16448,384,59,102,108,6888,6889,6891,25089,238,4448,101,256,109,120,6897,6902,101,110,116,187,6889,101,243,589,487,6910,0,6919,256,59,100,4795,6914,111,116,59,27245,110,244,582,384,102,114,121,6928,6932,6935,59,49152,55349,56660,111,228,596,33024,169,59,115,341,6941,114,59,24855,256,97,111,6949,6953,114,114,59,25013,115,115,59,26391,256,99,117,6962,6967,114,59,49152,55349,56504,256,98,112,6972,6980,256,59,101,6977,6978,27343,59,27345,256,59,101,6985,6986,27344,59,27346,100,111,116,59,25327,896,100,101,108,112,114,118,119,7008,7020,7031,7042,7084,7124,7161,97,114,114,256,108,114,7016,7018,59,26936,59,26933,624,7026,0,0,7029,114,59,25310,99,59,25311,97,114,114,256,59,112,7039,7040,25014,59,26941,768,59,98,99,100,111,115,7055,7056,7062,7073,7077,7080,25130,114,99,97,112,59,27208,256,97,117,7067,7070,112,59,27206,112,59,27210,111,116,59,25229,114,59,27205,59,49152,8746,65024,512,97,108,114,118,7093,7103,7134,7139,114,114,256,59,109,7100,7101,25015,59,26940,121,384,101,118,119,7111,7124,7128,113,624,7118,0,0,7122,114,101,227,7027,117,227,7029,101,101,59,25294,101,100,103,101,59,25295,101,110,32827,164,16548,101,97,114,114,111,119,256,108,114,7150,7155,101,102,116,187,7040,105,103,104,116,187,7101,101,228,7133,256,99,105,7169,7175,111,110,105,110,244,503,110,116,59,25137,108,99,116,121,59,25389,2432,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,7224,7227,7231,7261,7273,7285,7306,7326,7340,7351,7419,7423,7437,7547,7569,7595,7611,7622,7629,114,242,897,97,114,59,26981,512,103,108,114,115,7240,7245,7250,7252,103,101,114,59,24608,101,116,104,59,24888,242,4403,104,256,59,118,7258,7259,24592,187,2314,363,7265,7271,97,114,111,119,59,26895,97,227,789,256,97,121,7278,7283,114,111,110,59,16655,59,17460,384,59,97,111,818,7292,7300,256,103,114,703,7297,114,59,25034,116,115,101,113,59,27255,384,103,108,109,7313,7316,7320,32827,176,16560,116,97,59,17332,112,116,121,118,59,27057,256,105,114,7331,7336,115,104,116,59,27007,59,49152,55349,56609,97,114,256,108,114,7347,7349,187,2268,187,4126,640,97,101,103,115,118,7362,888,7382,7388,7392,109,384,59,111,115,806,7370,7380,110,100,256,59,115,806,7377,117,105,116,59,26214,97,109,109,97,59,17373,105,110,59,25330,384,59,105,111,7399,7400,7416,16631,100,101,33024,247,59,111,7399,7408,110,116,105,109,101,115,59,25287,110,248,7415,99,121,59,17490,99,623,7430,0,0,7434,114,110,59,25374,111,112,59,25357,640,108,112,116,117,119,7448,7453,7458,7497,7509,108,97,114,59,16420,102,59,49152,55349,56661,640,59,101,109,112,115,779,7469,7479,7485,7490,113,256,59,100,850,7475,111,116,59,25169,105,110,117,115,59,25144,108,117,115,59,25108,113,117,97,114,101,59,25249,98,108,101,98,97,114,119,101,100,103,229,250,110,384,97,100,104,4398,7517,7527,111,119,110,97,114,114,111,119,243,7299,97,114,112,111,111,110,256,108,114,7538,7542,101,102,244,7348,105,103,104,244,7350,354,7551,7557,107,97,114,111,247,3906,623,7562,0,0,7566,114,110,59,25375,111,112,59,25356,384,99,111,116,7576,7587,7590,256,114,121,7581,7585,59,49152,55349,56505,59,17493,108,59,27126,114,111,107,59,16657,256,100,114,7600,7604,111,116,59,25329,105,256,59,102,7610,6166,26047,256,97,104,7616,7619,114,242,1065,97,242,4006,97,110,103,108,101,59,27046,256,99,105,7634,7637,121,59,17503,103,114,97,114,114,59,26623,2304,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,7681,7689,7705,7736,1400,7740,7753,7777,7806,7845,7855,7869,7905,7978,7991,8004,8014,8026,256,68,111,7686,7476,111,244,7305,256,99,115,7694,7700,117,116,101,32827,233,16617,116,101,114,59,27246,512,97,105,111,121,7714,7719,7729,7734,114,111,110,59,16667,114,256,59,99,7725,7726,25174,32827,234,16618,108,111,110,59,25173,59,17485,111,116,59,16663,256,68,114,7745,7749,111,116,59,25170,59,49152,55349,56610,384,59,114,115,7760,7761,7767,27290,97,118,101,32827,232,16616,256,59,100,7772,7773,27286,111,116,59,27288,512,59,105,108,115,7786,7787,7794,7796,27289,110,116,101,114,115,59,25575,59,24851,256,59,100,7801,7802,27285,111,116,59,27287,384,97,112,115,7813,7817,7831,99,114,59,16659,116,121,384,59,115,118,7826,7827,7829,25093,101,116,187,7827,112,256,49,59,7837,7844,307,7841,7843,59,24580,59,24581,24579,256,103,115,7850,7852,59,16715,112,59,24578,256,103,112,7860,7864,111,110,59,16665,102,59,49152,55349,56662,384,97,108,115,7876,7886,7890,114,256,59,115,7882,7883,25301,108,59,27107,117,115,59,27249,105,384,59,108,118,7898,7899,7903,17333,111,110,187,7899,59,17397,512,99,115,117,118,7914,7923,7947,7971,256,105,111,7919,7729,114,99,187,7726,617,7929,0,0,7931,237,1352,97,110,116,256,103,108,7938,7942,116,114,187,7773,101,115,115,187,7802,384,97,101,105,7954,7958,7962,108,115,59,16445,115,116,59,25183,118,256,59,68,565,7968,68,59,27256,112,97,114,115,108,59,27109,256,68,97,7983,7987,111,116,59,25171,114,114,59,26993,384,99,100,105,7998,8001,7928,114,59,24879,111,244,850,256,97,104,8009,8011,59,17335,32827,240,16624,256,109,114,8019,8023,108,32827,235,16619,111,59,24748,384,99,105,112,8033,8036,8039,108,59,16417,115,244,1390,256,101,111,8044,8052,99,116,97,116,105,111,238,1369,110,101,110,116,105,97,108,229,1401,2529,8082,0,8094,0,8097,8103,0,0,8134,8140,0,8147,0,8166,8170,8192,0,8200,8282,108,108,105,110,103,100,111,116,115,101,241,7748,121,59,17476,109,97,108,101,59,26176,384,105,108,114,8109,8115,8129,108,105,103,59,32768,64259,617,8121,0,0,8125,103,59,32768,64256,105,103,59,32768,64260,59,49152,55349,56611,108,105,103,59,32768,64257,108,105,103,59,49152,102,106,384,97,108,116,8153,8156,8161,116,59,26221,105,103,59,32768,64258,110,115,59,26033,111,102,59,16786,496,8174,0,8179,102,59,49152,55349,56663,256,97,107,1471,8183,256,59,118,8188,8189,25300,59,27353,97,114,116,105,110,116,59,27149,256,97,111,8204,8277,256,99,115,8209,8274,945,8218,8240,8248,8261,8264,0,8272,946,8226,8229,8231,8234,8236,0,8238,32827,189,16573,59,24915,32827,188,16572,59,24917,59,24921,59,24923,435,8244,0,8246,59,24916,59,24918,692,8254,8257,0,0,8259,32827,190,16574,59,24919,59,24924,53,59,24920,438,8268,0,8270,59,24922,59,24925,56,59,24926,108,59,24644,119,110,59,25378,99,114,59,49152,55349,56507,2176,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,8322,8329,8351,8357,8368,8372,8432,8437,8442,8447,8451,8466,8504,791,8510,8530,8606,256,59,108,1613,8327,59,27276,384,99,109,112,8336,8341,8349,117,116,101,59,16885,109,97,256,59,100,8348,7386,17331,59,27270,114,101,118,101,59,16671,256,105,121,8362,8366,114,99,59,16669,59,17459,111,116,59,16673,512,59,108,113,115,1598,1602,8381,8393,384,59,113,115,1598,1612,8388,108,97,110,244,1637,512,59,99,100,108,1637,8402,8405,8421,99,59,27305,111,116,256,59,111,8412,8413,27264,256,59,108,8418,8419,27266,59,27268,256,59,101,8426,8429,49152,8923,65024,115,59,27284,114,59,49152,55349,56612,256,59,103,1651,1563,109,101,108,59,24887,99,121,59,17491,512,59,69,97,106,1626,8460,8462,8464,59,27282,59,27301,59,27300,512,69,97,101,115,8475,8477,8489,8500,59,25193,112,256,59,112,8483,8484,27274,114,111,120,187,8484,256,59,113,8494,8495,27272,256,59,113,8494,8475,105,109,59,25319,112,102,59,49152,55349,56664,256,99,105,8515,8518,114,59,24842,109,384,59,101,108,1643,8526,8528,59,27278,59,27280,33536,62,59,99,100,108,113,114,1518,8544,8554,8558,8563,8569,256,99,105,8549,8551,59,27303,114,59,27258,111,116,59,25303,80,97,114,59,27029,117,101,115,116,59,27260,640,97,100,101,108,115,8580,8554,8592,1622,8603,496,8585,0,8590,112,114,111,248,8350,114,59,27e3,113,256,108,113,1599,8598,108,101,115,243,8328,105,237,1643,256,101,110,8611,8621,114,116,110,101,113,113,59,49152,8809,65024,197,8618,1280,65,97,98,99,101,102,107,111,115,121,8644,8647,8689,8693,8698,8728,8733,8751,8808,8829,114,242,928,512,105,108,109,114,8656,8660,8663,8667,114,115,240,5252,102,187,8228,105,108,244,1705,256,100,114,8672,8676,99,121,59,17482,384,59,99,119,2292,8683,8687,105,114,59,26952,59,25005,97,114,59,24847,105,114,99,59,16677,384,97,108,114,8705,8718,8723,114,116,115,256,59,117,8713,8714,26213,105,116,187,8714,108,105,112,59,24614,99,111,110,59,25273,114,59,49152,55349,56613,115,256,101,119,8739,8745,97,114,111,119,59,26917,97,114,111,119,59,26918,640,97,109,111,112,114,8762,8766,8771,8798,8803,114,114,59,25087,116,104,116,59,25147,107,256,108,114,8777,8787,101,102,116,97,114,114,111,119,59,25001,105,103,104,116,97,114,114,111,119,59,25002,102,59,49152,55349,56665,98,97,114,59,24597,384,99,108,116,8815,8820,8824,114,59,49152,55349,56509,97,115,232,8692,114,111,107,59,16679,256,98,112,8834,8839,117,108,108,59,24643,104,101,110,187,7259,2785,8867,0,8874,0,8888,8901,8910,0,8917,8947,0,0,8952,8994,9063,9058,9087,0,9094,9130,9140,99,117,116,101,32827,237,16621,384,59,105,121,1905,8880,8885,114,99,32827,238,16622,59,17464,256,99,120,8892,8895,121,59,17461,99,108,32827,161,16545,256,102,114,927,8905,59,49152,55349,56614,114,97,118,101,32827,236,16620,512,59,105,110,111,1854,8925,8937,8942,256,105,110,8930,8934,110,116,59,27148,116,59,25133,102,105,110,59,27100,116,97,59,24873,108,105,103,59,16691,384,97,111,112,8958,8986,8989,384,99,103,116,8965,8968,8983,114,59,16683,384,101,108,112,1823,8975,8979,105,110,229,1934,97,114,244,1824,104,59,16689,102,59,25271,101,100,59,16821,640,59,99,102,111,116,1268,9004,9009,9021,9025,97,114,101,59,24837,105,110,256,59,116,9016,9017,25118,105,101,59,27101,100,111,244,8985,640,59,99,101,108,112,1879,9036,9040,9051,9057,97,108,59,25274,256,103,114,9045,9049,101,114,243,5475,227,9037,97,114,104,107,59,27159,114,111,100,59,27196,512,99,103,112,116,9071,9074,9078,9083,121,59,17489,111,110,59,16687,102,59,49152,55349,56666,97,59,17337,117,101,115,116,32827,191,16575,256,99,105,9098,9103,114,59,49152,55349,56510,110,640,59,69,100,115,118,1268,9115,9117,9121,1267,59,25337,111,116,59,25333,256,59,118,9126,9127,25332,59,25331,256,59,105,1911,9134,108,100,101,59,16681,491,9144,0,9148,99,121,59,17494,108,32827,239,16623,768,99,102,109,111,115,117,9164,9175,9180,9185,9191,9205,256,105,121,9169,9173,114,99,59,16693,59,17465,114,59,49152,55349,56615,97,116,104,59,16951,112,102,59,49152,55349,56667,483,9196,0,9201,114,59,49152,55349,56511,114,99,121,59,17496,107,99,121,59,17492,1024,97,99,102,103,104,106,111,115,9227,9238,9250,9255,9261,9265,9269,9275,112,112,97,256,59,118,9235,9236,17338,59,17392,256,101,121,9243,9248,100,105,108,59,16695,59,17466,114,59,49152,55349,56616,114,101,101,110,59,16696,99,121,59,17477,99,121,59,17500,112,102,59,49152,55349,56668,99,114,59,49152,55349,56512,2944,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,9328,9345,9350,9357,9361,9486,9533,9562,9600,9806,9822,9829,9849,9853,9882,9906,9944,10077,10088,10123,10176,10241,10258,384,97,114,116,9335,9338,9340,114,242,2502,242,917,97,105,108,59,26907,97,114,114,59,26894,256,59,103,2452,9355,59,27275,97,114,59,26978,2403,9381,0,9386,0,9393,0,0,0,0,0,9397,9402,0,9414,9416,9421,0,9465,117,116,101,59,16698,109,112,116,121,118,59,27060,114,97,238,2124,98,100,97,59,17339,103,384,59,100,108,2190,9409,9411,59,27025,229,2190,59,27269,117,111,32827,171,16555,114,1024,59,98,102,104,108,112,115,116,2201,9438,9446,9449,9451,9454,9457,9461,256,59,102,2205,9443,115,59,26911,115,59,26909,235,8786,112,59,25003,108,59,26937,105,109,59,26995,108,59,24994,384,59,97,101,9471,9472,9476,27307,105,108,59,26905,256,59,115,9481,9482,27309,59,49152,10925,65024,384,97,98,114,9493,9497,9501,114,114,59,26892,114,107,59,26482,256,97,107,9506,9516,99,256,101,107,9512,9514,59,16507,59,16475,256,101,115,9521,9523,59,27019,108,256,100,117,9529,9531,59,27023,59,27021,512,97,101,117,121,9542,9547,9558,9560,114,111,110,59,16702,256,100,105,9552,9556,105,108,59,16700,236,2224,226,9513,59,17467,512,99,113,114,115,9571,9574,9581,9597,97,59,26934,117,111,256,59,114,3609,5958,256,100,117,9586,9591,104,97,114,59,26983,115,104,97,114,59,26955,104,59,25010,640,59,102,103,113,115,9611,9612,2441,9715,9727,25188,116,640,97,104,108,114,116,9624,9636,9655,9666,9704,114,114,111,119,256,59,116,2201,9633,97,233,9462,97,114,112,111,111,110,256,100,117,9647,9652,111,119,110,187,1114,112,187,2406,101,102,116,97,114,114,111,119,115,59,25031,105,103,104,116,384,97,104,115,9677,9686,9694,114,114,111,119,256,59,115,2292,2215,97,114,112,111,111,110,243,3992,113,117,105,103,97,114,114,111,247,8688,104,114,101,101,116,105,109,101,115,59,25291,384,59,113,115,9611,2451,9722,108,97,110,244,2476,640,59,99,100,103,115,2476,9738,9741,9757,9768,99,59,27304,111,116,256,59,111,9748,9749,27263,256,59,114,9754,9755,27265,59,27267,256,59,101,9762,9765,49152,8922,65024,115,59,27283,640,97,100,101,103,115,9779,9785,9789,9801,9803,112,112,114,111,248,9414,111,116,59,25302,113,256,103,113,9795,9797,244,2441,103,116,242,9356,244,2459,105,237,2482,384,105,108,114,9813,2273,9818,115,104,116,59,27004,59,49152,55349,56617,256,59,69,2460,9827,59,27281,353,9833,9846,114,256,100,117,9650,9838,256,59,108,2405,9843,59,26986,108,107,59,25988,99,121,59,17497,640,59,97,99,104,116,2632,9864,9867,9873,9878,114,242,9665,111,114,110,101,242,7432,97,114,100,59,26987,114,105,59,26106,256,105,111,9887,9892,100,111,116,59,16704,117,115,116,256,59,97,9900,9901,25520,99,104,101,187,9901,512,69,97,101,115,9915,9917,9929,9940,59,25192,112,256,59,112,9923,9924,27273,114,111,120,187,9924,256,59,113,9934,9935,27271,256,59,113,9934,9915,105,109,59,25318,1024,97,98,110,111,112,116,119,122,9961,9972,9975,10010,10031,10049,10055,10064,256,110,114,9966,9969,103,59,26604,114,59,25085,114,235,2241,103,384,108,109,114,9983,9997,10004,101,102,116,256,97,114,2534,9991,105,103,104,116,225,2546,97,112,115,116,111,59,26620,105,103,104,116,225,2557,112,97,114,114,111,119,256,108,114,10021,10025,101,102,244,9453,105,103,104,116,59,25004,384,97,102,108,10038,10041,10045,114,59,27013,59,49152,55349,56669,117,115,59,27181,105,109,101,115,59,27188,353,10059,10063,115,116,59,25111,225,4942,384,59,101,102,10071,10072,6144,26058,110,103,101,187,10072,97,114,256,59,108,10084,10085,16424,116,59,27027,640,97,99,104,109,116,10099,10102,10108,10117,10119,114,242,2216,111,114,110,101,242,7564,97,114,256,59,100,3992,10115,59,26989,59,24590,114,105,59,25279,768,97,99,104,105,113,116,10136,10141,2624,10146,10158,10171,113,117,111,59,24633,114,59,49152,55349,56513,109,384,59,101,103,2482,10154,10156,59,27277,59,27279,256,98,117,9514,10163,111,256,59,114,3615,10169,59,24602,114,111,107,59,16706,33792,60,59,99,100,104,105,108,113,114,2091,10194,9785,10204,10208,10213,10218,10224,256,99,105,10199,10201,59,27302,114,59,27257,114,101,229,9714,109,101,115,59,25289,97,114,114,59,26998,117,101,115,116,59,27259,256,80,105,10229,10233,97,114,59,27030,384,59,101,102,10240,2349,6171,26051,114,256,100,117,10247,10253,115,104,97,114,59,26954,104,97,114,59,26982,256,101,110,10263,10273,114,116,110,101,113,113,59,49152,8808,65024,197,10270,1792,68,97,99,100,101,102,104,105,108,110,111,112,115,117,10304,10309,10370,10382,10387,10400,10405,10408,10458,10466,10468,2691,10483,10498,68,111,116,59,25146,512,99,108,112,114,10318,10322,10339,10365,114,32827,175,16559,256,101,116,10327,10329,59,26178,256,59,101,10334,10335,26400,115,101,187,10335,256,59,115,4155,10344,116,111,512,59,100,108,117,4155,10355,10359,10363,111,119,238,1164,101,102,244,2319,240,5073,107,101,114,59,26030,256,111,121,10375,10380,109,109,97,59,27177,59,17468,97,115,104,59,24596,97,115,117,114,101,100,97,110,103,108,101,187,5670,114,59,49152,55349,56618,111,59,24871,384,99,100,110,10415,10420,10441,114,111,32827,181,16565,512,59,97,99,100,5220,10429,10432,10436,115,244,5799,105,114,59,27376,111,116,32955,183,437,117,115,384,59,98,100,10450,6403,10451,25106,256,59,117,7484,10456,59,27178,355,10462,10465,112,59,27355,242,8722,240,2689,256,100,112,10473,10478,101,108,115,59,25255,102,59,49152,55349,56670,256,99,116,10488,10493,114,59,49152,55349,56514,112,111,115,187,5533,384,59,108,109,10505,10506,10509,17340,116,105,109,97,112,59,25272,3072,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,10562,10579,10622,10633,10648,10714,10729,10773,10778,10840,10845,10883,10901,10916,10920,11012,11015,11076,11135,11182,11316,11367,11388,11497,256,103,116,10567,10571,59,49152,8921,824,256,59,118,10576,3023,49152,8811,8402,384,101,108,116,10586,10610,10614,102,116,256,97,114,10593,10599,114,114,111,119,59,25037,105,103,104,116,97,114,114,111,119,59,25038,59,49152,8920,824,256,59,118,10619,3143,49152,8810,8402,105,103,104,116,97,114,114,111,119,59,25039,256,68,100,10638,10643,97,115,104,59,25263,97,115,104,59,25262,640,98,99,110,112,116,10659,10663,10668,10673,10700,108,97,187,734,117,116,101,59,16708,103,59,49152,8736,8402,640,59,69,105,111,112,3460,10684,10688,10693,10696,59,49152,10864,824,100,59,49152,8779,824,115,59,16713,114,111,248,3460,117,114,256,59,97,10707,10708,26222,108,256,59,115,10707,2872,499,10719,0,10723,112,32955,160,2871,109,112,256,59,101,3065,3072,640,97,101,111,117,121,10740,10750,10755,10768,10771,496,10745,0,10747,59,27203,111,110,59,16712,100,105,108,59,16710,110,103,256,59,100,3454,10762,111,116,59,49152,10861,824,112,59,27202,59,17469,97,115,104,59,24595,896,59,65,97,100,113,115,120,2962,10793,10797,10811,10817,10821,10832,114,114,59,25047,114,256,104,114,10803,10806,107,59,26916,256,59,111,5106,5104,111,116,59,49152,8784,824,117,105,246,2915,256,101,105,10826,10830,97,114,59,26920,237,2968,105,115,116,256,59,115,2976,2975,114,59,49152,55349,56619,512,69,101,115,116,3013,10854,10873,10876,384,59,113,115,3004,10861,3041,384,59,113,115,3004,3013,10868,108,97,110,244,3042,105,237,3050,256,59,114,2998,10881,187,2999,384,65,97,112,10890,10893,10897,114,242,10609,114,114,59,25006,97,114,59,27378,384,59,115,118,3981,10908,3980,256,59,100,10913,10914,25340,59,25338,99,121,59,17498,896,65,69,97,100,101,115,116,10935,10938,10942,10946,10949,10998,11001,114,242,10598,59,49152,8806,824,114,114,59,24986,114,59,24613,512,59,102,113,115,3131,10958,10979,10991,116,256,97,114,10964,10969,114,114,111,247,10945,105,103,104,116,97,114,114,111,247,10896,384,59,113,115,3131,10938,10986,108,97,110,244,3157,256,59,115,3157,10996,187,3126,105,237,3165,256,59,114,3125,11006,105,256,59,101,3098,3109,105,228,3472,256,112,116,11020,11025,102,59,49152,55349,56671,33152,172,59,105,110,11033,11034,11062,16556,110,512,59,69,100,118,2953,11044,11048,11054,59,49152,8953,824,111,116,59,49152,8949,824,481,2953,11059,11061,59,25335,59,25334,105,256,59,118,3256,11068,481,3256,11073,11075,59,25342,59,25341,384,97,111,114,11083,11107,11113,114,512,59,97,115,116,2939,11093,11098,11103,108,108,101,236,2939,108,59,49152,11005,8421,59,49152,8706,824,108,105,110,116,59,27156,384,59,99,101,3218,11120,11123,117,229,3237,256,59,99,3224,11128,256,59,101,3218,11133,241,3224,512,65,97,105,116,11144,11147,11165,11175,114,242,10632,114,114,384,59,99,119,11156,11157,11161,24987,59,49152,10547,824,59,49152,8605,824,103,104,116,97,114,114,111,119,187,11157,114,105,256,59,101,3275,3286,896,99,104,105,109,112,113,117,11197,11213,11225,11012,2936,11236,11247,512,59,99,101,114,3378,11206,3383,11209,117,229,3397,59,49152,55349,56515,111,114,116,621,11013,0,0,11222,97,114,225,11094,109,256,59,101,3438,11231,256,59,113,3444,3443,115,117,256,98,112,11243,11245,229,3320,229,3339,384,98,99,112,11254,11281,11289,512,59,69,101,115,11263,11264,3362,11268,25220,59,49152,10949,824,101,116,256,59,101,3355,11275,113,256,59,113,3363,11264,99,256,59,101,3378,11287,241,3384,512,59,69,101,115,11298,11299,3423,11303,25221,59,49152,10950,824,101,116,256,59,101,3416,11310,113,256,59,113,3424,11299,512,103,105,108,114,11325,11327,11333,11335,236,3031,108,100,101,32827,241,16625,231,3139,105,97,110,103,108,101,256,108,114,11346,11356,101,102,116,256,59,101,3098,11354,241,3110,105,103,104,116,256,59,101,3275,11365,241,3287,256,59,109,11372,11373,17341,384,59,101,115,11380,11381,11385,16419,114,111,59,24854,112,59,24583,1152,68,72,97,100,103,105,108,114,115,11407,11412,11417,11422,11427,11440,11446,11475,11491,97,115,104,59,25261,97,114,114,59,26884,112,59,49152,8781,8402,97,115,104,59,25260,256,101,116,11432,11436,59,49152,8805,8402,59,49152,62,8402,110,102,105,110,59,27102,384,65,101,116,11453,11457,11461,114,114,59,26882,59,49152,8804,8402,256,59,114,11466,11469,49152,60,8402,105,101,59,49152,8884,8402,256,65,116,11480,11484,114,114,59,26883,114,105,101,59,49152,8885,8402,105,109,59,49152,8764,8402,384,65,97,110,11504,11508,11522,114,114,59,25046,114,256,104,114,11514,11517,107,59,26915,256,59,111,5095,5093,101,97,114,59,26919,4691,6805,0,0,0,0,0,0,0,0,0,0,0,0,0,11565,0,11576,11592,11616,11621,11634,11652,6919,0,0,11661,11691,0,11720,11726,0,11740,11801,11819,11838,11843,256,99,115,11569,6807,117,116,101,32827,243,16627,256,105,121,11580,11589,114,256,59,99,6814,11586,32827,244,16628,59,17470,640,97,98,105,111,115,6816,11602,11607,456,11610,108,97,99,59,16721,118,59,27192,111,108,100,59,27068,108,105,103,59,16723,256,99,114,11625,11629,105,114,59,27071,59,49152,55349,56620,879,11641,0,0,11644,0,11650,110,59,17115,97,118,101,32827,242,16626,59,27073,256,98,109,11656,3572,97,114,59,27061,512,97,99,105,116,11669,11672,11685,11688,114,242,6784,256,105,114,11677,11680,114,59,27070,111,115,115,59,27067,110,229,3666,59,27072,384,97,101,105,11697,11701,11705,99,114,59,16717,103,97,59,17353,384,99,100,110,11712,11717,461,114,111,110,59,17343,59,27062,112,102,59,49152,55349,56672,384,97,101,108,11732,11735,466,114,59,27063,114,112,59,27065,896,59,97,100,105,111,115,118,11754,11755,11758,11784,11789,11792,11798,25128,114,242,6790,512,59,101,102,109,11767,11768,11778,11781,27229,114,256,59,111,11774,11775,24884,102,187,11775,32827,170,16554,32827,186,16570,103,111,102,59,25270,114,59,27222,108,111,112,101,59,27223,59,27227,384,99,108,111,11807,11809,11815,242,11777,97,115,104,32827,248,16632,108,59,25240,105,364,11823,11828,100,101,32827,245,16629,101,115,256,59,97,475,11834,115,59,27190,109,108,32827,246,16630,98,97,114,59,25405,2785,11870,0,11901,0,11904,11933,0,11938,11961,0,0,11979,3740,0,12051,0,0,12075,12220,0,12232,114,512,59,97,115,116,1027,11879,11890,3717,33024,182,59,108,11885,11886,16566,108,101,236,1027,617,11896,0,0,11899,109,59,27379,59,27389,121,59,17471,114,640,99,105,109,112,116,11915,11919,11923,6245,11927,110,116,59,16421,111,100,59,16430,105,108,59,24624,101,110,107,59,24625,114,59,49152,55349,56621,384,105,109,111,11944,11952,11956,256,59,118,11949,11950,17350,59,17365,109,97,244,2678,110,101,59,26126,384,59,116,118,11967,11968,11976,17344,99,104,102,111,114,107,187,8189,59,17366,256,97,117,11983,11999,110,256,99,107,11989,11997,107,256,59,104,8692,11995,59,24846,246,8692,115,1152,59,97,98,99,100,101,109,115,116,12019,12020,6408,12025,12029,12036,12038,12042,12046,16427,99,105,114,59,27171,105,114,59,27170,256,111,117,7488,12034,59,27173,59,27250,110,32955,177,3741,105,109,59,27174,119,111,59,27175,384,105,112,117,12057,12064,12069,110,116,105,110,116,59,27157,102,59,49152,55349,56673,110,100,32827,163,16547,1280,59,69,97,99,101,105,110,111,115,117,3784,12095,12097,12100,12103,12161,12169,12178,12158,12214,59,27315,112,59,27319,117,229,3801,256,59,99,3790,12108,768,59,97,99,101,110,115,3784,12121,12127,12134,12136,12158,112,112,114,111,248,12099,117,114,108,121,101,241,3801,241,3790,384,97,101,115,12143,12150,12154,112,112,114,111,120,59,27321,113,113,59,27317,105,109,59,25320,105,237,3807,109,101,256,59,115,12168,3758,24626,384,69,97,115,12152,12176,12154,240,12149,384,100,102,112,3820,12185,12207,384,97,108,115,12192,12197,12202,108,97,114,59,25390,105,110,101,59,25362,117,114,102,59,25363,256,59,116,3835,12212,239,3835,114,101,108,59,25264,256,99,105,12224,12229,114,59,49152,55349,56517,59,17352,110,99,115,112,59,24584,768,102,105,111,112,115,117,12250,8930,12255,12261,12267,12273,114,59,49152,55349,56622,112,102,59,49152,55349,56674,114,105,109,101,59,24663,99,114,59,49152,55349,56518,384,97,101,111,12280,12297,12307,116,256,101,105,12286,12293,114,110,105,111,110,243,1712,110,116,59,27158,115,116,256,59,101,12304,12305,16447,241,7961,244,3860,2688,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,12352,12369,12373,12377,12512,12558,12587,12615,12642,12658,12686,12806,12821,12836,12841,12888,12910,12914,12944,12976,12983,384,97,114,116,12359,12362,12364,114,242,4275,242,989,97,105,108,59,26908,97,114,242,7269,97,114,59,26980,896,99,100,101,110,113,114,116,12392,12405,12408,12415,12431,12436,12492,256,101,117,12397,12401,59,49152,8765,817,116,101,59,16725,105,227,4462,109,112,116,121,118,59,27059,103,512,59,100,101,108,4049,12425,12427,12429,59,27026,59,27045,229,4049,117,111,32827,187,16571,114,1408,59,97,98,99,102,104,108,112,115,116,119,4060,12460,12463,12471,12473,12476,12478,12480,12483,12487,12490,112,59,26997,256,59,102,4064,12468,115,59,26912,59,26931,115,59,26910,235,8797,240,10030,108,59,26949,105,109,59,26996,108,59,24995,59,24989,256,97,105,12497,12501,105,108,59,26906,111,256,59,110,12507,12508,25142,97,108,243,3870,384,97,98,114,12519,12522,12526,114,242,6117,114,107,59,26483,256,97,107,12531,12541,99,256,101,107,12537,12539,59,16509,59,16477,256,101,115,12546,12548,59,27020,108,256,100,117,12554,12556,59,27022,59,27024,512,97,101,117,121,12567,12572,12583,12585,114,111,110,59,16729,256,100,105,12577,12581,105,108,59,16727,236,4082,226,12538,59,17472,512,99,108,113,115,12596,12599,12605,12612,97,59,26935,100,104,97,114,59,26985,117,111,256,59,114,526,525,104,59,25011,384,97,99,103,12622,12639,3908,108,512,59,105,112,115,3960,12632,12635,4252,110,229,4283,97,114,244,4009,116,59,26029,384,105,108,114,12649,4131,12654,115,104,116,59,27005,59,49152,55349,56623,256,97,111,12663,12678,114,256,100,117,12669,12671,187,1147,256,59,108,4241,12676,59,26988,256,59,118,12683,12684,17345,59,17393,384,103,110,115,12693,12793,12796,104,116,768,97,104,108,114,115,116,12708,12720,12738,12760,12772,12782,114,114,111,119,256,59,116,4060,12717,97,233,12488,97,114,112,111,111,110,256,100,117,12731,12735,111,119,238,12670,112,187,4242,101,102,116,256,97,104,12746,12752,114,114,111,119,243,4074,97,114,112,111,111,110,243,1361,105,103,104,116,97,114,114,111,119,115,59,25033,113,117,105,103,97,114,114,111,247,12491,104,114,101,101,116,105,109,101,115,59,25292,103,59,17114,105,110,103,100,111,116,115,101,241,7986,384,97,104,109,12813,12816,12819,114,242,4074,97,242,1361,59,24591,111,117,115,116,256,59,97,12830,12831,25521,99,104,101,187,12831,109,105,100,59,27374,512,97,98,112,116,12850,12861,12864,12882,256,110,114,12855,12858,103,59,26605,114,59,25086,114,235,4099,384,97,102,108,12871,12874,12878,114,59,27014,59,49152,55349,56675,117,115,59,27182,105,109,101,115,59,27189,256,97,112,12893,12903,114,256,59,103,12899,12900,16425,116,59,27028,111,108,105,110,116,59,27154,97,114,242,12771,512,97,99,104,113,12923,12928,4284,12933,113,117,111,59,24634,114,59,49152,55349,56519,256,98,117,12539,12938,111,256,59,114,532,531,384,104,105,114,12951,12955,12960,114,101,229,12792,109,101,115,59,25290,105,512,59,101,102,108,12970,4185,6177,12971,26041,116,114,105,59,27086,108,117,104,97,114,59,26984,59,24862,3425,13013,13019,13023,13100,13112,13169,0,13178,13220,0,0,13292,13296,0,13352,13384,13402,13485,13489,13514,13553,0,13846,0,0,13875,99,117,116,101,59,16731,113,117,239,10170,1280,59,69,97,99,101,105,110,112,115,121,4589,13043,13045,13055,13058,13067,13071,13087,13094,13097,59,27316,496,13050,0,13052,59,27320,111,110,59,16737,117,229,4606,256,59,100,4595,13063,105,108,59,16735,114,99,59,16733,384,69,97,115,13078,13080,13083,59,27318,112,59,27322,105,109,59,25321,111,108,105,110,116,59,27155,105,237,4612,59,17473,111,116,384,59,98,101,13108,7495,13109,25285,59,27238,896,65,97,99,109,115,116,120,13126,13130,13143,13147,13150,13155,13165,114,114,59,25048,114,256,104,114,13136,13138,235,8744,256,59,111,2614,2612,116,32827,167,16551,105,59,16443,119,97,114,59,26921,109,256,105,110,13161,240,110,117,243,241,116,59,26422,114,256,59,111,13174,8277,49152,55349,56624,512,97,99,111,121,13186,13190,13201,13216,114,112,59,26223,256,104,121,13195,13199,99,121,59,17481,59,17480,114,116,621,13209,0,0,13212,105,228,5220,97,114,97,236,11887,32827,173,16557,256,103,109,13224,13236,109,97,384,59,102,118,13233,13234,13234,17347,59,17346,1024,59,100,101,103,108,110,112,114,4779,13253,13257,13262,13270,13278,13281,13286,111,116,59,27242,256,59,113,4785,4784,256,59,69,13267,13268,27294,59,27296,256,59,69,13275,13276,27293,59,27295,101,59,25158,108,117,115,59,27172,97,114,114,59,26994,97,114,242,4413,512,97,101,105,116,13304,13320,13327,13335,256,108,115,13309,13316,108,115,101,116,109,233,13162,104,112,59,27187,112,97,114,115,108,59,27108,256,100,108,5219,13332,101,59,25379,256,59,101,13340,13341,27306,256,59,115,13346,13347,27308,59,49152,10924,65024,384,102,108,112,13358,13363,13378,116,99,121,59,17484,256,59,98,13368,13369,16431,256,59,97,13374,13375,27076,114,59,25407,102,59,49152,55349,56676,97,256,100,114,13389,1026,101,115,256,59,117,13396,13397,26208,105,116,187,13397,384,99,115,117,13408,13433,13471,256,97,117,13413,13423,112,256,59,115,4488,13419,59,49152,8851,65024,112,256,59,115,4532,13429,59,49152,8852,65024,117,256,98,112,13439,13455,384,59,101,115,4503,4508,13446,101,116,256,59,101,4503,13453,241,4509,384,59,101,115,4520,4525,13462,101,116,256,59,101,4520,13469,241,4526,384,59,97,102,4475,13478,1456,114,357,13483,1457,187,4476,97,114,242,4424,512,99,101,109,116,13497,13502,13506,13509,114,59,49152,55349,56520,116,109,238,241,105,236,13333,97,114,230,4542,256,97,114,13518,13525,114,256,59,102,13524,6079,26118,256,97,110,13530,13549,105,103,104,116,256,101,112,13539,13546,112,115,105,108,111,238,7904,104,233,11951,115,187,10322,640,98,99,109,110,112,13563,13662,4617,13707,13710,1152,59,69,100,101,109,110,112,114,115,13582,13583,13585,13589,13598,13603,13612,13617,13622,25218,59,27333,111,116,59,27325,256,59,100,4570,13594,111,116,59,27331,117,108,116,59,27329,256,69,101,13608,13610,59,27339,59,25226,108,117,115,59,27327,97,114,114,59,27001,384,101,105,117,13629,13650,13653,116,384,59,101,110,13582,13637,13643,113,256,59,113,4570,13583,101,113,256,59,113,13611,13608,109,59,27335,256,98,112,13658,13660,59,27349,59,27347,99,768,59,97,99,101,110,115,4589,13676,13682,13689,13691,13094,112,112,114,111,248,13050,117,114,108,121,101,241,4606,241,4595,384,97,101,115,13698,13704,13083,112,112,114,111,248,13082,113,241,13079,103,59,26218,1664,49,50,51,59,69,100,101,104,108,109,110,112,115,13737,13740,13743,4636,13746,13748,13760,13769,13781,13786,13791,13800,13805,32827,185,16569,32827,178,16562,32827,179,16563,59,27334,256,111,115,13753,13756,116,59,27326,117,98,59,27352,256,59,100,4642,13765,111,116,59,27332,115,256,111,117,13775,13778,108,59,26569,98,59,27351,97,114,114,59,27003,117,108,116,59,27330,256,69,101,13796,13798,59,27340,59,25227,108,117,115,59,27328,384,101,105,117,13812,13833,13836,116,384,59,101,110,4636,13820,13826,113,256,59,113,4642,13746,101,113,256,59,113,13799,13796,109,59,27336,256,98,112,13841,13843,59,27348,59,27350,384,65,97,110,13852,13856,13869,114,114,59,25049,114,256,104,114,13862,13864,235,8750,256,59,111,2603,2601,119,97,114,59,26922,108,105,103,32827,223,16607,3041,13905,13917,13920,4814,13939,13945,0,13950,14018,0,0,0,0,0,14043,14083,0,14089,14188,0,0,0,14215,626,13910,0,0,13915,103,101,116,59,25366,59,17348,114,235,3679,384,97,101,121,13926,13931,13936,114,111,110,59,16741,100,105,108,59,16739,59,17474,108,114,101,99,59,25365,114,59,49152,55349,56625,512,101,105,107,111,13958,13981,14005,14012,498,13963,0,13969,101,256,52,102,4740,4737,97,384,59,115,118,13976,13977,13979,17336,121,109,59,17361,256,99,110,13986,14002,107,256,97,115,13992,13998,112,112,114,111,248,4801,105,109,187,4780,115,240,4766,256,97,115,14010,13998,240,4801,114,110,32827,254,16638,492,799,14022,8935,101,115,33152,215,59,98,100,14031,14032,14040,16599,256,59,97,6415,14037,114,59,27185,59,27184,384,101,112,115,14049,14051,14080,225,10829,512,59,98,99,102,1158,14060,14064,14068,111,116,59,25398,105,114,59,27377,256,59,111,14073,14076,49152,55349,56677,114,107,59,27354,225,13154,114,105,109,101,59,24628,384,97,105,112,14095,14098,14180,100,229,4680,896,97,100,101,109,112,115,116,14113,14157,14144,14161,14167,14172,14175,110,103,108,101,640,59,100,108,113,114,14128,14129,14134,14144,14146,26037,111,119,110,187,7611,101,102,116,256,59,101,10240,14142,241,2350,59,25180,105,103,104,116,256,59,101,12970,14155,241,4186,111,116,59,26092,105,110,117,115,59,27194,108,117,115,59,27193,98,59,27085,105,109,101,59,27195,101,122,105,117,109,59,25570,384,99,104,116,14194,14205,14209,256,114,121,14199,14203,59,49152,55349,56521,59,17478,99,121,59,17499,114,111,107,59,16743,256,105,111,14219,14222,120,244,6007,104,101,97,100,256,108,114,14231,14240,101,102,116,97,114,114,111,247,2127,105,103,104,116,97,114,114,111,119,187,3933,2304,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,14288,14291,14295,14308,14320,14332,14350,14364,14371,14388,14417,14429,14443,14505,14540,14546,14570,14582,114,242,1005,97,114,59,26979,256,99,114,14300,14306,117,116,101,32827,250,16634,242,4432,114,483,14314,0,14317,121,59,17502,118,101,59,16749,256,105,121,14325,14330,114,99,32827,251,16635,59,17475,384,97,98,104,14339,14342,14347,114,242,5037,108,97,99,59,16753,97,242,5059,256,105,114,14355,14360,115,104,116,59,27006,59,49152,55349,56626,114,97,118,101,32827,249,16633,353,14375,14385,114,256,108,114,14380,14382,187,2391,187,4227,108,107,59,25984,256,99,116,14393,14413,623,14399,0,0,14410,114,110,256,59,101,14405,14406,25372,114,187,14406,111,112,59,25359,114,105,59,26104,256,97,108,14422,14426,99,114,59,16747,32955,168,841,256,103,112,14434,14438,111,110,59,16755,102,59,49152,55349,56678,768,97,100,104,108,115,117,4427,14456,14461,4978,14481,14496,111,119,110,225,5043,97,114,112,111,111,110,256,108,114,14472,14476,101,102,244,14381,105,103,104,244,14383,105,384,59,104,108,14489,14490,14492,17349,187,5114,111,110,187,14490,112,97,114,114,111,119,115,59,25032,384,99,105,116,14512,14532,14536,623,14518,0,0,14529,114,110,256,59,101,14524,14525,25373,114,187,14525,111,112,59,25358,110,103,59,16751,114,105,59,26105,99,114,59,49152,55349,56522,384,100,105,114,14553,14557,14562,111,116,59,25328,108,100,101,59,16745,105,256,59,102,14128,14568,187,6163,256,97,109,14575,14578,114,242,14504,108,32827,252,16636,97,110,103,108,101,59,27047,1920,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,14620,14623,14633,14637,14773,14776,14781,14815,14820,14824,14835,14841,14845,14849,14880,114,242,1015,97,114,256,59,118,14630,14631,27368,59,27369,97,115,232,993,256,110,114,14642,14647,103,114,116,59,27036,896,101,107,110,112,114,115,116,13539,14662,14667,14674,14685,14692,14742,97,112,112,225,9237,111,116,104,105,110,231,7830,384,104,105,114,13547,11976,14681,111,112,244,12213,256,59,104,5047,14690,239,12685,256,105,117,14697,14701,103,109,225,13235,256,98,112,14706,14724,115,101,116,110,101,113,256,59,113,14717,14720,49152,8842,65024,59,49152,10955,65024,115,101,116,110,101,113,256,59,113,14735,14738,49152,8843,65024,59,49152,10956,65024,256,104,114,14747,14751,101,116,225,13980,105,97,110,103,108,101,256,108,114,14762,14767,101,102,116,187,2341,105,103,104,116,187,4177,121,59,17458,97,115,104,187,4150,384,101,108,114,14788,14802,14807,384,59,98,101,11754,14795,14799,97,114,59,25275,113,59,25178,108,105,112,59,25326,256,98,116,14812,5224,97,242,5225,114,59,49152,55349,56627,116,114,233,14766,115,117,256,98,112,14831,14833,187,3356,187,3417,112,102,59,49152,55349,56679,114,111,240,3835,116,114,233,14772,256,99,117,14854,14859,114,59,49152,55349,56523,256,98,112,14864,14872,110,256,69,101,14720,14870,187,14718,110,256,69,101,14738,14878,187,14736,105,103,122,97,103,59,27034,896,99,101,102,111,112,114,115,14902,14907,14934,14939,14932,14945,14954,105,114,99,59,16757,256,100,105,14912,14929,256,98,103,14917,14921,97,114,59,27231,101,256,59,113,5626,14927,59,25177,101,114,112,59,24856,114,59,49152,55349,56628,112,102,59,49152,55349,56680,256,59,101,5241,14950,97,116,232,5241,99,114,59,49152,55349,56524,2787,6030,14983,0,14987,0,14992,15003,0,0,15005,15016,15019,15023,0,0,15043,15054,0,15064,6108,6111,116,114,233,6097,114,59,49152,55349,56629,256,65,97,14996,14999,114,242,963,114,242,2550,59,17342,256,65,97,15009,15012,114,242,952,114,242,2539,97,240,10003,105,115,59,25339,384,100,112,116,6052,15029,15038,256,102,108,15034,6057,59,49152,55349,56681,105,109,229,6066,256,65,97,15047,15050,114,242,974,114,242,2561,256,99,113,15058,6072,114,59,49152,55349,56525,256,112,116,6102,15068,114,233,6100,1024,97,99,101,102,105,111,115,117,15088,15101,15112,15116,15121,15125,15131,15137,99,256,117,121,15094,15099,116,101,32827,253,16637,59,17487,256,105,121,15106,15110,114,99,59,16759,59,17483,110,32827,165,16549,114,59,49152,55349,56630,99,121,59,17495,112,102,59,49152,55349,56682,99,114,59,49152,55349,56526,256,99,109,15142,15145,121,59,17486,108,32827,255,16639,1280,97,99,100,101,102,104,105,111,115,119,15170,15176,15188,15192,15204,15209,15213,15220,15226,15232,99,117,116,101,59,16762,256,97,121,15181,15186,114,111,110,59,16766,59,17463,111,116,59,16764,256,101,116,15197,15201,116,114,230,5471,97,59,17334,114,59,49152,55349,56631,99,121,59,17462,103,114,97,114,114,59,25053,112,102,59,49152,55349,56683,99,114,59,49152,55349,56527,256,106,110,15237,15239,59,24589,106,59,24588]),Zn=new Uint16Array([512,97,103,108,113,9,21,24,27,621,15,0,0,18,112,59,16422,111,115,59,16423,116,59,16446,116,59,16444,117,111,116,59,16418]);var je;const Yn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),it=(je=String.fromCodePoint)!==null&&je!==void 0?je:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Wn(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Yn.get(t))!==null&&e!==void 0?e:t}var at;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.To_LOWER_BIT=32]="To_LOWER_BIT"})(at||(at={}));var we;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(we||(we={}));function Xn(t,e,n,r){const i=(e&we.BRANCH_LENGTH)>>7,o=e&we.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const c=r-o;return c<0||c>i?-1:t[n+c]-1}let a=n,s=a+i-1;for(;a<=s;){const c=a+s>>>1,l=t[c];if(lr)s=c-1;else return t[c+i]}return-1}var y;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Num=35]="Num",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(y||(y={}));var g;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(g||(g={}));function ye(t){return t===y.Space||t===y.NewLine||t===y.Tab||t===y.FormFeed||t===y.CarriageReturn}function $e(t){return t===y.Slash||t===y.Gt||ye(t)}function st(t){return t>=y.Zero&&t<=y.Nine}function Qn(t){return t>=y.LowerA&&t<=y.LowerZ||t>=y.UpperA&&t<=y.UpperZ}function Jn(t){return t>=y.UpperA&&t<=y.UpperF||t>=y.LowerA&&t<=y.LowerF}var he;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(he||(he={}));const se={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])};class jn{constructor({xmlMode:e=!1,decodeEntities:n=!0},r){this.cbs=r,this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=e,this.decodeEntities=n,this.entityTrie=e?Zn:Vn}reset(){this.state=g.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=g.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=g.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===y.Amp&&(this.state=g.BeforeEntity)}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?$e(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=g.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===y.Gt||ye(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&e!==y.Semi)this.trieIndex+=r;else{const i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&we.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~we.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(e){(e|32)===y.LowerX?(this.entityExcess++,this.state=g.InHexEntity):(this.state=g.InNumericEntity,this.stateInNumericEntity(e))}emitNumericEntity(e){const n=this.index-this.entityExcess-1;n+2+Number(this.state===g.InHexEntity)!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint(Wn(this.entityResult))),this.state=this.baseState}stateInNumericEntity(e){e===y.Semi?this.emitNumericEntity(!0):st(e)?(this.entityResult=this.entityResult*10+(e-y.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(e){e===y.Semi?this.emitNumericEntity(!0):st(e)?(this.entityResult=this.entityResult*16+(e-y.Zero),this.entityExcess++):Jn(e)?(this.entityResult=this.entityResult*16+((e|32)-y.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===g.Text||this.baseState===g.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===g.Text||this.state===g.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===g.InAttributeValueDq||this.state===g.InAttributeValueSq||this.state===g.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index0&&a.has(this.stack[this.stack.length-1]);){const s=this.stack.pop();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,s,!0)}this.isVoidElement(e)||(this.stack.push(e),ut.has(e)?this.foreignContext.push(!0):dt.has(e)&&this.foreignContext.push(!1)),(o=(i=this.cbs).onopentagname)===null||o===void 0||o.call(i,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,n){var r,i,o,a,s,c;this.endIndex=n;let l=this.getSlice(e,n);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(ut.has(l)||dt.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((i=(r=this.cbs).onopentagname)===null||i===void 0||i.call(r,"br"),(a=(o=this.cbs).onopentag)===null||a===void 0||a.call(o,"br",{},!0),(c=(s=this.cbs).onclosetag)===null||c===void 0||c.call(s,"br",!1));else{const u=this.stack.lastIndexOf(l);if(u!==-1)if(this.cbs.onclosetag){let d=this.stack.length-u;for(;d--;)this.cbs.onclosetag(this.stack.pop(),d!==0)}else this.stack.length=u;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var n,r;const i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,i,!e),this.stack.pop())}onattribname(e,n){this.startIndex=e;const r=this.getSlice(e,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,n){this.attribvalue+=this.getSlice(e,n)}onattribentity(e){this.attribvalue+=it(e)}onattribend(e,n){var r,i;this.endIndex=n,(i=(r=this.cbs).onattribute)===null||i===void 0||i.call(r,this.attribname,this.attribvalue,e===he.Double?'"':e===he.Single?"'":e===he.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const n=e.search(nr);let r=n<0?e:e.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,n){this.endIndex=n;const r=this.getSlice(e,n);if(this.cbs.onprocessinginstruction){const i=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${i}`,`!${r}`)}this.startIndex=n+1}onprocessinginstruction(e,n){this.endIndex=n;const r=this.getSlice(e,n);if(this.cbs.onprocessinginstruction){const i=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${i}`,`?${r}`)}this.startIndex=n+1}oncomment(e,n,r){var i,o,a,s;this.endIndex=n,(o=(i=this.cbs).oncomment)===null||o===void 0||o.call(i,this.getSlice(e,n-r)),(s=(a=this.cbs).oncommentend)===null||s===void 0||s.call(a),this.startIndex=n+1}oncdata(e,n,r){var i,o,a,s,c,l,u,d,p,b;this.endIndex=n;const f=this.getSlice(e,n-r);this.options.xmlMode||this.options.recognizeCDATA?((o=(i=this.cbs).oncdatastart)===null||o===void 0||o.call(i),(s=(a=this.cbs).ontext)===null||s===void 0||s.call(a,f),(l=(c=this.cbs).oncdataend)===null||l===void 0||l.call(c)):((d=(u=this.cbs).oncomment)===null||d===void 0||d.call(u,`[CDATA[${f}]]`),(b=(p=this.cbs).oncommentend)===null||b===void 0||b.call(p)),this.startIndex=n+1}onend(){var e,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(n=(e=this.cbs).onend)===null||n===void 0||n.call(e)}reset(){var e,n,r,i;(n=(e=this.cbs).onreset)===null||n===void 0||n.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(i=(r=this.cbs).onparserinit)===null||i===void 0||i.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,n){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"­","­":"­","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","­":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"‌","‍":"‍","‎":"‎","‏":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"⁡","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"​","​":"​","​":"​","​":"​","≫":"≫","≪":"≪"," ":` +`,"𝔑":"𝔑","⁠":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц"," ":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"​","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"⁡","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"⁣","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"⁢","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"‏","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"­","­":"­","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"‍","‌":"‌"},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А","𝔄":"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą","𝔸":"𝔸","⁡":"⁡",Å:"Å","𝒜":"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒","ⅅ":"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė","𝔈":"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę","𝔼":"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃","ⅇ":"ⅇ",Ф:"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫",Ъ:"Ъ","ˇ":"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","⁣":"⁣","⁢":"⁢",Į:"Į","𝕀":"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","​":"​","\n":" ","𝔑":"𝔑","⁠":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő","𝔒":"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П","𝔓":"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫",Ψ:"Ψ",'"':""","𝔔":"𝔔",ℚ:"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С","𝔖":"𝔖","↑":"↑",Σ:"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц"," ":" ",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т","𝔗":"𝔗","∴":"∴",Θ:"Θ","  ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű","𝔘":"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů","𝒰":"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛",Ξ:"Ξ","𝕏":"𝕏","𝒳":"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ","𝒵":"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ","𝔞":"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å","𝒶":"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl","𝔣":"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡","𝔦":"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į","𝕚":"𝕚",ι:"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к","𝔨":"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","‎":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—","𝔪":"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅",ψ:"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","‏":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯",щ:"щ",ш:"ш","­":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕","𝔱":"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾","𝔲":"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų","𝕦":"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵",ξ:"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥","𝔶":"𝔶",ї:"ї","𝕪":"𝕪","𝓎":"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ","𝔷":"𝔷",ж:"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"‍","‌":"‌"}}};var P1={};Object.defineProperty(P1,"__esModule",{value:!0});P1.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.fromCodePoint=String.fromCodePoint||function(t){return String.fromCharCode(Math.floor((t-65536)/1024)+55296,(t-65536)%1024+56320)};ke.getCodePoint=String.prototype.codePointAt?function(t,e){return t.codePointAt(e)}:function(t,e){return(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536};ke.highSurrogateFrom=55296;ke.highSurrogateTo=56319;var Ie=Q1&&Q1.__assign||function(){return Ie=Object.assign||function(t){for(var e,n=1,r=arguments.length;n'"&]/g,nonAscii:/(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,nonAsciiPrintable:/(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,extensive:/(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g},ar={mode:"specialChars",level:"all",numeric:"decimal"};function sr(t,e){var u=e===void 0?ar:e,d=u.mode,n=d===void 0?"specialChars":d,r=u.numeric,i=r===void 0?"decimal":r,o=u.level,a=o===void 0?"all":o;if(!t)return"";var s=ir[n],c=z1[a].characters,l=i==="hexadecimal";s.lastIndex=0;var u=s.exec(t),d;if(u){d="";var r=0;do{r!==u.index&&(d+=t.substring(r,u.index));var o=u[0],p=c[o];if(!p){var b=o.length>1?F1.getCodePoint(o,0):o.charCodeAt(0);p=(l?"&#x"+b.toString(16):"&#"+b)+";"}d+=p,r=u.index+o.length}while(u=s.exec(t));r!==t.length&&(d+=t.substring(r))}else d=t;return d}var gt=Ve.encode=sr,or={scope:"body",level:"all"},e1=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,t1=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,pt={xml:{strict:e1,attribute:t1,body:qe.bodyRegExps.xml},html4:{strict:e1,attribute:t1,body:qe.bodyRegExps.html4},html5:{strict:e1,attribute:t1,body:qe.bodyRegExps.html5}},cr=Ie(Ie({},pt),{all:pt.html5}),$1=String.fromCharCode,gn=$1(65533),lr={level:"all"};function ur(t,e){var r=(e===void 0?lr:e).level,n=r===void 0?"all":r;if(!t)return"";var r=t;t[t.length-1];{var i=z1[n].entities[t];if(i)r=i;else if(t[0]==="&"&&t[1]==="#"){var o=t[2],a=o=="x"||o=="X"?parseInt(t.substr(3),16):parseInt(t.substr(2));r=a>=1114111?gn:a>65535?F1.fromCodePoint(a):$1(dn.numericUnicodeMap[a]||a)}}return r}Ve.decodeEntity=ur;function dr(t,e){var n=e===void 0?or:e,r=n.level,i=r===void 0?"all":r,o=n.scope,a=o===void 0?i==="xml"?"strict":"body":o;if(!t)return"";var s=cr[i][a],c=z1[i].entities,l=a==="attribute",u=a==="strict";s.lastIndex=0;var d=s.exec(t),p;if(d){p="";var b=0;do{b!==d.index&&(p+=t.substring(b,d.index));var f=d[0],h=f,N=f[f.length-1];if(l&&N==="=")h=f;else if(u&&N!==";")h=f;else{var E=c[f];if(E)h=E;else if(f[0]==="&"&&f[1]==="#"){var I=f[2],x=I=="x"||I=="X"?parseInt(f.substr(3),16):parseInt(f.substr(2));h=x>=1114111?gn:x>65535?F1.fromCodePoint(x):$1(dn.numericUnicodeMap[x]||x)}}p+=h,b=d.index+f.length}while(d=s.exec(t));b!==t.length&&(p+=t.substring(b))}else p=t;return p}Ve.decode=dr;var H1={exports:{}};function G1(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];typeof n=="object"&&!Object.isFrozen(n)&&G1(n)}),t}H1.exports=G1;H1.exports.default=G1;class bt{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pn(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Ne(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const gr="",mt=t=>!!t.scope||t.sublanguage&&t.language,pr=(t,{prefix:e})=>{if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class br{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=pn(e)}openNode(e){if(!mt(e))return;let n="";e.sublanguage?n=`language-${e.language}`:n=pr(e.scope,{prefix:this.classPrefix}),this.span(n)}closeNode(e){!mt(e)||(this.buffer+=gr)}value(){return this.buffer}span(e){this.buffer+=``}}const ft=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class K1{constructor(){this.rootNode=ft(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=ft({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&(!e.children||(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{K1._collapse(n)})))}}class mr extends K1{constructor(e){super(),this.options=e}addKeyword(e,n){e!==""&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){e!==""&&this.add(e)}addSublanguage(e,n){const r=e.root;r.sublanguage=!0,r.language=n,this.add(r)}toHTML(){return new br(this,this.options).value()}finalize(){return!0}}function Be(t){return t?typeof t=="string"?t:t.source:null}function bn(t){return xe("(?=",t,")")}function fr(t){return xe("(?:",t,")*")}function hr(t){return xe("(?:",t,")?")}function xe(...t){return t.map(n=>Be(n)).join("")}function Er(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function V1(...t){return"("+(Er(t).capture?"":"?:")+t.map(r=>Be(r)).join("|")+")"}function mn(t){return new RegExp(t.toString()+"|").exec("").length-1}function _r(t,e){const n=t&&t.exec(e);return n&&n.index===0}const vr=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Z1(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let o=Be(r),a="";for(;o.length>0;){const s=vr.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(e)}const yr=/\b\B/,fn="[a-zA-Z]\\w*",Y1="[a-zA-Z_]\\w*",hn="\\b\\d+(\\.\\d+)?",En="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",_n="\\b(0b[01]+)",Nr="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",wr=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=xe(e,/.*\b/,t.binary,/\b.*/)),Ne({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Ue={begin:"\\\\[\\s\\S]",relevance:0},Sr={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ue]},xr={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ue]},Tr={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ye=function(t,e,n={}){const r=Ne({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=V1("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:xe(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Ar=Ye("//","$"),Or=Ye("/\\*","\\*/"),Rr=Ye("#","$"),Ir={scope:"number",begin:hn,relevance:0},kr={scope:"number",begin:En,relevance:0},Mr={scope:"number",begin:_n,relevance:0},Dr={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Ue,{begin:/\[/,end:/\]/,relevance:0,contains:[Ue]}]}]},Cr={scope:"title",begin:fn,relevance:0},Lr={scope:"title",begin:Y1,relevance:0},qr={begin:"\\.\\s*"+Y1,relevance:0},Br=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var He=Object.freeze({__proto__:null,MATCH_NOTHING_RE:yr,IDENT_RE:fn,UNDERSCORE_IDENT_RE:Y1,NUMBER_RE:hn,C_NUMBER_RE:En,BINARY_NUMBER_RE:_n,RE_STARTERS_RE:Nr,SHEBANG:wr,BACKSLASH_ESCAPE:Ue,APOS_STRING_MODE:Sr,QUOTE_STRING_MODE:xr,PHRASAL_WORDS_MODE:Tr,COMMENT:Ye,C_LINE_COMMENT_MODE:Ar,C_BLOCK_COMMENT_MODE:Or,HASH_COMMENT_MODE:Rr,NUMBER_MODE:Ir,C_NUMBER_MODE:kr,BINARY_NUMBER_MODE:Mr,REGEXP_MODE:Dr,TITLE_MODE:Cr,UNDERSCORE_TITLE_MODE:Lr,METHOD_GUARD:qr,END_SAME_AS_BEGIN:Br});function Ur(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Pr(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Fr(t,e){!e||!t.beginKeywords||(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Ur,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function zr(t,e){!Array.isArray(t.illegal)||(t.illegal=V1(...t.illegal))}function $r(t,e){if(!!t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Hr(t,e){t.relevance===void 0&&(t.relevance=1)}const Gr=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=xe(n.beforeMatch,bn(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Kr=["of","and","for","in","not","or","if","then","parent","list","value"],Vr="keyword";function vn(t,e,n=Vr){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(o){Object.assign(r,vn(t[o],e,o))}),r;function i(o,a){e&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const c=s.split("|");r[c[0]]=[o,Zr(c[0],c[1])]})}}function Zr(t,e){return e?Number(e):Yr(t)?0:1}function Yr(t){return Kr.includes(t.toLowerCase())}const ht={},Se=t=>{console.error(t)},Et=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Oe=(t,e)=>{ht[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),ht[`${t}/${e}`]=!0)},Ke=new Error;function yn(t,e,{key:n}){let r=0;const i=t[n],o={},a={};for(let s=1;s<=e.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=mn(e[s-1]);t[n]=a,t[n]._emit=o,t[n]._multi=!0}function Wr(t){if(!!Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Se("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ke;if(typeof t.beginScope!="object"||t.beginScope===null)throw Se("beginScope must be object"),Ke;yn(t,t.begin,{key:"beginScope"}),t.begin=Z1(t.begin,{joinWith:""})}}function Xr(t){if(!!Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Se("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ke;if(typeof t.endScope!="object"||t.endScope===null)throw Se("endScope must be object"),Ke;yn(t,t.end,{key:"endScope"}),t.end=Z1(t.end,{joinWith:""})}}function Qr(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Jr(t){Qr(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Wr(t),Xr(t)}function jr(t){function e(a,s){return new RegExp(Be(a),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,s]),this.matchAt+=mn(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(c=>c[1]);this.matcherRe=e(Z1(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(s);if(!c)return null;const l=c.findIndex((d,p)=>p>0&&d!==void 0),u=this.matchIndexes[l];return c.splice(0,l),Object.assign(c,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const c=new n;return this.rules.slice(s).forEach(([l,u])=>c.addRule(l,u)),c.compile(),this.multiRegexes[s]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,c){this.rules.push([s,c]),c.type==="begin"&&this.count++}exec(s){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let l=c.exec(s);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(s)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function i(a){const s=new r;return a.contains.forEach(c=>s.addRule(c.begin,{rule:c,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const c=a;if(a.isCompiled)return c;[Pr,$r,Jr,Gr].forEach(u=>u(a,s)),t.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Fr,zr,Hr].forEach(u=>u(a,s)),a.isCompiled=!0;let l=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),l=a.keywords.$pattern,delete a.keywords.$pattern),l=l||/\w+/,a.keywords&&(a.keywords=vn(a.keywords,t.case_insensitive)),c.keywordPatternRe=e(l,!0),s&&(a.begin||(a.begin=/\B|\b/),c.beginRe=e(c.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(c.endRe=e(c.end)),c.terminatorEnd=Be(c.end)||"",a.endsWithParent&&s.terminatorEnd&&(c.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(c.illegalRe=e(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return ei(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,c)}),a.starts&&o(a.starts,s),c.matcher=i(c),c}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Ne(t.classNameAliases||{}),o(t)}function Nn(t){return t?t.endsWithParent||Nn(t.starts):!1}function ei(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Ne(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Nn(t)?Ne(t,{starts:t.starts?Ne(t.starts):null}):Object.isFrozen(t)?Ne(t):t}var ti="11.6.0";class ni extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const n1=pn,_t=Ne,vt=Symbol("nomatch"),ri=7,ii=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:mr};function c(m){return s.noHighlightRe.test(m)}function l(m){let w=m.className+" ";w+=m.parentNode?m.parentNode.className:"";const O=s.languageDetectRe.exec(w);if(O){const L=C(O[1]);return L||(Et(o.replace("{}",O[1])),Et("Falling back to no-highlight mode for this block.",m)),L?O[1]:"no-highlight"}return w.split(/\s+/).find(L=>c(L)||C(L))}function u(m,w,O){let L="",$="";typeof w=="object"?(L=m,O=w.ignoreIllegals,$=w.language):(Oe("10.7.0","highlight(lang, code, ...args) has been deprecated."),Oe("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),$=m,L=w),O===void 0&&(O=!0);const X={code:L,language:$};V("before:highlight",X);const re=X.result?X.result:d(X.language,X.code,O);return re.code=X.code,V("after:highlight",re),re}function d(m,w,O,L){const $=Object.create(null);function X(_,S){return _.keywords[S]}function re(){if(!A.keywords){Y.addText(F);return}let _=0;A.keywordPatternRe.lastIndex=0;let S=A.keywordPatternRe.exec(F),k="";for(;S;){k+=F.substring(_,S.index);const q=de.case_insensitive?S[0].toLowerCase():S[0],j=X(A,q);if(j){const[ge,Xe]=j;if(Y.addText(k),k="",$[q]=($[q]||0)+1,$[q]<=ri&&(_e+=Xe),ge.startsWith("_"))k+=S[0];else{const Qe=de.classNameAliases[ge]||ge;Y.addKeyword(S[0],Qe)}}else k+=S[0];_=A.keywordPatternRe.lastIndex,S=A.keywordPatternRe.exec(F)}k+=F.substring(_),Y.addText(k)}function pe(){if(F==="")return;let _=null;if(typeof A.subLanguage=="string"){if(!e[A.subLanguage]){Y.addText(F);return}_=d(A.subLanguage,F,!0,ze[A.subLanguage]),ze[A.subLanguage]=_._top}else _=b(F,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(_e+=_.relevance),Y.addSublanguage(_._emitter,_.language)}function G(){A.subLanguage!=null?pe():re(),F=""}function Q(_,S){let k=1;const q=S.length-1;for(;k<=q;){if(!_._emit[k]){k++;continue}const j=de.classNameAliases[_[k]]||_[k],ge=S[k];j?Y.addKeyword(ge,j):(F=ge,re(),F=""),k++}}function J(_,S){return _.scope&&typeof _.scope=="string"&&Y.openNode(de.classNameAliases[_.scope]||_.scope),_.beginScope&&(_.beginScope._wrap?(Y.addKeyword(F,de.classNameAliases[_.beginScope._wrap]||_.beginScope._wrap),F=""):_.beginScope._multi&&(Q(_.beginScope,S),F="")),A=Object.create(_,{parent:{value:A}}),A}function H(_,S,k){let q=_r(_.endRe,k);if(q){if(_["on:end"]){const j=new bt(_);_["on:end"](S,j),j.isMatchIgnored&&(q=!1)}if(q){for(;_.endsParent&&_.parent;)_=_.parent;return _}}if(_.endsWithParent)return H(_.parent,S,k)}function ne(_){return A.matcher.regexIndex===0?(F+=_[0],1):(Ce=!0,0)}function ae(_){const S=_[0],k=_.rule,q=new bt(k),j=[k.__beforeBegin,k["on:begin"]];for(const ge of j)if(!!ge&&(ge(_,q),q.isMatchIgnored))return ne(S);return k.skip?F+=S:(k.excludeBegin&&(F+=S),G(),!k.returnBegin&&!k.excludeBegin&&(F=S)),J(k,_),k.returnBegin?0:S.length}function le(_){const S=_[0],k=w.substring(_.index),q=H(A,_,k);if(!q)return vt;const j=A;A.endScope&&A.endScope._wrap?(G(),Y.addKeyword(S,A.endScope._wrap)):A.endScope&&A.endScope._multi?(G(),Q(A.endScope,_)):j.skip?F+=S:(j.returnEnd||j.excludeEnd||(F+=S),G(),j.excludeEnd&&(F=S));do A.scope&&Y.closeNode(),!A.skip&&!A.subLanguage&&(_e+=A.relevance),A=A.parent;while(A!==q.parent);return q.starts&&J(q.starts,_),j.returnEnd?0:S.length}function be(){const _=[];for(let S=A;S!==de;S=S.parent)S.scope&&_.unshift(S.scope);_.forEach(S=>Y.openNode(S))}let me={};function Ee(_,S){const k=S&&S[0];if(F+=_,k==null)return G(),0;if(me.type==="begin"&&S.type==="end"&&me.index===S.index&&k===""){if(F+=w.slice(S.index,S.index+1),!i){const q=new Error(`0 width match regex (${m})`);throw q.languageName=m,q.badRule=me.rule,q}return 1}if(me=S,S.type==="begin")return ae(S);if(S.type==="illegal"&&!O){const q=new Error('Illegal lexeme "'+k+'" for mode "'+(A.scope||"")+'"');throw q.mode=A,q}else if(S.type==="end"){const q=le(S);if(q!==vt)return q}if(S.type==="illegal"&&k==="")return 1;if(De>1e5&&De>S.index*3)throw new Error("potential infinite loop, way more iterations than matches");return F+=k,k.length}const de=C(m);if(!de)throw Se(o.replace("{}",m)),new Error('Unknown language: "'+m+'"');const We=jr(de);let Me="",A=L||We;const ze={},Y=new s.__emitter(s);be();let F="",_e=0,ie=0,De=0,Ce=!1;try{for(A.matcher.considerAll();;){De++,Ce?Ce=!1:A.matcher.considerAll(),A.matcher.lastIndex=ie;const _=A.matcher.exec(w);if(!_)break;const S=w.substring(ie,_.index),k=Ee(S,_);ie=_.index+k}return Ee(w.substring(ie)),Y.closeAllNodes(),Y.finalize(),Me=Y.toHTML(),{language:m,value:Me,relevance:_e,illegal:!1,_emitter:Y,_top:A}}catch(_){if(_.message&&_.message.includes("Illegal"))return{language:m,value:n1(w),illegal:!0,relevance:0,_illegalBy:{message:_.message,index:ie,context:w.slice(ie-100,ie+100),mode:_.mode,resultSoFar:Me},_emitter:Y};if(i)return{language:m,value:n1(w),illegal:!1,relevance:0,errorRaised:_,_emitter:Y,_top:A};throw _}}function p(m){const w={value:n1(m),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return w._emitter.addText(m),w}function b(m,w){w=w||s.languages||Object.keys(e);const O=p(m),L=w.filter(C).filter(z).map(G=>d(G,m,!1));L.unshift(O);const $=L.sort((G,Q)=>{if(G.relevance!==Q.relevance)return Q.relevance-G.relevance;if(G.language&&Q.language){if(C(G.language).supersetOf===Q.language)return 1;if(C(Q.language).supersetOf===G.language)return-1}return 0}),[X,re]=$,pe=X;return pe.secondBest=re,pe}function f(m,w,O){const L=w&&n[w]||O;m.classList.add("hljs"),m.classList.add(`language-${L}`)}function h(m){let w=null;const O=l(m);if(c(O))return;if(V("before:highlightElement",{el:m,language:O}),m.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(m)),s.throwUnescapedHTML))throw new ni("One of your code blocks includes unescaped HTML.",m.innerHTML);w=m;const L=w.textContent,$=O?u(L,{language:O,ignoreIllegals:!0}):b(L);m.innerHTML=$.value,f(m,O,$.language),m.result={language:$.language,re:$.relevance,relevance:$.relevance},$.secondBest&&(m.secondBest={language:$.secondBest.language,relevance:$.secondBest.relevance}),V("after:highlightElement",{el:m,result:$,text:L})}function N(m){s=_t(s,m)}const E=()=>{T(),Oe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function I(){T(),Oe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function T(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(s.cssSelector).forEach(h)}function R(){x&&T()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function D(m,w){let O=null;try{O=w(t)}catch(L){if(Se("Language definition for '{}' could not be registered.".replace("{}",m)),i)Se(L);else throw L;O=a}O.name||(O.name=m),e[m]=O,O.rawDefinition=w.bind(null,t),O.aliases&&W(O.aliases,{languageName:m})}function U(m){delete e[m];for(const w of Object.keys(n))n[w]===m&&delete n[w]}function v(){return Object.keys(e)}function C(m){return m=(m||"").toLowerCase(),e[m]||e[n[m]]}function W(m,{languageName:w}){typeof m=="string"&&(m=[m]),m.forEach(O=>{n[O.toLowerCase()]=w})}function z(m){const w=C(m);return w&&!w.disableAutodetect}function ce(m){m["before:highlightBlock"]&&!m["before:highlightElement"]&&(m["before:highlightElement"]=w=>{m["before:highlightBlock"](Object.assign({block:w.el},w))}),m["after:highlightBlock"]&&!m["after:highlightElement"]&&(m["after:highlightElement"]=w=>{m["after:highlightBlock"](Object.assign({block:w.el},w))})}function te(m){ce(m),r.push(m)}function V(m,w){const O=m;r.forEach(function(L){L[O]&&L[O](w)})}function ee(m){return Oe("10.7.0","highlightBlock will be removed entirely in v12.0"),Oe("10.7.0","Please use highlightElement now."),h(m)}Object.assign(t,{highlight:u,highlightAuto:b,highlightAll:T,highlightElement:h,highlightBlock:ee,configure:N,initHighlighting:E,initHighlightingOnLoad:I,registerLanguage:D,unregisterLanguage:U,listLanguages:v,getLanguage:C,registerAliases:W,autoDetection:z,inherit:_t,addPlugin:te}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=ti,t.regex={concat:xe,lookahead:bn,either:V1,optional:hr,anyNumberOfTimes:fr};for(const m in He)typeof He[m]=="object"&&H1.exports(He[m]);return Object.assign(t,He),t};var Pe=ii({}),ai=Pe;Pe.HighlightJS=Pe;Pe.default=Pe;var r1,yt;function si(){if(yt)return r1;yt=1;function t(e){const n=e.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(a,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[a,l,c,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[a,s,l,c]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return r1=t,r1}var i1,Nt;function oi(){if(Nt)return i1;Nt=1;function t(e){const n=e.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,o]};o.contains.push(s);const c={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},u={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},d=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${d.join("|")})`,relevance:10}),b={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},f=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],h=["true","false"],N={match:/(\/[a-z._-]+)+/},E=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],T=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:f,literal:h,built_in:[...E,...I,"set","shopt",...x,...T]},contains:[p,e.SHEBANG(),b,u,e.HASH_COMMENT_MODE,a,N,s,c,l,r]}}return i1=t,i1}var a1,wt;function ci(){if(wt)return a1;wt=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",s="("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional(a)+")",c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(o)+e.IDENT_RE,relevance:0},f=n.optional(o)+e.IDENT_RE+"\\s*\\(",E={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},I=[p,c,r,e.C_BLOCK_COMMENT_MODE,d,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:I.concat([{begin:/\(/,end:/\)/,keywords:E,contains:I.concat(["self"]),relevance:0}]),relevance:0},T={begin:"("+s+"[\\*&\\s]+)+"+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:E,relevance:0},{begin:f,returnBegin:!0,contains:[e.inherit(b,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,u,d,c,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,u,d,c]}]},c,r,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:u,keywords:E}}}return a1=t,a1}var s1,St;function li(){if(St)return s1;St=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",s="(?!struct)("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional(a)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:n.optional(o)+e.IDENT_RE,relevance:0},f=n.optional(o)+e.IDENT_RE+"\\s*\\(",h=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],N=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],E=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],I=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:N,keyword:h,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:E},D={className:"function.dispatch",relevance:0,keywords:{_hint:I},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},U=[D,p,c,r,e.C_BLOCK_COMMENT_MODE,d,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:U.concat([{begin:/\(/,end:/\)/,keywords:R,contains:U.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+s+"[\\*&\\s]+)+"+f,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:R,relevance:0},{begin:f,returnBegin:!0,contains:[b],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,u,d,c,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,u,d,c]}]},c,r,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",c]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return s1=t,s1}var o1,xt;function ui(){if(xt)return o1;xt=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:o.concat(a),built_in:n,literal:i},c=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(u,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},b=e.inherit(p,{illegal:/\n/}),f={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,b]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},N=e.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},b]});p.contains=[h,f,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],b.contains=[N,f,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const E={variants:[h,f,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},I={begin:"<",end:">",contains:[{beginKeywords:"in out"},c]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",T={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},E,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},c,I,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,I,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,I],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[E,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},T]}}return o1=t,o1}var c1,Tt;function di(){if(Tt)return c1;Tt=1;const t=s=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:s.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:s.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function a(s){const c=s.regex,l=t(s),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},d="and or not only",p=/@-?\w[\w]*(-\w+)*/,b="[a-zA-Z-][a-zA-Z0-9_-]*",f=[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[l.BLOCK_COMMENT,u,l.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+b,relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[l.BLOCK_COMMENT,l.HEXCOLOR,l.IMPORTANT,l.CSS_NUMBER_MODE,...f,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...f,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},l.FUNCTION_DISPATCH]},{begin:c.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:p},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...f,l.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return c1=a,c1}var l1,At;function gi(){if(At)return l1;At=1;function t(e){const n=e.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},c=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,c,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]},p=e.inherit(u,{contains:[]}),b=e.inherit(d,{contains:[]});u.contains.push(b),d.contains.push(p);let f=[r,l];return[u,d,p,b].forEach(E=>{E.contains=E.contains.concat(f)}),f=f.concat(u,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},r,a,u,d,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},o,i,l,s]}}return l1=t,l1}var u1,Ot;function pi(){if(Ot)return u1;Ot=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return u1=t,u1}var d1,Rt;function bi(){if(Rt)return d1;Rt=1;function t(e){const n=e.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=n.concat(i,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__"],"variable.language":["self","super"],keyword:["alias","and","attr_accessor","attr_reader","attr_writer","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","include","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield"],built_in:["proc","lambda"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},p="[1-9](_?[0-9])*|0",b="[0-9](_?[0-9])*",f={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${b}))?([eE][+-]?(${b})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},T=[d,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{relevance:0,match:[o,/\.new[ (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:r}],relevance:0},f,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,l),relevance:0}].concat(c,l);u.contains=T,h.contains=T;const R="[>?]>",D="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",U="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",v=[{begin:/^\s*=>/,starts:{end:"$",contains:T}},{className:"meta.prompt",begin:"^("+R+"|"+D+"|"+U+")(?=[ ])",starts:{end:"$",keywords:a,contains:T}}];return l.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(v).concat(l).concat(T)}}return d1=t,d1}var g1,It;function mi(){if(It)return g1;It=1;function t(e){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"i(a,s,c-1))}function o(a){const s=a.regex,c="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",l=c+i("(?:<"+c+"~~~(?:\\s*,\\s*"+c+"~~~)*>)?",/~~~/g,2),f={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},h={className:"meta",begin:"@"+c,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},N={className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[a.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:f,illegal:/<\/|#/,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[a.BACKSLASH_ESCAPE]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,c],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[s.concat(/(?!else)/,c),/\s+/,c,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,c],className:{1:"keyword",3:"title.class"},contains:[N,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+l+"\\s+)",a.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:f,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[h,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,r,a.C_BLOCK_COMMENT_MODE]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},r,h]}}return m1=o,m1}var f1,Ct;function _i(){if(Ct)return f1;Ct=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(o,r,i);function c(l){const u=l.regex,d=(J,{after:H})=>{const ne="",end:""},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,h={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(J,H)=>{const ne=J[0].length+J.index,ae=J.input[ne];if(ae==="<"||ae===","){H.ignoreMatch();return}ae===">"&&(d(J,{after:ne})||H.ignoreMatch());let le;if((le=J.input.substring(ne).match(/^\s+extends\s+/))&&le.index===0){H.ignoreMatch();return}}},N={$pattern:t,keyword:e,literal:n,built_in:s,"variable.language":a},E="[0-9](_?[0-9])*",I=`\\.(${E})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${x})((${I})|\\.)?|(${I}))[eE][+-]?(${E})\\b`},{begin:`\\b(${x})\\b((${I})\\b|\\.)?|(${I})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:N,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},U={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[l.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={className:"string",begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE,R]},W={className:"comment",variants:[l.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),l.C_BLOCK_COMMENT_MODE,l.C_LINE_COMMENT_MODE]},z=[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,D,U,v,T];R.contains=z.concat({begin:/\{/,end:/\}/,keywords:N,contains:["self"].concat(z)});const ce=[].concat(W,R.contains),te=ce.concat([{begin:/\(/,end:/\)/,keywords:N,contains:["self"].concat(ce)}]),V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:N,contains:te},ee={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,u.concat(p,"(",u.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},m={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},w={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[V],illegal:/%/},L={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(J){return u.concat("(?!",J.join("|"),")")}const X={match:u.concat(/\b/,$([...o,"super"]),p,u.lookahead(/\(/)),className:"title.function",relevance:0},re={begin:u.concat(/\./,u.lookahead(u.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},pe={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},V]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+l.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[V]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:N,exports:{PARAMS_CONTAINS:te,CLASS_REFERENCE:m},illegal:/#(?![$_A-z])/,contains:[l.SHEBANG({label:"shebang",binary:"node",relevance:5}),w,l.APOS_STRING_MODE,l.QUOTE_STRING_MODE,D,U,v,W,T,m,{className:"attr",begin:p+u.lookahead(":"),relevance:0},Q,{begin:"("+l.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[W,l.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:l.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:N,contains:te}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:b.begin,end:b.end},{match:f},{begin:h.begin,"on:begin":h.isTrulyOpeningTag,end:h.end}],subLanguage:"xml",contains:[{begin:h.begin,end:h.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+l.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[V,l.inherit(l.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[V]},X,L,ee,pe,{match:/\$[(.]/}]}}return f1=c,f1}var h1,Lt;function vi(){if(Lt)return h1;Lt=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],o={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[n,r,e.QUOTE_STRING_MODE,o,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return h1=t,h1}var E1,qt;function yi(){if(qt)return E1;qt=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(o){const a={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},c={className:"symbol",begin:o.UNDERSCORE_IDENT_RE+"@"},l={className:"subst",begin:/\$\{/,end:/\}/,contains:[o.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+o.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,l]},{begin:"'",end:"'",illegal:/\n/,contains:[o.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[o.BACKSLASH_ESCAPE,u,l]}]};l.contains.push(d);const p={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+o.UNDERSCORE_IDENT_RE+")?"},b={className:"meta",begin:"@"+o.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[o.inherit(d,{className:"string"}),"self"]}]},f=r,h=o.COMMENT("/\\*","\\*/",{contains:[o.C_BLOCK_COMMENT_MODE]}),N={variants:[{className:"type",begin:o.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},E=N;return E.variants[1].contains=[N],N.variants[1].contains=[E],{name:"Kotlin",aliases:["kt","kts"],keywords:a,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),o.C_LINE_COMMENT_MODE,h,s,c,p,b,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:a,relevance:5,contains:[{begin:o.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[o.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[N,o.C_LINE_COMMENT_MODE,h],relevance:0},o.C_LINE_COMMENT_MODE,h,p,b,d,o.C_NUMBER_MODE]},h]},{begin:[/class|interface|trait/,/\s+/,o.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},o.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},p,b]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},f]}}return E1=i,E1}var _1,Bt;function Ni(){if(Bt)return _1;Bt=1;const t=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),a=r.concat(i);function s(c){const l=t(c),u=a,d="and or not only",p="[\\w-]+",b="("+p+"|@\\{"+p+"\\})",f=[],h=[],N=function(z){return{className:"string",begin:"~?"+z+".*?"+z}},E=function(z,ce,te){return{className:z,begin:ce,relevance:te}},I={$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:h,keywords:I,relevance:0};h.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,N("'"),N('"'),l.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},l.HEXCOLOR,x,E("variable","@@?"+p,10),E("variable","@\\{"+p+"\\}"),E("built_in","~?`[^`]*?`"),{className:"attribute",begin:p+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},l.IMPORTANT,{beginKeywords:"and not"},l.FUNCTION_DISPATCH);const T=h.concat({begin:/\{/,end:/\}/,contains:f}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(h)},D={begin:b+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:h}}]},U={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:I,returnEnd:!0,contains:h,relevance:0}},v={className:"variable",variants:[{begin:"@"+p+"\\s*:",relevance:15},{begin:"@"+p}],starts:{end:"[;}]",returnEnd:!0,contains:T}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:b,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,R,E("keyword","all\\b"),E("variable","@\\{"+p+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},l.CSS_NUMBER_MODE,E("selector-tag",b,0),E("selector-id","#"+b),E("selector-class","\\."+b,0),E("selector-tag","&",0),l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:T},{begin:"!important"},l.FUNCTION_DISPATCH]},W={begin:p+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[C]};return f.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,U,v,W,D,C,R,l.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:f}}return _1=s,_1}var v1,Ut;function wi(){if(Ut)return v1;Ut=1;function t(e){const n="\\[=*\\[",r="\\]=*\\]",i={begin:n,end:r,contains:["self"]},o=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,r,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[i],relevance:5}])}}return v1=t,v1}var y1,Pt;function Si(){if(Pt)return y1;Pt=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},c={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},l=[e.BACKSLASH_ESCAPE,a,c],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(f,h,N="\\1")=>{const E=N==="\\1"?N:n.concat(N,h);return n.concat(n.concat("(?:",f,")"),h,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,N,i)},p=(f,h,N)=>n.concat(n.concat("(?:",f,")"),h,/(?:\\.|[^\\\/])*?/,N,i),b=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",n.either(...u,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=b,s.contains=b,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:b}}return N1=t,N1}var w1,zt;function Ti(){if(zt)return w1;zt=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,c={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:c,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return w1=t,w1}var S1,$t;function Ai(){if($t)return S1;$t=1;function t(e){const n=e.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),o=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),a={scope:"variable",match:"\\$+"+i},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),p=`[ +]`,b={scope:"string",variants:[u,l,d]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},h=["false","null","true"],N=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],x={keyword:N,literal:(te=>{const V=[];return te.forEach(ee=>{V.push(ee),ee.toLowerCase()===ee?V.push(ee.toUpperCase()):V.push(ee.toLowerCase())}),V})(h),built_in:E},T=te=>te.map(V=>V.replace(/\|\d+$/,"")),R={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",T(E).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(i,"\\b(?!\\()"),U={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[o,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},v={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},C={relevance:0,begin:/\(/,end:/\)/,keywords:x,contains:[v,a,U,e.C_BLOCK_COMMENT_MODE,b,f,R]},W={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",T(N).join("\\b|"),"|",T(E).join("\\b|"),"\\b)"),i,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[C]};C.contains.push(W);const z=[v,U,e.C_BLOCK_COMMENT_MODE,b,f,R],ce={begin:n.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:h,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:h,keyword:["new","array"]},contains:["self",...z]},...z,{scope:"meta",match:o}]};return{case_insensitive:!1,keywords:x,contains:[ce,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,W,U,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},R,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:x,contains:["self",a,U,e.C_BLOCK_COMMENT_MODE,b,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},b,f]}}return S1=t,S1}var x1,Ht;function Oi(){if(Ht)return x1;Ht=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return x1=t,x1}var T1,Gt;function Ri(){if(Gt)return T1;Gt=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return T1=t,T1}var A1,Kt;function Ii(){if(Kt)return A1;Kt=1;function t(e){const n=e.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],c={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:c,illegal:/#/},d={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,d,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,d,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b="[0-9](_?[0-9])*",f=`(\\b(${b}))?\\.(${b})|\\b(${b})\\.`,h=`\\b|${i.join("|")}`,N={className:"number",relevance:0,variants:[{begin:`(\\b(${b})|(${f}))[eE][+-]?(${b})[jJ]?(?=${h})`},{begin:`(${f})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${h})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${h})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${h})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${h})`},{begin:`\\b(${b})[jJ](?=${h})`}]},E={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},I={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",l,N,p,e.HASH_COMMENT_MODE]}]};return u.contains=[p,N,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:c,illegal:/(<\/|->|\?)|=>/,contains:[l,N,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,E,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[I]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[N,I,p]}]}}return A1=t,A1}var O1,Vt;function ki(){if(Vt)return O1;Vt=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return O1=t,O1}var R1,Zt;function Mi(){if(Zt)return R1;Zt=1;function t(e){const n=e.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[a,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return R1=t,R1}var I1,Yt;function Di(){if(Yt)return I1;Yt=1;function t(e){const n=e.regex,r={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},i="([ui](8|16|32|64|128|size)|f(32|64))?",o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],a=["true","false","Some","None","Ok","Err"],s=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],c=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:c,keyword:o,literal:a,built_in:s},illegal:""},r]}}return I1=t,I1}var k1,Wt;function Ci(){if(Wt)return k1;Wt=1;const t=s=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:s.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:s.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function a(s){const c=t(s),l=i,u=r,d="@[a-z-]+",p="and or not only",f={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,c.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+l.join("|")+")"},f,{begin:/\(/,end:/\)/,contains:[c.CSS_NUMBER_MODE]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[c.BLOCK_COMMENT,f,c.HEXCOLOR,c.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,c.IMPORTANT,c.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:d,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:p,attribute:n.join(" ")},contains:[{begin:d,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},f,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,c.HEXCOLOR,c.CSS_NUMBER_MODE]},c.FUNCTION_DISPATCH]}}return k1=a,k1}var M1,Xt;function Li(){if(Xt)return M1;Xt=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return M1=t,M1}var D1,Qt;function qi(){if(Qt)return D1;Qt=1;function t(e){const n=e.regex,r=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},o={begin:/"/,end:/"/,contains:[{begin:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],c=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],b=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],f=d,h=[...u,...l].filter(T=>!d.includes(T)),N={className:"variable",begin:/@[a-z0-9]+/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},I={begin:n.concat(/\b/,n.either(...f),/\s*\(/),relevance:0,keywords:{built_in:f}};function x(T,{exceptions:R,when:D}={}){const U=D;return R=R||[],T.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:U(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(h,{when:T=>T.length<3}),literal:a,type:c,built_in:p},contains:[{begin:n.either(...b),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:h.concat(b),literal:a,type:c}},{className:"type",begin:n.either(...s)},I,N,i,o,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,E]}}return D1=t,D1}var C1,Jt;function Bi(){if(Jt)return C1;Jt=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(W=>t(W)).join("")}function r(v){const C=v[v.length-1];return typeof C=="object"&&C.constructor===Object?(v.splice(v.length-1,1),C):{}}function i(...v){return"("+(r(v).capture?"":"?:")+v.map(z=>t(z)).join("|")+")"}const o=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),a=["Protocol","Type"].map(o),s=["init","self"].map(o),c=["Any","Self"],l=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],b=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],f=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),h=i(f,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),N=n(f,h,"*"),E=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),I=i(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(E,I,"*"),T=n(/[A-Z]/,I,"*"),R=["autoclosure",n(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],D=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function U(v){const C={match:/\s+/,relevance:0},W=v.COMMENT("/\\*","\\*/",{contains:["self"]}),z=[v.C_LINE_COMMENT_MODE,W],ce={match:[/\./,i(...a,...s)],className:{2:"keyword"}},te={match:n(/\./,i(...l)),relevance:0},V=l.filter(Z=>typeof Z=="string").concat(["_|0"]),ee=l.filter(Z=>typeof Z!="string").concat(c).map(o),m={variants:[{className:"keyword",match:i(...ee,...s)}]},w={$pattern:i(/\b\w+/,/#\w+/),keyword:V.concat(p),literal:u},O=[ce,te,m],L={match:n(/\./,i(...b)),relevance:0},$={className:"built_in",match:n(/\b/,i(...b),/(?=\()/)},X=[L,$],re={match:/->/,relevance:0},pe={className:"operator",relevance:0,variants:[{match:N},{match:`\\.(\\.|${h})+`}]},G=[re,pe],Q="([0-9]_*)+",J="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${Q})(\\.(${Q}))?([eE][+-]?(${Q}))?\\b`},{match:`\\b0x(${J})(\\.(${J}))?([pP][+-]?(${Q}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ne=(Z="")=>({className:"subst",variants:[{match:n(/\\/,Z,/[0\\tnr"']/)},{match:n(/\\/,Z,/u\{[0-9a-fA-F]{1,8}\}/)}]}),ae=(Z="")=>({className:"subst",match:n(/\\/,Z,/[\t ]*(?:[\r\n]|\r\n)/)}),le=(Z="")=>({className:"subst",label:"interpol",begin:n(/\\/,Z,/\(/),end:/\)/}),be=(Z="")=>({begin:n(Z,/"""/),end:n(/"""/,Z),contains:[ne(Z),ae(Z),le(Z)]}),me=(Z="")=>({begin:n(Z,/"/),end:n(/"/,Z),contains:[ne(Z),le(Z)]}),Ee={className:"string",variants:[be(),be("#"),be("##"),be("###"),me(),me("#"),me("##"),me("###")]},de={match:n(/`/,x,/`/)},We={className:"variable",match:/\$\d+/},Me={className:"variable",match:`\\$${I}+`},A=[de,We,Me],ze={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:D,contains:[...G,H,Ee]}]}},Y={className:"keyword",match:n(/@/,i(...R))},F={className:"meta",match:n(/@/,x)},_e=[ze,Y,F],ie={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,I,"+")},{className:"type",match:T,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(T)),relevance:0}]},De={begin://,keywords:w,contains:[...z,...O,..._e,re,ie]};ie.contains.push(De);const Ce={match:n(x,/\s*:/),keywords:"_|0",relevance:0},_={begin:/\(/,end:/\)/,relevance:0,keywords:w,contains:["self",Ce,...z,...O,...X,...G,H,Ee,...A,..._e,ie]},S={begin://,contains:[...z,ie]},k={begin:i(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},q={begin:/\(/,end:/\)/,keywords:w,contains:[k,...z,...O,...G,H,Ee,..._e,ie,_],endsParent:!0,illegal:/["']/},j={match:[/func/,/\s+/,i(de.match,x,N)],className:{1:"keyword",3:"title.function"},contains:[S,q,C],illegal:[/\[/,/%/]},ge={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[S,q,C],illegal:/\[|%/},Xe={match:[/operator/,/\s+/,N],className:{1:"keyword",3:"title"}},Qe={begin:[/precedencegroup/,/\s+/,T],className:{1:"keyword",3:"title"},contains:[ie],keywords:[...d,...u],end:/}/};for(const Z of Ee.variants){const W1=Z.contains.find(wn=>wn.label==="interpol");W1.keywords=w;const X1=[...O,...X,...G,H,Ee,...A];W1.contains=[...X1,{begin:/\(/,end:/\)/,contains:["self",...X1]}]}return{name:"Swift",keywords:w,contains:[...z,j,ge,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:w,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...O]},Xe,Qe,{beginKeywords:"import",end:/$/,contains:[...z],relevance:0},...O,...X,...G,H,Ee,...A,..._e,ie,_]}}return C1=U,C1}var L1,jt;function Ui(){if(jt)return L1;jt=1;function t(e){const n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,o]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",d="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",p={className:"number",begin:"\\b"+c+l+u+d+"\\b"},b={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},f={begin:/\{/,end:/\}/,contains:[b],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[b],illegal:"\\n",relevance:0},N=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},p,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},f,h,a],E=[...N];return E.pop(),E.push(s),b.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:N}}return L1=t,L1}var q1,en;function Pi(){if(en)return q1;en=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(o,r,i);function c(u){const d=u.regex,p=(H,{after:ne})=>{const ae="",end:""},h=/<[A-Za-z0-9\\._:-]+\s*\/>/,N={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,ne)=>{const ae=H[0].length+H.index,le=H.input[ae];if(le==="<"||le===","){ne.ignoreMatch();return}le===">"&&(p(H,{after:ae})||ne.ignoreMatch());let be;if((be=H.input.substring(ae).match(/^\s+extends\s+/))&&be.index===0){ne.ignoreMatch();return}}},E={$pattern:t,keyword:e,literal:n,built_in:s,"variable.language":a},I="[0-9](_?[0-9])*",x=`\\.(${I})`,T="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${T})((${x})|\\.)?|(${x}))[eE][+-]?(${I})\\b`},{begin:`\\b(${T})\\b((${x})\\b|\\.)?|(${x})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},D={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},U={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,D],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,D],subLanguage:"css"}},C={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,D]},z={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:b+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},ce=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,U,v,C,R];D.contains=ce.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(ce)});const te=[].concat(z,D.contains),V=te.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(te)}]),ee={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:V},m={variants:[{match:[/class/,/\s+/,b,/\s+/,/extends/,/\s+/,d.concat(b,"(",d.concat(/\./,b),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,b],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},O={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L={variants:[{match:[/function/,/\s+/,b,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ee],illegal:/%/},$={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function X(H){return d.concat("(?!",H.join("|"),")")}const re={match:d.concat(/\b/,X([...o,"super"]),b,d.lookahead(/\(/)),className:"title.function",relevance:0},pe={begin:d.concat(/\./,d.lookahead(d.concat(b,/(?![0-9A-Za-z$_(])/))),end:b,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},G={match:[/get|set/,/\s+/,b,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ee]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,b,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ee]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),O,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,U,v,C,z,R,w,{className:"attr",begin:b+d.lookahead(":"),relevance:0},J,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[z,u.REGEXP_MODE,{className:"function",begin:Q,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:h},{begin:N.begin,"on:begin":N.isTrulyOpeningTag,end:N.end}],subLanguage:"xml",contains:[{begin:N.begin,end:N.end,skip:!0,contains:["self"]}]}]},L,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ee,u.inherit(u.TITLE_MODE,{begin:b,className:"title.function"})]},{match:/\.\.\./,relevance:0},pe,{match:"\\$"+b,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ee]},re,$,m,G,{match:/\$[(.]/}]}}function l(u){const d=c(u),p=t,b=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],f={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[d.exports.CLASS_REFERENCE]},h={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:b},contains:[d.exports.CLASS_REFERENCE]},N={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},E=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],I={$pattern:t,keyword:e.concat(E),literal:n,built_in:s.concat(b),"variable.language":a},x={className:"meta",begin:"@"+p},T=(D,U,v)=>{const C=D.contains.findIndex(W=>W.label===U);if(C===-1)throw new Error("can not find mode to replace");D.contains.splice(C,1,v)};Object.assign(d.keywords,I),d.exports.PARAMS_CONTAINS.push(x),d.contains=d.contains.concat([x,f,h]),T(d,"shebang",u.SHEBANG()),T(d,"use_strict",N);const R=d.contains.find(D=>D.label==="func.def");return R.relevance=0,Object.assign(d,{name:"TypeScript",aliases:["ts","tsx"]}),d}return q1=l,q1}var B1,tn;function Fi(){if(tn)return B1;tn=1;function t(e){const n=e.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,c=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:n.concat(/# */,n.either(a,o),/ *#/)},{begin:n.concat(/# */,c,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(a,o),/ +/,n.either(s,c),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),b=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,i,l,u,d,p,b,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[b]}]}}return B1=t,B1}var U1,nn;function zi(){if(nn)return U1;nn=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const r=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],o={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},c={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[r,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,o,e.QUOTE_STRING_MODE,l,u,c]}}return U1=t,U1}var M=ai;M.registerLanguage("xml",si());M.registerLanguage("bash",oi());M.registerLanguage("c",ci());M.registerLanguage("cpp",li());M.registerLanguage("csharp",ui());M.registerLanguage("css",di());M.registerLanguage("markdown",gi());M.registerLanguage("diff",pi());M.registerLanguage("ruby",bi());M.registerLanguage("go",mi());M.registerLanguage("graphql",fi());M.registerLanguage("ini",hi());M.registerLanguage("java",Ei());M.registerLanguage("javascript",_i());M.registerLanguage("json",vi());M.registerLanguage("kotlin",yi());M.registerLanguage("less",Ni());M.registerLanguage("lua",wi());M.registerLanguage("makefile",Si());M.registerLanguage("perl",xi());M.registerLanguage("objectivec",Ti());M.registerLanguage("php",Ai());M.registerLanguage("php-template",Oi());M.registerLanguage("plaintext",Ri());M.registerLanguage("python",Ii());M.registerLanguage("python-repl",ki());M.registerLanguage("r",Mi());M.registerLanguage("rust",Di());M.registerLanguage("scss",Ci());M.registerLanguage("shell",Li());M.registerLanguage("sql",qi());M.registerLanguage("swift",Bi());M.registerLanguage("yaml",Ui());M.registerLanguage("typescript",Pi());M.registerLanguage("vbnet",Fi());M.registerLanguage("wasm",zi());M.HighlightJS=M;M.default=M;var $i=M;const rn=$i,Fe=new Fn({html:!0,breaks:!0,linkify:!0,highlight(t,e){if(e&&rn.getLanguage(e))try{return rn.highlight(t,{language:e}).value}catch{}return""}}).use(zn).use($n),Hi=Fe.renderer.rules.link_open||function(t,e,n,r,i){return i.renderToken(t,e,n)};Fe.renderer.rules.link_open=function(t,e,n,r,i){const o=t[e].attrGet("href");return o&&!(t[e+1].type==="text"&&t[e+1].content.trim()===o)&&r.last.push({level:t[e].level,url:new URL(o)}),Hi(t,e,n,r,i)};const an=Fe.renderer.rules.link_close||function(t,e,n,r,i){return i.renderToken(t,e,n)};Fe.renderer.rules.link_close=function(t,e,n,r,i){return r.last.reduce((o,a,s)=>{if(t[e].level===a.level){const c=`[${a.url.hostname.replace(/^www./,"")}]`;return r.last.splice(s,1),an(t,e,n,r,i)+c}return o},void 0)||an(t,e,n,r,i)};const Gi=["h1","h2","h3","h4","h5","h6","h7","h8","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr"],Ki=["abbr","accept","accept-charset","accesskey","action","align","alt","aria-describedby","aria-hidden","aria-label","aria-labelledby","axis","border","cellpadding","cellspacing","char","charoff","charset","checked","clear","cols","colspan","color","compact","coords","datetime","dir","disabled","enctype","for","frame","headers","height","hreflang","hspace","ismap","label","lang","maxlength","media","method","multiple","name","nohref","noshade","nowrap","open","progress","prompt","readonly","rel","rev","role","rows","rowspan","rules","scope","selected","shape","size","span","start","summary","tabindex","target","title","type","usemap","valign","value","vspace","width","itemprop"],sn=["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"];function Vi(t){const e=[];let n="";const r=new rr({onopentag(i,o){/^(https?|ftps?|mailto|xmpp|ircs?):$/.test(i)&&Object.keys(o).length===1?n+=`<${i}//${Object.keys(o).join(" ")}>`:Gi.includes(i.toLowerCase())?(n+=`<${i}`,Object.entries(o).forEach(([a,s])=>{const c=(l=!1)=>{const u=l?s.replaceAll(/"/g,"""):s;n+=s?` ${a}="${u}"`:` ${a}`};try{switch(i){case"a":{switch(a){case"href":new URL(s).protocol.match(/^(https?|ftps?|mailto|xmpp|ircs?):$/)&&c(!0);break}break}case"img":{switch(a){case"src":case"longdesc":new URL(s).protocol.match(/^(https?):$/)&&c(!0);break}break}case"div":{switch(a){case"itemscope":case"itemtype":c()}break}case"blockquote":case"del":case"ins":case"q":{switch(a){case"cite":new URL(s).protocol.match(/^(https?):$/)&&c(!0);break}break}}Ki.includes(a.toLowerCase())&&c(!0)}catch{}}),sn.includes(i.toLowerCase())?n+=" />":(n+=">",e.push(i))):n+=gt(`<${i}${Object.entries(o).map(([a,s])=>` ${a}="${s.replaceAll(/"/g,""")}"`).join("")}>`)},ontext(i){n+=i},onclosetag(i){const o=e[e.length-1];i===o?(n+=``,e.pop()):!/^(https?|ftps?|mailto|xmpp|ircs?):$/.test(i)&&!sn.includes(i.toLowerCase())&&(n+=gt(``))}});return r.write(t),r.end(),n}function Zi(t){let e;try{e=Fe.render(Vi(t).replace(/\[\[表情:(\p{L}+)\]\]/gu,"[[face:$1]]"),{last:[]})}catch(n){console.error(n),e=`
Error throwed from Markdown parser: ${n}
${n instanceof Error&&n.stack?n.stack.replaceAll(` +`,"
"):String(n)}
`}return e}const Yi={class:"overflow-hidden"},Wi={class:"-my-24"},Xi=["innerHTML"],Qi=on({__name:"MarkdownBlock",props:{text:null,size:{default:""}},emits:["htmlChanged"],setup(t,{emit:e}){const n=t,r=Re(""),i=Re(!0);An(n,(a,s)=>{a.text!==s.text&&(i.value=!0)});const o=Ge(null);return cn(o,([{isIntersecting:a}])=>{a&&i.value&&(r.value=Zi(n.text),ln(()=>e("htmlChanged")),i.value=!1)},{rootMargin:"400px 400px 400px 400px"}),(a,s)=>(oe(),ue("div",Yi,[K("div",Wi,[K("article",{ref_key:"root",ref:o,class:un(["prose dark:prose-invert break-all my-24",{"text-sm":t.size==="sm","text-lg":t.size==="lg","text-xl":t.size==="xl"}]),innerHTML:r.value},null,10,Xi)])]))}});const Ji=On(Qi,[["__scopeId","data-v-ab22c362"]]),ji={class:"md:my-4 xl:my-6 max-w-screen-xl mx-auto"},ea={class:"md:ml-4 md:flex justify-start space-x-2 md:space-x-4"},ta={class:"flex-shrink-0 flex-grow-0 md:w-80 lt-md:h-30 overflow-hidden"},na={class:"md:aspect-ratio-8/5 lt-md:relative lt-md:top-1/2 lt-md:transform lt-md:-translate-y-1/2"},ra=["src"],ia={class:"mt-2"},aa=["textContent"],sa={class:"text-xs sm:text-sm text-gray-800 dark:text-gray-200"},oa={key:0},ca={key:1},la={key:0,class:"mt-2"},ua=["textContent"],da={class:"py-2"},ga={class:"pt-2 xl:pt-4"},pa={class:"flex flex-col flex-shrink-0 flex-grow-0 justify-around w-8 self-center items-center text-center md:space-y-1"},ba={key:0,class:"i-uil:arrow-up md:text-3xl text-gray-400 dark:text-gray-600 transition-colors duration-100 hover:text-blue-600"},ma=["textContent"],fa={key:1,class:"i-uil:arrow-down md:text-3xl text-gray-400 dark:text-gray-600 transition-colors duration-100 hover:text-blue-600"},ha={class:"flex-shrink-0 flex-grow-0 w-28 md:w-60"},Ea={class:"aspect-ratio-8/5"},_a=["src"],va={class:"overflow-hidden"},ya=["textContent"],Na=["textContent"],wa=["textContent"],Sa={key:0,class:"flex justify-center pt-4"},xa=K("div",{class:"i-uil:spinner-alt text-2xl animate-spin"},null,-1),Ta=[xa],qa=on({__name:"Playlist",setup(t){const{t:e}=Rn(),n=Ge(null),r=Un(),i=J1(()=>r.params.pid),o=Re(0),{result:a,loading:s,fetchMore:c}=In(kn` + query ($pid: String!, $offset: Int!, $limit: Int!) { + getPlaylist(para: { pid: $pid }) { + item { + title + cover + count + desc + } + rating { + totalRating + } + videos(offset: $offset, limit: $limit) { + id + item { + title + partName + desc + coverImage + url + } + } + meta { + createdBy { + id + username + image + gravatar + } + createdAt + modifiedAt + } + editable + } + } + `,{pid:i.value,offset:o.value,limit:20}),l=Mn(a,null,x=>x==null?void 0:x.getPlaylist);j1(()=>{l.value&&Gn(l.value.item.title)}),j1(()=>{s.value?Cn():Ln()});const u=Re(!1),{stop:d}=cn(n,([{isIntersecting:x}])=>{var T;if(l.value&&l.value.videos.length>=l.value.item.count){d();return}x&&!u.value&&l.value&&(u.value=!0,(T=c({variables:{offset:l.value.videos.length},updateQuery(R,{fetchMoreResult:D}){return D?{...R,getPlaylist:{...R.getPlaylist,videos:[...R.getPlaylist.videos,...D.getPlaylist.videos]}}:R}}))==null||T.then(R=>{ln(()=>{u.value=!1})}))}),p=Ge(null),b=Ge(null),{height:f}=Dn(p),h=Re(0),N=()=>{var x;h.value=((x=b.value)==null?void 0:x.scrollHeight)||0},E=Re(!1),I=J1(()=>h.value>f.value);return(x,T)=>{const R=nt("i18n-t"),D=nt("RouterLink"),U=Sn;return oe(),et(U,null,{default:Le(()=>[K("div",ji,[B(l)?(oe(),ue(tt,{key:0},[K("div",ea,[K("div",ta,[K("div",na,[K("img",{class:"inline-block lt-md:w-full md:border-purple-300 md:rounded-xl md:border-2",width:"320",height:"200",src:B(rt)({image:B(l).item.cover})},null,8,ra)])]),K("div",ia,[K("h1",{class:"text-2xl font-semibold",textContent:ve(B(l).item.title)},null,8,aa),K("div",sa,[Je(ve(B(e)("playlist.playlist.info.video-count",{count:B(l).item.count})),1),B(l).rating?(oe(),ue("span",oa," · "+ve(B(e)("playlist.playlist.info.rating",{rating:B(l).rating.totalRating})),1)):fe("",!0),B(l).meta.modifiedAt||B(l).meta.createdAt?(oe(),ue("span",ca,[Je(" · "),Te(R,{keypath:"playlist.playlist.info.edit-date",tag:"span"},{date:Le(()=>{var v;return[Te(xn,{date:(v=B(l).meta.modifiedAt)!=null?v:B(l).meta.createdAt},null,8,["date"])]}),_:1})])):fe("",!0)]),B(l).meta.createdBy?(oe(),ue("div",la,[Te(D,{class:"flex flex-row items-center",to:`/user/${B(l).meta.createdBy.id.toHexString()}`},{default:Le(()=>[Te(Hn,{uid:B(l).meta.createdBy.id.toHexString()},{default:Le(()=>{var v;return[Te(Tn,{class:"inline-block w-8 rounded-full",image:B(l).meta.createdBy.image,gravatar:(v=B(l).meta.createdBy.gravatar)!=null?v:void 0,"hide-title":""},null,8,["image","gravatar"])]}),_:1},8,["uid"]),K("div",{class:"inline-block align-middle pl-2",textContent:ve(B(l).meta.createdBy.username)},null,8,ua)]),_:1},8,["to"])])):fe("",!0),K("div",da,[K("div",{ref_key:"descText",ref:p,class:"overflow-hidden transform transition-all duration-600 ease-in-out",style:qn({height:E.value&&h.value>0?`${h.value}px`:"96px"})},[K("div",{ref_key:"descBlock",ref:b},[Te(Ji,{size:"sm",text:B(l).item.desc,onHtmlChanged:N},null,8,["text"])],512)],4)]),B(I)||E.value?(oe(),ue("div",{key:1,class:"w-full rounded text-sm text-gray-800 py-0.5 px-1 transition-colors duration-150 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-blue-600",onClick:T[0]||(T[0]=v=>E.value=!E.value)},[K("div",{class:un(["i-uil:arrow-down inline transform",{"rotate-180":E.value}])},null,2),Je(" "+ve(E.value?B(e)("playlist.playlist.collapse"):B(e)("playlist.playlist.expand")),1)])):fe("",!0)])]),K("div",ga,[(oe(!0),ue(tt,null,Bn(B(l).videos,(v,C)=>(oe(),et(D,{key:v.id.toHexString(),ref_for:!0,ref:C===B(l).videos.length-4?"observerTarget":void 0,class:"flex justify-start space-x-1 md:space-x-2 xl:space-x-3 py-2 xl:py-3 md:px-2 transition-colors duration-150 odd:bg-gray-50 dark:odd:bg-gray-800 hover:bg-purple-50 dark:hover:bg-gray-700 hover:odd:bg-purple-50 dark:hover:odd:bg-gray-700",to:`/video/${v.id.toHexString()}?list=${B(i)}`,target:"_blank"},{default:Le(()=>[K("div",pa,[B(l).editable?(oe(),ue("div",ba)):fe("",!0),K("div",{class:"lt-md:text-xs",textContent:ve(o.value+C+1)},null,8,ma),B(l).editable?(oe(),ue("div",fa)):fe("",!0)]),K("div",ha,[K("div",Ea,[K("img",{class:"inline-block rounded-lg border-purple-200 border-2",width:"240",height:"150",src:B(rt)({image:v.item.coverImage})},null,8,_a)])]),K("div",va,[K("h1",{class:"text-sm md:text-lg font-semibold lt-md:line-clamp-2 md:truncate",textContent:ve(v.item.title)},null,8,ya),v.item.partName?(oe(),ue("h2",{key:0,class:"-mt-1 text-sm text-gray-800 truncate dark:text-gray-200",textContent:ve(`P${B(Kn)(v.item.url)}: ${v.item.partName}`)},null,8,Na)):fe("",!0),B(Pn).md?(oe(),ue("div",{key:1,class:"mt-1 line-clamp-3 text-sm whitespace-normal",textContent:ve(v.item.desc)},null,8,wa)):fe("",!0)])]),_:2},1032,["to"]))),128)),u.value?(oe(),ue("div",Sa,Ta)):fe("",!0)])],64)):fe("",!0)])]),_:1})}}});export{qa as default}; +//# sourceMappingURL=Playlist.a2ddeab9.js.map diff --git a/assets/Playlist.a2ddeab9.js.map b/assets/Playlist.a2ddeab9.js.map new file mode 100644 index 0000000000..a17523a13b --- /dev/null +++ b/assets/Playlist.a2ddeab9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Playlist.a2ddeab9.js","sources":["../../node_modules/.pnpm/entities@4.3.0/node_modules/entities/lib/esm/generated/decode-data-html.js","../../node_modules/.pnpm/entities@4.3.0/node_modules/entities/lib/esm/generated/decode-data-xml.js","../../node_modules/.pnpm/entities@4.3.0/node_modules/entities/lib/esm/decode_codepoint.js","../../node_modules/.pnpm/entities@4.3.0/node_modules/entities/lib/esm/decode.js","../../node_modules/.pnpm/htmlparser2@8.0.1/node_modules/htmlparser2/lib/esm/Tokenizer.js","../../node_modules/.pnpm/htmlparser2@8.0.1/node_modules/htmlparser2/lib/esm/Parser.js","../../node_modules/.pnpm/html-entities@2.3.3/node_modules/html-entities/lib/named-references.js","../../node_modules/.pnpm/html-entities@2.3.3/node_modules/html-entities/lib/numeric-unicode-map.js","../../node_modules/.pnpm/html-entities@2.3.3/node_modules/html-entities/lib/surrogate-pairs.js","../../node_modules/.pnpm/html-entities@2.3.3/node_modules/html-entities/lib/index.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/core.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/xml.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/bash.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/c.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/cpp.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/csharp.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/css.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/markdown.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/diff.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/ruby.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/go.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/graphql.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/ini.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/java.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/javascript.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/json.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/kotlin.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/less.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/lua.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/makefile.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/perl.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/objectivec.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/php.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/php-template.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/plaintext.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/python.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/python-repl.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/r.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/rust.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/scss.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/shell.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/sql.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/swift.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/yaml.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/typescript.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/vbnet.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/languages/wasm.js","../../node_modules/.pnpm/highlight.js@11.6.0/node_modules/highlight.js/lib/common.js","../../packages/markdown/libs/parser.ts","../../packages/markdown/components/MarkdownBlock.vue","../../packages/playlist/Playlist.vue"],"sourcesContent":["// Generated using scripts/write-decode-map.ts\n// prettier-ignore\nexport default new Uint16Array([7489, 60, 213, 305, 650, 1181, 1403, 1488, 1653, 1758, 1954, 2006, 2063, 2634, 2705, 3489, 3693, 3849, 3878, 4298, 4648, 4833, 5141, 5277, 5315, 5343, 5413, 0, 0, 0, 0, 0, 0, 5483, 5837, 6541, 7186, 7645, 8062, 8288, 8624, 8845, 9152, 9211, 9282, 10276, 10514, 11528, 11848, 12238, 12310, 12986, 13881, 14252, 14590, 14888, 14961, 15072, 15150, 2048, 69, 77, 97, 98, 99, 102, 103, 108, 109, 110, 111, 112, 114, 115, 116, 117, 92, 98, 102, 109, 115, 127, 132, 139, 144, 149, 152, 166, 179, 185, 200, 207, 108, 105, 103, 32827, 198, 16582, 80, 32827, 38, 16422, 99, 117, 116, 101, 32827, 193, 16577, 114, 101, 118, 101, 59, 16642, 256, 105, 121, 120, 125, 114, 99, 32827, 194, 16578, 59, 17424, 114, 59, 49152, 55349, 56580, 114, 97, 118, 101, 32827, 192, 16576, 112, 104, 97, 59, 17297, 97, 99, 114, 59, 16640, 100, 59, 27219, 256, 103, 112, 157, 161, 111, 110, 59, 16644, 102, 59, 49152, 55349, 56632, 112, 108, 121, 70, 117, 110, 99, 116, 105, 111, 110, 59, 24673, 105, 110, 103, 32827, 197, 16581, 256, 99, 115, 190, 195, 114, 59, 49152, 55349, 56476, 105, 103, 110, 59, 25172, 105, 108, 100, 101, 32827, 195, 16579, 109, 108, 32827, 196, 16580, 1024, 97, 99, 101, 102, 111, 114, 115, 117, 229, 251, 254, 279, 284, 290, 295, 298, 256, 99, 114, 234, 242, 107, 115, 108, 97, 115, 104, 59, 25110, 374, 246, 248, 59, 27367, 101, 100, 59, 25350, 121, 59, 17425, 384, 99, 114, 116, 261, 267, 276, 97, 117, 115, 101, 59, 25141, 110, 111, 117, 108, 108, 105, 115, 59, 24876, 97, 59, 17298, 114, 59, 49152, 55349, 56581, 112, 102, 59, 49152, 55349, 56633, 101, 118, 101, 59, 17112, 99, 242, 275, 109, 112, 101, 113, 59, 25166, 1792, 72, 79, 97, 99, 100, 101, 102, 104, 105, 108, 111, 114, 115, 117, 333, 337, 342, 384, 414, 418, 437, 439, 442, 476, 533, 627, 632, 638, 99, 121, 59, 17447, 80, 89, 32827, 169, 16553, 384, 99, 112, 121, 349, 354, 378, 117, 116, 101, 59, 16646, 256, 59, 105, 359, 360, 25298, 116, 97, 108, 68, 105, 102, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, 59, 24901, 108, 101, 121, 115, 59, 24877, 512, 97, 101, 105, 111, 393, 398, 404, 408, 114, 111, 110, 59, 16652, 100, 105, 108, 32827, 199, 16583, 114, 99, 59, 16648, 110, 105, 110, 116, 59, 25136, 111, 116, 59, 16650, 256, 100, 110, 423, 429, 105, 108, 108, 97, 59, 16568, 116, 101, 114, 68, 111, 116, 59, 16567, 242, 383, 105, 59, 17319, 114, 99, 108, 101, 512, 68, 77, 80, 84, 455, 459, 465, 470, 111, 116, 59, 25241, 105, 110, 117, 115, 59, 25238, 108, 117, 115, 59, 25237, 105, 109, 101, 115, 59, 25239, 111, 256, 99, 115, 482, 504, 107, 119, 105, 115, 101, 67, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 25138, 101, 67, 117, 114, 108, 121, 256, 68, 81, 515, 527, 111, 117, 98, 108, 101, 81, 117, 111, 116, 101, 59, 24605, 117, 111, 116, 101, 59, 24601, 512, 108, 110, 112, 117, 542, 552, 583, 597, 111, 110, 256, 59, 101, 549, 550, 25143, 59, 27252, 384, 103, 105, 116, 559, 566, 570, 114, 117, 101, 110, 116, 59, 25185, 110, 116, 59, 25135, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 25134, 256, 102, 114, 588, 590, 59, 24834, 111, 100, 117, 99, 116, 59, 25104, 110, 116, 101, 114, 67, 108, 111, 99, 107, 119, 105, 115, 101, 67, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 25139, 111, 115, 115, 59, 27183, 99, 114, 59, 49152, 55349, 56478, 112, 256, 59, 67, 644, 645, 25299, 97, 112, 59, 25165, 1408, 68, 74, 83, 90, 97, 99, 101, 102, 105, 111, 115, 672, 684, 688, 692, 696, 715, 727, 737, 742, 819, 1165, 256, 59, 111, 377, 677, 116, 114, 97, 104, 100, 59, 26897, 99, 121, 59, 17410, 99, 121, 59, 17413, 99, 121, 59, 17423, 384, 103, 114, 115, 703, 708, 711, 103, 101, 114, 59, 24609, 114, 59, 24993, 104, 118, 59, 27364, 256, 97, 121, 720, 725, 114, 111, 110, 59, 16654, 59, 17428, 108, 256, 59, 116, 733, 734, 25095, 97, 59, 17300, 114, 59, 49152, 55349, 56583, 256, 97, 102, 747, 807, 256, 99, 109, 752, 802, 114, 105, 116, 105, 99, 97, 108, 512, 65, 68, 71, 84, 768, 774, 790, 796, 99, 117, 116, 101, 59, 16564, 111, 372, 779, 781, 59, 17113, 98, 108, 101, 65, 99, 117, 116, 101, 59, 17117, 114, 97, 118, 101, 59, 16480, 105, 108, 100, 101, 59, 17116, 111, 110, 100, 59, 25284, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, 59, 24902, 1136, 829, 0, 0, 0, 834, 852, 0, 1029, 102, 59, 49152, 55349, 56635, 384, 59, 68, 69, 840, 841, 845, 16552, 111, 116, 59, 24796, 113, 117, 97, 108, 59, 25168, 98, 108, 101, 768, 67, 68, 76, 82, 85, 86, 867, 882, 898, 975, 994, 1016, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 236, 569, 111, 628, 889, 0, 0, 891, 187, 841, 110, 65, 114, 114, 111, 119, 59, 25043, 256, 101, 111, 903, 932, 102, 116, 384, 65, 82, 84, 912, 918, 929, 114, 114, 111, 119, 59, 25040, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 25044, 101, 229, 714, 110, 103, 256, 76, 82, 939, 964, 101, 102, 116, 256, 65, 82, 947, 953, 114, 114, 111, 119, 59, 26616, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 26618, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 26617, 105, 103, 104, 116, 256, 65, 84, 984, 990, 114, 114, 111, 119, 59, 25042, 101, 101, 59, 25256, 112, 577, 1001, 0, 0, 1007, 114, 114, 111, 119, 59, 25041, 111, 119, 110, 65, 114, 114, 111, 119, 59, 25045, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 25125, 110, 768, 65, 66, 76, 82, 84, 97, 1042, 1066, 1072, 1118, 1151, 892, 114, 114, 111, 119, 384, 59, 66, 85, 1053, 1054, 1058, 24979, 97, 114, 59, 26899, 112, 65, 114, 114, 111, 119, 59, 25077, 114, 101, 118, 101, 59, 17169, 101, 102, 116, 722, 1082, 0, 1094, 0, 1104, 105, 103, 104, 116, 86, 101, 99, 116, 111, 114, 59, 26960, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26974, 101, 99, 116, 111, 114, 256, 59, 66, 1113, 1114, 25021, 97, 114, 59, 26966, 105, 103, 104, 116, 468, 1127, 0, 1137, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26975, 101, 99, 116, 111, 114, 256, 59, 66, 1146, 1147, 25025, 97, 114, 59, 26967, 101, 101, 256, 59, 65, 1158, 1159, 25252, 114, 114, 111, 119, 59, 24999, 256, 99, 116, 1170, 1175, 114, 59, 49152, 55349, 56479, 114, 111, 107, 59, 16656, 2048, 78, 84, 97, 99, 100, 102, 103, 108, 109, 111, 112, 113, 115, 116, 117, 120, 1213, 1216, 1220, 1227, 1246, 1250, 1255, 1262, 1269, 1313, 1327, 1334, 1362, 1373, 1376, 1381, 71, 59, 16714, 72, 32827, 208, 16592, 99, 117, 116, 101, 32827, 201, 16585, 384, 97, 105, 121, 1234, 1239, 1244, 114, 111, 110, 59, 16666, 114, 99, 32827, 202, 16586, 59, 17453, 111, 116, 59, 16662, 114, 59, 49152, 55349, 56584, 114, 97, 118, 101, 32827, 200, 16584, 101, 109, 101, 110, 116, 59, 25096, 256, 97, 112, 1274, 1278, 99, 114, 59, 16658, 116, 121, 595, 1286, 0, 0, 1298, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 26107, 101, 114, 121, 83, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 26027, 256, 103, 112, 1318, 1322, 111, 110, 59, 16664, 102, 59, 49152, 55349, 56636, 115, 105, 108, 111, 110, 59, 17301, 117, 256, 97, 105, 1340, 1353, 108, 256, 59, 84, 1346, 1347, 27253, 105, 108, 100, 101, 59, 25154, 108, 105, 98, 114, 105, 117, 109, 59, 25036, 256, 99, 105, 1367, 1370, 114, 59, 24880, 109, 59, 27251, 97, 59, 17303, 109, 108, 32827, 203, 16587, 256, 105, 112, 1386, 1391, 115, 116, 115, 59, 25091, 111, 110, 101, 110, 116, 105, 97, 108, 69, 59, 24903, 640, 99, 102, 105, 111, 115, 1413, 1416, 1421, 1458, 1484, 121, 59, 17444, 114, 59, 49152, 55349, 56585, 108, 108, 101, 100, 595, 1431, 0, 0, 1443, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 26108, 101, 114, 121, 83, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 26026, 880, 1466, 0, 1471, 0, 0, 1476, 102, 59, 49152, 55349, 56637, 65, 108, 108, 59, 25088, 114, 105, 101, 114, 116, 114, 102, 59, 24881, 99, 242, 1483, 1536, 74, 84, 97, 98, 99, 100, 102, 103, 111, 114, 115, 116, 1512, 1516, 1519, 1530, 1536, 1554, 1558, 1563, 1565, 1571, 1644, 1650, 99, 121, 59, 17411, 32827, 62, 16446, 109, 109, 97, 256, 59, 100, 1527, 1528, 17299, 59, 17372, 114, 101, 118, 101, 59, 16670, 384, 101, 105, 121, 1543, 1548, 1552, 100, 105, 108, 59, 16674, 114, 99, 59, 16668, 59, 17427, 111, 116, 59, 16672, 114, 59, 49152, 55349, 56586, 59, 25305, 112, 102, 59, 49152, 55349, 56638, 101, 97, 116, 101, 114, 768, 69, 70, 71, 76, 83, 84, 1589, 1604, 1614, 1622, 1627, 1638, 113, 117, 97, 108, 256, 59, 76, 1598, 1599, 25189, 101, 115, 115, 59, 25307, 117, 108, 108, 69, 113, 117, 97, 108, 59, 25191, 114, 101, 97, 116, 101, 114, 59, 27298, 101, 115, 115, 59, 25207, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 27262, 105, 108, 100, 101, 59, 25203, 99, 114, 59, 49152, 55349, 56482, 59, 25195, 1024, 65, 97, 99, 102, 105, 111, 115, 117, 1669, 1675, 1686, 1691, 1694, 1706, 1726, 1738, 82, 68, 99, 121, 59, 17450, 256, 99, 116, 1680, 1684, 101, 107, 59, 17095, 59, 16478, 105, 114, 99, 59, 16676, 114, 59, 24844, 108, 98, 101, 114, 116, 83, 112, 97, 99, 101, 59, 24843, 496, 1711, 0, 1714, 102, 59, 24845, 105, 122, 111, 110, 116, 97, 108, 76, 105, 110, 101, 59, 25856, 256, 99, 116, 1731, 1733, 242, 1705, 114, 111, 107, 59, 16678, 109, 112, 324, 1744, 1752, 111, 119, 110, 72, 117, 109, 240, 303, 113, 117, 97, 108, 59, 25167, 1792, 69, 74, 79, 97, 99, 100, 102, 103, 109, 110, 111, 115, 116, 117, 1786, 1790, 1795, 1799, 1806, 1818, 1822, 1825, 1832, 1860, 1912, 1931, 1935, 1941, 99, 121, 59, 17429, 108, 105, 103, 59, 16690, 99, 121, 59, 17409, 99, 117, 116, 101, 32827, 205, 16589, 256, 105, 121, 1811, 1816, 114, 99, 32827, 206, 16590, 59, 17432, 111, 116, 59, 16688, 114, 59, 24849, 114, 97, 118, 101, 32827, 204, 16588, 384, 59, 97, 112, 1824, 1839, 1855, 256, 99, 103, 1844, 1847, 114, 59, 16682, 105, 110, 97, 114, 121, 73, 59, 24904, 108, 105, 101, 243, 989, 500, 1865, 0, 1890, 256, 59, 101, 1869, 1870, 25132, 256, 103, 114, 1875, 1880, 114, 97, 108, 59, 25131, 115, 101, 99, 116, 105, 111, 110, 59, 25282, 105, 115, 105, 98, 108, 101, 256, 67, 84, 1900, 1906, 111, 109, 109, 97, 59, 24675, 105, 109, 101, 115, 59, 24674, 384, 103, 112, 116, 1919, 1923, 1928, 111, 110, 59, 16686, 102, 59, 49152, 55349, 56640, 97, 59, 17305, 99, 114, 59, 24848, 105, 108, 100, 101, 59, 16680, 491, 1946, 0, 1950, 99, 121, 59, 17414, 108, 32827, 207, 16591, 640, 99, 102, 111, 115, 117, 1964, 1975, 1980, 1986, 2000, 256, 105, 121, 1969, 1973, 114, 99, 59, 16692, 59, 17433, 114, 59, 49152, 55349, 56589, 112, 102, 59, 49152, 55349, 56641, 483, 1991, 0, 1996, 114, 59, 49152, 55349, 56485, 114, 99, 121, 59, 17416, 107, 99, 121, 59, 17412, 896, 72, 74, 97, 99, 102, 111, 115, 2020, 2024, 2028, 2033, 2045, 2050, 2056, 99, 121, 59, 17445, 99, 121, 59, 17420, 112, 112, 97, 59, 17306, 256, 101, 121, 2038, 2043, 100, 105, 108, 59, 16694, 59, 17434, 114, 59, 49152, 55349, 56590, 112, 102, 59, 49152, 55349, 56642, 99, 114, 59, 49152, 55349, 56486, 1408, 74, 84, 97, 99, 101, 102, 108, 109, 111, 115, 116, 2085, 2089, 2092, 2128, 2147, 2483, 2488, 2503, 2509, 2615, 2631, 99, 121, 59, 17417, 32827, 60, 16444, 640, 99, 109, 110, 112, 114, 2103, 2108, 2113, 2116, 2125, 117, 116, 101, 59, 16697, 98, 100, 97, 59, 17307, 103, 59, 26602, 108, 97, 99, 101, 116, 114, 102, 59, 24850, 114, 59, 24990, 384, 97, 101, 121, 2135, 2140, 2145, 114, 111, 110, 59, 16701, 100, 105, 108, 59, 16699, 59, 17435, 256, 102, 115, 2152, 2416, 116, 1280, 65, 67, 68, 70, 82, 84, 85, 86, 97, 114, 2174, 2217, 2225, 2272, 2278, 2300, 2351, 2395, 912, 2410, 256, 110, 114, 2179, 2191, 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 26600, 114, 111, 119, 384, 59, 66, 82, 2201, 2202, 2206, 24976, 97, 114, 59, 25060, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 25030, 101, 105, 108, 105, 110, 103, 59, 25352, 111, 501, 2231, 0, 2243, 98, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 26598, 110, 468, 2248, 0, 2258, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26977, 101, 99, 116, 111, 114, 256, 59, 66, 2267, 2268, 25027, 97, 114, 59, 26969, 108, 111, 111, 114, 59, 25354, 105, 103, 104, 116, 256, 65, 86, 2287, 2293, 114, 114, 111, 119, 59, 24980, 101, 99, 116, 111, 114, 59, 26958, 256, 101, 114, 2305, 2327, 101, 384, 59, 65, 86, 2313, 2314, 2320, 25251, 114, 114, 111, 119, 59, 24996, 101, 99, 116, 111, 114, 59, 26970, 105, 97, 110, 103, 108, 101, 384, 59, 66, 69, 2340, 2341, 2345, 25266, 97, 114, 59, 27087, 113, 117, 97, 108, 59, 25268, 112, 384, 68, 84, 86, 2359, 2370, 2380, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 26961, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26976, 101, 99, 116, 111, 114, 256, 59, 66, 2390, 2391, 25023, 97, 114, 59, 26968, 101, 99, 116, 111, 114, 256, 59, 66, 2405, 2406, 25020, 97, 114, 59, 26962, 105, 103, 104, 116, 225, 924, 115, 768, 69, 70, 71, 76, 83, 84, 2430, 2443, 2453, 2461, 2466, 2477, 113, 117, 97, 108, 71, 114, 101, 97, 116, 101, 114, 59, 25306, 117, 108, 108, 69, 113, 117, 97, 108, 59, 25190, 114, 101, 97, 116, 101, 114, 59, 25206, 101, 115, 115, 59, 27297, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 27261, 105, 108, 100, 101, 59, 25202, 114, 59, 49152, 55349, 56591, 256, 59, 101, 2493, 2494, 25304, 102, 116, 97, 114, 114, 111, 119, 59, 25050, 105, 100, 111, 116, 59, 16703, 384, 110, 112, 119, 2516, 2582, 2587, 103, 512, 76, 82, 108, 114, 2526, 2551, 2562, 2576, 101, 102, 116, 256, 65, 82, 2534, 2540, 114, 114, 111, 119, 59, 26613, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 26615, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 26614, 101, 102, 116, 256, 97, 114, 947, 2570, 105, 103, 104, 116, 225, 959, 105, 103, 104, 116, 225, 970, 102, 59, 49152, 55349, 56643, 101, 114, 256, 76, 82, 2594, 2604, 101, 102, 116, 65, 114, 114, 111, 119, 59, 24985, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 24984, 384, 99, 104, 116, 2622, 2624, 2626, 242, 2124, 59, 25008, 114, 111, 107, 59, 16705, 59, 25194, 1024, 97, 99, 101, 102, 105, 111, 115, 117, 2650, 2653, 2656, 2679, 2684, 2693, 2699, 2702, 112, 59, 26885, 121, 59, 17436, 256, 100, 108, 2661, 2671, 105, 117, 109, 83, 112, 97, 99, 101, 59, 24671, 108, 105, 110, 116, 114, 102, 59, 24883, 114, 59, 49152, 55349, 56592, 110, 117, 115, 80, 108, 117, 115, 59, 25107, 112, 102, 59, 49152, 55349, 56644, 99, 242, 2678, 59, 17308, 1152, 74, 97, 99, 101, 102, 111, 115, 116, 117, 2723, 2727, 2733, 2752, 2836, 2841, 3473, 3479, 3486, 99, 121, 59, 17418, 99, 117, 116, 101, 59, 16707, 384, 97, 101, 121, 2740, 2745, 2750, 114, 111, 110, 59, 16711, 100, 105, 108, 59, 16709, 59, 17437, 384, 103, 115, 119, 2759, 2800, 2830, 97, 116, 105, 118, 101, 384, 77, 84, 86, 2771, 2783, 2792, 101, 100, 105, 117, 109, 83, 112, 97, 99, 101, 59, 24587, 104, 105, 256, 99, 110, 2790, 2776, 235, 2777, 101, 114, 121, 84, 104, 105, 238, 2777, 116, 101, 100, 256, 71, 76, 2808, 2822, 114, 101, 97, 116, 101, 114, 71, 114, 101, 97, 116, 101, 242, 1651, 101, 115, 115, 76, 101, 115, 243, 2632, 76, 105, 110, 101, 59, 16394, 114, 59, 49152, 55349, 56593, 512, 66, 110, 112, 116, 2850, 2856, 2871, 2874, 114, 101, 97, 107, 59, 24672, 66, 114, 101, 97, 107, 105, 110, 103, 83, 112, 97, 99, 101, 59, 16544, 102, 59, 24853, 1664, 59, 67, 68, 69, 71, 72, 76, 78, 80, 82, 83, 84, 86, 2901, 2902, 2922, 2940, 2977, 3051, 3076, 3166, 3204, 3238, 3288, 3425, 3461, 27372, 256, 111, 117, 2907, 2916, 110, 103, 114, 117, 101, 110, 116, 59, 25186, 112, 67, 97, 112, 59, 25197, 111, 117, 98, 108, 101, 86, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 25126, 384, 108, 113, 120, 2947, 2954, 2971, 101, 109, 101, 110, 116, 59, 25097, 117, 97, 108, 256, 59, 84, 2962, 2963, 25184, 105, 108, 100, 101, 59, 49152, 8770, 824, 105, 115, 116, 115, 59, 25092, 114, 101, 97, 116, 101, 114, 896, 59, 69, 70, 71, 76, 83, 84, 2998, 2999, 3005, 3017, 3027, 3032, 3045, 25199, 113, 117, 97, 108, 59, 25201, 117, 108, 108, 69, 113, 117, 97, 108, 59, 49152, 8807, 824, 114, 101, 97, 116, 101, 114, 59, 49152, 8811, 824, 101, 115, 115, 59, 25209, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 49152, 10878, 824, 105, 108, 100, 101, 59, 25205, 117, 109, 112, 324, 3058, 3069, 111, 119, 110, 72, 117, 109, 112, 59, 49152, 8782, 824, 113, 117, 97, 108, 59, 49152, 8783, 824, 101, 256, 102, 115, 3082, 3111, 116, 84, 114, 105, 97, 110, 103, 108, 101, 384, 59, 66, 69, 3098, 3099, 3105, 25322, 97, 114, 59, 49152, 10703, 824, 113, 117, 97, 108, 59, 25324, 115, 768, 59, 69, 71, 76, 83, 84, 3125, 3126, 3132, 3140, 3147, 3160, 25198, 113, 117, 97, 108, 59, 25200, 114, 101, 97, 116, 101, 114, 59, 25208, 101, 115, 115, 59, 49152, 8810, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 49152, 10877, 824, 105, 108, 100, 101, 59, 25204, 101, 115, 116, 101, 100, 256, 71, 76, 3176, 3193, 114, 101, 97, 116, 101, 114, 71, 114, 101, 97, 116, 101, 114, 59, 49152, 10914, 824, 101, 115, 115, 76, 101, 115, 115, 59, 49152, 10913, 824, 114, 101, 99, 101, 100, 101, 115, 384, 59, 69, 83, 3218, 3219, 3227, 25216, 113, 117, 97, 108, 59, 49152, 10927, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 25312, 256, 101, 105, 3243, 3257, 118, 101, 114, 115, 101, 69, 108, 101, 109, 101, 110, 116, 59, 25100, 103, 104, 116, 84, 114, 105, 97, 110, 103, 108, 101, 384, 59, 66, 69, 3275, 3276, 3282, 25323, 97, 114, 59, 49152, 10704, 824, 113, 117, 97, 108, 59, 25325, 256, 113, 117, 3293, 3340, 117, 97, 114, 101, 83, 117, 256, 98, 112, 3304, 3321, 115, 101, 116, 256, 59, 69, 3312, 3315, 49152, 8847, 824, 113, 117, 97, 108, 59, 25314, 101, 114, 115, 101, 116, 256, 59, 69, 3331, 3334, 49152, 8848, 824, 113, 117, 97, 108, 59, 25315, 384, 98, 99, 112, 3347, 3364, 3406, 115, 101, 116, 256, 59, 69, 3355, 3358, 49152, 8834, 8402, 113, 117, 97, 108, 59, 25224, 99, 101, 101, 100, 115, 512, 59, 69, 83, 84, 3378, 3379, 3387, 3398, 25217, 113, 117, 97, 108, 59, 49152, 10928, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 25313, 105, 108, 100, 101, 59, 49152, 8831, 824, 101, 114, 115, 101, 116, 256, 59, 69, 3416, 3419, 49152, 8835, 8402, 113, 117, 97, 108, 59, 25225, 105, 108, 100, 101, 512, 59, 69, 70, 84, 3438, 3439, 3445, 3455, 25153, 113, 117, 97, 108, 59, 25156, 117, 108, 108, 69, 113, 117, 97, 108, 59, 25159, 105, 108, 100, 101, 59, 25161, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 25124, 99, 114, 59, 49152, 55349, 56489, 105, 108, 100, 101, 32827, 209, 16593, 59, 17309, 1792, 69, 97, 99, 100, 102, 103, 109, 111, 112, 114, 115, 116, 117, 118, 3517, 3522, 3529, 3541, 3547, 3552, 3559, 3580, 3586, 3616, 3618, 3634, 3647, 3652, 108, 105, 103, 59, 16722, 99, 117, 116, 101, 32827, 211, 16595, 256, 105, 121, 3534, 3539, 114, 99, 32827, 212, 16596, 59, 17438, 98, 108, 97, 99, 59, 16720, 114, 59, 49152, 55349, 56594, 114, 97, 118, 101, 32827, 210, 16594, 384, 97, 101, 105, 3566, 3570, 3574, 99, 114, 59, 16716, 103, 97, 59, 17321, 99, 114, 111, 110, 59, 17311, 112, 102, 59, 49152, 55349, 56646, 101, 110, 67, 117, 114, 108, 121, 256, 68, 81, 3598, 3610, 111, 117, 98, 108, 101, 81, 117, 111, 116, 101, 59, 24604, 117, 111, 116, 101, 59, 24600, 59, 27220, 256, 99, 108, 3623, 3628, 114, 59, 49152, 55349, 56490, 97, 115, 104, 32827, 216, 16600, 105, 364, 3639, 3644, 100, 101, 32827, 213, 16597, 101, 115, 59, 27191, 109, 108, 32827, 214, 16598, 101, 114, 256, 66, 80, 3659, 3680, 256, 97, 114, 3664, 3667, 114, 59, 24638, 97, 99, 256, 101, 107, 3674, 3676, 59, 25566, 101, 116, 59, 25524, 97, 114, 101, 110, 116, 104, 101, 115, 105, 115, 59, 25564, 1152, 97, 99, 102, 104, 105, 108, 111, 114, 115, 3711, 3719, 3722, 3727, 3730, 3732, 3741, 3760, 3836, 114, 116, 105, 97, 108, 68, 59, 25090, 121, 59, 17439, 114, 59, 49152, 55349, 56595, 105, 59, 17318, 59, 17312, 117, 115, 77, 105, 110, 117, 115, 59, 16561, 256, 105, 112, 3746, 3757, 110, 99, 97, 114, 101, 112, 108, 97, 110, 229, 1693, 102, 59, 24857, 512, 59, 101, 105, 111, 3769, 3770, 3808, 3812, 27323, 99, 101, 100, 101, 115, 512, 59, 69, 83, 84, 3784, 3785, 3791, 3802, 25210, 113, 117, 97, 108, 59, 27311, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 25212, 105, 108, 100, 101, 59, 25214, 109, 101, 59, 24627, 256, 100, 112, 3817, 3822, 117, 99, 116, 59, 25103, 111, 114, 116, 105, 111, 110, 256, 59, 97, 549, 3833, 108, 59, 25117, 256, 99, 105, 3841, 3846, 114, 59, 49152, 55349, 56491, 59, 17320, 512, 85, 102, 111, 115, 3857, 3862, 3867, 3871, 79, 84, 32827, 34, 16418, 114, 59, 49152, 55349, 56596, 112, 102, 59, 24858, 99, 114, 59, 49152, 55349, 56492, 1536, 66, 69, 97, 99, 101, 102, 104, 105, 111, 114, 115, 117, 3902, 3907, 3911, 3936, 3955, 4007, 4010, 4013, 4246, 4265, 4276, 4286, 97, 114, 114, 59, 26896, 71, 32827, 174, 16558, 384, 99, 110, 114, 3918, 3923, 3926, 117, 116, 101, 59, 16724, 103, 59, 26603, 114, 256, 59, 116, 3932, 3933, 24992, 108, 59, 26902, 384, 97, 101, 121, 3943, 3948, 3953, 114, 111, 110, 59, 16728, 100, 105, 108, 59, 16726, 59, 17440, 256, 59, 118, 3960, 3961, 24860, 101, 114, 115, 101, 256, 69, 85, 3970, 3993, 256, 108, 113, 3975, 3982, 101, 109, 101, 110, 116, 59, 25099, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 25035, 112, 69, 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 26991, 114, 187, 3961, 111, 59, 17313, 103, 104, 116, 1024, 65, 67, 68, 70, 84, 85, 86, 97, 4033, 4075, 4083, 4130, 4136, 4187, 4231, 984, 256, 110, 114, 4038, 4050, 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 26601, 114, 111, 119, 384, 59, 66, 76, 4060, 4061, 4065, 24978, 97, 114, 59, 25061, 101, 102, 116, 65, 114, 114, 111, 119, 59, 25028, 101, 105, 108, 105, 110, 103, 59, 25353, 111, 501, 4089, 0, 4101, 98, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 26599, 110, 468, 4106, 0, 4116, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26973, 101, 99, 116, 111, 114, 256, 59, 66, 4125, 4126, 25026, 97, 114, 59, 26965, 108, 111, 111, 114, 59, 25355, 256, 101, 114, 4141, 4163, 101, 384, 59, 65, 86, 4149, 4150, 4156, 25250, 114, 114, 111, 119, 59, 24998, 101, 99, 116, 111, 114, 59, 26971, 105, 97, 110, 103, 108, 101, 384, 59, 66, 69, 4176, 4177, 4181, 25267, 97, 114, 59, 27088, 113, 117, 97, 108, 59, 25269, 112, 384, 68, 84, 86, 4195, 4206, 4216, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 26959, 101, 101, 86, 101, 99, 116, 111, 114, 59, 26972, 101, 99, 116, 111, 114, 256, 59, 66, 4226, 4227, 25022, 97, 114, 59, 26964, 101, 99, 116, 111, 114, 256, 59, 66, 4241, 4242, 25024, 97, 114, 59, 26963, 256, 112, 117, 4251, 4254, 102, 59, 24861, 110, 100, 73, 109, 112, 108, 105, 101, 115, 59, 26992, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 25051, 256, 99, 104, 4281, 4284, 114, 59, 24859, 59, 25009, 108, 101, 68, 101, 108, 97, 121, 101, 100, 59, 27124, 1664, 72, 79, 97, 99, 102, 104, 105, 109, 111, 113, 115, 116, 117, 4324, 4337, 4343, 4349, 4377, 4382, 4433, 4438, 4449, 4455, 4533, 4539, 4543, 256, 67, 99, 4329, 4334, 72, 99, 121, 59, 17449, 121, 59, 17448, 70, 84, 99, 121, 59, 17452, 99, 117, 116, 101, 59, 16730, 640, 59, 97, 101, 105, 121, 4360, 4361, 4366, 4371, 4375, 27324, 114, 111, 110, 59, 16736, 100, 105, 108, 59, 16734, 114, 99, 59, 16732, 59, 17441, 114, 59, 49152, 55349, 56598, 111, 114, 116, 512, 68, 76, 82, 85, 4394, 4404, 4414, 4425, 111, 119, 110, 65, 114, 114, 111, 119, 187, 1054, 101, 102, 116, 65, 114, 114, 111, 119, 187, 2202, 105, 103, 104, 116, 65, 114, 114, 111, 119, 187, 4061, 112, 65, 114, 114, 111, 119, 59, 24977, 103, 109, 97, 59, 17315, 97, 108, 108, 67, 105, 114, 99, 108, 101, 59, 25112, 112, 102, 59, 49152, 55349, 56650, 626, 4461, 0, 0, 4464, 116, 59, 25114, 97, 114, 101, 512, 59, 73, 83, 85, 4475, 4476, 4489, 4527, 26017, 110, 116, 101, 114, 115, 101, 99, 116, 105, 111, 110, 59, 25235, 117, 256, 98, 112, 4495, 4510, 115, 101, 116, 256, 59, 69, 4503, 4504, 25231, 113, 117, 97, 108, 59, 25233, 101, 114, 115, 101, 116, 256, 59, 69, 4520, 4521, 25232, 113, 117, 97, 108, 59, 25234, 110, 105, 111, 110, 59, 25236, 99, 114, 59, 49152, 55349, 56494, 97, 114, 59, 25286, 512, 98, 99, 109, 112, 4552, 4571, 4617, 4619, 256, 59, 115, 4557, 4558, 25296, 101, 116, 256, 59, 69, 4557, 4565, 113, 117, 97, 108, 59, 25222, 256, 99, 104, 4576, 4613, 101, 101, 100, 115, 512, 59, 69, 83, 84, 4589, 4590, 4596, 4607, 25211, 113, 117, 97, 108, 59, 27312, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 25213, 105, 108, 100, 101, 59, 25215, 84, 104, 225, 3980, 59, 25105, 384, 59, 101, 115, 4626, 4627, 4643, 25297, 114, 115, 101, 116, 256, 59, 69, 4636, 4637, 25219, 113, 117, 97, 108, 59, 25223, 101, 116, 187, 4627, 1408, 72, 82, 83, 97, 99, 102, 104, 105, 111, 114, 115, 4670, 4676, 4681, 4693, 4702, 4721, 4726, 4767, 4802, 4808, 4817, 79, 82, 78, 32827, 222, 16606, 65, 68, 69, 59, 24866, 256, 72, 99, 4686, 4690, 99, 121, 59, 17419, 121, 59, 17446, 256, 98, 117, 4698, 4700, 59, 16393, 59, 17316, 384, 97, 101, 121, 4709, 4714, 4719, 114, 111, 110, 59, 16740, 100, 105, 108, 59, 16738, 59, 17442, 114, 59, 49152, 55349, 56599, 256, 101, 105, 4731, 4745, 498, 4736, 0, 4743, 101, 102, 111, 114, 101, 59, 25140, 97, 59, 17304, 256, 99, 110, 4750, 4760, 107, 83, 112, 97, 99, 101, 59, 49152, 8287, 8202, 83, 112, 97, 99, 101, 59, 24585, 108, 100, 101, 512, 59, 69, 70, 84, 4779, 4780, 4786, 4796, 25148, 113, 117, 97, 108, 59, 25155, 117, 108, 108, 69, 113, 117, 97, 108, 59, 25157, 105, 108, 100, 101, 59, 25160, 112, 102, 59, 49152, 55349, 56651, 105, 112, 108, 101, 68, 111, 116, 59, 24795, 256, 99, 116, 4822, 4827, 114, 59, 49152, 55349, 56495, 114, 111, 107, 59, 16742, 2785, 4855, 4878, 4890, 4902, 0, 4908, 4913, 0, 0, 0, 0, 0, 4920, 4925, 4983, 4997, 0, 5119, 5124, 5130, 5136, 256, 99, 114, 4859, 4865, 117, 116, 101, 32827, 218, 16602, 114, 256, 59, 111, 4871, 4872, 24991, 99, 105, 114, 59, 26953, 114, 483, 4883, 0, 4886, 121, 59, 17422, 118, 101, 59, 16748, 256, 105, 121, 4894, 4899, 114, 99, 32827, 219, 16603, 59, 17443, 98, 108, 97, 99, 59, 16752, 114, 59, 49152, 55349, 56600, 114, 97, 118, 101, 32827, 217, 16601, 97, 99, 114, 59, 16746, 256, 100, 105, 4929, 4969, 101, 114, 256, 66, 80, 4936, 4957, 256, 97, 114, 4941, 4944, 114, 59, 16479, 97, 99, 256, 101, 107, 4951, 4953, 59, 25567, 101, 116, 59, 25525, 97, 114, 101, 110, 116, 104, 101, 115, 105, 115, 59, 25565, 111, 110, 256, 59, 80, 4976, 4977, 25283, 108, 117, 115, 59, 25230, 256, 103, 112, 4987, 4991, 111, 110, 59, 16754, 102, 59, 49152, 55349, 56652, 1024, 65, 68, 69, 84, 97, 100, 112, 115, 5013, 5038, 5048, 5060, 1000, 5074, 5079, 5107, 114, 114, 111, 119, 384, 59, 66, 68, 4432, 5024, 5028, 97, 114, 59, 26898, 111, 119, 110, 65, 114, 114, 111, 119, 59, 25029, 111, 119, 110, 65, 114, 114, 111, 119, 59, 24981, 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 26990, 101, 101, 256, 59, 65, 5067, 5068, 25253, 114, 114, 111, 119, 59, 24997, 111, 119, 110, 225, 1011, 101, 114, 256, 76, 82, 5086, 5096, 101, 102, 116, 65, 114, 114, 111, 119, 59, 24982, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 24983, 105, 256, 59, 108, 5113, 5114, 17362, 111, 110, 59, 17317, 105, 110, 103, 59, 16750, 99, 114, 59, 49152, 55349, 56496, 105, 108, 100, 101, 59, 16744, 109, 108, 32827, 220, 16604, 1152, 68, 98, 99, 100, 101, 102, 111, 115, 118, 5159, 5164, 5168, 5171, 5182, 5253, 5258, 5264, 5270, 97, 115, 104, 59, 25259, 97, 114, 59, 27371, 121, 59, 17426, 97, 115, 104, 256, 59, 108, 5179, 5180, 25257, 59, 27366, 256, 101, 114, 5187, 5189, 59, 25281, 384, 98, 116, 121, 5196, 5200, 5242, 97, 114, 59, 24598, 256, 59, 105, 5199, 5205, 99, 97, 108, 512, 66, 76, 83, 84, 5217, 5221, 5226, 5236, 97, 114, 59, 25123, 105, 110, 101, 59, 16508, 101, 112, 97, 114, 97, 116, 111, 114, 59, 26456, 105, 108, 100, 101, 59, 25152, 84, 104, 105, 110, 83, 112, 97, 99, 101, 59, 24586, 114, 59, 49152, 55349, 56601, 112, 102, 59, 49152, 55349, 56653, 99, 114, 59, 49152, 55349, 56497, 100, 97, 115, 104, 59, 25258, 640, 99, 101, 102, 111, 115, 5287, 5292, 5297, 5302, 5308, 105, 114, 99, 59, 16756, 100, 103, 101, 59, 25280, 114, 59, 49152, 55349, 56602, 112, 102, 59, 49152, 55349, 56654, 99, 114, 59, 49152, 55349, 56498, 512, 102, 105, 111, 115, 5323, 5328, 5330, 5336, 114, 59, 49152, 55349, 56603, 59, 17310, 112, 102, 59, 49152, 55349, 56655, 99, 114, 59, 49152, 55349, 56499, 1152, 65, 73, 85, 97, 99, 102, 111, 115, 117, 5361, 5365, 5369, 5373, 5380, 5391, 5396, 5402, 5408, 99, 121, 59, 17455, 99, 121, 59, 17415, 99, 121, 59, 17454, 99, 117, 116, 101, 32827, 221, 16605, 256, 105, 121, 5385, 5389, 114, 99, 59, 16758, 59, 17451, 114, 59, 49152, 55349, 56604, 112, 102, 59, 49152, 55349, 56656, 99, 114, 59, 49152, 55349, 56500, 109, 108, 59, 16760, 1024, 72, 97, 99, 100, 101, 102, 111, 115, 5429, 5433, 5439, 5451, 5455, 5469, 5472, 5476, 99, 121, 59, 17430, 99, 117, 116, 101, 59, 16761, 256, 97, 121, 5444, 5449, 114, 111, 110, 59, 16765, 59, 17431, 111, 116, 59, 16763, 498, 5460, 0, 5467, 111, 87, 105, 100, 116, 232, 2777, 97, 59, 17302, 114, 59, 24872, 112, 102, 59, 24868, 99, 114, 59, 49152, 55349, 56501, 3041, 5507, 5514, 5520, 0, 5552, 5558, 5567, 0, 0, 0, 0, 5574, 5595, 5611, 5727, 5741, 0, 5781, 5787, 5810, 5817, 0, 5822, 99, 117, 116, 101, 32827, 225, 16609, 114, 101, 118, 101, 59, 16643, 768, 59, 69, 100, 105, 117, 121, 5532, 5533, 5537, 5539, 5544, 5549, 25150, 59, 49152, 8766, 819, 59, 25151, 114, 99, 32827, 226, 16610, 116, 101, 32955, 180, 774, 59, 17456, 108, 105, 103, 32827, 230, 16614, 256, 59, 114, 178, 5562, 59, 49152, 55349, 56606, 114, 97, 118, 101, 32827, 224, 16608, 256, 101, 112, 5578, 5590, 256, 102, 112, 5583, 5588, 115, 121, 109, 59, 24885, 232, 5587, 104, 97, 59, 17329, 256, 97, 112, 5599, 99, 256, 99, 108, 5604, 5607, 114, 59, 16641, 103, 59, 27199, 612, 5616, 0, 0, 5642, 640, 59, 97, 100, 115, 118, 5626, 5627, 5631, 5633, 5639, 25127, 110, 100, 59, 27221, 59, 27228, 108, 111, 112, 101, 59, 27224, 59, 27226, 896, 59, 101, 108, 109, 114, 115, 122, 5656, 5657, 5659, 5662, 5695, 5711, 5721, 25120, 59, 27044, 101, 187, 5657, 115, 100, 256, 59, 97, 5669, 5670, 25121, 1121, 5680, 5682, 5684, 5686, 5688, 5690, 5692, 5694, 59, 27048, 59, 27049, 59, 27050, 59, 27051, 59, 27052, 59, 27053, 59, 27054, 59, 27055, 116, 256, 59, 118, 5701, 5702, 25119, 98, 256, 59, 100, 5708, 5709, 25278, 59, 27037, 256, 112, 116, 5716, 5719, 104, 59, 25122, 187, 185, 97, 114, 114, 59, 25468, 256, 103, 112, 5731, 5735, 111, 110, 59, 16645, 102, 59, 49152, 55349, 56658, 896, 59, 69, 97, 101, 105, 111, 112, 4801, 5755, 5757, 5762, 5764, 5767, 5770, 59, 27248, 99, 105, 114, 59, 27247, 59, 25162, 100, 59, 25163, 115, 59, 16423, 114, 111, 120, 256, 59, 101, 4801, 5778, 241, 5763, 105, 110, 103, 32827, 229, 16613, 384, 99, 116, 121, 5793, 5798, 5800, 114, 59, 49152, 55349, 56502, 59, 16426, 109, 112, 256, 59, 101, 4801, 5807, 241, 648, 105, 108, 100, 101, 32827, 227, 16611, 109, 108, 32827, 228, 16612, 256, 99, 105, 5826, 5832, 111, 110, 105, 110, 244, 626, 110, 116, 59, 27153, 2048, 78, 97, 98, 99, 100, 101, 102, 105, 107, 108, 110, 111, 112, 114, 115, 117, 5869, 5873, 5936, 5948, 5955, 5960, 6008, 6013, 6112, 6118, 6201, 6224, 5901, 6461, 6472, 6512, 111, 116, 59, 27373, 256, 99, 114, 5878, 5918, 107, 512, 99, 101, 112, 115, 5888, 5893, 5901, 5907, 111, 110, 103, 59, 25164, 112, 115, 105, 108, 111, 110, 59, 17398, 114, 105, 109, 101, 59, 24629, 105, 109, 256, 59, 101, 5914, 5915, 25149, 113, 59, 25293, 374, 5922, 5926, 101, 101, 59, 25277, 101, 100, 256, 59, 103, 5932, 5933, 25349, 101, 187, 5933, 114, 107, 256, 59, 116, 4956, 5943, 98, 114, 107, 59, 25526, 256, 111, 121, 5889, 5953, 59, 17457, 113, 117, 111, 59, 24606, 640, 99, 109, 112, 114, 116, 5971, 5979, 5985, 5988, 5992, 97, 117, 115, 256, 59, 101, 266, 265, 112, 116, 121, 118, 59, 27056, 115, 233, 5900, 110, 111, 245, 275, 384, 97, 104, 119, 5999, 6001, 6003, 59, 17330, 59, 24886, 101, 101, 110, 59, 25196, 114, 59, 49152, 55349, 56607, 103, 896, 99, 111, 115, 116, 117, 118, 119, 6029, 6045, 6067, 6081, 6101, 6107, 6110, 384, 97, 105, 117, 6036, 6038, 6042, 240, 1888, 114, 99, 59, 26095, 112, 187, 4977, 384, 100, 112, 116, 6052, 6056, 6061, 111, 116, 59, 27136, 108, 117, 115, 59, 27137, 105, 109, 101, 115, 59, 27138, 625, 6073, 0, 0, 6078, 99, 117, 112, 59, 27142, 97, 114, 59, 26117, 114, 105, 97, 110, 103, 108, 101, 256, 100, 117, 6093, 6098, 111, 119, 110, 59, 26045, 112, 59, 26035, 112, 108, 117, 115, 59, 27140, 101, 229, 5188, 229, 5293, 97, 114, 111, 119, 59, 26893, 384, 97, 107, 111, 6125, 6182, 6197, 256, 99, 110, 6130, 6179, 107, 384, 108, 115, 116, 6138, 1451, 6146, 111, 122, 101, 110, 103, 101, 59, 27115, 114, 105, 97, 110, 103, 108, 101, 512, 59, 100, 108, 114, 6162, 6163, 6168, 6173, 26036, 111, 119, 110, 59, 26046, 101, 102, 116, 59, 26050, 105, 103, 104, 116, 59, 26040, 107, 59, 25635, 433, 6187, 0, 6195, 434, 6191, 0, 6193, 59, 26002, 59, 26001, 52, 59, 26003, 99, 107, 59, 25992, 256, 101, 111, 6206, 6221, 256, 59, 113, 6211, 6214, 49152, 61, 8421, 117, 105, 118, 59, 49152, 8801, 8421, 116, 59, 25360, 512, 112, 116, 119, 120, 6233, 6238, 6247, 6252, 102, 59, 49152, 55349, 56659, 256, 59, 116, 5067, 6243, 111, 109, 187, 5068, 116, 105, 101, 59, 25288, 1536, 68, 72, 85, 86, 98, 100, 104, 109, 112, 116, 117, 118, 6277, 6294, 6314, 6331, 6359, 6363, 6380, 6399, 6405, 6410, 6416, 6433, 512, 76, 82, 108, 114, 6286, 6288, 6290, 6292, 59, 25943, 59, 25940, 59, 25942, 59, 25939, 640, 59, 68, 85, 100, 117, 6305, 6306, 6308, 6310, 6312, 25936, 59, 25958, 59, 25961, 59, 25956, 59, 25959, 512, 76, 82, 108, 114, 6323, 6325, 6327, 6329, 59, 25949, 59, 25946, 59, 25948, 59, 25945, 896, 59, 72, 76, 82, 104, 108, 114, 6346, 6347, 6349, 6351, 6353, 6355, 6357, 25937, 59, 25964, 59, 25955, 59, 25952, 59, 25963, 59, 25954, 59, 25951, 111, 120, 59, 27081, 512, 76, 82, 108, 114, 6372, 6374, 6376, 6378, 59, 25941, 59, 25938, 59, 25872, 59, 25868, 640, 59, 68, 85, 100, 117, 1725, 6391, 6393, 6395, 6397, 59, 25957, 59, 25960, 59, 25900, 59, 25908, 105, 110, 117, 115, 59, 25247, 108, 117, 115, 59, 25246, 105, 109, 101, 115, 59, 25248, 512, 76, 82, 108, 114, 6425, 6427, 6429, 6431, 59, 25947, 59, 25944, 59, 25880, 59, 25876, 896, 59, 72, 76, 82, 104, 108, 114, 6448, 6449, 6451, 6453, 6455, 6457, 6459, 25858, 59, 25962, 59, 25953, 59, 25950, 59, 25916, 59, 25892, 59, 25884, 256, 101, 118, 291, 6466, 98, 97, 114, 32827, 166, 16550, 512, 99, 101, 105, 111, 6481, 6486, 6490, 6496, 114, 59, 49152, 55349, 56503, 109, 105, 59, 24655, 109, 256, 59, 101, 5914, 5916, 108, 384, 59, 98, 104, 6504, 6505, 6507, 16476, 59, 27077, 115, 117, 98, 59, 26568, 364, 6516, 6526, 108, 256, 59, 101, 6521, 6522, 24610, 116, 187, 6522, 112, 384, 59, 69, 101, 303, 6533, 6535, 59, 27310, 256, 59, 113, 1756, 1755, 3297, 6567, 0, 6632, 6673, 6677, 6706, 0, 6711, 6736, 0, 0, 6836, 0, 0, 6849, 0, 0, 6945, 6958, 6989, 6994, 0, 7165, 0, 7180, 384, 99, 112, 114, 6573, 6578, 6621, 117, 116, 101, 59, 16647, 768, 59, 97, 98, 99, 100, 115, 6591, 6592, 6596, 6602, 6613, 6617, 25129, 110, 100, 59, 27204, 114, 99, 117, 112, 59, 27209, 256, 97, 117, 6607, 6610, 112, 59, 27211, 112, 59, 27207, 111, 116, 59, 27200, 59, 49152, 8745, 65024, 256, 101, 111, 6626, 6629, 116, 59, 24641, 238, 1683, 512, 97, 101, 105, 117, 6640, 6651, 6657, 6661, 496, 6645, 0, 6648, 115, 59, 27213, 111, 110, 59, 16653, 100, 105, 108, 32827, 231, 16615, 114, 99, 59, 16649, 112, 115, 256, 59, 115, 6668, 6669, 27212, 109, 59, 27216, 111, 116, 59, 16651, 384, 100, 109, 110, 6683, 6688, 6694, 105, 108, 32955, 184, 429, 112, 116, 121, 118, 59, 27058, 116, 33024, 162, 59, 101, 6701, 6702, 16546, 114, 228, 434, 114, 59, 49152, 55349, 56608, 384, 99, 101, 105, 6717, 6720, 6733, 121, 59, 17479, 99, 107, 256, 59, 109, 6727, 6728, 26387, 97, 114, 107, 187, 6728, 59, 17351, 114, 896, 59, 69, 99, 101, 102, 109, 115, 6751, 6752, 6754, 6763, 6820, 6826, 6830, 26059, 59, 27075, 384, 59, 101, 108, 6761, 6762, 6765, 17094, 113, 59, 25175, 101, 609, 6772, 0, 0, 6792, 114, 114, 111, 119, 256, 108, 114, 6780, 6785, 101, 102, 116, 59, 25018, 105, 103, 104, 116, 59, 25019, 640, 82, 83, 97, 99, 100, 6802, 6804, 6806, 6810, 6815, 187, 3911, 59, 25800, 115, 116, 59, 25243, 105, 114, 99, 59, 25242, 97, 115, 104, 59, 25245, 110, 105, 110, 116, 59, 27152, 105, 100, 59, 27375, 99, 105, 114, 59, 27074, 117, 98, 115, 256, 59, 117, 6843, 6844, 26211, 105, 116, 187, 6844, 748, 6855, 6868, 6906, 0, 6922, 111, 110, 256, 59, 101, 6861, 6862, 16442, 256, 59, 113, 199, 198, 621, 6873, 0, 0, 6882, 97, 256, 59, 116, 6878, 6879, 16428, 59, 16448, 384, 59, 102, 108, 6888, 6889, 6891, 25089, 238, 4448, 101, 256, 109, 120, 6897, 6902, 101, 110, 116, 187, 6889, 101, 243, 589, 487, 6910, 0, 6919, 256, 59, 100, 4795, 6914, 111, 116, 59, 27245, 110, 244, 582, 384, 102, 114, 121, 6928, 6932, 6935, 59, 49152, 55349, 56660, 111, 228, 596, 33024, 169, 59, 115, 341, 6941, 114, 59, 24855, 256, 97, 111, 6949, 6953, 114, 114, 59, 25013, 115, 115, 59, 26391, 256, 99, 117, 6962, 6967, 114, 59, 49152, 55349, 56504, 256, 98, 112, 6972, 6980, 256, 59, 101, 6977, 6978, 27343, 59, 27345, 256, 59, 101, 6985, 6986, 27344, 59, 27346, 100, 111, 116, 59, 25327, 896, 100, 101, 108, 112, 114, 118, 119, 7008, 7020, 7031, 7042, 7084, 7124, 7161, 97, 114, 114, 256, 108, 114, 7016, 7018, 59, 26936, 59, 26933, 624, 7026, 0, 0, 7029, 114, 59, 25310, 99, 59, 25311, 97, 114, 114, 256, 59, 112, 7039, 7040, 25014, 59, 26941, 768, 59, 98, 99, 100, 111, 115, 7055, 7056, 7062, 7073, 7077, 7080, 25130, 114, 99, 97, 112, 59, 27208, 256, 97, 117, 7067, 7070, 112, 59, 27206, 112, 59, 27210, 111, 116, 59, 25229, 114, 59, 27205, 59, 49152, 8746, 65024, 512, 97, 108, 114, 118, 7093, 7103, 7134, 7139, 114, 114, 256, 59, 109, 7100, 7101, 25015, 59, 26940, 121, 384, 101, 118, 119, 7111, 7124, 7128, 113, 624, 7118, 0, 0, 7122, 114, 101, 227, 7027, 117, 227, 7029, 101, 101, 59, 25294, 101, 100, 103, 101, 59, 25295, 101, 110, 32827, 164, 16548, 101, 97, 114, 114, 111, 119, 256, 108, 114, 7150, 7155, 101, 102, 116, 187, 7040, 105, 103, 104, 116, 187, 7101, 101, 228, 7133, 256, 99, 105, 7169, 7175, 111, 110, 105, 110, 244, 503, 110, 116, 59, 25137, 108, 99, 116, 121, 59, 25389, 2432, 65, 72, 97, 98, 99, 100, 101, 102, 104, 105, 106, 108, 111, 114, 115, 116, 117, 119, 122, 7224, 7227, 7231, 7261, 7273, 7285, 7306, 7326, 7340, 7351, 7419, 7423, 7437, 7547, 7569, 7595, 7611, 7622, 7629, 114, 242, 897, 97, 114, 59, 26981, 512, 103, 108, 114, 115, 7240, 7245, 7250, 7252, 103, 101, 114, 59, 24608, 101, 116, 104, 59, 24888, 242, 4403, 104, 256, 59, 118, 7258, 7259, 24592, 187, 2314, 363, 7265, 7271, 97, 114, 111, 119, 59, 26895, 97, 227, 789, 256, 97, 121, 7278, 7283, 114, 111, 110, 59, 16655, 59, 17460, 384, 59, 97, 111, 818, 7292, 7300, 256, 103, 114, 703, 7297, 114, 59, 25034, 116, 115, 101, 113, 59, 27255, 384, 103, 108, 109, 7313, 7316, 7320, 32827, 176, 16560, 116, 97, 59, 17332, 112, 116, 121, 118, 59, 27057, 256, 105, 114, 7331, 7336, 115, 104, 116, 59, 27007, 59, 49152, 55349, 56609, 97, 114, 256, 108, 114, 7347, 7349, 187, 2268, 187, 4126, 640, 97, 101, 103, 115, 118, 7362, 888, 7382, 7388, 7392, 109, 384, 59, 111, 115, 806, 7370, 7380, 110, 100, 256, 59, 115, 806, 7377, 117, 105, 116, 59, 26214, 97, 109, 109, 97, 59, 17373, 105, 110, 59, 25330, 384, 59, 105, 111, 7399, 7400, 7416, 16631, 100, 101, 33024, 247, 59, 111, 7399, 7408, 110, 116, 105, 109, 101, 115, 59, 25287, 110, 248, 7415, 99, 121, 59, 17490, 99, 623, 7430, 0, 0, 7434, 114, 110, 59, 25374, 111, 112, 59, 25357, 640, 108, 112, 116, 117, 119, 7448, 7453, 7458, 7497, 7509, 108, 97, 114, 59, 16420, 102, 59, 49152, 55349, 56661, 640, 59, 101, 109, 112, 115, 779, 7469, 7479, 7485, 7490, 113, 256, 59, 100, 850, 7475, 111, 116, 59, 25169, 105, 110, 117, 115, 59, 25144, 108, 117, 115, 59, 25108, 113, 117, 97, 114, 101, 59, 25249, 98, 108, 101, 98, 97, 114, 119, 101, 100, 103, 229, 250, 110, 384, 97, 100, 104, 4398, 7517, 7527, 111, 119, 110, 97, 114, 114, 111, 119, 243, 7299, 97, 114, 112, 111, 111, 110, 256, 108, 114, 7538, 7542, 101, 102, 244, 7348, 105, 103, 104, 244, 7350, 354, 7551, 7557, 107, 97, 114, 111, 247, 3906, 623, 7562, 0, 0, 7566, 114, 110, 59, 25375, 111, 112, 59, 25356, 384, 99, 111, 116, 7576, 7587, 7590, 256, 114, 121, 7581, 7585, 59, 49152, 55349, 56505, 59, 17493, 108, 59, 27126, 114, 111, 107, 59, 16657, 256, 100, 114, 7600, 7604, 111, 116, 59, 25329, 105, 256, 59, 102, 7610, 6166, 26047, 256, 97, 104, 7616, 7619, 114, 242, 1065, 97, 242, 4006, 97, 110, 103, 108, 101, 59, 27046, 256, 99, 105, 7634, 7637, 121, 59, 17503, 103, 114, 97, 114, 114, 59, 26623, 2304, 68, 97, 99, 100, 101, 102, 103, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 120, 7681, 7689, 7705, 7736, 1400, 7740, 7753, 7777, 7806, 7845, 7855, 7869, 7905, 7978, 7991, 8004, 8014, 8026, 256, 68, 111, 7686, 7476, 111, 244, 7305, 256, 99, 115, 7694, 7700, 117, 116, 101, 32827, 233, 16617, 116, 101, 114, 59, 27246, 512, 97, 105, 111, 121, 7714, 7719, 7729, 7734, 114, 111, 110, 59, 16667, 114, 256, 59, 99, 7725, 7726, 25174, 32827, 234, 16618, 108, 111, 110, 59, 25173, 59, 17485, 111, 116, 59, 16663, 256, 68, 114, 7745, 7749, 111, 116, 59, 25170, 59, 49152, 55349, 56610, 384, 59, 114, 115, 7760, 7761, 7767, 27290, 97, 118, 101, 32827, 232, 16616, 256, 59, 100, 7772, 7773, 27286, 111, 116, 59, 27288, 512, 59, 105, 108, 115, 7786, 7787, 7794, 7796, 27289, 110, 116, 101, 114, 115, 59, 25575, 59, 24851, 256, 59, 100, 7801, 7802, 27285, 111, 116, 59, 27287, 384, 97, 112, 115, 7813, 7817, 7831, 99, 114, 59, 16659, 116, 121, 384, 59, 115, 118, 7826, 7827, 7829, 25093, 101, 116, 187, 7827, 112, 256, 49, 59, 7837, 7844, 307, 7841, 7843, 59, 24580, 59, 24581, 24579, 256, 103, 115, 7850, 7852, 59, 16715, 112, 59, 24578, 256, 103, 112, 7860, 7864, 111, 110, 59, 16665, 102, 59, 49152, 55349, 56662, 384, 97, 108, 115, 7876, 7886, 7890, 114, 256, 59, 115, 7882, 7883, 25301, 108, 59, 27107, 117, 115, 59, 27249, 105, 384, 59, 108, 118, 7898, 7899, 7903, 17333, 111, 110, 187, 7899, 59, 17397, 512, 99, 115, 117, 118, 7914, 7923, 7947, 7971, 256, 105, 111, 7919, 7729, 114, 99, 187, 7726, 617, 7929, 0, 0, 7931, 237, 1352, 97, 110, 116, 256, 103, 108, 7938, 7942, 116, 114, 187, 7773, 101, 115, 115, 187, 7802, 384, 97, 101, 105, 7954, 7958, 7962, 108, 115, 59, 16445, 115, 116, 59, 25183, 118, 256, 59, 68, 565, 7968, 68, 59, 27256, 112, 97, 114, 115, 108, 59, 27109, 256, 68, 97, 7983, 7987, 111, 116, 59, 25171, 114, 114, 59, 26993, 384, 99, 100, 105, 7998, 8001, 7928, 114, 59, 24879, 111, 244, 850, 256, 97, 104, 8009, 8011, 59, 17335, 32827, 240, 16624, 256, 109, 114, 8019, 8023, 108, 32827, 235, 16619, 111, 59, 24748, 384, 99, 105, 112, 8033, 8036, 8039, 108, 59, 16417, 115, 244, 1390, 256, 101, 111, 8044, 8052, 99, 116, 97, 116, 105, 111, 238, 1369, 110, 101, 110, 116, 105, 97, 108, 229, 1401, 2529, 8082, 0, 8094, 0, 8097, 8103, 0, 0, 8134, 8140, 0, 8147, 0, 8166, 8170, 8192, 0, 8200, 8282, 108, 108, 105, 110, 103, 100, 111, 116, 115, 101, 241, 7748, 121, 59, 17476, 109, 97, 108, 101, 59, 26176, 384, 105, 108, 114, 8109, 8115, 8129, 108, 105, 103, 59, 32768, 64259, 617, 8121, 0, 0, 8125, 103, 59, 32768, 64256, 105, 103, 59, 32768, 64260, 59, 49152, 55349, 56611, 108, 105, 103, 59, 32768, 64257, 108, 105, 103, 59, 49152, 102, 106, 384, 97, 108, 116, 8153, 8156, 8161, 116, 59, 26221, 105, 103, 59, 32768, 64258, 110, 115, 59, 26033, 111, 102, 59, 16786, 496, 8174, 0, 8179, 102, 59, 49152, 55349, 56663, 256, 97, 107, 1471, 8183, 256, 59, 118, 8188, 8189, 25300, 59, 27353, 97, 114, 116, 105, 110, 116, 59, 27149, 256, 97, 111, 8204, 8277, 256, 99, 115, 8209, 8274, 945, 8218, 8240, 8248, 8261, 8264, 0, 8272, 946, 8226, 8229, 8231, 8234, 8236, 0, 8238, 32827, 189, 16573, 59, 24915, 32827, 188, 16572, 59, 24917, 59, 24921, 59, 24923, 435, 8244, 0, 8246, 59, 24916, 59, 24918, 692, 8254, 8257, 0, 0, 8259, 32827, 190, 16574, 59, 24919, 59, 24924, 53, 59, 24920, 438, 8268, 0, 8270, 59, 24922, 59, 24925, 56, 59, 24926, 108, 59, 24644, 119, 110, 59, 25378, 99, 114, 59, 49152, 55349, 56507, 2176, 69, 97, 98, 99, 100, 101, 102, 103, 105, 106, 108, 110, 111, 114, 115, 116, 118, 8322, 8329, 8351, 8357, 8368, 8372, 8432, 8437, 8442, 8447, 8451, 8466, 8504, 791, 8510, 8530, 8606, 256, 59, 108, 1613, 8327, 59, 27276, 384, 99, 109, 112, 8336, 8341, 8349, 117, 116, 101, 59, 16885, 109, 97, 256, 59, 100, 8348, 7386, 17331, 59, 27270, 114, 101, 118, 101, 59, 16671, 256, 105, 121, 8362, 8366, 114, 99, 59, 16669, 59, 17459, 111, 116, 59, 16673, 512, 59, 108, 113, 115, 1598, 1602, 8381, 8393, 384, 59, 113, 115, 1598, 1612, 8388, 108, 97, 110, 244, 1637, 512, 59, 99, 100, 108, 1637, 8402, 8405, 8421, 99, 59, 27305, 111, 116, 256, 59, 111, 8412, 8413, 27264, 256, 59, 108, 8418, 8419, 27266, 59, 27268, 256, 59, 101, 8426, 8429, 49152, 8923, 65024, 115, 59, 27284, 114, 59, 49152, 55349, 56612, 256, 59, 103, 1651, 1563, 109, 101, 108, 59, 24887, 99, 121, 59, 17491, 512, 59, 69, 97, 106, 1626, 8460, 8462, 8464, 59, 27282, 59, 27301, 59, 27300, 512, 69, 97, 101, 115, 8475, 8477, 8489, 8500, 59, 25193, 112, 256, 59, 112, 8483, 8484, 27274, 114, 111, 120, 187, 8484, 256, 59, 113, 8494, 8495, 27272, 256, 59, 113, 8494, 8475, 105, 109, 59, 25319, 112, 102, 59, 49152, 55349, 56664, 256, 99, 105, 8515, 8518, 114, 59, 24842, 109, 384, 59, 101, 108, 1643, 8526, 8528, 59, 27278, 59, 27280, 33536, 62, 59, 99, 100, 108, 113, 114, 1518, 8544, 8554, 8558, 8563, 8569, 256, 99, 105, 8549, 8551, 59, 27303, 114, 59, 27258, 111, 116, 59, 25303, 80, 97, 114, 59, 27029, 117, 101, 115, 116, 59, 27260, 640, 97, 100, 101, 108, 115, 8580, 8554, 8592, 1622, 8603, 496, 8585, 0, 8590, 112, 114, 111, 248, 8350, 114, 59, 27000, 113, 256, 108, 113, 1599, 8598, 108, 101, 115, 243, 8328, 105, 237, 1643, 256, 101, 110, 8611, 8621, 114, 116, 110, 101, 113, 113, 59, 49152, 8809, 65024, 197, 8618, 1280, 65, 97, 98, 99, 101, 102, 107, 111, 115, 121, 8644, 8647, 8689, 8693, 8698, 8728, 8733, 8751, 8808, 8829, 114, 242, 928, 512, 105, 108, 109, 114, 8656, 8660, 8663, 8667, 114, 115, 240, 5252, 102, 187, 8228, 105, 108, 244, 1705, 256, 100, 114, 8672, 8676, 99, 121, 59, 17482, 384, 59, 99, 119, 2292, 8683, 8687, 105, 114, 59, 26952, 59, 25005, 97, 114, 59, 24847, 105, 114, 99, 59, 16677, 384, 97, 108, 114, 8705, 8718, 8723, 114, 116, 115, 256, 59, 117, 8713, 8714, 26213, 105, 116, 187, 8714, 108, 105, 112, 59, 24614, 99, 111, 110, 59, 25273, 114, 59, 49152, 55349, 56613, 115, 256, 101, 119, 8739, 8745, 97, 114, 111, 119, 59, 26917, 97, 114, 111, 119, 59, 26918, 640, 97, 109, 111, 112, 114, 8762, 8766, 8771, 8798, 8803, 114, 114, 59, 25087, 116, 104, 116, 59, 25147, 107, 256, 108, 114, 8777, 8787, 101, 102, 116, 97, 114, 114, 111, 119, 59, 25001, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 25002, 102, 59, 49152, 55349, 56665, 98, 97, 114, 59, 24597, 384, 99, 108, 116, 8815, 8820, 8824, 114, 59, 49152, 55349, 56509, 97, 115, 232, 8692, 114, 111, 107, 59, 16679, 256, 98, 112, 8834, 8839, 117, 108, 108, 59, 24643, 104, 101, 110, 187, 7259, 2785, 8867, 0, 8874, 0, 8888, 8901, 8910, 0, 8917, 8947, 0, 0, 8952, 8994, 9063, 9058, 9087, 0, 9094, 9130, 9140, 99, 117, 116, 101, 32827, 237, 16621, 384, 59, 105, 121, 1905, 8880, 8885, 114, 99, 32827, 238, 16622, 59, 17464, 256, 99, 120, 8892, 8895, 121, 59, 17461, 99, 108, 32827, 161, 16545, 256, 102, 114, 927, 8905, 59, 49152, 55349, 56614, 114, 97, 118, 101, 32827, 236, 16620, 512, 59, 105, 110, 111, 1854, 8925, 8937, 8942, 256, 105, 110, 8930, 8934, 110, 116, 59, 27148, 116, 59, 25133, 102, 105, 110, 59, 27100, 116, 97, 59, 24873, 108, 105, 103, 59, 16691, 384, 97, 111, 112, 8958, 8986, 8989, 384, 99, 103, 116, 8965, 8968, 8983, 114, 59, 16683, 384, 101, 108, 112, 1823, 8975, 8979, 105, 110, 229, 1934, 97, 114, 244, 1824, 104, 59, 16689, 102, 59, 25271, 101, 100, 59, 16821, 640, 59, 99, 102, 111, 116, 1268, 9004, 9009, 9021, 9025, 97, 114, 101, 59, 24837, 105, 110, 256, 59, 116, 9016, 9017, 25118, 105, 101, 59, 27101, 100, 111, 244, 8985, 640, 59, 99, 101, 108, 112, 1879, 9036, 9040, 9051, 9057, 97, 108, 59, 25274, 256, 103, 114, 9045, 9049, 101, 114, 243, 5475, 227, 9037, 97, 114, 104, 107, 59, 27159, 114, 111, 100, 59, 27196, 512, 99, 103, 112, 116, 9071, 9074, 9078, 9083, 121, 59, 17489, 111, 110, 59, 16687, 102, 59, 49152, 55349, 56666, 97, 59, 17337, 117, 101, 115, 116, 32827, 191, 16575, 256, 99, 105, 9098, 9103, 114, 59, 49152, 55349, 56510, 110, 640, 59, 69, 100, 115, 118, 1268, 9115, 9117, 9121, 1267, 59, 25337, 111, 116, 59, 25333, 256, 59, 118, 9126, 9127, 25332, 59, 25331, 256, 59, 105, 1911, 9134, 108, 100, 101, 59, 16681, 491, 9144, 0, 9148, 99, 121, 59, 17494, 108, 32827, 239, 16623, 768, 99, 102, 109, 111, 115, 117, 9164, 9175, 9180, 9185, 9191, 9205, 256, 105, 121, 9169, 9173, 114, 99, 59, 16693, 59, 17465, 114, 59, 49152, 55349, 56615, 97, 116, 104, 59, 16951, 112, 102, 59, 49152, 55349, 56667, 483, 9196, 0, 9201, 114, 59, 49152, 55349, 56511, 114, 99, 121, 59, 17496, 107, 99, 121, 59, 17492, 1024, 97, 99, 102, 103, 104, 106, 111, 115, 9227, 9238, 9250, 9255, 9261, 9265, 9269, 9275, 112, 112, 97, 256, 59, 118, 9235, 9236, 17338, 59, 17392, 256, 101, 121, 9243, 9248, 100, 105, 108, 59, 16695, 59, 17466, 114, 59, 49152, 55349, 56616, 114, 101, 101, 110, 59, 16696, 99, 121, 59, 17477, 99, 121, 59, 17500, 112, 102, 59, 49152, 55349, 56668, 99, 114, 59, 49152, 55349, 56512, 2944, 65, 66, 69, 72, 97, 98, 99, 100, 101, 102, 103, 104, 106, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 9328, 9345, 9350, 9357, 9361, 9486, 9533, 9562, 9600, 9806, 9822, 9829, 9849, 9853, 9882, 9906, 9944, 10077, 10088, 10123, 10176, 10241, 10258, 384, 97, 114, 116, 9335, 9338, 9340, 114, 242, 2502, 242, 917, 97, 105, 108, 59, 26907, 97, 114, 114, 59, 26894, 256, 59, 103, 2452, 9355, 59, 27275, 97, 114, 59, 26978, 2403, 9381, 0, 9386, 0, 9393, 0, 0, 0, 0, 0, 9397, 9402, 0, 9414, 9416, 9421, 0, 9465, 117, 116, 101, 59, 16698, 109, 112, 116, 121, 118, 59, 27060, 114, 97, 238, 2124, 98, 100, 97, 59, 17339, 103, 384, 59, 100, 108, 2190, 9409, 9411, 59, 27025, 229, 2190, 59, 27269, 117, 111, 32827, 171, 16555, 114, 1024, 59, 98, 102, 104, 108, 112, 115, 116, 2201, 9438, 9446, 9449, 9451, 9454, 9457, 9461, 256, 59, 102, 2205, 9443, 115, 59, 26911, 115, 59, 26909, 235, 8786, 112, 59, 25003, 108, 59, 26937, 105, 109, 59, 26995, 108, 59, 24994, 384, 59, 97, 101, 9471, 9472, 9476, 27307, 105, 108, 59, 26905, 256, 59, 115, 9481, 9482, 27309, 59, 49152, 10925, 65024, 384, 97, 98, 114, 9493, 9497, 9501, 114, 114, 59, 26892, 114, 107, 59, 26482, 256, 97, 107, 9506, 9516, 99, 256, 101, 107, 9512, 9514, 59, 16507, 59, 16475, 256, 101, 115, 9521, 9523, 59, 27019, 108, 256, 100, 117, 9529, 9531, 59, 27023, 59, 27021, 512, 97, 101, 117, 121, 9542, 9547, 9558, 9560, 114, 111, 110, 59, 16702, 256, 100, 105, 9552, 9556, 105, 108, 59, 16700, 236, 2224, 226, 9513, 59, 17467, 512, 99, 113, 114, 115, 9571, 9574, 9581, 9597, 97, 59, 26934, 117, 111, 256, 59, 114, 3609, 5958, 256, 100, 117, 9586, 9591, 104, 97, 114, 59, 26983, 115, 104, 97, 114, 59, 26955, 104, 59, 25010, 640, 59, 102, 103, 113, 115, 9611, 9612, 2441, 9715, 9727, 25188, 116, 640, 97, 104, 108, 114, 116, 9624, 9636, 9655, 9666, 9704, 114, 114, 111, 119, 256, 59, 116, 2201, 9633, 97, 233, 9462, 97, 114, 112, 111, 111, 110, 256, 100, 117, 9647, 9652, 111, 119, 110, 187, 1114, 112, 187, 2406, 101, 102, 116, 97, 114, 114, 111, 119, 115, 59, 25031, 105, 103, 104, 116, 384, 97, 104, 115, 9677, 9686, 9694, 114, 114, 111, 119, 256, 59, 115, 2292, 2215, 97, 114, 112, 111, 111, 110, 243, 3992, 113, 117, 105, 103, 97, 114, 114, 111, 247, 8688, 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, 25291, 384, 59, 113, 115, 9611, 2451, 9722, 108, 97, 110, 244, 2476, 640, 59, 99, 100, 103, 115, 2476, 9738, 9741, 9757, 9768, 99, 59, 27304, 111, 116, 256, 59, 111, 9748, 9749, 27263, 256, 59, 114, 9754, 9755, 27265, 59, 27267, 256, 59, 101, 9762, 9765, 49152, 8922, 65024, 115, 59, 27283, 640, 97, 100, 101, 103, 115, 9779, 9785, 9789, 9801, 9803, 112, 112, 114, 111, 248, 9414, 111, 116, 59, 25302, 113, 256, 103, 113, 9795, 9797, 244, 2441, 103, 116, 242, 9356, 244, 2459, 105, 237, 2482, 384, 105, 108, 114, 9813, 2273, 9818, 115, 104, 116, 59, 27004, 59, 49152, 55349, 56617, 256, 59, 69, 2460, 9827, 59, 27281, 353, 9833, 9846, 114, 256, 100, 117, 9650, 9838, 256, 59, 108, 2405, 9843, 59, 26986, 108, 107, 59, 25988, 99, 121, 59, 17497, 640, 59, 97, 99, 104, 116, 2632, 9864, 9867, 9873, 9878, 114, 242, 9665, 111, 114, 110, 101, 242, 7432, 97, 114, 100, 59, 26987, 114, 105, 59, 26106, 256, 105, 111, 9887, 9892, 100, 111, 116, 59, 16704, 117, 115, 116, 256, 59, 97, 9900, 9901, 25520, 99, 104, 101, 187, 9901, 512, 69, 97, 101, 115, 9915, 9917, 9929, 9940, 59, 25192, 112, 256, 59, 112, 9923, 9924, 27273, 114, 111, 120, 187, 9924, 256, 59, 113, 9934, 9935, 27271, 256, 59, 113, 9934, 9915, 105, 109, 59, 25318, 1024, 97, 98, 110, 111, 112, 116, 119, 122, 9961, 9972, 9975, 10010, 10031, 10049, 10055, 10064, 256, 110, 114, 9966, 9969, 103, 59, 26604, 114, 59, 25085, 114, 235, 2241, 103, 384, 108, 109, 114, 9983, 9997, 10004, 101, 102, 116, 256, 97, 114, 2534, 9991, 105, 103, 104, 116, 225, 2546, 97, 112, 115, 116, 111, 59, 26620, 105, 103, 104, 116, 225, 2557, 112, 97, 114, 114, 111, 119, 256, 108, 114, 10021, 10025, 101, 102, 244, 9453, 105, 103, 104, 116, 59, 25004, 384, 97, 102, 108, 10038, 10041, 10045, 114, 59, 27013, 59, 49152, 55349, 56669, 117, 115, 59, 27181, 105, 109, 101, 115, 59, 27188, 353, 10059, 10063, 115, 116, 59, 25111, 225, 4942, 384, 59, 101, 102, 10071, 10072, 6144, 26058, 110, 103, 101, 187, 10072, 97, 114, 256, 59, 108, 10084, 10085, 16424, 116, 59, 27027, 640, 97, 99, 104, 109, 116, 10099, 10102, 10108, 10117, 10119, 114, 242, 2216, 111, 114, 110, 101, 242, 7564, 97, 114, 256, 59, 100, 3992, 10115, 59, 26989, 59, 24590, 114, 105, 59, 25279, 768, 97, 99, 104, 105, 113, 116, 10136, 10141, 2624, 10146, 10158, 10171, 113, 117, 111, 59, 24633, 114, 59, 49152, 55349, 56513, 109, 384, 59, 101, 103, 2482, 10154, 10156, 59, 27277, 59, 27279, 256, 98, 117, 9514, 10163, 111, 256, 59, 114, 3615, 10169, 59, 24602, 114, 111, 107, 59, 16706, 33792, 60, 59, 99, 100, 104, 105, 108, 113, 114, 2091, 10194, 9785, 10204, 10208, 10213, 10218, 10224, 256, 99, 105, 10199, 10201, 59, 27302, 114, 59, 27257, 114, 101, 229, 9714, 109, 101, 115, 59, 25289, 97, 114, 114, 59, 26998, 117, 101, 115, 116, 59, 27259, 256, 80, 105, 10229, 10233, 97, 114, 59, 27030, 384, 59, 101, 102, 10240, 2349, 6171, 26051, 114, 256, 100, 117, 10247, 10253, 115, 104, 97, 114, 59, 26954, 104, 97, 114, 59, 26982, 256, 101, 110, 10263, 10273, 114, 116, 110, 101, 113, 113, 59, 49152, 8808, 65024, 197, 10270, 1792, 68, 97, 99, 100, 101, 102, 104, 105, 108, 110, 111, 112, 115, 117, 10304, 10309, 10370, 10382, 10387, 10400, 10405, 10408, 10458, 10466, 10468, 2691, 10483, 10498, 68, 111, 116, 59, 25146, 512, 99, 108, 112, 114, 10318, 10322, 10339, 10365, 114, 32827, 175, 16559, 256, 101, 116, 10327, 10329, 59, 26178, 256, 59, 101, 10334, 10335, 26400, 115, 101, 187, 10335, 256, 59, 115, 4155, 10344, 116, 111, 512, 59, 100, 108, 117, 4155, 10355, 10359, 10363, 111, 119, 238, 1164, 101, 102, 244, 2319, 240, 5073, 107, 101, 114, 59, 26030, 256, 111, 121, 10375, 10380, 109, 109, 97, 59, 27177, 59, 17468, 97, 115, 104, 59, 24596, 97, 115, 117, 114, 101, 100, 97, 110, 103, 108, 101, 187, 5670, 114, 59, 49152, 55349, 56618, 111, 59, 24871, 384, 99, 100, 110, 10415, 10420, 10441, 114, 111, 32827, 181, 16565, 512, 59, 97, 99, 100, 5220, 10429, 10432, 10436, 115, 244, 5799, 105, 114, 59, 27376, 111, 116, 32955, 183, 437, 117, 115, 384, 59, 98, 100, 10450, 6403, 10451, 25106, 256, 59, 117, 7484, 10456, 59, 27178, 355, 10462, 10465, 112, 59, 27355, 242, 8722, 240, 2689, 256, 100, 112, 10473, 10478, 101, 108, 115, 59, 25255, 102, 59, 49152, 55349, 56670, 256, 99, 116, 10488, 10493, 114, 59, 49152, 55349, 56514, 112, 111, 115, 187, 5533, 384, 59, 108, 109, 10505, 10506, 10509, 17340, 116, 105, 109, 97, 112, 59, 25272, 3072, 71, 76, 82, 86, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 109, 111, 112, 114, 115, 116, 117, 118, 119, 10562, 10579, 10622, 10633, 10648, 10714, 10729, 10773, 10778, 10840, 10845, 10883, 10901, 10916, 10920, 11012, 11015, 11076, 11135, 11182, 11316, 11367, 11388, 11497, 256, 103, 116, 10567, 10571, 59, 49152, 8921, 824, 256, 59, 118, 10576, 3023, 49152, 8811, 8402, 384, 101, 108, 116, 10586, 10610, 10614, 102, 116, 256, 97, 114, 10593, 10599, 114, 114, 111, 119, 59, 25037, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 25038, 59, 49152, 8920, 824, 256, 59, 118, 10619, 3143, 49152, 8810, 8402, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 25039, 256, 68, 100, 10638, 10643, 97, 115, 104, 59, 25263, 97, 115, 104, 59, 25262, 640, 98, 99, 110, 112, 116, 10659, 10663, 10668, 10673, 10700, 108, 97, 187, 734, 117, 116, 101, 59, 16708, 103, 59, 49152, 8736, 8402, 640, 59, 69, 105, 111, 112, 3460, 10684, 10688, 10693, 10696, 59, 49152, 10864, 824, 100, 59, 49152, 8779, 824, 115, 59, 16713, 114, 111, 248, 3460, 117, 114, 256, 59, 97, 10707, 10708, 26222, 108, 256, 59, 115, 10707, 2872, 499, 10719, 0, 10723, 112, 32955, 160, 2871, 109, 112, 256, 59, 101, 3065, 3072, 640, 97, 101, 111, 117, 121, 10740, 10750, 10755, 10768, 10771, 496, 10745, 0, 10747, 59, 27203, 111, 110, 59, 16712, 100, 105, 108, 59, 16710, 110, 103, 256, 59, 100, 3454, 10762, 111, 116, 59, 49152, 10861, 824, 112, 59, 27202, 59, 17469, 97, 115, 104, 59, 24595, 896, 59, 65, 97, 100, 113, 115, 120, 2962, 10793, 10797, 10811, 10817, 10821, 10832, 114, 114, 59, 25047, 114, 256, 104, 114, 10803, 10806, 107, 59, 26916, 256, 59, 111, 5106, 5104, 111, 116, 59, 49152, 8784, 824, 117, 105, 246, 2915, 256, 101, 105, 10826, 10830, 97, 114, 59, 26920, 237, 2968, 105, 115, 116, 256, 59, 115, 2976, 2975, 114, 59, 49152, 55349, 56619, 512, 69, 101, 115, 116, 3013, 10854, 10873, 10876, 384, 59, 113, 115, 3004, 10861, 3041, 384, 59, 113, 115, 3004, 3013, 10868, 108, 97, 110, 244, 3042, 105, 237, 3050, 256, 59, 114, 2998, 10881, 187, 2999, 384, 65, 97, 112, 10890, 10893, 10897, 114, 242, 10609, 114, 114, 59, 25006, 97, 114, 59, 27378, 384, 59, 115, 118, 3981, 10908, 3980, 256, 59, 100, 10913, 10914, 25340, 59, 25338, 99, 121, 59, 17498, 896, 65, 69, 97, 100, 101, 115, 116, 10935, 10938, 10942, 10946, 10949, 10998, 11001, 114, 242, 10598, 59, 49152, 8806, 824, 114, 114, 59, 24986, 114, 59, 24613, 512, 59, 102, 113, 115, 3131, 10958, 10979, 10991, 116, 256, 97, 114, 10964, 10969, 114, 114, 111, 247, 10945, 105, 103, 104, 116, 97, 114, 114, 111, 247, 10896, 384, 59, 113, 115, 3131, 10938, 10986, 108, 97, 110, 244, 3157, 256, 59, 115, 3157, 10996, 187, 3126, 105, 237, 3165, 256, 59, 114, 3125, 11006, 105, 256, 59, 101, 3098, 3109, 105, 228, 3472, 256, 112, 116, 11020, 11025, 102, 59, 49152, 55349, 56671, 33152, 172, 59, 105, 110, 11033, 11034, 11062, 16556, 110, 512, 59, 69, 100, 118, 2953, 11044, 11048, 11054, 59, 49152, 8953, 824, 111, 116, 59, 49152, 8949, 824, 481, 2953, 11059, 11061, 59, 25335, 59, 25334, 105, 256, 59, 118, 3256, 11068, 481, 3256, 11073, 11075, 59, 25342, 59, 25341, 384, 97, 111, 114, 11083, 11107, 11113, 114, 512, 59, 97, 115, 116, 2939, 11093, 11098, 11103, 108, 108, 101, 236, 2939, 108, 59, 49152, 11005, 8421, 59, 49152, 8706, 824, 108, 105, 110, 116, 59, 27156, 384, 59, 99, 101, 3218, 11120, 11123, 117, 229, 3237, 256, 59, 99, 3224, 11128, 256, 59, 101, 3218, 11133, 241, 3224, 512, 65, 97, 105, 116, 11144, 11147, 11165, 11175, 114, 242, 10632, 114, 114, 384, 59, 99, 119, 11156, 11157, 11161, 24987, 59, 49152, 10547, 824, 59, 49152, 8605, 824, 103, 104, 116, 97, 114, 114, 111, 119, 187, 11157, 114, 105, 256, 59, 101, 3275, 3286, 896, 99, 104, 105, 109, 112, 113, 117, 11197, 11213, 11225, 11012, 2936, 11236, 11247, 512, 59, 99, 101, 114, 3378, 11206, 3383, 11209, 117, 229, 3397, 59, 49152, 55349, 56515, 111, 114, 116, 621, 11013, 0, 0, 11222, 97, 114, 225, 11094, 109, 256, 59, 101, 3438, 11231, 256, 59, 113, 3444, 3443, 115, 117, 256, 98, 112, 11243, 11245, 229, 3320, 229, 3339, 384, 98, 99, 112, 11254, 11281, 11289, 512, 59, 69, 101, 115, 11263, 11264, 3362, 11268, 25220, 59, 49152, 10949, 824, 101, 116, 256, 59, 101, 3355, 11275, 113, 256, 59, 113, 3363, 11264, 99, 256, 59, 101, 3378, 11287, 241, 3384, 512, 59, 69, 101, 115, 11298, 11299, 3423, 11303, 25221, 59, 49152, 10950, 824, 101, 116, 256, 59, 101, 3416, 11310, 113, 256, 59, 113, 3424, 11299, 512, 103, 105, 108, 114, 11325, 11327, 11333, 11335, 236, 3031, 108, 100, 101, 32827, 241, 16625, 231, 3139, 105, 97, 110, 103, 108, 101, 256, 108, 114, 11346, 11356, 101, 102, 116, 256, 59, 101, 3098, 11354, 241, 3110, 105, 103, 104, 116, 256, 59, 101, 3275, 11365, 241, 3287, 256, 59, 109, 11372, 11373, 17341, 384, 59, 101, 115, 11380, 11381, 11385, 16419, 114, 111, 59, 24854, 112, 59, 24583, 1152, 68, 72, 97, 100, 103, 105, 108, 114, 115, 11407, 11412, 11417, 11422, 11427, 11440, 11446, 11475, 11491, 97, 115, 104, 59, 25261, 97, 114, 114, 59, 26884, 112, 59, 49152, 8781, 8402, 97, 115, 104, 59, 25260, 256, 101, 116, 11432, 11436, 59, 49152, 8805, 8402, 59, 49152, 62, 8402, 110, 102, 105, 110, 59, 27102, 384, 65, 101, 116, 11453, 11457, 11461, 114, 114, 59, 26882, 59, 49152, 8804, 8402, 256, 59, 114, 11466, 11469, 49152, 60, 8402, 105, 101, 59, 49152, 8884, 8402, 256, 65, 116, 11480, 11484, 114, 114, 59, 26883, 114, 105, 101, 59, 49152, 8885, 8402, 105, 109, 59, 49152, 8764, 8402, 384, 65, 97, 110, 11504, 11508, 11522, 114, 114, 59, 25046, 114, 256, 104, 114, 11514, 11517, 107, 59, 26915, 256, 59, 111, 5095, 5093, 101, 97, 114, 59, 26919, 4691, 6805, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11565, 0, 11576, 11592, 11616, 11621, 11634, 11652, 6919, 0, 0, 11661, 11691, 0, 11720, 11726, 0, 11740, 11801, 11819, 11838, 11843, 256, 99, 115, 11569, 6807, 117, 116, 101, 32827, 243, 16627, 256, 105, 121, 11580, 11589, 114, 256, 59, 99, 6814, 11586, 32827, 244, 16628, 59, 17470, 640, 97, 98, 105, 111, 115, 6816, 11602, 11607, 456, 11610, 108, 97, 99, 59, 16721, 118, 59, 27192, 111, 108, 100, 59, 27068, 108, 105, 103, 59, 16723, 256, 99, 114, 11625, 11629, 105, 114, 59, 27071, 59, 49152, 55349, 56620, 879, 11641, 0, 0, 11644, 0, 11650, 110, 59, 17115, 97, 118, 101, 32827, 242, 16626, 59, 27073, 256, 98, 109, 11656, 3572, 97, 114, 59, 27061, 512, 97, 99, 105, 116, 11669, 11672, 11685, 11688, 114, 242, 6784, 256, 105, 114, 11677, 11680, 114, 59, 27070, 111, 115, 115, 59, 27067, 110, 229, 3666, 59, 27072, 384, 97, 101, 105, 11697, 11701, 11705, 99, 114, 59, 16717, 103, 97, 59, 17353, 384, 99, 100, 110, 11712, 11717, 461, 114, 111, 110, 59, 17343, 59, 27062, 112, 102, 59, 49152, 55349, 56672, 384, 97, 101, 108, 11732, 11735, 466, 114, 59, 27063, 114, 112, 59, 27065, 896, 59, 97, 100, 105, 111, 115, 118, 11754, 11755, 11758, 11784, 11789, 11792, 11798, 25128, 114, 242, 6790, 512, 59, 101, 102, 109, 11767, 11768, 11778, 11781, 27229, 114, 256, 59, 111, 11774, 11775, 24884, 102, 187, 11775, 32827, 170, 16554, 32827, 186, 16570, 103, 111, 102, 59, 25270, 114, 59, 27222, 108, 111, 112, 101, 59, 27223, 59, 27227, 384, 99, 108, 111, 11807, 11809, 11815, 242, 11777, 97, 115, 104, 32827, 248, 16632, 108, 59, 25240, 105, 364, 11823, 11828, 100, 101, 32827, 245, 16629, 101, 115, 256, 59, 97, 475, 11834, 115, 59, 27190, 109, 108, 32827, 246, 16630, 98, 97, 114, 59, 25405, 2785, 11870, 0, 11901, 0, 11904, 11933, 0, 11938, 11961, 0, 0, 11979, 3740, 0, 12051, 0, 0, 12075, 12220, 0, 12232, 114, 512, 59, 97, 115, 116, 1027, 11879, 11890, 3717, 33024, 182, 59, 108, 11885, 11886, 16566, 108, 101, 236, 1027, 617, 11896, 0, 0, 11899, 109, 59, 27379, 59, 27389, 121, 59, 17471, 114, 640, 99, 105, 109, 112, 116, 11915, 11919, 11923, 6245, 11927, 110, 116, 59, 16421, 111, 100, 59, 16430, 105, 108, 59, 24624, 101, 110, 107, 59, 24625, 114, 59, 49152, 55349, 56621, 384, 105, 109, 111, 11944, 11952, 11956, 256, 59, 118, 11949, 11950, 17350, 59, 17365, 109, 97, 244, 2678, 110, 101, 59, 26126, 384, 59, 116, 118, 11967, 11968, 11976, 17344, 99, 104, 102, 111, 114, 107, 187, 8189, 59, 17366, 256, 97, 117, 11983, 11999, 110, 256, 99, 107, 11989, 11997, 107, 256, 59, 104, 8692, 11995, 59, 24846, 246, 8692, 115, 1152, 59, 97, 98, 99, 100, 101, 109, 115, 116, 12019, 12020, 6408, 12025, 12029, 12036, 12038, 12042, 12046, 16427, 99, 105, 114, 59, 27171, 105, 114, 59, 27170, 256, 111, 117, 7488, 12034, 59, 27173, 59, 27250, 110, 32955, 177, 3741, 105, 109, 59, 27174, 119, 111, 59, 27175, 384, 105, 112, 117, 12057, 12064, 12069, 110, 116, 105, 110, 116, 59, 27157, 102, 59, 49152, 55349, 56673, 110, 100, 32827, 163, 16547, 1280, 59, 69, 97, 99, 101, 105, 110, 111, 115, 117, 3784, 12095, 12097, 12100, 12103, 12161, 12169, 12178, 12158, 12214, 59, 27315, 112, 59, 27319, 117, 229, 3801, 256, 59, 99, 3790, 12108, 768, 59, 97, 99, 101, 110, 115, 3784, 12121, 12127, 12134, 12136, 12158, 112, 112, 114, 111, 248, 12099, 117, 114, 108, 121, 101, 241, 3801, 241, 3790, 384, 97, 101, 115, 12143, 12150, 12154, 112, 112, 114, 111, 120, 59, 27321, 113, 113, 59, 27317, 105, 109, 59, 25320, 105, 237, 3807, 109, 101, 256, 59, 115, 12168, 3758, 24626, 384, 69, 97, 115, 12152, 12176, 12154, 240, 12149, 384, 100, 102, 112, 3820, 12185, 12207, 384, 97, 108, 115, 12192, 12197, 12202, 108, 97, 114, 59, 25390, 105, 110, 101, 59, 25362, 117, 114, 102, 59, 25363, 256, 59, 116, 3835, 12212, 239, 3835, 114, 101, 108, 59, 25264, 256, 99, 105, 12224, 12229, 114, 59, 49152, 55349, 56517, 59, 17352, 110, 99, 115, 112, 59, 24584, 768, 102, 105, 111, 112, 115, 117, 12250, 8930, 12255, 12261, 12267, 12273, 114, 59, 49152, 55349, 56622, 112, 102, 59, 49152, 55349, 56674, 114, 105, 109, 101, 59, 24663, 99, 114, 59, 49152, 55349, 56518, 384, 97, 101, 111, 12280, 12297, 12307, 116, 256, 101, 105, 12286, 12293, 114, 110, 105, 111, 110, 243, 1712, 110, 116, 59, 27158, 115, 116, 256, 59, 101, 12304, 12305, 16447, 241, 7961, 244, 3860, 2688, 65, 66, 72, 97, 98, 99, 100, 101, 102, 104, 105, 108, 109, 110, 111, 112, 114, 115, 116, 117, 120, 12352, 12369, 12373, 12377, 12512, 12558, 12587, 12615, 12642, 12658, 12686, 12806, 12821, 12836, 12841, 12888, 12910, 12914, 12944, 12976, 12983, 384, 97, 114, 116, 12359, 12362, 12364, 114, 242, 4275, 242, 989, 97, 105, 108, 59, 26908, 97, 114, 242, 7269, 97, 114, 59, 26980, 896, 99, 100, 101, 110, 113, 114, 116, 12392, 12405, 12408, 12415, 12431, 12436, 12492, 256, 101, 117, 12397, 12401, 59, 49152, 8765, 817, 116, 101, 59, 16725, 105, 227, 4462, 109, 112, 116, 121, 118, 59, 27059, 103, 512, 59, 100, 101, 108, 4049, 12425, 12427, 12429, 59, 27026, 59, 27045, 229, 4049, 117, 111, 32827, 187, 16571, 114, 1408, 59, 97, 98, 99, 102, 104, 108, 112, 115, 116, 119, 4060, 12460, 12463, 12471, 12473, 12476, 12478, 12480, 12483, 12487, 12490, 112, 59, 26997, 256, 59, 102, 4064, 12468, 115, 59, 26912, 59, 26931, 115, 59, 26910, 235, 8797, 240, 10030, 108, 59, 26949, 105, 109, 59, 26996, 108, 59, 24995, 59, 24989, 256, 97, 105, 12497, 12501, 105, 108, 59, 26906, 111, 256, 59, 110, 12507, 12508, 25142, 97, 108, 243, 3870, 384, 97, 98, 114, 12519, 12522, 12526, 114, 242, 6117, 114, 107, 59, 26483, 256, 97, 107, 12531, 12541, 99, 256, 101, 107, 12537, 12539, 59, 16509, 59, 16477, 256, 101, 115, 12546, 12548, 59, 27020, 108, 256, 100, 117, 12554, 12556, 59, 27022, 59, 27024, 512, 97, 101, 117, 121, 12567, 12572, 12583, 12585, 114, 111, 110, 59, 16729, 256, 100, 105, 12577, 12581, 105, 108, 59, 16727, 236, 4082, 226, 12538, 59, 17472, 512, 99, 108, 113, 115, 12596, 12599, 12605, 12612, 97, 59, 26935, 100, 104, 97, 114, 59, 26985, 117, 111, 256, 59, 114, 526, 525, 104, 59, 25011, 384, 97, 99, 103, 12622, 12639, 3908, 108, 512, 59, 105, 112, 115, 3960, 12632, 12635, 4252, 110, 229, 4283, 97, 114, 244, 4009, 116, 59, 26029, 384, 105, 108, 114, 12649, 4131, 12654, 115, 104, 116, 59, 27005, 59, 49152, 55349, 56623, 256, 97, 111, 12663, 12678, 114, 256, 100, 117, 12669, 12671, 187, 1147, 256, 59, 108, 4241, 12676, 59, 26988, 256, 59, 118, 12683, 12684, 17345, 59, 17393, 384, 103, 110, 115, 12693, 12793, 12796, 104, 116, 768, 97, 104, 108, 114, 115, 116, 12708, 12720, 12738, 12760, 12772, 12782, 114, 114, 111, 119, 256, 59, 116, 4060, 12717, 97, 233, 12488, 97, 114, 112, 111, 111, 110, 256, 100, 117, 12731, 12735, 111, 119, 238, 12670, 112, 187, 4242, 101, 102, 116, 256, 97, 104, 12746, 12752, 114, 114, 111, 119, 243, 4074, 97, 114, 112, 111, 111, 110, 243, 1361, 105, 103, 104, 116, 97, 114, 114, 111, 119, 115, 59, 25033, 113, 117, 105, 103, 97, 114, 114, 111, 247, 12491, 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, 25292, 103, 59, 17114, 105, 110, 103, 100, 111, 116, 115, 101, 241, 7986, 384, 97, 104, 109, 12813, 12816, 12819, 114, 242, 4074, 97, 242, 1361, 59, 24591, 111, 117, 115, 116, 256, 59, 97, 12830, 12831, 25521, 99, 104, 101, 187, 12831, 109, 105, 100, 59, 27374, 512, 97, 98, 112, 116, 12850, 12861, 12864, 12882, 256, 110, 114, 12855, 12858, 103, 59, 26605, 114, 59, 25086, 114, 235, 4099, 384, 97, 102, 108, 12871, 12874, 12878, 114, 59, 27014, 59, 49152, 55349, 56675, 117, 115, 59, 27182, 105, 109, 101, 115, 59, 27189, 256, 97, 112, 12893, 12903, 114, 256, 59, 103, 12899, 12900, 16425, 116, 59, 27028, 111, 108, 105, 110, 116, 59, 27154, 97, 114, 242, 12771, 512, 97, 99, 104, 113, 12923, 12928, 4284, 12933, 113, 117, 111, 59, 24634, 114, 59, 49152, 55349, 56519, 256, 98, 117, 12539, 12938, 111, 256, 59, 114, 532, 531, 384, 104, 105, 114, 12951, 12955, 12960, 114, 101, 229, 12792, 109, 101, 115, 59, 25290, 105, 512, 59, 101, 102, 108, 12970, 4185, 6177, 12971, 26041, 116, 114, 105, 59, 27086, 108, 117, 104, 97, 114, 59, 26984, 59, 24862, 3425, 13013, 13019, 13023, 13100, 13112, 13169, 0, 13178, 13220, 0, 0, 13292, 13296, 0, 13352, 13384, 13402, 13485, 13489, 13514, 13553, 0, 13846, 0, 0, 13875, 99, 117, 116, 101, 59, 16731, 113, 117, 239, 10170, 1280, 59, 69, 97, 99, 101, 105, 110, 112, 115, 121, 4589, 13043, 13045, 13055, 13058, 13067, 13071, 13087, 13094, 13097, 59, 27316, 496, 13050, 0, 13052, 59, 27320, 111, 110, 59, 16737, 117, 229, 4606, 256, 59, 100, 4595, 13063, 105, 108, 59, 16735, 114, 99, 59, 16733, 384, 69, 97, 115, 13078, 13080, 13083, 59, 27318, 112, 59, 27322, 105, 109, 59, 25321, 111, 108, 105, 110, 116, 59, 27155, 105, 237, 4612, 59, 17473, 111, 116, 384, 59, 98, 101, 13108, 7495, 13109, 25285, 59, 27238, 896, 65, 97, 99, 109, 115, 116, 120, 13126, 13130, 13143, 13147, 13150, 13155, 13165, 114, 114, 59, 25048, 114, 256, 104, 114, 13136, 13138, 235, 8744, 256, 59, 111, 2614, 2612, 116, 32827, 167, 16551, 105, 59, 16443, 119, 97, 114, 59, 26921, 109, 256, 105, 110, 13161, 240, 110, 117, 243, 241, 116, 59, 26422, 114, 256, 59, 111, 13174, 8277, 49152, 55349, 56624, 512, 97, 99, 111, 121, 13186, 13190, 13201, 13216, 114, 112, 59, 26223, 256, 104, 121, 13195, 13199, 99, 121, 59, 17481, 59, 17480, 114, 116, 621, 13209, 0, 0, 13212, 105, 228, 5220, 97, 114, 97, 236, 11887, 32827, 173, 16557, 256, 103, 109, 13224, 13236, 109, 97, 384, 59, 102, 118, 13233, 13234, 13234, 17347, 59, 17346, 1024, 59, 100, 101, 103, 108, 110, 112, 114, 4779, 13253, 13257, 13262, 13270, 13278, 13281, 13286, 111, 116, 59, 27242, 256, 59, 113, 4785, 4784, 256, 59, 69, 13267, 13268, 27294, 59, 27296, 256, 59, 69, 13275, 13276, 27293, 59, 27295, 101, 59, 25158, 108, 117, 115, 59, 27172, 97, 114, 114, 59, 26994, 97, 114, 242, 4413, 512, 97, 101, 105, 116, 13304, 13320, 13327, 13335, 256, 108, 115, 13309, 13316, 108, 115, 101, 116, 109, 233, 13162, 104, 112, 59, 27187, 112, 97, 114, 115, 108, 59, 27108, 256, 100, 108, 5219, 13332, 101, 59, 25379, 256, 59, 101, 13340, 13341, 27306, 256, 59, 115, 13346, 13347, 27308, 59, 49152, 10924, 65024, 384, 102, 108, 112, 13358, 13363, 13378, 116, 99, 121, 59, 17484, 256, 59, 98, 13368, 13369, 16431, 256, 59, 97, 13374, 13375, 27076, 114, 59, 25407, 102, 59, 49152, 55349, 56676, 97, 256, 100, 114, 13389, 1026, 101, 115, 256, 59, 117, 13396, 13397, 26208, 105, 116, 187, 13397, 384, 99, 115, 117, 13408, 13433, 13471, 256, 97, 117, 13413, 13423, 112, 256, 59, 115, 4488, 13419, 59, 49152, 8851, 65024, 112, 256, 59, 115, 4532, 13429, 59, 49152, 8852, 65024, 117, 256, 98, 112, 13439, 13455, 384, 59, 101, 115, 4503, 4508, 13446, 101, 116, 256, 59, 101, 4503, 13453, 241, 4509, 384, 59, 101, 115, 4520, 4525, 13462, 101, 116, 256, 59, 101, 4520, 13469, 241, 4526, 384, 59, 97, 102, 4475, 13478, 1456, 114, 357, 13483, 1457, 187, 4476, 97, 114, 242, 4424, 512, 99, 101, 109, 116, 13497, 13502, 13506, 13509, 114, 59, 49152, 55349, 56520, 116, 109, 238, 241, 105, 236, 13333, 97, 114, 230, 4542, 256, 97, 114, 13518, 13525, 114, 256, 59, 102, 13524, 6079, 26118, 256, 97, 110, 13530, 13549, 105, 103, 104, 116, 256, 101, 112, 13539, 13546, 112, 115, 105, 108, 111, 238, 7904, 104, 233, 11951, 115, 187, 10322, 640, 98, 99, 109, 110, 112, 13563, 13662, 4617, 13707, 13710, 1152, 59, 69, 100, 101, 109, 110, 112, 114, 115, 13582, 13583, 13585, 13589, 13598, 13603, 13612, 13617, 13622, 25218, 59, 27333, 111, 116, 59, 27325, 256, 59, 100, 4570, 13594, 111, 116, 59, 27331, 117, 108, 116, 59, 27329, 256, 69, 101, 13608, 13610, 59, 27339, 59, 25226, 108, 117, 115, 59, 27327, 97, 114, 114, 59, 27001, 384, 101, 105, 117, 13629, 13650, 13653, 116, 384, 59, 101, 110, 13582, 13637, 13643, 113, 256, 59, 113, 4570, 13583, 101, 113, 256, 59, 113, 13611, 13608, 109, 59, 27335, 256, 98, 112, 13658, 13660, 59, 27349, 59, 27347, 99, 768, 59, 97, 99, 101, 110, 115, 4589, 13676, 13682, 13689, 13691, 13094, 112, 112, 114, 111, 248, 13050, 117, 114, 108, 121, 101, 241, 4606, 241, 4595, 384, 97, 101, 115, 13698, 13704, 13083, 112, 112, 114, 111, 248, 13082, 113, 241, 13079, 103, 59, 26218, 1664, 49, 50, 51, 59, 69, 100, 101, 104, 108, 109, 110, 112, 115, 13737, 13740, 13743, 4636, 13746, 13748, 13760, 13769, 13781, 13786, 13791, 13800, 13805, 32827, 185, 16569, 32827, 178, 16562, 32827, 179, 16563, 59, 27334, 256, 111, 115, 13753, 13756, 116, 59, 27326, 117, 98, 59, 27352, 256, 59, 100, 4642, 13765, 111, 116, 59, 27332, 115, 256, 111, 117, 13775, 13778, 108, 59, 26569, 98, 59, 27351, 97, 114, 114, 59, 27003, 117, 108, 116, 59, 27330, 256, 69, 101, 13796, 13798, 59, 27340, 59, 25227, 108, 117, 115, 59, 27328, 384, 101, 105, 117, 13812, 13833, 13836, 116, 384, 59, 101, 110, 4636, 13820, 13826, 113, 256, 59, 113, 4642, 13746, 101, 113, 256, 59, 113, 13799, 13796, 109, 59, 27336, 256, 98, 112, 13841, 13843, 59, 27348, 59, 27350, 384, 65, 97, 110, 13852, 13856, 13869, 114, 114, 59, 25049, 114, 256, 104, 114, 13862, 13864, 235, 8750, 256, 59, 111, 2603, 2601, 119, 97, 114, 59, 26922, 108, 105, 103, 32827, 223, 16607, 3041, 13905, 13917, 13920, 4814, 13939, 13945, 0, 13950, 14018, 0, 0, 0, 0, 0, 14043, 14083, 0, 14089, 14188, 0, 0, 0, 14215, 626, 13910, 0, 0, 13915, 103, 101, 116, 59, 25366, 59, 17348, 114, 235, 3679, 384, 97, 101, 121, 13926, 13931, 13936, 114, 111, 110, 59, 16741, 100, 105, 108, 59, 16739, 59, 17474, 108, 114, 101, 99, 59, 25365, 114, 59, 49152, 55349, 56625, 512, 101, 105, 107, 111, 13958, 13981, 14005, 14012, 498, 13963, 0, 13969, 101, 256, 52, 102, 4740, 4737, 97, 384, 59, 115, 118, 13976, 13977, 13979, 17336, 121, 109, 59, 17361, 256, 99, 110, 13986, 14002, 107, 256, 97, 115, 13992, 13998, 112, 112, 114, 111, 248, 4801, 105, 109, 187, 4780, 115, 240, 4766, 256, 97, 115, 14010, 13998, 240, 4801, 114, 110, 32827, 254, 16638, 492, 799, 14022, 8935, 101, 115, 33152, 215, 59, 98, 100, 14031, 14032, 14040, 16599, 256, 59, 97, 6415, 14037, 114, 59, 27185, 59, 27184, 384, 101, 112, 115, 14049, 14051, 14080, 225, 10829, 512, 59, 98, 99, 102, 1158, 14060, 14064, 14068, 111, 116, 59, 25398, 105, 114, 59, 27377, 256, 59, 111, 14073, 14076, 49152, 55349, 56677, 114, 107, 59, 27354, 225, 13154, 114, 105, 109, 101, 59, 24628, 384, 97, 105, 112, 14095, 14098, 14180, 100, 229, 4680, 896, 97, 100, 101, 109, 112, 115, 116, 14113, 14157, 14144, 14161, 14167, 14172, 14175, 110, 103, 108, 101, 640, 59, 100, 108, 113, 114, 14128, 14129, 14134, 14144, 14146, 26037, 111, 119, 110, 187, 7611, 101, 102, 116, 256, 59, 101, 10240, 14142, 241, 2350, 59, 25180, 105, 103, 104, 116, 256, 59, 101, 12970, 14155, 241, 4186, 111, 116, 59, 26092, 105, 110, 117, 115, 59, 27194, 108, 117, 115, 59, 27193, 98, 59, 27085, 105, 109, 101, 59, 27195, 101, 122, 105, 117, 109, 59, 25570, 384, 99, 104, 116, 14194, 14205, 14209, 256, 114, 121, 14199, 14203, 59, 49152, 55349, 56521, 59, 17478, 99, 121, 59, 17499, 114, 111, 107, 59, 16743, 256, 105, 111, 14219, 14222, 120, 244, 6007, 104, 101, 97, 100, 256, 108, 114, 14231, 14240, 101, 102, 116, 97, 114, 114, 111, 247, 2127, 105, 103, 104, 116, 97, 114, 114, 111, 119, 187, 3933, 2304, 65, 72, 97, 98, 99, 100, 102, 103, 104, 108, 109, 111, 112, 114, 115, 116, 117, 119, 14288, 14291, 14295, 14308, 14320, 14332, 14350, 14364, 14371, 14388, 14417, 14429, 14443, 14505, 14540, 14546, 14570, 14582, 114, 242, 1005, 97, 114, 59, 26979, 256, 99, 114, 14300, 14306, 117, 116, 101, 32827, 250, 16634, 242, 4432, 114, 483, 14314, 0, 14317, 121, 59, 17502, 118, 101, 59, 16749, 256, 105, 121, 14325, 14330, 114, 99, 32827, 251, 16635, 59, 17475, 384, 97, 98, 104, 14339, 14342, 14347, 114, 242, 5037, 108, 97, 99, 59, 16753, 97, 242, 5059, 256, 105, 114, 14355, 14360, 115, 104, 116, 59, 27006, 59, 49152, 55349, 56626, 114, 97, 118, 101, 32827, 249, 16633, 353, 14375, 14385, 114, 256, 108, 114, 14380, 14382, 187, 2391, 187, 4227, 108, 107, 59, 25984, 256, 99, 116, 14393, 14413, 623, 14399, 0, 0, 14410, 114, 110, 256, 59, 101, 14405, 14406, 25372, 114, 187, 14406, 111, 112, 59, 25359, 114, 105, 59, 26104, 256, 97, 108, 14422, 14426, 99, 114, 59, 16747, 32955, 168, 841, 256, 103, 112, 14434, 14438, 111, 110, 59, 16755, 102, 59, 49152, 55349, 56678, 768, 97, 100, 104, 108, 115, 117, 4427, 14456, 14461, 4978, 14481, 14496, 111, 119, 110, 225, 5043, 97, 114, 112, 111, 111, 110, 256, 108, 114, 14472, 14476, 101, 102, 244, 14381, 105, 103, 104, 244, 14383, 105, 384, 59, 104, 108, 14489, 14490, 14492, 17349, 187, 5114, 111, 110, 187, 14490, 112, 97, 114, 114, 111, 119, 115, 59, 25032, 384, 99, 105, 116, 14512, 14532, 14536, 623, 14518, 0, 0, 14529, 114, 110, 256, 59, 101, 14524, 14525, 25373, 114, 187, 14525, 111, 112, 59, 25358, 110, 103, 59, 16751, 114, 105, 59, 26105, 99, 114, 59, 49152, 55349, 56522, 384, 100, 105, 114, 14553, 14557, 14562, 111, 116, 59, 25328, 108, 100, 101, 59, 16745, 105, 256, 59, 102, 14128, 14568, 187, 6163, 256, 97, 109, 14575, 14578, 114, 242, 14504, 108, 32827, 252, 16636, 97, 110, 103, 108, 101, 59, 27047, 1920, 65, 66, 68, 97, 99, 100, 101, 102, 108, 110, 111, 112, 114, 115, 122, 14620, 14623, 14633, 14637, 14773, 14776, 14781, 14815, 14820, 14824, 14835, 14841, 14845, 14849, 14880, 114, 242, 1015, 97, 114, 256, 59, 118, 14630, 14631, 27368, 59, 27369, 97, 115, 232, 993, 256, 110, 114, 14642, 14647, 103, 114, 116, 59, 27036, 896, 101, 107, 110, 112, 114, 115, 116, 13539, 14662, 14667, 14674, 14685, 14692, 14742, 97, 112, 112, 225, 9237, 111, 116, 104, 105, 110, 231, 7830, 384, 104, 105, 114, 13547, 11976, 14681, 111, 112, 244, 12213, 256, 59, 104, 5047, 14690, 239, 12685, 256, 105, 117, 14697, 14701, 103, 109, 225, 13235, 256, 98, 112, 14706, 14724, 115, 101, 116, 110, 101, 113, 256, 59, 113, 14717, 14720, 49152, 8842, 65024, 59, 49152, 10955, 65024, 115, 101, 116, 110, 101, 113, 256, 59, 113, 14735, 14738, 49152, 8843, 65024, 59, 49152, 10956, 65024, 256, 104, 114, 14747, 14751, 101, 116, 225, 13980, 105, 97, 110, 103, 108, 101, 256, 108, 114, 14762, 14767, 101, 102, 116, 187, 2341, 105, 103, 104, 116, 187, 4177, 121, 59, 17458, 97, 115, 104, 187, 4150, 384, 101, 108, 114, 14788, 14802, 14807, 384, 59, 98, 101, 11754, 14795, 14799, 97, 114, 59, 25275, 113, 59, 25178, 108, 105, 112, 59, 25326, 256, 98, 116, 14812, 5224, 97, 242, 5225, 114, 59, 49152, 55349, 56627, 116, 114, 233, 14766, 115, 117, 256, 98, 112, 14831, 14833, 187, 3356, 187, 3417, 112, 102, 59, 49152, 55349, 56679, 114, 111, 240, 3835, 116, 114, 233, 14772, 256, 99, 117, 14854, 14859, 114, 59, 49152, 55349, 56523, 256, 98, 112, 14864, 14872, 110, 256, 69, 101, 14720, 14870, 187, 14718, 110, 256, 69, 101, 14738, 14878, 187, 14736, 105, 103, 122, 97, 103, 59, 27034, 896, 99, 101, 102, 111, 112, 114, 115, 14902, 14907, 14934, 14939, 14932, 14945, 14954, 105, 114, 99, 59, 16757, 256, 100, 105, 14912, 14929, 256, 98, 103, 14917, 14921, 97, 114, 59, 27231, 101, 256, 59, 113, 5626, 14927, 59, 25177, 101, 114, 112, 59, 24856, 114, 59, 49152, 55349, 56628, 112, 102, 59, 49152, 55349, 56680, 256, 59, 101, 5241, 14950, 97, 116, 232, 5241, 99, 114, 59, 49152, 55349, 56524, 2787, 6030, 14983, 0, 14987, 0, 14992, 15003, 0, 0, 15005, 15016, 15019, 15023, 0, 0, 15043, 15054, 0, 15064, 6108, 6111, 116, 114, 233, 6097, 114, 59, 49152, 55349, 56629, 256, 65, 97, 14996, 14999, 114, 242, 963, 114, 242, 2550, 59, 17342, 256, 65, 97, 15009, 15012, 114, 242, 952, 114, 242, 2539, 97, 240, 10003, 105, 115, 59, 25339, 384, 100, 112, 116, 6052, 15029, 15038, 256, 102, 108, 15034, 6057, 59, 49152, 55349, 56681, 105, 109, 229, 6066, 256, 65, 97, 15047, 15050, 114, 242, 974, 114, 242, 2561, 256, 99, 113, 15058, 6072, 114, 59, 49152, 55349, 56525, 256, 112, 116, 6102, 15068, 114, 233, 6100, 1024, 97, 99, 101, 102, 105, 111, 115, 117, 15088, 15101, 15112, 15116, 15121, 15125, 15131, 15137, 99, 256, 117, 121, 15094, 15099, 116, 101, 32827, 253, 16637, 59, 17487, 256, 105, 121, 15106, 15110, 114, 99, 59, 16759, 59, 17483, 110, 32827, 165, 16549, 114, 59, 49152, 55349, 56630, 99, 121, 59, 17495, 112, 102, 59, 49152, 55349, 56682, 99, 114, 59, 49152, 55349, 56526, 256, 99, 109, 15142, 15145, 121, 59, 17486, 108, 32827, 255, 16639, 1280, 97, 99, 100, 101, 102, 104, 105, 111, 115, 119, 15170, 15176, 15188, 15192, 15204, 15209, 15213, 15220, 15226, 15232, 99, 117, 116, 101, 59, 16762, 256, 97, 121, 15181, 15186, 114, 111, 110, 59, 16766, 59, 17463, 111, 116, 59, 16764, 256, 101, 116, 15197, 15201, 116, 114, 230, 5471, 97, 59, 17334, 114, 59, 49152, 55349, 56631, 99, 121, 59, 17462, 103, 114, 97, 114, 114, 59, 25053, 112, 102, 59, 49152, 55349, 56683, 99, 114, 59, 49152, 55349, 56527, 256, 106, 110, 15237, 15239, 59, 24589, 106, 59, 24588]);\n//# sourceMappingURL=decode-data-html.js.map","// Generated using scripts/write-decode-map.ts\n// prettier-ignore\nexport default new Uint16Array([512, 97, 103, 108, 113, 9, 21, 24, 27, 621, 15, 0, 0, 18, 112, 59, 16422, 111, 115, 59, 16423, 116, 59, 16446, 116, 59, 16444, 117, 111, 116, 59, 16418]);\n//# sourceMappingURL=decode-data-xml.js.map","// Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134\nvar _a;\nconst decodeMap = new Map([\n [0, 65533],\n [128, 8364],\n [130, 8218],\n [131, 402],\n [132, 8222],\n [133, 8230],\n [134, 8224],\n [135, 8225],\n [136, 710],\n [137, 8240],\n [138, 352],\n [139, 8249],\n [140, 338],\n [142, 381],\n [145, 8216],\n [146, 8217],\n [147, 8220],\n [148, 8221],\n [149, 8226],\n [150, 8211],\n [151, 8212],\n [152, 732],\n [153, 8482],\n [154, 353],\n [155, 8250],\n [156, 339],\n [158, 382],\n [159, 376],\n]);\nexport const fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins\n(_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {\n let output = \"\";\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n output += String.fromCharCode(codePoint);\n return output;\n};\nexport function replaceCodePoint(codePoint) {\n var _a;\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return 0xfffd;\n }\n return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;\n}\nexport default function decodeCodePoint(codePoint) {\n return fromCodePoint(replaceCodePoint(codePoint));\n}\n//# sourceMappingURL=decode_codepoint.js.map","import htmlDecodeTree from \"./generated/decode-data-html.js\";\nimport xmlDecodeTree from \"./generated/decode-data-xml.js\";\nimport decodeCodePoint from \"./decode_codepoint.js\";\n// Re-export for use by eg. htmlparser2\nexport { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };\nexport { replaceCodePoint, fromCodePoint } from \"./decode_codepoint.js\";\nvar CharCodes;\n(function (CharCodes) {\n CharCodes[CharCodes[\"NUM\"] = 35] = \"NUM\";\n CharCodes[CharCodes[\"SEMI\"] = 59] = \"SEMI\";\n CharCodes[CharCodes[\"ZERO\"] = 48] = \"ZERO\";\n CharCodes[CharCodes[\"NINE\"] = 57] = \"NINE\";\n CharCodes[CharCodes[\"LOWER_A\"] = 97] = \"LOWER_A\";\n CharCodes[CharCodes[\"LOWER_F\"] = 102] = \"LOWER_F\";\n CharCodes[CharCodes[\"LOWER_X\"] = 120] = \"LOWER_X\";\n /** Bit that needs to be set to convert an upper case ASCII character to lower case */\n CharCodes[CharCodes[\"To_LOWER_BIT\"] = 32] = \"To_LOWER_BIT\";\n})(CharCodes || (CharCodes = {}));\nexport var BinTrieFlags;\n(function (BinTrieFlags) {\n BinTrieFlags[BinTrieFlags[\"VALUE_LENGTH\"] = 49152] = \"VALUE_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"BRANCH_LENGTH\"] = 16256] = \"BRANCH_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"JUMP_TABLE\"] = 127] = \"JUMP_TABLE\";\n})(BinTrieFlags || (BinTrieFlags = {}));\nfunction getDecoder(decodeTree) {\n return function decodeHTMLBinary(str, strict) {\n let ret = \"\";\n let lastIdx = 0;\n let strIdx = 0;\n while ((strIdx = str.indexOf(\"&\", strIdx)) >= 0) {\n ret += str.slice(lastIdx, strIdx);\n lastIdx = strIdx;\n // Skip the \"&\"\n strIdx += 1;\n // If we have a numeric entity, handle this separately.\n if (str.charCodeAt(strIdx) === CharCodes.NUM) {\n // Skip the leading \"&#\". For hex entities, also skip the leading \"x\".\n let start = strIdx + 1;\n let base = 10;\n let cp = str.charCodeAt(start);\n if ((cp | CharCodes.To_LOWER_BIT) === CharCodes.LOWER_X) {\n base = 16;\n strIdx += 1;\n start += 1;\n }\n do\n cp = str.charCodeAt(++strIdx);\n while ((cp >= CharCodes.ZERO && cp <= CharCodes.NINE) ||\n (base === 16 &&\n (cp | CharCodes.To_LOWER_BIT) >= CharCodes.LOWER_A &&\n (cp | CharCodes.To_LOWER_BIT) <= CharCodes.LOWER_F));\n if (start !== strIdx) {\n const entity = str.substring(start, strIdx);\n const parsed = parseInt(entity, base);\n if (str.charCodeAt(strIdx) === CharCodes.SEMI) {\n strIdx += 1;\n }\n else if (strict) {\n continue;\n }\n ret += decodeCodePoint(parsed);\n lastIdx = strIdx;\n }\n continue;\n }\n let resultIdx = 0;\n let excess = 1;\n let treeIdx = 0;\n let current = decodeTree[treeIdx];\n for (; strIdx < str.length; strIdx++, excess++) {\n treeIdx = determineBranch(decodeTree, current, treeIdx + 1, str.charCodeAt(strIdx));\n if (treeIdx < 0)\n break;\n current = decodeTree[treeIdx];\n const masked = current & BinTrieFlags.VALUE_LENGTH;\n // If the branch is a value, store it and continue\n if (masked) {\n // If we have a legacy entity while parsing strictly, just skip the number of bytes\n if (!strict || str.charCodeAt(strIdx) === CharCodes.SEMI) {\n resultIdx = treeIdx;\n excess = 0;\n }\n // The mask is the number of bytes of the value, including the current byte.\n const valueLength = (masked >> 14) - 1;\n if (valueLength === 0)\n break;\n treeIdx += valueLength;\n }\n }\n if (resultIdx !== 0) {\n const valueLength = (decodeTree[resultIdx] & BinTrieFlags.VALUE_LENGTH) >> 14;\n ret +=\n valueLength === 1\n ? String.fromCharCode(decodeTree[resultIdx] & ~BinTrieFlags.VALUE_LENGTH)\n : valueLength === 2\n ? String.fromCharCode(decodeTree[resultIdx + 1])\n : String.fromCharCode(decodeTree[resultIdx + 1], decodeTree[resultIdx + 2]);\n lastIdx = strIdx - excess + 1;\n }\n }\n return ret + str.slice(lastIdx);\n };\n}\nexport function determineBranch(decodeTree, current, nodeIdx, char) {\n const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;\n const jumpOffset = current & BinTrieFlags.JUMP_TABLE;\n // Case 1: Single branch encoded in jump offset\n if (branchCount === 0) {\n return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;\n }\n // Case 2: Multiple branches encoded in jump table\n if (jumpOffset) {\n const value = char - jumpOffset;\n return value < 0 || value > branchCount\n ? -1\n : decodeTree[nodeIdx + value] - 1;\n }\n // Case 3: Multiple branches encoded in dictionary\n // Binary search for the character.\n let lo = nodeIdx;\n let hi = lo + branchCount - 1;\n while (lo <= hi) {\n const mid = (lo + hi) >>> 1;\n const midVal = decodeTree[mid];\n if (midVal < char) {\n lo = mid + 1;\n }\n else if (midVal > char) {\n hi = mid - 1;\n }\n else {\n return decodeTree[mid + branchCount];\n }\n }\n return -1;\n}\nconst htmlDecoder = getDecoder(htmlDecodeTree);\nconst xmlDecoder = getDecoder(xmlDecodeTree);\nexport function decodeHTML(str) {\n return htmlDecoder(str, false);\n}\nexport function decodeHTMLStrict(str) {\n return htmlDecoder(str, true);\n}\nexport function decodeXML(str) {\n return xmlDecoder(str, true);\n}\n//# sourceMappingURL=decode.js.map","import { htmlDecodeTree, xmlDecodeTree, BinTrieFlags, determineBranch, replaceCodePoint, } from \"entities/lib/decode.js\";\nvar CharCodes;\n(function (CharCodes) {\n CharCodes[CharCodes[\"Tab\"] = 9] = \"Tab\";\n CharCodes[CharCodes[\"NewLine\"] = 10] = \"NewLine\";\n CharCodes[CharCodes[\"FormFeed\"] = 12] = \"FormFeed\";\n CharCodes[CharCodes[\"CarriageReturn\"] = 13] = \"CarriageReturn\";\n CharCodes[CharCodes[\"Space\"] = 32] = \"Space\";\n CharCodes[CharCodes[\"ExclamationMark\"] = 33] = \"ExclamationMark\";\n CharCodes[CharCodes[\"Num\"] = 35] = \"Num\";\n CharCodes[CharCodes[\"Amp\"] = 38] = \"Amp\";\n CharCodes[CharCodes[\"SingleQuote\"] = 39] = \"SingleQuote\";\n CharCodes[CharCodes[\"DoubleQuote\"] = 34] = \"DoubleQuote\";\n CharCodes[CharCodes[\"Dash\"] = 45] = \"Dash\";\n CharCodes[CharCodes[\"Slash\"] = 47] = \"Slash\";\n CharCodes[CharCodes[\"Zero\"] = 48] = \"Zero\";\n CharCodes[CharCodes[\"Nine\"] = 57] = \"Nine\";\n CharCodes[CharCodes[\"Semi\"] = 59] = \"Semi\";\n CharCodes[CharCodes[\"Lt\"] = 60] = \"Lt\";\n CharCodes[CharCodes[\"Eq\"] = 61] = \"Eq\";\n CharCodes[CharCodes[\"Gt\"] = 62] = \"Gt\";\n CharCodes[CharCodes[\"Questionmark\"] = 63] = \"Questionmark\";\n CharCodes[CharCodes[\"UpperA\"] = 65] = \"UpperA\";\n CharCodes[CharCodes[\"LowerA\"] = 97] = \"LowerA\";\n CharCodes[CharCodes[\"UpperF\"] = 70] = \"UpperF\";\n CharCodes[CharCodes[\"LowerF\"] = 102] = \"LowerF\";\n CharCodes[CharCodes[\"UpperZ\"] = 90] = \"UpperZ\";\n CharCodes[CharCodes[\"LowerZ\"] = 122] = \"LowerZ\";\n CharCodes[CharCodes[\"LowerX\"] = 120] = \"LowerX\";\n CharCodes[CharCodes[\"OpeningSquareBracket\"] = 91] = \"OpeningSquareBracket\";\n})(CharCodes || (CharCodes = {}));\n/** All the states the tokenizer can be in. */\nvar State;\n(function (State) {\n State[State[\"Text\"] = 1] = \"Text\";\n State[State[\"BeforeTagName\"] = 2] = \"BeforeTagName\";\n State[State[\"InTagName\"] = 3] = \"InTagName\";\n State[State[\"InSelfClosingTag\"] = 4] = \"InSelfClosingTag\";\n State[State[\"BeforeClosingTagName\"] = 5] = \"BeforeClosingTagName\";\n State[State[\"InClosingTagName\"] = 6] = \"InClosingTagName\";\n State[State[\"AfterClosingTagName\"] = 7] = \"AfterClosingTagName\";\n // Attributes\n State[State[\"BeforeAttributeName\"] = 8] = \"BeforeAttributeName\";\n State[State[\"InAttributeName\"] = 9] = \"InAttributeName\";\n State[State[\"AfterAttributeName\"] = 10] = \"AfterAttributeName\";\n State[State[\"BeforeAttributeValue\"] = 11] = \"BeforeAttributeValue\";\n State[State[\"InAttributeValueDq\"] = 12] = \"InAttributeValueDq\";\n State[State[\"InAttributeValueSq\"] = 13] = \"InAttributeValueSq\";\n State[State[\"InAttributeValueNq\"] = 14] = \"InAttributeValueNq\";\n // Declarations\n State[State[\"BeforeDeclaration\"] = 15] = \"BeforeDeclaration\";\n State[State[\"InDeclaration\"] = 16] = \"InDeclaration\";\n // Processing instructions\n State[State[\"InProcessingInstruction\"] = 17] = \"InProcessingInstruction\";\n // Comments & CDATA\n State[State[\"BeforeComment\"] = 18] = \"BeforeComment\";\n State[State[\"CDATASequence\"] = 19] = \"CDATASequence\";\n State[State[\"InSpecialComment\"] = 20] = \"InSpecialComment\";\n State[State[\"InCommentLike\"] = 21] = \"InCommentLike\";\n // Special tags\n State[State[\"BeforeSpecialS\"] = 22] = \"BeforeSpecialS\";\n State[State[\"SpecialStartSequence\"] = 23] = \"SpecialStartSequence\";\n State[State[\"InSpecialTag\"] = 24] = \"InSpecialTag\";\n State[State[\"BeforeEntity\"] = 25] = \"BeforeEntity\";\n State[State[\"BeforeNumericEntity\"] = 26] = \"BeforeNumericEntity\";\n State[State[\"InNamedEntity\"] = 27] = \"InNamedEntity\";\n State[State[\"InNumericEntity\"] = 28] = \"InNumericEntity\";\n State[State[\"InHexEntity\"] = 29] = \"InHexEntity\";\n})(State || (State = {}));\nfunction isWhitespace(c) {\n return (c === CharCodes.Space ||\n c === CharCodes.NewLine ||\n c === CharCodes.Tab ||\n c === CharCodes.FormFeed ||\n c === CharCodes.CarriageReturn);\n}\nfunction isEndOfTagSection(c) {\n return c === CharCodes.Slash || c === CharCodes.Gt || isWhitespace(c);\n}\nfunction isNumber(c) {\n return c >= CharCodes.Zero && c <= CharCodes.Nine;\n}\nfunction isASCIIAlpha(c) {\n return ((c >= CharCodes.LowerA && c <= CharCodes.LowerZ) ||\n (c >= CharCodes.UpperA && c <= CharCodes.UpperZ));\n}\nfunction isHexDigit(c) {\n return ((c >= CharCodes.UpperA && c <= CharCodes.UpperF) ||\n (c >= CharCodes.LowerA && c <= CharCodes.LowerF));\n}\nexport var QuoteType;\n(function (QuoteType) {\n QuoteType[QuoteType[\"NoValue\"] = 0] = \"NoValue\";\n QuoteType[QuoteType[\"Unquoted\"] = 1] = \"Unquoted\";\n QuoteType[QuoteType[\"Single\"] = 2] = \"Single\";\n QuoteType[QuoteType[\"Double\"] = 3] = \"Double\";\n})(QuoteType || (QuoteType = {}));\n/**\n * Sequences used to match longer strings.\n *\n * We don't have `Script`, `Style`, or `Title` here. Instead, we re-use the *End\n * sequences with an increased offset.\n */\nconst Sequences = {\n Cdata: new Uint8Array([0x43, 0x44, 0x41, 0x54, 0x41, 0x5b]),\n CdataEnd: new Uint8Array([0x5d, 0x5d, 0x3e]),\n CommentEnd: new Uint8Array([0x2d, 0x2d, 0x3e]),\n ScriptEnd: new Uint8Array([0x3c, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74]),\n StyleEnd: new Uint8Array([0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65]),\n TitleEnd: new Uint8Array([0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65]), // ` this.sectionStart) {\n this.cbs.ontext(this.sectionStart, this.index);\n }\n this.state = State.BeforeTagName;\n this.sectionStart = this.index;\n }\n else if (this.decodeEntities && c === CharCodes.Amp) {\n this.state = State.BeforeEntity;\n }\n }\n stateSpecialStartSequence(c) {\n const isEnd = this.sequenceIndex === this.currentSequence.length;\n const isMatch = isEnd\n ? // If we are at the end of the sequence, make sure the tag name has ended\n isEndOfTagSection(c)\n : // Otherwise, do a case-insensitive comparison\n (c | 0x20) === this.currentSequence[this.sequenceIndex];\n if (!isMatch) {\n this.isSpecial = false;\n }\n else if (!isEnd) {\n this.sequenceIndex++;\n return;\n }\n this.sequenceIndex = 0;\n this.state = State.InTagName;\n this.stateInTagName(c);\n }\n /** Look for an end tag. For tags, also decode entities. */\n stateInSpecialTag(c) {\n if (this.sequenceIndex === this.currentSequence.length) {\n if (c === CharCodes.Gt || isWhitespace(c)) {\n const endOfText = this.index - this.currentSequence.length;\n if (this.sectionStart < endOfText) {\n // Spoof the index so that reported locations match up.\n const actualIndex = this.index;\n this.index = endOfText;\n this.cbs.ontext(this.sectionStart, endOfText);\n this.index = actualIndex;\n }\n this.isSpecial = false;\n this.sectionStart = endOfText + 2; // Skip over the `</`\n this.stateInClosingTagName(c);\n return; // We are done; skip the rest of the function.\n }\n this.sequenceIndex = 0;\n }\n if ((c | 0x20) === this.currentSequence[this.sequenceIndex]) {\n this.sequenceIndex += 1;\n }\n else if (this.sequenceIndex === 0) {\n if (this.currentSequence === Sequences.TitleEnd) {\n // We have to parse entities in <title> tags.\n if (this.decodeEntities && c === CharCodes.Amp) {\n this.state = State.BeforeEntity;\n }\n }\n else if (this.fastForwardTo(CharCodes.Lt)) {\n // Outside of <title> tags, we can fast-forward.\n this.sequenceIndex = 1;\n }\n }\n else {\n // If we see a `<`, set the sequence index to 1; useful for eg. `<</script>`.\n this.sequenceIndex = Number(c === CharCodes.Lt);\n }\n }\n stateCDATASequence(c) {\n if (c === Sequences.Cdata[this.sequenceIndex]) {\n if (++this.sequenceIndex === Sequences.Cdata.length) {\n this.state = State.InCommentLike;\n this.currentSequence = Sequences.CdataEnd;\n this.sequenceIndex = 0;\n this.sectionStart = this.index + 1;\n }\n }\n else {\n this.sequenceIndex = 0;\n this.state = State.InDeclaration;\n this.stateInDeclaration(c); // Reconsume the character\n }\n }\n /**\n * When we wait for one specific character, we can speed things up\n * by skipping through the buffer until we find it.\n *\n * @returns Whether the character was found.\n */\n fastForwardTo(c) {\n while (++this.index < this.buffer.length + this.offset) {\n if (this.buffer.charCodeAt(this.index - this.offset) === c) {\n return true;\n }\n }\n /*\n * We increment the index at the end of the `parse` loop,\n * so set it to `buffer.length - 1` here.\n *\n * TODO: Refactor `parse` to increment index before calling states.\n */\n this.index = this.buffer.length + this.offset - 1;\n return false;\n }\n /**\n * Comments and CDATA end with `-->` and `]]>`.\n *\n * Their common qualities are:\n * - Their end sequences have a distinct character they start with.\n * - That character is then repeated, so we have to check multiple repeats.\n * - All characters but the start character of the sequence can be skipped.\n */\n stateInCommentLike(c) {\n if (c === this.currentSequence[this.sequenceIndex]) {\n if (++this.sequenceIndex === this.currentSequence.length) {\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(this.sectionStart, this.index, 2);\n }\n else {\n this.cbs.oncomment(this.sectionStart, this.index, 2);\n }\n this.sequenceIndex = 0;\n this.sectionStart = this.index + 1;\n this.state = State.Text;\n }\n }\n else if (this.sequenceIndex === 0) {\n // Fast-forward to the first character of the sequence\n if (this.fastForwardTo(this.currentSequence[0])) {\n this.sequenceIndex = 1;\n }\n }\n else if (c !== this.currentSequence[this.sequenceIndex - 1]) {\n // Allow long sequences, eg. --->, ]]]>\n this.sequenceIndex = 0;\n }\n }\n /**\n * HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.\n *\n * XML allows a lot more characters here (@see https://www.w3.org/TR/REC-xml/#NT-NameStartChar).\n * We allow anything that wouldn't end the tag.\n */\n isTagStartChar(c) {\n return this.xmlMode ? !isEndOfTagSection(c) : isASCIIAlpha(c);\n }\n startSpecial(sequence, offset) {\n this.isSpecial = true;\n this.currentSequence = sequence;\n this.sequenceIndex = offset;\n this.state = State.SpecialStartSequence;\n }\n stateBeforeTagName(c) {\n if (c === CharCodes.ExclamationMark) {\n this.state = State.BeforeDeclaration;\n this.sectionStart = this.index + 1;\n }\n else if (c === CharCodes.Questionmark) {\n this.state = State.InProcessingInstruction;\n this.sectionStart = this.index + 1;\n }\n else if (this.isTagStartChar(c)) {\n const lower = c | 0x20;\n this.sectionStart = this.index;\n if (!this.xmlMode && lower === Sequences.TitleEnd[2]) {\n this.startSpecial(Sequences.TitleEnd, 3);\n }\n else {\n this.state =\n !this.xmlMode && lower === Sequences.ScriptEnd[2]\n ? State.BeforeSpecialS\n : State.InTagName;\n }\n }\n else if (c === CharCodes.Slash) {\n this.state = State.BeforeClosingTagName;\n }\n else {\n this.state = State.Text;\n this.stateText(c);\n }\n }\n stateInTagName(c) {\n if (isEndOfTagSection(c)) {\n this.cbs.onopentagname(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.state = State.BeforeAttributeName;\n this.stateBeforeAttributeName(c);\n }\n }\n stateBeforeClosingTagName(c) {\n if (isWhitespace(c)) {\n // Ignore\n }\n else if (c === CharCodes.Gt) {\n this.state = State.Text;\n }\n else {\n this.state = this.isTagStartChar(c)\n ? State.InClosingTagName\n : State.InSpecialComment;\n this.sectionStart = this.index;\n }\n }\n stateInClosingTagName(c) {\n if (c === CharCodes.Gt || isWhitespace(c)) {\n this.cbs.onclosetag(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.state = State.AfterClosingTagName;\n this.stateAfterClosingTagName(c);\n }\n }\n stateAfterClosingTagName(c) {\n // Skip everything until \">\"\n if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {\n this.state = State.Text;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeAttributeName(c) {\n if (c === CharCodes.Gt) {\n this.cbs.onopentagend(this.index);\n if (this.isSpecial) {\n this.state = State.InSpecialTag;\n this.sequenceIndex = 0;\n }\n else {\n this.state = State.Text;\n }\n this.baseState = this.state;\n this.sectionStart = this.index + 1;\n }\n else if (c === CharCodes.Slash) {\n this.state = State.InSelfClosingTag;\n }\n else if (!isWhitespace(c)) {\n this.state = State.InAttributeName;\n this.sectionStart = this.index;\n }\n }\n stateInSelfClosingTag(c) {\n if (c === CharCodes.Gt) {\n this.cbs.onselfclosingtag(this.index);\n this.state = State.Text;\n this.baseState = State.Text;\n this.sectionStart = this.index + 1;\n this.isSpecial = false; // Reset special state, in case of self-closing special tags\n }\n else if (!isWhitespace(c)) {\n this.state = State.BeforeAttributeName;\n this.stateBeforeAttributeName(c);\n }\n }\n stateInAttributeName(c) {\n if (c === CharCodes.Eq || isEndOfTagSection(c)) {\n this.cbs.onattribname(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.state = State.AfterAttributeName;\n this.stateAfterAttributeName(c);\n }\n }\n stateAfterAttributeName(c) {\n if (c === CharCodes.Eq) {\n this.state = State.BeforeAttributeValue;\n }\n else if (c === CharCodes.Slash || c === CharCodes.Gt) {\n this.cbs.onattribend(QuoteType.NoValue, this.index);\n this.state = State.BeforeAttributeName;\n this.stateBeforeAttributeName(c);\n }\n else if (!isWhitespace(c)) {\n this.cbs.onattribend(QuoteType.NoValue, this.index);\n this.state = State.InAttributeName;\n this.sectionStart = this.index;\n }\n }\n stateBeforeAttributeValue(c) {\n if (c === CharCodes.DoubleQuote) {\n this.state = State.InAttributeValueDq;\n this.sectionStart = this.index + 1;\n }\n else if (c === CharCodes.SingleQuote) {\n this.state = State.InAttributeValueSq;\n this.sectionStart = this.index + 1;\n }\n else if (!isWhitespace(c)) {\n this.sectionStart = this.index;\n this.state = State.InAttributeValueNq;\n this.stateInAttributeValueNoQuotes(c); // Reconsume token\n }\n }\n handleInAttributeValue(c, quote) {\n if (c === quote ||\n (!this.decodeEntities && this.fastForwardTo(quote))) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.cbs.onattribend(quote === CharCodes.DoubleQuote\n ? QuoteType.Double\n : QuoteType.Single, this.index);\n this.state = State.BeforeAttributeName;\n }\n else if (this.decodeEntities && c === CharCodes.Amp) {\n this.baseState = this.state;\n this.state = State.BeforeEntity;\n }\n }\n stateInAttributeValueDoubleQuotes(c) {\n this.handleInAttributeValue(c, CharCodes.DoubleQuote);\n }\n stateInAttributeValueSingleQuotes(c) {\n this.handleInAttributeValue(c, CharCodes.SingleQuote);\n }\n stateInAttributeValueNoQuotes(c) {\n if (isWhitespace(c) || c === CharCodes.Gt) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.cbs.onattribend(QuoteType.Unquoted, this.index);\n this.state = State.BeforeAttributeName;\n this.stateBeforeAttributeName(c);\n }\n else if (this.decodeEntities && c === CharCodes.Amp) {\n this.baseState = this.state;\n this.state = State.BeforeEntity;\n }\n }\n stateBeforeDeclaration(c) {\n if (c === CharCodes.OpeningSquareBracket) {\n this.state = State.CDATASequence;\n this.sequenceIndex = 0;\n }\n else {\n this.state =\n c === CharCodes.Dash\n ? State.BeforeComment\n : State.InDeclaration;\n }\n }\n stateInDeclaration(c) {\n if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {\n this.cbs.ondeclaration(this.sectionStart, this.index);\n this.state = State.Text;\n this.sectionStart = this.index + 1;\n }\n }\n stateInProcessingInstruction(c) {\n if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {\n this.cbs.onprocessinginstruction(this.sectionStart, this.index);\n this.state = State.Text;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeComment(c) {\n if (c === CharCodes.Dash) {\n this.state = State.InCommentLike;\n this.currentSequence = Sequences.CommentEnd;\n // Allow short comments (eg. <!-->)\n this.sequenceIndex = 2;\n this.sectionStart = this.index + 1;\n }\n else {\n this.state = State.InDeclaration;\n }\n }\n stateInSpecialComment(c) {\n if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {\n this.cbs.oncomment(this.sectionStart, this.index, 0);\n this.state = State.Text;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeSpecialS(c) {\n const lower = c | 0x20;\n if (lower === Sequences.ScriptEnd[3]) {\n this.startSpecial(Sequences.ScriptEnd, 4);\n }\n else if (lower === Sequences.StyleEnd[3]) {\n this.startSpecial(Sequences.StyleEnd, 4);\n }\n else {\n this.state = State.InTagName;\n this.stateInTagName(c); // Consume the token again\n }\n }\n stateBeforeEntity(c) {\n // Start excess with 1 to include the '&'\n this.entityExcess = 1;\n this.entityResult = 0;\n if (c === CharCodes.Num) {\n this.state = State.BeforeNumericEntity;\n }\n else if (c === CharCodes.Amp) {\n // We have two `&` characters in a row. Stay in the current state.\n }\n else {\n this.trieIndex = 0;\n this.trieCurrent = this.entityTrie[0];\n this.state = State.InNamedEntity;\n this.stateInNamedEntity(c);\n }\n }\n stateInNamedEntity(c) {\n this.entityExcess += 1;\n this.trieIndex = determineBranch(this.entityTrie, this.trieCurrent, this.trieIndex + 1, c);\n if (this.trieIndex < 0) {\n this.emitNamedEntity();\n this.index--;\n return;\n }\n this.trieCurrent = this.entityTrie[this.trieIndex];\n const masked = this.trieCurrent & BinTrieFlags.VALUE_LENGTH;\n // If the branch is a value, store it and continue\n if (masked) {\n // The mask is the number of bytes of the value, including the current byte.\n const valueLength = (masked >> 14) - 1;\n // If we have a legacy entity while parsing strictly, just skip the number of bytes\n if (!this.allowLegacyEntity() && c !== CharCodes.Semi) {\n this.trieIndex += valueLength;\n }\n else {\n // Add 1 as we have already incremented the excess\n const entityStart = this.index - this.entityExcess + 1;\n if (entityStart > this.sectionStart) {\n this.emitPartial(this.sectionStart, entityStart);\n }\n // If this is a surrogate pair, consume the next two bytes\n this.entityResult = this.trieIndex;\n this.trieIndex += valueLength;\n this.entityExcess = 0;\n this.sectionStart = this.index + 1;\n if (valueLength === 0) {\n this.emitNamedEntity();\n }\n }\n }\n }\n emitNamedEntity() {\n this.state = this.baseState;\n if (this.entityResult === 0) {\n return;\n }\n const valueLength = (this.entityTrie[this.entityResult] & BinTrieFlags.VALUE_LENGTH) >>\n 14;\n switch (valueLength) {\n case 1:\n this.emitCodePoint(this.entityTrie[this.entityResult] &\n ~BinTrieFlags.VALUE_LENGTH);\n break;\n case 2:\n this.emitCodePoint(this.entityTrie[this.entityResult + 1]);\n break;\n case 3: {\n this.emitCodePoint(this.entityTrie[this.entityResult + 1]);\n this.emitCodePoint(this.entityTrie[this.entityResult + 2]);\n }\n }\n }\n stateBeforeNumericEntity(c) {\n if ((c | 0x20) === CharCodes.LowerX) {\n this.entityExcess++;\n this.state = State.InHexEntity;\n }\n else {\n this.state = State.InNumericEntity;\n this.stateInNumericEntity(c);\n }\n }\n emitNumericEntity(strict) {\n const entityStart = this.index - this.entityExcess - 1;\n const numberStart = entityStart + 2 + Number(this.state === State.InHexEntity);\n if (numberStart !== this.index) {\n // Emit leading data if any\n if (entityStart > this.sectionStart) {\n this.emitPartial(this.sectionStart, entityStart);\n }\n this.sectionStart = this.index + Number(strict);\n this.emitCodePoint(replaceCodePoint(this.entityResult));\n }\n this.state = this.baseState;\n }\n stateInNumericEntity(c) {\n if (c === CharCodes.Semi) {\n this.emitNumericEntity(true);\n }\n else if (isNumber(c)) {\n this.entityResult = this.entityResult * 10 + (c - CharCodes.Zero);\n this.entityExcess++;\n }\n else {\n if (this.allowLegacyEntity()) {\n this.emitNumericEntity(false);\n }\n else {\n this.state = this.baseState;\n }\n this.index--;\n }\n }\n stateInHexEntity(c) {\n if (c === CharCodes.Semi) {\n this.emitNumericEntity(true);\n }\n else if (isNumber(c)) {\n this.entityResult = this.entityResult * 16 + (c - CharCodes.Zero);\n this.entityExcess++;\n }\n else if (isHexDigit(c)) {\n this.entityResult =\n this.entityResult * 16 + ((c | 0x20) - CharCodes.LowerA + 10);\n this.entityExcess++;\n }\n else {\n if (this.allowLegacyEntity()) {\n this.emitNumericEntity(false);\n }\n else {\n this.state = this.baseState;\n }\n this.index--;\n }\n }\n allowLegacyEntity() {\n return (!this.xmlMode &&\n (this.baseState === State.Text ||\n this.baseState === State.InSpecialTag));\n }\n /**\n * Remove data that has already been consumed from the buffer.\n */\n cleanup() {\n // If we are inside of text or attributes, emit what we already have.\n if (this.running && this.sectionStart !== this.index) {\n if (this.state === State.Text ||\n (this.state === State.InSpecialTag && this.sequenceIndex === 0)) {\n this.cbs.ontext(this.sectionStart, this.index);\n this.sectionStart = this.index;\n }\n else if (this.state === State.InAttributeValueDq ||\n this.state === State.InAttributeValueSq ||\n this.state === State.InAttributeValueNq) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = this.index;\n }\n }\n }\n shouldContinue() {\n return this.index < this.buffer.length + this.offset && this.running;\n }\n /**\n * Iterates through the buffer, calling the function corresponding to the current state.\n *\n * States that are more likely to be hit are higher up, as a performance improvement.\n */\n parse() {\n while (this.shouldContinue()) {\n const c = this.buffer.charCodeAt(this.index - this.offset);\n if (this.state === State.Text) {\n this.stateText(c);\n }\n else if (this.state === State.SpecialStartSequence) {\n this.stateSpecialStartSequence(c);\n }\n else if (this.state === State.InSpecialTag) {\n this.stateInSpecialTag(c);\n }\n else if (this.state === State.CDATASequence) {\n this.stateCDATASequence(c);\n }\n else if (this.state === State.InAttributeValueDq) {\n this.stateInAttributeValueDoubleQuotes(c);\n }\n else if (this.state === State.InAttributeName) {\n this.stateInAttributeName(c);\n }\n else if (this.state === State.InCommentLike) {\n this.stateInCommentLike(c);\n }\n else if (this.state === State.InSpecialComment) {\n this.stateInSpecialComment(c);\n }\n else if (this.state === State.BeforeAttributeName) {\n this.stateBeforeAttributeName(c);\n }\n else if (this.state === State.InTagName) {\n this.stateInTagName(c);\n }\n else if (this.state === State.InClosingTagName) {\n this.stateInClosingTagName(c);\n }\n else if (this.state === State.BeforeTagName) {\n this.stateBeforeTagName(c);\n }\n else if (this.state === State.AfterAttributeName) {\n this.stateAfterAttributeName(c);\n }\n else if (this.state === State.InAttributeValueSq) {\n this.stateInAttributeValueSingleQuotes(c);\n }\n else if (this.state === State.BeforeAttributeValue) {\n this.stateBeforeAttributeValue(c);\n }\n else if (this.state === State.BeforeClosingTagName) {\n this.stateBeforeClosingTagName(c);\n }\n else if (this.state === State.AfterClosingTagName) {\n this.stateAfterClosingTagName(c);\n }\n else if (this.state === State.BeforeSpecialS) {\n this.stateBeforeSpecialS(c);\n }\n else if (this.state === State.InAttributeValueNq) {\n this.stateInAttributeValueNoQuotes(c);\n }\n else if (this.state === State.InSelfClosingTag) {\n this.stateInSelfClosingTag(c);\n }\n else if (this.state === State.InDeclaration) {\n this.stateInDeclaration(c);\n }\n else if (this.state === State.BeforeDeclaration) {\n this.stateBeforeDeclaration(c);\n }\n else if (this.state === State.BeforeComment) {\n this.stateBeforeComment(c);\n }\n else if (this.state === State.InProcessingInstruction) {\n this.stateInProcessingInstruction(c);\n }\n else if (this.state === State.InNamedEntity) {\n this.stateInNamedEntity(c);\n }\n else if (this.state === State.BeforeEntity) {\n this.stateBeforeEntity(c);\n }\n else if (this.state === State.InHexEntity) {\n this.stateInHexEntity(c);\n }\n else if (this.state === State.InNumericEntity) {\n this.stateInNumericEntity(c);\n }\n else {\n // `this._state === State.BeforeNumericEntity`\n this.stateBeforeNumericEntity(c);\n }\n this.index++;\n }\n this.cleanup();\n }\n finish() {\n if (this.state === State.InNamedEntity) {\n this.emitNamedEntity();\n }\n // If there is remaining data, emit it in a reasonable way\n if (this.sectionStart < this.index) {\n this.handleTrailingData();\n }\n this.cbs.onend();\n }\n /** Handle any trailing data. */\n handleTrailingData() {\n const endIndex = this.buffer.length + this.offset;\n if (this.state === State.InCommentLike) {\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(this.sectionStart, endIndex, 0);\n }\n else {\n this.cbs.oncomment(this.sectionStart, endIndex, 0);\n }\n }\n else if (this.state === State.InNumericEntity &&\n this.allowLegacyEntity()) {\n this.emitNumericEntity(false);\n // All trailing data will have been consumed\n }\n else if (this.state === State.InHexEntity &&\n this.allowLegacyEntity()) {\n this.emitNumericEntity(false);\n // All trailing data will have been consumed\n }\n else if (this.state === State.InTagName ||\n this.state === State.BeforeAttributeName ||\n this.state === State.BeforeAttributeValue ||\n this.state === State.AfterAttributeName ||\n this.state === State.InAttributeName ||\n this.state === State.InAttributeValueSq ||\n this.state === State.InAttributeValueDq ||\n this.state === State.InAttributeValueNq ||\n this.state === State.InClosingTagName) {\n /*\n * If we are currently in an opening or closing tag, us not calling the\n * respective callback signals that the tag should be ignored.\n */\n }\n else {\n this.cbs.ontext(this.sectionStart, endIndex);\n }\n }\n emitPartial(start, endIndex) {\n if (this.baseState !== State.Text &&\n this.baseState !== State.InSpecialTag) {\n this.cbs.onattribdata(start, endIndex);\n }\n else {\n this.cbs.ontext(start, endIndex);\n }\n }\n emitCodePoint(cp) {\n if (this.baseState !== State.Text &&\n this.baseState !== State.InSpecialTag) {\n this.cbs.onattribentity(cp);\n }\n else {\n this.cbs.ontextentity(cp);\n }\n }\n}\n//# sourceMappingURL=Tokenizer.js.map","import Tokenizer, { QuoteType } from \"./Tokenizer.js\";\nimport { fromCodePoint } from \"entities/lib/decode.js\";\nconst formTags = new Set([\n \"input\",\n \"option\",\n \"optgroup\",\n \"select\",\n \"button\",\n \"datalist\",\n \"textarea\",\n]);\nconst pTag = new Set([\"p\"]);\nconst tableSectionTags = new Set([\"thead\", \"tbody\"]);\nconst ddtTags = new Set([\"dd\", \"dt\"]);\nconst rtpTags = new Set([\"rt\", \"rp\"]);\nconst openImpliesClose = new Map([\n [\"tr\", new Set([\"tr\", \"th\", \"td\"])],\n [\"th\", new Set([\"th\"])],\n [\"td\", new Set([\"thead\", \"th\", \"td\"])],\n [\"body\", new Set([\"head\", \"link\", \"script\"])],\n [\"li\", new Set([\"li\"])],\n [\"p\", pTag],\n [\"h1\", pTag],\n [\"h2\", pTag],\n [\"h3\", pTag],\n [\"h4\", pTag],\n [\"h5\", pTag],\n [\"h6\", pTag],\n [\"select\", formTags],\n [\"input\", formTags],\n [\"output\", formTags],\n [\"button\", formTags],\n [\"datalist\", formTags],\n [\"textarea\", formTags],\n [\"option\", new Set([\"option\"])],\n [\"optgroup\", new Set([\"optgroup\", \"option\"])],\n [\"dd\", ddtTags],\n [\"dt\", ddtTags],\n [\"address\", pTag],\n [\"article\", pTag],\n [\"aside\", pTag],\n [\"blockquote\", pTag],\n [\"details\", pTag],\n [\"div\", pTag],\n [\"dl\", pTag],\n [\"fieldset\", pTag],\n [\"figcaption\", pTag],\n [\"figure\", pTag],\n [\"footer\", pTag],\n [\"form\", pTag],\n [\"header\", pTag],\n [\"hr\", pTag],\n [\"main\", pTag],\n [\"nav\", pTag],\n [\"ol\", pTag],\n [\"pre\", pTag],\n [\"section\", pTag],\n [\"table\", pTag],\n [\"ul\", pTag],\n [\"rt\", rtpTags],\n [\"rp\", rtpTags],\n [\"tbody\", tableSectionTags],\n [\"tfoot\", tableSectionTags],\n]);\nconst voidElements = new Set([\n \"area\",\n \"base\",\n \"basefont\",\n \"br\",\n \"col\",\n \"command\",\n \"embed\",\n \"frame\",\n \"hr\",\n \"img\",\n \"input\",\n \"isindex\",\n \"keygen\",\n \"link\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\",\n]);\nconst foreignContextElements = new Set([\"math\", \"svg\"]);\nconst htmlIntegrationElements = new Set([\n \"mi\",\n \"mo\",\n \"mn\",\n \"ms\",\n \"mtext\",\n \"annotation-xml\",\n \"foreignobject\",\n \"desc\",\n \"title\",\n]);\nconst reNameEnd = /\\s|\\//;\nexport class Parser {\n constructor(cbs, options = {}) {\n var _a, _b, _c, _d, _e;\n this.options = options;\n /** The start index of the last event. */\n this.startIndex = 0;\n /** The end index of the last event. */\n this.endIndex = 0;\n /**\n * Store the start index of the current open tag,\n * so we can update the start index for attributes.\n */\n this.openTagStart = 0;\n this.tagname = \"\";\n this.attribname = \"\";\n this.attribvalue = \"\";\n this.attribs = null;\n this.stack = [];\n this.foreignContext = [];\n this.buffers = [];\n this.bufferOffset = 0;\n /** The index of the last written buffer. Used when resuming after a `pause()`. */\n this.writeIndex = 0;\n /** Indicates whether the parser has finished running / `.end` has been called. */\n this.ended = false;\n this.cbs = cbs !== null && cbs !== void 0 ? cbs : {};\n this.lowerCaseTagNames = (_a = options.lowerCaseTags) !== null && _a !== void 0 ? _a : !options.xmlMode;\n this.lowerCaseAttributeNames =\n (_b = options.lowerCaseAttributeNames) !== null && _b !== void 0 ? _b : !options.xmlMode;\n this.tokenizer = new ((_c = options.Tokenizer) !== null && _c !== void 0 ? _c : Tokenizer)(this.options, this);\n (_e = (_d = this.cbs).onparserinit) === null || _e === void 0 ? void 0 : _e.call(_d, this);\n }\n // Tokenizer event handlers\n /** @internal */\n ontext(start, endIndex) {\n var _a, _b;\n const data = this.getSlice(start, endIndex);\n this.endIndex = endIndex - 1;\n (_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, data);\n this.startIndex = endIndex;\n }\n /** @internal */\n ontextentity(cp) {\n var _a, _b;\n /*\n * Entities can be emitted on the character, or directly after.\n * We use the section start here to get accurate indices.\n */\n const idx = this.tokenizer.getSectionStart();\n this.endIndex = idx - 1;\n (_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, fromCodePoint(cp));\n this.startIndex = idx;\n }\n isVoidElement(name) {\n return !this.options.xmlMode && voidElements.has(name);\n }\n /** @internal */\n onopentagname(start, endIndex) {\n this.endIndex = endIndex;\n let name = this.getSlice(start, endIndex);\n if (this.lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n this.emitOpenTag(name);\n }\n emitOpenTag(name) {\n var _a, _b, _c, _d;\n this.openTagStart = this.startIndex;\n this.tagname = name;\n const impliesClose = !this.options.xmlMode && openImpliesClose.get(name);\n if (impliesClose) {\n while (this.stack.length > 0 &&\n impliesClose.has(this.stack[this.stack.length - 1])) {\n const el = this.stack.pop();\n (_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, el, true);\n }\n }\n if (!this.isVoidElement(name)) {\n this.stack.push(name);\n if (foreignContextElements.has(name)) {\n this.foreignContext.push(true);\n }\n else if (htmlIntegrationElements.has(name)) {\n this.foreignContext.push(false);\n }\n }\n (_d = (_c = this.cbs).onopentagname) === null || _d === void 0 ? void 0 : _d.call(_c, name);\n if (this.cbs.onopentag)\n this.attribs = {};\n }\n endOpenTag(isImplied) {\n var _a, _b;\n this.startIndex = this.openTagStart;\n if (this.attribs) {\n (_b = (_a = this.cbs).onopentag) === null || _b === void 0 ? void 0 : _b.call(_a, this.tagname, this.attribs, isImplied);\n this.attribs = null;\n }\n if (this.cbs.onclosetag && this.isVoidElement(this.tagname)) {\n this.cbs.onclosetag(this.tagname, true);\n }\n this.tagname = \"\";\n }\n /** @internal */\n onopentagend(endIndex) {\n this.endIndex = endIndex;\n this.endOpenTag(false);\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n onclosetag(start, endIndex) {\n var _a, _b, _c, _d, _e, _f;\n this.endIndex = endIndex;\n let name = this.getSlice(start, endIndex);\n if (this.lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n if (foreignContextElements.has(name) ||\n htmlIntegrationElements.has(name)) {\n this.foreignContext.pop();\n }\n if (!this.isVoidElement(name)) {\n const pos = this.stack.lastIndexOf(name);\n if (pos !== -1) {\n if (this.cbs.onclosetag) {\n let count = this.stack.length - pos;\n while (count--) {\n // We know the stack has sufficient elements.\n this.cbs.onclosetag(this.stack.pop(), count !== 0);\n }\n }\n else\n this.stack.length = pos;\n }\n else if (!this.options.xmlMode && name === \"p\") {\n // Implicit open before close\n this.emitOpenTag(\"p\");\n this.closeCurrentTag(true);\n }\n }\n else if (!this.options.xmlMode && name === \"br\") {\n // We can't use `emitOpenTag` for implicit open, as `br` would be implicitly closed.\n (_b = (_a = this.cbs).onopentagname) === null || _b === void 0 ? void 0 : _b.call(_a, \"br\");\n (_d = (_c = this.cbs).onopentag) === null || _d === void 0 ? void 0 : _d.call(_c, \"br\", {}, true);\n (_f = (_e = this.cbs).onclosetag) === null || _f === void 0 ? void 0 : _f.call(_e, \"br\", false);\n }\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n onselfclosingtag(endIndex) {\n this.endIndex = endIndex;\n if (this.options.xmlMode ||\n this.options.recognizeSelfClosing ||\n this.foreignContext[this.foreignContext.length - 1]) {\n this.closeCurrentTag(false);\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n else {\n // Ignore the fact that the tag is self-closing.\n this.onopentagend(endIndex);\n }\n }\n closeCurrentTag(isOpenImplied) {\n var _a, _b;\n const name = this.tagname;\n this.endOpenTag(isOpenImplied);\n // Self-closing tags will be on the top of the stack\n if (this.stack[this.stack.length - 1] === name) {\n // If the opening tag isn't implied, the closing tag has to be implied.\n (_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, name, !isOpenImplied);\n this.stack.pop();\n }\n }\n /** @internal */\n onattribname(start, endIndex) {\n this.startIndex = start;\n const name = this.getSlice(start, endIndex);\n this.attribname = this.lowerCaseAttributeNames\n ? name.toLowerCase()\n : name;\n }\n /** @internal */\n onattribdata(start, endIndex) {\n this.attribvalue += this.getSlice(start, endIndex);\n }\n /** @internal */\n onattribentity(cp) {\n this.attribvalue += fromCodePoint(cp);\n }\n /** @internal */\n onattribend(quote, endIndex) {\n var _a, _b;\n this.endIndex = endIndex;\n (_b = (_a = this.cbs).onattribute) === null || _b === void 0 ? void 0 : _b.call(_a, this.attribname, this.attribvalue, quote === QuoteType.Double\n ? '\"'\n : quote === QuoteType.Single\n ? \"'\"\n : quote === QuoteType.NoValue\n ? undefined\n : null);\n if (this.attribs &&\n !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname)) {\n this.attribs[this.attribname] = this.attribvalue;\n }\n this.attribvalue = \"\";\n }\n getInstructionName(value) {\n const idx = value.search(reNameEnd);\n let name = idx < 0 ? value : value.substr(0, idx);\n if (this.lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n return name;\n }\n /** @internal */\n ondeclaration(start, endIndex) {\n this.endIndex = endIndex;\n const value = this.getSlice(start, endIndex);\n if (this.cbs.onprocessinginstruction) {\n const name = this.getInstructionName(value);\n this.cbs.onprocessinginstruction(`!${name}`, `!${value}`);\n }\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n onprocessinginstruction(start, endIndex) {\n this.endIndex = endIndex;\n const value = this.getSlice(start, endIndex);\n if (this.cbs.onprocessinginstruction) {\n const name = this.getInstructionName(value);\n this.cbs.onprocessinginstruction(`?${name}`, `?${value}`);\n }\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n oncomment(start, endIndex, offset) {\n var _a, _b, _c, _d;\n this.endIndex = endIndex;\n (_b = (_a = this.cbs).oncomment) === null || _b === void 0 ? void 0 : _b.call(_a, this.getSlice(start, endIndex - offset));\n (_d = (_c = this.cbs).oncommentend) === null || _d === void 0 ? void 0 : _d.call(_c);\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n oncdata(start, endIndex, offset) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;\n this.endIndex = endIndex;\n const value = this.getSlice(start, endIndex - offset);\n if (this.options.xmlMode || this.options.recognizeCDATA) {\n (_b = (_a = this.cbs).oncdatastart) === null || _b === void 0 ? void 0 : _b.call(_a);\n (_d = (_c = this.cbs).ontext) === null || _d === void 0 ? void 0 : _d.call(_c, value);\n (_f = (_e = this.cbs).oncdataend) === null || _f === void 0 ? void 0 : _f.call(_e);\n }\n else {\n (_h = (_g = this.cbs).oncomment) === null || _h === void 0 ? void 0 : _h.call(_g, `[CDATA[${value}]]`);\n (_k = (_j = this.cbs).oncommentend) === null || _k === void 0 ? void 0 : _k.call(_j);\n }\n // Set `startIndex` for next node\n this.startIndex = endIndex + 1;\n }\n /** @internal */\n onend() {\n var _a, _b;\n if (this.cbs.onclosetag) {\n // Set the end index for all remaining tags\n this.endIndex = this.startIndex;\n for (let i = this.stack.length; i > 0; this.cbs.onclosetag(this.stack[--i], true))\n ;\n }\n (_b = (_a = this.cbs).onend) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n /**\n * Resets the parser to a blank state, ready to parse a new HTML document\n */\n reset() {\n var _a, _b, _c, _d;\n (_b = (_a = this.cbs).onreset) === null || _b === void 0 ? void 0 : _b.call(_a);\n this.tokenizer.reset();\n this.tagname = \"\";\n this.attribname = \"\";\n this.attribs = null;\n this.stack.length = 0;\n this.startIndex = 0;\n this.endIndex = 0;\n (_d = (_c = this.cbs).onparserinit) === null || _d === void 0 ? void 0 : _d.call(_c, this);\n this.buffers.length = 0;\n this.bufferOffset = 0;\n this.writeIndex = 0;\n this.ended = false;\n }\n /**\n * Resets the parser, then parses a complete document and\n * pushes it to the handler.\n *\n * @param data Document to parse.\n */\n parseComplete(data) {\n this.reset();\n this.end(data);\n }\n getSlice(start, end) {\n while (start - this.bufferOffset >= this.buffers[0].length) {\n this.shiftBuffer();\n }\n let str = this.buffers[0].slice(start - this.bufferOffset, end - this.bufferOffset);\n while (end - this.bufferOffset > this.buffers[0].length) {\n this.shiftBuffer();\n str += this.buffers[0].slice(0, end - this.bufferOffset);\n }\n return str;\n }\n shiftBuffer() {\n this.bufferOffset += this.buffers[0].length;\n this.writeIndex--;\n this.buffers.shift();\n }\n /**\n * Parses a chunk of data and calls the corresponding callbacks.\n *\n * @param chunk Chunk to parse.\n */\n write(chunk) {\n var _a, _b;\n if (this.ended) {\n (_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, new Error(\".write() after done!\"));\n return;\n }\n this.buffers.push(chunk);\n if (this.tokenizer.running) {\n this.tokenizer.write(chunk);\n this.writeIndex++;\n }\n }\n /**\n * Parses the end of the buffer and clears the stack, calls onend.\n *\n * @param chunk Optional final chunk to parse.\n */\n end(chunk) {\n var _a, _b;\n if (this.ended) {\n (_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, Error(\".end() after done!\"));\n return;\n }\n if (chunk)\n this.write(chunk);\n this.ended = true;\n this.tokenizer.end();\n }\n /**\n * Pauses parsing. The parser won't emit events until `resume` is called.\n */\n pause() {\n this.tokenizer.pause();\n }\n /**\n * Resumes parsing after `pause` was called.\n */\n resume() {\n this.tokenizer.resume();\n while (this.tokenizer.running &&\n this.writeIndex < this.buffers.length) {\n this.tokenizer.write(this.buffers[this.writeIndex++]);\n }\n if (this.ended)\n this.tokenizer.end();\n }\n /**\n * Alias of `write`, for backwards compatibility.\n *\n * @param chunk Chunk to parse.\n * @deprecated\n */\n parseChunk(chunk) {\n this.write(chunk);\n }\n /**\n * Alias of `end`, for backwards compatibility.\n *\n * @param chunk Optional final chunk to parse.\n * @deprecated\n */\n done(chunk) {\n this.end(chunk);\n }\n}\n//# sourceMappingURL=Parser.js.map","\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports.bodyRegExps={xml:/&(?:#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g};exports.namedReferences={xml:{entities:{\"<\":\"<\",\">\":\">\",\""\":'\"',\"'\":\"'\",\"&\":\"&\"},characters:{\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"&\":\"&\"}},html4:{entities:{\"'\":\"'\",\" \":\" \",\" \":\" \",\"¡\":\"¡\",\"¡\":\"¡\",\"¢\":\"¢\",\"¢\":\"¢\",\"£\":\"£\",\"£\":\"£\",\"¤\":\"¤\",\"¤\":\"¤\",\"¥\":\"¥\",\"¥\":\"¥\",\"¦\":\"¦\",\"¦\":\"¦\",\"§\":\"§\",\"§\":\"§\",\"¨\":\"¨\",\"¨\":\"¨\",\"©\":\"©\",\"©\":\"©\",\"ª\":\"ª\",\"ª\":\"ª\",\"«\":\"«\",\"«\":\"«\",\"¬\":\"¬\",\"¬\":\"¬\",\"­\":\"­\",\"­\":\"­\",\"®\":\"®\",\"®\":\"®\",\"¯\":\"¯\",\"¯\":\"¯\",\"°\":\"°\",\"°\":\"°\",\"±\":\"±\",\"±\":\"±\",\"²\":\"²\",\"²\":\"²\",\"³\":\"³\",\"³\":\"³\",\"´\":\"´\",\"´\":\"´\",\"µ\":\"µ\",\"µ\":\"µ\",\"¶\":\"¶\",\"¶\":\"¶\",\"·\":\"·\",\"·\":\"·\",\"¸\":\"¸\",\"¸\":\"¸\",\"¹\":\"¹\",\"¹\":\"¹\",\"º\":\"º\",\"º\":\"º\",\"»\":\"»\",\"»\":\"»\",\"¼\":\"¼\",\"¼\":\"¼\",\"½\":\"½\",\"½\":\"½\",\"¾\":\"¾\",\"¾\":\"¾\",\"¿\":\"¿\",\"¿\":\"¿\",\"À\":\"À\",\"À\":\"À\",\"Á\":\"Á\",\"Á\":\"Á\",\"Â\":\"Â\",\"Â\":\"Â\",\"Ã\":\"Ã\",\"Ã\":\"Ã\",\"Ä\":\"Ä\",\"Ä\":\"Ä\",\"Å\":\"Å\",\"Å\":\"Å\",\"Æ\":\"Æ\",\"Æ\":\"Æ\",\"Ç\":\"Ç\",\"Ç\":\"Ç\",\"È\":\"È\",\"È\":\"È\",\"É\":\"É\",\"É\":\"É\",\"Ê\":\"Ê\",\"Ê\":\"Ê\",\"Ë\":\"Ë\",\"Ë\":\"Ë\",\"Ì\":\"Ì\",\"Ì\":\"Ì\",\"Í\":\"Í\",\"Í\":\"Í\",\"Î\":\"Î\",\"Î\":\"Î\",\"Ï\":\"Ï\",\"Ï\":\"Ï\",\"Ð\":\"Ð\",\"Ð\":\"Ð\",\"Ñ\":\"Ñ\",\"Ñ\":\"Ñ\",\"Ò\":\"Ò\",\"Ò\":\"Ò\",\"Ó\":\"Ó\",\"Ó\":\"Ó\",\"Ô\":\"Ô\",\"Ô\":\"Ô\",\"Õ\":\"Õ\",\"Õ\":\"Õ\",\"Ö\":\"Ö\",\"Ö\":\"Ö\",\"×\":\"×\",\"×\":\"×\",\"Ø\":\"Ø\",\"Ø\":\"Ø\",\"Ù\":\"Ù\",\"Ù\":\"Ù\",\"Ú\":\"Ú\",\"Ú\":\"Ú\",\"Û\":\"Û\",\"Û\":\"Û\",\"Ü\":\"Ü\",\"Ü\":\"Ü\",\"Ý\":\"Ý\",\"Ý\":\"Ý\",\"Þ\":\"Þ\",\"Þ\":\"Þ\",\"ß\":\"ß\",\"ß\":\"ß\",\"à\":\"à\",\"à\":\"à\",\"á\":\"á\",\"á\":\"á\",\"â\":\"â\",\"â\":\"â\",\"ã\":\"ã\",\"ã\":\"ã\",\"ä\":\"ä\",\"ä\":\"ä\",\"å\":\"å\",\"å\":\"å\",\"æ\":\"æ\",\"æ\":\"æ\",\"ç\":\"ç\",\"ç\":\"ç\",\"è\":\"è\",\"è\":\"è\",\"é\":\"é\",\"é\":\"é\",\"ê\":\"ê\",\"ê\":\"ê\",\"ë\":\"ë\",\"ë\":\"ë\",\"ì\":\"ì\",\"ì\":\"ì\",\"í\":\"í\",\"í\":\"í\",\"î\":\"î\",\"î\":\"î\",\"ï\":\"ï\",\"ï\":\"ï\",\"ð\":\"ð\",\"ð\":\"ð\",\"ñ\":\"ñ\",\"ñ\":\"ñ\",\"ò\":\"ò\",\"ò\":\"ò\",\"ó\":\"ó\",\"ó\":\"ó\",\"ô\":\"ô\",\"ô\":\"ô\",\"õ\":\"õ\",\"õ\":\"õ\",\"ö\":\"ö\",\"ö\":\"ö\",\"÷\":\"÷\",\"÷\":\"÷\",\"ø\":\"ø\",\"ø\":\"ø\",\"ù\":\"ù\",\"ù\":\"ù\",\"ú\":\"ú\",\"ú\":\"ú\",\"û\":\"û\",\"û\":\"û\",\"ü\":\"ü\",\"ü\":\"ü\",\"ý\":\"ý\",\"ý\":\"ý\",\"þ\":\"þ\",\"þ\":\"þ\",\"ÿ\":\"ÿ\",\"ÿ\":\"ÿ\",\""\":'\"',\""\":'\"',\"&\":\"&\",\"&\":\"&\",\"<\":\"<\",\"<\":\"<\",\">\":\">\",\">\":\">\",\"Œ\":\"Œ\",\"œ\":\"œ\",\"Š\":\"Š\",\"š\":\"š\",\"Ÿ\":\"Ÿ\",\"ˆ\":\"ˆ\",\"˜\":\"˜\",\" \":\" \",\" \":\" \",\" \":\" \",\"‌\":\"‌\",\"‍\":\"‍\",\"‎\":\"‎\",\"‏\":\"‏\",\"–\":\"–\",\"—\":\"—\",\"‘\":\"‘\",\"’\":\"’\",\"‚\":\"‚\",\"“\":\"“\",\"”\":\"”\",\"„\":\"„\",\"†\":\"†\",\"‡\":\"‡\",\"‰\":\"‰\",\"‹\":\"‹\",\"›\":\"›\",\"€\":\"€\",\"ƒ\":\"ƒ\",\"Α\":\"Α\",\"Β\":\"Β\",\"Γ\":\"Γ\",\"Δ\":\"Δ\",\"Ε\":\"Ε\",\"Ζ\":\"Ζ\",\"Η\":\"Η\",\"Θ\":\"Θ\",\"Ι\":\"Ι\",\"Κ\":\"Κ\",\"Λ\":\"Λ\",\"Μ\":\"Μ\",\"Ν\":\"Ν\",\"Ξ\":\"Ξ\",\"Ο\":\"Ο\",\"Π\":\"Π\",\"Ρ\":\"Ρ\",\"Σ\":\"Σ\",\"Τ\":\"Τ\",\"Υ\":\"Υ\",\"Φ\":\"Φ\",\"Χ\":\"Χ\",\"Ψ\":\"Ψ\",\"Ω\":\"Ω\",\"α\":\"α\",\"β\":\"β\",\"γ\":\"γ\",\"δ\":\"δ\",\"ε\":\"ε\",\"ζ\":\"ζ\",\"η\":\"η\",\"θ\":\"θ\",\"ι\":\"ι\",\"κ\":\"κ\",\"λ\":\"λ\",\"μ\":\"μ\",\"ν\":\"ν\",\"ξ\":\"ξ\",\"ο\":\"ο\",\"π\":\"π\",\"ρ\":\"ρ\",\"ς\":\"ς\",\"σ\":\"σ\",\"τ\":\"τ\",\"υ\":\"υ\",\"φ\":\"φ\",\"χ\":\"χ\",\"ψ\":\"ψ\",\"ω\":\"ω\",\"ϑ\":\"ϑ\",\"ϒ\":\"ϒ\",\"ϖ\":\"ϖ\",\"•\":\"•\",\"…\":\"…\",\"′\":\"′\",\"″\":\"″\",\"‾\":\"‾\",\"⁄\":\"⁄\",\"℘\":\"℘\",\"ℑ\":\"ℑ\",\"ℜ\":\"ℜ\",\"™\":\"™\",\"ℵ\":\"ℵ\",\"←\":\"←\",\"↑\":\"↑\",\"→\":\"→\",\"↓\":\"↓\",\"↔\":\"↔\",\"↵\":\"↵\",\"⇐\":\"⇐\",\"⇑\":\"⇑\",\"⇒\":\"⇒\",\"⇓\":\"⇓\",\"⇔\":\"⇔\",\"∀\":\"∀\",\"∂\":\"∂\",\"∃\":\"∃\",\"∅\":\"∅\",\"∇\":\"∇\",\"∈\":\"∈\",\"∉\":\"∉\",\"∋\":\"∋\",\"∏\":\"∏\",\"∑\":\"∑\",\"−\":\"−\",\"∗\":\"∗\",\"√\":\"√\",\"∝\":\"∝\",\"∞\":\"∞\",\"∠\":\"∠\",\"∧\":\"∧\",\"∨\":\"∨\",\"∩\":\"∩\",\"∪\":\"∪\",\"∫\":\"∫\",\"∴\":\"∴\",\"∼\":\"∼\",\"≅\":\"≅\",\"≈\":\"≈\",\"≠\":\"≠\",\"≡\":\"≡\",\"≤\":\"≤\",\"≥\":\"≥\",\"⊂\":\"⊂\",\"⊃\":\"⊃\",\"⊄\":\"⊄\",\"⊆\":\"⊆\",\"⊇\":\"⊇\",\"⊕\":\"⊕\",\"⊗\":\"⊗\",\"⊥\":\"⊥\",\"⋅\":\"⋅\",\"⌈\":\"⌈\",\"⌉\":\"⌉\",\"⌊\":\"⌊\",\"⌋\":\"⌋\",\"⟨\":\"〈\",\"⟩\":\"〉\",\"◊\":\"◊\",\"♠\":\"♠\",\"♣\":\"♣\",\"♥\":\"♥\",\"♦\":\"♦\"},characters:{\"'\":\"'\",\" \":\" \",\"¡\":\"¡\",\"¢\":\"¢\",\"£\":\"£\",\"¤\":\"¤\",\"¥\":\"¥\",\"¦\":\"¦\",\"§\":\"§\",\"¨\":\"¨\",\"©\":\"©\",\"ª\":\"ª\",\"«\":\"«\",\"¬\":\"¬\",\"­\":\"­\",\"®\":\"®\",\"¯\":\"¯\",\"°\":\"°\",\"±\":\"±\",\"²\":\"²\",\"³\":\"³\",\"´\":\"´\",\"µ\":\"µ\",\"¶\":\"¶\",\"·\":\"·\",\"¸\":\"¸\",\"¹\":\"¹\",\"º\":\"º\",\"»\":\"»\",\"¼\":\"¼\",\"½\":\"½\",\"¾\":\"¾\",\"¿\":\"¿\",\"À\":\"À\",\"Á\":\"Á\",\"Â\":\"Â\",\"Ã\":\"Ã\",\"Ä\":\"Ä\",\"Å\":\"Å\",\"Æ\":\"Æ\",\"Ç\":\"Ç\",\"È\":\"È\",\"É\":\"É\",\"Ê\":\"Ê\",\"Ë\":\"Ë\",\"Ì\":\"Ì\",\"Í\":\"Í\",\"Î\":\"Î\",\"Ï\":\"Ï\",\"Ð\":\"Ð\",\"Ñ\":\"Ñ\",\"Ò\":\"Ò\",\"Ó\":\"Ó\",\"Ô\":\"Ô\",\"Õ\":\"Õ\",\"Ö\":\"Ö\",\"×\":\"×\",\"Ø\":\"Ø\",\"Ù\":\"Ù\",\"Ú\":\"Ú\",\"Û\":\"Û\",\"Ü\":\"Ü\",\"Ý\":\"Ý\",\"Þ\":\"Þ\",\"ß\":\"ß\",\"à\":\"à\",\"á\":\"á\",\"â\":\"â\",\"ã\":\"ã\",\"ä\":\"ä\",\"å\":\"å\",\"æ\":\"æ\",\"ç\":\"ç\",\"è\":\"è\",\"é\":\"é\",\"ê\":\"ê\",\"ë\":\"ë\",\"ì\":\"ì\",\"í\":\"í\",\"î\":\"î\",\"ï\":\"ï\",\"ð\":\"ð\",\"ñ\":\"ñ\",\"ò\":\"ò\",\"ó\":\"ó\",\"ô\":\"ô\",\"õ\":\"õ\",\"ö\":\"ö\",\"÷\":\"÷\",\"ø\":\"ø\",\"ù\":\"ù\",\"ú\":\"ú\",\"û\":\"û\",\"ü\":\"ü\",\"ý\":\"ý\",\"þ\":\"þ\",\"ÿ\":\"ÿ\",'\"':\""\",\"&\":\"&\",\"<\":\"<\",\">\":\">\",\"Œ\":\"Œ\",\"œ\":\"œ\",\"Š\":\"Š\",\"š\":\"š\",\"Ÿ\":\"Ÿ\",\"ˆ\":\"ˆ\",\"˜\":\"˜\",\" \":\" \",\" \":\" \",\" \":\" \",\"‌\":\"‌\",\"‍\":\"‍\",\"‎\":\"‎\",\"‏\":\"‏\",\"–\":\"–\",\"—\":\"—\",\"‘\":\"‘\",\"’\":\"’\",\"‚\":\"‚\",\"“\":\"“\",\"”\":\"”\",\"„\":\"„\",\"†\":\"†\",\"‡\":\"‡\",\"‰\":\"‰\",\"‹\":\"‹\",\"›\":\"›\",\"€\":\"€\",\"ƒ\":\"ƒ\",\"Α\":\"Α\",\"Β\":\"Β\",\"Γ\":\"Γ\",\"Δ\":\"Δ\",\"Ε\":\"Ε\",\"Ζ\":\"Ζ\",\"Η\":\"Η\",\"Θ\":\"Θ\",\"Ι\":\"Ι\",\"Κ\":\"Κ\",\"Λ\":\"Λ\",\"Μ\":\"Μ\",\"Ν\":\"Ν\",\"Ξ\":\"Ξ\",\"Ο\":\"Ο\",\"Π\":\"Π\",\"Ρ\":\"Ρ\",\"Σ\":\"Σ\",\"Τ\":\"Τ\",\"Υ\":\"Υ\",\"Φ\":\"Φ\",\"Χ\":\"Χ\",\"Ψ\":\"Ψ\",\"Ω\":\"Ω\",\"α\":\"α\",\"β\":\"β\",\"γ\":\"γ\",\"δ\":\"δ\",\"ε\":\"ε\",\"ζ\":\"ζ\",\"η\":\"η\",\"θ\":\"θ\",\"ι\":\"ι\",\"κ\":\"κ\",\"λ\":\"λ\",\"μ\":\"μ\",\"ν\":\"ν\",\"ξ\":\"ξ\",\"ο\":\"ο\",\"π\":\"π\",\"ρ\":\"ρ\",\"ς\":\"ς\",\"σ\":\"σ\",\"τ\":\"τ\",\"υ\":\"υ\",\"φ\":\"φ\",\"χ\":\"χ\",\"ψ\":\"ψ\",\"ω\":\"ω\",\"ϑ\":\"ϑ\",\"ϒ\":\"ϒ\",\"ϖ\":\"ϖ\",\"•\":\"•\",\"…\":\"…\",\"′\":\"′\",\"″\":\"″\",\"‾\":\"‾\",\"⁄\":\"⁄\",\"℘\":\"℘\",\"ℑ\":\"ℑ\",\"ℜ\":\"ℜ\",\"™\":\"™\",\"ℵ\":\"ℵ\",\"←\":\"←\",\"↑\":\"↑\",\"→\":\"→\",\"↓\":\"↓\",\"↔\":\"↔\",\"↵\":\"↵\",\"⇐\":\"⇐\",\"⇑\":\"⇑\",\"⇒\":\"⇒\",\"⇓\":\"⇓\",\"⇔\":\"⇔\",\"∀\":\"∀\",\"∂\":\"∂\",\"∃\":\"∃\",\"∅\":\"∅\",\"∇\":\"∇\",\"∈\":\"∈\",\"∉\":\"∉\",\"∋\":\"∋\",\"∏\":\"∏\",\"∑\":\"∑\",\"−\":\"−\",\"∗\":\"∗\",\"√\":\"√\",\"∝\":\"∝\",\"∞\":\"∞\",\"∠\":\"∠\",\"∧\":\"∧\",\"∨\":\"∨\",\"∩\":\"∩\",\"∪\":\"∪\",\"∫\":\"∫\",\"∴\":\"∴\",\"∼\":\"∼\",\"≅\":\"≅\",\"≈\":\"≈\",\"≠\":\"≠\",\"≡\":\"≡\",\"≤\":\"≤\",\"≥\":\"≥\",\"⊂\":\"⊂\",\"⊃\":\"⊃\",\"⊄\":\"⊄\",\"⊆\":\"⊆\",\"⊇\":\"⊇\",\"⊕\":\"⊕\",\"⊗\":\"⊗\",\"⊥\":\"⊥\",\"⋅\":\"⋅\",\"⌈\":\"⌈\",\"⌉\":\"⌉\",\"⌊\":\"⌊\",\"⌋\":\"⌋\",\"〈\":\"⟨\",\"〉\":\"⟩\",\"◊\":\"◊\",\"♠\":\"♠\",\"♣\":\"♣\",\"♥\":\"♥\",\"♦\":\"♦\"}},html5:{entities:{\"Æ\":\"Æ\",\"Æ\":\"Æ\",\"&\":\"&\",\"&\":\"&\",\"Á\":\"Á\",\"Á\":\"Á\",\"Ă\":\"Ă\",\"Â\":\"Â\",\"Â\":\"Â\",\"А\":\"А\",\"𝔄\":\"𝔄\",\"À\":\"À\",\"À\":\"À\",\"Α\":\"Α\",\"Ā\":\"Ā\",\"⩓\":\"⩓\",\"Ą\":\"Ą\",\"𝔸\":\"𝔸\",\"⁡\":\"⁡\",\"Å\":\"Å\",\"Å\":\"Å\",\"𝒜\":\"𝒜\",\"≔\":\"≔\",\"Ã\":\"Ã\",\"Ã\":\"Ã\",\"Ä\":\"Ä\",\"Ä\":\"Ä\",\"∖\":\"∖\",\"⫧\":\"⫧\",\"⌆\":\"⌆\",\"Б\":\"Б\",\"∵\":\"∵\",\"ℬ\":\"ℬ\",\"Β\":\"Β\",\"𝔅\":\"𝔅\",\"𝔹\":\"𝔹\",\"˘\":\"˘\",\"ℬ\":\"ℬ\",\"≎\":\"≎\",\"Ч\":\"Ч\",\"©\":\"©\",\"©\":\"©\",\"Ć\":\"Ć\",\"⋒\":\"⋒\",\"ⅅ\":\"ⅅ\",\"ℭ\":\"ℭ\",\"Č\":\"Č\",\"Ç\":\"Ç\",\"Ç\":\"Ç\",\"Ĉ\":\"Ĉ\",\"∰\":\"∰\",\"Ċ\":\"Ċ\",\"¸\":\"¸\",\"·\":\"·\",\"ℭ\":\"ℭ\",\"Χ\":\"Χ\",\"⊙\":\"⊙\",\"⊖\":\"⊖\",\"⊕\":\"⊕\",\"⊗\":\"⊗\",\"∲\":\"∲\",\"”\":\"”\",\"’\":\"’\",\"∷\":\"∷\",\"⩴\":\"⩴\",\"≡\":\"≡\",\"∯\":\"∯\",\"∮\":\"∮\",\"ℂ\":\"ℂ\",\"∐\":\"∐\",\"∳\":\"∳\",\"⨯\":\"⨯\",\"𝒞\":\"𝒞\",\"⋓\":\"⋓\",\"≍\":\"≍\",\"ⅅ\":\"ⅅ\",\"⤑\":\"⤑\",\"Ђ\":\"Ђ\",\"Ѕ\":\"Ѕ\",\"Џ\":\"Џ\",\"‡\":\"‡\",\"↡\":\"↡\",\"⫤\":\"⫤\",\"Ď\":\"Ď\",\"Д\":\"Д\",\"∇\":\"∇\",\"Δ\":\"Δ\",\"𝔇\":\"𝔇\",\"´\":\"´\",\"˙\":\"˙\",\"˝\":\"˝\",\"`\":\"`\",\"˜\":\"˜\",\"⋄\":\"⋄\",\"ⅆ\":\"ⅆ\",\"𝔻\":\"𝔻\",\"¨\":\"¨\",\"⃜\":\"⃜\",\"≐\":\"≐\",\"∯\":\"∯\",\"¨\":\"¨\",\"⇓\":\"⇓\",\"⇐\":\"⇐\",\"⇔\":\"⇔\",\"⫤\":\"⫤\",\"⟸\":\"⟸\",\"⟺\":\"⟺\",\"⟹\":\"⟹\",\"⇒\":\"⇒\",\"⊨\":\"⊨\",\"⇑\":\"⇑\",\"⇕\":\"⇕\",\"∥\":\"∥\",\"↓\":\"↓\",\"⤓\":\"⤓\",\"⇵\":\"⇵\",\"̑\":\"̑\",\"⥐\":\"⥐\",\"⥞\":\"⥞\",\"↽\":\"↽\",\"⥖\":\"⥖\",\"⥟\":\"⥟\",\"⇁\":\"⇁\",\"⥗\":\"⥗\",\"⊤\":\"⊤\",\"↧\":\"↧\",\"⇓\":\"⇓\",\"𝒟\":\"𝒟\",\"Đ\":\"Đ\",\"Ŋ\":\"Ŋ\",\"Ð\":\"Ð\",\"Ð\":\"Ð\",\"É\":\"É\",\"É\":\"É\",\"Ě\":\"Ě\",\"Ê\":\"Ê\",\"Ê\":\"Ê\",\"Э\":\"Э\",\"Ė\":\"Ė\",\"𝔈\":\"𝔈\",\"È\":\"È\",\"È\":\"È\",\"∈\":\"∈\",\"Ē\":\"Ē\",\"◻\":\"◻\",\"▫\":\"▫\",\"Ę\":\"Ę\",\"𝔼\":\"𝔼\",\"Ε\":\"Ε\",\"⩵\":\"⩵\",\"≂\":\"≂\",\"⇌\":\"⇌\",\"ℰ\":\"ℰ\",\"⩳\":\"⩳\",\"Η\":\"Η\",\"Ë\":\"Ë\",\"Ë\":\"Ë\",\"∃\":\"∃\",\"ⅇ\":\"ⅇ\",\"Ф\":\"Ф\",\"𝔉\":\"𝔉\",\"◼\":\"◼\",\"▪\":\"▪\",\"𝔽\":\"𝔽\",\"∀\":\"∀\",\"ℱ\":\"ℱ\",\"ℱ\":\"ℱ\",\"Ѓ\":\"Ѓ\",\">\":\">\",\">\":\">\",\"Γ\":\"Γ\",\"Ϝ\":\"Ϝ\",\"Ğ\":\"Ğ\",\"Ģ\":\"Ģ\",\"Ĝ\":\"Ĝ\",\"Г\":\"Г\",\"Ġ\":\"Ġ\",\"𝔊\":\"𝔊\",\"⋙\":\"⋙\",\"𝔾\":\"𝔾\",\"≥\":\"≥\",\"⋛\":\"⋛\",\"≧\":\"≧\",\"⪢\":\"⪢\",\"≷\":\"≷\",\"⩾\":\"⩾\",\"≳\":\"≳\",\"𝒢\":\"𝒢\",\"≫\":\"≫\",\"Ъ\":\"Ъ\",\"ˇ\":\"ˇ\",\"^\":\"^\",\"Ĥ\":\"Ĥ\",\"ℌ\":\"ℌ\",\"ℋ\":\"ℋ\",\"ℍ\":\"ℍ\",\"─\":\"─\",\"ℋ\":\"ℋ\",\"Ħ\":\"Ħ\",\"≎\":\"≎\",\"≏\":\"≏\",\"Е\":\"Е\",\"IJ\":\"IJ\",\"Ё\":\"Ё\",\"Í\":\"Í\",\"Í\":\"Í\",\"Î\":\"Î\",\"Î\":\"Î\",\"И\":\"И\",\"İ\":\"İ\",\"ℑ\":\"ℑ\",\"Ì\":\"Ì\",\"Ì\":\"Ì\",\"ℑ\":\"ℑ\",\"Ī\":\"Ī\",\"ⅈ\":\"ⅈ\",\"⇒\":\"⇒\",\"∬\":\"∬\",\"∫\":\"∫\",\"⋂\":\"⋂\",\"⁣\":\"⁣\",\"⁢\":\"⁢\",\"Į\":\"Į\",\"𝕀\":\"𝕀\",\"Ι\":\"Ι\",\"ℐ\":\"ℐ\",\"Ĩ\":\"Ĩ\",\"І\":\"І\",\"Ï\":\"Ï\",\"Ï\":\"Ï\",\"Ĵ\":\"Ĵ\",\"Й\":\"Й\",\"𝔍\":\"𝔍\",\"𝕁\":\"𝕁\",\"𝒥\":\"𝒥\",\"Ј\":\"Ј\",\"Є\":\"Є\",\"Х\":\"Х\",\"Ќ\":\"Ќ\",\"Κ\":\"Κ\",\"Ķ\":\"Ķ\",\"К\":\"К\",\"𝔎\":\"𝔎\",\"𝕂\":\"𝕂\",\"𝒦\":\"𝒦\",\"Љ\":\"Љ\",\"<\":\"<\",\"<\":\"<\",\"Ĺ\":\"Ĺ\",\"Λ\":\"Λ\",\"⟪\":\"⟪\",\"ℒ\":\"ℒ\",\"↞\":\"↞\",\"Ľ\":\"Ľ\",\"Ļ\":\"Ļ\",\"Л\":\"Л\",\"⟨\":\"⟨\",\"←\":\"←\",\"⇤\":\"⇤\",\"⇆\":\"⇆\",\"⌈\":\"⌈\",\"⟦\":\"⟦\",\"⥡\":\"⥡\",\"⇃\":\"⇃\",\"⥙\":\"⥙\",\"⌊\":\"⌊\",\"↔\":\"↔\",\"⥎\":\"⥎\",\"⊣\":\"⊣\",\"↤\":\"↤\",\"⥚\":\"⥚\",\"⊲\":\"⊲\",\"⧏\":\"⧏\",\"⊴\":\"⊴\",\"⥑\":\"⥑\",\"⥠\":\"⥠\",\"↿\":\"↿\",\"⥘\":\"⥘\",\"↼\":\"↼\",\"⥒\":\"⥒\",\"⇐\":\"⇐\",\"⇔\":\"⇔\",\"⋚\":\"⋚\",\"≦\":\"≦\",\"≶\":\"≶\",\"⪡\":\"⪡\",\"⩽\":\"⩽\",\"≲\":\"≲\",\"𝔏\":\"𝔏\",\"⋘\":\"⋘\",\"⇚\":\"⇚\",\"Ŀ\":\"Ŀ\",\"⟵\":\"⟵\",\"⟷\":\"⟷\",\"⟶\":\"⟶\",\"⟸\":\"⟸\",\"⟺\":\"⟺\",\"⟹\":\"⟹\",\"𝕃\":\"𝕃\",\"↙\":\"↙\",\"↘\":\"↘\",\"ℒ\":\"ℒ\",\"↰\":\"↰\",\"Ł\":\"Ł\",\"≪\":\"≪\",\"⤅\":\"⤅\",\"М\":\"М\",\" \":\" \",\"ℳ\":\"ℳ\",\"𝔐\":\"𝔐\",\"∓\":\"∓\",\"𝕄\":\"𝕄\",\"ℳ\":\"ℳ\",\"Μ\":\"Μ\",\"Њ\":\"Њ\",\"Ń\":\"Ń\",\"Ň\":\"Ň\",\"Ņ\":\"Ņ\",\"Н\":\"Н\",\"​\":\"​\",\"​\":\"​\",\"​\":\"​\",\"​\":\"​\",\"≫\":\"≫\",\"≪\":\"≪\",\" \":\"\\n\",\"𝔑\":\"𝔑\",\"⁠\":\"⁠\",\" \":\" \",\"ℕ\":\"ℕ\",\"⫬\":\"⫬\",\"≢\":\"≢\",\"≭\":\"≭\",\"∦\":\"∦\",\"∉\":\"∉\",\"≠\":\"≠\",\"≂̸\":\"≂̸\",\"∄\":\"∄\",\"≯\":\"≯\",\"≱\":\"≱\",\"≧̸\":\"≧̸\",\"≫̸\":\"≫̸\",\"≹\":\"≹\",\"⩾̸\":\"⩾̸\",\"≵\":\"≵\",\"≎̸\":\"≎̸\",\"≏̸\":\"≏̸\",\"⋪\":\"⋪\",\"⧏̸\":\"⧏̸\",\"⋬\":\"⋬\",\"≮\":\"≮\",\"≰\":\"≰\",\"≸\":\"≸\",\"≪̸\":\"≪̸\",\"⩽̸\":\"⩽̸\",\"≴\":\"≴\",\"⪢̸\":\"⪢̸\",\"⪡̸\":\"⪡̸\",\"⊀\":\"⊀\",\"⪯̸\":\"⪯̸\",\"⋠\":\"⋠\",\"∌\":\"∌\",\"⋫\":\"⋫\",\"⧐̸\":\"⧐̸\",\"⋭\":\"⋭\",\"⊏̸\":\"⊏̸\",\"⋢\":\"⋢\",\"⊐̸\":\"⊐̸\",\"⋣\":\"⋣\",\"⊂⃒\":\"⊂⃒\",\"⊈\":\"⊈\",\"⊁\":\"⊁\",\"⪰̸\":\"⪰̸\",\"⋡\":\"⋡\",\"≿̸\":\"≿̸\",\"⊃⃒\":\"⊃⃒\",\"⊉\":\"⊉\",\"≁\":\"≁\",\"≄\":\"≄\",\"≇\":\"≇\",\"≉\":\"≉\",\"∤\":\"∤\",\"𝒩\":\"𝒩\",\"Ñ\":\"Ñ\",\"Ñ\":\"Ñ\",\"Ν\":\"Ν\",\"Œ\":\"Œ\",\"Ó\":\"Ó\",\"Ó\":\"Ó\",\"Ô\":\"Ô\",\"Ô\":\"Ô\",\"О\":\"О\",\"Ő\":\"Ő\",\"𝔒\":\"𝔒\",\"Ò\":\"Ò\",\"Ò\":\"Ò\",\"Ō\":\"Ō\",\"Ω\":\"Ω\",\"Ο\":\"Ο\",\"𝕆\":\"𝕆\",\"“\":\"“\",\"‘\":\"‘\",\"⩔\":\"⩔\",\"𝒪\":\"𝒪\",\"Ø\":\"Ø\",\"Ø\":\"Ø\",\"Õ\":\"Õ\",\"Õ\":\"Õ\",\"⨷\":\"⨷\",\"Ö\":\"Ö\",\"Ö\":\"Ö\",\"‾\":\"‾\",\"⏞\":\"⏞\",\"⎴\":\"⎴\",\"⏜\":\"⏜\",\"∂\":\"∂\",\"П\":\"П\",\"𝔓\":\"𝔓\",\"Φ\":\"Φ\",\"Π\":\"Π\",\"±\":\"±\",\"ℌ\":\"ℌ\",\"ℙ\":\"ℙ\",\"⪻\":\"⪻\",\"≺\":\"≺\",\"⪯\":\"⪯\",\"≼\":\"≼\",\"≾\":\"≾\",\"″\":\"″\",\"∏\":\"∏\",\"∷\":\"∷\",\"∝\":\"∝\",\"𝒫\":\"𝒫\",\"Ψ\":\"Ψ\",\""\":'\"',\""\":'\"',\"𝔔\":\"𝔔\",\"ℚ\":\"ℚ\",\"𝒬\":\"𝒬\",\"⤐\":\"⤐\",\"®\":\"®\",\"®\":\"®\",\"Ŕ\":\"Ŕ\",\"⟫\":\"⟫\",\"↠\":\"↠\",\"⤖\":\"⤖\",\"Ř\":\"Ř\",\"Ŗ\":\"Ŗ\",\"Р\":\"Р\",\"ℜ\":\"ℜ\",\"∋\":\"∋\",\"⇋\":\"⇋\",\"⥯\":\"⥯\",\"ℜ\":\"ℜ\",\"Ρ\":\"Ρ\",\"⟩\":\"⟩\",\"→\":\"→\",\"⇥\":\"⇥\",\"⇄\":\"⇄\",\"⌉\":\"⌉\",\"⟧\":\"⟧\",\"⥝\":\"⥝\",\"⇂\":\"⇂\",\"⥕\":\"⥕\",\"⌋\":\"⌋\",\"⊢\":\"⊢\",\"↦\":\"↦\",\"⥛\":\"⥛\",\"⊳\":\"⊳\",\"⧐\":\"⧐\",\"⊵\":\"⊵\",\"⥏\":\"⥏\",\"⥜\":\"⥜\",\"↾\":\"↾\",\"⥔\":\"⥔\",\"⇀\":\"⇀\",\"⥓\":\"⥓\",\"⇒\":\"⇒\",\"ℝ\":\"ℝ\",\"⥰\":\"⥰\",\"⇛\":\"⇛\",\"ℛ\":\"ℛ\",\"↱\":\"↱\",\"⧴\":\"⧴\",\"Щ\":\"Щ\",\"Ш\":\"Ш\",\"Ь\":\"Ь\",\"Ś\":\"Ś\",\"⪼\":\"⪼\",\"Š\":\"Š\",\"Ş\":\"Ş\",\"Ŝ\":\"Ŝ\",\"С\":\"С\",\"𝔖\":\"𝔖\",\"↓\":\"↓\",\"←\":\"←\",\"→\":\"→\",\"↑\":\"↑\",\"Σ\":\"Σ\",\"∘\":\"∘\",\"𝕊\":\"𝕊\",\"√\":\"√\",\"□\":\"□\",\"⊓\":\"⊓\",\"⊏\":\"⊏\",\"⊑\":\"⊑\",\"⊐\":\"⊐\",\"⊒\":\"⊒\",\"⊔\":\"⊔\",\"𝒮\":\"𝒮\",\"⋆\":\"⋆\",\"⋐\":\"⋐\",\"⋐\":\"⋐\",\"⊆\":\"⊆\",\"≻\":\"≻\",\"⪰\":\"⪰\",\"≽\":\"≽\",\"≿\":\"≿\",\"∋\":\"∋\",\"∑\":\"∑\",\"⋑\":\"⋑\",\"⊃\":\"⊃\",\"⊇\":\"⊇\",\"⋑\":\"⋑\",\"Þ\":\"Þ\",\"Þ\":\"Þ\",\"™\":\"™\",\"Ћ\":\"Ћ\",\"Ц\":\"Ц\",\" \":\"\\t\",\"Τ\":\"Τ\",\"Ť\":\"Ť\",\"Ţ\":\"Ţ\",\"Т\":\"Т\",\"𝔗\":\"𝔗\",\"∴\":\"∴\",\"Θ\":\"Θ\",\"  \":\"  \",\" \":\" \",\"∼\":\"∼\",\"≃\":\"≃\",\"≅\":\"≅\",\"≈\":\"≈\",\"𝕋\":\"𝕋\",\"⃛\":\"⃛\",\"𝒯\":\"𝒯\",\"Ŧ\":\"Ŧ\",\"Ú\":\"Ú\",\"Ú\":\"Ú\",\"↟\":\"↟\",\"⥉\":\"⥉\",\"Ў\":\"Ў\",\"Ŭ\":\"Ŭ\",\"Û\":\"Û\",\"Û\":\"Û\",\"У\":\"У\",\"Ű\":\"Ű\",\"𝔘\":\"𝔘\",\"Ù\":\"Ù\",\"Ù\":\"Ù\",\"Ū\":\"Ū\",\"_\":\"_\",\"⏟\":\"⏟\",\"⎵\":\"⎵\",\"⏝\":\"⏝\",\"⋃\":\"⋃\",\"⊎\":\"⊎\",\"Ų\":\"Ų\",\"𝕌\":\"𝕌\",\"↑\":\"↑\",\"⤒\":\"⤒\",\"⇅\":\"⇅\",\"↕\":\"↕\",\"⥮\":\"⥮\",\"⊥\":\"⊥\",\"↥\":\"↥\",\"⇑\":\"⇑\",\"⇕\":\"⇕\",\"↖\":\"↖\",\"↗\":\"↗\",\"ϒ\":\"ϒ\",\"Υ\":\"Υ\",\"Ů\":\"Ů\",\"𝒰\":\"𝒰\",\"Ũ\":\"Ũ\",\"Ü\":\"Ü\",\"Ü\":\"Ü\",\"⊫\":\"⊫\",\"⫫\":\"⫫\",\"В\":\"В\",\"⊩\":\"⊩\",\"⫦\":\"⫦\",\"⋁\":\"⋁\",\"‖\":\"‖\",\"‖\":\"‖\",\"∣\":\"∣\",\"|\":\"|\",\"❘\":\"❘\",\"≀\":\"≀\",\" \":\" \",\"𝔙\":\"𝔙\",\"𝕍\":\"𝕍\",\"𝒱\":\"𝒱\",\"⊪\":\"⊪\",\"Ŵ\":\"Ŵ\",\"⋀\":\"⋀\",\"𝔚\":\"𝔚\",\"𝕎\":\"𝕎\",\"𝒲\":\"𝒲\",\"𝔛\":\"𝔛\",\"Ξ\":\"Ξ\",\"𝕏\":\"𝕏\",\"𝒳\":\"𝒳\",\"Я\":\"Я\",\"Ї\":\"Ї\",\"Ю\":\"Ю\",\"Ý\":\"Ý\",\"Ý\":\"Ý\",\"Ŷ\":\"Ŷ\",\"Ы\":\"Ы\",\"𝔜\":\"𝔜\",\"𝕐\":\"𝕐\",\"𝒴\":\"𝒴\",\"Ÿ\":\"Ÿ\",\"Ж\":\"Ж\",\"Ź\":\"Ź\",\"Ž\":\"Ž\",\"З\":\"З\",\"Ż\":\"Ż\",\"​\":\"​\",\"Ζ\":\"Ζ\",\"ℨ\":\"ℨ\",\"ℤ\":\"ℤ\",\"𝒵\":\"𝒵\",\"á\":\"á\",\"á\":\"á\",\"ă\":\"ă\",\"∾\":\"∾\",\"∾̳\":\"∾̳\",\"∿\":\"∿\",\"â\":\"â\",\"â\":\"â\",\"´\":\"´\",\"´\":\"´\",\"а\":\"а\",\"æ\":\"æ\",\"æ\":\"æ\",\"⁡\":\"⁡\",\"𝔞\":\"𝔞\",\"à\":\"à\",\"à\":\"à\",\"ℵ\":\"ℵ\",\"ℵ\":\"ℵ\",\"α\":\"α\",\"ā\":\"ā\",\"⨿\":\"⨿\",\"&\":\"&\",\"&\":\"&\",\"∧\":\"∧\",\"⩕\":\"⩕\",\"⩜\":\"⩜\",\"⩘\":\"⩘\",\"⩚\":\"⩚\",\"∠\":\"∠\",\"⦤\":\"⦤\",\"∠\":\"∠\",\"∡\":\"∡\",\"⦨\":\"⦨\",\"⦩\":\"⦩\",\"⦪\":\"⦪\",\"⦫\":\"⦫\",\"⦬\":\"⦬\",\"⦭\":\"⦭\",\"⦮\":\"⦮\",\"⦯\":\"⦯\",\"∟\":\"∟\",\"⊾\":\"⊾\",\"⦝\":\"⦝\",\"∢\":\"∢\",\"Å\":\"Å\",\"⍼\":\"⍼\",\"ą\":\"ą\",\"𝕒\":\"𝕒\",\"≈\":\"≈\",\"⩰\":\"⩰\",\"⩯\":\"⩯\",\"≊\":\"≊\",\"≋\":\"≋\",\"'\":\"'\",\"≈\":\"≈\",\"≊\":\"≊\",\"å\":\"å\",\"å\":\"å\",\"𝒶\":\"𝒶\",\"*\":\"*\",\"≈\":\"≈\",\"≍\":\"≍\",\"ã\":\"ã\",\"ã\":\"ã\",\"ä\":\"ä\",\"ä\":\"ä\",\"∳\":\"∳\",\"⨑\":\"⨑\",\"⫭\":\"⫭\",\"≌\":\"≌\",\"϶\":\"϶\",\"‵\":\"‵\",\"∽\":\"∽\",\"⋍\":\"⋍\",\"⊽\":\"⊽\",\"⌅\":\"⌅\",\"⌅\":\"⌅\",\"⎵\":\"⎵\",\"⎶\":\"⎶\",\"≌\":\"≌\",\"б\":\"б\",\"„\":\"„\",\"∵\":\"∵\",\"∵\":\"∵\",\"⦰\":\"⦰\",\"϶\":\"϶\",\"ℬ\":\"ℬ\",\"β\":\"β\",\"ℶ\":\"ℶ\",\"≬\":\"≬\",\"𝔟\":\"𝔟\",\"⋂\":\"⋂\",\"◯\":\"◯\",\"⋃\":\"⋃\",\"⨀\":\"⨀\",\"⨁\":\"⨁\",\"⨂\":\"⨂\",\"⨆\":\"⨆\",\"★\":\"★\",\"▽\":\"▽\",\"△\":\"△\",\"⨄\":\"⨄\",\"⋁\":\"⋁\",\"⋀\":\"⋀\",\"⤍\":\"⤍\",\"⧫\":\"⧫\",\"▪\":\"▪\",\"▴\":\"▴\",\"▾\":\"▾\",\"◂\":\"◂\",\"▸\":\"▸\",\"␣\":\"␣\",\"▒\":\"▒\",\"░\":\"░\",\"▓\":\"▓\",\"█\":\"█\",\"=⃥\":\"=⃥\",\"≡⃥\":\"≡⃥\",\"⌐\":\"⌐\",\"𝕓\":\"𝕓\",\"⊥\":\"⊥\",\"⊥\":\"⊥\",\"⋈\":\"⋈\",\"╗\":\"╗\",\"╔\":\"╔\",\"╖\":\"╖\",\"╓\":\"╓\",\"═\":\"═\",\"╦\":\"╦\",\"╩\":\"╩\",\"╤\":\"╤\",\"╧\":\"╧\",\"╝\":\"╝\",\"╚\":\"╚\",\"╜\":\"╜\",\"╙\":\"╙\",\"║\":\"║\",\"╬\":\"╬\",\"╣\":\"╣\",\"╠\":\"╠\",\"╫\":\"╫\",\"╢\":\"╢\",\"╟\":\"╟\",\"⧉\":\"⧉\",\"╕\":\"╕\",\"╒\":\"╒\",\"┐\":\"┐\",\"┌\":\"┌\",\"─\":\"─\",\"╥\":\"╥\",\"╨\":\"╨\",\"┬\":\"┬\",\"┴\":\"┴\",\"⊟\":\"⊟\",\"⊞\":\"⊞\",\"⊠\":\"⊠\",\"╛\":\"╛\",\"╘\":\"╘\",\"┘\":\"┘\",\"└\":\"└\",\"│\":\"│\",\"╪\":\"╪\",\"╡\":\"╡\",\"╞\":\"╞\",\"┼\":\"┼\",\"┤\":\"┤\",\"├\":\"├\",\"‵\":\"‵\",\"˘\":\"˘\",\"¦\":\"¦\",\"¦\":\"¦\",\"𝒷\":\"𝒷\",\"⁏\":\"⁏\",\"∽\":\"∽\",\"⋍\":\"⋍\",\"\\":\"\\\\\",\"⧅\":\"⧅\",\"⟈\":\"⟈\",\"•\":\"•\",\"•\":\"•\",\"≎\":\"≎\",\"⪮\":\"⪮\",\"≏\":\"≏\",\"≏\":\"≏\",\"ć\":\"ć\",\"∩\":\"∩\",\"⩄\":\"⩄\",\"⩉\":\"⩉\",\"⩋\":\"⩋\",\"⩇\":\"⩇\",\"⩀\":\"⩀\",\"∩︀\":\"∩︀\",\"⁁\":\"⁁\",\"ˇ\":\"ˇ\",\"⩍\":\"⩍\",\"č\":\"č\",\"ç\":\"ç\",\"ç\":\"ç\",\"ĉ\":\"ĉ\",\"⩌\":\"⩌\",\"⩐\":\"⩐\",\"ċ\":\"ċ\",\"¸\":\"¸\",\"¸\":\"¸\",\"⦲\":\"⦲\",\"¢\":\"¢\",\"¢\":\"¢\",\"·\":\"·\",\"𝔠\":\"𝔠\",\"ч\":\"ч\",\"✓\":\"✓\",\"✓\":\"✓\",\"χ\":\"χ\",\"○\":\"○\",\"⧃\":\"⧃\",\"ˆ\":\"ˆ\",\"≗\":\"≗\",\"↺\":\"↺\",\"↻\":\"↻\",\"®\":\"®\",\"Ⓢ\":\"Ⓢ\",\"⊛\":\"⊛\",\"⊚\":\"⊚\",\"⊝\":\"⊝\",\"≗\":\"≗\",\"⨐\":\"⨐\",\"⫯\":\"⫯\",\"⧂\":\"⧂\",\"♣\":\"♣\",\"♣\":\"♣\",\":\":\":\",\"≔\":\"≔\",\"≔\":\"≔\",\",\":\",\",\"@\":\"@\",\"∁\":\"∁\",\"∘\":\"∘\",\"∁\":\"∁\",\"ℂ\":\"ℂ\",\"≅\":\"≅\",\"⩭\":\"⩭\",\"∮\":\"∮\",\"𝕔\":\"𝕔\",\"∐\":\"∐\",\"©\":\"©\",\"©\":\"©\",\"℗\":\"℗\",\"↵\":\"↵\",\"✗\":\"✗\",\"𝒸\":\"𝒸\",\"⫏\":\"⫏\",\"⫑\":\"⫑\",\"⫐\":\"⫐\",\"⫒\":\"⫒\",\"⋯\":\"⋯\",\"⤸\":\"⤸\",\"⤵\":\"⤵\",\"⋞\":\"⋞\",\"⋟\":\"⋟\",\"↶\":\"↶\",\"⤽\":\"⤽\",\"∪\":\"∪\",\"⩈\":\"⩈\",\"⩆\":\"⩆\",\"⩊\":\"⩊\",\"⊍\":\"⊍\",\"⩅\":\"⩅\",\"∪︀\":\"∪︀\",\"↷\":\"↷\",\"⤼\":\"⤼\",\"⋞\":\"⋞\",\"⋟\":\"⋟\",\"⋎\":\"⋎\",\"⋏\":\"⋏\",\"¤\":\"¤\",\"¤\":\"¤\",\"↶\":\"↶\",\"↷\":\"↷\",\"⋎\":\"⋎\",\"⋏\":\"⋏\",\"∲\":\"∲\",\"∱\":\"∱\",\"⌭\":\"⌭\",\"⇓\":\"⇓\",\"⥥\":\"⥥\",\"†\":\"†\",\"ℸ\":\"ℸ\",\"↓\":\"↓\",\"‐\":\"‐\",\"⊣\":\"⊣\",\"⤏\":\"⤏\",\"˝\":\"˝\",\"ď\":\"ď\",\"д\":\"д\",\"ⅆ\":\"ⅆ\",\"‡\":\"‡\",\"⇊\":\"⇊\",\"⩷\":\"⩷\",\"°\":\"°\",\"°\":\"°\",\"δ\":\"δ\",\"⦱\":\"⦱\",\"⥿\":\"⥿\",\"𝔡\":\"𝔡\",\"⇃\":\"⇃\",\"⇂\":\"⇂\",\"⋄\":\"⋄\",\"⋄\":\"⋄\",\"♦\":\"♦\",\"♦\":\"♦\",\"¨\":\"¨\",\"ϝ\":\"ϝ\",\"⋲\":\"⋲\",\"÷\":\"÷\",\"÷\":\"÷\",\"÷\":\"÷\",\"⋇\":\"⋇\",\"⋇\":\"⋇\",\"ђ\":\"ђ\",\"⌞\":\"⌞\",\"⌍\":\"⌍\",\"$\":\"$\",\"𝕕\":\"𝕕\",\"˙\":\"˙\",\"≐\":\"≐\",\"≑\":\"≑\",\"∸\":\"∸\",\"∔\":\"∔\",\"⊡\":\"⊡\",\"⌆\":\"⌆\",\"↓\":\"↓\",\"⇊\":\"⇊\",\"⇃\":\"⇃\",\"⇂\":\"⇂\",\"⤐\":\"⤐\",\"⌟\":\"⌟\",\"⌌\":\"⌌\",\"𝒹\":\"𝒹\",\"ѕ\":\"ѕ\",\"⧶\":\"⧶\",\"đ\":\"đ\",\"⋱\":\"⋱\",\"▿\":\"▿\",\"▾\":\"▾\",\"⇵\":\"⇵\",\"⥯\":\"⥯\",\"⦦\":\"⦦\",\"џ\":\"џ\",\"⟿\":\"⟿\",\"⩷\":\"⩷\",\"≑\":\"≑\",\"é\":\"é\",\"é\":\"é\",\"⩮\":\"⩮\",\"ě\":\"ě\",\"≖\":\"≖\",\"ê\":\"ê\",\"ê\":\"ê\",\"≕\":\"≕\",\"э\":\"э\",\"ė\":\"ė\",\"ⅇ\":\"ⅇ\",\"≒\":\"≒\",\"𝔢\":\"𝔢\",\"⪚\":\"⪚\",\"è\":\"è\",\"è\":\"è\",\"⪖\":\"⪖\",\"⪘\":\"⪘\",\"⪙\":\"⪙\",\"⏧\":\"⏧\",\"ℓ\":\"ℓ\",\"⪕\":\"⪕\",\"⪗\":\"⪗\",\"ē\":\"ē\",\"∅\":\"∅\",\"∅\":\"∅\",\"∅\":\"∅\",\" \":\" \",\" \":\" \",\" \":\" \",\"ŋ\":\"ŋ\",\" \":\" \",\"ę\":\"ę\",\"𝕖\":\"𝕖\",\"⋕\":\"⋕\",\"⧣\":\"⧣\",\"⩱\":\"⩱\",\"ε\":\"ε\",\"ε\":\"ε\",\"ϵ\":\"ϵ\",\"≖\":\"≖\",\"≕\":\"≕\",\"≂\":\"≂\",\"⪖\":\"⪖\",\"⪕\":\"⪕\",\"=\":\"=\",\"≟\":\"≟\",\"≡\":\"≡\",\"⩸\":\"⩸\",\"⧥\":\"⧥\",\"≓\":\"≓\",\"⥱\":\"⥱\",\"ℯ\":\"ℯ\",\"≐\":\"≐\",\"≂\":\"≂\",\"η\":\"η\",\"ð\":\"ð\",\"ð\":\"ð\",\"ë\":\"ë\",\"ë\":\"ë\",\"€\":\"€\",\"!\":\"!\",\"∃\":\"∃\",\"ℰ\":\"ℰ\",\"ⅇ\":\"ⅇ\",\"≒\":\"≒\",\"ф\":\"ф\",\"♀\":\"♀\",\"ffi\":\"ffi\",\"ff\":\"ff\",\"ffl\":\"ffl\",\"𝔣\":\"𝔣\",\"fi\":\"fi\",\"fj\":\"fj\",\"♭\":\"♭\",\"fl\":\"fl\",\"▱\":\"▱\",\"ƒ\":\"ƒ\",\"𝕗\":\"𝕗\",\"∀\":\"∀\",\"⋔\":\"⋔\",\"⫙\":\"⫙\",\"⨍\":\"⨍\",\"½\":\"½\",\"½\":\"½\",\"⅓\":\"⅓\",\"¼\":\"¼\",\"¼\":\"¼\",\"⅕\":\"⅕\",\"⅙\":\"⅙\",\"⅛\":\"⅛\",\"⅔\":\"⅔\",\"⅖\":\"⅖\",\"¾\":\"¾\",\"¾\":\"¾\",\"⅗\":\"⅗\",\"⅜\":\"⅜\",\"⅘\":\"⅘\",\"⅚\":\"⅚\",\"⅝\":\"⅝\",\"⅞\":\"⅞\",\"⁄\":\"⁄\",\"⌢\":\"⌢\",\"𝒻\":\"𝒻\",\"≧\":\"≧\",\"⪌\":\"⪌\",\"ǵ\":\"ǵ\",\"γ\":\"γ\",\"ϝ\":\"ϝ\",\"⪆\":\"⪆\",\"ğ\":\"ğ\",\"ĝ\":\"ĝ\",\"г\":\"г\",\"ġ\":\"ġ\",\"≥\":\"≥\",\"⋛\":\"⋛\",\"≥\":\"≥\",\"≧\":\"≧\",\"⩾\":\"⩾\",\"⩾\":\"⩾\",\"⪩\":\"⪩\",\"⪀\":\"⪀\",\"⪂\":\"⪂\",\"⪄\":\"⪄\",\"⋛︀\":\"⋛︀\",\"⪔\":\"⪔\",\"𝔤\":\"𝔤\",\"≫\":\"≫\",\"⋙\":\"⋙\",\"ℷ\":\"ℷ\",\"ѓ\":\"ѓ\",\"≷\":\"≷\",\"⪒\":\"⪒\",\"⪥\":\"⪥\",\"⪤\":\"⪤\",\"≩\":\"≩\",\"⪊\":\"⪊\",\"⪊\":\"⪊\",\"⪈\":\"⪈\",\"⪈\":\"⪈\",\"≩\":\"≩\",\"⋧\":\"⋧\",\"𝕘\":\"𝕘\",\"`\":\"`\",\"ℊ\":\"ℊ\",\"≳\":\"≳\",\"⪎\":\"⪎\",\"⪐\":\"⪐\",\">\":\">\",\">\":\">\",\"⪧\":\"⪧\",\"⩺\":\"⩺\",\"⋗\":\"⋗\",\"⦕\":\"⦕\",\"⩼\":\"⩼\",\"⪆\":\"⪆\",\"⥸\":\"⥸\",\"⋗\":\"⋗\",\"⋛\":\"⋛\",\"⪌\":\"⪌\",\"≷\":\"≷\",\"≳\":\"≳\",\"≩︀\":\"≩︀\",\"≩︀\":\"≩︀\",\"⇔\":\"⇔\",\" \":\" \",\"½\":\"½\",\"ℋ\":\"ℋ\",\"ъ\":\"ъ\",\"↔\":\"↔\",\"⥈\":\"⥈\",\"↭\":\"↭\",\"ℏ\":\"ℏ\",\"ĥ\":\"ĥ\",\"♥\":\"♥\",\"♥\":\"♥\",\"…\":\"…\",\"⊹\":\"⊹\",\"𝔥\":\"𝔥\",\"⤥\":\"⤥\",\"⤦\":\"⤦\",\"⇿\":\"⇿\",\"∻\":\"∻\",\"↩\":\"↩\",\"↪\":\"↪\",\"𝕙\":\"𝕙\",\"―\":\"―\",\"𝒽\":\"𝒽\",\"ℏ\":\"ℏ\",\"ħ\":\"ħ\",\"⁃\":\"⁃\",\"‐\":\"‐\",\"í\":\"í\",\"í\":\"í\",\"⁣\":\"⁣\",\"î\":\"î\",\"î\":\"î\",\"и\":\"и\",\"е\":\"е\",\"¡\":\"¡\",\"¡\":\"¡\",\"⇔\":\"⇔\",\"𝔦\":\"𝔦\",\"ì\":\"ì\",\"ì\":\"ì\",\"ⅈ\":\"ⅈ\",\"⨌\":\"⨌\",\"∭\":\"∭\",\"⧜\":\"⧜\",\"℩\":\"℩\",\"ij\":\"ij\",\"ī\":\"ī\",\"ℑ\":\"ℑ\",\"ℐ\":\"ℐ\",\"ℑ\":\"ℑ\",\"ı\":\"ı\",\"⊷\":\"⊷\",\"Ƶ\":\"Ƶ\",\"∈\":\"∈\",\"℅\":\"℅\",\"∞\":\"∞\",\"⧝\":\"⧝\",\"ı\":\"ı\",\"∫\":\"∫\",\"⊺\":\"⊺\",\"ℤ\":\"ℤ\",\"⊺\":\"⊺\",\"⨗\":\"⨗\",\"⨼\":\"⨼\",\"ё\":\"ё\",\"į\":\"į\",\"𝕚\":\"𝕚\",\"ι\":\"ι\",\"⨼\":\"⨼\",\"¿\":\"¿\",\"¿\":\"¿\",\"𝒾\":\"𝒾\",\"∈\":\"∈\",\"⋹\":\"⋹\",\"⋵\":\"⋵\",\"⋴\":\"⋴\",\"⋳\":\"⋳\",\"∈\":\"∈\",\"⁢\":\"⁢\",\"ĩ\":\"ĩ\",\"і\":\"і\",\"ï\":\"ï\",\"ï\":\"ï\",\"ĵ\":\"ĵ\",\"й\":\"й\",\"𝔧\":\"𝔧\",\"ȷ\":\"ȷ\",\"𝕛\":\"𝕛\",\"𝒿\":\"𝒿\",\"ј\":\"ј\",\"є\":\"є\",\"κ\":\"κ\",\"ϰ\":\"ϰ\",\"ķ\":\"ķ\",\"к\":\"к\",\"𝔨\":\"𝔨\",\"ĸ\":\"ĸ\",\"х\":\"х\",\"ќ\":\"ќ\",\"𝕜\":\"𝕜\",\"𝓀\":\"𝓀\",\"⇚\":\"⇚\",\"⇐\":\"⇐\",\"⤛\":\"⤛\",\"⤎\":\"⤎\",\"≦\":\"≦\",\"⪋\":\"⪋\",\"⥢\":\"⥢\",\"ĺ\":\"ĺ\",\"⦴\":\"⦴\",\"ℒ\":\"ℒ\",\"λ\":\"λ\",\"⟨\":\"⟨\",\"⦑\":\"⦑\",\"⟨\":\"⟨\",\"⪅\":\"⪅\",\"«\":\"«\",\"«\":\"«\",\"←\":\"←\",\"⇤\":\"⇤\",\"⤟\":\"⤟\",\"⤝\":\"⤝\",\"↩\":\"↩\",\"↫\":\"↫\",\"⤹\":\"⤹\",\"⥳\":\"⥳\",\"↢\":\"↢\",\"⪫\":\"⪫\",\"⤙\":\"⤙\",\"⪭\":\"⪭\",\"⪭︀\":\"⪭︀\",\"⤌\":\"⤌\",\"❲\":\"❲\",\"{\":\"{\",\"[\":\"[\",\"⦋\":\"⦋\",\"⦏\":\"⦏\",\"⦍\":\"⦍\",\"ľ\":\"ľ\",\"ļ\":\"ļ\",\"⌈\":\"⌈\",\"{\":\"{\",\"л\":\"л\",\"⤶\":\"⤶\",\"“\":\"“\",\"„\":\"„\",\"⥧\":\"⥧\",\"⥋\":\"⥋\",\"↲\":\"↲\",\"≤\":\"≤\",\"←\":\"←\",\"↢\":\"↢\",\"↽\":\"↽\",\"↼\":\"↼\",\"⇇\":\"⇇\",\"↔\":\"↔\",\"⇆\":\"⇆\",\"⇋\":\"⇋\",\"↭\":\"↭\",\"⋋\":\"⋋\",\"⋚\":\"⋚\",\"≤\":\"≤\",\"≦\":\"≦\",\"⩽\":\"⩽\",\"⩽\":\"⩽\",\"⪨\":\"⪨\",\"⩿\":\"⩿\",\"⪁\":\"⪁\",\"⪃\":\"⪃\",\"⋚︀\":\"⋚︀\",\"⪓\":\"⪓\",\"⪅\":\"⪅\",\"⋖\":\"⋖\",\"⋚\":\"⋚\",\"⪋\":\"⪋\",\"≶\":\"≶\",\"≲\":\"≲\",\"⥼\":\"⥼\",\"⌊\":\"⌊\",\"𝔩\":\"𝔩\",\"≶\":\"≶\",\"⪑\":\"⪑\",\"↽\":\"↽\",\"↼\":\"↼\",\"⥪\":\"⥪\",\"▄\":\"▄\",\"љ\":\"љ\",\"≪\":\"≪\",\"⇇\":\"⇇\",\"⌞\":\"⌞\",\"⥫\":\"⥫\",\"◺\":\"◺\",\"ŀ\":\"ŀ\",\"⎰\":\"⎰\",\"⎰\":\"⎰\",\"≨\":\"≨\",\"⪉\":\"⪉\",\"⪉\":\"⪉\",\"⪇\":\"⪇\",\"⪇\":\"⪇\",\"≨\":\"≨\",\"⋦\":\"⋦\",\"⟬\":\"⟬\",\"⇽\":\"⇽\",\"⟦\":\"⟦\",\"⟵\":\"⟵\",\"⟷\":\"⟷\",\"⟼\":\"⟼\",\"⟶\":\"⟶\",\"↫\":\"↫\",\"↬\":\"↬\",\"⦅\":\"⦅\",\"𝕝\":\"𝕝\",\"⨭\":\"⨭\",\"⨴\":\"⨴\",\"∗\":\"∗\",\"_\":\"_\",\"◊\":\"◊\",\"◊\":\"◊\",\"⧫\":\"⧫\",\"(\":\"(\",\"⦓\":\"⦓\",\"⇆\":\"⇆\",\"⌟\":\"⌟\",\"⇋\":\"⇋\",\"⥭\":\"⥭\",\"‎\":\"‎\",\"⊿\":\"⊿\",\"‹\":\"‹\",\"𝓁\":\"𝓁\",\"↰\":\"↰\",\"≲\":\"≲\",\"⪍\":\"⪍\",\"⪏\":\"⪏\",\"[\":\"[\",\"‘\":\"‘\",\"‚\":\"‚\",\"ł\":\"ł\",\"<\":\"<\",\"<\":\"<\",\"⪦\":\"⪦\",\"⩹\":\"⩹\",\"⋖\":\"⋖\",\"⋋\":\"⋋\",\"⋉\":\"⋉\",\"⥶\":\"⥶\",\"⩻\":\"⩻\",\"⦖\":\"⦖\",\"◃\":\"◃\",\"⊴\":\"⊴\",\"◂\":\"◂\",\"⥊\":\"⥊\",\"⥦\":\"⥦\",\"≨︀\":\"≨︀\",\"≨︀\":\"≨︀\",\"∺\":\"∺\",\"¯\":\"¯\",\"¯\":\"¯\",\"♂\":\"♂\",\"✠\":\"✠\",\"✠\":\"✠\",\"↦\":\"↦\",\"↦\":\"↦\",\"↧\":\"↧\",\"↤\":\"↤\",\"↥\":\"↥\",\"▮\":\"▮\",\"⨩\":\"⨩\",\"м\":\"м\",\"—\":\"—\",\"∡\":\"∡\",\"𝔪\":\"𝔪\",\"℧\":\"℧\",\"µ\":\"µ\",\"µ\":\"µ\",\"∣\":\"∣\",\"*\":\"*\",\"⫰\":\"⫰\",\"·\":\"·\",\"·\":\"·\",\"−\":\"−\",\"⊟\":\"⊟\",\"∸\":\"∸\",\"⨪\":\"⨪\",\"⫛\":\"⫛\",\"…\":\"…\",\"∓\":\"∓\",\"⊧\":\"⊧\",\"𝕞\":\"𝕞\",\"∓\":\"∓\",\"𝓂\":\"𝓂\",\"∾\":\"∾\",\"μ\":\"μ\",\"⊸\":\"⊸\",\"⊸\":\"⊸\",\"⋙̸\":\"⋙̸\",\"≫⃒\":\"≫⃒\",\"≫̸\":\"≫̸\",\"⇍\":\"⇍\",\"⇎\":\"⇎\",\"⋘̸\":\"⋘̸\",\"≪⃒\":\"≪⃒\",\"≪̸\":\"≪̸\",\"⇏\":\"⇏\",\"⊯\":\"⊯\",\"⊮\":\"⊮\",\"∇\":\"∇\",\"ń\":\"ń\",\"∠⃒\":\"∠⃒\",\"≉\":\"≉\",\"⩰̸\":\"⩰̸\",\"≋̸\":\"≋̸\",\"ʼn\":\"ʼn\",\"≉\":\"≉\",\"♮\":\"♮\",\"♮\":\"♮\",\"ℕ\":\"ℕ\",\" \":\" \",\" \":\" \",\"≎̸\":\"≎̸\",\"≏̸\":\"≏̸\",\"⩃\":\"⩃\",\"ň\":\"ň\",\"ņ\":\"ņ\",\"≇\":\"≇\",\"⩭̸\":\"⩭̸\",\"⩂\":\"⩂\",\"н\":\"н\",\"–\":\"–\",\"≠\":\"≠\",\"⇗\":\"⇗\",\"⤤\":\"⤤\",\"↗\":\"↗\",\"↗\":\"↗\",\"≐̸\":\"≐̸\",\"≢\":\"≢\",\"⤨\":\"⤨\",\"≂̸\":\"≂̸\",\"∄\":\"∄\",\"∄\":\"∄\",\"𝔫\":\"𝔫\",\"≧̸\":\"≧̸\",\"≱\":\"≱\",\"≱\":\"≱\",\"≧̸\":\"≧̸\",\"⩾̸\":\"⩾̸\",\"⩾̸\":\"⩾̸\",\"≵\":\"≵\",\"≯\":\"≯\",\"≯\":\"≯\",\"⇎\":\"⇎\",\"↮\":\"↮\",\"⫲\":\"⫲\",\"∋\":\"∋\",\"⋼\":\"⋼\",\"⋺\":\"⋺\",\"∋\":\"∋\",\"њ\":\"њ\",\"⇍\":\"⇍\",\"≦̸\":\"≦̸\",\"↚\":\"↚\",\"‥\":\"‥\",\"≰\":\"≰\",\"↚\":\"↚\",\"↮\":\"↮\",\"≰\":\"≰\",\"≦̸\":\"≦̸\",\"⩽̸\":\"⩽̸\",\"⩽̸\":\"⩽̸\",\"≮\":\"≮\",\"≴\":\"≴\",\"≮\":\"≮\",\"⋪\":\"⋪\",\"⋬\":\"⋬\",\"∤\":\"∤\",\"𝕟\":\"𝕟\",\"¬\":\"¬\",\"¬\":\"¬\",\"∉\":\"∉\",\"⋹̸\":\"⋹̸\",\"⋵̸\":\"⋵̸\",\"∉\":\"∉\",\"⋷\":\"⋷\",\"⋶\":\"⋶\",\"∌\":\"∌\",\"∌\":\"∌\",\"⋾\":\"⋾\",\"⋽\":\"⋽\",\"∦\":\"∦\",\"∦\":\"∦\",\"⫽⃥\":\"⫽⃥\",\"∂̸\":\"∂̸\",\"⨔\":\"⨔\",\"⊀\":\"⊀\",\"⋠\":\"⋠\",\"⪯̸\":\"⪯̸\",\"⊀\":\"⊀\",\"⪯̸\":\"⪯̸\",\"⇏\":\"⇏\",\"↛\":\"↛\",\"⤳̸\":\"⤳̸\",\"↝̸\":\"↝̸\",\"↛\":\"↛\",\"⋫\":\"⋫\",\"⋭\":\"⋭\",\"⊁\":\"⊁\",\"⋡\":\"⋡\",\"⪰̸\":\"⪰̸\",\"𝓃\":\"𝓃\",\"∤\":\"∤\",\"∦\":\"∦\",\"≁\":\"≁\",\"≄\":\"≄\",\"≄\":\"≄\",\"∤\":\"∤\",\"∦\":\"∦\",\"⋢\":\"⋢\",\"⋣\":\"⋣\",\"⊄\":\"⊄\",\"⫅̸\":\"⫅̸\",\"⊈\":\"⊈\",\"⊂⃒\":\"⊂⃒\",\"⊈\":\"⊈\",\"⫅̸\":\"⫅̸\",\"⊁\":\"⊁\",\"⪰̸\":\"⪰̸\",\"⊅\":\"⊅\",\"⫆̸\":\"⫆̸\",\"⊉\":\"⊉\",\"⊃⃒\":\"⊃⃒\",\"⊉\":\"⊉\",\"⫆̸\":\"⫆̸\",\"≹\":\"≹\",\"ñ\":\"ñ\",\"ñ\":\"ñ\",\"≸\":\"≸\",\"⋪\":\"⋪\",\"⋬\":\"⋬\",\"⋫\":\"⋫\",\"⋭\":\"⋭\",\"ν\":\"ν\",\"#\":\"#\",\"№\":\"№\",\" \":\" \",\"⊭\":\"⊭\",\"⤄\":\"⤄\",\"≍⃒\":\"≍⃒\",\"⊬\":\"⊬\",\"≥⃒\":\"≥⃒\",\">⃒\":\">⃒\",\"⧞\":\"⧞\",\"⤂\":\"⤂\",\"≤⃒\":\"≤⃒\",\"<⃒\":\"<⃒\",\"⊴⃒\":\"⊴⃒\",\"⤃\":\"⤃\",\"⊵⃒\":\"⊵⃒\",\"∼⃒\":\"∼⃒\",\"⇖\":\"⇖\",\"⤣\":\"⤣\",\"↖\":\"↖\",\"↖\":\"↖\",\"⤧\":\"⤧\",\"Ⓢ\":\"Ⓢ\",\"ó\":\"ó\",\"ó\":\"ó\",\"⊛\":\"⊛\",\"⊚\":\"⊚\",\"ô\":\"ô\",\"ô\":\"ô\",\"о\":\"о\",\"⊝\":\"⊝\",\"ő\":\"ő\",\"⨸\":\"⨸\",\"⊙\":\"⊙\",\"⦼\":\"⦼\",\"œ\":\"œ\",\"⦿\":\"⦿\",\"𝔬\":\"𝔬\",\"˛\":\"˛\",\"ò\":\"ò\",\"ò\":\"ò\",\"⧁\":\"⧁\",\"⦵\":\"⦵\",\"Ω\":\"Ω\",\"∮\":\"∮\",\"↺\":\"↺\",\"⦾\":\"⦾\",\"⦻\":\"⦻\",\"‾\":\"‾\",\"⧀\":\"⧀\",\"ō\":\"ō\",\"ω\":\"ω\",\"ο\":\"ο\",\"⦶\":\"⦶\",\"⊖\":\"⊖\",\"𝕠\":\"𝕠\",\"⦷\":\"⦷\",\"⦹\":\"⦹\",\"⊕\":\"⊕\",\"∨\":\"∨\",\"↻\":\"↻\",\"⩝\":\"⩝\",\"ℴ\":\"ℴ\",\"ℴ\":\"ℴ\",\"ª\":\"ª\",\"ª\":\"ª\",\"º\":\"º\",\"º\":\"º\",\"⊶\":\"⊶\",\"⩖\":\"⩖\",\"⩗\":\"⩗\",\"⩛\":\"⩛\",\"ℴ\":\"ℴ\",\"ø\":\"ø\",\"ø\":\"ø\",\"⊘\":\"⊘\",\"õ\":\"õ\",\"õ\":\"õ\",\"⊗\":\"⊗\",\"⨶\":\"⨶\",\"ö\":\"ö\",\"ö\":\"ö\",\"⌽\":\"⌽\",\"∥\":\"∥\",\"¶\":\"¶\",\"¶\":\"¶\",\"∥\":\"∥\",\"⫳\":\"⫳\",\"⫽\":\"⫽\",\"∂\":\"∂\",\"п\":\"п\",\"%\":\"%\",\".\":\".\",\"‰\":\"‰\",\"⊥\":\"⊥\",\"‱\":\"‱\",\"𝔭\":\"𝔭\",\"φ\":\"φ\",\"ϕ\":\"ϕ\",\"ℳ\":\"ℳ\",\"☎\":\"☎\",\"π\":\"π\",\"⋔\":\"⋔\",\"ϖ\":\"ϖ\",\"ℏ\":\"ℏ\",\"ℎ\":\"ℎ\",\"ℏ\":\"ℏ\",\"+\":\"+\",\"⨣\":\"⨣\",\"⊞\":\"⊞\",\"⨢\":\"⨢\",\"∔\":\"∔\",\"⨥\":\"⨥\",\"⩲\":\"⩲\",\"±\":\"±\",\"±\":\"±\",\"⨦\":\"⨦\",\"⨧\":\"⨧\",\"±\":\"±\",\"⨕\":\"⨕\",\"𝕡\":\"𝕡\",\"£\":\"£\",\"£\":\"£\",\"≺\":\"≺\",\"⪳\":\"⪳\",\"⪷\":\"⪷\",\"≼\":\"≼\",\"⪯\":\"⪯\",\"≺\":\"≺\",\"⪷\":\"⪷\",\"≼\":\"≼\",\"⪯\":\"⪯\",\"⪹\":\"⪹\",\"⪵\":\"⪵\",\"⋨\":\"⋨\",\"≾\":\"≾\",\"′\":\"′\",\"ℙ\":\"ℙ\",\"⪵\":\"⪵\",\"⪹\":\"⪹\",\"⋨\":\"⋨\",\"∏\":\"∏\",\"⌮\":\"⌮\",\"⌒\":\"⌒\",\"⌓\":\"⌓\",\"∝\":\"∝\",\"∝\":\"∝\",\"≾\":\"≾\",\"⊰\":\"⊰\",\"𝓅\":\"𝓅\",\"ψ\":\"ψ\",\" \":\" \",\"𝔮\":\"𝔮\",\"⨌\":\"⨌\",\"𝕢\":\"𝕢\",\"⁗\":\"⁗\",\"𝓆\":\"𝓆\",\"ℍ\":\"ℍ\",\"⨖\":\"⨖\",\"?\":\"?\",\"≟\":\"≟\",\""\":'\"',\""\":'\"',\"⇛\":\"⇛\",\"⇒\":\"⇒\",\"⤜\":\"⤜\",\"⤏\":\"⤏\",\"⥤\":\"⥤\",\"∽̱\":\"∽̱\",\"ŕ\":\"ŕ\",\"√\":\"√\",\"⦳\":\"⦳\",\"⟩\":\"⟩\",\"⦒\":\"⦒\",\"⦥\":\"⦥\",\"⟩\":\"⟩\",\"»\":\"»\",\"»\":\"»\",\"→\":\"→\",\"⥵\":\"⥵\",\"⇥\":\"⇥\",\"⤠\":\"⤠\",\"⤳\":\"⤳\",\"⤞\":\"⤞\",\"↪\":\"↪\",\"↬\":\"↬\",\"⥅\":\"⥅\",\"⥴\":\"⥴\",\"↣\":\"↣\",\"↝\":\"↝\",\"⤚\":\"⤚\",\"∶\":\"∶\",\"ℚ\":\"ℚ\",\"⤍\":\"⤍\",\"❳\":\"❳\",\"}\":\"}\",\"]\":\"]\",\"⦌\":\"⦌\",\"⦎\":\"⦎\",\"⦐\":\"⦐\",\"ř\":\"ř\",\"ŗ\":\"ŗ\",\"⌉\":\"⌉\",\"}\":\"}\",\"р\":\"р\",\"⤷\":\"⤷\",\"⥩\":\"⥩\",\"”\":\"”\",\"”\":\"”\",\"↳\":\"↳\",\"ℜ\":\"ℜ\",\"ℛ\":\"ℛ\",\"ℜ\":\"ℜ\",\"ℝ\":\"ℝ\",\"▭\":\"▭\",\"®\":\"®\",\"®\":\"®\",\"⥽\":\"⥽\",\"⌋\":\"⌋\",\"𝔯\":\"𝔯\",\"⇁\":\"⇁\",\"⇀\":\"⇀\",\"⥬\":\"⥬\",\"ρ\":\"ρ\",\"ϱ\":\"ϱ\",\"→\":\"→\",\"↣\":\"↣\",\"⇁\":\"⇁\",\"⇀\":\"⇀\",\"⇄\":\"⇄\",\"⇌\":\"⇌\",\"⇉\":\"⇉\",\"↝\":\"↝\",\"⋌\":\"⋌\",\"˚\":\"˚\",\"≓\":\"≓\",\"⇄\":\"⇄\",\"⇌\":\"⇌\",\"‏\":\"‏\",\"⎱\":\"⎱\",\"⎱\":\"⎱\",\"⫮\":\"⫮\",\"⟭\":\"⟭\",\"⇾\":\"⇾\",\"⟧\":\"⟧\",\"⦆\":\"⦆\",\"𝕣\":\"𝕣\",\"⨮\":\"⨮\",\"⨵\":\"⨵\",\")\":\")\",\"⦔\":\"⦔\",\"⨒\":\"⨒\",\"⇉\":\"⇉\",\"›\":\"›\",\"𝓇\":\"𝓇\",\"↱\":\"↱\",\"]\":\"]\",\"’\":\"’\",\"’\":\"’\",\"⋌\":\"⋌\",\"⋊\":\"⋊\",\"▹\":\"▹\",\"⊵\":\"⊵\",\"▸\":\"▸\",\"⧎\":\"⧎\",\"⥨\":\"⥨\",\"℞\":\"℞\",\"ś\":\"ś\",\"‚\":\"‚\",\"≻\":\"≻\",\"⪴\":\"⪴\",\"⪸\":\"⪸\",\"š\":\"š\",\"≽\":\"≽\",\"⪰\":\"⪰\",\"ş\":\"ş\",\"ŝ\":\"ŝ\",\"⪶\":\"⪶\",\"⪺\":\"⪺\",\"⋩\":\"⋩\",\"⨓\":\"⨓\",\"≿\":\"≿\",\"с\":\"с\",\"⋅\":\"⋅\",\"⊡\":\"⊡\",\"⩦\":\"⩦\",\"⇘\":\"⇘\",\"⤥\":\"⤥\",\"↘\":\"↘\",\"↘\":\"↘\",\"§\":\"§\",\"§\":\"§\",\";\":\";\",\"⤩\":\"⤩\",\"∖\":\"∖\",\"∖\":\"∖\",\"✶\":\"✶\",\"𝔰\":\"𝔰\",\"⌢\":\"⌢\",\"♯\":\"♯\",\"щ\":\"щ\",\"ш\":\"ш\",\"∣\":\"∣\",\"∥\":\"∥\",\"­\":\"­\",\"­\":\"­\",\"σ\":\"σ\",\"ς\":\"ς\",\"ς\":\"ς\",\"∼\":\"∼\",\"⩪\":\"⩪\",\"≃\":\"≃\",\"≃\":\"≃\",\"⪞\":\"⪞\",\"⪠\":\"⪠\",\"⪝\":\"⪝\",\"⪟\":\"⪟\",\"≆\":\"≆\",\"⨤\":\"⨤\",\"⥲\":\"⥲\",\"←\":\"←\",\"∖\":\"∖\",\"⨳\":\"⨳\",\"⧤\":\"⧤\",\"∣\":\"∣\",\"⌣\":\"⌣\",\"⪪\":\"⪪\",\"⪬\":\"⪬\",\"⪬︀\":\"⪬︀\",\"ь\":\"ь\",\"/\":\"/\",\"⧄\":\"⧄\",\"⌿\":\"⌿\",\"𝕤\":\"𝕤\",\"♠\":\"♠\",\"♠\":\"♠\",\"∥\":\"∥\",\"⊓\":\"⊓\",\"⊓︀\":\"⊓︀\",\"⊔\":\"⊔\",\"⊔︀\":\"⊔︀\",\"⊏\":\"⊏\",\"⊑\":\"⊑\",\"⊏\":\"⊏\",\"⊑\":\"⊑\",\"⊐\":\"⊐\",\"⊒\":\"⊒\",\"⊐\":\"⊐\",\"⊒\":\"⊒\",\"□\":\"□\",\"□\":\"□\",\"▪\":\"▪\",\"▪\":\"▪\",\"→\":\"→\",\"𝓈\":\"𝓈\",\"∖\":\"∖\",\"⌣\":\"⌣\",\"⋆\":\"⋆\",\"☆\":\"☆\",\"★\":\"★\",\"ϵ\":\"ϵ\",\"ϕ\":\"ϕ\",\"¯\":\"¯\",\"⊂\":\"⊂\",\"⫅\":\"⫅\",\"⪽\":\"⪽\",\"⊆\":\"⊆\",\"⫃\":\"⫃\",\"⫁\":\"⫁\",\"⫋\":\"⫋\",\"⊊\":\"⊊\",\"⪿\":\"⪿\",\"⥹\":\"⥹\",\"⊂\":\"⊂\",\"⊆\":\"⊆\",\"⫅\":\"⫅\",\"⊊\":\"⊊\",\"⫋\":\"⫋\",\"⫇\":\"⫇\",\"⫕\":\"⫕\",\"⫓\":\"⫓\",\"≻\":\"≻\",\"⪸\":\"⪸\",\"≽\":\"≽\",\"⪰\":\"⪰\",\"⪺\":\"⪺\",\"⪶\":\"⪶\",\"⋩\":\"⋩\",\"≿\":\"≿\",\"∑\":\"∑\",\"♪\":\"♪\",\"¹\":\"¹\",\"¹\":\"¹\",\"²\":\"²\",\"²\":\"²\",\"³\":\"³\",\"³\":\"³\",\"⊃\":\"⊃\",\"⫆\":\"⫆\",\"⪾\":\"⪾\",\"⫘\":\"⫘\",\"⊇\":\"⊇\",\"⫄\":\"⫄\",\"⟉\":\"⟉\",\"⫗\":\"⫗\",\"⥻\":\"⥻\",\"⫂\":\"⫂\",\"⫌\":\"⫌\",\"⊋\":\"⊋\",\"⫀\":\"⫀\",\"⊃\":\"⊃\",\"⊇\":\"⊇\",\"⫆\":\"⫆\",\"⊋\":\"⊋\",\"⫌\":\"⫌\",\"⫈\":\"⫈\",\"⫔\":\"⫔\",\"⫖\":\"⫖\",\"⇙\":\"⇙\",\"⤦\":\"⤦\",\"↙\":\"↙\",\"↙\":\"↙\",\"⤪\":\"⤪\",\"ß\":\"ß\",\"ß\":\"ß\",\"⌖\":\"⌖\",\"τ\":\"τ\",\"⎴\":\"⎴\",\"ť\":\"ť\",\"ţ\":\"ţ\",\"т\":\"т\",\"⃛\":\"⃛\",\"⌕\":\"⌕\",\"𝔱\":\"𝔱\",\"∴\":\"∴\",\"∴\":\"∴\",\"θ\":\"θ\",\"ϑ\":\"ϑ\",\"ϑ\":\"ϑ\",\"≈\":\"≈\",\"∼\":\"∼\",\" \":\" \",\"≈\":\"≈\",\"∼\":\"∼\",\"þ\":\"þ\",\"þ\":\"þ\",\"˜\":\"˜\",\"×\":\"×\",\"×\":\"×\",\"⊠\":\"⊠\",\"⨱\":\"⨱\",\"⨰\":\"⨰\",\"∭\":\"∭\",\"⤨\":\"⤨\",\"⊤\":\"⊤\",\"⌶\":\"⌶\",\"⫱\":\"⫱\",\"𝕥\":\"𝕥\",\"⫚\":\"⫚\",\"⤩\":\"⤩\",\"‴\":\"‴\",\"™\":\"™\",\"▵\":\"▵\",\"▿\":\"▿\",\"◃\":\"◃\",\"⊴\":\"⊴\",\"≜\":\"≜\",\"▹\":\"▹\",\"⊵\":\"⊵\",\"◬\":\"◬\",\"≜\":\"≜\",\"⨺\":\"⨺\",\"⨹\":\"⨹\",\"⧍\":\"⧍\",\"⨻\":\"⨻\",\"⏢\":\"⏢\",\"𝓉\":\"𝓉\",\"ц\":\"ц\",\"ћ\":\"ћ\",\"ŧ\":\"ŧ\",\"≬\":\"≬\",\"↞\":\"↞\",\"↠\":\"↠\",\"⇑\":\"⇑\",\"⥣\":\"⥣\",\"ú\":\"ú\",\"ú\":\"ú\",\"↑\":\"↑\",\"ў\":\"ў\",\"ŭ\":\"ŭ\",\"û\":\"û\",\"û\":\"û\",\"у\":\"у\",\"⇅\":\"⇅\",\"ű\":\"ű\",\"⥮\":\"⥮\",\"⥾\":\"⥾\",\"𝔲\":\"𝔲\",\"ù\":\"ù\",\"ù\":\"ù\",\"↿\":\"↿\",\"↾\":\"↾\",\"▀\":\"▀\",\"⌜\":\"⌜\",\"⌜\":\"⌜\",\"⌏\":\"⌏\",\"◸\":\"◸\",\"ū\":\"ū\",\"¨\":\"¨\",\"¨\":\"¨\",\"ų\":\"ų\",\"𝕦\":\"𝕦\",\"↑\":\"↑\",\"↕\":\"↕\",\"↿\":\"↿\",\"↾\":\"↾\",\"⊎\":\"⊎\",\"υ\":\"υ\",\"ϒ\":\"ϒ\",\"υ\":\"υ\",\"⇈\":\"⇈\",\"⌝\":\"⌝\",\"⌝\":\"⌝\",\"⌎\":\"⌎\",\"ů\":\"ů\",\"◹\":\"◹\",\"𝓊\":\"𝓊\",\"⋰\":\"⋰\",\"ũ\":\"ũ\",\"▵\":\"▵\",\"▴\":\"▴\",\"⇈\":\"⇈\",\"ü\":\"ü\",\"ü\":\"ü\",\"⦧\":\"⦧\",\"⇕\":\"⇕\",\"⫨\":\"⫨\",\"⫩\":\"⫩\",\"⊨\":\"⊨\",\"⦜\":\"⦜\",\"ϵ\":\"ϵ\",\"ϰ\":\"ϰ\",\"∅\":\"∅\",\"ϕ\":\"ϕ\",\"ϖ\":\"ϖ\",\"∝\":\"∝\",\"↕\":\"↕\",\"ϱ\":\"ϱ\",\"ς\":\"ς\",\"⊊︀\":\"⊊︀\",\"⫋︀\":\"⫋︀\",\"⊋︀\":\"⊋︀\",\"⫌︀\":\"⫌︀\",\"ϑ\":\"ϑ\",\"⊲\":\"⊲\",\"⊳\":\"⊳\",\"в\":\"в\",\"⊢\":\"⊢\",\"∨\":\"∨\",\"⊻\":\"⊻\",\"≚\":\"≚\",\"⋮\":\"⋮\",\"|\":\"|\",\"|\":\"|\",\"𝔳\":\"𝔳\",\"⊲\":\"⊲\",\"⊂⃒\":\"⊂⃒\",\"⊃⃒\":\"⊃⃒\",\"𝕧\":\"𝕧\",\"∝\":\"∝\",\"⊳\":\"⊳\",\"𝓋\":\"𝓋\",\"⫋︀\":\"⫋︀\",\"⊊︀\":\"⊊︀\",\"⫌︀\":\"⫌︀\",\"⊋︀\":\"⊋︀\",\"⦚\":\"⦚\",\"ŵ\":\"ŵ\",\"⩟\":\"⩟\",\"∧\":\"∧\",\"≙\":\"≙\",\"℘\":\"℘\",\"𝔴\":\"𝔴\",\"𝕨\":\"𝕨\",\"℘\":\"℘\",\"≀\":\"≀\",\"≀\":\"≀\",\"𝓌\":\"𝓌\",\"⋂\":\"⋂\",\"◯\":\"◯\",\"⋃\":\"⋃\",\"▽\":\"▽\",\"𝔵\":\"𝔵\",\"⟺\":\"⟺\",\"⟷\":\"⟷\",\"ξ\":\"ξ\",\"⟸\":\"⟸\",\"⟵\":\"⟵\",\"⟼\":\"⟼\",\"⋻\":\"⋻\",\"⨀\":\"⨀\",\"𝕩\":\"𝕩\",\"⨁\":\"⨁\",\"⨂\":\"⨂\",\"⟹\":\"⟹\",\"⟶\":\"⟶\",\"𝓍\":\"𝓍\",\"⨆\":\"⨆\",\"⨄\":\"⨄\",\"△\":\"△\",\"⋁\":\"⋁\",\"⋀\":\"⋀\",\"ý\":\"ý\",\"ý\":\"ý\",\"я\":\"я\",\"ŷ\":\"ŷ\",\"ы\":\"ы\",\"¥\":\"¥\",\"¥\":\"¥\",\"𝔶\":\"𝔶\",\"ї\":\"ї\",\"𝕪\":\"𝕪\",\"𝓎\":\"𝓎\",\"ю\":\"ю\",\"ÿ\":\"ÿ\",\"ÿ\":\"ÿ\",\"ź\":\"ź\",\"ž\":\"ž\",\"з\":\"з\",\"ż\":\"ż\",\"ℨ\":\"ℨ\",\"ζ\":\"ζ\",\"𝔷\":\"𝔷\",\"ж\":\"ж\",\"⇝\":\"⇝\",\"𝕫\":\"𝕫\",\"𝓏\":\"𝓏\",\"‍\":\"‍\",\"‌\":\"‌\"},characters:{\"Æ\":\"Æ\",\"&\":\"&\",\"Á\":\"Á\",\"Ă\":\"Ă\",\"Â\":\"Â\",\"А\":\"А\",\"𝔄\":\"𝔄\",\"À\":\"À\",\"Α\":\"Α\",\"Ā\":\"Ā\",\"⩓\":\"⩓\",\"Ą\":\"Ą\",\"𝔸\":\"𝔸\",\"⁡\":\"⁡\",\"Å\":\"Å\",\"𝒜\":\"𝒜\",\"≔\":\"≔\",\"Ã\":\"Ã\",\"Ä\":\"Ä\",\"∖\":\"∖\",\"⫧\":\"⫧\",\"⌆\":\"⌆\",\"Б\":\"Б\",\"∵\":\"∵\",\"ℬ\":\"ℬ\",\"Β\":\"Β\",\"𝔅\":\"𝔅\",\"𝔹\":\"𝔹\",\"˘\":\"˘\",\"≎\":\"≎\",\"Ч\":\"Ч\",\"©\":\"©\",\"Ć\":\"Ć\",\"⋒\":\"⋒\",\"ⅅ\":\"ⅅ\",\"ℭ\":\"ℭ\",\"Č\":\"Č\",\"Ç\":\"Ç\",\"Ĉ\":\"Ĉ\",\"∰\":\"∰\",\"Ċ\":\"Ċ\",\"¸\":\"¸\",\"·\":\"·\",\"Χ\":\"Χ\",\"⊙\":\"⊙\",\"⊖\":\"⊖\",\"⊕\":\"⊕\",\"⊗\":\"⊗\",\"∲\":\"∲\",\"”\":\"”\",\"’\":\"’\",\"∷\":\"∷\",\"⩴\":\"⩴\",\"≡\":\"≡\",\"∯\":\"∯\",\"∮\":\"∮\",\"ℂ\":\"ℂ\",\"∐\":\"∐\",\"∳\":\"∳\",\"⨯\":\"⨯\",\"𝒞\":\"𝒞\",\"⋓\":\"⋓\",\"≍\":\"≍\",\"⤑\":\"⤑\",\"Ђ\":\"Ђ\",\"Ѕ\":\"Ѕ\",\"Џ\":\"Џ\",\"‡\":\"‡\",\"↡\":\"↡\",\"⫤\":\"⫤\",\"Ď\":\"Ď\",\"Д\":\"Д\",\"∇\":\"∇\",\"Δ\":\"Δ\",\"𝔇\":\"𝔇\",\"´\":\"´\",\"˙\":\"˙\",\"˝\":\"˝\",\"`\":\"`\",\"˜\":\"˜\",\"⋄\":\"⋄\",\"ⅆ\":\"ⅆ\",\"𝔻\":\"𝔻\",\"¨\":\"¨\",\"⃜\":\"⃜\",\"≐\":\"≐\",\"⇓\":\"⇓\",\"⇐\":\"⇐\",\"⇔\":\"⇔\",\"⟸\":\"⟸\",\"⟺\":\"⟺\",\"⟹\":\"⟹\",\"⇒\":\"⇒\",\"⊨\":\"⊨\",\"⇑\":\"⇑\",\"⇕\":\"⇕\",\"∥\":\"∥\",\"↓\":\"↓\",\"⤓\":\"⤓\",\"⇵\":\"⇵\",\"̑\":\"̑\",\"⥐\":\"⥐\",\"⥞\":\"⥞\",\"↽\":\"↽\",\"⥖\":\"⥖\",\"⥟\":\"⥟\",\"⇁\":\"⇁\",\"⥗\":\"⥗\",\"⊤\":\"⊤\",\"↧\":\"↧\",\"𝒟\":\"𝒟\",\"Đ\":\"Đ\",\"Ŋ\":\"Ŋ\",\"Ð\":\"Ð\",\"É\":\"É\",\"Ě\":\"Ě\",\"Ê\":\"Ê\",\"Э\":\"Э\",\"Ė\":\"Ė\",\"𝔈\":\"𝔈\",\"È\":\"È\",\"∈\":\"∈\",\"Ē\":\"Ē\",\"◻\":\"◻\",\"▫\":\"▫\",\"Ę\":\"Ę\",\"𝔼\":\"𝔼\",\"Ε\":\"Ε\",\"⩵\":\"⩵\",\"≂\":\"≂\",\"⇌\":\"⇌\",\"ℰ\":\"ℰ\",\"⩳\":\"⩳\",\"Η\":\"Η\",\"Ë\":\"Ë\",\"∃\":\"∃\",\"ⅇ\":\"ⅇ\",\"Ф\":\"Ф\",\"𝔉\":\"𝔉\",\"◼\":\"◼\",\"▪\":\"▪\",\"𝔽\":\"𝔽\",\"∀\":\"∀\",\"ℱ\":\"ℱ\",\"Ѓ\":\"Ѓ\",\">\":\">\",\"Γ\":\"Γ\",\"Ϝ\":\"Ϝ\",\"Ğ\":\"Ğ\",\"Ģ\":\"Ģ\",\"Ĝ\":\"Ĝ\",\"Г\":\"Г\",\"Ġ\":\"Ġ\",\"𝔊\":\"𝔊\",\"⋙\":\"⋙\",\"𝔾\":\"𝔾\",\"≥\":\"≥\",\"⋛\":\"⋛\",\"≧\":\"≧\",\"⪢\":\"⪢\",\"≷\":\"≷\",\"⩾\":\"⩾\",\"≳\":\"≳\",\"𝒢\":\"𝒢\",\"≫\":\"≫\",\"Ъ\":\"Ъ\",\"ˇ\":\"ˇ\",\"^\":\"^\",\"Ĥ\":\"Ĥ\",\"ℌ\":\"ℌ\",\"ℋ\":\"ℋ\",\"ℍ\":\"ℍ\",\"─\":\"─\",\"Ħ\":\"Ħ\",\"≏\":\"≏\",\"Е\":\"Е\",\"IJ\":\"IJ\",\"Ё\":\"Ё\",\"Í\":\"Í\",\"Î\":\"Î\",\"И\":\"И\",\"İ\":\"İ\",\"ℑ\":\"ℑ\",\"Ì\":\"Ì\",\"Ī\":\"Ī\",\"ⅈ\":\"ⅈ\",\"∬\":\"∬\",\"∫\":\"∫\",\"⋂\":\"⋂\",\"⁣\":\"⁣\",\"⁢\":\"⁢\",\"Į\":\"Į\",\"𝕀\":\"𝕀\",\"Ι\":\"Ι\",\"ℐ\":\"ℐ\",\"Ĩ\":\"Ĩ\",\"І\":\"І\",\"Ï\":\"Ï\",\"Ĵ\":\"Ĵ\",\"Й\":\"Й\",\"𝔍\":\"𝔍\",\"𝕁\":\"𝕁\",\"𝒥\":\"𝒥\",\"Ј\":\"Ј\",\"Є\":\"Є\",\"Х\":\"Х\",\"Ќ\":\"Ќ\",\"Κ\":\"Κ\",\"Ķ\":\"Ķ\",\"К\":\"К\",\"𝔎\":\"𝔎\",\"𝕂\":\"𝕂\",\"𝒦\":\"𝒦\",\"Љ\":\"Љ\",\"<\":\"<\",\"Ĺ\":\"Ĺ\",\"Λ\":\"Λ\",\"⟪\":\"⟪\",\"ℒ\":\"ℒ\",\"↞\":\"↞\",\"Ľ\":\"Ľ\",\"Ļ\":\"Ļ\",\"Л\":\"Л\",\"⟨\":\"⟨\",\"←\":\"←\",\"⇤\":\"⇤\",\"⇆\":\"⇆\",\"⌈\":\"⌈\",\"⟦\":\"⟦\",\"⥡\":\"⥡\",\"⇃\":\"⇃\",\"⥙\":\"⥙\",\"⌊\":\"⌊\",\"↔\":\"↔\",\"⥎\":\"⥎\",\"⊣\":\"⊣\",\"↤\":\"↤\",\"⥚\":\"⥚\",\"⊲\":\"⊲\",\"⧏\":\"⧏\",\"⊴\":\"⊴\",\"⥑\":\"⥑\",\"⥠\":\"⥠\",\"↿\":\"↿\",\"⥘\":\"⥘\",\"↼\":\"↼\",\"⥒\":\"⥒\",\"⋚\":\"⋚\",\"≦\":\"≦\",\"≶\":\"≶\",\"⪡\":\"⪡\",\"⩽\":\"⩽\",\"≲\":\"≲\",\"𝔏\":\"𝔏\",\"⋘\":\"⋘\",\"⇚\":\"⇚\",\"Ŀ\":\"Ŀ\",\"⟵\":\"⟵\",\"⟷\":\"⟷\",\"⟶\":\"⟶\",\"𝕃\":\"𝕃\",\"↙\":\"↙\",\"↘\":\"↘\",\"↰\":\"↰\",\"Ł\":\"Ł\",\"≪\":\"≪\",\"⤅\":\"⤅\",\"М\":\"М\",\" \":\" \",\"ℳ\":\"ℳ\",\"𝔐\":\"𝔐\",\"∓\":\"∓\",\"𝕄\":\"𝕄\",\"Μ\":\"Μ\",\"Њ\":\"Њ\",\"Ń\":\"Ń\",\"Ň\":\"Ň\",\"Ņ\":\"Ņ\",\"Н\":\"Н\",\"​\":\"​\",\"\\n\":\" \",\"𝔑\":\"𝔑\",\"⁠\":\"⁠\",\" \":\" \",\"ℕ\":\"ℕ\",\"⫬\":\"⫬\",\"≢\":\"≢\",\"≭\":\"≭\",\"∦\":\"∦\",\"∉\":\"∉\",\"≠\":\"≠\",\"≂̸\":\"≂̸\",\"∄\":\"∄\",\"≯\":\"≯\",\"≱\":\"≱\",\"≧̸\":\"≧̸\",\"≫̸\":\"≫̸\",\"≹\":\"≹\",\"⩾̸\":\"⩾̸\",\"≵\":\"≵\",\"≎̸\":\"≎̸\",\"≏̸\":\"≏̸\",\"⋪\":\"⋪\",\"⧏̸\":\"⧏̸\",\"⋬\":\"⋬\",\"≮\":\"≮\",\"≰\":\"≰\",\"≸\":\"≸\",\"≪̸\":\"≪̸\",\"⩽̸\":\"⩽̸\",\"≴\":\"≴\",\"⪢̸\":\"⪢̸\",\"⪡̸\":\"⪡̸\",\"⊀\":\"⊀\",\"⪯̸\":\"⪯̸\",\"⋠\":\"⋠\",\"∌\":\"∌\",\"⋫\":\"⋫\",\"⧐̸\":\"⧐̸\",\"⋭\":\"⋭\",\"⊏̸\":\"⊏̸\",\"⋢\":\"⋢\",\"⊐̸\":\"⊐̸\",\"⋣\":\"⋣\",\"⊂⃒\":\"⊂⃒\",\"⊈\":\"⊈\",\"⊁\":\"⊁\",\"⪰̸\":\"⪰̸\",\"⋡\":\"⋡\",\"≿̸\":\"≿̸\",\"⊃⃒\":\"⊃⃒\",\"⊉\":\"⊉\",\"≁\":\"≁\",\"≄\":\"≄\",\"≇\":\"≇\",\"≉\":\"≉\",\"∤\":\"∤\",\"𝒩\":\"𝒩\",\"Ñ\":\"Ñ\",\"Ν\":\"Ν\",\"Œ\":\"Œ\",\"Ó\":\"Ó\",\"Ô\":\"Ô\",\"О\":\"О\",\"Ő\":\"Ő\",\"𝔒\":\"𝔒\",\"Ò\":\"Ò\",\"Ō\":\"Ō\",\"Ω\":\"Ω\",\"Ο\":\"Ο\",\"𝕆\":\"𝕆\",\"“\":\"“\",\"‘\":\"‘\",\"⩔\":\"⩔\",\"𝒪\":\"𝒪\",\"Ø\":\"Ø\",\"Õ\":\"Õ\",\"⨷\":\"⨷\",\"Ö\":\"Ö\",\"‾\":\"‾\",\"⏞\":\"⏞\",\"⎴\":\"⎴\",\"⏜\":\"⏜\",\"∂\":\"∂\",\"П\":\"П\",\"𝔓\":\"𝔓\",\"Φ\":\"Φ\",\"Π\":\"Π\",\"±\":\"±\",\"ℙ\":\"ℙ\",\"⪻\":\"⪻\",\"≺\":\"≺\",\"⪯\":\"⪯\",\"≼\":\"≼\",\"≾\":\"≾\",\"″\":\"″\",\"∏\":\"∏\",\"∝\":\"∝\",\"𝒫\":\"𝒫\",\"Ψ\":\"Ψ\",'\"':\""\",\"𝔔\":\"𝔔\",\"ℚ\":\"ℚ\",\"𝒬\":\"𝒬\",\"⤐\":\"⤐\",\"®\":\"®\",\"Ŕ\":\"Ŕ\",\"⟫\":\"⟫\",\"↠\":\"↠\",\"⤖\":\"⤖\",\"Ř\":\"Ř\",\"Ŗ\":\"Ŗ\",\"Р\":\"Р\",\"ℜ\":\"ℜ\",\"∋\":\"∋\",\"⇋\":\"⇋\",\"⥯\":\"⥯\",\"Ρ\":\"Ρ\",\"⟩\":\"⟩\",\"→\":\"→\",\"⇥\":\"⇥\",\"⇄\":\"⇄\",\"⌉\":\"⌉\",\"⟧\":\"⟧\",\"⥝\":\"⥝\",\"⇂\":\"⇂\",\"⥕\":\"⥕\",\"⌋\":\"⌋\",\"⊢\":\"⊢\",\"↦\":\"↦\",\"⥛\":\"⥛\",\"⊳\":\"⊳\",\"⧐\":\"⧐\",\"⊵\":\"⊵\",\"⥏\":\"⥏\",\"⥜\":\"⥜\",\"↾\":\"↾\",\"⥔\":\"⥔\",\"⇀\":\"⇀\",\"⥓\":\"⥓\",\"ℝ\":\"ℝ\",\"⥰\":\"⥰\",\"⇛\":\"⇛\",\"ℛ\":\"ℛ\",\"↱\":\"↱\",\"⧴\":\"⧴\",\"Щ\":\"Щ\",\"Ш\":\"Ш\",\"Ь\":\"Ь\",\"Ś\":\"Ś\",\"⪼\":\"⪼\",\"Š\":\"Š\",\"Ş\":\"Ş\",\"Ŝ\":\"Ŝ\",\"С\":\"С\",\"𝔖\":\"𝔖\",\"↑\":\"↑\",\"Σ\":\"Σ\",\"∘\":\"∘\",\"𝕊\":\"𝕊\",\"√\":\"√\",\"□\":\"□\",\"⊓\":\"⊓\",\"⊏\":\"⊏\",\"⊑\":\"⊑\",\"⊐\":\"⊐\",\"⊒\":\"⊒\",\"⊔\":\"⊔\",\"𝒮\":\"𝒮\",\"⋆\":\"⋆\",\"⋐\":\"⋐\",\"⊆\":\"⊆\",\"≻\":\"≻\",\"⪰\":\"⪰\",\"≽\":\"≽\",\"≿\":\"≿\",\"∑\":\"∑\",\"⋑\":\"⋑\",\"⊃\":\"⊃\",\"⊇\":\"⊇\",\"Þ\":\"Þ\",\"™\":\"™\",\"Ћ\":\"Ћ\",\"Ц\":\"Ц\",\"\\t\":\" \",\"Τ\":\"Τ\",\"Ť\":\"Ť\",\"Ţ\":\"Ţ\",\"Т\":\"Т\",\"𝔗\":\"𝔗\",\"∴\":\"∴\",\"Θ\":\"Θ\",\"  \":\"  \",\" \":\" \",\"∼\":\"∼\",\"≃\":\"≃\",\"≅\":\"≅\",\"≈\":\"≈\",\"𝕋\":\"𝕋\",\"⃛\":\"⃛\",\"𝒯\":\"𝒯\",\"Ŧ\":\"Ŧ\",\"Ú\":\"Ú\",\"↟\":\"↟\",\"⥉\":\"⥉\",\"Ў\":\"Ў\",\"Ŭ\":\"Ŭ\",\"Û\":\"Û\",\"У\":\"У\",\"Ű\":\"Ű\",\"𝔘\":\"𝔘\",\"Ù\":\"Ù\",\"Ū\":\"Ū\",_:\"_\",\"⏟\":\"⏟\",\"⎵\":\"⎵\",\"⏝\":\"⏝\",\"⋃\":\"⋃\",\"⊎\":\"⊎\",\"Ų\":\"Ų\",\"𝕌\":\"𝕌\",\"⤒\":\"⤒\",\"⇅\":\"⇅\",\"↕\":\"↕\",\"⥮\":\"⥮\",\"⊥\":\"⊥\",\"↥\":\"↥\",\"↖\":\"↖\",\"↗\":\"↗\",\"ϒ\":\"ϒ\",\"Υ\":\"Υ\",\"Ů\":\"Ů\",\"𝒰\":\"𝒰\",\"Ũ\":\"Ũ\",\"Ü\":\"Ü\",\"⊫\":\"⊫\",\"⫫\":\"⫫\",\"В\":\"В\",\"⊩\":\"⊩\",\"⫦\":\"⫦\",\"⋁\":\"⋁\",\"‖\":\"‖\",\"∣\":\"∣\",\"|\":\"|\",\"❘\":\"❘\",\"≀\":\"≀\",\" \":\" \",\"𝔙\":\"𝔙\",\"𝕍\":\"𝕍\",\"𝒱\":\"𝒱\",\"⊪\":\"⊪\",\"Ŵ\":\"Ŵ\",\"⋀\":\"⋀\",\"𝔚\":\"𝔚\",\"𝕎\":\"𝕎\",\"𝒲\":\"𝒲\",\"𝔛\":\"𝔛\",\"Ξ\":\"Ξ\",\"𝕏\":\"𝕏\",\"𝒳\":\"𝒳\",\"Я\":\"Я\",\"Ї\":\"Ї\",\"Ю\":\"Ю\",\"Ý\":\"Ý\",\"Ŷ\":\"Ŷ\",\"Ы\":\"Ы\",\"𝔜\":\"𝔜\",\"𝕐\":\"𝕐\",\"𝒴\":\"𝒴\",\"Ÿ\":\"Ÿ\",\"Ж\":\"Ж\",\"Ź\":\"Ź\",\"Ž\":\"Ž\",\"З\":\"З\",\"Ż\":\"Ż\",\"Ζ\":\"Ζ\",\"ℨ\":\"ℨ\",\"ℤ\":\"ℤ\",\"𝒵\":\"𝒵\",\"á\":\"á\",\"ă\":\"ă\",\"∾\":\"∾\",\"∾̳\":\"∾̳\",\"∿\":\"∿\",\"â\":\"â\",\"а\":\"а\",\"æ\":\"æ\",\"𝔞\":\"𝔞\",\"à\":\"à\",\"ℵ\":\"ℵ\",\"α\":\"α\",\"ā\":\"ā\",\"⨿\":\"⨿\",\"∧\":\"∧\",\"⩕\":\"⩕\",\"⩜\":\"⩜\",\"⩘\":\"⩘\",\"⩚\":\"⩚\",\"∠\":\"∠\",\"⦤\":\"⦤\",\"∡\":\"∡\",\"⦨\":\"⦨\",\"⦩\":\"⦩\",\"⦪\":\"⦪\",\"⦫\":\"⦫\",\"⦬\":\"⦬\",\"⦭\":\"⦭\",\"⦮\":\"⦮\",\"⦯\":\"⦯\",\"∟\":\"∟\",\"⊾\":\"⊾\",\"⦝\":\"⦝\",\"∢\":\"∢\",\"⍼\":\"⍼\",\"ą\":\"ą\",\"𝕒\":\"𝕒\",\"⩰\":\"⩰\",\"⩯\":\"⩯\",\"≊\":\"≊\",\"≋\":\"≋\",\"'\":\"'\",\"å\":\"å\",\"𝒶\":\"𝒶\",\"*\":\"*\",\"ã\":\"ã\",\"ä\":\"ä\",\"⨑\":\"⨑\",\"⫭\":\"⫭\",\"≌\":\"≌\",\"϶\":\"϶\",\"‵\":\"‵\",\"∽\":\"∽\",\"⋍\":\"⋍\",\"⊽\":\"⊽\",\"⌅\":\"⌅\",\"⎶\":\"⎶\",\"б\":\"б\",\"„\":\"„\",\"⦰\":\"⦰\",\"β\":\"β\",\"ℶ\":\"ℶ\",\"≬\":\"≬\",\"𝔟\":\"𝔟\",\"◯\":\"◯\",\"⨀\":\"⨀\",\"⨁\":\"⨁\",\"⨂\":\"⨂\",\"⨆\":\"⨆\",\"★\":\"★\",\"▽\":\"▽\",\"△\":\"△\",\"⨄\":\"⨄\",\"⤍\":\"⤍\",\"⧫\":\"⧫\",\"▴\":\"▴\",\"▾\":\"▾\",\"◂\":\"◂\",\"▸\":\"▸\",\"␣\":\"␣\",\"▒\":\"▒\",\"░\":\"░\",\"▓\":\"▓\",\"█\":\"█\",\"=⃥\":\"=⃥\",\"≡⃥\":\"≡⃥\",\"⌐\":\"⌐\",\"𝕓\":\"𝕓\",\"⋈\":\"⋈\",\"╗\":\"╗\",\"╔\":\"╔\",\"╖\":\"╖\",\"╓\":\"╓\",\"═\":\"═\",\"╦\":\"╦\",\"╩\":\"╩\",\"╤\":\"╤\",\"╧\":\"╧\",\"╝\":\"╝\",\"╚\":\"╚\",\"╜\":\"╜\",\"╙\":\"╙\",\"║\":\"║\",\"╬\":\"╬\",\"╣\":\"╣\",\"╠\":\"╠\",\"╫\":\"╫\",\"╢\":\"╢\",\"╟\":\"╟\",\"⧉\":\"⧉\",\"╕\":\"╕\",\"╒\":\"╒\",\"┐\":\"┐\",\"┌\":\"┌\",\"╥\":\"╥\",\"╨\":\"╨\",\"┬\":\"┬\",\"┴\":\"┴\",\"⊟\":\"⊟\",\"⊞\":\"⊞\",\"⊠\":\"⊠\",\"╛\":\"╛\",\"╘\":\"╘\",\"┘\":\"┘\",\"└\":\"└\",\"│\":\"│\",\"╪\":\"╪\",\"╡\":\"╡\",\"╞\":\"╞\",\"┼\":\"┼\",\"┤\":\"┤\",\"├\":\"├\",\"¦\":\"¦\",\"𝒷\":\"𝒷\",\"⁏\":\"⁏\",\"\\\\\":\"\\",\"⧅\":\"⧅\",\"⟈\":\"⟈\",\"•\":\"•\",\"⪮\":\"⪮\",\"ć\":\"ć\",\"∩\":\"∩\",\"⩄\":\"⩄\",\"⩉\":\"⩉\",\"⩋\":\"⩋\",\"⩇\":\"⩇\",\"⩀\":\"⩀\",\"∩︀\":\"∩︀\",\"⁁\":\"⁁\",\"⩍\":\"⩍\",\"č\":\"č\",\"ç\":\"ç\",\"ĉ\":\"ĉ\",\"⩌\":\"⩌\",\"⩐\":\"⩐\",\"ċ\":\"ċ\",\"⦲\":\"⦲\",\"¢\":\"¢\",\"𝔠\":\"𝔠\",\"ч\":\"ч\",\"✓\":\"✓\",\"χ\":\"χ\",\"○\":\"○\",\"⧃\":\"⧃\",\"ˆ\":\"ˆ\",\"≗\":\"≗\",\"↺\":\"↺\",\"↻\":\"↻\",\"Ⓢ\":\"Ⓢ\",\"⊛\":\"⊛\",\"⊚\":\"⊚\",\"⊝\":\"⊝\",\"⨐\":\"⨐\",\"⫯\":\"⫯\",\"⧂\":\"⧂\",\"♣\":\"♣\",\":\":\":\",\",\":\",\",\"@\":\"@\",\"∁\":\"∁\",\"⩭\":\"⩭\",\"𝕔\":\"𝕔\",\"℗\":\"℗\",\"↵\":\"↵\",\"✗\":\"✗\",\"𝒸\":\"𝒸\",\"⫏\":\"⫏\",\"⫑\":\"⫑\",\"⫐\":\"⫐\",\"⫒\":\"⫒\",\"⋯\":\"⋯\",\"⤸\":\"⤸\",\"⤵\":\"⤵\",\"⋞\":\"⋞\",\"⋟\":\"⋟\",\"↶\":\"↶\",\"⤽\":\"⤽\",\"∪\":\"∪\",\"⩈\":\"⩈\",\"⩆\":\"⩆\",\"⩊\":\"⩊\",\"⊍\":\"⊍\",\"⩅\":\"⩅\",\"∪︀\":\"∪︀\",\"↷\":\"↷\",\"⤼\":\"⤼\",\"⋎\":\"⋎\",\"⋏\":\"⋏\",\"¤\":\"¤\",\"∱\":\"∱\",\"⌭\":\"⌭\",\"⥥\":\"⥥\",\"†\":\"†\",\"ℸ\":\"ℸ\",\"‐\":\"‐\",\"⤏\":\"⤏\",\"ď\":\"ď\",\"д\":\"д\",\"⇊\":\"⇊\",\"⩷\":\"⩷\",\"°\":\"°\",\"δ\":\"δ\",\"⦱\":\"⦱\",\"⥿\":\"⥿\",\"𝔡\":\"𝔡\",\"♦\":\"♦\",\"ϝ\":\"ϝ\",\"⋲\":\"⋲\",\"÷\":\"÷\",\"⋇\":\"⋇\",\"ђ\":\"ђ\",\"⌞\":\"⌞\",\"⌍\":\"⌍\",$:\"$\",\"𝕕\":\"𝕕\",\"≑\":\"≑\",\"∸\":\"∸\",\"∔\":\"∔\",\"⊡\":\"⊡\",\"⌟\":\"⌟\",\"⌌\":\"⌌\",\"𝒹\":\"𝒹\",\"ѕ\":\"ѕ\",\"⧶\":\"⧶\",\"đ\":\"đ\",\"⋱\":\"⋱\",\"▿\":\"▿\",\"⦦\":\"⦦\",\"џ\":\"џ\",\"⟿\":\"⟿\",\"é\":\"é\",\"⩮\":\"⩮\",\"ě\":\"ě\",\"≖\":\"≖\",\"ê\":\"ê\",\"≕\":\"≕\",\"э\":\"э\",\"ė\":\"ė\",\"≒\":\"≒\",\"𝔢\":\"𝔢\",\"⪚\":\"⪚\",\"è\":\"è\",\"⪖\":\"⪖\",\"⪘\":\"⪘\",\"⪙\":\"⪙\",\"⏧\":\"⏧\",\"ℓ\":\"ℓ\",\"⪕\":\"⪕\",\"⪗\":\"⪗\",\"ē\":\"ē\",\"∅\":\"∅\",\" \":\" \",\" \":\" \",\" \":\" \",\"ŋ\":\"ŋ\",\" \":\" \",\"ę\":\"ę\",\"𝕖\":\"𝕖\",\"⋕\":\"⋕\",\"⧣\":\"⧣\",\"⩱\":\"⩱\",\"ε\":\"ε\",\"ϵ\":\"ϵ\",\"=\":\"=\",\"≟\":\"≟\",\"⩸\":\"⩸\",\"⧥\":\"⧥\",\"≓\":\"≓\",\"⥱\":\"⥱\",\"ℯ\":\"ℯ\",\"η\":\"η\",\"ð\":\"ð\",\"ë\":\"ë\",\"€\":\"€\",\"!\":\"!\",\"ф\":\"ф\",\"♀\":\"♀\",\"ffi\":\"ffi\",\"ff\":\"ff\",\"ffl\":\"ffl\",\"𝔣\":\"𝔣\",\"fi\":\"fi\",fj:\"fj\",\"♭\":\"♭\",\"fl\":\"fl\",\"▱\":\"▱\",\"ƒ\":\"ƒ\",\"𝕗\":\"𝕗\",\"⋔\":\"⋔\",\"⫙\":\"⫙\",\"⨍\":\"⨍\",\"½\":\"½\",\"⅓\":\"⅓\",\"¼\":\"¼\",\"⅕\":\"⅕\",\"⅙\":\"⅙\",\"⅛\":\"⅛\",\"⅔\":\"⅔\",\"⅖\":\"⅖\",\"¾\":\"¾\",\"⅗\":\"⅗\",\"⅜\":\"⅜\",\"⅘\":\"⅘\",\"⅚\":\"⅚\",\"⅝\":\"⅝\",\"⅞\":\"⅞\",\"⁄\":\"⁄\",\"⌢\":\"⌢\",\"𝒻\":\"𝒻\",\"⪌\":\"⪌\",\"ǵ\":\"ǵ\",\"γ\":\"γ\",\"⪆\":\"⪆\",\"ğ\":\"ğ\",\"ĝ\":\"ĝ\",\"г\":\"г\",\"ġ\":\"ġ\",\"⪩\":\"⪩\",\"⪀\":\"⪀\",\"⪂\":\"⪂\",\"⪄\":\"⪄\",\"⋛︀\":\"⋛︀\",\"⪔\":\"⪔\",\"𝔤\":\"𝔤\",\"ℷ\":\"ℷ\",\"ѓ\":\"ѓ\",\"⪒\":\"⪒\",\"⪥\":\"⪥\",\"⪤\":\"⪤\",\"≩\":\"≩\",\"⪊\":\"⪊\",\"⪈\":\"⪈\",\"⋧\":\"⋧\",\"𝕘\":\"𝕘\",\"ℊ\":\"ℊ\",\"⪎\":\"⪎\",\"⪐\":\"⪐\",\"⪧\":\"⪧\",\"⩺\":\"⩺\",\"⋗\":\"⋗\",\"⦕\":\"⦕\",\"⩼\":\"⩼\",\"⥸\":\"⥸\",\"≩︀\":\"≩︀\",\"ъ\":\"ъ\",\"⥈\":\"⥈\",\"↭\":\"↭\",\"ℏ\":\"ℏ\",\"ĥ\":\"ĥ\",\"♥\":\"♥\",\"…\":\"…\",\"⊹\":\"⊹\",\"𝔥\":\"𝔥\",\"⤥\":\"⤥\",\"⤦\":\"⤦\",\"⇿\":\"⇿\",\"∻\":\"∻\",\"↩\":\"↩\",\"↪\":\"↪\",\"𝕙\":\"𝕙\",\"―\":\"―\",\"𝒽\":\"𝒽\",\"ħ\":\"ħ\",\"⁃\":\"⁃\",\"í\":\"í\",\"î\":\"î\",\"и\":\"и\",\"е\":\"е\",\"¡\":\"¡\",\"𝔦\":\"𝔦\",\"ì\":\"ì\",\"⨌\":\"⨌\",\"∭\":\"∭\",\"⧜\":\"⧜\",\"℩\":\"℩\",\"ij\":\"ij\",\"ī\":\"ī\",\"ı\":\"ı\",\"⊷\":\"⊷\",\"Ƶ\":\"Ƶ\",\"℅\":\"℅\",\"∞\":\"∞\",\"⧝\":\"⧝\",\"⊺\":\"⊺\",\"⨗\":\"⨗\",\"⨼\":\"⨼\",\"ё\":\"ё\",\"į\":\"į\",\"𝕚\":\"𝕚\",\"ι\":\"ι\",\"¿\":\"¿\",\"𝒾\":\"𝒾\",\"⋹\":\"⋹\",\"⋵\":\"⋵\",\"⋴\":\"⋴\",\"⋳\":\"⋳\",\"ĩ\":\"ĩ\",\"і\":\"і\",\"ï\":\"ï\",\"ĵ\":\"ĵ\",\"й\":\"й\",\"𝔧\":\"𝔧\",\"ȷ\":\"ȷ\",\"𝕛\":\"𝕛\",\"𝒿\":\"𝒿\",\"ј\":\"ј\",\"є\":\"є\",\"κ\":\"κ\",\"ϰ\":\"ϰ\",\"ķ\":\"ķ\",\"к\":\"к\",\"𝔨\":\"𝔨\",\"ĸ\":\"ĸ\",\"х\":\"х\",\"ќ\":\"ќ\",\"𝕜\":\"𝕜\",\"𝓀\":\"𝓀\",\"⤛\":\"⤛\",\"⤎\":\"⤎\",\"⪋\":\"⪋\",\"⥢\":\"⥢\",\"ĺ\":\"ĺ\",\"⦴\":\"⦴\",\"λ\":\"λ\",\"⦑\":\"⦑\",\"⪅\":\"⪅\",\"«\":\"«\",\"⤟\":\"⤟\",\"⤝\":\"⤝\",\"↫\":\"↫\",\"⤹\":\"⤹\",\"⥳\":\"⥳\",\"↢\":\"↢\",\"⪫\":\"⪫\",\"⤙\":\"⤙\",\"⪭\":\"⪭\",\"⪭︀\":\"⪭︀\",\"⤌\":\"⤌\",\"❲\":\"❲\",\"{\":\"{\",\"[\":\"[\",\"⦋\":\"⦋\",\"⦏\":\"⦏\",\"⦍\":\"⦍\",\"ľ\":\"ľ\",\"ļ\":\"ļ\",\"л\":\"л\",\"⤶\":\"⤶\",\"⥧\":\"⥧\",\"⥋\":\"⥋\",\"↲\":\"↲\",\"≤\":\"≤\",\"⇇\":\"⇇\",\"⋋\":\"⋋\",\"⪨\":\"⪨\",\"⩿\":\"⩿\",\"⪁\":\"⪁\",\"⪃\":\"⪃\",\"⋚︀\":\"⋚︀\",\"⪓\":\"⪓\",\"⋖\":\"⋖\",\"⥼\":\"⥼\",\"𝔩\":\"𝔩\",\"⪑\":\"⪑\",\"⥪\":\"⥪\",\"▄\":\"▄\",\"љ\":\"љ\",\"⥫\":\"⥫\",\"◺\":\"◺\",\"ŀ\":\"ŀ\",\"⎰\":\"⎰\",\"≨\":\"≨\",\"⪉\":\"⪉\",\"⪇\":\"⪇\",\"⋦\":\"⋦\",\"⟬\":\"⟬\",\"⇽\":\"⇽\",\"⟼\":\"⟼\",\"↬\":\"↬\",\"⦅\":\"⦅\",\"𝕝\":\"𝕝\",\"⨭\":\"⨭\",\"⨴\":\"⨴\",\"∗\":\"∗\",\"◊\":\"◊\",\"(\":\"(\",\"⦓\":\"⦓\",\"⥭\":\"⥭\",\"‎\":\"‎\",\"⊿\":\"⊿\",\"‹\":\"‹\",\"𝓁\":\"𝓁\",\"⪍\":\"⪍\",\"⪏\":\"⪏\",\"‚\":\"‚\",\"ł\":\"ł\",\"⪦\":\"⪦\",\"⩹\":\"⩹\",\"⋉\":\"⋉\",\"⥶\":\"⥶\",\"⩻\":\"⩻\",\"⦖\":\"⦖\",\"◃\":\"◃\",\"⥊\":\"⥊\",\"⥦\":\"⥦\",\"≨︀\":\"≨︀\",\"∺\":\"∺\",\"¯\":\"¯\",\"♂\":\"♂\",\"✠\":\"✠\",\"▮\":\"▮\",\"⨩\":\"⨩\",\"м\":\"м\",\"—\":\"—\",\"𝔪\":\"𝔪\",\"℧\":\"℧\",\"µ\":\"µ\",\"⫰\":\"⫰\",\"−\":\"−\",\"⨪\":\"⨪\",\"⫛\":\"⫛\",\"⊧\":\"⊧\",\"𝕞\":\"𝕞\",\"𝓂\":\"𝓂\",\"μ\":\"μ\",\"⊸\":\"⊸\",\"⋙̸\":\"⋙̸\",\"≫⃒\":\"≫⃒\",\"⇍\":\"⇍\",\"⇎\":\"⇎\",\"⋘̸\":\"⋘̸\",\"≪⃒\":\"≪⃒\",\"⇏\":\"⇏\",\"⊯\":\"⊯\",\"⊮\":\"⊮\",\"ń\":\"ń\",\"∠⃒\":\"∠⃒\",\"⩰̸\":\"⩰̸\",\"≋̸\":\"≋̸\",\"ʼn\":\"ʼn\",\"♮\":\"♮\",\"⩃\":\"⩃\",\"ň\":\"ň\",\"ņ\":\"ņ\",\"⩭̸\":\"⩭̸\",\"⩂\":\"⩂\",\"н\":\"н\",\"–\":\"–\",\"⇗\":\"⇗\",\"⤤\":\"⤤\",\"≐̸\":\"≐̸\",\"⤨\":\"⤨\",\"𝔫\":\"𝔫\",\"↮\":\"↮\",\"⫲\":\"⫲\",\"⋼\":\"⋼\",\"⋺\":\"⋺\",\"њ\":\"њ\",\"≦̸\":\"≦̸\",\"↚\":\"↚\",\"‥\":\"‥\",\"𝕟\":\"𝕟\",\"¬\":\"¬\",\"⋹̸\":\"⋹̸\",\"⋵̸\":\"⋵̸\",\"⋷\":\"⋷\",\"⋶\":\"⋶\",\"⋾\":\"⋾\",\"⋽\":\"⋽\",\"⫽⃥\":\"⫽⃥\",\"∂̸\":\"∂̸\",\"⨔\":\"⨔\",\"↛\":\"↛\",\"⤳̸\":\"⤳̸\",\"↝̸\":\"↝̸\",\"𝓃\":\"𝓃\",\"⊄\":\"⊄\",\"⫅̸\":\"⫅̸\",\"⊅\":\"⊅\",\"⫆̸\":\"⫆̸\",\"ñ\":\"ñ\",\"ν\":\"ν\",\"#\":\"#\",\"№\":\"№\",\" \":\" \",\"⊭\":\"⊭\",\"⤄\":\"⤄\",\"≍⃒\":\"≍⃒\",\"⊬\":\"⊬\",\"≥⃒\":\"≥⃒\",\">⃒\":\">⃒\",\"⧞\":\"⧞\",\"⤂\":\"⤂\",\"≤⃒\":\"≤⃒\",\"<⃒\":\"<⃒\",\"⊴⃒\":\"⊴⃒\",\"⤃\":\"⤃\",\"⊵⃒\":\"⊵⃒\",\"∼⃒\":\"∼⃒\",\"⇖\":\"⇖\",\"⤣\":\"⤣\",\"⤧\":\"⤧\",\"ó\":\"ó\",\"ô\":\"ô\",\"о\":\"о\",\"ő\":\"ő\",\"⨸\":\"⨸\",\"⦼\":\"⦼\",\"œ\":\"œ\",\"⦿\":\"⦿\",\"𝔬\":\"𝔬\",\"˛\":\"˛\",\"ò\":\"ò\",\"⧁\":\"⧁\",\"⦵\":\"⦵\",\"⦾\":\"⦾\",\"⦻\":\"⦻\",\"⧀\":\"⧀\",\"ō\":\"ō\",\"ω\":\"ω\",\"ο\":\"ο\",\"⦶\":\"⦶\",\"𝕠\":\"𝕠\",\"⦷\":\"⦷\",\"⦹\":\"⦹\",\"∨\":\"∨\",\"⩝\":\"⩝\",\"ℴ\":\"ℴ\",\"ª\":\"ª\",\"º\":\"º\",\"⊶\":\"⊶\",\"⩖\":\"⩖\",\"⩗\":\"⩗\",\"⩛\":\"⩛\",\"ø\":\"ø\",\"⊘\":\"⊘\",\"õ\":\"õ\",\"⨶\":\"⨶\",\"ö\":\"ö\",\"⌽\":\"⌽\",\"¶\":\"¶\",\"⫳\":\"⫳\",\"⫽\":\"⫽\",\"п\":\"п\",\"%\":\"%\",\".\":\".\",\"‰\":\"‰\",\"‱\":\"‱\",\"𝔭\":\"𝔭\",\"φ\":\"φ\",\"ϕ\":\"ϕ\",\"☎\":\"☎\",\"π\":\"π\",\"ϖ\":\"ϖ\",\"ℎ\":\"ℎ\",\"+\":\"+\",\"⨣\":\"⨣\",\"⨢\":\"⨢\",\"⨥\":\"⨥\",\"⩲\":\"⩲\",\"⨦\":\"⨦\",\"⨧\":\"⨧\",\"⨕\":\"⨕\",\"𝕡\":\"𝕡\",\"£\":\"£\",\"⪳\":\"⪳\",\"⪷\":\"⪷\",\"⪹\":\"⪹\",\"⪵\":\"⪵\",\"⋨\":\"⋨\",\"′\":\"′\",\"⌮\":\"⌮\",\"⌒\":\"⌒\",\"⌓\":\"⌓\",\"⊰\":\"⊰\",\"𝓅\":\"𝓅\",\"ψ\":\"ψ\",\" \":\" \",\"𝔮\":\"𝔮\",\"𝕢\":\"𝕢\",\"⁗\":\"⁗\",\"𝓆\":\"𝓆\",\"⨖\":\"⨖\",\"?\":\"?\",\"⤜\":\"⤜\",\"⥤\":\"⥤\",\"∽̱\":\"∽̱\",\"ŕ\":\"ŕ\",\"⦳\":\"⦳\",\"⦒\":\"⦒\",\"⦥\":\"⦥\",\"»\":\"»\",\"⥵\":\"⥵\",\"⤠\":\"⤠\",\"⤳\":\"⤳\",\"⤞\":\"⤞\",\"⥅\":\"⥅\",\"⥴\":\"⥴\",\"↣\":\"↣\",\"↝\":\"↝\",\"⤚\":\"⤚\",\"∶\":\"∶\",\"❳\":\"❳\",\"}\":\"}\",\"]\":\"]\",\"⦌\":\"⦌\",\"⦎\":\"⦎\",\"⦐\":\"⦐\",\"ř\":\"ř\",\"ŗ\":\"ŗ\",\"р\":\"р\",\"⤷\":\"⤷\",\"⥩\":\"⥩\",\"↳\":\"↳\",\"▭\":\"▭\",\"⥽\":\"⥽\",\"𝔯\":\"𝔯\",\"⥬\":\"⥬\",\"ρ\":\"ρ\",\"ϱ\":\"ϱ\",\"⇉\":\"⇉\",\"⋌\":\"⋌\",\"˚\":\"˚\",\"‏\":\"‏\",\"⎱\":\"⎱\",\"⫮\":\"⫮\",\"⟭\":\"⟭\",\"⇾\":\"⇾\",\"⦆\":\"⦆\",\"𝕣\":\"𝕣\",\"⨮\":\"⨮\",\"⨵\":\"⨵\",\")\":\")\",\"⦔\":\"⦔\",\"⨒\":\"⨒\",\"›\":\"›\",\"𝓇\":\"𝓇\",\"⋊\":\"⋊\",\"▹\":\"▹\",\"⧎\":\"⧎\",\"⥨\":\"⥨\",\"℞\":\"℞\",\"ś\":\"ś\",\"⪴\":\"⪴\",\"⪸\":\"⪸\",\"š\":\"š\",\"ş\":\"ş\",\"ŝ\":\"ŝ\",\"⪶\":\"⪶\",\"⪺\":\"⪺\",\"⋩\":\"⋩\",\"⨓\":\"⨓\",\"с\":\"с\",\"⋅\":\"⋅\",\"⩦\":\"⩦\",\"⇘\":\"⇘\",\"§\":\"§\",\";\":\";\",\"⤩\":\"⤩\",\"✶\":\"✶\",\"𝔰\":\"𝔰\",\"♯\":\"♯\",\"щ\":\"щ\",\"ш\":\"ш\",\"­\":\"­\",\"σ\":\"σ\",\"ς\":\"ς\",\"⩪\":\"⩪\",\"⪞\":\"⪞\",\"⪠\":\"⪠\",\"⪝\":\"⪝\",\"⪟\":\"⪟\",\"≆\":\"≆\",\"⨤\":\"⨤\",\"⥲\":\"⥲\",\"⨳\":\"⨳\",\"⧤\":\"⧤\",\"⌣\":\"⌣\",\"⪪\":\"⪪\",\"⪬\":\"⪬\",\"⪬︀\":\"⪬︀\",\"ь\":\"ь\",\"/\":\"/\",\"⧄\":\"⧄\",\"⌿\":\"⌿\",\"𝕤\":\"𝕤\",\"♠\":\"♠\",\"⊓︀\":\"⊓︀\",\"⊔︀\":\"⊔︀\",\"𝓈\":\"𝓈\",\"☆\":\"☆\",\"⊂\":\"⊂\",\"⫅\":\"⫅\",\"⪽\":\"⪽\",\"⫃\":\"⫃\",\"⫁\":\"⫁\",\"⫋\":\"⫋\",\"⊊\":\"⊊\",\"⪿\":\"⪿\",\"⥹\":\"⥹\",\"⫇\":\"⫇\",\"⫕\":\"⫕\",\"⫓\":\"⫓\",\"♪\":\"♪\",\"¹\":\"¹\",\"²\":\"²\",\"³\":\"³\",\"⫆\":\"⫆\",\"⪾\":\"⪾\",\"⫘\":\"⫘\",\"⫄\":\"⫄\",\"⟉\":\"⟉\",\"⫗\":\"⫗\",\"⥻\":\"⥻\",\"⫂\":\"⫂\",\"⫌\":\"⫌\",\"⊋\":\"⊋\",\"⫀\":\"⫀\",\"⫈\":\"⫈\",\"⫔\":\"⫔\",\"⫖\":\"⫖\",\"⇙\":\"⇙\",\"⤪\":\"⤪\",\"ß\":\"ß\",\"⌖\":\"⌖\",\"τ\":\"τ\",\"ť\":\"ť\",\"ţ\":\"ţ\",\"т\":\"т\",\"⌕\":\"⌕\",\"𝔱\":\"𝔱\",\"θ\":\"θ\",\"ϑ\":\"ϑ\",\"þ\":\"þ\",\"×\":\"×\",\"⨱\":\"⨱\",\"⨰\":\"⨰\",\"⌶\":\"⌶\",\"⫱\":\"⫱\",\"𝕥\":\"𝕥\",\"⫚\":\"⫚\",\"‴\":\"‴\",\"▵\":\"▵\",\"≜\":\"≜\",\"◬\":\"◬\",\"⨺\":\"⨺\",\"⨹\":\"⨹\",\"⧍\":\"⧍\",\"⨻\":\"⨻\",\"⏢\":\"⏢\",\"𝓉\":\"𝓉\",\"ц\":\"ц\",\"ћ\":\"ћ\",\"ŧ\":\"ŧ\",\"⥣\":\"⥣\",\"ú\":\"ú\",\"ў\":\"ў\",\"ŭ\":\"ŭ\",\"û\":\"û\",\"у\":\"у\",\"ű\":\"ű\",\"⥾\":\"⥾\",\"𝔲\":\"𝔲\",\"ù\":\"ù\",\"▀\":\"▀\",\"⌜\":\"⌜\",\"⌏\":\"⌏\",\"◸\":\"◸\",\"ū\":\"ū\",\"ų\":\"ų\",\"𝕦\":\"𝕦\",\"υ\":\"υ\",\"⇈\":\"⇈\",\"⌝\":\"⌝\",\"⌎\":\"⌎\",\"ů\":\"ů\",\"◹\":\"◹\",\"𝓊\":\"𝓊\",\"⋰\":\"⋰\",\"ũ\":\"ũ\",\"ü\":\"ü\",\"⦧\":\"⦧\",\"⫨\":\"⫨\",\"⫩\":\"⫩\",\"⦜\":\"⦜\",\"⊊︀\":\"⊊︀\",\"⫋︀\":\"⫋︀\",\"⊋︀\":\"⊋︀\",\"⫌︀\":\"⫌︀\",\"в\":\"в\",\"⊻\":\"⊻\",\"≚\":\"≚\",\"⋮\":\"⋮\",\"𝔳\":\"𝔳\",\"𝕧\":\"𝕧\",\"𝓋\":\"𝓋\",\"⦚\":\"⦚\",\"ŵ\":\"ŵ\",\"⩟\":\"⩟\",\"≙\":\"≙\",\"℘\":\"℘\",\"𝔴\":\"𝔴\",\"𝕨\":\"𝕨\",\"𝓌\":\"𝓌\",\"𝔵\":\"𝔵\",\"ξ\":\"ξ\",\"⋻\":\"⋻\",\"𝕩\":\"𝕩\",\"𝓍\":\"𝓍\",\"ý\":\"ý\",\"я\":\"я\",\"ŷ\":\"ŷ\",\"ы\":\"ы\",\"¥\":\"¥\",\"𝔶\":\"𝔶\",\"ї\":\"ї\",\"𝕪\":\"𝕪\",\"𝓎\":\"𝓎\",\"ю\":\"ю\",\"ÿ\":\"ÿ\",\"ź\":\"ź\",\"ž\":\"ž\",\"з\":\"з\",\"ż\":\"ż\",\"ζ\":\"ζ\",\"𝔷\":\"𝔷\",\"ж\":\"ж\",\"⇝\":\"⇝\",\"𝕫\":\"𝕫\",\"𝓏\":\"𝓏\",\"‍\":\"‍\",\"‌\":\"‌\"}}};","\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};","\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports.fromCodePoint=String.fromCodePoint||function(astralCodePoint){return String.fromCharCode(Math.floor((astralCodePoint-65536)/1024)+55296,(astralCodePoint-65536)%1024+56320)};exports.getCodePoint=String.prototype.codePointAt?function(input,position){return input.codePointAt(position)}:function(input,position){return(input.charCodeAt(position)-55296)*1024+input.charCodeAt(position+1)-56320+65536};exports.highSurrogateFrom=55296;exports.highSurrogateTo=56319;","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar named_references_1 = require(\"./named-references\");\nvar numeric_unicode_map_1 = require(\"./numeric-unicode-map\");\nvar surrogate_pairs_1 = require(\"./surrogate-pairs\");\nvar allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), { all: named_references_1.namedReferences.html5 });\nvar encodeRegExps = {\n specialChars: /[<>'\"&]/g,\n nonAscii: /(?:[<>'\"&\\u0080-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g,\n nonAsciiPrintable: /(?:[<>'\"&\\x01-\\x08\\x11-\\x15\\x17-\\x1F\\x7f-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g,\n extensive: /(?:[\\x01-\\x0c\\x0e-\\x1f\\x21-\\x2c\\x2e-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7d\\x7f-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g\n};\nvar defaultEncodeOptions = {\n mode: 'specialChars',\n level: 'all',\n numeric: 'decimal'\n};\n/** Encodes all the necessary (specified by `level`) characters in the text */\nfunction encode(text, _a) {\n var _b = _a === void 0 ? defaultEncodeOptions : _a, _c = _b.mode, mode = _c === void 0 ? 'specialChars' : _c, _d = _b.numeric, numeric = _d === void 0 ? 'decimal' : _d, _e = _b.level, level = _e === void 0 ? 'all' : _e;\n if (!text) {\n return '';\n }\n var encodeRegExp = encodeRegExps[mode];\n var references = allNamedReferences[level].characters;\n var isHex = numeric === 'hexadecimal';\n encodeRegExp.lastIndex = 0;\n var _b = encodeRegExp.exec(text);\n var _c;\n if (_b) {\n _c = '';\n var _d = 0;\n do {\n if (_d !== _b.index) {\n _c += text.substring(_d, _b.index);\n }\n var _e = _b[0];\n var result_1 = references[_e];\n if (!result_1) {\n var code_1 = _e.length > 1 ? surrogate_pairs_1.getCodePoint(_e, 0) : _e.charCodeAt(0);\n result_1 = (isHex ? '&#x' + code_1.toString(16) : '&#' + code_1) + ';';\n }\n _c += result_1;\n _d = _b.index + _e.length;\n } while ((_b = encodeRegExp.exec(text)));\n if (_d !== text.length) {\n _c += text.substring(_d);\n }\n }\n else {\n _c =\n text;\n }\n return _c;\n}\nexports.encode = encode;\nvar defaultDecodeOptions = {\n scope: 'body',\n level: 'all'\n};\nvar strict = /&(?:#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);/g;\nvar attribute = /&(?:#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g;\nvar baseDecodeRegExps = {\n xml: {\n strict: strict,\n attribute: attribute,\n body: named_references_1.bodyRegExps.xml\n },\n html4: {\n strict: strict,\n attribute: attribute,\n body: named_references_1.bodyRegExps.html4\n },\n html5: {\n strict: strict,\n attribute: attribute,\n body: named_references_1.bodyRegExps.html5\n }\n};\nvar decodeRegExps = __assign(__assign({}, baseDecodeRegExps), { all: baseDecodeRegExps.html5 });\nvar fromCharCode = String.fromCharCode;\nvar outOfBoundsChar = fromCharCode(65533);\nvar defaultDecodeEntityOptions = {\n level: 'all'\n};\n/** Decodes a single entity */\nfunction decodeEntity(entity, _a) {\n var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level, level = _b === void 0 ? 'all' : _b;\n if (!entity) {\n return '';\n }\n var _b = entity;\n var decodeEntityLastChar_1 = entity[entity.length - 1];\n if (false\n && decodeEntityLastChar_1 === '=') {\n _b =\n entity;\n }\n else if (false\n && decodeEntityLastChar_1 !== ';') {\n _b =\n entity;\n }\n else {\n var decodeResultByReference_1 = allNamedReferences[level].entities[entity];\n if (decodeResultByReference_1) {\n _b = decodeResultByReference_1;\n }\n else if (entity[0] === '&' && entity[1] === '#') {\n var decodeSecondChar_1 = entity[2];\n var decodeCode_1 = decodeSecondChar_1 == 'x' || decodeSecondChar_1 == 'X'\n ? parseInt(entity.substr(3), 16)\n : parseInt(entity.substr(2));\n _b =\n decodeCode_1 >= 0x10ffff\n ? outOfBoundsChar\n : decodeCode_1 > 65535\n ? surrogate_pairs_1.fromCodePoint(decodeCode_1)\n : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_1] || decodeCode_1);\n }\n }\n return _b;\n}\nexports.decodeEntity = decodeEntity;\n/** Decodes all entities in the text */\nfunction decode(text, _a) {\n var decodeSecondChar_1 = _a === void 0 ? defaultDecodeOptions : _a, decodeCode_1 = decodeSecondChar_1.level, level = decodeCode_1 === void 0 ? 'all' : decodeCode_1, _b = decodeSecondChar_1.scope, scope = _b === void 0 ? level === 'xml' ? 'strict' : 'body' : _b;\n if (!text) {\n return '';\n }\n var decodeRegExp = decodeRegExps[level][scope];\n var references = allNamedReferences[level].entities;\n var isAttribute = scope === 'attribute';\n var isStrict = scope === 'strict';\n decodeRegExp.lastIndex = 0;\n var replaceMatch_1 = decodeRegExp.exec(text);\n var replaceResult_1;\n if (replaceMatch_1) {\n replaceResult_1 = '';\n var replaceLastIndex_1 = 0;\n do {\n if (replaceLastIndex_1 !== replaceMatch_1.index) {\n replaceResult_1 += text.substring(replaceLastIndex_1, replaceMatch_1.index);\n }\n var replaceInput_1 = replaceMatch_1[0];\n var decodeResult_1 = replaceInput_1;\n var decodeEntityLastChar_2 = replaceInput_1[replaceInput_1.length - 1];\n if (isAttribute\n && decodeEntityLastChar_2 === '=') {\n decodeResult_1 = replaceInput_1;\n }\n else if (isStrict\n && decodeEntityLastChar_2 !== ';') {\n decodeResult_1 = replaceInput_1;\n }\n else {\n var decodeResultByReference_2 = references[replaceInput_1];\n if (decodeResultByReference_2) {\n decodeResult_1 = decodeResultByReference_2;\n }\n else if (replaceInput_1[0] === '&' && replaceInput_1[1] === '#') {\n var decodeSecondChar_2 = replaceInput_1[2];\n var decodeCode_2 = decodeSecondChar_2 == 'x' || decodeSecondChar_2 == 'X'\n ? parseInt(replaceInput_1.substr(3), 16)\n : parseInt(replaceInput_1.substr(2));\n decodeResult_1 =\n decodeCode_2 >= 0x10ffff\n ? outOfBoundsChar\n : decodeCode_2 > 65535\n ? surrogate_pairs_1.fromCodePoint(decodeCode_2)\n : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_2] || decodeCode_2);\n }\n }\n replaceResult_1 += decodeResult_1;\n replaceLastIndex_1 = replaceMatch_1.index + replaceInput_1.length;\n } while ((replaceMatch_1 = decodeRegExp.exec(text)));\n if (replaceLastIndex_1 !== text.length) {\n replaceResult_1 += text.substring(replaceLastIndex_1);\n }\n }\n else {\n replaceResult_1 =\n text;\n }\n return replaceResult_1;\n}\nexports.decode = decode;\n","var deepFreezeEs6 = {exports: {}};\n\nfunction deepFreeze(obj) {\n if (obj instanceof Map) {\n obj.clear = obj.delete = obj.set = function () {\n throw new Error('map is read-only');\n };\n } else if (obj instanceof Set) {\n obj.add = obj.clear = obj.delete = function () {\n throw new Error('set is read-only');\n };\n }\n\n // Freeze self\n Object.freeze(obj);\n\n Object.getOwnPropertyNames(obj).forEach(function (name) {\n var prop = obj[name];\n\n // Freeze prop if it is an object\n if (typeof prop == 'object' && !Object.isFrozen(prop)) {\n deepFreeze(prop);\n }\n });\n\n return obj;\n}\n\ndeepFreezeEs6.exports = deepFreeze;\ndeepFreezeEs6.exports.default = deepFreeze;\n\n/** @typedef {import('highlight.js').CallbackResponse} CallbackResponse */\n/** @typedef {import('highlight.js').CompiledMode} CompiledMode */\n/** @implements CallbackResponse */\n\nclass Response {\n /**\n * @param {CompiledMode} mode\n */\n constructor(mode) {\n // eslint-disable-next-line no-undefined\n if (mode.data === undefined) mode.data = {};\n\n this.data = mode.data;\n this.isMatchIgnored = false;\n }\n\n ignoreMatch() {\n this.isMatchIgnored = true;\n }\n}\n\n/**\n * @param {string} value\n * @returns {string}\n */\nfunction escapeHTML(value) {\n return value\n .replace(/&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n}\n\n/**\n * performs a shallow merge of multiple objects into one\n *\n * @template T\n * @param {T} original\n * @param {Record<string,any>[]} objects\n * @returns {T} a single new object\n */\nfunction inherit$1(original, ...objects) {\n /** @type Record<string,any> */\n const result = Object.create(null);\n\n for (const key in original) {\n result[key] = original[key];\n }\n objects.forEach(function(obj) {\n for (const key in obj) {\n result[key] = obj[key];\n }\n });\n return /** @type {T} */ (result);\n}\n\n/**\n * @typedef {object} Renderer\n * @property {(text: string) => void} addText\n * @property {(node: Node) => void} openNode\n * @property {(node: Node) => void} closeNode\n * @property {() => string} value\n */\n\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean}} Node */\n/** @typedef {{walk: (r: Renderer) => void}} Tree */\n/** */\n\nconst SPAN_CLOSE = '</span>';\n\n/**\n * Determines if a node needs to be wrapped in <span>\n *\n * @param {Node} node */\nconst emitsWrappingTags = (node) => {\n // rarely we can have a sublanguage where language is undefined\n // TODO: track down why\n return !!node.scope || (node.sublanguage && node.language);\n};\n\n/**\n *\n * @param {string} name\n * @param {{prefix:string}} options\n */\nconst scopeToCSSClass = (name, { prefix }) => {\n if (name.includes(\".\")) {\n const pieces = name.split(\".\");\n return [\n `${prefix}${pieces.shift()}`,\n ...(pieces.map((x, i) => `${x}${\"_\".repeat(i + 1)}`))\n ].join(\" \");\n }\n return `${prefix}${name}`;\n};\n\n/** @type {Renderer} */\nclass HTMLRenderer {\n /**\n * Creates a new HTMLRenderer\n *\n * @param {Tree} parseTree - the parse tree (must support `walk` API)\n * @param {{classPrefix: string}} options\n */\n constructor(parseTree, options) {\n this.buffer = \"\";\n this.classPrefix = options.classPrefix;\n parseTree.walk(this);\n }\n\n /**\n * Adds texts to the output stream\n *\n * @param {string} text */\n addText(text) {\n this.buffer += escapeHTML(text);\n }\n\n /**\n * Adds a node open to the output stream (if needed)\n *\n * @param {Node} node */\n openNode(node) {\n if (!emitsWrappingTags(node)) return;\n\n let className = \"\";\n if (node.sublanguage) {\n className = `language-${node.language}`;\n } else {\n className = scopeToCSSClass(node.scope, { prefix: this.classPrefix });\n }\n this.span(className);\n }\n\n /**\n * Adds a node close to the output stream (if needed)\n *\n * @param {Node} node */\n closeNode(node) {\n if (!emitsWrappingTags(node)) return;\n\n this.buffer += SPAN_CLOSE;\n }\n\n /**\n * returns the accumulated buffer\n */\n value() {\n return this.buffer;\n }\n\n // helpers\n\n /**\n * Builds a span element\n *\n * @param {string} className */\n span(className) {\n this.buffer += `<span class=\"${className}\">`;\n }\n}\n\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean, children: Node[]} | string} Node */\n/** @typedef {{scope?: string, language?: string, sublanguage?: boolean, children: Node[]} } DataNode */\n/** @typedef {import('highlight.js').Emitter} Emitter */\n/** */\n\n/** @returns {DataNode} */\nconst newNode = (opts = {}) => {\n /** @type DataNode */\n const result = { children: [] };\n Object.assign(result, opts);\n return result;\n};\n\nclass TokenTree {\n constructor() {\n /** @type DataNode */\n this.rootNode = newNode();\n this.stack = [this.rootNode];\n }\n\n get top() {\n return this.stack[this.stack.length - 1];\n }\n\n get root() { return this.rootNode; }\n\n /** @param {Node} node */\n add(node) {\n this.top.children.push(node);\n }\n\n /** @param {string} scope */\n openNode(scope) {\n /** @type Node */\n const node = newNode({ scope });\n this.add(node);\n this.stack.push(node);\n }\n\n closeNode() {\n if (this.stack.length > 1) {\n return this.stack.pop();\n }\n // eslint-disable-next-line no-undefined\n return undefined;\n }\n\n closeAllNodes() {\n while (this.closeNode());\n }\n\n toJSON() {\n return JSON.stringify(this.rootNode, null, 4);\n }\n\n /**\n * @typedef { import(\"./html_renderer\").Renderer } Renderer\n * @param {Renderer} builder\n */\n walk(builder) {\n // this does not\n return this.constructor._walk(builder, this.rootNode);\n // this works\n // return TokenTree._walk(builder, this.rootNode);\n }\n\n /**\n * @param {Renderer} builder\n * @param {Node} node\n */\n static _walk(builder, node) {\n if (typeof node === \"string\") {\n builder.addText(node);\n } else if (node.children) {\n builder.openNode(node);\n node.children.forEach((child) => this._walk(builder, child));\n builder.closeNode(node);\n }\n return builder;\n }\n\n /**\n * @param {Node} node\n */\n static _collapse(node) {\n if (typeof node === \"string\") return;\n if (!node.children) return;\n\n if (node.children.every(el => typeof el === \"string\")) {\n // node.text = node.children.join(\"\");\n // delete node.children;\n node.children = [node.children.join(\"\")];\n } else {\n node.children.forEach((child) => {\n TokenTree._collapse(child);\n });\n }\n }\n}\n\n/**\n Currently this is all private API, but this is the minimal API necessary\n that an Emitter must implement to fully support the parser.\n\n Minimal interface:\n\n - addKeyword(text, scope)\n - addText(text)\n - addSublanguage(emitter, subLanguageName)\n - finalize()\n - openNode(scope)\n - closeNode()\n - closeAllNodes()\n - toHTML()\n\n*/\n\n/**\n * @implements {Emitter}\n */\nclass TokenTreeEmitter extends TokenTree {\n /**\n * @param {*} options\n */\n constructor(options) {\n super();\n this.options = options;\n }\n\n /**\n * @param {string} text\n * @param {string} scope\n */\n addKeyword(text, scope) {\n if (text === \"\") { return; }\n\n this.openNode(scope);\n this.addText(text);\n this.closeNode();\n }\n\n /**\n * @param {string} text\n */\n addText(text) {\n if (text === \"\") { return; }\n\n this.add(text);\n }\n\n /**\n * @param {Emitter & {root: DataNode}} emitter\n * @param {string} name\n */\n addSublanguage(emitter, name) {\n /** @type DataNode */\n const node = emitter.root;\n node.sublanguage = true;\n node.language = name;\n this.add(node);\n }\n\n toHTML() {\n const renderer = new HTMLRenderer(this, this.options);\n return renderer.value();\n }\n\n finalize() {\n return true;\n }\n}\n\n/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction anyNumberOfTimes(re) {\n return concat('(?:', re, ')*');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction optional(re) {\n return concat('(?:', re, ')?');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/**\n * @param { Array<string | RegExp | Object> } args\n * @returns {object}\n */\nfunction stripOptionsFromArgs(args) {\n const opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\nfunction either(...args) {\n /** @type { object & {capture?: boolean} } */\n const opts = stripOptionsFromArgs(args);\n const joined = '('\n + (opts.capture ? \"\" : \"?:\")\n + args.map((x) => source(x)).join(\"|\") + \")\";\n return joined;\n}\n\n/**\n * @param {RegExp | string} re\n * @returns {number}\n */\nfunction countMatchGroups(re) {\n return (new RegExp(re.toString() + '|')).exec('').length - 1;\n}\n\n/**\n * Does lexeme start with a regular expression match at the beginning\n * @param {RegExp} re\n * @param {string} lexeme\n */\nfunction startsWith(re, lexeme) {\n const match = re && re.exec(lexeme);\n return match && match.index === 0;\n}\n\n// BACKREF_RE matches an open parenthesis or backreference. To avoid\n// an incorrect parse, it additionally matches the following:\n// - [...] elements, where the meaning of parentheses and escapes change\n// - other escape sequences, so we do not misparse escape sequences as\n// interesting elements\n// - non-matching or lookahead parentheses, which do not capture. These\n// follow the '(' with a '?'.\nconst BACKREF_RE = /\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./;\n\n// **INTERNAL** Not intended for outside usage\n// join logically computes regexps.join(separator), but fixes the\n// backreferences so they continue to match.\n// it also places each individual regular expression into it's own\n// match group, keeping track of the sequencing of those match groups\n// is currently an exercise for the caller. :-)\n/**\n * @param {(string | RegExp)[]} regexps\n * @param {{joinWith: string}} opts\n * @returns {string}\n */\nfunction _rewriteBackreferences(regexps, { joinWith }) {\n let numCaptures = 0;\n\n return regexps.map((regex) => {\n numCaptures += 1;\n const offset = numCaptures;\n let re = source(regex);\n let out = '';\n\n while (re.length > 0) {\n const match = BACKREF_RE.exec(re);\n if (!match) {\n out += re;\n break;\n }\n out += re.substring(0, match.index);\n re = re.substring(match.index + match[0].length);\n if (match[0][0] === '\\\\' && match[1]) {\n // Adjust the backreference.\n out += '\\\\' + String(Number(match[1]) + offset);\n } else {\n out += match[0];\n if (match[0] === '(') {\n numCaptures++;\n }\n }\n }\n return out;\n }).map(re => `(${re})`).join(joinWith);\n}\n\n/** @typedef {import('highlight.js').Mode} Mode */\n/** @typedef {import('highlight.js').ModeCallback} ModeCallback */\n\n// Common regexps\nconst MATCH_NOTHING_RE = /\\b\\B/;\nconst IDENT_RE = '[a-zA-Z]\\\\w*';\nconst UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\\\w*';\nconst NUMBER_RE = '\\\\b\\\\d+(\\\\.\\\\d+)?';\nconst C_NUMBER_RE = '(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)'; // 0x..., 0..., decimal, float\nconst BINARY_NUMBER_RE = '\\\\b(0b[01]+)'; // 0b...\nconst RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~';\n\n/**\n* @param { Partial<Mode> & {binary?: string | RegExp} } opts\n*/\nconst SHEBANG = (opts = {}) => {\n const beginShebang = /^#![ ]*\\//;\n if (opts.binary) {\n opts.begin = concat(\n beginShebang,\n /.*\\b/,\n opts.binary,\n /\\b.*/);\n }\n return inherit$1({\n scope: 'meta',\n begin: beginShebang,\n end: /$/,\n relevance: 0,\n /** @type {ModeCallback} */\n \"on:begin\": (m, resp) => {\n if (m.index !== 0) resp.ignoreMatch();\n }\n }, opts);\n};\n\n// Common modes\nconst BACKSLASH_ESCAPE = {\n begin: '\\\\\\\\[\\\\s\\\\S]', relevance: 0\n};\nconst APOS_STRING_MODE = {\n scope: 'string',\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nconst QUOTE_STRING_MODE = {\n scope: 'string',\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nconst PHRASAL_WORDS_MODE = {\n begin: /\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/\n};\n/**\n * Creates a comment mode\n *\n * @param {string | RegExp} begin\n * @param {string | RegExp} end\n * @param {Mode | {}} [modeOptions]\n * @returns {Partial<Mode>}\n */\nconst COMMENT = function(begin, end, modeOptions = {}) {\n const mode = inherit$1(\n {\n scope: 'comment',\n begin,\n end,\n contains: []\n },\n modeOptions\n );\n mode.contains.push({\n scope: 'doctag',\n // hack to avoid the space from being included. the space is necessary to\n // match here to prevent the plain text rule below from gobbling up doctags\n begin: '[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)',\n end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,\n excludeBegin: true,\n relevance: 0\n });\n const ENGLISH_WORD = either(\n // list of common 1 and 2 letter words in English\n \"I\",\n \"a\",\n \"is\",\n \"so\",\n \"us\",\n \"to\",\n \"at\",\n \"if\",\n \"in\",\n \"it\",\n \"on\",\n // note: this is not an exhaustive list of contractions, just popular ones\n /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, // contractions - can't we'd they're let's, etc\n /[A-Za-z]+[-][a-z]+/, // `no-way`, etc.\n /[A-Za-z][a-z]{2,}/ // allow capitalized words at beginning of sentences\n );\n // looking like plain text, more likely to be a comment\n mode.contains.push(\n {\n // TODO: how to include \", (, ) without breaking grammars that use these for\n // comment delimiters?\n // begin: /[ ]+([()\"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()\":]?([.][ ]|[ ]|\\))){3}/\n // ---\n\n // this tries to find sequences of 3 english words in a row (without any\n // \"programming\" type syntax) this gives us a strong signal that we've\n // TRULY found a comment - vs perhaps scanning with the wrong language.\n // It's possible to find something that LOOKS like the start of the\n // comment - but then if there is no readable text - good chance it is a\n // false match and not a comment.\n //\n // for a visual example please see:\n // https://github.com/highlightjs/highlight.js/issues/2827\n\n begin: concat(\n /[ ]+/, // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */\n '(',\n ENGLISH_WORD,\n /[.]?[:]?([.][ ]|[ ])/,\n '){3}') // look for 3 words in a row\n }\n );\n return mode;\n};\nconst C_LINE_COMMENT_MODE = COMMENT('//', '$');\nconst C_BLOCK_COMMENT_MODE = COMMENT('/\\\\*', '\\\\*/');\nconst HASH_COMMENT_MODE = COMMENT('#', '$');\nconst NUMBER_MODE = {\n scope: 'number',\n begin: NUMBER_RE,\n relevance: 0\n};\nconst C_NUMBER_MODE = {\n scope: 'number',\n begin: C_NUMBER_RE,\n relevance: 0\n};\nconst BINARY_NUMBER_MODE = {\n scope: 'number',\n begin: BINARY_NUMBER_RE,\n relevance: 0\n};\nconst REGEXP_MODE = {\n // this outer rule makes sure we actually have a WHOLE regex and not simply\n // an expression such as:\n //\n // 3 / something\n //\n // (which will then blow up when regex's `illegal` sees the newline)\n begin: /(?=\\/[^/\\n]*\\/)/,\n contains: [{\n scope: 'regexp',\n begin: /\\//,\n end: /\\/[gimuy]*/,\n illegal: /\\n/,\n contains: [\n BACKSLASH_ESCAPE,\n {\n begin: /\\[/,\n end: /\\]/,\n relevance: 0,\n contains: [BACKSLASH_ESCAPE]\n }\n ]\n }]\n};\nconst TITLE_MODE = {\n scope: 'title',\n begin: IDENT_RE,\n relevance: 0\n};\nconst UNDERSCORE_TITLE_MODE = {\n scope: 'title',\n begin: UNDERSCORE_IDENT_RE,\n relevance: 0\n};\nconst METHOD_GUARD = {\n // excludes method names from keyword processing\n begin: '\\\\.\\\\s*' + UNDERSCORE_IDENT_RE,\n relevance: 0\n};\n\n/**\n * Adds end same as begin mechanics to a mode\n *\n * Your mode must include at least a single () match group as that first match\n * group is what is used for comparison\n * @param {Partial<Mode>} mode\n */\nconst END_SAME_AS_BEGIN = function(mode) {\n return Object.assign(mode,\n {\n /** @type {ModeCallback} */\n 'on:begin': (m, resp) => { resp.data._beginMatch = m[1]; },\n /** @type {ModeCallback} */\n 'on:end': (m, resp) => { if (resp.data._beginMatch !== m[1]) resp.ignoreMatch(); }\n });\n};\n\nvar MODES = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MATCH_NOTHING_RE: MATCH_NOTHING_RE,\n IDENT_RE: IDENT_RE,\n UNDERSCORE_IDENT_RE: UNDERSCORE_IDENT_RE,\n NUMBER_RE: NUMBER_RE,\n C_NUMBER_RE: C_NUMBER_RE,\n BINARY_NUMBER_RE: BINARY_NUMBER_RE,\n RE_STARTERS_RE: RE_STARTERS_RE,\n SHEBANG: SHEBANG,\n BACKSLASH_ESCAPE: BACKSLASH_ESCAPE,\n APOS_STRING_MODE: APOS_STRING_MODE,\n QUOTE_STRING_MODE: QUOTE_STRING_MODE,\n PHRASAL_WORDS_MODE: PHRASAL_WORDS_MODE,\n COMMENT: COMMENT,\n C_LINE_COMMENT_MODE: C_LINE_COMMENT_MODE,\n C_BLOCK_COMMENT_MODE: C_BLOCK_COMMENT_MODE,\n HASH_COMMENT_MODE: HASH_COMMENT_MODE,\n NUMBER_MODE: NUMBER_MODE,\n C_NUMBER_MODE: C_NUMBER_MODE,\n BINARY_NUMBER_MODE: BINARY_NUMBER_MODE,\n REGEXP_MODE: REGEXP_MODE,\n TITLE_MODE: TITLE_MODE,\n UNDERSCORE_TITLE_MODE: UNDERSCORE_TITLE_MODE,\n METHOD_GUARD: METHOD_GUARD,\n END_SAME_AS_BEGIN: END_SAME_AS_BEGIN\n});\n\n/**\n@typedef {import('highlight.js').CallbackResponse} CallbackResponse\n@typedef {import('highlight.js').CompilerExt} CompilerExt\n*/\n\n// Grammar extensions / plugins\n// See: https://github.com/highlightjs/highlight.js/issues/2833\n\n// Grammar extensions allow \"syntactic sugar\" to be added to the grammar modes\n// without requiring any underlying changes to the compiler internals.\n\n// `compileMatch` being the perfect small example of now allowing a grammar\n// author to write `match` when they desire to match a single expression rather\n// than being forced to use `begin`. The extension then just moves `match` into\n// `begin` when it runs. Ie, no features have been added, but we've just made\n// the experience of writing (and reading grammars) a little bit nicer.\n\n// ------\n\n// TODO: We need negative look-behind support to do this properly\n/**\n * Skip a match if it has a preceding dot\n *\n * This is used for `beginKeywords` to prevent matching expressions such as\n * `bob.keyword.do()`. The mode compiler automatically wires this up as a\n * special _internal_ 'on:begin' callback for modes with `beginKeywords`\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\nfunction skipIfHasPrecedingDot(match, response) {\n const before = match.input[match.index - 1];\n if (before === \".\") {\n response.ignoreMatch();\n }\n}\n\n/**\n *\n * @type {CompilerExt}\n */\nfunction scopeClassName(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.className !== undefined) {\n mode.scope = mode.className;\n delete mode.className;\n }\n}\n\n/**\n * `beginKeywords` syntactic sugar\n * @type {CompilerExt}\n */\nfunction beginKeywords(mode, parent) {\n if (!parent) return;\n if (!mode.beginKeywords) return;\n\n // for languages with keywords that include non-word characters checking for\n // a word boundary is not sufficient, so instead we check for a word boundary\n // or whitespace - this does no harm in any case since our keyword engine\n // doesn't allow spaces in keywords anyways and we still check for the boundary\n // first\n mode.begin = '\\\\b(' + mode.beginKeywords.split(' ').join('|') + ')(?!\\\\.)(?=\\\\b|\\\\s)';\n mode.__beforeBegin = skipIfHasPrecedingDot;\n mode.keywords = mode.keywords || mode.beginKeywords;\n delete mode.beginKeywords;\n\n // prevents double relevance, the keywords themselves provide\n // relevance, the mode doesn't need to double it\n // eslint-disable-next-line no-undefined\n if (mode.relevance === undefined) mode.relevance = 0;\n}\n\n/**\n * Allow `illegal` to contain an array of illegal values\n * @type {CompilerExt}\n */\nfunction compileIllegal(mode, _parent) {\n if (!Array.isArray(mode.illegal)) return;\n\n mode.illegal = either(...mode.illegal);\n}\n\n/**\n * `match` to match a single expression for readability\n * @type {CompilerExt}\n */\nfunction compileMatch(mode, _parent) {\n if (!mode.match) return;\n if (mode.begin || mode.end) throw new Error(\"begin & end are not supported with match\");\n\n mode.begin = mode.match;\n delete mode.match;\n}\n\n/**\n * provides the default 1 relevance to all modes\n * @type {CompilerExt}\n */\nfunction compileRelevance(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.relevance === undefined) mode.relevance = 1;\n}\n\n// allow beforeMatch to act as a \"qualifier\" for the match\n// the full match begin must be [beforeMatch][begin]\nconst beforeMatchExt = (mode, parent) => {\n if (!mode.beforeMatch) return;\n // starts conflicts with endsParent which we need to make sure the child\n // rule is not matched multiple times\n if (mode.starts) throw new Error(\"beforeMatch cannot be used with starts\");\n\n const originalMode = Object.assign({}, mode);\n Object.keys(mode).forEach((key) => { delete mode[key]; });\n\n mode.keywords = originalMode.keywords;\n mode.begin = concat(originalMode.beforeMatch, lookahead(originalMode.begin));\n mode.starts = {\n relevance: 0,\n contains: [\n Object.assign(originalMode, { endsParent: true })\n ]\n };\n mode.relevance = 0;\n\n delete originalMode.beforeMatch;\n};\n\n// keywords that should have no default relevance value\nconst COMMON_KEYWORDS = [\n 'of',\n 'and',\n 'for',\n 'in',\n 'not',\n 'or',\n 'if',\n 'then',\n 'parent', // common variable name\n 'list', // common variable name\n 'value' // common variable name\n];\n\nconst DEFAULT_KEYWORD_SCOPE = \"keyword\";\n\n/**\n * Given raw keywords from a language definition, compile them.\n *\n * @param {string | Record<string,string|string[]> | Array<string>} rawKeywords\n * @param {boolean} caseInsensitive\n */\nfunction compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {\n /** @type KeywordDict */\n const compiledKeywords = Object.create(null);\n\n // input can be a string of keywords, an array of keywords, or a object with\n // named keys representing scopeName (which can then point to a string or array)\n if (typeof rawKeywords === 'string') {\n compileList(scopeName, rawKeywords.split(\" \"));\n } else if (Array.isArray(rawKeywords)) {\n compileList(scopeName, rawKeywords);\n } else {\n Object.keys(rawKeywords).forEach(function(scopeName) {\n // collapse all our objects back into the parent object\n Object.assign(\n compiledKeywords,\n compileKeywords(rawKeywords[scopeName], caseInsensitive, scopeName)\n );\n });\n }\n return compiledKeywords;\n\n // ---\n\n /**\n * Compiles an individual list of keywords\n *\n * Ex: \"for if when while|5\"\n *\n * @param {string} scopeName\n * @param {Array<string>} keywordList\n */\n function compileList(scopeName, keywordList) {\n if (caseInsensitive) {\n keywordList = keywordList.map(x => x.toLowerCase());\n }\n keywordList.forEach(function(keyword) {\n const pair = keyword.split('|');\n compiledKeywords[pair[0]] = [scopeName, scoreForKeyword(pair[0], pair[1])];\n });\n }\n}\n\n/**\n * Returns the proper score for a given keyword\n *\n * Also takes into account comment keywords, which will be scored 0 UNLESS\n * another score has been manually assigned.\n * @param {string} keyword\n * @param {string} [providedScore]\n */\nfunction scoreForKeyword(keyword, providedScore) {\n // manual scores always win over common keywords\n // so you can force a score of 1 if you really insist\n if (providedScore) {\n return Number(providedScore);\n }\n\n return commonKeyword(keyword) ? 0 : 1;\n}\n\n/**\n * Determines if a given keyword is common or not\n *\n * @param {string} keyword */\nfunction commonKeyword(keyword) {\n return COMMON_KEYWORDS.includes(keyword.toLowerCase());\n}\n\n/*\n\nFor the reasoning behind this please see:\nhttps://github.com/highlightjs/highlight.js/issues/2880#issuecomment-747275419\n\n*/\n\n/**\n * @type {Record<string, boolean>}\n */\nconst seenDeprecations = {};\n\n/**\n * @param {string} message\n */\nconst error = (message) => {\n console.error(message);\n};\n\n/**\n * @param {string} message\n * @param {any} args\n */\nconst warn = (message, ...args) => {\n console.log(`WARN: ${message}`, ...args);\n};\n\n/**\n * @param {string} version\n * @param {string} message\n */\nconst deprecated = (version, message) => {\n if (seenDeprecations[`${version}/${message}`]) return;\n\n console.log(`Deprecated as of ${version}. ${message}`);\n seenDeprecations[`${version}/${message}`] = true;\n};\n\n/* eslint-disable no-throw-literal */\n\n/**\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n*/\n\nconst MultiClassError = new Error();\n\n/**\n * Renumbers labeled scope names to account for additional inner match\n * groups that otherwise would break everything.\n *\n * Lets say we 3 match scopes:\n *\n * { 1 => ..., 2 => ..., 3 => ... }\n *\n * So what we need is a clean match like this:\n *\n * (a)(b)(c) => [ \"a\", \"b\", \"c\" ]\n *\n * But this falls apart with inner match groups:\n *\n * (a)(((b)))(c) => [\"a\", \"b\", \"b\", \"b\", \"c\" ]\n *\n * Our scopes are now \"out of alignment\" and we're repeating `b` 3 times.\n * What needs to happen is the numbers are remapped:\n *\n * { 1 => ..., 2 => ..., 5 => ... }\n *\n * We also need to know that the ONLY groups that should be output\n * are 1, 2, and 5. This function handles this behavior.\n *\n * @param {CompiledMode} mode\n * @param {Array<RegExp | string>} regexes\n * @param {{key: \"beginScope\"|\"endScope\"}} opts\n */\nfunction remapScopeNames(mode, regexes, { key }) {\n let offset = 0;\n const scopeNames = mode[key];\n /** @type Record<number,boolean> */\n const emit = {};\n /** @type Record<number,string> */\n const positions = {};\n\n for (let i = 1; i <= regexes.length; i++) {\n positions[i + offset] = scopeNames[i];\n emit[i + offset] = true;\n offset += countMatchGroups(regexes[i - 1]);\n }\n // we use _emit to keep track of which match groups are \"top-level\" to avoid double\n // output from inside match groups\n mode[key] = positions;\n mode[key]._emit = emit;\n mode[key]._multi = true;\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction beginMultiClass(mode) {\n if (!Array.isArray(mode.begin)) return;\n\n if (mode.skip || mode.excludeBegin || mode.returnBegin) {\n error(\"skip, excludeBegin, returnBegin not compatible with beginScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.beginScope !== \"object\" || mode.beginScope === null) {\n error(\"beginScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.begin, { key: \"beginScope\" });\n mode.begin = _rewriteBackreferences(mode.begin, { joinWith: \"\" });\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction endMultiClass(mode) {\n if (!Array.isArray(mode.end)) return;\n\n if (mode.skip || mode.excludeEnd || mode.returnEnd) {\n error(\"skip, excludeEnd, returnEnd not compatible with endScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.endScope !== \"object\" || mode.endScope === null) {\n error(\"endScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.end, { key: \"endScope\" });\n mode.end = _rewriteBackreferences(mode.end, { joinWith: \"\" });\n}\n\n/**\n * this exists only to allow `scope: {}` to be used beside `match:`\n * Otherwise `beginScope` would necessary and that would look weird\n\n {\n match: [ /def/, /\\w+/ ]\n scope: { 1: \"keyword\" , 2: \"title\" }\n }\n\n * @param {CompiledMode} mode\n */\nfunction scopeSugar(mode) {\n if (mode.scope && typeof mode.scope === \"object\" && mode.scope !== null) {\n mode.beginScope = mode.scope;\n delete mode.scope;\n }\n}\n\n/**\n * @param {CompiledMode} mode\n */\nfunction MultiClass(mode) {\n scopeSugar(mode);\n\n if (typeof mode.beginScope === \"string\") {\n mode.beginScope = { _wrap: mode.beginScope };\n }\n if (typeof mode.endScope === \"string\") {\n mode.endScope = { _wrap: mode.endScope };\n }\n\n beginMultiClass(mode);\n endMultiClass(mode);\n}\n\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').CompiledLanguage} CompiledLanguage\n*/\n\n// compilation\n\n/**\n * Compiles a language definition result\n *\n * Given the raw result of a language definition (Language), compiles this so\n * that it is ready for highlighting code.\n * @param {Language} language\n * @returns {CompiledLanguage}\n */\nfunction compileLanguage(language) {\n /**\n * Builds a regex with the case sensitivity of the current language\n *\n * @param {RegExp | string} value\n * @param {boolean} [global]\n */\n function langRe(value, global) {\n return new RegExp(\n source(value),\n 'm'\n + (language.case_insensitive ? 'i' : '')\n + (language.unicodeRegex ? 'u' : '')\n + (global ? 'g' : '')\n );\n }\n\n /**\n Stores multiple regular expressions and allows you to quickly search for\n them all in a string simultaneously - returning the first match. It does\n this by creating a huge (a|b|c) regex - each individual item wrapped with ()\n and joined by `|` - using match groups to track position. When a match is\n found checking which position in the array has content allows us to figure\n out which of the original regexes / match groups triggered the match.\n\n The match object itself (the result of `Regex.exec`) is returned but also\n enhanced by merging in any meta-data that was registered with the regex.\n This is how we keep track of which mode matched, and what type of rule\n (`illegal`, `begin`, end, etc).\n */\n class MultiRegex {\n constructor() {\n this.matchIndexes = {};\n // @ts-ignore\n this.regexes = [];\n this.matchAt = 1;\n this.position = 0;\n }\n\n // @ts-ignore\n addRule(re, opts) {\n opts.position = this.position++;\n // @ts-ignore\n this.matchIndexes[this.matchAt] = opts;\n this.regexes.push([opts, re]);\n this.matchAt += countMatchGroups(re) + 1;\n }\n\n compile() {\n if (this.regexes.length === 0) {\n // avoids the need to check length every time exec is called\n // @ts-ignore\n this.exec = () => null;\n }\n const terminators = this.regexes.map(el => el[1]);\n this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: '|' }), true);\n this.lastIndex = 0;\n }\n\n /** @param {string} s */\n exec(s) {\n this.matcherRe.lastIndex = this.lastIndex;\n const match = this.matcherRe.exec(s);\n if (!match) { return null; }\n\n // eslint-disable-next-line no-undefined\n const i = match.findIndex((el, i) => i > 0 && el !== undefined);\n // @ts-ignore\n const matchData = this.matchIndexes[i];\n // trim off any earlier non-relevant match groups (ie, the other regex\n // match groups that make up the multi-matcher)\n match.splice(0, i);\n\n return Object.assign(match, matchData);\n }\n }\n\n /*\n Created to solve the key deficiently with MultiRegex - there is no way to\n test for multiple matches at a single location. Why would we need to do\n that? In the future a more dynamic engine will allow certain matches to be\n ignored. An example: if we matched say the 3rd regex in a large group but\n decided to ignore it - we'd need to started testing again at the 4th\n regex... but MultiRegex itself gives us no real way to do that.\n\n So what this class creates MultiRegexs on the fly for whatever search\n position they are needed.\n\n NOTE: These additional MultiRegex objects are created dynamically. For most\n grammars most of the time we will never actually need anything more than the\n first MultiRegex - so this shouldn't have too much overhead.\n\n Say this is our search group, and we match regex3, but wish to ignore it.\n\n regex1 | regex2 | regex3 | regex4 | regex5 ' ie, startAt = 0\n\n What we need is a new MultiRegex that only includes the remaining\n possibilities:\n\n regex4 | regex5 ' ie, startAt = 3\n\n This class wraps all that complexity up in a simple API... `startAt` decides\n where in the array of expressions to start doing the matching. It\n auto-increments, so if a match is found at position 2, then startAt will be\n set to 3. If the end is reached startAt will return to 0.\n\n MOST of the time the parser will be setting startAt manually to 0.\n */\n class ResumableMultiRegex {\n constructor() {\n // @ts-ignore\n this.rules = [];\n // @ts-ignore\n this.multiRegexes = [];\n this.count = 0;\n\n this.lastIndex = 0;\n this.regexIndex = 0;\n }\n\n // @ts-ignore\n getMatcher(index) {\n if (this.multiRegexes[index]) return this.multiRegexes[index];\n\n const matcher = new MultiRegex();\n this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));\n matcher.compile();\n this.multiRegexes[index] = matcher;\n return matcher;\n }\n\n resumingScanAtSamePosition() {\n return this.regexIndex !== 0;\n }\n\n considerAll() {\n this.regexIndex = 0;\n }\n\n // @ts-ignore\n addRule(re, opts) {\n this.rules.push([re, opts]);\n if (opts.type === \"begin\") this.count++;\n }\n\n /** @param {string} s */\n exec(s) {\n const m = this.getMatcher(this.regexIndex);\n m.lastIndex = this.lastIndex;\n let result = m.exec(s);\n\n // The following is because we have no easy way to say \"resume scanning at the\n // existing position but also skip the current rule ONLY\". What happens is\n // all prior rules are also skipped which can result in matching the wrong\n // thing. Example of matching \"booger\":\n\n // our matcher is [string, \"booger\", number]\n //\n // ....booger....\n\n // if \"booger\" is ignored then we'd really need a regex to scan from the\n // SAME position for only: [string, number] but ignoring \"booger\" (if it\n // was the first match), a simple resume would scan ahead who knows how\n // far looking only for \"number\", ignoring potential string matches (or\n // future \"booger\" matches that might be valid.)\n\n // So what we do: We execute two matchers, one resuming at the same\n // position, but the second full matcher starting at the position after:\n\n // /--- resume first regex match here (for [number])\n // |/---- full match here for [string, \"booger\", number]\n // vv\n // ....booger....\n\n // Which ever results in a match first is then used. So this 3-4 step\n // process essentially allows us to say \"match at this position, excluding\n // a prior rule that was ignored\".\n //\n // 1. Match \"booger\" first, ignore. Also proves that [string] does non match.\n // 2. Resume matching for [number]\n // 3. Match at index + 1 for [string, \"booger\", number]\n // 4. If #2 and #3 result in matches, which came first?\n if (this.resumingScanAtSamePosition()) {\n if (result && result.index === this.lastIndex) ; else { // use the second matcher result\n const m2 = this.getMatcher(0);\n m2.lastIndex = this.lastIndex + 1;\n result = m2.exec(s);\n }\n }\n\n if (result) {\n this.regexIndex += result.position + 1;\n if (this.regexIndex === this.count) {\n // wrap-around to considering all matches again\n this.considerAll();\n }\n }\n\n return result;\n }\n }\n\n /**\n * Given a mode, builds a huge ResumableMultiRegex that can be used to walk\n * the content and find matches.\n *\n * @param {CompiledMode} mode\n * @returns {ResumableMultiRegex}\n */\n function buildModeRegex(mode) {\n const mm = new ResumableMultiRegex();\n\n mode.contains.forEach(term => mm.addRule(term.begin, { rule: term, type: \"begin\" }));\n\n if (mode.terminatorEnd) {\n mm.addRule(mode.terminatorEnd, { type: \"end\" });\n }\n if (mode.illegal) {\n mm.addRule(mode.illegal, { type: \"illegal\" });\n }\n\n return mm;\n }\n\n /** skip vs abort vs ignore\n *\n * @skip - The mode is still entered and exited normally (and contains rules apply),\n * but all content is held and added to the parent buffer rather than being\n * output when the mode ends. Mostly used with `sublanguage` to build up\n * a single large buffer than can be parsed by sublanguage.\n *\n * - The mode begin ands ends normally.\n * - Content matched is added to the parent mode buffer.\n * - The parser cursor is moved forward normally.\n *\n * @abort - A hack placeholder until we have ignore. Aborts the mode (as if it\n * never matched) but DOES NOT continue to match subsequent `contains`\n * modes. Abort is bad/suboptimal because it can result in modes\n * farther down not getting applied because an earlier rule eats the\n * content but then aborts.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is added to the mode buffer.\n * - The parser cursor is moved forward accordingly.\n *\n * @ignore - Ignores the mode (as if it never matched) and continues to match any\n * subsequent `contains` modes. Ignore isn't technically possible with\n * the current parser implementation.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is ignored.\n * - The parser cursor is not moved forward.\n */\n\n /**\n * Compiles an individual mode\n *\n * This can raise an error if the mode contains certain detectable known logic\n * issues.\n * @param {Mode} mode\n * @param {CompiledMode | null} [parent]\n * @returns {CompiledMode | never}\n */\n function compileMode(mode, parent) {\n const cmode = /** @type CompiledMode */ (mode);\n if (mode.isCompiled) return cmode;\n\n [\n scopeClassName,\n // do this early so compiler extensions generally don't have to worry about\n // the distinction between match/begin\n compileMatch,\n MultiClass,\n beforeMatchExt\n ].forEach(ext => ext(mode, parent));\n\n language.compilerExtensions.forEach(ext => ext(mode, parent));\n\n // __beforeBegin is considered private API, internal use only\n mode.__beforeBegin = null;\n\n [\n beginKeywords,\n // do this later so compiler extensions that come earlier have access to the\n // raw array if they wanted to perhaps manipulate it, etc.\n compileIllegal,\n // default to 1 relevance if not specified\n compileRelevance\n ].forEach(ext => ext(mode, parent));\n\n mode.isCompiled = true;\n\n let keywordPattern = null;\n if (typeof mode.keywords === \"object\" && mode.keywords.$pattern) {\n // we need a copy because keywords might be compiled multiple times\n // so we can't go deleting $pattern from the original on the first\n // pass\n mode.keywords = Object.assign({}, mode.keywords);\n keywordPattern = mode.keywords.$pattern;\n delete mode.keywords.$pattern;\n }\n keywordPattern = keywordPattern || /\\w+/;\n\n if (mode.keywords) {\n mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);\n }\n\n cmode.keywordPatternRe = langRe(keywordPattern, true);\n\n if (parent) {\n if (!mode.begin) mode.begin = /\\B|\\b/;\n cmode.beginRe = langRe(cmode.begin);\n if (!mode.end && !mode.endsWithParent) mode.end = /\\B|\\b/;\n if (mode.end) cmode.endRe = langRe(cmode.end);\n cmode.terminatorEnd = source(cmode.end) || '';\n if (mode.endsWithParent && parent.terminatorEnd) {\n cmode.terminatorEnd += (mode.end ? '|' : '') + parent.terminatorEnd;\n }\n }\n if (mode.illegal) cmode.illegalRe = langRe(/** @type {RegExp | string} */ (mode.illegal));\n if (!mode.contains) mode.contains = [];\n\n mode.contains = [].concat(...mode.contains.map(function(c) {\n return expandOrCloneMode(c === 'self' ? mode : c);\n }));\n mode.contains.forEach(function(c) { compileMode(/** @type Mode */ (c), cmode); });\n\n if (mode.starts) {\n compileMode(mode.starts, parent);\n }\n\n cmode.matcher = buildModeRegex(cmode);\n return cmode;\n }\n\n if (!language.compilerExtensions) language.compilerExtensions = [];\n\n // self is not valid at the top-level\n if (language.contains && language.contains.includes('self')) {\n throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\");\n }\n\n // we need a null object, which inherit will guarantee\n language.classNameAliases = inherit$1(language.classNameAliases || {});\n\n return compileMode(/** @type Mode */ (language));\n}\n\n/**\n * Determines if a mode has a dependency on it's parent or not\n *\n * If a mode does have a parent dependency then often we need to clone it if\n * it's used in multiple places so that each copy points to the correct parent,\n * where-as modes without a parent can often safely be re-used at the bottom of\n * a mode chain.\n *\n * @param {Mode | null} mode\n * @returns {boolean} - is there a dependency on the parent?\n * */\nfunction dependencyOnParent(mode) {\n if (!mode) return false;\n\n return mode.endsWithParent || dependencyOnParent(mode.starts);\n}\n\n/**\n * Expands a mode or clones it if necessary\n *\n * This is necessary for modes with parental dependenceis (see notes on\n * `dependencyOnParent`) and for nodes that have `variants` - which must then be\n * exploded into their own individual modes at compile time.\n *\n * @param {Mode} mode\n * @returns {Mode | Mode[]}\n * */\nfunction expandOrCloneMode(mode) {\n if (mode.variants && !mode.cachedVariants) {\n mode.cachedVariants = mode.variants.map(function(variant) {\n return inherit$1(mode, { variants: null }, variant);\n });\n }\n\n // EXPAND\n // if we have variants then essentially \"replace\" the mode with the variants\n // this happens in compileMode, where this function is called from\n if (mode.cachedVariants) {\n return mode.cachedVariants;\n }\n\n // CLONE\n // if we have dependencies on parents then we need a unique\n // instance of ourselves, so we can be reused with many\n // different parents without issue\n if (dependencyOnParent(mode)) {\n return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });\n }\n\n if (Object.isFrozen(mode)) {\n return inherit$1(mode);\n }\n\n // no special dependency issues, just return ourselves\n return mode;\n}\n\nvar version = \"11.6.0\";\n\nclass HTMLInjectionError extends Error {\n constructor(reason, html) {\n super(reason);\n this.name = \"HTMLInjectionError\";\n this.html = html;\n }\n}\n\n/*\nSyntax highlighting with language autodetection.\nhttps://highlightjs.org/\n*/\n\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').CompiledScope} CompiledScope\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSApi} HLJSApi\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').PluginEvent} PluginEvent\n@typedef {import('highlight.js').HLJSOptions} HLJSOptions\n@typedef {import('highlight.js').LanguageFn} LanguageFn\n@typedef {import('highlight.js').HighlightedHTMLElement} HighlightedHTMLElement\n@typedef {import('highlight.js').BeforeHighlightContext} BeforeHighlightContext\n@typedef {import('highlight.js/private').MatchType} MatchType\n@typedef {import('highlight.js/private').KeywordData} KeywordData\n@typedef {import('highlight.js/private').EnhancedMatch} EnhancedMatch\n@typedef {import('highlight.js/private').AnnotatedError} AnnotatedError\n@typedef {import('highlight.js').AutoHighlightResult} AutoHighlightResult\n@typedef {import('highlight.js').HighlightOptions} HighlightOptions\n@typedef {import('highlight.js').HighlightResult} HighlightResult\n*/\n\n\nconst escape = escapeHTML;\nconst inherit = inherit$1;\nconst NO_MATCH = Symbol(\"nomatch\");\nconst MAX_KEYWORD_HITS = 7;\n\n/**\n * @param {any} hljs - object that is extended (legacy)\n * @returns {HLJSApi}\n */\nconst HLJS = function(hljs) {\n // Global internal variables used within the highlight.js library.\n /** @type {Record<string, Language>} */\n const languages = Object.create(null);\n /** @type {Record<string, string>} */\n const aliases = Object.create(null);\n /** @type {HLJSPlugin[]} */\n const plugins = [];\n\n // safe/production mode - swallows more errors, tries to keep running\n // even if a single syntax or parse hits a fatal error\n let SAFE_MODE = true;\n const LANGUAGE_NOT_FOUND = \"Could not find the language '{}', did you forget to load/include a language module?\";\n /** @type {Language} */\n const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: 'Plain text', contains: [] };\n\n // Global options used when within external APIs. This is modified when\n // calling the `hljs.configure` function.\n /** @type HLJSOptions */\n let options = {\n ignoreUnescapedHTML: false,\n throwUnescapedHTML: false,\n noHighlightRe: /^(no-?highlight)$/i,\n languageDetectRe: /\\blang(?:uage)?-([\\w-]+)\\b/i,\n classPrefix: 'hljs-',\n cssSelector: 'pre code',\n languages: null,\n // beta configuration options, subject to change, welcome to discuss\n // https://github.com/highlightjs/highlight.js/issues/1086\n __emitter: TokenTreeEmitter\n };\n\n /* Utility functions */\n\n /**\n * Tests a language name to see if highlighting should be skipped\n * @param {string} languageName\n */\n function shouldNotHighlight(languageName) {\n return options.noHighlightRe.test(languageName);\n }\n\n /**\n * @param {HighlightedHTMLElement} block - the HTML element to determine language for\n */\n function blockLanguage(block) {\n let classes = block.className + ' ';\n\n classes += block.parentNode ? block.parentNode.className : '';\n\n // language-* takes precedence over non-prefixed class names.\n const match = options.languageDetectRe.exec(classes);\n if (match) {\n const language = getLanguage(match[1]);\n if (!language) {\n warn(LANGUAGE_NOT_FOUND.replace(\"{}\", match[1]));\n warn(\"Falling back to no-highlight mode for this block.\", block);\n }\n return language ? match[1] : 'no-highlight';\n }\n\n return classes\n .split(/\\s+/)\n .find((_class) => shouldNotHighlight(_class) || getLanguage(_class));\n }\n\n /**\n * Core highlighting function.\n *\n * OLD API\n * highlight(lang, code, ignoreIllegals, continuation)\n *\n * NEW API\n * highlight(code, {lang, ignoreIllegals})\n *\n * @param {string} codeOrLanguageName - the language to use for highlighting\n * @param {string | HighlightOptions} optionsOrCode - the code to highlight\n * @param {boolean} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n *\n * @returns {HighlightResult} Result - an object that represents the result\n * @property {string} language - the language name\n * @property {number} relevance - the relevance score\n * @property {string} value - the highlighted HTML code\n * @property {string} code - the original raw code\n * @property {CompiledMode} top - top of the current mode stack\n * @property {boolean} illegal - indicates whether any illegal matches were found\n */\n function highlight(codeOrLanguageName, optionsOrCode, ignoreIllegals) {\n let code = \"\";\n let languageName = \"\";\n if (typeof optionsOrCode === \"object\") {\n code = codeOrLanguageName;\n ignoreIllegals = optionsOrCode.ignoreIllegals;\n languageName = optionsOrCode.language;\n } else {\n // old API\n deprecated(\"10.7.0\", \"highlight(lang, code, ...args) has been deprecated.\");\n deprecated(\"10.7.0\", \"Please use highlight(code, options) instead.\\nhttps://github.com/highlightjs/highlight.js/issues/2277\");\n languageName = codeOrLanguageName;\n code = optionsOrCode;\n }\n\n // https://github.com/highlightjs/highlight.js/issues/3149\n // eslint-disable-next-line no-undefined\n if (ignoreIllegals === undefined) { ignoreIllegals = true; }\n\n /** @type {BeforeHighlightContext} */\n const context = {\n code,\n language: languageName\n };\n // the plugin can change the desired language or the code to be highlighted\n // just be changing the object it was passed\n fire(\"before:highlight\", context);\n\n // a before plugin can usurp the result completely by providing it's own\n // in which case we don't even need to call highlight\n const result = context.result\n ? context.result\n : _highlight(context.language, context.code, ignoreIllegals);\n\n result.code = context.code;\n // the plugin can change anything in result to suite it\n fire(\"after:highlight\", result);\n\n return result;\n }\n\n /**\n * private highlight that's used internally and does not fire callbacks\n *\n * @param {string} languageName - the language to use for highlighting\n * @param {string} codeToHighlight - the code to highlight\n * @param {boolean?} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n * @param {CompiledMode?} [continuation] - current continuation mode, if any\n * @returns {HighlightResult} - result of the highlight operation\n */\n function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {\n const keywordHits = Object.create(null);\n\n /**\n * Return keyword data if a match is a keyword\n * @param {CompiledMode} mode - current mode\n * @param {string} matchText - the textual match\n * @returns {KeywordData | false}\n */\n function keywordData(mode, matchText) {\n return mode.keywords[matchText];\n }\n\n function processKeywords() {\n if (!top.keywords) {\n emitter.addText(modeBuffer);\n return;\n }\n\n let lastIndex = 0;\n top.keywordPatternRe.lastIndex = 0;\n let match = top.keywordPatternRe.exec(modeBuffer);\n let buf = \"\";\n\n while (match) {\n buf += modeBuffer.substring(lastIndex, match.index);\n const word = language.case_insensitive ? match[0].toLowerCase() : match[0];\n const data = keywordData(top, word);\n if (data) {\n const [kind, keywordRelevance] = data;\n emitter.addText(buf);\n buf = \"\";\n\n keywordHits[word] = (keywordHits[word] || 0) + 1;\n if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;\n if (kind.startsWith(\"_\")) {\n // _ implied for relevance only, do not highlight\n // by applying a class name\n buf += match[0];\n } else {\n const cssClass = language.classNameAliases[kind] || kind;\n emitter.addKeyword(match[0], cssClass);\n }\n } else {\n buf += match[0];\n }\n lastIndex = top.keywordPatternRe.lastIndex;\n match = top.keywordPatternRe.exec(modeBuffer);\n }\n buf += modeBuffer.substring(lastIndex);\n emitter.addText(buf);\n }\n\n function processSubLanguage() {\n if (modeBuffer === \"\") return;\n /** @type HighlightResult */\n let result = null;\n\n if (typeof top.subLanguage === 'string') {\n if (!languages[top.subLanguage]) {\n emitter.addText(modeBuffer);\n return;\n }\n result = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);\n continuations[top.subLanguage] = /** @type {CompiledMode} */ (result._top);\n } else {\n result = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);\n }\n\n // Counting embedded language score towards the host language may be disabled\n // with zeroing the containing mode relevance. Use case in point is Markdown that\n // allows XML everywhere and makes every XML snippet to have a much larger Markdown\n // score.\n if (top.relevance > 0) {\n relevance += result.relevance;\n }\n emitter.addSublanguage(result._emitter, result.language);\n }\n\n function processBuffer() {\n if (top.subLanguage != null) {\n processSubLanguage();\n } else {\n processKeywords();\n }\n modeBuffer = '';\n }\n\n /**\n * @param {CompiledScope} scope\n * @param {RegExpMatchArray} match\n */\n function emitMultiClass(scope, match) {\n let i = 1;\n const max = match.length - 1;\n while (i <= max) {\n if (!scope._emit[i]) { i++; continue; }\n const klass = language.classNameAliases[scope[i]] || scope[i];\n const text = match[i];\n if (klass) {\n emitter.addKeyword(text, klass);\n } else {\n modeBuffer = text;\n processKeywords();\n modeBuffer = \"\";\n }\n i++;\n }\n }\n\n /**\n * @param {CompiledMode} mode - new mode to start\n * @param {RegExpMatchArray} match\n */\n function startNewMode(mode, match) {\n if (mode.scope && typeof mode.scope === \"string\") {\n emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);\n }\n if (mode.beginScope) {\n // beginScope just wraps the begin match itself in a scope\n if (mode.beginScope._wrap) {\n emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);\n modeBuffer = \"\";\n } else if (mode.beginScope._multi) {\n // at this point modeBuffer should just be the match\n emitMultiClass(mode.beginScope, match);\n modeBuffer = \"\";\n }\n }\n\n top = Object.create(mode, { parent: { value: top } });\n return top;\n }\n\n /**\n * @param {CompiledMode } mode - the mode to potentially end\n * @param {RegExpMatchArray} match - the latest match\n * @param {string} matchPlusRemainder - match plus remainder of content\n * @returns {CompiledMode | void} - the next mode, or if void continue on in current mode\n */\n function endOfMode(mode, match, matchPlusRemainder) {\n let matched = startsWith(mode.endRe, matchPlusRemainder);\n\n if (matched) {\n if (mode[\"on:end\"]) {\n const resp = new Response(mode);\n mode[\"on:end\"](match, resp);\n if (resp.isMatchIgnored) matched = false;\n }\n\n if (matched) {\n while (mode.endsParent && mode.parent) {\n mode = mode.parent;\n }\n return mode;\n }\n }\n // even if on:end fires an `ignore` it's still possible\n // that we might trigger the end node because of a parent mode\n if (mode.endsWithParent) {\n return endOfMode(mode.parent, match, matchPlusRemainder);\n }\n }\n\n /**\n * Handle matching but then ignoring a sequence of text\n *\n * @param {string} lexeme - string containing full match text\n */\n function doIgnore(lexeme) {\n if (top.matcher.regexIndex === 0) {\n // no more regexes to potentially match here, so we move the cursor forward one\n // space\n modeBuffer += lexeme[0];\n return 1;\n } else {\n // no need to move the cursor, we still have additional regexes to try and\n // match at this very spot\n resumeScanAtSamePosition = true;\n return 0;\n }\n }\n\n /**\n * Handle the start of a new potential mode match\n *\n * @param {EnhancedMatch} match - the current match\n * @returns {number} how far to advance the parse cursor\n */\n function doBeginMatch(match) {\n const lexeme = match[0];\n const newMode = match.rule;\n\n const resp = new Response(newMode);\n // first internal before callbacks, then the public ones\n const beforeCallbacks = [newMode.__beforeBegin, newMode[\"on:begin\"]];\n for (const cb of beforeCallbacks) {\n if (!cb) continue;\n cb(match, resp);\n if (resp.isMatchIgnored) return doIgnore(lexeme);\n }\n\n if (newMode.skip) {\n modeBuffer += lexeme;\n } else {\n if (newMode.excludeBegin) {\n modeBuffer += lexeme;\n }\n processBuffer();\n if (!newMode.returnBegin && !newMode.excludeBegin) {\n modeBuffer = lexeme;\n }\n }\n startNewMode(newMode, match);\n return newMode.returnBegin ? 0 : lexeme.length;\n }\n\n /**\n * Handle the potential end of mode\n *\n * @param {RegExpMatchArray} match - the current match\n */\n function doEndMatch(match) {\n const lexeme = match[0];\n const matchPlusRemainder = codeToHighlight.substring(match.index);\n\n const endMode = endOfMode(top, match, matchPlusRemainder);\n if (!endMode) { return NO_MATCH; }\n\n const origin = top;\n if (top.endScope && top.endScope._wrap) {\n processBuffer();\n emitter.addKeyword(lexeme, top.endScope._wrap);\n } else if (top.endScope && top.endScope._multi) {\n processBuffer();\n emitMultiClass(top.endScope, match);\n } else if (origin.skip) {\n modeBuffer += lexeme;\n } else {\n if (!(origin.returnEnd || origin.excludeEnd)) {\n modeBuffer += lexeme;\n }\n processBuffer();\n if (origin.excludeEnd) {\n modeBuffer = lexeme;\n }\n }\n do {\n if (top.scope) {\n emitter.closeNode();\n }\n if (!top.skip && !top.subLanguage) {\n relevance += top.relevance;\n }\n top = top.parent;\n } while (top !== endMode.parent);\n if (endMode.starts) {\n startNewMode(endMode.starts, match);\n }\n return origin.returnEnd ? 0 : lexeme.length;\n }\n\n function processContinuations() {\n const list = [];\n for (let current = top; current !== language; current = current.parent) {\n if (current.scope) {\n list.unshift(current.scope);\n }\n }\n list.forEach(item => emitter.openNode(item));\n }\n\n /** @type {{type?: MatchType, index?: number, rule?: Mode}}} */\n let lastMatch = {};\n\n /**\n * Process an individual match\n *\n * @param {string} textBeforeMatch - text preceding the match (since the last match)\n * @param {EnhancedMatch} [match] - the match itself\n */\n function processLexeme(textBeforeMatch, match) {\n const lexeme = match && match[0];\n\n // add non-matched text to the current mode buffer\n modeBuffer += textBeforeMatch;\n\n if (lexeme == null) {\n processBuffer();\n return 0;\n }\n\n // we've found a 0 width match and we're stuck, so we need to advance\n // this happens when we have badly behaved rules that have optional matchers to the degree that\n // sometimes they can end up matching nothing at all\n // Ref: https://github.com/highlightjs/highlight.js/issues/2140\n if (lastMatch.type === \"begin\" && match.type === \"end\" && lastMatch.index === match.index && lexeme === \"\") {\n // spit the \"skipped\" character that our regex choked on back into the output sequence\n modeBuffer += codeToHighlight.slice(match.index, match.index + 1);\n if (!SAFE_MODE) {\n /** @type {AnnotatedError} */\n const err = new Error(`0 width match regex (${languageName})`);\n err.languageName = languageName;\n err.badRule = lastMatch.rule;\n throw err;\n }\n return 1;\n }\n lastMatch = match;\n\n if (match.type === \"begin\") {\n return doBeginMatch(match);\n } else if (match.type === \"illegal\" && !ignoreIllegals) {\n // illegal match, we do not continue processing\n /** @type {AnnotatedError} */\n const err = new Error('Illegal lexeme \"' + lexeme + '\" for mode \"' + (top.scope || '<unnamed>') + '\"');\n err.mode = top;\n throw err;\n } else if (match.type === \"end\") {\n const processed = doEndMatch(match);\n if (processed !== NO_MATCH) {\n return processed;\n }\n }\n\n // edge case for when illegal matches $ (end of line) which is technically\n // a 0 width match but not a begin/end match so it's not caught by the\n // first handler (when ignoreIllegals is true)\n if (match.type === \"illegal\" && lexeme === \"\") {\n // advance so we aren't stuck in an infinite loop\n return 1;\n }\n\n // infinite loops are BAD, this is a last ditch catch all. if we have a\n // decent number of iterations yet our index (cursor position in our\n // parsing) still 3x behind our index then something is very wrong\n // so we bail\n if (iterations > 100000 && iterations > match.index * 3) {\n const err = new Error('potential infinite loop, way more iterations than matches');\n throw err;\n }\n\n /*\n Why might be find ourselves here? An potential end match that was\n triggered but could not be completed. IE, `doEndMatch` returned NO_MATCH.\n (this could be because a callback requests the match be ignored, etc)\n\n This causes no real harm other than stopping a few times too many.\n */\n\n modeBuffer += lexeme;\n return lexeme.length;\n }\n\n const language = getLanguage(languageName);\n if (!language) {\n error(LANGUAGE_NOT_FOUND.replace(\"{}\", languageName));\n throw new Error('Unknown language: \"' + languageName + '\"');\n }\n\n const md = compileLanguage(language);\n let result = '';\n /** @type {CompiledMode} */\n let top = continuation || md;\n /** @type Record<string,CompiledMode> */\n const continuations = {}; // keep continuations for sub-languages\n const emitter = new options.__emitter(options);\n processContinuations();\n let modeBuffer = '';\n let relevance = 0;\n let index = 0;\n let iterations = 0;\n let resumeScanAtSamePosition = false;\n\n try {\n top.matcher.considerAll();\n\n for (;;) {\n iterations++;\n if (resumeScanAtSamePosition) {\n // only regexes not matched previously will now be\n // considered for a potential match\n resumeScanAtSamePosition = false;\n } else {\n top.matcher.considerAll();\n }\n top.matcher.lastIndex = index;\n\n const match = top.matcher.exec(codeToHighlight);\n // console.log(\"match\", match[0], match.rule && match.rule.begin)\n\n if (!match) break;\n\n const beforeMatch = codeToHighlight.substring(index, match.index);\n const processedCount = processLexeme(beforeMatch, match);\n index = match.index + processedCount;\n }\n processLexeme(codeToHighlight.substring(index));\n emitter.closeAllNodes();\n emitter.finalize();\n result = emitter.toHTML();\n\n return {\n language: languageName,\n value: result,\n relevance: relevance,\n illegal: false,\n _emitter: emitter,\n _top: top\n };\n } catch (err) {\n if (err.message && err.message.includes('Illegal')) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: true,\n relevance: 0,\n _illegalBy: {\n message: err.message,\n index: index,\n context: codeToHighlight.slice(index - 100, index + 100),\n mode: err.mode,\n resultSoFar: result\n },\n _emitter: emitter\n };\n } else if (SAFE_MODE) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: false,\n relevance: 0,\n errorRaised: err,\n _emitter: emitter,\n _top: top\n };\n } else {\n throw err;\n }\n }\n }\n\n /**\n * returns a valid highlight result, without actually doing any actual work,\n * auto highlight starts with this and it's possible for small snippets that\n * auto-detection may not find a better match\n * @param {string} code\n * @returns {HighlightResult}\n */\n function justTextHighlightResult(code) {\n const result = {\n value: escape(code),\n illegal: false,\n relevance: 0,\n _top: PLAINTEXT_LANGUAGE,\n _emitter: new options.__emitter(options)\n };\n result._emitter.addText(code);\n return result;\n }\n\n /**\n Highlighting with language detection. Accepts a string with the code to\n highlight. Returns an object with the following properties:\n\n - language (detected language)\n - relevance (int)\n - value (an HTML string with highlighting markup)\n - secondBest (object with the same structure for second-best heuristically\n detected language, may be absent)\n\n @param {string} code\n @param {Array<string>} [languageSubset]\n @returns {AutoHighlightResult}\n */\n function highlightAuto(code, languageSubset) {\n languageSubset = languageSubset || options.languages || Object.keys(languages);\n const plaintext = justTextHighlightResult(code);\n\n const results = languageSubset.filter(getLanguage).filter(autoDetection).map(name =>\n _highlight(name, code, false)\n );\n results.unshift(plaintext); // plaintext is always an option\n\n const sorted = results.sort((a, b) => {\n // sort base on relevance\n if (a.relevance !== b.relevance) return b.relevance - a.relevance;\n\n // always award the tie to the base language\n // ie if C++ and Arduino are tied, it's more likely to be C++\n if (a.language && b.language) {\n if (getLanguage(a.language).supersetOf === b.language) {\n return 1;\n } else if (getLanguage(b.language).supersetOf === a.language) {\n return -1;\n }\n }\n\n // otherwise say they are equal, which has the effect of sorting on\n // relevance while preserving the original ordering - which is how ties\n // have historically been settled, ie the language that comes first always\n // wins in the case of a tie\n return 0;\n });\n\n const [best, secondBest] = sorted;\n\n /** @type {AutoHighlightResult} */\n const result = best;\n result.secondBest = secondBest;\n\n return result;\n }\n\n /**\n * Builds new class name for block given the language name\n *\n * @param {HTMLElement} element\n * @param {string} [currentLang]\n * @param {string} [resultLang]\n */\n function updateClassName(element, currentLang, resultLang) {\n const language = (currentLang && aliases[currentLang]) || resultLang;\n\n element.classList.add(\"hljs\");\n element.classList.add(`language-${language}`);\n }\n\n /**\n * Applies highlighting to a DOM node containing code.\n *\n * @param {HighlightedHTMLElement} element - the HTML element to highlight\n */\n function highlightElement(element) {\n /** @type HTMLElement */\n let node = null;\n const language = blockLanguage(element);\n\n if (shouldNotHighlight(language)) return;\n\n fire(\"before:highlightElement\",\n { el: element, language: language });\n\n // we should be all text, no child nodes (unescaped HTML) - this is possibly\n // an HTML injection attack - it's likely too late if this is already in\n // production (the code has likely already done its damage by the time\n // we're seeing it)... but we yell loudly about this so that hopefully it's\n // more likely to be caught in development before making it to production\n if (element.children.length > 0) {\n if (!options.ignoreUnescapedHTML) {\n console.warn(\"One of your code blocks includes unescaped HTML. This is a potentially serious security risk.\");\n console.warn(\"https://github.com/highlightjs/highlight.js/wiki/security\");\n console.warn(\"The element with unescaped HTML:\");\n console.warn(element);\n }\n if (options.throwUnescapedHTML) {\n const err = new HTMLInjectionError(\n \"One of your code blocks includes unescaped HTML.\",\n element.innerHTML\n );\n throw err;\n }\n }\n\n node = element;\n const text = node.textContent;\n const result = language ? highlight(text, { language, ignoreIllegals: true }) : highlightAuto(text);\n\n element.innerHTML = result.value;\n updateClassName(element, language, result.language);\n element.result = {\n language: result.language,\n // TODO: remove with version 11.0\n re: result.relevance,\n relevance: result.relevance\n };\n if (result.secondBest) {\n element.secondBest = {\n language: result.secondBest.language,\n relevance: result.secondBest.relevance\n };\n }\n\n fire(\"after:highlightElement\", { el: element, result, text });\n }\n\n /**\n * Updates highlight.js global options with the passed options\n *\n * @param {Partial<HLJSOptions>} userOptions\n */\n function configure(userOptions) {\n options = inherit(options, userOptions);\n }\n\n // TODO: remove v12, deprecated\n const initHighlighting = () => {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlighting() deprecated. Use highlightAll() now.\");\n };\n\n // TODO: remove v12, deprecated\n function initHighlightingOnLoad() {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlightingOnLoad() deprecated. Use highlightAll() now.\");\n }\n\n let wantsHighlight = false;\n\n /**\n * auto-highlights all pre>code elements on the page\n */\n function highlightAll() {\n // if we are called too early in the loading process\n if (document.readyState === \"loading\") {\n wantsHighlight = true;\n return;\n }\n\n const blocks = document.querySelectorAll(options.cssSelector);\n blocks.forEach(highlightElement);\n }\n\n function boot() {\n // if a highlight was requested before DOM was loaded, do now\n if (wantsHighlight) highlightAll();\n }\n\n // make sure we are in the browser environment\n if (typeof window !== 'undefined' && window.addEventListener) {\n window.addEventListener('DOMContentLoaded', boot, false);\n }\n\n /**\n * Register a language grammar module\n *\n * @param {string} languageName\n * @param {LanguageFn} languageDefinition\n */\n function registerLanguage(languageName, languageDefinition) {\n let lang = null;\n try {\n lang = languageDefinition(hljs);\n } catch (error$1) {\n error(\"Language definition for '{}' could not be registered.\".replace(\"{}\", languageName));\n // hard or soft error\n if (!SAFE_MODE) { throw error$1; } else { error(error$1); }\n // languages that have serious errors are replaced with essentially a\n // \"plaintext\" stand-in so that the code blocks will still get normal\n // css classes applied to them - and one bad language won't break the\n // entire highlighter\n lang = PLAINTEXT_LANGUAGE;\n }\n // give it a temporary name if it doesn't have one in the meta-data\n if (!lang.name) lang.name = languageName;\n languages[languageName] = lang;\n lang.rawDefinition = languageDefinition.bind(null, hljs);\n\n if (lang.aliases) {\n registerAliases(lang.aliases, { languageName });\n }\n }\n\n /**\n * Remove a language grammar module\n *\n * @param {string} languageName\n */\n function unregisterLanguage(languageName) {\n delete languages[languageName];\n for (const alias of Object.keys(aliases)) {\n if (aliases[alias] === languageName) {\n delete aliases[alias];\n }\n }\n }\n\n /**\n * @returns {string[]} List of language internal names\n */\n function listLanguages() {\n return Object.keys(languages);\n }\n\n /**\n * @param {string} name - name of the language to retrieve\n * @returns {Language | undefined}\n */\n function getLanguage(name) {\n name = (name || '').toLowerCase();\n return languages[name] || languages[aliases[name]];\n }\n\n /**\n *\n * @param {string|string[]} aliasList - single alias or list of aliases\n * @param {{languageName: string}} opts\n */\n function registerAliases(aliasList, { languageName }) {\n if (typeof aliasList === 'string') {\n aliasList = [aliasList];\n }\n aliasList.forEach(alias => { aliases[alias.toLowerCase()] = languageName; });\n }\n\n /**\n * Determines if a given language has auto-detection enabled\n * @param {string} name - name of the language\n */\n function autoDetection(name) {\n const lang = getLanguage(name);\n return lang && !lang.disableAutodetect;\n }\n\n /**\n * Upgrades the old highlightBlock plugins to the new\n * highlightElement API\n * @param {HLJSPlugin} plugin\n */\n function upgradePluginAPI(plugin) {\n // TODO: remove with v12\n if (plugin[\"before:highlightBlock\"] && !plugin[\"before:highlightElement\"]) {\n plugin[\"before:highlightElement\"] = (data) => {\n plugin[\"before:highlightBlock\"](\n Object.assign({ block: data.el }, data)\n );\n };\n }\n if (plugin[\"after:highlightBlock\"] && !plugin[\"after:highlightElement\"]) {\n plugin[\"after:highlightElement\"] = (data) => {\n plugin[\"after:highlightBlock\"](\n Object.assign({ block: data.el }, data)\n );\n };\n }\n }\n\n /**\n * @param {HLJSPlugin} plugin\n */\n function addPlugin(plugin) {\n upgradePluginAPI(plugin);\n plugins.push(plugin);\n }\n\n /**\n *\n * @param {PluginEvent} event\n * @param {any} args\n */\n function fire(event, args) {\n const cb = event;\n plugins.forEach(function(plugin) {\n if (plugin[cb]) {\n plugin[cb](args);\n }\n });\n }\n\n /**\n * DEPRECATED\n * @param {HighlightedHTMLElement} el\n */\n function deprecateHighlightBlock(el) {\n deprecated(\"10.7.0\", \"highlightBlock will be removed entirely in v12.0\");\n deprecated(\"10.7.0\", \"Please use highlightElement now.\");\n\n return highlightElement(el);\n }\n\n /* Interface definition */\n Object.assign(hljs, {\n highlight,\n highlightAuto,\n highlightAll,\n highlightElement,\n // TODO: Remove with v12 API\n highlightBlock: deprecateHighlightBlock,\n configure,\n initHighlighting,\n initHighlightingOnLoad,\n registerLanguage,\n unregisterLanguage,\n listLanguages,\n getLanguage,\n registerAliases,\n autoDetection,\n inherit,\n addPlugin\n });\n\n hljs.debugMode = function() { SAFE_MODE = false; };\n hljs.safeMode = function() { SAFE_MODE = true; };\n hljs.versionString = version;\n\n hljs.regex = {\n concat: concat,\n lookahead: lookahead,\n either: either,\n optional: optional,\n anyNumberOfTimes: anyNumberOfTimes\n };\n\n for (const key in MODES) {\n // @ts-ignore\n if (typeof MODES[key] === \"object\") {\n // @ts-ignore\n deepFreezeEs6.exports(MODES[key]);\n }\n }\n\n // merge all the modes/regexes into our main object\n Object.assign(hljs, MODES);\n\n return hljs;\n};\n\n// export an \"instance\" of the highlighter\nvar highlight = HLJS({});\n\nmodule.exports = highlight;\nhighlight.HighlightJS = highlight;\nhighlight.default = highlight;\n","/*\nLanguage: HTML, XML\nWebsite: https://www.w3.org/XML/\nCategory: common, web\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction xml(hljs) {\n const regex = hljs.regex;\n // XML names can have the following additional letters: https://www.w3.org/TR/xml/#NT-NameChar\n // OTHER_NAME_CHARS = /[:\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]/;\n // Element names start with NAME_START_CHAR followed by optional other Unicode letters, ASCII digits, hyphens, underscores, and periods\n // const TAG_NAME_RE = regex.concat(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/, regex.optional(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*:/), /[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*/);;\n // const XML_IDENT_RE = /[A-Z_a-z:\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]+/;\n // const TAG_NAME_RE = regex.concat(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/, regex.optional(/[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*:/), /[A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*/);\n // however, to cater for performance and more Unicode support rely simply on the Unicode letter class\n const TAG_NAME_RE = regex.concat(/[\\p{L}_]/u, regex.optional(/[\\p{L}0-9_.-]*:/u), /[\\p{L}0-9_.-]*/u);\n const XML_IDENT_RE = /[\\p{L}0-9._:-]+/u;\n const XML_ENTITIES = {\n className: 'symbol',\n begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/\n };\n const XML_META_KEYWORDS = {\n begin: /\\s/,\n contains: [\n {\n className: 'keyword',\n begin: /#?[a-z_][a-z1-9_-]+/,\n illegal: /\\n/\n }\n ]\n };\n const XML_META_PAR_KEYWORDS = hljs.inherit(XML_META_KEYWORDS, {\n begin: /\\(/,\n end: /\\)/\n });\n const APOS_META_STRING_MODE = hljs.inherit(hljs.APOS_STRING_MODE, { className: 'string' });\n const QUOTE_META_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' });\n const TAG_INTERNALS = {\n endsWithParent: true,\n illegal: /</,\n relevance: 0,\n contains: [\n {\n className: 'attr',\n begin: XML_IDENT_RE,\n relevance: 0\n },\n {\n begin: /=\\s*/,\n relevance: 0,\n contains: [\n {\n className: 'string',\n endsParent: true,\n variants: [\n {\n begin: /\"/,\n end: /\"/,\n contains: [ XML_ENTITIES ]\n },\n {\n begin: /'/,\n end: /'/,\n contains: [ XML_ENTITIES ]\n },\n { begin: /[^\\s\"'=<>`]+/ }\n ]\n }\n ]\n }\n ]\n };\n return {\n name: 'HTML, XML',\n aliases: [\n 'html',\n 'xhtml',\n 'rss',\n 'atom',\n 'xjb',\n 'xsd',\n 'xsl',\n 'plist',\n 'wsf',\n 'svg'\n ],\n case_insensitive: true,\n unicodeRegex: true,\n contains: [\n {\n className: 'meta',\n begin: /<![a-z]/,\n end: />/,\n relevance: 10,\n contains: [\n XML_META_KEYWORDS,\n QUOTE_META_STRING_MODE,\n APOS_META_STRING_MODE,\n XML_META_PAR_KEYWORDS,\n {\n begin: /\\[/,\n end: /\\]/,\n contains: [\n {\n className: 'meta',\n begin: /<![a-z]/,\n end: />/,\n contains: [\n XML_META_KEYWORDS,\n XML_META_PAR_KEYWORDS,\n QUOTE_META_STRING_MODE,\n APOS_META_STRING_MODE\n ]\n }\n ]\n }\n ]\n },\n hljs.COMMENT(\n /<!--/,\n /-->/,\n { relevance: 10 }\n ),\n {\n begin: /<!\\[CDATA\\[/,\n end: /\\]\\]>/,\n relevance: 10\n },\n XML_ENTITIES,\n // xml processing instructions\n {\n className: 'meta',\n end: /\\?>/,\n variants: [\n {\n begin: /<\\?xml/,\n relevance: 10,\n contains: [\n QUOTE_META_STRING_MODE\n ]\n },\n {\n begin: /<\\?[a-z][a-z0-9]+/,\n }\n ]\n\n },\n {\n className: 'tag',\n /*\n The lookahead pattern (?=...) ensures that 'begin' only matches\n '<style' as a single word, followed by a whitespace or an\n ending bracket.\n */\n begin: /<style(?=\\s|>)/,\n end: />/,\n keywords: { name: 'style' },\n contains: [ TAG_INTERNALS ],\n starts: {\n end: /<\\/style>/,\n returnEnd: true,\n subLanguage: [\n 'css',\n 'xml'\n ]\n }\n },\n {\n className: 'tag',\n // See the comment in the <style tag about the lookahead pattern\n begin: /<script(?=\\s|>)/,\n end: />/,\n keywords: { name: 'script' },\n contains: [ TAG_INTERNALS ],\n starts: {\n end: /<\\/script>/,\n returnEnd: true,\n subLanguage: [\n 'javascript',\n 'handlebars',\n 'xml'\n ]\n }\n },\n // we need this for now for jSX\n {\n className: 'tag',\n begin: /<>|<\\/>/\n },\n // open tag\n {\n className: 'tag',\n begin: regex.concat(\n /</,\n regex.lookahead(regex.concat(\n TAG_NAME_RE,\n // <tag/>\n // <tag>\n // <tag ...\n regex.either(/\\/>/, />/, /\\s/)\n ))\n ),\n end: /\\/?>/,\n contains: [\n {\n className: 'name',\n begin: TAG_NAME_RE,\n relevance: 0,\n starts: TAG_INTERNALS\n }\n ]\n },\n // close tag\n {\n className: 'tag',\n begin: regex.concat(\n /<\\//,\n regex.lookahead(regex.concat(\n TAG_NAME_RE, />/\n ))\n ),\n contains: [\n {\n className: 'name',\n begin: TAG_NAME_RE,\n relevance: 0\n },\n {\n begin: />/,\n relevance: 0,\n endsParent: true\n }\n ]\n }\n ]\n };\n}\n\nmodule.exports = xml;\n","/*\nLanguage: Bash\nAuthor: vah <vahtenberg@gmail.com>\nContributrors: Benjamin Pannell <contact@sierrasoftworks.com>\nWebsite: https://www.gnu.org/software/bash/\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction bash(hljs) {\n const regex = hljs.regex;\n const VAR = {};\n const BRACED_VAR = {\n begin: /\\$\\{/,\n end: /\\}/,\n contains: [\n \"self\",\n {\n begin: /:-/,\n contains: [ VAR ]\n } // default values\n ]\n };\n Object.assign(VAR, {\n className: 'variable',\n variants: [\n { begin: regex.concat(/\\$[\\w\\d#@][\\w\\d_]*/,\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n `(?![\\\\w\\\\d])(?![$])`) },\n BRACED_VAR\n ]\n });\n\n const SUBST = {\n className: 'subst',\n begin: /\\$\\(/,\n end: /\\)/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n const HERE_DOC = {\n begin: /<<-?\\s*(?=\\w+)/,\n starts: { contains: [\n hljs.END_SAME_AS_BEGIN({\n begin: /(\\w+)/,\n end: /(\\w+)/,\n className: 'string'\n })\n ] }\n };\n const QUOTE_STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR,\n SUBST\n ]\n };\n SUBST.contains.push(QUOTE_STRING);\n const ESCAPED_QUOTE = {\n className: '',\n begin: /\\\\\"/\n\n };\n const APOS_STRING = {\n className: 'string',\n begin: /'/,\n end: /'/\n };\n const ARITHMETIC = {\n begin: /\\$\\(\\(/,\n end: /\\)\\)/,\n contains: [\n {\n begin: /\\d+#[0-9a-f]+/,\n className: \"number\"\n },\n hljs.NUMBER_MODE,\n VAR\n ]\n };\n const SH_LIKE_SHELLS = [\n \"fish\",\n \"bash\",\n \"zsh\",\n \"sh\",\n \"csh\",\n \"ksh\",\n \"tcsh\",\n \"dash\",\n \"scsh\",\n ];\n const KNOWN_SHEBANG = hljs.SHEBANG({\n binary: `(${SH_LIKE_SHELLS.join(\"|\")})`,\n relevance: 10\n });\n const FUNCTION = {\n className: 'function',\n begin: /\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{/,\n returnBegin: true,\n contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: /\\w[\\w\\d_]*/ }) ],\n relevance: 0\n };\n\n const KEYWORDS = [\n \"if\",\n \"then\",\n \"else\",\n \"elif\",\n \"fi\",\n \"for\",\n \"while\",\n \"in\",\n \"do\",\n \"done\",\n \"case\",\n \"esac\",\n \"function\"\n ];\n\n const LITERALS = [\n \"true\",\n \"false\"\n ];\n\n // to consume paths to prevent keyword matches inside them\n const PATH_MODE = { match: /(\\/[a-z._-]+)+/ };\n\n // http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html\n const SHELL_BUILT_INS = [\n \"break\",\n \"cd\",\n \"continue\",\n \"eval\",\n \"exec\",\n \"exit\",\n \"export\",\n \"getopts\",\n \"hash\",\n \"pwd\",\n \"readonly\",\n \"return\",\n \"shift\",\n \"test\",\n \"times\",\n \"trap\",\n \"umask\",\n \"unset\"\n ];\n\n const BASH_BUILT_INS = [\n \"alias\",\n \"bind\",\n \"builtin\",\n \"caller\",\n \"command\",\n \"declare\",\n \"echo\",\n \"enable\",\n \"help\",\n \"let\",\n \"local\",\n \"logout\",\n \"mapfile\",\n \"printf\",\n \"read\",\n \"readarray\",\n \"source\",\n \"type\",\n \"typeset\",\n \"ulimit\",\n \"unalias\"\n ];\n\n const ZSH_BUILT_INS = [\n \"autoload\",\n \"bg\",\n \"bindkey\",\n \"bye\",\n \"cap\",\n \"chdir\",\n \"clone\",\n \"comparguments\",\n \"compcall\",\n \"compctl\",\n \"compdescribe\",\n \"compfiles\",\n \"compgroups\",\n \"compquote\",\n \"comptags\",\n \"comptry\",\n \"compvalues\",\n \"dirs\",\n \"disable\",\n \"disown\",\n \"echotc\",\n \"echoti\",\n \"emulate\",\n \"fc\",\n \"fg\",\n \"float\",\n \"functions\",\n \"getcap\",\n \"getln\",\n \"history\",\n \"integer\",\n \"jobs\",\n \"kill\",\n \"limit\",\n \"log\",\n \"noglob\",\n \"popd\",\n \"print\",\n \"pushd\",\n \"pushln\",\n \"rehash\",\n \"sched\",\n \"setcap\",\n \"setopt\",\n \"stat\",\n \"suspend\",\n \"ttyctl\",\n \"unfunction\",\n \"unhash\",\n \"unlimit\",\n \"unsetopt\",\n \"vared\",\n \"wait\",\n \"whence\",\n \"where\",\n \"which\",\n \"zcompile\",\n \"zformat\",\n \"zftp\",\n \"zle\",\n \"zmodload\",\n \"zparseopts\",\n \"zprof\",\n \"zpty\",\n \"zregexparse\",\n \"zsocket\",\n \"zstyle\",\n \"ztcp\"\n ];\n\n const GNU_CORE_UTILS = [\n \"chcon\",\n \"chgrp\",\n \"chown\",\n \"chmod\",\n \"cp\",\n \"dd\",\n \"df\",\n \"dir\",\n \"dircolors\",\n \"ln\",\n \"ls\",\n \"mkdir\",\n \"mkfifo\",\n \"mknod\",\n \"mktemp\",\n \"mv\",\n \"realpath\",\n \"rm\",\n \"rmdir\",\n \"shred\",\n \"sync\",\n \"touch\",\n \"truncate\",\n \"vdir\",\n \"b2sum\",\n \"base32\",\n \"base64\",\n \"cat\",\n \"cksum\",\n \"comm\",\n \"csplit\",\n \"cut\",\n \"expand\",\n \"fmt\",\n \"fold\",\n \"head\",\n \"join\",\n \"md5sum\",\n \"nl\",\n \"numfmt\",\n \"od\",\n \"paste\",\n \"ptx\",\n \"pr\",\n \"sha1sum\",\n \"sha224sum\",\n \"sha256sum\",\n \"sha384sum\",\n \"sha512sum\",\n \"shuf\",\n \"sort\",\n \"split\",\n \"sum\",\n \"tac\",\n \"tail\",\n \"tr\",\n \"tsort\",\n \"unexpand\",\n \"uniq\",\n \"wc\",\n \"arch\",\n \"basename\",\n \"chroot\",\n \"date\",\n \"dirname\",\n \"du\",\n \"echo\",\n \"env\",\n \"expr\",\n \"factor\",\n // \"false\", // keyword literal already\n \"groups\",\n \"hostid\",\n \"id\",\n \"link\",\n \"logname\",\n \"nice\",\n \"nohup\",\n \"nproc\",\n \"pathchk\",\n \"pinky\",\n \"printenv\",\n \"printf\",\n \"pwd\",\n \"readlink\",\n \"runcon\",\n \"seq\",\n \"sleep\",\n \"stat\",\n \"stdbuf\",\n \"stty\",\n \"tee\",\n \"test\",\n \"timeout\",\n // \"true\", // keyword literal already\n \"tty\",\n \"uname\",\n \"unlink\",\n \"uptime\",\n \"users\",\n \"who\",\n \"whoami\",\n \"yes\"\n ];\n\n return {\n name: 'Bash',\n aliases: [ 'sh' ],\n keywords: {\n $pattern: /\\b[a-z][a-z0-9._-]+\\b/,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: [\n ...SHELL_BUILT_INS,\n ...BASH_BUILT_INS,\n // Shell modifiers\n \"set\",\n \"shopt\",\n ...ZSH_BUILT_INS,\n ...GNU_CORE_UTILS\n ]\n },\n contains: [\n KNOWN_SHEBANG, // to catch known shells and boost relevancy\n hljs.SHEBANG(), // to catch unknown shells but still highlight the shebang\n FUNCTION,\n ARITHMETIC,\n hljs.HASH_COMMENT_MODE,\n HERE_DOC,\n PATH_MODE,\n QUOTE_STRING,\n ESCAPED_QUOTE,\n APOS_STRING,\n VAR\n ]\n };\n}\n\nmodule.exports = bash;\n","/*\nLanguage: C\nCategory: common, system\nWebsite: https://en.wikipedia.org/wiki/C_(programming_language)\n*/\n\n/** @type LanguageFn */\nfunction c(hljs) {\n const regex = hljs.regex;\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\\\\n/ } ] });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '('\n + DECLTYPE_AUTO_RE + '|'\n + regex.optional(NAMESPACE_RE)\n + '[a-zA-Z_]\\\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)\n + ')';\n\n\n const TYPES = {\n className: 'type',\n variants: [\n { begin: '\\\\b[a-z\\\\d_]*_t\\\\b' },\n { match: /\\batomic_[a-z]{3,6}\\b/ }\n ]\n\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + \"|.)\",\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma _Pragma ifdef ifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n const C_KEYWORDS = [\n \"asm\",\n \"auto\",\n \"break\",\n \"case\",\n \"continue\",\n \"default\",\n \"do\",\n \"else\",\n \"enum\",\n \"extern\",\n \"for\",\n \"fortran\",\n \"goto\",\n \"if\",\n \"inline\",\n \"register\",\n \"restrict\",\n \"return\",\n \"sizeof\",\n \"struct\",\n \"switch\",\n \"typedef\",\n \"union\",\n \"volatile\",\n \"while\",\n \"_Alignas\",\n \"_Alignof\",\n \"_Atomic\",\n \"_Generic\",\n \"_Noreturn\",\n \"_Static_assert\",\n \"_Thread_local\",\n // aliases\n \"alignas\",\n \"alignof\",\n \"noreturn\",\n \"static_assert\",\n \"thread_local\",\n // not a C keyword but is, for all intents and purposes, treated exactly like one.\n \"_Pragma\"\n ];\n\n const C_TYPES = [\n \"float\",\n \"double\",\n \"signed\",\n \"unsigned\",\n \"int\",\n \"short\",\n \"long\",\n \"char\",\n \"void\",\n \"_Bool\",\n \"_Complex\",\n \"_Imaginary\",\n \"_Decimal32\",\n \"_Decimal64\",\n \"_Decimal128\",\n // modifiers\n \"const\",\n \"static\",\n // aliases\n \"complex\",\n \"bool\",\n \"imaginary\"\n ];\n\n const KEYWORDS = {\n keyword: C_KEYWORDS,\n type: C_TYPES,\n literal: 'true false NULL',\n // TODO: apply hinting work similar to what was done in cpp.js\n built_in: 'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream '\n + 'auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set '\n + 'unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos '\n + 'asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp '\n + 'fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper '\n + 'isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow '\n + 'printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp '\n + 'strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan '\n + 'vfprintf vprintf vsprintf endl initializer_list unique_ptr',\n };\n\n const EXPRESSION_CONTAINS = [\n PREPROCESSOR,\n TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ hljs.inherit(TITLE_MODE, { className: \"title.function\" }) ],\n relevance: 0\n },\n // allow for multiple declarations, e.g.:\n // extern void f(int), g(char);\n {\n relevance: 0,\n match: /,/\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n TYPES\n ]\n }\n ]\n },\n TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: \"C\",\n aliases: [ 'h' ],\n keywords: KEYWORDS,\n // Until differentiations are added between `c` and `cpp`, `c` will\n // not be auto-detected to avoid auto-detect conflicts between C and C++\n disableAutodetect: true,\n illegal: '</',\n contains: [].concat(\n EXPRESSION_CONTEXT,\n FUNCTION_DECLARATION,\n EXPRESSION_CONTAINS,\n [\n PREPROCESSOR,\n {\n begin: hljs.IDENT_RE + '::',\n keywords: KEYWORDS\n },\n {\n className: 'class',\n beginKeywords: 'enum class struct union',\n end: /[{;:<>=]/,\n contains: [\n { beginKeywords: \"final class struct\" },\n hljs.TITLE_MODE\n ]\n }\n ]),\n exports: {\n preprocessor: PREPROCESSOR,\n strings: STRINGS,\n keywords: KEYWORDS\n }\n };\n}\n\nmodule.exports = c;\n","/*\nLanguage: C++\nCategory: common, system\nWebsite: https://isocpp.org\n*/\n\n/** @type LanguageFn */\nfunction cpp(hljs) {\n const regex = hljs.regex;\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\\\\n/ } ] });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '(?!struct)('\n + DECLTYPE_AUTO_RE + '|'\n + regex.optional(NAMESPACE_RE)\n + '[a-zA-Z_]\\\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)\n + ')';\n\n const CPP_PRIMITIVE_TYPES = {\n className: 'type',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + '|.)',\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma _Pragma ifdef ifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_KEYWORDS = [\n 'alignas',\n 'alignof',\n 'and',\n 'and_eq',\n 'asm',\n 'atomic_cancel',\n 'atomic_commit',\n 'atomic_noexcept',\n 'auto',\n 'bitand',\n 'bitor',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'co_await',\n 'co_return',\n 'co_yield',\n 'compl',\n 'concept',\n 'const_cast|10',\n 'consteval',\n 'constexpr',\n 'constinit',\n 'continue',\n 'decltype',\n 'default',\n 'delete',\n 'do',\n 'dynamic_cast|10',\n 'else',\n 'enum',\n 'explicit',\n 'export',\n 'extern',\n 'false',\n 'final',\n 'for',\n 'friend',\n 'goto',\n 'if',\n 'import',\n 'inline',\n 'module',\n 'mutable',\n 'namespace',\n 'new',\n 'noexcept',\n 'not',\n 'not_eq',\n 'nullptr',\n 'operator',\n 'or',\n 'or_eq',\n 'override',\n 'private',\n 'protected',\n 'public',\n 'reflexpr',\n 'register',\n 'reinterpret_cast|10',\n 'requires',\n 'return',\n 'sizeof',\n 'static_assert',\n 'static_cast|10',\n 'struct',\n 'switch',\n 'synchronized',\n 'template',\n 'this',\n 'thread_local',\n 'throw',\n 'transaction_safe',\n 'transaction_safe_dynamic',\n 'true',\n 'try',\n 'typedef',\n 'typeid',\n 'typename',\n 'union',\n 'using',\n 'virtual',\n 'volatile',\n 'while',\n 'xor',\n 'xor_eq'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const RESERVED_TYPES = [\n 'bool',\n 'char',\n 'char16_t',\n 'char32_t',\n 'char8_t',\n 'double',\n 'float',\n 'int',\n 'long',\n 'short',\n 'void',\n 'wchar_t',\n 'unsigned',\n 'signed',\n 'const',\n 'static'\n ];\n\n const TYPE_HINTS = [\n 'any',\n 'auto_ptr',\n 'barrier',\n 'binary_semaphore',\n 'bitset',\n 'complex',\n 'condition_variable',\n 'condition_variable_any',\n 'counting_semaphore',\n 'deque',\n 'false_type',\n 'future',\n 'imaginary',\n 'initializer_list',\n 'istringstream',\n 'jthread',\n 'latch',\n 'lock_guard',\n 'multimap',\n 'multiset',\n 'mutex',\n 'optional',\n 'ostringstream',\n 'packaged_task',\n 'pair',\n 'promise',\n 'priority_queue',\n 'queue',\n 'recursive_mutex',\n 'recursive_timed_mutex',\n 'scoped_lock',\n 'set',\n 'shared_future',\n 'shared_lock',\n 'shared_mutex',\n 'shared_timed_mutex',\n 'shared_ptr',\n 'stack',\n 'string_view',\n 'stringstream',\n 'timed_mutex',\n 'thread',\n 'true_type',\n 'tuple',\n 'unique_lock',\n 'unique_ptr',\n 'unordered_map',\n 'unordered_multimap',\n 'unordered_multiset',\n 'unordered_set',\n 'variant',\n 'vector',\n 'weak_ptr',\n 'wstring',\n 'wstring_view'\n ];\n\n const FUNCTION_HINTS = [\n 'abort',\n 'abs',\n 'acos',\n 'apply',\n 'as_const',\n 'asin',\n 'atan',\n 'atan2',\n 'calloc',\n 'ceil',\n 'cerr',\n 'cin',\n 'clog',\n 'cos',\n 'cosh',\n 'cout',\n 'declval',\n 'endl',\n 'exchange',\n 'exit',\n 'exp',\n 'fabs',\n 'floor',\n 'fmod',\n 'forward',\n 'fprintf',\n 'fputs',\n 'free',\n 'frexp',\n 'fscanf',\n 'future',\n 'invoke',\n 'isalnum',\n 'isalpha',\n 'iscntrl',\n 'isdigit',\n 'isgraph',\n 'islower',\n 'isprint',\n 'ispunct',\n 'isspace',\n 'isupper',\n 'isxdigit',\n 'labs',\n 'launder',\n 'ldexp',\n 'log',\n 'log10',\n 'make_pair',\n 'make_shared',\n 'make_shared_for_overwrite',\n 'make_tuple',\n 'make_unique',\n 'malloc',\n 'memchr',\n 'memcmp',\n 'memcpy',\n 'memset',\n 'modf',\n 'move',\n 'pow',\n 'printf',\n 'putchar',\n 'puts',\n 'realloc',\n 'scanf',\n 'sin',\n 'sinh',\n 'snprintf',\n 'sprintf',\n 'sqrt',\n 'sscanf',\n 'std',\n 'stderr',\n 'stdin',\n 'stdout',\n 'strcat',\n 'strchr',\n 'strcmp',\n 'strcpy',\n 'strcspn',\n 'strlen',\n 'strncat',\n 'strncmp',\n 'strncpy',\n 'strpbrk',\n 'strrchr',\n 'strspn',\n 'strstr',\n 'swap',\n 'tan',\n 'tanh',\n 'terminate',\n 'to_underlying',\n 'tolower',\n 'toupper',\n 'vfprintf',\n 'visit',\n 'vprintf',\n 'vsprintf'\n ];\n\n const LITERALS = [\n 'NULL',\n 'false',\n 'nullopt',\n 'nullptr',\n 'true'\n ];\n\n // https://en.cppreference.com/w/cpp/keyword\n const BUILT_IN = [ '_Pragma' ];\n\n const CPP_KEYWORDS = {\n type: RESERVED_TYPES,\n keyword: RESERVED_KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_IN,\n _type_hints: TYPE_HINTS\n };\n\n const FUNCTION_DISPATCH = {\n className: 'function.dispatch',\n relevance: 0,\n keywords: {\n // Only for relevance, not highlighting.\n _hint: FUNCTION_HINTS },\n begin: regex.concat(\n /\\b/,\n /(?!decltype)/,\n /(?!if)/,\n /(?!for)/,\n /(?!switch)/,\n /(?!while)/,\n hljs.IDENT_RE,\n regex.lookahead(/(<[^<>]+>|)\\s*\\(/))\n };\n\n const EXPRESSION_CONTAINS = [\n FUNCTION_DISPATCH,\n PREPROCESSOR,\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ TITLE_MODE ],\n relevance: 0\n },\n // needed because we do not have look-behind on the below rule\n // to prevent it from grabbing the final : in a :: pair\n {\n begin: /::/,\n relevance: 0\n },\n // initializers\n {\n begin: /:/,\n endsWithParent: true,\n contains: [\n STRINGS,\n NUMBERS\n ]\n },\n // allow for multiple declarations, e.g.:\n // extern void f(int), g(char);\n {\n relevance: 0,\n match: /,/\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: 'C++',\n aliases: [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ],\n keywords: CPP_KEYWORDS,\n illegal: '</',\n classNameAliases: { 'function.dispatch': 'built_in' },\n contains: [].concat(\n EXPRESSION_CONTEXT,\n FUNCTION_DECLARATION,\n FUNCTION_DISPATCH,\n EXPRESSION_CONTAINS,\n [\n PREPROCESSOR,\n { // containers: ie, `vector <int> rooms (9);`\n begin: '\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\\\s*<(?!<)',\n end: '>',\n keywords: CPP_KEYWORDS,\n contains: [\n 'self',\n CPP_PRIMITIVE_TYPES\n ]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n match: [\n // extra complexity to deal with `enum class` and `enum struct`\n /\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union)/,\n /\\s+/,\n /\\w+/\n ],\n className: {\n 1: 'keyword',\n 3: 'title.class'\n }\n }\n ])\n };\n}\n\nmodule.exports = cpp;\n","/*\nLanguage: C#\nAuthor: Jason Diamond <jason@diamond.name>\nContributor: Nicolas LLOBERA <nllobera@gmail.com>, Pieter Vantorre <pietervantorre@gmail.com>, David Pine <david.pine@microsoft.com>\nWebsite: https://docs.microsoft.com/dotnet/csharp/\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction csharp(hljs) {\n const BUILT_IN_KEYWORDS = [\n 'bool',\n 'byte',\n 'char',\n 'decimal',\n 'delegate',\n 'double',\n 'dynamic',\n 'enum',\n 'float',\n 'int',\n 'long',\n 'nint',\n 'nuint',\n 'object',\n 'sbyte',\n 'short',\n 'string',\n 'ulong',\n 'uint',\n 'ushort'\n ];\n const FUNCTION_MODIFIERS = [\n 'public',\n 'private',\n 'protected',\n 'static',\n 'internal',\n 'protected',\n 'abstract',\n 'async',\n 'extern',\n 'override',\n 'unsafe',\n 'virtual',\n 'new',\n 'sealed',\n 'partial'\n ];\n const LITERAL_KEYWORDS = [\n 'default',\n 'false',\n 'null',\n 'true'\n ];\n const NORMAL_KEYWORDS = [\n 'abstract',\n 'as',\n 'base',\n 'break',\n 'case',\n 'catch',\n 'class',\n 'const',\n 'continue',\n 'do',\n 'else',\n 'event',\n 'explicit',\n 'extern',\n 'finally',\n 'fixed',\n 'for',\n 'foreach',\n 'goto',\n 'if',\n 'implicit',\n 'in',\n 'interface',\n 'internal',\n 'is',\n 'lock',\n 'namespace',\n 'new',\n 'operator',\n 'out',\n 'override',\n 'params',\n 'private',\n 'protected',\n 'public',\n 'readonly',\n 'record',\n 'ref',\n 'return',\n 'scoped',\n 'sealed',\n 'sizeof',\n 'stackalloc',\n 'static',\n 'struct',\n 'switch',\n 'this',\n 'throw',\n 'try',\n 'typeof',\n 'unchecked',\n 'unsafe',\n 'using',\n 'virtual',\n 'void',\n 'volatile',\n 'while'\n ];\n const CONTEXTUAL_KEYWORDS = [\n 'add',\n 'alias',\n 'and',\n 'ascending',\n 'async',\n 'await',\n 'by',\n 'descending',\n 'equals',\n 'from',\n 'get',\n 'global',\n 'group',\n 'init',\n 'into',\n 'join',\n 'let',\n 'nameof',\n 'not',\n 'notnull',\n 'on',\n 'or',\n 'orderby',\n 'partial',\n 'remove',\n 'select',\n 'set',\n 'unmanaged',\n 'value|0',\n 'var',\n 'when',\n 'where',\n 'with',\n 'yield'\n ];\n\n const KEYWORDS = {\n keyword: NORMAL_KEYWORDS.concat(CONTEXTUAL_KEYWORDS),\n built_in: BUILT_IN_KEYWORDS,\n literal: LITERAL_KEYWORDS\n };\n const TITLE_MODE = hljs.inherit(hljs.TITLE_MODE, { begin: '[a-zA-Z](\\\\.?\\\\w)*' });\n const NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)(u|U|l|L|ul|UL|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n const VERBATIM_STRING = {\n className: 'string',\n begin: '@\"',\n end: '\"',\n contains: [ { begin: '\"\"' } ]\n };\n const VERBATIM_STRING_NO_LF = hljs.inherit(VERBATIM_STRING, { illegal: /\\n/ });\n const SUBST = {\n className: 'subst',\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS\n };\n const SUBST_NO_LF = hljs.inherit(SUBST, { illegal: /\\n/ });\n const INTERPOLATED_STRING = {\n className: 'string',\n begin: /\\$\"/,\n end: '\"',\n illegal: /\\n/,\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n hljs.BACKSLASH_ESCAPE,\n SUBST_NO_LF\n ]\n };\n const INTERPOLATED_VERBATIM_STRING = {\n className: 'string',\n begin: /\\$@\"/,\n end: '\"',\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n { begin: '\"\"' },\n SUBST\n ]\n };\n const INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit(INTERPOLATED_VERBATIM_STRING, {\n illegal: /\\n/,\n contains: [\n { begin: /\\{\\{/ },\n { begin: /\\}\\}/ },\n { begin: '\"\"' },\n SUBST_NO_LF\n ]\n });\n SUBST.contains = [\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ];\n SUBST_NO_LF.contains = [\n INTERPOLATED_VERBATIM_STRING_NO_LF,\n INTERPOLATED_STRING,\n VERBATIM_STRING_NO_LF,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, { illegal: /\\n/ })\n ];\n const STRING = { variants: [\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ] };\n\n const GENERIC_MODIFIER = {\n begin: \"<\",\n end: \">\",\n contains: [\n { beginKeywords: \"in out\" },\n TITLE_MODE\n ]\n };\n const TYPE_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '(\\\\s*,\\\\s*' + hljs.IDENT_RE + ')*>)?(\\\\[\\\\])?';\n const AT_IDENTIFIER = {\n // prevents expressions like `@class` from incorrect flagging\n // `class` as a keyword\n begin: \"@\" + hljs.IDENT_RE,\n relevance: 0\n };\n\n return {\n name: 'C#',\n aliases: [\n 'cs',\n 'c#'\n ],\n keywords: KEYWORDS,\n illegal: /::/,\n contains: [\n hljs.COMMENT(\n '///',\n '$',\n {\n returnBegin: true,\n contains: [\n {\n className: 'doctag',\n variants: [\n {\n begin: '///',\n relevance: 0\n },\n { begin: '<!--|-->' },\n {\n begin: '</?',\n end: '>'\n }\n ]\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'meta',\n begin: '#',\n end: '$',\n keywords: { keyword: 'if else elif endif define undef warning error line region endregion pragma checksum' }\n },\n STRING,\n NUMBERS,\n {\n beginKeywords: 'class interface',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:,]/,\n contains: [\n { beginKeywords: \"where class\" },\n TITLE_MODE,\n GENERIC_MODIFIER,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n beginKeywords: 'namespace',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:]/,\n contains: [\n TITLE_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n beginKeywords: 'record',\n relevance: 0,\n end: /[{;=]/,\n illegal: /[^\\s:]/,\n contains: [\n TITLE_MODE,\n GENERIC_MODIFIER,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n // [Attributes(\"\")]\n className: 'meta',\n begin: '^\\\\s*\\\\[(?=[\\\\w])',\n excludeBegin: true,\n end: '\\\\]',\n excludeEnd: true,\n contains: [\n {\n className: 'string',\n begin: /\"/,\n end: /\"/\n }\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new return throw await else',\n relevance: 0\n },\n {\n className: 'function',\n begin: '(' + TYPE_IDENT_RE + '\\\\s+)+' + hljs.IDENT_RE + '\\\\s*(<[^=]+>\\\\s*)?\\\\(',\n returnBegin: true,\n end: /\\s*[{;=]/,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n // prevents these from being highlighted `title`\n {\n beginKeywords: FUNCTION_MODIFIERS.join(\" \"),\n relevance: 0\n },\n {\n begin: hljs.IDENT_RE + '\\\\s*(<[^=]+>\\\\s*)?\\\\(',\n returnBegin: true,\n contains: [\n hljs.TITLE_MODE,\n GENERIC_MODIFIER\n ],\n relevance: 0\n },\n { match: /\\(\\)/ },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n STRING,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n AT_IDENTIFIER\n ]\n };\n}\n\nmodule.exports = csharp;\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'p',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n];\n\nconst ATTRIBUTES = [\n 'align-content',\n 'align-items',\n 'align-self',\n 'all',\n 'animation',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-timing-function',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-repeat',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-decoration-break',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'direction',\n 'display',\n 'empty-cells',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-size',\n 'font-size-adjust',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-variant',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'inline-size',\n 'isolation',\n 'justify-content',\n 'left',\n 'letter-spacing',\n 'line-break',\n 'line-height',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'pointer-events',\n 'position',\n 'quotes',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'row-gap',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-style',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-transform',\n 'text-underline-position',\n 'top',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'unicode-bidi',\n 'vertical-align',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'z-index'\n // reverse makes sure longer attributes `font-weight` are matched fully\n // instead of getting false positives on say `font`\n].reverse();\n\n/*\nLanguage: CSS\nCategory: common, css, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/CSS\n*/\n\n/** @type LanguageFn */\nfunction css(hljs) {\n const regex = hljs.regex;\n const modes = MODES(hljs);\n const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };\n const AT_MODIFIERS = \"and or not only\";\n const AT_PROPERTY_RE = /@-?\\w[\\w]*(-\\w+)*/; // @-webkit-keyframes\n const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n const STRINGS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ];\n\n return {\n name: 'CSS',\n case_insensitive: true,\n illegal: /[=|'\\$]/,\n keywords: { keyframePosition: \"from to\" },\n classNameAliases: {\n // for visual continuity with `tag {}` and because we\n // don't have a great class for this?\n keyframePosition: \"selector-tag\" },\n contains: [\n modes.BLOCK_COMMENT,\n VENDOR_PREFIX,\n // to recognize keyframe 40% etc which are outside the scope of our\n // attribute value mode\n modes.CSS_NUMBER_MODE,\n {\n className: 'selector-id',\n begin: /#[A-Za-z0-9_-]+/,\n relevance: 0\n },\n {\n className: 'selector-class',\n begin: '\\\\.' + IDENT_RE,\n relevance: 0\n },\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-pseudo',\n variants: [\n { begin: ':(' + PSEUDO_CLASSES.join('|') + ')' },\n { begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')' }\n ]\n },\n // we may actually need this (12/2020)\n // { // pseudo-selector params\n // begin: /\\(/,\n // end: /\\)/,\n // contains: [ hljs.CSS_NUMBER_MODE ]\n // },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b'\n },\n // attribute values\n {\n begin: /:/,\n end: /[;}{]/,\n contains: [\n modes.BLOCK_COMMENT,\n modes.HEXCOLOR,\n modes.IMPORTANT,\n modes.CSS_NUMBER_MODE,\n ...STRINGS,\n // needed to highlight these as strings and to avoid issues with\n // illegal characters that might be inside urls that would tigger the\n // languages illegal stack\n {\n begin: /(url|data-uri)\\(/,\n end: /\\)/,\n relevance: 0, // from keywords\n keywords: { built_in: \"url data-uri\" },\n contains: [\n ...STRINGS,\n {\n className: \"string\",\n // any character other than `)` as in `url()` will be the start\n // of a string, which ends with `)` (from the parent mode)\n begin: /[^)]/,\n endsWithParent: true,\n excludeEnd: true\n }\n ]\n },\n modes.FUNCTION_DISPATCH\n ]\n },\n {\n begin: regex.lookahead(/@/),\n end: '[{;]',\n relevance: 0,\n illegal: /:/, // break on Less variables @var: ...\n contains: [\n {\n className: 'keyword',\n begin: AT_PROPERTY_RE\n },\n {\n begin: /\\s/,\n endsWithParent: true,\n excludeEnd: true,\n relevance: 0,\n keywords: {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n },\n contains: [\n {\n begin: /[a-z-]+(?=:)/,\n className: \"attribute\"\n },\n ...STRINGS,\n modes.CSS_NUMBER_MODE\n ]\n }\n ]\n },\n {\n className: 'selector-tag',\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b'\n }\n ]\n };\n}\n\nmodule.exports = css;\n","/*\nLanguage: Markdown\nRequires: xml.js\nAuthor: John Crepezzi <john.crepezzi@gmail.com>\nWebsite: https://daringfireball.net/projects/markdown/\nCategory: common, markup\n*/\n\nfunction markdown(hljs) {\n const regex = hljs.regex;\n const INLINE_HTML = {\n begin: /<\\/?[A-Za-z_]/,\n end: '>',\n subLanguage: 'xml',\n relevance: 0\n };\n const HORIZONTAL_RULE = {\n begin: '^[-\\\\*]{3,}',\n end: '$'\n };\n const CODE = {\n className: 'code',\n variants: [\n // TODO: fix to allow these to work with sublanguage also\n { begin: '(`{3,})[^`](.|\\\\n)*?\\\\1`*[ ]*' },\n { begin: '(~{3,})[^~](.|\\\\n)*?\\\\1~*[ ]*' },\n // needed to allow markdown as a sublanguage to work\n {\n begin: '```',\n end: '```+[ ]*$'\n },\n {\n begin: '~~~',\n end: '~~~+[ ]*$'\n },\n { begin: '`.+?`' },\n {\n begin: '(?=^( {4}|\\\\t))',\n // use contains to gobble up multiple lines to allow the block to be whatever size\n // but only have a single open/close tag vs one per line\n contains: [\n {\n begin: '^( {4}|\\\\t)',\n end: '(\\\\n)$'\n }\n ],\n relevance: 0\n }\n ]\n };\n const LIST = {\n className: 'bullet',\n begin: '^[ \\t]*([*+-]|(\\\\d+\\\\.))(?=\\\\s+)',\n end: '\\\\s+',\n excludeEnd: true\n };\n const LINK_REFERENCE = {\n begin: /^\\[[^\\n]+\\]:/,\n returnBegin: true,\n contains: [\n {\n className: 'symbol',\n begin: /\\[/,\n end: /\\]/,\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: 'link',\n begin: /:\\s*/,\n end: /$/,\n excludeBegin: true\n }\n ]\n };\n const URL_SCHEME = /[A-Za-z][A-Za-z0-9+.-]*/;\n const LINK = {\n variants: [\n // too much like nested array access in so many languages\n // to have any real relevance\n {\n begin: /\\[.+?\\]\\[.*?\\]/,\n relevance: 0\n },\n // popular internet URLs\n {\n begin: /\\[.+?\\]\\(((data|javascript|mailto):|(?:http|ftp)s?:\\/\\/).*?\\)/,\n relevance: 2\n },\n {\n begin: regex.concat(/\\[.+?\\]\\(/, URL_SCHEME, /:\\/\\/.*?\\)/),\n relevance: 2\n },\n // relative urls\n {\n begin: /\\[.+?\\]\\([./?&#].*?\\)/,\n relevance: 1\n },\n // whatever else, lower relevance (might not be a link at all)\n {\n begin: /\\[.*?\\]\\(.*?\\)/,\n relevance: 0\n }\n ],\n returnBegin: true,\n contains: [\n {\n // empty strings for alt or link text\n match: /\\[(?=\\])/ },\n {\n className: 'string',\n relevance: 0,\n begin: '\\\\[',\n end: '\\\\]',\n excludeBegin: true,\n returnEnd: true\n },\n {\n className: 'link',\n relevance: 0,\n begin: '\\\\]\\\\(',\n end: '\\\\)',\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: 'symbol',\n relevance: 0,\n begin: '\\\\]\\\\[',\n end: '\\\\]',\n excludeBegin: true,\n excludeEnd: true\n }\n ]\n };\n const BOLD = {\n className: 'strong',\n contains: [], // defined later\n variants: [\n {\n begin: /_{2}/,\n end: /_{2}/\n },\n {\n begin: /\\*{2}/,\n end: /\\*{2}/\n }\n ]\n };\n const ITALIC = {\n className: 'emphasis',\n contains: [], // defined later\n variants: [\n {\n begin: /\\*(?!\\*)/,\n end: /\\*/\n },\n {\n begin: /_(?!_)/,\n end: /_/,\n relevance: 0\n }\n ]\n };\n\n // 3 level deep nesting is not allowed because it would create confusion\n // in cases like `***testing***` because where we don't know if the last\n // `***` is starting a new bold/italic or finishing the last one\n const BOLD_WITHOUT_ITALIC = hljs.inherit(BOLD, { contains: [] });\n const ITALIC_WITHOUT_BOLD = hljs.inherit(ITALIC, { contains: [] });\n BOLD.contains.push(ITALIC_WITHOUT_BOLD);\n ITALIC.contains.push(BOLD_WITHOUT_ITALIC);\n\n let CONTAINABLE = [\n INLINE_HTML,\n LINK\n ];\n\n [\n BOLD,\n ITALIC,\n BOLD_WITHOUT_ITALIC,\n ITALIC_WITHOUT_BOLD\n ].forEach(m => {\n m.contains = m.contains.concat(CONTAINABLE);\n });\n\n CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);\n\n const HEADER = {\n className: 'section',\n variants: [\n {\n begin: '^#{1,6}',\n end: '$',\n contains: CONTAINABLE\n },\n {\n begin: '(?=^.+?\\\\n[=-]{2,}$)',\n contains: [\n { begin: '^[=-]*$' },\n {\n begin: '^',\n end: \"\\\\n\",\n contains: CONTAINABLE\n }\n ]\n }\n ]\n };\n\n const BLOCKQUOTE = {\n className: 'quote',\n begin: '^>\\\\s+',\n contains: CONTAINABLE,\n end: '$'\n };\n\n return {\n name: 'Markdown',\n aliases: [\n 'md',\n 'mkdown',\n 'mkd'\n ],\n contains: [\n HEADER,\n INLINE_HTML,\n LIST,\n BOLD,\n ITALIC,\n BLOCKQUOTE,\n CODE,\n HORIZONTAL_RULE,\n LINK,\n LINK_REFERENCE\n ]\n };\n}\n\nmodule.exports = markdown;\n","/*\nLanguage: Diff\nDescription: Unified and context diff\nAuthor: Vasily Polovnyov <vast@whiteants.net>\nWebsite: https://www.gnu.org/software/diffutils/\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction diff(hljs) {\n const regex = hljs.regex;\n return {\n name: 'Diff',\n aliases: [ 'patch' ],\n contains: [\n {\n className: 'meta',\n relevance: 10,\n match: regex.either(\n /^@@ +-\\d+,\\d+ +\\+\\d+,\\d+ +@@/,\n /^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$/,\n /^--- +\\d+,\\d+ +----$/\n )\n },\n {\n className: 'comment',\n variants: [\n {\n begin: regex.either(\n /Index: /,\n /^index/,\n /={3,}/,\n /^-{3}/,\n /^\\*{3} /,\n /^\\+{3}/,\n /^diff --git/\n ),\n end: /$/\n },\n { match: /^\\*{15}$/ }\n ]\n },\n {\n className: 'addition',\n begin: /^\\+/,\n end: /$/\n },\n {\n className: 'deletion',\n begin: /^-/,\n end: /$/\n },\n {\n className: 'addition',\n begin: /^!/,\n end: /$/\n }\n ]\n };\n}\n\nmodule.exports = diff;\n","/*\nLanguage: Ruby\nDescription: Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.\nWebsite: https://www.ruby-lang.org/\nAuthor: Anton Kovalyov <anton@kovalyov.net>\nContributors: Peter Leonov <gojpeg@yandex.ru>, Vasily Polovnyov <vast@whiteants.net>, Loren Segal <lsegal@soen.ca>, Pascal Hurni <phi@ruby-reactive.org>, Cedric Sohrauer <sohrauer@googlemail.com>\nCategory: common\n*/\n\nfunction ruby(hljs) {\n const regex = hljs.regex;\n const RUBY_METHOD_RE = '([a-zA-Z_]\\\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?)';\n // TODO: move concepts like CAMEL_CASE into `modes.js`\n const CLASS_NAME_RE = regex.either(\n /\\b([A-Z]+[a-z0-9]+)+/,\n // ends in caps\n /\\b([A-Z]+[a-z0-9]+)+[A-Z]+/,\n )\n ;\n const CLASS_NAME_WITH_NAMESPACE_RE = regex.concat(CLASS_NAME_RE, /(::\\w+)*/);\n const RUBY_KEYWORDS = {\n \"variable.constant\": [\n \"__FILE__\",\n \"__LINE__\"\n ],\n \"variable.language\": [\n \"self\",\n \"super\",\n ],\n keyword: [\n \"alias\",\n \"and\",\n \"attr_accessor\",\n \"attr_reader\",\n \"attr_writer\",\n \"begin\",\n \"BEGIN\",\n \"break\",\n \"case\",\n \"class\",\n \"defined\",\n \"do\",\n \"else\",\n \"elsif\",\n \"end\",\n \"END\",\n \"ensure\",\n \"for\",\n \"if\",\n \"in\",\n \"include\",\n \"module\",\n \"next\",\n \"not\",\n \"or\",\n \"redo\",\n \"require\",\n \"rescue\",\n \"retry\",\n \"return\",\n \"then\",\n \"undef\",\n \"unless\",\n \"until\",\n \"when\",\n \"while\",\n \"yield\",\n ],\n built_in: [\n \"proc\",\n \"lambda\"\n ],\n literal: [\n \"true\",\n \"false\",\n \"nil\"\n ]\n };\n const YARDOCTAG = {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n };\n const IRB_OBJECT = {\n begin: '#<',\n end: '>'\n };\n const COMMENT_MODES = [\n hljs.COMMENT(\n '#',\n '$',\n { contains: [ YARDOCTAG ] }\n ),\n hljs.COMMENT(\n '^=begin',\n '^=end',\n {\n contains: [ YARDOCTAG ],\n relevance: 10\n }\n ),\n hljs.COMMENT('^__END__', hljs.MATCH_NOTHING_RE)\n ];\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: RUBY_KEYWORDS\n };\n const STRING = {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /`/,\n end: /`/\n },\n {\n begin: /%[qQwWx]?\\(/,\n end: /\\)/\n },\n {\n begin: /%[qQwWx]?\\[/,\n end: /\\]/\n },\n {\n begin: /%[qQwWx]?\\{/,\n end: /\\}/\n },\n {\n begin: /%[qQwWx]?</,\n end: />/\n },\n {\n begin: /%[qQwWx]?\\//,\n end: /\\//\n },\n {\n begin: /%[qQwWx]?%/,\n end: /%/\n },\n {\n begin: /%[qQwWx]?-/,\n end: /-/\n },\n {\n begin: /%[qQwWx]?\\|/,\n end: /\\|/\n },\n // in the following expressions, \\B in the beginning suppresses recognition of ?-sequences\n // where ? is the last character of a preceding identifier, as in: `func?4`\n { begin: /\\B\\?(\\\\\\d{1,3})/ },\n { begin: /\\B\\?(\\\\x[A-Fa-f0-9]{1,2})/ },\n { begin: /\\B\\?(\\\\u\\{?[A-Fa-f0-9]{1,6}\\}?)/ },\n { begin: /\\B\\?(\\\\M-\\\\C-|\\\\M-\\\\c|\\\\c\\\\M-|\\\\M-|\\\\C-\\\\M-)[\\x20-\\x7e]/ },\n { begin: /\\B\\?\\\\(c|C-)[\\x20-\\x7e]/ },\n { begin: /\\B\\?\\\\?\\S/ },\n // heredocs\n {\n // this guard makes sure that we have an entire heredoc and not a false\n // positive (auto-detect, etc.)\n begin: regex.concat(\n /<<[-~]?'?/,\n regex.lookahead(/(\\w+)(?=\\W)[^\\n]*\\n(?:[^\\n]*\\n)*?\\s*\\1\\b/)\n ),\n contains: [\n hljs.END_SAME_AS_BEGIN({\n begin: /(\\w+)/,\n end: /(\\w+)/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n })\n ]\n }\n ]\n };\n\n // Ruby syntax is underdocumented, but this grammar seems to be accurate\n // as of version 2.7.2 (confirmed with (irb and `Ripper.sexp(...)`)\n // https://docs.ruby-lang.org/en/2.7.0/doc/syntax/literals_rdoc.html#label-Numbers\n const decimal = '[1-9](_?[0-9])*|0';\n const digits = '[0-9](_?[0-9])*';\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // decimal integer/float, optionally exponential or rational, optionally imaginary\n { begin: `\\\\b(${decimal})(\\\\.(${digits}))?([eE][+-]?(${digits})|r)?i?\\\\b` },\n\n // explicit decimal/binary/octal/hexadecimal integer,\n // optionally rational and/or imaginary\n { begin: \"\\\\b0[dD][0-9](_?[0-9])*r?i?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*r?i?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*r?i?\\\\b\" },\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\\\b\" },\n\n // 0-prefixed implicit octal integer, optionally rational and/or imaginary\n { begin: \"\\\\b0(_?[0-7])+r?i?\\\\b\" }\n ]\n };\n\n const PARAMS = {\n variants: [\n {\n match: /\\(\\)/,\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /(?=\\))/,\n excludeBegin: true,\n endsParent: true,\n keywords: RUBY_KEYWORDS,\n }\n ]\n };\n\n const CLASS_DEFINITION = {\n variants: [\n {\n match: [\n /class\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE,\n /\\s+<\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE\n ]\n },\n {\n match: [\n /class\\s+/,\n CLASS_NAME_WITH_NAMESPACE_RE\n ]\n }\n ],\n scope: {\n 2: \"title.class\",\n 4: \"title.class.inherited\"\n },\n keywords: RUBY_KEYWORDS\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n const METHOD_DEFINITION = {\n match: [\n /def/, /\\s+/,\n RUBY_METHOD_RE\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n const OBJECT_CREATION = {\n relevance: 0,\n match: [\n CLASS_NAME_WITH_NAMESPACE_RE,\n /\\.new[ (]/\n ],\n scope: {\n 1: \"title.class\"\n }\n };\n\n const RUBY_DEFAULT_CONTAINS = [\n STRING,\n CLASS_DEFINITION,\n OBJECT_CREATION,\n UPPER_CASE_CONSTANT,\n METHOD_DEFINITION,\n {\n // swallow namespace qualifiers before symbols\n begin: hljs.IDENT_RE + '::' },\n {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '(!|\\\\?)?:',\n relevance: 0\n },\n {\n className: 'symbol',\n begin: ':(?!\\\\s)',\n contains: [\n STRING,\n { begin: RUBY_METHOD_RE }\n ],\n relevance: 0\n },\n NUMBER,\n {\n // negative-look forward attempts to prevent false matches like:\n // @ident@ or $ident$ that might indicate this is not ruby at all\n className: \"variable\",\n begin: '(\\\\$\\\\W)|((\\\\$|@@?)(\\\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`\n },\n {\n className: 'params',\n begin: /\\|/,\n end: /\\|/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0, // this could be a lot of things (in other languages) other than params\n keywords: RUBY_KEYWORDS\n },\n { // regexp container\n begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\\\s*',\n keywords: 'unless',\n contains: [\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n illegal: /\\n/,\n variants: [\n {\n begin: '/',\n end: '/[a-z]*'\n },\n {\n begin: /%r\\{/,\n end: /\\}[a-z]*/\n },\n {\n begin: '%r\\\\(',\n end: '\\\\)[a-z]*'\n },\n {\n begin: '%r!',\n end: '![a-z]*'\n },\n {\n begin: '%r\\\\[',\n end: '\\\\][a-z]*'\n }\n ]\n }\n ].concat(IRB_OBJECT, COMMENT_MODES),\n relevance: 0\n }\n ].concat(IRB_OBJECT, COMMENT_MODES);\n\n SUBST.contains = RUBY_DEFAULT_CONTAINS;\n PARAMS.contains = RUBY_DEFAULT_CONTAINS;\n\n // >>\n // ?>\n const SIMPLE_PROMPT = \"[>?]>\";\n // irb(main):001:0>\n const DEFAULT_PROMPT = \"[\\\\w#]+\\\\(\\\\w+\\\\):\\\\d+:\\\\d+[>*]\";\n const RVM_PROMPT = \"(\\\\w+-)?\\\\d+\\\\.\\\\d+\\\\.\\\\d+(p\\\\d+)?[^\\\\d][^>]+>\";\n\n const IRB_DEFAULT = [\n {\n begin: /^\\s*=>/,\n starts: {\n end: '$',\n contains: RUBY_DEFAULT_CONTAINS\n }\n },\n {\n className: 'meta.prompt',\n begin: '^(' + SIMPLE_PROMPT + \"|\" + DEFAULT_PROMPT + '|' + RVM_PROMPT + ')(?=[ ])',\n starts: {\n end: '$',\n keywords: RUBY_KEYWORDS,\n contains: RUBY_DEFAULT_CONTAINS\n }\n }\n ];\n\n COMMENT_MODES.unshift(IRB_OBJECT);\n\n return {\n name: 'Ruby',\n aliases: [\n 'rb',\n 'gemspec',\n 'podspec',\n 'thor',\n 'irb'\n ],\n keywords: RUBY_KEYWORDS,\n illegal: /\\/\\*/,\n contains: [ hljs.SHEBANG({ binary: \"ruby\" }) ]\n .concat(IRB_DEFAULT)\n .concat(COMMENT_MODES)\n .concat(RUBY_DEFAULT_CONTAINS)\n };\n}\n\nmodule.exports = ruby;\n","/*\nLanguage: Go\nAuthor: Stephan Kountso aka StepLg <steplg@gmail.com>\nContributors: Evgeny Stepanischev <imbolk@gmail.com>\nDescription: Google go language (golang). For info about language\nWebsite: http://golang.org/\nCategory: common, system\n*/\n\nfunction go(hljs) {\n const LITERALS = [\n \"true\",\n \"false\",\n \"iota\",\n \"nil\"\n ];\n const BUILT_INS = [\n \"append\",\n \"cap\",\n \"close\",\n \"complex\",\n \"copy\",\n \"imag\",\n \"len\",\n \"make\",\n \"new\",\n \"panic\",\n \"print\",\n \"println\",\n \"real\",\n \"recover\",\n \"delete\"\n ];\n const TYPES = [\n \"bool\",\n \"byte\",\n \"complex64\",\n \"complex128\",\n \"error\",\n \"float32\",\n \"float64\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"string\",\n \"uint8\",\n \"uint16\",\n \"uint32\",\n \"uint64\",\n \"int\",\n \"uint\",\n \"uintptr\",\n \"rune\"\n ];\n const KWS = [\n \"break\",\n \"case\",\n \"chan\",\n \"const\",\n \"continue\",\n \"default\",\n \"defer\",\n \"else\",\n \"fallthrough\",\n \"for\",\n \"func\",\n \"go\",\n \"goto\",\n \"if\",\n \"import\",\n \"interface\",\n \"map\",\n \"package\",\n \"range\",\n \"return\",\n \"select\",\n \"struct\",\n \"switch\",\n \"type\",\n \"var\",\n ];\n const KEYWORDS = {\n keyword: KWS,\n type: TYPES,\n literal: LITERALS,\n built_in: BUILT_INS\n };\n return {\n name: 'Go',\n aliases: [ 'golang' ],\n keywords: KEYWORDS,\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'string',\n variants: [\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n {\n begin: '`',\n end: '`'\n }\n ]\n },\n {\n className: 'number',\n variants: [\n {\n begin: hljs.C_NUMBER_RE + '[i]',\n relevance: 1\n },\n hljs.C_NUMBER_MODE\n ]\n },\n { begin: /:=/ // relevance booster\n },\n {\n className: 'function',\n beginKeywords: 'func',\n end: '\\\\s*(\\\\{|$)',\n excludeEnd: true,\n contains: [\n hljs.TITLE_MODE,\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n endsParent: true,\n keywords: KEYWORDS,\n illegal: /[\"']/\n }\n ]\n }\n ]\n };\n}\n\nmodule.exports = go;\n","/*\n Language: GraphQL\n Author: John Foster (GH jf990), and others\n Description: GraphQL is a query language for APIs\n Category: web, common\n*/\n\n/** @type LanguageFn */\nfunction graphql(hljs) {\n const regex = hljs.regex;\n const GQL_NAME = /[_A-Za-z][_0-9A-Za-z]*/;\n return {\n name: \"GraphQL\",\n aliases: [ \"gql\" ],\n case_insensitive: true,\n disableAutodetect: false,\n keywords: {\n keyword: [\n \"query\",\n \"mutation\",\n \"subscription\",\n \"type\",\n \"input\",\n \"schema\",\n \"directive\",\n \"interface\",\n \"union\",\n \"scalar\",\n \"fragment\",\n \"enum\",\n \"on\"\n ],\n literal: [\n \"true\",\n \"false\",\n \"null\"\n ]\n },\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n {\n scope: \"punctuation\",\n match: /[.]{3}/,\n relevance: 0\n },\n {\n scope: \"punctuation\",\n begin: /[\\!\\(\\)\\:\\=\\[\\]\\{\\|\\}]{1}/,\n relevance: 0\n },\n {\n scope: \"variable\",\n begin: /\\$/,\n end: /\\W/,\n excludeEnd: true,\n relevance: 0\n },\n {\n scope: \"meta\",\n match: /@\\w+/,\n excludeEnd: true\n },\n {\n scope: \"symbol\",\n begin: regex.concat(GQL_NAME, regex.lookahead(/\\s*:/)),\n relevance: 0\n }\n ],\n illegal: [\n /[;<']/,\n /BEGIN/\n ]\n };\n}\n\nmodule.exports = graphql;\n","/*\nLanguage: TOML, also INI\nDescription: TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics.\nContributors: Guillaume Gomez <guillaume1.gomez@gmail.com>\nCategory: common, config\nWebsite: https://github.com/toml-lang/toml\n*/\n\nfunction ini(hljs) {\n const regex = hljs.regex;\n const NUMBERS = {\n className: 'number',\n relevance: 0,\n variants: [\n { begin: /([+-]+)?[\\d]+_[\\d_]+/ },\n { begin: hljs.NUMBER_RE }\n ]\n };\n const COMMENTS = hljs.COMMENT();\n COMMENTS.variants = [\n {\n begin: /;/,\n end: /$/\n },\n {\n begin: /#/,\n end: /$/\n }\n ];\n const VARIABLES = {\n className: 'variable',\n variants: [\n { begin: /\\$[\\w\\d\"][\\w\\d_]*/ },\n { begin: /\\$\\{(.*?)\\}/ }\n ]\n };\n const LITERALS = {\n className: 'literal',\n begin: /\\bon|off|true|false|yes|no\\b/\n };\n const STRINGS = {\n className: \"string\",\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n {\n begin: \"'''\",\n end: \"'''\",\n relevance: 10\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n relevance: 10\n },\n {\n begin: '\"',\n end: '\"'\n },\n {\n begin: \"'\",\n end: \"'\"\n }\n ]\n };\n const ARRAY = {\n begin: /\\[/,\n end: /\\]/,\n contains: [\n COMMENTS,\n LITERALS,\n VARIABLES,\n STRINGS,\n NUMBERS,\n 'self'\n ],\n relevance: 0\n };\n\n const BARE_KEY = /[A-Za-z0-9_-]+/;\n const QUOTED_KEY_DOUBLE_QUOTE = /\"(\\\\\"|[^\"])*\"/;\n const QUOTED_KEY_SINGLE_QUOTE = /'[^']*'/;\n const ANY_KEY = regex.either(\n BARE_KEY, QUOTED_KEY_DOUBLE_QUOTE, QUOTED_KEY_SINGLE_QUOTE\n );\n const DOTTED_KEY = regex.concat(\n ANY_KEY, '(\\\\s*\\\\.\\\\s*', ANY_KEY, ')*',\n regex.lookahead(/\\s*=\\s*[^#\\s]/)\n );\n\n return {\n name: 'TOML, also INI',\n aliases: [ 'toml' ],\n case_insensitive: true,\n illegal: /\\S/,\n contains: [\n COMMENTS,\n {\n className: 'section',\n begin: /\\[+/,\n end: /\\]+/\n },\n {\n begin: DOTTED_KEY,\n className: 'attr',\n starts: {\n end: /$/,\n contains: [\n COMMENTS,\n ARRAY,\n LITERALS,\n VARIABLES,\n STRINGS,\n NUMBERS\n ]\n }\n }\n ]\n };\n}\n\nmodule.exports = ini;\n","// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10\nvar decimalDigits = '[0-9](_*[0-9])*';\nvar frac = `\\\\.(${decimalDigits})`;\nvar hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';\nvar NUMERIC = {\n className: 'number',\n variants: [\n // DecimalFloatingPointLiteral\n // including ExponentPart\n { begin: `(\\\\b(${decimalDigits})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n // excluding ExponentPart\n { begin: `\\\\b(${decimalDigits})((${frac})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)` },\n { begin: `(${frac})[fFdD]?\\\\b` },\n { begin: `\\\\b(${decimalDigits})[fFdD]\\\\b` },\n\n // HexadecimalFloatingPointLiteral\n { begin: `\\\\b0[xX]((${hexDigits})\\\\.?|(${hexDigits})?\\\\.(${hexDigits}))` +\n `[pP][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n\n // DecimalIntegerLiteral\n { begin: '\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b' },\n\n // HexIntegerLiteral\n { begin: `\\\\b0[xX](${hexDigits})[lL]?\\\\b` },\n\n // OctalIntegerLiteral\n { begin: '\\\\b0(_*[0-7])*[lL]?\\\\b' },\n\n // BinaryIntegerLiteral\n { begin: '\\\\b0[bB][01](_*[01])*[lL]?\\\\b' },\n ],\n relevance: 0\n};\n\n/*\nLanguage: Java\nAuthor: Vsevolod Solovyov <vsevolod.solovyov@gmail.com>\nCategory: common, enterprise\nWebsite: https://www.java.com/\n*/\n\n/**\n * Allows recursive regex expressions to a given depth\n *\n * ie: recurRegex(\"(abc~~~)\", /~~~/g, 2) becomes:\n * (abc(abc(abc)))\n *\n * @param {string} re\n * @param {RegExp} substitution (should be a g mode regex)\n * @param {number} depth\n * @returns {string}``\n */\nfunction recurRegex(re, substitution, depth) {\n if (depth === -1) return \"\";\n\n return re.replace(substitution, _ => {\n return recurRegex(re, substitution, depth - 1);\n });\n}\n\n/** @type LanguageFn */\nfunction java(hljs) {\n const regex = hljs.regex;\n const JAVA_IDENT_RE = '[\\u00C0-\\u02B8a-zA-Z_$][\\u00C0-\\u02B8a-zA-Z_$0-9]*';\n const GENERIC_IDENT_RE = JAVA_IDENT_RE\n + recurRegex('(?:<' + JAVA_IDENT_RE + '~~~(?:\\\\s*,\\\\s*' + JAVA_IDENT_RE + '~~~)*>)?', /~~~/g, 2);\n const MAIN_KEYWORDS = [\n 'synchronized',\n 'abstract',\n 'private',\n 'var',\n 'static',\n 'if',\n 'const ',\n 'for',\n 'while',\n 'strictfp',\n 'finally',\n 'protected',\n 'import',\n 'native',\n 'final',\n 'void',\n 'enum',\n 'else',\n 'break',\n 'transient',\n 'catch',\n 'instanceof',\n 'volatile',\n 'case',\n 'assert',\n 'package',\n 'default',\n 'public',\n 'try',\n 'switch',\n 'continue',\n 'throws',\n 'protected',\n 'public',\n 'private',\n 'module',\n 'requires',\n 'exports',\n 'do',\n 'sealed'\n ];\n\n const BUILT_INS = [\n 'super',\n 'this'\n ];\n\n const LITERALS = [\n 'false',\n 'true',\n 'null'\n ];\n\n const TYPES = [\n 'char',\n 'boolean',\n 'long',\n 'float',\n 'int',\n 'byte',\n 'short',\n 'double'\n ];\n\n const KEYWORDS = {\n keyword: MAIN_KEYWORDS,\n literal: LITERALS,\n type: TYPES,\n built_in: BUILT_INS\n };\n\n const ANNOTATION = {\n className: 'meta',\n begin: '@' + JAVA_IDENT_RE,\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [ \"self\" ] // allow nested () inside our annotation\n }\n ]\n };\n const PARAMS = {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [ hljs.C_BLOCK_COMMENT_MODE ],\n endsParent: true\n };\n\n return {\n name: 'Java',\n aliases: [ 'jsp' ],\n keywords: KEYWORDS,\n illegal: /<\\/|#/,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n // eat up @'s in emails to prevent them to be recognized as doctags\n begin: /\\w+@/,\n relevance: 0\n },\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n // relevance boost\n {\n begin: /import java\\.[a-z]+\\./,\n keywords: \"import\",\n relevance: 2\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n begin: /\"\"\"/,\n end: /\"\"\"/,\n className: \"string\",\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n match: [\n /\\b(?:class|interface|enum|extends|implements|new)/,\n /\\s+/,\n JAVA_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n // Exceptions for hyphenated keywords\n match: /non-sealed/,\n scope: \"keyword\"\n },\n {\n begin: [\n regex.concat(/(?!else)/, JAVA_IDENT_RE),\n /\\s+/,\n JAVA_IDENT_RE,\n /\\s+/,\n /=(?!=)/\n ],\n className: {\n 1: \"type\",\n 3: \"variable\",\n 5: \"operator\"\n }\n },\n {\n begin: [\n /record/,\n /\\s+/,\n JAVA_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n },\n contains: [\n PARAMS,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new throw return else',\n relevance: 0\n },\n {\n begin: [\n '(?:' + GENERIC_IDENT_RE + '\\\\s+)',\n hljs.UNDERSCORE_IDENT_RE,\n /\\s*(?=\\()/\n ],\n className: { 2: \"title.function\" },\n keywords: KEYWORDS,\n contains: [\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n ANNOTATION,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMERIC,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n NUMERIC,\n ANNOTATION\n ]\n };\n}\n\nmodule.exports = java;\n","const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\nconst KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_IN_VARIABLES = [\n \"arguments\",\n \"this\",\n \"super\",\n \"console\",\n \"window\",\n \"document\",\n \"localStorage\",\n \"module\",\n \"global\" // Node.js\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: JavaScript\nDescription: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.\nCategory: common, scripting, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n*/\n\n/** @type LanguageFn */\nfunction javascript(hljs) {\n const regex = hljs.regex;\n /**\n * Takes a string like \"<Booger\" and checks to see\n * if we can find a matching \"</Booger\" later in the\n * content.\n * @param {RegExpMatchArray} match\n * @param {{after:number}} param1\n */\n const hasClosingTag = (match, { after }) => {\n const tag = \"</\" + match[0].slice(1);\n const pos = match.input.indexOf(tag, after);\n return pos !== -1;\n };\n\n const IDENT_RE$1 = IDENT_RE;\n const FRAGMENT = {\n begin: '<>',\n end: '</>'\n };\n // to avoid some special cases inside isTrulyOpeningTag\n const XML_SELF_CLOSING = /<[A-Za-z0-9\\\\._:-]+\\s*\\/>/;\n const XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,\n /**\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n isTrulyOpeningTag: (match, response) => {\n const afterMatchIndex = match[0].length + match.index;\n const nextChar = match.input[afterMatchIndex];\n if (\n // HTML should not include another raw `<` inside a tag\n // nested type?\n // `<Array<Array<number>>`, etc.\n nextChar === \"<\" ||\n // the , gives away that this is not HTML\n // `<T, A extends keyof T, V>`\n nextChar === \",\") {\n response.ignoreMatch();\n return;\n }\n\n // `<something>`\n // Quite possibly a tag, lets look for a matching closing tag...\n if (nextChar === \">\") {\n // if we cannot find a matching closing tag, then we\n // will ignore it\n if (!hasClosingTag(match, { after: afterMatchIndex })) {\n response.ignoreMatch();\n }\n }\n\n // `<blah />` (self-closing)\n // handled by simpleSelfClosing rule\n\n // `<From extends string>`\n // technically this could be HTML, but it smells like a type\n let m;\n const afterMatch = match.input.substring(afterMatchIndex);\n // NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276\n if ((m = afterMatch.match(/^\\s+extends\\s+/))) {\n if (m.index === 0) {\n response.ignoreMatch();\n // eslint-disable-next-line no-useless-return\n return;\n }\n }\n }\n };\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_INS,\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n // https://tc39.es/ecma262/#sec-literals-numeric-literals\n const decimalDigits = '[0-9](_?[0-9])*';\n const frac = `\\\\.(${decimalDigits})`;\n // DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;\n const NUMBER = {\n className: 'number',\n variants: [\n // DecimalLiteral\n { begin: `(\\\\b(${decimalInteger})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})\\\\b` },\n { begin: `\\\\b(${decimalInteger})\\\\b((${frac})\\\\b|\\\\.)?|(${frac})\\\\b` },\n\n // DecimalBigIntegerLiteral\n { begin: `\\\\b(0|[1-9](_?[0-9])*)n\\\\b` },\n\n // NonDecimalIntegerLiteral\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\" },\n\n // LegacyOctalIntegerLiteral (does not include underscore separators)\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n { begin: \"\\\\b0[0-7]+n?\\\\b\" },\n ],\n relevance: 0\n };\n\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS$1,\n contains: [] // defined later\n };\n const HTML_TEMPLATE = {\n begin: 'html`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml'\n }\n };\n const CSS_TEMPLATE = {\n begin: 'css`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css'\n }\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n const JSDOC_COMMENT = hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n begin: '(?=@[A-Za-z]+)',\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n },\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n excludeEnd: true,\n excludeBegin: true,\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE$1 + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n }\n ]\n }\n ]\n }\n );\n const COMMENT = {\n className: \"comment\",\n variants: [\n JSDOC_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]\n };\n const SUBST_INTERNALS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n NUMBER,\n // This is intentional:\n // See https://github.com/highlightjs/highlight.js/issues/3288\n // hljs.REGEXP_MODE\n ];\n SUBST.contains = SUBST_INTERNALS\n .concat({\n // we need to pair up {} inside our subst to prevent\n // it from ending too early by matching another }\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1,\n contains: [\n \"self\"\n ].concat(SUBST_INTERNALS)\n });\n const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);\n const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([\n // eat recursive parens in sub expressions\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [\"self\"].concat(SUBST_AND_COMMENTS)\n }\n ]);\n const PARAMS = {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n };\n\n // ES6 classes\n const CLASS_OR_EXTENDS = {\n variants: [\n // class Car extends vehicle\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1,\n /\\s+/,\n /extends/,\n /\\s+/,\n regex.concat(IDENT_RE$1, \"(\", regex.concat(/\\./, IDENT_RE$1), \")*\")\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 5: \"keyword\",\n 7: \"title.class.inherited\"\n }\n },\n // class Car\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n\n ]\n };\n\n const CLASS_REFERENCE = {\n relevance: 0,\n match:\n regex.either(\n // Hard coded exceptions\n /\\bJSON/,\n // Float32Array, OutT\n /\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,\n // CSSFactory, CSSFactoryT\n /\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,\n // FPs, FPsT\n /\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/,\n // P\n // single letters are not highlighted\n // BLAH\n // this will be flagged as a UPPER_CASE_CONSTANT instead\n ),\n className: \"title.class\",\n keywords: {\n _: [\n // se we still get relevance credit for JS library classes\n ...TYPES,\n ...ERROR_TYPES\n ]\n }\n };\n\n const USE_STRICT = {\n label: \"use_strict\",\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n };\n\n const FUNCTION_DEFINITION = {\n variants: [\n {\n match: [\n /function/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\s*\\()/\n ]\n },\n // anonymous function\n {\n match: [\n /function/,\n /\\s*(?=\\()/\n ]\n }\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n label: \"func.def\",\n contains: [ PARAMS ],\n illegal: /%/\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n function noneOf(list) {\n return regex.concat(\"(?!\", list.join(\"|\"), \")\");\n }\n\n const FUNCTION_CALL = {\n match: regex.concat(\n /\\b/,\n noneOf([\n ...BUILT_IN_GLOBALS,\n \"super\"\n ]),\n IDENT_RE$1, regex.lookahead(/\\(/)),\n className: \"title.function\",\n relevance: 0\n };\n\n const PROPERTY_ACCESS = {\n begin: regex.concat(/\\./, regex.lookahead(\n regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)\n )),\n end: IDENT_RE$1,\n excludeBegin: true,\n keywords: \"prototype\",\n className: \"property\",\n relevance: 0\n };\n\n const GETTER_OR_SETTER = {\n match: [\n /get|set/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\()/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n { // eat to avoid empty params\n begin: /\\(\\)/\n },\n PARAMS\n ]\n };\n\n const FUNC_LEAD_IN_RE = '(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\\\s*=>';\n\n const FUNCTION_VARIABLE = {\n match: [\n /const|var|let/, /\\s+/,\n IDENT_RE$1, /\\s*/,\n /=\\s*/,\n /(async\\s*)?/, // async is optional\n regex.lookahead(FUNC_LEAD_IN_RE)\n ],\n keywords: \"async\",\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n return {\n name: 'Javascript',\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS$1,\n // this will be extended by TypeScript\n exports: { PARAMS_CONTAINS, CLASS_REFERENCE },\n illegal: /#(?![$_A-z])/,\n contains: [\n hljs.SHEBANG({\n label: \"shebang\",\n binary: \"node\",\n relevance: 5\n }),\n USE_STRICT,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n COMMENT,\n NUMBER,\n CLASS_REFERENCE,\n {\n className: 'attr',\n begin: IDENT_RE$1 + regex.lookahead(':'),\n relevance: 0\n },\n FUNCTION_VARIABLE,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n relevance: 0,\n contains: [\n COMMENT,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n // we have to count the parens to make sure we actually have the\n // correct bounding ( ) before the =>. There could be any number of\n // sub-expressions inside also surrounded by parens.\n begin: FUNC_LEAD_IN_RE,\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n className: null,\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n { // could be a comma delimited list of params to a function call\n begin: /,/,\n relevance: 0\n },\n {\n match: /\\s+/,\n relevance: 0\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { match: XML_SELF_CLOSING },\n {\n begin: XML_TAG.begin,\n // we carefully check the opening tag to see if it truly\n // is a tag and not a false positive\n 'on:begin': XML_TAG.isTrulyOpeningTag,\n end: XML_TAG.end\n }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin,\n end: XML_TAG.end,\n skip: true,\n contains: ['self']\n }\n ]\n }\n ],\n },\n FUNCTION_DEFINITION,\n {\n // prevent this from getting swallowed up by function\n // since they appear \"function like\"\n beginKeywords: \"while if switch catch for\"\n },\n {\n // we have to count the parens to make sure we actually have the correct\n // bounding ( ). There could be any number of sub-expressions inside\n // also surrounded by parens.\n begin: '\\\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +\n '\\\\(' + // first parens\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)\\\\s*\\\\{', // end parens\n returnBegin:true,\n label: \"func.def\",\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: \"title.function\" })\n ]\n },\n // catch ... so it won't trigger the property rule below\n {\n match: /\\.\\.\\./,\n relevance: 0\n },\n PROPERTY_ACCESS,\n // hack: prevents detection of keywords in some circumstances\n // .keyword()\n // $keyword = x\n {\n match: '\\\\$' + IDENT_RE$1,\n relevance: 0\n },\n {\n match: [ /\\bconstructor(?=\\s*\\()/ ],\n className: { 1: \"title.function\" },\n contains: [ PARAMS ]\n },\n FUNCTION_CALL,\n UPPER_CASE_CONSTANT,\n CLASS_OR_EXTENDS,\n GETTER_OR_SETTER,\n {\n match: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n }\n ]\n };\n}\n\nmodule.exports = javascript;\n","/*\nLanguage: JSON\nDescription: JSON (JavaScript Object Notation) is a lightweight data-interchange format.\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: http://www.json.org\nCategory: common, protocols, web\n*/\n\nfunction json(hljs) {\n const ATTRIBUTE = {\n className: 'attr',\n begin: /\"(\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,\n relevance: 1.01\n };\n const PUNCTUATION = {\n match: /[{}[\\],:]/,\n className: \"punctuation\",\n relevance: 0\n };\n const LITERALS = [\n \"true\",\n \"false\",\n \"null\"\n ];\n // NOTE: normally we would rely on `keywords` for this but using a mode here allows us\n // - to use the very tight `illegal: \\S` rule later to flag any other character\n // - as illegal indicating that despite looking like JSON we do not truly have\n // - JSON and thus improve false-positively greatly since JSON will try and claim\n // - all sorts of JSON looking stuff\n const LITERALS_MODE = {\n scope: \"literal\",\n beginKeywords: LITERALS.join(\" \"),\n };\n\n return {\n name: 'JSON',\n keywords:{\n literal: LITERALS,\n },\n contains: [\n ATTRIBUTE,\n PUNCTUATION,\n hljs.QUOTE_STRING_MODE,\n LITERALS_MODE,\n hljs.C_NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ],\n illegal: '\\\\S'\n };\n}\n\nmodule.exports = json;\n","// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10\nvar decimalDigits = '[0-9](_*[0-9])*';\nvar frac = `\\\\.(${decimalDigits})`;\nvar hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';\nvar NUMERIC = {\n className: 'number',\n variants: [\n // DecimalFloatingPointLiteral\n // including ExponentPart\n { begin: `(\\\\b(${decimalDigits})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n // excluding ExponentPart\n { begin: `\\\\b(${decimalDigits})((${frac})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)` },\n { begin: `(${frac})[fFdD]?\\\\b` },\n { begin: `\\\\b(${decimalDigits})[fFdD]\\\\b` },\n\n // HexadecimalFloatingPointLiteral\n { begin: `\\\\b0[xX]((${hexDigits})\\\\.?|(${hexDigits})?\\\\.(${hexDigits}))` +\n `[pP][+-]?(${decimalDigits})[fFdD]?\\\\b` },\n\n // DecimalIntegerLiteral\n { begin: '\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b' },\n\n // HexIntegerLiteral\n { begin: `\\\\b0[xX](${hexDigits})[lL]?\\\\b` },\n\n // OctalIntegerLiteral\n { begin: '\\\\b0(_*[0-7])*[lL]?\\\\b' },\n\n // BinaryIntegerLiteral\n { begin: '\\\\b0[bB][01](_*[01])*[lL]?\\\\b' },\n ],\n relevance: 0\n};\n\n/*\n Language: Kotlin\n Description: Kotlin is an OSS statically typed programming language that targets the JVM, Android, JavaScript and Native.\n Author: Sergey Mashkov <cy6erGn0m@gmail.com>\n Website: https://kotlinlang.org\n Category: common\n */\n\nfunction kotlin(hljs) {\n const KEYWORDS = {\n keyword:\n 'abstract as val var vararg get set class object open private protected public noinline '\n + 'crossinline dynamic final enum if else do while for when throw try catch finally '\n + 'import package is in fun override companion reified inline lateinit init '\n + 'interface annotation data sealed internal infix operator out by constructor super '\n + 'tailrec where const inner suspend typealias external expect actual',\n built_in:\n 'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',\n literal:\n 'true false null'\n };\n const KEYWORDS_WITH_LABEL = {\n className: 'keyword',\n begin: /\\b(break|continue|return|this)\\b/,\n starts: { contains: [\n {\n className: 'symbol',\n begin: /@\\w+/\n }\n ] }\n };\n const LABEL = {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '@'\n };\n\n // for string templates\n const SUBST = {\n className: 'subst',\n begin: /\\$\\{/,\n end: /\\}/,\n contains: [ hljs.C_NUMBER_MODE ]\n };\n const VARIABLE = {\n className: 'variable',\n begin: '\\\\$' + hljs.UNDERSCORE_IDENT_RE\n };\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"\"\"',\n end: '\"\"\"(?=[^\"])',\n contains: [\n VARIABLE,\n SUBST\n ]\n },\n // Can't use built-in modes easily, as we want to use STRING in the meta\n // context as 'meta-string' and there's no syntax to remove explicitly set\n // classNames in built-in modes.\n {\n begin: '\\'',\n end: '\\'',\n illegal: /\\n/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: /\\n/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE,\n SUBST\n ]\n }\n ]\n };\n SUBST.contains.push(STRING);\n\n const ANNOTATION_USE_SITE = {\n className: 'meta',\n begin: '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*' + hljs.UNDERSCORE_IDENT_RE + ')?'\n };\n const ANNOTATION = {\n className: 'meta',\n begin: '@' + hljs.UNDERSCORE_IDENT_RE,\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n hljs.inherit(STRING, { className: 'string' }),\n \"self\"\n ]\n }\n ]\n };\n\n // https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals\n // According to the doc above, the number mode of kotlin is the same as java 8,\n // so the code below is copied from java.js\n const KOTLIN_NUMBER_MODE = NUMERIC;\n const KOTLIN_NESTED_COMMENT = hljs.COMMENT(\n '/\\\\*', '\\\\*/',\n { contains: [ hljs.C_BLOCK_COMMENT_MODE ] }\n );\n const KOTLIN_PAREN_TYPE = { variants: [\n {\n className: 'type',\n begin: hljs.UNDERSCORE_IDENT_RE\n },\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [] // defined later\n }\n ] };\n const KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;\n KOTLIN_PAREN_TYPE2.variants[1].contains = [ KOTLIN_PAREN_TYPE ];\n KOTLIN_PAREN_TYPE.variants[1].contains = [ KOTLIN_PAREN_TYPE2 ];\n\n return {\n name: 'Kotlin',\n aliases: [\n 'kt',\n 'kts'\n ],\n keywords: KEYWORDS,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n KEYWORDS_WITH_LABEL,\n LABEL,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n {\n className: 'function',\n beginKeywords: 'fun',\n end: '[(]|$',\n returnBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 5,\n contains: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(',\n returnBegin: true,\n relevance: 0,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n className: 'type',\n begin: /</,\n end: />/,\n keywords: 'reified',\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n endsParent: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n {\n begin: /:/,\n end: /[=,\\/]/,\n endsWithParent: true,\n contains: [\n KOTLIN_PAREN_TYPE,\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT\n ],\n relevance: 0\n },\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n STRING,\n hljs.C_NUMBER_MODE\n ]\n },\n KOTLIN_NESTED_COMMENT\n ]\n },\n {\n begin: [\n /class|interface|trait/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n beginScope: {\n 3: \"title.class\"\n },\n keywords: 'class interface trait',\n end: /[:\\{(]|$/,\n excludeEnd: true,\n illegal: 'extends implements',\n contains: [\n { beginKeywords: 'public protected internal private constructor' },\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'type',\n begin: /</,\n end: />/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n {\n className: 'type',\n begin: /[,:]\\s*/,\n end: /[<\\(,){\\s]|$/,\n excludeBegin: true,\n returnEnd: true\n },\n ANNOTATION_USE_SITE,\n ANNOTATION\n ]\n },\n STRING,\n {\n className: 'meta',\n begin: \"^#!/usr/bin/env\",\n end: '$',\n illegal: '\\n'\n },\n KOTLIN_NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = kotlin;\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'p',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n];\n\nconst ATTRIBUTES = [\n 'align-content',\n 'align-items',\n 'align-self',\n 'all',\n 'animation',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-timing-function',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-repeat',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-decoration-break',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'direction',\n 'display',\n 'empty-cells',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-size',\n 'font-size-adjust',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-variant',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'inline-size',\n 'isolation',\n 'justify-content',\n 'left',\n 'letter-spacing',\n 'line-break',\n 'line-height',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'pointer-events',\n 'position',\n 'quotes',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'row-gap',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-style',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-transform',\n 'text-underline-position',\n 'top',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'unicode-bidi',\n 'vertical-align',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'z-index'\n // reverse makes sure longer attributes `font-weight` are matched fully\n // instead of getting false positives on say `font`\n].reverse();\n\n// some grammars use them all as a single group\nconst PSEUDO_SELECTORS = PSEUDO_CLASSES.concat(PSEUDO_ELEMENTS);\n\n/*\nLanguage: Less\nDescription: It's CSS, with just a little more.\nAuthor: Max Mikhailov <seven.phases.max@gmail.com>\nWebsite: http://lesscss.org\nCategory: common, css, web\n*/\n\n/** @type LanguageFn */\nfunction less(hljs) {\n const modes = MODES(hljs);\n const PSEUDO_SELECTORS$1 = PSEUDO_SELECTORS;\n\n const AT_MODIFIERS = \"and or not only\";\n const IDENT_RE = '[\\\\w-]+'; // yes, Less identifiers may begin with a digit\n const INTERP_IDENT_RE = '(' + IDENT_RE + '|@\\\\{' + IDENT_RE + '\\\\})';\n\n /* Generic Modes */\n\n const RULES = []; const VALUE_MODES = []; // forward def. for recursive modes\n\n const STRING_MODE = function(c) {\n return {\n // Less strings are not multiline (also include '~' for more consistent coloring of \"escaped\" strings)\n className: 'string',\n begin: '~?' + c + '.*?' + c\n };\n };\n\n const IDENT_MODE = function(name, begin, relevance) {\n return {\n className: name,\n begin: begin,\n relevance: relevance\n };\n };\n\n const AT_KEYWORDS = {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n };\n\n const PARENS_MODE = {\n // used only to properly balance nested parens inside mixin call, def. arg list\n begin: '\\\\(',\n end: '\\\\)',\n contains: VALUE_MODES,\n keywords: AT_KEYWORDS,\n relevance: 0\n };\n\n // generic Less highlighter (used almost everywhere except selectors):\n VALUE_MODES.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING_MODE(\"'\"),\n STRING_MODE('\"'),\n modes.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :(\n {\n begin: '(url|data-uri)\\\\(',\n starts: {\n className: 'string',\n end: '[\\\\)\\\\n]',\n excludeEnd: true\n }\n },\n modes.HEXCOLOR,\n PARENS_MODE,\n IDENT_MODE('variable', '@@?' + IDENT_RE, 10),\n IDENT_MODE('variable', '@\\\\{' + IDENT_RE + '\\\\}'),\n IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string\n { // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):\n className: 'attribute',\n begin: IDENT_RE + '\\\\s*:',\n end: ':',\n returnBegin: true,\n excludeEnd: true\n },\n modes.IMPORTANT,\n { beginKeywords: 'and not' },\n modes.FUNCTION_DISPATCH\n );\n\n const VALUE_WITH_RULESETS = VALUE_MODES.concat({\n begin: /\\{/,\n end: /\\}/,\n contains: RULES\n });\n\n const MIXIN_GUARD_MODE = {\n beginKeywords: 'when',\n endsWithParent: true,\n contains: [ { beginKeywords: 'and not' } ].concat(VALUE_MODES) // using this form to override VALUE’s 'function' match\n };\n\n /* Rule-Level Modes */\n\n const RULE_MODE = {\n begin: INTERP_IDENT_RE + '\\\\s*:',\n returnBegin: true,\n end: /[;}]/,\n relevance: 0,\n contains: [\n { begin: /-(webkit|moz|ms|o)-/ },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b',\n end: /(?=:)/,\n starts: {\n endsWithParent: true,\n illegal: '[<=$]',\n relevance: 0,\n contains: VALUE_MODES\n }\n }\n ]\n };\n\n const AT_RULE_MODE = {\n className: 'keyword',\n begin: '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\\\b',\n starts: {\n end: '[;{}]',\n keywords: AT_KEYWORDS,\n returnEnd: true,\n contains: VALUE_MODES,\n relevance: 0\n }\n };\n\n // variable definitions and calls\n const VAR_RULE_MODE = {\n className: 'variable',\n variants: [\n // using more strict pattern for higher relevance to increase chances of Less detection.\n // this is *the only* Less specific statement used in most of the sources, so...\n // (we’ll still often loose to the css-parser unless there's '//' comment,\n // simply because 1 variable just can't beat 99 properties :)\n {\n begin: '@' + IDENT_RE + '\\\\s*:',\n relevance: 15\n },\n { begin: '@' + IDENT_RE }\n ],\n starts: {\n end: '[;}]',\n returnEnd: true,\n contains: VALUE_WITH_RULESETS\n }\n };\n\n const SELECTOR_MODE = {\n // first parse unambiguous selectors (i.e. those not starting with tag)\n // then fall into the scary lookahead-discriminator variant.\n // this mode also handles mixin definitions and calls\n variants: [\n {\n begin: '[\\\\.#:&\\\\[>]',\n end: '[;{}]' // mixin calls end with ';'\n },\n {\n begin: INTERP_IDENT_RE,\n end: /\\{/\n }\n ],\n returnBegin: true,\n returnEnd: true,\n illegal: '[<=\\'$\"]',\n relevance: 0,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n MIXIN_GUARD_MODE,\n IDENT_MODE('keyword', 'all\\\\b'),\n IDENT_MODE('variable', '@\\\\{' + IDENT_RE + '\\\\}'), // otherwise it’s identified as tag\n \n {\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b',\n className: 'selector-tag'\n },\n modes.CSS_NUMBER_MODE,\n IDENT_MODE('selector-tag', INTERP_IDENT_RE, 0),\n IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE),\n IDENT_MODE('selector-class', '\\\\.' + INTERP_IDENT_RE, 0),\n IDENT_MODE('selector-tag', '&', 0),\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-pseudo',\n begin: ':(' + PSEUDO_CLASSES.join('|') + ')'\n },\n {\n className: 'selector-pseudo',\n begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')'\n },\n {\n begin: /\\(/,\n end: /\\)/,\n relevance: 0,\n contains: VALUE_WITH_RULESETS\n }, // argument list of parametric mixins\n { begin: '!important' }, // eat !important after mixin call or it will be colored as tag\n modes.FUNCTION_DISPATCH\n ]\n };\n\n const PSEUDO_SELECTOR_MODE = {\n begin: IDENT_RE + ':(:)?' + `(${PSEUDO_SELECTORS$1.join('|')})`,\n returnBegin: true,\n contains: [ SELECTOR_MODE ]\n };\n\n RULES.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n AT_RULE_MODE,\n VAR_RULE_MODE,\n PSEUDO_SELECTOR_MODE,\n RULE_MODE,\n SELECTOR_MODE,\n MIXIN_GUARD_MODE,\n modes.FUNCTION_DISPATCH\n );\n\n return {\n name: 'Less',\n case_insensitive: true,\n illegal: '[=>\\'/<($\"]',\n contains: RULES\n };\n}\n\nmodule.exports = less;\n","/*\nLanguage: Lua\nDescription: Lua is a powerful, efficient, lightweight, embeddable scripting language.\nAuthor: Andrew Fedorov <dmmdrs@mail.ru>\nCategory: common, scripting\nWebsite: https://www.lua.org\n*/\n\nfunction lua(hljs) {\n const OPENING_LONG_BRACKET = '\\\\[=*\\\\[';\n const CLOSING_LONG_BRACKET = '\\\\]=*\\\\]';\n const LONG_BRACKETS = {\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ 'self' ]\n };\n const COMMENTS = [\n hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),\n hljs.COMMENT(\n '--' + OPENING_LONG_BRACKET,\n CLOSING_LONG_BRACKET,\n {\n contains: [ LONG_BRACKETS ],\n relevance: 10\n }\n )\n ];\n return {\n name: 'Lua',\n keywords: {\n $pattern: hljs.UNDERSCORE_IDENT_RE,\n literal: \"true false nil\",\n keyword: \"and break do else elseif end for goto if in local not or repeat return then until while\",\n built_in:\n // Metatags and globals:\n '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len '\n + '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert '\n // Standard methods and properties:\n + 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring '\n + 'module next pairs pcall print rawequal rawget rawset require select setfenv '\n + 'setmetatable tonumber tostring type unpack xpcall arg self '\n // Library methods and properties (one line per library):\n + 'coroutine resume yield status wrap create running debug getupvalue '\n + 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv '\n + 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile '\n + 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan '\n + 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall '\n + 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower '\n + 'table setn insert getn foreachi maxn foreach concat sort remove'\n },\n contains: COMMENTS.concat([\n {\n className: 'function',\n beginKeywords: 'function',\n end: '\\\\)',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*' }),\n {\n className: 'params',\n begin: '\\\\(',\n endsWithParent: true,\n contains: COMMENTS\n }\n ].concat(COMMENTS)\n },\n hljs.C_NUMBER_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'string',\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ LONG_BRACKETS ],\n relevance: 5\n }\n ])\n };\n}\n\nmodule.exports = lua;\n","/*\nLanguage: Makefile\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nContributors: Joël Porquet <joel@porquet.org>\nWebsite: https://www.gnu.org/software/make/manual/html_node/Introduction.html\nCategory: common\n*/\n\nfunction makefile(hljs) {\n /* Variables: simple (eg $(var)) and special (eg $@) */\n const VARIABLE = {\n className: 'variable',\n variants: [\n {\n begin: '\\\\$\\\\(' + hljs.UNDERSCORE_IDENT_RE + '\\\\)',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n { begin: /\\$[@%<?\\^\\+\\*]/ }\n ]\n };\n /* Quoted string with variables inside */\n const QUOTE_STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE\n ]\n };\n /* Function: $(func arg,...) */\n const FUNC = {\n className: 'variable',\n begin: /\\$\\([\\w-]+\\s/,\n end: /\\)/,\n keywords: { built_in:\n 'subst patsubst strip findstring filter filter-out sort '\n + 'word wordlist firstword lastword dir notdir suffix basename '\n + 'addsuffix addprefix join wildcard realpath abspath error warning '\n + 'shell origin flavor foreach if or and call eval file value' },\n contains: [ VARIABLE ]\n };\n /* Variable assignment */\n const ASSIGNMENT = { begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\\\s*(?=[:+?]?=)' };\n /* Meta targets (.PHONY) */\n const META = {\n className: 'meta',\n begin: /^\\.PHONY:/,\n end: /$/,\n keywords: {\n $pattern: /[\\.\\w]+/,\n keyword: '.PHONY'\n }\n };\n /* Targets */\n const TARGET = {\n className: 'section',\n begin: /^[^\\s]+:/,\n end: /$/,\n contains: [ VARIABLE ]\n };\n return {\n name: 'Makefile',\n aliases: [\n 'mk',\n 'mak',\n 'make',\n ],\n keywords: {\n $pattern: /[\\w-]+/,\n keyword: 'define endef undefine ifdef ifndef ifeq ifneq else endif '\n + 'include -include sinclude override export unexport private vpath'\n },\n contains: [\n hljs.HASH_COMMENT_MODE,\n VARIABLE,\n QUOTE_STRING,\n FUNC,\n ASSIGNMENT,\n META,\n TARGET\n ]\n };\n}\n\nmodule.exports = makefile;\n","/*\nLanguage: Perl\nAuthor: Peter Leonov <gojpeg@yandex.ru>\nWebsite: https://www.perl.org\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction perl(hljs) {\n const regex = hljs.regex;\n const KEYWORDS = [\n 'abs',\n 'accept',\n 'alarm',\n 'and',\n 'atan2',\n 'bind',\n 'binmode',\n 'bless',\n 'break',\n 'caller',\n 'chdir',\n 'chmod',\n 'chomp',\n 'chop',\n 'chown',\n 'chr',\n 'chroot',\n 'close',\n 'closedir',\n 'connect',\n 'continue',\n 'cos',\n 'crypt',\n 'dbmclose',\n 'dbmopen',\n 'defined',\n 'delete',\n 'die',\n 'do',\n 'dump',\n 'each',\n 'else',\n 'elsif',\n 'endgrent',\n 'endhostent',\n 'endnetent',\n 'endprotoent',\n 'endpwent',\n 'endservent',\n 'eof',\n 'eval',\n 'exec',\n 'exists',\n 'exit',\n 'exp',\n 'fcntl',\n 'fileno',\n 'flock',\n 'for',\n 'foreach',\n 'fork',\n 'format',\n 'formline',\n 'getc',\n 'getgrent',\n 'getgrgid',\n 'getgrnam',\n 'gethostbyaddr',\n 'gethostbyname',\n 'gethostent',\n 'getlogin',\n 'getnetbyaddr',\n 'getnetbyname',\n 'getnetent',\n 'getpeername',\n 'getpgrp',\n 'getpriority',\n 'getprotobyname',\n 'getprotobynumber',\n 'getprotoent',\n 'getpwent',\n 'getpwnam',\n 'getpwuid',\n 'getservbyname',\n 'getservbyport',\n 'getservent',\n 'getsockname',\n 'getsockopt',\n 'given',\n 'glob',\n 'gmtime',\n 'goto',\n 'grep',\n 'gt',\n 'hex',\n 'if',\n 'index',\n 'int',\n 'ioctl',\n 'join',\n 'keys',\n 'kill',\n 'last',\n 'lc',\n 'lcfirst',\n 'length',\n 'link',\n 'listen',\n 'local',\n 'localtime',\n 'log',\n 'lstat',\n 'lt',\n 'ma',\n 'map',\n 'mkdir',\n 'msgctl',\n 'msgget',\n 'msgrcv',\n 'msgsnd',\n 'my',\n 'ne',\n 'next',\n 'no',\n 'not',\n 'oct',\n 'open',\n 'opendir',\n 'or',\n 'ord',\n 'our',\n 'pack',\n 'package',\n 'pipe',\n 'pop',\n 'pos',\n 'print',\n 'printf',\n 'prototype',\n 'push',\n 'q|0',\n 'qq',\n 'quotemeta',\n 'qw',\n 'qx',\n 'rand',\n 'read',\n 'readdir',\n 'readline',\n 'readlink',\n 'readpipe',\n 'recv',\n 'redo',\n 'ref',\n 'rename',\n 'require',\n 'reset',\n 'return',\n 'reverse',\n 'rewinddir',\n 'rindex',\n 'rmdir',\n 'say',\n 'scalar',\n 'seek',\n 'seekdir',\n 'select',\n 'semctl',\n 'semget',\n 'semop',\n 'send',\n 'setgrent',\n 'sethostent',\n 'setnetent',\n 'setpgrp',\n 'setpriority',\n 'setprotoent',\n 'setpwent',\n 'setservent',\n 'setsockopt',\n 'shift',\n 'shmctl',\n 'shmget',\n 'shmread',\n 'shmwrite',\n 'shutdown',\n 'sin',\n 'sleep',\n 'socket',\n 'socketpair',\n 'sort',\n 'splice',\n 'split',\n 'sprintf',\n 'sqrt',\n 'srand',\n 'stat',\n 'state',\n 'study',\n 'sub',\n 'substr',\n 'symlink',\n 'syscall',\n 'sysopen',\n 'sysread',\n 'sysseek',\n 'system',\n 'syswrite',\n 'tell',\n 'telldir',\n 'tie',\n 'tied',\n 'time',\n 'times',\n 'tr',\n 'truncate',\n 'uc',\n 'ucfirst',\n 'umask',\n 'undef',\n 'unless',\n 'unlink',\n 'unpack',\n 'unshift',\n 'untie',\n 'until',\n 'use',\n 'utime',\n 'values',\n 'vec',\n 'wait',\n 'waitpid',\n 'wantarray',\n 'warn',\n 'when',\n 'while',\n 'write',\n 'x|0',\n 'xor',\n 'y|0'\n ];\n\n // https://perldoc.perl.org/perlre#Modifiers\n const REGEX_MODIFIERS = /[dualxmsipngr]{0,12}/; // aa and xx are valid, making max length 12\n const PERL_KEYWORDS = {\n $pattern: /[\\w.]+/,\n keyword: KEYWORDS.join(\" \")\n };\n const SUBST = {\n className: 'subst',\n begin: '[$@]\\\\{',\n end: '\\\\}',\n keywords: PERL_KEYWORDS\n };\n const METHOD = {\n begin: /->\\{/,\n end: /\\}/\n // contains defined later\n };\n const VAR = { variants: [\n { begin: /\\$\\d/ },\n { begin: regex.concat(\n /[$%@](\\^\\w\\b|#\\w+(::\\w+)*|\\{\\w+\\}|\\w+(::\\w*)*)/,\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n `(?![A-Za-z])(?![@$%])`\n ) },\n {\n begin: /[$%@][^\\s\\w{]/,\n relevance: 0\n }\n ] };\n const STRING_CONTAINS = [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n VAR\n ];\n const REGEX_DELIMS = [\n /!/,\n /\\//,\n /\\|/,\n /\\?/,\n /'/,\n /\"/, // valid but infrequent and weird\n /#/ // valid but infrequent and weird\n ];\n /**\n * @param {string|RegExp} prefix\n * @param {string|RegExp} open\n * @param {string|RegExp} close\n */\n const PAIRED_DOUBLE_RE = (prefix, open, close = '\\\\1') => {\n const middle = (close === '\\\\1')\n ? close\n : regex.concat(close, open);\n return regex.concat(\n regex.concat(\"(?:\", prefix, \")\"),\n open,\n /(?:\\\\.|[^\\\\\\/])*?/,\n middle,\n /(?:\\\\.|[^\\\\\\/])*?/,\n close,\n REGEX_MODIFIERS\n );\n };\n /**\n * @param {string|RegExp} prefix\n * @param {string|RegExp} open\n * @param {string|RegExp} close\n */\n const PAIRED_RE = (prefix, open, close) => {\n return regex.concat(\n regex.concat(\"(?:\", prefix, \")\"),\n open,\n /(?:\\\\.|[^\\\\\\/])*?/,\n close,\n REGEX_MODIFIERS\n );\n };\n const PERL_DEFAULT_CONTAINS = [\n VAR,\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT(\n /^=\\w/,\n /=cut/,\n { endsWithParent: true }\n ),\n METHOD,\n {\n className: 'string',\n contains: STRING_CONTAINS,\n variants: [\n {\n begin: 'q[qwxr]?\\\\s*\\\\(',\n end: '\\\\)',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\[',\n end: '\\\\]',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\{',\n end: '\\\\}',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\|',\n end: '\\\\|',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*<',\n end: '>',\n relevance: 5\n },\n {\n begin: 'qw\\\\s+q',\n end: 'q',\n relevance: 5\n },\n {\n begin: '\\'',\n end: '\\'',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '\"',\n end: '\"'\n },\n {\n begin: '`',\n end: '`',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\\{\\w+\\}/,\n relevance: 0\n },\n {\n begin: '-?\\\\w+\\\\s*=>',\n relevance: 0\n }\n ]\n },\n {\n className: 'number',\n begin: '(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b',\n relevance: 0\n },\n { // regexp container\n begin: '(\\\\/\\\\/|' + hljs.RE_STARTERS_RE + '|\\\\b(split|return|print|reverse|grep)\\\\b)\\\\s*',\n keywords: 'split return print reverse grep',\n relevance: 0,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'regexp',\n variants: [\n // allow matching common delimiters\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", regex.either(...REGEX_DELIMS, { capture: true })) },\n // and then paired delmis\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\(\", \"\\\\)\") },\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\[\", \"\\\\]\") },\n { begin: PAIRED_DOUBLE_RE(\"s|tr|y\", \"\\\\{\", \"\\\\}\") }\n ],\n relevance: 2\n },\n {\n className: 'regexp',\n variants: [\n {\n // could be a comment in many languages so do not count\n // as relevant\n begin: /(m|qr)\\/\\//,\n relevance: 0\n },\n // prefix is optional with /regex/\n { begin: PAIRED_RE(\"(?:m|qr)?\", /\\//, /\\//) },\n // allow matching common delimiters\n { begin: PAIRED_RE(\"m|qr\", regex.either(...REGEX_DELIMS, { capture: true }), /\\1/) },\n // allow common paired delmins\n { begin: PAIRED_RE(\"m|qr\", /\\(/, /\\)/) },\n { begin: PAIRED_RE(\"m|qr\", /\\[/, /\\]/) },\n { begin: PAIRED_RE(\"m|qr\", /\\{/, /\\}/) }\n ]\n }\n ]\n },\n {\n className: 'function',\n beginKeywords: 'sub',\n end: '(\\\\s*\\\\(.*?\\\\))?[;{]',\n excludeEnd: true,\n relevance: 5,\n contains: [ hljs.TITLE_MODE ]\n },\n {\n begin: '-\\\\w\\\\b',\n relevance: 0\n },\n {\n begin: \"^__DATA__$\",\n end: \"^__END__$\",\n subLanguage: 'mojolicious',\n contains: [\n {\n begin: \"^@@.*\",\n end: \"$\",\n className: \"comment\"\n }\n ]\n }\n ];\n SUBST.contains = PERL_DEFAULT_CONTAINS;\n METHOD.contains = PERL_DEFAULT_CONTAINS;\n\n return {\n name: 'Perl',\n aliases: [\n 'pl',\n 'pm'\n ],\n keywords: PERL_KEYWORDS,\n contains: PERL_DEFAULT_CONTAINS\n };\n}\n\nmodule.exports = perl;\n","/*\nLanguage: Objective-C\nAuthor: Valerii Hiora <valerii.hiora@gmail.com>\nContributors: Angel G. Olloqui <angelgarcia.mail@gmail.com>, Matt Diephouse <matt@diephouse.com>, Andrew Farmer <ahfarmer@gmail.com>, Minh Nguyễn <mxn@1ec5.org>\nWebsite: https://developer.apple.com/documentation/objectivec\nCategory: common\n*/\n\nfunction objectivec(hljs) {\n const API_CLASS = {\n className: 'built_in',\n begin: '\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\w+'\n };\n const IDENTIFIER_RE = /[a-zA-Z@][a-zA-Z0-9_]*/;\n const TYPES = [\n \"int\",\n \"float\",\n \"char\",\n \"unsigned\",\n \"signed\",\n \"short\",\n \"long\",\n \"double\",\n \"wchar_t\",\n \"unichar\",\n \"void\",\n \"bool\",\n \"BOOL\",\n \"id|0\",\n \"_Bool\"\n ];\n const KWS = [\n \"while\",\n \"export\",\n \"sizeof\",\n \"typedef\",\n \"const\",\n \"struct\",\n \"for\",\n \"union\",\n \"volatile\",\n \"static\",\n \"mutable\",\n \"if\",\n \"do\",\n \"return\",\n \"goto\",\n \"enum\",\n \"else\",\n \"break\",\n \"extern\",\n \"asm\",\n \"case\",\n \"default\",\n \"register\",\n \"explicit\",\n \"typename\",\n \"switch\",\n \"continue\",\n \"inline\",\n \"readonly\",\n \"assign\",\n \"readwrite\",\n \"self\",\n \"@synchronized\",\n \"id\",\n \"typeof\",\n \"nonatomic\",\n \"IBOutlet\",\n \"IBAction\",\n \"strong\",\n \"weak\",\n \"copy\",\n \"in\",\n \"out\",\n \"inout\",\n \"bycopy\",\n \"byref\",\n \"oneway\",\n \"__strong\",\n \"__weak\",\n \"__block\",\n \"__autoreleasing\",\n \"@private\",\n \"@protected\",\n \"@public\",\n \"@try\",\n \"@property\",\n \"@end\",\n \"@throw\",\n \"@catch\",\n \"@finally\",\n \"@autoreleasepool\",\n \"@synthesize\",\n \"@dynamic\",\n \"@selector\",\n \"@optional\",\n \"@required\",\n \"@encode\",\n \"@package\",\n \"@import\",\n \"@defs\",\n \"@compatibility_alias\",\n \"__bridge\",\n \"__bridge_transfer\",\n \"__bridge_retained\",\n \"__bridge_retain\",\n \"__covariant\",\n \"__contravariant\",\n \"__kindof\",\n \"_Nonnull\",\n \"_Nullable\",\n \"_Null_unspecified\",\n \"__FUNCTION__\",\n \"__PRETTY_FUNCTION__\",\n \"__attribute__\",\n \"getter\",\n \"setter\",\n \"retain\",\n \"unsafe_unretained\",\n \"nonnull\",\n \"nullable\",\n \"null_unspecified\",\n \"null_resettable\",\n \"class\",\n \"instancetype\",\n \"NS_DESIGNATED_INITIALIZER\",\n \"NS_UNAVAILABLE\",\n \"NS_REQUIRES_SUPER\",\n \"NS_RETURNS_INNER_POINTER\",\n \"NS_INLINE\",\n \"NS_AVAILABLE\",\n \"NS_DEPRECATED\",\n \"NS_ENUM\",\n \"NS_OPTIONS\",\n \"NS_SWIFT_UNAVAILABLE\",\n \"NS_ASSUME_NONNULL_BEGIN\",\n \"NS_ASSUME_NONNULL_END\",\n \"NS_REFINED_FOR_SWIFT\",\n \"NS_SWIFT_NAME\",\n \"NS_SWIFT_NOTHROW\",\n \"NS_DURING\",\n \"NS_HANDLER\",\n \"NS_ENDHANDLER\",\n \"NS_VALUERETURN\",\n \"NS_VOIDRETURN\"\n ];\n const LITERALS = [\n \"false\",\n \"true\",\n \"FALSE\",\n \"TRUE\",\n \"nil\",\n \"YES\",\n \"NO\",\n \"NULL\"\n ];\n const BUILT_INS = [\n \"dispatch_once_t\",\n \"dispatch_queue_t\",\n \"dispatch_sync\",\n \"dispatch_async\",\n \"dispatch_once\"\n ];\n const KEYWORDS = {\n \"variable.language\": [\n \"this\",\n \"super\"\n ],\n $pattern: IDENTIFIER_RE,\n keyword: KWS,\n literal: LITERALS,\n built_in: BUILT_INS,\n type: TYPES\n };\n const CLASS_KEYWORDS = {\n $pattern: IDENTIFIER_RE,\n keyword: [\n \"@interface\",\n \"@class\",\n \"@protocol\",\n \"@implementation\"\n ]\n };\n return {\n name: 'Objective-C',\n aliases: [\n 'mm',\n 'objc',\n 'obj-c',\n 'obj-c++',\n 'objective-c++'\n ],\n keywords: KEYWORDS,\n illegal: '</',\n contains: [\n API_CLASS,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n {\n className: 'string',\n variants: [\n {\n begin: '@\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n }\n ]\n },\n {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: { keyword:\n 'if else elif endif define undef warning error line '\n + 'pragma ifdef ifndef include' },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' }),\n {\n className: 'string',\n begin: /<.*?>/,\n end: /$/,\n illegal: '\\\\n'\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n className: 'class',\n begin: '(' + CLASS_KEYWORDS.keyword.join('|') + ')\\\\b',\n end: /(\\{|$)/,\n excludeEnd: true,\n keywords: CLASS_KEYWORDS,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n begin: '\\\\.' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n }\n ]\n };\n}\n\nmodule.exports = objectivec;\n","/*\nLanguage: PHP\nAuthor: Victor Karamzin <Victor.Karamzin@enterra-inc.com>\nContributors: Evgeny Stepanischev <imbolk@gmail.com>, Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: https://www.php.net\nCategory: common\n*/\n\n/**\n * @param {HLJSApi} hljs\n * @returns {LanguageDetail}\n * */\nfunction php(hljs) {\n const regex = hljs.regex;\n // negative look-ahead tries to avoid matching patterns that are not\n // Perl at all like $ident$, @ident@, etc.\n const NOT_PERL_ETC = /(?![A-Za-z0-9])(?![$])/;\n const IDENT_RE = regex.concat(\n /[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/,\n NOT_PERL_ETC);\n // Will not detect camelCase classes\n const PASCAL_CASE_CLASS_NAME_RE = regex.concat(\n /(\\\\?[A-Z][a-z0-9_\\x7f-\\xff]+|\\\\?[A-Z]+(?=[A-Z][a-z0-9_\\x7f-\\xff])){1,}/,\n NOT_PERL_ETC);\n const VARIABLE = {\n scope: 'variable',\n match: '\\\\$+' + IDENT_RE,\n };\n const PREPROCESSOR = {\n scope: 'meta',\n variants: [\n { begin: /<\\?php/, relevance: 10 }, // boost for obvious PHP\n { begin: /<\\?=/ },\n // less relevant per PSR-1 which says not to use short-tags\n { begin: /<\\?/, relevance: 0.1 },\n { begin: /\\?>/ } // end php tag\n ]\n };\n const SUBST = {\n scope: 'subst',\n variants: [\n { begin: /\\$\\w+/ },\n {\n begin: /\\{\\$/,\n end: /\\}/\n }\n ]\n };\n const SINGLE_QUOTED = hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null, });\n const DOUBLE_QUOTED = hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null,\n contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),\n });\n const HEREDOC = hljs.END_SAME_AS_BEGIN({\n begin: /<<<[ \\t]*(\\w+)\\n/,\n end: /[ \\t]*(\\w+)\\b/,\n contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),\n });\n // list of valid whitespaces because non-breaking space might be part of a IDENT_RE\n const WHITESPACE = '[ \\t\\n]';\n const STRING = {\n scope: 'string',\n variants: [\n DOUBLE_QUOTED,\n SINGLE_QUOTED,\n HEREDOC\n ]\n };\n const NUMBER = {\n scope: 'number',\n variants: [\n { begin: `\\\\b0[bB][01]+(?:_[01]+)*\\\\b` }, // Binary w/ underscore support\n { begin: `\\\\b0[oO][0-7]+(?:_[0-7]+)*\\\\b` }, // Octals w/ underscore support\n { begin: `\\\\b0[xX][\\\\da-fA-F]+(?:_[\\\\da-fA-F]+)*\\\\b` }, // Hex w/ underscore support\n // Decimals w/ underscore support, with optional fragments and scientific exponent (e) suffix.\n { begin: `(?:\\\\b\\\\d+(?:_\\\\d+)*(\\\\.(?:\\\\d+(?:_\\\\d+)*))?|\\\\B\\\\.\\\\d+)(?:[eE][+-]?\\\\d+)?` }\n ],\n relevance: 0\n };\n const LITERALS = [\n \"false\",\n \"null\",\n \"true\"\n ];\n const KWS = [\n // Magic constants:\n // <https://www.php.net/manual/en/language.constants.predefined.php>\n \"__CLASS__\",\n \"__DIR__\",\n \"__FILE__\",\n \"__FUNCTION__\",\n \"__COMPILER_HALT_OFFSET__\",\n \"__LINE__\",\n \"__METHOD__\",\n \"__NAMESPACE__\",\n \"__TRAIT__\",\n // Function that look like language construct or language construct that look like function:\n // List of keywords that may not require parenthesis\n \"die\",\n \"echo\",\n \"exit\",\n \"include\",\n \"include_once\",\n \"print\",\n \"require\",\n \"require_once\",\n // These are not language construct (function) but operate on the currently-executing function and can access the current symbol table\n // 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' +\n // Other keywords:\n // <https://www.php.net/manual/en/reserved.php>\n // <https://www.php.net/manual/en/language.types.type-juggling.php>\n \"array\",\n \"abstract\",\n \"and\",\n \"as\",\n \"binary\",\n \"bool\",\n \"boolean\",\n \"break\",\n \"callable\",\n \"case\",\n \"catch\",\n \"class\",\n \"clone\",\n \"const\",\n \"continue\",\n \"declare\",\n \"default\",\n \"do\",\n \"double\",\n \"else\",\n \"elseif\",\n \"empty\",\n \"enddeclare\",\n \"endfor\",\n \"endforeach\",\n \"endif\",\n \"endswitch\",\n \"endwhile\",\n \"enum\",\n \"eval\",\n \"extends\",\n \"final\",\n \"finally\",\n \"float\",\n \"for\",\n \"foreach\",\n \"from\",\n \"global\",\n \"goto\",\n \"if\",\n \"implements\",\n \"instanceof\",\n \"insteadof\",\n \"int\",\n \"integer\",\n \"interface\",\n \"isset\",\n \"iterable\",\n \"list\",\n \"match|0\",\n \"mixed\",\n \"new\",\n \"never\",\n \"object\",\n \"or\",\n \"private\",\n \"protected\",\n \"public\",\n \"readonly\",\n \"real\",\n \"return\",\n \"string\",\n \"switch\",\n \"throw\",\n \"trait\",\n \"try\",\n \"unset\",\n \"use\",\n \"var\",\n \"void\",\n \"while\",\n \"xor\",\n \"yield\"\n ];\n\n const BUILT_INS = [\n // Standard PHP library:\n // <https://www.php.net/manual/en/book.spl.php>\n \"Error|0\",\n \"AppendIterator\",\n \"ArgumentCountError\",\n \"ArithmeticError\",\n \"ArrayIterator\",\n \"ArrayObject\",\n \"AssertionError\",\n \"BadFunctionCallException\",\n \"BadMethodCallException\",\n \"CachingIterator\",\n \"CallbackFilterIterator\",\n \"CompileError\",\n \"Countable\",\n \"DirectoryIterator\",\n \"DivisionByZeroError\",\n \"DomainException\",\n \"EmptyIterator\",\n \"ErrorException\",\n \"Exception\",\n \"FilesystemIterator\",\n \"FilterIterator\",\n \"GlobIterator\",\n \"InfiniteIterator\",\n \"InvalidArgumentException\",\n \"IteratorIterator\",\n \"LengthException\",\n \"LimitIterator\",\n \"LogicException\",\n \"MultipleIterator\",\n \"NoRewindIterator\",\n \"OutOfBoundsException\",\n \"OutOfRangeException\",\n \"OuterIterator\",\n \"OverflowException\",\n \"ParentIterator\",\n \"ParseError\",\n \"RangeException\",\n \"RecursiveArrayIterator\",\n \"RecursiveCachingIterator\",\n \"RecursiveCallbackFilterIterator\",\n \"RecursiveDirectoryIterator\",\n \"RecursiveFilterIterator\",\n \"RecursiveIterator\",\n \"RecursiveIteratorIterator\",\n \"RecursiveRegexIterator\",\n \"RecursiveTreeIterator\",\n \"RegexIterator\",\n \"RuntimeException\",\n \"SeekableIterator\",\n \"SplDoublyLinkedList\",\n \"SplFileInfo\",\n \"SplFileObject\",\n \"SplFixedArray\",\n \"SplHeap\",\n \"SplMaxHeap\",\n \"SplMinHeap\",\n \"SplObjectStorage\",\n \"SplObserver\",\n \"SplPriorityQueue\",\n \"SplQueue\",\n \"SplStack\",\n \"SplSubject\",\n \"SplTempFileObject\",\n \"TypeError\",\n \"UnderflowException\",\n \"UnexpectedValueException\",\n \"UnhandledMatchError\",\n // Reserved interfaces:\n // <https://www.php.net/manual/en/reserved.interfaces.php>\n \"ArrayAccess\",\n \"BackedEnum\",\n \"Closure\",\n \"Fiber\",\n \"Generator\",\n \"Iterator\",\n \"IteratorAggregate\",\n \"Serializable\",\n \"Stringable\",\n \"Throwable\",\n \"Traversable\",\n \"UnitEnum\",\n \"WeakReference\",\n \"WeakMap\",\n // Reserved classes:\n // <https://www.php.net/manual/en/reserved.classes.php>\n \"Directory\",\n \"__PHP_Incomplete_Class\",\n \"parent\",\n \"php_user_filter\",\n \"self\",\n \"static\",\n \"stdClass\"\n ];\n\n /** Dual-case keywords\n *\n * [\"then\",\"FILE\"] =>\n * [\"then\", \"THEN\", \"FILE\", \"file\"]\n *\n * @param {string[]} items */\n const dualCase = (items) => {\n /** @type string[] */\n const result = [];\n items.forEach(item => {\n result.push(item);\n if (item.toLowerCase() === item) {\n result.push(item.toUpperCase());\n } else {\n result.push(item.toLowerCase());\n }\n });\n return result;\n };\n\n const KEYWORDS = {\n keyword: KWS,\n literal: dualCase(LITERALS),\n built_in: BUILT_INS,\n };\n\n /**\n * @param {string[]} items */\n const normalizeKeywords = (items) => {\n return items.map(item => {\n return item.replace(/\\|\\d+$/, \"\");\n });\n };\n\n const CONSTRUCTOR_CALL = { variants: [\n {\n match: [\n /new/,\n regex.concat(WHITESPACE, \"+\"),\n // to prevent built ins from being confused as the class constructor call\n regex.concat(\"(?!\", normalizeKeywords(BUILT_INS).join(\"\\\\b|\"), \"\\\\b)\"),\n PASCAL_CASE_CLASS_NAME_RE,\n ],\n scope: {\n 1: \"keyword\",\n 4: \"title.class\",\n },\n }\n ] };\n\n const CONSTANT_REFERENCE = regex.concat(IDENT_RE, \"\\\\b(?!\\\\()\");\n\n const LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON = { variants: [\n {\n match: [\n regex.concat(\n /::/,\n regex.lookahead(/(?!class\\b)/)\n ),\n CONSTANT_REFERENCE,\n ],\n scope: { 2: \"variable.constant\", },\n },\n {\n match: [\n /::/,\n /class/,\n ],\n scope: { 2: \"variable.language\", },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n regex.concat(\n /::/,\n regex.lookahead(/(?!class\\b)/)\n ),\n CONSTANT_REFERENCE,\n ],\n scope: {\n 1: \"title.class\",\n 3: \"variable.constant\",\n },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n regex.concat(\n \"::\",\n regex.lookahead(/(?!class\\b)/)\n ),\n ],\n scope: { 1: \"title.class\", },\n },\n {\n match: [\n PASCAL_CASE_CLASS_NAME_RE,\n /::/,\n /class/,\n ],\n scope: {\n 1: \"title.class\",\n 3: \"variable.language\",\n },\n }\n ] };\n\n const NAMED_ARGUMENT = {\n scope: 'attr',\n match: regex.concat(IDENT_RE, regex.lookahead(':'), regex.lookahead(/(?!::)/)),\n };\n const PARAMS_MODE = {\n relevance: 0,\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n NAMED_ARGUMENT,\n VARIABLE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER,\n CONSTRUCTOR_CALL,\n ],\n };\n const FUNCTION_INVOKE = {\n relevance: 0,\n match: [\n /\\b/,\n // to prevent keywords from being confused as the function title\n regex.concat(\"(?!fn\\\\b|function\\\\b|\", normalizeKeywords(KWS).join(\"\\\\b|\"), \"|\", normalizeKeywords(BUILT_INS).join(\"\\\\b|\"), \"\\\\b)\"),\n IDENT_RE,\n regex.concat(WHITESPACE, \"*\"),\n regex.lookahead(/(?=\\()/)\n ],\n scope: { 3: \"title.function.invoke\", },\n contains: [ PARAMS_MODE ]\n };\n PARAMS_MODE.contains.push(FUNCTION_INVOKE);\n\n const ATTRIBUTE_CONTAINS = [\n NAMED_ARGUMENT,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER,\n CONSTRUCTOR_CALL,\n ];\n\n const ATTRIBUTES = {\n begin: regex.concat(/#\\[\\s*/, PASCAL_CASE_CLASS_NAME_RE),\n beginScope: \"meta\",\n end: /]/,\n endScope: \"meta\",\n keywords: {\n literal: LITERALS,\n keyword: [\n 'new',\n 'array',\n ]\n },\n contains: [\n {\n begin: /\\[/,\n end: /]/,\n keywords: {\n literal: LITERALS,\n keyword: [\n 'new',\n 'array',\n ]\n },\n contains: [\n 'self',\n ...ATTRIBUTE_CONTAINS,\n ]\n },\n ...ATTRIBUTE_CONTAINS,\n {\n scope: 'meta',\n match: PASCAL_CASE_CLASS_NAME_RE\n }\n ]\n };\n\n return {\n case_insensitive: false,\n keywords: KEYWORDS,\n contains: [\n ATTRIBUTES,\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT('//', '$'),\n hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n { contains: [\n {\n scope: 'doctag',\n match: '@[A-Za-z]+'\n }\n ] }\n ),\n {\n match: /__halt_compiler\\(\\);/,\n keywords: '__halt_compiler',\n starts: {\n scope: \"comment\",\n end: hljs.MATCH_NOTHING_RE,\n contains: [\n {\n match: /\\?>/,\n scope: \"meta\",\n endsParent: true\n }\n ]\n }\n },\n PREPROCESSOR,\n {\n scope: 'variable.language',\n match: /\\$this\\b/\n },\n VARIABLE,\n FUNCTION_INVOKE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n {\n match: [\n /const/,\n /\\s/,\n IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"variable.constant\",\n },\n },\n CONSTRUCTOR_CALL,\n {\n scope: 'function',\n relevance: 0,\n beginKeywords: 'fn function',\n end: /[;{]/,\n excludeEnd: true,\n illegal: '[$%\\\\[]',\n contains: [\n { beginKeywords: 'use', },\n hljs.UNDERSCORE_TITLE_MODE,\n {\n begin: '=>', // No markup, just a relevance booster\n endsParent: true\n },\n {\n scope: 'params',\n begin: '\\\\(',\n end: '\\\\)',\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n VARIABLE,\n LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER\n ]\n },\n ]\n },\n {\n scope: 'class',\n variants: [\n {\n beginKeywords: \"enum\",\n illegal: /[($\"]/\n },\n {\n beginKeywords: \"class interface trait\",\n illegal: /[:($\"]/\n }\n ],\n relevance: 0,\n end: /\\{/,\n excludeEnd: true,\n contains: [\n { beginKeywords: 'extends implements' },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n // both use and namespace still use \"old style\" rules (vs multi-match)\n // because the namespace name can include `\\` and we still want each\n // element to be treated as its own *individual* title\n {\n beginKeywords: 'namespace',\n relevance: 0,\n end: ';',\n illegal: /[.']/,\n contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { scope: \"title.class\" }) ]\n },\n {\n beginKeywords: 'use',\n relevance: 0,\n end: ';',\n contains: [\n // TODO: title.function vs title.class\n {\n match: /\\b(as|const|function)\\b/,\n scope: \"keyword\"\n },\n // TODO: could be title.class or title.function\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n STRING,\n NUMBER,\n ]\n };\n}\n\nmodule.exports = php;\n","/*\nLanguage: PHP Template\nRequires: xml.js, php.js\nAuthor: Josh Goebel <hello@joshgoebel.com>\nWebsite: https://www.php.net\nCategory: common\n*/\n\nfunction phpTemplate(hljs) {\n return {\n name: \"PHP template\",\n subLanguage: 'xml',\n contains: [\n {\n begin: /<\\?(php|=)?/,\n end: /\\?>/,\n subLanguage: 'php',\n contains: [\n // We don't want the php closing tag ?> to close the PHP block when\n // inside any of the following blocks:\n {\n begin: '/\\\\*',\n end: '\\\\*/',\n skip: true\n },\n {\n begin: 'b\"',\n end: '\"',\n skip: true\n },\n {\n begin: 'b\\'',\n end: '\\'',\n skip: true\n },\n hljs.inherit(hljs.APOS_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n })\n ]\n }\n ]\n };\n}\n\nmodule.exports = phpTemplate;\n","/*\nLanguage: Plain text\nAuthor: Egor Rogov (e.rogov@postgrespro.ru)\nDescription: Plain text without any highlighting.\nCategory: common\n*/\n\nfunction plaintext(hljs) {\n return {\n name: 'Plain text',\n aliases: [\n 'text',\n 'txt'\n ],\n disableAutodetect: true\n };\n}\n\nmodule.exports = plaintext;\n","/*\nLanguage: Python\nDescription: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.\nWebsite: https://www.python.org\nCategory: common\n*/\n\nfunction python(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = /[\\p{XID_Start}_]\\p{XID_Continue}*/u;\n const RESERVED_WORDS = [\n 'and',\n 'as',\n 'assert',\n 'async',\n 'await',\n 'break',\n 'case',\n 'class',\n 'continue',\n 'def',\n 'del',\n 'elif',\n 'else',\n 'except',\n 'finally',\n 'for',\n 'from',\n 'global',\n 'if',\n 'import',\n 'in',\n 'is',\n 'lambda',\n 'match',\n 'nonlocal|10',\n 'not',\n 'or',\n 'pass',\n 'raise',\n 'return',\n 'try',\n 'while',\n 'with',\n 'yield'\n ];\n\n const BUILT_INS = [\n '__import__',\n 'abs',\n 'all',\n 'any',\n 'ascii',\n 'bin',\n 'bool',\n 'breakpoint',\n 'bytearray',\n 'bytes',\n 'callable',\n 'chr',\n 'classmethod',\n 'compile',\n 'complex',\n 'delattr',\n 'dict',\n 'dir',\n 'divmod',\n 'enumerate',\n 'eval',\n 'exec',\n 'filter',\n 'float',\n 'format',\n 'frozenset',\n 'getattr',\n 'globals',\n 'hasattr',\n 'hash',\n 'help',\n 'hex',\n 'id',\n 'input',\n 'int',\n 'isinstance',\n 'issubclass',\n 'iter',\n 'len',\n 'list',\n 'locals',\n 'map',\n 'max',\n 'memoryview',\n 'min',\n 'next',\n 'object',\n 'oct',\n 'open',\n 'ord',\n 'pow',\n 'print',\n 'property',\n 'range',\n 'repr',\n 'reversed',\n 'round',\n 'set',\n 'setattr',\n 'slice',\n 'sorted',\n 'staticmethod',\n 'str',\n 'sum',\n 'super',\n 'tuple',\n 'type',\n 'vars',\n 'zip'\n ];\n\n const LITERALS = [\n '__debug__',\n 'Ellipsis',\n 'False',\n 'None',\n 'NotImplemented',\n 'True'\n ];\n\n // https://docs.python.org/3/library/typing.html\n // TODO: Could these be supplemented by a CamelCase matcher in certain\n // contexts, leaving these remaining only for relevance hinting?\n const TYPES = [\n \"Any\",\n \"Callable\",\n \"Coroutine\",\n \"Dict\",\n \"List\",\n \"Literal\",\n \"Generic\",\n \"Optional\",\n \"Sequence\",\n \"Set\",\n \"Tuple\",\n \"Type\",\n \"Union\"\n ];\n\n const KEYWORDS = {\n $pattern: /[A-Za-z]\\w+|__\\w+__/,\n keyword: RESERVED_WORDS,\n built_in: BUILT_INS,\n literal: LITERALS,\n type: TYPES\n };\n\n const PROMPT = {\n className: 'meta',\n begin: /^(>>>|\\.\\.\\.) /\n };\n\n const SUBST = {\n className: 'subst',\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS,\n illegal: /#/\n };\n\n const LITERAL_BRACKET = {\n begin: /\\{\\{/,\n relevance: 0\n };\n\n const STRING = {\n className: 'string',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n {\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,\n end: /'''/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT\n ],\n relevance: 10\n },\n {\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?\"\"\"/,\n end: /\"\"\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT\n ],\n relevance: 10\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])'''/,\n end: /'''/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])\"\"\"/,\n end: /\"\"\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n PROMPT,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([uU]|[rR])'/,\n end: /'/,\n relevance: 10\n },\n {\n begin: /([uU]|[rR])\"/,\n end: /\"/,\n relevance: 10\n },\n {\n begin: /([bB]|[bB][rR]|[rR][bB])'/,\n end: /'/\n },\n {\n begin: /([bB]|[bB][rR]|[rR][bB])\"/,\n end: /\"/\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])'/,\n end: /'/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n {\n begin: /([fF][rR]|[rR][fF]|[fF])\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n LITERAL_BRACKET,\n SUBST\n ]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n\n // https://docs.python.org/3.9/reference/lexical_analysis.html#numeric-literals\n const digitpart = '[0-9](_?[0-9])*';\n const pointfloat = `(\\\\b(${digitpart}))?\\\\.(${digitpart})|\\\\b(${digitpart})\\\\.`;\n // Whitespace after a number (or any lexical token) is needed only if its absence\n // would change the tokenization\n // https://docs.python.org/3.9/reference/lexical_analysis.html#whitespace-between-tokens\n // We deviate slightly, requiring a word boundary or a keyword\n // to avoid accidentally recognizing *prefixes* (e.g., `0` in `0x41` or `08` or `0__1`)\n const lookahead = `\\\\b|${RESERVED_WORDS.join('|')}`;\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // exponentfloat, pointfloat\n // https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals\n // optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n // Note: no leading \\b because floats can start with a decimal point\n // and we don't want to mishandle e.g. `fn(.5)`,\n // no trailing \\b for pointfloat because it can end with a decimal point\n // and we don't want to mishandle e.g. `0..hex()`; this should be safe\n // because both MUST contain a decimal point and so cannot be confused with\n // the interior part of an identifier\n {\n begin: `(\\\\b(${digitpart})|(${pointfloat}))[eE][+-]?(${digitpart})[jJ]?(?=${lookahead})`\n },\n {\n begin: `(${pointfloat})[jJ]?`\n },\n\n // decinteger, bininteger, octinteger, hexinteger\n // https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals\n // optionally \"long\" in Python 2\n // https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals\n // decinteger is optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: `\\\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[bB](_?[01])+[lL]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[oO](_?[0-7])+[lL]?(?=${lookahead})`\n },\n {\n begin: `\\\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${lookahead})`\n },\n\n // imagnumber (digitpart-based)\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: `\\\\b(${digitpart})[jJ](?=${lookahead})`\n }\n ]\n };\n const COMMENT_TYPE = {\n className: \"comment\",\n begin: regex.lookahead(/# type:/),\n end: /$/,\n keywords: KEYWORDS,\n contains: [\n { // prevent keywords from coloring `type`\n begin: /# type:/\n },\n // comment within a datatype comment includes no keywords\n {\n begin: /#/,\n end: /\\b\\B/,\n endsWithParent: true\n }\n ]\n };\n const PARAMS = {\n className: 'params',\n variants: [\n // Exclude params in functions without params\n {\n className: \"\",\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n PROMPT,\n NUMBER,\n STRING,\n hljs.HASH_COMMENT_MODE\n ]\n }\n ]\n };\n SUBST.contains = [\n STRING,\n NUMBER,\n PROMPT\n ];\n\n return {\n name: 'Python',\n aliases: [\n 'py',\n 'gyp',\n 'ipython'\n ],\n unicodeRegex: true,\n keywords: KEYWORDS,\n illegal: /(<\\/|->|\\?)|=>/,\n contains: [\n PROMPT,\n NUMBER,\n {\n // very common convention\n begin: /\\bself\\b/\n },\n {\n // eat \"if\" prior to string so that it won't accidentally be\n // labeled as an f-string\n beginKeywords: \"if\",\n relevance: 0\n },\n STRING,\n COMMENT_TYPE,\n hljs.HASH_COMMENT_MODE,\n {\n match: [\n /\\bdef/, /\\s+/,\n IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [ PARAMS ]\n },\n {\n variants: [\n {\n match: [\n /\\bclass/, /\\s+/,\n IDENT_RE, /\\s*/,\n /\\(\\s*/, IDENT_RE,/\\s*\\)/\n ],\n },\n {\n match: [\n /\\bclass/, /\\s+/,\n IDENT_RE\n ],\n }\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 6: \"title.class.inherited\",\n }\n },\n {\n className: 'meta',\n begin: /^[\\t ]*@/,\n end: /(?=#)|$/,\n contains: [\n NUMBER,\n PARAMS,\n STRING\n ]\n }\n ]\n };\n}\n\nmodule.exports = python;\n","/*\nLanguage: Python REPL\nRequires: python.js\nAuthor: Josh Goebel <hello@joshgoebel.com>\nCategory: common\n*/\n\nfunction pythonRepl(hljs) {\n return {\n aliases: [ 'pycon' ],\n contains: [\n {\n className: 'meta.prompt',\n starts: {\n // a space separates the REPL prefix from the actual code\n // this is purely for cleaner HTML output\n end: / |$/,\n starts: {\n end: '$',\n subLanguage: 'python'\n }\n },\n variants: [\n { begin: /^>>>(?=[ ]|$)/ },\n { begin: /^\\.\\.\\.(?=[ ]|$)/ }\n ]\n }\n ]\n };\n}\n\nmodule.exports = pythonRepl;\n","/*\nLanguage: R\nDescription: R is a free software environment for statistical computing and graphics.\nAuthor: Joe Cheng <joe@rstudio.org>\nContributors: Konrad Rudolph <konrad.rudolph@gmail.com>\nWebsite: https://www.r-project.org\nCategory: common,scientific\n*/\n\n/** @type LanguageFn */\nfunction r(hljs) {\n const regex = hljs.regex;\n // Identifiers in R cannot start with `_`, but they can start with `.` if it\n // is not immediately followed by a digit.\n // R also supports quoted identifiers, which are near-arbitrary sequences\n // delimited by backticks (`…`), which may contain escape sequences. These are\n // handled in a separate mode. See `test/markup/r/names.txt` for examples.\n // FIXME: Support Unicode identifiers.\n const IDENT_RE = /(?:(?:[a-zA-Z]|\\.[._a-zA-Z])[._a-zA-Z0-9]*)|\\.(?!\\d)/;\n const NUMBER_TYPES_RE = regex.either(\n // Special case: only hexadecimal binary powers can contain fractions\n /0[xX][0-9a-fA-F]+\\.[0-9a-fA-F]*[pP][+-]?\\d+i?/,\n // Hexadecimal numbers without fraction and optional binary power\n /0[xX][0-9a-fA-F]+(?:[pP][+-]?\\d+)?[Li]?/,\n // Decimal numbers\n /(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?[Li]?/\n );\n const OPERATORS_RE = /[=!<>:]=|\\|\\||&&|:::?|<-|<<-|->>|->|\\|>|[-+*\\/?!$&|:<=>@^~]|\\*\\*/;\n const PUNCTUATION_RE = regex.either(\n /[()]/,\n /[{}]/,\n /\\[\\[/,\n /[[\\]]/,\n /\\\\/,\n /,/\n );\n\n return {\n name: 'R',\n\n keywords: {\n $pattern: IDENT_RE,\n keyword:\n 'function if in break next repeat else for while',\n literal:\n 'NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 '\n + 'NA_character_|10 NA_complex_|10',\n built_in:\n // Builtin constants\n 'LETTERS letters month.abb month.name pi T F '\n // Primitive functions\n // These are all the functions in `base` that are implemented as a\n // `.Primitive`, minus those functions that are also keywords.\n + 'abs acos acosh all any anyNA Arg as.call as.character '\n + 'as.complex as.double as.environment as.integer as.logical '\n + 'as.null.default as.numeric as.raw asin asinh atan atanh attr '\n + 'attributes baseenv browser c call ceiling class Conj cos cosh '\n + 'cospi cummax cummin cumprod cumsum digamma dim dimnames '\n + 'emptyenv exp expression floor forceAndCall gamma gc.time '\n + 'globalenv Im interactive invisible is.array is.atomic is.call '\n + 'is.character is.complex is.double is.environment is.expression '\n + 'is.finite is.function is.infinite is.integer is.language '\n + 'is.list is.logical is.matrix is.na is.name is.nan is.null '\n + 'is.numeric is.object is.pairlist is.raw is.recursive is.single '\n + 'is.symbol lazyLoadDBfetch length lgamma list log max min '\n + 'missing Mod names nargs nzchar oldClass on.exit pos.to.env '\n + 'proc.time prod quote range Re rep retracemem return round '\n + 'seq_along seq_len seq.int sign signif sin sinh sinpi sqrt '\n + 'standardGeneric substitute sum switch tan tanh tanpi tracemem '\n + 'trigamma trunc unclass untracemem UseMethod xtfrm',\n },\n\n contains: [\n // Roxygen comments\n hljs.COMMENT(\n /#'/,\n /$/,\n { contains: [\n {\n // Handle `@examples` separately to cause all subsequent code\n // until the next `@`-tag on its own line to be kept as-is,\n // preventing highlighting. This code is example R code, so nested\n // doctags shouldn’t be treated as such. See\n // `test/markup/r/roxygen.txt` for an example.\n scope: 'doctag',\n match: /@examples/,\n starts: {\n end: regex.lookahead(regex.either(\n // end if another doc comment\n /\\n^#'\\s*(?=@[a-zA-Z]+)/,\n // or a line with no comment\n /\\n^(?!#')/\n )),\n endsParent: true\n }\n },\n {\n // Handle `@param` to highlight the parameter name following\n // after.\n scope: 'doctag',\n begin: '@param',\n end: /$/,\n contains: [\n {\n scope: 'variable',\n variants: [\n { match: IDENT_RE },\n { match: /`(?:\\\\.|[^`\\\\])+`/ }\n ],\n endsParent: true\n }\n ]\n },\n {\n scope: 'doctag',\n match: /@[a-zA-Z]+/\n },\n {\n scope: 'keyword',\n match: /\\\\[a-zA-Z]+/\n }\n ] }\n ),\n\n hljs.HASH_COMMENT_MODE,\n\n {\n scope: 'string',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n variants: [\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\(/,\n end: /\\)(-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\{/,\n end: /\\}(-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]\"(-*)\\[/,\n end: /\\](-*)\"/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\(/,\n end: /\\)(-*)'/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\{/,\n end: /\\}(-*)'/\n }),\n hljs.END_SAME_AS_BEGIN({\n begin: /[rR]'(-*)\\[/,\n end: /\\](-*)'/\n }),\n {\n begin: '\"',\n end: '\"',\n relevance: 0\n },\n {\n begin: \"'\",\n end: \"'\",\n relevance: 0\n }\n ],\n },\n\n // Matching numbers immediately following punctuation and operators is\n // tricky since we need to look at the character ahead of a number to\n // ensure the number is not part of an identifier, and we cannot use\n // negative look-behind assertions. So instead we explicitly handle all\n // possible combinations of (operator|punctuation), number.\n // TODO: replace with negative look-behind when available\n // { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+\\.[0-9a-fA-F]*[pP][+-]?\\d+i?/ },\n // { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+([pP][+-]?\\d+)?[Li]?/ },\n // { begin: /(?<![a-zA-Z0-9._])(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?[Li]?/ }\n {\n relevance: 0,\n variants: [\n {\n scope: {\n 1: 'operator',\n 2: 'number'\n },\n match: [\n OPERATORS_RE,\n NUMBER_TYPES_RE\n ]\n },\n {\n scope: {\n 1: 'operator',\n 2: 'number'\n },\n match: [\n /%[^%]*%/,\n NUMBER_TYPES_RE\n ]\n },\n {\n scope: {\n 1: 'punctuation',\n 2: 'number'\n },\n match: [\n PUNCTUATION_RE,\n NUMBER_TYPES_RE\n ]\n },\n {\n scope: { 2: 'number' },\n match: [\n /[^a-zA-Z0-9._]|^/, // not part of an identifier, or start of document\n NUMBER_TYPES_RE\n ]\n }\n ]\n },\n\n // Operators/punctuation when they're not directly followed by numbers\n {\n // Relevance boost for the most common assignment form.\n scope: { 3: 'operator' },\n match: [\n IDENT_RE,\n /\\s+/,\n /<-/,\n /\\s+/\n ]\n },\n\n {\n scope: 'operator',\n relevance: 0,\n variants: [\n { match: OPERATORS_RE },\n { match: /%[^%]*%/ }\n ]\n },\n\n {\n scope: 'punctuation',\n relevance: 0,\n match: PUNCTUATION_RE\n },\n\n {\n // Escaped identifier\n begin: '`',\n end: '`',\n contains: [ { begin: /\\\\./ } ]\n }\n ]\n };\n}\n\nmodule.exports = r;\n","/*\nLanguage: Rust\nAuthor: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>\nContributors: Roman Shmatov <romanshmatov@gmail.com>, Kasper Andersen <kma_untrusted@protonmail.com>\nWebsite: https://www.rust-lang.org\nCategory: common, system\n*/\n\n/** @type LanguageFn */\nfunction rust(hljs) {\n const regex = hljs.regex;\n const FUNCTION_INVOKE = {\n className: \"title.function.invoke\",\n relevance: 0,\n begin: regex.concat(\n /\\b/,\n /(?!let\\b)/,\n hljs.IDENT_RE,\n regex.lookahead(/\\s*\\(/))\n };\n const NUMBER_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))\\?';\n const KEYWORDS = [\n \"abstract\",\n \"as\",\n \"async\",\n \"await\",\n \"become\",\n \"box\",\n \"break\",\n \"const\",\n \"continue\",\n \"crate\",\n \"do\",\n \"dyn\",\n \"else\",\n \"enum\",\n \"extern\",\n \"false\",\n \"final\",\n \"fn\",\n \"for\",\n \"if\",\n \"impl\",\n \"in\",\n \"let\",\n \"loop\",\n \"macro\",\n \"match\",\n \"mod\",\n \"move\",\n \"mut\",\n \"override\",\n \"priv\",\n \"pub\",\n \"ref\",\n \"return\",\n \"self\",\n \"Self\",\n \"static\",\n \"struct\",\n \"super\",\n \"trait\",\n \"true\",\n \"try\",\n \"type\",\n \"typeof\",\n \"unsafe\",\n \"unsized\",\n \"use\",\n \"virtual\",\n \"where\",\n \"while\",\n \"yield\"\n ];\n const LITERALS = [\n \"true\",\n \"false\",\n \"Some\",\n \"None\",\n \"Ok\",\n \"Err\"\n ];\n const BUILTINS = [\n // functions\n 'drop ',\n // traits\n \"Copy\",\n \"Send\",\n \"Sized\",\n \"Sync\",\n \"Drop\",\n \"Fn\",\n \"FnMut\",\n \"FnOnce\",\n \"ToOwned\",\n \"Clone\",\n \"Debug\",\n \"PartialEq\",\n \"PartialOrd\",\n \"Eq\",\n \"Ord\",\n \"AsRef\",\n \"AsMut\",\n \"Into\",\n \"From\",\n \"Default\",\n \"Iterator\",\n \"Extend\",\n \"IntoIterator\",\n \"DoubleEndedIterator\",\n \"ExactSizeIterator\",\n \"SliceConcatExt\",\n \"ToString\",\n // macros\n \"assert!\",\n \"assert_eq!\",\n \"bitflags!\",\n \"bytes!\",\n \"cfg!\",\n \"col!\",\n \"concat!\",\n \"concat_idents!\",\n \"debug_assert!\",\n \"debug_assert_eq!\",\n \"env!\",\n \"panic!\",\n \"file!\",\n \"format!\",\n \"format_args!\",\n \"include_bytes!\",\n \"include_str!\",\n \"line!\",\n \"local_data_key!\",\n \"module_path!\",\n \"option_env!\",\n \"print!\",\n \"println!\",\n \"select!\",\n \"stringify!\",\n \"try!\",\n \"unimplemented!\",\n \"unreachable!\",\n \"vec!\",\n \"write!\",\n \"writeln!\",\n \"macro_rules!\",\n \"assert_ne!\",\n \"debug_assert_ne!\"\n ];\n const TYPES = [\n \"i8\",\n \"i16\",\n \"i32\",\n \"i64\",\n \"i128\",\n \"isize\",\n \"u8\",\n \"u16\",\n \"u32\",\n \"u64\",\n \"u128\",\n \"usize\",\n \"f32\",\n \"f64\",\n \"str\",\n \"char\",\n \"bool\",\n \"Box\",\n \"Option\",\n \"Result\",\n \"String\",\n \"Vec\"\n ];\n return {\n name: 'Rust',\n aliases: [ 'rs' ],\n keywords: {\n $pattern: hljs.IDENT_RE + '!?',\n type: TYPES,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILTINS\n },\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT('/\\\\*', '\\\\*/', { contains: [ 'self' ] }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {\n begin: /b?\"/,\n illegal: null\n }),\n {\n className: 'string',\n variants: [\n { begin: /b?r(#*)\"(.|\\n)*?\"\\1(?!#)/ },\n { begin: /b?'\\\\?(x\\w{2}|u\\w{4}|U\\w{8}|.)'/ }\n ]\n },\n {\n className: 'symbol',\n begin: /'[a-zA-Z_][a-zA-Z0-9_]*/\n },\n {\n className: 'number',\n variants: [\n { begin: '\\\\b0b([01_]+)' + NUMBER_SUFFIX },\n { begin: '\\\\b0o([0-7_]+)' + NUMBER_SUFFIX },\n { begin: '\\\\b0x([A-Fa-f0-9_]+)' + NUMBER_SUFFIX },\n { begin: '\\\\b(\\\\d[\\\\d_]*(\\\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)'\n + NUMBER_SUFFIX }\n ],\n relevance: 0\n },\n {\n begin: [\n /fn/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n },\n {\n className: 'meta',\n begin: '#!?\\\\[',\n end: '\\\\]',\n contains: [\n {\n className: 'string',\n begin: /\"/,\n end: /\"/\n }\n ]\n },\n {\n begin: [\n /let/,\n /\\s+/,\n /(?:mut\\s+)?/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"keyword\",\n 4: \"variable\"\n }\n },\n // must come before impl/for rule later\n {\n begin: [\n /for/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE,\n /\\s+/,\n /in/\n ],\n className: {\n 1: \"keyword\",\n 3: \"variable\",\n 5: \"keyword\"\n }\n },\n {\n begin: [\n /type/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n begin: [\n /(?:trait|enum|struct|union|impl|for)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: {\n keyword: \"Self\",\n built_in: BUILTINS,\n type: TYPES\n }\n },\n {\n className: \"punctuation\",\n begin: '->'\n },\n FUNCTION_INVOKE\n ]\n };\n}\n\nmodule.exports = rust;\n","const MODES = (hljs) => {\n return {\n IMPORTANT: {\n scope: 'meta',\n begin: '!important'\n },\n BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,\n HEXCOLOR: {\n scope: 'number',\n begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/\n },\n FUNCTION_DISPATCH: {\n className: \"built_in\",\n begin: /[\\w-]+(?=\\()/\n },\n ATTRIBUTE_SELECTOR_MODE: {\n scope: 'selector-attr',\n begin: /\\[/,\n end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n },\n CSS_NUMBER_MODE: {\n scope: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n },\n CSS_VARIABLE: {\n className: \"attr\",\n begin: /--[A-Za-z][A-Za-z0-9_-]*/\n }\n };\n};\n\nconst TAGS = [\n 'a',\n 'abbr',\n 'address',\n 'article',\n 'aside',\n 'audio',\n 'b',\n 'blockquote',\n 'body',\n 'button',\n 'canvas',\n 'caption',\n 'cite',\n 'code',\n 'dd',\n 'del',\n 'details',\n 'dfn',\n 'div',\n 'dl',\n 'dt',\n 'em',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'header',\n 'hgroup',\n 'html',\n 'i',\n 'iframe',\n 'img',\n 'input',\n 'ins',\n 'kbd',\n 'label',\n 'legend',\n 'li',\n 'main',\n 'mark',\n 'menu',\n 'nav',\n 'object',\n 'ol',\n 'p',\n 'q',\n 'quote',\n 'samp',\n 'section',\n 'span',\n 'strong',\n 'summary',\n 'sup',\n 'table',\n 'tbody',\n 'td',\n 'textarea',\n 'tfoot',\n 'th',\n 'thead',\n 'time',\n 'tr',\n 'ul',\n 'var',\n 'video'\n];\n\nconst MEDIA_FEATURES = [\n 'any-hover',\n 'any-pointer',\n 'aspect-ratio',\n 'color',\n 'color-gamut',\n 'color-index',\n 'device-aspect-ratio',\n 'device-height',\n 'device-width',\n 'display-mode',\n 'forced-colors',\n 'grid',\n 'height',\n 'hover',\n 'inverted-colors',\n 'monochrome',\n 'orientation',\n 'overflow-block',\n 'overflow-inline',\n 'pointer',\n 'prefers-color-scheme',\n 'prefers-contrast',\n 'prefers-reduced-motion',\n 'prefers-reduced-transparency',\n 'resolution',\n 'scan',\n 'scripting',\n 'update',\n 'width',\n // TODO: find a better solution?\n 'min-width',\n 'max-width',\n 'min-height',\n 'max-height'\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes\nconst PSEUDO_CLASSES = [\n 'active',\n 'any-link',\n 'blank',\n 'checked',\n 'current',\n 'default',\n 'defined',\n 'dir', // dir()\n 'disabled',\n 'drop',\n 'empty',\n 'enabled',\n 'first',\n 'first-child',\n 'first-of-type',\n 'fullscreen',\n 'future',\n 'focus',\n 'focus-visible',\n 'focus-within',\n 'has', // has()\n 'host', // host or host()\n 'host-context', // host-context()\n 'hover',\n 'indeterminate',\n 'in-range',\n 'invalid',\n 'is', // is()\n 'lang', // lang()\n 'last-child',\n 'last-of-type',\n 'left',\n 'link',\n 'local-link',\n 'not', // not()\n 'nth-child', // nth-child()\n 'nth-col', // nth-col()\n 'nth-last-child', // nth-last-child()\n 'nth-last-col', // nth-last-col()\n 'nth-last-of-type', //nth-last-of-type()\n 'nth-of-type', //nth-of-type()\n 'only-child',\n 'only-of-type',\n 'optional',\n 'out-of-range',\n 'past',\n 'placeholder-shown',\n 'read-only',\n 'read-write',\n 'required',\n 'right',\n 'root',\n 'scope',\n 'target',\n 'target-within',\n 'user-invalid',\n 'valid',\n 'visited',\n 'where' // where()\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements\nconst PSEUDO_ELEMENTS = [\n 'after',\n 'backdrop',\n 'before',\n 'cue',\n 'cue-region',\n 'first-letter',\n 'first-line',\n 'grammar-error',\n 'marker',\n 'part',\n 'placeholder',\n 'selection',\n 'slotted',\n 'spelling-error'\n];\n\nconst ATTRIBUTES = [\n 'align-content',\n 'align-items',\n 'align-self',\n 'all',\n 'animation',\n 'animation-delay',\n 'animation-direction',\n 'animation-duration',\n 'animation-fill-mode',\n 'animation-iteration-count',\n 'animation-name',\n 'animation-play-state',\n 'animation-timing-function',\n 'backface-visibility',\n 'background',\n 'background-attachment',\n 'background-blend-mode',\n 'background-clip',\n 'background-color',\n 'background-image',\n 'background-origin',\n 'background-position',\n 'background-repeat',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block',\n 'border-block-color',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-style',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-style',\n 'border-block-start-width',\n 'border-block-style',\n 'border-block-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-style',\n 'border-bottom-width',\n 'border-collapse',\n 'border-color',\n 'border-image',\n 'border-image-outset',\n 'border-image-repeat',\n 'border-image-slice',\n 'border-image-source',\n 'border-image-width',\n 'border-inline',\n 'border-inline-color',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-style',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-style',\n 'border-inline-start-width',\n 'border-inline-style',\n 'border-inline-width',\n 'border-left',\n 'border-left-color',\n 'border-left-style',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-style',\n 'border-right-width',\n 'border-spacing',\n 'border-style',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-style',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-decoration-break',\n 'box-shadow',\n 'box-sizing',\n 'break-after',\n 'break-before',\n 'break-inside',\n 'caption-side',\n 'caret-color',\n 'clear',\n 'clip',\n 'clip-path',\n 'clip-rule',\n 'color',\n 'column-count',\n 'column-fill',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-style',\n 'column-rule-width',\n 'column-span',\n 'column-width',\n 'columns',\n 'contain',\n 'content',\n 'content-visibility',\n 'counter-increment',\n 'counter-reset',\n 'cue',\n 'cue-after',\n 'cue-before',\n 'cursor',\n 'direction',\n 'display',\n 'empty-cells',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-direction',\n 'flex-flow',\n 'flex-grow',\n 'flex-shrink',\n 'flex-wrap',\n 'float',\n 'flow',\n 'font',\n 'font-display',\n 'font-family',\n 'font-feature-settings',\n 'font-kerning',\n 'font-language-override',\n 'font-size',\n 'font-size-adjust',\n 'font-smoothing',\n 'font-stretch',\n 'font-style',\n 'font-synthesis',\n 'font-variant',\n 'font-variant-caps',\n 'font-variant-east-asian',\n 'font-variant-ligatures',\n 'font-variant-numeric',\n 'font-variant-position',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'glyph-orientation-vertical',\n 'grid',\n 'grid-area',\n 'grid-auto-columns',\n 'grid-auto-flow',\n 'grid-auto-rows',\n 'grid-column',\n 'grid-column-end',\n 'grid-column-start',\n 'grid-gap',\n 'grid-row',\n 'grid-row-end',\n 'grid-row-start',\n 'grid-template',\n 'grid-template-areas',\n 'grid-template-columns',\n 'grid-template-rows',\n 'hanging-punctuation',\n 'height',\n 'hyphens',\n 'icon',\n 'image-orientation',\n 'image-rendering',\n 'image-resolution',\n 'ime-mode',\n 'inline-size',\n 'isolation',\n 'justify-content',\n 'left',\n 'letter-spacing',\n 'line-break',\n 'line-height',\n 'list-style',\n 'list-style-image',\n 'list-style-position',\n 'list-style-type',\n 'margin',\n 'margin-block',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'marks',\n 'mask',\n 'mask-border',\n 'mask-border-mode',\n 'mask-border-outset',\n 'mask-border-repeat',\n 'mask-border-slice',\n 'mask-border-source',\n 'mask-border-width',\n 'mask-clip',\n 'mask-composite',\n 'mask-image',\n 'mask-mode',\n 'mask-origin',\n 'mask-position',\n 'mask-repeat',\n 'mask-size',\n 'mask-type',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'mix-blend-mode',\n 'nav-down',\n 'nav-index',\n 'nav-left',\n 'nav-right',\n 'nav-up',\n 'none',\n 'normal',\n 'object-fit',\n 'object-position',\n 'opacity',\n 'order',\n 'orphans',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-style',\n 'outline-width',\n 'overflow',\n 'overflow-wrap',\n 'overflow-x',\n 'overflow-y',\n 'padding',\n 'padding-block',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'page-break-after',\n 'page-break-before',\n 'page-break-inside',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'perspective',\n 'perspective-origin',\n 'pointer-events',\n 'position',\n 'quotes',\n 'resize',\n 'rest',\n 'rest-after',\n 'rest-before',\n 'right',\n 'row-gap',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-align',\n 'scroll-snap-stop',\n 'scroll-snap-type',\n 'scrollbar-color',\n 'scrollbar-gutter',\n 'scrollbar-width',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'speak',\n 'speak-as',\n 'src', // @font-face\n 'tab-size',\n 'table-layout',\n 'text-align',\n 'text-align-all',\n 'text-align-last',\n 'text-combine-upright',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-line',\n 'text-decoration-style',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-emphasis-position',\n 'text-emphasis-style',\n 'text-indent',\n 'text-justify',\n 'text-orientation',\n 'text-overflow',\n 'text-rendering',\n 'text-shadow',\n 'text-transform',\n 'text-underline-position',\n 'top',\n 'transform',\n 'transform-box',\n 'transform-origin',\n 'transform-style',\n 'transition',\n 'transition-delay',\n 'transition-duration',\n 'transition-property',\n 'transition-timing-function',\n 'unicode-bidi',\n 'vertical-align',\n 'visibility',\n 'voice-balance',\n 'voice-duration',\n 'voice-family',\n 'voice-pitch',\n 'voice-range',\n 'voice-rate',\n 'voice-stress',\n 'voice-volume',\n 'white-space',\n 'widows',\n 'width',\n 'will-change',\n 'word-break',\n 'word-spacing',\n 'word-wrap',\n 'writing-mode',\n 'z-index'\n // reverse makes sure longer attributes `font-weight` are matched fully\n // instead of getting false positives on say `font`\n].reverse();\n\n/*\nLanguage: SCSS\nDescription: Scss is an extension of the syntax of CSS.\nAuthor: Kurt Emch <kurt@kurtemch.com>\nWebsite: https://sass-lang.com\nCategory: common, css, web\n*/\n\n/** @type LanguageFn */\nfunction scss(hljs) {\n const modes = MODES(hljs);\n const PSEUDO_ELEMENTS$1 = PSEUDO_ELEMENTS;\n const PSEUDO_CLASSES$1 = PSEUDO_CLASSES;\n\n const AT_IDENTIFIER = '@[a-z-]+'; // @font-face\n const AT_MODIFIERS = \"and or not only\";\n const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n const VARIABLE = {\n className: 'variable',\n begin: '(\\\\$' + IDENT_RE + ')\\\\b',\n relevance: 0\n };\n\n return {\n name: 'SCSS',\n case_insensitive: true,\n illegal: '[=/|\\']',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n // to recognize keyframe 40% etc which are outside the scope of our\n // attribute value mode\n modes.CSS_NUMBER_MODE,\n {\n className: 'selector-id',\n begin: '#[A-Za-z0-9_-]+',\n relevance: 0\n },\n {\n className: 'selector-class',\n begin: '\\\\.[A-Za-z0-9_-]+',\n relevance: 0\n },\n modes.ATTRIBUTE_SELECTOR_MODE,\n {\n className: 'selector-tag',\n begin: '\\\\b(' + TAGS.join('|') + ')\\\\b',\n // was there, before, but why?\n relevance: 0\n },\n {\n className: 'selector-pseudo',\n begin: ':(' + PSEUDO_CLASSES$1.join('|') + ')'\n },\n {\n className: 'selector-pseudo',\n begin: ':(:)?(' + PSEUDO_ELEMENTS$1.join('|') + ')'\n },\n VARIABLE,\n { // pseudo-selector params\n begin: /\\(/,\n end: /\\)/,\n contains: [ modes.CSS_NUMBER_MODE ]\n },\n modes.CSS_VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(' + ATTRIBUTES.join('|') + ')\\\\b'\n },\n { begin: '\\\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\\\b' },\n {\n begin: /:/,\n end: /[;}{]/,\n relevance: 0,\n contains: [\n modes.BLOCK_COMMENT,\n VARIABLE,\n modes.HEXCOLOR,\n modes.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n modes.IMPORTANT,\n modes.FUNCTION_DISPATCH\n ]\n },\n // matching these here allows us to treat them more like regular CSS\n // rules so everything between the {} gets regular rule highlighting,\n // which is what we want for page and font-face\n {\n begin: '@(page|font-face)',\n keywords: {\n $pattern: AT_IDENTIFIER,\n keyword: '@page @font-face'\n }\n },\n {\n begin: '@',\n end: '[{;]',\n returnBegin: true,\n keywords: {\n $pattern: /[a-z-]+/,\n keyword: AT_MODIFIERS,\n attribute: MEDIA_FEATURES.join(\" \")\n },\n contains: [\n {\n begin: AT_IDENTIFIER,\n className: \"keyword\"\n },\n {\n begin: /[a-z-]+(?=:)/,\n className: \"attribute\"\n },\n VARIABLE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n modes.HEXCOLOR,\n modes.CSS_NUMBER_MODE\n ]\n },\n modes.FUNCTION_DISPATCH\n ]\n };\n}\n\nmodule.exports = scss;\n","/*\nLanguage: Shell Session\nRequires: bash.js\nAuthor: TSUYUSATO Kitsune <make.just.on@gmail.com>\nCategory: common\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction shell(hljs) {\n return {\n name: 'Shell Session',\n aliases: [\n 'console',\n 'shellsession'\n ],\n contains: [\n {\n className: 'meta.prompt',\n // We cannot add \\s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.\n // For instance, in the following example, it would match \"echo /path/to/home >\" as a prompt:\n // echo /path/to/home > t.exe\n begin: /^\\s{0,3}[/~\\w\\d[\\]()@-]*[>%$#][ ]?/,\n starts: {\n end: /[^\\\\](?=\\s*$)/,\n subLanguage: 'bash'\n }\n }\n ]\n };\n}\n\nmodule.exports = shell;\n","/*\n Language: SQL\n Website: https://en.wikipedia.org/wiki/SQL\n Category: common, database\n */\n\n/*\n\nGoals:\n\nSQL is intended to highlight basic/common SQL keywords and expressions\n\n- If pretty much every single SQL server includes supports, then it's a canidate.\n- It is NOT intended to include tons of vendor specific keywords (Oracle, MySQL,\n PostgreSQL) although the list of data types is purposely a bit more expansive.\n- For more specific SQL grammars please see:\n - PostgreSQL and PL/pgSQL - core\n - T-SQL - https://github.com/highlightjs/highlightjs-tsql\n - sql_more (core)\n\n */\n\nfunction sql(hljs) {\n const regex = hljs.regex;\n const COMMENT_MODE = hljs.COMMENT('--', '$');\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: /'/,\n end: /'/,\n contains: [ { begin: /''/ } ]\n }\n ]\n };\n const QUOTED_IDENTIFIER = {\n begin: /\"/,\n end: /\"/,\n contains: [ { begin: /\"\"/ } ]\n };\n\n const LITERALS = [\n \"true\",\n \"false\",\n // Not sure it's correct to call NULL literal, and clauses like IS [NOT] NULL look strange that way.\n // \"null\",\n \"unknown\"\n ];\n\n const MULTI_WORD_TYPES = [\n \"double precision\",\n \"large object\",\n \"with timezone\",\n \"without timezone\"\n ];\n\n const TYPES = [\n 'bigint',\n 'binary',\n 'blob',\n 'boolean',\n 'char',\n 'character',\n 'clob',\n 'date',\n 'dec',\n 'decfloat',\n 'decimal',\n 'float',\n 'int',\n 'integer',\n 'interval',\n 'nchar',\n 'nclob',\n 'national',\n 'numeric',\n 'real',\n 'row',\n 'smallint',\n 'time',\n 'timestamp',\n 'varchar',\n 'varying', // modifier (character varying)\n 'varbinary'\n ];\n\n const NON_RESERVED_WORDS = [\n \"add\",\n \"asc\",\n \"collation\",\n \"desc\",\n \"final\",\n \"first\",\n \"last\",\n \"view\"\n ];\n\n // https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#reserved-word\n const RESERVED_WORDS = [\n \"abs\",\n \"acos\",\n \"all\",\n \"allocate\",\n \"alter\",\n \"and\",\n \"any\",\n \"are\",\n \"array\",\n \"array_agg\",\n \"array_max_cardinality\",\n \"as\",\n \"asensitive\",\n \"asin\",\n \"asymmetric\",\n \"at\",\n \"atan\",\n \"atomic\",\n \"authorization\",\n \"avg\",\n \"begin\",\n \"begin_frame\",\n \"begin_partition\",\n \"between\",\n \"bigint\",\n \"binary\",\n \"blob\",\n \"boolean\",\n \"both\",\n \"by\",\n \"call\",\n \"called\",\n \"cardinality\",\n \"cascaded\",\n \"case\",\n \"cast\",\n \"ceil\",\n \"ceiling\",\n \"char\",\n \"char_length\",\n \"character\",\n \"character_length\",\n \"check\",\n \"classifier\",\n \"clob\",\n \"close\",\n \"coalesce\",\n \"collate\",\n \"collect\",\n \"column\",\n \"commit\",\n \"condition\",\n \"connect\",\n \"constraint\",\n \"contains\",\n \"convert\",\n \"copy\",\n \"corr\",\n \"corresponding\",\n \"cos\",\n \"cosh\",\n \"count\",\n \"covar_pop\",\n \"covar_samp\",\n \"create\",\n \"cross\",\n \"cube\",\n \"cume_dist\",\n \"current\",\n \"current_catalog\",\n \"current_date\",\n \"current_default_transform_group\",\n \"current_path\",\n \"current_role\",\n \"current_row\",\n \"current_schema\",\n \"current_time\",\n \"current_timestamp\",\n \"current_path\",\n \"current_role\",\n \"current_transform_group_for_type\",\n \"current_user\",\n \"cursor\",\n \"cycle\",\n \"date\",\n \"day\",\n \"deallocate\",\n \"dec\",\n \"decimal\",\n \"decfloat\",\n \"declare\",\n \"default\",\n \"define\",\n \"delete\",\n \"dense_rank\",\n \"deref\",\n \"describe\",\n \"deterministic\",\n \"disconnect\",\n \"distinct\",\n \"double\",\n \"drop\",\n \"dynamic\",\n \"each\",\n \"element\",\n \"else\",\n \"empty\",\n \"end\",\n \"end_frame\",\n \"end_partition\",\n \"end-exec\",\n \"equals\",\n \"escape\",\n \"every\",\n \"except\",\n \"exec\",\n \"execute\",\n \"exists\",\n \"exp\",\n \"external\",\n \"extract\",\n \"false\",\n \"fetch\",\n \"filter\",\n \"first_value\",\n \"float\",\n \"floor\",\n \"for\",\n \"foreign\",\n \"frame_row\",\n \"free\",\n \"from\",\n \"full\",\n \"function\",\n \"fusion\",\n \"get\",\n \"global\",\n \"grant\",\n \"group\",\n \"grouping\",\n \"groups\",\n \"having\",\n \"hold\",\n \"hour\",\n \"identity\",\n \"in\",\n \"indicator\",\n \"initial\",\n \"inner\",\n \"inout\",\n \"insensitive\",\n \"insert\",\n \"int\",\n \"integer\",\n \"intersect\",\n \"intersection\",\n \"interval\",\n \"into\",\n \"is\",\n \"join\",\n \"json_array\",\n \"json_arrayagg\",\n \"json_exists\",\n \"json_object\",\n \"json_objectagg\",\n \"json_query\",\n \"json_table\",\n \"json_table_primitive\",\n \"json_value\",\n \"lag\",\n \"language\",\n \"large\",\n \"last_value\",\n \"lateral\",\n \"lead\",\n \"leading\",\n \"left\",\n \"like\",\n \"like_regex\",\n \"listagg\",\n \"ln\",\n \"local\",\n \"localtime\",\n \"localtimestamp\",\n \"log\",\n \"log10\",\n \"lower\",\n \"match\",\n \"match_number\",\n \"match_recognize\",\n \"matches\",\n \"max\",\n \"member\",\n \"merge\",\n \"method\",\n \"min\",\n \"minute\",\n \"mod\",\n \"modifies\",\n \"module\",\n \"month\",\n \"multiset\",\n \"national\",\n \"natural\",\n \"nchar\",\n \"nclob\",\n \"new\",\n \"no\",\n \"none\",\n \"normalize\",\n \"not\",\n \"nth_value\",\n \"ntile\",\n \"null\",\n \"nullif\",\n \"numeric\",\n \"octet_length\",\n \"occurrences_regex\",\n \"of\",\n \"offset\",\n \"old\",\n \"omit\",\n \"on\",\n \"one\",\n \"only\",\n \"open\",\n \"or\",\n \"order\",\n \"out\",\n \"outer\",\n \"over\",\n \"overlaps\",\n \"overlay\",\n \"parameter\",\n \"partition\",\n \"pattern\",\n \"per\",\n \"percent\",\n \"percent_rank\",\n \"percentile_cont\",\n \"percentile_disc\",\n \"period\",\n \"portion\",\n \"position\",\n \"position_regex\",\n \"power\",\n \"precedes\",\n \"precision\",\n \"prepare\",\n \"primary\",\n \"procedure\",\n \"ptf\",\n \"range\",\n \"rank\",\n \"reads\",\n \"real\",\n \"recursive\",\n \"ref\",\n \"references\",\n \"referencing\",\n \"regr_avgx\",\n \"regr_avgy\",\n \"regr_count\",\n \"regr_intercept\",\n \"regr_r2\",\n \"regr_slope\",\n \"regr_sxx\",\n \"regr_sxy\",\n \"regr_syy\",\n \"release\",\n \"result\",\n \"return\",\n \"returns\",\n \"revoke\",\n \"right\",\n \"rollback\",\n \"rollup\",\n \"row\",\n \"row_number\",\n \"rows\",\n \"running\",\n \"savepoint\",\n \"scope\",\n \"scroll\",\n \"search\",\n \"second\",\n \"seek\",\n \"select\",\n \"sensitive\",\n \"session_user\",\n \"set\",\n \"show\",\n \"similar\",\n \"sin\",\n \"sinh\",\n \"skip\",\n \"smallint\",\n \"some\",\n \"specific\",\n \"specifictype\",\n \"sql\",\n \"sqlexception\",\n \"sqlstate\",\n \"sqlwarning\",\n \"sqrt\",\n \"start\",\n \"static\",\n \"stddev_pop\",\n \"stddev_samp\",\n \"submultiset\",\n \"subset\",\n \"substring\",\n \"substring_regex\",\n \"succeeds\",\n \"sum\",\n \"symmetric\",\n \"system\",\n \"system_time\",\n \"system_user\",\n \"table\",\n \"tablesample\",\n \"tan\",\n \"tanh\",\n \"then\",\n \"time\",\n \"timestamp\",\n \"timezone_hour\",\n \"timezone_minute\",\n \"to\",\n \"trailing\",\n \"translate\",\n \"translate_regex\",\n \"translation\",\n \"treat\",\n \"trigger\",\n \"trim\",\n \"trim_array\",\n \"true\",\n \"truncate\",\n \"uescape\",\n \"union\",\n \"unique\",\n \"unknown\",\n \"unnest\",\n \"update\",\n \"upper\",\n \"user\",\n \"using\",\n \"value\",\n \"values\",\n \"value_of\",\n \"var_pop\",\n \"var_samp\",\n \"varbinary\",\n \"varchar\",\n \"varying\",\n \"versioning\",\n \"when\",\n \"whenever\",\n \"where\",\n \"width_bucket\",\n \"window\",\n \"with\",\n \"within\",\n \"without\",\n \"year\",\n ];\n\n // these are reserved words we have identified to be functions\n // and should only be highlighted in a dispatch-like context\n // ie, array_agg(...), etc.\n const RESERVED_FUNCTIONS = [\n \"abs\",\n \"acos\",\n \"array_agg\",\n \"asin\",\n \"atan\",\n \"avg\",\n \"cast\",\n \"ceil\",\n \"ceiling\",\n \"coalesce\",\n \"corr\",\n \"cos\",\n \"cosh\",\n \"count\",\n \"covar_pop\",\n \"covar_samp\",\n \"cume_dist\",\n \"dense_rank\",\n \"deref\",\n \"element\",\n \"exp\",\n \"extract\",\n \"first_value\",\n \"floor\",\n \"json_array\",\n \"json_arrayagg\",\n \"json_exists\",\n \"json_object\",\n \"json_objectagg\",\n \"json_query\",\n \"json_table\",\n \"json_table_primitive\",\n \"json_value\",\n \"lag\",\n \"last_value\",\n \"lead\",\n \"listagg\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"max\",\n \"min\",\n \"mod\",\n \"nth_value\",\n \"ntile\",\n \"nullif\",\n \"percent_rank\",\n \"percentile_cont\",\n \"percentile_disc\",\n \"position\",\n \"position_regex\",\n \"power\",\n \"rank\",\n \"regr_avgx\",\n \"regr_avgy\",\n \"regr_count\",\n \"regr_intercept\",\n \"regr_r2\",\n \"regr_slope\",\n \"regr_sxx\",\n \"regr_sxy\",\n \"regr_syy\",\n \"row_number\",\n \"sin\",\n \"sinh\",\n \"sqrt\",\n \"stddev_pop\",\n \"stddev_samp\",\n \"substring\",\n \"substring_regex\",\n \"sum\",\n \"tan\",\n \"tanh\",\n \"translate\",\n \"translate_regex\",\n \"treat\",\n \"trim\",\n \"trim_array\",\n \"unnest\",\n \"upper\",\n \"value_of\",\n \"var_pop\",\n \"var_samp\",\n \"width_bucket\",\n ];\n\n // these functions can\n const POSSIBLE_WITHOUT_PARENS = [\n \"current_catalog\",\n \"current_date\",\n \"current_default_transform_group\",\n \"current_path\",\n \"current_role\",\n \"current_schema\",\n \"current_transform_group_for_type\",\n \"current_user\",\n \"session_user\",\n \"system_time\",\n \"system_user\",\n \"current_time\",\n \"localtime\",\n \"current_timestamp\",\n \"localtimestamp\"\n ];\n\n // those exist to boost relevance making these very\n // \"SQL like\" keyword combos worth +1 extra relevance\n const COMBOS = [\n \"create table\",\n \"insert into\",\n \"primary key\",\n \"foreign key\",\n \"not null\",\n \"alter table\",\n \"add constraint\",\n \"grouping sets\",\n \"on overflow\",\n \"character set\",\n \"respect nulls\",\n \"ignore nulls\",\n \"nulls first\",\n \"nulls last\",\n \"depth first\",\n \"breadth first\"\n ];\n\n const FUNCTIONS = RESERVED_FUNCTIONS;\n\n const KEYWORDS = [\n ...RESERVED_WORDS,\n ...NON_RESERVED_WORDS\n ].filter((keyword) => {\n return !RESERVED_FUNCTIONS.includes(keyword);\n });\n\n const VARIABLE = {\n className: \"variable\",\n begin: /@[a-z0-9]+/,\n };\n\n const OPERATOR = {\n className: \"operator\",\n begin: /[-+*/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,\n relevance: 0,\n };\n\n const FUNCTION_CALL = {\n begin: regex.concat(/\\b/, regex.either(...FUNCTIONS), /\\s*\\(/),\n relevance: 0,\n keywords: { built_in: FUNCTIONS }\n };\n\n // keywords with less than 3 letters are reduced in relevancy\n function reduceRelevancy(list, {\n exceptions, when\n } = {}) {\n const qualifyFn = when;\n exceptions = exceptions || [];\n return list.map((item) => {\n if (item.match(/\\|\\d+$/) || exceptions.includes(item)) {\n return item;\n } else if (qualifyFn(item)) {\n return `${item}|0`;\n } else {\n return item;\n }\n });\n }\n\n return {\n name: 'SQL',\n case_insensitive: true,\n // does not include {} or HTML tags `</`\n illegal: /[{}]|<\\//,\n keywords: {\n $pattern: /\\b[\\w\\.]+/,\n keyword:\n reduceRelevancy(KEYWORDS, { when: (x) => x.length < 3 }),\n literal: LITERALS,\n type: TYPES,\n built_in: POSSIBLE_WITHOUT_PARENS\n },\n contains: [\n {\n begin: regex.either(...COMBOS),\n relevance: 0,\n keywords: {\n $pattern: /[\\w\\.]+/,\n keyword: KEYWORDS.concat(COMBOS),\n literal: LITERALS,\n type: TYPES\n },\n },\n {\n className: \"type\",\n begin: regex.either(...MULTI_WORD_TYPES)\n },\n FUNCTION_CALL,\n VARIABLE,\n STRING,\n QUOTED_IDENTIFIER,\n hljs.C_NUMBER_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n OPERATOR\n ]\n };\n}\n\nmodule.exports = sql;\n","/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/**\n * @param { Array<string | RegExp | Object> } args\n * @returns {object}\n */\nfunction stripOptionsFromArgs(args) {\n const opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\nfunction either(...args) {\n /** @type { object & {capture?: boolean} } */\n const opts = stripOptionsFromArgs(args);\n const joined = '('\n + (opts.capture ? \"\" : \"?:\")\n + args.map((x) => source(x)).join(\"|\") + \")\";\n return joined;\n}\n\nconst keywordWrapper = keyword => concat(\n /\\b/,\n keyword,\n /\\w$/.test(keyword) ? /\\b/ : /\\B/\n);\n\n// Keywords that require a leading dot.\nconst dotKeywords = [\n 'Protocol', // contextual\n 'Type' // contextual\n].map(keywordWrapper);\n\n// Keywords that may have a leading dot.\nconst optionalDotKeywords = [\n 'init',\n 'self'\n].map(keywordWrapper);\n\n// should register as keyword, not type\nconst keywordTypes = [\n 'Any',\n 'Self'\n];\n\n// Regular keywords and literals.\nconst keywords = [\n // strings below will be fed into the regular `keywords` engine while regex\n // will result in additional modes being created to scan for those keywords to\n // avoid conflicts with other rules\n 'actor',\n 'any', // contextual\n 'associatedtype',\n 'async',\n 'await',\n /as\\?/, // operator\n /as!/, // operator\n 'as', // operator\n 'break',\n 'case',\n 'catch',\n 'class',\n 'continue',\n 'convenience', // contextual\n 'default',\n 'defer',\n 'deinit',\n 'didSet', // contextual\n 'distributed',\n 'do',\n 'dynamic', // contextual\n 'else',\n 'enum',\n 'extension',\n 'fallthrough',\n /fileprivate\\(set\\)/,\n 'fileprivate',\n 'final', // contextual\n 'for',\n 'func',\n 'get', // contextual\n 'guard',\n 'if',\n 'import',\n 'indirect', // contextual\n 'infix', // contextual\n /init\\?/,\n /init!/,\n 'inout',\n /internal\\(set\\)/,\n 'internal',\n 'in',\n 'is', // operator\n 'isolated', // contextual\n 'nonisolated', // contextual\n 'lazy', // contextual\n 'let',\n 'mutating', // contextual\n 'nonmutating', // contextual\n /open\\(set\\)/, // contextual\n 'open', // contextual\n 'operator',\n 'optional', // contextual\n 'override', // contextual\n 'postfix', // contextual\n 'precedencegroup',\n 'prefix', // contextual\n /private\\(set\\)/,\n 'private',\n 'protocol',\n /public\\(set\\)/,\n 'public',\n 'repeat',\n 'required', // contextual\n 'rethrows',\n 'return',\n 'set', // contextual\n 'some', // contextual\n 'static',\n 'struct',\n 'subscript',\n 'super',\n 'switch',\n 'throws',\n 'throw',\n /try\\?/, // operator\n /try!/, // operator\n 'try', // operator\n 'typealias',\n /unowned\\(safe\\)/, // contextual\n /unowned\\(unsafe\\)/, // contextual\n 'unowned', // contextual\n 'var',\n 'weak', // contextual\n 'where',\n 'while',\n 'willSet' // contextual\n];\n\n// NOTE: Contextual keywords are reserved only in specific contexts.\n// Ideally, these should be matched using modes to avoid false positives.\n\n// Literals.\nconst literals = [\n 'false',\n 'nil',\n 'true'\n];\n\n// Keywords used in precedence groups.\nconst precedencegroupKeywords = [\n 'assignment',\n 'associativity',\n 'higherThan',\n 'left',\n 'lowerThan',\n 'none',\n 'right'\n];\n\n// Keywords that start with a number sign (#).\n// #(un)available is handled separately.\nconst numberSignKeywords = [\n '#colorLiteral',\n '#column',\n '#dsohandle',\n '#else',\n '#elseif',\n '#endif',\n '#error',\n '#file',\n '#fileID',\n '#fileLiteral',\n '#filePath',\n '#function',\n '#if',\n '#imageLiteral',\n '#keyPath',\n '#line',\n '#selector',\n '#sourceLocation',\n '#warn_unqualified_access',\n '#warning'\n];\n\n// Global functions in the Standard Library.\nconst builtIns = [\n 'abs',\n 'all',\n 'any',\n 'assert',\n 'assertionFailure',\n 'debugPrint',\n 'dump',\n 'fatalError',\n 'getVaList',\n 'isKnownUniquelyReferenced',\n 'max',\n 'min',\n 'numericCast',\n 'pointwiseMax',\n 'pointwiseMin',\n 'precondition',\n 'preconditionFailure',\n 'print',\n 'readLine',\n 'repeatElement',\n 'sequence',\n 'stride',\n 'swap',\n 'swift_unboxFromSwiftValueWithType',\n 'transcode',\n 'type',\n 'unsafeBitCast',\n 'unsafeDowncast',\n 'withExtendedLifetime',\n 'withUnsafeMutablePointer',\n 'withUnsafePointer',\n 'withVaList',\n 'withoutActuallyEscaping',\n 'zip'\n];\n\n// Valid first characters for operators.\nconst operatorHead = either(\n /[/=\\-+!*%<>&|^~?]/,\n /[\\u00A1-\\u00A7]/,\n /[\\u00A9\\u00AB]/,\n /[\\u00AC\\u00AE]/,\n /[\\u00B0\\u00B1]/,\n /[\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7]/,\n /[\\u2016-\\u2017]/,\n /[\\u2020-\\u2027]/,\n /[\\u2030-\\u203E]/,\n /[\\u2041-\\u2053]/,\n /[\\u2055-\\u205E]/,\n /[\\u2190-\\u23FF]/,\n /[\\u2500-\\u2775]/,\n /[\\u2794-\\u2BFF]/,\n /[\\u2E00-\\u2E7F]/,\n /[\\u3001-\\u3003]/,\n /[\\u3008-\\u3020]/,\n /[\\u3030]/\n);\n\n// Valid characters for operators.\nconst operatorCharacter = either(\n operatorHead,\n /[\\u0300-\\u036F]/,\n /[\\u1DC0-\\u1DFF]/,\n /[\\u20D0-\\u20FF]/,\n /[\\uFE00-\\uFE0F]/,\n /[\\uFE20-\\uFE2F]/\n // TODO: The following characters are also allowed, but the regex isn't supported yet.\n // /[\\u{E0100}-\\u{E01EF}]/u\n);\n\n// Valid operator.\nconst operator = concat(operatorHead, operatorCharacter, '*');\n\n// Valid first characters for identifiers.\nconst identifierHead = either(\n /[a-zA-Z_]/,\n /[\\u00A8\\u00AA\\u00AD\\u00AF\\u00B2-\\u00B5\\u00B7-\\u00BA]/,\n /[\\u00BC-\\u00BE\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u00FF]/,\n /[\\u0100-\\u02FF\\u0370-\\u167F\\u1681-\\u180D\\u180F-\\u1DBF]/,\n /[\\u1E00-\\u1FFF]/,\n /[\\u200B-\\u200D\\u202A-\\u202E\\u203F-\\u2040\\u2054\\u2060-\\u206F]/,\n /[\\u2070-\\u20CF\\u2100-\\u218F\\u2460-\\u24FF\\u2776-\\u2793]/,\n /[\\u2C00-\\u2DFF\\u2E80-\\u2FFF]/,\n /[\\u3004-\\u3007\\u3021-\\u302F\\u3031-\\u303F\\u3040-\\uD7FF]/,\n /[\\uF900-\\uFD3D\\uFD40-\\uFDCF\\uFDF0-\\uFE1F\\uFE30-\\uFE44]/,\n /[\\uFE47-\\uFEFE\\uFF00-\\uFFFD]/ // Should be /[\\uFE47-\\uFFFD]/, but we have to exclude FEFF.\n // The following characters are also allowed, but the regexes aren't supported yet.\n // /[\\u{10000}-\\u{1FFFD}\\u{20000-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}]/u,\n // /[\\u{50000}-\\u{5FFFD}\\u{60000-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}]/u,\n // /[\\u{90000}-\\u{9FFFD}\\u{A0000-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}]/u,\n // /[\\u{D0000}-\\u{DFFFD}\\u{E0000-\\u{EFFFD}]/u\n);\n\n// Valid characters for identifiers.\nconst identifierCharacter = either(\n identifierHead,\n /\\d/,\n /[\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE20-\\uFE2F]/\n);\n\n// Valid identifier.\nconst identifier = concat(identifierHead, identifierCharacter, '*');\n\n// Valid type identifier.\nconst typeIdentifier = concat(/[A-Z]/, identifierCharacter, '*');\n\n// Built-in attributes, which are highlighted as keywords.\n// @available is handled separately.\nconst keywordAttributes = [\n 'autoclosure',\n concat(/convention\\(/, either('swift', 'block', 'c'), /\\)/),\n 'discardableResult',\n 'dynamicCallable',\n 'dynamicMemberLookup',\n 'escaping',\n 'frozen',\n 'GKInspectable',\n 'IBAction',\n 'IBDesignable',\n 'IBInspectable',\n 'IBOutlet',\n 'IBSegueAction',\n 'inlinable',\n 'main',\n 'nonobjc',\n 'NSApplicationMain',\n 'NSCopying',\n 'NSManaged',\n concat(/objc\\(/, identifier, /\\)/),\n 'objc',\n 'objcMembers',\n 'propertyWrapper',\n 'requires_stored_property_inits',\n 'resultBuilder',\n 'testable',\n 'UIApplicationMain',\n 'unknown',\n 'usableFromInline'\n];\n\n// Contextual keywords used in @available and #(un)available.\nconst availabilityKeywords = [\n 'iOS',\n 'iOSApplicationExtension',\n 'macOS',\n 'macOSApplicationExtension',\n 'macCatalyst',\n 'macCatalystApplicationExtension',\n 'watchOS',\n 'watchOSApplicationExtension',\n 'tvOS',\n 'tvOSApplicationExtension',\n 'swift'\n];\n\n/*\nLanguage: Swift\nDescription: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.\nAuthor: Steven Van Impe <steven.vanimpe@icloud.com>\nContributors: Chris Eidhof <chris@eidhof.nl>, Nate Cook <natecook@gmail.com>, Alexander Lichter <manniL@gmx.net>, Richard Gibson <gibson042@github>\nWebsite: https://swift.org\nCategory: common, system\n*/\n\n/** @type LanguageFn */\nfunction swift(hljs) {\n const WHITESPACE = {\n match: /\\s+/,\n relevance: 0\n };\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411\n const BLOCK_COMMENT = hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n { contains: [ 'self' ] }\n );\n const COMMENTS = [\n hljs.C_LINE_COMMENT_MODE,\n BLOCK_COMMENT\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID413\n // https://docs.swift.org/swift-book/ReferenceManual/zzSummaryOfTheGrammar.html\n const DOT_KEYWORD = {\n match: [\n /\\./,\n either(...dotKeywords, ...optionalDotKeywords)\n ],\n className: { 2: \"keyword\" }\n };\n const KEYWORD_GUARD = {\n // Consume .keyword to prevent highlighting properties and methods as keywords.\n match: concat(/\\./, either(...keywords)),\n relevance: 0\n };\n const PLAIN_KEYWORDS = keywords\n .filter(kw => typeof kw === 'string')\n .concat([ \"_|0\" ]); // seems common, so 0 relevance\n const REGEX_KEYWORDS = keywords\n .filter(kw => typeof kw !== 'string') // find regex\n .concat(keywordTypes)\n .map(keywordWrapper);\n const KEYWORD = { variants: [\n {\n className: 'keyword',\n match: either(...REGEX_KEYWORDS, ...optionalDotKeywords)\n }\n ] };\n // find all the regular keywords\n const KEYWORDS = {\n $pattern: either(\n /\\b\\w+/, // regular keywords\n /#\\w+/ // number keywords\n ),\n keyword: PLAIN_KEYWORDS\n .concat(numberSignKeywords),\n literal: literals\n };\n const KEYWORD_MODES = [\n DOT_KEYWORD,\n KEYWORD_GUARD,\n KEYWORD\n ];\n\n // https://github.com/apple/swift/tree/main/stdlib/public/core\n const BUILT_IN_GUARD = {\n // Consume .built_in to prevent highlighting properties and methods.\n match: concat(/\\./, either(...builtIns)),\n relevance: 0\n };\n const BUILT_IN = {\n className: 'built_in',\n match: concat(/\\b/, either(...builtIns), /(?=\\()/)\n };\n const BUILT_INS = [\n BUILT_IN_GUARD,\n BUILT_IN\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID418\n const OPERATOR_GUARD = {\n // Prevent -> from being highlighting as an operator.\n match: /->/,\n relevance: 0\n };\n const OPERATOR = {\n className: 'operator',\n relevance: 0,\n variants: [\n { match: operator },\n {\n // dot-operator: only operators that start with a dot are allowed to use dots as\n // characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more\n // characters that may also include dots.\n match: `\\\\.(\\\\.|${operatorCharacter})+` }\n ]\n };\n const OPERATORS = [\n OPERATOR_GUARD,\n OPERATOR\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_numeric-literal\n // TODO: Update for leading `-` after lookbehind is supported everywhere\n const decimalDigits = '([0-9]_*)+';\n const hexDigits = '([0-9a-fA-F]_*)+';\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // decimal floating-point-literal (subsumes decimal-literal)\n { match: `\\\\b(${decimalDigits})(\\\\.(${decimalDigits}))?` + `([eE][+-]?(${decimalDigits}))?\\\\b` },\n // hexadecimal floating-point-literal (subsumes hexadecimal-literal)\n { match: `\\\\b0x(${hexDigits})(\\\\.(${hexDigits}))?` + `([pP][+-]?(${decimalDigits}))?\\\\b` },\n // octal-literal\n { match: /\\b0o([0-7]_*)+\\b/ },\n // binary-literal\n { match: /\\b0b([01]_*)+\\b/ }\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_string-literal\n const ESCAPED_CHARACTER = (rawDelimiter = \"\") => ({\n className: 'subst',\n variants: [\n { match: concat(/\\\\/, rawDelimiter, /[0\\\\tnr\"']/) },\n { match: concat(/\\\\/, rawDelimiter, /u\\{[0-9a-fA-F]{1,8}\\}/) }\n ]\n });\n const ESCAPED_NEWLINE = (rawDelimiter = \"\") => ({\n className: 'subst',\n match: concat(/\\\\/, rawDelimiter, /[\\t ]*(?:[\\r\\n]|\\r\\n)/)\n });\n const INTERPOLATION = (rawDelimiter = \"\") => ({\n className: 'subst',\n label: \"interpol\",\n begin: concat(/\\\\/, rawDelimiter, /\\(/),\n end: /\\)/\n });\n const MULTILINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"\"\"/),\n end: concat(/\"\"\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n ESCAPED_NEWLINE(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const SINGLE_LINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"/),\n end: concat(/\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const STRING = {\n className: 'string',\n variants: [\n MULTILINE_STRING(),\n MULTILINE_STRING(\"#\"),\n MULTILINE_STRING(\"##\"),\n MULTILINE_STRING(\"###\"),\n SINGLE_LINE_STRING(),\n SINGLE_LINE_STRING(\"#\"),\n SINGLE_LINE_STRING(\"##\"),\n SINGLE_LINE_STRING(\"###\")\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID412\n const QUOTED_IDENTIFIER = { match: concat(/`/, identifier, /`/) };\n const IMPLICIT_PARAMETER = {\n className: 'variable',\n match: /\\$\\d+/\n };\n const PROPERTY_WRAPPER_PROJECTION = {\n className: 'variable',\n match: `\\\\$${identifierCharacter}+`\n };\n const IDENTIFIERS = [\n QUOTED_IDENTIFIER,\n IMPLICIT_PARAMETER,\n PROPERTY_WRAPPER_PROJECTION\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Attributes.html\n const AVAILABLE_ATTRIBUTE = {\n match: /(@|#(un)?)available/,\n className: \"keyword\",\n starts: { contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: availabilityKeywords,\n contains: [\n ...OPERATORS,\n NUMBER,\n STRING\n ]\n }\n ] }\n };\n const KEYWORD_ATTRIBUTE = {\n className: 'keyword',\n match: concat(/@/, either(...keywordAttributes))\n };\n const USER_DEFINED_ATTRIBUTE = {\n className: 'meta',\n match: concat(/@/, identifier)\n };\n const ATTRIBUTES = [\n AVAILABLE_ATTRIBUTE,\n KEYWORD_ATTRIBUTE,\n USER_DEFINED_ATTRIBUTE\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Types.html\n const TYPE = {\n match: lookahead(/\\b[A-Z]/),\n relevance: 0,\n contains: [\n { // Common Apple frameworks, for relevance boost\n className: 'type',\n match: concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, identifierCharacter, '+')\n },\n { // Type identifier\n className: 'type',\n match: typeIdentifier,\n relevance: 0\n },\n { // Optional type\n match: /[?!]+/,\n relevance: 0\n },\n { // Variadic parameter\n match: /\\.\\.\\./,\n relevance: 0\n },\n { // Protocol composition\n match: concat(/\\s+&\\s+/, lookahead(typeIdentifier)),\n relevance: 0\n }\n ]\n };\n const GENERIC_ARGUMENTS = {\n begin: /</,\n end: />/,\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...ATTRIBUTES,\n OPERATOR_GUARD,\n TYPE\n ]\n };\n TYPE.contains.push(GENERIC_ARGUMENTS);\n\n // https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#ID552\n // Prevents element names from being highlighted as keywords.\n const TUPLE_ELEMENT_NAME = {\n match: concat(identifier, /\\s*:/),\n keywords: \"_|0\",\n relevance: 0\n };\n // Matches tuples as well as the parameter list of a function type.\n const TUPLE = {\n begin: /\\(/,\n end: /\\)/,\n relevance: 0,\n keywords: KEYWORDS,\n contains: [\n 'self',\n TUPLE_ELEMENT_NAME,\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE\n ]\n };\n\n const GENERIC_PARAMETERS = {\n begin: /</,\n end: />/,\n contains: [\n ...COMMENTS,\n TYPE\n ]\n };\n const FUNCTION_PARAMETER_NAME = {\n begin: either(\n lookahead(concat(identifier, /\\s*:/)),\n lookahead(concat(identifier, /\\s+/, identifier, /\\s*:/))\n ),\n end: /:/,\n relevance: 0,\n contains: [\n {\n className: 'keyword',\n match: /\\b_\\b/\n },\n {\n className: 'params',\n match: identifier\n }\n ]\n };\n const FUNCTION_PARAMETERS = {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n FUNCTION_PARAMETER_NAME,\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ],\n endsParent: true,\n illegal: /[\"']/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID362\n const FUNCTION = {\n match: [\n /func/,\n /\\s+/,\n either(QUOTED_IDENTIFIER.match, identifier, operator)\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: [\n /\\[/,\n /%/\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID375\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID379\n const INIT_SUBSCRIPT = {\n match: [\n /\\b(?:subscript|init[?!]?)/,\n /\\s*(?=[<(])/,\n ],\n className: { 1: \"keyword\" },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: /\\[|%/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID380\n const OPERATOR_DECLARATION = {\n match: [\n /operator/,\n /\\s+/,\n operator\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n }\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID550\n const PRECEDENCEGROUP = {\n begin: [\n /precedencegroup/,\n /\\s+/,\n typeIdentifier\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n },\n contains: [ TYPE ],\n keywords: [\n ...precedencegroupKeywords,\n ...literals\n ],\n end: /}/\n };\n\n // Add supported submodes to string interpolation.\n for (const variant of STRING.variants) {\n const interpolation = variant.contains.find(mode => mode.label === \"interpol\");\n // TODO: Interpolation can contain any expression, so there's room for improvement here.\n interpolation.keywords = KEYWORDS;\n const submodes = [\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS\n ];\n interpolation.contains = [\n ...submodes,\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n 'self',\n ...submodes\n ]\n }\n ];\n }\n\n return {\n name: 'Swift',\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n FUNCTION,\n INIT_SUBSCRIPT,\n {\n beginKeywords: 'struct protocol class extension enum actor',\n end: '\\\\{',\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n className: \"title.class\",\n begin: /[A-Za-z$_][\\u00C0-\\u02B80-9A-Za-z$_]*/\n }),\n ...KEYWORD_MODES\n ]\n },\n OPERATOR_DECLARATION,\n PRECEDENCEGROUP,\n {\n beginKeywords: 'import',\n end: /$/,\n contains: [ ...COMMENTS ],\n relevance: 0\n },\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ]\n };\n}\n\nmodule.exports = swift;\n","/*\nLanguage: YAML\nDescription: Yet Another Markdown Language\nAuthor: Stefan Wienert <stwienert@gmail.com>\nContributors: Carl Baxter <carl@cbax.tech>\nRequires: ruby.js\nWebsite: https://yaml.org\nCategory: common, config\n*/\nfunction yaml(hljs) {\n const LITERALS = 'true false yes no null';\n\n // YAML spec allows non-reserved URI characters in tags.\n const URI_CHARACTERS = '[\\\\w#;/?:@&=+$,.~*\\'()[\\\\]]+';\n\n // Define keys as starting with a word character\n // ...containing word chars, spaces, colons, forward-slashes, hyphens and periods\n // ...and ending with a colon followed immediately by a space, tab or newline.\n // The YAML spec allows for much more than this, but this covers most use-cases.\n const KEY = {\n className: 'attr',\n variants: [\n { begin: '\\\\w[\\\\w :\\\\/.-]*:(?=[ \\t]|$)' },\n { // double quoted keys\n begin: '\"\\\\w[\\\\w :\\\\/.-]*\":(?=[ \\t]|$)' },\n { // single quoted keys\n begin: '\\'\\\\w[\\\\w :\\\\/.-]*\\':(?=[ \\t]|$)' }\n ]\n };\n\n const TEMPLATE_VARIABLES = {\n className: 'template-variable',\n variants: [\n { // jinja templates Ansible\n begin: /\\{\\{/,\n end: /\\}\\}/\n },\n { // Ruby i18n\n begin: /%\\{/,\n end: /\\}/\n }\n ]\n };\n const STRING = {\n className: 'string',\n relevance: 0,\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /\\S+/ }\n ],\n contains: [\n hljs.BACKSLASH_ESCAPE,\n TEMPLATE_VARIABLES\n ]\n };\n\n // Strings inside of value containers (objects) can't contain braces,\n // brackets, or commas\n const CONTAINER_STRING = hljs.inherit(STRING, { variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /[^\\s,{}[\\]]+/ }\n ] });\n\n const DATE_RE = '[0-9]{4}(-[0-9][0-9]){0,2}';\n const TIME_RE = '([Tt \\\\t][0-9][0-9]?(:[0-9][0-9]){2})?';\n const FRACTION_RE = '(\\\\.[0-9]*)?';\n const ZONE_RE = '([ \\\\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?';\n const TIMESTAMP = {\n className: 'number',\n begin: '\\\\b' + DATE_RE + TIME_RE + FRACTION_RE + ZONE_RE + '\\\\b'\n };\n\n const VALUE_CONTAINER = {\n end: ',',\n endsWithParent: true,\n excludeEnd: true,\n keywords: LITERALS,\n relevance: 0\n };\n const OBJECT = {\n begin: /\\{/,\n end: /\\}/,\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n const ARRAY = {\n begin: '\\\\[',\n end: '\\\\]',\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n\n const MODES = [\n KEY,\n {\n className: 'meta',\n begin: '^---\\\\s*$',\n relevance: 10\n },\n { // multi line string\n // Blocks start with a | or > followed by a newline\n //\n // Indentation of subsequent lines must be the same to\n // be considered part of the block\n className: 'string',\n begin: '[\\\\|>]([1-9]?[+-])?[ ]*\\\\n( +)[^ ][^\\\\n]*\\\\n(\\\\2[^\\\\n]+\\\\n?)*'\n },\n { // Ruby/Rails erb\n begin: '<%[%=-]?',\n end: '[%-]?%>',\n subLanguage: 'ruby',\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n { // named tags\n className: 'type',\n begin: '!\\\\w+!' + URI_CHARACTERS\n },\n // https://yaml.org/spec/1.2/spec.html#id2784064\n { // verbatim tags\n className: 'type',\n begin: '!<' + URI_CHARACTERS + \">\"\n },\n { // primary tags\n className: 'type',\n begin: '!' + URI_CHARACTERS\n },\n { // secondary tags\n className: 'type',\n begin: '!!' + URI_CHARACTERS\n },\n { // fragment id &ref\n className: 'meta',\n begin: '&' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // fragment reference *ref\n className: 'meta',\n begin: '\\\\*' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // array listing\n className: 'bullet',\n // TODO: remove |$ hack when we have proper look-ahead support\n begin: '-(?=[ ]|$)',\n relevance: 0\n },\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: LITERALS,\n keywords: { literal: LITERALS }\n },\n TIMESTAMP,\n // numbers are any valid C-style number that\n // sit isolated from other words\n {\n className: 'number',\n begin: hljs.C_NUMBER_RE + '\\\\b',\n relevance: 0\n },\n OBJECT,\n ARRAY,\n STRING\n ];\n\n const VALUE_MODES = [ ...MODES ];\n VALUE_MODES.pop();\n VALUE_MODES.push(CONTAINER_STRING);\n VALUE_CONTAINER.contains = VALUE_MODES;\n\n return {\n name: 'YAML',\n case_insensitive: true,\n aliases: [ 'yml' ],\n contains: MODES\n };\n}\n\nmodule.exports = yaml;\n","const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\nconst KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_IN_VARIABLES = [\n \"arguments\",\n \"this\",\n \"super\",\n \"console\",\n \"window\",\n \"document\",\n \"localStorage\",\n \"module\",\n \"global\" // Node.js\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: JavaScript\nDescription: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.\nCategory: common, scripting, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n*/\n\n/** @type LanguageFn */\nfunction javascript(hljs) {\n const regex = hljs.regex;\n /**\n * Takes a string like \"<Booger\" and checks to see\n * if we can find a matching \"</Booger\" later in the\n * content.\n * @param {RegExpMatchArray} match\n * @param {{after:number}} param1\n */\n const hasClosingTag = (match, { after }) => {\n const tag = \"</\" + match[0].slice(1);\n const pos = match.input.indexOf(tag, after);\n return pos !== -1;\n };\n\n const IDENT_RE$1 = IDENT_RE;\n const FRAGMENT = {\n begin: '<>',\n end: '</>'\n };\n // to avoid some special cases inside isTrulyOpeningTag\n const XML_SELF_CLOSING = /<[A-Za-z0-9\\\\._:-]+\\s*\\/>/;\n const XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,\n /**\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n isTrulyOpeningTag: (match, response) => {\n const afterMatchIndex = match[0].length + match.index;\n const nextChar = match.input[afterMatchIndex];\n if (\n // HTML should not include another raw `<` inside a tag\n // nested type?\n // `<Array<Array<number>>`, etc.\n nextChar === \"<\" ||\n // the , gives away that this is not HTML\n // `<T, A extends keyof T, V>`\n nextChar === \",\") {\n response.ignoreMatch();\n return;\n }\n\n // `<something>`\n // Quite possibly a tag, lets look for a matching closing tag...\n if (nextChar === \">\") {\n // if we cannot find a matching closing tag, then we\n // will ignore it\n if (!hasClosingTag(match, { after: afterMatchIndex })) {\n response.ignoreMatch();\n }\n }\n\n // `<blah />` (self-closing)\n // handled by simpleSelfClosing rule\n\n // `<From extends string>`\n // technically this could be HTML, but it smells like a type\n let m;\n const afterMatch = match.input.substring(afterMatchIndex);\n // NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276\n if ((m = afterMatch.match(/^\\s+extends\\s+/))) {\n if (m.index === 0) {\n response.ignoreMatch();\n // eslint-disable-next-line no-useless-return\n return;\n }\n }\n }\n };\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS,\n literal: LITERALS,\n built_in: BUILT_INS,\n \"variable.language\": BUILT_IN_VARIABLES\n };\n\n // https://tc39.es/ecma262/#sec-literals-numeric-literals\n const decimalDigits = '[0-9](_?[0-9])*';\n const frac = `\\\\.(${decimalDigits})`;\n // DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;\n const NUMBER = {\n className: 'number',\n variants: [\n // DecimalLiteral\n { begin: `(\\\\b(${decimalInteger})((${frac})|\\\\.)?|(${frac}))` +\n `[eE][+-]?(${decimalDigits})\\\\b` },\n { begin: `\\\\b(${decimalInteger})\\\\b((${frac})\\\\b|\\\\.)?|(${frac})\\\\b` },\n\n // DecimalBigIntegerLiteral\n { begin: `\\\\b(0|[1-9](_?[0-9])*)n\\\\b` },\n\n // NonDecimalIntegerLiteral\n { begin: \"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\" },\n { begin: \"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\" },\n { begin: \"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\" },\n\n // LegacyOctalIntegerLiteral (does not include underscore separators)\n // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals\n { begin: \"\\\\b0[0-7]+n?\\\\b\" },\n ],\n relevance: 0\n };\n\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS$1,\n contains: [] // defined later\n };\n const HTML_TEMPLATE = {\n begin: 'html`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml'\n }\n };\n const CSS_TEMPLATE = {\n begin: 'css`',\n end: '',\n starts: {\n end: '`',\n returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css'\n }\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n const JSDOC_COMMENT = hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n '\\\\*/',\n {\n relevance: 0,\n contains: [\n {\n begin: '(?=@[A-Za-z]+)',\n relevance: 0,\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n },\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n excludeEnd: true,\n excludeBegin: true,\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE$1 + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n }\n ]\n }\n ]\n }\n );\n const COMMENT = {\n className: \"comment\",\n variants: [\n JSDOC_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]\n };\n const SUBST_INTERNALS = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n NUMBER,\n // This is intentional:\n // See https://github.com/highlightjs/highlight.js/issues/3288\n // hljs.REGEXP_MODE\n ];\n SUBST.contains = SUBST_INTERNALS\n .concat({\n // we need to pair up {} inside our subst to prevent\n // it from ending too early by matching another }\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1,\n contains: [\n \"self\"\n ].concat(SUBST_INTERNALS)\n });\n const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);\n const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([\n // eat recursive parens in sub expressions\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [\"self\"].concat(SUBST_AND_COMMENTS)\n }\n ]);\n const PARAMS = {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n };\n\n // ES6 classes\n const CLASS_OR_EXTENDS = {\n variants: [\n // class Car extends vehicle\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1,\n /\\s+/,\n /extends/,\n /\\s+/,\n regex.concat(IDENT_RE$1, \"(\", regex.concat(/\\./, IDENT_RE$1), \")*\")\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 5: \"keyword\",\n 7: \"title.class.inherited\"\n }\n },\n // class Car\n {\n match: [\n /class/,\n /\\s+/,\n IDENT_RE$1\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n\n ]\n };\n\n const CLASS_REFERENCE = {\n relevance: 0,\n match:\n regex.either(\n // Hard coded exceptions\n /\\bJSON/,\n // Float32Array, OutT\n /\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,\n // CSSFactory, CSSFactoryT\n /\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,\n // FPs, FPsT\n /\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/,\n // P\n // single letters are not highlighted\n // BLAH\n // this will be flagged as a UPPER_CASE_CONSTANT instead\n ),\n className: \"title.class\",\n keywords: {\n _: [\n // se we still get relevance credit for JS library classes\n ...TYPES,\n ...ERROR_TYPES\n ]\n }\n };\n\n const USE_STRICT = {\n label: \"use_strict\",\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n };\n\n const FUNCTION_DEFINITION = {\n variants: [\n {\n match: [\n /function/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\s*\\()/\n ]\n },\n // anonymous function\n {\n match: [\n /function/,\n /\\s*(?=\\()/\n ]\n }\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n label: \"func.def\",\n contains: [ PARAMS ],\n illegal: /%/\n };\n\n const UPPER_CASE_CONSTANT = {\n relevance: 0,\n match: /\\b[A-Z][A-Z_0-9]+\\b/,\n className: \"variable.constant\"\n };\n\n function noneOf(list) {\n return regex.concat(\"(?!\", list.join(\"|\"), \")\");\n }\n\n const FUNCTION_CALL = {\n match: regex.concat(\n /\\b/,\n noneOf([\n ...BUILT_IN_GLOBALS,\n \"super\"\n ]),\n IDENT_RE$1, regex.lookahead(/\\(/)),\n className: \"title.function\",\n relevance: 0\n };\n\n const PROPERTY_ACCESS = {\n begin: regex.concat(/\\./, regex.lookahead(\n regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)\n )),\n end: IDENT_RE$1,\n excludeBegin: true,\n keywords: \"prototype\",\n className: \"property\",\n relevance: 0\n };\n\n const GETTER_OR_SETTER = {\n match: [\n /get|set/,\n /\\s+/,\n IDENT_RE$1,\n /(?=\\()/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n { // eat to avoid empty params\n begin: /\\(\\)/\n },\n PARAMS\n ]\n };\n\n const FUNC_LEAD_IN_RE = '(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\\\s*=>';\n\n const FUNCTION_VARIABLE = {\n match: [\n /const|var|let/, /\\s+/,\n IDENT_RE$1, /\\s*/,\n /=\\s*/,\n /(async\\s*)?/, // async is optional\n regex.lookahead(FUNC_LEAD_IN_RE)\n ],\n keywords: \"async\",\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n PARAMS\n ]\n };\n\n return {\n name: 'Javascript',\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS$1,\n // this will be extended by TypeScript\n exports: { PARAMS_CONTAINS, CLASS_REFERENCE },\n illegal: /#(?![$_A-z])/,\n contains: [\n hljs.SHEBANG({\n label: \"shebang\",\n binary: \"node\",\n relevance: 5\n }),\n USE_STRICT,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n COMMENT,\n NUMBER,\n CLASS_REFERENCE,\n {\n className: 'attr',\n begin: IDENT_RE$1 + regex.lookahead(':'),\n relevance: 0\n },\n FUNCTION_VARIABLE,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n relevance: 0,\n contains: [\n COMMENT,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n // we have to count the parens to make sure we actually have the\n // correct bounding ( ) before the =>. There could be any number of\n // sub-expressions inside also surrounded by parens.\n begin: FUNC_LEAD_IN_RE,\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n className: null,\n begin: /\\(\\s*\\)/,\n skip: true\n },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS$1,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n { // could be a comma delimited list of params to a function call\n begin: /,/,\n relevance: 0\n },\n {\n match: /\\s+/,\n relevance: 0\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { match: XML_SELF_CLOSING },\n {\n begin: XML_TAG.begin,\n // we carefully check the opening tag to see if it truly\n // is a tag and not a false positive\n 'on:begin': XML_TAG.isTrulyOpeningTag,\n end: XML_TAG.end\n }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin,\n end: XML_TAG.end,\n skip: true,\n contains: ['self']\n }\n ]\n }\n ],\n },\n FUNCTION_DEFINITION,\n {\n // prevent this from getting swallowed up by function\n // since they appear \"function like\"\n beginKeywords: \"while if switch catch for\"\n },\n {\n // we have to count the parens to make sure we actually have the correct\n // bounding ( ). There could be any number of sub-expressions inside\n // also surrounded by parens.\n begin: '\\\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +\n '\\\\(' + // first parens\n '[^()]*(\\\\(' +\n '[^()]*(\\\\(' +\n '[^()]*' +\n '\\\\)[^()]*)*' +\n '\\\\)[^()]*)*' +\n '\\\\)\\\\s*\\\\{', // end parens\n returnBegin:true,\n label: \"func.def\",\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: \"title.function\" })\n ]\n },\n // catch ... so it won't trigger the property rule below\n {\n match: /\\.\\.\\./,\n relevance: 0\n },\n PROPERTY_ACCESS,\n // hack: prevents detection of keywords in some circumstances\n // .keyword()\n // $keyword = x\n {\n match: '\\\\$' + IDENT_RE$1,\n relevance: 0\n },\n {\n match: [ /\\bconstructor(?=\\s*\\()/ ],\n className: { 1: \"title.function\" },\n contains: [ PARAMS ]\n },\n FUNCTION_CALL,\n UPPER_CASE_CONSTANT,\n CLASS_OR_EXTENDS,\n GETTER_OR_SETTER,\n {\n match: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n }\n ]\n };\n}\n\n/*\nLanguage: TypeScript\nAuthor: Panu Horsmalahti <panu.horsmalahti@iki.fi>\nContributors: Ike Ku <dempfi@yahoo.com>\nDescription: TypeScript is a strict superset of JavaScript\nWebsite: https://www.typescriptlang.org\nCategory: common, scripting\n*/\n\n/** @type LanguageFn */\nfunction typescript(hljs) {\n const tsLanguage = javascript(hljs);\n\n const IDENT_RE$1 = IDENT_RE;\n const TYPES = [\n \"any\",\n \"void\",\n \"number\",\n \"boolean\",\n \"string\",\n \"object\",\n \"never\",\n \"symbol\",\n \"bigint\",\n \"unknown\"\n ];\n const NAMESPACE = {\n beginKeywords: 'namespace',\n end: /\\{/,\n excludeEnd: true,\n contains: [ tsLanguage.exports.CLASS_REFERENCE ]\n };\n const INTERFACE = {\n beginKeywords: 'interface',\n end: /\\{/,\n excludeEnd: true,\n keywords: {\n keyword: 'interface extends',\n built_in: TYPES\n },\n contains: [ tsLanguage.exports.CLASS_REFERENCE ]\n };\n const USE_STRICT = {\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use strict['\"]/\n };\n const TS_SPECIFIC_KEYWORDS = [\n \"type\",\n \"namespace\",\n \"interface\",\n \"public\",\n \"private\",\n \"protected\",\n \"implements\",\n \"declare\",\n \"abstract\",\n \"readonly\",\n \"enum\",\n \"override\"\n ];\n const KEYWORDS$1 = {\n $pattern: IDENT_RE,\n keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),\n literal: LITERALS,\n built_in: BUILT_INS.concat(TYPES),\n \"variable.language\": BUILT_IN_VARIABLES\n };\n const DECORATOR = {\n className: 'meta',\n begin: '@' + IDENT_RE$1,\n };\n\n const swapMode = (mode, label, replacement) => {\n const indx = mode.contains.findIndex(m => m.label === label);\n if (indx === -1) { throw new Error(\"can not find mode to replace\"); }\n\n mode.contains.splice(indx, 1, replacement);\n };\n\n\n // this should update anywhere keywords is used since\n // it will be the same actual JS object\n Object.assign(tsLanguage.keywords, KEYWORDS$1);\n\n tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);\n tsLanguage.contains = tsLanguage.contains.concat([\n DECORATOR,\n NAMESPACE,\n INTERFACE,\n ]);\n\n // TS gets a simpler shebang rule than JS\n swapMode(tsLanguage, \"shebang\", hljs.SHEBANG());\n // JS use strict rule purposely excludes `asm` which makes no sense\n swapMode(tsLanguage, \"use_strict\", USE_STRICT);\n\n const functionDeclaration = tsLanguage.contains.find(m => m.label === \"func.def\");\n functionDeclaration.relevance = 0; // () => {} is more typical in TypeScript\n\n Object.assign(tsLanguage, {\n name: 'TypeScript',\n aliases: [\n 'ts',\n 'tsx'\n ]\n });\n\n return tsLanguage;\n}\n\nmodule.exports = typescript;\n","/*\nLanguage: Visual Basic .NET\nDescription: Visual Basic .NET (VB.NET) is a multi-paradigm, object-oriented programming language, implemented on the .NET Framework.\nAuthors: Poren Chiang <ren.chiang@gmail.com>, Jan Pilzer\nWebsite: https://docs.microsoft.com/dotnet/visual-basic/getting-started\nCategory: common\n*/\n\n/** @type LanguageFn */\nfunction vbnet(hljs) {\n const regex = hljs.regex;\n /**\n * Character Literal\n * Either a single character (\"a\"C) or an escaped double quote (\"\"\"\"C).\n */\n const CHARACTER = {\n className: 'string',\n begin: /\"(\"\"|[^/n])\"C\\b/\n };\n\n const STRING = {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n illegal: /\\n/,\n contains: [\n {\n // double quote escape\n begin: /\"\"/ }\n ]\n };\n\n /** Date Literals consist of a date, a time, or both separated by whitespace, surrounded by # */\n const MM_DD_YYYY = /\\d{1,2}\\/\\d{1,2}\\/\\d{4}/;\n const YYYY_MM_DD = /\\d{4}-\\d{1,2}-\\d{1,2}/;\n const TIME_12H = /(\\d|1[012])(:\\d+){0,2} *(AM|PM)/;\n const TIME_24H = /\\d{1,2}(:\\d{1,2}){1,2}/;\n const DATE = {\n className: 'literal',\n variants: [\n {\n // #YYYY-MM-DD# (ISO-Date) or #M/D/YYYY# (US-Date)\n begin: regex.concat(/# */, regex.either(YYYY_MM_DD, MM_DD_YYYY), / *#/) },\n {\n // #H:mm[:ss]# (24h Time)\n begin: regex.concat(/# */, TIME_24H, / *#/) },\n {\n // #h[:mm[:ss]] A# (12h Time)\n begin: regex.concat(/# */, TIME_12H, / *#/) },\n {\n // date plus time\n begin: regex.concat(\n /# */,\n regex.either(YYYY_MM_DD, MM_DD_YYYY),\n / +/,\n regex.either(TIME_12H, TIME_24H),\n / *#/\n ) }\n ]\n };\n\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n {\n // Float\n begin: /\\b\\d[\\d_]*((\\.[\\d_]+(E[+-]?[\\d_]+)?)|(E[+-]?[\\d_]+))[RFD@!#]?/ },\n {\n // Integer (base 10)\n begin: /\\b\\d[\\d_]*((U?[SIL])|[%&])?/ },\n {\n // Integer (base 16)\n begin: /&H[\\dA-F_]+((U?[SIL])|[%&])?/ },\n {\n // Integer (base 8)\n begin: /&O[0-7_]+((U?[SIL])|[%&])?/ },\n {\n // Integer (base 2)\n begin: /&B[01_]+((U?[SIL])|[%&])?/ }\n ]\n };\n\n const LABEL = {\n className: 'label',\n begin: /^\\w+:/\n };\n\n const DOC_COMMENT = hljs.COMMENT(/'''/, /$/, { contains: [\n {\n className: 'doctag',\n begin: /<\\/?/,\n end: />/\n }\n ] });\n\n const COMMENT = hljs.COMMENT(null, /$/, { variants: [\n { begin: /'/ },\n {\n // TODO: Use multi-class for leading spaces\n begin: /([\\t ]|^)REM(?=\\s)/ }\n ] });\n\n const DIRECTIVES = {\n className: 'meta',\n // TODO: Use multi-class for indentation once available\n begin: /[\\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\\b/,\n end: /$/,\n keywords: { keyword:\n 'const disable else elseif enable end externalsource if region then' },\n contains: [ COMMENT ]\n };\n\n return {\n name: 'Visual Basic .NET',\n aliases: [ 'vb' ],\n case_insensitive: true,\n classNameAliases: { label: 'symbol' },\n keywords: {\n keyword:\n 'addhandler alias aggregate ansi as async assembly auto binary by byref byval ' /* a-b */\n + 'call case catch class compare const continue custom declare default delegate dim distinct do ' /* c-d */\n + 'each equals else elseif end enum erase error event exit explicit finally for friend from function ' /* e-f */\n + 'get global goto group handles if implements imports in inherits interface into iterator ' /* g-i */\n + 'join key let lib loop me mid module mustinherit mustoverride mybase myclass ' /* j-m */\n + 'namespace narrowing new next notinheritable notoverridable ' /* n */\n + 'of off on operator option optional order overloads overridable overrides ' /* o */\n + 'paramarray partial preserve private property protected public ' /* p */\n + 'raiseevent readonly redim removehandler resume return ' /* r */\n + 'select set shadows shared skip static step stop structure strict sub synclock ' /* s */\n + 'take text then throw to try unicode until using when where while widening with withevents writeonly yield' /* t-y */,\n built_in:\n // Operators https://docs.microsoft.com/dotnet/visual-basic/language-reference/operators\n 'addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor '\n // Type Conversion Functions https://docs.microsoft.com/dotnet/visual-basic/language-reference/functions/type-conversion-functions\n + 'cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort',\n type:\n // Data types https://docs.microsoft.com/dotnet/visual-basic/language-reference/data-types\n 'boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort',\n literal: 'true false nothing'\n },\n illegal:\n '//|\\\\{|\\\\}|endif|gosub|variant|wend|^\\\\$ ' /* reserved deprecated keywords */,\n contains: [\n CHARACTER,\n STRING,\n DATE,\n NUMBER,\n LABEL,\n DOC_COMMENT,\n COMMENT,\n DIRECTIVES\n ]\n };\n}\n\nmodule.exports = vbnet;\n","/*\nLanguage: WebAssembly\nWebsite: https://webassembly.org\nDescription: Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.\nCategory: web, common\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction wasm(hljs) {\n hljs.regex;\n const BLOCK_COMMENT = hljs.COMMENT(/\\(;/, /;\\)/);\n BLOCK_COMMENT.contains.push(\"self\");\n const LINE_COMMENT = hljs.COMMENT(/;;/, /$/);\n\n const KWS = [\n \"anyfunc\",\n \"block\",\n \"br\",\n \"br_if\",\n \"br_table\",\n \"call\",\n \"call_indirect\",\n \"data\",\n \"drop\",\n \"elem\",\n \"else\",\n \"end\",\n \"export\",\n \"func\",\n \"global.get\",\n \"global.set\",\n \"local.get\",\n \"local.set\",\n \"local.tee\",\n \"get_global\",\n \"get_local\",\n \"global\",\n \"if\",\n \"import\",\n \"local\",\n \"loop\",\n \"memory\",\n \"memory.grow\",\n \"memory.size\",\n \"module\",\n \"mut\",\n \"nop\",\n \"offset\",\n \"param\",\n \"result\",\n \"return\",\n \"select\",\n \"set_global\",\n \"set_local\",\n \"start\",\n \"table\",\n \"tee_local\",\n \"then\",\n \"type\",\n \"unreachable\"\n ];\n\n const FUNCTION_REFERENCE = {\n begin: [\n /(?:func|call|call_indirect)/,\n /\\s+/,\n /\\$[^\\s)]+/\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n };\n\n const ARGUMENT = {\n className: \"variable\",\n begin: /\\$[\\w_]+/\n };\n\n const PARENS = {\n match: /(\\((?!;)|\\))+/,\n className: \"punctuation\",\n relevance: 0\n };\n\n const NUMBER = {\n className: \"number\",\n relevance: 0,\n // borrowed from Prism, TODO: split out into variants\n match: /[+-]?\\b(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][+-]?\\d(?:_?\\d)*)?|0x[\\da-fA-F](?:_?[\\da-fA-F])*(?:\\.[\\da-fA-F](?:_?[\\da-fA-D])*)?(?:[pP][+-]?\\d(?:_?\\d)*)?)\\b|\\binf\\b|\\bnan(?::0x[\\da-fA-F](?:_?[\\da-fA-D])*)?\\b/\n };\n\n const TYPE = {\n // look-ahead prevents us from gobbling up opcodes\n match: /(i32|i64|f32|f64)(?!\\.)/,\n className: \"type\"\n };\n\n const MATH_OPERATIONS = {\n className: \"keyword\",\n // borrowed from Prism, TODO: split out into variants\n match: /\\b(f32|f64|i32|i64)(?:\\.(?:abs|add|and|ceil|clz|const|convert_[su]\\/i(?:32|64)|copysign|ctz|demote\\/f64|div(?:_[su])?|eqz?|extend_[su]\\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\\/f32|reinterpret\\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\\/f(?:32|64))?|wrap\\/i64|xor))\\b/\n };\n\n const OFFSET_ALIGN = {\n match: [\n /(?:offset|align)/,\n /\\s*/,\n /=/\n ],\n className: {\n 1: \"keyword\",\n 3: \"operator\"\n }\n };\n\n return {\n name: 'WebAssembly',\n keywords: {\n $pattern: /[\\w.]+/,\n keyword: KWS\n },\n contains: [\n LINE_COMMENT,\n BLOCK_COMMENT,\n OFFSET_ALIGN,\n ARGUMENT,\n PARENS,\n FUNCTION_REFERENCE,\n hljs.QUOTE_STRING_MODE,\n TYPE,\n MATH_OPERATIONS,\n NUMBER\n ]\n };\n}\n\nmodule.exports = wasm;\n","var hljs = require('./core');\n\nhljs.registerLanguage('xml', require('./languages/xml'));\nhljs.registerLanguage('bash', require('./languages/bash'));\nhljs.registerLanguage('c', require('./languages/c'));\nhljs.registerLanguage('cpp', require('./languages/cpp'));\nhljs.registerLanguage('csharp', require('./languages/csharp'));\nhljs.registerLanguage('css', require('./languages/css'));\nhljs.registerLanguage('markdown', require('./languages/markdown'));\nhljs.registerLanguage('diff', require('./languages/diff'));\nhljs.registerLanguage('ruby', require('./languages/ruby'));\nhljs.registerLanguage('go', require('./languages/go'));\nhljs.registerLanguage('graphql', require('./languages/graphql'));\nhljs.registerLanguage('ini', require('./languages/ini'));\nhljs.registerLanguage('java', require('./languages/java'));\nhljs.registerLanguage('javascript', require('./languages/javascript'));\nhljs.registerLanguage('json', require('./languages/json'));\nhljs.registerLanguage('kotlin', require('./languages/kotlin'));\nhljs.registerLanguage('less', require('./languages/less'));\nhljs.registerLanguage('lua', require('./languages/lua'));\nhljs.registerLanguage('makefile', require('./languages/makefile'));\nhljs.registerLanguage('perl', require('./languages/perl'));\nhljs.registerLanguage('objectivec', require('./languages/objectivec'));\nhljs.registerLanguage('php', require('./languages/php'));\nhljs.registerLanguage('php-template', require('./languages/php-template'));\nhljs.registerLanguage('plaintext', require('./languages/plaintext'));\nhljs.registerLanguage('python', require('./languages/python'));\nhljs.registerLanguage('python-repl', require('./languages/python-repl'));\nhljs.registerLanguage('r', require('./languages/r'));\nhljs.registerLanguage('rust', require('./languages/rust'));\nhljs.registerLanguage('scss', require('./languages/scss'));\nhljs.registerLanguage('shell', require('./languages/shell'));\nhljs.registerLanguage('sql', require('./languages/sql'));\nhljs.registerLanguage('swift', require('./languages/swift'));\nhljs.registerLanguage('yaml', require('./languages/yaml'));\nhljs.registerLanguage('typescript', require('./languages/typescript'));\nhljs.registerLanguage('vbnet', require('./languages/vbnet'));\nhljs.registerLanguage('wasm', require('./languages/wasm'));\n\nhljs.HighlightJS = hljs\nhljs.default = hljs\nmodule.exports = hljs;","import MarkdownIt from 'markdown-it'\nimport { Parser as HTMLParser } from 'htmlparser2'\nimport { encode as encodeHTML } from 'html-entities'\nimport hljs from 'highlight.js/lib/common'\nimport { facePlugin, linkifyAdditionPlugin } from './parserCommon'\n\nconst markdownIt = new MarkdownIt({\n html: true,\n breaks: true,\n linkify: true,\n highlight(str, language) {\n if (language && hljs.getLanguage(language)) {\n try {\n return hljs.highlight(str, { language }).value\n }\n catch (__) {\n // if error, just run as not renderd.\n }\n }\n return '' // use external default escaping\n },\n})\n .use(linkifyAdditionPlugin)\n .use(facePlugin)\n\ninterface MarkdownItEnv {\n last: {\n level: number\n url: URL\n }[]\n}\n\nconst DRlink_open\n = markdownIt.renderer.rules.link_open\n || function (tokens, idx, options, env, self) {\n return self.renderToken(tokens, idx, options)\n }\n\nmarkdownIt.renderer.rules.link_open = function (tokens, idx, options, env: MarkdownItEnv, self) {\n const link = tokens[idx].attrGet('href')\n if (link && !(tokens[idx + 1].type === 'text' && tokens[idx + 1].content.trim() === link)) {\n env.last.push({\n level: tokens[idx].level,\n url: new URL(link),\n })\n }\n return DRlink_open(tokens, idx, options, env, self)\n}\n\nconst DRlink_close\n = markdownIt.renderer.rules.link_close\n || function (tokens, idx, options, env, self) {\n return self.renderToken(tokens, idx, options)\n }\n\nmarkdownIt.renderer.rules.link_close = function (tokens, idx, options, env: MarkdownItEnv, self) {\n return (\n env.last.reduce((pv: string | undefined, cv, index) => {\n if (tokens[idx].level === cv.level) {\n const str = `<span class=\"text-xs text-gray-600 dark:text-gray-300\">[${cv.url.hostname.replace(\n /^www./,\n '',\n )}]</span>`\n env.last.splice(index, 1)\n return DRlink_close(tokens, idx, options, env, self) + str\n }\n return pv\n }, undefined) || DRlink_close(tokens, idx, options, env, self)\n )\n}\n\nconst allowedTags = [\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'h7',\n 'h8',\n 'br',\n 'b',\n 'i',\n 'strong',\n 'em',\n 'a',\n 'pre',\n 'code',\n 'img',\n 'tt',\n 'div',\n 'ins',\n 'del',\n 'sup',\n 'sub',\n 'p',\n 'ol',\n 'ul',\n 'table',\n 'thead',\n 'tbody',\n 'tfoot',\n 'blockquote',\n 'dl',\n 'dt',\n 'dd',\n 'kbd',\n 'q',\n 'samp',\n 'var',\n 'hr',\n 'ruby',\n 'rt',\n 'rp',\n 'li',\n 'tr',\n 'td',\n 'th',\n 's',\n 'strike',\n 'summary',\n 'details',\n 'caption',\n 'figure',\n 'figcaption',\n 'abbr',\n 'bdo',\n 'cite',\n 'dfn',\n 'mark',\n 'small',\n 'span',\n 'time',\n 'wbr',\n]\nconst allowedAttributes = [\n 'abbr',\n 'accept',\n 'accept-charset',\n 'accesskey',\n 'action',\n 'align',\n 'alt',\n 'aria-describedby',\n 'aria-hidden',\n 'aria-label',\n 'aria-labelledby',\n 'axis',\n 'border',\n 'cellpadding',\n 'cellspacing',\n 'char',\n 'charoff',\n 'charset',\n 'checked',\n 'clear',\n 'cols',\n 'colspan',\n 'color',\n 'compact',\n 'coords',\n 'datetime',\n 'dir',\n 'disabled',\n 'enctype',\n 'for',\n 'frame',\n 'headers',\n 'height',\n 'hreflang',\n 'hspace',\n 'ismap',\n 'label',\n 'lang',\n 'maxlength',\n 'media',\n 'method',\n 'multiple',\n 'name',\n 'nohref',\n 'noshade',\n 'nowrap',\n 'open',\n 'progress',\n 'prompt',\n 'readonly',\n 'rel',\n 'rev',\n 'role',\n 'rows',\n 'rowspan',\n 'rules',\n 'scope',\n 'selected',\n 'shape',\n 'size',\n 'span',\n 'start',\n 'summary',\n 'tabindex',\n 'target',\n 'title',\n 'type',\n 'usemap',\n 'valign',\n 'value',\n 'vspace',\n 'width',\n 'itemprop',\n]\nconst voidElements = [\n 'area',\n 'base',\n 'basefont',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'img',\n 'input',\n 'isindex',\n 'keygen',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr',\n]\n\nfunction sanitizeHTML(src: string) {\n const stack: string[] = []\n let result = ''\n const htmlParser = new HTMLParser({\n onopentag(tagName, attribs) {\n if (/^(https?|ftps?|mailto|xmpp|ircs?):$/.test(tagName) && Object.keys(attribs).length === 1) {\n result += `<${tagName}//${Object.keys(attribs).join(' ')}>`\n }\n else if (!allowedTags.includes(tagName.toLowerCase())) {\n result += encodeHTML(\n `<${\n tagName\n }${Object.entries(attribs)\n .map(([k, v]) => ` ${k}=\"${v.replaceAll(/\"/g, '"')}\"`)\n .join('')\n }>`,\n )\n }\n else {\n result += `<${tagName}`\n Object.entries(attribs).forEach(([attrName, attrValue]) => {\n const addAttr = (encode = false) => {\n const v = encode ? attrValue.replaceAll(/\"/g, '"') : attrValue\n result += attrValue ? ` ${attrName}=\"${v}\"` : ` ${attrName}`\n }\n try {\n switch (tagName) {\n case 'a': {\n switch (attrName) {\n case 'href':\n if (new URL(attrValue).protocol.match(/^(https?|ftps?|mailto|xmpp|ircs?):$/))\n addAttr(true)\n break\n }\n break\n }\n case 'img': {\n switch (attrName) {\n case 'src':\n case 'longdesc':\n if (new URL(attrValue).protocol.match(/^(https?):$/))\n addAttr(true)\n break\n }\n break\n }\n case 'div': {\n switch (attrName) {\n case 'itemscope':\n case 'itemtype':\n addAttr()\n }\n break\n }\n case 'blockquote':\n case 'del':\n case 'ins':\n case 'q': {\n switch (attrName) {\n case 'cite':\n if (new URL(attrValue).protocol.match(/^(https?):$/))\n addAttr(true)\n break\n }\n break\n }\n }\n if (allowedAttributes.includes(attrName.toLowerCase()))\n addAttr(true)\n }\n catch (e) {\n // do nothing\n }\n })\n if (voidElements.includes(tagName.toLowerCase())) {\n result += ' />'\n }\n else {\n result += '>'\n stack.push(tagName)\n }\n }\n },\n ontext(data: string) {\n result += data\n // console.log(data)\n },\n onclosetag(tagName) {\n const last = stack[stack.length - 1]\n if (tagName === last) {\n result += `</${tagName}>`\n stack.pop()\n }\n else if (\n !/^(https?|ftps?|mailto|xmpp|ircs?):$/.test(tagName)\n && !voidElements.includes(tagName.toLowerCase())\n ) {\n result += encodeHTML(`</${tagName}>`)\n }\n },\n })\n htmlParser.write(src)\n htmlParser.end()\n return result\n}\n\nexport function render(src: string): string {\n let res\n try {\n res = markdownIt.render(\n sanitizeHTML(src).replace(/\\[\\[表情:(\\p{L}+)\\]\\]/gu, '[[face' /* escape unocss */ + ':$1]]'),\n { last: [] },\n )\n }\n catch (e) {\n console.error(e)\n res = `<div class=\"font-mono\">Error throwed from Markdown parser: ${e}<br />${\n e instanceof Error && e.stack ? e.stack.replaceAll('\\n', '<br />') : String(e)\n }</div>`\n }\n return res\n}\n","<!-- eslint-disable vue/no-v-html -->\n<template>\n <div class=\"overflow-hidden\">\n <div class=\"-my-24\">\n <article\n ref=\"root\"\n class=\"prose dark:prose-invert break-all my-24\"\n :class=\"{ 'text-sm': size === 'sm', 'text-lg': size === 'lg', 'text-xl': size === 'xl' }\"\n v-html=\"html\"\n />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { nextTick, ref, shallowRef, watch } from 'vue'\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { render } from '../libs/parser'\n\nconst props = withDefaults(\n defineProps<{\n text: string\n size?: string\n }>(),\n {\n size: '',\n },\n)\nconst emit = defineEmits<{\n (event: 'htmlChanged'): void\n}>()\n\nconst html = ref('')\nconst waitingForRender = ref(true)\nwatch(props, (p, op) => {\n if (p.text !== op.text)\n waitingForRender.value = true\n})\nconst root = shallowRef<HTMLElement | null>(null)\nuseIntersectionObserver(\n root,\n ([{ isIntersecting }]) => {\n if (isIntersecting && waitingForRender.value) {\n html.value = render(props.text)\n nextTick(() => emit('htmlChanged'))\n waitingForRender.value = false\n }\n },\n { rootMargin: '400px 400px 400px 400px' },\n)\n</script>\n\n<style lang=\"postcss\" scoped>\n@import 'highlight.js/styles/github.css';\n.prose {\n max-width: inherit;\n}\n</style>\n","<template>\n <LayoutDefault>\n <div class=\"md:my-4 xl:my-6 max-w-screen-xl mx-auto\">\n <template v-if=\"playlist\">\n <div class=\"md:ml-4 md:flex justify-start space-x-2 md:space-x-4\">\n <div class=\"flex-shrink-0 flex-grow-0 md:w-80 lt-md:h-30 overflow-hidden\">\n <div class=\"md:aspect-ratio-8/5 lt-md:relative lt-md:top-1/2 lt-md:transform lt-md:-translate-y-1/2\">\n <img\n class=\"inline-block lt-md:w-full md:border-purple-300 md:rounded-xl md:border-2\"\n width=\"320\"\n height=\"200\"\n :src=\"getCoverImage({ image: playlist.item.cover })\"\n >\n </div>\n </div>\n <div class=\"mt-2\">\n <h1 class=\"text-2xl font-semibold\" v-text=\"playlist.item.title\" />\n <div class=\"text-xs sm:text-sm text-gray-800 dark:text-gray-200\">\n {{\n t('playlist.playlist.info.video-count', {\n count: playlist.item.count,\n })\n }}<span v-if=\"playlist.rating\">\n · {{ t('playlist.playlist.info.rating', { rating: playlist.rating.totalRating }) }}</span><span v-if=\"playlist.meta.modifiedAt || playlist.meta.createdAt\">\n ·\n <i18n-t keypath=\"playlist.playlist.info.edit-date\" tag=\"span\"><template #date><RelativeDate :date=\"playlist.meta.modifiedAt ?? playlist.meta.createdAt\" /></template></i18n-t></span>\n </div>\n <div v-if=\"playlist.meta.createdBy\" class=\"mt-2\">\n <RouterLink class=\"flex flex-row items-center\" :to=\"`/user/${playlist.meta.createdBy.id.toHexString()}`\">\n <UserAvatarPopper :uid=\"playlist.meta.createdBy.id.toHexString()\">\n <UserAvatar\n class=\"inline-block w-8 rounded-full\"\n :image=\"playlist.meta.createdBy.image\"\n :gravatar=\"playlist.meta.createdBy.gravatar ?? undefined\"\n hide-title\n />\n </UserAvatarPopper>\n <div class=\"inline-block align-middle pl-2\" v-text=\"playlist.meta.createdBy.username\" />\n </RouterLink>\n </div>\n <div class=\"py-2\">\n <div\n ref=\"descText\"\n class=\"overflow-hidden transform transition-all duration-600 ease-in-out\"\n :style=\"{\n height: expandDesc && descScrollHeight > 0 ? `${descScrollHeight}px` : '96px',\n }\"\n >\n <div ref=\"descBlock\">\n <MarkdownBlock size=\"sm\" :text=\"playlist.item.desc\" @html-changed=\"updateScrollHeight\" />\n </div>\n </div>\n </div>\n <div\n v-if=\"shouldClampDesc || expandDesc\"\n class=\"w-full rounded text-sm text-gray-800 py-0.5 px-1 transition-colors duration-150 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-blue-600\"\n @click=\"expandDesc = !expandDesc\"\n >\n <div class=\"i-uil:arrow-down inline transform\" :class=\"{ 'rotate-180': expandDesc }\" />\n {{ !expandDesc ? t('playlist.playlist.expand') : t('playlist.playlist.collapse') }}\n </div>\n </div>\n </div>\n <div class=\"pt-2 xl:pt-4\">\n <RouterLink\n v-for=\"(video, index) in playlist.videos\"\n :key=\"video.id.toHexString()\"\n :ref=\"index === playlist.videos.length - 4 ? 'observerTarget' : undefined\"\n class=\"flex justify-start space-x-1 md:space-x-2 xl:space-x-3 py-2 xl:py-3 md:px-2 transition-colors duration-150 odd:bg-gray-50 dark:odd:bg-gray-800 hover:bg-purple-50 dark:hover:bg-gray-700 hover:odd:bg-purple-50 dark:hover:odd:bg-gray-700\"\n :to=\"`/video/${video.id.toHexString()}?list=${pid}`\"\n target=\"_blank\"\n >\n <div\n class=\"flex flex-col flex-shrink-0 flex-grow-0 justify-around w-8 self-center items-center text-center md:space-y-1\"\n >\n <div\n v-if=\"playlist.editable\"\n class=\"i-uil:arrow-up md:text-3xl text-gray-400 dark:text-gray-600 transition-colors duration-100 hover:text-blue-600\"\n />\n <div class=\"lt-md:text-xs\" v-text=\"offset + index + 1\" />\n <div\n v-if=\"playlist.editable\"\n class=\"i-uil:arrow-down md:text-3xl text-gray-400 dark:text-gray-600 transition-colors duration-100 hover:text-blue-600\"\n />\n </div>\n <div class=\"flex-shrink-0 flex-grow-0 w-28 md:w-60\">\n <div class=\"aspect-ratio-8/5\">\n <img\n class=\"inline-block rounded-lg border-purple-200 border-2\"\n width=\"240\"\n height=\"150\"\n :src=\"getCoverImage({ image: video.item.coverImage })\"\n >\n </div>\n </div>\n <div class=\"overflow-hidden\">\n <h1\n class=\"text-sm md:text-lg font-semibold lt-md:line-clamp-2 md:truncate\"\n v-text=\"video.item.title\"\n />\n <h2\n v-if=\"video.item.partName\"\n class=\"-mt-1 text-sm text-gray-800 truncate dark:text-gray-200\"\n v-text=\"`P${pageOfVideo(video.item.url)}: ${video.item.partName}`\"\n />\n <div\n v-if=\"screenSizes.md\"\n class=\"mt-1 line-clamp-3 text-sm whitespace-normal\"\n v-text=\"video.item.desc\"\n />\n </div>\n </RouterLink>\n <div v-if=\"fetchingMore\" class=\"flex justify-center pt-4\">\n <div class=\"i-uil:spinner-alt text-2xl animate-spin\" />\n </div>\n </div>\n </template>\n </div>\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, nextTick, ref, shallowRef, watchEffect } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useRoute } from 'vue-router'\nimport { useElementBounding, useIntersectionObserver } from '@vueuse/core'\nimport MarkdownBlock from '@/markdown/components/MarkdownBlock.vue'\nimport UserAvatar from '@/user/components/UserAvatar.vue'\nimport UserAvatarPopper from '@/user/components/UserAvatarPopper.vue'\nimport RelativeDate from '@/date-fns/components/RelativeDate.vue'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query } from '@/graphql'\nimport { getCoverImage } from '@/common/libs/imageUrl'\nimport { pageOfVideo } from '@/video/libs/biliHelper'\nimport { screenSizes } from '@/css'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst { t } = useI18n()\n\nconst observerTarget = shallowRef<HTMLLinkElement | null>(null)\n\n/* submit query */\nconst route = useRoute()\nconst pid = computed(() => route.params.pid as string)\nconst offset = ref(0)\nconst { result, loading, fetchMore } = useQuery<Query>(\n gql`\n query ($pid: String!, $offset: Int!, $limit: Int!) {\n getPlaylist(para: { pid: $pid }) {\n item {\n title\n cover\n count\n desc\n }\n rating {\n totalRating\n }\n videos(offset: $offset, limit: $limit) {\n id\n item {\n title\n partName\n desc\n coverImage\n url\n }\n }\n meta {\n createdBy {\n id\n username\n image\n gravatar\n }\n createdAt\n modifiedAt\n }\n editable\n }\n }\n `,\n {\n pid: pid.value,\n offset: offset.value,\n limit: 20,\n },\n)\n\n/* basic info */\nconst playlist = useResult(result, null, data => data?.getPlaylist)\n// change title\nwatchEffect(() => {\n if (playlist.value)\n setSiteTitle(playlist.value.item.title)\n})\nwatchEffect(() => {\n if (loading.value)\n startProgress()\n else\n stopProgress()\n})\n\nconst fetchingMore = ref(false)\nconst { stop: stopObserver } = useIntersectionObserver(observerTarget, ([{ isIntersecting }]) => {\n if (playlist.value && playlist.value.videos.length >= playlist.value.item.count) {\n stopObserver()\n return\n }\n if (isIntersecting && !fetchingMore.value && playlist.value) {\n fetchingMore.value = true\n fetchMore({\n variables: {\n offset: playlist.value.videos.length,\n },\n // TODO remove it\n updateQuery(previousQueryResult, { fetchMoreResult }) {\n if (!fetchMoreResult)\n return previousQueryResult\n return {\n ...previousQueryResult,\n getPlaylist: {\n ...previousQueryResult.getPlaylist,\n videos: [...previousQueryResult.getPlaylist.videos, ...fetchMoreResult.getPlaylist.videos],\n },\n }\n },\n })?.then((v) => {\n nextTick(() => {\n fetchingMore.value = false\n })\n })\n }\n})\n\nconst descText = shallowRef<HTMLDivElement | null>(null)\nconst descBlock = shallowRef<HTMLDivElement | null>(null)\nconst { height: descBoundingHeight } = useElementBounding(descText)\nconst descScrollHeight = ref(0)\nconst updateScrollHeight = () => {\n descScrollHeight.value = descBlock.value?.scrollHeight || 0\n}\nconst expandDesc = ref(false)\nconst shouldClampDesc = computed(() => descScrollHeight.value > descBoundingHeight.value)\n</script>\n"],"names":["htmlDecodeTree","xmlDecodeTree","_a","decodeMap","fromCodePoint","codePoint","output","replaceCodePoint","CharCodes","BinTrieFlags","determineBranch","decodeTree","current","nodeIdx","char","branchCount","jumpOffset","value","lo","hi","mid","midVal","State","isWhitespace","c","isEndOfTagSection","isNumber","isASCIIAlpha","isHexDigit","QuoteType","Sequences","Tokenizer","xmlMode","decodeEntities","cbs","chunk","isEnd","endOfText","actualIndex","sequence","offset","lower","quote","masked","valueLength","entityStart","strict","endIndex","start","cp","formTags","pTag","tableSectionTags","ddtTags","rtpTags","openImpliesClose","voidElements","foreignContextElements","htmlIntegrationElements","reNameEnd","Parser","options","_b","_c","_d","_e","data","idx","name","impliesClose","el","isImplied","_f","pos","count","isOpenImplied","_g","_h","_j","_k","i","end","str","namedReferences","numericUnicodeMap","surrogatePairs","astralCodePoint","input","position","__assign","this","s","n","p","lib","named_references_1","require$$0","numeric_unicode_map_1","require$$1","surrogate_pairs_1","require$$2","allNamedReferences","encodeRegExps","defaultEncodeOptions","encode","text","mode","numeric","level","encodeRegExp","references","isHex","result_1","code_1","encode_1","defaultDecodeOptions","attribute","baseDecodeRegExps","decodeRegExps","fromCharCode","outOfBoundsChar","defaultDecodeEntityOptions","decodeEntity","entity","decodeResultByReference_1","decodeSecondChar_1","decodeCode_1","decode","scope","decodeRegExp","isAttribute","isStrict","replaceMatch_1","replaceResult_1","replaceLastIndex_1","replaceInput_1","decodeResult_1","decodeEntityLastChar_2","decodeResultByReference_2","decodeSecondChar_2","decodeCode_2","deepFreezeEs6","deepFreeze","obj","prop","Response","escapeHTML","inherit$1","original","objects","result","key","SPAN_CLOSE","emitsWrappingTags","node","scopeToCSSClass","prefix","pieces","x","HTMLRenderer","parseTree","className","newNode","opts","TokenTree","builder","child","TokenTreeEmitter","emitter","source","re","lookahead","concat","anyNumberOfTimes","optional","args","stripOptionsFromArgs","either","countMatchGroups","startsWith","lexeme","match","BACKREF_RE","_rewriteBackreferences","regexps","joinWith","numCaptures","regex","out","MATCH_NOTHING_RE","IDENT_RE","UNDERSCORE_IDENT_RE","NUMBER_RE","C_NUMBER_RE","BINARY_NUMBER_RE","RE_STARTERS_RE","SHEBANG","beginShebang","m","resp","BACKSLASH_ESCAPE","APOS_STRING_MODE","QUOTE_STRING_MODE","PHRASAL_WORDS_MODE","COMMENT","begin","modeOptions","ENGLISH_WORD","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","HASH_COMMENT_MODE","NUMBER_MODE","C_NUMBER_MODE","BINARY_NUMBER_MODE","REGEXP_MODE","TITLE_MODE","UNDERSCORE_TITLE_MODE","METHOD_GUARD","END_SAME_AS_BEGIN","MODES","skipIfHasPrecedingDot","response","scopeClassName","_parent","beginKeywords","parent","compileIllegal","compileMatch","compileRelevance","beforeMatchExt","originalMode","COMMON_KEYWORDS","DEFAULT_KEYWORD_SCOPE","compileKeywords","rawKeywords","caseInsensitive","scopeName","compiledKeywords","compileList","keywordList","keyword","pair","scoreForKeyword","providedScore","commonKeyword","seenDeprecations","error","message","warn","deprecated","version","MultiClassError","remapScopeNames","regexes","scopeNames","emit","positions","beginMultiClass","endMultiClass","scopeSugar","MultiClass","compileLanguage","language","langRe","global","MultiRegex","terminators","matchData","ResumableMultiRegex","index","matcher","m2","buildModeRegex","mm","term","compileMode","cmode","ext","keywordPattern","expandOrCloneMode","dependencyOnParent","variant","HTMLInjectionError","reason","html","escape","inherit","NO_MATCH","MAX_KEYWORD_HITS","HLJS","hljs","languages","aliases","plugins","SAFE_MODE","LANGUAGE_NOT_FOUND","PLAINTEXT_LANGUAGE","shouldNotHighlight","languageName","blockLanguage","block","classes","getLanguage","_class","highlight","codeOrLanguageName","optionsOrCode","ignoreIllegals","code","context","fire","_highlight","codeToHighlight","continuation","keywordHits","keywordData","matchText","processKeywords","top","modeBuffer","lastIndex","buf","word","kind","keywordRelevance","relevance","cssClass","processSubLanguage","continuations","highlightAuto","processBuffer","emitMultiClass","max","klass","startNewMode","endOfMode","matchPlusRemainder","matched","doIgnore","resumeScanAtSamePosition","doBeginMatch","newMode","beforeCallbacks","cb","doEndMatch","endMode","origin","processContinuations","list","item","lastMatch","processLexeme","textBeforeMatch","err","processed","iterations","md","beforeMatch","processedCount","justTextHighlightResult","languageSubset","plaintext","results","autoDetection","sorted","a","b","best","secondBest","updateClassName","element","currentLang","resultLang","highlightElement","configure","userOptions","initHighlighting","highlightAll","initHighlightingOnLoad","wantsHighlight","boot","registerLanguage","languageDefinition","lang","error$1","registerAliases","unregisterLanguage","alias","listLanguages","aliasList","upgradePluginAPI","plugin","addPlugin","event","deprecateHighlightBlock","core","xml","TAG_NAME_RE","XML_IDENT_RE","XML_ENTITIES","XML_META_KEYWORDS","XML_META_PAR_KEYWORDS","APOS_META_STRING_MODE","QUOTE_META_STRING_MODE","TAG_INTERNALS","xml_1","bash","VAR","BRACED_VAR","SUBST","HERE_DOC","QUOTE_STRING","ESCAPED_QUOTE","APOS_STRING","ARITHMETIC","SH_LIKE_SHELLS","KNOWN_SHEBANG","FUNCTION","KEYWORDS","LITERALS","PATH_MODE","SHELL_BUILT_INS","BASH_BUILT_INS","ZSH_BUILT_INS","GNU_CORE_UTILS","bash_1","DECLTYPE_AUTO_RE","NAMESPACE_RE","TEMPLATE_ARGUMENT_RE","FUNCTION_TYPE_RE","TYPES","CHARACTER_ESCAPES","STRINGS","NUMBERS","PREPROCESSOR","FUNCTION_TITLE","EXPRESSION_CONTAINS","EXPRESSION_CONTEXT","FUNCTION_DECLARATION","c_1","cpp","CPP_PRIMITIVE_TYPES","RESERVED_KEYWORDS","RESERVED_TYPES","TYPE_HINTS","FUNCTION_HINTS","CPP_KEYWORDS","FUNCTION_DISPATCH","cpp_1","csharp","BUILT_IN_KEYWORDS","FUNCTION_MODIFIERS","LITERAL_KEYWORDS","NORMAL_KEYWORDS","CONTEXTUAL_KEYWORDS","VERBATIM_STRING","VERBATIM_STRING_NO_LF","SUBST_NO_LF","INTERPOLATED_STRING","INTERPOLATED_VERBATIM_STRING","INTERPOLATED_VERBATIM_STRING_NO_LF","STRING","GENERIC_MODIFIER","TYPE_IDENT_RE","AT_IDENTIFIER","csharp_1","TAGS","MEDIA_FEATURES","PSEUDO_CLASSES","PSEUDO_ELEMENTS","ATTRIBUTES","css","modes","VENDOR_PREFIX","AT_MODIFIERS","AT_PROPERTY_RE","css_1","markdown","INLINE_HTML","HORIZONTAL_RULE","CODE","LIST","LINK_REFERENCE","URL_SCHEME","LINK","BOLD","ITALIC","BOLD_WITHOUT_ITALIC","ITALIC_WITHOUT_BOLD","CONTAINABLE","markdown_1","diff","diff_1","ruby","RUBY_METHOD_RE","CLASS_NAME_RE","CLASS_NAME_WITH_NAMESPACE_RE","RUBY_KEYWORDS","YARDOCTAG","IRB_OBJECT","COMMENT_MODES","decimal","digits","NUMBER","PARAMS","RUBY_DEFAULT_CONTAINS","SIMPLE_PROMPT","DEFAULT_PROMPT","RVM_PROMPT","IRB_DEFAULT","ruby_1","go","go_1","graphql","GQL_NAME","graphql_1","ini","COMMENTS","VARIABLES","ARRAY","BARE_KEY","QUOTED_KEY_DOUBLE_QUOTE","QUOTED_KEY_SINGLE_QUOTE","ANY_KEY","DOTTED_KEY","ini_1","decimalDigits","frac","hexDigits","NUMERIC","recurRegex","substitution","depth","_","java","JAVA_IDENT_RE","GENERIC_IDENT_RE","ANNOTATION","java_1","ERROR_TYPES","BUILT_IN_GLOBALS","BUILT_IN_VARIABLES","BUILT_INS","javascript","hasClosingTag","after","tag","IDENT_RE$1","FRAGMENT","XML_SELF_CLOSING","XML_TAG","afterMatchIndex","nextChar","KEYWORDS$1","decimalInteger","HTML_TEMPLATE","CSS_TEMPLATE","TEMPLATE_STRING","SUBST_INTERNALS","SUBST_AND_COMMENTS","PARAMS_CONTAINS","CLASS_OR_EXTENDS","CLASS_REFERENCE","USE_STRICT","FUNCTION_DEFINITION","UPPER_CASE_CONSTANT","noneOf","FUNCTION_CALL","PROPERTY_ACCESS","GETTER_OR_SETTER","FUNC_LEAD_IN_RE","FUNCTION_VARIABLE","javascript_1","json","ATTRIBUTE","PUNCTUATION","LITERALS_MODE","json_1","kotlin","KEYWORDS_WITH_LABEL","LABEL","VARIABLE","ANNOTATION_USE_SITE","KOTLIN_NUMBER_MODE","KOTLIN_NESTED_COMMENT","KOTLIN_PAREN_TYPE","KOTLIN_PAREN_TYPE2","kotlin_1","PSEUDO_SELECTORS","less","PSEUDO_SELECTORS$1","INTERP_IDENT_RE","RULES","VALUE_MODES","STRING_MODE","IDENT_MODE","AT_KEYWORDS","PARENS_MODE","VALUE_WITH_RULESETS","MIXIN_GUARD_MODE","RULE_MODE","AT_RULE_MODE","VAR_RULE_MODE","SELECTOR_MODE","PSEUDO_SELECTOR_MODE","less_1","lua","OPENING_LONG_BRACKET","CLOSING_LONG_BRACKET","LONG_BRACKETS","lua_1","makefile","FUNC","ASSIGNMENT","META","TARGET","makefile_1","perl","REGEX_MODIFIERS","PERL_KEYWORDS","METHOD","STRING_CONTAINS","REGEX_DELIMS","PAIRED_DOUBLE_RE","open","close","middle","PAIRED_RE","PERL_DEFAULT_CONTAINS","perl_1","objectivec","API_CLASS","IDENTIFIER_RE","CLASS_KEYWORDS","objectivec_1","php","NOT_PERL_ETC","PASCAL_CASE_CLASS_NAME_RE","SINGLE_QUOTED","DOUBLE_QUOTED","HEREDOC","WHITESPACE","KWS","items","normalizeKeywords","CONSTRUCTOR_CALL","CONSTANT_REFERENCE","LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON","NAMED_ARGUMENT","PARAMS_MODE","FUNCTION_INVOKE","ATTRIBUTE_CONTAINS","php_1","phpTemplate","phpTemplate_1","plaintext_1","python","RESERVED_WORDS","PROMPT","LITERAL_BRACKET","digitpart","pointfloat","COMMENT_TYPE","python_1","pythonRepl","pythonRepl_1","r","NUMBER_TYPES_RE","OPERATORS_RE","PUNCTUATION_RE","r_1","rust","NUMBER_SUFFIX","BUILTINS","rust_1","scss","PSEUDO_ELEMENTS$1","PSEUDO_CLASSES$1","scss_1","shell","shell_1","sql","COMMENT_MODE","QUOTED_IDENTIFIER","MULTI_WORD_TYPES","NON_RESERVED_WORDS","RESERVED_FUNCTIONS","POSSIBLE_WITHOUT_PARENS","COMBOS","FUNCTIONS","OPERATOR","reduceRelevancy","exceptions","when","qualifyFn","sql_1","keywordWrapper","dotKeywords","optionalDotKeywords","keywordTypes","keywords","literals","precedencegroupKeywords","numberSignKeywords","builtIns","operatorHead","operatorCharacter","operator","identifierHead","identifierCharacter","identifier","typeIdentifier","keywordAttributes","availabilityKeywords","swift","BLOCK_COMMENT","DOT_KEYWORD","KEYWORD_GUARD","PLAIN_KEYWORDS","kw","REGEX_KEYWORDS","KEYWORD","KEYWORD_MODES","BUILT_IN_GUARD","BUILT_IN","OPERATOR_GUARD","OPERATORS","ESCAPED_CHARACTER","rawDelimiter","ESCAPED_NEWLINE","INTERPOLATION","MULTILINE_STRING","SINGLE_LINE_STRING","IMPLICIT_PARAMETER","PROPERTY_WRAPPER_PROJECTION","IDENTIFIERS","AVAILABLE_ATTRIBUTE","KEYWORD_ATTRIBUTE","USER_DEFINED_ATTRIBUTE","TYPE","GENERIC_ARGUMENTS","TUPLE_ELEMENT_NAME","TUPLE","GENERIC_PARAMETERS","FUNCTION_PARAMETER_NAME","FUNCTION_PARAMETERS","INIT_SUBSCRIPT","OPERATOR_DECLARATION","PRECEDENCEGROUP","interpolation","submodes","swift_1","yaml","URI_CHARACTERS","KEY","TEMPLATE_VARIABLES","CONTAINER_STRING","DATE_RE","TIME_RE","FRACTION_RE","ZONE_RE","TIMESTAMP","VALUE_CONTAINER","OBJECT","yaml_1","typescript","tsLanguage","NAMESPACE","INTERFACE","TS_SPECIFIC_KEYWORDS","DECORATOR","swapMode","label","replacement","indx","functionDeclaration","typescript_1","vbnet","CHARACTER","MM_DD_YYYY","YYYY_MM_DD","TIME_12H","TIME_24H","DATE","DOC_COMMENT","vbnet_1","wasm","LINE_COMMENT","FUNCTION_REFERENCE","ARGUMENT","PARENS","MATH_OPERATIONS","wasm_1","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","require$$22","require$$23","require$$24","require$$25","require$$26","require$$27","require$$28","require$$29","require$$30","require$$31","require$$32","require$$33","require$$34","require$$35","require$$36","common","markdownIt","MarkdownIt","linkifyAdditionPlugin","facePlugin","DRlink_open","tokens","env","self","link","DRlink_close","pv","cv","allowedTags","allowedAttributes","sanitizeHTML","src","stack","htmlParser","HTMLParser","tagName","attribs","attrName","attrValue","addAttr","v","encodeHTML","k","last","render","res","e","ref","waitingForRender","watch","props","op","root","shallowRef","useIntersectionObserver","isIntersecting","nextTick","t","useI18n","observerTarget","route","useRoute","pid","computed","loading","fetchMore","useQuery","gql","playlist","useResult","watchEffect","setSiteTitle","startProgress","stopProgress","fetchingMore","stopObserver","previousQueryResult","fetchMoreResult","descText","descBlock","descBoundingHeight","useElementBounding","descScrollHeight","updateScrollHeight","expandDesc","shouldClampDesc"],"mappings":"i0BAEA,MAAeA,GAAA,IAAI,YAAY,CAAC,KAAM,GAAI,IAAK,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,EAAG,EAAG,EAAG,EAAG,EAAG,EAAG,KAAM,KAAM,KAAM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,MAAO,UACP,IAAK,IACL,SAAU,CACRD,EACAC,EACAE,EACAD,CACD,CACF,CACF,CACF,CACF,CACF,EACDhH,EAAK,QACH,OACA,MACA,CAAE,UAAW,EAAI,CAClB,EACD,CACE,MAAO,cACP,IAAK,QACL,UAAW,EACZ,EACD6G,EAEA,CACE,UAAW,OACX,IAAK,MACL,SAAU,CACR,CACE,MAAO,SACP,UAAW,GACX,SAAU,CACRI,CACD,CACF,EACD,CACE,MAAO,mBACR,CACF,CAEF,EACD,CACE,UAAW,MAMX,MAAO,iBACP,IAAK,IACL,SAAU,CAAE,KAAM,OAAS,EAC3B,SAAU,CAAEC,CAAe,EAC3B,OAAQ,CACN,IAAK,YACL,UAAW,GACX,YAAa,CACX,MACA,KACD,CACF,CACF,EACD,CACE,UAAW,MAEX,MAAO,kBACP,IAAK,IACL,SAAU,CAAE,KAAM,QAAU,EAC5B,SAAU,CAAEA,CAAe,EAC3B,OAAQ,CACN,IAAK,aACL,UAAW,GACX,YAAa,CACX,aACA,aACA,KACD,CACF,CACF,EAED,CACE,UAAW,MACX,MAAO,SACR,EAED,CACE,UAAW,MACX,MAAOzN,EAAM,OACX,IACAA,EAAM,UAAUA,EAAM,OACpBkN,EAIAlN,EAAM,OAAO,MAAO,IAAK,IAAI,CACzC,CAAW,CACF,EACD,IAAK,OACL,SAAU,CACR,CACE,UAAW,OACX,MAAOkN,EACP,UAAW,EACX,OAAQO,CACT,CACF,CACF,EAED,CACE,UAAW,MACX,MAAOzN,EAAM,OACX,MACAA,EAAM,UAAUA,EAAM,OACpBkN,EAAa,GACzB,CAAW,CACF,EACD,SAAU,CACR,CACE,UAAW,OACX,MAAOA,EACP,UAAW,CACZ,EACD,CACE,MAAO,IACP,UAAW,EACX,WAAY,EACb,CACF,CACF,CACF,CACL,CACC,CAED,OAAAQ,GAAiBT,kDCvOjB,SAASU,EAAKpH,EAAM,CAClB,MAAMvG,EAAQuG,EAAK,MACbqH,EAAM,CAAA,EACNC,EAAa,CACjB,MAA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A,WACA,OACA,OACA,OACA,SACA,UACA,OACA,MACA,WACA,SACA,QACA,OACA,QACA,OACA,QACA,OACJ,EAEQC,EAAiB,CACrB,QACA,OACA,UACA,SACA,UACA,UACA,OACA,SACA,OACA,MACA,QACA,SACA,UACA,SACA,OACA,YACA,SACA,OACA,UACA,SACA,SACJ,EAEQC,EAAgB,CACpB,WACA,KACA,UACA,MACA,MACA,QACA,QACA,gBACA,WACA,UACA,eACA,YACA,aACA,YACA,WACA,UACA,aACA,OACA,UACA,SACA,SACA,SACA,UACA,KACA,KACA,QACA,YACA,SACA,QACA,UACA,UACA,OACA,OACA,QACA,MACA,SACA,OACA,QACA,QACA,SACA,SACA,QACA,SACA,SACA,OACA,UACA,SACA,aACA,SACA,UACA,WACA,QACA,OACA,SACA,QACA,QACA,WACA,UACA,OACA,MACA,WACA,aACA,QACA,OACA,cACA,UACA,SACA,MACJ,EAEQC,EAAiB,CACrB,QACA,QACA,QACA,QACA,KACA,KACA,KACA,MACA,YACA,KACA,KACA,QACA,SACA,QACA,SACA,KACA,WACA,KACA,QACA,QACA,OACA,QACA,WACA,OACA,QACA,SACA,SACA,MACA,QACA,OACA,SACA,MACA,SACA,MACA,OACA,OACA,OACA,SACA,KACA,SACA,KACA,QACA,MACA,KACA,UACA,YACA,YACA,YACA,YACA,OACA,OACA,QACA,MACA,MACA,OACA,KACA,QACA,WACA,OACA,KACA,OACA,WACA,SACA,OACA,UACA,KACA,OACA,MACA,OACA,SAEA,SACA,SACA,KACA,OACA,UACA,OACA,QACA,QACA,UACA,QACA,WACA,SACA,MACA,WACA,SACA,MACA,QACA,OACA,SACA,OACA,MACA,OACA,UAEA,MACA,QACA,SACA,SACA,QACA,MACA,SACA,KACJ,EAEE,MAAO,CACL,KAAM,OACN,QAAS,CAAE,IAAM,EACjB,SAAU,CACR,SAAU,wBACV,QAASN,EACT,QAASC,EACT,SAAU,CACR,GAAGE,EACH,GAAGC,EAEH,MACA,QACA,GAAGC,EACH,GAAGC,CACJ,C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AASgP,CAAY,EAAIzI,EAAK,SAC3C,UAAW,CACf,EAEQiJ,EAAiBxP,EAAM,SAASgP,CAAY,EAAIzI,EAAK,SAAW,UAsEhEgI,EAAW,CACf,QArEiB,CACjB,MACA,OACA,QACA,OACA,WACA,UACA,KACA,OACA,OACA,SACA,MACA,UACA,OACA,KACA,SACA,WACA,WACA,SACA,SACA,SACA,SACA,UACA,QACA,WACA,QACA,WACA,WACA,UACA,WACA,YACA,iBACA,gBAEA,UACA,UACA,WACA,gBACA,eAEA,SACJ,EA6BI,KA3Bc,CACd,QACA,SACA,SACA,WACA,MACA,QACA,OACA,OACA,OACA,QACA,WACA,aACA,aACA,aACA,cAEA,QACA,SAEA,UACA,OACA,WACJ,EAKI,QAAS,kBAET,SAAU,kzBASd,EAEQkB,EAAsB,CAC1BF,EACAJ,EACA9N,EACAkF,EAAK,qBACL+I,EACAD,CACJ,EAEQK,EAAqB,CAIzB,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,KACP,IAAK,IACN,EACD,CACE,cAAe,wBACf,IAAK,GACN,CACF,EACD,SAAUnB,EACV,SAAUkB,EAAoB,OAAO,CACnC,CACE,MAAO,KACP,IAAK,KACL,SAAUlB,EACV,SAAUkB,EAAoB,OAAO,CAAE,MAAM,CAAE,EAC/C,UAAW,CACZ,CACP,CAAK,EACD,UAAW,CACf,EAEQE,EAAuB,CAC3B,MAAO,IAAMT,EAAmB,eAAiBM,EACjD,YAAa,GACb,IAAK,QACL,WAAY,GACZ,SAAUjB,EACV,QAAS,iBACT,SAAU,CACR,CACE,MAAOQ,EACP,SAAUR,EACV,UAAW,CACZ,EACD,CACE,MAAOiB,EACP,YAAa,GACb,SAAU,CAAEjJ,EAAK,QAAQ3E,EAAY,CAAE,UAAW,gBAAgB,CAAE,CAAG,EACvE,UAAW,CACZ,EAGD,CACE,UAAW,EACX,MAAO,GACR,EACD,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAU2M,EACV,UAA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ACd,UAAW,SACX,SAAU,CACR,CAAE,MAAO,eAAkB,EAC3B,CAAE,MAAO,uFAA4F,EACrG,CAAE,MAAO,qFAA4F,CACtG,EACD,UAAW,CACf,EAEQC,EAAe,CACnB,UAAW,OACX,MAAO,eACP,IAAK,IACL,SAAU,CAAE,QACR,wFACyC,EAC7C,SAAU,CACR,CACE,MAAO,OACP,UAAW,CACZ,EACDhJ,EAAK,QAAQ8I,EAAS,CAAE,UAAW,QAAQ,CAAE,EAC7C,CACE,UAAW,SACX,MAAO,OACR,EACDhO,EACAkF,EAAK,oBACN,CACL,EAEQ3E,EAAa,CACjB,UAAW,QACX,MAAO5B,EAAM,SAASgP,CAAY,EAAIzI,EAAK,SAC3C,UAAW,CACf,EAEQiJ,EAAiBxP,EAAM,SAASgP,CAAY,EAAIzI,EAAK,SAAW,UAGhEwJ,EAAoB,CACxB,UACA,UACA,MACA,SACA,MACA,gBACA,gBACA,kBACA,OACA,SACA,QACA,QACA,OACA,QACA,QACA,WACA,YACA,WACA,QACA,UACA,gBACA,YACA,YACA,YACA,WACA,WACA,UACA,SACA,KACA,kBACA,OACA,OACA,WACA,SACA,SACA,QACA,QACA,MACA,SACA,OACA,KACA,SACA,SACA,SACA,UACA,YACA,MACA,WACA,MACA,SACA,UACA,WACA,KACA,QACA,WACA,UACA,YACA,SACA,WACA,WACA,sBACA,WACA,SACA,SACA,gBACA,iBACA,SACA,SACA,eACA,WACA,OACA,eACA,QACA,mBACA,2BACA,OACA,MACA,UACA,SACA,WACA,QACA,QACA,UACA,WACA,QACA,MACA,QACJ,EAGQC,EAAiB,CACrB,OACA,OACA,WACA,WACA,UACA,SACA,QACA,MACA,OACA,QACA,OACA,UACA,WACA,SACA,QACA,QACJ,EAEQC,EAAa,CACjB,MACA,WACA,UACA,mBACA,SACA,UACA,qBACA,yBACA,qBACA,QACA,aACA,SACA,YACA,mBACA,gBACA,UACA,QACA,aACA,WACA,WACA,QACA,WACA,gBACA,gBACA,OACA,UACA,iBACA,QACA,kBACA,wBACA,cACA,MACA,gBACA,cACA,eACA,qBACA,aACA,QACA,cACA,eACA,cACA,SACA,YACA,QACA,cACA,aACA,gBACA,qBACA,qBACA,gBACA,UACA,SACA,WACA,UACA,cACJ,EAEQC,EAAiB,CACrB,QACA,MACA,OACA,QACA,WACA,OACA,OACA,QACA,SACA,OACA,OACA,MACA,OACA,MACA,OACA,OACA,UACA,OACA,WACA,OACA,MACA,OACA,QACA,OACA,UACA,UACA,QACA,OACA,QACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WACA,OACA,UACA,QACA,MACA,QACA,YACA,cACA,4BACA,aACA,cACA,SACA,SACA,SACA,SACA,SACA,OACA,OACA,MACA,SACA,UACA,OACA,UACA,QACA,MACA,OACA,WACA,UACA,OACA,SACA,MACA,SACA,QACA,SACA,SACA,SACA,SACA,SACA,UACA,SACA,UACA,UACA,UACA,UACA,UACA,SACA,SACA,OACA,MACA,OACA,YACA,gBACA,UACA,UACA,WACA,QACA,UACA,UACJ,EAaQC,EAAe,CACnB,KAAMH,EACN,QAASD,EACT,QAde,CACf,OACA,QACA,UACA,UACA,MACJ,EASI,SANe,CAAE,WAOjB,YAAaE,CACjB,EAEQG,EAAoB,CACxB,UAAW,oBACX,UAAW,EACX,SAAU,CAER,MAAOF,CAAgB,EACzB,MAAOlQ,EAAM,OACX,KACA,eACA,SACA,UACA,aACA,YACAuG,EAAK,SACLvG,EAAM,UAAU,kBAAkB,CAAC,CACzC,EAEQyP,EAAsB,CAC1BW,EACAb,EACAO,EACAzO,EACAkF,EAAK,qBACL+I,EACAD,CACJ,EAEQK,EAAqB,CAIzB,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,KACP,IAAK,IACN,EACD,CACE,cAAe,wBACf,IAAK,GACN,CACF,EACD,SAAUS,EACV,SAAUV,EAAoB,OAAO,CACnC,CACE,MAAO,KACP,IAAK,KACL,SAAUU,EACV,SAAUV,EAAoB,OAAO,CAAE,MAAM,CAAE,EAC/C,UAAW,CACZ,CACP,CAAK,EACD,UAAW,CACf,EAEQE,EAAuB,CAC3B,UAAW,WACX,MAAO,IAAMT,EAAmB,eAAiBM,EACjD,YAAa,GACb,IAAK,QACL,WAAY,GACZ,SAAUW,EACV,QAAS,iBACT,SAAU,CACR,CACE,MAAOpB,EACP,SAAUoB,EACV,UAAW,CACZ,EACD,CACE,MAAOX,EACP,YAAa,GACb,SAAU,CAAE5N,CAAY,EACxB,UAAW,CACZ,EAGD,CACE,MAAO,KACP,UAAW,CACZ,EAED,CACE,MAAO,IACP,eAAgB,GAChB,SAAU,CACRyN,EACAC,CACD,CACF,EAGD,CACE,UAAW,EACX,MAAO,GACR,EACD,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAUa,EACV,UAAW,EACX,SAAU,CACR9O,EACAkF,EAAK,qBACL8I,EACAC,EACAQ,EAEA,CACE,MAAO,KACP,IAAK,KACL,SAAUK,EACV,UAAW,EACX,SAAU,CACR,OACA9O,EACAkF,EAAK,qBACL8I,EACAC,EACAQ,CACD,CACF,CACF,CACF,EACDA,EACAzO,EACAkF,EAAK,qBACLgJ,CACD,CACL,EAEE,MAAO,CACL,KAAM,MACN,QAAS,CACP,KACA,MACA,MACA,MACA,KACA,MACA,KACD,EACD,SAAUY,EACV,QAAS,KACT,iBAAkB,CAAE,oBAAqB,UAAY,EACrD,SAAU,CAAE,EAAC,OACXT,EACAC,EACAS,EACAX,EACA,CACEF,EACA,CACE,MAAO,4MACP,IAAK,IACL,SAAUY,EACV,SAAU,CACR,OACAL,CACD,CACF,EACD,CACE,MAAOvJ,EAAK,SAAW,KACvB,SAAU4J,CACX,EACD,CACE,MAAO,CAEL,wDACA,MACA,KACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,CACT,CAAO,CACP,CACC,CAED,OAAAE,GAAiBR,kDC9iBjB,SAASS,EAAO/J,EAAM,CACpB,MAAMgK,EAAoB,CACxB,OACA,OACA,OACA,UACA,WACA,SACA,UACA,OACA,QACA,MACA,OACA,OACA,QACA,SACA,QACA,QACA,SACA,QACA,OACA,QACJ,EACQC,EAAqB,CACzB,SACA,UACA,YACA,SACA,WACA,YACA,WACA,QACA,SACA,WACA,SACA,UACA,MACA,SACA,SACJ,EACQC,EAAmB,CACvB,UACA,QACA,OACA,MACJ,EACQC,EAAkB,CACtB,WACA,KACA,OACA,QACA,OACA,QACA,QACA,QACA,WACA,KACA,OACA,QACA,WACA,SACA,UACA,QACA,MACA,UACA,OACA,KACA,WACA,KACA,YACA,WACA,KACA,OACA,YACA,MACA,WACA,MACA,WACA,SACA,UACA,YACA,SACA,WACA,SACA,MACA,SACA,SACA,SACA,SACA,aACA,SACA,SACA,SACA,OACA,QACA,MACA,SACA,YACA,SACA,QACA,UACA,OACA,WACA,OACJ,EACQC,EAAsB,CAC1B,MACA,QACA,MACA,YACA,QACA,QACA,KACA,aACA,SACA,OACA,MACA,SACA,QACA,OACA,OACA,OACA,MACA,SACA,MACA,UACA,KACA,KACA,UACA,UACA,SACA,SACA,MACA,YACA,UACA,MACA,OACA,QACA,OACA,OACJ,EAEQpC,EAAW,CACf,QAASmC,EAAgB,OAAOC,CAAmB,EACnD,SAAUJ,EACV,QAASE,CACb,EACQ7O,EAAa2E,EAAK,QAAQA,EAAK,WAAY,CAAE,MAAO,oBAAoB,CAAE,EAC1E+I,EAAU,CACd,UAAW,SACX,SAAU,CACR,CAAE,MAAO,eAAkB,EAC3B,CAAE,MAAO,iEAAsE,EAC/E,CAAE,MAAO,qFAA4F,CACtG,EACD,UAAW,CACf,EACQsB,EAAkB,CACtB,UAAW,SACX,MAAO,KACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,KAAQ,CACjC,EACQC,EAAwBtK,EAAK,QAAQqK,EAAiB,CAAE,QAAS,IAAI,CAAE,EACvE9C,EAAQ,CACZ,UAAW,QACX,MAAO,KACP,IAAK,KACL,SAAUS,CACd,EACQuC,EAAcvK,EAAK,QAA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Y,EACrB,CACE,MAAO,MACP,IAAK,GACN,CACF,CACF,CACF,CACF,CACF,EACDA,EAAK,oBACLA,EAAK,qBACL,CACE,UAAW,OACX,MAAO,IACP,IAAK,IACL,SAAU,CAAE,QAAS,qFAAuF,CAC7G,EACD2K,EACA5B,EACA,CACE,cAAe,kBACf,UAAW,EACX,IAAK,QACL,QAAS,UACT,SAAU,CACR,CAAE,cAAe,aAAe,EAChC1N,EACAuP,EACA5K,EAAK,oBACLA,EAAK,oBACN,CACF,EACD,CACE,cAAe,YACf,UAAW,EACX,IAAK,QACL,QAAS,SACT,SAAU,CACR3E,EACA2E,EAAK,oBACLA,EAAK,oBACN,CACF,EACD,CACE,cAAe,SACf,UAAW,EACX,IAAK,QACL,QAAS,SACT,SAAU,CACR3E,EACAuP,EACA5K,EAAK,oBACLA,EAAK,oBACN,CACF,EACD,CAEE,UAAW,OACX,MAAO,oBACP,aAAc,GACd,IAAK,MACL,WAAY,GACZ,SAAU,CACR,CACE,UAAW,SACX,MAAO,IACP,IAAK,GACN,CACF,CACF,EACD,CAGE,cAAe,8BACf,UAAW,CACZ,EACD,CACE,UAAW,WACX,MAAO,IAAM6K,EAAgB,SAAW7K,EAAK,SAAW,wBACxD,YAAa,GACb,IAAK,WACL,WAAY,GACZ,SAAUgI,EACV,SAAU,CAER,CACE,cAAeiC,EAAmB,KAAK,GAAG,EAC1C,UAAW,CACZ,EACD,CACE,MAAOjK,EAAK,SAAW,wBACvB,YAAa,GACb,SAAU,CACRA,EAAK,WACL4K,CACD,EACD,UAAW,CACZ,EACD,CAAE,MAAO,MAAQ,EACjB,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,GACZ,SAAU5C,EACV,UAAW,EACX,SAAU,CACR2C,EACA5B,EACA/I,EAAK,oBACN,CACF,EACDA,EAAK,oBACLA,EAAK,oBACN,CACF,EACD8K,CACD,CACL,CACC,CAED,OAAAC,GAAiBhB,kDC/YjB,MAAMtO,EAASuE,IACN,CACL,UAAW,CACT,MAAO,OACP,MAAO,YACR,EACD,cAAeA,EAAK,qBACpB,SAAU,CACR,MAAO,SACP,MAAO,iDACR,EACD,kBAAmB,CACjB,UAAW,WACX,MAAO,cACR,EACD,wBAAyB,CACvB,MAAO,gBACP,MAAO,KACP,IAAK,KACL,QAAS,IACT,SAAU,CACRA,EAAK,iBACLA,EAAK,iBACN,CACF,EACD,gBAAiB,CACf,MAAO,SACP,MAAOA,EAAK,UAAY,kGASxB,UAAW,CACZ,EACD,aAAc,CACZ,UAAW,OACX,MAAO,0BACR,CACL,GAGMgL,EAAO,CACX,IACA,OACA,UACA,UACA,QACA,QACA,IACA,aACA,OACA,SACA,SACA,UACA,OACA,OACA,KACA,MACA,UACA,MACA,MACA,KACA,KACA,KACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,SACA,SACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,QACA,SACA,KACA,OACA,OACA,OACA,MACA,SACA,KACA,IACA,IACA,QACA,OACA,UACA,OACA,SACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,KACA,KACA,MACA,OACF,EAEMC,EAAiB,CACrB,YACA,cACA,eACA,QACA,cACA,cACA,sBACA,gBACA,eACA,eACA,gBACA,OACA,SACA,QACA,kBACA,aACA,cACA,iBACA,kBACA,UACA,uBACA,mBACA,yBACA,+BACA,aACA,OACA,YACA,SACA,QAEA,YACA,YACA,aACA,YACF,EAGMC,EAAiB,CACrB,SACA,WACA,QACA,UACA,UACA,UACA,UACA,MACA,WACA,OACA,QACA,UACA,QACA,cACA,gBACA,aACA,SACA,QACA,gBACA,eACA,MACA,OACA,eACA,QACA,gBACA,WACA,UACA,KACA,OACA,aACA,eACA,OACA,OACA,aACA,MACA,YACA,UACA,iBACA,eACA,mBACA,cACA,aACA,eACA,WACA,eACA,OACA,oBACA,YACA,aACA,WACA,QACA,OACA,QACA,SACA,gBACA,eACA,QACA,UACA,OACF,EAGMC,EAAkB,CACtB,QACA,WACA,SACA,MACA,aACA,eACA,aACA,gBACA,SACA,OACA,cACA,YACA,UACA,gBACF,EAEMC,EAAa,CACjB,gBACA,cACA,aACA,MACA,YACA,kBACA,sBACA,qBACA,sBACA,4BACA,iBACA,uBACA,4BACA,sBACA,aACA,wBACA,wBACA,kBACA,mBACA,mBACA,oBACA,sBACA,oBACA,kBACA,aACA,SACA,eACA,qBACA,mBACA,yBACA,yBACA,yBACA,qBACA,2BACA,2BACA,2BACA,qBACA,qBACA,gBACA,sBACA,4BACA,6BACA,sBACA,sBACA,kBACA,eACA,eACA,sBACA,sBACA,qBACA,sBACA,qBACA,gBACA,sBACA,oBACA,0BACA,0BACA,0BACA,sBACA,4BACA,4BACA,4BACA,sBACA,sBACA,cACA,oBACA,oBACA,oBACA,gBACA,eACA,qBACA,qBACA,qBACA,iBACA,eACA,aACA,mBACA,yBACA,0BACA,mBACA,mBACA,eACA,SACA,uBACA,aACA,aACA,cACA,eACA,eACA,eACA,cACA,QACA,OACA,YACA,YACA,QACA,eACA,cACA,aACA,cACA,oBACA,oBACA,oBACA,cACA,eACA,UACA,UACA,UACA,qBACA,oBACA,gBACA,MACA,YACA,aACA,SACA,YACA,UACA,cACA,SACA,OACA,aACA,iBACA,YACA,YACA,cACA,YACA,QACA,OACA,OACA,eACA,cACA,wBACA,eACA,yBACA,YACA,mBACA,iBACA,eACA,aACA,iBACA,eACA,oBACA,0BACA,yBACA,uBACA,wBACA,0BACA,cACA,MACA,6BACA,OACA,YACA,oBACA,iBACA,iBACA,cACA,kBACA,oBACA,WACA,WACA,eACA,iBACA,gBACA,sBACA,wBACA,qBACA,sBACA,SACA,UACA,OACA,oBACA,kBACA,mBACA,WACA,cACA,YACA,kBACA,OACA,iBACA,aACA,cACA,aACA,mBACA,sBACA,kBACA,SACA,eACA,mBACA,qBACA,gBACA,gBACA,oBACA,sBACA,cACA,eACA,aACA,QACA,OACA,cACA,mBACA,qBACA,qBACA,oBACA,qBACA,oBACA,YACA,iBACA,aACA,YACA,cACA,gBACA,cACA,YACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,WACA,YACA,WACA,YACA,SACA,OACA,SACA,aACA,kBACA,UACA,QACA,UACA,UACA,gBACA,iBACA,gBACA,gBACA,WACA,gBACA,aACA,aACA,UACA,gBACA,oBACA,sBACA,iBACA,iBACA,qBACA,uBACA,eACA,gBACA,cACA,mBACA,oBACA,oBACA,QACA,cACA,eACA,cACA,qBACA,iBACA,WACA,SACA,SACA,OACA,aACA,cACA,QACA,UACA,gBACA,sBACA,0BACA,4BACA,uBACA,uBACA,2BACA,6BACA,qBACA,sBACA,oBACA,iBACA,uBACA,2BACA,6BACA,wBACA,wBACA,4BACA,8BACA,sBACA,uBACA,qBACA,oBACA,mBACA,mBACA,kBACA,mBACA,kBACA,wBACA,eACA,gBACA,QACA,WACA,MACA,WACA,eACA,aACA,iBACA,kBACA,uBACA,kBACA,wBACA,uBACA,wBACA,gBACA,sBACA,yBACA,sBACA,cACA,eACA,mBACA,gBACA,iBACA,cACA,iBACA,0BACA,MACA,YACA,gBACA,mBACA,kBACA,aACA,mBACA,sBACA,sBACA,6BACA,eACA,iBACA,aACA,gBACA,iBACA,eACA,cACA,cACA,aACA,eACA,eACA,cACA,SACA,QACA,cACA,aACA,eACA,YACA,eACA,SAGD,EAAC,QAAO,EAST,SAASC,EAAIrL,EAAM,CACjB,MAAMvG,EAAQuG,EAAK,MACbsL,EAAQ7P,EAAMuE,CAAI,EAClBuL,EAAgB,CAAE,MAAO,gCACzBC,EAAe,kBACfC,EAAiB,oBACjB7R,EAAW,0BACXkP,EAAU,CACd9I,EAAK,iBACLA,EAAK,iBACT,EAEE,MAAO,CACL,KAAM,MACN,iBAAkB,GAClB,QAAS,UACT,SAAU,CAAE,iBAAkB,SAAW,EACzC,iBAAkB,CAGhB,iBAAkB,cAAgB,EACpC,SAAU,CACRsL,EAAM,cACNC,EAGAD,EAAM,gBACN,CACE,UAAW,cACX,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,MAAO,+BAAiC,EAC1C,CAAE,MAAO,+BAAiC,EAE1C,CACE,MAAO,MACP,IAAK,WACN,EACD,CACE,MAAO,MACP,IAAK,WACN,EACD,CAAE,MAAO,OAAS,EAClB,CACE,MAAO,kBAGP,SAAU,CACR,CACE,MAAO,cACP,IAAK,QACN,CACF,EACD,UAAW,CACZ,CACF,CACL,EACQC,EAAO,CACX,UAAW,SACX,MAAO,kCACP,IAAK,OACL,WAAY,EAChB,EACQC,EAAiB,CACrB,MAAO,eACP,YAAa,GACb,SAAU,CACR,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,EACb,EACD,CACE,UAAW,OACX,MAAO,OACP,IAAK,IACL,aAAc,EACf,CACF,CACL,EACQC,EAAa,0BACbC,EAAO,CACX,SAAU,CAGR,CACE,MAAO,iBACP,UAAW,CACZ,EAED,CACE,MAAO,gEACP,UAAW,CACZ,EACD,CACE,MAAOzS,EAAM,OAAO,YAAawS,EAAY,YAAY,EACzD,UAAW,CACZ,EAED,CACE,MAAO,wBACP,UAAW,CACZ,EAED,CACE,MAAO,iBACP,UAAW,CACZ,CACF,EACD,YAAa,GACb,SAAU,CACR,CAEE,MAAO,UAAY,EACrB,CACE,UAAW,SACX,UAAW,EACX,MAAO,MACP,IAAK,MACL,aAAc,GACd,UAAW,EACZ,EACD,CACE,UAAW,OACX,UAAW,EACX,MAAO,SACP,IAAK,MACL,aAAc,GACd,WAAY,EACb,EACD,CACE,UAAW,SACX,UAAW,EACX,MAAO,SACP,IAAK,MACL,aAAc,GACd,WAAY,EACb,CACF,CACL,EACQE,EAAO,CACX,UAAW,SACX,SAAU,CAAE,EACZ,SAAU,CACR,CACE,MAAO,OACP,IAAK,MACN,EACD,CACE,MAAO,QACP,IAAK,OACN,CACF,CACL,EACQC,EAAS,CACb,UAAW,WACX,SAAU,CAAE,EACZ,SAAU,CACR,CACE,MAAO,WACP,IAAK,IACN,EACD,CACE,MAAO,SACP,IAAK,IACL,UAAW,CACZ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X,MAAO,KACP,IAAK,GACN,CACF,CACL,CACC,CAED,OAAAiT,GAAiBD,kDCpDjB,SAASE,EAAK3M,EAAM,CAClB,MAAMvG,EAAQuG,EAAK,MACb4M,EAAiB,qFAEjBC,EAAgBpT,EAAM,OAC1B,uBAEA,4BACD,EAEKqT,EAA+BrT,EAAM,OAAOoT,EAAe,UAAU,EACrEE,EAAgB,CACpB,oBAAqB,CACnB,WACA,UACD,EACD,oBAAqB,CACnB,OACA,OACD,EACD,QAAS,CACP,QACA,MACA,gBACA,cACA,cACA,QACA,QACA,QACA,OACA,QACA,UACA,KACA,OACA,QACA,MACA,MACA,SACA,MACA,KACA,KACA,UACA,SACA,OACA,MACA,KACA,OACA,UACA,SACA,QACA,SACA,OACA,QACA,SACA,QACA,OACA,QACA,OACD,EACD,SAAU,CACR,OACA,QACD,EACD,QAAS,CACP,OACA,QACA,KACD,CACL,EACQC,EAAY,CAChB,UAAW,SACX,MAAO,YACX,EACQC,EAAa,CACjB,MAAO,KACP,IAAK,GACT,EACQC,EAAgB,CACpBlN,EAAK,QACH,IACA,IACA,CAAE,SAAU,CAAEgN,EAAa,CAC5B,EACDhN,EAAK,QACH,UACA,QACA,CACE,SAAU,CAAEgN,CAAW,EACvB,UAAW,EACZ,CACF,EACDhN,EAAK,QAAQ,WAAYA,EAAK,gBAAgB,CAClD,EACQuH,EAAQ,CACZ,UAAW,QACX,MAAO,MACP,IAAK,KACL,SAAUwF,CACd,EACQpC,EAAS,CACb,UAAW,SACX,SAAU,CACR3K,EAAK,iBACLuH,CACD,EACD,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,cACP,IAAK,IACN,EACD,CACE,MAAO,cACP,IAAK,IACN,EACD,CACE,MAAO,cACP,IAAK,IACN,EACD,CACE,MAAO,aACP,IAAK,GACN,EACD,CACE,MAAO,cACP,IAAK,IACN,EACD,CACE,MA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N,CAAW,EAClB,OAAOT,CAAa,EACpB,OAAOK,CAAqB,CACnC,CACC,CAED,OAAAK,GAAiBjB,kDClZjB,SAASkB,EAAG7N,EAAM,CAyEhB,MAAMgI,EAAW,CACf,QA5BU,CACV,QACA,OACA,OACA,QACA,WACA,UACA,QACA,OACA,cACA,MACA,OACA,KACA,OACA,KACA,SACA,YACA,MACA,UACA,QACA,SACA,SACA,SACA,SACA,OACA,KACJ,EAGI,KAnDY,CACZ,OACA,OACA,YACA,aACA,QACA,UACA,UACA,OACA,QACA,QACA,QACA,SACA,QACA,SACA,SACA,SACA,MACA,OACA,UACA,MACJ,EA+BI,QA3Ee,CACf,OACA,QACA,OACA,KACJ,EAuEI,SAtEgB,CAChB,SACA,MACA,QACA,UACA,OACA,OACA,MACA,OACA,MACA,QACA,QACA,UACA,OACA,UACA,QACJ,CAuDA,EACE,MAAO,CACL,KAAM,KACN,QAAS,CAAE,QAAU,EACrB,SAAUA,EACV,QAAS,KACT,SAAU,CACRhI,EAAK,oBACLA,EAAK,qBACL,CACE,UAAW,SACX,SAAU,CACRA,EAAK,kBACLA,EAAK,iBACL,CACE,MAAO,IACP,IAAK,GACN,CACF,CACF,EACD,CACE,UAAW,SACX,SAAU,CACR,CACE,MAAOA,EAAK,YAAc,MAC1B,UAAW,CACZ,EACDA,EAAK,aACN,CACF,EACD,CAAE,MAAO,IACR,EACD,CACE,UAAW,WACX,cAAe,OACf,IAAK,cACL,WAAY,GACZ,SAAU,CACRA,EAAK,WACL,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,WAAY,GACZ,SAAUgI,EACV,QAAS,MACV,CACF,CACF,CACF,CACL,CACC,CAED,OAAA8F,GAAiBD,kDCpIjB,SAASE,EAAQ/N,EAAM,CACrB,MAAMvG,EAAQuG,EAAK,MACbgO,EAAW,yBACjB,MAAO,CACL,KAAM,UACN,QAAS,CAAE,KAAO,EAClB,iBAAkB,GAClB,kBAAmB,GACnB,SAAU,CACR,QAAS,CACP,QACA,WACA,eACA,OACA,QACA,SACA,YACA,YACA,QACA,SACA,WACA,OACA,IACD,EACD,QAAS,CACP,OACA,QACA,MACD,CACF,EACD,SAAU,CACRhO,EAAK,kBACLA,EAAK,kBACLA,EAAK,YACL,CACE,MAAO,cACP,MAAO,SACP,UAAW,CACZ,EACD,CACE,MAAO,cACP,MAAO,4BACP,UAAW,CACZ,EACD,CACE,MAAO,WACP,MAAO,KACP,IAAK,KACL,WAAY,GACZ,UAAW,CACZ,EACD,CACE,MAAO,OACP,MAAO,OACP,WAAY,EACb,EACD,CACE,MAAO,SACP,MAAOvG,EAAM,OAAOuU,EAAUvU,EAAM,UAAU,MAAM,CAAC,EACrD,UAAW,CACZ,CACF,EACD,QAAS,CACP,QACA,OACD,CACL,CACC,CAED,OAAAwU,GAAiBF,kDCrEjB,SAASG,EAAIlO,EAAM,CACjB,MAAMvG,EAAQuG,EAAK,MACb+I,EAAU,CACd,UAAW,SACX,UAAW,EACX,SAAU,CACR,CAAE,MAAO,sBAAwB,EACjC,CAAE,MAAO/I,EAAK,SAAW,CAC1B,CACL,EACQmO,EAAWnO,EAAK,UACtBmO,EAAS,SAAW,CAClB,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,CACL,EACE,MAAMC,EAAY,CAChB,UAAW,WACX,SAAU,CACR,CAAE,MAAO,mBAAqB,EAC9B,CAAE,MAAO,aAAe,CACzB,CACL,EACQnG,EAAW,CACf,UAAW,UACX,MAAO,8BACX,EACQa,EAAU,CACd,UAAW,SACX,SAAU,CAAE9I,EAAK,gBAAkB,EACnC,SAAU,CACR,CACE,MAAO,MACP,IAAK,MACL,UAAW,EACZ,EACD,CACE,MAAO,MACP,IAAK,MACL,UAAW,EACZ,EACD,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,CACF,CACL,EACQqO,EAAQ,CACZ,MAAO,KACP,IAAK,KACL,SAAU,CACRF,EACAlG,EACAmG,EACAtF,EACAC,EACA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AAY,OAAQ,CAAC,EAkE3FrH,EAAW,CACf,QAlEoB,CACpB,eACA,WACA,UACA,MACA,SACA,KACA,SACA,MACA,QACA,WACA,UACA,YACA,SACA,SACA,QACA,OACA,OACA,OACA,QACA,YACA,QACA,aACA,WACA,OACA,SACA,UACA,UACA,SACA,MACA,SACA,WACA,SACA,YACA,SACA,UACA,SACA,WACA,UACA,KACA,QACJ,EA0BI,QAnBe,CACf,QACA,OACA,MACJ,EAgBI,KAdY,CACZ,OACA,UACA,OACA,QACA,MACA,OACA,QACA,QACJ,EAMI,SA1BgB,CAChB,QACA,MACJ,CAwBA,EAEQuH,EAAa,CACjB,UAAW,OACX,MAAO,IAAMF,EACb,SAAU,CACR,CACE,MAAO,KACP,IAAK,KACL,SAAU,CAAE,MAAQ,CACrB,CACF,CACL,EACQ/B,EAAS,CACb,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAUtF,EACV,UAAW,EACX,SAAU,CAAEhI,EAAK,oBAAsB,EACvC,WAAY,EAChB,EAEE,MAAO,CACL,KAAM,OACN,QAAS,CAAE,KAAO,EAClB,SAAUgI,EACV,QAAS,QACT,SAAU,CACRhI,EAAK,QACH,UACA,OACA,CACE,UAAW,EACX,SAAU,CACR,CAEE,MAAO,OACP,UAAW,CACZ,EACD,CACE,UAAW,SACX,MAAO,YACR,CACF,CACF,CACF,EAED,CACE,MAAO,wBACP,SAAU,SACV,UAAW,CACZ,EACDA,EAAK,oBACLA,EAAK,qBACL,CACE,MAAO,MACP,IAAK,MACL,UAAW,SACX,SAAU,CAAEA,EAAK,gBAAkB,CACpC,EACDA,EAAK,iBACLA,EAAK,kBACL,CACE,MAAO,CACL,oDACA,MACAqP,CACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,EACD,CAEE,MAAO,aACP,MAAO,SACR,EACD,CACE,MAAO,CACL5V,EAAM,OAAO,WAAY4V,CAAa,EACtC,MACAA,EACA,MACA,QACD,EACD,UAAW,CACT,EAAG,OACH,EAAG,WACH,EAAG,UACJ,CACF,EACD,CACE,MAAO,CACL,SACA,MACAA,CACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,EACD,SAAU,CACR/B,EACAtN,EAAK,oBACLA,EAAK,oBACN,CACF,EACD,CAGE,cAAe,wBACf,UAAW,CACZ,EACD,CACE,MAAO,CACL,MAAQsP,EAAmB,QAC3BtP,EAAK,oBACL,WACD,EACD,UAAW,CAAE,EAAG,gBAAkB,EAClC,SAAUgI,EACV,SAAU,CACR,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAUA,EACV,UAAW,EACX,SAAU,CACRuH,EACAvP,EAAK,iBACLA,EAAK,kBACL+O,EACA/O,EAAK,oBACN,CACF,EACDA,EAAK,oBACLA,EAAK,oBACN,CACF,EACD+O,EACAQ,CACD,CACL,CACC,CAED,OAAAC,GAAiBJ,kDC7RjB,MAAMxV,EAAW,2BACXoO,EAAW,CACf,KACA,KACA,KACA,KACA,MACA,QACA,UACA,MACA,MACA,WACA,KACA,SACA,OACA,OACA,QACA,QACA,aACA,OACA,QACA,OACA,UACA,MACA,SACA,WACA,SACA,SACA,MACA,QACA,QACA,QAIA,WACA,QACA,QACA,SACA,SACA,OACA,SACA,SACF,EACMC,EAAW,CACf,OACA,QACA,OACA,YACA,MACA,UACF,EAGMW,EAAQ,CAEZ,SACA,WACA,UACA,SAEA,OACA,OACA,SACA,SAEA,SACA,SAEA,QACA,eACA,eACA,YACA,aACA,oBACA,aACA,aACA,cACA,cACA,gBACA,iBAEA,MACA,MACA,UACA,UAEA,cACA,oBACA,UACA,WACA,OAEA,UACA,YACA,oBACA,gBAEA,UACA,QAEA,OAEA,aACF,EAEM6G,EAAc,CAClB,QACA,YACA,gBACA,aACA,iBACA,cACA,YACA,UACF,EAEMC,EAAmB,CACvB,cACA,aACA,gBACA,eAEA,UACA,UAEA,OACA,WACA,QACA,aACA,WACA,YACA,qBACA,YACA,qBACA,SACA,UACF,EAEMC,EAAqB,CACzB,YACA,OACA,QACA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ACAF,EACA7C,EACA5E,EACA3K,EAAK,aACN,CACF,EACDsS,CACD,CACF,EACD,CACE,MAAO,CACL,wBACA,MACAtS,EAAK,mBACN,EACD,WAAY,CACV,EAAG,aACJ,EACD,SAAU,wBACV,IAAK,WACL,WAAY,GACZ,QAAS,qBACT,SAAU,CACR,CAAE,cAAe,+CAAiD,EAClEA,EAAK,sBACL,CACE,UAAW,OACX,MAAO,IACP,IAAK,IACL,aAAc,GACd,WAAY,GACZ,UAAW,CACZ,EACD,CACE,UAAW,OACX,MAAO,UACP,IAAK,eACL,aAAc,GACd,UAAW,EACZ,EACDoS,EACA7C,CACD,CACF,EACD5E,EACA,CACE,UAAW,OACX,MAAO,kBACP,IAAK,IACL,QAAS;AAAA,CACV,EACD0H,CACD,CACL,CACC,CAED,OAAAI,GAAiBT,kDC5RjB,MAAMvW,EAASuE,IACN,CACL,UAAW,CACT,MAAO,OACP,MAAO,YACR,EACD,cAAeA,EAAK,qBACpB,SAAU,CACR,MAAO,SACP,MAAO,iDACR,EACD,kBAAmB,CACjB,UAAW,WACX,MAAO,cACR,EACD,wBAAyB,CACvB,MAAO,gBACP,MAAO,KACP,IAAK,KACL,QAAS,IACT,SAAU,CACRA,EAAK,iBACLA,EAAK,iBACN,CACF,EACD,gBAAiB,CACf,MAAO,SACP,MAAOA,EAAK,UAAY,kGASxB,UAAW,CACZ,EACD,aAAc,CACZ,UAAW,OACX,MAAO,0BACR,CACL,GAGMgL,EAAO,CACX,IACA,OACA,UACA,UACA,QACA,QACA,IACA,aACA,OACA,SACA,SACA,UACA,OACA,OACA,KACA,MACA,UACA,MACA,MACA,KACA,KACA,KACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,SACA,SACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,QACA,SACA,KACA,OACA,OACA,OACA,MACA,SACA,KACA,IACA,IACA,QACA,OACA,UACA,OACA,SACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,KACA,KACA,MACA,OACF,EAEMC,EAAiB,CACrB,YACA,cACA,eACA,QACA,cACA,cACA,sBACA,gBACA,eACA,eACA,gBACA,OACA,SACA,QACA,kBACA,aACA,cACA,iBACA,kBACA,UACA,uBACA,mBACA,yBACA,+BACA,aACA,OACA,YACA,SACA,QAEA,YACA,YACA,aACA,YACF,EAGMC,EAAiB,CACrB,SACA,WACA,QACA,UACA,UACA,UACA,UACA,MACA,WACA,OACA,QACA,UACA,QACA,cACA,gBACA,aACA,SACA,QACA,gBACA,eACA,MACA,OACA,eACA,QACA,gBACA,WACA,UACA,KACA,OACA,aACA,eACA,OACA,OACA,aACA,MACA,YACA,UACA,iBACA,eACA,mBACA,cACA,aACA,eACA,WACA,eACA,OACA,oBACA,YACA,aACA,WACA,QACA,OACA,QACA,SACA,gBACA,eACA,QACA,UACA,OACF,EAGMC,EAAkB,CACtB,QACA,WACA,SACA,MACA,aACA,eACA,aACA,gBACA,SACA,OACA,cACA,YACA,UACA,gBACF,EAEMC,EAAa,CACjB,gBACA,cACA,aACA,MACA,YACA,kBACA,sBACA,qBACA,sBACA,4BACA,iBACA,uBACA,4BACA,sBACA,aACA,wBACA,wBACA,kBACA,mBACA,mBACA,oBACA,sBACA,oBACA,kBACA,aACA,SACA,eACA,qBACA,mBACA,yBACA,yBACA,yBACA,qBACA,2BACA,2BACA,2BACA,qBACA,qBACA,gBACA,sBACA,4BACA,6BACA,sBACA,sBACA,kBACA,eACA,eACA,sBACA,sBACA,qBACA,sBACA,qBACA,gBACA,sBACA,oBACA,0BACA,0BACA,0BACA,sBACA,4BACA,4BACA,4BACA,sBACA,sBACA,cACA,oBACA,oBACA,oBACA,gBACA,eACA,qBACA,qBACA,qBACA,iBACA,eACA,aACA,mBACA,yBACA,0BACA,mBACA,mBACA,eACA,SACA,uBACA,aACA,aACA,cACA,eACA,eACA,eACA,cACA,QACA,OACA,YACA,YACA,QACA,eACA,cACA,aACA,cACA,oBACA,oBACA,oBACA,cACA,eACA,UACA,UACA,UACA,qBACA,oBACA,gBACA,MACA,YACA,aACA,SACA,YACA,UACA,cACA,SACA,OACA,aACA,iBACA,YACA,YACA,cACA,YACA,QACA,OACA,OACA,eACA,cACA,wBACA,eACA,yBACA,YACA,mBACA,iBACA,eACA,aACA,iBACA,eACA,oBACA,0BACA,yBACA,uBACA,wBACA,0BACA,cACA,MACA,6BACA,OACA,YACA,oBACA,iBACA,iBACA,cACA,kBACA,oBACA,WACA,WACA,eACA,iBACA,gBACA,sBACA,wBACA,qBACA,sBACA,SACA,UACA,OACA,oBACA,kBACA,mBACA,WACA,cACA,YACA,kBACA,OACA,iBACA,aACA,cACA,aACA,mBACA,sBACA,kBACA,SACA,eACA,mBACA,qBACA,gBACA,gBACA,oBACA,sBACA,cACA,eACA,aACA,QACA,OACA,cACA,mBACA,qBACA,qBACA,oBACA,qBACA,oBACA,YACA,iBACA,aACA,YACA,cACA,gBACA,cACA,YACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,WACA,YACA,WACA,YACA,SACA,OACA,SACA,aACA,kBACA,UACA,QACA,UACA,UACA,gBACA,iBACA,gBACA,gBACA,WACA,gBACA,aACA,aACA,UACA,gBACA,oBACA,sBACA,iBACA,iBACA,qBACA,uBACA,eACA,gBACA,cACA,mBACA,oBACA,oBACA,QACA,cACA,eACA,cACA,qBACA,iBACA,WACA,SACA,SACA,OACA,aACA,cACA,QACA,UACA,gBACA,sBACA,0BACA,4BACA,uBACA,uBACA,2BACA,6BACA,qBACA,sBACA,oBACA,iBACA,uBACA,2BACA,6BACA,wBACA,wBACA,4BACA,8BACA,sBACA,uBACA,qBACA,oBACA,mBACA,mBACA,kBACA,mBACA,kBACA,wBACA,eACA,gBACA,QACA,WACA,MACA,WACA,eACA,aACA,iBACA,kBACA,uBACA,kBACA,wBACA,uBACA,wBACA,gBACA,sBACA,yBACA,sBACA,cACA,eACA,mBACA,gBACA,iBACA,cACA,iBACA,0BACA,MACA,YACA,gBACA,mB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AAW,CACZ,CACP,CAAK,CACL,CACC,CAED,OAAAC,GAAiBJ,kDCvEjB,SAASK,EAASjU,EAAM,CAEtB,MAAMmS,EAAW,CACf,UAAW,WACX,SAAU,CACR,CACE,MAAO,SAAWnS,EAAK,oBAAsB,MAC7C,SAAU,CAAEA,EAAK,gBAAkB,CACpC,EACD,CAAE,MAAO,gBAAkB,CAC5B,CACL,EAEQyH,EAAe,CACnB,UAAW,SACX,MAAO,IACP,IAAK,IACL,SAAU,CACRzH,EAAK,iBACLmS,CACD,CACL,EAEQ+B,EAAO,CACX,UAAW,WACX,MAAO,eACP,IAAK,KACL,SAAU,CAAE,SACR,gPAGgE,EACpE,SAAU,CAAE/B,CAAU,CAC1B,EAEQgC,EAAa,CAAE,MAAO,IAAMnU,EAAK,oBAAsB,mBAEvDoU,EAAO,CACX,UAAW,OACX,MAAO,YACP,IAAK,IACL,SAAU,CACR,SAAU,UACV,QAAS,QACV,CACL,EAEQC,EAAS,CACb,UAAW,UACX,MAAO,WACP,IAAK,IACL,SAAU,CAAElC,CAAU,CAC1B,EACE,MAAO,CACL,KAAM,WACN,QAAS,CACP,KACA,MACA,MACD,EACD,SAAU,CACR,SAAU,SACV,QAAS,2HAEV,EACD,SAAU,CACRnS,EAAK,kBACLmS,EACA1K,EACAyM,EACAC,EACAC,EACAC,CACD,CACL,CACC,CAED,OAAAC,GAAiBL,kDC7EjB,SAASM,EAAKvU,EAAM,CAClB,MAAMvG,EAAQuG,EAAK,MACbgI,EAAW,CACf,MACA,SACA,QACA,MACA,QACA,OACA,UACA,QACA,QACA,SACA,QACA,QACA,QACA,OACA,QACA,MACA,SACA,QACA,WACA,UACA,WACA,MACA,QACA,WACA,UACA,UACA,SACA,MACA,KACA,OACA,OACA,OACA,QACA,WACA,aACA,YACA,cACA,WACA,aACA,MACA,OACA,OACA,SACA,OACA,MACA,QACA,SACA,QACA,MACA,UACA,OACA,SACA,WACA,OACA,WACA,WACA,WACA,gBACA,gBACA,aACA,WACA,eACA,eACA,YACA,cACA,UACA,cACA,iBACA,mBACA,cACA,WACA,WACA,WACA,gBACA,gBACA,aACA,cACA,aACA,QACA,OACA,SACA,OACA,OACA,KACA,MACA,KACA,QACA,MACA,QACA,OACA,OACA,OACA,OACA,KACA,UACA,SACA,OACA,SACA,QACA,YACA,MACA,QACA,KACA,KACA,MACA,QACA,SACA,SACA,SACA,SACA,KACA,KACA,OACA,KACA,MACA,MACA,OACA,UACA,KACA,MACA,MACA,OACA,UACA,OACA,MACA,MACA,QACA,SACA,YACA,OACA,MACA,KACA,YACA,KACA,KACA,OACA,OACA,UACA,WACA,WACA,WACA,OACA,OACA,MACA,SACA,UACA,QACA,SACA,UACA,YACA,SACA,QACA,MACA,SACA,OACA,UACA,SACA,SACA,SACA,QACA,OACA,WACA,aACA,YACA,UACA,cACA,cACA,WACA,aACA,aACA,QACA,SACA,SACA,UACA,WACA,WACA,MACA,QACA,SACA,aACA,OACA,SACA,QACA,UACA,OACA,QACA,OACA,QACA,QACA,MACA,SACA,UACA,UACA,UACA,UACA,UACA,SACA,WACA,OACA,UACA,MACA,OACA,OACA,QACA,KACA,WACA,KACA,UACA,QACA,QACA,SACA,SACA,SACA,UACA,QACA,QACA,MACA,QACA,SACA,MACA,OACA,UACA,YACA,OACA,OACA,QACA,QACA,MACA,MACA,KACJ,EAGQwM,EAAkB,uBAClBC,EAAgB,CACpB,SAAU,SACV,QAASzM,EAAS,KAAK,GAAG,CAC9B,EACQT,EAAQ,CACZ,UAAW,QACX,MAAO,UACP,IAAK,MACL,SAAUkN,CACd,EACQC,EAAS,CACb,MAAO,OACP,IAAK,IAET,EACQrN,EAAM,CAAE,SAAU,CACtB,CAAE,MAAO,MAAQ,EACjB,CAAE,MAAO5N,EAAM,OACb,iDAGA,uBACN,CAAO,EACH,CACE,MAAO,gBACP,UAAW,CACZ,CACL,GACQkb,EAAkB,CACtB3U,EAAK,iBACLuH,EACAF,CACJ,EACQuN,EAAe,CACnB,IACA,KACA,KACA,KACA,IACA,IAC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A,WACA,WACA,WACA,SACA,WACA,SACA,WACA,SACA,YACA,OACA,gBACA,KACA,SACA,YACA,WACA,WACA,SACA,OACA,OACA,KACA,MACA,QACA,SACA,QACA,SACA,WACA,SACA,UACA,kBACA,WACA,aACA,UACA,OACA,YACA,OACA,SACA,SACA,WACA,mBACA,cACA,WACA,YACA,YACA,YACA,UACA,WACA,UACA,QACA,uBACA,WACA,oBACA,oBACA,kBACA,cACA,kBACA,WACA,WACA,YACA,oBACA,eACA,sBACA,gBACA,SACA,SACA,SACA,oBACA,UACA,WACA,mBACA,kBACA,QACA,eACA,4BACA,iBACA,oBACA,2BACA,YACA,eACA,gBACA,UACA,aACA,uBACA,0BACA,wBACA,uBACA,gBACA,mBACA,YACA,aACA,gBACA,iBACA,eACJ,EAyBI,QAxBe,CACf,QACA,OACA,QACA,OACA,MACA,MACA,KACA,MACJ,EAgBI,SAfgB,CAChB,kBACA,mBACA,gBACA,iBACA,eACJ,EAUI,KA/JY,CACZ,MACA,QACA,OACA,WACA,SACA,QACA,OACA,SACA,UACA,UACA,OACA,OACA,OACA,OACA,OACJ,CAgJA,EACQC,EAAiB,CACrB,SAAUD,EACV,QAAS,CACP,aACA,SACA,YACA,iBACD,CACL,EACE,MAAO,CACL,KAAM,cACN,QAAS,CACP,KACA,OACA,QACA,UACA,eACD,EACD,SAAUtN,EACV,QAAS,KACT,SAAU,CACRqN,EACArV,EAAK,oBACLA,EAAK,qBACLA,EAAK,cACLA,EAAK,kBACLA,EAAK,iBACL,CACE,UAAW,SACX,SAAU,CACR,CACE,MAAO,KACP,IAAK,IACL,QAAS,MACT,SAAU,CAAEA,EAAK,gBAAkB,CACpC,CACF,CACF,EACD,CACE,UAAW,OACX,MAAO,eACP,IAAK,IACL,SAAU,CAAE,QACR,gFACiC,EACrC,SAAU,CACR,CACE,MAAO,OACP,UAAW,CACZ,EACDA,EAAK,QAAQA,EAAK,kBAAmB,CAAE,UAAW,SAAU,EAC5D,CACE,UAAW,SACX,MAAO,QACP,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AC1C,CAAE,MAAO,2CAA6C,EAEtD,CAAE,MAAO,4EAA8E,CACxF,EACD,UAAW,CACf,EACQpF,EAAW,CACf,QACA,OACA,MACJ,EACQ+N,EAAM,CAGV,YACA,UACA,WACA,eACA,2BACA,WACA,aACA,gBACA,YAGA,MACA,OACA,OACA,UACA,eACA,QACA,UACA,eAMA,QACA,WACA,MACA,KACA,SACA,OACA,UACA,QACA,WACA,OACA,QACA,QACA,QACA,QACA,WACA,UACA,UACA,KACA,SACA,OACA,SACA,QACA,aACA,SACA,aACA,QACA,YACA,WACA,OACA,OACA,UACA,QACA,UACA,QACA,MACA,UACA,OACA,SACA,OACA,KACA,aACA,aACA,YACA,MACA,UACA,YACA,QACA,WACA,OACA,UACA,QACA,MACA,QACA,SACA,KACA,UACA,YACA,SACA,WACA,OACA,SACA,SACA,SACA,QACA,QACA,MACA,QACA,MACA,MACA,OACA,QACA,MACA,OACJ,EAEQpG,EAAY,CAGhB,UACA,iBACA,qBACA,kBACA,gBACA,cACA,iBACA,2BACA,yBACA,kBACA,yBACA,eACA,YACA,oBACA,sBACA,kBACA,gBACA,iBACA,YACA,qBACA,iBACA,eACA,mBACA,2BACA,mBACA,kBACA,gBACA,iBACA,mBACA,mBACA,uBACA,sBACA,gBACA,oBACA,iBACA,aACA,iBACA,yBACA,2BACA,kCACA,6BACA,0BACA,oBACA,4BACA,yBACA,wBACA,gBACA,mBACA,mBACA,sBACA,cACA,gBACA,gBACA,UACA,aACA,aACA,mBACA,cACA,mBACA,WACA,WACA,aACA,oBACA,YACA,qBACA,2BACA,sBAGA,cACA,aACA,UACA,QACA,YACA,WACA,oBACA,eACA,aACA,YACA,cACA,WACA,gBACA,UAGA,YACA,yBACA,SACA,kBACA,OACA,SACA,UACJ,EAsBQ5H,EAAW,CACf,QAASgO,EACT,SAhBgBC,IAAU,CAE1B,MAAM7e,EAAS,CAAA,EACf,OAAA6e,GAAM,QAAQtS,IAAQ,CACpBvM,EAAO,KAAKuM,EAAI,EACZA,G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D,EACD,MAAO,CACL,EAAG,UACH,EAAG,mBACJ,CACF,EACDuc,EACA,CACE,MAAO,WACP,UAAW,EACX,cAAe,cACf,IAAK,OACL,WAAY,GACZ,QAAS,UACT,SAAU,CACR,CAAE,cAAe,KAAQ,EACzBnW,EAAK,sBACL,CACE,MAAO,KACP,WAAY,EACb,EACD,CACE,MAAO,SACP,MAAO,MACP,IAAK,MACL,aAAc,GACd,WAAY,GACZ,SAAUgI,EACV,SAAU,CACR,OACAmK,EACAkE,EACArW,EAAK,qBACL2K,EACA0C,CACD,CACF,CACF,CACF,EACD,CACE,MAAO,QACP,SAAU,CACR,CACE,cAAe,OACf,QAAS,OACV,EACD,CACE,cAAe,wBACf,QAAS,QACV,CACF,EACD,UAAW,EACX,IAAK,KACL,WAAY,GACZ,SAAU,CACR,CAAE,cAAe,oBAAsB,EACvCrN,EAAK,qBACN,CACF,EAID,CACE,cAAe,YACf,UAAW,EACX,IAAK,IACL,QAAS,OACT,SAAU,CAAEA,EAAK,QAAQA,EAAK,sBAAuB,CAAE,MAAO,aAAa,CAAE,CAAG,CACjF,EACD,CACE,cAAe,MACf,UAAW,EACX,IAAK,IACL,SAAU,CAER,CACE,MAAO,0BACP,MAAO,SACR,EAEDA,EAAK,qBACN,CACF,EACD2K,EACA0C,CACD,CACL,CACC,CAED,OAAAqJ,GAAiBjB,kDCnlBjB,SAASkB,EAAY3W,EAAM,CACzB,MAAO,CACL,KAAM,eACN,YAAa,MACb,SAAU,CACR,CACE,MAAO,cACP,IAAK,MACL,YAAa,MACb,SAAU,CAGR,CACE,MAAO,OACP,IAAK,OACL,KAAM,EACP,EACD,CACE,MAAO,KACP,IAAK,IACL,KAAM,EACP,EACD,CACE,MAAO,KACP,IAAK,IACL,KAAM,EACP,EACDA,EAAK,QAAQA,EAAK,iBAAkB,CAClC,QAAS,KACT,UAAW,KACX,SAAU,KACV,KAAM,EAClB,CAAW,EACDA,EAAK,QAAQA,EAAK,kBAAmB,CACnC,QAAS,KACT,UAAW,KACX,SAAU,KACV,KAAM,EAClB,CAAW,CACF,CACF,CACF,CACL,CACC,CAED,OAAA4W,GAAiBD,kDC9CjB,SAASpS,EAAUvE,EAAM,CACvB,MAAO,CACL,KAAM,aACN,QAAS,CACP,OACA,KACD,EACD,kBAAmB,EACvB,CACC,CAED,OAAA6W,GAAiBtS,kDCXjB,SAASuS,EAAO9W,EAAM,CACpB,MAAMvG,EAAQuG,EAAK,MACbpG,EAAW,qCACXmd,EAAiB,CACrB,MACA,KACA,SACA,QACA,QACA,QACA,OACA,QACA,WACA,MACA,MACA,OACA,OACA,SACA,UACA,MACA,OACA,SACA,KACA,SACA,KACA,KACA,SACA,QACA,cACA,MACA,KACA,OACA,QACA,SACA,MACA,QACA,OACA,OACJ,EAsGQ/O,EAAW,CACf,SAAU,sBACV,QAAS+O,EACT,SAvGgB,CAChB,aACA,MACA,MACA,MACA,QACA,MACA,OACA,aACA,YACA,QACA,WACA,MACA,cACA,UACA,UACA,UACA,OACA,MACA,SACA,YACA,OACA,OACA,SACA,QACA,SACA,YACA,UACA,UACA,UACA,OACA,OACA,MACA,KACA,QACA,MACA,aACA,aACA,OACA,MACA,OACA,SACA,MACA,MACA,aACA,MACA,OACA,SACA,MACA,OACA,MACA,MACA,QACA,WACA,QACA,OACA,WACA,QACA,MACA,UACA,QACA,SACA,eACA,MACA,MACA,QACA,QACA,OACA,OACA,KACJ,EAkCI,QAhCe,CACf,YACA,WACA,QACA,OACA,iBACA,MACJ,EA0BI,KArBY,CACZ,MACA,WACA,YACA,OACA,OACA,UACA,UACA,WACA,WACA,MACA,QACA,OACA,OACJ,CAQA,EAEQC,EAAS,CACb,UAAW,OACX,MAAO,gBACX,EAEQzP,EAAQ,CACZ,UAAW,QACX,MAAO,KACP,IAAK,KACL,SAAUS,EACV,QAAS,GACb,EAEQiP,EAAkB,CACtB,MAAO,OACP,UAAW,CACf,EAEQtM,EAAS,CACb,UAAW,SACX,SAAU,CAAE3K,EAAK,gBAAkB,EACnC,SAAU,CACR,CACE,MAAO,yCACP,IAAK,MACL,SAAU,CACRA,EAAK,iBACLgX,CACD,EACD,UAAW,EACZ,EACD,CACE,MAAO,yCACP,IAAK,MACL,SAAU,CACRhX,EAAK,iBACLgX,CACD,EACD,UAAW,EACZ,EACD,CACE,MAAO,8BACP,IAAK,MACL,SAAU,CACRhX,EAAK,iBACLgX,EACAC,EACA1P,CACD,CACF,EACD,CACE,MAAO,8BACP,IAAK,MACL,SAAU,CACRvH,EAAK,iBACLgX,EACAC,EACA1P,CACD,CACF,EACD,CACE,MAAO,eACP,IAAK,IACL,UAAW,EACZ,EACD,CACE,MAAO,eACP,IAAK,IACL,UAAW,EACZ,EACD,CACE,MAAO,4BACP,IAAK,GACN,EACD,CACE,MAAO,4BACP,IAAK,GACN,EACD,CACE,MAAO,4BACP,IAAK,IACL,SAAU,CACRvH,EAAK,iBACLiX,EACA1P,CACD,CACF,EACD,CACE,MAAO,4BACP,IAAK,IACL,SAAU,CACRvH,EAAK,iBACLiX,EACA1P,CACD,CACF,EACDvH,EAAK,iBACLA,EAAK,iBACN,CACL,EAGQkX,EAAY,kBACZC,EAAa,QAAQD,WAAmBA,UAAkBA,QAM1Dze,EAAY,OAAOse,EAAe,KAAK,GAAG,IAC1C1J,EAAS,CACb,UAAW,SACX,UAAW,EACX,SAAU,CAWR,CACE,MAAO,QAAQ6J,OAAeC,gBAAyBD,aAAqBze,IAC7E,EACD,CACE,MAAO,IAAI0e,SACZ,EAQD,CACE,MAAO,0CAA0C1e,IAClD,EACD,CACE,MAAO,4BAA4BA,IACpC,EACD,CACE,MAAO,6BAA6BA,IACrC,EACD,CACE,MAAO,mCAAmCA,IAC3C,EAID,CACE,MAAO,OAAOye,YAAoBze,IACnC,CACF,CACL,EACQ2e,EAAe,CACnB,UAAW,UACX,MAAO3d,EAAM,UAAU,SAAS,EAChC,IAAK,IACL,SAAUuO,EACV,SAAU,CACR,CACE,MAAO,SACR,EAED,CACE,MAAO,IACP,IAAK,OACL,eAAgB,EACjB,CACF,CACL,EACQsF,EAAS,CACb,UAAW,SACX,SAAU,CAER,CACE,UAAW,GACX,MAAO,UACP,KAAM,EACP,EACD,CACE,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,GACZ,SAAUtF,EACV,SAAU,CACR,OACAgP,EACA3J,EACA1C,EACA3K,EAAK,iBACN,CACF,CACF,CACL,EACE,OAAAuH,EAAM,SAAW,CACfoD,EACA0C,EACA2J,CACJ,EAES,CACL,KAAM,SACN,QAAS,CACP,KACA,MACA,SACD,EACD,aAAc,GACd,SAAUhP,EACV,QAAS,iBACT,SAAU,CACRgP,EACA3J,EACA,CAEE,MAAO,UACR,EACD,CAGE,cAAe,KACf,UAAW,CACZ,EACD1C,EACAyM,EACApX,EAAK,kBACL,CACE,MAAO,CACL,QAAS,MACTpG,CACD,EACD,MAAO,CACL,EAAG,UACH,EAAG,gBACJ,EACD,SAAU,CAAE0T,CAAQ,CACrB,EACD,CACE,SAAU,CACR,CACE,MAAO,CACL,UAAW,MACX1T,EAAU,MACV,QAASA,EAAS,OACnB,CACF,EACD,CACE,MAAO,CACL,UAAW,MACXA,CACD,CACF,CACF,EACD,MAAO,CACL,EAAG,UACH,EAAG,cACH,EAAG,uBACJ,CACF,EACD,CACE,UAAW,OACX,MAAO,WACP,IAAK,UACL,SAAU,CACRyT,EACAC,EACA3C,CACD,CACF,CACF,CACL,CACC,CAED,OAAA0M,GAAiBP,kDC1ajB,SAASQ,EAAWtX,EAAM,CACxB,MAAO,CACL,QAAS,CAAE,OAAS,EACpB,SAAU,CACR,CACE,UAAW,cACX,OAAQ,CAGN,IAAK,MACL,OAAQ,CACN,IAAK,IACL,YAAa,QACd,CACF,EACD,SAAU,CACR,CAAE,MAAO,eAAiB,EAC1B,CAAE,MAAO,kBAAoB,CAC9B,CACF,CACF,CACL,CACC,CAED,OAAAuX,GAAiBD,kDCrBjB,SAASE,EAAExX,EAAM,CACf,MAAMvG,EAAQuG,EAAK,MAObpG,EAAW,uDACX6d,EAA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O,CACL,EAAG,WACH,EAAG,QACJ,EACD,MAAO,CACL,UACAA,CACD,CACF,EACD,CACE,MAAO,CACL,EAAG,cACH,EAAG,QACJ,EACD,MAAO,CACLE,EACAF,CACD,CACF,EACD,CACE,MAAO,CAAE,EAAG,QAAU,EACtB,MAAO,CACL,mBACAA,CACD,CACF,CACF,CACF,EAGD,CAEE,MAAO,CAAE,EAAG,UAAY,EACxB,MAAO,CACL7d,EACA,MACA,KACA,KACD,CACF,EAED,CACE,MAAO,WACP,UAAW,EACX,SAAU,CACR,CAAE,MAAO8d,CAAc,EACvB,CAAE,MAAO,SAAW,CACrB,CACF,EAED,CACE,MAAO,cACP,UAAW,EACX,MAAOC,CACR,EAED,CAEE,MAAO,IACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,MAAS,CAC/B,CACF,CACL,CACC,CAED,OAAAC,GAAiBJ,kDCvPjB,SAASK,EAAK7X,EAAM,CAClB,MAAMvG,EAAQuG,EAAK,MACbwW,EAAkB,CACtB,UAAW,wBACX,UAAW,EACX,MAAO/c,EAAM,OACX,KACA,YACAuG,EAAK,SACLvG,EAAM,UAAU,OAAO,CAAC,CAC9B,EACQqe,EAAgB,wCAChB9P,EAAW,CACf,WACA,KACA,QACA,QACA,SACA,MACA,QACA,QACA,WACA,QACA,KACA,MACA,OACA,OACA,SACA,QACA,QACA,KACA,MACA,KACA,OACA,KACA,MACA,OACA,QACA,QACA,MACA,OACA,MACA,WACA,OACA,MACA,MACA,SACA,OACA,OACA,SACA,SACA,QACA,QACA,OACA,MACA,OACA,SACA,SACA,UACA,MACA,UACA,QACA,QACA,OACJ,EACQC,EAAW,CACf,OACA,QACA,OACA,OACA,KACA,KACJ,EACQ8P,EAAW,CAEf,QAEA,OACA,OACA,QACA,OACA,OACA,KACA,QACA,SACA,UACA,QACA,QACA,YACA,aACA,KACA,MACA,QACA,QACA,OACA,OACA,UACA,WACA,SACA,eACA,sBACA,oBACA,iBACA,WAEA,UACA,aACA,YACA,SACA,OACA,OACA,UACA,iBACA,gBACA,mBACA,OACA,SACA,QACA,UACA,eACA,iBACA,eACA,QACA,kBACA,eACA,cACA,SACA,WACA,UACA,aACA,OACA,iBACA,eACA,OACA,SACA,WACA,eACA,aACA,kBACJ,EACQnP,EAAQ,CACZ,KACA,MACA,MACA,MACA,OACA,QACA,KACA,MACA,MACA,MACA,OACA,QACA,MACA,MACA,MACA,OACA,OACA,MACA,SACA,SACA,SACA,KACJ,EACE,MAAO,CACL,KAAM,OACN,QAAS,CAAE,IAAM,EACjB,SAAU,CACR,SAAU5I,EAAK,SAAW,KAC1B,KAAM4I,EACN,QAASZ,EACT,QAASC,EACT,SAAU8P,CACX,EACD,QAAS,KACT,SAAU,CACR/X,EAAK,oBACLA,EAAK,QAAQ,OAAQ,OAAQ,CAAE,SAAU,CAAE,MAAM,EAAI,EACrDA,EAAK,QAAQA,EAAK,kBAAmB,CACnC,MAAO,MACP,QAAS,IACjB,CAAO,EACD,CACE,UAAW,SACX,SAAU,CACR,CAAE,MAAO,0BAA4B,EACrC,CAAE,MAAO,iCAAmC,CAC7C,CACF,EACD,CACE,UAAW,SACX,MAAO,yBACR,EACD,CACE,UAAW,SACX,SAAU,CACR,CAAE,MAAO,gBAAkB8X,CAAe,EAC1C,CAAE,MAAO,iBAAmBA,CAAe,EAC3C,CAAE,MAAO,uBAAyBA,CAAe,EACjD,CAAE,MAAO,kDACEA,CAAe,CAC3B,EACD,UAAW,CACZ,EACD,CACE,MAAO,CACL,KACA,MACA9X,EAAK,mBACN,EACD,UAAW,CACT,EAAG,UACH,EAAG,gBACJ,CACF,EACD,CACE,UAAW,OACX,MAAO,SACP,IAAK,MACL,SAAU,CACR,CACE,UAAW,SACX,MAAO,IACP,IAAK,GACN,CACF,CACF,EACD,CACE,MAAO,CACL,MACA,MACA,cACAA,EAAK,mBACN,EACD,UAAW,CACT,EAAG,UACH,EAAG,UACH,EAAG,UACJ,CACF,EAED,CACE,MAAO,CACL,MACA,MACAA,EAAK,oBACL,MACA,IACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,WACH,EAAG,SACJ,CACF,EACD,CACE,MAAO,CACL,OACA,MACAA,EAAK,mBACN,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,EACD,CACE,MAAO,CACL,uCACA,MACAA,EAAK,mBACN,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,EACD,CACE,MAAOA,EAAK,SAAW,KACvB,SAAU,CACR,QAAS,OACT,SAAU+X,EACV,KAAMnP,CACP,CACF,EACD,CACE,UAAW,cACX,MAAO,IACR,EACD4N,CACD,CACL,CACC,CAED,OAAAwB,GAAiBH,kDC/SjB,MAAMpc,EAASuE,IACN,CACL,UAAW,CACT,MAAO,OACP,MAAO,YACR,EACD,cAAeA,EAAK,qBACpB,SAAU,CACR,MAAO,SACP,MAAO,iDACR,EACD,kBAAmB,CACjB,UAAW,WACX,MAAO,cACR,EACD,wBAAyB,CACvB,MAAO,gBACP,MAAO,KACP,IAAK,KACL,QAAS,IACT,SAAU,CACRA,EAAK,iBACLA,EAAK,iBACN,CACF,EACD,gBAAiB,CACf,MAAO,SACP,MAAOA,EAAK,UAAY,kGASxB,UAAW,CACZ,EACD,aAAc,CACZ,UAAW,OACX,MAAO,0BACR,CACL,GAGMgL,EAAO,CACX,IACA,OACA,UACA,UACA,QACA,QACA,IACA,aACA,OACA,SACA,SACA,UACA,OACA,OACA,KACA,MACA,UACA,MACA,MACA,KACA,KACA,KACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,SACA,SACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,QACA,SACA,KACA,OACA,OACA,OACA,MACA,SACA,KACA,IACA,IACA,QACA,OACA,UACA,OACA,SACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,KACA,KACA,MACA,OACF,EAEMC,EAAiB,CACrB,YACA,cACA,eACA,QACA,cACA,cACA,sBACA,gBACA,eACA,eACA,gBACA,OACA,SACA,QACA,kBACA,aACA,cACA,iBACA,kBACA,UACA,uBACA,mBACA,yBACA,+BACA,aACA,OACA,YACA,SACA,QAEA,YACA,YACA,aACA,YACF,EAGMC,EAAiB,CACrB,SACA,WACA,QACA,UACA,UACA,UACA,UACA,MACA,WACA,OACA,QACA,UACA,QACA,cACA,gBACA,aACA,SACA,QACA,gBACA,eACA,MACA,OACA,eACA,QACA,gBACA,WACA,UACA,KACA,OACA,aACA,eACA,OACA,OACA,aACA,MACA,YACA,UACA,iBACA,eACA,mBACA,cACA,aACA,eACA,WACA,eACA,OACA,oBACA,YACA,aACA,WACA,QACA,OACA,QACA,SACA,gBACA,eACA,QACA,UACA,OACF,EAGMC,EAAkB,CACtB,QACA,WACA,SACA,MACA,aACA,eACA,aACA,gBACA,SACA,OACA,cACA,YACA,UACA,gBACF,EAEMC,EAAa,CACjB,gBACA,cACA,aACA,MACA,YACA,kBACA,sBACA,qBACA,sBACA,4BACA,iBACA,uBACA,4BACA,sBACA,aACA,wBACA,wBACA,kBACA,mBACA,mBACA,oBACA,sBACA,oBACA,kBACA,aACA,SACA,eACA,qBACA,mBACA,yBACA,yBACA,yBACA,qBACA,2BACA,2BACA,2BACA,qBACA,qBACA,gBACA,sBACA,4BACA,6BACA,sBACA,sBACA,kBACA,eACA,eACA,sBACA,sBACA,qBACA,sBACA,qBACA,gBACA,sBACA,oBACA,0BACA,0BACA,0BACA,sBACA,4BACA,4BACA,4BACA,sBACA,sBACA,cACA,oBACA,oBACA,oBACA,gBACA,eACA,qBACA,qBACA,qBACA,iBACA,eACA,aACA,mBACA,yBACA,0BACA,mBACA,mBACA,eACA,SACA,uBACA,aACA,aACA,cACA,eACA,eACA,eACA,cACA,QACA,OACA,YACA,YACA,QACA,eACA,cACA,aACA,cACA,oBACA,oBACA,oBACA,cACA,eACA,UACA,UACA,UACA,qBACA,oBACA,gBACA,MACA,YACA,aACA,SACA,YACA,UACA,cACA,SACA,OACA,aACA,iBACA,YACA,YACA,cACA,YACA,QACA,OACA,OACA,eACA,cACA,wBACA,eACA,yBACA,YACA,mBACA,iBACA,eACA,aACA,iBACA,eACA,oBACA,0BACA,yBACA,uBACA,wBACA,0BACA,cACA,MACA,6BACA,OACA,YACA,oBACA,iBACA,iBACA,cACA,kBACA,oBACA,WACA,WACA,eACA,iBACA,gBACA,sBACA,wBACA,qBACA,sBACA,SACA,UACA,OACA,oBACA,kBACA,mBACA,WACA,cACA,YACA,kBACA,OACA,iBACA,aACA,cACA,aACA,mBACA,sBACA,kBACA,SACA,eACA,mBACA,qBACA,gBACA,gBACA,oBACA,sBACA,cACA,eACA,aACA,QACA,OACA,cACA,mBACA,qBACA,qBACA,oBACA,qBACA,oBACA,YACA,iBACA,aACA,YACA,cACA,gBACA,cACA,YACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,aACA,kBACA,YACA,iBACA,WACA,YACA,WACA,YACA,SACA,OACA,SACA,aACA,kBACA,UACA,QACA,UACA,UACA,gBACA,iBACA,gBACA,gBACA,WACA,gBACA,aACA,aACA,UACA,gBACA,oBACA,sBACA,iBACA,iBACA,qBACA,uBACA,eACA,gBACA,cACA,mBACA,oBACA,oBACA,QACA,cACA,eACA,cACA,qBACA,iBACA,WACA,SACA,SACA,OACA,aACA,cACA,QACA,UACA,gBACA,sBACA,0BACA,4BACA,uBACA,uBACA,2BACA,6BACA,qBACA,sBACA,oBACA,iBACA,uBACA,2BACA,6BACA,wBACA,wBACA,4BACA,8BACA,sBACA,uBACA,qBACA,oBACA,mBACA,mBACA,kBACA,mBACA,kBACA,wBACA,eACA,gBACA,QACA,WACA,MACA,WACA,eACA,aACA,iBACA,kBACA,uBACA,kBACA,wBACA,uBACA,wBACA,gBACA,sBACA,yBACA,sBACA,cACA,eACA,mBACA,gBACA,iBACA,cACA,iBACA,0BACA,MACA,YACA,gBACA,mBACA,kBACA,aACA,mBACA,sBACA,sBACA,6BACA,eACA,iBACA,aACA,gBACA,iBACA,eACA,cACA,cACA,aACA,eACA,eACA,cACA,SACA,QACA,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W,WACZ,EACDqH,EACAnS,EAAK,kBACLA,EAAK,iBACLsL,EAAM,SACNA,EAAM,eACP,CACF,EACDA,EAAM,iBACP,CACL,CACC,CAED,OAAA8M,GAAiBH,kDC7sBjB,SAASI,EAAMrY,EAAM,CACnB,MAAO,CACL,KAAM,gBACN,QAAS,CACP,UACA,cACD,EACD,SAAU,CACR,CACE,UAAW,cAIX,MAAO,qCACP,OAAQ,CACN,IAAK,gBACL,YAAa,MACd,CACF,CACF,CACL,CACC,CAED,OAAAsY,GAAiBD,kDCVjB,SAASE,EAAIvY,EAAM,CACjB,MAAMvG,EAAQuG,EAAK,MACbwY,EAAexY,EAAK,QAAQ,KAAM,GAAG,EACrC2K,EAAS,CACb,UAAW,SACX,SAAU,CACR,CACE,MAAO,IACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,KAAQ,CAC9B,CACF,CACL,EACQ8N,EAAoB,CACxB,MAAO,IACP,IAAK,IACL,SAAU,CAAE,CAAE,MAAO,KAAQ,CACjC,EAEQxQ,EAAW,CACf,OACA,QAGA,SACJ,EAEQyQ,EAAmB,CACvB,mBACA,eACA,gBACA,kBACJ,EAEQ9P,EAAQ,CACZ,SACA,SACA,OACA,UACA,OACA,YACA,OACA,OACA,MACA,WACA,UACA,QACA,MACA,UACA,WACA,QACA,QACA,WACA,UACA,OACA,MACA,WACA,OACA,YACA,UACA,UACA,WACJ,EAEQ+P,EAAqB,CACzB,MACA,MACA,YACA,OACA,QACA,QACA,OACA,MACJ,EAGQ5B,EAAiB,CACrB,MACA,OACA,MACA,WACA,QACA,MACA,MACA,MACA,QACA,YACA,wBACA,KACA,aACA,OACA,aACA,KACA,OACA,SACA,gBACA,MACA,QACA,cACA,kBACA,UACA,SACA,SACA,OACA,UACA,OACA,KACA,OACA,SACA,cACA,WACA,OACA,OACA,OACA,UACA,OACA,cACA,YACA,mBACA,QACA,aACA,OACA,QACA,WACA,UACA,UACA,SACA,SACA,YACA,UACA,aACA,WACA,UACA,OACA,OACA,gBACA,MACA,OACA,QACA,YACA,aACA,SACA,QACA,OACA,YACA,UACA,kBACA,eACA,kCACA,eACA,eACA,cACA,iBACA,eACA,oBACA,eACA,eACA,mCACA,eACA,SACA,QACA,OACA,MACA,aACA,MACA,UACA,WACA,UACA,UACA,SACA,SACA,aACA,QACA,WACA,gBACA,aACA,WACA,SACA,OACA,UACA,OACA,UACA,OACA,QACA,MACA,YACA,gBACA,WACA,SACA,SACA,QACA,SACA,OACA,UACA,SACA,MACA,WACA,UACA,QACA,QACA,SACA,cACA,QACA,QACA,MACA,UACA,YACA,OACA,OACA,OACA,WACA,SACA,MACA,SACA,QACA,QACA,WACA,SACA,SACA,OACA,OACA,WACA,KACA,YACA,UACA,QACA,QACA,cACA,SACA,MACA,UACA,YACA,eACA,WACA,OACA,KACA,OACA,aACA,gBACA,cACA,cACA,iBACA,aACA,aACA,uBACA,aACA,MACA,WACA,QACA,aACA,UACA,OACA,UACA,OACA,OACA,aACA,UACA,KACA,QACA,YACA,iBACA,MACA,QACA,QACA,QACA,eACA,kBACA,UACA,MACA,SACA,QACA,SACA,MACA,SACA,MACA,WACA,SACA,QACA,WACA,WACA,UACA,QACA,QACA,MACA,KACA,OACA,YACA,MACA,YACA,QACA,OACA,SACA,UACA,eACA,oBACA,KACA,SACA,MACA,OACA,KACA,MACA,OACA,OACA,KACA,QACA,MACA,QACA,OACA,WACA,UACA,YACA,YACA,UACA,MACA,UACA,eACA,kBACA,kBACA,SACA,UACA,WACA,iBACA,QACA,WACA,YACA,UACA,UACA,YACA,MACA,QACA,OACA,QACA,OACA,YACA,MACA,aACA,cACA,YACA,YACA,aACA,iBACA,UACA,aACA,WACA,WACA,WACA,UACA,SACA,SACA,UACA,SACA,QACA,WACA,SACA,MACA,aACA,OACA,UACA,YACA,QACA,SACA,SACA,SACA,OACA,SACA,YACA,eACA,MACA,OACA,UACA,MACA,OACA,OACA,WACA,OACA,WACA,eACA,MACA,eACA,WACA,aACA,OACA,QACA,SACA,aACA,cACA,cACA,SACA,YACA,kBACA,WACA,MACA,YACA,SACA,cACA,cACA,QACA,cACA,MACA,OACA,OACA,OACA,YACA,gBACA,kBACA,KACA,WACA,YACA,kBACA,cACA,QACA,UACA,OACA,aACA,OACA,WACA,UACA,QACA,SACA,UACA,SACA,SACA,QACA,OACA,QACA,QACA,SACA,WACA,UACA,WACA,YACA,UACA,UACA,aACA,OACA,WACA,QACA,eACA,SACA,OACA,SACA,UACA,MACJ,EAKQ6B,EAAqB,CACzB,MACA,OACA,YACA,OACA,OACA,MACA,OACA,OACA,UACA,WACA,OACA,MACA,OACA,QACA,YACA,aACA,YACA,aACA,QACA,UACA,MACA,UACA,cACA,QACA,aACA,gBACA,cACA,cACA,iBACA,aACA,aACA,uBACA,aACA,MACA,aACA,OACA,UACA,KACA,MACA,QACA,QACA,MACA,MACA,MACA,YACA,QACA,SACA,eACA,kBACA,kBACA,WACA,iBACA,QACA,OACA,YACA,YACA,aACA,iBACA,UACA,aACA,WACA,WACA,WACA,aACA,MACA,OACA,OACA,aACA,cACA,YACA,kBACA,MACA,MACA,OACA,YACA,kBACA,QACA,OACA,aACA,SACA,QACA,WACA,UACA,WACA,cACJ,EAGQC,EAA0B,CAC9B,kBACA,eACA,kCACA,eACA,eACA,iBACA,mCACA,eACA,eACA,cACA,cACA,eACA,YACA,oBACA,gBACJ,EAIQC,EAAS,CACb,eACA,cACA,cACA,cACA,WACA,cACA,iBACA,gBACA,cACA,gBACA,gBACA,eACA,cACA,aACA,cACA,eACJ,EAEQC,EAAYH,EAEZ5Q,EAAW,CACf,GAAG+O,EACH,GAAG4B,CACP,EAAI,OAAQ7b,GACD,CAAC8b,EAAmB,SAAS9b,CAAO,CAC5C,EAEKqV,EAAW,CACf,UAAW,WACX,MAAO,YACX,EAEQ6G,EAAW,CACf,UAAW,WACX,MAAO,gDACP,UAAW,CACf,EAEQ3H,EAAgB,CACpB,MAAO5X,EAAM,OAAO,KAAMA,EAAM,OAAO,GAAGsf,CAAS,EAAG,OAAO,EAC7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S,EAAG,CAAC,EACvBZ,GAEA,EAEV,CAWD,SAASc,KAAUF,EAAM,CAMvB,MAHe,KADFC,EAAqBD,CAAI,EAE5B,QAAU,GAAK,MACrBA,EAAK,IAAKjB,GAAMW,EAAOX,CAAC,CAAC,EAAE,KAAK,GAAG,EAAI,GAE5C,CAED,MAAM0hB,EAAiBxc,GAAWpE,EAChC,KACAoE,EACA,MAAM,KAAKA,CAAO,EAAI,KAAO,IAC/B,EAGMyc,EAAc,CAClB,WACA,MACF,EAAE,IAAID,CAAc,EAGdE,EAAsB,CAC1B,OACA,MACF,EAAE,IAAIF,CAAc,EAGdG,EAAe,CACnB,MACA,MACF,EAGMC,EAAW,CAIf,QACA,MACA,iBACA,QACA,QACA,OACA,MACA,KACA,QACA,OACA,QACA,QACA,WACA,cACA,UACA,QACA,SACA,SACA,cACA,KACA,UACA,OACA,OACA,YACA,cACA,qBACA,cACA,QACA,MACA,OACA,MACA,QACA,KACA,SACA,WACA,QACA,SACA,QACA,QACA,kBACA,WACA,KACA,KACA,WACA,cACA,OACA,MACA,WACA,cACA,cACA,OACA,WACA,WACA,WACA,UACA,kBACA,SACA,iBACA,UACA,WACA,gBACA,SACA,SACA,WACA,WACA,SACA,MACA,OACA,SACA,SACA,YACA,QACA,SACA,SACA,QACA,QACA,OACA,MACA,YACA,kBACA,oBACA,UACA,MACA,OACA,QACA,QACA,SACF,EAMMC,EAAW,CACf,QACA,MACA,MACF,EAGMC,EAA0B,CAC9B,aACA,gBACA,aACA,OACA,YACA,OACA,OACF,EAIMC,EAAqB,CACzB,gBACA,UACA,aACA,QACA,UACA,SACA,SACA,QACA,UACA,eACA,YACA,YACA,MACA,gBACA,WACA,QACA,YACA,kBACA,2BACA,UACF,EAGMC,EAAW,CACf,MACA,MACA,MACA,SACA,mBACA,aACA,OACA,aACA,YACA,4BACA,MACA,MACA,cACA,eACA,eACA,eACA,sBACA,QACA,WACA,gBACA,WACA,SACA,OACA,oCACA,YACA,OACA,gBACA,iBACA,uBACA,2BACA,oBACA,aACA,0BACA,KACF,EAGMC,EAAehhB,EACnB,oBACA,kBACA,iBACA,iBACA,iBACA,mCACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,kBACA,UACF,EAGMihB,EAAoBjhB,EACxBghB,EACA,kBACA,kBACA,kBACA,kBACA,iBAGF,EAGME,EAAWvhB,EAAOqhB,EAAcC,EAAmB,GAAG,EAGtDE,EAAiBnhB,EACrB,YACA,uDACA,yDACA,yDACA,kBACA,+DACA,yDACA,+BACA,yDACA,yDACA,8BAMF,EAGMohB,EAAsBphB,EAC1BmhB,EACA,KACA,wDACF,EAGME,EAAa1hB,EAAOwhB,EAAgBC,EAAqB,GAAG,EAG5DE,EAAiB3hB,EAAO,QAASyhB,EAAqB,GAAG,EAIzDG,EAAoB,CACxB,cACA5hB,EAAO,eAAgBK,EAAO,QAAS,QAAS,GAAG,EAAG,IAAI,EAC1D,oBACA,kBACA,sBACA,WACA,SACA,gBACA,WACA,eACA,gBACA,WACA,gBACA,YACA,OACA,UACA,oBACA,YACA,YACAL,EAAO,SAAU0hB,EAAY,IAAI,EACjC,OACA,cACA,kBACA,iCACA,gBACA,WACA,oBACA,UACA,kBACF,EAGMG,EAAuB,CAC3B,MACA,0BACA,QACA,4BACA,cACA,kCACA,UACA,8BACA,OACA,2BACA,OACF,EAYA,SAASC,EAAMxa,EAAM,CACnB,MAAM+V,EAAa,CACjB,MAAO,MACP,UAAW,CACf,EAEQ0E,EAAgBza,EAAK,QACzB,OACA,OACA,CAAE,SAAU,CAAE,OAAU,CAC5B,EACQmO,EAAW,CACfnO,EAAK,oBACLya,CACJ,EAIQC,GAAc,CAClB,MAAO,CACL,KACA3hB,EAAO,GAAGwgB,EAAa,GAAGC,CAAmB,CAC9C,EACD,UAAW,CAAE,EAAG,SAAW,CAC/B,EACQmB,GAAgB,CAEpB,MAAOjiB,EAAO,KAAMK,EAAO,GAAG2gB,CAAQ,CAAC,EACvC,UAAW,CAC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B,QAAS,MACT,UAAW,CACf,EACQnP,EAAQ,CACZ,MAAO,MACP,IAAK,MACL,SAAU,CAAEmP,CAAiB,EAC7B,QAAS,MACT,UAAW,CACf,EAEQ/hB,EAAQ,CACZuhB,EACA,CACE,UAAW,OACX,MAAO,YACP,UAAW,EACZ,EACD,CAKE,UAAW,SACX,MAAO,+DACR,EACD,CACE,MAAO,WACP,IAAK,UACL,YAAa,OACb,aAAc,GACd,WAAY,GACZ,UAAW,CACZ,EACD,CACE,UAAW,OACX,MAAO,SAAWD,CACnB,EAED,CACE,UAAW,OACX,MAAO,KAAOA,EAAiB,GAChC,EACD,CACE,UAAW,OACX,MAAO,IAAMA,CACd,EACD,CACE,UAAW,OACX,MAAO,KAAOA,CACf,EACD,CACE,UAAW,OACX,MAAO,IAAM/c,EAAK,oBAAsB,GACzC,EACD,CACE,UAAW,OACX,MAAO,MAAQA,EAAK,oBAAsB,GAC3C,EACD,CACE,UAAW,SAEX,MAAO,aACP,UAAW,CACZ,EACDA,EAAK,kBACL,CACE,cAAeiI,EACf,SAAU,CAAE,QAASA,CAAU,CAChC,EACDsV,EAGA,CACE,UAAW,SACX,MAAOvd,EAAK,YAAc,MAC1B,UAAW,CACZ,EACDyd,EACApP,EACA1D,CACJ,EAEQoI,EAAc,CAAE,GAAGtX,GACzB,OAAAsX,EAAY,IAAG,EACfA,EAAY,KAAKmK,CAAgB,EACjCM,EAAgB,SAAWzK,EAEpB,CACL,KAAM,OACN,iBAAkB,GAClB,QAAS,CAAE,KAAO,EAClB,SAAUtX,CACd,CACC,CAED,OAAAiiB,GAAiBZ,kDCjMjB,MAAMljB,EAAW,2BACXoO,EAAW,CACf,KACA,KACA,KACA,KACA,MACA,QACA,UACA,MACA,MACA,WACA,KACA,SACA,OACA,OACA,QACA,QACA,aACA,OACA,QACA,OACA,UACA,MACA,SACA,WACA,SACA,SACA,MACA,QACA,QACA,QAIA,WACA,QACA,QACA,SACA,SACA,OACA,SACA,SACF,EACMC,EAAW,CACf,O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,CAAE,MAAO,GAAK,EACd,CAEE,MAAO,oBAAsB,CAChC,CAAA,CAAE,EAYH,MAAO,CACL,KAAM,oBACN,QAAS,CAAE,IAAM,EACjB,iBAAkB,GAClB,iBAAkB,CAAE,MAAO,QAAU,EACrC,SAAU,CACR,QACE,k2BAWF,SAEE,2OAGF,KAEE,4GACF,QAAS,oBACV,EACD,QACE,4CACF,SAAU,CACRwe,EACA7T,EACAkU,EACAxR,EACA6E,EACA4M,EACApkB,EA/Ce,CACjB,UAAW,OAEX,MAAO,2EACP,IAAK,IACL,SAAU,CAAE,QACR,oEAAsE,EAC1E,SAAU,CAAEA,CAAS,CACzB,CAyCK,CACL,CACC,CAED,OAAAqkB,GAAiBR,kDCnJjB,SAASS,EAAKhf,EAAM,CAClBA,EAAK,MACL,MAAMya,EAAgBza,EAAK,QAAQ,MAAO,KAAK,EAC/Cya,EAAc,SAAS,KAAK,MAAM,EAClC,MAAMwE,EAAejf,EAAK,QAAQ,KAAM,GAAG,EAErCgW,EAAM,CACV,UACA,QACA,KACA,QACA,WACA,OACA,gBACA,OACA,OACA,OACA,OACA,MACA,SACA,OACA,aACA,aACA,YACA,YACA,YACA,aACA,YACA,SACA,KACA,SACA,QACA,OACA,SACA,cACA,cACA,SACA,MACA,MACA,SACA,QACA,SACA,SACA,SACA,aACA,YACA,QACA,QACA,YACA,OACA,OACA,aACJ,EAEQkJ,EAAqB,CACzB,MAAO,CACL,8BACA,MACA,WACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,gBACJ,CACL,EAEQC,EAAW,CACf,UAAW,WACX,MAAO,UACX,EAEQC,EAAS,CACb,MAAO,gBACP,UAAW,cACX,UAAW,CACf,EAEQ/R,EAAS,CACb,UAAW,SACX,UAAW,EAEX,MAAO,iNACX,EAEQ4O,EAAO,CAEX,MAAO,0BACP,UAAW,MACf,EAEQoD,EAAkB,CACtB,UAAW,UAEX,MAAO,mZACX,EAcE,MAAO,CACL,KAAM,cACN,SAAU,CACR,SAAU,SACV,Q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A,aACA,OACA,MACA,OACA,MACA,OACA,QACA,OACA,OACA,KACF,EACMC,GAAoB,CACxB,OACA,SACA,iBACA,YACA,SACA,QACA,MACA,mBACA,cACA,aACA,kBACA,OACA,SACA,cACA,cACA,OACA,UACA,UACA,UACA,QACA,OACA,UACA,QACA,UACA,SACA,WACA,MACA,WACA,UACA,MACA,QACA,UACA,SACA,WACA,SACA,QACA,QACA,OACA,YACA,QACA,SACA,WACA,OACA,SACA,UACA,SACA,OACA,WACA,SACA,WACA,MACA,MACA,OACA,OACA,UACA,QACA,QACA,WACA,QACA,OACA,OACA,QACA,UACA,WACA,SACA,QACA,OACA,SACA,SACA,QACA,SACA,QACA,UACF,EACMjxB,GAAe,CACnB,OACA,OACA,WACA,KACA,MACA,UACA,QACA,QACA,KACA,MACA,QACA,UACA,SACA,OACA,OACA,QACA,SACA,QACA,KACF,EAEA,SAASkxB,GAAaC,EAAa,CACjC,MAAMC,EAAkB,CAAA,EACxB,IAAItrB,EAAS,GACP,MAAAurB,EAAa,IAAIC,GAAW,CAChC,UAAUC,EAASC,EAAS,CACtB,sCAAsC,KAAKD,CAAO,GAAK,OAAO,KAAKC,CAAO,EAAE,SAAW,EACzF1rB,GAAU,IAAIyrB,MAAY,OAAO,KAAKC,CAAO,EAAE,KAAK,GAAG,KAE/CR,GAAY,SAASO,EAAQ,YAAa,CAAA,GAWlDzrB,GAAU,IAAIyrB,IACP,OAAA,QAAQC,CAAO,EAAE,QAAQ,CAAC,CAACC,EAAUC,CAAS,IAAM,CACnD,MAAAC,EAAU,CAAC3uB,EAAS,KAAU,CAClC,MAAM4uB,EAAI5uB,EAAS0uB,EAAU,WAAW,KAAM,QAAQ,EAAIA,EAC1D5rB,GAAU4rB,EAAY,IAAID,MAAaG,KAAO,IAAIH,GAAA,EAEhD,GAAA,CACF,OAAQF,EAAS,CACf,IAAK,IAAK,CACR,OAAQE,EAAU,CAChB,IAAK,OACC,IAAI,IAAIC,CAAS,EAAE,SAAS,MAAM,qCAAqC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A,WAAA,EAEAgzB,GAAA,IAAA,CACEF,EAAA,OACEG,GAAAH,EAAA,MAAA,KAAA,KAAA,CAAsC,CAAA,EAE1CE,GAAA,IAAA,CACEN,EAAA,MACEQ,KAEAC,IAAa,CAAA,EAGjB,MAAAC,EAAA3B,GAAA,EAAA,EACA,CAAA,KAAA4B,GAAArB,GAAAK,EAAA,CAAA,CAAA,CAAA,eAAAJ,CAAA,CAAA,IAAA,OACE,GAAAa,EAAA,OAAAA,EAAA,MAAA,OAAA,QAAAA,EAAA,MAAA,KAAA,MAAA,CACEO,IACA,MAAA,CAEFpB,GAAA,CAAAmB,EAAA,OAAAN,EAAA,QACEM,EAAA,MAAA,IACAp3B,EAAA22B,EAAA,CAAU,UAAA,CACG,OAAAG,EAAA,MAAA,OAAA,MACqB,EAChC,YAAAQ,EAAA,CAAA,gBAAAC,GAAA,CAGE,OAAAA,EAEA,CAAO,GAAAD,EACF,YAAA,CACU,GAAAA,EAAA,YACY,OAAA,CAAA,GAAAA,EAAA,YAAA,OAAA,GAAAC,EAAA,YAAA,MAAA,CACkE,CAC3F,EANAD,CAOF,CACF,CAAA,IAfF,MAAAt3B,EAeE,KAAAk1B,GAAA,CAEAgB,GAAA,IAAA,CACEkB,EAAA,MAAA,EAAqB,CAAA,CACtB,GAEL,CAAA,EAGFI,EAAAzB,GAAA,IAAA,EACA0B,EAAA1B,GAAA,IAAA,EACA,CAAA,OAAA2B,CAAA,EAAAC,GAAAH,CAAA,EACAI,EAAAnC,GAAA,CAAA,EACAoC,EAAA,IAAA,OACED,EAAA,QAAA53B,EAAAy3B,EAAA,QAAA,YAAAz3B,EAAA,eAAA,CAA0D,EAE5D83B,EAAArC,GAAA,EAAA,EACAsC,EAAAtB,GAAA,IAAAmB,EAAA,MAAAF,EAAA,KAAA"} \ No newline at end of file diff --git a/assets/PlaylistList.07f0245d.js b/assets/PlaylistList.07f0245d.js new file mode 100644 index 0000000000..abaa462fc3 --- /dev/null +++ b/assets/PlaylistList.07f0245d.js @@ -0,0 +1,19 @@ +import{a as I,_ as ae}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as W,x as re,m as v,q as X,U as q,o as r,g as o,e,b as d,J as oe,K as le,w as S,Q as J,t as l,P as ie,f as u,i as V,R as ne,F as N,ac as Y,ad as Z,a9 as de,au as ue,u as ce,D as ve,G as pe,H as me,B as z,c as D,ap as ye,aq as fe,s as M,h as j,j as ge}from"./index.72556674.js";import{_ as Q}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{_ as _e}from"./BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js";import{_ as F}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import{P as H,g as G}from"./decodeAdditionalConstraint.da833011.js";import{_ as xe}from"./PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js";import{C as K}from"./CoverPlaceholder.83cb739d.js";import{s as he}from"./setSiteTitle.db0fa839.js";import{b as be}from"./backTop.a4b6f707.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./use-controllable.d8c790f2.js";import"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */const we={class:"w-full border-b p-1 pb-1.5 flex justify-between"},ke=e("div",{class:"flex items-center flex-nowrap space-x-1"},[e("div",{class:"i-uil:search text-2xl transition-colors"}),e("div",{class:"text-lg"},l("高级搜索"))],-1),qe={class:"mt-4 space-y-3"},$e={class:"flex justify-between space-x-2 items-center"},Ce=e("div",{class:"whitespace-nowrap"},l("包含关键字:"),-1),Ne={class:"flex justify-between space-x-6 items-center"},Se=e("div",{class:"whitespace-nowrap"},l("排除标签:"),-1),Ae={class:"flex justify-between space-x-6 items-center"},Pe=e("div",{class:"whitespace-nowrap"},l("排序方式:"),-1),je={class:"flex justify-between items-center"},Oe=e("div",{class:"whitespace-nowrap"},l("标签数量:"),-1),Ve={class:"flex flex-row items-center gap-1"},Le=["disabled"],Te={class:"flex justify-around border-t pt-3"},Ue=e("div",null,[e("div",{class:"text-xs italic"},[e("div",null,l("#更多高级筛选功能请参考:")),e("a",{href:"https://patchyvideo.wiki/zh/SearchSystem",target:"_blank",class:"text-purple-300 hover:text-purple-500 transition transition-colors"},l("搜索系统 - PatchyVideo Wiki"))])],-1),Je=W({__name:"AdvancedSearch",props:{open:{type:Boolean,default:!1,requred:!0}},emits:["update:open"],setup(B,{emit:p}){const t=B,c=Y(),_=Z(),x=re(t,"open",p),A=v(String(c.query.a?Array.isArray(c.query.a)?c.query.a[0]:c.query.a:"")),b=v(A.value===""?{searchContentAndOrNot:"",exceptContent:"",tag:{moreLessEqualTagNum:"",tagNum:""}}:JSON.parse(decodeURI(window.atob(A.value)))),h=v(b.value.searchContentAndOrNot);function w(){}const m=v(b.value.exceptContent);function E(){}const k=v(String(c.query.order?Array.isArray(c.query.order)?c.query.order[0]:c.query.order:"last_modified")),O=[{value:"latest",name:"创建时间正序"},{value:"oldest",name:"创建时间倒序"},{value:"last_modified",name:"最近修改顺序"}],L=[{name:"大于",value:">"},{name:"小于",value:"<"},{name:"等于",value:"="},{name:"不计",value:""}],y=v(b.value.tag.tagNum),g=v(b.value.tag.moreLessEqualTagNum);X(g,C=>{C===""&&(y.value="")});function T(){h.value="",m.value="",k.value="last_modified",g.value="",y.value=""}function $(){return g.value!==""&&(isNaN(Number(y.value))||!Number.isSafeInteger(y.value)||Number(y.value)<0)?(de({message:"请检查标签数量项的填写是否正确!",type:ue.warning}),!1):!0}const U=q(()=>window.btoa(encodeURI(JSON.stringify({searchContentAndOrNot:h.value,exceptContent:m.value,tag:{moreLessEqualTagNum:g.value,tagNum:y.value}}))));function P(){if(!$())return;const C={order:k.value,a:U.value};_.push({path:c.path,query:C}),x.value=!1}return(C,s)=>(r(),o(N,null,[e("div",{class:ie(["fixed max-h-full z-50 transform transition-transform duration-300 inset-x-0 bottom-0 overflow-auto p-3 bg-white dark:bg-gray-900 shadow border-purple-200 dark:border-gray-600 lt-sm:max-h-70vh lt-sm:rounded-t lt-sm:border-t sm:rounded-l sm:border-l sm:right-0 sm:inset-y-0 sm:left-auto sm:p-2 sm:w-95",{"sm:translate-x-full translate-y-full sm:translate-y-0":!u(x)}])},[e("div",we,[ke,e("div",{class:"i-uil:times text-2xl transition-colors",onClick:s[0]||(s[0]=i=>x.value=!1)})]),e("div",qe,[e("div",$e,[Ce,d(I,{keyword:h.value,"onUpdate:keyword":s[1]||(s[1]=i=>h.value=i),"default-placeholder":"输入标签或文本,用空格隔开",class:"w-full","show-tag-cnt":!1,onSearch:s[2]||(s[2]=i=>void 0)},null,8,["keyword"])]),e("div",Ne,[Se,d(I,{keyword:m.value,"onUpdate:keyword":s[3]||(s[3]=i=>m.value=i),"default-placeholder":"只能输入标签哦,用空格隔开",class:"w-full","show-tag-cnt":!1,onSearch:s[4]||(s[4]=i=>void 0)},null,8,["keyword"])]),e("div",Ae,[Pe,d(F,{modelValue:k.value,"onUpdate:modelValue":s[5]||(s[5]=i=>k.value=i),class:"flex-1 max-w-64","item-list":O},null,8,["modelValue"])]),e("div",je,[Oe,e("div",Ve,[d(F,{modelValue:g.value,"onUpdate:modelValue":s[6]||(s[6]=i=>g.value=i),"item-list":L},null,8,["modelValue"]),oe(e("input",{"onUpdate:modelValue":s[7]||(s[7]=i=>y.value=i),disabled:g.value==="",class:"w-12 border rounded-md border-purple-300 p-1 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,Le),[[le,y.value,void 0,{number:!0}]])])]),e("div",Te,[d(H,{onClick:s[8]||(s[8]=i=>T())},{default:S(()=>[J(l("重置"))]),_:1}),d(H,{onClick:s[9]||(s[9]=i=>P())},{default:S(()=>[J(l("搜索"))]),_:1})]),Ue])],2),d(ne,{"enter-active-class":"transition-all duration-200","enter-from-class":"bg-opacity-0","leave-active-class":"transition-all duration-200","leave-to-class":"bg-opacity-0"},{default:S(()=>[u(x)?(r(),o("div",{key:0,class:"fixed inset-0 z-49",onClick:s[10]||(s[10]=i=>x.value=!1)})):V("",!0)]),_:1})],64))}}),Be={class:"p-2 md:p-10 md:m-auto xl:w-9/10 2xl:w-4/5"},Ee={key:0},Re=["textContent"],Ie={key:0},ze={class:"w-2/5 mr-0.5"},De=e("div",{class:"w-3/5 flex flex-wrap content-between"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full rounded-md bg-gray-400 dark:bg-gray-600"},"   "),e("div",{class:"w-2/5 text-sm text-gray-600 dark:text-gray-300 rounded-md bg-gray-400 dark:bg-gray-600"},"   ")],-1),Me={key:1,class:"search-result-backimg justify-evenly flex-wrap flex"},Qe=e("div",{class:"flex justify-center items-center gap-x-1 border-b border-purple-300 dark:border-gray-500 py-3"},[e("div",{class:"flex-1 rounded-md text-xl truncate font-semibold lg:text-2xl bg-gray-400 dark:bg-gray-600"},"   ")],-1),Fe={class:"flex p-2 pt-3"},He={class:"w-1/2 mr-5"},Ge={class:"w-1/2 py-2 flex flex-wrap content-between"},Ke={class:"line-clamp-3 w-full overflow-ellipsis overflow-hidden"},We=e("div",{class:"w-full text-right text-sm text-gray-600 dark:text-gray-300"},[e("div",{class:"w-2/5 float-right rounded-md bg-gray-300 dark:bg-gray-600"},"   ")],-1),Xe={key:1},Ye={key:2},Ze={class:"border-b pb-1"},et={key:0},tt={class:"w-2/5 mr-0.5"},st={class:"w-3/5 flex flex-wrap content-between"},at={class:"w-full"},rt={class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full flex items-center"},ot={key:0,class:"bg-purple-400 text-white text-xs rounded px-1"},lt={class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full text-xs text-gray-500"},it={class:"w-full text-sm text-gray-600 dark:text-gray-300"},nt={key:1,class:"justify-evenly flex-wrap flex"},dt={key:0,class:"bg-purple-400 dark:bg-violet-800 text-white text-xs rounded px-1 py-0.5"},ut={class:"text-xl truncate font-semibold lg:text-2xl"},ct={class:"flex p-2 pt-3"},vt={class:"w-1/2 mr-5"},pt={class:"w-1/2 py-2 flex flex-wrap content-between"},mt={class:"line-clamp-3 w-full overflow-ellipsis overflow-hidden"},yt={class:"w-full text-right text-sm text-gray-600 dark:text-gray-300"},ft=["title"],gt=e("div",{class:"i-uil:file-search-alt text-2xl"},null,-1),_t=[gt],Ot=W({__name:"PlaylistList",setup(B){const{t:p}=ce();he(`${p("playlist.playlist-list.title")} - PatchyVideo`);const t=Y(),c=Z(),_=v(),x=v(""),A=v(0),b=v(0),h=v(),w=q(()=>Number(t.query.limit?Array.isArray(t.query.limit)?t.query.limit[0]:t.query.limit:20)),m=q(()=>Number(t.query.page?Array.isArray(t.query.page)?t.query.page[0]:t.query.page:0)),E=q(()=>m.value+1),k=q(()=>String(t.query.order?Array.isArray(t.query.order)?t.query.order[0]:t.query.order:"last_modified")),O=q(()=>String(t.query.a?Array.isArray(t.query.a)?t.query.a[0]:t.query.a:"")),{result:L,loading:y,onError:g,fetchMore:T}=ve(pe` + query ($offset: Int, $limit: Int, $order: String, $query: String) { + listPlaylist(para: { offset: $offset, limit: $limit, order: $order, query: $query }) { + playlists { + id + item { + cover + title + desc + count + private + } + } + count + pageCount + } + } + `,{offset:m.value*w.value,limit:w.value,order:k.value,query:G(O.value)},{notifyOnNetworkStatusChange:!0}),$=me(L,null,n=>n==null?void 0:n.listPlaylist);z(()=>{$.value&&(A.value=$.value.count,b.value=$.value.pageCount,h.value=$.value.playlists)}),z(()=>{y.value?(_.value="loading",ye()):(_.value="result",fe())}),g(n=>{x.value=n.message,_.value="error"});const U=q(()=>t.query);X(U,()=>{be(),T({variables:{offset:m.value*w.value,limit:w.value,order:k.value,query:G(O.value)},updateQuery(n,{fetchMoreResult:f}){return f||n}})});const P=v(!1);function C(){P.value=!0}function s(){const n=JSON.parse(JSON.stringify(t.query));n.page=m.value-1,c.push({path:t.path,query:n})}function i(){const n=JSON.parse(JSON.stringify(t.query));n.page=m.value+1,c.push({path:t.path,query:n})}function ee(n){const f=JSON.parse(JSON.stringify(t.query));f.page=n-1,c.push({path:t.path,query:f})}return(n,f)=>{const R=ge("RouterLink"),te=ae;return r(),D(te,null,{default:S(()=>[e("div",Be,[_.value==="loading"?(r(),o("div",Ee,[e("div",{class:"border-b pb-1",textContent:l(u(p)("search.search-result.video.main-body.loading.searching"))},null,8,Re),u(M)["<md"]?(r(),o("div",Ie,[(r(!0),o(N,null,j(u(w),a=>(r(),o("div",{key:a,class:"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800"},[e("div",ze,[d(K,{class:"rounded-md"})]),De]))),128))])):(r(),o("div",Me,[(r(!0),o(N,null,j(u(w),a=>(r(),o("div",{key:a,class:"w-12/25 my-5 p-2 border border-purple-300 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900"},[Qe,e("div",Fe,[e("div",He,[d(K,{class:"rounded-md"})]),e("div",Ge,[e("div",Ke,[(r(),o(N,null,j(3,se=>e("div",{key:se,class:"mb-1 w-full rounded-md bg-gray-300 dark:bg-gray-600"},"   ")),64))]),We])])]))),128))]))])):_.value==="error"?(r(),o("div",Xe,[e("div",null,l(u(p)("playlist.playlist-list.main-body.failed.load-failed")),1),e("div",null,l(u(p)("playlist.playlist-list.main-body.failed.load-failed-reason")+x.value),1)])):_.value==="result"?(r(),o("div",Ye,[e("div",Ze,l(u(p)("playlist.playlist-list.main-body.successful.load-result-count",{count:A.value})),1),u(M)["<md"]?(r(),o("div",et,[(r(!0),o(N,null,j(h.value,a=>(r(),D(R,{key:a.item.title,class:"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800",to:`/playlist/${a.id.toHexString()}`,target:"_blank"},{default:S(()=>[e("div",tt,[d(Q,{title:a.item.title,"cover-image":a.item.cover,class:"rounded-sm"},null,8,["title","cover-image"])]),e("div",st,[e("div",at,[e("div",rt,[a.item.private?(r(),o("span",ot,"Private")):V("",!0),J(" "+l(a.item.title),1)]),e("div",lt,l(a.item.desc),1)]),e("div",it,l(u(p)("playlist.playlist-list.playlist.playlist-count",{count:a.item.count})),1)])]),_:2},1032,["to"]))),128))])):(r(),o("div",nt,[(r(!0),o(N,null,j(h.value,a=>(r(),o("div",{key:a.item.title,class:"w-12/25 my-5 p-2 border border-purple-300 shadow rounded-lg bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900"},[d(R,{to:`/playlist/${a.id}`,target:"_blank",class:"flex justify-center items-center gap-x-1 border-b border-purple-300 dark:border-gray-500 py-3"},{default:S(()=>[a.item.private?(r(),o("span",dt,"Private")):V("",!0),e("div",ut,l(a.item.title),1)]),_:2},1032,["to"]),e("div",ct,[e("div",vt,[d(Q,{title:a.item.title,"cover-image":a.item.cover,class:"rounded-md border border-purple-200 dark:border-gray-700"},null,8,["title","cover-image"])]),e("div",pt,[e("div",mt,l(a.item.desc),1),e("div",yt,l(u(p)("playlist.playlist-list.playlist.playlist-count",{count:a.item.count})),1)])])]))),128))])),d(xe,{"page-count":b.value,page:u(E),onPrevious:s,onNext:i,onChange:ee},null,8,["page-count","page"])])):V("",!0)]),e("div",{class:"shadow fixed bottom-20 right-5 bg-gray-50 cursor-pointer p-2 transition-opacity rounded-full dark:bg-gray-800",title:u(p)("playlist.playlist-list.advanced-search.name"),onClick:f[0]||(f[0]=a=>C())},_t,8,ft),d(Je,{open:P.value,"onUpdate:open":f[1]||(f[1]=a=>P.value=a)},null,8,["open"]),d(_e)]),_:1})}}});export{Ot as default}; +//# sourceMappingURL=PlaylistList.07f0245d.js.map diff --git a/assets/PlaylistList.07f0245d.js.map b/assets/PlaylistList.07f0245d.js.map new file mode 100644 index 0000000000..e8d2e56a0a --- /dev/null +++ b/assets/PlaylistList.07f0245d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PlaylistList.07f0245d.js","sources":["../../packages/playlist/components/AdvancedSearch.vue","../../packages/playlist/PlaylistList.vue"],"sourcesContent":["<template>\n <div\n class=\"fixed max-h-full z-50 transform transition-transform duration-300 inset-x-0 bottom-0 overflow-auto p-3 bg-white dark:bg-gray-900 shadow border-purple-200 dark:border-gray-600 lt-sm:max-h-70vh lt-sm:rounded-t lt-sm:border-t sm:rounded-l sm:border-l sm:right-0 sm:inset-y-0 sm:left-auto sm:p-2 sm:w-95\"\n :class=\"{ 'sm:translate-x-full translate-y-full sm:translate-y-0': !open }\"\n >\n <div class=\"w-full border-b p-1 pb-1.5 flex justify-between\">\n <div class=\"flex items-center flex-nowrap space-x-1\">\n <div class=\"i-uil:search text-2xl transition-colors\" />\n <div class=\"text-lg\">\n {{ '高级搜索' }}\n </div>\n </div>\n <div class=\"i-uil:times text-2xl transition-colors\" @click=\"open = false\" />\n </div>\n <div class=\"mt-4 space-y-3\">\n <!-- AND or OR -->\n <!-- TODO: add OR function -->\n <div class=\"flex justify-between space-x-2 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '包含关键字:' }}\n </div>\n <AutoComplete\n v-model:keyword=\"searchContentAndOrNot\"\n default-placeholder=\"输入标签或文本,用空格隔开\"\n class=\"w-full\"\n :show-tag-cnt=\"false\"\n @search=\"addsearchContentAndOrNot()\"\n />\n </div>\n <!-- NOT -->\n <div class=\"flex justify-between space-x-6 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '排除标签:' }}\n </div>\n <AutoComplete\n v-model:keyword=\"exceptContent\"\n default-placeholder=\"只能输入标签哦,用空格隔开\"\n class=\"w-full\"\n :show-tag-cnt=\"false\"\n @search=\"addexceptContent()\"\n />\n </div>\n <!-- Order -->\n <div class=\"flex justify-between space-x-6 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '排序方式:' }}\n </div>\n <PvSelect v-model=\"order\" class=\"flex-1 max-w-64\" :item-list=\"orderList\" />\n </div>\n <!-- Tags number -->\n <div class=\"flex justify-between items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '标签数量:' }}\n </div>\n <div class=\"flex flex-row items-center gap-1\">\n <PvSelect\n v-model=\"moreLessEqualTagNum\"\n :item-list=\"moreLessEqualList\"\n />\n <input\n v-model.number=\"tagNum\"\n :disabled=\"moreLessEqualTagNum === ''\"\n class=\"w-12 border rounded-md border-purple-300 p-1 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n </div>\n </div>\n <!-- Reset or search -->\n <div class=\"flex justify-around border-t pt-3\">\n <PvBotton @click=\"reset()\">\n {{ '重置' }}\n </PvBotton>\n <PvBotton @click=\"search()\">\n {{ '搜索' }}\n </PvBotton>\n </div>\n <!-- More infomation -->\n <div>\n <div class=\"text-xs italic\">\n <div>{{ '#更多高级筛选功能请参考:' }}</div>\n <a\n href=\"https://patchyvideo.wiki/zh/SearchSystem\"\n target=\"_blank\"\n class=\"text-purple-300 hover:text-purple-500 transition transition-colors\"\n >{{ '搜索系统 - PatchyVideo Wiki' }}</a>\n </div>\n </div>\n </div>\n </div>\n <!-- Mask -->\n <Transition\n enter-active-class=\"transition-all duration-200\"\n enter-from-class=\"bg-opacity-0\"\n leave-active-class=\"transition-all duration-200\"\n leave-to-class=\"bg-opacity-0\"\n >\n <div v-if=\"open\" class=\"fixed inset-0 z-49\" @click=\"open = false\" />\n </Transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watch } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useVModel } from '@vueuse/core'\nimport PvSelect from '@/ui/components/PvSelect.vue'\nimport AutoComplete from '@/search/components/AutoComplete.vue'\nimport PvBotton from '@/ui/components/PvBotton.vue'\nimport { MessageType, PvMessage } from '@/ui/libs/PvMessage'\n\nconst props = defineProps({\n open: {\n type: Boolean,\n default: false,\n requred: true,\n },\n})\nconst emit = defineEmits<{\n (event: 'update:open', value: boolean): void\n}>()\n// import { useI18n } from 'vue-i18n'\n\n// const { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\n\nconst open = useVModel(props, 'open', emit)\n\n/* Initialize additional constraint with url */\nconst additionalConstraintUrl = ref(\n String(route.query.a ? (Array.isArray(route.query.a) ? route.query.a[0] : route.query.a) : ''),\n)\nconst additionalConstraintObject = ref(\n additionalConstraintUrl.value === ''\n ? {\n searchContentAndOrNot: '',\n exceptContent: '',\n tag: {\n moreLessEqualTagNum: '',\n tagNum: '',\n },\n }\n : JSON.parse(decodeURI(window.atob(additionalConstraintUrl.value))),\n)\n\n/* AND or OR */\nconst searchContentAndOrNot = ref(additionalConstraintObject.value.searchContentAndOrNot)\nfunction addsearchContentAndOrNot(): void {}\n\n/* Except */\nconst exceptContent = ref(additionalConstraintObject.value.exceptContent)\nfunction addexceptContent(): void {}\n\n/* Order */\nconst order = ref(\n String(\n route.query.order ? (Array.isArray(route.query.order) ? route.query.order[0] : route.query.order) : 'last_modified',\n ),\n)\nconst orderList = [\n { value: 'latest', name: '创建时间正序' },\n { value: 'oldest', name: '创建时间倒序' },\n { value: 'last_modified', name: '最近修改顺序' },\n]\n\n/* Tag number */\nconst moreLessEqualList = [\n { name: '大于', value: '>' },\n { name: '小于', value: '<' },\n { name: '等于', value: '=' },\n { name: '不计', value: '' },\n]\nconst tagNum = ref(additionalConstraintObject.value.tag.tagNum)\nconst moreLessEqualTagNum = ref<string>(additionalConstraintObject.value.tag.moreLessEqualTagNum)\nwatch(moreLessEqualTagNum, (newv) => {\n if (newv === '')\n tagNum.value = ''\n})\n\n/* Reset */\nfunction reset() {\n searchContentAndOrNot.value = ''\n exceptContent.value = ''\n order.value = 'last_modified'\n moreLessEqualTagNum.value = ''\n tagNum.value = ''\n}\n\n/* Search */\nfunction checkSubmitContent(): boolean {\n // Check tag\n if (\n moreLessEqualTagNum.value !== ''\n && (isNaN(Number(tagNum.value)) || !Number.isSafeInteger(tagNum.value) || Number(tagNum.value) < 0)\n ) {\n PvMessage({ message: '请检查标签数量项的填写是否正确!', type: MessageType.warning })\n return false\n }\n return true\n}\nconst additionalConstraintBase64 = computed(() => {\n return window.btoa(\n encodeURI(\n JSON.stringify({\n searchContentAndOrNot: searchContentAndOrNot.value,\n exceptContent: exceptContent.value,\n tag: {\n moreLessEqualTagNum: moreLessEqualTagNum.value,\n tagNum: tagNum.value,\n },\n }),\n ),\n )\n})\nfunction search(): void {\n if (!checkSubmitContent())\n return\n const query = { order: order.value, a: additionalConstraintBase64.value }\n router.push({ path: route.path, query })\n open.value = false\n}\n</script>\n","<template>\n <LayoutDefault>\n <div class=\"p-2 md:p-10 md:m-auto xl:w-9/10 2xl:w-4/5\">\n <div v-if=\"status === 'loading'\">\n <div class=\"border-b pb-1\" v-text=\"t('search.search-result.video.main-body.loading.searching')\" />\n <div v-if=\"screenSizes['<md']\">\n <div v-for=\"index in limit\" :key=\"index\" class=\"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800\">\n <div class=\"w-2/5 mr-0.5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-3/5 flex flex-wrap content-between\">\n <div\n class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full rounded-md bg-gray-400 dark:bg-gray-600\"\n >\n  \n </div>\n <div class=\"w-2/5 text-sm text-gray-600 dark:text-gray-300 rounded-md bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n </div>\n </div>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg justify-evenly flex-wrap flex\">\n <div\n v-for=\"index in limit\"\n :key=\"index\"\n class=\"w-12/25 my-5 p-2 border border-purple-300 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900\"\n >\n <div\n class=\"flex justify-center items-center gap-x-1 border-b border-purple-300 dark:border-gray-500 py-3\"\n >\n <div class=\"flex-1 rounded-md text-xl truncate font-semibold lg:text-2xl bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n </div>\n <div class=\"flex p-2 pt-3\">\n <div class=\"w-1/2 mr-5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-1/2 py-2 flex flex-wrap content-between\">\n <div class=\"line-clamp-3 w-full overflow-ellipsis overflow-hidden\">\n <div v-for=\"i in 3\" :key=\"i\" class=\"mb-1 w-full rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n </div>\n <div class=\"w-full text-right text-sm text-gray-600 dark:text-gray-300\">\n <div class=\"w-2/5 float-right rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div v-else-if=\"status === 'error'\">\n <div>{{ t('playlist.playlist-list.main-body.failed.load-failed') }}</div>\n <div>{{ t('playlist.playlist-list.main-body.failed.load-failed-reason') + errMsg }}</div>\n </div>\n <div v-else-if=\"status === 'result'\">\n <div class=\"border-b pb-1\">\n {{ t('playlist.playlist-list.main-body.successful.load-result-count', { count }) }}\n </div>\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <RouterLink\n v-for=\"playlist in playlists\"\n :key=\"playlist.item.title\"\n class=\"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800\"\n :to=\"`/playlist/${playlist.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"w-2/5 mr-0.5\">\n <Cover :title=\"playlist.item.title\" :cover-image=\"playlist.item.cover\" class=\"rounded-sm\" />\n </div>\n <div class=\"w-3/5 flex flex-wrap content-between\">\n <div class=\"w-full\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full flex items-center\">\n <span v-if=\"playlist.item.private\" class=\"bg-purple-400 text-white text-xs rounded px-1\">Private</span>\n {{ playlist.item.title }}\n </div>\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full text-xs text-gray-500\">\n {{ playlist.item.desc }}\n </div>\n </div>\n <div class=\"w-full text-sm text-gray-600 dark:text-gray-300\">\n {{ t('playlist.playlist-list.playlist.playlist-count', { count: playlist.item.count }) }}\n </div>\n </div>\n </RouterLink>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"justify-evenly flex-wrap flex\">\n <div\n v-for=\"playlist in playlists\"\n :key=\"playlist.item.title\"\n class=\"w-12/25 my-5 p-2 border border-purple-300 shadow rounded-lg bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900\"\n >\n <RouterLink\n :to=\"`/playlist/${playlist.id}`\"\n target=\"_blank\"\n class=\"flex justify-center items-center gap-x-1 border-b border-purple-300 dark:border-gray-500 py-3\"\n >\n <span v-if=\"playlist.item.private\" class=\"bg-purple-400 dark:bg-violet-800 text-white text-xs rounded px-1 py-0.5\">Private</span>\n <div class=\"text-xl truncate font-semibold lg:text-2xl\">\n {{ playlist.item.title }}\n </div>\n </RouterLink>\n <div class=\"flex p-2 pt-3\">\n <div class=\"w-1/2 mr-5\">\n <Cover\n :title=\"playlist.item.title\"\n :cover-image=\"playlist.item.cover\"\n class=\"rounded-md border border-purple-200 dark:border-gray-700\"\n />\n </div>\n <div class=\"w-1/2 py-2 flex flex-wrap content-between\">\n <div class=\"line-clamp-3 w-full overflow-ellipsis overflow-hidden\">\n {{ playlist.item.desc }}\n </div>\n <div class=\"w-full text-right text-sm text-gray-600 dark:text-gray-300\">\n {{ t('playlist.playlist-list.playlist.playlist-count', { count: playlist.item.count }) }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <PvPagination\n :page-count=\"pageCount\"\n :page=\"page\"\n @previous=\"jumpToPreviousPage\"\n @next=\"jumpToNextPage\"\n @change=\"jumpToSelectedPage\"\n />\n </div>\n </div>\n\n <!-- Advanced Search -->\n <div\n class=\"shadow fixed bottom-20 right-5 bg-gray-50 cursor-pointer p-2 transition-opacity rounded-full dark:bg-gray-800\"\n :title=\"t('playlist.playlist-list.advanced-search.name')\"\n @click=\"openAdvancedSearch()\"\n >\n <div class=\"i-uil:file-search-alt text-2xl\" />\n </div>\n <AdvancedSearch v-model:open=\"advancedSearch\" />\n <BackTop />\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watch, watchEffect } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport Cover from '@/video/components/Cover.vue'\nimport BackTop from '@/ui/components/BackTop.vue'\nimport AdvancedSearch from '@/playlist/components/AdvancedSearch.vue'\nimport PvPagination from '@/ui/components/PvPagination.vue'\nimport CoverPlaceholder from '@/video/components/CoverPlaceholder.vue'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query, schema } from '@/graphql'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { backTop } from '@/ui/libs/backTop'\nimport { screenSizes } from '@/css'\nimport { getAdditionalConstraintString } from '@/video/libs/decodeAdditionalConstraint'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst { t } = useI18n()\nsetSiteTitle(`${t('playlist.playlist-list.title')} - PatchyVideo`)\nconst route = useRoute()\nconst router = useRouter()\nconst status = ref<'loading' | 'result' | 'error'>()\nconst errMsg = ref('')\nconst count = ref(0)\nconst pageCount = ref(0)\nconst playlists = ref<schema.Playlist[]>()\n\n/* Precess URL query */\nconst limit = computed(() => {\n return Number(route.query.limit ? (Array.isArray(route.query.limit) ? route.query.limit[0] : route.query.limit) : 20)\n})\n\nconst offset = computed(() =>\n Number(route.query.page ? (Array.isArray(route.query.page) ? route.query.page[0] : route.query.page) : 0),\n)\nconst page = computed(() => offset.value + 1)\nconst order = computed(() =>\n String(\n route.query.order ? (Array.isArray(route.query.order) ? route.query.order[0] : route.query.order) : 'last_modified',\n ),\n)\nconst additionalConstraint = computed(() =>\n String(route.query.a ? (Array.isArray(route.query.a) ? route.query.a[0] : route.query.a) : ''),\n)\n\nconst { result, loading, onError, fetchMore } = useQuery<Query>(\n gql`\n query ($offset: Int, $limit: Int, $order: String, $query: String) {\n listPlaylist(para: { offset: $offset, limit: $limit, order: $order, query: $query }) {\n playlists {\n id\n item {\n cover\n title\n desc\n count\n private\n }\n }\n count\n pageCount\n }\n }\n `,\n {\n offset: offset.value * limit.value,\n limit: limit.value,\n order: order.value,\n query: getAdditionalConstraintString(additionalConstraint.value),\n },\n {\n notifyOnNetworkStatusChange: true,\n },\n)\nconst resultData = useResult(result, null, data => data?.listPlaylist)\nwatchEffect(() => {\n if (resultData.value) {\n count.value = resultData.value.count\n pageCount.value = resultData.value.pageCount\n playlists.value = resultData.value.playlists\n }\n})\n\nwatchEffect(() => {\n if (loading.value) {\n status.value = 'loading'\n startProgress()\n }\n else {\n status.value = 'result'\n stopProgress()\n }\n})\nonError((err) => {\n errMsg.value = err.message\n status.value = 'error'\n})\n\n// Refresh query result for URL query change\nconst URLQuery = computed(() => route.query)\nwatch(URLQuery, () => {\n backTop()\n fetchMore({\n variables: {\n offset: offset.value * limit.value,\n limit: limit.value,\n order: order.value,\n query: getAdditionalConstraintString(additionalConstraint.value),\n },\n updateQuery(previousQueryResult, { fetchMoreResult }) {\n if (!fetchMoreResult)\n return previousQueryResult\n return fetchMoreResult\n },\n })\n})\n\n/* Show advanced search */\nconst advancedSearch = ref(false)\nfunction openAdvancedSearch() {\n advancedSearch.value = true\n}\n\n/* Change the router query to trigger the search function */\nfunction jumpToPreviousPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value - 1\n router.push({ path: route.path, query })\n}\nfunction jumpToNextPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value + 1\n router.push({ path: route.path, query })\n}\nfunction jumpToSelectedPage(page: number): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = page - 1\n router.push({ path: route.path, query })\n}\n</script>\n"],"names":["route","useRoute","router","useRouter","open","useVModel","props","emit","additionalConstraintUrl","ref","additionalConstraintObject","searchContentAndOrNot","addsearchContentAndOrNot","exceptContent","addexceptContent","order","orderList","moreLessEqualList","tagNum","moreLessEqualTagNum","watch","newv","reset","checkSubmitContent","PvMessage","MessageType","additionalConstraintBase64","computed","search","query","t","useI18n","setSiteTitle","status","errMsg","count","pageCount","playlists","limit","offset","page","additionalConstraint","result","loading","onError","fetchMore","useQuery","gql","getAdditionalConstraintString","resultData","useResult","data","watchEffect","startProgress","stopProgress","err","URLQuery","backTop","previousQueryResult","fetchMoreResult","advancedSearch","openAdvancedSearch","jumpToPreviousPage","jumpToNextPage","jumpToSelectedPage","page2"],"mappings":"ouEAyHAA,EAAAC,IACAC,EAAAC,IAEAC,EAAAC,GAAAC,EAAA,OAAAC,CAAA,EAGAC,EAAAC,EAAgC,OA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AAA,CACED,EAAA,MAAA,EAAuB,CAIzB,SAAAE,GAAA,CACE,MAAAjC,EAAA,KAAA,MAAA,KAAA,UAAA7B,EAAA,KAAA,CAAA,EACA6B,EAAA,KAAAU,EAAA,MAAA,EACArC,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA6B,CAAA,CAAA,CAAuC,CAEzC,SAAAkC,GAAA,CACE,MAAAlC,EAAA,KAAA,MAAA,KAAA,UAAA7B,EAAA,KAAA,CAAA,EACA6B,EAAA,KAAAU,EAAA,MAAA,EACArC,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA6B,CAAA,CAAA,CAAuC,CAEzC,SAAAmC,GAAAC,EAAA,CACE,MAAApC,EAAA,KAAA,MAAA,KAAA,UAAA7B,EAAA,KAAA,CAAA,EACA6B,EAAA,KAAAoC,EAAA,EACA/D,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA6B,CAAA,CAAA,CAAuC"} \ No newline at end of file diff --git a/assets/Profile.81220e56.js b/assets/Profile.81220e56.js new file mode 100644 index 0000000000..cc5a574ac4 --- /dev/null +++ b/assets/Profile.81220e56.js @@ -0,0 +1,15 @@ +import{_ as k,b}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as w,u as C,a6 as S,U as u,D as B,G as R,B as c,H as $,m as A,o as i,c as d,w as D,ap as L,aq as q,f as e,g as M,e as s,$ as N,s as P,b as U,t as o,i as g,ac as V,j as z}from"./index.72556674.js";import{s as E}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const H={key:0,class:"max-w-screen-xl mx-auto"},j=s("div",{class:"w-full aspect-ratio-6/1 bg-gray-200 dark:bg-gray-600"},null,-1),G={class:"flex flex-row lt-sm:mt-2 ml-4 md:ml-16"},I={class:"aspect-ratio-1/1 flex-shrink-0 flex-grow-0 sm:-mt-16"},Q={class:"mt-1 sm:mt-2 ml-2 sm:ml-6"},T=["textContent"],F={class:"text-xs sm:text-sm text-gray-800 dark:text-gray-300"},J=["textContent"],K={class:"mt-4 ml-8"},se=w({__name:"Profile",setup(O){const{t:n}=C(),f=V(),p=S(),m=u(()=>f.params.uid),_=u(()=>m.value===p.uid),{result:x,loading:v}=B(R` + query ($uid: String!) { + getUser(para: { uid: $uid }) { + id + username + desc + image + gravatar + meta { + createdAt + } + } + } + `,{uid:m});c(()=>{v.value?L():q()});const t=$(x,null,a=>a==null?void 0:a.getUser);c(()=>{t.value&&E(n("user.profile.title",{username:t.value.username}))});const l=A(!1);return(a,r)=>{const h=z("RouterLink"),y=k;return i(),d(y,null,{default:D(()=>[e(t)?(i(),M("div",H,[j,s("div",G,[s("div",I,[s("div",{class:"overflow-hidden border-2 border-gray-300 dark:border-gray-800 transform transition-all ease duration-300",style:N({borderRadius:l.value?"0.25rem":e(P).md?"14rem":"5rem"}),onMouseenter:r[0]||(r[0]=()=>l.value=!0),onMouseleave:r[1]||(r[1]=()=>l.value=!1)},[U(b,{class:"w-20 h-20 md:w-56 md:h-56 cursor-pointer",openable:"","hide-title":"",alt:e(t).username,image:e(t).image,gravatar:e(t).gravatar},null,8,["alt","image","gravatar"])],36)]),s("div",Q,[s("h1",{class:"inline-block text-lg sm:text-2xl font-medium",textContent:o(e(t).username)},null,8,T),e(_)?(i(),d(h,{key:0,class:"i-uil:edit-alt ml-1 text-2xl align-text-bottom text-gray-600 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-200 transition-colors duration-100",to:"/settings/account"})):g("",!0),s("div",F,o(e(n)("user.profile.info.created-at",{date:e(t).meta.createdAt.toLocaleDateString()})),1),s("p",{class:"whitespace-pre break-normal line-clamp-4",textContent:o(e(t).desc)},null,8,J)])]),s("div",K,o(e(n)("user.profile.nothing")),1)])):g("",!0)]),_:1})}}});export{se as default}; +//# sourceMappingURL=Profile.81220e56.js.map diff --git a/assets/Profile.81220e56.js.map b/assets/Profile.81220e56.js.map new file mode 100644 index 0000000000..4b79bcefef --- /dev/null +++ b/assets/Profile.81220e56.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Profile.81220e56.js","sources":["../../packages/user/Profile.vue"],"sourcesContent":["<template>\n <LayoutDefault>\n <div v-if=\"user\" class=\"max-w-screen-xl mx-auto\">\n <!-- padding for profile background -->\n <div class=\"w-full aspect-ratio-6/1 bg-gray-200 dark:bg-gray-600\" />\n <!-- basic info -->\n <div class=\"flex flex-row lt-sm:mt-2 ml-4 md:ml-16\">\n <div class=\"aspect-ratio-1/1 flex-shrink-0 flex-grow-0 sm:-mt-16\">\n <div\n class=\"overflow-hidden border-2 border-gray-300 dark:border-gray-800 transform transition-all ease duration-300\"\n :style=\"{ borderRadius: isHoveringAvatar ? '0.25rem' : screenSizes.md ? '14rem' : '5rem' }\"\n @mouseenter=\"() => isHoveringAvatar = true\"\n @mouseleave=\"() => isHoveringAvatar = false\"\n >\n <UserAvatar\n class=\"w-20 h-20 md:w-56 md:h-56 cursor-pointer\"\n openable\n hide-title\n :alt=\"user.username\"\n :image=\"user.image\"\n :gravatar=\"user.gravatar\"\n />\n </div>\n </div>\n <div class=\"mt-1 sm:mt-2 ml-2 sm:ml-6\">\n <!-- username -->\n <h1 class=\"inline-block text-lg sm:text-2xl font-medium\" v-text=\"user.username\" />\n <RouterLink\n v-if=\"isMe\"\n class=\"i-uil:edit-alt ml-1 text-2xl align-text-bottom text-gray-600 hover:text-gray-700 dark:text-gray-300 dark:hover:text-gray-200 transition-colors duration-100\"\n to=\"/settings/account\"\n />\n <div class=\"text-xs sm:text-sm text-gray-800 dark:text-gray-300\">\n {{ t('user.profile.info.created-at', { date: user.meta.createdAt.toLocaleDateString() }) }}\n </div>\n <!-- bio -->\n <p class=\"whitespace-pre break-normal line-clamp-4\" v-text=\"user.desc\" />\n </div>\n </div>\n <div class=\"mt-4 ml-8\">\n {{ t('user.profile.nothing') }}\n </div>\n </div>\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watchEffect } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport UserAvatar from './components/UserAvatar.vue'\nimport { useAuth } from '.'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query } from '@/graphql'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { screenSizes } from '@/css'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst auth = useAuth()\n\nconst uid = computed(() => route.params.uid as string)\nconst isMe = computed(() => uid.value === auth.uid)\nconst { result, loading } = useQuery<Query>(\n gql`\n query ($uid: String!) {\n getUser(para: { uid: $uid }) {\n id\n username\n desc\n image\n gravatar\n meta {\n createdAt\n }\n }\n }\n `,\n {\n uid,\n },\n)\n\n// sync process bar\nwatchEffect(() => {\n if (loading.value)\n startProgress()\n else\n stopProgress()\n})\n\n// basic info\nconst user = useResult(result, null, data => data?.getUser)\n// change title\nwatchEffect(() => {\n if (user.value)\n setSiteTitle(t('user.profile.title', { username: user.value.username }))\n})\n\nconst isHoveringAvatar = ref(false)\n</script>\n"],"names":["t","useI18n","route","useRoute","auth","useAuth","uid","computed","isMe","result","loading","useQuery","gql","watchEffect","startProgress","stopProgress","user","useResult","data","setSiteTitle","isHoveringAvatar","ref"],"mappings":"y9BA0DA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,IACAC,EAAAC,IAEAC,EAAAC,EAAA,IAAAL,EAAA,OAAA,GAAA,EACAM,EAAAD,EAAA,IAAAD,EAAA,QAAAF,EAAA,GAAA,EACA,CAAA,OAAAK,EAAA,QAAAC,CAAA,EAAAC,EAA4BC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAC1B,CAcA,IAAAN,CACE,CACF,EAIFO,EAAA,IAAA,CACEH,EAAA,MACEI,IAEAC,GAAa,CAAA,EAIjB,MAAAC,EAAAC,EAAAR,EAAA,KAAAS,GAAAA,GAAA,YAAAA,EAAA,OAAA,EAEAL,EAAA,IAAA,CACEG,EAAA,OACEG,EAAAnB,EAAA,qBAAA,CAAA,SAAAgB,EAAA,MAAA,QAAA,CAAA,CAAA,CAAuE,CAAA,EAG3E,MAAAI,EAAAC,EAAA,EAAA"} \ No newline at end of file diff --git a/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js b/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js new file mode 100644 index 0000000000..ccc02a33ab --- /dev/null +++ b/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js @@ -0,0 +1,2 @@ +import{d as b,u as y,x as f,m as k,B as C,o as s,g as u,e as i,f as o,t as p,b as h,w as c,J as w,K as _,M as N,i as B,a9 as M,au as V,j as K}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const P={key:0,class:"xs:text-xs"},$={class:"border-t pt-1 flex-1 flex justify-between items-center"},j=["textContent"],D=["textContent"],E=["onKeydown"],I=["textContent"],S=["textContent"],J=b({__name:"PvPagination",props:{page:{default:1},pageCount:{default:1}},emits:["previous","next","change","update:page","update:pageCount"],setup(t,{emit:l}){const g=t,{t:r}=y(),n=f(g,"page",l),e=k(n.value);function m(){if(isNaN(e.value)||!Number.isSafeInteger(e.value)||e.value<=0||e.value>g.pageCount){M({message:r("ui.pv-pagination.alert"),type:V.warning});return}n.value!==e.value&&(n.value=e.value,l("change",e.value))}return C(()=>{e.value=n.value}),(v,a)=>{const x=K("i18n-t");return t.pageCount-1&&t.pageCount?(s(),u("div",P,[i("div",$,[o(n)!==1?(s(),u("a",{key:0,class:"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg hover:text-gray-500 dark:bg-gray-600 dark:border-purple-900 dark:hover:bg-black md:px-4 md:py-2",onClick:a[0]||(a[0]=d=>v.$emit("previous")),textContent:p(o(r)("ui.pv-pagination.page-previous"))},null,8,j)):(s(),u("a",{key:1,disabled:"",class:"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg dark:bg-gray-600 dark:border-purple-900 md:px-4 md:py-2",textContent:p(o(r)("ui.pv-pagination.page-previous"))},null,8,D)),h(x,{keypath:"ui.pv-pagination.page-number",tag:"div",places:{count:t.pageCount}},{count:c(()=>[w(i("input",{"onUpdate:modelValue":a[1]||(a[1]=d=>e.value=d),class:"w-12 border rounded-md border-purple-400 p-1 shadow-inner dark:bg-gray-500",onKeydown:N(m,["enter"]),onBlur:m},null,40,E),[[_,e.value,void 0,{number:!0}]])]),total:c(()=>[i("span",null,p(t.pageCount),1)]),_:1},8,["places"]),o(n)!==t.pageCount?(s(),u("a",{key:2,class:"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg hover:text-gray-500 dark:bg-gray-600 dark:border-purple-900 dark:hover:bg-black md:px-4 md:py-2",onClick:a[2]||(a[2]=d=>v.$emit("next")),textContent:p(o(r)("ui.pv-pagination.page-next"))},null,8,I)):(s(),u("a",{key:3,disabled:"",class:"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg dark:bg-gray-600 dark:border-purple-900 md:px-4 md:py-2",textContent:p(o(r)("ui.pv-pagination.page-next"))},null,8,S))])])):B("",!0)}}});export{J as _}; +//# sourceMappingURL=PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js.map diff --git a/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js.map b/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js.map new file mode 100644 index 0000000000..b71bbe16eb --- /dev/null +++ b/assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js","sources":["../../packages/ui/components/PvPagination.vue"],"sourcesContent":["<template>\n <div v-if=\"pageCount - 1 && pageCount\" class=\"xs:text-xs\">\n <div class=\"border-t pt-1 flex-1 flex justify-between items-center\">\n <a\n v-if=\"page !== 1\"\n class=\"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg hover:text-gray-500 dark:bg-gray-600 dark:border-purple-900 dark:hover:bg-black md:px-4 md:py-2\"\n @click=\"$emit('previous')\"\n v-text=\"t('ui.pv-pagination.page-previous')\"\n />\n <a\n v-else\n disabled\n class=\"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg dark:bg-gray-600 dark:border-purple-900 md:px-4 md:py-2\"\n v-text=\"t('ui.pv-pagination.page-previous')\"\n />\n <i18n-t keypath=\"ui.pv-pagination.page-number\" tag=\"div\" :places=\"{ count: pageCount }\">\n <template #count>\n <input\n v-model.number=\"currentPage\"\n class=\"w-12 border rounded-md border-purple-400 p-1 shadow-inner dark:bg-gray-500\"\n @keydown.enter=\"change\"\n @blur=\"change\"\n >\n </template>\n <template #total>\n <span>{{ pageCount }}</span>\n </template>\n </i18n-t>\n <a\n v-if=\"page !== pageCount\"\n class=\"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg hover:text-gray-500 dark:bg-gray-600 dark:border-purple-900 dark:hover:bg-black md:px-4 md:py-2\"\n @click=\"$emit('next')\"\n v-text=\"t('ui.pv-pagination.page-next')\"\n />\n <a\n v-else\n disabled\n class=\"inline-flex items-center px-2 py-1 border border-purple-300 text-sm font-medium rounded-lg dark:bg-gray-600 dark:border-purple-900 md:px-4 md:py-2\"\n v-text=\"t('ui.pv-pagination.page-next')\"\n />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport { ref, watchEffect } from 'vue'\nimport { useVModel } from '@vueuse/core'\nimport { MessageType, PvMessage } from '../libs/PvMessage'\n\nconst props = withDefaults(\n defineProps<{\n page?: number\n pageCount?: number\n }>(),\n {\n page: 1,\n pageCount: 1,\n },\n)\nconst emit = defineEmits<{\n (event: 'previous'): void\n (event: 'next'): void\n (event: 'change', value: number): void\n (event: 'update:page', value: number): void\n (event: 'update:pageCount', value: number): void\n}>()\nconst { t } = useI18n()\nconst page = useVModel(props, 'page', emit)\nconst currentPage = ref(page.value)\nfunction change(): void {\n if (\n // page must not be NaN-like\n isNaN(currentPage.value)\n // page must be a integer\n || !Number.isSafeInteger(currentPage.value)\n // page must be greater than 0\n || currentPage.value <= 0\n // page must be lesser than page count\n || currentPage.value > props.pageCount\n ) {\n PvMessage({ message: t('ui.pv-pagination.alert'), type: MessageType.warning })\n return\n }\n // change page only if currentPage really changed\n if (page.value !== currentPage.value) {\n page.value = currentPage.value\n emit('change', currentPage.value)\n }\n}\nwatchEffect(() => {\n currentPage.value = page.value\n})\n</script>\n"],"names":["t","useI18n","page","useVModel","props","emit","currentPage","ref","change","PvMessage","MessageType","watchEffect"],"mappings":"wjBAmEA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,EAAAC,EAAA,OAAAC,CAAA,EACAC,EAAAC,EAAAL,EAAA,KAAA,EACA,SAAAM,GAAA,CACE,GAAA,MAAAF,EAAA,KAAA,GAAA,CAAA,OAAA,cAAAA,EAAA,KAAA,GAAAA,EAAA,OAAA,GAAAA,EAAA,MAAAF,EAAA,UAAA,CAUEK,EAAA,CAAA,QAAAT,EAAA,wBAAA,EAAA,KAAAU,EAAA,OAAA,CAAA,EACA,MAAA,CAGFR,EAAA,QAAAI,EAAA,QACEJ,EAAA,MAAAI,EAAA,MACAD,EAAA,SAAAC,EAAA,KAAA,EACF,CAEF,OAAAK,EAAA,IAAA,CACEL,EAAA,MAAAJ,EAAA,KAAyB,CAAA"} \ No newline at end of file diff --git a/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js b/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js new file mode 100644 index 0000000000..bf76db2b68 --- /dev/null +++ b/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js @@ -0,0 +1,2 @@ +import{X as J,V as Y,B as ee,m as k,U as S,d as V,W as K,F as te,a5 as U,ag as de,q as le,S as N,am as R,u as ce,x as ve,y as G,Z as pe,o as _,c as z,w as F,f as I,L as fe,e as E,b as H,t as Q,P as B,T as be,$ as me,g as X,h as xe,R as he,i as ge}from"./index.72556674.js";import{o as y,u as D,d as ye,e as Oe,f as Se,V as we,a as Le,P as A,w as ae,t as j,b as Pe,R as Z,c as O}from"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function ke(e){throw new Error("Unexpected object: "+e)}var L=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(L||{});function Re(e,a){let n=a.resolveItems();if(n.length<=0)return null;let s=a.resolveActiveIndex(),t=s!=null?s:-1,r=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!a.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((u,v,f)=>t!==-1&&f.length-v-1>=t?!1:!a.resolveDisabled(u));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,u)=>u<=t?!1:!a.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(u=>!a.resolveDisabled(u));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>a.resolveId(o)===e.id);case 5:return null;default:ke(e)}})();return r===-1?s:r}let oe=Symbol("Context");var M=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(M||{});function Ie(){return J(oe,null)}function Ee(e){Y(oe,e)}const ne=typeof window>"u"||typeof document>"u";function De(e){if(ne)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let a=y(e);if(a)return a.ownerDocument}return document}let q=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ne=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ne||{}),Te=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Te||{}),Ve=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ve||{});function _e(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(q))}var $=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($||{});function re(e,a=0){var n;return e===((n=De(e))==null?void 0:n.body)?!1:D(a,{[0](){return e.matches(q)},[1](){let s=e;for(;s!==null;){if(s.matches(q))return!0;s=s.parentElement}return!1}})}let Fe=["textarea","input"].join(",");function Ae(e){var a,n;return(n=(a=e==null?void 0:e.matches)==null?void 0:a.call(e,Fe))!=null?n:!1}function ie(e,a=n=>n){return e.slice().sort((n,s)=>{let t=a(n),r=a(s);if(t===null||r===null)return 0;let o=t.compareDocumentPosition(r);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function tt(e,a,n=!0,s=null){var t;let r=(t=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?t:document,o=Array.isArray(e)?n?ie(e):e:_e(e);s=s!=null?s:r.activeElement;let u=(()=>{if(a&5)return 1;if(a&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(a&1)return 0;if(a&2)return Math.max(0,o.indexOf(s))-1;if(a&4)return Math.max(0,o.indexOf(s))+1;if(a&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=a&32?{preventScroll:!0}:{},l=0,i=o.length,m;do{if(l>=i||l+i<=0)return 0;let x=v+l;if(a&16)x=(x+i)%i;else{if(x<0)return 3;if(x>=i)return 1}m=o[x],m==null||m.focus(f),l+=u}while(m!==r.activeElement);return a&6&&Ae(m)&&m.select(),m.hasAttribute("tabindex")||m.setAttribute("tabindex","0"),2}function W(e,a,n){ne||ee(s=>{document.addEventListener(e,a,n),s(()=>document.removeEventListener(e,a,n))})}function Ce(e,a,n=S(()=>!0)){function s(r,o){if(!n.value||r.defaultPrevented)return;let u=o(r);if(u===null||!u.ownerDocument.documentElement.contains(u))return;let v=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(e);for(let f of v){if(f===null)continue;let l=f instanceof HTMLElement?f:y(f);if(l!=null&&l.contains(u))return}return!re(u,$.Loose)&&u.tabIndex!==-1&&r.preventDefault(),a(r,u)}let t=k(null);W("mousedown",r=>{var o,u;n.value&&(t.value=((u=(o=r.composedPath)==null?void 0:o.call(r))==null?void 0:u[0])||r.target)},!0),W("click",r=>{!t.value||(s(r,()=>t.value),t.value=null)},!0),W("blur",r=>s(r,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Be(e,a){return e===a}var Me=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Me||{}),je=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(je||{}),Ue=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ue||{});function ze(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let ue=Symbol("ListboxContext");function C(e){let a=J(ue,null);if(a===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,C),n}return a}let He=V({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Be},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:a,attrs:n,emit:s}){let t=k(1),r=k(null),o=k(null),u=k(null),v=k([]),f=k(""),l=k(null),i=k(1);function m(d=c=>c){let c=l.value!==null?v.value[l.value]:null,b=ie(d(v.value.slice()),P=>y(P.dataRef.domRef)),g=c?b.indexOf(c):null;return g===-1&&(g=null),{options:b,activeOptionIndex:g}}let x=S(()=>e.multiple?1:0),[w,p]=ye(S(()=>e.modelValue),d=>s("update:modelValue",d),S(()=>e.defaultValue)),h={listboxState:t,value:w,mode:x,compare(d,c){if(typeof e.by=="string"){let b=e.by;return(d==null?void 0:d[b])===(c==null?void 0:c[b])}return e.by(d,c)},orientation:S(()=>e.horizontal?"horizontal":"vertical"),labelRef:r,buttonRef:o,optionsRef:u,disabled:S(()=>e.disabled),options:v,searchQuery:f,activeOptionIndex:l,activationTrigger:i,closeListbox(){e.disabled||t.value!==1&&(t.value=1,l.value=null)},openListbox(){e.disabled||t.value!==0&&(t.value=0)},goToOption(d,c,b){if(e.disabled||t.value===1)return;let g=m(),P=Re(d===L.Specific?{focus:L.Specific,id:c}:{focus:d},{resolveItems:()=>g.options,resolveActiveIndex:()=>g.activeOptionIndex,resolveId:T=>T.id,resolveDisabled:T=>T.dataRef.disabled});f.value="",l.value=P,i.value=b!=null?b:1,v.value=g.options},search(d){if(e.disabled||t.value===1)return;let c=f.value!==""?0:1;f.value+=d.toLowerCase();let b=(l.value!==null?v.value.slice(l.value+c).concat(v.value.slice(0,l.value+c)):v.value).find(P=>P.dataRef.textValue.startsWith(f.value)&&!P.dataRef.disabled),g=b?v.value.indexOf(b):-1;g===-1||g===l.value||(l.value=g,i.value=1)},clearSearch(){e.disabled||t.value!==1&&f.value!==""&&(f.value="")},registerOption(d,c){let b=m(g=>[...g,{id:d,dataRef:c}]);v.value=b.options,l.value=b.activeOptionIndex},unregisterOption(d){let c=m(b=>{let g=b.findIndex(P=>P.id===d);return g!==-1&&b.splice(g,1),b});v.value=c.options,l.value=c.activeOptionIndex,i.value=1},select(d){e.disabled||p(D(x.value,{[0]:()=>d,[1]:()=>{let c=R(h.value.value).slice(),b=R(d),g=c.findIndex(P=>h.compare(b,R(P)));return g===-1?c.push(b):c.splice(g,1),c}}))}};return Ce([o,u],(d,c)=>{var b;h.closeListbox(),re(c,$.Loose)||(d.preventDefault(),(b=y(o))==null||b.focus())},S(()=>t.value===0)),Y(ue,h),Ee(S(()=>D(t.value,{[0]:M.Open,[1]:M.Closed}))),()=>{let{name:d,modelValue:c,disabled:b,...g}=e,P={open:t.value===0,disabled:b,value:w.value};return K(te,[...d!=null&&w.value!=null?Oe({[d]:w.value}).map(([T,se])=>K(Se,we({features:Le.Hidden,key:T,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:T,value:se}))):[],A({ourProps:{},theirProps:{...n,...ae(g,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:P,slots:a,attrs:n,name:"Listbox"})])}}});V({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"}},setup(e,{attrs:a,slots:n}){let s=C("ListboxLabel"),t=`headlessui-listbox-label-${j()}`;function r(){var o;(o=y(s.buttonRef))==null||o.focus({preventScroll:!0})}return()=>{let o={open:s.listboxState.value===0,disabled:s.disabled.value},u={id:t,ref:s.labelRef,onClick:r};return A({ourProps:u,theirProps:e,slot:o,attrs:a,slots:n,name:"ListboxLabel"})}}});let We=V({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"}},setup(e,{attrs:a,slots:n,expose:s}){let t=C("ListboxButton"),r=`headlessui-listbox-button-${j()}`;s({el:t.buttonRef,$el:t.buttonRef});function o(l){switch(l.key){case O.Space:case O.Enter:case O.ArrowDown:l.preventDefault(),t.openListbox(),N(()=>{var i;(i=y(t.optionsRef))==null||i.focus({preventScroll:!0}),t.value.value||t.goToOption(L.First)});break;case O.ArrowUp:l.preventDefault(),t.openListbox(),N(()=>{var i;(i=y(t.optionsRef))==null||i.focus({preventScroll:!0}),t.value.value||t.goToOption(L.Last)});break}}function u(l){switch(l.key){case O.Space:l.preventDefault();break}}function v(l){t.disabled.value||(t.listboxState.value===0?(t.closeListbox(),N(()=>{var i;return(i=y(t.buttonRef))==null?void 0:i.focus({preventScroll:!0})})):(l.preventDefault(),t.openListbox(),ze(()=>{var i;return(i=y(t.optionsRef))==null?void 0:i.focus({preventScroll:!0})})))}let f=Pe(S(()=>({as:e.as,type:a.type})),t.buttonRef);return()=>{var l,i;let m={open:t.listboxState.value===0,disabled:t.disabled.value,value:t.value.value},x={ref:t.buttonRef,id:r,type:f.value,"aria-haspopup":!0,"aria-controls":(l=y(t.optionsRef))==null?void 0:l.id,"aria-expanded":t.disabled.value?void 0:t.listboxState.value===0,"aria-labelledby":t.labelRef.value?[(i=y(t.labelRef))==null?void 0:i.id,r].join(" "):void 0,disabled:t.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:u,onClick:v};return A({ourProps:x,theirProps:e,slot:m,attrs:a,slots:n,name:"ListboxButton"})}}}),qe=V({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:a,slots:n,expose:s}){let t=C("ListboxOptions"),r=`headlessui-listbox-options-${j()}`,o=k(null);s({el:t.optionsRef,$el:t.optionsRef});function u(l){switch(o.value&&clearTimeout(o.value),l.key){case O.Space:if(t.searchQuery.value!=="")return l.preventDefault(),l.stopPropagation(),t.search(l.key);case O.Enter:if(l.preventDefault(),l.stopPropagation(),t.activeOptionIndex.value!==null){let i=t.options.value[t.activeOptionIndex.value];t.select(i.dataRef.value)}t.mode.value===0&&(t.closeListbox(),N(()=>{var i;return(i=y(t.buttonRef))==null?void 0:i.focus({preventScroll:!0})}));break;case D(t.orientation.value,{vertical:O.ArrowDown,horizontal:O.ArrowRight}):return l.preventDefault(),l.stopPropagation(),t.goToOption(L.Next);case D(t.orientation.value,{vertical:O.ArrowUp,horizontal:O.ArrowLeft}):return l.preventDefault(),l.stopPropagation(),t.goToOption(L.Previous);case O.Home:case O.PageUp:return l.preventDefault(),l.stopPropagation(),t.goToOption(L.First);case O.End:case O.PageDown:return l.preventDefault(),l.stopPropagation(),t.goToOption(L.Last);case O.Escape:l.preventDefault(),l.stopPropagation(),t.closeListbox(),N(()=>{var i;return(i=y(t.buttonRef))==null?void 0:i.focus({preventScroll:!0})});break;case O.Tab:l.preventDefault(),l.stopPropagation();break;default:l.key.length===1&&(t.search(l.key),o.value=setTimeout(()=>t.clearSearch(),350));break}}let v=Ie(),f=S(()=>v!==null?v.value===M.Open:t.listboxState.value===0);return()=>{var l,i,m,x;let w={open:t.listboxState.value===0},p={"aria-activedescendant":t.activeOptionIndex.value===null||(l=t.options.value[t.activeOptionIndex.value])==null?void 0:l.id,"aria-multiselectable":t.mode.value===1?!0:void 0,"aria-labelledby":(x=(i=y(t.labelRef))==null?void 0:i.id)!=null?x:(m=y(t.buttonRef))==null?void 0:m.id,"aria-orientation":t.orientation.value,id:r,onKeydown:u,role:"listbox",tabIndex:0,ref:t.optionsRef};return A({ourProps:p,theirProps:e,slot:w,attrs:a,slots:n,features:Z.RenderStrategy|Z.Static,visible:f.value,name:"ListboxOptions"})}}}),$e=V({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup(e,{slots:a,attrs:n,expose:s}){let t=C("ListboxOption"),r=`headlessui-listbox-option-${j()}`,o=k(null);s({el:o,$el:o});let u=S(()=>t.activeOptionIndex.value!==null?t.options.value[t.activeOptionIndex.value].id===r:!1),v=S(()=>D(t.mode.value,{[0]:()=>t.compare(R(t.value.value),R(e.value)),[1]:()=>R(t.value.value).some(p=>t.compare(R(p),R(e.value)))})),f=S(()=>D(t.mode.value,{[1]:()=>{var p;let h=R(t.value.value);return((p=t.options.value.find(d=>h.some(c=>t.compare(R(c),R(d.dataRef.value)))))==null?void 0:p.id)===r},[0]:()=>v.value})),l=S(()=>({disabled:e.disabled,value:e.value,textValue:"",domRef:o}));U(()=>{var p,h;let d=(h=(p=y(o))==null?void 0:p.textContent)==null?void 0:h.toLowerCase().trim();d!==void 0&&(l.value.textValue=d)}),U(()=>t.registerOption(r,l)),de(()=>t.unregisterOption(r)),U(()=>{le([t.listboxState,v],()=>{t.listboxState.value===0&&(!v.value||D(t.mode.value,{[1]:()=>{f.value&&t.goToOption(L.Specific,r)},[0]:()=>{t.goToOption(L.Specific,r)}}))},{immediate:!0})}),ee(()=>{t.listboxState.value===0&&(!u.value||t.activationTrigger.value!==0&&N(()=>{var p,h;return(h=(p=y(o))==null?void 0:p.scrollIntoView)==null?void 0:h.call(p,{block:"nearest"})}))});function i(p){if(e.disabled)return p.preventDefault();t.select(e.value),t.mode.value===0&&(t.closeListbox(),N(()=>{var h;return(h=y(t.buttonRef))==null?void 0:h.focus({preventScroll:!0})}))}function m(){if(e.disabled)return t.goToOption(L.Nothing);t.goToOption(L.Specific,r)}function x(){e.disabled||u.value||t.goToOption(L.Specific,r,0)}function w(){e.disabled||!u.value||t.goToOption(L.Nothing)}return()=>{let{disabled:p}=e,h={active:u.value,selected:v.value,disabled:p},d={id:r,ref:o,role:"option",tabIndex:p===!0?void 0:-1,"aria-disabled":p===!0?!0:void 0,"aria-selected":v.value,disabled:void 0,onClick:i,onFocus:m,onPointermove:x,onMousemove:x,onPointerleave:w,onMouseleave:w};return A({ourProps:d,theirProps:ae(e,["value","disabled"]),slot:h,attrs:n,slots:a,name:"ListboxOption"})}}});const Ke=["data-todo"],Ge={class:"block truncate"},Qe={class:"pointer-events-none absolute flex inset-y-0 right-0 pr-2 items-center"},Xe={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-2.5 text-purple-600 dark:text-purple-300"},Ze=E("span",{class:"i-uil:check h-4 w-4","aria-hidden":"true"},null,-1),Je=[Ze],lt=V({__name:"PvSelect",props:{itemList:null,modelValue:null,class:null},emits:["update:modelValue"],setup(e,{emit:a}){const n=e,{t:s}=ce(),t=ve(n,"modelValue",a),r=G(),o=G(),u=pe(r,{immediate:!0}),v=k(!1),f=x=>{v.value=x};le(v,()=>{u.update()},{flush:"pre"});const l=S(()=>u.top.value+u.height.value),i=S(()=>u.left.value),m=x=>{var w;return((w=n.itemList.find(p=>p.value===x))==null?void 0:w.name)||s("ui.pv-select.select")};return(x,w)=>(_(),z(I(He),{modelValue:I(t),"onUpdate:modelValue":w[0]||(w[0]=p=>fe(t)?t.value=p:null)},{default:F(({open:p})=>[E("div",{class:"hidden","data-todo":f(p)},null,8,Ke),E("div",{ref_key:"rootEl",ref:r,class:B(["mt-1",n.class])},[H(I(We),{class:"focus:outline-none relative w-full py-0.5 pl-4 pr-8 rounded-full text-left shadow-sm ring-1 ring-purple-300 ring-opacity-75 dark:ring-gray-700 focus-visible:ring-offset-1 focus-visible:ring-offset-purple-400 dark:focus-visible:ring-offset-gray-500"},{default:F(()=>[E("span",Ge,Q(m(I(t))),1),E("span",Qe,[E("span",{class:B(["i-uil:angle-down w-5 h-5 text-gray-400 transition-transform",{"rotate-180":p}]),"aria-hidden":"true"},null,2)])]),_:2},1024),(_(),z(be,{to:"body"},[E("div",{ref_key:"optionsEl",ref:o,class:"z-51 fixed max-h-60 -mx-1 pt-1 pb-2 px-1 rounded-md overflow-hidden",style:me({top:`${I(l)}px`,left:`${I(i)}px`,width:`calc(${I(u).width.value}px + 0.5rem)`})},[H(he,{"enter-active-class":"transition ease-out duration-100 transform","enter-from-class":"-translate-y-2/3 opacity-40","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition ease-out duration-100 transform","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"-translate-y-2/3 opacity-0"},{default:F(()=>[H(I(qe),{class:"focus:outline-none w-full rounded-md overflow-auto text-base shadow-lg ring-1 ring-gray-500 ring-opacity-10 bg-white dark:bg-gray-800"},{default:F(()=>[(_(!0),X(te,null,xe(e.itemList,h=>(_(),z(I($e),{key:h.value,value:h.value,as:"template"},{default:F(({active:d,selected:c})=>[E("li",{class:B(["relative py-1 pl-8 pr-4 cursor-pointer select-none",d?"bg-purple-50 text-purple-900 dark:bg-indigo-900 dark:text-purple-50":"text-gray-900 dark:text-gray-100"])},[E("span",{class:B(["block truncate",c?"font-medium":"font-normal"])},Q(h.name),3),c?(_(),X("span",Xe,Je)):ge("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],4)]))],2)]),_:1},8,["modelValue"]))}});export{_e as E,$ as F,Ne as M,Te as N,tt as P,lt as _,Ee as c,ne as e,re as h,M as l,De as m,Ie as p,Ce as y}; +//# sourceMappingURL=PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js.map diff --git a/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js.map b/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js.map new file mode 100644 index 0000000000..1a57771f29 --- /dev/null +++ b/assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","sources":["../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/calculate-active-index.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/internal/open-closed.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/ssr.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/owner.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/focus-management.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-document-event.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-outside-click.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/listbox/listbox.js","../../packages/ui/components/PvSelect.vue"],"sourcesContent":["function f(r){throw new Error(\"Unexpected object: \"+r)}var a=(e=>(e[e.First=0]=\"First\",e[e.Previous=1]=\"Previous\",e[e.Next=2]=\"Next\",e[e.Last=3]=\"Last\",e[e.Specific=4]=\"Specific\",e[e.Nothing=5]=\"Nothing\",e))(a||{});function x(r,n){let t=n.resolveItems();if(t.length<=0)return null;let l=n.resolveActiveIndex(),s=l!=null?l:-1,d=(()=>{switch(r.focus){case 0:return t.findIndex(e=>!n.resolveDisabled(e));case 1:{let e=t.slice().reverse().findIndex((i,c,u)=>s!==-1&&u.length-c-1>=s?!1:!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 2:return t.findIndex((e,i)=>i<=s?!1:!n.resolveDisabled(e));case 3:{let e=t.slice().reverse().findIndex(i=>!n.resolveDisabled(i));return e===-1?e:t.length-1-e}case 4:return t.findIndex(e=>n.resolveId(e)===r.id);case 5:return null;default:f(r)}})();return d===-1?l:d}export{a as Focus,x as calculateActiveIndex};\n","import{inject as t,provide as r}from\"vue\";let n=Symbol(\"Context\");var l=(e=>(e[e.Open=0]=\"Open\",e[e.Closed=1]=\"Closed\",e))(l||{});function f(){return p()!==null}function p(){return t(n,null)}function c(o){r(n,o)}export{l as State,f as hasOpenClosed,p as useOpenClosed,c as useOpenClosedProvider};\n","const e=typeof window==\"undefined\"||typeof document==\"undefined\";export{e as isServer};\n","import{dom as n}from'./dom.js';import{isServer as t}from'./ssr.js';function m(r){if(t)return null;if(r instanceof Node)return r.ownerDocument;if(r!=null&&r.hasOwnProperty(\"value\")){let o=n(r);if(o)return o.ownerDocument}return document}export{m as getOwnerDocument};\n","import{nextTick as T}from\"vue\";import{match as L}from'./match.js';import{getOwnerDocument as d}from'./owner.js';let m=[\"[contentEditable=true]\",\"[tabindex]\",\"a[href]\",\"area[href]\",\"button:not([disabled])\",\"iframe\",\"input:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\"].map(e=>`${e}:not([tabindex='-1'])`).join(\",\");var M=(n=>(n[n.First=1]=\"First\",n[n.Previous=2]=\"Previous\",n[n.Next=4]=\"Next\",n[n.Last=8]=\"Last\",n[n.WrapAround=16]=\"WrapAround\",n[n.NoScroll=32]=\"NoScroll\",n))(M||{}),N=(o=>(o[o.Error=0]=\"Error\",o[o.Overflow=1]=\"Overflow\",o[o.Success=2]=\"Success\",o[o.Underflow=3]=\"Underflow\",o))(N||{}),b=(r=>(r[r.Previous=-1]=\"Previous\",r[r.Next=1]=\"Next\",r))(b||{});function E(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(m))}var F=(r=>(r[r.Strict=0]=\"Strict\",r[r.Loose=1]=\"Loose\",r))(F||{});function h(e,t=0){var r;return e===((r=d(e))==null?void 0:r.body)?!1:L(t,{[0](){return e.matches(m)},[1](){let l=e;for(;l!==null;){if(l.matches(m))return!0;l=l.parentElement}return!1}})}function D(e){let t=d(e);T(()=>{t&&!h(t.activeElement,0)&&w(e)})}function w(e){e==null||e.focus({preventScroll:!0})}let H=[\"textarea\",\"input\"].join(\",\");function S(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,H))!=null?r:!1}function O(e,t=r=>r){return e.slice().sort((r,l)=>{let o=t(r),s=t(l);if(o===null||s===null)return 0;let n=o.compareDocumentPosition(s);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function v(e,t){return P(E(),t,!0,e)}function P(e,t,r=!0,l=null){var c;let o=(c=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?c:document,s=Array.isArray(e)?r?O(e):e:E(e);l=l!=null?l:o.activeElement;let n=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error(\"Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last\")})(),x=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(l))-1;if(t&4)return Math.max(0,s.indexOf(l))+1;if(t&8)return s.length-1;throw new Error(\"Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last\")})(),p=t&32?{preventScroll:!0}:{},a=0,i=s.length,u;do{if(a>=i||a+i<=0)return 0;let f=x+a;if(t&16)f=(f+i)%i;else{if(f<0)return 3;if(f>=i)return 1}u=s[f],u==null||u.focus(p),a+=n}while(u!==o.activeElement);return t&6&&S(u)&&u.select(),u.hasAttribute(\"tabindex\")||u.setAttribute(\"tabindex\",\"0\"),2}export{M as Focus,N as FocusResult,F as FocusableMode,w as focusElement,v as focusFrom,P as focusIn,E as getFocusableElements,h as isFocusableElement,D as restoreFocusIfNecessary,O as sortByDomNode};\n","import{watchEffect as r}from\"vue\";import{isServer as m}from'../utils/ssr.js';function v(e,t,n){m||r(o=>{document.addEventListener(e,t,n),o(()=>document.removeEventListener(e,t,n))})}export{v as useDocumentEvent};\n","import{computed as E,ref as s}from\"vue\";import{FocusableMode as C,isFocusableElement as d}from'../utils/focus-management.js';import{dom as p}from'../utils/dom.js';import{useDocumentEvent as l}from'./use-document-event.js';function y(f,m,i=E(()=>!0)){function a(e,u){if(!i.value||e.defaultPrevented)return;let n=u(e);if(n===null||!n.ownerDocument.documentElement.contains(n))return;let c=function o(t){return typeof t==\"function\"?o(t()):Array.isArray(t)||t instanceof Set?t:[t]}(f);for(let o of c){if(o===null)continue;let t=o instanceof HTMLElement?o:p(o);if(t!=null&&t.contains(n))return}return!d(n,C.Loose)&&n.tabIndex!==-1&&e.preventDefault(),m(e,n)}let r=s(null);l(\"mousedown\",e=>{var u,n;i.value&&(r.value=((n=(u=e.composedPath)==null?void 0:u.call(e))==null?void 0:n[0])||e.target)},!0),l(\"click\",e=>{!r.value||(a(e,()=>r.value),r.value=null)},!0),l(\"blur\",e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}export{y as useOutsideClick};\n","import{Fragment as U,computed as g,defineComponent as P,h as B,inject as $,nextTick as C,onMounted as F,onUnmounted as Q,provide as z,ref as D,toRaw as R,watch as q,watchEffect as W}from\"vue\";import{Features as K,render as I,omit as N,compact as _}from'../../utils/render.js';import{useId as E}from'../../hooks/use-id.js';import{Keys as v}from'../../keyboard.js';import{calculateActiveIndex as G,Focus as x}from'../../utils/calculate-active-index.js';import{dom as b}from'../../utils/dom.js';import{useOpenClosed as J,State as j,useOpenClosedProvider as X}from'../../internal/open-closed.js';import{match as M}from'../../utils/match.js';import{useResolveButtonType as Y}from'../../hooks/use-resolve-button-type.js';import{FocusableMode as Z,isFocusableElement as ee,sortByDomNode as te}from'../../utils/focus-management.js';import{useOutsideClick as oe}from'../../hooks/use-outside-click.js';import{Hidden as ae,Features as ie}from'../../internal/hidden.js';import{objectToFormEntries as le}from'../../utils/form.js';import{useControllable as ne}from'../../hooks/use-controllable.js';function ue(o,m){return o===m}var re=(l=>(l[l.Open=0]=\"Open\",l[l.Closed=1]=\"Closed\",l))(re||{}),se=(l=>(l[l.Single=0]=\"Single\",l[l.Multi=1]=\"Multi\",l))(se||{}),de=(l=>(l[l.Pointer=0]=\"Pointer\",l[l.Other=1]=\"Other\",l))(de||{});function fe(o){requestAnimationFrame(()=>requestAnimationFrame(o))}let H=Symbol(\"ListboxContext\");function V(o){let m=$(H,null);if(m===null){let l=new Error(`<${o} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(l,V),l}return m}let Me=P({name:\"Listbox\",emits:{\"update:modelValue\":o=>!0},props:{as:{type:[Object,String],default:\"template\"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>ue},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(o,{slots:m,attrs:l,emit:L}){let e=D(1),p=D(null),s=D(null),O=D(null),d=D([]),S=D(\"\"),t=D(null),i=D(1);function k(a=n=>n){let n=t.value!==null?d.value[t.value]:null,u=te(a(d.value.slice()),y=>b(y.dataRef.domRef)),c=n?u.indexOf(n):null;return c===-1&&(c=null),{options:u,activeOptionIndex:c}}let h=g(()=>o.multiple?1:0),[w,r]=ne(g(()=>o.modelValue),a=>L(\"update:modelValue\",a),g(()=>o.defaultValue)),f={listboxState:e,value:w,mode:h,compare(a,n){if(typeof o.by==\"string\"){let u=o.by;return(a==null?void 0:a[u])===(n==null?void 0:n[u])}return o.by(a,n)},orientation:g(()=>o.horizontal?\"horizontal\":\"vertical\"),labelRef:p,buttonRef:s,optionsRef:O,disabled:g(()=>o.disabled),options:d,searchQuery:S,activeOptionIndex:t,activationTrigger:i,closeListbox(){o.disabled||e.value!==1&&(e.value=1,t.value=null)},openListbox(){o.disabled||e.value!==0&&(e.value=0)},goToOption(a,n,u){if(o.disabled||e.value===1)return;let c=k(),y=G(a===x.Specific?{focus:x.Specific,id:n}:{focus:a},{resolveItems:()=>c.options,resolveActiveIndex:()=>c.activeOptionIndex,resolveId:T=>T.id,resolveDisabled:T=>T.dataRef.disabled});S.value=\"\",t.value=y,i.value=u!=null?u:1,d.value=c.options},search(a){if(o.disabled||e.value===1)return;let u=S.value!==\"\"?0:1;S.value+=a.toLowerCase();let y=(t.value!==null?d.value.slice(t.value+u).concat(d.value.slice(0,t.value+u)):d.value).find(A=>A.dataRef.textValue.startsWith(S.value)&&!A.dataRef.disabled),T=y?d.value.indexOf(y):-1;T===-1||T===t.value||(t.value=T,i.value=1)},clearSearch(){o.disabled||e.value!==1&&S.value!==\"\"&&(S.value=\"\")},registerOption(a,n){let u=k(c=>[...c,{id:a,dataRef:n}]);d.value=u.options,t.value=u.activeOptionIndex},unregisterOption(a){let n=k(u=>{let c=u.findIndex(y=>y.id===a);return c!==-1&&u.splice(c,1),u});d.value=n.options,t.value=n.activeOptionIndex,i.value=1},select(a){o.disabled||r(M(h.value,{[0]:()=>a,[1]:()=>{let n=R(f.value.value).slice(),u=R(a),c=n.findIndex(y=>f.compare(u,R(y)));return c===-1?n.push(u):n.splice(c,1),n}}))}};return oe([s,O],(a,n)=>{var u;f.closeListbox(),ee(n,Z.Loose)||(a.preventDefault(),(u=b(s))==null||u.focus())},g(()=>e.value===0)),z(H,f),X(g(()=>M(e.value,{[0]:j.Open,[1]:j.Closed}))),()=>{let{name:a,modelValue:n,disabled:u,...c}=o,y={open:e.value===0,disabled:u,value:w.value};return B(U,[...a!=null&&w.value!=null?le({[a]:w.value}).map(([T,A])=>B(ae,_({features:ie.Hidden,key:T,as:\"input\",type:\"hidden\",hidden:!0,readOnly:!0,name:T,value:A}))):[],I({ourProps:{},theirProps:{...l,...N(c,[\"defaultValue\",\"onUpdate:modelValue\",\"horizontal\",\"multiple\",\"by\"])},slot:y,slots:m,attrs:l,name:\"Listbox\"})])}}}),Pe=P({name:\"ListboxLabel\",props:{as:{type:[Object,String],default:\"label\"}},setup(o,{attrs:m,slots:l}){let L=V(\"ListboxLabel\"),e=`headlessui-listbox-label-${E()}`;function p(){var s;(s=b(L.buttonRef))==null||s.focus({preventScroll:!0})}return()=>{let s={open:L.listboxState.value===0,disabled:L.disabled.value},O={id:e,ref:L.labelRef,onClick:p};return I({ourProps:O,theirProps:o,slot:s,attrs:m,slots:l,name:\"ListboxLabel\"})}}}),Ie=P({name:\"ListboxButton\",props:{as:{type:[Object,String],default:\"button\"}},setup(o,{attrs:m,slots:l,expose:L}){let e=V(\"ListboxButton\"),p=`headlessui-listbox-button-${E()}`;L({el:e.buttonRef,$el:e.buttonRef});function s(t){switch(t.key){case v.Space:case v.Enter:case v.ArrowDown:t.preventDefault(),e.openListbox(),C(()=>{var i;(i=b(e.optionsRef))==null||i.focus({preventScroll:!0}),e.value.value||e.goToOption(x.First)});break;case v.ArrowUp:t.preventDefault(),e.openListbox(),C(()=>{var i;(i=b(e.optionsRef))==null||i.focus({preventScroll:!0}),e.value.value||e.goToOption(x.Last)});break}}function O(t){switch(t.key){case v.Space:t.preventDefault();break}}function d(t){e.disabled.value||(e.listboxState.value===0?(e.closeListbox(),C(()=>{var i;return(i=b(e.buttonRef))==null?void 0:i.focus({preventScroll:!0})})):(t.preventDefault(),e.openListbox(),fe(()=>{var i;return(i=b(e.optionsRef))==null?void 0:i.focus({preventScroll:!0})})))}let S=Y(g(()=>({as:o.as,type:m.type})),e.buttonRef);return()=>{var k,h;let t={open:e.listboxState.value===0,disabled:e.disabled.value,value:e.value.value},i={ref:e.buttonRef,id:p,type:S.value,\"aria-haspopup\":!0,\"aria-controls\":(k=b(e.optionsRef))==null?void 0:k.id,\"aria-expanded\":e.disabled.value?void 0:e.listboxState.value===0,\"aria-labelledby\":e.labelRef.value?[(h=b(e.labelRef))==null?void 0:h.id,p].join(\" \"):void 0,disabled:e.disabled.value===!0?!0:void 0,onKeydown:s,onKeyup:O,onClick:d};return I({ourProps:i,theirProps:o,slot:t,attrs:m,slots:l,name:\"ListboxButton\"})}}}),Ve=P({name:\"ListboxOptions\",props:{as:{type:[Object,String],default:\"ul\"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(o,{attrs:m,slots:l,expose:L}){let e=V(\"ListboxOptions\"),p=`headlessui-listbox-options-${E()}`,s=D(null);L({el:e.optionsRef,$el:e.optionsRef});function O(t){switch(s.value&&clearTimeout(s.value),t.key){case v.Space:if(e.searchQuery.value!==\"\")return t.preventDefault(),t.stopPropagation(),e.search(t.key);case v.Enter:if(t.preventDefault(),t.stopPropagation(),e.activeOptionIndex.value!==null){let i=e.options.value[e.activeOptionIndex.value];e.select(i.dataRef.value)}e.mode.value===0&&(e.closeListbox(),C(()=>{var i;return(i=b(e.buttonRef))==null?void 0:i.focus({preventScroll:!0})}));break;case M(e.orientation.value,{vertical:v.ArrowDown,horizontal:v.ArrowRight}):return t.preventDefault(),t.stopPropagation(),e.goToOption(x.Next);case M(e.orientation.value,{vertical:v.ArrowUp,horizontal:v.ArrowLeft}):return t.preventDefault(),t.stopPropagation(),e.goToOption(x.Previous);case v.Home:case v.PageUp:return t.preventDefault(),t.stopPropagation(),e.goToOption(x.First);case v.End:case v.PageDown:return t.preventDefault(),t.stopPropagation(),e.goToOption(x.Last);case v.Escape:t.preventDefault(),t.stopPropagation(),e.closeListbox(),C(()=>{var i;return(i=b(e.buttonRef))==null?void 0:i.focus({preventScroll:!0})});break;case v.Tab:t.preventDefault(),t.stopPropagation();break;default:t.key.length===1&&(e.search(t.key),s.value=setTimeout(()=>e.clearSearch(),350));break}}let d=J(),S=g(()=>d!==null?d.value===j.Open:e.listboxState.value===0);return()=>{var h,w,r,f;let t={open:e.listboxState.value===0},i={\"aria-activedescendant\":e.activeOptionIndex.value===null||(h=e.options.value[e.activeOptionIndex.value])==null?void 0:h.id,\"aria-multiselectable\":e.mode.value===1?!0:void 0,\"aria-labelledby\":(f=(w=b(e.labelRef))==null?void 0:w.id)!=null?f:(r=b(e.buttonRef))==null?void 0:r.id,\"aria-orientation\":e.orientation.value,id:p,onKeydown:O,role:\"listbox\",tabIndex:0,ref:e.optionsRef};return I({ourProps:i,theirProps:o,slot:t,attrs:m,slots:l,features:K.RenderStrategy|K.Static,visible:S.value,name:\"ListboxOptions\"})}}}),Ae=P({name:\"ListboxOption\",props:{as:{type:[Object,String],default:\"li\"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup(o,{slots:m,attrs:l,expose:L}){let e=V(\"ListboxOption\"),p=`headlessui-listbox-option-${E()}`,s=D(null);L({el:s,$el:s});let O=g(()=>e.activeOptionIndex.value!==null?e.options.value[e.activeOptionIndex.value].id===p:!1),d=g(()=>M(e.mode.value,{[0]:()=>e.compare(R(e.value.value),R(o.value)),[1]:()=>R(e.value.value).some(r=>e.compare(R(r),R(o.value)))})),S=g(()=>M(e.mode.value,{[1]:()=>{var f;let r=R(e.value.value);return((f=e.options.value.find(a=>r.some(n=>e.compare(R(n),R(a.dataRef.value)))))==null?void 0:f.id)===p},[0]:()=>d.value})),t=g(()=>({disabled:o.disabled,value:o.value,textValue:\"\",domRef:s}));F(()=>{var f,a;let r=(a=(f=b(s))==null?void 0:f.textContent)==null?void 0:a.toLowerCase().trim();r!==void 0&&(t.value.textValue=r)}),F(()=>e.registerOption(p,t)),Q(()=>e.unregisterOption(p)),F(()=>{q([e.listboxState,d],()=>{e.listboxState.value===0&&(!d.value||M(e.mode.value,{[1]:()=>{S.value&&e.goToOption(x.Specific,p)},[0]:()=>{e.goToOption(x.Specific,p)}}))},{immediate:!0})}),W(()=>{e.listboxState.value===0&&(!O.value||e.activationTrigger.value!==0&&C(()=>{var r,f;return(f=(r=b(s))==null?void 0:r.scrollIntoView)==null?void 0:f.call(r,{block:\"nearest\"})}))});function i(r){if(o.disabled)return r.preventDefault();e.select(o.value),e.mode.value===0&&(e.closeListbox(),C(()=>{var f;return(f=b(e.buttonRef))==null?void 0:f.focus({preventScroll:!0})}))}function k(){if(o.disabled)return e.goToOption(x.Nothing);e.goToOption(x.Specific,p)}function h(){o.disabled||O.value||e.goToOption(x.Specific,p,0)}function w(){o.disabled||!O.value||e.goToOption(x.Nothing)}return()=>{let{disabled:r}=o,f={active:O.value,selected:d.value,disabled:r},a={id:p,ref:s,role:\"option\",tabIndex:r===!0?void 0:-1,\"aria-disabled\":r===!0?!0:void 0,\"aria-selected\":d.value,disabled:void 0,onClick:i,onFocus:k,onPointermove:h,onMousemove:h,onPointerleave:w,onMouseleave:w};return I({ourProps:a,theirProps:N(o,[\"value\",\"disabled\"]),slot:f,attrs:l,slots:m,name:\"ListboxOption\"})}}});export{Me as Listbox,Ie as ListboxButton,Pe as ListboxLabel,Ae as ListboxOption,Ve as ListboxOptions};\n","<template>\r\n <Listbox v-slot=\"{ open }\" v-model=\"modelValue\">\r\n <!-- TODO remove this -->\r\n <div class=\"hidden\" :data-todo=\"updateOpen(open)\" />\r\n\r\n <div ref=\"rootEl\" class=\"mt-1\" :class=\"props.class\">\r\n <ListboxButton\r\n class=\"focus:outline-none relative w-full py-0.5 pl-4 pr-8 rounded-full text-left shadow-sm ring-1 ring-purple-300 ring-opacity-75 dark:ring-gray-700 focus-visible:ring-offset-1 focus-visible:ring-offset-purple-400 dark:focus-visible:ring-offset-gray-500\"\r\n >\r\n <span class=\"block truncate\">{{ find(modelValue) }}</span>\r\n <span class=\"pointer-events-none absolute flex inset-y-0 right-0 pr-2 items-center\">\r\n <span\r\n class=\"i-uil:angle-down w-5 h-5 text-gray-400 transition-transform\"\r\n :class=\"{ 'rotate-180': open }\"\r\n aria-hidden=\"true\"\r\n />\r\n </span>\r\n </ListboxButton>\r\n\r\n <Teleport to=\"body\">\r\n <div\r\n ref=\"optionsEl\"\r\n class=\"z-51 fixed max-h-60 -mx-1 pt-1 pb-2 px-1 rounded-md overflow-hidden\"\r\n :style=\"{\r\n top: `${optionsTop}px`,\r\n left: `${optionsLeft}px`,\r\n width: `calc(${rootPos.width.value}px + 0.5rem)`,\r\n }\"\r\n >\r\n <Transition\r\n enter-active-class=\"transition ease-out duration-100 transform\"\r\n enter-from-class=\"-translate-y-2/3 opacity-40\"\r\n enter-to-class=\"translate-y-0 opacity-100\"\r\n leave-active-class=\"transition ease-out duration-100 transform\"\r\n leave-from-class=\"translate-y-0 opacity-100\"\r\n leave-to-class=\"-translate-y-2/3 opacity-0\"\r\n >\r\n <ListboxOptions\r\n class=\"focus:outline-none w-full rounded-md overflow-auto text-base shadow-lg ring-1 ring-gray-500 ring-opacity-10 bg-white dark:bg-gray-800\"\r\n >\r\n <ListboxOption\r\n v-for=\"item in itemList\"\r\n v-slot=\"{ active, selected }\"\r\n :key=\"item.value\"\r\n :value=\"item.value\"\r\n as=\"template\"\r\n >\r\n <li\r\n class=\"relative py-1 pl-8 pr-4 cursor-pointer select-none\"\r\n :class=\"active ? 'bg-purple-50 text-purple-900 dark:bg-indigo-900 dark:text-purple-50' : 'text-gray-900 dark:text-gray-100'\"\r\n >\r\n <span\r\n class=\"block truncate\"\r\n :class=\"selected ? 'font-medium' : 'font-normal'\"\r\n >{{ item.name }}</span>\r\n <span\r\n v-if=\"selected\"\r\n class=\"absolute inset-y-0 left-0 flex items-center pl-2.5 text-purple-600 dark:text-purple-300\"\r\n ><span class=\"i-uil:check h-4 w-4\" aria-hidden=\"true\" /></span>\r\n </li>\r\n </ListboxOption>\r\n </ListboxOptions>\r\n </Transition>\r\n </div>\r\n </Teleport>\r\n </div>\r\n </Listbox>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { Listbox, ListboxButton, ListboxOption, ListboxOptions } from '@headlessui/vue'\r\nimport { useI18n } from 'vue-i18n'\r\nimport { useElementBounding, useVModel } from '@vueuse/core'\r\nimport { computed, ref, shallowRef, watch } from 'vue'\r\n\r\ninterface SelectList {\r\n name: string\r\n value: string\r\n}\r\n\r\nconst props = defineProps<{\r\n itemList: SelectList[]\r\n modelValue: string\r\n class?: string\r\n}>()\r\nconst emit = defineEmits<{\r\n (event: 'update:modelValue', value: string): void\r\n}>()\r\n\r\nconst { t } = useI18n()\r\n\r\nconst modelValue = useVModel(props, 'modelValue', emit)\r\n\r\nconst rootEl = shallowRef<HTMLDivElement | null>()\r\nconst optionsEl = shallowRef<HTMLDivElement | null>()\r\n\r\nconst rootPos = useElementBounding(rootEl, { immediate: true })\r\n\r\nconst diaOpen = ref(false)\r\nconst updateOpen = (n: boolean) => {\r\n diaOpen.value = n\r\n}\r\nwatch(diaOpen, () => {\r\n rootPos.update()\r\n}, { flush: 'pre' })\r\n\r\nconst optionsTop = computed(() => rootPos.top.value + rootPos.height.value)\r\nconst optionsLeft = computed(() => rootPos.left.value)\r\n\r\nconst find = (value: string) => {\r\n return props.itemList.find(item => item.value === value)?.name || t('ui.pv-select.select')\r\n}\r\n</script>\r\n"],"names":["f","r","a","x","n","t","l","s","d","e","i","c","u","p","o","m","M","N","b","E","F","h","L","H","S","O","P","v","y","C","ue","re","se","de","fe","V","$","Me","D","k","te","g","w","ne","G","A","T","R","oe","ee","Z","z","X","j","B","U","le","ae","_","ie","I","Ie","Y","Ve","J","K","Ae","Q","q","W","useI18n","modelValue","useVModel","props","emit","rootEl","shallowRef","optionsEl","rootPos","useElementBounding","diaOpen","ref","updateOpen","watch","optionsTop","computed","optionsLeft","find","value","_a","item"],"mappings":"ucAAA,SAASA,GAAEC,EA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--git a/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js b/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js new file mode 100644 index 0000000000..67a5200879 --- /dev/null +++ b/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js @@ -0,0 +1,2 @@ +import{m,V as w,U as v,d as h,a5 as P,ag as $,f as p,X as k,W as x,F as M,x as T,o as U,c as F,w as A,e as H,P as V,L as I}from"./index.72556674.js";import{t as S,P as g,d as N,b as W,f as X,V as Y,a as q,w as J,c as C,p as Q}from"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */let j=Symbol("DescriptionContext");function Z(){let t=k(j,null);if(t===null)throw new Error("Missing parent");return t}function _({slot:t=m({}),name:a="Description",props:n={}}={}){let e=m([]);function s(l){return e.value.push(l),()=>{let r=e.value.indexOf(l);r!==-1&&e.value.splice(r,1)}}return w(j,{register:s,slot:t,name:a,props:n}),v(()=>e.value.length>0?e.value.join(" "):void 0)}let se=h({name:"Description",props:{as:{type:[Object,String],default:"p"}},setup(t,{attrs:a,slots:n}){let e=Z(),s=`headlessui-description-${S()}`;return P(()=>$(e.register(s))),()=>{let{name:l="Description",slot:r=m({}),props:i={}}=e,f=t,d={...Object.entries(i).reduce((c,[u,b])=>Object.assign(c,{[u]:p(b)}),{}),id:s};return g({ourProps:d,theirProps:f,slot:r.value,attrs:a,slots:n,name:l})}}}),O=Symbol("LabelContext");function D(){let t=k(O,null);if(t===null){let a=new Error("You used a <Label /> component, but it is not inside a parent.");throw Error.captureStackTrace&&Error.captureStackTrace(a,D),a}return t}function ee({slot:t={},name:a="Label",props:n={}}={}){let e=m([]);function s(l){return e.value.push(l),()=>{let r=e.value.indexOf(l);r!==-1&&e.value.splice(r,1)}}return w(O,{register:s,slot:t,name:a,props:n}),v(()=>e.value.length>0?e.value.join(" "):void 0)}let te=h({name:"Label",props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],default:!1}},setup(t,{slots:a,attrs:n}){let e=D(),s=`headlessui-label-${S()}`;return P(()=>$(e.register(s))),()=>{let{name:l="Label",slot:r={},props:i={}}=e,{passive:f,...d}=t,c={...Object.entries(i).reduce((u,[b,y])=>Object.assign(u,{[b]:p(y)}),{}),id:s};return f&&(delete c.onClick,delete d.onClick),g({ourProps:c,theirProps:d,slot:r,attrs:n,slots:a,name:l})}}}),z=Symbol("GroupContext"),re=h({name:"SwitchGroup",props:{as:{type:[Object,String],default:"template"}},setup(t,{slots:a,attrs:n}){let e=m(null),s=ee({name:"SwitchLabel",props:{onClick(){!e.value||(e.value.click(),e.value.focus({preventScroll:!0}))}}}),l=_({name:"SwitchDescription"});return w(z,{switchRef:e,labelledby:s,describedby:l}),()=>g({theirProps:t,ourProps:{},slot:{},slots:a,attrs:n,name:"SwitchGroup"})}}),le=h({name:"Switch",emits:{"update:modelValue":t=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!1},name:{type:String,optional:!0},value:{type:String,optional:!0}},inheritAttrs:!1,setup(t,{emit:a,attrs:n,slots:e,expose:s}){let l=k(z,null),r=`headlessui-switch-${S()}`,[i,f]=N(v(()=>t.modelValue),o=>a("update:modelValue",o),v(()=>t.defaultChecked));function d(){f(!i.value)}let c=m(null),u=l===null?c:l.switchRef,b=W(v(()=>({as:t.as,type:n.type})),u);s({el:u,$el:u});function y(o){o.preventDefault(),d()}function B(o){o.key===C.Space?(o.preventDefault(),d()):o.key===C.Enter&&Q(o.currentTarget)}function L(o){o.preventDefault()}return()=>{let{name:o,value:E,...K}=t,R={checked:i.value},G={id:r,ref:u,role:"switch",type:b.value,tabIndex:0,"aria-checked":i.value,"aria-labelledby":l==null?void 0:l.labelledby.value,"aria-describedby":l==null?void 0:l.describedby.value,onClick:y,onKeyup:B,onKeypress:L};return x(M,[o!=null&&i.value!=null?x(X,Y({features:q.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:i.value,name:o,value:E})):null,g({ourProps:G,theirProps:{...n,...J(K,["modelValue","defaultChecked"])},slot:R,attrs:n,slots:e,name:"Switch"})])}}}),oe=te;const ie=h({__name:"PvSwitch",props:{size:{default:"md"},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:a}){const e=T(t,"modelValue",a);return(s,l)=>(U(),F(p(le),{modelValue:p(e),"onUpdate:modelValue":l[0]||(l[0]=r=>I(e)?e.value=r:null),class:V(["focus:outline-none relative inline-flex flex-shrink-0 rounded-full shadow-inner border-1 border-transparent transition-colors duration-200 ease-in-out cursor-pointer focus-visible:ring-1 focus-visible:ring-white focus-visible:ring-opacity-75",{"h-5.5 w-10":t.size==="sm","w-12 h-6.5":t.size==="md","bg-purple-300 dark:bg-indigo-800":!p(e),"bg-purple-400 dark:bg-indigo-600":p(e)}])},{default:A(()=>[H("span",{class:V(["inline-block transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out pointer-events-none",{"w-5":t.size==="sm","w-6":t.size==="md","translate-x-4.5":p(e)&&t.size==="sm","translate-x-5.5":p(e)&&t.size==="md"}])},null,2)]),_:1},8,["modelValue","class"]))}});export{ie as _,oe as n,re as t}; +//# sourceMappingURL=PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js.map diff --git a/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js.map b/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js.map new file mode 100644 index 0000000000..c8b1e2c900 --- /dev/null +++ b/assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js","sources":["../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/description/description.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/label/label.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/switch/switch.js","../../packages/ui/components/PvSwitch.vue"],"sourcesContent":["import{computed as m,defineComponent as x,inject as R,onMounted as v,onUnmounted as D,provide as j,ref as p,unref as y}from\"vue\";import{useId as C}from'../../hooks/use-id.js';import{render as h}from'../../utils/render.js';let u=Symbol(\"DescriptionContext\");function b(){let t=R(u,null);if(t===null)throw new Error(\"Missing parent\");return t}function P({slot:t=p({}),name:o=\"Description\",props:s={}}={}){let e=p([]);function n(r){return e.value.push(r),()=>{let i=e.value.indexOf(r);i!==-1&&e.value.splice(i,1)}}return j(u,{register:n,slot:t,name:o,props:s}),m(()=>e.value.length>0?e.value.join(\" \"):void 0)}let S=x({name:\"Description\",props:{as:{type:[Object,String],default:\"p\"}},setup(t,{attrs:o,slots:s}){let e=b(),n=`headlessui-description-${C()}`;return v(()=>D(e.register(n))),()=>{let{name:r=\"Description\",slot:i=p({}),props:l={}}=e,c=t,d={...Object.entries(l).reduce((f,[a,g])=>Object.assign(f,{[a]:y(g)}),{}),id:n};return h({ourProps:d,theirProps:c,slot:i.value,attrs:o,slots:s,name:r})}}});export{S as Description,P as useDescriptions};\n","import{computed as g,defineComponent as v,inject as x,onMounted as L,onUnmounted as k,provide as C,ref as j,unref as w}from\"vue\";import{useId as R}from'../../hooks/use-id.js';import{render as h}from'../../utils/render.js';let a=Symbol(\"LabelContext\");function p(){let t=x(a,null);if(t===null){let n=new Error(\"You used a <Label /> component, but it is not inside a parent.\");throw Error.captureStackTrace&&Error.captureStackTrace(n,p),n}return t}function K({slot:t={},name:n=\"Label\",props:i={}}={}){let e=j([]);function r(o){return e.value.push(o),()=>{let l=e.value.indexOf(o);l!==-1&&e.value.splice(l,1)}}return C(a,{register:r,slot:t,name:n,props:i}),g(()=>e.value.length>0?e.value.join(\" \"):void 0)}let P=v({name:\"Label\",props:{as:{type:[Object,String],default:\"label\"},passive:{type:[Boolean],default:!1}},setup(t,{slots:n,attrs:i}){let e=p(),r=`headlessui-label-${R()}`;return L(()=>k(e.register(r))),()=>{let{name:o=\"Label\",slot:l={},props:d={}}=e,{passive:c,...s}=t,u={...Object.entries(d).reduce((f,[b,m])=>Object.assign(f,{[b]:w(m)}),{}),id:r};return c&&(delete u.onClick,delete s.onClick),h({ourProps:u,theirProps:s,slot:l,attrs:i,slots:n,name:o})}}});export{P as Label,K as useLabels};\n","import{Fragment as E,computed as d,defineComponent as s,h as f,inject as L,provide as P,ref as m}from\"vue\";import{render as h,compact as j,omit as G}from'../../utils/render.js';import{useId as H}from'../../hooks/use-id.js';import{Keys as y}from'../../keyboard.js';import{Label as V,useLabels as B}from'../label/label.js';import{Description as I,useDescriptions as O}from'../description/description.js';import{useResolveButtonType as T}from'../../hooks/use-resolve-button-type.js';import{Hidden as F,Features as M}from'../../internal/hidden.js';import{attemptSubmit as $}from'../../utils/form.js';import{useControllable as A}from'../../hooks/use-controllable.js';let b=Symbol(\"GroupContext\"),te=s({name:\"SwitchGroup\",props:{as:{type:[Object,String],default:\"template\"}},setup(l,{slots:a,attrs:r}){let n=m(null),u=B({name:\"SwitchLabel\",props:{onClick(){!n.value||(n.value.click(),n.value.focus({preventScroll:!0}))}}}),t=O({name:\"SwitchDescription\"});return P(b,{switchRef:n,labelledby:u,describedby:t}),()=>h({theirProps:l,ourProps:{},slot:{},slots:a,attrs:r,name:\"SwitchGroup\"})}}),le=s({name:\"Switch\",emits:{\"update:modelValue\":l=>!0},props:{as:{type:[Object,String],default:\"button\"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!1},name:{type:String,optional:!0},value:{type:String,optional:!0}},inheritAttrs:!1,setup(l,{emit:a,attrs:r,slots:n,expose:u}){let t=L(b,null),p=`headlessui-switch-${H()}`,[i,S]=A(d(()=>l.modelValue),e=>a(\"update:modelValue\",e),d(()=>l.defaultChecked));function c(){S(!i.value)}let v=m(null),o=t===null?v:t.switchRef,w=T(d(()=>({as:l.as,type:r.type})),o);u({el:o,$el:o});function k(e){e.preventDefault(),c()}function g(e){e.key===y.Space?(e.preventDefault(),c()):e.key===y.Enter&&$(e.currentTarget)}function C(e){e.preventDefault()}return()=>{let{name:e,value:R,...D}=l,K={checked:i.value},x={id:p,ref:o,role:\"switch\",type:w.value,tabIndex:0,\"aria-checked\":i.value,\"aria-labelledby\":t==null?void 0:t.labelledby.value,\"aria-describedby\":t==null?void 0:t.describedby.value,onClick:k,onKeyup:g,onKeypress:C};return f(E,[e!=null&&i.value!=null?f(F,j({features:M.Hidden,as:\"input\",type:\"checkbox\",hidden:!0,readOnly:!0,checked:i.value,name:e,value:R})):null,h({ourProps:x,theirProps:{...r,...G(D,[\"modelValue\",\"defaultChecked\"])},slot:K,attrs:r,slots:n,name:\"Switch\"})])}}}),ne=V,re=I;export{le as Switch,re as SwitchDescription,te as SwitchGroup,ne as SwitchLabel};\n","<template>\n <Switch\n v-model=\"modelValue\"\n class=\"focus:outline-none relative inline-flex flex-shrink-0 rounded-full shadow-inner border-1 border-transparent transition-colors duration-200 ease-in-out cursor-pointer focus-visible:ring-1 focus-visible:ring-white focus-visible:ring-opacity-75\"\n :class=\"{\n 'h-5.5 w-10': size === 'sm',\n 'w-12 h-6.5': size === 'md',\n 'bg-purple-300 dark:bg-indigo-800': !modelValue,\n 'bg-purple-400 dark:bg-indigo-600': modelValue,\n }\"\n >\n <span\n class=\"inline-block transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out pointer-events-none\"\n :class=\"{\n 'w-5': size === 'sm',\n 'w-6': size === 'md',\n 'translate-x-4.5': modelValue && size === 'sm',\n 'translate-x-5.5': modelValue && size === 'md',\n }\"\n />\n </Switch>\n</template>\n\n<script lang=\"ts\" setup>\nimport { Switch } from '@headlessui/vue'\nimport { useVModel } from '@vueuse/core'\n\nconst props = withDefaults(\n defineProps<{\n size?: 'sm' | 'md'\n modelValue: boolean\n }>(),\n {\n size: 'md',\n },\n)\nconst emit = defineEmits<{\n (event: 'update:modelValue', value: boolean): void\n}>()\n\nconst modelValue = useVModel(props, 'modelValue', emit)\n</script>\n"],"names":["u","b","R","P","p","o","s","n","r","i","j","m","S","x","t","C","v","D","l","c","f","a","g","y","h","K","L","k","d","w","te","B","O","H","A","e","T","$","E","F","M","G","ne","V","modelValue","useVModel","emit"],"mappings":"+SAA8N,IAAIA,EAAE,OAAO,oBAAoB,EAAE,SAASC,GAAG,CAAC,IAAI,EAAEC,EAAEF,EAAE,IAAI,EAAE,GAAG,IAAI,KAAK,MAAM,IAAI,MAAM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAASG,EAAE,CAAC,KAAK,EAAEC,EAAE,CAAE,CAAA,EAAE,KAAKC,EAAE,cAAc,MAAMC,EAAE,EAAE,EAAE,GAAG,CAAC,IAAI,EAAEF,EAAE,EAAE,EAAE,SAASG,EAAEC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAKA,CAAC,EAAE,IAAI,CAAC,IAAIC,EAAE,EAAE,MAAM,QAAQD,CAAC,EAAEC,IAAI,IAAI,EAAE,MAAM,OAAOA,EAAE,CAAC,CAAC,CAAC,CAAC,OAAOC,EAAEV,EAAE,CAAC,SAASO,EAAE,KAAK,EAAE,KAAKF,EAAE,MAAMC,CAAC,CAAC,EAAEK,EAAE,IAAI,EAAE,MAAM,OAAO,EAAE,EAAE,MAAM,KAAK,GAAG,EAAE,MAAM,CAAC,CAAC,IAAIC,GAAEC,EAAE,CAAC,KAAK,cAAc,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,MAAM,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAMC,EAAE,CAAC,MAAMT,EAAE,MAAMC,CAAC,EAAE,CAAC,IAAI,EAAEL,IAAIM,EAAE,0BAA0BQ,MAAM,OAAOC,EAAE,IAAIC,EAAE,EAAE,SAASV,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAKC,EAAE,cAAc,KAAKC,EAAEL,EAAE,CAAE,CAAA,EAAE,MAAMc,EAAE,CAAA,CAAE,EAAE,EAAEC,EAAEL,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AEF,EAAE,aAAa,CAAC,CAAC,SAASpB,EAAEoB,EAAE,CAACA,EAAE,gBAAgB,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAKA,EAAE,MAAMjC,KAAKe,CAAC,EAAEC,EAAEO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAEZ,EAAE,CAAC,GAAGT,EAAE,IAAIC,EAAE,KAAK,SAAS,KAAKwB,EAAE,MAAM,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkBf,GAAG,KAAK,OAAOA,EAAE,WAAW,MAAM,mBAAmBA,GAAG,KAAK,OAAOA,EAAE,YAAY,MAAM,QAAQa,EAAE,QAAQL,EAAE,WAAWP,CAAC,EAAE,OAAOK,EAAEkB,EAAE,CAACH,GAAG,MAAM,EAAE,OAAO,KAAKf,EAAEmB,EAAE7B,EAAE,CAAC,SAAS8B,EAAE,OAAO,GAAG,QAAQ,KAAK,WAAW,OAAO,GAAG,SAAS,GAAG,QAAQ,EAAE,MAAM,KAAKL,EAAE,MAAMjC,CAAC,CAAC,CAAC,EAAE,KAAKsB,EAAE,CAAC,SAASX,EAAE,WAAW,CAAC,GAAGL,EAAE,GAAGiC,EAAExB,EAAE,CAAC,aAAa,gBAAgB,CAAC,CAAC,EAAE,KAAKQ,EAAE,MAAMjB,EAAE,MAAMD,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAEmC,GAAGC,qICwCjyE,MAAAC,EAAAC,IAAA,aAAAC,CAAA"} \ No newline at end of file diff --git a/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js b/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js new file mode 100644 index 0000000000..e1e398e048 --- /dev/null +++ b/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js @@ -0,0 +1,2 @@ +import{d as P,m as y,W as E,U as x,V as G,B as H,F as D,a5 as M,ag as N,X as K,x as X,o as S,g as $,b as C,w as A,f as k,h as V,c as j,e as J,P as Q,t as Y,v as Z}from"./index.72556674.js";import{a as ee,f as q,o as h,P as F,w as te,t as R,b as ae,R as L,c as b,u as le}from"./use-controllable.d8c790f2.js";import{N as O,m as ne,P as w,M as m}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";/*! PatchyVideo/Platinum by VoileLabs */function re(t){typeof queueMicrotask=="function"?queueMicrotask(t):Promise.resolve().then(t).catch(u=>setTimeout(()=>{throw u}))}let se=P({props:{onFocus:{type:Function,required:!0}},setup(t){let u=y(!0);return()=>u.value?E(q,{as:"button",type:"button",features:ee.Focusable,onFocus(o){o.preventDefault();let i,e=50;function n(){var a;if(e--<=0){i&&cancelAnimationFrame(i);return}if((a=t.onFocus)!=null&&a.call(t)){u.value=!1,cancelAnimationFrame(i);return}i=requestAnimationFrame(n)}i=requestAnimationFrame(n)}}):null}}),W=Symbol("TabsContext");function B(t){let u=K(W,null);if(u===null){let o=new Error(`<${t} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,B),o}return u}let ue=P({name:"TabGroup",emits:{change:t=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(t,{slots:u,attrs:o,emit:i}){let e=y(null),n=y([]),a=y([]),d=x(()=>t.selectedIndex!==null),p=x(()=>d.value?t.selectedIndex:e.value),v={selectedIndex:e,orientation:x(()=>t.vertical?"vertical":"horizontal"),activation:x(()=>t.manual?"manual":"auto"),tabs:n,panels:a,setSelectedIndex(r){p.value!==r&&i("change",r),d.value||(e.value=r)},registerTab(r){n.value.includes(r)||n.value.push(r)},unregisterTab(r){let s=n.value.indexOf(r);s!==-1&&n.value.splice(s,1)},registerPanel(r){a.value.includes(r)||a.value.push(r)},unregisterPanel(r){let s=a.value.indexOf(r);s!==-1&&a.value.splice(s,1)}};return G(W,v),H(()=>{var r;if(v.tabs.value.length<=0||t.selectedIndex===null&&e.value!==null)return;let s=v.tabs.value.map(g=>h(g)).filter(Boolean),f=s.filter(g=>!g.hasAttribute("disabled")),I=(r=t.selectedIndex)!=null?r:t.defaultIndex;if(I<0)e.value=s.indexOf(f[0]);else if(I>v.tabs.value.length)e.value=s.indexOf(f[f.length-1]);else{let g=s.slice(0,I),l=[...s.slice(I),...g].find(c=>f.includes(c));if(!l)return;e.value=s.indexOf(l)}}),()=>{let r={selectedIndex:e.value};return E(D,[n.value.length<=0&&E(se,{onFocus:()=>{for(let s of n.value){let f=h(s);if((f==null?void 0:f.tabIndex)===0)return f.focus(),!0}return!1}}),F({theirProps:{...o,...te(t,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:r,slots:u,attrs:o,name:"TabGroup"})])}}}),oe=P({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(t,{attrs:u,slots:o}){let i=B("TabList");return()=>{let e={selectedIndex:i.selectedIndex.value},n={role:"tablist","aria-orientation":i.orientation.value};return F({ourProps:n,theirProps:t,slot:e,attrs:u,slots:o,name:"TabList"})}}}),ie=P({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},setup(t,{attrs:u,slots:o,expose:i}){let e=B("Tab"),n=`headlessui-tabs-tab-${R()}`,a=y(null);i({el:a,$el:a}),M(()=>e.registerTab(a)),N(()=>e.unregisterTab(a));let d=x(()=>e.tabs.value.indexOf(a)),p=x(()=>d.value===e.selectedIndex.value);function v(l){var c;let T=l();if(T===O.Success&&e.activation.value==="auto"){let U=(c=ne(a))==null?void 0:c.activeElement,_=e.tabs.value.findIndex(z=>h(z)===U);_!==-1&&e.setSelectedIndex(_)}return T}function r(l){let c=e.tabs.value.map(T=>h(T)).filter(Boolean);if(l.key===b.Space||l.key===b.Enter){l.preventDefault(),l.stopPropagation(),e.setSelectedIndex(d.value);return}switch(l.key){case b.Home:case b.PageUp:return l.preventDefault(),l.stopPropagation(),v(()=>w(c,m.First));case b.End:case b.PageDown:return l.preventDefault(),l.stopPropagation(),v(()=>w(c,m.Last))}if(v(()=>le(e.orientation.value,{vertical(){return l.key===b.ArrowUp?w(c,m.Previous|m.WrapAround):l.key===b.ArrowDown?w(c,m.Next|m.WrapAround):O.Error},horizontal(){return l.key===b.ArrowLeft?w(c,m.Previous|m.WrapAround):l.key===b.ArrowRight?w(c,m.Next|m.WrapAround):O.Error}}))===O.Success)return l.preventDefault()}let s=y(!1);function f(){var l;s.value||(s.value=!0,!t.disabled&&((l=h(a))==null||l.focus(),e.setSelectedIndex(d.value),re(()=>{s.value=!1})))}function I(l){l.preventDefault()}let g=ae(x(()=>({as:t.as,type:u.type})),a);return()=>{var l;let c={selected:p.value},T={ref:a,onKeydown:r,onMousedown:I,onClick:f,id:n,role:"tab",type:g.value,"aria-controls":(l=h(e.panels.value[d.value]))==null?void 0:l.id,"aria-selected":p.value,tabIndex:p.value?0:-1,disabled:t.disabled?!0:void 0};return F({ourProps:T,theirProps:t,slot:c,attrs:u,slots:o,name:"Tab"})}}}),de=P({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(t,{slots:u,attrs:o}){let i=B("TabPanels");return()=>{let e={selectedIndex:i.selectedIndex.value};return F({theirProps:t,ourProps:{},slot:e,attrs:o,slots:u,name:"TabPanels"})}}}),ce=P({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(t,{attrs:u,slots:o,expose:i}){let e=B("TabPanel"),n=`headlessui-tabs-panel-${R()}`,a=y(null);i({el:a,$el:a}),M(()=>e.registerPanel(a)),N(()=>e.unregisterPanel(a));let d=x(()=>e.panels.value.indexOf(a)),p=x(()=>d.value===e.selectedIndex.value);return()=>{var v;let r={selected:p.value},s={ref:a,id:n,role:"tabpanel","aria-labelledby":(v=h(e.tabs.value[d.value]))==null?void 0:v.id,tabIndex:p.value?0:-1};return!p.value&&t.unmount&&!t.static?E(q,{as:"span",...s}):F({ourProps:s,theirProps:t,slot:r,attrs:u,slots:o,features:L.Static|L.RenderStrategy,visible:p.value,name:"TabPanel"})}}});const pe={class:"w-full"},ve=["textContent"],xe=P({__name:"PvTabs",props:{modelValue:null,tabs:null},emits:["tab-click","update:modelValue"],setup(t,{emit:u}){const o=t,i=X(o,"modelValue",u,{passive:!0}),e=x({get(){const n=o.tabs.findIndex(a=>a.name===i.value);return n===-1?0:n},set(n){i.value=o.tabs[n].name}});return(n,a)=>(S(),$("div",pe,[C(k(ue),{"selected-index":k(e),onChange:a[0]||(a[0]=d=>e.value=d)},{default:A(()=>[C(k(oe),{class:"flex p-1 gap-x-1 rounded-xl bg-purple-100 dark:bg-gray-800"},{default:A(()=>[(S(!0),$(D,null,V(t.tabs,d=>(S(),j(k(ie),{key:d.name,as:"template"},{default:A(({selected:p})=>[J("button",{class:Q(["focus:outline-none py-2 px-4 rounded-lg leading-5 transition-colors focus:ring-1 focus:ring-white focus:ring-opacity-60 focus:ring-offset-1 focus:ring-offset-purple-300 dark:focus:ring-offset-indigo-800",p?"text-purple-800 bg-white shadow dark:text-white dark:bg-gray-600":"text-purple-600 hover:text-purple-700 hover:bg-white/70 dark:text-gray-200 dark:hover:text-white dark:hover:bg-white/15"]),textContent:Y(d.label)},null,10,ve)]),_:2},1024))),128))]),_:1}),C(k(de),{class:"mt-2"},{default:A(()=>[(S(!0),$(D,null,V(t.tabs,d=>(S(),j(k(ce),{key:d.name,name:d.name},{default:A(()=>[Z(n.$slots,d.name)]),_:2},1032,["name"]))),128))]),_:3})]),_:3},8,["selected-index"])]))}});export{xe as _}; +//# sourceMappingURL=PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js.map diff --git a/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js.map b/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js.map new file mode 100644 index 0000000000..c347d88fa3 --- /dev/null +++ b/assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js","sources":["../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/micro-task.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/internal/focus-sentinel.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/components/tabs/tabs.js","../../packages/ui/components/PvTabs.vue"],"sourcesContent":["function t(e){typeof queueMicrotask==\"function\"?queueMicrotask(e):Promise.resolve().then(e).catch(o=>setTimeout(()=>{throw o}))}export{t as microTask};\n","import{h as i,ref as m,defineComponent as f}from\"vue\";import{Hidden as l,Features as F}from'./hidden.js';let d=f({props:{onFocus:{type:Function,required:!0}},setup(t){let n=m(!0);return()=>n.value?i(l,{as:\"button\",type:\"button\",features:F.Focusable,onFocus(o){o.preventDefault();let e,a=50;function r(){var u;if(a--<=0){e&&cancelAnimationFrame(e);return}if((u=t.onFocus)!=null&&u.call(t)){n.value=!1,cancelAnimationFrame(e);return}e=requestAnimationFrame(r)}e=requestAnimationFrame(r)}}):null}});export{d as FocusSentinel};\n","import{Fragment as F,computed as x,defineComponent as h,h as D,inject as C,onMounted as O,onUnmounted as H,provide as K,ref as I,watchEffect as $}from\"vue\";import{Features as k,render as S,omit as G}from'../../utils/render.js';import{useId as A}from'../../hooks/use-id.js';import{Keys as m}from'../../keyboard.js';import{dom as g}from'../../utils/dom.js';import{match as N}from'../../utils/match.js';import{focusIn as P,Focus as v,FocusResult as w}from'../../utils/focus-management.js';import{useResolveButtonType as U}from'../../hooks/use-resolve-button-type.js';import{FocusSentinel as W}from'../../internal/focus-sentinel.js';import{microTask as z}from'../../utils/micro-task.js';import{Hidden as _}from'../../internal/hidden.js';import{getOwnerDocument as q}from'../../utils/owner.js';let j=Symbol(\"TabsContext\");function E(l){let i=C(j,null);if(i===null){let o=new Error(`<${l} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,E),o}return i}let oe=h({name:\"TabGroup\",emits:{change:l=>!0},props:{as:{type:[Object,String],default:\"template\"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(l,{slots:i,attrs:o,emit:f}){let e=I(null),s=I([]),n=I([]),c=x(()=>l.selectedIndex!==null),p=x(()=>c.value?l.selectedIndex:e.value),b={selectedIndex:e,orientation:x(()=>l.vertical?\"vertical\":\"horizontal\"),activation:x(()=>l.manual?\"manual\":\"auto\"),tabs:s,panels:n,setSelectedIndex(t){p.value!==t&&f(\"change\",t),c.value||(e.value=t)},registerTab(t){s.value.includes(t)||s.value.push(t)},unregisterTab(t){let r=s.value.indexOf(t);r!==-1&&s.value.splice(r,1)},registerPanel(t){n.value.includes(t)||n.value.push(t)},unregisterPanel(t){let r=n.value.indexOf(t);r!==-1&&n.value.splice(r,1)}};return K(j,b),$(()=>{var R;if(b.tabs.value.length<=0||l.selectedIndex===null&&e.value!==null)return;let t=b.tabs.value.map(y=>g(y)).filter(Boolean),r=t.filter(y=>!y.hasAttribute(\"disabled\")),d=(R=l.selectedIndex)!=null?R:l.defaultIndex;if(d<0)e.value=t.indexOf(r[0]);else if(d>b.tabs.value.length)e.value=t.indexOf(r[r.length-1]);else{let y=t.slice(0,d),u=[...t.slice(d),...y].find(T=>r.includes(T));if(!u)return;e.value=t.indexOf(u)}}),()=>{let t={selectedIndex:e.value};return D(F,[s.value.length<=0&&D(W,{onFocus:()=>{for(let r of s.value){let d=g(r);if((d==null?void 0:d.tabIndex)===0)return d.focus(),!0}return!1}}),S({theirProps:{...o,...G(l,[\"selectedIndex\",\"defaultIndex\",\"manual\",\"vertical\",\"onChange\"])},ourProps:{},slot:t,slots:i,attrs:o,name:\"TabGroup\"})])}}}),se=h({name:\"TabList\",props:{as:{type:[Object,String],default:\"div\"}},setup(l,{attrs:i,slots:o}){let f=E(\"TabList\");return()=>{let e={selectedIndex:f.selectedIndex.value},s={role:\"tablist\",\"aria-orientation\":f.orientation.value};return S({ourProps:s,theirProps:l,slot:e,attrs:i,slots:o,name:\"TabList\"})}}}),de=h({name:\"Tab\",props:{as:{type:[Object,String],default:\"button\"},disabled:{type:[Boolean],default:!1}},setup(l,{attrs:i,slots:o,expose:f}){let e=E(\"Tab\"),s=`headlessui-tabs-tab-${A()}`,n=I(null);f({el:n,$el:n}),O(()=>e.registerTab(n)),H(()=>e.unregisterTab(n));let c=x(()=>e.tabs.value.indexOf(n)),p=x(()=>c.value===e.selectedIndex.value);function b(a){var T;let u=a();if(u===w.Success&&e.activation.value===\"auto\"){let L=(T=q(n))==null?void 0:T.activeElement,M=e.tabs.value.findIndex(B=>g(B)===L);M!==-1&&e.setSelectedIndex(M)}return u}function t(a){let u=e.tabs.value.map(L=>g(L)).filter(Boolean);if(a.key===m.Space||a.key===m.Enter){a.preventDefault(),a.stopPropagation(),e.setSelectedIndex(c.value);return}switch(a.key){case m.Home:case m.PageUp:return a.preventDefault(),a.stopPropagation(),b(()=>P(u,v.First));case m.End:case m.PageDown:return a.preventDefault(),a.stopPropagation(),b(()=>P(u,v.Last))}if(b(()=>N(e.orientation.value,{vertical(){return a.key===m.ArrowUp?P(u,v.Previous|v.WrapAround):a.key===m.ArrowDown?P(u,v.Next|v.WrapAround):w.Error},horizontal(){return a.key===m.ArrowLeft?P(u,v.Previous|v.WrapAround):a.key===m.ArrowRight?P(u,v.Next|v.WrapAround):w.Error}}))===w.Success)return a.preventDefault()}let r=I(!1);function d(){var a;r.value||(r.value=!0,!l.disabled&&((a=g(n))==null||a.focus(),e.setSelectedIndex(c.value),z(()=>{r.value=!1})))}function R(a){a.preventDefault()}let y=U(x(()=>({as:l.as,type:i.type})),n);return()=>{var T;let a={selected:p.value},u={ref:n,onKeydown:t,onMousedown:R,onClick:d,id:s,role:\"tab\",type:y.value,\"aria-controls\":(T=g(e.panels.value[c.value]))==null?void 0:T.id,\"aria-selected\":p.value,tabIndex:p.value?0:-1,disabled:l.disabled?!0:void 0};return S({ourProps:u,theirProps:l,slot:a,attrs:i,slots:o,name:\"Tab\"})}}}),fe=h({name:\"TabPanels\",props:{as:{type:[Object,String],default:\"div\"}},setup(l,{slots:i,attrs:o}){let f=E(\"TabPanels\");return()=>{let e={selectedIndex:f.selectedIndex.value};return S({theirProps:l,ourProps:{},slot:e,attrs:o,slots:i,name:\"TabPanels\"})}}}),ce=h({name:\"TabPanel\",props:{as:{type:[Object,String],default:\"div\"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(l,{attrs:i,slots:o,expose:f}){let e=E(\"TabPanel\"),s=`headlessui-tabs-panel-${A()}`,n=I(null);f({el:n,$el:n}),O(()=>e.registerPanel(n)),H(()=>e.unregisterPanel(n));let c=x(()=>e.panels.value.indexOf(n)),p=x(()=>c.value===e.selectedIndex.value);return()=>{var r;let b={selected:p.value},t={ref:n,id:s,role:\"tabpanel\",\"aria-labelledby\":(r=g(e.tabs.value[c.value]))==null?void 0:r.id,tabIndex:p.value?0:-1};return!p.value&&l.unmount&&!l.static?D(_,{as:\"span\",...t}):S({ourProps:t,theirProps:l,slot:b,attrs:i,slots:o,features:k.Static|k.RenderStrategy,visible:p.value,name:\"TabPanel\"})}}});export{de as Tab,oe as TabGroup,se as TabList,ce as TabPanel,fe as TabPanels};\n","<template>\n <div class=\"w-full\">\n <TabGroup :selected-index=\"selectedIndex\" @change=\"(i) => selectedIndex = i\">\n <TabList class=\"flex p-1 gap-x-1 rounded-xl bg-purple-100 dark:bg-gray-800\">\n <Tab\n v-for=\"tab in tabs\"\n :key=\"tab.name\"\n v-slot=\"{ selected }\"\n as=\"template\"\n >\n <button\n class=\"focus:outline-none py-2 px-4 rounded-lg leading-5 transition-colors focus:ring-1 focus:ring-white focus:ring-opacity-60 focus:ring-offset-1 focus:ring-offset-purple-300 dark:focus:ring-offset-indigo-800\"\n :class=\"selected\n ? 'text-purple-800 bg-white shadow dark:text-white dark:bg-gray-600'\n : 'text-purple-600 hover:text-purple-700 hover:bg-white/70 dark:text-gray-200 dark:hover:text-white dark:hover:bg-white/15'\"\n v-text=\"tab.label\"\n />\n </Tab>\n </TabList>\n\n <TabPanels class=\"mt-2\">\n <TabPanel v-for=\"tab in tabs\" :key=\"tab.name\" :name=\"tab.name\">\n <slot :name=\"tab.name\" />\n </TabPanel>\n </TabPanels>\n </TabGroup>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/vue'\nimport { useVModel } from '@vueuse/core'\nimport { computed } from 'vue'\n\nconst props = defineProps<{\n modelValue: string\n tabs: {\n name: string\n label: string\n }[]\n}>()\nconst emit = defineEmits<{\n (event: 'tab-click', value: string): void\n (event: 'update:modelValue', value: string): void\n}>()\n\nconst modelValue = useVModel(props, 'modelValue', emit, { passive: true })\nconst selectedIndex = computed<number>({\n get() {\n const index = props.tabs.findIndex(tab => tab.name === modelValue.value)\n return index === -1 ? 0 : index\n },\n set(value) {\n modelValue.value = props.tabs[value].name\n },\n})\n</script>\n"],"names":["t","e","o","d","f","n","m","i","l","F","a","r","u","j","E","C","oe","h","I","s","c","x","b","K","$","R","y","g","T","D","W","S","G","se","de","A","O","H","w","L","q","M","B","P","v","N","z","U","fe","_","k","modelValue","useVModel","props","emit","selectedIndex","computed","index","tab","value"],"mappings":"gcAAA,SAASA,GAAEC,EAAE,CAAC,OAAO,gBAAgB,WAAW,eAAeA,CAAC,EAAE,QAAQ,QAAS,EAAC,KAAKA,CAAC,EAAE,MAAMC,GAAG,WAAW,IAAI,CAAC,MAAMA,CAAC,CAAC,CAAC,CAAC,CCAtB,IAAIC,GAAEC,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,SAAS,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,IAAIC,EAAEC,EAAE,EAAE,EAAE,MAAM,IAAID,EAAE,MAAME,EAAEC,EA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AE,EAAA,KAAAM,GAAA,IAAqC,CACvC,CAAA"} \ No newline at end of file diff --git a/assets/Redirect.dd3d17f9.js b/assets/Redirect.dd3d17f9.js new file mode 100644 index 0000000000..6b93249079 --- /dev/null +++ b/assets/Redirect.dd3d17f9.js @@ -0,0 +1,2 @@ +import{d as m,u as p,U as c,m as _,a5 as v,q as h,o as g,g as w,e as k,t as i,f as s,b as x,w as R,ad as y,j as B,Q as C,ac as N}from"./index.72556674.js";import{s as V}from"./setSiteTitle.db0fa839.js";/*! PatchyVideo/Platinum by VoileLabs */const j={class:"text-center h-full w-full p-6"},S=m({__name:"Redirect",setup(q){const{t:e}=p(),l=N(),r=y();V(e("user.redirect.title"));const o={"sign-up":e("user.redirect.from.sign-up"),"reset-password":e("user.redirect.from.reset-password"),default:"?"},a=c(()=>l.query.from);let u=!1;for(const n in o)n===a.value&&(u=!0);u||r.push("/404");const d=c(()=>o[a.value]),t=_(5);return v(()=>{setInterval(()=>t.value--,1e3)}),h(t,()=>{t.value||r.push("/user/login")}),(n,F)=>{const f=B("RouterLink");return g(),w("div",j,[k("div",null,i(s(e)("user.redirect.log",{fromWord:s(d),count:t.value})),1),x(f,{class:"underline",to:"/user/login"},{default:R(()=>[C(i(s(e)("user.redirect.jump")),1)]),_:1})])}}});export{S as default}; +//# sourceMappingURL=Redirect.dd3d17f9.js.map diff --git a/assets/Redirect.dd3d17f9.js.map b/assets/Redirect.dd3d17f9.js.map new file mode 100644 index 0000000000..b25707691a --- /dev/null +++ b/assets/Redirect.dd3d17f9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Redirect.dd3d17f9.js","sources":["../../packages/user/Redirect.vue"],"sourcesContent":["<template>\n <div class=\"text-center h-full w-full p-6\">\n <div>\n {{ t('user.redirect.log', { fromWord, count }) }}\n </div>\n <RouterLink class=\"underline\" to=\"/user/login\">\n {{ t('user.redirect.jump') }}\n </RouterLink>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, onMounted, ref, watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useRoute, useRouter } from 'vue-router'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\nsetSiteTitle(t('user.redirect.title'))\n\nconst From: Record<string, string> = {\n 'sign-up': t('user.redirect.from.sign-up'),\n 'reset-password': t('user.redirect.from.reset-password'),\n 'default': '?',\n}\nconst from = computed<string>(() => route.query.from as string)\n\nlet catchFrom = false\nfor (const key in From) {\n if (key === from.value)\n catchFrom = true\n}\nif (!catchFrom)\n router.push('/404')\n\nconst fromWord = computed(() => From[from.value])\n\nconst count = ref<number>(5)\nonMounted(() => {\n setInterval(() => count.value--, 1000)\n})\nwatch(count, () => {\n if (!count.value)\n router.push('/user/login')\n})\n</script>\n"],"names":["t","useI18n","route","useRoute","router","useRouter","setSiteTitle","From","from","computed","catchFrom","key","fromWord","count","ref","onMounted","watch"],"mappings":"kUAiBA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,IACAC,EAAAC,IACAC,EAAAN,EAAA,qBAAA,CAAA,EAEA,MAAAO,EAAA,CAAqC,UAAAP,EAAA,4BAAA,EACM,iBAAAA,EAAA,mCAAA,EACc,QAAA,GAC5C,EAEbQ,EAAAC,EAAA,IAAAP,EAAA,MAAA,IAAA,EAEA,IAAAQ,EAAA,GACA,UAAAC,KAAAJ,EACEI,IAAAH,EAAA,QACEE,EAAA,IAEJA,GACEN,EAAA,KAAA,MAAA,EAEF,MAAAQ,EAAAH,EAAA,IAAAF,EAAAC,EAAA,MAAA,EAEAK,EAAAC,EAAA,CAAA,EACA,OAAAC,EAAA,IAAA,CACE,YAAA,IAAAF,EAAA,QAAA,GAAA,CAAqC,CAAA,EAEvCG,EAAAH,EAAA,IAAA,CACEA,EAAA,OACET,EAAA,KAAA,aAAA,CAAyB,CAAA"} \ No newline at end of file diff --git a/assets/ResetPassword.8e315e5b.css b/assets/ResetPassword.8e315e5b.css new file mode 100644 index 0000000000..7ff561230e --- /dev/null +++ b/assets/ResetPassword.8e315e5b.css @@ -0,0 +1 @@ +@media (max-width: 720px){.reset-password[data-v-508e2e7a]{background-image:url(/assets/SignupMobile.7c2f8af2.jpg)}}@media (min-width: 720px){.reset-password[data-v-508e2e7a]{background-image:url(/assets/Signup.c2df30b1.jpg)}} diff --git a/assets/ResetPassword.9fd402d2.js b/assets/ResetPassword.9fd402d2.js new file mode 100644 index 0000000000..0f6b3653d5 --- /dev/null +++ b/assets/ResetPassword.9fd402d2.js @@ -0,0 +1,2 @@ +import{d as I,u as R,m as c,U as D,o as v,g as _,f as l,e,b as S,t as o,J as y,K as x,M as V,i as C,s as N,ar as T,as as B,ac as E,ad as j,a1 as q}from"./index.72556674.js";import{r as J}from"./resDataStatus.1d07d88c.js";import{s as L}from"./setSiteTitle.db0fa839.js";import{_ as K}from"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";/*! PatchyVideo/Platinum by VoileLabs */const d=b=>(T("data-v-508e2e7a"),b=b(),B(),b),M={class:"reset-password h-screen w-full md:min-h-xl bg-bottom bg-no-repeat bg-cover dark:filter dark:brightness-75"},O={key:0,class:"flex-wrap content-between w-full h-full p-5 shadow filter drop-shadow-md backdrop-filter backdrop-blur-sm flex"},$={class:"w-full text-center"},z={class:"text-lg"},H={class:"w-full space-y-3"},A={class:"flex w-full border-b border-black dark:border-white"},F=d(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),G=["placeholder"],Q={class:"text-red-500 text-sm h-4"},W={class:"flex w-full border-b border-black dark:border-white"},X=d(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),Y=["placeholder","onKeydown"],Z={class:"text-red-500 text-sm h-4"},ee={class:"space-y-1"},se=["disabled"],te={key:0,class:"text-red-500"},ae=d(()=>e("div",{class:"h-20 w-full"},null,-1)),le=d(()=>e("div",null,"© VoileLabs 2019-2022",-1)),oe={key:1,class:"flex-wrap content-between w-80 h-full p-5 bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm ml-48 text-black flex"},re={class:"w-full"},de={class:"text-lg text-center"},ne={class:"w-full space-y-3"},ie={class:"flex w-full border-b border-black"},ue=d(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),ce=["placeholder"],pe={class:"text-red-500 text-sm h-4"},we={class:"flex w-full border-b border-black"},he=d(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),ve=["placeholder","onKeydown"],_e={class:"text-red-500 text-sm h-4"},be={class:"space-y-1"},fe=["disabled"],ge={key:0,class:"text-red-500"},me=d(()=>e("div",{class:"h-20 w-full"},null,-1)),ye=d(()=>e("div",null,"© VoileLabs 2019-2022",-1)),xe=I({__name:"ResetPassword",setup(b){const{t:s}=R(),P=E(),U=j();L(`${s("user.reset-password.title")} - PatchyVideo`);const a=c("ready"),f={fine:s("user.reset-password.password.password-status.fine"),tip:s("user.reset-password.password.password-status.tip"),msg:s("user.reset-password.password.password-status.msg")},p=c(f.fine),g={fine:s("user.reset-password.password2.password2-status.fine"),tip:s("user.reset-password.password2.password2-status.tip"),msg:s("user.reset-password.password2.password2-status.msg")},w=c(g.fine),r=c(),i=c(),k=D(()=>P.query.key),h=c("");async function m(){if(a.value==="loading")return;a.value="loading";let u=!0;if(r.value?r.value.length<6||r.value.length>64?(u=!1,p.value=f.msg):p.value=f.fine:(u=!1,p.value=f.tip),i.value?i.value!==r.value?(u=!1,w.value=g.msg):w.value=g.fine:(u=!1,w.value=g.tip),!k.value){a.value="error",h.value=s("user.reset-password.reset-status.error");return}if(!u){a.value="ready";return}await fetch("https://patchyvideo.com/be/user/resetpass.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({reset_key:k.value,new_pass:r.value}),credentials:"include"}).then(t=>t.json()).then(t=>{t.status===J.SUCCEED?U.push({path:"/user/redirect",query:{from:"reset-password"}}):(a.value="error",h.value=t.dataerr.reason)}).catch(t=>{a.value="error",h.value=t})}return(u,t)=>(v(),_("div",M,[l(N)["<md"]?(v(),_("div",O,[e("div",$,[S(K,{larger:20}),e("div",z,o(l(s)("user.reset-password.title")),1)]),e("div",H,[e("div",null,[e("div",A,[F,y(e("input",{"onUpdate:modelValue":t[0]||(t[0]=n=>r.value=n),type:"password",class:"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 dark:placeholder-white dark:text-white",placeholder:l(s)("user.reset-password.password.placeholder")},null,8,G),[[x,r.value]])]),e("div",Q,o(p.value),1)]),e("div",null,[e("div",W,[X,y(e("input",{"onUpdate:modelValue":t[1]||(t[1]=n=>i.value=n),type:"password",class:"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 dark:placeholder-white dark:text-white",placeholder:l(s)("user.reset-password.password2.placeholder"),onKeydown:V(m,["enter"])},null,40,Y),[[x,i.value]])]),e("div",Z,o(w.value),1)]),e("div",ee,[e("button",{disabled:a.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300",onClick:m},o(a.value==="loading"?l(s)("user.reset-password.reset-status.loading"):l(s)("user.reset-password.reset-status.ready")),9,se),a.value==="error"?(v(),_("div",te,o(h.value),1)):C("",!0)])]),ae,le])):(v(),_("div",oe,[e("div",re,[S(K,{larger:20}),e("div",de,o(l(s)("user.reset-password.title")),1)]),e("div",ne,[e("div",null,[e("div",ie,[ue,y(e("input",{"onUpdate:modelValue":t[2]||(t[2]=n=>r.value=n),type:"password",class:"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700",placeholder:l(s)("user.reset-password.password.placeholder")},null,8,ce),[[x,r.value]])]),e("div",pe,o(p.value),1)]),e("div",null,[e("div",we,[he,y(e("input",{"onUpdate:modelValue":t[3]||(t[3]=n=>i.value=n),type:"password",class:"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700",placeholder:l(s)("user.reset-password.password2.placeholder"),onKeydown:V(m,["enter"])},null,40,ve),[[x,i.value]])]),e("div",_e,o(w.value),1)]),e("div",be,[e("button",{disabled:a.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed",onClick:m},o(a.value==="loading"?l(s)("user.reset-password.reset-status.loading"):l(s)("user.reset-password.reset-status.ready")),9,fe),a.value==="error"?(v(),_("div",ge,o(h.value),1)):C("",!0)])]),me,ye]))]))}});const Ke=q(xe,[["__scopeId","data-v-508e2e7a"]]);export{Ke as default}; +//# sourceMappingURL=ResetPassword.9fd402d2.js.map diff --git a/assets/ResetPassword.9fd402d2.js.map b/assets/ResetPassword.9fd402d2.js.map new file mode 100644 index 0000000000..28d124192a --- /dev/null +++ b/assets/ResetPassword.9fd402d2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ResetPassword.9fd402d2.js","sources":["../../packages/user/ResetPassword.vue"],"sourcesContent":["<template>\n <div\n class=\"reset-password h-screen w-full md:min-h-xl bg-bottom bg-no-repeat bg-cover dark:filter dark:brightness-75\"\n >\n <!-- Mobile view -->\n <div\n v-if=\"screenSizes['<md']\"\n class=\"flex-wrap content-between w-full h-full p-5 shadow filter drop-shadow-md backdrop-filter backdrop-blur-sm flex\"\n >\n <div class=\"w-full text-center\">\n <Logo :larger=\"20\" />\n <div class=\"text-lg\">\n {{ t('user.reset-password.title') }}\n </div>\n </div>\n <div class=\"w-full space-y-3\">\n <div>\n <div class=\"flex w-full border-b border-black dark:border-white\">\n <div class=\"i-uil:padlock align-middle text-2xl\" />\n <input\n v-model=\"password\"\n type=\"password\"\n class=\"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 dark:placeholder-white dark:text-white\"\n :placeholder=\"t('user.reset-password.password.placeholder')\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\">\n {{ passwordStatus }}\n </div>\n </div>\n <div>\n <div class=\"flex w-full border-b border-black dark:border-white\">\n <div class=\"i-uil:padlock align-middle text-2xl\" />\n <input\n v-model=\"password2\"\n type=\"password\"\n class=\"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 dark:placeholder-white dark:text-white\"\n :placeholder=\"t('user.reset-password.password2.placeholder')\"\n @keydown.enter=\"reset\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\">\n {{ password2Status }}\n </div>\n </div>\n <div class=\"space-y-1\">\n <button\n :disabled=\"resetStatus === 'loading'\"\n class=\"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300\"\n @click=\"reset\"\n >\n {{\n resetStatus === 'loading'\n ? t('user.reset-password.reset-status.loading')\n : t('user.reset-password.reset-status.ready')\n }}\n </button>\n <div v-if=\"resetStatus === 'error'\" class=\"text-red-500\">\n {{ errmsg }}\n </div>\n </div>\n </div>\n <!-- This div is only for placeholder -->\n <div class=\"h-20 w-full\" />\n <div>© VoileLabs 2019-2022</div>\n </div>\n <!-- Desktop view -->\n <div\n v-else\n class=\"flex-wrap content-between w-80 h-full p-5 bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm ml-48 text-black flex\"\n >\n <div class=\"w-full\">\n <Logo :larger=\"20\" />\n <div class=\"text-lg text-center\">\n {{ t('user.reset-password.title') }}\n </div>\n </div>\n <div class=\"w-full space-y-3\">\n <div>\n <div class=\"flex w-full border-b border-black\">\n <div class=\"i-uil:padlock align-middle text-2xl\" />\n <input\n v-model=\"password\"\n type=\"password\"\n class=\"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700\"\n :placeholder=\"t('user.reset-password.password.placeholder')\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\">\n {{ passwordStatus }}\n </div>\n </div>\n <div>\n <div class=\"flex w-full border-b border-black\">\n <div class=\"i-uil:padlock align-middle text-2xl\" />\n <input\n v-model=\"password2\"\n type=\"password\"\n class=\"outline-none w-full bg-transparent placeholder-gray-700 text-gray-700\"\n :placeholder=\"t('user.reset-password.password2.placeholder')\"\n @keydown.enter=\"reset\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\">\n {{ password2Status }}\n </div>\n </div>\n <div class=\"space-y-1\">\n <button\n :disabled=\"resetStatus === 'loading'\"\n class=\"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed\"\n @click=\"reset\"\n >\n {{\n resetStatus === 'loading'\n ? t('user.reset-password.reset-status.loading')\n : t('user.reset-password.reset-status.ready')\n }}\n </button>\n <div v-if=\"resetStatus === 'error'\" class=\"text-red-500\">\n {{ errmsg }}\n </div>\n </div>\n </div>\n <!-- This div is only for placeholder -->\n <div class=\"h-20 w-full\" />\n <div>© VoileLabs 2019-2022</div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport { screenSizes } from '@/css'\nimport { resDataStatus } from '@/common/libs/resDataStatus'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport Logo from '@/common/components/Logo.vue'\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\nsetSiteTitle(`${t('user.reset-password.title')} - PatchyVideo`)\n\nconst resetStatus = ref<'ready' | 'loading' | 'error'>('ready')\nconst PasswordStatus = {\n fine: t('user.reset-password.password.password-status.fine'),\n tip: t('user.reset-password.password.password-status.tip'),\n msg: t('user.reset-password.password.password-status.msg'),\n}\nconst passwordStatus = ref<string>(PasswordStatus.fine)\nconst Password2Status = {\n fine: t('user.reset-password.password2.password2-status.fine'),\n tip: t('user.reset-password.password2.password2-status.tip'),\n msg: t('user.reset-password.password2.password2-status.msg'),\n}\nconst password2Status = ref<string>(Password2Status.fine)\n\nconst password = ref<string>()\nconst password2 = ref<string>()\nconst resetKey = computed(() => route.query.key)\nconst errmsg = ref<string>('')\n\nasync function reset(): Promise<void> {\n if (resetStatus.value === 'loading')\n return\n resetStatus.value = 'loading'\n\n /* Form validation */\n let valid = true\n if (!password.value) {\n valid = false\n passwordStatus.value = PasswordStatus.tip\n }\n else if (password.value.length < 6 || password.value.length > 64) {\n valid = false\n passwordStatus.value = PasswordStatus.msg\n }\n else {\n passwordStatus.value = PasswordStatus.fine\n }\n if (!password2.value) {\n valid = false\n password2Status.value = Password2Status.tip\n }\n else if (password2.value !== password.value) {\n valid = false\n password2Status.value = Password2Status.msg\n }\n else {\n password2Status.value = Password2Status.fine\n }\n if (!resetKey.value) {\n resetStatus.value = 'error'\n errmsg.value = t('user.reset-password.reset-status.error')\n return\n }\n if (!valid) {\n resetStatus.value = 'ready'\n return\n }\n\n await fetch('https://patchyvideo.com/be/user/resetpass.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n reset_key: resetKey.value,\n new_pass: password.value,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status === resDataStatus.SUCCEED) {\n router.push({ path: '/user/redirect', query: { from: 'reset-password' } })\n }\n else {\n resetStatus.value = 'error'\n errmsg.value = res.dataerr.reason\n }\n })\n .catch((err) => {\n // console.log(err)\n resetStatus.value = 'error'\n errmsg.value = err\n })\n}\n</script>\n\n<style lang=\"postcss\" scoped>\n@media (max-width: 720px) {\n .reset-password {\n background-image: url('./assets/SignupMobile.jpg');\n }\n}\n@media (min-width: 720px) {\n .reset-password {\n background-image: url('./assets/Signup.jpg');\n }\n}\n</style>\n"],"names":["t","useI18n","route","useRoute","router","useRouter","setSiteTitle","resetStatus","ref","PasswordStatus","passwordStatus","Password2Status","password2Status","password","password2","resetKey","computed","errmsg","reset","valid","data","res","resDataStatus","err"],"mappings":"4lEA4IA,KAAA,CAAA,EAAAA,GAAAC,IACAC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AAA,CAKXA,EAAA,SAAAC,EAAA,QACElB,EAAA,KAAA,CAAA,KAAA,iBAAA,MAAA,CAAA,KAAA,gBAAA,CAAA,CAAA,GAGAG,EAAA,MAAA,QACAU,EAAA,MAAAI,EAAA,QAAA,OACF,CAAA,EAAA,MAAAE,GAAA,CAIAhB,EAAA,MAAA,QACAU,EAAA,MAAAM,CAAe,CAAA,CAChB"} \ No newline at end of file diff --git a/assets/SearchPage.129983f3.js b/assets/SearchPage.129983f3.js new file mode 100644 index 0000000000..1eadaab214 --- /dev/null +++ b/assets/SearchPage.129983f3.js @@ -0,0 +1,2 @@ +import{_ as r,a as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as i,u as p,o as h,c as _,w as u,e as s,t as l,f as m,b as f,ad as d}from"./index.72556674.js";import{s as x}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const b={class:"pt-26 pb-30 text-center"},g={class:"text-lg font-semibold p-4 px-auto"},C=i({__name:"SearchPage",setup(y){const{t:e}=p();x(`${e("search.search-page.title")} - PatchyVideo`);const a=d();function o(t){a.push({path:"/search-result",query:{i:t}})}return(t,w)=>{const c=r;return h(),_(c,{"show-search-bar":!1},{default:u(()=>[s("div",b,[s("h3",g,l(`PatchyVideo | ${m(e)("search.search-page.search")}`),1),f(n,{class:"inline-block w-4/5",onSearch:o})])]),_:1})}}});export{C as default}; +//# sourceMappingURL=SearchPage.129983f3.js.map diff --git a/assets/SearchPage.129983f3.js.map b/assets/SearchPage.129983f3.js.map new file mode 100644 index 0000000000..0457f21c0a --- /dev/null +++ b/assets/SearchPage.129983f3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SearchPage.129983f3.js","sources":["../../packages/search/SearchPage.vue"],"sourcesContent":["<template>\n <LayoutDefault :show-search-bar=\"false\">\n <div class=\"pt-26 pb-30 text-center\">\n <h3 class=\"text-lg font-semibold p-4 px-auto\">\n {{ `PatchyVideo | ${t('search.search-page.search')}` }}\n </h3>\n <AutoComplete class=\"inline-block w-4/5\" @search=\"searchResult\" />\n </div>\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport AutoComplete from '@/search/components/AutoComplete.vue'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\n\nconst { t } = useI18n()\nsetSiteTitle(`${t('search.search-page.title')} - PatchyVideo`)\n\n// Search\nconst router = useRouter()\nfunction searchResult(searchContent: string): void {\n router.push({ path: '/search-result', query: { i: searchContent } })\n}\n</script>\n"],"names":["t","useI18n","setSiteTitle","router","useRouter","searchResult","searchContent"],"mappings":"6jBAiBA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAA,GAAAF,EAAA,0BAAA,iBAAA,EAGA,MAAAG,EAAAC,IACA,SAAAC,EAAAC,EAAA,CACEH,EAAA,KAAA,CAAA,KAAA,iBAAA,MAAA,CAAA,EAAAG,CAAA,CAAA,CAAA,CAAmE"} \ No newline at end of file diff --git a/assets/SearchResult.27a417c5.css b/assets/SearchResult.27a417c5.css new file mode 100644 index 0000000000..7749804d6d --- /dev/null +++ b/assets/SearchResult.27a417c5.css @@ -0,0 +1 @@ +.search-result-backimg[data-v-c132969e]{background-image:url(/assets/SearchResultBackImg.0b180644.png)}.search-result-backimg[data-v-cd8439ff]{background-image:url(/assets/SearchResultBackImg.0b180644.png)} diff --git a/assets/SearchResult.821faf49.js b/assets/SearchResult.821faf49.js new file mode 100644 index 0000000000..81749b7309 --- /dev/null +++ b/assets/SearchResult.821faf49.js @@ -0,0 +1,47 @@ +import{_ as me,a as ye}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as M,u as F,m as O,ao as ee,D as te,G as se,B as D,ap as le,aq as re,H as ae,q as oe,o as l,g as a,e,t as n,f as s,s as J,F as b,h as x,i as C,ac as ie,ad as ne,j as ue,b as I,P as Q,c as A,w as B,Q as z,ar as de,as as ce,a1 as ve,U as V,L as k}from"./index.72556674.js";import{_ as ge}from"./BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js";import{C as E}from"./CoverPlaceholder.83cb739d.js";import{_ as W}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{g as K,a as X}from"./imageUrl.5afb7f35.js";import{b as pe}from"./backTop.a4b6f707.js";import{p as Z}from"./biliHelper.9b20d4b7.js";import{_ as fe}from"./PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js";import{s as he}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";import"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */const H=h=>(de("data-v-c132969e"),h=h(),ce(),h),_e={key:0},be=["textContent"],xe={key:0},ke={class:"w-2/5 mr-0.5"},we=H(()=>e("div",{class:"w-3/5 text-sm pb-1 flex flex-wrap content-between"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md w-full bg-gray-400 dark:bg-gray-600"},"   "),e("div",{class:"flex text-xs h-4 align-middle rounded-md w-2/5 bg-gray-400 dark:bg-gray-600"})],-1)),$e={key:1,class:"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain"},qe=H(()=>e("div",{class:"p-3 text-left text-sm lg:text-base"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md bg-gray-300 dark:bg-gray-600"},"   "),e("div",{class:"flex text-xs h-4 mt-1 align-middle rounded-md bg-gray-300 dark:bg-gray-600"})],-1)),Ce={key:1},Se=["textContent"],Ne=["textContent"],Oe={key:2},Ie={class:"flex flex-wrap-reverse justify-between items-end border-b pb-1"},Pe=["textContent"],je=["textContent"],Ue={class:"flex self-center space-x-2"},Ve=["onClick","textContent"],Ae={key:0},Je={class:"relative w-2/5 mr-0.5"},Re={key:0,class:"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color"},Te=H(()=>e("div",{class:"i-uil:eye-slash text-4xl"},null,-1)),Le={class:"text-lg"},Be={class:"w-3/5 text-sm pb-1 flex flex-wrap content-between"},De={key:0,class:"overflow-hidden w-full"},Ee={class:"inline-block w-full truncate"},He={class:"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300"},Qe={class:"font-semibold"},ze={key:1,class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full"},Me=["title"],Fe=["src","alt"],Ye={key:1,class:"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain"},Ge={class:"relative"},We={key:0,class:"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color"},Ke=H(()=>e("div",{class:"i-uil:eye-slash text-8xl"},null,-1)),Xe={class:"text-2xl"},Ze={class:"p-3 text-left text-sm lg:text-base"},et={key:0},tt=["title"],st=["title"],lt={class:"font-semibold"},rt=["title"],at=["title"],ot=["src","alt"],it=M({__name:"SearchVideo",props:{query:null,limit:null,offset:null,order:null,visibleSite:null,pageCount:null},emits:["update:query","update:limit","update:offset","update:order","update:visibleSite","update:pageCount"],setup(h,{emit:w}){const o=h,{t:u}=F(),v=ie(),m=ne(),c=O(),p=O(""),$=O(0),y=O([]),{query:g,limit:f,offset:S,order:q,visibleSite:j,pageCount:R}=ee(o,w),T=[{value:"",name:u("search.search-result.video.visible-sites.all")},{value:"ANY(site:acfun site:bilibili site:zcool)",name:u("search.search-result.video.visible-sites.home")},{value:"ANY(site:nicovideo site:twitter site:youtube site:ipfs)",name:u("search.search-result.video.visible-sites.abroad")}],{result:P,loading:_,onError:U,fetchMore:d}=te(se` + query ($offset: Int!, $limit: Int!, $query: String!, $order: String!, $additionalConstraint: String) { + listVideo( + para: { + offset: $offset + limit: $limit + humanReadableTag: true + query: $query + order: $order + additionalConstraint: $additionalConstraint + } + ) { + count + pageCount + videos { + id + item { + coverImage + title + site + cid + partName + url + } + clearence + } + } + } + `,{offset:S.value*f.value,limit:f.value,query:g.value,order:q.value,additionalConstraint:j.value},{notifyOnNetworkStatusChange:!0});D(()=>{_.value?(c.value="loading",le()):(c.value="result",re())});const t=ae(P,null,r=>r==null?void 0:r.listVideo);D(()=>{t.value&&($.value=t.value.count,R.value=t.value.pageCount,y.value=t.value.videos)}),U(r=>{p.value=r.message,c.value="error"}),oe(o,()=>{pe(),d({variables:{offset:S.value*f.value,limit:f.value,query:g.value,order:q.value,additionalConstraint:j.value},updateQuery(r,{fetchMoreResult:N}){return N||r}})},{deep:!0});function L(r){localStorage.setItem("VisibleSite",r);const N=JSON.parse(JSON.stringify(v.query));N.page=0,N.visible_site=r,m.push({path:v.path,query:N})}return(r,N)=>{const G=ue("RouterLink");return c.value==="loading"?(l(),a("div",_e,[e("div",{textContent:n(s(u)("search.search-result.video.main-body.loading.searching"))},null,8,be),s(J)["<md"]?(l(),a("div",xe,[(l(!0),a(b,null,x(s(f),i=>(l(),a("div",{key:i,class:"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800"},[e("div",ke,[I(E,{class:"rounded-md"})]),we]))),128))])):(l(),a("div",$e,[(l(!0),a(b,null,x(s(f),i=>(l(),a("div",{key:i,class:"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900"},[I(E,{class:"rounded-md"}),qe]))),128))]))])):c.value==="error"?(l(),a("div",Ce,[e("div",{textContent:n(s(u)("search.search-result.video.main-body.failed.search-failed"))},null,8,Se),e("div",{textContent:n(s(u)("search.search-result.video.main-body.failed.search-failed-reason")+p.value)},null,8,Ne)])):c.value==="result"?(l(),a("div",Oe,[e("div",Ie,[$.value===0?(l(),a("div",{key:0,textContent:n(s(u)("search.search-result.video.main-body.successful.search-no-result"))},null,8,Pe)):(l(),a("div",{key:1,textContent:n(s(u)("search.search-result.video.main-body.successful.search-result-count",{count:$.value}))},null,8,je)),e("div",Ue,[(l(),a(b,null,x(T,i=>e("label",{key:i.value,class:Q(["px-2 py-1 cursor-pointer text-gray-400 text-sm font-semibold md:text-base md:font-bold md:px-3 md:py-1",{"text-black rounded-full bg-gray-100 dark:text-white dark:bg-gray-500":i.value===s(j)}]),onClick:ts=>L(i.value),textContent:n(i.name)},null,10,Ve)),64))])]),s(J)["<md"]?(l(),a("div",Ae,[(l(!0),a(b,null,x(y.value,i=>(l(),A(G,{key:i.item.title,class:"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800",to:`/video/${i.id.toHexString()}`,target:"_blank"},{default:B(()=>[e("div",Je,[I(W,{title:i.item.title,"cover-image":i.item.coverImage,class:"rounded-sm"},null,8,["title","cover-image"]),i.clearence===0?(l(),a("div",Re,[Te,e("div",Le,n(s(u)("search.search-result.video.video.hidden")),1)])):C("",!0)]),e("div",Be,[i.item.partName?(l(),a("div",De,[e("a",Ee,n(i.item.title),1),e("div",He,[e("label",Qe,n(`P${s(Z)(i.item.url)}:`),1),z(n(i.item.partName),1)])])):(l(),a("a",ze,n(i.item.title),1)),e("div",{class:"flex text-xs h-4 align-middle",title:i.item.site},[e("div",null,n(s(u)("search.search-result.video.video.source-site")),1),e("img",{class:"cover h-full",src:s(K)(i.item.site),alt:i.item.site},null,8,Fe)],8,Me)])]),_:2},1032,["to"]))),128))])):(l(),a("div",Ye,[(l(!0),a(b,null,x(y.value,i=>(l(),A(G,{key:i.item.title,class:"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg overflow-hidden bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900",to:`/video/${i.id.toHexString()}`,target:"_blank"},{default:B(()=>[e("div",Ge,[I(W,{title:i.item.title,"cover-image":i.item.coverImage},null,8,["title","cover-image"]),i.clearence===0?(l(),a("div",We,[Ke,e("div",Xe,n(s(u)("search.search-result.video.video.hidden")),1)])):C("",!0)]),e("div",Ze,[i.item.partName?(l(),a("div",et,[e("a",{class:"inline-block w-full truncate",title:i.item.title},n(i.item.title),9,tt),e("div",{class:"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300",title:i.item.partName},[e("label",lt,n(`P${s(Z)(i.item.url)}: `),1),z(n(i.item.partName),1)],8,st)])):(l(),a("a",{key:1,class:"line-clamp-2 overflow-ellipsis overflow-hidden",title:i.item.title},n(i.item.title),9,rt)),e("div",{class:"flex text-xs h-4 align-middle",title:i.item.site},[e("div",null,n(s(u)("search.search-result.video.video.source-site")),1),e("img",{class:"cover",src:s(K)(i.item.site),alt:i.item.site},null,8,ot)],8,at)])]),_:2},1032,["to"]))),128))]))])):C("",!0)}}});const nt=ve(it,[["__scopeId","data-v-c132969e"]]),Y=h=>(de("data-v-cd8439ff"),h=h(),ce(),h),ut={key:0},dt=["textContent"],ct={key:0},vt={class:"w-2/5 mr-0.5"},pt=Y(()=>e("div",{class:"w-3/5 flex flex-wrap content-between"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full rounded-md bg-gray-400 dark:bg-gray-600"},"   "),e("div",{class:"w-2/5 text-sm text-gray-600 dark:text-gray-300 rounded-md bg-gray-300 dark:bg-gray-600"},"   ")],-1)),mt={key:1,class:"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain"},yt=Y(()=>e("div",{class:"block border-b py-3 text-center text-xl truncate font-semibold lg:text-2xl rounded-md bg-gray-400 dark:bg-gray-600"},"   ",-1)),gt={class:"flex p-2 pt-3"},ft={class:"w-1/2 mr-5"},ht={class:"w-1/2 py-2 flex flex-wrap content-between"},_t={class:"line-clamp-3 w-full overflow-ellipsis overflow-hidden"},bt=Y(()=>e("div",{class:"w-full text-right text-sm text-gray-600 dark:text-gray-300"},[e("div",{class:"w-2/5 float-right rounded-md bg-gray-300 dark:bg-gray-600"},"   ")],-1)),xt={key:1},kt={key:2},wt={key:3},$t={class:"border-b pb-1"},qt={key:0},Ct={class:"w-2/5 mr-0.5"},St={class:"aspect-ratio-16/10 overflow-hidden rounded-sm"},Nt=["src"],Ot={class:"w-3/5 flex flex-wrap content-between"},It={class:"w-full"},Pt={class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full flex items-center"},jt={key:0,class:"bg-purple-400 text-white text-xs rounded px-1"},Ut={class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full text-xs text-gray-500"},Vt=["textContent"],At={key:1,class:"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain"},Jt={key:0,class:"bg-purple-400 text-white text-xs rounded px-1 py-0.5"},Rt={class:"text-xl truncate font-semibold lg:text-2xl"},Tt={class:"flex p-2 pt-3"},Lt={class:"w-1/2 mr-5"},Bt={class:"aspect-ratio-16/10 overflow-hidden"},Dt=["src"],Et={class:"w-1/2 py-2 flex flex-wrap content-between"},Ht=["textContent"],Qt=["textContent"],zt=M({__name:"SearchPlaylist",props:{query:null,limit:null,offset:null,order:null,pageCount:null},emits:["update:query","update:limit","update:offset","update:order","update:pageCount"],setup(h,{emit:w}){const o=h,{t:u}=F(),v=O(),m=O(""),c=O(0),p=O(),{query:$,limit:y,offset:g,order:f,pageCount:S}=ee(o,w),{result:q,loading:j,onError:R,fetchMore:T}=te(se` + query ($offset: Int, $limit: Int, $query: String, $order: String) { + listPlaylist(para: { offset: $offset, limit: $limit, query: $query, order: $order }) { + playlists { + id + item { + cover + title + desc + count + private + } + } + count + pageCount + } + } + `,{offset:g.value*y.value,limit:y.value,query:$.value,order:f.value},{notifyOnNetworkStatusChange:!0});D(()=>{j.value?(v.value="loading",le()):(v.value="result",re())});const P=ae(q,null,_=>_==null?void 0:_.listPlaylist);return D(()=>{P.value&&(c.value=P.value.count,S.value=P.value.pageCount,p.value=P.value.playlists)}),R(_=>{m.value=_.message,v.value="error"}),oe(o,()=>{pe(),T({variables:{offset:g.value*y.value,limit:y.value,query:$.value,order:f.value},updateQuery(_,{fetchMoreResult:U}){return U||_}})},{deep:!0}),(_,U)=>{const d=ue("RouterLink");return v.value==="loading"?(l(),a("div",ut,[e("div",{class:"border-b pb-1",textContent:n(s(u)("search.search-result.video.main-body.loading.searching"))},null,8,dt),s(J)["<md"]?(l(),a("div",ct,[(l(!0),a(b,null,x(s(y),t=>(l(),a("div",{key:t,class:"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800"},[e("div",vt,[I(E,{class:"rounded-md"})]),pt]))),128))])):(l(),a("div",mt,[(l(!0),a(b,null,x(s(y),t=>(l(),a("div",{key:t,class:"w-12/25 my-5 p-2 border border-purple-400 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900"},[yt,e("div",gt,[e("div",ft,[I(E,{class:"rounded-md"})]),e("div",ht,[e("div",_t,[(l(),a(b,null,x(3,L=>e("div",{key:L,class:"mb-1 w-full rounded-md bg-gray-300 dark:bg-gray-600"},"   ")),64))]),bt])])]))),128))]))])):v.value==="error"?(l(),a("div",xt,[e("div",null,n(s(u)("search.search-result.playlist.main-body.failed.search-failed")),1),e("div",null,n(s(u)("search.search-result.playlist.main-body.failed.search-failed-reason")+m.value),1)])):c.value===0?(l(),a("div",kt,n(s(u)("search.search-result.playlist.main-body.successful.search-no-result")),1)):v.value==="result"?(l(),a("div",wt,[e("div",$t,n(s(u)("search.search-result.playlist.main-body.successful.search-result-count",{count:c.value})),1),s(J)["<md"]?(l(),a("div",qt,[(l(!0),a(b,null,x(p.value,t=>(l(),A(d,{key:t.item.title,class:"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800",to:`/playlist/${t.id.toHexString()}`,target:"_blank"},{default:B(()=>[e("div",Ct,[e("div",St,[e("img",{class:"object-cover h-full w-full dark:filter dark:brightness-75",src:s(X)({image:t.item.cover})},null,8,Nt)])]),e("div",Ot,[e("div",It,[e("div",Pt,[t.item.private?(l(),a("label",jt,"Private")):C("",!0),z(" "+n(t.item.title),1)]),e("div",Ut,n(t.item.desc),1)]),e("div",{class:"w-full text-sm text-gray-600 dark:text-gray-300",textContent:n(s(u)("search.search-result.playlist.playlist.playlist-count",{count:t.item.count}))},null,8,Vt)])]),_:2},1032,["to"]))),128))])):(l(),a("div",At,[(l(!0),a(b,null,x(p.value,t=>(l(),a("div",{key:t.item.title,class:"w-12/25 my-5 p-2 border border-purple-400 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900"},[I(d,{to:`/playlist/${t.id}`,target:"_blank",class:"flex justify-center items-center space-x-1 border-b py-3"},{default:B(()=>[t.item.private?(l(),a("label",Jt,"Private")):C("",!0),e("div",Rt,n(t.item.title),1)]),_:2},1032,["to"]),e("div",Tt,[e("div",Lt,[e("div",Bt,[e("img",{class:"object-cover h-full w-full rounded-lg dark:filter dark:brightness-75",src:s(X)({image:t.item.cover})},null,8,Dt)])]),e("div",Et,[e("div",{class:"line-clamp-3 w-full overflow-ellipsis overflow-hidden",textContent:n(t.item.desc)},null,8,Ht),e("div",{class:"w-full text-right text-sm text-gray-600 dark:text-gray-300",textContent:n(s(u)("search.search-result.playlist.playlist.playlist-count",{count:t.item.count}))},null,8,Qt)])])]))),128))]))])):C("",!0)}}});const Mt=ve(zt,[["__scopeId","data-v-cd8439ff"]]),Ft={class:"text-center flex flex-col justify-start items-center"},Yt={key:0,class:"text-lg font-semibold m-4 px-auto"},Gt={class:"p-2 md:m-auto xl:w-9/10 2xl:w-4/5"},Wt={class:"my-2 md:m-0 md:flex md:justify-between"},Kt={class:"flex"},Xt=["onClick","textContent"],Zt={key:0,class:"flex self-center"},es=["onClick","textContent"],gs=M({__name:"SearchResult",setup(h){const{t:w}=F(),o=ie(),u=ne(),v=O(0),m=V(()=>{const d=String(o.query.i?Array.isArray(o.query.i)?o.query.i.join(" "):o.query.i:"");return d&&he(w("search.search-result.title")+d),d}),c=V(()=>Number(o.query.limit?Array.isArray(o.query.limit)?o.query.limit[0]:o.query.limit:20)),p=V(()=>Number(o.query.page?Array.isArray(o.query.page)?o.query.page[0]:o.query.page:0)),$=V(()=>p.value+1),y=[{value:"last_modified",name:w("search.search-result.order.last-modified")},{value:"video_oldest",name:w("search.search-result.order.video-oldest")}],g=V(()=>String(o.query.order?Array.isArray(o.query.order)?o.query.order[0]:o.query.order:y[0].value)),f=V(()=>String(o.query.visible_site?Array.isArray(o.query.visible_site)?o.query.visible_site[0]:o.query.visible_site:localStorage.getItem("VisibleSite")||"")),S=[{value:"video",name:w("search.search-result.video.tab")},{value:"playlist",name:w("search.search-result.playlist.tab")}],q=V(()=>String(o.query.tab?Array.isArray(o.query.tab)?o.query.tab[0]:o.query.tab:S[0].value));function j(d){const t=JSON.parse(JSON.stringify(o.query));t.i=d,t.page=0,u.push({path:o.path,query:t})}function R(){const d=JSON.parse(JSON.stringify(o.query));d.page=p.value-1,u.push({path:o.path,query:d})}function T(){const d=JSON.parse(JSON.stringify(o.query));d.page=p.value+1,u.push({path:o.path,query:d})}function P(d){const t=JSON.parse(JSON.stringify(o.query));t.page=d-1,u.push({path:o.path,query:t})}function _(d){const t=JSON.parse(JSON.stringify(o.query));t.page=0,t.tab=d,delete t.visible_site,delete t.order,u.push({path:o.path,query:t})}function U(d){const t=JSON.parse(JSON.stringify(o.query));t.page=0,t.order=d,u.push({path:o.path,query:t})}return(d,t)=>{const L=me;return l(),A(L,{"show-search-bar":!s(J).sm},{default:B(()=>[e("div",Ft,[s(J).sm?(l(),a("h3",Yt,n(s(w)("search.search-result.search-keywords")+s(m)),1)):C("",!0),s(J).sm?(l(),A(ye,{key:1,keyword:s(m),"onUpdate:keyword":t[0]||(t[0]=r=>k(m)?m.value=r:null),class:"w-2/5 md:w-4/6 lg:w-3/6",onSearch:j},null,8,["keyword"])):C("",!0)]),e("div",Gt,[e("div",Wt,[e("div",Kt,[(l(),a(b,null,x(S,r=>e("div",{key:r.value,class:Q(["px-5 py-2 cursor-pointer text-gray-400 text-sm font-semibold border-t-4 border-transparent md:text-base md:font-bold md:p-5 md:pt-3",{"text-black border-purple-300 dark:text-white":r.value===s(q)}]),onClick:N=>_(r.value),textContent:n(r.name)},null,10,Xt)),64))]),s(q)==="video"||s(q)==="playlist"?(l(),a("div",Zt,[(l(),a(b,null,x(y,r=>e("label",{key:r.value,class:Q(["px-2 py-1 cursor-pointer text-gray-400 text-sm font-semibold md:text-base md:font-bold md:px-5 md:py-2",{"text-black rounded-full bg-gray-100 dark:text-white dark:bg-gray-500":r.value===s(g)}]),onClick:N=>U(r.value),textContent:n(r.name)},null,10,es)),64))])):C("",!0)]),s(q)===S[0].value?(l(),A(nt,{key:0,query:s(m),"onUpdate:query":t[1]||(t[1]=r=>k(m)?m.value=r:null),limit:s(c),"onUpdate:limit":t[2]||(t[2]=r=>k(c)?c.value=r:null),offset:s(p),"onUpdate:offset":t[3]||(t[3]=r=>k(p)?p.value=r:null),order:s(g),"onUpdate:order":t[4]||(t[4]=r=>k(g)?g.value=r:null),"visible-site":s(f),"onUpdate:visible-site":t[5]||(t[5]=r=>k(f)?f.value=r:null),"page-count":v.value,"onUpdate:page-count":t[6]||(t[6]=r=>v.value=r)},null,8,["query","limit","offset","order","visible-site","page-count"])):s(q)===S[1].value?(l(),A(Mt,{key:1,query:s(m),"onUpdate:query":t[7]||(t[7]=r=>k(m)?m.value=r:null),limit:s(c),"onUpdate:limit":t[8]||(t[8]=r=>k(c)?c.value=r:null),offset:s(p),"onUpdate:offset":t[9]||(t[9]=r=>k(p)?p.value=r:null),order:s(g),"onUpdate:order":t[10]||(t[10]=r=>k(g)?g.value=r:null),"page-count":v.value,"onUpdate:page-count":t[11]||(t[11]=r=>v.value=r)},null,8,["query","limit","offset","order","page-count"])):C("",!0)]),I(fe,{"page-count":v.value,"onUpdate:page-count":t[12]||(t[12]=r=>v.value=r),page:s($),"onUpdate:page":t[13]||(t[13]=r=>k($)?$.value=r:null),onPrevious:R,onNext:T,onChange:P},null,8,["page-count","page"]),I(ge)]),_:1},8,["show-search-bar"])}}});export{gs as default}; +//# sourceMappingURL=SearchResult.821faf49.js.map diff --git a/assets/SearchResult.821faf49.js.map b/assets/SearchResult.821faf49.js.map new file mode 100644 index 0000000000..6e42cfe688 --- /dev/null +++ b/assets/SearchResult.821faf49.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SearchResult.821faf49.js","sources":["../../packages/search/components/SearchVideo.vue","../../packages/search/components/SearchPlaylist.vue","../../packages/search/SearchResult.vue"],"sourcesContent":["<template>\n <div v-if=\"status === 'loading'\">\n <div v-text=\"t('search.search-result.video.main-body.loading.searching')\" />\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <div v-for=\"index in limit\" :key=\"index\" class=\"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800\">\n <div class=\"w-2/5 mr-0.5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-3/5 text-sm pb-1 flex flex-wrap content-between\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md w-full bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n <div class=\"flex text-xs h-4 align-middle rounded-md w-2/5 bg-gray-400 dark:bg-gray-600\" />\n </div>\n </div>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain\">\n <div\n v-for=\"index in limit\"\n :key=\"index\"\n class=\"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900\"\n >\n <CoverPlaceholder class=\"rounded-md\" />\n <div class=\"p-3 text-left text-sm lg:text-base\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n <div class=\"flex text-xs h-4 mt-1 align-middle rounded-md bg-gray-300 dark:bg-gray-600\" />\n </div>\n </div>\n </div>\n </div>\n <div v-else-if=\"status === 'error'\">\n <div v-text=\"t('search.search-result.video.main-body.failed.search-failed')\" />\n <div v-text=\"t('search.search-result.video.main-body.failed.search-failed-reason') + errMsg\" />\n </div>\n <div v-else-if=\"status === 'result'\">\n <div class=\"flex flex-wrap-reverse justify-between items-end border-b pb-1\">\n <div v-if=\"count === 0\" v-text=\"t('search.search-result.video.main-body.successful.search-no-result')\" />\n <div\n v-else\n v-text=\"t('search.search-result.video.main-body.successful.search-result-count', { count })\"\n />\n <div class=\"flex self-center space-x-2\">\n <label\n v-for=\"sites in VisibleSites\"\n :key=\"sites.value\"\n class=\"px-2 py-1 cursor-pointer text-gray-400 text-sm font-semibold md:text-base md:font-bold md:px-3 md:py-1\"\n :class=\"{\n 'text-black rounded-full bg-gray-100 dark:text-white dark:bg-gray-500': sites.value === visibleSite,\n }\"\n @click=\"changeVisibleSites(sites.value)\"\n v-text=\"sites.name\"\n />\n </div>\n </div>\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <RouterLink\n v-for=\"video in videos\"\n :key=\"video.item.title\"\n class=\"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800\"\n :to=\"`/video/${video.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"relative w-2/5 mr-0.5\">\n <Cover :title=\"video.item.title\" :cover-image=\"video.item.coverImage\" class=\"rounded-sm\" />\n <div\n v-if=\"video.clearence === 0\"\n class=\"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color\"\n >\n <div class=\"i-uil:eye-slash text-4xl\" />\n <div class=\"text-lg\">\n {{ t('search.search-result.video.video.hidden') }}\n </div>\n </div>\n </div>\n <div class=\"w-3/5 text-sm pb-1 flex flex-wrap content-between\">\n <div v-if=\"video.item.partName\" class=\"overflow-hidden w-full\">\n <a class=\"inline-block w-full truncate\">{{ video.item.title }}</a>\n <div class=\"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300\">\n <label class=\"font-semibold\">{{ `P${pageOfVideo(video.item.url)}:` }}</label>{{ video.item.partName }}\n </div>\n </div>\n <a v-else class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full\">{{ video.item.title }}</a>\n <div class=\"flex text-xs h-4 align-middle\" :title=\"video.item.site\">\n <div>{{ t('search.search-result.video.video.source-site') }}</div>\n <img class=\"cover h-full\" :src=\"getSiteImage(video.item.site)\" :alt=\"video.item.site\">\n </div>\n </div>\n </RouterLink>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain\">\n <RouterLink\n v-for=\"video in videos\"\n :key=\"video.item.title\"\n class=\"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg overflow-hidden bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900\"\n :to=\"`/video/${video.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"relative\">\n <Cover :title=\"video.item.title\" :cover-image=\"video.item.coverImage\" />\n <div\n v-if=\"video.clearence === 0\"\n class=\"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color\"\n >\n <div class=\"i-uil:eye-slash text-8xl\" />\n <div class=\"text-2xl\">\n {{ t('search.search-result.video.video.hidden') }}\n </div>\n </div>\n </div>\n <div class=\"p-3 text-left text-sm lg:text-base\">\n <div v-if=\"video.item.partName\">\n <a class=\"inline-block w-full truncate\" :title=\"video.item.title\">{{ video.item.title }}</a>\n <div\n class=\"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300\"\n :title=\"video.item.partName\"\n >\n <label class=\"font-semibold\">{{ `P${pageOfVideo(video.item.url)}: ` }}</label>{{ video.item.partName }}\n </div>\n </div>\n <a v-else class=\"line-clamp-2 overflow-ellipsis overflow-hidden\" :title=\"video.item.title\">{{\n video.item.title\n }}</a>\n <div class=\"flex text-xs h-4 align-middle\" :title=\"video.item.site\">\n <div>{{ t('search.search-result.video.video.source-site') }}</div>\n <img class=\"cover\" :src=\"getSiteImage(video.item.site)\" :alt=\"video.item.site\">\n </div>\n </div>\n </RouterLink>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watch, watchEffect } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useVModels } from '@vueuse/core'\nimport CoverPlaceholder from '@/video/components/CoverPlaceholder.vue'\nimport Cover from '@/video/components/Cover.vue'\nimport { getSiteImage } from '@/common/libs/imageUrl'\nimport { backTop } from '@/ui/libs/backTop'\nimport { pageOfVideo } from '@/video/libs/biliHelper'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query, schema } from '@/graphql'\nimport { screenSizes } from '@/css'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst props = defineProps<{\n query: string\n limit: number\n offset: number\n order: string\n visibleSite: string\n pageCount: number\n}>()\nconst emit = defineEmits<{\n (event: 'update:query', value: string): void\n (event: 'update:limit', value: number): void\n (event: 'update:offset', value: number): void\n (event: 'update:order', value: string): void\n (event: 'update:visibleSite', value: string): void\n (event: 'update:pageCount', value: number): void\n}>()\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\nconst status = ref<'loading' | 'result' | 'error'>()\nconst errMsg = ref('')\nconst count = ref(0)\nconst videos = ref<schema.Video[]>([])\nconst { query, limit, offset, order, visibleSite, pageCount } = useVModels(props, emit)\n\nconst VisibleSites = [\n {\n value: '',\n name: t('search.search-result.video.visible-sites.all'),\n },\n {\n value: 'ANY(site:acfun site:bilibili site:zcool)',\n name: t('search.search-result.video.visible-sites.home'),\n },\n {\n value: 'ANY(site:nicovideo site:twitter site:youtube site:ipfs)',\n name: t('search.search-result.video.visible-sites.abroad'),\n },\n]\n\nconst { result, loading, onError, fetchMore } = useQuery<Query>(\n gql`\n query ($offset: Int!, $limit: Int!, $query: String!, $order: String!, $additionalConstraint: String) {\n listVideo(\n para: {\n offset: $offset\n limit: $limit\n humanReadableTag: true\n query: $query\n order: $order\n additionalConstraint: $additionalConstraint\n }\n ) {\n count\n pageCount\n videos {\n id\n item {\n coverImage\n title\n site\n cid\n partName\n url\n }\n clearence\n }\n }\n }\n `,\n {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: query.value,\n order: order.value,\n additionalConstraint: visibleSite.value,\n },\n {\n notifyOnNetworkStatusChange: true,\n },\n)\nwatchEffect(() => {\n if (loading.value) {\n status.value = 'loading'\n startProgress()\n }\n else {\n status.value = 'result'\n stopProgress()\n }\n})\n\nconst resultData = useResult(result, null, data => data?.listVideo)\nwatchEffect(() => {\n if (resultData.value) {\n count.value = resultData.value.count\n pageCount.value = resultData.value.pageCount\n videos.value = resultData.value.videos\n }\n})\nonError((err) => {\n errMsg.value = err.message\n status.value = 'error'\n})\n\n// Refresh query result for props change\nwatch(\n props,\n () => {\n backTop()\n fetchMore({\n variables: {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: query.value,\n order: order.value,\n additionalConstraint: visibleSite.value,\n },\n updateQuery(previousQueryResult, { fetchMoreResult }) {\n if (!fetchMoreResult)\n return previousQueryResult\n return fetchMoreResult\n },\n })\n },\n { deep: true },\n)\n\n/* Change the router query to trigger the search function */\nfunction changeVisibleSites(value: string): void {\n localStorage.setItem('VisibleSite', value)\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = 0\n query.visible_site = value\n router.push({ path: route.path, query })\n}\n</script>\n\n<style lang=\"postcss\" scoped>\n.search-result-backimg {\n background-image: url('../assets/SearchResultBackImg.png');\n}\n</style>\n","<template>\n <div v-if=\"status === 'loading'\">\n <div class=\"border-b pb-1\" v-text=\"t('search.search-result.video.main-body.loading.searching')\" />\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <div v-for=\"index in limit\" :key=\"index\" class=\"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800\">\n <div class=\"w-2/5 mr-0.5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-3/5 flex flex-wrap content-between\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full rounded-md bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n <div class=\"w-2/5 text-sm text-gray-600 dark:text-gray-300 rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n </div>\n </div>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain\">\n <div\n v-for=\"index in limit\"\n :key=\"index\"\n class=\"w-12/25 my-5 p-2 border border-purple-400 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900\"\n >\n <div\n class=\"block border-b py-3 text-center text-xl truncate font-semibold lg:text-2xl rounded-md bg-gray-400 dark:bg-gray-600\"\n >\n  \n </div>\n <div class=\"flex p-2 pt-3\">\n <div class=\"w-1/2 mr-5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-1/2 py-2 flex flex-wrap content-between\">\n <div class=\"line-clamp-3 w-full overflow-ellipsis overflow-hidden\">\n <div v-for=\"i in 3\" :key=\"i\" class=\"mb-1 w-full rounded-md bg-gray-300 dark:bg-gray-600\">\n \n </div>\n </div>\n <div class=\"w-full text-right text-sm text-gray-600 dark:text-gray-300\">\n <div class=\"w-2/5 float-right rounded-md bg-gray-300 dark:bg-gray-600\">\n \n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div v-else-if=\"status === 'error'\">\n <div>{{ t('search.search-result.playlist.main-body.failed.search-failed') }}</div>\n <div>{{ t('search.search-result.playlist.main-body.failed.search-failed-reason') + errMsg }}</div>\n </div>\n <div v-else-if=\"count === 0\">\n {{ t('search.search-result.playlist.main-body.successful.search-no-result') }}\n </div>\n <div v-else-if=\"status === 'result'\">\n <div class=\"border-b pb-1\">\n {{ t('search.search-result.playlist.main-body.successful.search-result-count', { count }) }}\n </div>\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <RouterLink\n v-for=\"playlist in playlists\"\n :key=\"playlist.item.title\"\n class=\"py-1 flex text-sm hover:bg-gray-50 dark:hover:bg-gray-800\"\n :to=\"`/playlist/${playlist.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"w-2/5 mr-0.5\">\n <div class=\"aspect-ratio-16/10 overflow-hidden rounded-sm\">\n <img\n class=\"object-cover h-full w-full dark:filter dark:brightness-75\"\n :src=\"getCoverImage({ image: playlist.item.cover })\"\n >\n </div>\n </div>\n <div class=\"w-3/5 flex flex-wrap content-between\">\n <div class=\"w-full\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full flex items-center\">\n <label v-if=\"playlist.item.private\" class=\"bg-purple-400 text-white text-xs rounded px-1\">Private</label>\n {{ playlist.item.title }}\n </div>\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full text-xs text-gray-500\">\n {{ playlist.item.desc }}\n </div>\n </div>\n <div\n class=\"w-full text-sm text-gray-600 dark:text-gray-300\"\n v-text=\"t('search.search-result.playlist.playlist.playlist-count', { count: playlist.item.count })\"\n />\n </div>\n </RouterLink>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg flex flex-wrap justify-evenly bg-center bg-no-repeat bg-contain\">\n <div\n v-for=\"playlist in playlists\"\n :key=\"playlist.item.title\"\n class=\"w-12/25 my-5 p-2 border border-purple-400 shadow-md rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900\"\n >\n <RouterLink :to=\"`/playlist/${playlist.id}`\" target=\"_blank\" class=\"flex justify-center items-center space-x-1 border-b py-3\">\n <label v-if=\"playlist.item.private\" class=\"bg-purple-400 text-white text-xs rounded px-1 py-0.5\">Private</label>\n <div class=\"text-xl truncate font-semibold lg:text-2xl\">\n {{ playlist.item.title }}\n </div>\n </RouterLink>\n <div class=\"flex p-2 pt-3\">\n <div class=\"w-1/2 mr-5\">\n <div class=\"aspect-ratio-16/10 overflow-hidden\">\n <img\n class=\"object-cover h-full w-full rounded-lg dark:filter dark:brightness-75\"\n :src=\"getCoverImage({ image: playlist.item.cover })\"\n >\n </div>\n </div>\n <div class=\"w-1/2 py-2 flex flex-wrap content-between\">\n <div class=\"line-clamp-3 w-full overflow-ellipsis overflow-hidden\" v-text=\"playlist.item.desc\" />\n <div\n class=\"w-full text-right text-sm text-gray-600 dark:text-gray-300\"\n v-text=\"t('search.search-result.playlist.playlist.playlist-count', { count: playlist.item.count })\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watch, watchEffect } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useVModels } from '@vueuse/core'\nimport CoverPlaceholder from '@/video/components/CoverPlaceholder.vue'\nimport { screenSizes } from '@/css'\nimport { getCoverImage } from '@/common/libs/imageUrl'\nimport { backTop } from '@/ui/libs/backTop'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query, schema } from '@/graphql'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst props = defineProps<{\n query: string\n limit: number\n offset: number\n order: string\n pageCount: number\n}>()\n\nconst emit = defineEmits<{\n (event: 'update:query', value: string): void\n (event: 'update:limit', value: number): void\n (event: 'update:offset', value: number): void\n (event: 'update:order', value: string): void\n (event: 'update:pageCount', value: number): void\n}>()\n\nconst { t } = useI18n()\nconst status = ref<'loading' | 'result' | 'error'>()\nconst errMsg = ref('')\nconst count = ref(0)\nconst playlists = ref<schema.Playlist[]>()\nconst { query, limit, offset, order, pageCount } = useVModels(props, emit)\n\nconst { result, loading, onError, fetchMore } = useQuery<Query>(\n gql`\n query ($offset: Int, $limit: Int, $query: String, $order: String) {\n listPlaylist(para: { offset: $offset, limit: $limit, query: $query, order: $order }) {\n playlists {\n id\n item {\n cover\n title\n desc\n count\n private\n }\n }\n count\n pageCount\n }\n }\n `,\n {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: query.value,\n order: order.value,\n },\n {\n notifyOnNetworkStatusChange: true,\n },\n)\nwatchEffect(() => {\n if (loading.value) {\n status.value = 'loading'\n startProgress()\n }\n else {\n status.value = 'result'\n stopProgress()\n }\n})\n\nconst resultData = useResult(result, null, data => data?.listPlaylist)\nwatchEffect(() => {\n if (resultData.value) {\n count.value = resultData.value.count\n pageCount.value = resultData.value.pageCount\n playlists.value = resultData.value.playlists\n }\n})\nonError((err) => {\n errMsg.value = err.message\n status.value = 'error'\n})\n\n// Refresh query result for URL query change\nwatch(\n props,\n () => {\n backTop()\n fetchMore({\n variables: {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: query.value,\n order: order.value,\n },\n updateQuery(previousQueryResult, { fetchMoreResult }) {\n if (!fetchMoreResult)\n return previousQueryResult\n return fetchMoreResult\n },\n })\n },\n { deep: true },\n)\n</script>\n\n<style lang=\"postcss\" scoped>\n.search-result-backimg {\n background-image: url('../assets/SearchResultBackImg.png');\n}\n</style>\n","<template>\n <LayoutDefault :show-search-bar=\"!screenSizes.sm\">\n <div class=\"text-center flex flex-col justify-start items-center\">\n <h3 v-if=\"screenSizes.sm\" class=\"text-lg font-semibold m-4 px-auto\">\n {{ t('search.search-result.search-keywords') + queryWord }}\n </h3>\n <AutoComplete\n v-if=\"screenSizes.sm\"\n v-model:keyword=\"queryWord\"\n class=\"w-2/5 md:w-4/6 lg:w-3/6\"\n @search=\"searchResult\"\n />\n </div>\n\n <div class=\"p-2 md:m-auto xl:w-9/10 2xl:w-4/5\">\n <div class=\"my-2 md:m-0 md:flex md:justify-between\">\n <div class=\"flex\">\n <div\n v-for=\"tabs in Tabs\"\n :key=\"tabs.value\"\n class=\"px-5 py-2 cursor-pointer text-gray-400 text-sm font-semibold border-t-4 border-transparent md:text-base md:font-bold md:p-5 md:pt-3\"\n :class=\"{ 'text-black border-purple-300 dark:text-white': tabs.value === tab }\"\n @click=\"changeTab(tabs.value)\"\n v-text=\"tabs.name\"\n />\n </div>\n <div v-if=\"tab === 'video' || tab === 'playlist'\" class=\"flex self-center\">\n <label\n v-for=\"orders in Orders\"\n :key=\"orders.value\"\n class=\"px-2 py-1 cursor-pointer text-gray-400 text-sm font-semibold md:text-base md:font-bold md:px-5 md:py-2\"\n :class=\"{ 'text-black rounded-full bg-gray-100 dark:text-white dark:bg-gray-500': orders.value === order }\"\n @click=\"changeOrder(orders.value)\"\n v-text=\"orders.name\"\n />\n </div>\n </div>\n\n <!-- Videos -->\n <SearchVideo\n v-if=\"tab === Tabs[0].value\"\n v-model:query=\"queryWord\"\n v-model:limit=\"limit\"\n v-model:offset=\"offset\"\n v-model:order=\"order\"\n v-model:visible-site=\"visibleSite\"\n v-model:page-count=\"pageCount\"\n />\n\n <!-- Playlists -->\n <SearchPlaylist\n v-else-if=\"tab === Tabs[1].value\"\n v-model:query=\"queryWord\"\n v-model:limit=\"limit\"\n v-model:offset=\"offset\"\n v-model:order=\"order\"\n v-model:page-count=\"pageCount\"\n />\n </div>\n <PvPagination\n v-model:page-count=\"pageCount\"\n v-model:page=\"page\"\n @previous=\"jumpToPreviousPage\"\n @next=\"jumpToNextPage\"\n @change=\"jumpToSelectedPage\"\n />\n <BackTop />\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport AutoComplete from '@/search/components/AutoComplete.vue'\nimport BackTop from '@/ui/components/BackTop.vue'\nimport SearchVideo from '@/search/components/SearchVideo.vue'\nimport SearchPlaylist from '@/search/components/SearchPlaylist.vue'\nimport PvPagination from '@/ui/components/PvPagination.vue'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { screenSizes } from '@/css'\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\nconst pageCount = ref(0)\n\n/* Precess URL query */\nconst queryWord = computed(() => {\n const query = String(route.query.i ? (Array.isArray(route.query.i) ? route.query.i.join(' ') : route.query.i) : '')\n if (query)\n setSiteTitle(t('search.search-result.title') + query)\n\n return query\n})\nconst limit = computed(() => {\n return Number(route.query.limit ? (Array.isArray(route.query.limit) ? route.query.limit[0] : route.query.limit) : 20)\n})\nconst offset = computed(() => {\n return Number(route.query.page ? (Array.isArray(route.query.page) ? route.query.page[0] : route.query.page) : 0)\n})\nconst page = computed(() => offset.value + 1)\nconst Orders = [\n { value: 'last_modified', name: t('search.search-result.order.last-modified') },\n { value: 'video_oldest', name: t('search.search-result.order.video-oldest') },\n]\nconst order = computed(() =>\n String(\n route.query.order ? (Array.isArray(route.query.order) ? route.query.order[0] : route.query.order) : Orders[0].value,\n ),\n)\nconst visibleSite = computed(() =>\n String(\n route.query.visible_site\n ? Array.isArray(route.query.visible_site)\n ? route.query.visible_site[0]\n : route.query.visible_site\n : localStorage.getItem('VisibleSite') || '',\n ),\n)\nconst Tabs = [\n {\n value: 'video',\n name: t('search.search-result.video.tab'),\n },\n {\n value: 'playlist',\n name: t('search.search-result.playlist.tab'),\n },\n]\nconst tab = computed(() =>\n String(route.query.tab ? (Array.isArray(route.query.tab) ? route.query.tab[0] : route.query.tab) : Tabs[0].value),\n)\n\n/* Change the router query to trigger the search function */\nfunction searchResult(searchContent: string): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.i = searchContent\n query.page = 0\n router.push({ path: route.path, query })\n}\nfunction jumpToPreviousPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value - 1\n router.push({ path: route.path, query })\n}\nfunction jumpToNextPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value + 1\n router.push({ path: route.path, query })\n}\nfunction jumpToSelectedPage(page: number): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = page - 1\n router.push({ path: route.path, query })\n}\nfunction changeTab(value: string): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = 0\n query.tab = value\n delete query.visible_site\n delete query.order\n router.push({ path: route.path, query })\n}\nfunction changeOrder(value: string): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = 0\n query.order = value\n router.push({ path: route.path, query })\n}\n</script>\n"],"names":["t","useI18n","route","useRoute","router","useRouter","status","ref","errMsg","count","videos","query","limit","offset","order","visibleSite","pageCount","useVModels","props","emit","VisibleSites","result","loading","onError","fetchMore","useQuery","gql","watchEffect","startProgress","stopProgress","resultData","useResult","data","err","watch","backTop","previousQueryResult","fetchMoreResult","changeVisibleSites","value","query2","playlists","queryWord","computed","setSiteTitle","page","Orders","Tabs","tab","searchResult","searchContent","jumpToPreviousPage","jumpToNextPage","jumpToSelectedPage","page2","changeTab","changeOrder"],"mappings":"s+GA0KA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,KACAC,EAAAC,KACAC,EAAAC,IACAC,EAAAD,EAAA,EAAA,EACAE,EAAAF,EAAA,CAAA,EACAG,EAAAH,EAAA,CAAA,CAAA,EACA,CAAA,MAAAI,EAAA,MAAAC,EAAA,OAAAC,EAAA,MAAAC,EAAA,YAAAC,EAAA,UAAAC,GAAAC,GAAAC,EAAAC,CAAA,EAEAC,EAAA,CAAqB,CACnB,MAAA,GACS,KAAApB,EAAA,8CAAA,CAC+C,EACxD,CACA,MAAA,2CACS,KAAAA,EAAA,+CAAA,CACgD,EACzD,CACA,MAAA,0DACS,KAAAA,EAAA,iDAAA,CACkD,CAC3D,EAGF,CAAA,OAAAqB,EAAA,QAAAC,EAAA,QAAAC,EAAA,UAAAC,CAAA,EAAAC,GAAgDC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAC9C,CA6BA,OAAAb,EAAA,MAAAD,EAAA,MAC+B,MAAAA,EAAA,MAChB,MAAAD,EAAA,MACA,MAAAG,EAAA,MACA,qBAAAC,EAAA,KACqB,EACpC,CACA,4BAAA,EAC+B,CAC/B,EAEFY,EAAA,IAAA,CACEL,EAAA,OACEhB,EAAA,MAAA,UACAsB,OAGAtB,EAAA,MAAA,SACAuB,KACF,CAAA,EAGF,MAAAC,EAAAC,GAAAV,EAAA,KAAAW,GAAAA,GAAA,YAAAA,EAAA,SAAA,EACAL,EAAA,IAAA,C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CAAuC,CAEzC,SAAAyC,GAAA,CACE,MAAAzC,EAAA,KAAA,MAAA,KAAA,UAAAT,EAAA,KAAA,CAAA,EACAS,EAAA,KAAAE,EAAA,MAAA,EACAT,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAS,CAAA,CAAA,CAAuC,CAEzC,SAAA0C,EAAAC,EAAA,CACE,MAAA3C,EAAA,KAAA,MAAA,KAAA,UAAAT,EAAA,KAAA,CAAA,EACAS,EAAA,KAAA2C,EAAA,EACAlD,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAS,CAAA,CAAA,CAAuC,CAEzC,SAAA4C,EAAAhB,EAAA,CACE,MAAA5B,EAAA,KAAA,MAAA,KAAA,UAAAT,EAAA,KAAA,CAAA,EACAS,EAAA,KAAA,EACAA,EAAA,IAAA4B,EACA,OAAA5B,EAAA,aACA,OAAAA,EAAA,MACAP,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAS,CAAA,CAAA,CAAuC,CAEzC,SAAA6C,EAAAjB,EAAA,CACE,MAAA5B,EAAA,KAAA,MAAA,KAAA,UAAAT,EAAA,KAAA,CAAA,EACAS,EAAA,KAAA,EACAA,EAAA,MAAA4B,EACAnC,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAAS,CAAA,CAAA,CAAuC"} \ No newline at end of file diff --git a/assets/SearchResultBackImg.0b180644.png b/assets/SearchResultBackImg.0b180644.png new file mode 100644 index 0000000000..7b16c339f5 Binary files /dev/null and b/assets/SearchResultBackImg.0b180644.png differ diff --git a/assets/SettingsAccount.b75b2b1f.js b/assets/SettingsAccount.b75b2b1f.js new file mode 100644 index 0000000000..588e4209f0 --- /dev/null +++ b/assets/SettingsAccount.b75b2b1f.js @@ -0,0 +1,2 @@ +import{d as m,u as p,a6 as b,m as u,B as f,o as d,g as c,e as t,t as n,f as e,b as h,w as v,Q as k,J as x,K as _,F as y,j as w}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const C=["textContent"],V=t("div",{class:"i-uil:external-link-alt text-lg"},null,-1),B=t("div",{class:"w-full h-px my-2 bg-gray-300"},null,-1),L={key:0,class:"flex flex-col"},N={class:"mb-1"},A=["textContent"],D=["textContent"],E={class:"w-full max-w-112 rounded-lg border border-purple-300 dark:border-gray-600 bg-white dark:bg-gray-800"},F={class:"mt-4"},R={class:"mb-1"},S=["textContent"],T={class:"w-full max-w-112 rounded-lg border border-purple-300 dark:border-gray-600 bg-white dark:bg-gray-800"},U={key:1,class:"flex"},j={class:"mt-30vh mx-auto text-xl text-gray-600 dark:text-gray-300"},I=["textContent"],J=t("div",{class:"i-uil:spinner-alt text-2xl animate-spin"},null,-1),$=m({__name:"SettingsAccount",setup(K){const{t:s}=p(),o=b(),a=u(""),i=u("");return f(()=>{a.value=o.username||"",i.value=o.desc||""}),(M,l)=>{const g=w("RouterLink");return d(),c(y,null,[t("h2",{class:"inline-block text-2xl font-light",textContent:n(e(s)("settings.account.profile.name"))},null,8,C),h(g,{class:"ml-2 px-1 pb-0.5 rounded-lg border border-purple-400 dark:border-gray-600",to:`/user/${e(o).uid}`},{default:v(()=>[k(n(e(s)("common.nav-top.user.userprofile"))+" ",1),V]),_:1},8,["to"]),B,e(o).isLogin?(d(),c("div",L,[t("div",null,[t("div",N,[t("h3",{class:"font-medium",textContent:n(e(s)("settings.account.profile.username.label"))},null,8,A),t("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:n(e(s)("settings.account.profile.username.desc"))},null,8,D)]),t("div",E,[x(t("input",{"onUpdate:modelValue":l[0]||(l[0]=r=>a.value=r),class:"inline-block px-2 py-1 w-full rounded-lg outline-none dark:bg-gray-800"},null,512),[[_,a.value]])])]),t("div",F,[t("div",R,[t("h3",{class:"font-medium",textContent:n(e(s)("settings.account.profile.description.label"))},null,8,S)]),t("div",T,[x(t("textarea",{"onUpdate:modelValue":l[1]||(l[1]=r=>i.value=r),rows:"4",class:"inline-block px-2 py-1 w-full rounded-lg outline-none dark:bg-gray-800"},null,512),[[_,i.value]])])])])):(d(),c("div",U,[t("div",j,[t("div",{class:"inline-block align-middle",textContent:n(e(s)("settings.account.loading"))},null,8,I),J])]))],64)}}});export{$ as default}; +//# sourceMappingURL=SettingsAccount.b75b2b1f.js.map diff --git a/assets/SettingsAccount.b75b2b1f.js.map b/assets/SettingsAccount.b75b2b1f.js.map new file mode 100644 index 0000000000..81082d3ce5 --- /dev/null +++ b/assets/SettingsAccount.b75b2b1f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SettingsAccount.b75b2b1f.js","sources":["../../packages/settings/components/SettingsAccount.vue"],"sourcesContent":["<template>\n <h2 class=\"inline-block text-2xl font-light\" v-text=\"t('settings.account.profile.name')\" />\n <RouterLink\n class=\"ml-2 px-1 pb-0.5 rounded-lg border border-purple-400 dark:border-gray-600\"\n :to=\"`/user/${auth.uid}`\"\n >\n {{ t('common.nav-top.user.userprofile') }}\n <div class=\"i-uil:external-link-alt text-lg\" />\n </RouterLink>\n <div class=\"w-full h-px my-2 bg-gray-300\" />\n <div v-if=\"auth.isLogin\" class=\"flex flex-col\">\n <div>\n <div class=\"mb-1\">\n <h3 class=\"font-medium\" v-text=\"t('settings.account.profile.username.label')\" />\n <div\n class=\"text-sm text-gray-600 dark:text-gray-300\"\n v-text=\"t('settings.account.profile.username.desc')\"\n />\n </div>\n <div\n class=\"w-full max-w-112 rounded-lg border border-purple-300 dark:border-gray-600 bg-white dark:bg-gray-800\"\n >\n <input v-model=\"name\" class=\"inline-block px-2 py-1 w-full rounded-lg outline-none dark:bg-gray-800\">\n </div>\n </div>\n <div class=\"mt-4\">\n <div class=\"mb-1\">\n <h3 class=\"font-medium\" v-text=\"t('settings.account.profile.description.label')\" />\n </div>\n <div\n class=\"w-full max-w-112 rounded-lg border border-purple-300 dark:border-gray-600 bg-white dark:bg-gray-800\"\n >\n <textarea\n v-model=\"desc\"\n rows=\"4\"\n class=\"inline-block px-2 py-1 w-full rounded-lg outline-none dark:bg-gray-800\"\n />\n </div>\n </div>\n </div>\n <div v-else class=\"flex\">\n <div class=\"mt-30vh mx-auto text-xl text-gray-600 dark:text-gray-300\">\n <div class=\"inline-block align-middle\" v-text=\"t('settings.account.loading')\" />\n <div class=\"i-uil:spinner-alt text-2xl animate-spin\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, watchEffect } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { useAuth } from '@/user'\n\nconst { t } = useI18n()\nconst auth = useAuth()\n\nconst name = ref('')\nconst desc = ref('')\n\nwatchEffect(() => {\n name.value = auth.username || ''\n desc.value = auth.desc || ''\n})\n</script>\n"],"names":["t","useI18n","auth","useAuth","name","ref","desc","watchEffect"],"mappings":"m5BAqDA,KAAA,CAAA,EAAAA,GAAAC,IACAC,EAAAC,IAEAC,EAAAC,EAAA,EAAA,EACAC,EAAAD,EAAA,EAAA,EAEA,OAAAE,EAAA,IAAA,CACEH,EAAA,MAAAF,EAAA,UAAA,GACAI,EAAA,MAAAJ,EAAA,MAAA,EAA0B,CAAA"} \ No newline at end of file diff --git a/assets/SettingsAppearance.720b4f87.js b/assets/SettingsAppearance.720b4f87.js new file mode 100644 index 0000000000..99fd2454b2 --- /dev/null +++ b/assets/SettingsAppearance.720b4f87.js @@ -0,0 +1,2 @@ +import{a1 as k,o as l,g as o,e,F as u,h as v,al as w,d as m,u as h,aL as $,t as a,f as s,P as i,Y as d,c as f,b as _,L as C}from"./index.72556674.js";import{_ as D}from"./PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js";import{u as P}from"./index.8f2b1f29.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const V={},S={class:"aspect-ratio-2/1 overflow-hidden bg-white dark:filter dark:brightness-90"},B={class:"flex flex-row flex-nowrap space-x-2 p-2 bg-gray-100"},F={class:"grid grid-cols-4 space-x-2 mx-2 mt-2"},L=e("div",{class:"col-span-3"},[e("div",{class:"w-4/5 h-2 mb-1 rounded-full bg-gray-300"}),e("div",{class:"aspect-ratio-16/9 rounded bg-gray-200"})],-1),N={class:"col-span-1"},T=w('<div class="flex flex-row flex-nowrap space-x-1"><div class="w-3 h-3 rounded-full bg-gray-300"></div><div class="flex-1 mt-0.5"><div class="w-4/5 h-1 rounded-full bg-gray-300"></div><div class="mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-300"></div></div></div>',1),z={class:"mt-1"},A=e("div",{class:"w-2/5 h-1 rounded-full bg-gray-300"},null,-1),E=e("div",{class:"col-span-1 aspect-ratio-16/10 bg-gray-200"},null,-1),I=e("div",{class:"col-span-2 mt-px"},[e("div",{class:"w-4/5 h-1 rounded-full bg-gray-200"}),e("div",{class:"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-200"})],-1),R=[E,I];function U(p,t){return l(),o("div",S,[e("div",B,[(l(),o(u,null,v(3,r=>e("div",{key:r,class:"w-12 h-2 rounded-full bg-gray-300"})),64))]),e("div",F,[L,e("div",N,[T,e("div",z,[A,(l(),o(u,null,v(6,r=>e("div",{key:r,class:"grid grid-cols-3 space-x-px mt-0.5"},R)),64))])])])])}const x=k(V,[["render",U]]),Y={},j={class:"aspect-ratio-2/1 overflow-hidden bg-gray-900"},q={class:"flex flex-row flex-nowrap space-x-2 p-2 bg-gray-800"},G={class:"grid grid-cols-4 space-x-2 mx-2 mt-2"},H=e("div",{class:"col-span-3"},[e("div",{class:"w-4/5 h-2 mb-1 rounded-full bg-gray-600"}),e("div",{class:"aspect-ratio-16/9 rounded bg-gray-700"})],-1),J={class:"col-span-1"},K=w('<div class="flex flex-row flex-nowrap space-x-1"><div class="w-3 h-3 rounded-full bg-gray-600"></div><div class="flex-1 mt-0.5"><div class="w-4/5 h-1 rounded-full bg-gray-600"></div><div class="mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-600"></div></div></div>',1),M={class:"mt-1"},O=e("div",{class:"w-2/5 h-1 rounded-full bg-gray-600"},null,-1),Q=e("div",{class:"col-span-1 aspect-ratio-16/10 bg-gray-700"},null,-1),W=e("div",{class:"col-span-2 mt-px"},[e("div",{class:"w-4/5 h-1 rounded-full bg-gray-700"}),e("div",{class:"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-700"})],-1),X=[Q,W];function Z(p,t){return l(),o("div",j,[e("div",q,[(l(),o(u,null,v(3,r=>e("div",{key:r,class:"w-12 h-2 rounded-full bg-gray-600"})),64))]),e("div",G,[H,e("div",J,[K,e("div",M,[O,(l(),o(u,null,v(6,r=>e("div",{key:r,class:"grid grid-cols-3 space-x-px mt-0.5"},X)),64))])])])])}const y=k(Y,[["render",Z]]),ee={class:"mb-1"},se=["textContent"],re=["textContent"],te={class:"flex flex-row flex-wrap gap-4"},de=e("div",{class:"i-uil:desktop mr-1 text-lg"},null,-1),le={class:"inline-block align-middle"},ae=e("div",{class:"i-uil:sun mr-1 text-lg"},null,-1),oe=["textContent"],ne=e("div",{class:"i-uil:moon mr-1 text-lg"},null,-1),ie=["textContent"],ce=m({__name:"SColorTheme",setup(p){const{t}=h(),r=$(),c=g=>{d.value=g};return(g,n)=>(l(),o("div",null,[e("div",ee,[e("h3",{class:"font-medium",textContent:a(s(t)("settings.appearance.theme.color.name"))},null,8,se),e("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:a(s(t)("settings.general.theme.color.desc"))},null,8,re)]),e("div",te,[e("div",{class:i(["w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border",{"border-purple-400 dark:border-gray-800":s(d)!=="system","border-purple-300 dark:border-gray-400":s(d)==="system"}]),onClick:n[0]||(n[0]=b=>c("system"))},[s(r)?(l(),f(y,{key:1})):(l(),f(x,{key:0})),e("div",{class:i(["px-2 pb-1 border-t",{"border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800":s(d)!=="system","border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800":s(d)==="system"}])},[de,e("div",le,a(s(t)("darkmode.system"))+" ("+a(s(r)?s(t)("darkmode.dark"):s(t)("darkmode.light"))+") ",1)],2)],2),e("div",{class:i(["w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border",{"border-purple-400 dark:border-gray-800":s(d)!=="light","border-purple-300 dark:border-gray-400":s(d)==="light"}]),onClick:n[1]||(n[1]=b=>c("light"))},[_(x),e("div",{class:i(["px-2 pb-1 border-t",{"border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800":s(d)!=="light","border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800":s(d)==="light"}])},[ae,e("div",{class:"inline-block align-middle",textContent:a(s(t)("darkmode.light"))},null,8,oe)],2)],2),e("div",{class:i(["w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border",{"border-purple-400 dark:border-gray-800":s(d)!=="dark","border-purple-300 dark:border-gray-400":s(d)==="dark"}]),onClick:n[2]||(n[2]=b=>c("dark"))},[_(y),e("div",{class:i(["px-2 pb-1 border-t",{"border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800":s(d)!=="dark","border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800":s(d)==="dark"}])},[ne,e("div",{class:"inline-block align-middle",textContent:a(s(t)("darkmode.dark"))},null,8,ie)],2)],2)])]))}}),ge={class:"flex flex-row flex-nowrap items-center gap-4"},ue=["textContent"],_e=["textContent"],pe=m({__name:"SDarkCovorFilter",setup(p){const{t}=h(),r=P();return(c,g)=>(l(),o("div",null,[e("div",ge,[e("h3",{class:"font-medium",textContent:a(s(t)("settings.appearance.theme.dark-cover-filter.name"))},null,8,ue),_(D,{modelValue:s(r),"onUpdate:modelValue":g[0]||(g[0]=n=>C(r)?r.value=n:null),size:"sm"},null,8,["modelValue"])]),e("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:a(s(t)("settings.appearance.theme.dark-cover-filter.desc"))},null,8,_e)]))}}),ve=["textContent"],me=e("div",{class:"w-full h-px my-2 bg-gray-300"},null,-1),he={class:"flex flex-col gap-3"},ke=m({__name:"SettingsAppearance",setup(p){const{t}=h();return(r,c)=>(l(),o(u,null,[e("h2",{class:"text-2xl font-light",textContent:a(s(t)("settings.appearance.theme.name"))},null,8,ve),me,e("div",he,[_(ce),_(pe)])],64))}});export{ke as default}; +//# sourceMappingURL=SettingsAppearance.720b4f87.js.map diff --git a/assets/SettingsAppearance.720b4f87.js.map b/assets/SettingsAppearance.720b4f87.js.map new file mode 100644 index 0000000000..aaa7da42ae --- /dev/null +++ b/assets/SettingsAppearance.720b4f87.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SettingsAppearance.720b4f87.js","sources":["../../packages/darkmode/components/PreviewLight.vue","../../packages/darkmode/components/PreviewDark.vue","../../packages/settings/components/appearance/SColorTheme.vue","../../packages/settings/components/appearance/SDarkCovorFilter.vue","../../packages/settings/components/SettingsAppearance.vue"],"sourcesContent":["<template>\n <div class=\"aspect-ratio-2/1 overflow-hidden bg-white dark:filter dark:brightness-90\">\n <!-- Nav -->\n <div class=\"flex flex-row flex-nowrap space-x-2 p-2 bg-gray-100\">\n <div v-for=\"i in 3\" :key=\"i\" class=\"w-12 h-2 rounded-full bg-gray-300\" />\n </div>\n <!-- Video Content -->\n <div class=\"grid grid-cols-4 space-x-2 mx-2 mt-2\">\n <div class=\"col-span-3\">\n <!-- Video Title -->\n <div class=\"w-4/5 h-2 mb-1 rounded-full bg-gray-300\" />\n <!-- Video Player -->\n <div class=\"aspect-ratio-16/9 rounded bg-gray-200\" />\n </div>\n <div class=\"col-span-1\">\n <!-- Video Author -->\n <div class=\"flex flex-row flex-nowrap space-x-1\">\n <!-- Avatar -->\n <div class=\"w-3 h-3 rounded-full bg-gray-300\" />\n <!-- Info -->\n <div class=\"flex-1 mt-0.5\">\n <!-- Name -->\n <div class=\"w-4/5 h-1 rounded-full bg-gray-300\" />\n <!-- Description -->\n <div class=\"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-300\" />\n </div>\n </div>\n <!-- Recommendations -->\n <div class=\"mt-1\">\n <div class=\"w-2/5 h-1 rounded-full bg-gray-300\" />\n <div v-for=\"i in 6\" :key=\"i\" class=\"grid grid-cols-3 space-x-px mt-0.5\">\n <!-- Cover -->\n <div class=\"col-span-1 aspect-ratio-16/10 bg-gray-200\" />\n <!-- Info -->\n <div class=\"col-span-2 mt-px\">\n <!-- Title -->\n <div class=\"w-4/5 h-1 rounded-full bg-gray-200\" />\n <!-- Description -->\n <div class=\"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-200\" />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n","<template>\n <div class=\"aspect-ratio-2/1 overflow-hidden bg-gray-900\">\n <!-- Nav -->\n <div class=\"flex flex-row flex-nowrap space-x-2 p-2 bg-gray-800\">\n <div v-for=\"i in 3\" :key=\"i\" class=\"w-12 h-2 rounded-full bg-gray-600\" />\n </div>\n <!-- Video Content -->\n <div class=\"grid grid-cols-4 space-x-2 mx-2 mt-2\">\n <div class=\"col-span-3\">\n <!-- Video Title -->\n <div class=\"w-4/5 h-2 mb-1 rounded-full bg-gray-600\" />\n <!-- Video Player -->\n <div class=\"aspect-ratio-16/9 rounded bg-gray-700\" />\n </div>\n <div class=\"col-span-1\">\n <!-- Video Author -->\n <div class=\"flex flex-row flex-nowrap space-x-1\">\n <!-- Avatar -->\n <div class=\"w-3 h-3 rounded-full bg-gray-600\" />\n <!-- Info -->\n <div class=\"flex-1 mt-0.5\">\n <!-- Name -->\n <div class=\"w-4/5 h-1 rounded-full bg-gray-600\" />\n <!-- Description -->\n <div class=\"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-600\" />\n </div>\n </div>\n <!-- Recommendations -->\n <div class=\"mt-1\">\n <div class=\"w-2/5 h-1 rounded-full bg-gray-600\" />\n <div v-for=\"i in 6\" :key=\"i\" class=\"grid grid-cols-3 space-x-px mt-0.5\">\n <!-- Cover -->\n <div class=\"col-span-1 aspect-ratio-16/10 bg-gray-700\" />\n <!-- Info -->\n <div class=\"col-span-2 mt-px\">\n <!-- Title -->\n <div class=\"w-4/5 h-1 rounded-full bg-gray-700\" />\n <!-- Description -->\n <div class=\"mt-0.5 w-4/5 h-0.5 rounded-full bg-gray-700\" />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n","<template>\n <div>\n <div class=\"mb-1\">\n <h3 class=\"font-medium\" v-text=\"t('settings.appearance.theme.color.name')\" />\n <div class=\"text-sm text-gray-600 dark:text-gray-300\" v-text=\"t('settings.general.theme.color.desc')\" />\n </div>\n <div class=\"flex flex-row flex-wrap gap-4\">\n <div\n class=\"w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800': themePreference !== 'system',\n 'border-purple-300 dark:border-gray-400': themePreference === 'system',\n }\"\n @click=\"changeTheme('system')\"\n >\n <PreviewLight v-if=\"!isPreferredDark\" />\n <PreviewDark v-else />\n <div\n class=\"px-2 pb-1 border-t\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800': themePreference !== 'system',\n 'border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800': themePreference === 'system',\n }\"\n >\n <div class=\"i-uil:desktop mr-1 text-lg\" />\n <div class=\"inline-block align-middle\">\n {{ t('darkmode.system') }} ({{ isPreferredDark ? t('darkmode.dark') : t('darkmode.light') }})\n </div>\n </div>\n </div>\n <div\n class=\"w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800': themePreference !== 'light',\n 'border-purple-300 dark:border-gray-400': themePreference === 'light',\n }\"\n @click=\"changeTheme('light')\"\n >\n <PreviewLight />\n <div\n class=\"px-2 pb-1 border-t\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800': themePreference !== 'light',\n 'border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800': themePreference === 'light',\n }\"\n >\n <div class=\"i-uil:sun mr-1 text-lg\" />\n <div class=\"inline-block align-middle\" v-text=\"t('darkmode.light')\" />\n </div>\n </div>\n <div\n class=\"w-full max-w-64 rounded-lg cursor-pointer select-none overflow-hidden border\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800': themePreference !== 'dark',\n 'border-purple-300 dark:border-gray-400': themePreference === 'dark',\n }\"\n @click=\"changeTheme('dark')\"\n >\n <PreviewDark />\n <div\n class=\"px-2 pb-1 border-t\"\n :class=\"{\n 'border-purple-400 dark:border-gray-800 bg-gray-100 dark:bg-gray-800': themePreference !== 'dark',\n 'border-purple-300 dark:border-gray-400 bg-purple-50 dark:bg-gray-800': themePreference === 'dark',\n }\"\n >\n <div class=\"i-uil:moon mr-1 text-lg\" />\n <div class=\"inline-block align-middle\" v-text=\"t('darkmode.dark')\" />\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { usePreferredDark } from '@vueuse/core'\nimport { useI18n } from 'vue-i18n'\nimport PreviewLight from '@/darkmode/components/PreviewLight.vue'\nimport PreviewDark from '@/darkmode/components/PreviewDark.vue'\nimport { themePreference } from '@/darkmode'\nimport type { Themes } from '@/darkmode'\n\nconst { t } = useI18n()\n\nconst isPreferredDark = usePreferredDark()\nconst changeTheme = (theme: Themes) => {\n themePreference.value = theme\n}\n</script>\n","<template>\n <div>\n <div class=\"flex flex-row flex-nowrap items-center gap-4\">\n <h3 class=\"font-medium\" v-text=\"t('settings.appearance.theme.dark-cover-filter.name')\" />\n <PvSwitch v-model=\"filter\" size=\"sm\" />\n </div>\n <div class=\"text-sm text-gray-600 dark:text-gray-300\" v-text=\"t('settings.appearance.theme.dark-cover-filter.desc')\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport PvSwitch from '@/ui/components/PvSwitch.vue'\nimport { useThemeDarkCoverFilter } from '@/settings'\n\nconst { t } = useI18n()\n\nconst filter = useThemeDarkCoverFilter()\n</script>\n","<template>\n <h2 class=\"text-2xl font-light\" v-text=\"t('settings.appearance.theme.name')\" />\n <div class=\"w-full h-px my-2 bg-gray-300\" />\n <div class=\"flex flex-col gap-3\">\n <SColorTheme />\n <SDarkCovorFilter />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport SColorTheme from './appearance/SColorTheme.vue'\nimport SDarkCovorFilter from './appearance/SDarkCovorFilter.vue'\n\nconst { t } = useI18n()\n</script>\n"],"names":["_hoisted_1","_hoisted_2","_hoisted_6","_createStaticVNode","_sfc_render","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","i","_hoisted_4","useI18n","isPreferredDark","usePreferredDark","changeTheme","theme","themePreference","filter","useThemeDarkCoverFilter"],"mappings":"uWAGSA,EAAA,CAAA,MAAA,0EAAA,EAIAC,EAAA,CAAA,MAAA,qDAAA,sMAOE,EAAA,EAAA,yBAcEC,EAAAC,EAAA,oQAAA,CAAA,kUA3BX,SAAAC,EAAAC,EAAAC,EAAA,CAEE,OAAAC,EAAA,EAAAC,EAAA,MAAAR,EAAA,iCACuBS,EAAA,MAAA,CAAQ,IAAAC,mDAG/B,CAAA,aAOEC,aAcET,oCAEuBO,EAAA,MAAA,CAAQ,IAAAC,gGC3B9BV,EAAA,CAAA,MAAA,8CAAA,EAIAC,EAAA,CAAA,MAAA,qDAAA,sMAOE,EAAA,EAAA,yBAcEC,EAAAC,EAAA,oQAAA,CAAA,kUA3BX,SAAAC,EAAAC,EAAAC,EAAA,CAEE,OAAAC,EAAA,EAAAC,EAAA,MAAAR,EAAA,iCACuBS,EAAA,MAAA,CAAQ,IAAAC,mDAG/B,CAAA,aAOEC,aAcET,oCAEuBO,EAAA,MAAA,CAAQ,IAAAC,mdCoDvC,KAAA,CAAA,GAAAE,IAEAC,EAAAC,IACAC,EAAAC,GAAA,CACEC,EAAA,MAAAD,CAAwB,6pECvE1B,KAAA,CAAA,GAAAJ,IAEAM,EAAAC,ikBCHA,KAAA,CAAA,GAAAP"} \ No newline at end of file diff --git a/assets/SettingsGeneral.bcf54fe7.js b/assets/SettingsGeneral.bcf54fe7.js new file mode 100644 index 0000000000..09a56eb890 --- /dev/null +++ b/assets/SettingsGeneral.bcf54fe7.js @@ -0,0 +1,2 @@ +import{d as c,u as d,ab as i,aK as f,o as g,g as u,e,t as s,f as t,b as _,l,L as p,F as h}from"./index.72556674.js";import{_ as v}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const C={class:"mb-1"},y=["textContent"],b=["textContent"],w={class:"flex flex-row flex-nowrap items-center gap-2"},L=["textContent"],V=c({__name:"SLanguage",setup(m){const{t:n}=d(),o=i.find(({value:a})=>a===f()).name;return(a,r)=>(g(),u("div",null,[e("div",C,[e("h3",{class:"font-medium",textContent:s(t(n)("common.nav-top.settings.lang"))},null,8,y),e("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:s(t(n)("settings.general.language.desc"))},null,8,b)]),e("div",w,[_(v,{modelValue:t(l),"onUpdate:modelValue":r[0]||(r[0]=x=>p(l)?l.value=x:null),"item-list":t(i)},null,8,["modelValue","item-list"]),e("div",{class:"text-sm text-gray-600 dark:text-gray-300",textContent:s(t(n)("settings.general.language.browser-default",{preferred:t(o)}))},null,8,L)])]))}}),k=["textContent"],B=e("div",{class:"w-full h-px my-2 bg-gray-300"},null,-1),N=c({__name:"SettingsGeneral",setup(m){const{t:n}=d();return(o,a)=>(g(),u(h,null,[e("h2",{class:"text-2xl font-light",textContent:s(t(n)("settings.general.general.name"))},null,8,k),B,e("div",null,[_(V)])],64))}});export{N as default}; +//# sourceMappingURL=SettingsGeneral.bcf54fe7.js.map diff --git a/assets/SettingsGeneral.bcf54fe7.js.map b/assets/SettingsGeneral.bcf54fe7.js.map new file mode 100644 index 0000000000..5b991cdd15 --- /dev/null +++ b/assets/SettingsGeneral.bcf54fe7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SettingsGeneral.bcf54fe7.js","sources":["../../packages/settings/components/general/SLanguage.vue","../../packages/settings/components/SettingsGeneral.vue"],"sourcesContent":["<template>\n <div>\n <div class=\"mb-1\">\n <h3 class=\"font-medium\" v-text=\"t('common.nav-top.settings.lang')\" />\n <div class=\"text-sm text-gray-600 dark:text-gray-300\" v-text=\"t('settings.general.language.desc')\" />\n </div>\n <div class=\"flex flex-row flex-nowrap items-center gap-2\">\n <PvSelect v-model=\"locale\" :item-list=\"languageList\" />\n <div\n class=\"text-sm text-gray-600 dark:text-gray-300\"\n v-text=\"t('settings.general.language.browser-default', { preferred: browserPreferredLang })\"\n />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport PvSelect from '@/ui/components/PvSelect.vue'\nimport { getBrowserPreferredLang, languageList, locale } from '@/locales'\n\nconst { t } = useI18n()\n\nconst browserPreferredLang = languageList.find(({ value }) => value === getBrowserPreferredLang())!.name\n</script>\n","<template>\n <h2 class=\"text-2xl font-light\" v-text=\"t('settings.general.general.name')\" />\n <div class=\"w-full h-px my-2 bg-gray-300\" />\n <div>\n <SLanguage />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport SLanguage from './general/SLanguage.vue'\n\nconst { t } = useI18n()\n</script>\n"],"names":["t","useI18n","browserPreferredLang","languageList","value","getBrowserPreferredLang"],"mappings":"ybAqBA,KAAA,CAAA,EAAAA,GAAAC,IAEAC,EAAAC,EAAA,KAAA,CAAA,CAAA,MAAAC,CAAA,IAAAA,IAAAC,GAAA,EAAA,yqBCXA,KAAA,CAAA,EAAAL,GAAAC"} \ No newline at end of file diff --git a/assets/Signup.9672075d.css b/assets/Signup.9672075d.css new file mode 100644 index 0000000000..07b7a96e6e --- /dev/null +++ b/assets/Signup.9672075d.css @@ -0,0 +1 @@ +@media (max-width: 720px){.sign-up[data-v-81452981]{background-image:url(/assets/SignupMobile.7c2f8af2.jpg)}}@media (min-width: 720px){.sign-up[data-v-81452981]{background-image:url(/assets/Signup.c2df30b1.jpg)}}.autofill[data-v-81452981]:-webkit-autofill,.autofill[data-v-81452981]:-webkit-autofill:hover,.autofill[data-v-81452981]:-webkit-autofill:focus{-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s;-webkit-text-fill-color:#93c5fd}@media (min-width: 720px){.autofill[data-v-81452981]:-webkit-autofill,.autofill[data-v-81452981]:-webkit-autofill:hover,.autofill[data-v-81452981]:-webkit-autofill:focus{-webkit-text-fill-color:#1e3a8a}} diff --git a/assets/Signup.c2df30b1.jpg b/assets/Signup.c2df30b1.jpg new file mode 100644 index 0000000000..25ccd99891 Binary files /dev/null and b/assets/Signup.c2df30b1.jpg differ diff --git a/assets/Signup.dfd7e427.js b/assets/Signup.dfd7e427.js new file mode 100644 index 0000000000..aa47462221 --- /dev/null +++ b/assets/Signup.dfd7e427.js @@ -0,0 +1,2 @@ +import{d as D,u as Z,m as o,U,o as V,g as O,e,b as P,t as i,f as d,N as I,J as E,K as N,M as J,i as $,w as H,j as K,Q as B,ar as L,as as M,ad as R,a1 as q}from"./index.72556674.js";import{s as F}from"./setSiteTitle.db0fa839.js";import{r as T}from"./resDataStatus.1d07d88c.js";import{_ as G}from"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";/*! PatchyVideo/Platinum by VoileLabs */const w=b=>(L("data-v-81452981"),b=b(),M(),b),Q={class:"sign-up h-screen w-full md:min-h-xl flex justify-end bg-bottom bg-no-repeat bg-cover dark:filter dark:brightness-75"},W={class:"flex flex-wrap content-between w-full md:w-80 h-full p-5 text-white lt-md:dark:text-white md:text-black bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm lt-md:shadow md:mr-50"},X={class:"w-full lt-md:text-center"},Y=["textContent"],ee=["onSubmit"],te={class:"flex w-full border-b border-black lt-md:dark:border-white"},se=w(()=>e("div",{class:"i-uil:user align-middle text-2xl"},null,-1)),ae=["placeholder"],le=["textContent"],ne={class:"flex w-full border-b border-black lt-md:dark:border-white"},oe=w(()=>e("div",{class:"i-uil:lock-open-alt align-middle text-2xl"},null,-1)),ue=["placeholder"],re=["textContent"],ie={class:"flex w-full border-b border-black lt-md:dark:border-white"},de=w(()=>e("div",{class:"i-uil:padlock align-middle text-2xl"},null,-1)),pe=["placeholder"],ce=["textContent"],me={class:"flex w-full border-b border-black lt-md:dark:border-white"},ve=w(()=>e("div",{class:"i-uil:envelope align-middle text-2xl"},null,-1)),he=["placeholder","onKeydown"],fe=["textContent"],ge={class:"space-y-1"},we=["disabled","textContent"],_e=["textContent"],be=w(()=>e("div",{class:"h-20 w-full"},null,-1)),xe=w(()=>e("div",null,"© VoileLabs 2019-2022",-1)),ye=D({__name:"Signup",setup(b){const{t}=Z(),z=R();F(`${t("user.signup.title")} - PatchyVideo`);const n=o("ready"),p=U(()=>({fine:t("user.signup.username.username-status.fine"),tip:t("user.signup.username.username-status.tip"),msg:t("user.signup.username.username-status.msg"),res:t("user.signup.username.username-status.res"),err:t("user.signup.username.username-status.err")})),c=o(p.value.fine),x=U(()=>({fine:t("user.signup.password.password-status.fine"),tip:t("user.signup.password.password-status.tip"),msg:t("user.signup.password.password-status.msg")})),y=o(x.value.fine),S=U(()=>({fine:t("user.signup.password2.password2-status.fine"),tip:t("user.signup.password2.password2-status.tip"),msg:t("user.signup.password2.password2-status.msg")})),k=o(S.value.fine),A=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,m=U(()=>({fine:t("user.signup.email.email-status.fine"),tip:t("user.signup.email.email-status.tip"),msg:t("user.signup.email.email-status.msg"),res:t("user.signup.email.email-status.res"),err:t("user.signup.email.email-status.err")})),v=o(m.value.fine),h=o(""),f=o(""),C=o(""),g=o(""),_=o("");async function j(){if(n.value==="loading")return;n.value="loading";let s=!0;if(h.value?h.value.length<2||h.value.length>32?(s=!1,c.value=p.value.msg):c.value=p.value.fine:(s=!1,c.value=p.value.tip),f.value?f.value.length<6||f.value.length>64?(s=!1,y.value=x.value.msg):y.value=x.value.fine:(s=!1,y.value=x.value.tip),C.value?C.value!==f.value?(s=!1,k.value=S.value.msg):k.value=S.value.fine:(s=!1,k.value=S.value.tip),g.value?A.test(g.value)?v.value=m.value.fine:(s=!1,v.value=m.value.msg):(s=!1,v.value=m.value.tip),s){const a=fetch("https://patchyvideo.com/be/user/exists.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({username:h.value}),credentials:"include"}).then(r=>r.json()).then(r=>{r.status!==T.SUCCEED?(c.value=p.value.err,s=!1):r.data&&(c.value=p.value.res,s=!1)}).catch(()=>{c.value=p.value.err,s=!1}),u=fetch("https://patchyvideo.com/be/user/email_avail.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({email:g.value}),credentials:"include"}).then(r=>r.json()).then(r=>{r.status!==T.SUCCEED?(v.value=m.value.err,s=!1):r.data&&(v.value=m.value.res,s=!1)}).catch(()=>{v.value=m.value.err,s=!1});await a,await u}if(!s){n.value="ready";return}let l="";await fetch("https://patchyvideo.com/be/auth/get_session.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({type:"SIGNUP"}),credentials:"include"}).then(a=>a.json()).then(a=>{a.status===T.SUCCEED?l=a.data:(n.value="error",_.value=t("user.signup.signup-status.error"))}).catch(a=>{n.value="error",_.value=a}),await fetch("https://patchyvideo.com/be/signup.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({username:h.value,password:f.value,email:g.value,session:l}),credentials:"include"}).then(a=>a.json()).then(a=>{a.status===T.SUCCEED?z.push({path:"/user/redirect",query:{from:"sign-up"}}):(n.value="error",_.value=a.dataerr.reason)}).catch(a=>{n.value="error",_.value=a})}return(s,l)=>{const a=K("RouterLink");return V(),O("div",Q,[e("div",W,[e("div",X,[P(G,{larger:20}),e("div",{class:"text-lg text-center",textContent:i(d(t)("user.signup.title"))},null,8,Y)]),e("form",{class:"w-full space-y-2",autocomplete:"on",onSubmit:I(j,["prevent"])},[e("div",null,[e("div",te,[se,E(e("input",{"onUpdate:modelValue":l[0]||(l[0]=u=>h.value=u),type:"text",name:"username",autocomplete:"username",class:"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white",placeholder:d(t)("user.signup.username.placeholder")},null,8,ae),[[N,h.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:i(c.value)},null,8,le)]),e("div",null,[e("div",ne,[oe,E(e("input",{"onUpdate:modelValue":l[1]||(l[1]=u=>f.value=u),type:"password",name:"password",autocomplete:"new-password",class:"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white",placeholder:d(t)("user.signup.password.placeholder")},null,8,ue),[[N,f.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:i(y.value)},null,8,re)]),e("div",null,[e("div",ie,[de,E(e("input",{"onUpdate:modelValue":l[2]||(l[2]=u=>C.value=u),type:"password",name:"re-password",autocomplete:"new-password",class:"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white",placeholder:d(t)("user.signup.password2.placeholder")},null,8,pe),[[N,C.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:i(k.value)},null,8,ce)]),e("div",null,[e("div",me,[ve,E(e("input",{"onUpdate:modelValue":l[3]||(l[3]=u=>g.value=u),type:"email",name:"email",autocomplete:"email",class:"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white",placeholder:d(t)("user.signup.email.placeholder"),onKeydown:J(j,["enter"])},null,40,he),[[N,g.value]])]),e("div",{class:"text-red-500 text-sm h-4",textContent:i(v.value)},null,8,fe)]),e("div",ge,[e("button",{type:"submit",disabled:n.value==="loading",class:"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed",textContent:i(n.value==="loading"?d(t)("user.signup.signup-status.loading"):d(t)("user.signup.signup-status.ready"))},null,8,we),n.value==="error"?(V(),O("div",{key:0,class:"text-red-500",textContent:i(_.value)},null,8,_e)):$("",!0),P(a,{class:"block text-blue-600 text-right hover:text-blue-800",to:"/user/login"},{default:H(()=>[B(i(`←${d(t)("user.signup.login")}`),1)]),_:1})])],40,ee),be,xe])])}}});const Ee=q(ye,[["__scopeId","data-v-81452981"]]);export{Ee as default}; +//# sourceMappingURL=Signup.dfd7e427.js.map diff --git a/assets/Signup.dfd7e427.js.map b/assets/Signup.dfd7e427.js.map new file mode 100644 index 0000000000..c951788d7a --- /dev/null +++ b/assets/Signup.dfd7e427.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Signup.dfd7e427.js","sources":["../../packages/user/Signup.vue"],"sourcesContent":["<template>\n <div\n class=\"sign-up h-screen w-full md:min-h-xl flex justify-end bg-bottom bg-no-repeat bg-cover dark:filter dark:brightness-75\"\n >\n <div\n class=\"flex flex-wrap content-between w-full md:w-80 h-full p-5 text-white lt-md:dark:text-white md:text-black bg-white bg-opacity-50 filter drop-shadow-md backdrop-filter backdrop-blur-sm lt-md:shadow md:mr-50\"\n >\n <div class=\"w-full lt-md:text-center\">\n <Logo :larger=\"20\" />\n <div class=\"text-lg text-center\" v-text=\"t('user.signup.title')\" />\n </div>\n <form class=\"w-full space-y-2\" autocomplete=\"on\" @submit.prevent=\"signup\">\n <div>\n <div class=\"flex w-full border-b border-black lt-md:dark:border-white\">\n <div class=\"i-uil:user align-middle text-2xl\" />\n <input\n v-model=\"userName\"\n type=\"text\"\n name=\"username\"\n autocomplete=\"username\"\n class=\"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white\"\n :placeholder=\"t('user.signup.username.placeholder')\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\" v-text=\"usernameStatus\" />\n </div>\n <div>\n <div class=\"flex w-full border-b border-black lt-md:dark:border-white\">\n <div class=\"i-uil:lock-open-alt align-middle text-2xl\" />\n <input\n v-model=\"password\"\n type=\"password\"\n name=\"password\"\n autocomplete=\"new-password\"\n class=\"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white\"\n :placeholder=\"t('user.signup.password.placeholder')\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\" v-text=\"passwordStatus\" />\n </div>\n <div>\n <div class=\"flex w-full border-b border-black lt-md:dark:border-white\">\n <div class=\"i-uil:padlock align-middle text-2xl\" />\n <input\n v-model=\"password2\"\n type=\"password\"\n name=\"re-password\"\n autocomplete=\"new-password\"\n class=\"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white\"\n :placeholder=\"t('user.signup.password2.placeholder')\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\" v-text=\"password2Status\" />\n </div>\n <div>\n <div class=\"flex w-full border-b border-black lt-md:dark:border-white\">\n <div class=\"i-uil:envelope align-middle text-2xl\" />\n <input\n v-model=\"email\"\n type=\"email\"\n name=\"email\"\n autocomplete=\"email\"\n class=\"autofill outline-none w-full bg-transparent placeholder-gray-700 text-gray-700 lt-md:dark:placeholder-white lt-md:dark:text-white\"\n :placeholder=\"t('user.signup.email.placeholder')\"\n @keydown.enter=\"signup\"\n >\n </div>\n <div class=\"text-red-500 text-sm h-4\" v-text=\"emailStatus\" />\n </div>\n <div class=\"space-y-1\">\n <button\n type=\"submit\"\n :disabled=\"signupStatus === 'loading'\"\n class=\"w-full py-2 border border-transparent rounded-md text-white bg-blue-600 focus:outline-none focus:ring-2 focus:bg-blue-700 disabled:bg-blue-300 disabled:focus:bg-blue-300 disabled:hover:bg-blue-300 disabled:hover:cursor-not-allowed\"\n v-text=\"\n signupStatus === 'loading' ? t('user.signup.signup-status.loading') : t('user.signup.signup-status.ready')\n \"\n />\n <div v-if=\"signupStatus === 'error'\" class=\"text-red-500\" v-text=\"errmsg\" />\n <RouterLink\n class=\"block text-blue-600 text-right hover:text-blue-800\"\n to=\"/user/login\"\n >\n {{ `←${t('user.signup.login')}` }}\n </RouterLink>\n </div>\n </form>\n <!-- This div is only for placeholder -->\n <div class=\"h-20 w-full\" />\n <div>© VoileLabs 2019-2022</div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport { useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { resDataStatus } from '@/common/libs/resDataStatus'\nimport Logo from '@/common/components/Logo.vue'\n\nconst { t } = useI18n()\nconst router = useRouter()\nsetSiteTitle(`${t('user.signup.title')} - PatchyVideo`)\n\nconst signupStatus = ref<'ready' | 'loading' | 'error'>('ready')\nconst UsernameStatus = computed(() => ({\n fine: t('user.signup.username.username-status.fine'),\n tip: t('user.signup.username.username-status.tip'),\n msg: t('user.signup.username.username-status.msg'),\n res: t('user.signup.username.username-status.res'),\n err: t('user.signup.username.username-status.err'),\n}))\nconst usernameStatus = ref<string>(UsernameStatus.value.fine)\nconst PasswordStatus = computed(() => ({\n fine: t('user.signup.password.password-status.fine'),\n tip: t('user.signup.password.password-status.tip'),\n msg: t('user.signup.password.password-status.msg'),\n}))\nconst passwordStatus = ref<string>(PasswordStatus.value.fine)\nconst Password2Status = computed(() => ({\n fine: t('user.signup.password2.password2-status.fine'),\n tip: t('user.signup.password2.password2-status.tip'),\n msg: t('user.signup.password2.password2-status.msg'),\n}))\nconst password2Status = ref<string>(Password2Status.value.fine)\nconst emailFormat\n = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/\nconst EmailStatus = computed(() => ({\n fine: t('user.signup.email.email-status.fine'),\n tip: t('user.signup.email.email-status.tip'),\n msg: t('user.signup.email.email-status.msg'),\n res: t('user.signup.email.email-status.res'),\n err: t('user.signup.email.email-status.err'),\n}))\nconst emailStatus = ref<string>(EmailStatus.value.fine)\n\nconst userName = ref<string>('')\nconst password = ref<string>('')\nconst password2 = ref<string>('')\nconst email = ref<string>('')\nconst errmsg = ref<string>('')\n\nasync function signup(): Promise<void> {\n if (signupStatus.value === 'loading')\n return\n signupStatus.value = 'loading'\n\n /* Form validation */\n let valid = true\n if (!userName.value) {\n valid = false\n usernameStatus.value = UsernameStatus.value.tip\n }\n else if (userName.value.length < 2 || userName.value.length > 32) {\n valid = false\n usernameStatus.value = UsernameStatus.value.msg\n }\n else {\n usernameStatus.value = UsernameStatus.value.fine\n }\n if (!password.value) {\n valid = false\n passwordStatus.value = PasswordStatus.value.tip\n }\n else if (password.value.length < 6 || password.value.length > 64) {\n valid = false\n passwordStatus.value = PasswordStatus.value.msg\n }\n else {\n passwordStatus.value = PasswordStatus.value.fine\n }\n if (!password2.value) {\n valid = false\n password2Status.value = Password2Status.value.tip\n }\n else if (password2.value !== password.value) {\n valid = false\n password2Status.value = Password2Status.value.msg\n }\n else {\n password2Status.value = Password2Status.value.fine\n }\n if (!email.value) {\n valid = false\n emailStatus.value = EmailStatus.value.tip\n }\n else if (!emailFormat.test(email.value)) {\n valid = false\n emailStatus.value = EmailStatus.value.msg\n }\n else {\n emailStatus.value = EmailStatus.value.fine\n }\n if (valid) {\n const fetchUser = fetch('https://patchyvideo.com/be/user/exists.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n username: userName.value,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status !== resDataStatus.SUCCEED) {\n usernameStatus.value = UsernameStatus.value.err\n valid = false\n }\n // 'res.data=true' means the user already exists\n else if (res.data) {\n usernameStatus.value = UsernameStatus.value.res\n valid = false\n }\n })\n .catch(() => {\n // console.log(err)\n usernameStatus.value = UsernameStatus.value.err\n valid = false\n })\n const fetchEmail = fetch('https://patchyvideo.com/be/user/email_avail.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n email: email.value,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status !== resDataStatus.SUCCEED) {\n emailStatus.value = EmailStatus.value.err\n valid = false\n }\n // 'res.data=true' means the user already exists\n else if (res.data) {\n emailStatus.value = EmailStatus.value.res\n valid = false\n }\n })\n .catch(() => {\n // console.log(err)\n emailStatus.value = EmailStatus.value.err\n valid = false\n })\n await fetchUser\n await fetchEmail\n }\n if (!valid) {\n signupStatus.value = 'ready'\n return\n }\n\n /* Sign up */\n let session = ''\n await fetch('https://patchyvideo.com/be/auth/get_session.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({ type: 'SIGNUP' }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status === resDataStatus.SUCCEED) { session = res.data }\n else {\n signupStatus.value = 'error'\n errmsg.value = t('user.signup.signup-status.error')\n }\n })\n .catch((err) => {\n // console.log(err)\n signupStatus.value = 'error'\n errmsg.value = err\n })\n\n await fetch('https://patchyvideo.com/be/signup.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n username: userName.value,\n password: password.value,\n email: email.value,\n session,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status === resDataStatus.SUCCEED) {\n router.push({ path: '/user/redirect', query: { from: 'sign-up' } })\n }\n else {\n signupStatus.value = 'error'\n errmsg.value = res.dataerr.reason\n }\n })\n .catch((err) => {\n // console.log(err)\n signupStatus.value = 'error'\n errmsg.value = err\n })\n}\n</script>\n\n<style lang=\"postcss\" scoped>\n@media (max-width: 720px) {\n .sign-up {\n background-image: url('./assets/SignupMobile.jpg');\n }\n}\n@media (min-width: 720px) {\n .sign-up {\n background-image: url('./assets/Signup.jpg');\n }\n}\n\n.autofill:-webkit-autofill,\n.autofill:-webkit-autofill:hover,\n.autofill:-webkit-autofill:focus {\n transition: background-color 5000s ease-in-out 0s;\n /* -webkit-text-fill-color: theme('colors.blue.300'); */\n -webkit-text-fill-color: #93c5fd;\n}\n@media (min-width: 720px) {\n .autofill:-webkit-autofill,\n .autofill:-webkit-autofill:hover,\n .autofill:-webkit-autofill:focus {\n /* -webkit-text-fill-color: theme('colors.blue.900'); */\n -webkit-text-fill-color: #1e3a8a;\n }\n}\n</style>\n"],"names":["useI18n","router","useRouter","setSiteTitle","signupStatus","ref","UsernameStatus","computed","usernameStatus","PasswordStatus","passwordStatus","Password2Status","password2Status","emailFormat","EmailStatus","emailStatus","userName","password","password2","email","errmsg","signup","valid","fetchUser","data","res","resDataStatus","fetchEmail","session","err"],"mappings":"uwDAsGA,KAAA,CAAA,GAAAA,IACAC,EAAAC,IACAC,EAAA,GAAA,EAAA,mBAAA,iBAAA,EAEA,MAAAC,EAAAC,EAAA,OAAA,EACAC,EAAAC,EAAA,KAAA,CAAuC,KAAA,EAAA,2CAAA,EACc,IAAA,EAAA,0CAAA,EACF,IAAA,EAAA,0CAAA,EACA,IAAA,EAAA,0CAAA,EACA,IAAA,EAAA,0CAAA,CACA,EAAA,EAEnDC,EAAAH,EAAAC,EAAA,MAAA,IAAA,EACAG,EAAAF,EAAA,KAAA,CAAuC,KAAA,EAAA,2CAAA,EACc,IAAA,EAAA,0CAAA,EACF,IAAA,EAAA,0CAAA,CACA,EAAA,EAEnDG,EAAAL,EAAAI,EAAA,MAAA,IAAA,EACAE,EAAAJ,EAAA,KAAA,CAAwC,KAAA,EAAA,6CAAA,EACe,IAAA,EAAA,4CAAA,EACF,IAAA,EAAA,4CAAA,CACA,EAAA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QACAgB,EAAA,MAAA,EAAA,iCAAA,EACF,CAAA,EAAA,MAAAS,GAAA,CAIAzB,EAAA,MAAA,QACAgB,EAAA,MAAAS,CAAe,CAAA,EAGnB,MAAA,MAAA,uCAAA,CAAoD,OAAA,OAC1C,QAAA,IAAA,QAAA,CACa,eAAA,kBACH,CAAA,EACjB,KAAA,KAAA,UAAA,CACoB,SAAAb,EAAA,MACA,SAAAC,EAAA,MACA,MAAAE,EAAA,MACN,QAAAS,CACb,CAAA,EACD,YAAA,SACY,CAAA,EAAA,KAAAJ,GAAAA,EAAA,MAAA,EAAA,KAAAC,GAAA,CAKXA,EAAA,SAAAC,EAAA,QACEzB,EAAA,KAAA,CAAA,KAAA,iBAAA,MAAA,CAAA,KAAA,SAAA,CAAA,CAAA,GAGAG,EAAA,MAAA,QACAgB,EAAA,MAAAK,EAAA,QAAA,OACF,CAAA,EAAA,MAAAI,GAAA,CAIAzB,EAAA,MAAA,QACAgB,EAAA,MAAAS,CAAe,CAAA,CAChB"} \ No newline at end of file diff --git a/assets/SignupMobile.7c2f8af2.jpg b/assets/SignupMobile.7c2f8af2.jpg new file mode 100644 index 0000000000..d426a8f19e Binary files /dev/null and b/assets/SignupMobile.7c2f8af2.jpg differ diff --git a/assets/User.538ceb29.js b/assets/User.538ceb29.js new file mode 100644 index 0000000000..2094c53b25 --- /dev/null +++ b/assets/User.538ceb29.js @@ -0,0 +1,13 @@ +import{_ as Z,b as ee,p as U}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as E,u as T,x as se,U as te,o as p,g as m,J as k,K as j,f as s,L as C,F as P,e,v as le,i as ae,ar as B,as as D,a1 as M,a6 as oe,m as c,aI as ne,aJ as re,q as ue,c as ie,w as S,G as de,r as ce,b as f,t as a,Q as q,a9 as pe,au as ve,j as me}from"./index.72556674.js";import{s as fe}from"./setSiteTitle.db0fa839.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */const F=r=>(B("data-v-c35128f0"),r=r(),D(),r),we={class:"relative w-full"},_e=["placeholder"],ge=["placeholder"],he={class:"text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1"},ye=["placeholder"],xe=F(()=>e("div",{class:"i-uil:padlock text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1"},null,-1)),be=["placeholder"],Ue=F(()=>e("div",{class:"i-uil:envelope text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1"},null,-1)),ke=E({__name:"UserInput",props:{value:null,type:{default:"singleLine"},placeholder:null},emits:["update:value"],setup(r,{emit:t}){const g=r,{t:y}=T(),o=se(g,"value",t),w=te(()=>{var d;return(d=g.placeholder)!=null?d:y("user.input.placeholder")});return(d,u)=>(p(),m("div",we,[r.type==="richText"?k((p(),m("textarea",{key:0,"onUpdate:modelValue":u[0]||(u[0]=i=>C(o)?o.value=i:null),class:"input input-rich w-full",rows:"4",placeholder:s(w)},null,8,_e)),[[j,s(o)]]):r.type==="singleLine"?(p(),m(P,{key:1},[k(e("input",{"onUpdate:modelValue":u[1]||(u[1]=i=>C(o)?o.value=i:null),class:"input input-single w-full",placeholder:s(w)},null,8,ge),[[j,s(o)]]),e("div",he,[le(d.$slots,"prepend",{},void 0,!0)])],64)):r.type==="password"?(p(),m(P,{key:2},[k(e("input",{"onUpdate:modelValue":u[2]||(u[2]=i=>C(o)?o.value=i:null),class:"input input-single w-full",type:"password",placeholder:s(w)},null,8,ye),[[j,s(o)]]),xe],64)):r.type==="email"?(p(),m(P,{key:3},[k(e("input",{"onUpdate:modelValue":u[3]||(u[3]=i=>C(o)?o.value=i:null),class:"input input-single w-full",type:"email",placeholder:s(w)},null,8,be),[[j,s(o)]]),Ue],64)):ae("",!0)]))}});const h=M(ke,[["__scopeId","data-v-c35128f0"]]),V=r=>(B("data-v-d104ae9d"),r=r(),D(),r),je={key:0,class:"w-full h-full flex justify-start flex-col md:flex-row"},Ce={class:"half-container justify-center items-center"},$e={class:"mt-5"},Ie={class:"mt-8 px-4"},Le={class:"w-full mt-20 flex flex-col justify-start items-center"},Pe={class:"half-container p-8 md:p-16 justify-start items-start"},Se={class:"w-full"},Ve={key:0,class:"flex flex-col justify-between items-start lg:flex-row"},Ae=V(()=>e("div",{class:"i-uil:user"},null,-1)),Ne={class:"w-full lg:w-2/5 flex justify-evenly mt-5 lg:mt-0"},Re=V(()=>e("div",{class:"i-uil:edit-alt"},null,-1)),qe={key:1,class:"flex flex-row justify-start"},Ee={class:"w-full lg:w-4/5 mt-4"},Te={class:"w-full mt-4 flex flex-col justify-start items-start"},Be={class:"w-full mt-4 flex flex-col justify-start items-start"},De={class:"password-row"},Me={class:"password-row-label"},Fe={class:"password-row mt-6"},Ge={class:"password-row-label"},Je={class:"password-row mt-6"},Ke={class:"password-row-label"},Oe={class:"w-full mt-4 flex flex-row justify-start"},Qe={class:"password-row"},ze=V(()=>e("p",{class:"password-row-label"},null,-1)),He={class:"password-row-input flex flex-row justify-between"},We={class:"w-full lg:w-4/5 mt-4 flex flex-col justify-start"},Xe={class:"mt-4 w-full flex flex-row justify-start"},Ye={key:1,class:"text-lg"},Ze=E({__name:"User",setup(r){const{t}=T(),g=oe();fe(`${t("user.user-page.title")} - PatchyVideo`);const y=c(!1),o=c(""),w=ne("chooseAvatarInput"),d=c(""),u=c(""),i=c(""),$=c(""),I=c(""),A=c(""),N=c(""),L=c(""),G=re();ue(()=>g.isLogin,async _=>{if(!_)return;const l=await G.query({query:de` + query ($uid: String!) { + getUser(para: { uid: $uid }) { + id + desc + username + image + email + gravatar + } + } + `,variables:{uid:g.uid}}),v=ce(l.data.getUser);o.value=v.image,d.value=v.username,A.value=v.email||"",L.value=v.desc},{immediate:!0});const J=_=>{const l=_.target.files;if(!(l!=null&&l.length)){pe({message:"请选择头像文件!",type:ve.error});return}const v=new FileReader;v.readAsDataURL(l[0]),v.onload=x=>{var b,n,R;o.value=(R=(n=(b=x==null?void 0:x.target)==null?void 0:b.result)==null?void 0:n.toString())!=null?R:""}},K=()=>{var _;(_=w.value)==null||_.click()},O=()=>{U()},Q=()=>{y.value=!0,u.value=d.value},z=()=>{U()},H=()=>{U()},W=()=>{U()},X=()=>{i.value=$.value=I.value=""},Y=()=>{U()};return(_,l)=>{const v=me("RouterLink"),x=Z;return p(),ie(x,{"show-search-bar":!1},{default:S(()=>{var b;return[s(g).isLogin?(p(),m("div",je,[e("div",Ce,[f(ee,{title:d.value,image:o.value,class:"w-3/5 md:w-1/2 mt-10 rounded-full transition duration-300 overflow-hidden transform"},null,8,["title","image"]),e("p",$e,a(s(t)("user.user-page.avatar.current")),1),e("p",Ie,a(s(t)("user.user-page.avatar.requirement")),1),e("div",Le,[e("input",{ref_key:"chooseAvatarInput",ref:w,class:"hidden",type:"file",accept:".jpg,.jpeg,.png,.bmp,.gif",onInput:J},null,544),e("button",{class:"w-1/2 md:w-1/4 btn btn-primary",onClick:K},a(s(t)("user.user-page.avatar.choose-image")),1),e("button",{class:"mt-5 w-1/2 md:w-1/4 btn btn-default",onClick:O},a(s(t)("user.user-page.avatar.upload")),1)])]),e("div",Pe,[e("div",Se,[y.value?(p(),m("div",Ve,[f(h,{value:d.value,type:"singleLine",placeholder:s(t)("user.user-page.username.placeholder"),class:"w-full lg:w-3/5","onUpdate:value":l[0]||(l[0]=n=>u.value=n)},{prepend:S(()=>[Ae]),_:1},8,["value","placeholder"]),e("div",Ne,[e("button",{class:"btn btn-default w-3/7 sm:w-1/3 lg:w-2/5 flex justify-evenly items-center",onClick:z},[Re,q(" "+a(s(t)("user.user-page.username.modify")),1)]),e("button",{class:"btn btn-default w-3/7 sm:w-1/3 lg:w-2/5",onClick:l[1]||(l[1]=n=>y.value=!1)},a(s(t)("user.user-page.username.cancel")),1)])])):(p(),m("div",qe,[e("div",null,a(d.value),1),e("div",{class:"i-uil:edit-alt ml-2 cursor-pointer hover:text-blue-400 transition duration-300",onClick:Q})]))]),e("div",Ee,[f(h,{value:L.value,"onUpdate:value":l[2]||(l[2]=n=>L.value=n),type:"richText",placeholder:s(t)("user.user-page.description.placeholder")},null,8,["value","placeholder"]),e("button",{class:"btn btn-default w-1/2 sm:w-1/4 mt-4",onClick:H},a(s(t)("user.user-page.description.save")),1)]),e("div",Te,[e("p",null,a(s(t)("user.user-page.password.title")),1),e("div",Be,[e("div",De,[e("p",Me,a(s(t)("user.user-page.password.old")),1),f(h,{value:i.value,"onUpdate:value":l[3]||(l[3]=n=>i.value=n),type:"password",placeholder:s(t)("user.user-page.password.oldPlaceholder"),class:"password-row-input"},null,8,["value","placeholder"])]),e("div",Fe,[e("p",Ge,a(s(t)("user.user-page.password.new")),1),f(h,{value:$.value,"onUpdate:value":l[4]||(l[4]=n=>$.value=n),type:"password",placeholder:s(t)("user.user-page.password.newPlaceholder"),class:"password-row-input"},null,8,["value","placeholder"])]),e("div",Je,[e("p",Ke,a(s(t)("user.user-page.password.confirmNew")),1),f(h,{value:I.value,"onUpdate:value":l[5]||(l[5]=n=>I.value=n),type:"password",placeholder:s(t)("user.user-page.password.confirmNewPlaceholder"),class:"password-row-input"},null,8,["value","placeholder"])])]),e("div",Oe,[e("div",Qe,[ze,e("div",He,[e("button",{class:"btn btn-default w-2/5 sm:w-1/3",onClick:W},a(s(t)("user.user-page.password.commit")),1),e("button",{class:"btn btn-default w-2/5 sm:w-1/3",onClick:X},a(s(t)("user.user-page.password.reset")),1)])])])]),e("div",We,[e("p",null,a(s(t)("user.user-page.email.title")),1),f(h,{value:N.value,"onUpdate:value":l[6]||(l[6]=n=>N.value=n),class:"w-full mt-4",type:"email",placeholder:s(t)("user.user-page.email.placeholder")},null,8,["value","placeholder"]),e("button",{class:"mt-4 w-1/2 sm:w-1/4 btn btn-default",onClick:Y},a(s(t)("user.user-page.email.bind")),1),e("div",Xe,[e("p",null,a(s(t)("user.user-page.email.boundEmail"))+":"+a((b=A.value)!=null?b:s(t)("user.user-page.email.none")),1)])])])])):(p(),m("div",Ye,[f(v,{to:"/user/login"},{default:S(()=>[q(a(s(t)("user.user-page.not-logged-in")),1)]),_:1})]))]}),_:1})}}});const ns=M(Ze,[["__scopeId","data-v-d104ae9d"]]);export{ns as default}; +//# sourceMappingURL=User.538ceb29.js.map diff --git a/assets/User.538ceb29.js.map b/assets/User.538ceb29.js.map new file mode 100644 index 0000000000..b32d636439 --- /dev/null +++ b/assets/User.538ceb29.js.map @@ -0,0 +1 @@ +{"version":3,"file":"User.538ceb29.js","sources":["../../packages/user/components/UserInput.vue","../../packages/user/User.vue"],"sourcesContent":["<template>\n <div class=\"relative w-full\">\n <template v-if=\"type === 'richText'\">\n <textarea v-model=\"value\" class=\"input input-rich w-full\" rows=\"4\" :placeholder=\"placeholder\" />\n </template>\n <template v-else-if=\"type === 'singleLine'\">\n <input v-model=\"value\" class=\"input input-single w-full\" :placeholder=\"placeholder\">\n <div class=\"text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1\">\n <slot name=\"prepend\" />\n </div>\n </template>\n <template v-else-if=\"type === 'password'\">\n <input v-model=\"value\" class=\"input input-single w-full\" type=\"password\" :placeholder=\"placeholder\">\n <div class=\"i-uil:padlock text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1\" />\n </template>\n <template v-else-if=\"type === 'email'\">\n <input v-model=\"value\" class=\"input input-single w-full\" type=\"email\" :placeholder=\"placeholder\">\n <div class=\"i-uil:envelope text-gray-300 absolute top-1/2 transform -translate-y-1/2 left-1\" />\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useVModel } from '@vueuse/core'\nimport { useI18n } from 'vue-i18n'\nimport { computed } from 'vue'\n\nconst props = withDefaults(\n defineProps<{\n value: string\n type?: 'richText' | 'singleLine' | 'password' | 'email'\n placeholder?: string\n }>(),\n {\n type: 'singleLine',\n },\n)\n\nconst emit = defineEmits<{\n (event: 'update:value', value: string): void\n}>()\n\nconst { t } = useI18n()\n\nconst value = useVModel(props, 'value', emit)\n\nconst placeholder = computed(() => props.placeholder ?? t('user.input.placeholder'))\n</script>\n\n<style lang=\"postcss\" scoped>\n.input {\n @apply border-purple-300 text-gray-500 dark:text-gray-200 border border-solid focus:outline-none bg-white dark:bg-opacity-5 rounded hover:border-purple-400 transition duration-300 focus:border-blue-300 placeholder-gray-300;\n}\n.input-single {\n @apply h-10 pl-7 pr-3 py-2;\n}\n.input-rich {\n @apply h-auto py-1 px-3;\n}\n</style>\n","<template>\n <LayoutDefault :show-search-bar=\"false\">\n <!-- 个人中心 -->\n <div v-if=\"user.isLogin\" class=\"w-full h-full flex justify-start flex-col md:flex-row\">\n <div class=\"half-container justify-center items-center\">\n <UserAvatar\n :title=\"username\"\n :image=\"avatar\"\n class=\"w-3/5 md:w-1/2 mt-10 rounded-full transition duration-300 overflow-hidden transform\"\n />\n <p class=\"mt-5\">\n {{ t('user.user-page.avatar.current') }}\n </p>\n <p class=\"mt-8 px-4\">\n {{ t('user.user-page.avatar.requirement') }}\n </p>\n <div class=\"w-full mt-20 flex flex-col justify-start items-center\">\n <input\n ref=\"chooseAvatarInput\"\n class=\"hidden\"\n type=\"file\"\n accept=\".jpg,.jpeg,.png,.bmp,.gif\"\n @input=\"onGetChosenAvatar\"\n >\n <button class=\"w-1/2 md:w-1/4 btn btn-primary\" @click=\"onChooseAvatar\">\n {{ t('user.user-page.avatar.choose-image') }}\n </button>\n <button class=\"mt-5 w-1/2 md:w-1/4 btn btn-default\" @click=\"onUploadAvatar\">\n {{ t('user.user-page.avatar.upload') }}\n </button>\n </div>\n </div>\n <div class=\"half-container p-8 md:p-16 justify-start items-start\">\n <!-- username input -->\n <div class=\"w-full\">\n <div v-if=\"isEditingUsername\" class=\"flex flex-col justify-between items-start lg:flex-row\">\n <UserInput\n :value=\"username\"\n type=\"singleLine\"\n :placeholder=\"t('user.user-page.username.placeholder')\"\n class=\"w-full lg:w-3/5\"\n @update:value=\"tempUsername = $event\"\n >\n <template #prepend>\n <div class=\"i-uil:user\" />\n </template>\n </UserInput>\n <div class=\"w-full lg:w-2/5 flex justify-evenly mt-5 lg:mt-0\">\n <button\n class=\"btn btn-default w-3/7 sm:w-1/3 lg:w-2/5 flex justify-evenly items-center\"\n @click=\"onUpdateUsername\"\n >\n <div class=\"i-uil:edit-alt\" />\n {{ t('user.user-page.username.modify') }}\n </button>\n <button class=\"btn btn-default w-3/7 sm:w-1/3 lg:w-2/5\" @click=\"isEditingUsername = false\">\n {{ t('user.user-page.username.cancel') }}\n </button>\n </div>\n </div>\n <div v-else class=\"flex flex-row justify-start\">\n <div>{{ username }}</div>\n <div\n class=\"i-uil:edit-alt ml-2 cursor-pointer hover:text-blue-400 transition duration-300\"\n @click=\"onOpenUsernameEditor\"\n />\n </div>\n </div>\n <!-- description input -->\n <div class=\"w-full lg:w-4/5 mt-4\">\n <UserInput\n v-model:value=\"description\"\n type=\"richText\"\n :placeholder=\"t('user.user-page.description.placeholder')\"\n />\n <button class=\"btn btn-default w-1/2 sm:w-1/4 mt-4\" @click=\"onSaveDescription\">\n {{ t('user.user-page.description.save') }}\n </button>\n </div>\n <!-- password modify -->\n <div class=\"w-full mt-4 flex flex-col justify-start items-start\">\n <p>{{ t('user.user-page.password.title') }}</p>\n <div class=\"w-full mt-4 flex flex-col justify-start items-start\">\n <div class=\"password-row\">\n <p class=\"password-row-label\">\n {{ t('user.user-page.password.old') }}\n </p>\n <UserInput\n v-model:value=\"oldPassword\"\n type=\"password\"\n :placeholder=\"t('user.user-page.password.oldPlaceholder')\"\n class=\"password-row-input\"\n />\n </div>\n <div class=\"password-row mt-6\">\n <p class=\"password-row-label\">\n {{ t('user.user-page.password.new') }}\n </p>\n <UserInput\n v-model:value=\"newPassword\"\n type=\"password\"\n :placeholder=\"t('user.user-page.password.newPlaceholder')\"\n class=\"password-row-input\"\n />\n </div>\n <div class=\"password-row mt-6\">\n <p class=\"password-row-label\">\n {{ t('user.user-page.password.confirmNew') }}\n </p>\n <UserInput\n v-model:value=\"newConfirmedPassword\"\n type=\"password\"\n :placeholder=\"t('user.user-page.password.confirmNewPlaceholder')\"\n class=\"password-row-input\"\n />\n </div>\n </div>\n <div class=\"w-full mt-4 flex flex-row justify-start\">\n <div class=\"password-row\">\n <p class=\"password-row-label\" />\n <div class=\"password-row-input flex flex-row justify-between\">\n <button class=\"btn btn-default w-2/5 sm:w-1/3\" @click=\"onCommitNewPassword\">\n {{ t('user.user-page.password.commit') }}\n </button>\n <button class=\"btn btn-default w-2/5 sm:w-1/3\" @click=\"onResetPassword\">\n {{ t('user.user-page.password.reset') }}\n </button>\n </div>\n </div>\n </div>\n </div>\n <!-- email bind -->\n <div class=\"w-full lg:w-4/5 mt-4 flex flex-col justify-start\">\n <p>{{ t('user.user-page.email.title') }}</p>\n <UserInput\n v-model:value=\"newEmail\"\n class=\"w-full mt-4\"\n type=\"email\"\n :placeholder=\"t('user.user-page.email.placeholder')\"\n />\n <button class=\"mt-4 w-1/2 sm:w-1/4 btn btn-default\" @click=\"onBindEmail\">\n {{ t('user.user-page.email.bind') }}\n </button>\n <div class=\"mt-4 w-full flex flex-row justify-start\">\n <p>{{ t('user.user-page.email.boundEmail') }}:{{ email ?? t('user.user-page.email.none') }}</p>\n </div>\n </div>\n </div>\n </div>\n <div v-else class=\"text-lg\">\n <RouterLink to=\"/user/login\">\n {{ t('user.user-page.not-logged-in') }}\n </RouterLink>\n </div>\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { reactive, ref, watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport { templateRef } from '@vueuse/core'\nimport { useAuth } from '.'\nimport UserAvatar from '@/user/components/UserAvatar.vue'\nimport UserInput from '@/user/components/UserInput.vue'\nimport { gql, injectClient } from '@/graphql'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { MessageType, PvMessage } from '@/ui/libs/PvMessage'\nimport { progressing } from '@/common/libs/progressing'\n\ninterface HTMLInputEvent extends Event {\n target: HTMLInputElement & EventTarget\n}\n\nconst { t } = useI18n()\nconst user = useAuth()\n\nsetSiteTitle(`${t('user.user-page.title')} - PatchyVideo`)\n\nconst isEditingUsername = ref(false)\nconst avatar = ref('')\nconst chooseAvatarInput = templateRef<HTMLInputElement | null>('chooseAvatarInput')\nconst username = ref('')\nconst tempUsername = ref('')\nconst oldPassword = ref('')\nconst newPassword = ref('')\nconst newConfirmedPassword = ref('')\nconst email = ref('')\nconst newEmail = ref('')\nconst description = ref('')\nconst client = injectClient()\nwatch(\n () => user.isLogin,\n async (isLoginState) => {\n if (!isLoginState)\n return\n // TODO: useQuery\n const res = await client.query({\n query: gql`\n query ($uid: String!) {\n getUser(para: { uid: $uid }) {\n id\n desc\n username\n image\n email\n gravatar\n }\n }\n `,\n variables: {\n uid: user.uid,\n },\n })\n const userInfo = reactive(res.data.getUser)\n avatar.value = userInfo.image\n username.value = userInfo.username\n email.value = userInfo.email || ''\n description.value = userInfo.desc\n },\n { immediate: true },\n)\nconst onGetChosenAvatar = (e: HTMLInputEvent) => {\n const files = e.target.files\n if (!files?.length) {\n PvMessage({ message: '请选择头像文件!', type: MessageType.error })\n return\n }\n const fr = new FileReader()\n fr.readAsDataURL(files[0])\n fr.onload = (e) => {\n avatar.value = e?.target?.result?.toString() ?? ''\n }\n // fr.onloadend = () => {}\n}\nconst onChooseAvatar = () => {\n chooseAvatarInput.value?.click()\n}\nconst onUploadAvatar = () => {\n progressing()\n}\nconst onOpenUsernameEditor = () => {\n isEditingUsername.value = true\n tempUsername.value = username.value\n}\nconst onUpdateUsername = () => {\n progressing()\n}\nconst onSaveDescription = () => {\n progressing()\n}\nconst onCommitNewPassword = () => {\n progressing()\n}\nconst onResetPassword = () => {\n oldPassword.value = newPassword.value = newConfirmedPassword.value = ''\n}\nconst onBindEmail = () => {\n progressing()\n}\n</script>\n\n<style lang=\"postcss\" scoped>\n/* TODO remove apply, but user is also needed to rewrite too so... */\n.half-container {\n @apply w-full h-1/2 md:w-1/2 md:h-full flex flex-col;\n}\n.btn {\n @apply h-10 rounded transition duration-300 focus:outline-none;\n}\n.btn-primary {\n @apply bg-blue-500 border border-solid border-blue-500 hover:bg-blue-400 hover:border-blue-400 text-white;\n @apply dark:bg-white dark:bg-opacity-0 dark:text-blue-400 dark:hover:bg-opacity-20;\n}\n.btn-default {\n @apply border-purple-400 border-double border-2 bg-white hover:border-purple-800 text-gray-400 hover:text-gray-600;\n @apply dark:bg-opacity-0 dark:border-white dark:hover:border-purple-400 dark:text-white dark:hover:text-gray-400;\n}\n.password-row {\n @apply w-full lg:w-4/5 flex flex-row justify-start items-center;\n > .password-row-label {\n @apply w-1/4 md:w-1/5 text-right;\n }\n > .password-row-input {\n @apply w-3/4 md:w-4/5 ml-4;\n }\n}\n</style>\n"],"names":["t","useI18n","value","useVModel","props","emit","placeholder","computed","_a","user","useAuth","setSiteTitle","isEditingUsername","ref","avatar","chooseAvatarInput","templateRef","username","tempUsername","oldPassword","newPassword","newConfirmedPassword","email","newEmail","description","client","injectClient","watch","isLoginState","res","gql","userInfo","reactive","onGetChosenAvatar","e","files","PvMessage","MessageType","fr","e2","_c","_b","onChooseAvatar","onUploadAvatar","progressing","onOpenUsernameEditor","onUpdateUsername","onSaveDescription","onCommitNewPassword","onResetPassword","onBindEmail"],"mappings":"gtCA0CA,CAAA,EAAAA,GAAAC,IAEAC,EAAAC,GAAAC,EAAA,QAAAC,CAAA,EAEAC,EAAAC,GAAA,IAAA,OAAA,OAAAC,EAAAJ,EAAA,cAAA,KAAAI,EAAAR,EAAA,wBAAA,EAAA,yvEC+HA,KAAA,CAAA,GAAAC,IACAQ,EAAAC,KAEAC,GAAA,GAAA,EAAA,sBAAA,iBAAA,EAEA,MAAAC,EAAAC,EAAA,EAAA,EACAC,EAAAD,EAAA,EAAA,EACAE,EAAAC,GAAA,mBAAA,EACAC,EAAAJ,EAAA,EAAA,EACAK,EAAAL,EAAA,EAAA,EACAM,EAAAN,EAAA,EAAA,EACAO,EAAAP,EAAA,EAAA,EACAQ,EAAAR,EAAA,EAAA,EACAS,EAAAT,EAAA,EAAA,EACAU,EAAAV,EA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Y"} \ No newline at end of file diff --git a/assets/User.acdb8796.css b/assets/User.acdb8796.css new file mode 100644 index 0000000000..1df63cdf80 --- /dev/null +++ b/assets/User.acdb8796.css @@ -0,0 +1 @@ +.input[data-v-c35128f0]{border-width:1px;--un-border-opacity:1;border-color:rgba(216,180,254,var(--un-border-opacity));border-radius:.25rem;border-style:solid;--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));--un-text-opacity:1;color:rgba(107,114,128,var(--un-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.input[data-v-c35128f0]:hover{--un-border-opacity:1;border-color:rgba(192,132,252,var(--un-border-opacity))}.input[data-v-c35128f0]:focus{--un-border-opacity:1;border-color:rgba(147,197,253,var(--un-border-opacity));outline:2px solid transparent;outline-offset:2px}.dark .input[data-v-c35128f0]{--un-bg-opacity:.05;--un-text-opacity:1;color:rgba(229,231,235,var(--un-text-opacity))}.input[data-v-c35128f0]::placeholder{--un-placeholder-opacity:1;color:rgba(209,213,219,var(--un-placeholder-opacity))}.input-single[data-v-c35128f0]{height:2.5rem;padding:.5rem .75rem .5rem 1.75rem}.input-rich[data-v-c35128f0]{height:auto;padding:.25rem .75rem}.half-container[data-v-d104ae9d]{width:100%;height:50%;display:flex;flex-direction:column}@media (min-width: 720px){.half-container[data-v-d104ae9d]{width:50%;height:100%}}.btn[data-v-d104ae9d]{height:2.5rem;border-radius:.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.btn[data-v-d104ae9d]:focus{outline:2px solid transparent;outline-offset:2px}.btn-primary[data-v-d104ae9d]{border-width:1px;--un-border-opacity:1;border-color:rgba(59,130,246,var(--un-border-opacity));border-style:solid;--un-bg-opacity:1;background-color:rgba(59,130,246,var(--un-bg-opacity));--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity))}.btn-primary[data-v-d104ae9d]:hover{--un-border-opacity:1;border-color:rgba(96,165,250,var(--un-border-opacity));--un-bg-opacity:1;background-color:rgba(96,165,250,var(--un-bg-opacity))}.dark .btn-primary[data-v-d104ae9d]{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));--un-bg-opacity:0;--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity))}.dark .btn-primary[data-v-d104ae9d]:hover{--un-bg-opacity:.2}.btn-default[data-v-d104ae9d]{border-width:2px;border-style:solid;--un-border-opacity:1;border-color:rgba(192,132,252,var(--un-border-opacity));border-style:double;--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity))}.btn-default[data-v-d104ae9d]:hover{--un-border-opacity:1;border-color:rgba(107,33,168,var(--un-border-opacity));--un-text-opacity:1;color:rgba(75,85,99,var(--un-text-opacity))}.dark .btn-default[data-v-d104ae9d]{--un-border-opacity:1;border-color:rgba(255,255,255,var(--un-border-opacity));--un-bg-opacity:0;--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity))}.dark .btn-default[data-v-d104ae9d]:hover{--un-border-opacity:1;border-color:rgba(192,132,252,var(--un-border-opacity));--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity))}.password-row[data-v-d104ae9d]{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}@media (min-width: 992px){.password-row[data-v-d104ae9d]{width:80%}}.password-row>.password-row-label[data-v-d104ae9d]{width:25%;text-align:right}@media (min-width: 720px){.password-row>.password-row-label[data-v-d104ae9d]{width:20%}}.password-row>.password-row-input[data-v-d104ae9d]{margin-left:1rem;width:75%}@media (min-width: 720px){.password-row>.password-row-input[data-v-d104ae9d]{width:80%}} diff --git a/assets/UserAvatarPopper.a1f280ca.js b/assets/UserAvatarPopper.a1f280ca.js new file mode 100644 index 0000000000..c82235f79d --- /dev/null +++ b/assets/UserAvatarPopper.a1f280ca.js @@ -0,0 +1,27 @@ +import{aF as zn,af as On,d as Bn,y as Xt,aG as Pn,G as In,H as Mn,m as Kt,a5 as Nn,z as Ie,A as jn,B as $n,ag as Un,aH as Vn,o as er,g as tr,e as se,v as Hn,J as Gn,O as Zn,f as J,b as rr,w as Wn,t as nr,i as Yn,F as Jn,j as Qn,ar as Xn,as as Kn,a1 as eo}from"./index.72556674.js";import{b as to}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var Qr={exports:{}},S={},At={exports:{}};const ro="Á",no="á",oo="Ă",so="ă",co="∾",io="∿",ao="∾̳",lo="Â",uo="â",po="´",fo="А",ho="а",mo="Æ",go="æ",vo="⁡",bo="𝔄",ko="𝔞",xo="À",_o="à",yo="ℵ",wo="ℵ",Co="Α",Ao="α",Eo="Ā",Do="ā",qo="⨿",So="&",Fo="&",To="⩕",Ro="⩓",Lo="∧",zo="⩜",Oo="⩘",Bo="⩚",Po="∠",Io="⦤",Mo="∠",No="⦨",jo="⦩",$o="⦪",Uo="⦫",Vo="⦬",Ho="⦭",Go="⦮",Zo="⦯",Wo="∡",Yo="∟",Jo="⊾",Qo="⦝",Xo="∢",Ko="Å",es="⍼",ts="Ą",rs="ą",ns="𝔸",os="𝕒",ss="⩯",cs="≈",is="⩰",as="≊",ls="≋",us="'",ps="⁡",fs="≈",hs="≊",ds="Å",ms="å",gs="𝒜",vs="𝒶",bs="≔",ks="*",xs="≈",_s="≍",ys="Ã",ws="ã",Cs="Ä",As="ä",Es="∳",Ds="⨑",qs="≌",Ss="϶",Fs="‵",Ts="∽",Rs="⋍",Ls="∖",zs="⫧",Os="⊽",Bs="⌅",Ps="⌆",Is="⌅",Ms="⎵",Ns="⎶",js="≌",$s="Б",Us="б",Vs="„",Hs="∵",Gs="∵",Zs="∵",Ws="⦰",Ys="϶",Js="ℬ",Qs="ℬ",Xs="Β",Ks="β",ec="ℶ",tc="≬",rc="𝔅",nc="𝔟",oc="⋂",sc="◯",cc="⋃",ic="⨀",ac="⨁",lc="⨂",uc="⨆",pc="★",fc="▽",hc="△",dc="⨄",mc="⋁",gc="⋀",vc="⤍",bc="⧫",kc="▪",xc="▴",_c="▾",yc="◂",wc="▸",Cc="␣",Ac="▒",Ec="░",Dc="▓",qc="█",Sc="=⃥",Fc="≡⃥",Tc="⫭",Rc="⌐",Lc="𝔹",zc="𝕓",Oc="⊥",Bc="⊥",Pc="⋈",Ic="⧉",Mc="┐",Nc="╕",jc="╖",$c="╗",Uc="┌",Vc="╒",Hc="╓",Gc="╔",Zc="─",Wc="═",Yc="┬",Jc="╤",Qc="╥",Xc="╦",Kc="┴",ei="╧",ti="╨",ri="╩",ni="⊟",oi="⊞",si="⊠",ci="┘",ii="╛",ai="╜",li="╝",ui="└",pi="╘",fi="╙",hi="╚",di="│",mi="║",gi="┼",vi="╪",bi="╫",ki="╬",xi="┤",_i="╡",yi="╢",wi="╣",Ci="├",Ai="╞",Ei="╟",Di="╠",qi="‵",Si="˘",Fi="˘",Ti="¦",Ri="𝒷",Li="ℬ",zi="⁏",Oi="∽",Bi="⋍",Pi="⧅",Ii="\\",Mi="⟈",Ni="•",ji="•",$i="≎",Ui="⪮",Vi="≏",Hi="≎",Gi="≏",Zi="Ć",Wi="ć",Yi="⩄",Ji="⩉",Qi="⩋",Xi="∩",Ki="⋒",ea="⩇",ta="⩀",ra="ⅅ",na="∩︀",oa="⁁",sa="ˇ",ca="ℭ",ia="⩍",aa="Č",la="č",ua="Ç",pa="ç",fa="Ĉ",ha="ĉ",da="∰",ma="⩌",ga="⩐",va="Ċ",ba="ċ",ka="¸",xa="¸",_a="⦲",ya="¢",wa="·",Ca="·",Aa="𝔠",Ea="ℭ",Da="Ч",qa="ч",Sa="✓",Fa="✓",Ta="Χ",Ra="χ",La="ˆ",za="≗",Oa="↺",Ba="↻",Pa="⊛",Ia="⊚",Ma="⊝",Na="⊙",ja="®",$a="Ⓢ",Ua="⊖",Va="⊕",Ha="⊗",Ga="○",Za="⧃",Wa="≗",Ya="⨐",Ja="⫯",Qa="⧂",Xa="∲",Ka="”",el="’",tl="♣",rl="♣",nl=":",ol="∷",sl="⩴",cl="≔",il="≔",al=",",ll="@",ul="∁",pl="∘",fl="∁",hl="ℂ",dl="≅",ml="⩭",gl="≡",vl="∮",bl="∯",kl="∮",xl="𝕔",_l="ℂ",yl="∐",wl="∐",Cl="©",Al="©",El="℗",Dl="∳",ql="↵",Sl="✗",Fl="⨯",Tl="𝒞",Rl="𝒸",Ll="⫏",zl="⫑",Ol="⫐",Bl="⫒",Pl="⋯",Il="⤸",Ml="⤵",Nl="⋞",jl="⋟",$l="↶",Ul="⤽",Vl="⩈",Hl="⩆",Gl="≍",Zl="∪",Wl="⋓",Yl="⩊",Jl="⊍",Ql="⩅",Xl="∪︀",Kl="↷",eu="⤼",tu="⋞",ru="⋟",nu="⋎",ou="⋏",su="¤",cu="↶",iu="↷",au="⋎",lu="⋏",uu="∲",pu="∱",fu="⌭",hu="†",du="‡",mu="ℸ",gu="↓",vu="↡",bu="⇓",ku="‐",xu="⫤",_u="⊣",yu="⤏",wu="˝",Cu="Ď",Au="ď",Eu="Д",Du="д",qu="‡",Su="⇊",Fu="ⅅ",Tu="ⅆ",Ru="⤑",Lu="⩷",zu="°",Ou="∇",Bu="Δ",Pu="δ",Iu="⦱",Mu="⥿",Nu="𝔇",ju="𝔡",$u="⥥",Uu="⇃",Vu="⇂",Hu="´",Gu="˙",Zu="˝",Wu="`",Yu="˜",Ju="⋄",Qu="⋄",Xu="⋄",Ku="♦",ep="♦",tp="¨",rp="ⅆ",np="ϝ",op="⋲",sp="÷",cp="÷",ip="⋇",ap="⋇",lp="Ђ",up="ђ",pp="⌞",fp="⌍",hp="$",dp="𝔻",mp="𝕕",gp="¨",vp="˙",bp="⃜",kp="≐",xp="≑",_p="≐",yp="∸",wp="∔",Cp="⊡",Ap="⌆",Ep="∯",Dp="¨",qp="⇓",Sp="⇐",Fp="⇔",Tp="⫤",Rp="⟸",Lp="⟺",zp="⟹",Op="⇒",Bp="⊨",Pp="⇑",Ip="⇕",Mp="∥",Np="⤓",jp="↓",$p="↓",Up="⇓",Vp="⇵",Hp="̑",Gp="⇊",Zp="⇃",Wp="⇂",Yp="⥐",Jp="⥞",Qp="⥖",Xp="↽",Kp="⥟",ef="⥗",tf="⇁",rf="↧",nf="⊤",of="⤐",sf="⌟",cf="⌌",af="𝒟",lf="𝒹",uf="Ѕ",pf="ѕ",ff="⧶",hf="Đ",df="đ",mf="⋱",gf="▿",vf="▾",bf="⇵",kf="⥯",xf="⦦",_f="Џ",yf="џ",wf="⟿",Cf="É",Af="é",Ef="⩮",Df="Ě",qf="ě",Sf="Ê",Ff="ê",Tf="≖",Rf="≕",Lf="Э",zf="э",Of="⩷",Bf="Ė",Pf="ė",If="≑",Mf="ⅇ",Nf="≒",jf="𝔈",$f="𝔢",Uf="⪚",Vf="È",Hf="è",Gf="⪖",Zf="⪘",Wf="⪙",Yf="∈",Jf="⏧",Qf="ℓ",Xf="⪕",Kf="⪗",eh="Ē",th="ē",rh="∅",nh="∅",oh="◻",sh="∅",ch="▫",ih=" ",ah=" ",lh=" ",uh="Ŋ",ph="ŋ",fh=" ",hh="Ę",dh="ę",mh="𝔼",gh="𝕖",vh="⋕",bh="⧣",kh="⩱",xh="ε",_h="Ε",yh="ε",wh="ϵ",Ch="≖",Ah="≕",Eh="≂",Dh="⪖",qh="⪕",Sh="⩵",Fh="=",Th="≂",Rh="≟",Lh="⇌",zh="≡",Oh="⩸",Bh="⧥",Ph="⥱",Ih="≓",Mh="ℯ",Nh="ℰ",jh="≐",$h="⩳",Uh="≂",Vh="Η",Hh="η",Gh="Ð",Zh="ð",Wh="Ë",Yh="ë",Jh="€",Qh="!",Xh="∃",Kh="∃",ed="ℰ",td="ⅇ",rd="ⅇ",nd="≒",od="Ф",sd="ф",cd="♀",id="ffi",ad="ff",ld="ffl",ud="𝔉",pd="𝔣",fd="fi",hd="◼",dd="▪",md="fj",gd="♭",vd="fl",bd="▱",kd="ƒ",xd="𝔽",_d="𝕗",yd="∀",wd="∀",Cd="⋔",Ad="⫙",Ed="ℱ",Dd="⨍",qd="½",Sd="⅓",Fd="¼",Td="⅕",Rd="⅙",Ld="⅛",zd="⅔",Od="⅖",Bd="¾",Pd="⅗",Id="⅜",Md="⅘",Nd="⅚",jd="⅝",$d="⅞",Ud="⁄",Vd="⌢",Hd="𝒻",Gd="ℱ",Zd="ǵ",Wd="Γ",Yd="γ",Jd="Ϝ",Qd="ϝ",Xd="⪆",Kd="Ğ",em="ğ",tm="Ģ",rm="Ĝ",nm="ĝ",om="Г",sm="г",cm="Ġ",im="ġ",am="≥",lm="≧",um="⪌",pm="⋛",fm="≥",hm="≧",dm="⩾",mm="⪩",gm="⩾",vm="⪀",bm="⪂",km="⪄",xm="⋛︀",_m="⪔",ym="𝔊",wm="𝔤",Cm="≫",Am="⋙",Em="⋙",Dm="ℷ",qm="Ѓ",Sm="ѓ",Fm="⪥",Tm="≷",Rm="⪒",Lm="⪤",zm="⪊",Om="⪊",Bm="⪈",Pm="≩",Im="⪈",Mm="≩",Nm="⋧",jm="𝔾",$m="𝕘",Um="`",Vm="≥",Hm="⋛",Gm="≧",Zm="⪢",Wm="≷",Ym="⩾",Jm="≳",Qm="𝒢",Xm="ℊ",Km="≳",eg="⪎",tg="⪐",rg="⪧",ng="⩺",og=">",sg=">",cg="≫",ig="⋗",ag="⦕",lg="⩼",ug="⪆",pg="⥸",fg="⋗",hg="⋛",dg="⪌",mg="≷",gg="≳",vg="≩︀",bg="≩︀",kg="ˇ",xg=" ",_g="½",yg="ℋ",wg="Ъ",Cg="ъ",Ag="⥈",Eg="↔",Dg="⇔",qg="↭",Sg="^",Fg="ℏ",Tg="Ĥ",Rg="ĥ",Lg="♥",zg="♥",Og="…",Bg="⊹",Pg="𝔥",Ig="ℌ",Mg="ℋ",Ng="⤥",jg="⤦",$g="⇿",Ug="∻",Vg="↩",Hg="↪",Gg="𝕙",Zg="ℍ",Wg="―",Yg="─",Jg="𝒽",Qg="ℋ",Xg="ℏ",Kg="Ħ",ev="ħ",tv="≎",rv="≏",nv="⁃",ov="‐",sv="Í",cv="í",iv="⁣",av="Î",lv="î",uv="И",pv="и",fv="İ",hv="Е",dv="е",mv="¡",gv="⇔",vv="𝔦",bv="ℑ",kv="Ì",xv="ì",_v="ⅈ",yv="⨌",wv="∭",Cv="⧜",Av="℩",Ev="IJ",Dv="ij",qv="Ī",Sv="ī",Fv="ℑ",Tv="ⅈ",Rv="ℐ",Lv="ℑ",zv="ı",Ov="ℑ",Bv="⊷",Pv="Ƶ",Iv="⇒",Mv="℅",Nv="∞",jv="⧝",$v="ı",Uv="⊺",Vv="∫",Hv="∬",Gv="ℤ",Zv="∫",Wv="⊺",Yv="⋂",Jv="⨗",Qv="⨼",Xv="⁣",Kv="⁢",eb="Ё",tb="ё",rb="Į",nb="į",ob="𝕀",sb="𝕚",cb="Ι",ib="ι",ab="⨼",lb="¿",ub="𝒾",pb="ℐ",fb="∈",hb="⋵",db="⋹",mb="⋴",gb="⋳",vb="∈",bb="⁢",kb="Ĩ",xb="ĩ",_b="І",yb="і",wb="Ï",Cb="ï",Ab="Ĵ",Eb="ĵ",Db="Й",qb="й",Sb="𝔍",Fb="𝔧",Tb="ȷ",Rb="𝕁",Lb="𝕛",zb="𝒥",Ob="𝒿",Bb="Ј",Pb="ј",Ib="Є",Mb="є",Nb="Κ",jb="κ",$b="ϰ",Ub="Ķ",Vb="ķ",Hb="К",Gb="к",Zb="𝔎",Wb="𝔨",Yb="ĸ",Jb="Х",Qb="х",Xb="Ќ",Kb="ќ",e0="𝕂",t0="𝕜",r0="𝒦",n0="𝓀",o0="⇚",s0="Ĺ",c0="ĺ",i0="⦴",a0="ℒ",l0="Λ",u0="λ",p0="⟨",f0="⟪",h0="⦑",d0="⟨",m0="⪅",g0="ℒ",v0="«",b0="⇤",k0="⤟",x0="←",_0="↞",y0="⇐",w0="⤝",C0="↩",A0="↫",E0="⤹",D0="⥳",q0="↢",S0="⤙",F0="⤛",T0="⪫",R0="⪭",L0="⪭︀",z0="⤌",O0="⤎",B0="❲",P0="{",I0="[",M0="⦋",N0="⦏",j0="⦍",$0="Ľ",U0="ľ",V0="Ļ",H0="ļ",G0="⌈",Z0="{",W0="Л",Y0="л",J0="⤶",Q0="“",X0="„",K0="⥧",ek="⥋",tk="↲",rk="≤",nk="≦",ok="⟨",sk="⇤",ck="←",ik="←",ak="⇐",lk="⇆",uk="↢",pk="⌈",fk="⟦",hk="⥡",dk="⥙",mk="⇃",gk="⌊",vk="↽",bk="↼",kk="⇇",xk="↔",_k="↔",yk="⇔",wk="⇆",Ck="⇋",Ak="↭",Ek="⥎",Dk="↤",qk="⊣",Sk="⥚",Fk="⋋",Tk="⧏",Rk="⊲",Lk="⊴",zk="⥑",Ok="⥠",Bk="⥘",Pk="↿",Ik="⥒",Mk="↼",Nk="⪋",jk="⋚",$k="≤",Uk="≦",Vk="⩽",Hk="⪨",Gk="⩽",Zk="⩿",Wk="⪁",Yk="⪃",Jk="⋚︀",Qk="⪓",Xk="⪅",Kk="⋖",ex="⋚",tx="⪋",rx="⋚",nx="≦",ox="≶",sx="≶",cx="⪡",ix="≲",ax="⩽",lx="≲",ux="⥼",px="⌊",fx="𝔏",hx="𝔩",dx="≶",mx="⪑",gx="⥢",vx="↽",bx="↼",kx="⥪",xx="▄",_x="Љ",yx="љ",wx="⇇",Cx="≪",Ax="⋘",Ex="⌞",Dx="⇚",qx="⥫",Sx="◺",Fx="Ŀ",Tx="ŀ",Rx="⎰",Lx="⎰",zx="⪉",Ox="⪉",Bx="⪇",Px="≨",Ix="⪇",Mx="≨",Nx="⋦",jx="⟬",$x="⇽",Ux="⟦",Vx="⟵",Hx="⟵",Gx="⟸",Zx="⟷",Wx="⟷",Yx="⟺",Jx="⟼",Qx="⟶",Xx="⟶",Kx="⟹",e_="↫",t_="↬",r_="⦅",n_="𝕃",o_="𝕝",s_="⨭",c_="⨴",i_="∗",a_="_",l_="↙",u_="↘",p_="◊",f_="◊",h_="⧫",d_="(",m_="⦓",g_="⇆",v_="⌟",b_="⇋",k_="⥭",x_="‎",__="⊿",y_="‹",w_="𝓁",C_="ℒ",A_="↰",E_="↰",D_="≲",q_="⪍",S_="⪏",F_="[",T_="‘",R_="‚",L_="Ł",z_="ł",O_="⪦",B_="⩹",P_="<",I_="<",M_="≪",N_="⋖",j_="⋋",$_="⋉",U_="⥶",V_="⩻",H_="◃",G_="⊴",Z_="◂",W_="⦖",Y_="⥊",J_="⥦",Q_="≨︀",X_="≨︀",K_="¯",ey="♂",ty="✠",ry="✠",ny="↦",oy="↦",sy="↧",cy="↤",iy="↥",ay="▮",ly="⨩",uy="М",py="м",fy="—",hy="∺",dy="∡",my=" ",gy="ℳ",vy="𝔐",by="𝔪",ky="℧",xy="µ",_y="*",yy="⫰",wy="∣",Cy="·",Ay="⊟",Ey="−",Dy="∸",qy="⨪",Sy="∓",Fy="⫛",Ty="…",Ry="∓",Ly="⊧",zy="𝕄",Oy="𝕞",By="∓",Py="𝓂",Iy="ℳ",My="∾",Ny="Μ",jy="μ",$y="⊸",Uy="⊸",Vy="∇",Hy="Ń",Gy="ń",Zy="∠⃒",Wy="≉",Yy="⩰̸",Jy="≋̸",Qy="ʼn",Xy="≉",Ky="♮",ew="ℕ",tw="♮",rw=" ",nw="≎̸",ow="≏̸",sw="⩃",cw="Ň",iw="ň",aw="Ņ",lw="ņ",uw="≇",pw="⩭̸",fw="⩂",hw="Н",dw="н",mw="–",gw="⤤",vw="↗",bw="⇗",kw="↗",xw="≠",_w="≐̸",yw="​",ww="​",Cw="​",Aw="​",Ew="≢",Dw="⤨",qw="≂̸",Sw="≫",Fw="≪",Tw=` +`,Rw="∄",Lw="∄",zw="𝔑",Ow="𝔫",Bw="≧̸",Pw="≱",Iw="≱",Mw="≧̸",Nw="⩾̸",jw="⩾̸",$w="⋙̸",Uw="≵",Vw="≫⃒",Hw="≯",Gw="≯",Zw="≫̸",Ww="↮",Yw="⇎",Jw="⫲",Qw="∋",Xw="⋼",Kw="⋺",eC="∋",tC="Њ",rC="њ",nC="↚",oC="⇍",sC="‥",cC="≦̸",iC="≰",aC="↚",lC="⇍",uC="↮",pC="⇎",fC="≰",hC="≦̸",dC="⩽̸",mC="⩽̸",gC="≮",vC="⋘̸",bC="≴",kC="≪⃒",xC="≮",_C="⋪",yC="⋬",wC="≪̸",CC="∤",AC="⁠",EC=" ",DC="𝕟",qC="ℕ",SC="⫬",FC="¬",TC="≢",RC="≭",LC="∦",zC="∉",OC="≠",BC="≂̸",PC="∄",IC="≯",MC="≱",NC="≧̸",jC="≫̸",$C="≹",UC="⩾̸",VC="≵",HC="≎̸",GC="≏̸",ZC="∉",WC="⋵̸",YC="⋹̸",JC="∉",QC="⋷",XC="⋶",KC="⧏̸",e1="⋪",t1="⋬",r1="≮",n1="≰",o1="≸",s1="≪̸",c1="⩽̸",i1="≴",a1="⪢̸",l1="⪡̸",u1="∌",p1="∌",f1="⋾",h1="⋽",d1="⊀",m1="⪯̸",g1="⋠",v1="∌",b1="⧐̸",k1="⋫",x1="⋭",_1="⊏̸",y1="⋢",w1="⊐̸",C1="⋣",A1="⊂⃒",E1="⊈",D1="⊁",q1="⪰̸",S1="⋡",F1="≿̸",T1="⊃⃒",R1="⊉",L1="≁",z1="≄",O1="≇",B1="≉",P1="∤",I1="∦",M1="∦",N1="⫽⃥",j1="∂̸",$1="⨔",U1="⊀",V1="⋠",H1="⊀",G1="⪯̸",Z1="⪯̸",W1="⤳̸",Y1="↛",J1="⇏",Q1="↝̸",X1="↛",K1="⇏",eA="⋫",tA="⋭",rA="⊁",nA="⋡",oA="⪰̸",sA="𝒩",cA="𝓃",iA="∤",aA="∦",lA="≁",uA="≄",pA="≄",fA="∤",hA="∦",dA="⋢",mA="⋣",gA="⊄",vA="⫅̸",bA="⊈",kA="⊂⃒",xA="⊈",_A="⫅̸",yA="⊁",wA="⪰̸",CA="⊅",AA="⫆̸",EA="⊉",DA="⊃⃒",qA="⊉",SA="⫆̸",FA="≹",TA="Ñ",RA="ñ",LA="≸",zA="⋪",OA="⋬",BA="⋫",PA="⋭",IA="Ν",MA="ν",NA="#",jA="№",$A=" ",UA="≍⃒",VA="⊬",HA="⊭",GA="⊮",ZA="⊯",WA="≥⃒",YA=">⃒",JA="⤄",QA="⧞",XA="⤂",KA="≤⃒",eE="<⃒",tE="⊴⃒",rE="⤃",nE="⊵⃒",oE="∼⃒",sE="⤣",cE="↖",iE="⇖",aE="↖",lE="⤧",uE="Ó",pE="ó",fE="⊛",hE="Ô",dE="ô",mE="⊚",gE="О",vE="о",bE="⊝",kE="Ő",xE="ő",_E="⨸",yE="⊙",wE="⦼",CE="Œ",AE="œ",EE="⦿",DE="𝔒",qE="𝔬",SE="˛",FE="Ò",TE="ò",RE="⧁",LE="⦵",zE="Ω",OE="∮",BE="↺",PE="⦾",IE="⦻",ME="‾",NE="⧀",jE="Ō",$E="ō",UE="Ω",VE="ω",HE="Ο",GE="ο",ZE="⦶",WE="⊖",YE="𝕆",JE="𝕠",QE="⦷",XE="“",KE="‘",eD="⦹",tD="⊕",rD="↻",nD="⩔",oD="∨",sD="⩝",cD="ℴ",iD="ℴ",aD="ª",lD="º",uD="⊶",pD="⩖",fD="⩗",hD="⩛",dD="Ⓢ",mD="𝒪",gD="ℴ",vD="Ø",bD="ø",kD="⊘",xD="Õ",_D="õ",yD="⨶",wD="⨷",CD="⊗",AD="Ö",ED="ö",DD="⌽",qD="‾",SD="⏞",FD="⎴",TD="⏜",RD="¶",LD="∥",zD="∥",OD="⫳",BD="⫽",PD="∂",ID="∂",MD="П",ND="п",jD="%",$D=".",UD="‰",VD="⊥",HD="‱",GD="𝔓",ZD="𝔭",WD="Φ",YD="φ",JD="ϕ",QD="ℳ",XD="☎",KD="Π",eq="π",tq="⋔",rq="ϖ",nq="ℏ",oq="ℎ",sq="ℏ",cq="⨣",iq="⊞",aq="⨢",lq="+",uq="∔",pq="⨥",fq="⩲",hq="±",dq="±",mq="⨦",gq="⨧",vq="±",bq="ℌ",kq="⨕",xq="𝕡",_q="ℙ",yq="£",wq="⪷",Cq="⪻",Aq="≺",Eq="≼",Dq="⪷",qq="≺",Sq="≼",Fq="≺",Tq="⪯",Rq="≼",Lq="≾",zq="⪯",Oq="⪹",Bq="⪵",Pq="⋨",Iq="⪯",Mq="⪳",Nq="≾",jq="′",$q="″",Uq="ℙ",Vq="⪹",Hq="⪵",Gq="⋨",Zq="∏",Wq="∏",Yq="⌮",Jq="⌒",Qq="⌓",Xq="∝",Kq="∝",eS="∷",tS="∝",rS="≾",nS="⊰",oS="𝒫",sS="𝓅",cS="Ψ",iS="ψ",aS=" ",lS="𝔔",uS="𝔮",pS="⨌",fS="𝕢",hS="ℚ",dS="⁗",mS="𝒬",gS="𝓆",vS="ℍ",bS="⨖",kS="?",xS="≟",_S='"',yS='"',wS="⇛",CS="∽̱",AS="Ŕ",ES="ŕ",DS="√",qS="⦳",SS="⟩",FS="⟫",TS="⦒",RS="⦥",LS="⟩",zS="»",OS="⥵",BS="⇥",PS="⤠",IS="⤳",MS="→",NS="↠",jS="⇒",$S="⤞",US="↪",VS="↬",HS="⥅",GS="⥴",ZS="⤖",WS="↣",YS="↝",JS="⤚",QS="⤜",XS="∶",KS="ℚ",eF="⤍",tF="⤏",rF="⤐",nF="❳",oF="}",sF="]",cF="⦌",iF="⦎",aF="⦐",lF="Ř",uF="ř",pF="Ŗ",fF="ŗ",hF="⌉",dF="}",mF="Р",gF="р",vF="⤷",bF="⥩",kF="”",xF="”",_F="↳",yF="ℜ",wF="ℛ",CF="ℜ",AF="ℝ",EF="ℜ",DF="▭",qF="®",SF="®",FF="∋",TF="⇋",RF="⥯",LF="⥽",zF="⌋",OF="𝔯",BF="ℜ",PF="⥤",IF="⇁",MF="⇀",NF="⥬",jF="Ρ",$F="ρ",UF="ϱ",VF="⟩",HF="⇥",GF="→",ZF="→",WF="⇒",YF="⇄",JF="↣",QF="⌉",XF="⟧",KF="⥝",eT="⥕",tT="⇂",rT="⌋",nT="⇁",oT="⇀",sT="⇄",cT="⇌",iT="⇉",aT="↝",lT="↦",uT="⊢",pT="⥛",fT="⋌",hT="⧐",dT="⊳",mT="⊵",gT="⥏",vT="⥜",bT="⥔",kT="↾",xT="⥓",_T="⇀",yT="˚",wT="≓",CT="⇄",AT="⇌",ET="‏",DT="⎱",qT="⎱",ST="⫮",FT="⟭",TT="⇾",RT="⟧",LT="⦆",zT="𝕣",OT="ℝ",BT="⨮",PT="⨵",IT="⥰",MT=")",NT="⦔",jT="⨒",$T="⇉",UT="⇛",VT="›",HT="𝓇",GT="ℛ",ZT="↱",WT="↱",YT="]",JT="’",QT="’",XT="⋌",KT="⋊",eR="▹",tR="⊵",rR="▸",nR="⧎",oR="⧴",sR="⥨",cR="℞",iR="Ś",aR="ś",lR="‚",uR="⪸",pR="Š",fR="š",hR="⪼",dR="≻",mR="≽",gR="⪰",vR="⪴",bR="Ş",kR="ş",xR="Ŝ",_R="ŝ",yR="⪺",wR="⪶",CR="⋩",AR="⨓",ER="≿",DR="С",qR="с",SR="⊡",FR="⋅",TR="⩦",RR="⤥",LR="↘",zR="⇘",OR="↘",BR="§",PR=";",IR="⤩",MR="∖",NR="∖",jR="✶",$R="𝔖",UR="𝔰",VR="⌢",HR="♯",GR="Щ",ZR="щ",WR="Ш",YR="ш",JR="↓",QR="←",XR="∣",KR="∥",e2="→",t2="↑",r2="­",n2="Σ",o2="σ",s2="ς",c2="ς",i2="∼",a2="⩪",l2="≃",u2="≃",p2="⪞",f2="⪠",h2="⪝",d2="⪟",m2="≆",g2="⨤",v2="⥲",b2="←",k2="∘",x2="∖",_2="⨳",y2="⧤",w2="∣",C2="⌣",A2="⪪",E2="⪬",D2="⪬︀",q2="Ь",S2="ь",F2="⌿",T2="⧄",R2="/",L2="𝕊",z2="𝕤",O2="♠",B2="♠",P2="∥",I2="⊓",M2="⊓︀",N2="⊔",j2="⊔︀",$2="√",U2="⊏",V2="⊑",H2="⊏",G2="⊑",Z2="⊐",W2="⊒",Y2="⊐",J2="⊒",Q2="□",X2="□",K2="⊓",eL="⊏",tL="⊑",rL="⊐",nL="⊒",oL="⊔",sL="▪",cL="□",iL="▪",aL="→",lL="𝒮",uL="𝓈",pL="∖",fL="⌣",hL="⋆",dL="⋆",mL="☆",gL="★",vL="ϵ",bL="ϕ",kL="¯",xL="⊂",_L="⋐",yL="⪽",wL="⫅",CL="⊆",AL="⫃",EL="⫁",DL="⫋",qL="⊊",SL="⪿",FL="⥹",TL="⊂",RL="⋐",LL="⊆",zL="⫅",OL="⊆",BL="⊊",PL="⫋",IL="⫇",ML="⫕",NL="⫓",jL="⪸",$L="≻",UL="≽",VL="≻",HL="⪰",GL="≽",ZL="≿",WL="⪰",YL="⪺",JL="⪶",QL="⋩",XL="≿",KL="∋",ez="∑",tz="∑",rz="♪",nz="¹",oz="²",sz="³",cz="⊃",iz="⋑",az="⪾",lz="⫘",uz="⫆",pz="⊇",fz="⫄",hz="⊃",dz="⊇",mz="⟉",gz="⫗",vz="⥻",bz="⫂",kz="⫌",xz="⊋",_z="⫀",yz="⊃",wz="⋑",Cz="⊇",Az="⫆",Ez="⊋",Dz="⫌",qz="⫈",Sz="⫔",Fz="⫖",Tz="⤦",Rz="↙",Lz="⇙",zz="↙",Oz="⤪",Bz="ß",Pz=" ",Iz="⌖",Mz="Τ",Nz="τ",jz="⎴",$z="Ť",Uz="ť",Vz="Ţ",Hz="ţ",Gz="Т",Zz="т",Wz="⃛",Yz="⌕",Jz="𝔗",Qz="𝔱",Xz="∴",Kz="∴",eO="∴",tO="Θ",rO="θ",nO="ϑ",oO="ϑ",sO="≈",cO="∼",iO="  ",aO=" ",lO=" ",uO="≈",pO="∼",fO="Þ",hO="þ",dO="˜",mO="∼",gO="≃",vO="≅",bO="≈",kO="⨱",xO="⊠",_O="×",yO="⨰",wO="∭",CO="⤨",AO="⌶",EO="⫱",DO="⊤",qO="𝕋",SO="𝕥",FO="⫚",TO="⤩",RO="‴",LO="™",zO="™",OO="▵",BO="▿",PO="◃",IO="⊴",MO="≜",NO="▹",jO="⊵",$O="◬",UO="≜",VO="⨺",HO="⃛",GO="⨹",ZO="⧍",WO="⨻",YO="⏢",JO="𝒯",QO="𝓉",XO="Ц",KO="ц",eB="Ћ",tB="ћ",rB="Ŧ",nB="ŧ",oB="≬",sB="↞",cB="↠",iB="Ú",aB="ú",lB="↑",uB="↟",pB="⇑",fB="⥉",hB="Ў",dB="ў",mB="Ŭ",gB="ŭ",vB="Û",bB="û",kB="У",xB="у",_B="⇅",yB="Ű",wB="ű",CB="⥮",AB="⥾",EB="𝔘",DB="𝔲",qB="Ù",SB="ù",FB="⥣",TB="↿",RB="↾",LB="▀",zB="⌜",OB="⌜",BB="⌏",PB="◸",IB="Ū",MB="ū",NB="¨",jB="_",$B="⏟",UB="⎵",VB="⏝",HB="⋃",GB="⊎",ZB="Ų",WB="ų",YB="𝕌",JB="𝕦",QB="⤒",XB="↑",KB="↑",eP="⇑",tP="⇅",rP="↕",nP="↕",oP="⇕",sP="⥮",cP="↿",iP="↾",aP="⊎",lP="↖",uP="↗",pP="υ",fP="ϒ",hP="ϒ",dP="Υ",mP="υ",gP="↥",vP="⊥",bP="⇈",kP="⌝",xP="⌝",_P="⌎",yP="Ů",wP="ů",CP="◹",AP="𝒰",EP="𝓊",DP="⋰",qP="Ũ",SP="ũ",FP="▵",TP="▴",RP="⇈",LP="Ü",zP="ü",OP="⦧",BP="⦜",PP="ϵ",IP="ϰ",MP="∅",NP="ϕ",jP="ϖ",$P="∝",UP="↕",VP="⇕",HP="ϱ",GP="ς",ZP="⊊︀",WP="⫋︀",YP="⊋︀",JP="⫌︀",QP="ϑ",XP="⊲",KP="⊳",eI="⫨",tI="⫫",rI="⫩",nI="В",oI="в",sI="⊢",cI="⊨",iI="⊩",aI="⊫",lI="⫦",uI="⊻",pI="∨",fI="⋁",hI="≚",dI="⋮",mI="|",gI="‖",vI="|",bI="‖",kI="∣",xI="|",_I="❘",yI="≀",wI=" ",CI="𝔙",AI="𝔳",EI="⊲",DI="⊂⃒",qI="⊃⃒",SI="𝕍",FI="𝕧",TI="∝",RI="⊳",LI="𝒱",zI="𝓋",OI="⫋︀",BI="⊊︀",PI="⫌︀",II="⊋︀",MI="⊪",NI="⦚",jI="Ŵ",$I="ŵ",UI="⩟",VI="∧",HI="⋀",GI="≙",ZI="℘",WI="𝔚",YI="𝔴",JI="𝕎",QI="𝕨",XI="℘",KI="≀",eM="≀",tM="𝒲",rM="𝓌",nM="⋂",oM="◯",sM="⋃",cM="▽",iM="𝔛",aM="𝔵",lM="⟷",uM="⟺",pM="Ξ",fM="ξ",hM="⟵",dM="⟸",mM="⟼",gM="⋻",vM="⨀",bM="𝕏",kM="𝕩",xM="⨁",_M="⨂",yM="⟶",wM="⟹",CM="𝒳",AM="𝓍",EM="⨆",DM="⨄",qM="△",SM="⋁",FM="⋀",TM="Ý",RM="ý",LM="Я",zM="я",OM="Ŷ",BM="ŷ",PM="Ы",IM="ы",MM="¥",NM="𝔜",jM="𝔶",$M="Ї",UM="ї",VM="𝕐",HM="𝕪",GM="𝒴",ZM="𝓎",WM="Ю",YM="ю",JM="ÿ",QM="Ÿ",XM="Ź",KM="ź",eN="Ž",tN="ž",rN="З",nN="з",oN="Ż",sN="ż",cN="ℨ",iN="​",aN="Ζ",lN="ζ",uN="𝔷",pN="ℨ",fN="Ж",hN="ж",dN="⇝",mN="𝕫",gN="ℤ",vN="𝒵",bN="𝓏",kN="‍",xN="‌",_N={Aacute:ro,aacute:no,Abreve:oo,abreve:so,ac:co,acd:io,acE:ao,Acirc:lo,acirc:uo,acute:po,Acy:fo,acy:ho,AElig:mo,aelig:go,af:vo,Afr:bo,afr:ko,Agrave:xo,agrave:_o,alefsym:yo,aleph:wo,Alpha:Co,alpha:Ao,Amacr:Eo,amacr:Do,amalg:qo,amp:So,AMP:Fo,andand:To,And:Ro,and:Lo,andd:zo,andslope:Oo,andv:Bo,ang:Po,ange:Io,angle:Mo,angmsdaa:No,angmsdab:jo,angmsdac:$o,angmsdad:Uo,angmsdae:Vo,angmsdaf:Ho,angmsdag:Go,angmsdah:Zo,angmsd:Wo,angrt:Yo,angrtvb:Jo,angrtvbd:Qo,angsph:Xo,angst:Ko,angzarr:es,Aogon:ts,aogon:rs,Aopf:ns,aopf:os,apacir:ss,ap:cs,apE:is,ape:as,apid:ls,apos:us,ApplyFunction:ps,approx:fs,approxeq:hs,Aring:ds,aring:ms,Ascr:gs,ascr:vs,Assign:bs,ast:ks,asymp:xs,asympeq:_s,Atilde:ys,atilde:ws,Auml:Cs,auml:As,awconint:Es,awint:Ds,backcong:qs,backepsilon:Ss,backprime:Fs,backsim:Ts,backsimeq:Rs,Backslash:Ls,Barv:zs,barvee:Os,barwed:Bs,Barwed:Ps,barwedge:Is,bbrk:Ms,bbrktbrk:Ns,bcong:js,Bcy:$s,bcy:Us,bdquo:Vs,becaus:Hs,because:Gs,Because:Zs,bemptyv:Ws,bepsi:Ys,bernou:Js,Bernoullis:Qs,Beta:Xs,beta:Ks,beth:ec,between:tc,Bfr:rc,bfr:nc,bigcap:oc,bigcirc:sc,bigcup:cc,bigodot:ic,bigoplus:ac,bigotimes:lc,bigsqcup:uc,bigstar:pc,bigtriangledown:fc,bigtriangleup:hc,biguplus:dc,bigvee:mc,bigwedge:gc,bkarow:vc,blacklozenge:bc,blacksquare:kc,blacktriangle:xc,blacktriangledown:_c,blacktriangleleft:yc,blacktriangleright:wc,blank:Cc,blk12:Ac,blk14:Ec,blk34:Dc,block:qc,bne:Sc,bnequiv:Fc,bNot:Tc,bnot:Rc,Bopf:Lc,bopf:zc,bot:Oc,bottom:Bc,bowtie:Pc,boxbox:Ic,boxdl:Mc,boxdL:Nc,boxDl:jc,boxDL:$c,boxdr:Uc,boxdR:Vc,boxDr:Hc,boxDR:Gc,boxh:Zc,boxH:Wc,boxhd:Yc,boxHd:Jc,boxhD:Qc,boxHD:Xc,boxhu:Kc,boxHu:ei,boxhU:ti,boxHU:ri,boxminus:ni,boxplus:oi,boxtimes:si,boxul:ci,boxuL:ii,boxUl:ai,boxUL:li,boxur:ui,boxuR:pi,boxUr:fi,boxUR:hi,boxv:di,boxV:mi,boxvh:gi,boxvH:vi,boxVh:bi,boxVH:ki,boxvl:xi,boxvL:_i,boxVl:yi,boxVL:wi,boxvr:Ci,boxvR:Ai,boxVr:Ei,boxVR:Di,bprime:qi,breve:Si,Breve:Fi,brvbar:Ti,bscr:Ri,Bscr:Li,bsemi:zi,bsim:Oi,bsime:Bi,bsolb:Pi,bsol:Ii,bsolhsub:Mi,bull:Ni,bullet:ji,bump:$i,bumpE:Ui,bumpe:Vi,Bumpeq:Hi,bumpeq:Gi,Cacute:Zi,cacute:Wi,capand:Yi,capbrcup:Ji,capcap:Qi,cap:Xi,Cap:Ki,capcup:ea,capdot:ta,CapitalDifferentialD:ra,caps:na,caret:oa,caron:sa,Cayleys:ca,ccaps:ia,Ccaron:aa,ccaron:la,Ccedil:ua,ccedil:pa,Ccirc:fa,ccirc:ha,Cconint:da,ccups:ma,ccupssm:ga,Cdot:va,cdot:ba,cedil:ka,Cedilla:xa,cemptyv:_a,cent:ya,centerdot:wa,CenterDot:Ca,cfr:Aa,Cfr:Ea,CHcy:Da,chcy:qa,check:Sa,checkmark:Fa,Chi:Ta,chi:Ra,circ:La,circeq:za,circlearrowleft:Oa,circlearrowright:Ba,circledast:Pa,circledcirc:Ia,circleddash:Ma,CircleDot:Na,circledR:ja,circledS:$a,CircleMinus:Ua,CirclePlus:Va,CircleTimes:Ha,cir:Ga,cirE:Za,cire:Wa,cirfnint:Ya,cirmid:Ja,cirscir:Qa,ClockwiseContourIntegral:Xa,CloseCurlyDoubleQuote:Ka,CloseCurlyQuote:el,clubs:tl,clubsuit:rl,colon:nl,Colon:ol,Colone:sl,colone:cl,coloneq:il,comma:al,commat:ll,comp:ul,compfn:pl,complement:fl,complexes:hl,cong:dl,congdot:ml,Congruent:gl,conint:vl,Conint:bl,ContourIntegral:kl,copf:xl,Copf:_l,coprod:yl,Coproduct:wl,copy:Cl,COPY:Al,copysr:El,CounterClockwiseContourIntegral:Dl,crarr:ql,cross:Sl,Cross:Fl,Cscr:Tl,cscr:Rl,csub:Ll,csube:zl,csup:Ol,csupe:Bl,ctdot:Pl,cudarrl:Il,cudarrr:Ml,cuepr:Nl,cuesc:jl,cularr:$l,cularrp:Ul,cupbrcap:Vl,cupcap:Hl,CupCap:Gl,cup:Zl,Cup:Wl,cupcup:Yl,cupdot:Jl,cupor:Ql,cups:Xl,curarr:Kl,curarrm:eu,curlyeqprec:tu,curlyeqsucc:ru,curlyvee:nu,curlywedge:ou,curren:su,curvearrowleft:cu,curvearrowright:iu,cuvee:au,cuwed:lu,cwconint:uu,cwint:pu,cylcty:fu,dagger:hu,Dagger:du,daleth:mu,darr:gu,Darr:vu,dArr:bu,dash:ku,Dashv:xu,dashv:_u,dbkarow:yu,dblac:wu,Dcaron:Cu,dcaron:Au,Dcy:Eu,dcy:Du,ddagger:qu,ddarr:Su,DD:Fu,dd:Tu,DDotrahd:Ru,ddotseq:Lu,deg:zu,Del:Ou,Delta:Bu,delta:Pu,demptyv:Iu,dfisht:Mu,Dfr:Nu,dfr:ju,dHar:$u,dharl:Uu,dharr:Vu,DiacriticalAcute:Hu,DiacriticalDot:Gu,DiacriticalDoubleAcute:Zu,DiacriticalGrave:Wu,DiacriticalTilde:Yu,diam:Ju,diamond:Qu,Diamond:Xu,diamondsuit:Ku,diams:ep,die:tp,DifferentialD:rp,digamma:np,disin:op,div:sp,divide:cp,divideontimes:ip,divonx:ap,DJcy:lp,djcy:up,dlcorn:pp,dlcrop:fp,dollar:hp,Dopf:dp,dopf:mp,Dot:gp,dot:vp,DotDot:bp,doteq:kp,doteqdot:xp,DotEqual:_p,dotminus:yp,dotplus:wp,dotsquare:Cp,doublebarwedge:Ap,DoubleContourIntegral:Ep,DoubleDot:Dp,DoubleDownArrow:qp,DoubleLeftArrow:Sp,DoubleLeftRightArrow:Fp,DoubleLeftTee:Tp,DoubleLongLeftArrow:Rp,DoubleLongLeftRightArrow:Lp,DoubleLongRightArrow:zp,DoubleRightArrow:Op,DoubleRightTee:Bp,DoubleUpArrow:Pp,DoubleUpDownArrow:Ip,DoubleVerticalBar:Mp,DownArrowBar:Np,downarrow:jp,DownArrow:$p,Downarrow:Up,DownArrowUpArrow:Vp,DownBreve:Hp,downdownarrows:Gp,downharpoonleft:Zp,downharpoonright:Wp,DownLeftRightVector:Yp,DownLeftTeeVector:Jp,DownLeftVectorBar:Qp,DownLeftVector:Xp,DownRightTeeVector:Kp,DownRightVectorBar:ef,DownRightVector:tf,DownTeeArrow:rf,DownTee:nf,drbkarow:of,drcorn:sf,drcrop:cf,Dscr:af,dscr:lf,DScy:uf,dscy:pf,dsol:ff,Dstrok:hf,dstrok:df,dtdot:mf,dtri:gf,dtrif:vf,duarr:bf,duhar:kf,dwangle:xf,DZcy:_f,dzcy:yf,dzigrarr:wf,Eacute:Cf,eacute:Af,easter:Ef,Ecaron:Df,ecaron:qf,Ecirc:Sf,ecirc:Ff,ecir:Tf,ecolon:Rf,Ecy:Lf,ecy:zf,eDDot:Of,Edot:Bf,edot:Pf,eDot:If,ee:Mf,efDot:Nf,Efr:jf,efr:$f,eg:Uf,Egrave:Vf,egrave:Hf,egs:Gf,egsdot:Zf,el:Wf,Element:Yf,elinters:Jf,ell:Qf,els:Xf,elsdot:Kf,Emacr:eh,emacr:th,empty:rh,emptyset:nh,EmptySmallSquare:oh,emptyv:sh,EmptyVerySmallSquare:ch,emsp13:ih,emsp14:ah,emsp:lh,ENG:uh,eng:ph,ensp:fh,Eogon:hh,eogon:dh,Eopf:mh,eopf:gh,epar:vh,eparsl:bh,eplus:kh,epsi:xh,Epsilon:_h,epsilon:yh,epsiv:wh,eqcirc:Ch,eqcolon:Ah,eqsim:Eh,eqslantgtr:Dh,eqslantless:qh,Equal:Sh,equals:Fh,EqualTilde:Th,equest:Rh,Equilibrium:Lh,equiv:zh,equivDD:Oh,eqvparsl:Bh,erarr:Ph,erDot:Ih,escr:Mh,Escr:Nh,esdot:jh,Esim:$h,esim:Uh,Eta:Vh,eta:Hh,ETH:Gh,eth:Zh,Euml:Wh,euml:Yh,euro:Jh,excl:Qh,exist:Xh,Exists:Kh,expectation:ed,exponentiale:td,ExponentialE:rd,fallingdotseq:nd,Fcy:od,fcy:sd,female:cd,ffilig:id,fflig:ad,ffllig:ld,Ffr:ud,ffr:pd,filig:fd,FilledSmallSquare:hd,FilledVerySmallSquare:dd,fjlig:md,flat:gd,fllig:vd,fltns:bd,fnof:kd,Fopf:xd,fopf:_d,forall:yd,ForAll:wd,fork:Cd,forkv:Ad,Fouriertrf:Ed,fpartint:Dd,frac12:qd,frac13:Sd,frac14:Fd,frac15:Td,frac16:Rd,frac18:Ld,frac23:zd,frac25:Od,frac34:Bd,frac35:Pd,frac38:Id,frac45:Md,frac56:Nd,frac58:jd,frac78:$d,frasl:Ud,frown:Vd,fscr:Hd,Fscr:Gd,gacute:Zd,Gamma:Wd,gamma:Yd,Gammad:Jd,gammad:Qd,gap:Xd,Gbreve:Kd,gbreve:em,Gcedil:tm,Gcirc:rm,gcirc:nm,Gcy:om,gcy:sm,Gdot:cm,gdot:im,ge:am,gE:lm,gEl:um,gel:pm,geq:fm,geqq:hm,geqslant:dm,gescc:mm,ges:gm,gesdot:vm,gesdoto:bm,gesdotol:km,gesl:xm,gesles:_m,Gfr:ym,gfr:wm,gg:Cm,Gg:Am,ggg:Em,gimel:Dm,GJcy:qm,gjcy:Sm,gla:Fm,gl:Tm,glE:Rm,glj:Lm,gnap:zm,gnapprox:Om,gne:Bm,gnE:Pm,gneq:Im,gneqq:Mm,gnsim:Nm,Gopf:jm,gopf:$m,grave:Um,GreaterEqual:Vm,GreaterEqualLess:Hm,GreaterFullEqual:Gm,GreaterGreater:Zm,GreaterLess:Wm,GreaterSlantEqual:Ym,GreaterTilde:Jm,Gscr:Qm,gscr:Xm,gsim:Km,gsime:eg,gsiml:tg,gtcc:rg,gtcir:ng,gt:og,GT:sg,Gt:cg,gtdot:ig,gtlPar:ag,gtquest:lg,gtrapprox:ug,gtrarr:pg,gtrdot:fg,gtreqless:hg,gtreqqless:dg,gtrless:mg,gtrsim:gg,gvertneqq:vg,gvnE:bg,Hacek:kg,hairsp:xg,half:_g,hamilt:yg,HARDcy:wg,hardcy:Cg,harrcir:Ag,harr:Eg,hArr:Dg,harrw:qg,Hat:Sg,hbar:Fg,Hcirc:Tg,hcirc:Rg,hearts:Lg,heartsuit:zg,hellip:Og,hercon:Bg,hfr:Pg,Hfr:Ig,HilbertSpace:Mg,hksearow:Ng,hkswarow:jg,hoarr:$g,homtht:Ug,hookleftarrow:Vg,hookrightarrow:Hg,hopf:Gg,Hopf:Zg,horbar:Wg,HorizontalLine:Yg,hscr:Jg,Hscr:Qg,hslash:Xg,Hstrok:Kg,hstrok:ev,HumpDownHump:tv,HumpEqual:rv,hybull:nv,hyphen:ov,Iacute:sv,iacute:cv,ic:iv,Icirc:av,icirc:lv,Icy:uv,icy:pv,Idot:fv,IEcy:hv,iecy:dv,iexcl:mv,iff:gv,ifr:vv,Ifr:bv,Igrave:kv,igrave:xv,ii:_v,iiiint:yv,iiint:wv,iinfin:Cv,iiota:Av,IJlig:Ev,ijlig:Dv,Imacr:qv,imacr:Sv,image:Fv,ImaginaryI:Tv,imagline:Rv,imagpart:Lv,imath:zv,Im:Ov,imof:Bv,imped:Pv,Implies:Iv,incare:Mv,in:"∈",infin:Nv,infintie:jv,inodot:$v,intcal:Uv,int:Vv,Int:Hv,integers:Gv,Integral:Zv,intercal:Wv,Intersection:Yv,intlarhk:Jv,intprod:Qv,InvisibleComma:Xv,InvisibleTimes:Kv,IOcy:eb,iocy:tb,Iogon:rb,iogon:nb,Iopf:ob,iopf:sb,Iota:cb,iota:ib,iprod:ab,iquest:lb,iscr:ub,Iscr:pb,isin:fb,isindot:hb,isinE:db,isins:mb,isinsv:gb,isinv:vb,it:bb,Itilde:kb,itilde:xb,Iukcy:_b,iukcy:yb,Iuml:wb,iuml:Cb,Jcirc:Ab,jcirc:Eb,Jcy:Db,jcy:qb,Jfr:Sb,jfr:Fb,jmath:Tb,Jopf:Rb,jopf:Lb,Jscr:zb,jscr:Ob,Jsercy:Bb,jsercy:Pb,Jukcy:Ib,jukcy:Mb,Kappa:Nb,kappa:jb,kappav:$b,Kcedil:Ub,kcedil:Vb,Kcy:Hb,kcy:Gb,Kfr:Zb,kfr:Wb,kgreen:Yb,KHcy:Jb,khcy:Qb,KJcy:Xb,kjcy:Kb,Kopf:e0,kopf:t0,Kscr:r0,kscr:n0,lAarr:o0,Lacute:s0,lacute:c0,laemptyv:i0,lagran:a0,Lambda:l0,lambda:u0,lang:p0,Lang:f0,langd:h0,langle:d0,lap:m0,Laplacetrf:g0,laquo:v0,larrb:b0,larrbfs:k0,larr:x0,Larr:_0,lArr:y0,larrfs:w0,larrhk:C0,larrlp:A0,larrpl:E0,larrsim:D0,larrtl:q0,latail:S0,lAtail:F0,lat:T0,late:R0,lates:L0,lbarr:z0,lBarr:O0,lbbrk:B0,lbrace:P0,lbrack:I0,lbrke:M0,lbrksld:N0,lbrkslu:j0,Lcaron:$0,lcaron:U0,Lcedil:V0,lcedil:H0,lceil:G0,lcub:Z0,Lcy:W0,lcy:Y0,ldca:J0,ldquo:Q0,ldquor:X0,ldrdhar:K0,ldrushar:ek,ldsh:tk,le:rk,lE:nk,LeftAngleBracket:ok,LeftArrowBar:sk,leftarrow:ck,LeftArrow:ik,Leftarrow:ak,LeftArrowRightArrow:lk,leftarrowtail:uk,LeftCeiling:pk,LeftDoubleBracket:fk,LeftDownTeeVector:hk,LeftDownVectorBar:dk,LeftDownVector:mk,LeftFloor:gk,leftharpoondown:vk,leftharpoonup:bk,leftleftarrows:kk,leftrightarrow:xk,LeftRightArrow:_k,Leftrightarrow:yk,leftrightarrows:wk,leftrightharpoons:Ck,leftrightsquigarrow:Ak,LeftRightVector:Ek,LeftTeeArrow:Dk,LeftTee:qk,LeftTeeVector:Sk,leftthreetimes:Fk,LeftTriangleBar:Tk,LeftTriangle:Rk,LeftTriangleEqual:Lk,LeftUpDownVector:zk,LeftUpTeeVector:Ok,LeftUpVectorBar:Bk,LeftUpVector:Pk,LeftVectorBar:Ik,LeftVector:Mk,lEg:Nk,leg:jk,leq:$k,leqq:Uk,leqslant:Vk,lescc:Hk,les:Gk,lesdot:Zk,lesdoto:Wk,lesdotor:Yk,lesg:Jk,lesges:Qk,lessapprox:Xk,lessdot:Kk,lesseqgtr:ex,lesseqqgtr:tx,LessEqualGreater:rx,LessFullEqual:nx,LessGreater:ox,lessgtr:sx,LessLess:cx,lesssim:ix,LessSlantEqual:ax,LessTilde:lx,lfisht:ux,lfloor:px,Lfr:fx,lfr:hx,lg:dx,lgE:mx,lHar:gx,lhard:vx,lharu:bx,lharul:kx,lhblk:xx,LJcy:_x,ljcy:yx,llarr:wx,ll:Cx,Ll:Ax,llcorner:Ex,Lleftarrow:Dx,llhard:qx,lltri:Sx,Lmidot:Fx,lmidot:Tx,lmoustache:Rx,lmoust:Lx,lnap:zx,lnapprox:Ox,lne:Bx,lnE:Px,lneq:Ix,lneqq:Mx,lnsim:Nx,loang:jx,loarr:$x,lobrk:Ux,longleftarrow:Vx,LongLeftArrow:Hx,Longleftarrow:Gx,longleftrightarrow:Zx,LongLeftRightArrow:Wx,Longleftrightarrow:Yx,longmapsto:Jx,longrightarrow:Qx,LongRightArrow:Xx,Longrightarrow:Kx,looparrowleft:e_,looparrowright:t_,lopar:r_,Lopf:n_,lopf:o_,loplus:s_,lotimes:c_,lowast:i_,lowbar:a_,LowerLeftArrow:l_,LowerRightArrow:u_,loz:p_,lozenge:f_,lozf:h_,lpar:d_,lparlt:m_,lrarr:g_,lrcorner:v_,lrhar:b_,lrhard:k_,lrm:x_,lrtri:__,lsaquo:y_,lscr:w_,Lscr:C_,lsh:A_,Lsh:E_,lsim:D_,lsime:q_,lsimg:S_,lsqb:F_,lsquo:T_,lsquor:R_,Lstrok:L_,lstrok:z_,ltcc:O_,ltcir:B_,lt:P_,LT:I_,Lt:M_,ltdot:N_,lthree:j_,ltimes:$_,ltlarr:U_,ltquest:V_,ltri:H_,ltrie:G_,ltrif:Z_,ltrPar:W_,lurdshar:Y_,luruhar:J_,lvertneqq:Q_,lvnE:X_,macr:K_,male:ey,malt:ty,maltese:ry,Map:"⤅",map:ny,mapsto:oy,mapstodown:sy,mapstoleft:cy,mapstoup:iy,marker:ay,mcomma:ly,Mcy:uy,mcy:py,mdash:fy,mDDot:hy,measuredangle:dy,MediumSpace:my,Mellintrf:gy,Mfr:vy,mfr:by,mho:ky,micro:xy,midast:_y,midcir:yy,mid:wy,middot:Cy,minusb:Ay,minus:Ey,minusd:Dy,minusdu:qy,MinusPlus:Sy,mlcp:Fy,mldr:Ty,mnplus:Ry,models:Ly,Mopf:zy,mopf:Oy,mp:By,mscr:Py,Mscr:Iy,mstpos:My,Mu:Ny,mu:jy,multimap:$y,mumap:Uy,nabla:Vy,Nacute:Hy,nacute:Gy,nang:Zy,nap:Wy,napE:Yy,napid:Jy,napos:Qy,napprox:Xy,natural:Ky,naturals:ew,natur:tw,nbsp:rw,nbump:nw,nbumpe:ow,ncap:sw,Ncaron:cw,ncaron:iw,Ncedil:aw,ncedil:lw,ncong:uw,ncongdot:pw,ncup:fw,Ncy:hw,ncy:dw,ndash:mw,nearhk:gw,nearr:vw,neArr:bw,nearrow:kw,ne:xw,nedot:_w,NegativeMediumSpace:yw,NegativeThickSpace:ww,NegativeThinSpace:Cw,NegativeVeryThinSpace:Aw,nequiv:Ew,nesear:Dw,nesim:qw,NestedGreaterGreater:Sw,NestedLessLess:Fw,NewLine:Tw,nexist:Rw,nexists:Lw,Nfr:zw,nfr:Ow,ngE:Bw,nge:Pw,ngeq:Iw,ngeqq:Mw,ngeqslant:Nw,nges:jw,nGg:$w,ngsim:Uw,nGt:Vw,ngt:Hw,ngtr:Gw,nGtv:Zw,nharr:Ww,nhArr:Yw,nhpar:Jw,ni:Qw,nis:Xw,nisd:Kw,niv:eC,NJcy:tC,njcy:rC,nlarr:nC,nlArr:oC,nldr:sC,nlE:cC,nle:iC,nleftarrow:aC,nLeftarrow:lC,nleftrightarrow:uC,nLeftrightarrow:pC,nleq:fC,nleqq:hC,nleqslant:dC,nles:mC,nless:gC,nLl:vC,nlsim:bC,nLt:kC,nlt:xC,nltri:_C,nltrie:yC,nLtv:wC,nmid:CC,NoBreak:AC,NonBreakingSpace:EC,nopf:DC,Nopf:qC,Not:SC,not:FC,NotCongruent:TC,NotCupCap:RC,NotDoubleVerticalBar:LC,NotElement:zC,NotEqual:OC,NotEqualTilde:BC,NotExists:PC,NotGreater:IC,NotGreaterEqual:MC,NotGreaterFullEqual:NC,NotGreaterGreater:jC,NotGreaterLess:$C,NotGreaterSlantEqual:UC,NotGreaterTilde:VC,NotHumpDownHump:HC,NotHumpEqual:GC,notin:ZC,notindot:WC,notinE:YC,notinva:JC,notinvb:QC,notinvc:XC,NotLeftTriangleBar:KC,NotLeftTriangle:e1,NotLeftTriangleEqual:t1,NotLess:r1,NotLessEqual:n1,NotLessGreater:o1,NotLessLess:s1,NotLessSlantEqual:c1,NotLessTilde:i1,NotNestedGreaterGreater:a1,NotNestedLessLess:l1,notni:u1,notniva:p1,notnivb:f1,notnivc:h1,NotPrecedes:d1,NotPrecedesEqual:m1,NotPrecedesSlantEqual:g1,NotReverseElement:v1,NotRightTriangleBar:b1,NotRightTriangle:k1,NotRightTriangleEqual:x1,NotSquareSubset:_1,NotSquareSubsetEqual:y1,NotSquareSuperset:w1,NotSquareSupersetEqual:C1,NotSubset:A1,NotSubsetEqual:E1,NotSucceeds:D1,NotSucceedsEqual:q1,NotSucceedsSlantEqual:S1,NotSucceedsTilde:F1,NotSuperset:T1,NotSupersetEqual:R1,NotTilde:L1,NotTildeEqual:z1,NotTildeFullEqual:O1,NotTildeTilde:B1,NotVerticalBar:P1,nparallel:I1,npar:M1,nparsl:N1,npart:j1,npolint:$1,npr:U1,nprcue:V1,nprec:H1,npreceq:G1,npre:Z1,nrarrc:W1,nrarr:Y1,nrArr:J1,nrarrw:Q1,nrightarrow:X1,nRightarrow:K1,nrtri:eA,nrtrie:tA,nsc:rA,nsccue:nA,nsce:oA,Nscr:sA,nscr:cA,nshortmid:iA,nshortparallel:aA,nsim:lA,nsime:uA,nsimeq:pA,nsmid:fA,nspar:hA,nsqsube:dA,nsqsupe:mA,nsub:gA,nsubE:vA,nsube:bA,nsubset:kA,nsubseteq:xA,nsubseteqq:_A,nsucc:yA,nsucceq:wA,nsup:CA,nsupE:AA,nsupe:EA,nsupset:DA,nsupseteq:qA,nsupseteqq:SA,ntgl:FA,Ntilde:TA,ntilde:RA,ntlg:LA,ntriangleleft:zA,ntrianglelefteq:OA,ntriangleright:BA,ntrianglerighteq:PA,Nu:IA,nu:MA,num:NA,numero:jA,numsp:$A,nvap:UA,nvdash:VA,nvDash:HA,nVdash:GA,nVDash:ZA,nvge:WA,nvgt:YA,nvHarr:JA,nvinfin:QA,nvlArr:XA,nvle:KA,nvlt:eE,nvltrie:tE,nvrArr:rE,nvrtrie:nE,nvsim:oE,nwarhk:sE,nwarr:cE,nwArr:iE,nwarrow:aE,nwnear:lE,Oacute:uE,oacute:pE,oast:fE,Ocirc:hE,ocirc:dE,ocir:mE,Ocy:gE,ocy:vE,odash:bE,Odblac:kE,odblac:xE,odiv:_E,odot:yE,odsold:wE,OElig:CE,oelig:AE,ofcir:EE,Ofr:DE,ofr:qE,ogon:SE,Ograve:FE,ograve:TE,ogt:RE,ohbar:LE,ohm:zE,oint:OE,olarr:BE,olcir:PE,olcross:IE,oline:ME,olt:NE,Omacr:jE,omacr:$E,Omega:UE,omega:VE,Omicron:HE,omicron:GE,omid:ZE,ominus:WE,Oopf:YE,oopf:JE,opar:QE,OpenCurlyDoubleQuote:XE,OpenCurlyQuote:KE,operp:eD,oplus:tD,orarr:rD,Or:nD,or:oD,ord:sD,order:cD,orderof:iD,ordf:aD,ordm:lD,origof:uD,oror:pD,orslope:fD,orv:hD,oS:dD,Oscr:mD,oscr:gD,Oslash:vD,oslash:bD,osol:kD,Otilde:xD,otilde:_D,otimesas:yD,Otimes:wD,otimes:CD,Ouml:AD,ouml:ED,ovbar:DD,OverBar:qD,OverBrace:SD,OverBracket:FD,OverParenthesis:TD,para:RD,parallel:LD,par:zD,parsim:OD,parsl:BD,part:PD,PartialD:ID,Pcy:MD,pcy:ND,percnt:jD,period:$D,permil:UD,perp:VD,pertenk:HD,Pfr:GD,pfr:ZD,Phi:WD,phi:YD,phiv:JD,phmmat:QD,phone:XD,Pi:KD,pi:eq,pitchfork:tq,piv:rq,planck:nq,planckh:oq,plankv:sq,plusacir:cq,plusb:iq,pluscir:aq,plus:lq,plusdo:uq,plusdu:pq,pluse:fq,PlusMinus:hq,plusmn:dq,plussim:mq,plustwo:gq,pm:vq,Poincareplane:bq,pointint:kq,popf:xq,Popf:_q,pound:yq,prap:wq,Pr:Cq,pr:Aq,prcue:Eq,precapprox:Dq,prec:qq,preccurlyeq:Sq,Precedes:Fq,PrecedesEqual:Tq,PrecedesSlantEqual:Rq,PrecedesTilde:Lq,preceq:zq,precnapprox:Oq,precneqq:Bq,precnsim:Pq,pre:Iq,prE:Mq,precsim:Nq,prime:jq,Prime:$q,primes:Uq,prnap:Vq,prnE:Hq,prnsim:Gq,prod:Zq,Product:Wq,profalar:Yq,profline:Jq,profsurf:Qq,prop:Xq,Proportional:Kq,Proportion:eS,propto:tS,prsim:rS,prurel:nS,Pscr:oS,pscr:sS,Psi:cS,psi:iS,puncsp:aS,Qfr:lS,qfr:uS,qint:pS,qopf:fS,Qopf:hS,qprime:dS,Qscr:mS,qscr:gS,quaternions:vS,quatint:bS,quest:kS,questeq:xS,quot:_S,QUOT:yS,rAarr:wS,race:CS,Racute:AS,racute:ES,radic:DS,raemptyv:qS,rang:SS,Rang:FS,rangd:TS,range:RS,rangle:LS,raquo:zS,rarrap:OS,rarrb:BS,rarrbfs:PS,rarrc:IS,rarr:MS,Rarr:NS,rArr:jS,rarrfs:$S,rarrhk:US,rarrlp:VS,rarrpl:HS,rarrsim:GS,Rarrtl:ZS,rarrtl:WS,rarrw:YS,ratail:JS,rAtail:QS,ratio:XS,rationals:KS,rbarr:eF,rBarr:tF,RBarr:rF,rbbrk:nF,rbrace:oF,rbrack:sF,rbrke:cF,rbrksld:iF,rbrkslu:aF,Rcaron:lF,rcaron:uF,Rcedil:pF,rcedil:fF,rceil:hF,rcub:dF,Rcy:mF,rcy:gF,rdca:vF,rdldhar:bF,rdquo:kF,rdquor:xF,rdsh:_F,real:yF,realine:wF,realpart:CF,reals:AF,Re:EF,rect:DF,reg:qF,REG:SF,ReverseElement:FF,ReverseEquilibrium:TF,ReverseUpEquilibrium:RF,rfisht:LF,rfloor:zF,rfr:OF,Rfr:BF,rHar:PF,rhard:IF,rharu:MF,rharul:NF,Rho:jF,rho:$F,rhov:UF,RightAngleBracket:VF,RightArrowBar:HF,rightarrow:GF,RightArrow:ZF,Rightarrow:WF,RightArrowLeftArrow:YF,rightarrowtail:JF,RightCeiling:QF,RightDoubleBracket:XF,RightDownTeeVector:KF,RightDownVectorBar:eT,RightDownVector:tT,RightFloor:rT,rightharpoondown:nT,rightharpoonup:oT,rightleftarrows:sT,rightleftharpoons:cT,rightrightarrows:iT,rightsquigarrow:aT,RightTeeArrow:lT,RightTee:uT,RightTeeVector:pT,rightthreetimes:fT,RightTriangleBar:hT,RightTriangle:dT,RightTriangleEqual:mT,RightUpDownVector:gT,RightUpTeeVector:vT,RightUpVectorBar:bT,RightUpVector:kT,RightVectorBar:xT,RightVector:_T,ring:yT,risingdotseq:wT,rlarr:CT,rlhar:AT,rlm:ET,rmoustache:DT,rmoust:qT,rnmid:ST,roang:FT,roarr:TT,robrk:RT,ropar:LT,ropf:zT,Ropf:OT,roplus:BT,rotimes:PT,RoundImplies:IT,rpar:MT,rpargt:NT,rppolint:jT,rrarr:$T,Rrightarrow:UT,rsaquo:VT,rscr:HT,Rscr:GT,rsh:ZT,Rsh:WT,rsqb:YT,rsquo:JT,rsquor:QT,rthree:XT,rtimes:KT,rtri:eR,rtrie:tR,rtrif:rR,rtriltri:nR,RuleDelayed:oR,ruluhar:sR,rx:cR,Sacute:iR,sacute:aR,sbquo:lR,scap:uR,Scaron:pR,scaron:fR,Sc:hR,sc:dR,sccue:mR,sce:gR,scE:vR,Scedil:bR,scedil:kR,Scirc:xR,scirc:_R,scnap:yR,scnE:wR,scnsim:CR,scpolint:AR,scsim:ER,Scy:DR,scy:qR,sdotb:SR,sdot:FR,sdote:TR,searhk:RR,searr:LR,seArr:zR,searrow:OR,sect:BR,semi:PR,seswar:IR,setminus:MR,setmn:NR,sext:jR,Sfr:$R,sfr:UR,sfrown:VR,sharp:HR,SHCHcy:GR,shchcy:ZR,SHcy:WR,shcy:YR,ShortDownArrow:JR,ShortLeftArrow:QR,shortmid:XR,shortparallel:KR,ShortRightArrow:e2,ShortUpArrow:t2,shy:r2,Sigma:n2,sigma:o2,sigmaf:s2,sigmav:c2,sim:i2,simdot:a2,sime:l2,simeq:u2,simg:p2,simgE:f2,siml:h2,simlE:d2,simne:m2,simplus:g2,simrarr:v2,slarr:b2,SmallCircle:k2,smallsetminus:x2,smashp:_2,smeparsl:y2,smid:w2,smile:C2,smt:A2,smte:E2,smtes:D2,SOFTcy:q2,softcy:S2,solbar:F2,solb:T2,sol:R2,Sopf:L2,sopf:z2,spades:O2,spadesuit:B2,spar:P2,sqcap:I2,sqcaps:M2,sqcup:N2,sqcups:j2,Sqrt:$2,sqsub:U2,sqsube:V2,sqsubset:H2,sqsubseteq:G2,sqsup:Z2,sqsupe:W2,sqsupset:Y2,sqsupseteq:J2,square:Q2,Square:X2,SquareIntersection:K2,SquareSubset:eL,SquareSubsetEqual:tL,SquareSuperset:rL,SquareSupersetEqual:nL,SquareUnion:oL,squarf:sL,squ:cL,squf:iL,srarr:aL,Sscr:lL,sscr:uL,ssetmn:pL,ssmile:fL,sstarf:hL,Star:dL,star:mL,starf:gL,straightepsilon:vL,straightphi:bL,strns:kL,sub:xL,Sub:_L,subdot:yL,subE:wL,sube:CL,subedot:AL,submult:EL,subnE:DL,subne:qL,subplus:SL,subrarr:FL,subset:TL,Subset:RL,subseteq:LL,subseteqq:zL,SubsetEqual:OL,subsetneq:BL,subsetneqq:PL,subsim:IL,subsub:ML,subsup:NL,succapprox:jL,succ:$L,succcurlyeq:UL,Succeeds:VL,SucceedsEqual:HL,SucceedsSlantEqual:GL,SucceedsTilde:ZL,succeq:WL,succnapprox:YL,succneqq:JL,succnsim:QL,succsim:XL,SuchThat:KL,sum:ez,Sum:tz,sung:rz,sup1:nz,sup2:oz,sup3:sz,sup:cz,Sup:iz,supdot:az,supdsub:lz,supE:uz,supe:pz,supedot:fz,Superset:hz,SupersetEqual:dz,suphsol:mz,suphsub:gz,suplarr:vz,supmult:bz,supnE:kz,supne:xz,supplus:_z,supset:yz,Supset:wz,supseteq:Cz,supseteqq:Az,supsetneq:Ez,supsetneqq:Dz,supsim:qz,supsub:Sz,supsup:Fz,swarhk:Tz,swarr:Rz,swArr:Lz,swarrow:zz,swnwar:Oz,szlig:Bz,Tab:Pz,target:Iz,Tau:Mz,tau:Nz,tbrk:jz,Tcaron:$z,tcaron:Uz,Tcedil:Vz,tcedil:Hz,Tcy:Gz,tcy:Zz,tdot:Wz,telrec:Yz,Tfr:Jz,tfr:Qz,there4:Xz,therefore:Kz,Therefore:eO,Theta:tO,theta:rO,thetasym:nO,thetav:oO,thickapprox:sO,thicksim:cO,ThickSpace:iO,ThinSpace:aO,thinsp:lO,thkap:uO,thksim:pO,THORN:fO,thorn:hO,tilde:dO,Tilde:mO,TildeEqual:gO,TildeFullEqual:vO,TildeTilde:bO,timesbar:kO,timesb:xO,times:_O,timesd:yO,tint:wO,toea:CO,topbot:AO,topcir:EO,top:DO,Topf:qO,topf:SO,topfork:FO,tosa:TO,tprime:RO,trade:LO,TRADE:zO,triangle:OO,triangledown:BO,triangleleft:PO,trianglelefteq:IO,triangleq:MO,triangleright:NO,trianglerighteq:jO,tridot:$O,trie:UO,triminus:VO,TripleDot:HO,triplus:GO,trisb:ZO,tritime:WO,trpezium:YO,Tscr:JO,tscr:QO,TScy:XO,tscy:KO,TSHcy:eB,tshcy:tB,Tstrok:rB,tstrok:nB,twixt:oB,twoheadleftarrow:sB,twoheadrightarrow:cB,Uacute:iB,uacute:aB,uarr:lB,Uarr:uB,uArr:pB,Uarrocir:fB,Ubrcy:hB,ubrcy:dB,Ubreve:mB,ubreve:gB,Ucirc:vB,ucirc:bB,Ucy:kB,ucy:xB,udarr:_B,Udblac:yB,udblac:wB,udhar:CB,ufisht:AB,Ufr:EB,ufr:DB,Ugrave:qB,ugrave:SB,uHar:FB,uharl:TB,uharr:RB,uhblk:LB,ulcorn:zB,ulcorner:OB,ulcrop:BB,ultri:PB,Umacr:IB,umacr:MB,uml:NB,UnderBar:jB,UnderBrace:$B,UnderBracket:UB,UnderParenthesis:VB,Union:HB,UnionPlus:GB,Uogon:ZB,uogon:WB,Uopf:YB,uopf:JB,UpArrowBar:QB,uparrow:XB,UpArrow:KB,Uparrow:eP,UpArrowDownArrow:tP,updownarrow:rP,UpDownArrow:nP,Updownarrow:oP,UpEquilibrium:sP,upharpoonleft:cP,upharpoonright:iP,uplus:aP,UpperLeftArrow:lP,UpperRightArrow:uP,upsi:pP,Upsi:fP,upsih:hP,Upsilon:dP,upsilon:mP,UpTeeArrow:gP,UpTee:vP,upuparrows:bP,urcorn:kP,urcorner:xP,urcrop:_P,Uring:yP,uring:wP,urtri:CP,Uscr:AP,uscr:EP,utdot:DP,Utilde:qP,utilde:SP,utri:FP,utrif:TP,uuarr:RP,Uuml:LP,uuml:zP,uwangle:OP,vangrt:BP,varepsilon:PP,varkappa:IP,varnothing:MP,varphi:NP,varpi:jP,varpropto:$P,varr:UP,vArr:VP,varrho:HP,varsigma:GP,varsubsetneq:ZP,varsubsetneqq:WP,varsupsetneq:YP,varsupsetneqq:JP,vartheta:QP,vartriangleleft:XP,vartriangleright:KP,vBar:eI,Vbar:tI,vBarv:rI,Vcy:nI,vcy:oI,vdash:sI,vDash:cI,Vdash:iI,VDash:aI,Vdashl:lI,veebar:uI,vee:pI,Vee:fI,veeeq:hI,vellip:dI,verbar:mI,Verbar:gI,vert:vI,Vert:bI,VerticalBar:kI,VerticalLine:xI,VerticalSeparator:_I,VerticalTilde:yI,VeryThinSpace:wI,Vfr:CI,vfr:AI,vltri:EI,vnsub:DI,vnsup:qI,Vopf:SI,vopf:FI,vprop:TI,vrtri:RI,Vscr:LI,vscr:zI,vsubnE:OI,vsubne:BI,vsupnE:PI,vsupne:II,Vvdash:MI,vzigzag:NI,Wcirc:jI,wcirc:$I,wedbar:UI,wedge:VI,Wedge:HI,wedgeq:GI,weierp:ZI,Wfr:WI,wfr:YI,Wopf:JI,wopf:QI,wp:XI,wr:KI,wreath:eM,Wscr:tM,wscr:rM,xcap:nM,xcirc:oM,xcup:sM,xdtri:cM,Xfr:iM,xfr:aM,xharr:lM,xhArr:uM,Xi:pM,xi:fM,xlarr:hM,xlArr:dM,xmap:mM,xnis:gM,xodot:vM,Xopf:bM,xopf:kM,xoplus:xM,xotime:_M,xrarr:yM,xrArr:wM,Xscr:CM,xscr:AM,xsqcup:EM,xuplus:DM,xutri:qM,xvee:SM,xwedge:FM,Yacute:TM,yacute:RM,YAcy:LM,yacy:zM,Ycirc:OM,ycirc:BM,Ycy:PM,ycy:IM,yen:MM,Yfr:NM,yfr:jM,YIcy:$M,yicy:UM,Yopf:VM,yopf:HM,Yscr:GM,yscr:ZM,YUcy:WM,yucy:YM,yuml:JM,Yuml:QM,Zacute:XM,zacute:KM,Zcaron:eN,zcaron:tN,Zcy:rN,zcy:nN,Zdot:oN,zdot:sN,zeetrf:cN,ZeroWidthSpace:iN,Zeta:aN,zeta:lN,zfr:uN,Zfr:pN,ZHcy:fN,zhcy:hN,zigrarr:dN,zopf:mN,Zopf:gN,Zscr:vN,zscr:bN,zwj:kN,zwnj:xN};(function(r){r.exports=_N})(At);var Et=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,be={},or={};function yN(r){var e,t,n=or[r];if(n)return n;for(n=or[r]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?n.push(t):n.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<r.length;e++)n[r.charCodeAt(e)]=r[e];return n}function Ze(r,e,t){var n,o,s,a,c,i="";for(typeof e!="string"&&(t=e,e=Ze.defaultChars),typeof t>"u"&&(t=!0),c=yN(e),n=0,o=r.length;n<o;n++){if(s=r.charCodeAt(n),t&&s===37&&n+2<o&&/^[0-9a-f]{2}$/i.test(r.slice(n+1,n+3))){i+=r.slice(n,n+3),n+=2;continue}if(s<128){i+=c[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<o&&(a=r.charCodeAt(n+1),a>=56320&&a<=57343)){i+=encodeURIComponent(r[n]+r[n+1]),n++;continue}i+="%EF%BF%BD";continue}i+=encodeURIComponent(r[n])}return i}Ze.defaultChars=";/?:@&=+$,-_.!~*'()#";Ze.componentChars="-_.!~*'()";var wN=Ze,sr={};function CN(r){var e,t,n=sr[r];if(n)return n;for(n=sr[r]=[],e=0;e<128;e++)t=String.fromCharCode(e),n.push(t);for(e=0;e<r.length;e++)t=r.charCodeAt(e),n[t]="%"+("0"+t.toString(16).toUpperCase()).slice(-2);return n}function We(r,e){var t;return typeof e!="string"&&(e=We.defaultChars),t=CN(e),r.replace(/(%[a-f0-9]{2})+/gi,function(n){var o,s,a,c,i,l,u,h="";for(o=0,s=n.length;o<s;o+=3){if(a=parseInt(n.slice(o+1,o+3),16),a<128){h+=t[a];continue}if((a&224)===192&&o+3<s&&(c=parseInt(n.slice(o+4,o+6),16),(c&192)===128)){u=a<<6&1984|c&63,u<128?h+="��":h+=String.fromCharCode(u),o+=3;continue}if((a&240)===224&&o+6<s&&(c=parseInt(n.slice(o+4,o+6),16),i=parseInt(n.slice(o+7,o+9),16),(c&192)===128&&(i&192)===128)){u=a<<12&61440|c<<6&4032|i&63,u<2048||u>=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((a&248)===240&&o+9<s&&(c=parseInt(n.slice(o+4,o+6),16),i=parseInt(n.slice(o+7,o+9),16),l=parseInt(n.slice(o+10,o+12),16),(c&192)===128&&(i&192)===128&&(l&192)===128)){u=a<<18&1835008|c<<12&258048|i<<6&4032|l&63,u<65536||u>1114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}We.defaultChars=";/?:@&=+$,#";We.componentChars="";var AN=We,EN=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t};function Ve(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var DN=/^([a-z0-9.+-]+:)/i,qN=/:[0-9]*$/,SN=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,FN=["<",">",'"',"`"," ","\r",` +`," "],TN=["{","}","|","\\","^","`"].concat(FN),RN=["'"].concat(TN),cr=["%","/","?",";","#"].concat(RN),ir=["/","?","#"],LN=255,ar=/^[+a-z0-9A-Z_-]{0,63}$/,zN=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,lr={javascript:!0,"javascript:":!0},ur={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ON(r,e){if(r&&r instanceof Ve)return r;var t=new Ve;return t.parse(r,e),t}Ve.prototype.parse=function(r,e){var t,n,o,s,a,c=r;if(c=c.trim(),!e&&r.split("#").length===1){var i=SN.exec(c);if(i)return this.pathname=i[1],i[2]&&(this.search=i[2]),this}var l=DN.exec(c);if(l&&(l=l[0],o=l.toLowerCase(),this.protocol=l,c=c.substr(l.length)),(e||l||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=c.substr(0,2)==="//",a&&!(l&&lr[l])&&(c=c.substr(2),this.slashes=!0)),!lr[l]&&(a||l&&!ur[l])){var u=-1;for(t=0;t<ir.length;t++)s=c.indexOf(ir[t]),s!==-1&&(u===-1||s<u)&&(u=s);var h,f;for(u===-1?f=c.lastIndexOf("@"):f=c.lastIndexOf("@",u),f!==-1&&(h=c.slice(0,f),c=c.slice(f+1),this.auth=h),u=-1,t=0;t<cr.length;t++)s=c.indexOf(cr[t]),s!==-1&&(u===-1||s<u)&&(u=s);u===-1&&(u=c.length),c[u-1]===":"&&u--;var p=c.slice(0,u);c=c.slice(u),this.parseHost(p),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var d=this.hostname.split(/\./);for(t=0,n=d.length;t<n;t++){var k=d[t];if(!!k&&!k.match(ar)){for(var b="",v=0,y=k.length;v<y;v++)k.charCodeAt(v)>127?b+="x":b+=k[v];if(!b.match(ar)){var x=d.slice(0,t),w=d.slice(t+1),m=k.match(zN);m&&(x.push(m[1]),w.unshift(m[2])),w.length&&(c=w.join(".")+c),this.hostname=x.join(".");break}}}}this.hostname.length>LN&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=c.indexOf("#");C!==-1&&(this.hash=c.substr(C),c=c.slice(0,C));var q=c.indexOf("?");return q!==-1&&(this.search=c.substr(q),c=c.slice(0,q)),c&&(this.pathname=c),ur[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ve.prototype.parseHost=function(r){var e=qN.exec(r);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};var BN=ON;be.encode=wN;be.decode=AN;be.format=EN;be.parse=BN;var oe={},it,pr;function Xr(){return pr||(pr=1,it=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),it}var at,fr;function Kr(){return fr||(fr=1,at=/[\0-\x1F\x7F-\x9F]/),at}var lt,hr;function PN(){return hr||(hr=1,lt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),lt}var ut,dr;function en(){return dr||(dr=1,ut=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),ut}var mr;function IN(){return mr||(mr=1,oe.Any=Xr(),oe.Cc=Kr(),oe.Cf=PN(),oe.P=Et,oe.Z=en()),oe}(function(r){function e(_){return Object.prototype.toString.call(_)}function t(_){return e(_)==="[object String]"}var n=Object.prototype.hasOwnProperty;function o(_,F){return n.call(_,F)}function s(_){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(E){if(!!E){if(typeof E!="object")throw new TypeError(E+"must be object");Object.keys(E).forEach(function(L){_[L]=E[L]})}}),_}function a(_,F,E){return[].concat(_.slice(0,F),E,_.slice(F+1))}function c(_){return!(_>=55296&&_<=57343||_>=64976&&_<=65007||(_&65535)===65535||(_&65535)===65534||_>=0&&_<=8||_===11||_>=14&&_<=31||_>=127&&_<=159||_>1114111)}function i(_){if(_>65535){_-=65536;var F=55296+(_>>10),E=56320+(_&1023);return String.fromCharCode(F,E)}return String.fromCharCode(_)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(l.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=At.exports;function g(_,F){var E=0;return o(p,F)?p[F]:F.charCodeAt(0)===35&&f.test(F)&&(E=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),c(E))?i(E):_}function d(_){return _.indexOf("\\")<0?_:_.replace(l,"$1")}function k(_){return _.indexOf("\\")<0&&_.indexOf("&")<0?_:_.replace(h,function(F,E,L){return E||g(F,L)})}var b=/[&<>"]/,v=/[&<>"]/g,y={"&":"&","<":"<",">":">",'"':"""};function x(_){return y[_]}function w(_){return b.test(_)?_.replace(v,x):_}var m=/[.?*+^$[\]\\(){}|-]/g;function C(_){return _.replace(m,"\\$&")}function q(_){switch(_){case 9:case 32:return!0}return!1}function T(_){if(_>=8192&&_<=8202)return!0;switch(_){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var A=Et;function D(_){return A.test(_)}function z(_){switch(_){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function R(_){return _=_.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(_=_.replace(/ẞ/g,"ß")),_.toLowerCase().toUpperCase()}r.lib={},r.lib.mdurl=be,r.lib.ucmicro=IN(),r.assign=s,r.isString=t,r.has=o,r.unescapeMd=d,r.unescapeAll=k,r.isValidEntityCode=c,r.fromCodePoint=i,r.escapeHtml=w,r.arrayReplaceAt=a,r.isSpace=q,r.isWhiteSpace=T,r.isMdAsciiPunct=z,r.isPunctChar=D,r.escapeRE=C,r.normalizeReference=R})(S);var Ye={},MN=function(e,t,n){var o,s,a,c,i=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,o=1;e.pos<l;){if(a=e.src.charCodeAt(e.pos),a===93&&(o--,o===0)){s=!0;break}if(c=e.pos,e.md.inline.skipToken(e),a===91){if(c===e.pos-1)o++;else if(n)return e.pos=u,-1}}return s&&(i=e.pos),e.pos=u,i},gr=S.unescapeAll,NN=function(e,t,n){var o,s,a=0,c=t,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(t)===60){for(t++;t<n;){if(o=e.charCodeAt(t),o===10||o===60)return i;if(o===62)return i.pos=t+1,i.str=gr(e.slice(c+1,t)),i.ok=!0,i;if(o===92&&t+1<n){t+=2;continue}t++}return i}for(s=0;t<n&&(o=e.charCodeAt(t),!(o===32||o<32||o===127));){if(o===92&&t+1<n){if(e.charCodeAt(t+1)===32)break;t+=2;continue}if(o===40&&(s++,s>32))return i;if(o===41){if(s===0)break;s--}t++}return c===t||s!==0||(i.str=gr(e.slice(c,t)),i.lines=a,i.pos=t,i.ok=!0),i},jN=S.unescapeAll,$N=function(e,t,n){var o,s,a=0,c=t,i={ok:!1,pos:0,lines:0,str:""};if(t>=n||(s=e.charCodeAt(t),s!==34&&s!==39&&s!==40))return i;for(t++,s===40&&(s=41);t<n;){if(o=e.charCodeAt(t),o===s)return i.pos=t+1,i.lines=a,i.str=jN(e.slice(c+1,t)),i.ok=!0,i;if(o===40&&s===41)return i;o===10?a++:o===92&&t+1<n&&(t++,e.charCodeAt(t)===10&&a++),t++}return i};Ye.parseLinkLabel=MN;Ye.parseLinkDestination=NN;Ye.parseLinkTitle=$N;var UN=S.assign,VN=S.unescapeAll,le=S.escapeHtml,W={};W.code_inline=function(r,e,t,n,o){var s=r[e];return"<code"+o.renderAttrs(s)+">"+le(r[e].content)+"</code>"};W.code_block=function(r,e,t,n,o){var s=r[e];return"<pre"+o.renderAttrs(s)+"><code>"+le(r[e].content)+`</code></pre> +`};W.fence=function(r,e,t,n,o){var s=r[e],a=s.info?VN(s.info).trim():"",c="",i="",l,u,h,f,p;return a&&(h=a.split(/(\s+)/g),c=h[0],i=h.slice(2).join("")),t.highlight?l=t.highlight(s.content,c,i)||le(s.content):l=le(s.content),l.indexOf("<pre")===0?l+` +`:a?(u=s.attrIndex("class"),f=s.attrs?s.attrs.slice():[],u<0?f.push(["class",t.langPrefix+c]):(f[u]=f[u].slice(),f[u][1]+=" "+t.langPrefix+c),p={attrs:f},"<pre><code"+o.renderAttrs(p)+">"+l+`</code></pre> +`):"<pre><code"+o.renderAttrs(s)+">"+l+`</code></pre> +`};W.image=function(r,e,t,n,o){var s=r[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,t,n),o.renderToken(r,e,t)};W.hardbreak=function(r,e,t){return t.xhtmlOut?`<br /> +`:`<br> +`};W.softbreak=function(r,e,t){return t.breaks?t.xhtmlOut?`<br /> +`:`<br> +`:` +`};W.text=function(r,e){return le(r[e].content)};W.html_block=function(r,e){return r[e].content};W.html_inline=function(r,e){return r[e].content};function ke(){this.rules=UN({},W)}ke.prototype.renderAttrs=function(e){var t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t<n;t++)o+=" "+le(e.attrs[t][0])+'="'+le(e.attrs[t][1])+'"';return o};ke.prototype.renderToken=function(e,t,n){var o,s="",a=!1,c=e[t];return c.hidden?"":(c.block&&c.nesting!==-1&&t&&e[t-1].hidden&&(s+=` +`),s+=(c.nesting===-1?"</":"<")+c.tag,s+=this.renderAttrs(c),c.nesting===0&&n.xhtmlOut&&(s+=" /"),c.block&&(a=!0,c.nesting===1&&t+1<e.length&&(o=e[t+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===c.tag)&&(a=!1))),s+=a?`> +`:">",s)};ke.prototype.renderInline=function(r,e,t){for(var n,o="",s=this.rules,a=0,c=r.length;a<c;a++)n=r[a].type,typeof s[n]<"u"?o+=s[n](r,a,e,t,this):o+=this.renderToken(r,a,e);return o};ke.prototype.renderInlineAsText=function(r,e,t){for(var n="",o=0,s=r.length;o<s;o++)r[o].type==="text"?n+=r[o].content:r[o].type==="image"?n+=this.renderInlineAsText(r[o].children,e,t):r[o].type==="softbreak"&&(n+=` +`);return n};ke.prototype.render=function(r,e,t){var n,o,s,a="",c=this.rules;for(n=0,o=r.length;n<o;n++)s=r[n].type,s==="inline"?a+=this.renderInline(r[n].children,e,t):typeof c[s]<"u"?a+=c[r[n].type](r,n,e,t,this):a+=this.renderToken(r,n,e,t);return a};var HN=ke;function U(){this.__rules__=[],this.__cache__=null}U.prototype.__find__=function(r){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===r)return e;return-1};U.prototype.__compile__=function(){var r=this,e=[""];r.__rules__.forEach(function(t){!t.enabled||t.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),r.__cache__={},e.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(n){!n.enabled||t&&n.alt.indexOf(t)<0||r.__cache__[t].push(n.fn)})})};U.prototype.at=function(r,e,t){var n=this.__find__(r),o=t||{};if(n===-1)throw new Error("Parser rule not found: "+r);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null};U.prototype.before=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};U.prototype.after=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};U.prototype.push=function(r,e,t){var n=t||{};this.__rules__.push({name:r,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};U.prototype.enable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!0,t.push(n)},this),this.__cache__=null,t};U.prototype.enableOnly=function(r,e){Array.isArray(r)||(r=[r]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(r,e)};U.prototype.disable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!1,t.push(n)},this),this.__cache__=null,t};U.prototype.getRules=function(r){return this.__cache__===null&&this.__compile__(),this.__cache__[r]||[]};var Dt=U,GN=/\r\n?|\n/g,ZN=/\0/g,WN=function(e){var t;t=e.src.replace(GN,` +`),t=t.replace(ZN,"�"),e.src=t},YN=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},JN=function(e){var t=e.tokens,n,o,s;for(o=0,s=t.length;o<s;o++)n=t[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)},QN=S.arrayReplaceAt;function XN(r){return/^<a[>\s]/i.test(r)}function KN(r){return/^<\/a\s*>/i.test(r)}var e3=function(e){var t,n,o,s,a,c,i,l,u,h,f,p,g,d,k,b,v=e.tokens,y;if(!!e.md.options.linkify){for(n=0,o=v.length;n<o;n++)if(!(v[n].type!=="inline"||!e.md.linkify.pretest(v[n].content)))for(s=v[n].children,g=0,t=s.length-1;t>=0;t--){if(c=s[t],c.type==="link_close"){for(t--;s[t].level!==c.level&&s[t].type!=="link_open";)t--;continue}if(c.type==="html_inline"&&(XN(c.content)&&g>0&&g--,KN(c.content)&&g++),!(g>0)&&c.type==="text"&&e.md.linkify.test(c.content)){for(u=c.content,y=e.md.linkify.match(u),i=[],p=c.level,f=0,y.length>0&&y[0].index===0&&t>0&&s[t-1].type==="text_special"&&(y=y.slice(1)),l=0;l<y.length;l++)d=y[l].url,k=e.md.normalizeLink(d),e.md.validateLink(k)&&(b=y[l].text,y[l].schema?y[l].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),h=y[l].index,h>f&&(a=new e.Token("text","",0),a.content=u.slice(f,h),a.level=p,i.push(a)),a=new e.Token("link_open","a",1),a.attrs=[["href",k]],a.level=p++,a.markup="linkify",a.info="auto",i.push(a),a=new e.Token("text","",0),a.content=b,a.level=p,i.push(a),a=new e.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",i.push(a),f=y[l].lastIndex);f<u.length&&(a=new e.Token("text","",0),a.content=u.slice(f),a.level=p,i.push(a)),v[n].children=s=QN(s,t,i)}}}},tn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,t3=/\((c|tm|r)\)/i,r3=/\((c|tm|r)\)/ig,n3={c:"©",r:"®",tm:"™"};function o3(r,e){return n3[e.toLowerCase()]}function s3(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&(t.content=t.content.replace(r3,o3)),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}function c3(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&tn.test(t.content)&&(t.content=t.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}var i3=function(e){var t;if(!!e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(t3.test(e.tokens[t].content)&&s3(e.tokens[t].children),tn.test(e.tokens[t].content)&&c3(e.tokens[t].children))},vr=S.isWhiteSpace,br=S.isPunctChar,kr=S.isMdAsciiPunct,a3=/['"]/,xr=/['"]/g,_r="’";function Me(r,e,t){return r.slice(0,e)+t+r.slice(e+1)}function l3(r,e){var t,n,o,s,a,c,i,l,u,h,f,p,g,d,k,b,v,y,x,w,m;for(x=[],t=0;t<r.length;t++){for(n=r[t],i=r[t].level,v=x.length-1;v>=0&&!(x[v].level<=i);v--);if(x.length=v+1,n.type!=="text")continue;o=n.content,a=0,c=o.length;e:for(;a<c&&(xr.lastIndex=a,s=xr.exec(o),!!s);){if(k=b=!0,a=s.index+1,y=s[0]==="'",u=32,s.index-1>=0)u=o.charCodeAt(s.index-1);else for(v=t-1;v>=0&&!(r[v].type==="softbreak"||r[v].type==="hardbreak");v--)if(!!r[v].content){u=r[v].content.charCodeAt(r[v].content.length-1);break}if(h=32,a<c)h=o.charCodeAt(a);else for(v=t+1;v<r.length&&!(r[v].type==="softbreak"||r[v].type==="hardbreak");v++)if(!!r[v].content){h=r[v].content.charCodeAt(0);break}if(f=kr(u)||br(String.fromCharCode(u)),p=kr(h)||br(String.fromCharCode(h)),g=vr(u),d=vr(h),d?k=!1:p&&(g||f||(k=!1)),g?b=!1:f&&(d||p||(b=!1)),h===34&&s[0]==='"'&&u>=48&&u<=57&&(b=k=!1),k&&b&&(k=f,b=p),!k&&!b){y&&(n.content=Me(n.content,s.index,_r));continue}if(b){for(v=x.length-1;v>=0&&(l=x[v],!(x[v].level<i));v--)if(l.single===y&&x[v].level===i){l=x[v],y?(w=e.md.options.quotes[2],m=e.md.options.quotes[3]):(w=e.md.options.quotes[0],m=e.md.options.quotes[1]),n.content=Me(n.content,s.index,m),r[l.token].content=Me(r[l.token].content,l.pos,w),a+=m.length-1,l.token===t&&(a+=w.length-1),o=n.content,c=o.length,x.length=v;continue e}}k?x.push({token:t,pos:s.index,single:y,level:i}):b&&y&&(n.content=Me(n.content,s.index,_r))}}}var u3=function(e){var t;if(!!e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!a3.test(e.tokens[t].content)||l3(e.tokens[t].children,e)},p3=function(e){var t,n,o,s,a,c,i=e.tokens;for(t=0,n=i.length;t<n;t++)if(i[t].type==="inline"){for(o=i[t].children,a=o.length,s=0;s<a;s++)o[s].type==="text_special"&&(o[s].type="text");for(s=c=0;s<a;s++)o[s].type==="text"&&s+1<a&&o[s+1].type==="text"?o[s+1].content=o[s].content+o[s+1].content:(s!==c&&(o[c]=o[s]),c++);s!==c&&(o.length=c)}};function xe(r,e,t){this.type=r,this.tag=e,this.attrs=null,this.map=null,this.nesting=t,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}xe.prototype.attrIndex=function(e){var t,n,o;if(!this.attrs)return-1;for(t=this.attrs,n=0,o=t.length;n<o;n++)if(t[n][0]===e)return n;return-1};xe.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};xe.prototype.attrSet=function(e,t){var n=this.attrIndex(e),o=[e,t];n<0?this.attrPush(o):this.attrs[n]=o};xe.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n};xe.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};var qt=xe,f3=qt;function rn(r,e,t){this.src=r,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=e}rn.prototype.Token=f3;var h3=rn,d3=Dt,pt=[["normalize",WN],["block",YN],["inline",JN],["linkify",e3],["replacements",i3],["smartquotes",u3],["text_join",p3]];function St(){this.ruler=new d3;for(var r=0;r<pt.length;r++)this.ruler.push(pt[r][0],pt[r][1])}St.prototype.process=function(r){var e,t,n;for(n=this.ruler.getRules(""),e=0,t=n.length;e<t;e++)n[e](r)};St.prototype.State=h3;var m3=St,ft=S.isSpace;function ht(r,e){var t=r.bMarks[e]+r.tShift[e],n=r.eMarks[e];return r.src.slice(t,n)}function yr(r){var e=[],t=0,n=r.length,o,s=!1,a=0,c="";for(o=r.charCodeAt(t);t<n;)o===124&&(s?(c+=r.substring(a,t-1),a=t):(e.push(c+r.substring(a,t)),c="",a=t+1)),s=o===92,t++,o=r.charCodeAt(t);return e.push(c+r.substring(a)),e}var g3=function(e,t,n,o){var s,a,c,i,l,u,h,f,p,g,d,k,b,v,y,x,w,m;if(t+2>n||(u=t+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(c=e.bMarks[u]+e.tShift[u],c>=e.eMarks[u])||(w=e.src.charCodeAt(c++),w!==124&&w!==45&&w!==58)||c>=e.eMarks[u]||(m=e.src.charCodeAt(c++),m!==124&&m!==45&&m!==58&&!ft(m))||w===45&&ft(m))return!1;for(;c<e.eMarks[u];){if(s=e.src.charCodeAt(c),s!==124&&s!==45&&s!==58&&!ft(s))return!1;c++}for(a=ht(e,t+1),h=a.split("|"),g=[],i=0;i<h.length;i++){if(d=h[i].trim(),!d){if(i===0||i===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(d))return!1;d.charCodeAt(d.length-1)===58?g.push(d.charCodeAt(0)===58?"center":"right"):d.charCodeAt(0)===58?g.push("left"):g.push("")}if(a=ht(e,t).trim(),a.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4||(h=yr(a),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==g.length))return!1;if(o)return!0;for(v=e.parentType,e.parentType="table",x=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=k=[t,0],p=e.push("thead_open","thead",1),p.map=[t,t+1],p=e.push("tr_open","tr",1),p.map=[t,t+1],i=0;i<h.length;i++)p=e.push("th_open","th",1),g[i]&&(p.attrs=[["style","text-align:"+g[i]]]),p=e.push("inline","",0),p.content=h[i].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),u=t+2;u<n&&!(e.sCount[u]<e.blkIndent);u++){for(y=!1,i=0,l=x.length;i<l;i++)if(x[i](e,u,n,!0)){y=!0;break}if(y||(a=ht(e,u).trim(),!a)||e.sCount[u]-e.blkIndent>=4)break;for(h=yr(a),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===t+2&&(p=e.push("tbody_open","tbody",1),p.map=b=[t+2,0]),p=e.push("tr_open","tr",1),p.map=[u,u+1],i=0;i<f;i++)p=e.push("td_open","td",1),g[i]&&(p.attrs=[["style","text-align:"+g[i]]]),p=e.push("inline","",0),p.content=h[i]?h[i].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return b&&(p=e.push("tbody_close","tbody",-1),b[1]=u),p=e.push("table_close","table",-1),k[1]=u,e.parentType=v,e.line=u,!0},v3=function(e,t,n){var o,s,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(s=o=t+1;o<n;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,s=o;continue}break}return e.line=s,a=e.push("code_block","code",0),a.content=e.getLines(t,s,4+e.blkIndent,!1)+` +`,a.map=[t,e.line],!0},b3=function(e,t,n,o){var s,a,c,i,l,u,h,f=!1,p=e.bMarks[t]+e.tShift[t],g=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||p+3>g||(s=e.src.charCodeAt(p),s!==126&&s!==96)||(l=p,p=e.skipChars(p,s),a=p-l,a<3)||(h=e.src.slice(l,p),c=e.src.slice(p,g),s===96&&c.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(i=t;i++,!(i>=n||(p=l=e.bMarks[i]+e.tShift[i],g=e.eMarks[i],p<g&&e.sCount[i]<e.blkIndent));)if(e.src.charCodeAt(p)===s&&!(e.sCount[i]-e.blkIndent>=4)&&(p=e.skipChars(p,s),!(p-l<a)&&(p=e.skipSpaces(p),!(p<g)))){f=!0;break}return a=e.sCount[t],e.line=i+(f?1:0),u=e.push("fence","code",0),u.info=c,u.content=e.getLines(t+1,i,a,!0),u.markup=h,u.map=[t,e.line],!0},wr=S.isSpace,k3=function(e,t,n,o){var s,a,c,i,l,u,h,f,p,g,d,k,b,v,y,x,w,m,C,q,T=e.lineMax,A=e.bMarks[t]+e.tShift[t],D=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(A++)!==62)return!1;if(o)return!0;for(i=p=e.sCount[t]+1,e.src.charCodeAt(A)===32?(A++,i++,p++,s=!1,x=!0):e.src.charCodeAt(A)===9?(x=!0,(e.bsCount[t]+p)%4===3?(A++,i++,p++,s=!1):s=!0):x=!1,g=[e.bMarks[t]],e.bMarks[t]=A;A<D&&(a=e.src.charCodeAt(A),wr(a));){a===9?p+=4-(p+e.bsCount[t]+(s?1:0))%4:p++;A++}for(d=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(x?1:0),u=A>=D,v=[e.sCount[t]],e.sCount[t]=p-i,y=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],m=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",f=t+1;f<n&&(q=e.sCount[f]<e.blkIndent,A=e.bMarks[f]+e.tShift[f],D=e.eMarks[f],!(A>=D));f++){if(e.src.charCodeAt(A++)===62&&!q){for(i=p=e.sCount[f]+1,e.src.charCodeAt(A)===32?(A++,i++,p++,s=!1,x=!0):e.src.charCodeAt(A)===9?(x=!0,(e.bsCount[f]+p)%4===3?(A++,i++,p++,s=!1):s=!0):x=!1,g.push(e.bMarks[f]),e.bMarks[f]=A;A<D&&(a=e.src.charCodeAt(A),wr(a));){a===9?p+=4-(p+e.bsCount[f]+(s?1:0))%4:p++;A++}u=A>=D,d.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(x?1:0),v.push(e.sCount[f]),e.sCount[f]=p-i,y.push(e.tShift[f]),e.tShift[f]=A-e.bMarks[f];continue}if(u)break;for(w=!1,c=0,l=m.length;c<l;c++)if(m[c](e,f,n,!0)){w=!0;break}if(w){e.lineMax=f,e.blkIndent!==0&&(g.push(e.bMarks[f]),d.push(e.bsCount[f]),y.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}g.push(e.bMarks[f]),d.push(e.bsCount[f]),y.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}for(k=e.blkIndent,e.blkIndent=0,C=e.push("blockquote_open","blockquote",1),C.markup=">",C.map=h=[t,0],e.md.block.tokenize(e,t,f),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=T,e.parentType=b,h[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=g[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=d[c];return e.blkIndent=k,!0},x3=S.isSpace,_3=function(e,t,n,o){var s,a,c,i,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(l++),s!==42&&s!==45&&s!==95))return!1;for(a=1;l<u;){if(c=e.src.charCodeAt(l++),c!==s&&!x3(c))return!1;c===s&&a++}return a<3?!1:(o||(e.line=t+1,i=e.push("hr","hr",0),i.map=[t,e.line],i.markup=Array(a+1).join(String.fromCharCode(s))),!0)},nn=S.isSpace;function Cr(r,e){var t,n,o,s;return n=r.bMarks[e]+r.tShift[e],o=r.eMarks[e],t=r.src.charCodeAt(n++),t!==42&&t!==45&&t!==43||n<o&&(s=r.src.charCodeAt(n),!nn(s))?-1:n}function Ar(r,e){var t,n=r.bMarks[e]+r.tShift[e],o=n,s=r.eMarks[e];if(o+1>=s||(t=r.src.charCodeAt(o++),t<48||t>57))return-1;for(;;){if(o>=s)return-1;if(t=r.src.charCodeAt(o++),t>=48&&t<=57){if(o-n>=10)return-1;continue}if(t===41||t===46)break;return-1}return o<s&&(t=r.src.charCodeAt(o),!nn(t))?-1:o}function y3(r,e){var t,n,o=r.level+2;for(t=e+2,n=r.tokens.length-2;t<n;t++)r.tokens[t].level===o&&r.tokens[t].type==="paragraph_open"&&(r.tokens[t+2].hidden=!0,r.tokens[t].hidden=!0,t+=2)}var w3=function(e,t,n,o){var s,a,c,i,l,u,h,f,p,g,d,k,b,v,y,x,w,m,C,q,T,A,D,z,R,_,F,E,L=!1,ee=!0;if(e.sCount[t]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[t]>=e.blkIndent&&(L=!0),(D=Ar(e,t))>=0){if(h=!0,R=e.bMarks[t]+e.tShift[t],b=Number(e.src.slice(R,D-1)),L&&b!==1)return!1}else if((D=Cr(e,t))>=0)h=!1;else return!1;if(L&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(k=e.src.charCodeAt(D-1),o)return!0;for(d=e.tokens.length,h?(E=e.push("ordered_list_open","ol",1),b!==1&&(E.attrs=[["start",b]])):E=e.push("bullet_list_open","ul",1),E.map=g=[t,0],E.markup=String.fromCharCode(k),y=t,z=!1,F=e.md.block.ruler.getRules("list"),m=e.parentType,e.parentType="list";y<n;){for(A=D,v=e.eMarks[y],u=x=e.sCount[y]+D-(e.bMarks[t]+e.tShift[t]);A<v;){if(s=e.src.charCodeAt(A),s===9)x+=4-(x+e.bsCount[y])%4;else if(s===32)x++;else break;A++}if(a=A,a>=v?l=1:l=x-u,l>4&&(l=1),i=u+l,E=e.push("list_item_open","li",1),E.markup=String.fromCharCode(k),E.map=f=[t,0],h&&(E.info=e.src.slice(R,D-1)),T=e.tight,q=e.tShift[t],C=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=i,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=x,a>=v&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),(!e.tight||z)&&(ee=!1),z=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=q,e.sCount[t]=C,e.tight=T,E=e.push("list_item_close","li",-1),E.markup=String.fromCharCode(k),y=t=e.line,f[1]=y,a=e.bMarks[t],y>=n||e.sCount[y]<e.blkIndent||e.sCount[t]-e.blkIndent>=4)break;for(_=!1,c=0,p=F.length;c<p;c++)if(F[c](e,y,n,!0)){_=!0;break}if(_)break;if(h){if(D=Ar(e,y),D<0)break;R=e.bMarks[y]+e.tShift[y]}else if(D=Cr(e,y),D<0)break;if(k!==e.src.charCodeAt(D-1))break}return h?E=e.push("ordered_list_close","ol",-1):E=e.push("bullet_list_close","ul",-1),E.markup=String.fromCharCode(k),g[1]=y,e.line=y,e.parentType=m,ee&&y3(e,d),!0},C3=S.normalizeReference,Ne=S.isSpace,A3=function(e,t,n,o){var s,a,c,i,l,u,h,f,p,g,d,k,b,v,y,x,w=0,m=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],q=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(m)!==91)return!1;for(;++m<C;)if(e.src.charCodeAt(m)===93&&e.src.charCodeAt(m-1)!==92){if(m+1===C||e.src.charCodeAt(m+1)!==58)return!1;break}for(i=e.lineMax,y=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";q<i&&!e.isEmpty(q);q++)if(!(e.sCount[q]-e.blkIndent>3)&&!(e.sCount[q]<0)){for(v=!1,u=0,h=y.length;u<h;u++)if(y[u](e,q,i,!0)){v=!0;break}if(v)break}for(b=e.getLines(t,q,e.blkIndent,!1).trim(),C=b.length,m=1;m<C;m++){if(s=b.charCodeAt(m),s===91)return!1;if(s===93){p=m;break}else s===10?w++:s===92&&(m++,m<C&&b.charCodeAt(m)===10&&w++)}if(p<0||b.charCodeAt(p+1)!==58)return!1;for(m=p+2;m<C;m++)if(s=b.charCodeAt(m),s===10)w++;else if(!Ne(s))break;if(d=e.md.helpers.parseLinkDestination(b,m,C),!d.ok||(l=e.md.normalizeLink(d.str),!e.md.validateLink(l)))return!1;for(m=d.pos,w+=d.lines,a=m,c=w,k=m;m<C;m++)if(s=b.charCodeAt(m),s===10)w++;else if(!Ne(s))break;for(d=e.md.helpers.parseLinkTitle(b,m,C),m<C&&k!==m&&d.ok?(x=d.str,m=d.pos,w+=d.lines):(x="",m=a,w=c);m<C&&(s=b.charCodeAt(m),!!Ne(s));)m++;if(m<C&&b.charCodeAt(m)!==10&&x)for(x="",m=a,w=c;m<C&&(s=b.charCodeAt(m),!!Ne(s));)m++;return m<C&&b.charCodeAt(m)!==10||(f=C3(b.slice(1,p)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:x,href:l}),e.parentType=g,e.line=t+w+1),!0)},E3=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Je={},D3="[a-zA-Z_:][a-zA-Z0-9:._-]*",q3="[^\"'=<>`\\x00-\\x20]+",S3="'[^']*'",F3='"[^"]*"',T3="(?:"+q3+"|"+S3+"|"+F3+")",R3="(?:\\s+"+D3+"(?:\\s*=\\s*"+T3+")?)",on="<[A-Za-z][A-Za-z0-9\\-]*"+R3+"*\\s*\\/?>",sn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",L3="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",z3="<[?][\\s\\S]*?[?]>",O3="<![A-Z]+\\s+[^>]*>",B3="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",P3=new RegExp("^(?:"+on+"|"+sn+"|"+L3+"|"+z3+"|"+O3+"|"+B3+")"),I3=new RegExp("^(?:"+on+"|"+sn+")");Je.HTML_TAG_RE=P3;Je.HTML_OPEN_CLOSE_TAG_RE=I3;var M3=E3,N3=Je.HTML_OPEN_CLOSE_TAG_RE,fe=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+M3.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(N3.source+"\\s*$"),/^$/,!1]],j3=function(e,t,n,o){var s,a,c,i,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(i=e.src.slice(l,u),s=0;s<fe.length&&!fe[s][0].test(i);s++);if(s===fe.length)return!1;if(o)return fe[s][2];if(a=t+1,!fe[s][1].test(i)){for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],i=e.src.slice(l,u),fe[s][1].test(i)){i.length!==0&&a++;break}}return e.line=a,c=e.push("html_block","",0),c.map=[t,a],c.content=e.getLines(t,a,e.blkIndent,!0),!0},Er=S.isSpace,$3=function(e,t,n,o){var s,a,c,i,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(l),s!==35||l>=u))return!1;for(a=1,s=e.src.charCodeAt(++l);s===35&&l<u&&a<=6;)a++,s=e.src.charCodeAt(++l);return a>6||l<u&&!Er(s)?!1:(o||(u=e.skipSpacesBack(u,l),c=e.skipCharsBack(u,35,l),c>l&&Er(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,i=e.push("heading_open","h"+String(a),1),i.markup="########".slice(0,a),i.map=[t,e.line],i=e.push("inline","",0),i.content=e.src.slice(l,u).trim(),i.map=[t,e.line],i.children=[],i=e.push("heading_close","h"+String(a),-1),i.markup="########".slice(0,a)),!0)},U3=function(e,t,n){var o,s,a,c,i,l,u,h,f,p=t+1,g,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";p<n&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],l<u&&(f=e.src.charCodeAt(l),(f===45||f===61)&&(l=e.skipChars(l,f),l=e.skipSpaces(l),l>=u)))){h=f===61?1:2;break}if(!(e.sCount[p]<0)){for(s=!1,a=0,c=d.length;a<c;a++)if(d[a](e,p,n,!0)){s=!0;break}if(s)break}}return h?(o=e.getLines(t,p,e.blkIndent,!1).trim(),e.line=p+1,i=e.push("heading_open","h"+String(h),1),i.markup=String.fromCharCode(f),i.map=[t,e.line],i=e.push("inline","",0),i.content=o,i.map=[t,e.line-1],i.children=[],i=e.push("heading_close","h"+String(h),-1),i.markup=String.fromCharCode(f),e.parentType=g,!0):!1},V3=function(e,t){var n,o,s,a,c,i,l=t+1,u=e.md.block.ruler.getRules("paragraph"),h=e.lineMax;for(i=e.parentType,e.parentType="paragraph";l<h&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(o=!1,s=0,a=u.length;s<a;s++)if(u[s](e,l,h,!0)){o=!0;break}if(o)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,c=e.push("paragraph_open","p",1),c.map=[t,e.line],c=e.push("inline","",0),c.content=n,c.map=[t,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=i,!0},cn=qt,Qe=S.isSpace;function Y(r,e,t,n){var o,s,a,c,i,l,u,h;for(this.src=r,this.md=e,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",s=this.src,h=!1,a=c=l=u=0,i=s.length;c<i;c++){if(o=s.charCodeAt(c),!h)if(Qe(o)){l++,o===9?u+=4-u%4:u++;continue}else h=!0;(o===10||c===i-1)&&(o!==10&&c++,this.bMarks.push(a),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),h=!1,l=0,u=0,a=c+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Y.prototype.push=function(r,e,t){var n=new cn(r,e,t);return n.block=!0,t<0&&this.level--,n.level=this.level,t>0&&this.level++,this.tokens.push(n),n};Y.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Y.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Y.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),!!Qe(t));e++);return e};Y.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Qe(this.src.charCodeAt(--e)))return e+1;return e};Y.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e};Y.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Y.prototype.getLines=function(e,t,n,o){var s,a,c,i,l,u,h,f=e;if(e>=t)return"";for(u=new Array(t-e),s=0;f<t;f++,s++){for(a=0,h=i=this.bMarks[f],f+1<t||o?l=this.eMarks[f]+1:l=this.eMarks[f];i<l&&a<n;){if(c=this.src.charCodeAt(i),Qe(c))c===9?a+=4-(a+this.bsCount[f])%4:a++;else if(i-h<this.tShift[f])a++;else break;i++}a>n?u[s]=new Array(a-n+1).join(" ")+this.src.slice(i,l):u[s]=this.src.slice(i,l)}return u.join("")};Y.prototype.Token=cn;var H3=Y,G3=Dt,je=[["table",g3,["paragraph","reference"]],["code",v3],["fence",b3,["paragraph","reference","blockquote","list"]],["blockquote",k3,["paragraph","reference","blockquote","list"]],["hr",_3,["paragraph","reference","blockquote","list"]],["list",w3,["paragraph","reference","blockquote"]],["reference",A3],["html_block",j3,["paragraph","reference","blockquote"]],["heading",$3,["paragraph","reference","blockquote"]],["lheading",U3],["paragraph",V3]];function Xe(){this.ruler=new G3;for(var r=0;r<je.length;r++)this.ruler.push(je[r][0],je[r][1],{alt:(je[r][2]||[]).slice()})}Xe.prototype.tokenize=function(r,e,t){for(var n,o,s=this.ruler.getRules(""),a=s.length,c=e,i=!1,l=r.md.options.maxNesting;c<t&&(r.line=c=r.skipEmptyLines(c),!(c>=t||r.sCount[c]<r.blkIndent));){if(r.level>=l){r.line=t;break}for(o=0;o<a&&(n=s[o](r,c,t,!1),!n);o++);r.tight=!i,r.isEmpty(r.line-1)&&(i=!0),c=r.line,c<t&&r.isEmpty(c)&&(i=!0,c++,r.line=c)}};Xe.prototype.parse=function(r,e,t,n){var o;!r||(o=new this.State(r,e,t,n),this.tokenize(o,o.line,o.lineMax))};Xe.prototype.State=H3;var Z3=Xe;function W3(r){switch(r){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var Y3=function(e,t){for(var n=e.pos;n<e.posMax&&!W3(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)},J3=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Q3=function(e,t){var n,o,s,a,c,i,l,u;return!e.md.options.linkify||e.linkLevel>0||(n=e.pos,o=e.posMax,n+3>o)||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47||(s=e.pending.match(J3),!s)||(a=s[1],c=e.md.linkify.matchAtStart(e.src.slice(n-a.length)),!c)||(i=c.url,i=i.replace(/\*+$/,""),l=e.md.normalizeLink(i),!e.md.validateLink(l))?!1:(t||(e.pending=e.pending.slice(0,-a.length),u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(i),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=i.length-a.length,!0)},X3=S.isSpace,K3=function(e,t){var n,o,s,a=e.pos;if(e.src.charCodeAt(a)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(s=n-1;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(a++;a<o&&X3(e.src.charCodeAt(a));)a++;return e.pos=a,!0},ej=S.isSpace,Ft=[];for(var Dr=0;Dr<256;Dr++)Ft.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){Ft[r.charCodeAt(0)]=1});var tj=function(e,t){var n,o,s,a,c,i=e.pos,l=e.posMax;if(e.src.charCodeAt(i)!==92||(i++,i>=l))return!1;if(n=e.src.charCodeAt(i),n===10){for(t||e.push("hardbreak","br",0),i++;i<l&&(n=e.src.charCodeAt(i),!!ej(n));)i++;return e.pos=i,!0}return a=e.src[i],n>=55296&&n<=56319&&i+1<l&&(o=e.src.charCodeAt(i+1),o>=56320&&o<=57343&&(a+=e.src[i+1],i++)),s="\\"+a,t||(c=e.push("text_special","",0),n<256&&Ft[n]!==0?c.content=a:c.content=s,c.markup=s,c.info="escape"),e.pos=i+1,!0},rj=function(e,t){var n,o,s,a,c,i,l,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(n=h,h++,o=e.posMax;h<o&&e.src.charCodeAt(h)===96;)h++;if(s=e.src.slice(n,h),l=s.length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=s),e.pos+=l,!0;for(c=i=h;(c=e.src.indexOf("`",i))!==-1;){for(i=c+1;i<o&&e.src.charCodeAt(i)===96;)i++;if(u=i-c,u===l)return t||(a=e.push("code_inline","code",0),a.markup=s,a.content=e.src.slice(h,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=i,!0;e.backticks[u]=c}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=l,!0},Ke={};Ke.tokenize=function(e,t){var n,o,s,a,c,i=e.pos,l=e.src.charCodeAt(i);if(t||l!==126||(o=e.scanDelims(e.pos,!0),a=o.length,c=String.fromCharCode(l),a<2))return!1;for(a%2&&(s=e.push("text","",0),s.content=c,a--),n=0;n<a;n+=2)s=e.push("text","",0),s.content=c+c,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function qr(r,e){var t,n,o,s,a,c=[],i=e.length;for(t=0;t<i;t++)o=e[t],o.marker===126&&o.end!==-1&&(s=e[o.end],a=r.tokens[o.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=r.tokens[s.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="",r.tokens[s.token-1].type==="text"&&r.tokens[s.token-1].content==="~"&&c.push(s.token-1));for(;c.length;){for(t=c.pop(),n=t+1;n<r.tokens.length&&r.tokens[n].type==="s_close";)n++;n--,t!==n&&(a=r.tokens[n],r.tokens[n]=r.tokens[t],r.tokens[t]=a)}}Ke.postProcess=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(qr(e,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&qr(e,n[t].delimiters)};var et={};et.tokenize=function(e,t){var n,o,s,a=e.pos,c=e.src.charCodeAt(a);if(t||c!==95&&c!==42)return!1;for(o=e.scanDelims(e.pos,c===42),n=0;n<o.length;n++)s=e.push("text","",0),s.content=String.fromCharCode(c),e.delimiters.push({marker:c,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function Sr(r,e){var t,n,o,s,a,c,i=e.length;for(t=i-1;t>=0;t--)n=e[t],!(n.marker!==95&&n.marker!==42)&&n.end!==-1&&(o=e[n.end],c=t>0&&e[t-1].end===n.end+1&&e[t-1].marker===n.marker&&e[t-1].token===n.token-1&&e[n.end+1].token===o.token+1,a=String.fromCharCode(n.marker),s=r.tokens[n.token],s.type=c?"strong_open":"em_open",s.tag=c?"strong":"em",s.nesting=1,s.markup=c?a+a:a,s.content="",s=r.tokens[o.token],s.type=c?"strong_close":"em_close",s.tag=c?"strong":"em",s.nesting=-1,s.markup=c?a+a:a,s.content="",c&&(r.tokens[e[t-1].token].content="",r.tokens[e[n.end+1].token].content="",t--))}et.postProcess=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(Sr(e,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&Sr(e,n[t].delimiters)};var nj=S.normalizeReference,dt=S.isSpace,oj=function(e,t){var n,o,s,a,c,i,l,u,h,f="",p="",g=e.pos,d=e.posMax,k=e.pos,b=!0;if(e.src.charCodeAt(e.pos)!==91||(c=e.pos+1,a=e.md.helpers.parseLinkLabel(e,e.pos,!0),a<0))return!1;if(i=a+1,i<d&&e.src.charCodeAt(i)===40){for(b=!1,i++;i<d&&(o=e.src.charCodeAt(i),!(!dt(o)&&o!==10));i++);if(i>=d)return!1;if(k=i,l=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),l.ok){for(f=e.md.normalizeLink(l.str),e.md.validateLink(f)?i=l.pos:f="",k=i;i<d&&(o=e.src.charCodeAt(i),!(!dt(o)&&o!==10));i++);if(l=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&k!==i&&l.ok)for(p=l.str,i=l.pos;i<d&&(o=e.src.charCodeAt(i),!(!dt(o)&&o!==10));i++);}(i>=d||e.src.charCodeAt(i)!==41)&&(b=!0),i++}if(b){if(typeof e.env.references>"u")return!1;if(i<d&&e.src.charCodeAt(i)===91?(k=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?s=e.src.slice(k,i++):i=a+1):i=a+1,s||(s=e.src.slice(c,a)),u=e.env.references[nj(s)],!u)return e.pos=g,!1;f=u.href,p=u.title}return t||(e.pos=c,e.posMax=a,h=e.push("link_open","a",1),h.attrs=n=[["href",f]],p&&n.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=i,e.posMax=d,!0},sj=S.normalizeReference,mt=S.isSpace,cj=function(e,t){var n,o,s,a,c,i,l,u,h,f,p,g,d,k="",b=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(i=e.pos+2,c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),c<0))return!1;if(l=c+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(o=e.src.charCodeAt(l),!(!mt(o)&&o!==10));l++);if(l>=v)return!1;for(d=l,h=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),h.ok&&(k=e.md.normalizeLink(h.str),e.md.validateLink(k)?l=h.pos:k=""),d=l;l<v&&(o=e.src.charCodeAt(l),!(!mt(o)&&o!==10));l++);if(h=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&d!==l&&h.ok)for(f=h.str,l=h.pos;l<v&&(o=e.src.charCodeAt(l),!(!mt(o)&&o!==10));l++);else f="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=b,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(d=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?a=e.src.slice(d,l++):l=c+1):l=c+1,a||(a=e.src.slice(i,c)),u=e.env.references[sj(a)],!u)return e.pos=b,!1;k=u.href,f=u.title}return t||(s=e.src.slice(i,c),e.md.inline.parse(s,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=n=[["src",k],["alt",""]],p.children=g,p.content=s,f&&n.push(["title",f])),e.pos=l,e.posMax=v,!0},ij=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,aj=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,lj=function(e,t){var n,o,s,a,c,i,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(c=e.pos,i=e.posMax;;){if(++l>=i||(a=e.src.charCodeAt(l),a===60))return!1;if(a===62)break}return n=e.src.slice(c+1,l),aj.test(n)?(o=e.md.normalizeLink(n),e.md.validateLink(o)?(t||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):ij.test(n)?(o=e.md.normalizeLink("mailto:"+n),e.md.validateLink(o)?(t||(s=e.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=e.push("text","",0),s.content=e.md.normalizeLinkText(n),s=e.push("link_close","a",-1),s.markup="autolink",s.info="auto"),e.pos+=n.length+2,!0):!1):!1},uj=Je.HTML_TAG_RE;function pj(r){return/^<a[>\s]/i.test(r)}function fj(r){return/^<\/a\s*>/i.test(r)}function hj(r){var e=r|32;return e>=97&&e<=122}var dj=function(e,t){var n,o,s,a,c=e.pos;return!e.md.options.html||(s=e.posMax,e.src.charCodeAt(c)!==60||c+2>=s)||(n=e.src.charCodeAt(c+1),n!==33&&n!==63&&n!==47&&!hj(n))||(o=e.src.slice(c).match(uj),!o)?!1:(t||(a=e.push("html_inline","",0),a.content=e.src.slice(c,c+o[0].length),pj(a.content)&&e.linkLevel++,fj(a.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Fr=At.exports,mj=S.has,gj=S.isValidEntityCode,Tr=S.fromCodePoint,vj=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bj=/^&([a-z][a-z0-9]{1,31});/i,kj=function(e,t){var n,o,s,a,c=e.pos,i=e.posMax;if(e.src.charCodeAt(c)!==38||c+1>=i)return!1;if(n=e.src.charCodeAt(c+1),n===35){if(s=e.src.slice(c).match(vj),s)return t||(o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),a=e.push("text_special","",0),a.content=gj(o)?Tr(o):Tr(65533),a.markup=s[0],a.info="entity"),e.pos+=s[0].length,!0}else if(s=e.src.slice(c).match(bj),s&&mj(Fr,s[1]))return t||(a=e.push("text_special","",0),a.content=Fr[s[1]],a.markup=s[0],a.info="entity"),e.pos+=s[0].length,!0;return!1};function Rr(r,e){var t,n,o,s,a,c,i,l,u={},h=e.length;if(!!h){var f=0,p=-2,g=[];for(t=0;t<h;t++)if(o=e[t],g.push(0),(e[f].marker!==o.marker||p!==o.token-1)&&(f=t),p=o.token,o.length=o.length||0,!!o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),a=u[o.marker][(o.open?3:0)+o.length%3],n=f-g[f]-1,c=n;n>a;n-=g[n]+1)if(s=e[n],s.marker===o.marker&&s.open&&s.end<0&&(i=!1,(s.close||o.open)&&(s.length+o.length)%3===0&&(s.length%3!==0||o.length%3!==0)&&(i=!0),!i)){l=n>0&&!e[n-1].open?g[n-1]+1:0,g[t]=t-n+l,g[n]=l,o.open=!1,s.end=t,s.close=!1,c=-1,p=-2;break}c!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=c)}}}var xj=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(Rr(e,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&Rr(e,n[t].delimiters)},_j=function(e){var t,n,o=0,s=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)s[t].nesting<0&&o--,s[t].level=o,s[t].nesting>0&&o++,s[t].type==="text"&&t+1<a&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==n&&(s[n]=s[t]),n++);t!==n&&(s.length=n)},Tt=qt,Lr=S.isWhiteSpace,zr=S.isPunctChar,Or=S.isMdAsciiPunct;function Fe(r,e,t,n){this.src=r,this.env=t,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Fe.prototype.pushPending=function(){var r=new Tt("text","",0);return r.content=this.pending,r.level=this.pendingLevel,this.tokens.push(r),this.pending="",r};Fe.prototype.push=function(r,e,t){this.pending&&this.pushPending();var n=new Tt(r,e,t),o=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n};Fe.prototype.scanDelims=function(r,e){var t=r,n,o,s,a,c,i,l,u,h,f=!0,p=!0,g=this.posMax,d=this.src.charCodeAt(r);for(n=r>0?this.src.charCodeAt(r-1):32;t<g&&this.src.charCodeAt(t)===d;)t++;return s=t-r,o=t<g?this.src.charCodeAt(t):32,l=Or(n)||zr(String.fromCharCode(n)),h=Or(o)||zr(String.fromCharCode(o)),i=Lr(n),u=Lr(o),u?f=!1:h&&(i||l||(f=!1)),i?p=!1:l&&(u||h||(p=!1)),e?(a=f,c=p):(a=f&&(!p||l),c=p&&(!f||h)),{can_open:a,can_close:c,length:s}};Fe.prototype.Token=Tt;var yj=Fe,Br=Dt,gt=[["text",Y3],["linkify",Q3],["newline",K3],["escape",tj],["backticks",rj],["strikethrough",Ke.tokenize],["emphasis",et.tokenize],["link",oj],["image",cj],["autolink",lj],["html_inline",dj],["entity",kj]],vt=[["balance_pairs",xj],["strikethrough",Ke.postProcess],["emphasis",et.postProcess],["fragments_join",_j]];function Te(){var r;for(this.ruler=new Br,r=0;r<gt.length;r++)this.ruler.push(gt[r][0],gt[r][1]);for(this.ruler2=new Br,r=0;r<vt.length;r++)this.ruler2.push(vt[r][0],vt[r][1])}Te.prototype.skipToken=function(r){var e,t,n=r.pos,o=this.ruler.getRules(""),s=o.length,a=r.md.options.maxNesting,c=r.cache;if(typeof c[n]<"u"){r.pos=c[n];return}if(r.level<a)for(t=0;t<s&&(r.level++,e=o[t](r,!0),r.level--,!e);t++);else r.pos=r.posMax;e||r.pos++,c[n]=r.pos};Te.prototype.tokenize=function(r){for(var e,t,n=this.ruler.getRules(""),o=n.length,s=r.posMax,a=r.md.options.maxNesting;r.pos<s;){if(r.level<a)for(t=0;t<o&&(e=n[t](r,!1),!e);t++);if(e){if(r.pos>=s)break;continue}r.pending+=r.src[r.pos++]}r.pending&&r.pushPending()};Te.prototype.parse=function(r,e,t,n){var o,s,a,c=new this.State(r,e,t,n);for(this.tokenize(c),s=this.ruler2.getRules(""),a=s.length,o=0;o<a;o++)s[o](c)};Te.prototype.State=yj;var wj=Te,bt,Pr;function Cj(){return Pr||(Pr=1,bt=function(r){var e={};r=r||{},e.src_Any=Xr().source,e.src_Cc=Kr().source,e.src_Z=en().source,e.src_P=Et.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var t="[><|]";return e.src_pseudo_letter="(?:(?!"+t+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+t+"|"+e.src_ZPCc+")(?!"+(r["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(r["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),bt}function _t(r){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){!t||Object.keys(t).forEach(function(n){r[n]=t[n]})}),r}function tt(r){return Object.prototype.toString.call(r)}function Aj(r){return tt(r)==="[object String]"}function Ej(r){return tt(r)==="[object Object]"}function Dj(r){return tt(r)==="[object RegExp]"}function Ir(r){return tt(r)==="[object Function]"}function qj(r){return r.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var an={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Sj(r){return Object.keys(r||{}).reduce(function(e,t){return e||an.hasOwnProperty(t)},!1)}var Fj={"http:":{validate:function(r,e,t){var n=r.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(r,e,t){var n=r.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?e>=3&&r[e-3]===":"||e>=3&&r[e-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(r,e,t){var n=r.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},Tj="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Rj="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Lj(r){r.__index__=-1,r.__text_cache__=""}function zj(r){return function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}}function Mr(){return function(r,e){e.normalize(r)}}function He(r){var e=r.re=Cj()(r.__opts__),t=r.__tlds__.slice();r.onCompile(),r.__tlds_replaced__||t.push(Tj),t.push(e.src_xn),e.src_tlds=t.join("|");function n(c){return c.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var o=[];r.__compiled__={};function s(c,i){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+i)}Object.keys(r.__schemas__).forEach(function(c){var i=r.__schemas__[c];if(i!==null){var l={validate:null,link:null};if(r.__compiled__[c]=l,Ej(i)){Dj(i.validate)?l.validate=zj(i.validate):Ir(i.validate)?l.validate=i.validate:s(c,i),Ir(i.normalize)?l.normalize=i.normalize:i.normalize?s(c,i):l.normalize=Mr();return}if(Aj(i)){o.push(c);return}s(c,i)}}),o.forEach(function(c){!r.__compiled__[r.__schemas__[c]]||(r.__compiled__[c].validate=r.__compiled__[r.__schemas__[c]].validate,r.__compiled__[c].normalize=r.__compiled__[r.__schemas__[c]].normalize)}),r.__compiled__[""]={validate:null,normalize:Mr()};var a=Object.keys(r.__compiled__).filter(function(c){return c.length>0&&r.__compiled__[c]}).map(qj).join("|");r.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","i"),r.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+a+")","ig"),r.re.schema_at_start=RegExp("^"+r.re.schema_search.source,"i"),r.re.pretest=RegExp("("+r.re.schema_test.source+")|("+r.re.host_fuzzy_test.source+")|@","i"),Lj(r)}function Oj(r,e){var t=r.__index__,n=r.__last_index__,o=r.__text_cache__.slice(t,n);this.schema=r.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=n+e,this.raw=o,this.text=o,this.url=o}function yt(r,e){var t=new Oj(r,e);return r.__compiled__[t.schema].normalize(t,r),t}function P(r,e){if(!(this instanceof P))return new P(r,e);e||Sj(r)&&(e=r,r={}),this.__opts__=_t({},an,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_t({},Fj,r),this.__compiled__={},this.__tlds__=Rj,this.__tlds_replaced__=!1,this.re={},He(this)}P.prototype.add=function(e,t){return this.__schemas__[e]=t,He(this),this};P.prototype.set=function(e){return this.__opts__=_t(this.__opts__,e),this};P.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,o,s,a,c,i,l,u;if(this.re.schema_test.test(e)){for(i=this.re.schema_search,i.lastIndex=0;(t=i.exec(e))!==null;)if(s=this.testSchemaAt(e,t[2],i.lastIndex),s){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(a=o.index+o[1].length,c=o.index+o[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=c))),this.__index__>=0};P.prototype.pretest=function(e){return this.re.pretest.test(e)};P.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0};P.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(yt(this,t)),t=this.__last_index__);for(var o=t?e.slice(t):e;this.test(o);)n.push(yt(this,t)),o=o.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null};P.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,yt(this,0)):null};P.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,o,s){return n!==s[o-1]}).reverse(),He(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,He(this),this)};P.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};P.prototype.onCompile=function(){};var Bj=P;const he=2147483647,V=36,Rt=1,De=26,Pj=38,Ij=700,ln=72,un=128,pn="-",Mj=/^xn--/,Nj=/[^\0-\x7E]/,jj=/[\x2E\u3002\uFF0E\uFF61]/g,$j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},kt=V-Rt,H=Math.floor,xt=String.fromCharCode;function ce(r){throw new RangeError($j[r])}function Uj(r,e){const t=[];let n=r.length;for(;n--;)t[n]=e(r[n]);return t}function fn(r,e){const t=r.split("@");let n="";t.length>1&&(n=t[0]+"@",r=t[1]),r=r.replace(jj,".");const o=r.split("."),s=Uj(o,e).join(".");return n+s}function Lt(r){const e=[];let t=0;const n=r.length;for(;t<n;){const o=r.charCodeAt(t++);if(o>=55296&&o<=56319&&t<n){const s=r.charCodeAt(t++);(s&64512)==56320?e.push(((o&1023)<<10)+(s&1023)+65536):(e.push(o),t--)}else e.push(o)}return e}const hn=r=>String.fromCodePoint(...r),Vj=function(r){return r-48<10?r-22:r-65<26?r-65:r-97<26?r-97:V},Nr=function(r,e){return r+22+75*(r<26)-((e!=0)<<5)},dn=function(r,e,t){let n=0;for(r=t?H(r/Ij):r>>1,r+=H(r/e);r>kt*De>>1;n+=V)r=H(r/kt);return H(n+(kt+1)*r/(r+Pj))},zt=function(r){const e=[],t=r.length;let n=0,o=un,s=ln,a=r.lastIndexOf(pn);a<0&&(a=0);for(let c=0;c<a;++c)r.charCodeAt(c)>=128&&ce("not-basic"),e.push(r.charCodeAt(c));for(let c=a>0?a+1:0;c<t;){let i=n;for(let u=1,h=V;;h+=V){c>=t&&ce("invalid-input");const f=Vj(r.charCodeAt(c++));(f>=V||f>H((he-n)/u))&&ce("overflow"),n+=f*u;const p=h<=s?Rt:h>=s+De?De:h-s;if(f<p)break;const g=V-p;u>H(he/g)&&ce("overflow"),u*=g}const l=e.length+1;s=dn(n-i,l,i==0),H(n/l)>he-o&&ce("overflow"),o+=H(n/l),n%=l,e.splice(n++,0,o)}return String.fromCodePoint(...e)},Ot=function(r){const e=[];r=Lt(r);let t=r.length,n=un,o=0,s=ln;for(const i of r)i<128&&e.push(xt(i));let a=e.length,c=a;for(a&&e.push(pn);c<t;){let i=he;for(const u of r)u>=n&&u<i&&(i=u);const l=c+1;i-n>H((he-o)/l)&&ce("overflow"),o+=(i-n)*l,n=i;for(const u of r)if(u<n&&++o>he&&ce("overflow"),u==n){let h=o;for(let f=V;;f+=V){const p=f<=s?Rt:f>=s+De?De:f-s;if(h<p)break;const g=h-p,d=V-p;e.push(xt(Nr(p+g%d,0))),h=H(g/d)}e.push(xt(Nr(h,0))),s=dn(o,l,c==a),o=0,++c}++o,++n}return e.join("")},mn=function(r){return fn(r,function(e){return Mj.test(e)?zt(e.slice(4).toLowerCase()):e})},gn=function(r){return fn(r,function(e){return Nj.test(e)?"xn--"+Ot(e):e})},Hj={version:"2.1.0",ucs2:{decode:Lt,encode:hn},decode:zt,encode:Ot,toASCII:gn,toUnicode:mn},Gj=Object.freeze(Object.defineProperty({__proto__:null,ucs2decode:Lt,ucs2encode:hn,decode:zt,encode:Ot,toASCII:gn,toUnicode:mn,default:Hj},Symbol.toStringTag,{value:"Module"})),Zj=zn(Gj);var Wj={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Yj={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},Jj={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Ce=S,Qj=Ye,Xj=HN,Kj=m3,e$=Z3,t$=wj,r$=Bj,ie=be,vn=Zj,n$={default:Wj,zero:Yj,commonmark:Jj},o$=/^(vbscript|javascript|file|data):/,s$=/^data:image\/(gif|png|jpeg|webp);/;function c$(r){var e=r.trim().toLowerCase();return o$.test(e)?!!s$.test(e):!0}var bn=["http:","https:","mailto:"];function i$(r){var e=ie.parse(r,!0);if(e.hostname&&(!e.protocol||bn.indexOf(e.protocol)>=0))try{e.hostname=vn.toASCII(e.hostname)}catch{}return ie.encode(ie.format(e))}function a$(r){var e=ie.parse(r,!0);if(e.hostname&&(!e.protocol||bn.indexOf(e.protocol)>=0))try{e.hostname=vn.toUnicode(e.hostname)}catch{}return ie.decode(ie.format(e),ie.decode.defaultChars+"%")}function M(r,e){if(!(this instanceof M))return new M(r,e);e||Ce.isString(r)||(e=r||{},r="default"),this.inline=new t$,this.block=new e$,this.core=new Kj,this.renderer=new Xj,this.linkify=new r$,this.validateLink=c$,this.normalizeLink=i$,this.normalizeLinkText=a$,this.utils=Ce,this.helpers=Ce.assign({},Qj),this.options={},this.configure(r),e&&this.set(e)}M.prototype.set=function(r){return Ce.assign(this.options,r),this};M.prototype.configure=function(r){var e=this,t;if(Ce.isString(r)&&(t=r,r=n$[t],!r))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!r)throw new Error("Wrong `markdown-it` preset, can't be empty");return r.options&&e.set(r.options),r.components&&Object.keys(r.components).forEach(function(n){r.components[n].rules&&e[n].ruler.enableOnly(r.components[n].rules),r.components[n].rules2&&e[n].ruler2.enableOnly(r.components[n].rules2)}),this};M.prototype.enable=function(r,e){var t=[];Array.isArray(r)||(r=[r]),["core","block","inline"].forEach(function(o){t=t.concat(this[o].ruler.enable(r,!0))},this),t=t.concat(this.inline.ruler2.enable(r,!0));var n=r.filter(function(o){return t.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};M.prototype.disable=function(r,e){var t=[];Array.isArray(r)||(r=[r]),["core","block","inline"].forEach(function(o){t=t.concat(this[o].ruler.disable(r,!0))},this),t=t.concat(this.inline.ruler2.disable(r,!0));var n=r.filter(function(o){return t.indexOf(o)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};M.prototype.use=function(r){var e=[this].concat(Array.prototype.slice.call(arguments,1));return r.apply(r,e),this};M.prototype.parse=function(r,e){if(typeof r!="string")throw new Error("Input data should be a String");var t=new this.core.State(r,this,e);return this.core.process(t),t.tokens};M.prototype.render=function(r,e){return e=e||{},this.renderer.render(this.parse(r,e),this.options,e)};M.prototype.parseInline=function(r,e){var t=new this.core.State(r,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens};M.prototype.renderInline=function(r,e){return e=e||{},this.renderer.render(this.parseInline(r,e),this.options,e)};var l$=M;(function(r){r.exports=l$})(Qr);const DU=On(Qr.exports),u$=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","诺基亚","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];function qU(r){function e(n,o){if(n.test(o)){const s=o.match(n);return s?s[0].length:0}return 0}function t(n){return(o,s)=>{const a=o.slice(s);return e(n,a)}}r.linkify.set({fuzzyLink:!0,fuzzyEmail:!1,fuzzyIP:!1}).tlds(u$).tlds("onion",!0).add("ac",{validate:t(/\d+/),normalize(n){n.url=`https://www.acfun.cn/v/${n.url}`}}).add("av",{validate:t(/\d+/),normalize(n){n.url=`https://www.bilibili.com/video/${n.url}`}}).add("bv",{validate:t(/[a-zA-Z0-9]+/),normalize(n){n.url=`https://www.bilibili.com/video/${n.url}`}}).add("sm",{validate:t(/\d+/),normalize(n){n.url=`https://www.nicovideo.jp/watch/${n.url}`}}).add("youtube-",{validate:t(/[-\w]+/),normalize(n){n.url=`https://www.youtube.com/watch?v=${n.url.replace(/^youtube-/,"")}`}}).add("mylist/",{validate:t(/\d+/),normalize(n){n.url=`https://www.nicovideo.jp/${n.url}`}})}const jr={};function SU(r){r.inline.ruler.before("link","face",(e,t)=>{if(t||e.posMax-e.pos<10||!e.src.slice(e.pos).startsWith("[[face:"))return!1;const n=e.pos,o=e.posMax;e.pos++;let s;for(;e.pos<e.posMax;){if(e.src.charCodeAt(e.pos)===93){s=!0;break}e.md.inline.skipToken(e)}if(!s||n+1===e.pos)return e.pos=n,!1;const a=r.utils.unescapeMd(e.src.slice(n+7,e.pos));if(a.match(/\s/))return e.pos=n,!1;if(e.posMax=e.pos,e.pos=n+1,a in jr){const c=e.push("face","",0);c.attrSet("src",jr[a]),c.content=a}else{const c=e.push("text","",0);c.content=`[${a}]`}return e.pos=e.posMax+2,e.posMax=o,!0}),r.renderer.rules.face=function(e,t){const n=e[t];return`<img class="face inline-block w-4 h-4" src="${n.attrGet("src")}" alt="${n.content}" />`}}var O="top",N="bottom",j="right",B="left",Bt="auto",Re=[O,N,j,B],de="start",qe="end",p$="clippingParents",kn="viewport",we="popper",f$="reference",$r=Re.reduce(function(r,e){return r.concat([e+"-"+de,e+"-"+qe])},[]),xn=[].concat(Re,[Bt]).reduce(function(r,e){return r.concat([e,e+"-"+de,e+"-"+qe])},[]),h$="beforeRead",d$="read",m$="afterRead",g$="beforeMain",v$="main",b$="afterMain",k$="beforeWrite",x$="write",_$="afterWrite",y$=[h$,d$,m$,g$,v$,b$,k$,x$,_$];function Z(r){return r?(r.nodeName||"").toLowerCase():null}function $(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var e=r.ownerDocument;return e&&e.defaultView||window}return r}function ue(r){var e=$(r).Element;return r instanceof e||r instanceof Element}function I(r){var e=$(r).HTMLElement;return r instanceof e||r instanceof HTMLElement}function Pt(r){if(typeof ShadowRoot>"u")return!1;var e=$(r).ShadowRoot;return r instanceof e||r instanceof ShadowRoot}function w$(r){var e=r.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},s=e.elements[t];!I(s)||!Z(s)||(Object.assign(s.style,n),Object.keys(o).forEach(function(a){var c=o[a];c===!1?s.removeAttribute(a):s.setAttribute(a,c===!0?"":c)}))})}function C$(r){var e=r.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(n){var o=e.elements[n],s=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]),c=a.reduce(function(i,l){return i[l]="",i},{});!I(o)||!Z(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(i){o.removeAttribute(i)}))})}}const A$={name:"applyStyles",enabled:!0,phase:"write",fn:w$,effect:C$,requires:["computeStyles"]};function G(r){return r.split("-")[0]}var ae=Math.max,Ge=Math.min,me=Math.round;function wt(){var r=navigator.userAgentData;return r!=null&&r.brands?r.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function _n(){return!/^((?!chrome|android).)*safari/i.test(wt())}function ge(r,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var n=r.getBoundingClientRect(),o=1,s=1;e&&I(r)&&(o=r.offsetWidth>0&&me(n.width)/r.offsetWidth||1,s=r.offsetHeight>0&&me(n.height)/r.offsetHeight||1);var a=ue(r)?$(r):window,c=a.visualViewport,i=!_n()&&t,l=(n.left+(i&&c?c.offsetLeft:0))/o,u=(n.top+(i&&c?c.offsetTop:0))/s,h=n.width/o,f=n.height/s;return{width:h,height:f,top:u,right:l+h,bottom:u+f,left:l,x:l,y:u}}function It(r){var e=ge(r),t=r.offsetWidth,n=r.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:r.offsetLeft,y:r.offsetTop,width:t,height:n}}function yn(r,e){var t=e.getRootNode&&e.getRootNode();if(r.contains(e))return!0;if(t&&Pt(t)){var n=e;do{if(n&&r.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Q(r){return $(r).getComputedStyle(r)}function E$(r){return["table","td","th"].indexOf(Z(r))>=0}function K(r){return((ue(r)?r.ownerDocument:r.document)||window.document).documentElement}function rt(r){return Z(r)==="html"?r:r.assignedSlot||r.parentNode||(Pt(r)?r.host:null)||K(r)}function Ur(r){return!I(r)||Q(r).position==="fixed"?null:r.offsetParent}function D$(r){var e=/firefox/i.test(wt()),t=/Trident/i.test(wt());if(t&&I(r)){var n=Q(r);if(n.position==="fixed")return null}var o=rt(r);for(Pt(o)&&(o=o.host);I(o)&&["html","body"].indexOf(Z(o))<0;){var s=Q(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Le(r){for(var e=$(r),t=Ur(r);t&&E$(t)&&Q(t).position==="static";)t=Ur(t);return t&&(Z(t)==="html"||Z(t)==="body"&&Q(t).position==="static")?e:t||D$(r)||e}function Mt(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function Ae(r,e,t){return ae(r,Ge(e,t))}function q$(r,e,t){var n=Ae(r,e,t);return n>t?t:n}function wn(){return{top:0,right:0,bottom:0,left:0}}function Cn(r){return Object.assign({},wn(),r)}function An(r,e){return e.reduce(function(t,n){return t[n]=r,t},{})}var S$=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Cn(typeof e!="number"?e:An(e,Re))};function F$(r){var e,t=r.state,n=r.name,o=r.options,s=t.elements.arrow,a=t.modifiersData.popperOffsets,c=G(t.placement),i=Mt(c),l=[B,j].indexOf(c)>=0,u=l?"height":"width";if(!(!s||!a)){var h=S$(o.padding,t),f=It(s),p=i==="y"?O:B,g=i==="y"?N:j,d=t.rects.reference[u]+t.rects.reference[i]-a[i]-t.rects.popper[u],k=a[i]-t.rects.reference[i],b=Le(s),v=b?i==="y"?b.clientHeight||0:b.clientWidth||0:0,y=d/2-k/2,x=h[p],w=v-f[u]-h[g],m=v/2-f[u]/2+y,C=Ae(x,m,w),q=i;t.modifiersData[n]=(e={},e[q]=C,e.centerOffset=C-m,e)}}function T$(r){var e=r.state,t=r.options,n=t.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||!yn(e.elements.popper,o)||(e.elements.arrow=o))}const R$={name:"arrow",enabled:!0,phase:"main",fn:F$,effect:T$,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(r){return r.split("-")[1]}var L$={top:"auto",right:"auto",bottom:"auto",left:"auto"};function z$(r){var e=r.x,t=r.y,n=window,o=n.devicePixelRatio||1;return{x:me(e*o)/o||0,y:me(t*o)/o||0}}function Vr(r){var e,t=r.popper,n=r.popperRect,o=r.placement,s=r.variation,a=r.offsets,c=r.position,i=r.gpuAcceleration,l=r.adaptive,u=r.roundOffsets,h=r.isFixed,f=a.x,p=f===void 0?0:f,g=a.y,d=g===void 0?0:g,k=typeof u=="function"?u({x:p,y:d}):{x:p,y:d};p=k.x,d=k.y;var b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=B,x=O,w=window;if(l){var m=Le(t),C="clientHeight",q="clientWidth";if(m===$(t)&&(m=K(t),Q(m).position!=="static"&&c==="absolute"&&(C="scrollHeight",q="scrollWidth")),m=m,o===O||(o===B||o===j)&&s===qe){x=N;var T=h&&m===w&&w.visualViewport?w.visualViewport.height:m[C];d-=T-n.height,d*=i?1:-1}if(o===B||(o===O||o===N)&&s===qe){y=j;var A=h&&m===w&&w.visualViewport?w.visualViewport.width:m[q];p-=A-n.width,p*=i?1:-1}}var D=Object.assign({position:c},l&&L$),z=u===!0?z$({x:p,y:d}):{x:p,y:d};if(p=z.x,d=z.y,i){var R;return Object.assign({},D,(R={},R[x]=v?"0":"",R[y]=b?"0":"",R.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",R))}return Object.assign({},D,(e={},e[x]=v?d+"px":"",e[y]=b?p+"px":"",e.transform="",e))}function O$(r){var e=r.state,t=r.options,n=t.gpuAcceleration,o=n===void 0?!0:n,s=t.adaptive,a=s===void 0?!0:s,c=t.roundOffsets,i=c===void 0?!0:c,l={placement:G(e.placement),variation:ve(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Vr(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:i})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Vr(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const B$={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:O$,data:{}};var $e={passive:!0};function P$(r){var e=r.state,t=r.instance,n=r.options,o=n.scroll,s=o===void 0?!0:o,a=n.resize,c=a===void 0?!0:a,i=$(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&l.forEach(function(u){u.addEventListener("scroll",t.update,$e)}),c&&i.addEventListener("resize",t.update,$e),function(){s&&l.forEach(function(u){u.removeEventListener("scroll",t.update,$e)}),c&&i.removeEventListener("resize",t.update,$e)}}const I$={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P$,data:{}};var M$={left:"right",right:"left",bottom:"top",top:"bottom"};function Ue(r){return r.replace(/left|right|bottom|top/g,function(e){return M$[e]})}var N$={start:"end",end:"start"};function Hr(r){return r.replace(/start|end/g,function(e){return N$[e]})}function Nt(r){var e=$(r),t=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:t,scrollTop:n}}function jt(r){return ge(K(r)).left+Nt(r).scrollLeft}function j$(r,e){var t=$(r),n=K(r),o=t.visualViewport,s=n.clientWidth,a=n.clientHeight,c=0,i=0;if(o){s=o.width,a=o.height;var l=_n();(l||!l&&e==="fixed")&&(c=o.offsetLeft,i=o.offsetTop)}return{width:s,height:a,x:c+jt(r),y:i}}function $$(r){var e,t=K(r),n=Nt(r),o=(e=r.ownerDocument)==null?void 0:e.body,s=ae(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ae(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-n.scrollLeft+jt(r),i=-n.scrollTop;return Q(o||t).direction==="rtl"&&(c+=ae(t.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:i}}function $t(r){var e=Q(r),t=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+n)}function En(r){return["html","body","#document"].indexOf(Z(r))>=0?r.ownerDocument.body:I(r)&&$t(r)?r:En(rt(r))}function Ee(r,e){var t;e===void 0&&(e=[]);var n=En(r),o=n===((t=r.ownerDocument)==null?void 0:t.body),s=$(n),a=o?[s].concat(s.visualViewport||[],$t(n)?n:[]):n,c=e.concat(a);return o?c:c.concat(Ee(rt(a)))}function Ct(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function U$(r,e){var t=ge(r,!1,e==="fixed");return t.top=t.top+r.clientTop,t.left=t.left+r.clientLeft,t.bottom=t.top+r.clientHeight,t.right=t.left+r.clientWidth,t.width=r.clientWidth,t.height=r.clientHeight,t.x=t.left,t.y=t.top,t}function Gr(r,e,t){return e===kn?Ct(j$(r,t)):ue(e)?U$(e,t):Ct($$(K(r)))}function V$(r){var e=Ee(rt(r)),t=["absolute","fixed"].indexOf(Q(r).position)>=0,n=t&&I(r)?Le(r):r;return ue(n)?e.filter(function(o){return ue(o)&&yn(o,n)&&Z(o)!=="body"}):[]}function H$(r,e,t,n){var o=e==="clippingParents"?V$(r):[].concat(e),s=[].concat(o,[t]),a=s[0],c=s.reduce(function(i,l){var u=Gr(r,l,n);return i.top=ae(u.top,i.top),i.right=Ge(u.right,i.right),i.bottom=Ge(u.bottom,i.bottom),i.left=ae(u.left,i.left),i},Gr(r,a,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Dn(r){var e=r.reference,t=r.element,n=r.placement,o=n?G(n):null,s=n?ve(n):null,a=e.x+e.width/2-t.width/2,c=e.y+e.height/2-t.height/2,i;switch(o){case O:i={x:a,y:e.y-t.height};break;case N:i={x:a,y:e.y+e.height};break;case j:i={x:e.x+e.width,y:c};break;case B:i={x:e.x-t.width,y:c};break;default:i={x:e.x,y:e.y}}var l=o?Mt(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(s){case de:i[l]=i[l]-(e[u]/2-t[u]/2);break;case qe:i[l]=i[l]+(e[u]/2-t[u]/2);break}}return i}function Se(r,e){e===void 0&&(e={});var t=e,n=t.placement,o=n===void 0?r.placement:n,s=t.strategy,a=s===void 0?r.strategy:s,c=t.boundary,i=c===void 0?p$:c,l=t.rootBoundary,u=l===void 0?kn:l,h=t.elementContext,f=h===void 0?we:h,p=t.altBoundary,g=p===void 0?!1:p,d=t.padding,k=d===void 0?0:d,b=Cn(typeof k!="number"?k:An(k,Re)),v=f===we?f$:we,y=r.rects.popper,x=r.elements[g?v:f],w=H$(ue(x)?x:x.contextElement||K(r.elements.popper),i,u,a),m=ge(r.elements.reference),C=Dn({reference:m,element:y,strategy:"absolute",placement:o}),q=Ct(Object.assign({},y,C)),T=f===we?q:m,A={top:w.top-T.top+b.top,bottom:T.bottom-w.bottom+b.bottom,left:w.left-T.left+b.left,right:T.right-w.right+b.right},D=r.modifiersData.offset;if(f===we&&D){var z=D[o];Object.keys(A).forEach(function(R){var _=[j,N].indexOf(R)>=0?1:-1,F=[O,N].indexOf(R)>=0?"y":"x";A[R]+=z[F]*_})}return A}function G$(r,e){e===void 0&&(e={});var t=e,n=t.placement,o=t.boundary,s=t.rootBoundary,a=t.padding,c=t.flipVariations,i=t.allowedAutoPlacements,l=i===void 0?xn:i,u=ve(n),h=u?c?$r:$r.filter(function(g){return ve(g)===u}):Re,f=h.filter(function(g){return l.indexOf(g)>=0});f.length===0&&(f=h);var p=f.reduce(function(g,d){return g[d]=Se(r,{placement:d,boundary:o,rootBoundary:s,padding:a})[G(d)],g},{});return Object.keys(p).sort(function(g,d){return p[g]-p[d]})}function Z$(r){if(G(r)===Bt)return[];var e=Ue(r);return[Hr(r),e,Hr(e)]}function W$(r){var e=r.state,t=r.options,n=r.name;if(!e.modifiersData[n]._skip){for(var o=t.mainAxis,s=o===void 0?!0:o,a=t.altAxis,c=a===void 0?!0:a,i=t.fallbackPlacements,l=t.padding,u=t.boundary,h=t.rootBoundary,f=t.altBoundary,p=t.flipVariations,g=p===void 0?!0:p,d=t.allowedAutoPlacements,k=e.options.placement,b=G(k),v=b===k,y=i||(v||!g?[Ue(k)]:Z$(k)),x=[k].concat(y).reduce(function(pe,X){return pe.concat(G(X)===Bt?G$(e,{placement:X,boundary:u,rootBoundary:h,padding:l,flipVariations:g,allowedAutoPlacements:d}):X)},[]),w=e.rects.reference,m=e.rects.popper,C=new Map,q=!0,T=x[0],A=0;A<x.length;A++){var D=x[A],z=G(D),R=ve(D)===de,_=[O,N].indexOf(z)>=0,F=_?"width":"height",E=Se(e,{placement:D,boundary:u,rootBoundary:h,altBoundary:f,padding:l}),L=_?R?j:B:R?N:O;w[F]>m[F]&&(L=Ue(L));var ee=Ue(L),te=[];if(s&&te.push(E[z]<=0),c&&te.push(E[L]<=0,E[ee]<=0),te.every(function(pe){return pe})){T=D,q=!1;break}C.set(D,te)}if(q)for(var ze=g?3:1,nt=function(X){var ye=x.find(function(Be){var re=C.get(Be);if(re)return re.slice(0,X).every(function(ot){return ot})});if(ye)return T=ye,"break"},_e=ze;_e>0;_e--){var Oe=nt(_e);if(Oe==="break")break}e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}}const Y$={name:"flip",enabled:!0,phase:"main",fn:W$,requiresIfExists:["offset"],data:{_skip:!1}};function Zr(r,e,t){return t===void 0&&(t={x:0,y:0}),{top:r.top-e.height-t.y,right:r.right-e.width+t.x,bottom:r.bottom-e.height+t.y,left:r.left-e.width-t.x}}function Wr(r){return[O,j,N,B].some(function(e){return r[e]>=0})}function J$(r){var e=r.state,t=r.name,n=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,a=Se(e,{elementContext:"reference"}),c=Se(e,{altBoundary:!0}),i=Zr(a,n),l=Zr(c,o,s),u=Wr(i),h=Wr(l);e.modifiersData[t]={referenceClippingOffsets:i,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const Q$={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:J$};function X$(r,e,t){var n=G(r),o=[B,O].indexOf(n)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:r})):t,a=s[0],c=s[1];return a=a||0,c=(c||0)*o,[B,j].indexOf(n)>=0?{x:c,y:a}:{x:a,y:c}}function K$(r){var e=r.state,t=r.options,n=r.name,o=t.offset,s=o===void 0?[0,0]:o,a=xn.reduce(function(u,h){return u[h]=X$(h,e.rects,s),u},{}),c=a[e.placement],i=c.x,l=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=i,e.modifiersData.popperOffsets.y+=l),e.modifiersData[n]=a}const eU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:K$};function tU(r){var e=r.state,t=r.name;e.modifiersData[t]=Dn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const rU={name:"popperOffsets",enabled:!0,phase:"read",fn:tU,data:{}};function nU(r){return r==="x"?"y":"x"}function oU(r){var e=r.state,t=r.options,n=r.name,o=t.mainAxis,s=o===void 0?!0:o,a=t.altAxis,c=a===void 0?!1:a,i=t.boundary,l=t.rootBoundary,u=t.altBoundary,h=t.padding,f=t.tether,p=f===void 0?!0:f,g=t.tetherOffset,d=g===void 0?0:g,k=Se(e,{boundary:i,rootBoundary:l,padding:h,altBoundary:u}),b=G(e.placement),v=ve(e.placement),y=!v,x=Mt(b),w=nU(x),m=e.modifiersData.popperOffsets,C=e.rects.reference,q=e.rects.popper,T=typeof d=="function"?d(Object.assign({},e.rects,{placement:e.placement})):d,A=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(!!m){if(s){var R,_=x==="y"?O:B,F=x==="y"?N:j,E=x==="y"?"height":"width",L=m[x],ee=L+k[_],te=L-k[F],ze=p?-q[E]/2:0,nt=v===de?C[E]:q[E],_e=v===de?-q[E]:-C[E],Oe=e.elements.arrow,pe=p&&Oe?It(Oe):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:wn(),ye=X[_],Be=X[F],re=Ae(0,C[E],pe[E]),ot=y?C[E]/2-ze-re-ye-A.mainAxis:nt-re-ye-A.mainAxis,qn=y?-C[E]/2+ze+re+Be+A.mainAxis:_e+re+Be+A.mainAxis,st=e.elements.arrow&&Le(e.elements.arrow),Sn=st?x==="y"?st.clientTop||0:st.clientLeft||0:0,Ut=(R=D==null?void 0:D[x])!=null?R:0,Fn=L+ot-Ut-Sn,Tn=L+qn-Ut,Vt=Ae(p?Ge(ee,Fn):ee,L,p?ae(te,Tn):te);m[x]=Vt,z[x]=Vt-L}if(c){var Ht,Rn=x==="x"?O:B,Ln=x==="x"?N:j,ne=m[w],Pe=w==="y"?"height":"width",Gt=ne+k[Rn],Zt=ne-k[Ln],ct=[O,B].indexOf(b)!==-1,Wt=(Ht=D==null?void 0:D[w])!=null?Ht:0,Yt=ct?Gt:ne-C[Pe]-q[Pe]-Wt+A.altAxis,Jt=ct?ne+C[Pe]+q[Pe]-Wt-A.altAxis:Zt,Qt=p&&ct?q$(Yt,ne,Jt):Ae(p?Yt:Gt,ne,p?Jt:Zt);m[w]=Qt,z[w]=Qt-ne}e.modifiersData[n]=z}}const sU={name:"preventOverflow",enabled:!0,phase:"main",fn:oU,requiresIfExists:["offset"]};function cU(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function iU(r){return r===$(r)||!I(r)?Nt(r):cU(r)}function aU(r){var e=r.getBoundingClientRect(),t=me(e.width)/r.offsetWidth||1,n=me(e.height)/r.offsetHeight||1;return t!==1||n!==1}function lU(r,e,t){t===void 0&&(t=!1);var n=I(e),o=I(e)&&aU(e),s=K(e),a=ge(r,o,t),c={scrollLeft:0,scrollTop:0},i={x:0,y:0};return(n||!n&&!t)&&((Z(e)!=="body"||$t(s))&&(c=iU(e)),I(e)?(i=ge(e,!0),i.x+=e.clientLeft,i.y+=e.clientTop):s&&(i.x=jt(s))),{x:a.left+c.scrollLeft-i.x,y:a.top+c.scrollTop-i.y,width:a.width,height:a.height}}function uU(r){var e=new Map,t=new Set,n=[];r.forEach(function(s){e.set(s.name,s)});function o(s){t.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(c){if(!t.has(c)){var i=e.get(c);i&&o(i)}}),n.push(s)}return r.forEach(function(s){t.has(s.name)||o(s)}),n}function pU(r){var e=uU(r);return y$.reduce(function(t,n){return t.concat(e.filter(function(o){return o.phase===n}))},[])}function fU(r){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(r())})})),e}}function hU(r){var e=r.reduce(function(t,n){var o=t[n.name];return t[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,t},{});return Object.keys(e).map(function(t){return e[t]})}var Yr={placement:"bottom",modifiers:[],strategy:"absolute"};function Jr(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function dU(r){r===void 0&&(r={});var e=r,t=e.defaultModifiers,n=t===void 0?[]:t,o=e.defaultOptions,s=o===void 0?Yr:o;return function(c,i,l){l===void 0&&(l=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yr,s),modifiersData:{},elements:{reference:c,popper:i},attributes:{},styles:{}},h=[],f=!1,p={state:u,setOptions:function(b){var v=typeof b=="function"?b(u.options):b;d(),u.options=Object.assign({},s,u.options,v),u.scrollParents={reference:ue(c)?Ee(c):c.contextElement?Ee(c.contextElement):[],popper:Ee(i)};var y=pU(hU([].concat(n,u.options.modifiers)));return u.orderedModifiers=y.filter(function(x){return x.enabled}),g(),p.update()},forceUpdate:function(){if(!f){var b=u.elements,v=b.reference,y=b.popper;if(!!Jr(v,y)){u.rects={reference:lU(v,Le(y),u.options.strategy==="fixed"),popper:It(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(A){return u.modifiersData[A.name]=Object.assign({},A.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var w=u.orderedModifiers[x],m=w.fn,C=w.options,q=C===void 0?{}:C,T=w.name;typeof m=="function"&&(u=m({state:u,options:q,name:T,instance:p})||u)}}}},update:fU(function(){return new Promise(function(k){p.forceUpdate(),k(u)})}),destroy:function(){d(),f=!0}};if(!Jr(c,i))return p;p.setOptions(l).then(function(k){!f&&l.onFirstUpdate&&l.onFirstUpdate(k)});function g(){u.orderedModifiers.forEach(function(k){var b=k.name,v=k.options,y=v===void 0?{}:v,x=k.effect;if(typeof x=="function"){var w=x({state:u,name:b,instance:p,options:y}),m=function(){};h.push(w||m)}})}function d(){h.forEach(function(k){return k()}),h=[]}return p}}var mU=[I$,rU,B$,A$,eU,Y$,sU,R$,Q$],gU=dU({defaultModifiers:mU});const vU=r=>(Xn("data-v-177c5063"),r=r(),Kn(),r),bU={key:0,class:"flex flex-row space-x-2"},kU={class:"flex-shrink-0 flex-grow-0 rounded-full border border-purple-300 dark:border-purple-800"},xU={class:"min-w-0 mt-1"},_U=["title","textContent"],yU=["title","textContent"],wU=vU(()=>se("div",{class:"popper-arrow","data-popper-arrow":""},null,-1)),CU=Bn({__name:"UserAvatarPopper",props:{uid:null},setup(r){const e=r,t=Xt(null),n=Xt(null),{result:o,load:s}=Pn(In` + query ($uid: String!) { + getUser(para: { uid: $uid }) { + username + desc + image + gravatar + } + } + `,{uid:e.uid}),a=Mn(o,null,u=>u==null?void 0:u.getUser),c=Kt(!1),i=Kt(!1);let l;return Nn(()=>{l=gU(t.value,n.value,{modifiers:[{name:"offset",options:{offset:[-10,8]}},{name:"arrow",options:{padding:10}}]});const u=()=>{c.value||(n.value.setAttribute("data-show",""),l.setOptions(f=>{var p;return{...f,modifiers:[...(p=f.modifiers)!=null?p:[],{name:"eventListeners",enabled:!0}]}}),l.update(),c.value=!0)},h=()=>{!c.value||(n.value.removeAttribute("data-show"),l.setOptions(f=>{var p;return{...f,modifiers:[...(p=f.modifiers)!=null?p:[],{name:"eventListeners",enabled:!1}]}}),c.value=!1)};Ie(t,"mouseenter",()=>{i.value=!0}),Ie(n,"mouseenter",()=>{i.value=!0}),Ie(t,"mouseleave",()=>{i.value=!1}),Ie(n,"mouseleave",()=>{i.value=!1}),jn(i,f=>{f?u():h()},{debounce:500}),$n(()=>{a&&l.update()})}),Un(()=>{l&&l.destroy()}),Vn(i).toBeTruthy().then(()=>{s()}),(u,h)=>{const f=Qn("RouterLink");return er(),tr(Jn,null,[se("div",{ref_key:"el",ref:t},[Hn(u.$slots,"default",{},void 0,!0)],512),Gn(se("div",{ref_key:"popper",ref:n,class:"popper z-910 px-3 py-2 max-w-72 rounded-md border border-purple-300 shadow-md bg-white dark:bg-gray-900"},[rr(f,{to:`/user/${r.uid}`},{default:Wn(()=>[J(a)?(er(),tr("div",bU,[se("div",kU,[rr(to,{class:"inline-block w-16 h-16 rounded-full object-cover",alt:J(a).username,image:J(a).image,gravatar:J(a).gravatar},null,8,["alt","image","gravatar"])]),se("div",xU,[se("div",{class:"truncate font-medium",title:J(a).username,textContent:nr(J(a).username)},null,8,_U),se("div",{class:"line-clamp-2 text-sm text-gray-800 dark:text-gray-300",title:J(a).desc,textContent:nr(J(a).desc)},null,8,yU)])])):Yn("",!0)]),_:1},8,["to"]),wU],512),[[Zn,c.value&&J(a)]])],64)}}});const FU=eo(CU,[["__scopeId","data-v-177c5063"]]);export{DU as M,FU as U,SU as f,qU as l}; +//# sourceMappingURL=UserAvatarPopper.a1f280ca.js.map diff --git a/assets/UserAvatarPopper.a1f280ca.js.map b/assets/UserAvatarPopper.a1f280ca.js.map new file mode 100644 index 0000000000..06dad388a9 --- /dev/null +++ b/assets/UserAvatarPopper.a1f280ca.js.map @@ -0,0 +1 @@ +{"version":3,"file":"UserAvatarPopper.a1f280ca.js","sources":["../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js","../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js","../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js","../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js","../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js","../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js","../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js","../../node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js","../../node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js","../../node_modules/.pnpm/punycode@2.1.1/node_modules/punycode/punycode.es6.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js","../../node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js","../../packages/markdown/libs/parserCommon.ts","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/enums.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/math.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/userAgent.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/contains.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/within.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getVariation.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/debounce.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/utils/mergeByName.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/createPopper.js","../../node_modules/.pnpm/@popperjs+core@2.11.6/node_modules/@popperjs/core/lib/popper.js","../../packages/user/components/UserAvatarPopper.vue"],"sourcesContent":["// HTML5 entities map: { name -> utf16string }\n//\n'use strict';\n\n/*eslint quotes:0*/\nmodule.exports = require('entities/lib/maps/entities.json');\n","module.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29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F8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/","\n'use strict';\n\n\nvar encodeCache = {};\n\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache(exclude) {\n var i, ch, cache = encodeCache[exclude];\n if (cache) { return cache; }\n\n cache = encodeCache[exclude] = [];\n\n for (i = 0; i < 128; i++) {\n ch = String.fromCharCode(i);\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch);\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2));\n }\n }\n\n for (i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i];\n }\n\n return cache;\n}\n\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode(string, exclude, keepEscaped) {\n var i, l, code, nextCode, cache,\n result = '';\n\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude;\n exclude = encode.defaultChars;\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true;\n }\n\n cache = getEncodeCache(exclude);\n\n for (i = 0, l = string.length; i < l; i++) {\n code = string.charCodeAt(i);\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3);\n i += 2;\n continue;\n }\n }\n\n if (code < 128) {\n result += cache[code];\n continue;\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n nextCode = string.charCodeAt(i + 1);\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1]);\n i++;\n continue;\n }\n }\n result += '%EF%BF%BD';\n continue;\n }\n\n result += encodeURIComponent(string[i]);\n }\n\n return result;\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\";\nencode.componentChars = \"-_.!~*'()\";\n\n\nmodule.exports = encode;\n","\n'use strict';\n\n\n/* eslint-disable no-bitwise */\n\nvar decodeCache = {};\n\nfunction getDecodeCache(exclude) {\n var i, ch, cache = decodeCache[exclude];\n if (cache) { return cache; }\n\n cache = decodeCache[exclude] = [];\n\n for (i = 0; i < 128; i++) {\n ch = String.fromCharCode(i);\n cache.push(ch);\n }\n\n for (i = 0; i < exclude.length; i++) {\n ch = exclude.charCodeAt(i);\n cache[ch] = '%' + ('0' + ch.toString(16).toUpperCase()).slice(-2);\n }\n\n return cache;\n}\n\n\n// Decode percent-encoded string.\n//\nfunction decode(string, exclude) {\n var cache;\n\n if (typeof exclude !== 'string') {\n exclude = decode.defaultChars;\n }\n\n cache = getDecodeCache(exclude);\n\n return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {\n var i, l, b1, b2, b3, b4, chr,\n result = '';\n\n for (i = 0, l = seq.length; i < l; i += 3) {\n b1 = parseInt(seq.slice(i + 1, i + 3), 16);\n\n if (b1 < 0x80) {\n result += cache[b1];\n continue;\n }\n\n if ((b1 & 0xE0) === 0xC0 && (i + 3 < l)) {\n // 110xxxxx 10xxxxxx\n b2 = parseInt(seq.slice(i + 4, i + 6), 16);\n\n if ((b2 & 0xC0) === 0x80) {\n chr = ((b1 << 6) & 0x7C0) | (b2 & 0x3F);\n\n if (chr < 0x80) {\n result += '\\ufffd\\ufffd';\n } else {\n result += String.fromCharCode(chr);\n }\n\n i += 3;\n continue;\n }\n }\n\n if ((b1 & 0xF0) === 0xE0 && (i + 6 < l)) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n b2 = parseInt(seq.slice(i + 4, i + 6), 16);\n b3 = parseInt(seq.slice(i + 7, i + 9), 16);\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80) {\n chr = ((b1 << 12) & 0xF000) | ((b2 << 6) & 0xFC0) | (b3 & 0x3F);\n\n if (chr < 0x800 || (chr >= 0xD800 && chr <= 0xDFFF)) {\n result += '\\ufffd\\ufffd\\ufffd';\n } else {\n result += String.fromCharCode(chr);\n }\n\n i += 6;\n continue;\n }\n }\n\n if ((b1 & 0xF8) === 0xF0 && (i + 9 < l)) {\n // 111110xx 10xxxxxx 10xxxxxx 10xxxxxx\n b2 = parseInt(seq.slice(i + 4, i + 6), 16);\n b3 = parseInt(seq.slice(i + 7, i + 9), 16);\n b4 = parseInt(seq.slice(i + 10, i + 12), 16);\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80 && (b4 & 0xC0) === 0x80) {\n chr = ((b1 << 18) & 0x1C0000) | ((b2 << 12) & 0x3F000) | ((b3 << 6) & 0xFC0) | (b4 & 0x3F);\n\n if (chr < 0x10000 || chr > 0x10FFFF) {\n result += '\\ufffd\\ufffd\\ufffd\\ufffd';\n } else {\n chr -= 0x10000;\n result += String.fromCharCode(0xD800 + (chr >> 10), 0xDC00 + (chr & 0x3FF));\n }\n\n i += 9;\n continue;\n }\n }\n\n result += '\\ufffd';\n }\n\n return result;\n });\n}\n\n\ndecode.defaultChars = ';/?:@&=+$,#';\ndecode.componentChars = '';\n\n\nmodule.exports = decode;\n","\n'use strict';\n\n\nmodule.exports = function format(url) {\n var result = '';\n\n result += url.protocol || '';\n result += url.slashes ? '//' : '';\n result += url.auth ? url.auth + '@' : '';\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']';\n } else {\n result += url.hostname || '';\n }\n\n result += url.port ? ':' + url.port : '';\n result += url.pathname || '';\n result += url.search || '';\n result += url.hash || '';\n\n return result;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n//\n// Changes from joyent/node:\n//\n// 1. No leading slash in paths,\n// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`\n//\n// 2. Backslashes are not replaced with slashes,\n// so `http:\\\\example.org\\` is treated like a relative path\n//\n// 3. Trailing colon is treated like a part of the path,\n// i.e. in `http://example.org:foo` pathname is `:foo`\n//\n// 4. Nothing is URL-encoded in the resulting object,\n// (in joyent/node some chars in auth and paths are encoded)\n//\n// 5. `url.parse()` does not have `parseQueryString` argument\n//\n// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,\n// which can be constructed using other parts of the url.\n//\n\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.pathname = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = [ '<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t' ],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = [ '{', '}', '|', '\\\\', '^', '`' ].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = [ '\\'' ].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = [ '%', '/', '?', ';', '#' ].concat(autoEscape),\n hostEndingChars = [ '/', '?', '#' ],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n /* eslint-disable no-script-url */\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n };\n /* eslint-enable no-script-url */\n\nfunction urlParse(url, slashesDenoteHost) {\n if (url && url instanceof Url) { return url; }\n\n var u = new Url();\n u.parse(url, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, slashesDenoteHost) {\n var i, l, lowerProto, hec, slashes,\n rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n lowerProto = proto.toLowerCase();\n this.protocol = proto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (i = 0; i < hostEndingChars.length; i++) {\n hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec;\n }\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = auth;\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (i = 0; i < nonHostChars.length; i++) {\n hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec;\n }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) {\n hostEnd = rest.length;\n }\n\n if (rest[hostEnd - 1] === ':') { hostEnd--; }\n var host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost(host);\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) { continue; }\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n }\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n }\n }\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n rest = rest.slice(0, qm);\n }\n if (rest) { this.pathname = rest; }\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '';\n }\n\n return this;\n};\n\nUrl.prototype.parseHost = function(host) {\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) { this.hostname = host; }\n};\n\nmodule.exports = urlParse;\n","'use strict';\n\n\nmodule.exports.encode = require('./encode');\nmodule.exports.decode = require('./decode');\nmodule.exports.format = require('./format');\nmodule.exports.parse = require('./parse');\n","module.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/","module.exports=/[\\0-\\x1F\\x7F-\\x9F]/","module.exports=/[\\xAD\\u0600-\\u0605\\u061C\\u06DD\\u070F\\u08E2\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u2064\\u2066-\\u206F\\uFEFF\\uFFF9-\\uFFFB]|\\uD804[\\uDCBD\\uDCCD]|\\uD82F[\\uDCA0-\\uDCA3]|\\uD834[\\uDD73-\\uDD7A]|\\uDB40[\\uDC01\\uDC20-\\uDC7F]/","module.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/","'use strict';\n\nexports.Any = require('./properties/Any/regex');\nexports.Cc = require('./categories/Cc/regex');\nexports.Cf = require('./categories/Cf/regex');\nexports.P = require('./categories/P/regex');\nexports.Z = require('./categories/Z/regex');\n","// Utilities\n//\n'use strict';\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction isString(obj) { return _class(obj) === '[object String]'; }\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction has(object, key) {\n return _hasOwnProperty.call(object, key);\n}\n\n// Merge objects\n//\nfunction assign(obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n\n sources.forEach(function (source) {\n if (!source) { return; }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be object');\n }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key];\n });\n });\n\n return obj;\n}\n\n// Remove element from array and put another array at those position.\n// Useful for some operations with tokens\nfunction arrayReplaceAt(src, pos, newElements) {\n return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1));\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isValidEntityCode(c) {\n /*eslint no-bitwise:0*/\n // broken sequence\n if (c >= 0xD800 && c <= 0xDFFF) { return false; }\n // never used\n if (c >= 0xFDD0 && c <= 0xFDEF) { return false; }\n if ((c & 0xFFFF) === 0xFFFF || (c & 0xFFFF) === 0xFFFE) { return false; }\n // control codes\n if (c >= 0x00 && c <= 0x08) { return false; }\n if (c === 0x0B) { return false; }\n if (c >= 0x0E && c <= 0x1F) { return false; }\n if (c >= 0x7F && c <= 0x9F) { return false; }\n // out of range\n if (c > 0x10FFFF) { return false; }\n return true;\n}\n\nfunction fromCodePoint(c) {\n /*eslint no-bitwise:0*/\n if (c > 0xffff) {\n c -= 0x10000;\n var surrogate1 = 0xd800 + (c >> 10),\n surrogate2 = 0xdc00 + (c & 0x3ff);\n\n return String.fromCharCode(surrogate1, surrogate2);\n }\n return String.fromCharCode(c);\n}\n\n\nvar UNESCAPE_MD_RE = /\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g;\nvar ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi;\nvar UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + '|' + ENTITY_RE.source, 'gi');\n\nvar DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;\n\nvar entities = require('./entities');\n\nfunction replaceEntityPattern(match, name) {\n var code = 0;\n\n if (has(entities, name)) {\n return entities[name];\n }\n\n if (name.charCodeAt(0) === 0x23/* # */ && DIGITAL_ENTITY_TEST_RE.test(name)) {\n code = name[1].toLowerCase() === 'x' ?\n parseInt(name.slice(2), 16) : parseInt(name.slice(1), 10);\n\n if (isValidEntityCode(code)) {\n return fromCodePoint(code);\n }\n }\n\n return match;\n}\n\n/*function replaceEntities(str) {\n if (str.indexOf('&') < 0) { return str; }\n\n return str.replace(ENTITY_RE, replaceEntityPattern);\n}*/\n\nfunction unescapeMd(str) {\n if (str.indexOf('\\\\') < 0) { return str; }\n return str.replace(UNESCAPE_MD_RE, '$1');\n}\n\nfunction unescapeAll(str) {\n if (str.indexOf('\\\\') < 0 && str.indexOf('&') < 0) { return str; }\n\n return str.replace(UNESCAPE_ALL_RE, function (match, escaped, entity) {\n if (escaped) { return escaped; }\n return replaceEntityPattern(match, entity);\n });\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar HTML_ESCAPE_TEST_RE = /[&<>\"]/;\nvar HTML_ESCAPE_REPLACE_RE = /[&<>\"]/g;\nvar HTML_REPLACEMENTS = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"'\n};\n\nfunction replaceUnsafeChar(ch) {\n return HTML_REPLACEMENTS[ch];\n}\n\nfunction escapeHtml(str) {\n if (HTML_ESCAPE_TEST_RE.test(str)) {\n return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);\n }\n return str;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar REGEXP_ESCAPE_RE = /[.?*+^$[\\]\\\\(){}|-]/g;\n\nfunction escapeRE(str) {\n return str.replace(REGEXP_ESCAPE_RE, '\\\\$&');\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction isSpace(code) {\n switch (code) {\n case 0x09:\n case 0x20:\n return true;\n }\n return false;\n}\n\n// Zs (unicode class) || [\\t\\f\\v\\r\\n]\nfunction isWhiteSpace(code) {\n if (code >= 0x2000 && code <= 0x200A) { return true; }\n switch (code) {\n case 0x09: // \\t\n case 0x0A: // \\n\n case 0x0B: // \\v\n case 0x0C: // \\f\n case 0x0D: // \\r\n case 0x20:\n case 0xA0:\n case 0x1680:\n case 0x202F:\n case 0x205F:\n case 0x3000:\n return true;\n }\n return false;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n/*eslint-disable max-len*/\nvar UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex');\n\n// Currently without astral characters support.\nfunction isPunctChar(ch) {\n return UNICODE_PUNCT_RE.test(ch);\n}\n\n\n// Markdown ASCII punctuation characters.\n//\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\n//\n// Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.\n//\nfunction isMdAsciiPunct(ch) {\n switch (ch) {\n case 0x21/* ! */:\n case 0x22/* \" */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x27/* ' */:\n case 0x28/* ( */:\n case 0x29/* ) */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2C/* , */:\n case 0x2D/* - */:\n case 0x2E/* . */:\n case 0x2F/* / */:\n case 0x3A/* : */:\n case 0x3B/* ; */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x3F/* ? */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7C/* | */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true;\n default:\n return false;\n }\n}\n\n// Hepler to unify [reference labels].\n//\nfunction normalizeReference(str) {\n // Trim and collapse whitespace\n //\n str = str.trim().replace(/\\s+/g, ' ');\n\n // In node v10 'ẞ'.toLowerCase() === 'Ṿ', which is presumed to be a bug\n // fixed in v12 (couldn't find any details).\n //\n // So treat this one as a special case\n // (remove this when node v10 is no longer supported).\n //\n if ('ẞ'.toLowerCase() === 'Ṿ') {\n str = str.replace(/ẞ/g, 'ß');\n }\n\n // .toLowerCase().toUpperCase() should get rid of all differences\n // between letter variants.\n //\n // Simple .toLowerCase() doesn't normalize 125 code points correctly,\n // and .toUpperCase doesn't normalize 6 of them (list of exceptions:\n // İ, ϴ, ẞ, Ω, K, Å - those are already uppercased, but have differently\n // uppercased versions).\n //\n // Here's an example showing how it happens. Lets take greek letter omega:\n // uppercase U+0398 (Θ), U+03f4 (ϴ) and lowercase U+03b8 (θ), U+03d1 (ϑ)\n //\n // Unicode entries:\n // 0398;GREEK CAPITAL LETTER THETA;Lu;0;L;;;;;N;;;;03B8;\n // 03B8;GREEK SMALL LETTER THETA;Ll;0;L;;;;;N;;;0398;;0398\n // 03D1;GREEK THETA SYMBOL;Ll;0;L;<compat> 03B8;;;;N;GREEK SMALL LETTER SCRIPT THETA;;0398;;0398\n // 03F4;GREEK CAPITAL THETA SYMBOL;Lu;0;L;<compat> 0398;;;;N;;;;03B8;\n //\n // Case-insensitive comparison should treat all of them as equivalent.\n //\n // But .toLowerCase() doesn't change ϑ (it's already lowercase),\n // and .toUpperCase() doesn't change ϴ (already uppercase).\n //\n // Applying first lower then upper case normalizes any character:\n // '\\u0398\\u03f4\\u03b8\\u03d1'.toLowerCase().toUpperCase() === '\\u0398\\u0398\\u0398\\u0398'\n //\n // Note: this is equivalent to unicode case folding; unicode normalization\n // is a different step that is not required here.\n //\n // Final result should be uppercased, because it's later stored in an object\n // (this avoid a conflict with Object.prototype members,\n // most notably, `__proto__`)\n //\n return str.toLowerCase().toUpperCase();\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n// Re-export libraries commonly used in both markdown-it and its plugins,\n// so plugins won't have to depend on them explicitly, which reduces their\n// bundled size (e.g. a browser build).\n//\nexports.lib = {};\nexports.lib.mdurl = require('mdurl');\nexports.lib.ucmicro = require('uc.micro');\n\nexports.assign = assign;\nexports.isString = isString;\nexports.has = has;\nexports.unescapeMd = unescapeMd;\nexports.unescapeAll = unescapeAll;\nexports.isValidEntityCode = isValidEntityCode;\nexports.fromCodePoint = fromCodePoint;\n// exports.replaceEntities = replaceEntities;\nexports.escapeHtml = escapeHtml;\nexports.arrayReplaceAt = arrayReplaceAt;\nexports.isSpace = isSpace;\nexports.isWhiteSpace = isWhiteSpace;\nexports.isMdAsciiPunct = isMdAsciiPunct;\nexports.isPunctChar = isPunctChar;\nexports.escapeRE = escapeRE;\nexports.normalizeReference = normalizeReference;\n","// Parse link label\n//\n// this function assumes that first character (\"[\") already matches;\n// returns the end of the label\n//\n'use strict';\n\nmodule.exports = function parseLinkLabel(state, start, disableNested) {\n var level, found, marker, prevPos,\n labelEnd = -1,\n max = state.posMax,\n oldPos = state.pos;\n\n state.pos = start + 1;\n level = 1;\n\n while (state.pos < max) {\n marker = state.src.charCodeAt(state.pos);\n if (marker === 0x5D /* ] */) {\n level--;\n if (level === 0) {\n found = true;\n break;\n }\n }\n\n prevPos = state.pos;\n state.md.inline.skipToken(state);\n if (marker === 0x5B /* [ */) {\n if (prevPos === state.pos - 1) {\n // increase level if we find text `[`, which is not a part of any token\n level++;\n } else if (disableNested) {\n state.pos = oldPos;\n return -1;\n }\n }\n }\n\n if (found) {\n labelEnd = state.pos;\n }\n\n // restore old state\n state.pos = oldPos;\n\n return labelEnd;\n};\n","// Parse link destination\n//\n'use strict';\n\n\nvar unescapeAll = require('../common/utils').unescapeAll;\n\n\nmodule.exports = function parseLinkDestination(str, pos, max) {\n var code, level,\n lines = 0,\n start = pos,\n result = {\n ok: false,\n pos: 0,\n lines: 0,\n str: ''\n };\n\n if (str.charCodeAt(pos) === 0x3C /* < */) {\n pos++;\n while (pos < max) {\n code = str.charCodeAt(pos);\n if (code === 0x0A /* \\n */) { return result; }\n if (code === 0x3C /* < */) { return result; }\n if (code === 0x3E /* > */) {\n result.pos = pos + 1;\n result.str = unescapeAll(str.slice(start + 1, pos));\n result.ok = true;\n return result;\n }\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos += 2;\n continue;\n }\n\n pos++;\n }\n\n // no closing '>'\n return result;\n }\n\n // this should be ... } else { ... branch\n\n level = 0;\n while (pos < max) {\n code = str.charCodeAt(pos);\n\n if (code === 0x20) { break; }\n\n // ascii control characters\n if (code < 0x20 || code === 0x7F) { break; }\n\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n if (str.charCodeAt(pos + 1) === 0x20) { break; }\n pos += 2;\n continue;\n }\n\n if (code === 0x28 /* ( */) {\n level++;\n if (level > 32) { return result; }\n }\n\n if (code === 0x29 /* ) */) {\n if (level === 0) { break; }\n level--;\n }\n\n pos++;\n }\n\n if (start === pos) { return result; }\n if (level !== 0) { return result; }\n\n result.str = unescapeAll(str.slice(start, pos));\n result.lines = lines;\n result.pos = pos;\n result.ok = true;\n return result;\n};\n","// Parse link title\n//\n'use strict';\n\n\nvar unescapeAll = require('../common/utils').unescapeAll;\n\n\nmodule.exports = function parseLinkTitle(str, pos, max) {\n var code,\n marker,\n lines = 0,\n start = pos,\n result = {\n ok: false,\n pos: 0,\n lines: 0,\n str: ''\n };\n\n if (pos >= max) { return result; }\n\n marker = str.charCodeAt(pos);\n\n if (marker !== 0x22 /* \" */ && marker !== 0x27 /* ' */ && marker !== 0x28 /* ( */) { return result; }\n\n pos++;\n\n // if opening marker is \"(\", switch it to closing marker \")\"\n if (marker === 0x28) { marker = 0x29; }\n\n while (pos < max) {\n code = str.charCodeAt(pos);\n if (code === marker) {\n result.pos = pos + 1;\n result.lines = lines;\n result.str = unescapeAll(str.slice(start + 1, pos));\n result.ok = true;\n return result;\n } else if (code === 0x28 /* ( */ && marker === 0x29 /* ) */) {\n return result;\n } else if (code === 0x0A) {\n lines++;\n } else if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos++;\n if (str.charCodeAt(pos) === 0x0A) {\n lines++;\n }\n }\n\n pos++;\n }\n\n return result;\n};\n","// Just a shortcut for bulk export\n'use strict';\n\n\nexports.parseLinkLabel = require('./parse_link_label');\nexports.parseLinkDestination = require('./parse_link_destination');\nexports.parseLinkTitle = require('./parse_link_title');\n","/**\n * class Renderer\n *\n * Generates HTML from parsed token stream. Each instance has independent\n * copy of rules. Those can be rewritten with ease. Also, you can add new\n * rules if you create plugin and adds new token types.\n **/\n'use strict';\n\n\nvar assign = require('./common/utils').assign;\nvar unescapeAll = require('./common/utils').unescapeAll;\nvar escapeHtml = require('./common/utils').escapeHtml;\n\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar default_rules = {};\n\n\ndefault_rules.code_inline = function (tokens, idx, options, env, slf) {\n var token = tokens[idx];\n\n return '<code' + slf.renderAttrs(token) + '>' +\n escapeHtml(tokens[idx].content) +\n '</code>';\n};\n\n\ndefault_rules.code_block = function (tokens, idx, options, env, slf) {\n var token = tokens[idx];\n\n return '<pre' + slf.renderAttrs(token) + '><code>' +\n escapeHtml(tokens[idx].content) +\n '</code></pre>\\n';\n};\n\n\ndefault_rules.fence = function (tokens, idx, options, env, slf) {\n var token = tokens[idx],\n info = token.info ? unescapeAll(token.info).trim() : '',\n langName = '',\n langAttrs = '',\n highlighted, i, arr, tmpAttrs, tmpToken;\n\n if (info) {\n arr = info.split(/(\\s+)/g);\n langName = arr[0];\n langAttrs = arr.slice(2).join('');\n }\n\n if (options.highlight) {\n highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content);\n } else {\n highlighted = escapeHtml(token.content);\n }\n\n if (highlighted.indexOf('<pre') === 0) {\n return highlighted + '\\n';\n }\n\n // If language exists, inject class gently, without modifying original token.\n // May be, one day we will add .deepClone() for token and simplify this part, but\n // now we prefer to keep things local.\n if (info) {\n i = token.attrIndex('class');\n tmpAttrs = token.attrs ? token.attrs.slice() : [];\n\n if (i < 0) {\n tmpAttrs.push([ 'class', options.langPrefix + langName ]);\n } else {\n tmpAttrs[i] = tmpAttrs[i].slice();\n tmpAttrs[i][1] += ' ' + options.langPrefix + langName;\n }\n\n // Fake token just to render attributes\n tmpToken = {\n attrs: tmpAttrs\n };\n\n return '<pre><code' + slf.renderAttrs(tmpToken) + '>'\n + highlighted\n + '</code></pre>\\n';\n }\n\n\n return '<pre><code' + slf.renderAttrs(token) + '>'\n + highlighted\n + '</code></pre>\\n';\n};\n\n\ndefault_rules.image = function (tokens, idx, options, env, slf) {\n var token = tokens[idx];\n\n // \"alt\" attr MUST be set, even if empty. Because it's mandatory and\n // should be placed on proper position for tests.\n //\n // Replace content with actual value\n\n token.attrs[token.attrIndex('alt')][1] =\n slf.renderInlineAsText(token.children, options, env);\n\n return slf.renderToken(tokens, idx, options);\n};\n\n\ndefault_rules.hardbreak = function (tokens, idx, options /*, env */) {\n return options.xhtmlOut ? '<br />\\n' : '<br>\\n';\n};\ndefault_rules.softbreak = function (tokens, idx, options /*, env */) {\n return options.breaks ? (options.xhtmlOut ? '<br />\\n' : '<br>\\n') : '\\n';\n};\n\n\ndefault_rules.text = function (tokens, idx /*, options, env */) {\n return escapeHtml(tokens[idx].content);\n};\n\n\ndefault_rules.html_block = function (tokens, idx /*, options, env */) {\n return tokens[idx].content;\n};\ndefault_rules.html_inline = function (tokens, idx /*, options, env */) {\n return tokens[idx].content;\n};\n\n\n/**\n * new Renderer()\n *\n * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.\n **/\nfunction Renderer() {\n\n /**\n * Renderer#rules -> Object\n *\n * Contains render rules for tokens. Can be updated and extended.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.renderer.rules.strong_open = function () { return '<b>'; };\n * md.renderer.rules.strong_close = function () { return '</b>'; };\n *\n * var result = md.renderInline(...);\n * ```\n *\n * Each rule is called as independent static function with fixed signature:\n *\n * ```javascript\n * function my_token_render(tokens, idx, options, env, renderer) {\n * // ...\n * return renderedHTML;\n * }\n * ```\n *\n * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.js)\n * for more details and examples.\n **/\n this.rules = assign({}, default_rules);\n}\n\n\n/**\n * Renderer.renderAttrs(token) -> String\n *\n * Render token attributes to string.\n **/\nRenderer.prototype.renderAttrs = function renderAttrs(token) {\n var i, l, result;\n\n if (!token.attrs) { return ''; }\n\n result = '';\n\n for (i = 0, l = token.attrs.length; i < l; i++) {\n result += ' ' + escapeHtml(token.attrs[i][0]) + '=\"' + escapeHtml(token.attrs[i][1]) + '\"';\n }\n\n return result;\n};\n\n\n/**\n * Renderer.renderToken(tokens, idx, options) -> String\n * - tokens (Array): list of tokens\n * - idx (Numbed): token index to render\n * - options (Object): params of parser instance\n *\n * Default token renderer. Can be overriden by custom function\n * in [[Renderer#rules]].\n **/\nRenderer.prototype.renderToken = function renderToken(tokens, idx, options) {\n var nextToken,\n result = '',\n needLf = false,\n token = tokens[idx];\n\n // Tight list paragraphs\n if (token.hidden) {\n return '';\n }\n\n // Insert a newline between hidden paragraph and subsequent opening\n // block-level tag.\n //\n // For example, here we should insert a newline before blockquote:\n // - a\n // >\n //\n if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {\n result += '\\n';\n }\n\n // Add token name, e.g. `<img`\n result += (token.nesting === -1 ? '</' : '<') + token.tag;\n\n // Encode attributes, e.g. `<img src=\"foo\"`\n result += this.renderAttrs(token);\n\n // Add a slash for self-closing tags, e.g. `<img src=\"foo\" /`\n if (token.nesting === 0 && options.xhtmlOut) {\n result += ' /';\n }\n\n // Check if we need to add a newline after this tag\n if (token.block) {\n needLf = true;\n\n if (token.nesting === 1) {\n if (idx + 1 < tokens.length) {\n nextToken = tokens[idx + 1];\n\n if (nextToken.type === 'inline' || nextToken.hidden) {\n // Block-level tag containing an inline tag.\n //\n needLf = false;\n\n } else if (nextToken.nesting === -1 && nextToken.tag === token.tag) {\n // Opening tag + closing tag of the same type. E.g. `<li></li>`.\n //\n needLf = false;\n }\n }\n }\n }\n\n result += needLf ? '>\\n' : '>';\n\n return result;\n};\n\n\n/**\n * Renderer.renderInline(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * The same as [[Renderer.render]], but for single token of `inline` type.\n **/\nRenderer.prototype.renderInline = function (tokens, options, env) {\n var type,\n result = '',\n rules = this.rules;\n\n for (var i = 0, len = tokens.length; i < len; i++) {\n type = tokens[i].type;\n\n if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this);\n } else {\n result += this.renderToken(tokens, i, options);\n }\n }\n\n return result;\n};\n\n\n/** internal\n * Renderer.renderInlineAsText(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Special kludge for image `alt` attributes to conform CommonMark spec.\n * Don't try to use it! Spec requires to show `alt` content with stripped markup,\n * instead of simple escaping.\n **/\nRenderer.prototype.renderInlineAsText = function (tokens, options, env) {\n var result = '';\n\n for (var i = 0, len = tokens.length; i < len; i++) {\n if (tokens[i].type === 'text') {\n result += tokens[i].content;\n } else if (tokens[i].type === 'image') {\n result += this.renderInlineAsText(tokens[i].children, options, env);\n } else if (tokens[i].type === 'softbreak') {\n result += '\\n';\n }\n }\n\n return result;\n};\n\n\n/**\n * Renderer.render(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Takes token stream and generates HTML. Probably, you will never need to call\n * this method directly.\n **/\nRenderer.prototype.render = function (tokens, options, env) {\n var i, len, type,\n result = '',\n rules = this.rules;\n\n for (i = 0, len = tokens.length; i < len; i++) {\n type = tokens[i].type;\n\n if (type === 'inline') {\n result += this.renderInline(tokens[i].children, options, env);\n } else if (typeof rules[type] !== 'undefined') {\n result += rules[tokens[i].type](tokens, i, options, env, this);\n } else {\n result += this.renderToken(tokens, i, options, env);\n }\n }\n\n return result;\n};\n\nmodule.exports = Renderer;\n","/**\n * class Ruler\n *\n * Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and\n * [[MarkdownIt#inline]] to manage sequences of functions (rules):\n *\n * - keep rules in defined order\n * - assign the name to each rule\n * - enable/disable rules\n * - add/replace rules\n * - allow assign rules to additional named chains (in the same)\n * - cacheing lists of active rules\n *\n * You will not need use this class directly until write plugins. For simple\n * rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and\n * [[MarkdownIt.use]].\n **/\n'use strict';\n\n\n/**\n * new Ruler()\n **/\nfunction Ruler() {\n // List of added rules. Each element is:\n //\n // {\n // name: XXX,\n // enabled: Boolean,\n // fn: Function(),\n // alt: [ name2, name3 ]\n // }\n //\n this.__rules__ = [];\n\n // Cached rule chains.\n //\n // First level - chain name, '' for default.\n // Second level - diginal anchor for fast filtering by charcodes.\n //\n this.__cache__ = null;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Helper methods, should not be used directly\n\n\n// Find rule index by name\n//\nRuler.prototype.__find__ = function (name) {\n for (var i = 0; i < this.__rules__.length; i++) {\n if (this.__rules__[i].name === name) {\n return i;\n }\n }\n return -1;\n};\n\n\n// Build rules lookup cache\n//\nRuler.prototype.__compile__ = function () {\n var self = this;\n var chains = [ '' ];\n\n // collect unique names\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return; }\n\n rule.alt.forEach(function (altName) {\n if (chains.indexOf(altName) < 0) {\n chains.push(altName);\n }\n });\n });\n\n self.__cache__ = {};\n\n chains.forEach(function (chain) {\n self.__cache__[chain] = [];\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return; }\n\n if (chain && rule.alt.indexOf(chain) < 0) { return; }\n\n self.__cache__[chain].push(rule.fn);\n });\n });\n};\n\n\n/**\n * Ruler.at(name, fn [, options])\n * - name (String): rule name to replace.\n * - fn (Function): new rule function.\n * - options (Object): new rule options (not mandatory).\n *\n * Replace rule by name with new function & options. Throws error if name not\n * found.\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * Replace existing typographer replacement rule with new one:\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.at('replacements', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.at = function (name, fn, options) {\n var index = this.__find__(name);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + name); }\n\n this.__rules__[index].fn = fn;\n this.__rules__[index].alt = opt.alt || [];\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.before(beforeName, ruleName, fn [, options])\n * - beforeName (String): new rule will be added before this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain before one with given name. See also\n * [[Ruler.after]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.before = function (beforeName, ruleName, fn, options) {\n var index = this.__find__(beforeName);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + beforeName); }\n\n this.__rules__.splice(index, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.after(afterName, ruleName, fn [, options])\n * - afterName (String): new rule will be added after this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain after one with given name. See also\n * [[Ruler.before]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.inline.ruler.after('text', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.after = function (afterName, ruleName, fn, options) {\n var index = this.__find__(afterName);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + afterName); }\n\n this.__rules__.splice(index + 1, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n/**\n * Ruler.push(ruleName, fn [, options])\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Push new rule to the end of chain. See also\n * [[Ruler.before]], [[Ruler.after]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.push('my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.push = function (ruleName, fn, options) {\n var opt = options || {};\n\n this.__rules__.push({\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.enable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to enable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.disable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.enable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n var result = [];\n\n // Search by name and enable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n\n if (idx < 0) {\n if (ignoreInvalid) { return; }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = true;\n result.push(name);\n }, this);\n\n this.__cache__ = null;\n return result;\n};\n\n\n/**\n * Ruler.enableOnly(list [, ignoreInvalid])\n * - list (String|Array): list of rule names to enable (whitelist).\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names, and disable everything else. If any rule name\n * not found - throw Error. Errors can be disabled by second param.\n *\n * See also [[Ruler.disable]], [[Ruler.enable]].\n **/\nRuler.prototype.enableOnly = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n this.__rules__.forEach(function (rule) { rule.enabled = false; });\n\n this.enable(list, ignoreInvalid);\n};\n\n\n/**\n * Ruler.disable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Disable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.enable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.disable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n var result = [];\n\n // Search by name and disable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n\n if (idx < 0) {\n if (ignoreInvalid) { return; }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = false;\n result.push(name);\n }, this);\n\n this.__cache__ = null;\n return result;\n};\n\n\n/**\n * Ruler.getRules(chainName) -> Array\n *\n * Return array of active functions (rules) for given chain name. It analyzes\n * rules configuration, compiles caches if not exists and returns result.\n *\n * Default chain name is `''` (empty string). It can't be skipped. That's\n * done intentionally, to keep signature monomorphic for high speed.\n **/\nRuler.prototype.getRules = function (chainName) {\n if (this.__cache__ === null) {\n this.__compile__();\n }\n\n // Chain can be empty, if rules disabled. But we still have to return Array.\n return this.__cache__[chainName] || [];\n};\n\nmodule.exports = Ruler;\n","// Normalize input string\n\n'use strict';\n\n\n// https://spec.commonmark.org/0.29/#line-ending\nvar NEWLINES_RE = /\\r\\n?|\\n/g;\nvar NULL_RE = /\\0/g;\n\n\nmodule.exports = function normalize(state) {\n var str;\n\n // Normalize newlines\n str = state.src.replace(NEWLINES_RE, '\\n');\n\n // Replace NULL characters\n str = str.replace(NULL_RE, '\\uFFFD');\n\n state.src = str;\n};\n","'use strict';\n\n\nmodule.exports = function block(state) {\n var token;\n\n if (state.inlineMode) {\n token = new state.Token('inline', '', 0);\n token.content = state.src;\n token.map = [ 0, 1 ];\n token.children = [];\n state.tokens.push(token);\n } else {\n state.md.block.parse(state.src, state.md, state.env, state.tokens);\n }\n};\n","'use strict';\n\nmodule.exports = function inline(state) {\n var tokens = state.tokens, tok, i, l;\n\n // Parse inlines\n for (i = 0, l = tokens.length; i < l; i++) {\n tok = tokens[i];\n if (tok.type === 'inline') {\n state.md.inline.parse(tok.content, state.md, state.env, tok.children);\n }\n }\n};\n","// Replace link-like texts with link nodes.\n//\n// Currently restricted by `md.validateLink()` to http/https/ftp\n//\n'use strict';\n\n\nvar arrayReplaceAt = require('../common/utils').arrayReplaceAt;\n\n\nfunction isLinkOpen(str) {\n return /^<a[>\\s]/i.test(str);\n}\nfunction isLinkClose(str) {\n return /^<\\/a\\s*>/i.test(str);\n}\n\n\nmodule.exports = function linkify(state) {\n var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos,\n level, htmlLinkLevel, url, fullUrl, urlText,\n blockTokens = state.tokens,\n links;\n\n if (!state.md.options.linkify) { return; }\n\n for (j = 0, l = blockTokens.length; j < l; j++) {\n if (blockTokens[j].type !== 'inline' ||\n !state.md.linkify.pretest(blockTokens[j].content)) {\n continue;\n }\n\n tokens = blockTokens[j].children;\n\n htmlLinkLevel = 0;\n\n // We scan from the end, to keep position when new tags added.\n // Use reversed logic in links start/end match\n for (i = tokens.length - 1; i >= 0; i--) {\n currentToken = tokens[i];\n\n // Skip content of markdown links\n if (currentToken.type === 'link_close') {\n i--;\n while (tokens[i].level !== currentToken.level && tokens[i].type !== 'link_open') {\n i--;\n }\n continue;\n }\n\n // Skip content of html tag links\n if (currentToken.type === 'html_inline') {\n if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {\n htmlLinkLevel--;\n }\n if (isLinkClose(currentToken.content)) {\n htmlLinkLevel++;\n }\n }\n if (htmlLinkLevel > 0) { continue; }\n\n if (currentToken.type === 'text' && state.md.linkify.test(currentToken.content)) {\n\n text = currentToken.content;\n links = state.md.linkify.match(text);\n\n // Now split string to nodes\n nodes = [];\n level = currentToken.level;\n lastPos = 0;\n\n // forbid escape sequence at the start of the string,\n // this avoids http\\://example.com/ from being linkified as\n // http:<a href=\"//example.com/\">//example.com/</a>\n if (links.length > 0 &&\n links[0].index === 0 &&\n i > 0 &&\n tokens[i - 1].type === 'text_special') {\n links = links.slice(1);\n }\n\n for (ln = 0; ln < links.length; ln++) {\n url = links[ln].url;\n fullUrl = state.md.normalizeLink(url);\n if (!state.md.validateLink(fullUrl)) { continue; }\n\n urlText = links[ln].text;\n\n // Linkifier might send raw hostnames like \"example.com\", where url\n // starts with domain name. So we prepend http:// in those cases,\n // and remove it afterwards.\n //\n if (!links[ln].schema) {\n urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\\/\\//, '');\n } else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {\n urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '');\n } else {\n urlText = state.md.normalizeLinkText(urlText);\n }\n\n pos = links[ln].index;\n\n if (pos > lastPos) {\n token = new state.Token('text', '', 0);\n token.content = text.slice(lastPos, pos);\n token.level = level;\n nodes.push(token);\n }\n\n token = new state.Token('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.level = level++;\n token.markup = 'linkify';\n token.info = 'auto';\n nodes.push(token);\n\n token = new state.Token('text', '', 0);\n token.content = urlText;\n token.level = level;\n nodes.push(token);\n\n token = new state.Token('link_close', 'a', -1);\n token.level = --level;\n token.markup = 'linkify';\n token.info = 'auto';\n nodes.push(token);\n\n lastPos = links[ln].lastIndex;\n }\n if (lastPos < text.length) {\n token = new state.Token('text', '', 0);\n token.content = text.slice(lastPos);\n token.level = level;\n nodes.push(token);\n }\n\n // replace current node\n blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);\n }\n }\n }\n};\n","// Simple typographic replacements\n//\n// (c) (C) → ©\n// (tm) (TM) → ™\n// (r) (R) → ®\n// +- → ±\n// (p) (P) -> §\n// ... → … (also ?.... → ?.., !.... → !..)\n// ???????? → ???, !!!!! → !!!, `,,` → `,`\n// -- → –, --- → —\n//\n'use strict';\n\n// TODO:\n// - fractionals 1/2, 1/4, 3/4 -> ½, ¼, ¾\n// - multiplications 2 x 4 -> 2 × 4\n\nvar RARE_RE = /\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/;\n\n// Workaround for phantomjs - need regex without /g flag,\n// or root check will fail every second time\nvar SCOPED_ABBR_TEST_RE = /\\((c|tm|r)\\)/i;\n\nvar SCOPED_ABBR_RE = /\\((c|tm|r)\\)/ig;\nvar SCOPED_ABBR = {\n c: '©',\n r: '®',\n tm: '™'\n};\n\nfunction replaceFn(match, name) {\n return SCOPED_ABBR[name.toLowerCase()];\n}\n\nfunction replace_scoped(inlineTokens) {\n var i, token, inside_autolink = 0;\n\n for (i = inlineTokens.length - 1; i >= 0; i--) {\n token = inlineTokens[i];\n\n if (token.type === 'text' && !inside_autolink) {\n token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn);\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--;\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++;\n }\n }\n}\n\nfunction replace_rare(inlineTokens) {\n var i, token, inside_autolink = 0;\n\n for (i = inlineTokens.length - 1; i >= 0; i--) {\n token = inlineTokens[i];\n\n if (token.type === 'text' && !inside_autolink) {\n if (RARE_RE.test(token.content)) {\n token.content = token.content\n .replace(/\\+-/g, '±')\n // .., ..., ....... -> …\n // but ?..... & !..... -> ?.. & !..\n .replace(/\\.{2,}/g, '…').replace(/([?!])…/g, '$1..')\n .replace(/([?!]){4,}/g, '$1$1$1').replace(/,{2,}/g, ',')\n // em-dash\n .replace(/(^|[^-])---(?=[^-]|$)/mg, '$1\\u2014')\n // en-dash\n .replace(/(^|\\s)--(?=\\s|$)/mg, '$1\\u2013')\n .replace(/(^|[^-\\s])--(?=[^-\\s]|$)/mg, '$1\\u2013');\n }\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--;\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++;\n }\n }\n}\n\n\nmodule.exports = function replace(state) {\n var blkIdx;\n\n if (!state.md.options.typographer) { return; }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n\n if (state.tokens[blkIdx].type !== 'inline') { continue; }\n\n if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {\n replace_scoped(state.tokens[blkIdx].children);\n }\n\n if (RARE_RE.test(state.tokens[blkIdx].content)) {\n replace_rare(state.tokens[blkIdx].children);\n }\n\n }\n};\n","// Convert straight quotation marks to typographic ones\n//\n'use strict';\n\n\nvar isWhiteSpace = require('../common/utils').isWhiteSpace;\nvar isPunctChar = require('../common/utils').isPunctChar;\nvar isMdAsciiPunct = require('../common/utils').isMdAsciiPunct;\n\nvar QUOTE_TEST_RE = /['\"]/;\nvar QUOTE_RE = /['\"]/g;\nvar APOSTROPHE = '\\u2019'; /* ’ */\n\n\nfunction replaceAt(str, index, ch) {\n return str.slice(0, index) + ch + str.slice(index + 1);\n}\n\nfunction process_inlines(tokens, state) {\n var i, token, text, t, pos, max, thisLevel, item, lastChar, nextChar,\n isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace,\n canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;\n\n stack = [];\n\n for (i = 0; i < tokens.length; i++) {\n token = tokens[i];\n\n thisLevel = tokens[i].level;\n\n for (j = stack.length - 1; j >= 0; j--) {\n if (stack[j].level <= thisLevel) { break; }\n }\n stack.length = j + 1;\n\n if (token.type !== 'text') { continue; }\n\n text = token.content;\n pos = 0;\n max = text.length;\n\n /*eslint no-labels:0,block-scoped-var:0*/\n OUTER:\n while (pos < max) {\n QUOTE_RE.lastIndex = pos;\n t = QUOTE_RE.exec(text);\n if (!t) { break; }\n\n canOpen = canClose = true;\n pos = t.index + 1;\n isSingle = (t[0] === \"'\");\n\n // Find previous character,\n // default to space if it's the beginning of the line\n //\n lastChar = 0x20;\n\n if (t.index - 1 >= 0) {\n lastChar = text.charCodeAt(t.index - 1);\n } else {\n for (j = i - 1; j >= 0; j--) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // lastChar defaults to 0x20\n if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1);\n break;\n }\n }\n\n // Find next character,\n // default to space if it's the end of the line\n //\n nextChar = 0x20;\n\n if (pos < max) {\n nextChar = text.charCodeAt(pos);\n } else {\n for (j = i + 1; j < tokens.length; j++) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // nextChar defaults to 0x20\n if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n nextChar = tokens[j].content.charCodeAt(0);\n break;\n }\n }\n\n isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));\n isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));\n\n isLastWhiteSpace = isWhiteSpace(lastChar);\n isNextWhiteSpace = isWhiteSpace(nextChar);\n\n if (isNextWhiteSpace) {\n canOpen = false;\n } else if (isNextPunctChar) {\n if (!(isLastWhiteSpace || isLastPunctChar)) {\n canOpen = false;\n }\n }\n\n if (isLastWhiteSpace) {\n canClose = false;\n } else if (isLastPunctChar) {\n if (!(isNextWhiteSpace || isNextPunctChar)) {\n canClose = false;\n }\n }\n\n if (nextChar === 0x22 /* \" */ && t[0] === '\"') {\n if (lastChar >= 0x30 /* 0 */ && lastChar <= 0x39 /* 9 */) {\n // special case: 1\"\" - count first quote as an inch\n canClose = canOpen = false;\n }\n }\n\n if (canOpen && canClose) {\n // Replace quotes in the middle of punctuation sequence, but not\n // in the middle of the words, i.e.:\n //\n // 1. foo \" bar \" baz - not replaced\n // 2. foo-\"-bar-\"-baz - replaced\n // 3. foo\"bar\"baz - not replaced\n //\n canOpen = isLastPunctChar;\n canClose = isNextPunctChar;\n }\n\n if (!canOpen && !canClose) {\n // middle of word\n if (isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE);\n }\n continue;\n }\n\n if (canClose) {\n // this could be a closing quote, rewind the stack to get a match\n for (j = stack.length - 1; j >= 0; j--) {\n item = stack[j];\n if (stack[j].level < thisLevel) { break; }\n if (item.single === isSingle && stack[j].level === thisLevel) {\n item = stack[j];\n\n if (isSingle) {\n openQuote = state.md.options.quotes[2];\n closeQuote = state.md.options.quotes[3];\n } else {\n openQuote = state.md.options.quotes[0];\n closeQuote = state.md.options.quotes[1];\n }\n\n // replace token.content *before* tokens[item.token].content,\n // because, if they are pointing at the same token, replaceAt\n // could mess up indices when quote length != 1\n token.content = replaceAt(token.content, t.index, closeQuote);\n tokens[item.token].content = replaceAt(\n tokens[item.token].content, item.pos, openQuote);\n\n pos += closeQuote.length - 1;\n if (item.token === i) { pos += openQuote.length - 1; }\n\n text = token.content;\n max = text.length;\n\n stack.length = j;\n continue OUTER;\n }\n }\n }\n\n if (canOpen) {\n stack.push({\n token: i,\n pos: t.index,\n single: isSingle,\n level: thisLevel\n });\n } else if (canClose && isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE);\n }\n }\n }\n}\n\n\nmodule.exports = function smartquotes(state) {\n /*eslint max-depth:0*/\n var blkIdx;\n\n if (!state.md.options.typographer) { return; }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n\n if (state.tokens[blkIdx].type !== 'inline' ||\n !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {\n continue;\n }\n\n process_inlines(state.tokens[blkIdx].children, state);\n }\n};\n","// Join raw text tokens with the rest of the text\n//\n// This is set as a separate rule to provide an opportunity for plugins\n// to run text replacements after text join, but before escape join.\n//\n// For example, `\\:)` shouldn't be replaced with an emoji.\n//\n'use strict';\n\n\nmodule.exports = function text_join(state) {\n var j, l, tokens, curr, max, last,\n blockTokens = state.tokens;\n\n for (j = 0, l = blockTokens.length; j < l; j++) {\n if (blockTokens[j].type !== 'inline') continue;\n\n tokens = blockTokens[j].children;\n max = tokens.length;\n\n for (curr = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text_special') {\n tokens[curr].type = 'text';\n }\n }\n\n for (curr = last = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;\n } else {\n if (curr !== last) { tokens[last] = tokens[curr]; }\n\n last++;\n }\n }\n\n if (curr !== last) {\n tokens.length = last;\n }\n }\n};\n","// Token class\n\n'use strict';\n\n\n/**\n * class Token\n **/\n\n/**\n * new Token(type, tag, nesting)\n *\n * Create new token and fill passed properties.\n **/\nfunction Token(type, tag, nesting) {\n /**\n * Token#type -> String\n *\n * Type of the token (string, e.g. \"paragraph_open\")\n **/\n this.type = type;\n\n /**\n * Token#tag -> String\n *\n * html tag name, e.g. \"p\"\n **/\n this.tag = tag;\n\n /**\n * Token#attrs -> Array\n *\n * Html attributes. Format: `[ [ name1, value1 ], [ name2, value2 ] ]`\n **/\n this.attrs = null;\n\n /**\n * Token#map -> Array\n *\n * Source map info. Format: `[ line_begin, line_end ]`\n **/\n this.map = null;\n\n /**\n * Token#nesting -> Number\n *\n * Level change (number in {-1, 0, 1} set), where:\n *\n * - `1` means the tag is opening\n * - `0` means the tag is self-closing\n * - `-1` means the tag is closing\n **/\n this.nesting = nesting;\n\n /**\n * Token#level -> Number\n *\n * nesting level, the same as `state.level`\n **/\n this.level = 0;\n\n /**\n * Token#children -> Array\n *\n * An array of child nodes (inline and img tokens)\n **/\n this.children = null;\n\n /**\n * Token#content -> String\n *\n * In a case of self-closing tag (code, html, fence, etc.),\n * it has contents of this tag.\n **/\n this.content = '';\n\n /**\n * Token#markup -> String\n *\n * '*' or '_' for emphasis, fence string for fence, etc.\n **/\n this.markup = '';\n\n /**\n * Token#info -> String\n *\n * Additional information:\n *\n * - Info string for \"fence\" tokens\n * - The value \"auto\" for autolink \"link_open\" and \"link_close\" tokens\n * - The string value of the item marker for ordered-list \"list_item_open\" tokens\n **/\n this.info = '';\n\n /**\n * Token#meta -> Object\n *\n * A place for plugins to store an arbitrary data\n **/\n this.meta = null;\n\n /**\n * Token#block -> Boolean\n *\n * True for block-level tokens, false for inline tokens.\n * Used in renderer to calculate line breaks\n **/\n this.block = false;\n\n /**\n * Token#hidden -> Boolean\n *\n * If it's true, ignore this element when rendering. Used for tight lists\n * to hide paragraphs.\n **/\n this.hidden = false;\n}\n\n\n/**\n * Token.attrIndex(name) -> Number\n *\n * Search attribute index by name.\n **/\nToken.prototype.attrIndex = function attrIndex(name) {\n var attrs, i, len;\n\n if (!this.attrs) { return -1; }\n\n attrs = this.attrs;\n\n for (i = 0, len = attrs.length; i < len; i++) {\n if (attrs[i][0] === name) { return i; }\n }\n return -1;\n};\n\n\n/**\n * Token.attrPush(attrData)\n *\n * Add `[ name, value ]` attribute to list. Init attrs if necessary\n **/\nToken.prototype.attrPush = function attrPush(attrData) {\n if (this.attrs) {\n this.attrs.push(attrData);\n } else {\n this.attrs = [ attrData ];\n }\n};\n\n\n/**\n * Token.attrSet(name, value)\n *\n * Set `name` attribute to `value`. Override old value if exists.\n **/\nToken.prototype.attrSet = function attrSet(name, value) {\n var idx = this.attrIndex(name),\n attrData = [ name, value ];\n\n if (idx < 0) {\n this.attrPush(attrData);\n } else {\n this.attrs[idx] = attrData;\n }\n};\n\n\n/**\n * Token.attrGet(name)\n *\n * Get the value of attribute `name`, or null if it does not exist.\n **/\nToken.prototype.attrGet = function attrGet(name) {\n var idx = this.attrIndex(name), value = null;\n if (idx >= 0) {\n value = this.attrs[idx][1];\n }\n return value;\n};\n\n\n/**\n * Token.attrJoin(name, value)\n *\n * Join value to existing attribute via space. Or create new attribute if not\n * exists. Useful to operate with token classes.\n **/\nToken.prototype.attrJoin = function attrJoin(name, value) {\n var idx = this.attrIndex(name);\n\n if (idx < 0) {\n this.attrPush([ name, value ]);\n } else {\n this.attrs[idx][1] = this.attrs[idx][1] + ' ' + value;\n }\n};\n\n\nmodule.exports = Token;\n","// Core state object\n//\n'use strict';\n\nvar Token = require('../token');\n\n\nfunction StateCore(src, md, env) {\n this.src = src;\n this.env = env;\n this.tokens = [];\n this.inlineMode = false;\n this.md = md; // link to parser instance\n}\n\n// re-export Token class to use in core rules\nStateCore.prototype.Token = Token;\n\n\nmodule.exports = StateCore;\n","/** internal\n * class Core\n *\n * Top-level rules executor. Glues block/inline parsers and does intermediate\n * transformations.\n **/\n'use strict';\n\n\nvar Ruler = require('./ruler');\n\n\nvar _rules = [\n [ 'normalize', require('./rules_core/normalize') ],\n [ 'block', require('./rules_core/block') ],\n [ 'inline', require('./rules_core/inline') ],\n [ 'linkify', require('./rules_core/linkify') ],\n [ 'replacements', require('./rules_core/replacements') ],\n [ 'smartquotes', require('./rules_core/smartquotes') ],\n // `text_join` finds `text_special` tokens (for escape sequences)\n // and joins them with the rest of the text\n [ 'text_join', require('./rules_core/text_join') ]\n];\n\n\n/**\n * new Core()\n **/\nfunction Core() {\n /**\n * Core#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of core rules.\n **/\n this.ruler = new Ruler();\n\n for (var i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1]);\n }\n}\n\n\n/**\n * Core.process(state)\n *\n * Executes core chain rules.\n **/\nCore.prototype.process = function (state) {\n var i, l, rules;\n\n rules = this.ruler.getRules('');\n\n for (i = 0, l = rules.length; i < l; i++) {\n rules[i](state);\n }\n};\n\nCore.prototype.State = require('./rules_core/state_core');\n\n\nmodule.exports = Core;\n","// GFM table, https://github.github.com/gfm/#tables-extension-\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nfunction getLine(state, line) {\n var pos = state.bMarks[line] + state.tShift[line],\n max = state.eMarks[line];\n\n return state.src.slice(pos, max);\n}\n\nfunction escapedSplit(str) {\n var result = [],\n pos = 0,\n max = str.length,\n ch,\n isEscaped = false,\n lastPos = 0,\n current = '';\n\n ch = str.charCodeAt(pos);\n\n while (pos < max) {\n if (ch === 0x7c/* | */) {\n if (!isEscaped) {\n // pipe separating cells, '|'\n result.push(current + str.substring(lastPos, pos));\n current = '';\n lastPos = pos + 1;\n } else {\n // escaped pipe, '\\|'\n current += str.substring(lastPos, pos - 1);\n lastPos = pos;\n }\n }\n\n isEscaped = (ch === 0x5c/* \\ */);\n pos++;\n\n ch = str.charCodeAt(pos);\n }\n\n result.push(current + str.substring(lastPos));\n\n return result;\n}\n\n\nmodule.exports = function table(state, startLine, endLine, silent) {\n var ch, lineText, pos, i, l, nextLine, columns, columnCount, token,\n aligns, t, tableLines, tbodyLines, oldParentType, terminate,\n terminatorRules, firstCh, secondCh;\n\n // should have at least two lines\n if (startLine + 2 > endLine) { return false; }\n\n nextLine = startLine + 1;\n\n if (state.sCount[nextLine] < state.blkIndent) { return false; }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false; }\n\n // first character of the second line should be '|', '-', ':',\n // and no other characters are allowed but spaces;\n // basically, this is the equivalent of /^[-:|][-:|\\s]*$/ regexp\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine];\n if (pos >= state.eMarks[nextLine]) { return false; }\n\n firstCh = state.src.charCodeAt(pos++);\n if (firstCh !== 0x7C/* | */ && firstCh !== 0x2D/* - */ && firstCh !== 0x3A/* : */) { return false; }\n\n if (pos >= state.eMarks[nextLine]) { return false; }\n\n secondCh = state.src.charCodeAt(pos++);\n if (secondCh !== 0x7C/* | */ && secondCh !== 0x2D/* - */ && secondCh !== 0x3A/* : */ && !isSpace(secondCh)) {\n return false;\n }\n\n // if first character is '-', then second character must not be a space\n // (due to parsing ambiguity with list)\n if (firstCh === 0x2D/* - */ && isSpace(secondCh)) { return false; }\n\n while (pos < state.eMarks[nextLine]) {\n ch = state.src.charCodeAt(pos);\n\n if (ch !== 0x7C/* | */ && ch !== 0x2D/* - */ && ch !== 0x3A/* : */ && !isSpace(ch)) { return false; }\n\n pos++;\n }\n\n lineText = getLine(state, startLine + 1);\n\n columns = lineText.split('|');\n aligns = [];\n for (i = 0; i < columns.length; i++) {\n t = columns[i].trim();\n if (!t) {\n // allow empty columns before and after table, but not in between columns;\n // e.g. allow ` |---| `, disallow ` ---||--- `\n if (i === 0 || i === columns.length - 1) {\n continue;\n } else {\n return false;\n }\n }\n\n if (!/^:?-+:?$/.test(t)) { return false; }\n if (t.charCodeAt(t.length - 1) === 0x3A/* : */) {\n aligns.push(t.charCodeAt(0) === 0x3A/* : */ ? 'center' : 'right');\n } else if (t.charCodeAt(0) === 0x3A/* : */) {\n aligns.push('left');\n } else {\n aligns.push('');\n }\n }\n\n lineText = getLine(state, startLine).trim();\n if (lineText.indexOf('|') === -1) { return false; }\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n columns = escapedSplit(lineText);\n if (columns.length && columns[0] === '') columns.shift();\n if (columns.length && columns[columns.length - 1] === '') columns.pop();\n\n // header row will define an amount of columns in the entire table,\n // and align row should be exactly the same (the rest of the rows can differ)\n columnCount = columns.length;\n if (columnCount === 0 || columnCount !== aligns.length) { return false; }\n\n if (silent) { return true; }\n\n oldParentType = state.parentType;\n state.parentType = 'table';\n\n // use 'blockquote' lists for termination because it's\n // the most similar to tables\n terminatorRules = state.md.block.ruler.getRules('blockquote');\n\n token = state.push('table_open', 'table', 1);\n token.map = tableLines = [ startLine, 0 ];\n\n token = state.push('thead_open', 'thead', 1);\n token.map = [ startLine, startLine + 1 ];\n\n token = state.push('tr_open', 'tr', 1);\n token.map = [ startLine, startLine + 1 ];\n\n for (i = 0; i < columns.length; i++) {\n token = state.push('th_open', 'th', 1);\n if (aligns[i]) {\n token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];\n }\n\n token = state.push('inline', '', 0);\n token.content = columns[i].trim();\n token.children = [];\n\n token = state.push('th_close', 'th', -1);\n }\n\n token = state.push('tr_close', 'tr', -1);\n token = state.push('thead_close', 'thead', -1);\n\n for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break; }\n\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n\n if (terminate) { break; }\n lineText = getLine(state, nextLine).trim();\n if (!lineText) { break; }\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break; }\n columns = escapedSplit(lineText);\n if (columns.length && columns[0] === '') columns.shift();\n if (columns.length && columns[columns.length - 1] === '') columns.pop();\n\n if (nextLine === startLine + 2) {\n token = state.push('tbody_open', 'tbody', 1);\n token.map = tbodyLines = [ startLine + 2, 0 ];\n }\n\n token = state.push('tr_open', 'tr', 1);\n token.map = [ nextLine, nextLine + 1 ];\n\n for (i = 0; i < columnCount; i++) {\n token = state.push('td_open', 'td', 1);\n if (aligns[i]) {\n token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];\n }\n\n token = state.push('inline', '', 0);\n token.content = columns[i] ? columns[i].trim() : '';\n token.children = [];\n\n token = state.push('td_close', 'td', -1);\n }\n token = state.push('tr_close', 'tr', -1);\n }\n\n if (tbodyLines) {\n token = state.push('tbody_close', 'tbody', -1);\n tbodyLines[1] = nextLine;\n }\n\n token = state.push('table_close', 'table', -1);\n tableLines[1] = nextLine;\n\n state.parentType = oldParentType;\n state.line = nextLine;\n return true;\n};\n","// Code block (4 spaces padded)\n\n'use strict';\n\n\nmodule.exports = function code(state, startLine, endLine/*, silent*/) {\n var nextLine, last, token;\n\n if (state.sCount[startLine] - state.blkIndent < 4) { return false; }\n\n last = nextLine = startLine + 1;\n\n while (nextLine < endLine) {\n if (state.isEmpty(nextLine)) {\n nextLine++;\n continue;\n }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n nextLine++;\n last = nextLine;\n continue;\n }\n break;\n }\n\n state.line = last;\n\n token = state.push('code_block', 'code', 0);\n token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + '\\n';\n token.map = [ startLine, state.line ];\n\n return true;\n};\n","// fences (``` lang, ~~~ lang)\n\n'use strict';\n\n\nmodule.exports = function fence(state, startLine, endLine, silent) {\n var marker, len, params, nextLine, mem, token, markup,\n haveEndMarker = false,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine];\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n if (pos + 3 > max) { return false; }\n\n marker = state.src.charCodeAt(pos);\n\n if (marker !== 0x7E/* ~ */ && marker !== 0x60 /* ` */) {\n return false;\n }\n\n // scan marker length\n mem = pos;\n pos = state.skipChars(pos, marker);\n\n len = pos - mem;\n\n if (len < 3) { return false; }\n\n markup = state.src.slice(mem, pos);\n params = state.src.slice(pos, max);\n\n if (marker === 0x60 /* ` */) {\n if (params.indexOf(String.fromCharCode(marker)) >= 0) {\n return false;\n }\n }\n\n // Since start is found, we can report success here in validation mode\n if (silent) { return true; }\n\n // search end of block\n nextLine = startLine;\n\n for (;;) {\n nextLine++;\n if (nextLine >= endLine) {\n // unclosed block should be autoclosed by end of document.\n // also block seems to be autoclosed by end of parent\n break;\n }\n\n pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];\n max = state.eMarks[nextLine];\n\n if (pos < max && state.sCount[nextLine] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n // - ```\n // test\n break;\n }\n\n if (state.src.charCodeAt(pos) !== marker) { continue; }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n // closing fence should be indented less than 4 spaces\n continue;\n }\n\n pos = state.skipChars(pos, marker);\n\n // closing code fence must be at least as long as the opening one\n if (pos - mem < len) { continue; }\n\n // make sure tail has spaces only\n pos = state.skipSpaces(pos);\n\n if (pos < max) { continue; }\n\n haveEndMarker = true;\n // found!\n break;\n }\n\n // If a fence has heading spaces, they should be removed from its inner block\n len = state.sCount[startLine];\n\n state.line = nextLine + (haveEndMarker ? 1 : 0);\n\n token = state.push('fence', 'code', 0);\n token.info = params;\n token.content = state.getLines(startLine + 1, nextLine, len, true);\n token.markup = markup;\n token.map = [ startLine, state.line ];\n\n return true;\n};\n","// Block quotes\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function blockquote(state, startLine, endLine, silent) {\n var adjustTab,\n ch,\n i,\n initial,\n l,\n lastLineEmpty,\n lines,\n nextLine,\n offset,\n oldBMarks,\n oldBSCount,\n oldIndent,\n oldParentType,\n oldSCount,\n oldTShift,\n spaceAfterMarker,\n terminate,\n terminatorRules,\n token,\n isOutdented,\n oldLineMax = state.lineMax,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine];\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n // check the block quote marker\n if (state.src.charCodeAt(pos++) !== 0x3E/* > */) { return false; }\n\n // we know that it's going to be a valid blockquote,\n // so no point trying to find the end of it in silent mode\n if (silent) { return true; }\n\n // set offset past spaces and \">\"\n initial = offset = state.sCount[startLine] + 1;\n\n // skip one optional space after '>'\n if (state.src.charCodeAt(pos) === 0x20 /* space */) {\n // ' > test '\n // ^ -- position start of line here:\n pos++;\n initial++;\n offset++;\n adjustTab = false;\n spaceAfterMarker = true;\n } else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {\n spaceAfterMarker = true;\n\n if ((state.bsCount[startLine] + offset) % 4 === 3) {\n // ' >\\t test '\n // ^ -- position start of line here (tab has width===1)\n pos++;\n initial++;\n offset++;\n adjustTab = false;\n } else {\n // ' >\\t test '\n // ^ -- position start of line here + shift bsCount slightly\n // to make extra space appear\n adjustTab = true;\n }\n } else {\n spaceAfterMarker = false;\n }\n\n oldBMarks = [ state.bMarks[startLine] ];\n state.bMarks[startLine] = pos;\n\n while (pos < max) {\n ch = state.src.charCodeAt(pos);\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;\n } else {\n offset++;\n }\n } else {\n break;\n }\n\n pos++;\n }\n\n oldBSCount = [ state.bsCount[startLine] ];\n state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);\n\n lastLineEmpty = pos >= max;\n\n oldSCount = [ state.sCount[startLine] ];\n state.sCount[startLine] = offset - initial;\n\n oldTShift = [ state.tShift[startLine] ];\n state.tShift[startLine] = pos - state.bMarks[startLine];\n\n terminatorRules = state.md.block.ruler.getRules('blockquote');\n\n oldParentType = state.parentType;\n state.parentType = 'blockquote';\n\n // Search the end of the block\n //\n // Block ends with either:\n // 1. an empty line outside:\n // ```\n // > test\n //\n // ```\n // 2. an empty line inside:\n // ```\n // >\n // test\n // ```\n // 3. another tag:\n // ```\n // > test\n // - - -\n // ```\n for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {\n // check if it's outdented, i.e. it's inside list item and indented\n // less than said list item:\n //\n // ```\n // 1. anything\n // > current blockquote\n // 2. checking this line\n // ```\n isOutdented = state.sCount[nextLine] < state.blkIndent;\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine];\n max = state.eMarks[nextLine];\n\n if (pos >= max) {\n // Case 1: line is not inside the blockquote, and this line is empty.\n break;\n }\n\n if (state.src.charCodeAt(pos++) === 0x3E/* > */ && !isOutdented) {\n // This line is inside the blockquote.\n\n // set offset past spaces and \">\"\n initial = offset = state.sCount[nextLine] + 1;\n\n // skip one optional space after '>'\n if (state.src.charCodeAt(pos) === 0x20 /* space */) {\n // ' > test '\n // ^ -- position start of line here:\n pos++;\n initial++;\n offset++;\n adjustTab = false;\n spaceAfterMarker = true;\n } else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {\n spaceAfterMarker = true;\n\n if ((state.bsCount[nextLine] + offset) % 4 === 3) {\n // ' >\\t test '\n // ^ -- position start of line here (tab has width===1)\n pos++;\n initial++;\n offset++;\n adjustTab = false;\n } else {\n // ' >\\t test '\n // ^ -- position start of line here + shift bsCount slightly\n // to make extra space appear\n adjustTab = true;\n }\n } else {\n spaceAfterMarker = false;\n }\n\n oldBMarks.push(state.bMarks[nextLine]);\n state.bMarks[nextLine] = pos;\n\n while (pos < max) {\n ch = state.src.charCodeAt(pos);\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;\n } else {\n offset++;\n }\n } else {\n break;\n }\n\n pos++;\n }\n\n lastLineEmpty = pos >= max;\n\n oldBSCount.push(state.bsCount[nextLine]);\n state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);\n\n oldSCount.push(state.sCount[nextLine]);\n state.sCount[nextLine] = offset - initial;\n\n oldTShift.push(state.tShift[nextLine]);\n state.tShift[nextLine] = pos - state.bMarks[nextLine];\n continue;\n }\n\n // Case 2: line is not inside the blockquote, and the last line was empty.\n if (lastLineEmpty) { break; }\n\n // Case 3: another tag found.\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n\n if (terminate) {\n // Quirk to enforce \"hard termination mode\" for paragraphs;\n // normally if you call `tokenize(state, startLine, nextLine)`,\n // paragraphs will look below nextLine for paragraph continuation,\n // but if blockquote is terminated by another tag, they shouldn't\n state.lineMax = nextLine;\n\n if (state.blkIndent !== 0) {\n // state.blkIndent was non-zero, we now set it to zero,\n // so we need to re-calculate all offsets to appear as\n // if indent wasn't changed\n oldBMarks.push(state.bMarks[nextLine]);\n oldBSCount.push(state.bsCount[nextLine]);\n oldTShift.push(state.tShift[nextLine]);\n oldSCount.push(state.sCount[nextLine]);\n state.sCount[nextLine] -= state.blkIndent;\n }\n\n break;\n }\n\n oldBMarks.push(state.bMarks[nextLine]);\n oldBSCount.push(state.bsCount[nextLine]);\n oldTShift.push(state.tShift[nextLine]);\n oldSCount.push(state.sCount[nextLine]);\n\n // A negative indentation means that this is a paragraph continuation\n //\n state.sCount[nextLine] = -1;\n }\n\n oldIndent = state.blkIndent;\n state.blkIndent = 0;\n\n token = state.push('blockquote_open', 'blockquote', 1);\n token.markup = '>';\n token.map = lines = [ startLine, 0 ];\n\n state.md.block.tokenize(state, startLine, nextLine);\n\n token = state.push('blockquote_close', 'blockquote', -1);\n token.markup = '>';\n\n state.lineMax = oldLineMax;\n state.parentType = oldParentType;\n lines[1] = state.line;\n\n // Restore original tShift; this might not be necessary since the parser\n // has already been here, but just to make sure we can do that.\n for (i = 0; i < oldTShift.length; i++) {\n state.bMarks[i + startLine] = oldBMarks[i];\n state.tShift[i + startLine] = oldTShift[i];\n state.sCount[i + startLine] = oldSCount[i];\n state.bsCount[i + startLine] = oldBSCount[i];\n }\n state.blkIndent = oldIndent;\n\n return true;\n};\n","// Horizontal rule\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function hr(state, startLine, endLine, silent) {\n var marker, cnt, ch, token,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine];\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n marker = state.src.charCodeAt(pos++);\n\n // Check hr marker\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x5F/* _ */) {\n return false;\n }\n\n // markers can be mixed with spaces, but there should be at least 3 of them\n\n cnt = 1;\n while (pos < max) {\n ch = state.src.charCodeAt(pos++);\n if (ch !== marker && !isSpace(ch)) { return false; }\n if (ch === marker) { cnt++; }\n }\n\n if (cnt < 3) { return false; }\n\n if (silent) { return true; }\n\n state.line = startLine + 1;\n\n token = state.push('hr', 'hr', 0);\n token.map = [ startLine, state.line ];\n token.markup = Array(cnt + 1).join(String.fromCharCode(marker));\n\n return true;\n};\n","// Lists\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\n// Search `[-+*][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipBulletListMarker(state, startLine) {\n var marker, pos, max, ch;\n\n pos = state.bMarks[startLine] + state.tShift[startLine];\n max = state.eMarks[startLine];\n\n marker = state.src.charCodeAt(pos++);\n // Check bullet\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x2B/* + */) {\n return -1;\n }\n\n if (pos < max) {\n ch = state.src.charCodeAt(pos);\n\n if (!isSpace(ch)) {\n // \" -test \" - is not a list item\n return -1;\n }\n }\n\n return pos;\n}\n\n// Search `\\d+[.)][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipOrderedListMarker(state, startLine) {\n var ch,\n start = state.bMarks[startLine] + state.tShift[startLine],\n pos = start,\n max = state.eMarks[startLine];\n\n // List marker should have at least 2 chars (digit + dot)\n if (pos + 1 >= max) { return -1; }\n\n ch = state.src.charCodeAt(pos++);\n\n if (ch < 0x30/* 0 */ || ch > 0x39/* 9 */) { return -1; }\n\n for (;;) {\n // EOL -> fail\n if (pos >= max) { return -1; }\n\n ch = state.src.charCodeAt(pos++);\n\n if (ch >= 0x30/* 0 */ && ch <= 0x39/* 9 */) {\n\n // List marker should have no more than 9 digits\n // (prevents integer overflow in browsers)\n if (pos - start >= 10) { return -1; }\n\n continue;\n }\n\n // found valid marker\n if (ch === 0x29/* ) */ || ch === 0x2e/* . */) {\n break;\n }\n\n return -1;\n }\n\n\n if (pos < max) {\n ch = state.src.charCodeAt(pos);\n\n if (!isSpace(ch)) {\n // \" 1.test \" - is not a list item\n return -1;\n }\n }\n return pos;\n}\n\nfunction markTightParagraphs(state, idx) {\n var i, l,\n level = state.level + 2;\n\n for (i = idx + 2, l = state.tokens.length - 2; i < l; i++) {\n if (state.tokens[i].level === level && state.tokens[i].type === 'paragraph_open') {\n state.tokens[i + 2].hidden = true;\n state.tokens[i].hidden = true;\n i += 2;\n }\n }\n}\n\n\nmodule.exports = function list(state, startLine, endLine, silent) {\n var ch,\n contentStart,\n i,\n indent,\n indentAfterMarker,\n initial,\n isOrdered,\n itemLines,\n l,\n listLines,\n listTokIdx,\n markerCharCode,\n markerValue,\n max,\n nextLine,\n offset,\n oldListIndent,\n oldParentType,\n oldSCount,\n oldTShift,\n oldTight,\n pos,\n posAfterMarker,\n prevEmptyEnd,\n start,\n terminate,\n terminatorRules,\n token,\n isTerminatingParagraph = false,\n tight = true;\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n // Special case:\n // - item 1\n // - item 2\n // - item 3\n // - item 4\n // - this one is a paragraph continuation\n if (state.listIndent >= 0 &&\n state.sCount[startLine] - state.listIndent >= 4 &&\n state.sCount[startLine] < state.blkIndent) {\n return false;\n }\n\n // limit conditions when list can interrupt\n // a paragraph (validation mode only)\n if (silent && state.parentType === 'paragraph') {\n // Next list item should still terminate previous list item;\n //\n // This code can fail if plugins use blkIndent as well as lists,\n // but I hope the spec gets fixed long before that happens.\n //\n if (state.sCount[startLine] >= state.blkIndent) {\n isTerminatingParagraph = true;\n }\n }\n\n // Detect list type and position after marker\n if ((posAfterMarker = skipOrderedListMarker(state, startLine)) >= 0) {\n isOrdered = true;\n start = state.bMarks[startLine] + state.tShift[startLine];\n markerValue = Number(state.src.slice(start, posAfterMarker - 1));\n\n // If we're starting a new ordered list right after\n // a paragraph, it should start with 1.\n if (isTerminatingParagraph && markerValue !== 1) return false;\n\n } else if ((posAfterMarker = skipBulletListMarker(state, startLine)) >= 0) {\n isOrdered = false;\n\n } else {\n return false;\n }\n\n // If we're starting a new unordered list right after\n // a paragraph, first line should not be empty.\n if (isTerminatingParagraph) {\n if (state.skipSpaces(posAfterMarker) >= state.eMarks[startLine]) return false;\n }\n\n // We should terminate list on style change. Remember first one to compare.\n markerCharCode = state.src.charCodeAt(posAfterMarker - 1);\n\n // For validation mode we can terminate immediately\n if (silent) { return true; }\n\n // Start list\n listTokIdx = state.tokens.length;\n\n if (isOrdered) {\n token = state.push('ordered_list_open', 'ol', 1);\n if (markerValue !== 1) {\n token.attrs = [ [ 'start', markerValue ] ];\n }\n\n } else {\n token = state.push('bullet_list_open', 'ul', 1);\n }\n\n token.map = listLines = [ startLine, 0 ];\n token.markup = String.fromCharCode(markerCharCode);\n\n //\n // Iterate list items\n //\n\n nextLine = startLine;\n prevEmptyEnd = false;\n terminatorRules = state.md.block.ruler.getRules('list');\n\n oldParentType = state.parentType;\n state.parentType = 'list';\n\n while (nextLine < endLine) {\n pos = posAfterMarker;\n max = state.eMarks[nextLine];\n\n initial = offset = state.sCount[nextLine] + posAfterMarker - (state.bMarks[startLine] + state.tShift[startLine]);\n\n while (pos < max) {\n ch = state.src.charCodeAt(pos);\n\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine]) % 4;\n } else if (ch === 0x20) {\n offset++;\n } else {\n break;\n }\n\n pos++;\n }\n\n contentStart = pos;\n\n if (contentStart >= max) {\n // trimming space in \"- \\n 3\" case, indent is 1 here\n indentAfterMarker = 1;\n } else {\n indentAfterMarker = offset - initial;\n }\n\n // If we have more than 4 spaces, the indent is 1\n // (the rest is just indented code block)\n if (indentAfterMarker > 4) { indentAfterMarker = 1; }\n\n // \" - test\"\n // ^^^^^ - calculating total length of this thing\n indent = initial + indentAfterMarker;\n\n // Run subparser & write tokens\n token = state.push('list_item_open', 'li', 1);\n token.markup = String.fromCharCode(markerCharCode);\n token.map = itemLines = [ startLine, 0 ];\n if (isOrdered) {\n token.info = state.src.slice(start, posAfterMarker - 1);\n }\n\n // change current state, then restore it after parser subcall\n oldTight = state.tight;\n oldTShift = state.tShift[startLine];\n oldSCount = state.sCount[startLine];\n\n // - example list\n // ^ listIndent position will be here\n // ^ blkIndent position will be here\n //\n oldListIndent = state.listIndent;\n state.listIndent = state.blkIndent;\n state.blkIndent = indent;\n\n state.tight = true;\n state.tShift[startLine] = contentStart - state.bMarks[startLine];\n state.sCount[startLine] = offset;\n\n if (contentStart >= max && state.isEmpty(startLine + 1)) {\n // workaround for this case\n // (list item is empty, list terminates before \"foo\"):\n // ~~~~~~~~\n // -\n //\n // foo\n // ~~~~~~~~\n state.line = Math.min(state.line + 2, endLine);\n } else {\n state.md.block.tokenize(state, startLine, endLine, true);\n }\n\n // If any of list item is tight, mark list as tight\n if (!state.tight || prevEmptyEnd) {\n tight = false;\n }\n // Item become loose if finish with empty line,\n // but we should filter last element, because it means list finish\n prevEmptyEnd = (state.line - startLine) > 1 && state.isEmpty(state.line - 1);\n\n state.blkIndent = state.listIndent;\n state.listIndent = oldListIndent;\n state.tShift[startLine] = oldTShift;\n state.sCount[startLine] = oldSCount;\n state.tight = oldTight;\n\n token = state.push('list_item_close', 'li', -1);\n token.markup = String.fromCharCode(markerCharCode);\n\n nextLine = startLine = state.line;\n itemLines[1] = nextLine;\n contentStart = state.bMarks[startLine];\n\n if (nextLine >= endLine) { break; }\n\n //\n // Try to check if list is terminated or continued.\n //\n if (state.sCount[nextLine] < state.blkIndent) { break; }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { break; }\n\n // fail if terminating block found\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n if (terminate) { break; }\n\n // fail if list has another type\n if (isOrdered) {\n posAfterMarker = skipOrderedListMarker(state, nextLine);\n if (posAfterMarker < 0) { break; }\n start = state.bMarks[nextLine] + state.tShift[nextLine];\n } else {\n posAfterMarker = skipBulletListMarker(state, nextLine);\n if (posAfterMarker < 0) { break; }\n }\n\n if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) { break; }\n }\n\n // Finalize list\n if (isOrdered) {\n token = state.push('ordered_list_close', 'ol', -1);\n } else {\n token = state.push('bullet_list_close', 'ul', -1);\n }\n token.markup = String.fromCharCode(markerCharCode);\n\n listLines[1] = nextLine;\n state.line = nextLine;\n\n state.parentType = oldParentType;\n\n // mark paragraphs tight if needed\n if (tight) {\n markTightParagraphs(state, listTokIdx);\n }\n\n return true;\n};\n","'use strict';\n\n\nvar normalizeReference = require('../common/utils').normalizeReference;\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function reference(state, startLine, _endLine, silent) {\n var ch,\n destEndPos,\n destEndLineNo,\n endLine,\n href,\n i,\n l,\n label,\n labelEnd,\n oldParentType,\n res,\n start,\n str,\n terminate,\n terminatorRules,\n title,\n lines = 0,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine],\n nextLine = startLine + 1;\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n if (state.src.charCodeAt(pos) !== 0x5B/* [ */) { return false; }\n\n // Simple check to quickly interrupt scan on [link](url) at the start of line.\n // Can be useful on practice: https://github.com/markdown-it/markdown-it/issues/54\n while (++pos < max) {\n if (state.src.charCodeAt(pos) === 0x5D /* ] */ &&\n state.src.charCodeAt(pos - 1) !== 0x5C/* \\ */) {\n if (pos + 1 === max) { return false; }\n if (state.src.charCodeAt(pos + 1) !== 0x3A/* : */) { return false; }\n break;\n }\n }\n\n endLine = state.lineMax;\n\n // jump line-by-line until empty one or EOF\n terminatorRules = state.md.block.ruler.getRules('reference');\n\n oldParentType = state.parentType;\n state.parentType = 'reference';\n\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue; }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue; }\n\n // Some tags can terminate paragraph without empty line.\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n if (terminate) { break; }\n }\n\n str = state.getLines(startLine, nextLine, state.blkIndent, false).trim();\n max = str.length;\n\n for (pos = 1; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x5B /* [ */) {\n return false;\n } else if (ch === 0x5D /* ] */) {\n labelEnd = pos;\n break;\n } else if (ch === 0x0A /* \\n */) {\n lines++;\n } else if (ch === 0x5C /* \\ */) {\n pos++;\n if (pos < max && str.charCodeAt(pos) === 0x0A) {\n lines++;\n }\n }\n }\n\n if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 0x3A/* : */) { return false; }\n\n // [label]: destination 'title'\n // ^^^ skip optional whitespace here\n for (pos = labelEnd + 2; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x0A) {\n lines++;\n } else if (isSpace(ch)) {\n /*eslint no-empty:0*/\n } else {\n break;\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^^^^^ parse this\n res = state.md.helpers.parseLinkDestination(str, pos, max);\n if (!res.ok) { return false; }\n\n href = state.md.normalizeLink(res.str);\n if (!state.md.validateLink(href)) { return false; }\n\n pos = res.pos;\n lines += res.lines;\n\n // save cursor state, we could require to rollback later\n destEndPos = pos;\n destEndLineNo = lines;\n\n // [label]: destination 'title'\n // ^^^ skipping those spaces\n start = pos;\n for (; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x0A) {\n lines++;\n } else if (isSpace(ch)) {\n /*eslint no-empty:0*/\n } else {\n break;\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^ parse this\n res = state.md.helpers.parseLinkTitle(str, pos, max);\n if (pos < max && start !== pos && res.ok) {\n title = res.str;\n pos = res.pos;\n lines += res.lines;\n } else {\n title = '';\n pos = destEndPos;\n lines = destEndLineNo;\n }\n\n // skip trailing spaces until the rest of the line\n while (pos < max) {\n ch = str.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n pos++;\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n if (title) {\n // garbage at the end of the line after title,\n // but it could still be a valid reference if we roll back\n title = '';\n pos = destEndPos;\n lines = destEndLineNo;\n while (pos < max) {\n ch = str.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n pos++;\n }\n }\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n // garbage at the end of the line\n return false;\n }\n\n label = normalizeReference(str.slice(1, labelEnd));\n if (!label) {\n // CommonMark 0.20 disallows empty labels\n return false;\n }\n\n // Reference can not terminate anything. This check is for safety only.\n /*istanbul ignore if*/\n if (silent) { return true; }\n\n if (typeof state.env.references === 'undefined') {\n state.env.references = {};\n }\n if (typeof state.env.references[label] === 'undefined') {\n state.env.references[label] = { title: title, href: href };\n }\n\n state.parentType = oldParentType;\n\n state.line = startLine + lines + 1;\n return true;\n};\n","// List of valid html blocks names, accorting to commonmark spec\n// http://jgm.github.io/CommonMark/spec.html#html-blocks\n\n'use strict';\n\n\nmodule.exports = [\n 'address',\n 'article',\n 'aside',\n 'base',\n 'basefont',\n 'blockquote',\n 'body',\n 'caption',\n 'center',\n 'col',\n 'colgroup',\n 'dd',\n 'details',\n 'dialog',\n 'dir',\n 'div',\n 'dl',\n 'dt',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'frame',\n 'frameset',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hr',\n 'html',\n 'iframe',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'menu',\n 'menuitem',\n 'nav',\n 'noframes',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'param',\n 'section',\n 'source',\n 'summary',\n 'table',\n 'tbody',\n 'td',\n 'tfoot',\n 'th',\n 'thead',\n 'title',\n 'tr',\n 'track',\n 'ul'\n];\n","// Regexps to match html elements\n\n'use strict';\n\nvar attr_name = '[a-zA-Z_:][a-zA-Z0-9:._-]*';\n\nvar unquoted = '[^\"\\'=<>`\\\\x00-\\\\x20]+';\nvar single_quoted = \"'[^']*'\";\nvar double_quoted = '\"[^\"]*\"';\n\nvar attr_value = '(?:' + unquoted + '|' + single_quoted + '|' + double_quoted + ')';\n\nvar attribute = '(?:\\\\s+' + attr_name + '(?:\\\\s*=\\\\s*' + attr_value + ')?)';\n\nvar open_tag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>';\n\nvar close_tag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>';\nvar comment = '<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->';\nvar processing = '<[?][\\\\s\\\\S]*?[?]>';\nvar declaration = '<![A-Z]+\\\\s+[^>]*>';\nvar cdata = '<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>';\n\nvar HTML_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + '|' + comment +\n '|' + processing + '|' + declaration + '|' + cdata + ')');\nvar HTML_OPEN_CLOSE_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + ')');\n\nmodule.exports.HTML_TAG_RE = HTML_TAG_RE;\nmodule.exports.HTML_OPEN_CLOSE_TAG_RE = HTML_OPEN_CLOSE_TAG_RE;\n","// HTML block\n\n'use strict';\n\n\nvar block_names = require('../common/html_blocks');\nvar HTML_OPEN_CLOSE_TAG_RE = require('../common/html_re').HTML_OPEN_CLOSE_TAG_RE;\n\n// An array of opening and corresponding closing sequences for html tags,\n// last argument defines whether it can terminate a paragraph or not\n//\nvar HTML_SEQUENCES = [\n [ /^<(script|pre|style|textarea)(?=(\\s|>|$))/i, /<\\/(script|pre|style|textarea)>/i, true ],\n [ /^<!--/, /-->/, true ],\n [ /^<\\?/, /\\?>/, true ],\n [ /^<![A-Z]/, />/, true ],\n [ /^<!\\[CDATA\\[/, /\\]\\]>/, true ],\n [ new RegExp('^</?(' + block_names.join('|') + ')(?=(\\\\s|/?>|$))', 'i'), /^$/, true ],\n [ new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + '\\\\s*$'), /^$/, false ]\n];\n\n\nmodule.exports = function html_block(state, startLine, endLine, silent) {\n var i, nextLine, token, lineText,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine];\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n if (!state.md.options.html) { return false; }\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false; }\n\n lineText = state.src.slice(pos, max);\n\n for (i = 0; i < HTML_SEQUENCES.length; i++) {\n if (HTML_SEQUENCES[i][0].test(lineText)) { break; }\n }\n\n if (i === HTML_SEQUENCES.length) { return false; }\n\n if (silent) {\n // true if this sequence can be a terminator, false otherwise\n return HTML_SEQUENCES[i][2];\n }\n\n nextLine = startLine + 1;\n\n // If we are here - we detected HTML block.\n // Let's roll down till block end.\n if (!HTML_SEQUENCES[i][1].test(lineText)) {\n for (; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break; }\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine];\n max = state.eMarks[nextLine];\n lineText = state.src.slice(pos, max);\n\n if (HTML_SEQUENCES[i][1].test(lineText)) {\n if (lineText.length !== 0) { nextLine++; }\n break;\n }\n }\n }\n\n state.line = nextLine;\n\n token = state.push('html_block', '', 0);\n token.map = [ startLine, nextLine ];\n token.content = state.getLines(startLine, nextLine, state.blkIndent, true);\n\n return true;\n};\n","// heading (#, ##, ...)\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function heading(state, startLine, endLine, silent) {\n var ch, level, tmp, token,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine];\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n ch = state.src.charCodeAt(pos);\n\n if (ch !== 0x23/* # */ || pos >= max) { return false; }\n\n // count heading level\n level = 1;\n ch = state.src.charCodeAt(++pos);\n while (ch === 0x23/* # */ && pos < max && level <= 6) {\n level++;\n ch = state.src.charCodeAt(++pos);\n }\n\n if (level > 6 || (pos < max && !isSpace(ch))) { return false; }\n\n if (silent) { return true; }\n\n // Let's cut tails like ' ### ' from the end of string\n\n max = state.skipSpacesBack(max, pos);\n tmp = state.skipCharsBack(max, 0x23, pos); // #\n if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {\n max = tmp;\n }\n\n state.line = startLine + 1;\n\n token = state.push('heading_open', 'h' + String(level), 1);\n token.markup = '########'.slice(0, level);\n token.map = [ startLine, state.line ];\n\n token = state.push('inline', '', 0);\n token.content = state.src.slice(pos, max).trim();\n token.map = [ startLine, state.line ];\n token.children = [];\n\n token = state.push('heading_close', 'h' + String(level), -1);\n token.markup = '########'.slice(0, level);\n\n return true;\n};\n","// lheading (---, ===)\n\n'use strict';\n\n\nmodule.exports = function lheading(state, startLine, endLine/*, silent*/) {\n var content, terminate, i, l, token, pos, max, level, marker,\n nextLine = startLine + 1, oldParentType,\n terminatorRules = state.md.block.ruler.getRules('paragraph');\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n oldParentType = state.parentType;\n state.parentType = 'paragraph'; // use paragraph to match terminatorRules\n\n // jump line-by-line until empty one or EOF\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue; }\n\n //\n // Check for underline in setext header\n //\n if (state.sCount[nextLine] >= state.blkIndent) {\n pos = state.bMarks[nextLine] + state.tShift[nextLine];\n max = state.eMarks[nextLine];\n\n if (pos < max) {\n marker = state.src.charCodeAt(pos);\n\n if (marker === 0x2D/* - */ || marker === 0x3D/* = */) {\n pos = state.skipChars(pos, marker);\n pos = state.skipSpaces(pos);\n\n if (pos >= max) {\n level = (marker === 0x3D/* = */ ? 1 : 2);\n break;\n }\n }\n }\n }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue; }\n\n // Some tags can terminate paragraph without empty line.\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n if (terminate) { break; }\n }\n\n if (!level) {\n // Didn't find valid underline\n return false;\n }\n\n content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();\n\n state.line = nextLine + 1;\n\n token = state.push('heading_open', 'h' + String(level), 1);\n token.markup = String.fromCharCode(marker);\n token.map = [ startLine, state.line ];\n\n token = state.push('inline', '', 0);\n token.content = content;\n token.map = [ startLine, state.line - 1 ];\n token.children = [];\n\n token = state.push('heading_close', 'h' + String(level), -1);\n token.markup = String.fromCharCode(marker);\n\n state.parentType = oldParentType;\n\n return true;\n};\n","// Paragraph\n\n'use strict';\n\n\nmodule.exports = function paragraph(state, startLine/*, endLine*/) {\n var content, terminate, i, l, token, oldParentType,\n nextLine = startLine + 1,\n terminatorRules = state.md.block.ruler.getRules('paragraph'),\n endLine = state.lineMax;\n\n oldParentType = state.parentType;\n state.parentType = 'paragraph';\n\n // jump line-by-line until empty one or EOF\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue; }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue; }\n\n // Some tags can terminate paragraph without empty line.\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n if (terminate) { break; }\n }\n\n content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();\n\n state.line = nextLine;\n\n token = state.push('paragraph_open', 'p', 1);\n token.map = [ startLine, state.line ];\n\n token = state.push('inline', '', 0);\n token.content = content;\n token.map = [ startLine, state.line ];\n token.children = [];\n\n token = state.push('paragraph_close', 'p', -1);\n\n state.parentType = oldParentType;\n\n return true;\n};\n","// Parser state class\n\n'use strict';\n\nvar Token = require('../token');\nvar isSpace = require('../common/utils').isSpace;\n\n\nfunction StateBlock(src, md, env, tokens) {\n var ch, s, start, pos, len, indent, offset, indent_found;\n\n this.src = src;\n\n // link to parser instance\n this.md = md;\n\n this.env = env;\n\n //\n // Internal state vartiables\n //\n\n this.tokens = tokens;\n\n this.bMarks = []; // line begin offsets for fast jumps\n this.eMarks = []; // line end offsets for fast jumps\n this.tShift = []; // offsets of the first non-space characters (tabs not expanded)\n this.sCount = []; // indents for each line (tabs expanded)\n\n // An amount of virtual spaces (tabs expanded) between beginning\n // of each line (bMarks) and real beginning of that line.\n //\n // It exists only as a hack because blockquotes override bMarks\n // losing information in the process.\n //\n // It's used only when expanding tabs, you can think about it as\n // an initial tab length, e.g. bsCount=21 applied to string `\\t123`\n // means first tab should be expanded to 4-21%4 === 3 spaces.\n //\n this.bsCount = [];\n\n // block parser variables\n this.blkIndent = 0; // required block content indent (for example, if we are\n // inside a list, it would be positioned after list marker)\n this.line = 0; // line index in src\n this.lineMax = 0; // lines count\n this.tight = false; // loose/tight mode for lists\n this.ddIndent = -1; // indent of the current dd block (-1 if there isn't any)\n this.listIndent = -1; // indent of the current list block (-1 if there isn't any)\n\n // can be 'blockquote', 'list', 'root', 'paragraph' or 'reference'\n // used in lists to determine if they interrupt a paragraph\n this.parentType = 'root';\n\n this.level = 0;\n\n // renderer\n this.result = '';\n\n // Create caches\n // Generate markers.\n s = this.src;\n indent_found = false;\n\n for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {\n ch = s.charCodeAt(pos);\n\n if (!indent_found) {\n if (isSpace(ch)) {\n indent++;\n\n if (ch === 0x09) {\n offset += 4 - offset % 4;\n } else {\n offset++;\n }\n continue;\n } else {\n indent_found = true;\n }\n }\n\n if (ch === 0x0A || pos === len - 1) {\n if (ch !== 0x0A) { pos++; }\n this.bMarks.push(start);\n this.eMarks.push(pos);\n this.tShift.push(indent);\n this.sCount.push(offset);\n this.bsCount.push(0);\n\n indent_found = false;\n indent = 0;\n offset = 0;\n start = pos + 1;\n }\n }\n\n // Push fake entry to simplify cache bounds checks\n this.bMarks.push(s.length);\n this.eMarks.push(s.length);\n this.tShift.push(0);\n this.sCount.push(0);\n this.bsCount.push(0);\n\n this.lineMax = this.bMarks.length - 1; // don't count last fake line\n}\n\n// Push new token to \"stream\".\n//\nStateBlock.prototype.push = function (type, tag, nesting) {\n var token = new Token(type, tag, nesting);\n token.block = true;\n\n if (nesting < 0) this.level--; // closing tag\n token.level = this.level;\n if (nesting > 0) this.level++; // opening tag\n\n this.tokens.push(token);\n return token;\n};\n\nStateBlock.prototype.isEmpty = function isEmpty(line) {\n return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];\n};\n\nStateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {\n for (var max = this.lineMax; from < max; from++) {\n if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {\n break;\n }\n }\n return from;\n};\n\n// Skip spaces from given position.\nStateBlock.prototype.skipSpaces = function skipSpaces(pos) {\n var ch;\n\n for (var max = this.src.length; pos < max; pos++) {\n ch = this.src.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n }\n return pos;\n};\n\n// Skip spaces from given position in reverse.\nStateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {\n if (pos <= min) { return pos; }\n\n while (pos > min) {\n if (!isSpace(this.src.charCodeAt(--pos))) { return pos + 1; }\n }\n return pos;\n};\n\n// Skip char codes from given position\nStateBlock.prototype.skipChars = function skipChars(pos, code) {\n for (var max = this.src.length; pos < max; pos++) {\n if (this.src.charCodeAt(pos) !== code) { break; }\n }\n return pos;\n};\n\n// Skip char codes reverse from given position - 1\nStateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {\n if (pos <= min) { return pos; }\n\n while (pos > min) {\n if (code !== this.src.charCodeAt(--pos)) { return pos + 1; }\n }\n return pos;\n};\n\n// cut lines range from source.\nStateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {\n var i, lineIndent, ch, first, last, queue, lineStart,\n line = begin;\n\n if (begin >= end) {\n return '';\n }\n\n queue = new Array(end - begin);\n\n for (i = 0; line < end; line++, i++) {\n lineIndent = 0;\n lineStart = first = this.bMarks[line];\n\n if (line + 1 < end || keepLastLF) {\n // No need for bounds check because we have fake entry on tail.\n last = this.eMarks[line] + 1;\n } else {\n last = this.eMarks[line];\n }\n\n while (first < last && lineIndent < indent) {\n ch = this.src.charCodeAt(first);\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;\n } else {\n lineIndent++;\n }\n } else if (first - lineStart < this.tShift[line]) {\n // patched tShift masked characters to look like spaces (blockquotes, list markers)\n lineIndent++;\n } else {\n break;\n }\n\n first++;\n }\n\n if (lineIndent > indent) {\n // partially expanding tabs in code blocks, e.g '\\t\\tfoobar'\n // with indent=2 becomes ' \\tfoobar'\n queue[i] = new Array(lineIndent - indent + 1).join(' ') + this.src.slice(first, last);\n } else {\n queue[i] = this.src.slice(first, last);\n }\n }\n\n return queue.join('');\n};\n\n// re-export Token class to use in block rules\nStateBlock.prototype.Token = Token;\n\n\nmodule.exports = StateBlock;\n","/** internal\n * class ParserBlock\n *\n * Block-level tokenizer.\n **/\n'use strict';\n\n\nvar Ruler = require('./ruler');\n\n\nvar _rules = [\n // First 2 params - rule name & source. Secondary array - list of rules,\n // which can be terminated by this one.\n [ 'table', require('./rules_block/table'), [ 'paragraph', 'reference' ] ],\n [ 'code', require('./rules_block/code') ],\n [ 'fence', require('./rules_block/fence'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ],\n [ 'blockquote', require('./rules_block/blockquote'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ],\n [ 'hr', require('./rules_block/hr'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ],\n [ 'list', require('./rules_block/list'), [ 'paragraph', 'reference', 'blockquote' ] ],\n [ 'reference', require('./rules_block/reference') ],\n [ 'html_block', require('./rules_block/html_block'), [ 'paragraph', 'reference', 'blockquote' ] ],\n [ 'heading', require('./rules_block/heading'), [ 'paragraph', 'reference', 'blockquote' ] ],\n [ 'lheading', require('./rules_block/lheading') ],\n [ 'paragraph', require('./rules_block/paragraph') ]\n];\n\n\n/**\n * new ParserBlock()\n **/\nfunction ParserBlock() {\n /**\n * ParserBlock#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of block rules.\n **/\n this.ruler = new Ruler();\n\n for (var i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1], { alt: (_rules[i][2] || []).slice() });\n }\n}\n\n\n// Generate tokens for input range\n//\nParserBlock.prototype.tokenize = function (state, startLine, endLine) {\n var ok, i,\n rules = this.ruler.getRules(''),\n len = rules.length,\n line = startLine,\n hasEmptyLines = false,\n maxNesting = state.md.options.maxNesting;\n\n while (line < endLine) {\n state.line = line = state.skipEmptyLines(line);\n if (line >= endLine) { break; }\n\n // Termination condition for nested calls.\n // Nested calls currently used for blockquotes & lists\n if (state.sCount[line] < state.blkIndent) { break; }\n\n // If nesting level exceeded - skip tail to the end. That's not ordinary\n // situation and we should not care about content.\n if (state.level >= maxNesting) {\n state.line = endLine;\n break;\n }\n\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.line`\n // - update `state.tokens`\n // - return true\n\n for (i = 0; i < len; i++) {\n ok = rules[i](state, line, endLine, false);\n if (ok) { break; }\n }\n\n // set state.tight if we had an empty line before current tag\n // i.e. latest empty line should not count\n state.tight = !hasEmptyLines;\n\n // paragraph might \"eat\" one newline after it in nested lists\n if (state.isEmpty(state.line - 1)) {\n hasEmptyLines = true;\n }\n\n line = state.line;\n\n if (line < endLine && state.isEmpty(line)) {\n hasEmptyLines = true;\n line++;\n state.line = line;\n }\n }\n};\n\n\n/**\n * ParserBlock.parse(str, md, env, outTokens)\n *\n * Process input string and push block tokens into `outTokens`\n **/\nParserBlock.prototype.parse = function (src, md, env, outTokens) {\n var state;\n\n if (!src) { return; }\n\n state = new this.State(src, md, env, outTokens);\n\n this.tokenize(state, state.line, state.lineMax);\n};\n\n\nParserBlock.prototype.State = require('./rules_block/state_block');\n\n\nmodule.exports = ParserBlock;\n","// Skip text characters for text token, place those to pending buffer\n// and increment current pos\n\n'use strict';\n\n\n// Rule to skip pure text\n// '{}$%@~+=:' reserved for extentions\n\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n\n// !!!! Don't confuse with \"Markdown ASCII Punctuation\" chars\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\nfunction isTerminatorChar(ch) {\n switch (ch) {\n case 0x0A/* \\n */:\n case 0x21/* ! */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2D/* - */:\n case 0x3A/* : */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true;\n default:\n return false;\n }\n}\n\nmodule.exports = function text(state, silent) {\n var pos = state.pos;\n\n while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) {\n pos++;\n }\n\n if (pos === state.pos) { return false; }\n\n if (!silent) { state.pending += state.src.slice(state.pos, pos); }\n\n state.pos = pos;\n\n return true;\n};\n\n// Alternative implementation, for memory.\n//\n// It costs 10% of performance, but allows extend terminators list, if place it\n// to `ParcerInline` property. Probably, will switch to it sometime, such\n// flexibility required.\n\n/*\nvar TERMINATOR_RE = /[\\n!#$%&*+\\-:<=>@[\\\\\\]^_`{}~]/;\n\nmodule.exports = function text(state, silent) {\n var pos = state.pos,\n idx = state.src.slice(pos).search(TERMINATOR_RE);\n\n // first char is terminator -> empty text\n if (idx === 0) { return false; }\n\n // no terminator -> text till end of string\n if (idx < 0) {\n if (!silent) { state.pending += state.src.slice(pos); }\n state.pos = state.src.length;\n return true;\n }\n\n if (!silent) { state.pending += state.src.slice(pos, pos + idx); }\n\n state.pos += idx;\n\n return true;\n};*/\n","// Process links like https://example.org/\n\n'use strict';\n\n\n// RFC3986: scheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\nvar SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;\n\n\nmodule.exports = function linkify(state, silent) {\n var pos, max, match, proto, link, url, fullUrl, token;\n\n if (!state.md.options.linkify) return false;\n if (state.linkLevel > 0) return false;\n\n pos = state.pos;\n max = state.posMax;\n\n if (pos + 3 > max) return false;\n if (state.src.charCodeAt(pos) !== 0x3A/* : */) return false;\n if (state.src.charCodeAt(pos + 1) !== 0x2F/* / */) return false;\n if (state.src.charCodeAt(pos + 2) !== 0x2F/* / */) return false;\n\n match = state.pending.match(SCHEME_RE);\n if (!match) return false;\n\n proto = match[1];\n\n link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length));\n if (!link) return false;\n\n url = link.url;\n\n // disallow '*' at the end of the link (conflicts with emphasis)\n url = url.replace(/\\*+$/, '');\n\n fullUrl = state.md.normalizeLink(url);\n if (!state.md.validateLink(fullUrl)) return false;\n\n if (!silent) {\n state.pending = state.pending.slice(0, -proto.length);\n\n token = state.push('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.markup = 'linkify';\n token.info = 'auto';\n\n token = state.push('text', '', 0);\n token.content = state.md.normalizeLinkText(url);\n\n token = state.push('link_close', 'a', -1);\n token.markup = 'linkify';\n token.info = 'auto';\n }\n\n state.pos += url.length - proto.length;\n return true;\n};\n","// Proceess '\\n'\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function newline(state, silent) {\n var pmax, max, ws, pos = state.pos;\n\n if (state.src.charCodeAt(pos) !== 0x0A/* \\n */) { return false; }\n\n pmax = state.pending.length - 1;\n max = state.posMax;\n\n // ' \\n' -> hardbreak\n // Lookup in pending chars is bad practice! Don't copy to other rules!\n // Pending string is stored in concat mode, indexed lookups will cause\n // convertion to flat mode.\n if (!silent) {\n if (pmax >= 0 && state.pending.charCodeAt(pmax) === 0x20) {\n if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 0x20) {\n // Find whitespaces tail of pending chars.\n ws = pmax - 1;\n while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 0x20) ws--;\n\n state.pending = state.pending.slice(0, ws);\n state.push('hardbreak', 'br', 0);\n } else {\n state.pending = state.pending.slice(0, -1);\n state.push('softbreak', 'br', 0);\n }\n\n } else {\n state.push('softbreak', 'br', 0);\n }\n }\n\n pos++;\n\n // skip heading spaces for next line\n while (pos < max && isSpace(state.src.charCodeAt(pos))) { pos++; }\n\n state.pos = pos;\n return true;\n};\n","// Process escaped chars and hardbreaks\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\nvar ESCAPED = [];\n\nfor (var i = 0; i < 256; i++) { ESCAPED.push(0); }\n\n'\\\\!\"#$%&\\'()*+,./:;<=>?@[]^_`{|}~-'\n .split('').forEach(function (ch) { ESCAPED[ch.charCodeAt(0)] = 1; });\n\n\nmodule.exports = function escape(state, silent) {\n var ch1, ch2, origStr, escapedStr, token, pos = state.pos, max = state.posMax;\n\n if (state.src.charCodeAt(pos) !== 0x5C/* \\ */) return false;\n pos++;\n\n // '\\' at the end of the inline block\n if (pos >= max) return false;\n\n ch1 = state.src.charCodeAt(pos);\n\n if (ch1 === 0x0A) {\n if (!silent) {\n state.push('hardbreak', 'br', 0);\n }\n\n pos++;\n // skip leading whitespaces from next line\n while (pos < max) {\n ch1 = state.src.charCodeAt(pos);\n if (!isSpace(ch1)) break;\n pos++;\n }\n\n state.pos = pos;\n return true;\n }\n\n escapedStr = state.src[pos];\n\n if (ch1 >= 0xD800 && ch1 <= 0xDBFF && pos + 1 < max) {\n ch2 = state.src.charCodeAt(pos + 1);\n\n if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) {\n escapedStr += state.src[pos + 1];\n pos++;\n }\n }\n\n origStr = '\\\\' + escapedStr;\n\n if (!silent) {\n token = state.push('text_special', '', 0);\n\n if (ch1 < 256 && ESCAPED[ch1] !== 0) {\n token.content = escapedStr;\n } else {\n token.content = origStr;\n }\n\n token.markup = origStr;\n token.info = 'escape';\n }\n\n state.pos = pos + 1;\n return true;\n};\n","// Parse backticks\n\n'use strict';\n\n\nmodule.exports = function backtick(state, silent) {\n var start, max, marker, token, matchStart, matchEnd, openerLength, closerLength,\n pos = state.pos,\n ch = state.src.charCodeAt(pos);\n\n if (ch !== 0x60/* ` */) { return false; }\n\n start = pos;\n pos++;\n max = state.posMax;\n\n // scan marker length\n while (pos < max && state.src.charCodeAt(pos) === 0x60/* ` */) { pos++; }\n\n marker = state.src.slice(start, pos);\n openerLength = marker.length;\n\n if (state.backticksScanned && (state.backticks[openerLength] || 0) <= start) {\n if (!silent) state.pending += marker;\n state.pos += openerLength;\n return true;\n }\n\n matchStart = matchEnd = pos;\n\n // Nothing found in the cache, scan until the end of the line (or until marker is found)\n while ((matchStart = state.src.indexOf('`', matchEnd)) !== -1) {\n matchEnd = matchStart + 1;\n\n // scan marker length\n while (matchEnd < max && state.src.charCodeAt(matchEnd) === 0x60/* ` */) { matchEnd++; }\n\n closerLength = matchEnd - matchStart;\n\n if (closerLength === openerLength) {\n // Found matching closer length.\n if (!silent) {\n token = state.push('code_inline', 'code', 0);\n token.markup = marker;\n token.content = state.src.slice(pos, matchStart)\n .replace(/\\n/g, ' ')\n .replace(/^ (.+) $/, '$1');\n }\n state.pos = matchEnd;\n return true;\n }\n\n // Some different length found, put it in cache as upper limit of where closer can be found\n state.backticks[closerLength] = matchStart;\n }\n\n // Scanned through the end, didn't find anything\n state.backticksScanned = true;\n\n if (!silent) state.pending += marker;\n state.pos += openerLength;\n return true;\n};\n","// ~~strike through~~\n//\n'use strict';\n\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nmodule.exports.tokenize = function strikethrough(state, silent) {\n var i, scanned, token, len, ch,\n start = state.pos,\n marker = state.src.charCodeAt(start);\n\n if (silent) { return false; }\n\n if (marker !== 0x7E/* ~ */) { return false; }\n\n scanned = state.scanDelims(state.pos, true);\n len = scanned.length;\n ch = String.fromCharCode(marker);\n\n if (len < 2) { return false; }\n\n if (len % 2) {\n token = state.push('text', '', 0);\n token.content = ch;\n len--;\n }\n\n for (i = 0; i < len; i += 2) {\n token = state.push('text', '', 0);\n token.content = ch + ch;\n\n state.delimiters.push({\n marker: marker,\n length: 0, // disable \"rule of 3\" length checks meant for emphasis\n token: state.tokens.length - 1,\n end: -1,\n open: scanned.can_open,\n close: scanned.can_close\n });\n }\n\n state.pos += scanned.length;\n\n return true;\n};\n\n\nfunction postProcess(state, delimiters) {\n var i, j,\n startDelim,\n endDelim,\n token,\n loneMarkers = [],\n max = delimiters.length;\n\n for (i = 0; i < max; i++) {\n startDelim = delimiters[i];\n\n if (startDelim.marker !== 0x7E/* ~ */) {\n continue;\n }\n\n if (startDelim.end === -1) {\n continue;\n }\n\n endDelim = delimiters[startDelim.end];\n\n token = state.tokens[startDelim.token];\n token.type = 's_open';\n token.tag = 's';\n token.nesting = 1;\n token.markup = '~~';\n token.content = '';\n\n token = state.tokens[endDelim.token];\n token.type = 's_close';\n token.tag = 's';\n token.nesting = -1;\n token.markup = '~~';\n token.content = '';\n\n if (state.tokens[endDelim.token - 1].type === 'text' &&\n state.tokens[endDelim.token - 1].content === '~') {\n\n loneMarkers.push(endDelim.token - 1);\n }\n }\n\n // If a marker sequence has an odd number of characters, it's splitted\n // like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the\n // start of the sequence.\n //\n // So, we have to move all those markers after subsequent s_close tags.\n //\n while (loneMarkers.length) {\n i = loneMarkers.pop();\n j = i + 1;\n\n while (j < state.tokens.length && state.tokens[j].type === 's_close') {\n j++;\n }\n\n j--;\n\n if (i !== j) {\n token = state.tokens[j];\n state.tokens[j] = state.tokens[i];\n state.tokens[i] = token;\n }\n }\n}\n\n\n// Walk through delimiter list and replace text tokens with tags\n//\nmodule.exports.postProcess = function strikethrough(state) {\n var curr,\n tokens_meta = state.tokens_meta,\n max = state.tokens_meta.length;\n\n postProcess(state, state.delimiters);\n\n for (curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters);\n }\n }\n};\n","// Process *this* and _that_\n//\n'use strict';\n\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nmodule.exports.tokenize = function emphasis(state, silent) {\n var i, scanned, token,\n start = state.pos,\n marker = state.src.charCodeAt(start);\n\n if (silent) { return false; }\n\n if (marker !== 0x5F /* _ */ && marker !== 0x2A /* * */) { return false; }\n\n scanned = state.scanDelims(state.pos, marker === 0x2A);\n\n for (i = 0; i < scanned.length; i++) {\n token = state.push('text', '', 0);\n token.content = String.fromCharCode(marker);\n\n state.delimiters.push({\n // Char code of the starting marker (number).\n //\n marker: marker,\n\n // Total length of these series of delimiters.\n //\n length: scanned.length,\n\n // A position of the token this delimiter corresponds to.\n //\n token: state.tokens.length - 1,\n\n // If this delimiter is matched as a valid opener, `end` will be\n // equal to its position, otherwise it's `-1`.\n //\n end: -1,\n\n // Boolean flags that determine if this delimiter could open or close\n // an emphasis.\n //\n open: scanned.can_open,\n close: scanned.can_close\n });\n }\n\n state.pos += scanned.length;\n\n return true;\n};\n\n\nfunction postProcess(state, delimiters) {\n var i,\n startDelim,\n endDelim,\n token,\n ch,\n isStrong,\n max = delimiters.length;\n\n for (i = max - 1; i >= 0; i--) {\n startDelim = delimiters[i];\n\n if (startDelim.marker !== 0x5F/* _ */ && startDelim.marker !== 0x2A/* * */) {\n continue;\n }\n\n // Process only opening markers\n if (startDelim.end === -1) {\n continue;\n }\n\n endDelim = delimiters[startDelim.end];\n\n // If the previous delimiter has the same marker and is adjacent to this one,\n // merge those into one strong delimiter.\n //\n // `<em><em>whatever</em></em>` -> `<strong>whatever</strong>`\n //\n isStrong = i > 0 &&\n delimiters[i - 1].end === startDelim.end + 1 &&\n // check that first two markers match and adjacent\n delimiters[i - 1].marker === startDelim.marker &&\n delimiters[i - 1].token === startDelim.token - 1 &&\n // check that last two markers are adjacent (we can safely assume they match)\n delimiters[startDelim.end + 1].token === endDelim.token + 1;\n\n ch = String.fromCharCode(startDelim.marker);\n\n token = state.tokens[startDelim.token];\n token.type = isStrong ? 'strong_open' : 'em_open';\n token.tag = isStrong ? 'strong' : 'em';\n token.nesting = 1;\n token.markup = isStrong ? ch + ch : ch;\n token.content = '';\n\n token = state.tokens[endDelim.token];\n token.type = isStrong ? 'strong_close' : 'em_close';\n token.tag = isStrong ? 'strong' : 'em';\n token.nesting = -1;\n token.markup = isStrong ? ch + ch : ch;\n token.content = '';\n\n if (isStrong) {\n state.tokens[delimiters[i - 1].token].content = '';\n state.tokens[delimiters[startDelim.end + 1].token].content = '';\n i--;\n }\n }\n}\n\n\n// Walk through delimiter list and replace text tokens with tags\n//\nmodule.exports.postProcess = function emphasis(state) {\n var curr,\n tokens_meta = state.tokens_meta,\n max = state.tokens_meta.length;\n\n postProcess(state, state.delimiters);\n\n for (curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters);\n }\n }\n};\n","// Process [link](<to> \"stuff\")\n\n'use strict';\n\nvar normalizeReference = require('../common/utils').normalizeReference;\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function link(state, silent) {\n var attrs,\n code,\n label,\n labelEnd,\n labelStart,\n pos,\n res,\n ref,\n token,\n href = '',\n title = '',\n oldPos = state.pos,\n max = state.posMax,\n start = state.pos,\n parseReference = true;\n\n if (state.src.charCodeAt(state.pos) !== 0x5B/* [ */) { return false; }\n\n labelStart = state.pos + 1;\n labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false; }\n\n pos = labelEnd + 1;\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // might have found a valid shortcut link, disable reference parsing\n parseReference = false;\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n pos++;\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n if (pos >= max) { return false; }\n\n // [link]( <href> \"title\" )\n // ^^^^^^ parsing link destination\n start = pos;\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);\n if (res.ok) {\n href = state.md.normalizeLink(res.str);\n if (state.md.validateLink(href)) {\n pos = res.pos;\n } else {\n href = '';\n }\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n start = pos;\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n\n // [link]( <href> \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);\n if (pos < max && start !== pos && res.ok) {\n title = res.str;\n pos = res.pos;\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n }\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n // parsing a valid shortcut link failed, fallback to reference\n parseReference = true;\n }\n pos++;\n }\n\n if (parseReference) {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false; }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1;\n pos = state.md.helpers.parseLinkLabel(state, pos);\n if (pos >= 0) {\n label = state.src.slice(start, pos++);\n } else {\n pos = labelEnd + 1;\n }\n } else {\n pos = labelEnd + 1;\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd); }\n\n ref = state.env.references[normalizeReference(label)];\n if (!ref) {\n state.pos = oldPos;\n return false;\n }\n href = ref.href;\n title = ref.title;\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n state.pos = labelStart;\n state.posMax = labelEnd;\n\n token = state.push('link_open', 'a', 1);\n token.attrs = attrs = [ [ 'href', href ] ];\n if (title) {\n attrs.push([ 'title', title ]);\n }\n\n state.linkLevel++;\n state.md.inline.tokenize(state);\n state.linkLevel--;\n\n token = state.push('link_close', 'a', -1);\n }\n\n state.pos = pos;\n state.posMax = max;\n return true;\n};\n","// Process ![image](<src> \"title\")\n\n'use strict';\n\nvar normalizeReference = require('../common/utils').normalizeReference;\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function image(state, silent) {\n var attrs,\n code,\n content,\n label,\n labelEnd,\n labelStart,\n pos,\n ref,\n res,\n title,\n token,\n tokens,\n start,\n href = '',\n oldPos = state.pos,\n max = state.posMax;\n\n if (state.src.charCodeAt(state.pos) !== 0x21/* ! */) { return false; }\n if (state.src.charCodeAt(state.pos + 1) !== 0x5B/* [ */) { return false; }\n\n labelStart = state.pos + 2;\n labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false);\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false; }\n\n pos = labelEnd + 1;\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n pos++;\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n if (pos >= max) { return false; }\n\n // [link]( <href> \"title\" )\n // ^^^^^^ parsing link destination\n start = pos;\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);\n if (res.ok) {\n href = state.md.normalizeLink(res.str);\n if (state.md.validateLink(href)) {\n pos = res.pos;\n } else {\n href = '';\n }\n }\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n start = pos;\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n\n // [link]( <href> \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);\n if (pos < max && start !== pos && res.ok) {\n title = res.str;\n pos = res.pos;\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos);\n if (!isSpace(code) && code !== 0x0A) { break; }\n }\n } else {\n title = '';\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n state.pos = oldPos;\n return false;\n }\n pos++;\n } else {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false; }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1;\n pos = state.md.helpers.parseLinkLabel(state, pos);\n if (pos >= 0) {\n label = state.src.slice(start, pos++);\n } else {\n pos = labelEnd + 1;\n }\n } else {\n pos = labelEnd + 1;\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd); }\n\n ref = state.env.references[normalizeReference(label)];\n if (!ref) {\n state.pos = oldPos;\n return false;\n }\n href = ref.href;\n title = ref.title;\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n content = state.src.slice(labelStart, labelEnd);\n\n state.md.inline.parse(\n content,\n state.md,\n state.env,\n tokens = []\n );\n\n token = state.push('image', 'img', 0);\n token.attrs = attrs = [ [ 'src', href ], [ 'alt', '' ] ];\n token.children = tokens;\n token.content = content;\n\n if (title) {\n attrs.push([ 'title', title ]);\n }\n }\n\n state.pos = pos;\n state.posMax = max;\n return true;\n};\n","// Process autolinks '<protocol:...>'\n\n'use strict';\n\n\n/*eslint max-len:0*/\nvar EMAIL_RE = /^([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/;\nvar AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)$/;\n\n\nmodule.exports = function autolink(state, silent) {\n var url, fullUrl, token, ch, start, max,\n pos = state.pos;\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false; }\n\n start = state.pos;\n max = state.posMax;\n\n for (;;) {\n if (++pos >= max) return false;\n\n ch = state.src.charCodeAt(pos);\n\n if (ch === 0x3C /* < */) return false;\n if (ch === 0x3E /* > */) break;\n }\n\n url = state.src.slice(start + 1, pos);\n\n if (AUTOLINK_RE.test(url)) {\n fullUrl = state.md.normalizeLink(url);\n if (!state.md.validateLink(fullUrl)) { return false; }\n\n if (!silent) {\n token = state.push('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.markup = 'autolink';\n token.info = 'auto';\n\n token = state.push('text', '', 0);\n token.content = state.md.normalizeLinkText(url);\n\n token = state.push('link_close', 'a', -1);\n token.markup = 'autolink';\n token.info = 'auto';\n }\n\n state.pos += url.length + 2;\n return true;\n }\n\n if (EMAIL_RE.test(url)) {\n fullUrl = state.md.normalizeLink('mailto:' + url);\n if (!state.md.validateLink(fullUrl)) { return false; }\n\n if (!silent) {\n token = state.push('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.markup = 'autolink';\n token.info = 'auto';\n\n token = state.push('text', '', 0);\n token.content = state.md.normalizeLinkText(url);\n\n token = state.push('link_close', 'a', -1);\n token.markup = 'autolink';\n token.info = 'auto';\n }\n\n state.pos += url.length + 2;\n return true;\n }\n\n return false;\n};\n","// Process html tags\n\n'use strict';\n\n\nvar HTML_TAG_RE = require('../common/html_re').HTML_TAG_RE;\n\n\nfunction isLinkOpen(str) {\n return /^<a[>\\s]/i.test(str);\n}\nfunction isLinkClose(str) {\n return /^<\\/a\\s*>/i.test(str);\n}\n\n\nfunction isLetter(ch) {\n /*eslint no-bitwise:0*/\n var lc = ch | 0x20; // to lower case\n return (lc >= 0x61/* a */) && (lc <= 0x7a/* z */);\n}\n\n\nmodule.exports = function html_inline(state, silent) {\n var ch, match, max, token,\n pos = state.pos;\n\n if (!state.md.options.html) { return false; }\n\n // Check start\n max = state.posMax;\n if (state.src.charCodeAt(pos) !== 0x3C/* < */ ||\n pos + 2 >= max) {\n return false;\n }\n\n // Quick fail on second char\n ch = state.src.charCodeAt(pos + 1);\n if (ch !== 0x21/* ! */ &&\n ch !== 0x3F/* ? */ &&\n ch !== 0x2F/* / */ &&\n !isLetter(ch)) {\n return false;\n }\n\n match = state.src.slice(pos).match(HTML_TAG_RE);\n if (!match) { return false; }\n\n if (!silent) {\n token = state.push('html_inline', '', 0);\n token.content = state.src.slice(pos, pos + match[0].length);\n\n if (isLinkOpen(token.content)) state.linkLevel++;\n if (isLinkClose(token.content)) state.linkLevel--;\n }\n state.pos += match[0].length;\n return true;\n};\n","// Process html entity - {, ¯, ", ...\n\n'use strict';\n\nvar entities = require('../common/entities');\nvar has = require('../common/utils').has;\nvar isValidEntityCode = require('../common/utils').isValidEntityCode;\nvar fromCodePoint = require('../common/utils').fromCodePoint;\n\n\nvar DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;\nvar NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i;\n\n\nmodule.exports = function entity(state, silent) {\n var ch, code, match, token, pos = state.pos, max = state.posMax;\n\n if (state.src.charCodeAt(pos) !== 0x26/* & */) return false;\n\n if (pos + 1 >= max) return false;\n\n ch = state.src.charCodeAt(pos + 1);\n\n if (ch === 0x23 /* # */) {\n match = state.src.slice(pos).match(DIGITAL_RE);\n if (match) {\n if (!silent) {\n code = match[1][0].toLowerCase() === 'x' ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10);\n\n token = state.push('text_special', '', 0);\n token.content = isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(0xFFFD);\n token.markup = match[0];\n token.info = 'entity';\n }\n state.pos += match[0].length;\n return true;\n }\n } else {\n match = state.src.slice(pos).match(NAMED_RE);\n if (match) {\n if (has(entities, match[1])) {\n if (!silent) {\n token = state.push('text_special', '', 0);\n token.content = entities[match[1]];\n token.markup = match[0];\n token.info = 'entity';\n }\n state.pos += match[0].length;\n return true;\n }\n }\n }\n\n return false;\n};\n","// For each opening emphasis-like marker find a matching closing one\n//\n'use strict';\n\n\nfunction processDelimiters(state, delimiters) {\n var closerIdx, openerIdx, closer, opener, minOpenerIdx, newMinOpenerIdx,\n isOddMatch, lastJump,\n openersBottom = {},\n max = delimiters.length;\n\n if (!max) return;\n\n // headerIdx is the first delimiter of the current (where closer is) delimiter run\n var headerIdx = 0;\n var lastTokenIdx = -2; // needs any value lower than -1\n var jumps = [];\n\n for (closerIdx = 0; closerIdx < max; closerIdx++) {\n closer = delimiters[closerIdx];\n\n jumps.push(0);\n\n // markers belong to same delimiter run if:\n // - they have adjacent tokens\n // - AND markers are the same\n //\n if (delimiters[headerIdx].marker !== closer.marker || lastTokenIdx !== closer.token - 1) {\n headerIdx = closerIdx;\n }\n\n lastTokenIdx = closer.token;\n\n // Length is only used for emphasis-specific \"rule of 3\",\n // if it's not defined (in strikethrough or 3rd party plugins),\n // we can default it to 0 to disable those checks.\n //\n closer.length = closer.length || 0;\n\n if (!closer.close) continue;\n\n // Previously calculated lower bounds (previous fails)\n // for each marker, each delimiter length modulo 3,\n // and for whether this closer can be an opener;\n // https://github.com/commonmark/cmark/commit/34250e12ccebdc6372b8b49c44fab57c72443460\n if (!openersBottom.hasOwnProperty(closer.marker)) {\n openersBottom[closer.marker] = [ -1, -1, -1, -1, -1, -1 ];\n }\n\n minOpenerIdx = openersBottom[closer.marker][(closer.open ? 3 : 0) + (closer.length % 3)];\n\n openerIdx = headerIdx - jumps[headerIdx] - 1;\n\n newMinOpenerIdx = openerIdx;\n\n for (; openerIdx > minOpenerIdx; openerIdx -= jumps[openerIdx] + 1) {\n opener = delimiters[openerIdx];\n\n if (opener.marker !== closer.marker) continue;\n\n if (opener.open && opener.end < 0) {\n\n isOddMatch = false;\n\n // from spec:\n //\n // If one of the delimiters can both open and close emphasis, then the\n // sum of the lengths of the delimiter runs containing the opening and\n // closing delimiters must not be a multiple of 3 unless both lengths\n // are multiples of 3.\n //\n if (opener.close || closer.open) {\n if ((opener.length + closer.length) % 3 === 0) {\n if (opener.length % 3 !== 0 || closer.length % 3 !== 0) {\n isOddMatch = true;\n }\n }\n }\n\n if (!isOddMatch) {\n // If previous delimiter cannot be an opener, we can safely skip\n // the entire sequence in future checks. This is required to make\n // sure algorithm has linear complexity (see *_*_*_*_*_... case).\n //\n lastJump = openerIdx > 0 && !delimiters[openerIdx - 1].open ?\n jumps[openerIdx - 1] + 1 :\n 0;\n\n jumps[closerIdx] = closerIdx - openerIdx + lastJump;\n jumps[openerIdx] = lastJump;\n\n closer.open = false;\n opener.end = closerIdx;\n opener.close = false;\n newMinOpenerIdx = -1;\n // treat next token as start of run,\n // it optimizes skips in **<...>**a**<...>** pathological case\n lastTokenIdx = -2;\n break;\n }\n }\n }\n\n if (newMinOpenerIdx !== -1) {\n // If match for this delimiter run failed, we want to set lower bound for\n // future lookups. This is required to make sure algorithm has linear\n // complexity.\n //\n // See details here:\n // https://github.com/commonmark/cmark/issues/178#issuecomment-270417442\n //\n openersBottom[closer.marker][(closer.open ? 3 : 0) + ((closer.length || 0) % 3)] = newMinOpenerIdx;\n }\n }\n}\n\n\nmodule.exports = function link_pairs(state) {\n var curr,\n tokens_meta = state.tokens_meta,\n max = state.tokens_meta.length;\n\n processDelimiters(state, state.delimiters);\n\n for (curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n processDelimiters(state, tokens_meta[curr].delimiters);\n }\n }\n};\n","// Clean up tokens after emphasis and strikethrough postprocessing:\n// merge adjacent text nodes into one and re-calculate all token levels\n//\n// This is necessary because initially emphasis delimiter markers (*, _, ~)\n// are treated as their own separate text tokens. Then emphasis rule either\n// leaves them as text (needed to merge with adjacent text) or turns them\n// into opening/closing tags (which messes up levels inside).\n//\n'use strict';\n\n\nmodule.exports = function fragments_join(state) {\n var curr, last,\n level = 0,\n tokens = state.tokens,\n max = state.tokens.length;\n\n for (curr = last = 0; curr < max; curr++) {\n // re-calculate levels after emphasis/strikethrough turns some text nodes\n // into opening/closing tags\n if (tokens[curr].nesting < 0) level--; // closing tag\n tokens[curr].level = level;\n if (tokens[curr].nesting > 0) level++; // opening tag\n\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;\n } else {\n if (curr !== last) { tokens[last] = tokens[curr]; }\n\n last++;\n }\n }\n\n if (curr !== last) {\n tokens.length = last;\n }\n};\n","// Inline parser state\n\n'use strict';\n\n\nvar Token = require('../token');\nvar isWhiteSpace = require('../common/utils').isWhiteSpace;\nvar isPunctChar = require('../common/utils').isPunctChar;\nvar isMdAsciiPunct = require('../common/utils').isMdAsciiPunct;\n\n\nfunction StateInline(src, md, env, outTokens) {\n this.src = src;\n this.env = env;\n this.md = md;\n this.tokens = outTokens;\n this.tokens_meta = Array(outTokens.length);\n\n this.pos = 0;\n this.posMax = this.src.length;\n this.level = 0;\n this.pending = '';\n this.pendingLevel = 0;\n\n // Stores { start: end } pairs. Useful for backtrack\n // optimization of pairs parse (emphasis, strikes).\n this.cache = {};\n\n // List of emphasis-like delimiters for current tag\n this.delimiters = [];\n\n // Stack of delimiter lists for upper level tags\n this._prev_delimiters = [];\n\n // backtick length => last seen position\n this.backticks = {};\n this.backticksScanned = false;\n\n // Counter used to disable inline linkify-it execution\n // inside <a> and markdown links\n this.linkLevel = 0;\n}\n\n\n// Flush pending text\n//\nStateInline.prototype.pushPending = function () {\n var token = new Token('text', '', 0);\n token.content = this.pending;\n token.level = this.pendingLevel;\n this.tokens.push(token);\n this.pending = '';\n return token;\n};\n\n\n// Push new token to \"stream\".\n// If pending text exists - flush it as text token\n//\nStateInline.prototype.push = function (type, tag, nesting) {\n if (this.pending) {\n this.pushPending();\n }\n\n var token = new Token(type, tag, nesting);\n var token_meta = null;\n\n if (nesting < 0) {\n // closing tag\n this.level--;\n this.delimiters = this._prev_delimiters.pop();\n }\n\n token.level = this.level;\n\n if (nesting > 0) {\n // opening tag\n this.level++;\n this._prev_delimiters.push(this.delimiters);\n this.delimiters = [];\n token_meta = { delimiters: this.delimiters };\n }\n\n this.pendingLevel = this.level;\n this.tokens.push(token);\n this.tokens_meta.push(token_meta);\n return token;\n};\n\n\n// Scan a sequence of emphasis-like markers, and determine whether\n// it can start an emphasis sequence or end an emphasis sequence.\n//\n// - start - position to scan from (it should point at a valid marker);\n// - canSplitWord - determine if these markers can be found inside a word\n//\nStateInline.prototype.scanDelims = function (start, canSplitWord) {\n var pos = start, lastChar, nextChar, count, can_open, can_close,\n isLastWhiteSpace, isLastPunctChar,\n isNextWhiteSpace, isNextPunctChar,\n left_flanking = true,\n right_flanking = true,\n max = this.posMax,\n marker = this.src.charCodeAt(start);\n\n // treat beginning of the line as a whitespace\n lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 0x20;\n\n while (pos < max && this.src.charCodeAt(pos) === marker) { pos++; }\n\n count = pos - start;\n\n // treat end of the line as a whitespace\n nextChar = pos < max ? this.src.charCodeAt(pos) : 0x20;\n\n isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));\n isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));\n\n isLastWhiteSpace = isWhiteSpace(lastChar);\n isNextWhiteSpace = isWhiteSpace(nextChar);\n\n if (isNextWhiteSpace) {\n left_flanking = false;\n } else if (isNextPunctChar) {\n if (!(isLastWhiteSpace || isLastPunctChar)) {\n left_flanking = false;\n }\n }\n\n if (isLastWhiteSpace) {\n right_flanking = false;\n } else if (isLastPunctChar) {\n if (!(isNextWhiteSpace || isNextPunctChar)) {\n right_flanking = false;\n }\n }\n\n if (!canSplitWord) {\n can_open = left_flanking && (!right_flanking || isLastPunctChar);\n can_close = right_flanking && (!left_flanking || isNextPunctChar);\n } else {\n can_open = left_flanking;\n can_close = right_flanking;\n }\n\n return {\n can_open: can_open,\n can_close: can_close,\n length: count\n };\n};\n\n\n// re-export Token class to use in block rules\nStateInline.prototype.Token = Token;\n\n\nmodule.exports = StateInline;\n","/** internal\n * class ParserInline\n *\n * Tokenizes paragraph content.\n **/\n'use strict';\n\n\nvar Ruler = require('./ruler');\n\n\n////////////////////////////////////////////////////////////////////////////////\n// Parser rules\n\nvar _rules = [\n [ 'text', require('./rules_inline/text') ],\n [ 'linkify', require('./rules_inline/linkify') ],\n [ 'newline', require('./rules_inline/newline') ],\n [ 'escape', require('./rules_inline/escape') ],\n [ 'backticks', require('./rules_inline/backticks') ],\n [ 'strikethrough', require('./rules_inline/strikethrough').tokenize ],\n [ 'emphasis', require('./rules_inline/emphasis').tokenize ],\n [ 'link', require('./rules_inline/link') ],\n [ 'image', require('./rules_inline/image') ],\n [ 'autolink', require('./rules_inline/autolink') ],\n [ 'html_inline', require('./rules_inline/html_inline') ],\n [ 'entity', require('./rules_inline/entity') ]\n];\n\n// `rule2` ruleset was created specifically for emphasis/strikethrough\n// post-processing and may be changed in the future.\n//\n// Don't use this for anything except pairs (plugins working with `balance_pairs`).\n//\nvar _rules2 = [\n [ 'balance_pairs', require('./rules_inline/balance_pairs') ],\n [ 'strikethrough', require('./rules_inline/strikethrough').postProcess ],\n [ 'emphasis', require('./rules_inline/emphasis').postProcess ],\n // rules for pairs separate '**' into its own text tokens, which may be left unused,\n // rule below merges unused segments back with the rest of the text\n [ 'fragments_join', require('./rules_inline/fragments_join') ]\n];\n\n\n/**\n * new ParserInline()\n **/\nfunction ParserInline() {\n var i;\n\n /**\n * ParserInline#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of inline rules.\n **/\n this.ruler = new Ruler();\n\n for (i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1]);\n }\n\n /**\n * ParserInline#ruler2 -> Ruler\n *\n * [[Ruler]] instance. Second ruler used for post-processing\n * (e.g. in emphasis-like rules).\n **/\n this.ruler2 = new Ruler();\n\n for (i = 0; i < _rules2.length; i++) {\n this.ruler2.push(_rules2[i][0], _rules2[i][1]);\n }\n}\n\n\n// Skip single token by running all rules in validation mode;\n// returns `true` if any rule reported success\n//\nParserInline.prototype.skipToken = function (state) {\n var ok, i, pos = state.pos,\n rules = this.ruler.getRules(''),\n len = rules.length,\n maxNesting = state.md.options.maxNesting,\n cache = state.cache;\n\n\n if (typeof cache[pos] !== 'undefined') {\n state.pos = cache[pos];\n return;\n }\n\n if (state.level < maxNesting) {\n for (i = 0; i < len; i++) {\n // Increment state.level and decrement it later to limit recursion.\n // It's harmless to do here, because no tokens are created. But ideally,\n // we'd need a separate private state variable for this purpose.\n //\n state.level++;\n ok = rules[i](state, true);\n state.level--;\n\n if (ok) { break; }\n }\n } else {\n // Too much nesting, just skip until the end of the paragraph.\n //\n // NOTE: this will cause links to behave incorrectly in the following case,\n // when an amount of `[` is exactly equal to `maxNesting + 1`:\n //\n // [[[[[[[[[[[[[[[[[[[[[foo]()\n //\n // TODO: remove this workaround when CM standard will allow nested links\n // (we can replace it by preventing links from being parsed in\n // validation mode)\n //\n state.pos = state.posMax;\n }\n\n if (!ok) { state.pos++; }\n cache[pos] = state.pos;\n};\n\n\n// Generate tokens for input range\n//\nParserInline.prototype.tokenize = function (state) {\n var ok, i,\n rules = this.ruler.getRules(''),\n len = rules.length,\n end = state.posMax,\n maxNesting = state.md.options.maxNesting;\n\n while (state.pos < end) {\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.pos`\n // - update `state.tokens`\n // - return true\n\n if (state.level < maxNesting) {\n for (i = 0; i < len; i++) {\n ok = rules[i](state, false);\n if (ok) { break; }\n }\n }\n\n if (ok) {\n if (state.pos >= end) { break; }\n continue;\n }\n\n state.pending += state.src[state.pos++];\n }\n\n if (state.pending) {\n state.pushPending();\n }\n};\n\n\n/**\n * ParserInline.parse(str, md, env, outTokens)\n *\n * Process input string and push inline tokens into `outTokens`\n **/\nParserInline.prototype.parse = function (str, md, env, outTokens) {\n var i, rules, len;\n var state = new this.State(str, md, env, outTokens);\n\n this.tokenize(state);\n\n rules = this.ruler2.getRules('');\n len = rules.length;\n\n for (i = 0; i < len; i++) {\n rules[i](state);\n }\n};\n\n\nParserInline.prototype.State = require('./rules_inline/state_inline');\n\n\nmodule.exports = ParserInline;\n","'use strict';\n\n\nmodule.exports = function (opts) {\n var re = {};\n opts = opts || {};\n\n // Use direct extract instead of `regenerate` to reduse browserified size\n re.src_Any = require('uc.micro/properties/Any/regex').source;\n re.src_Cc = require('uc.micro/categories/Cc/regex').source;\n re.src_Z = require('uc.micro/categories/Z/regex').source;\n re.src_P = require('uc.micro/categories/P/regex').source;\n\n // \\p{\\Z\\P\\Cc\\CF} (white spaces + control + format + punctuation)\n re.src_ZPCc = [ re.src_Z, re.src_P, re.src_Cc ].join('|');\n\n // \\p{\\Z\\Cc} (white spaces + control)\n re.src_ZCc = [ re.src_Z, re.src_Cc ].join('|');\n\n // Experimental. List of chars, completely prohibited in links\n // because can separate it from other part of text\n var text_separators = '[><\\uff5c]';\n\n // All possible word characters (everything without punctuation, spaces & controls)\n // Defined via punctuation & spaces to save space\n // Should be something like \\p{\\L\\N\\S\\M} (\\w but without `_`)\n re.src_pseudo_letter = '(?:(?!' + text_separators + '|' + re.src_ZPCc + ')' + re.src_Any + ')';\n // The same as abothe but without [0-9]\n // var src_pseudo_letter_non_d = '(?:(?![0-9]|' + src_ZPCc + ')' + src_Any + ')';\n\n ////////////////////////////////////////////////////////////////////////////////\n\n re.src_ip4 =\n\n '(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)';\n\n // Prohibit any of \"@/[]()\" in user/pass to avoid wrong domain fetch.\n re.src_auth = '(?:(?:(?!' + re.src_ZCc + '|[@/\\\\[\\\\]()]).)+@)?';\n\n re.src_port =\n\n '(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?';\n\n re.src_host_terminator =\n\n '(?=$|' + text_separators + '|' + re.src_ZPCc + ')' +\n '(?!' + (opts['---'] ? '-(?!--)|' : '-|') + '_|:\\\\d|\\\\.-|\\\\.(?!$|' + re.src_ZPCc + '))';\n\n re.src_path =\n\n '(?:' +\n '[/?#]' +\n '(?:' +\n '(?!' + re.src_ZCc + '|' + text_separators + '|[()[\\\\]{}.,\"\\'?!\\\\-;]).|' +\n '\\\\[(?:(?!' + re.src_ZCc + '|\\\\]).)*\\\\]|' +\n '\\\\((?:(?!' + re.src_ZCc + '|[)]).)*\\\\)|' +\n '\\\\{(?:(?!' + re.src_ZCc + '|[}]).)*\\\\}|' +\n '\\\\\"(?:(?!' + re.src_ZCc + '|[\"]).)+\\\\\"|' +\n \"\\\\'(?:(?!\" + re.src_ZCc + \"|[']).)+\\\\'|\" +\n \"\\\\'(?=\" + re.src_pseudo_letter + '|[-])|' + // allow `I'm_king` if no pair found\n '\\\\.{2,}[a-zA-Z0-9%/&]|' + // google has many dots in \"google search\" links (#66, #81).\n // github has ... in commit range links,\n // Restrict to\n // - english\n // - percent-encoded\n // - parts of file path\n // - params separator\n // until more examples found.\n '\\\\.(?!' + re.src_ZCc + '|[.]|$)|' +\n (opts['---'] ?\n '\\\\-(?!--(?:[^-]|$))(?:-*)|' // `---` => long dash, terminate\n :\n '\\\\-+|'\n ) +\n ',(?!' + re.src_ZCc + '|$)|' + // allow `,,,` in paths\n ';(?!' + re.src_ZCc + '|$)|' + // allow `;` if not followed by space-like char\n '\\\\!+(?!' + re.src_ZCc + '|[!]|$)|' + // allow `!!!` in paths, but not at the end\n '\\\\?(?!' + re.src_ZCc + '|[?]|$)' +\n ')+' +\n '|\\\\/' +\n ')?';\n\n // Allow anything in markdown spec, forbid quote (\") at the first position\n // because emails enclosed in quotes are far more common\n re.src_email_name =\n\n '[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*';\n\n re.src_xn =\n\n 'xn--[a-z0-9\\\\-]{1,59}';\n\n // More to read about domain names\n // http://serverfault.com/questions/638260/\n\n re.src_domain_root =\n\n // Allow letters & digits (http://test1)\n '(?:' +\n re.src_xn +\n '|' +\n re.src_pseudo_letter + '{1,63}' +\n ')';\n\n re.src_domain =\n\n '(?:' +\n re.src_xn +\n '|' +\n '(?:' + re.src_pseudo_letter + ')' +\n '|' +\n '(?:' + re.src_pseudo_letter + '(?:-|' + re.src_pseudo_letter + '){0,61}' + re.src_pseudo_letter + ')' +\n ')';\n\n re.src_host =\n\n '(?:' +\n // Don't need IP check, because digits are already allowed in normal domain names\n // src_ip4 +\n // '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)*' + re.src_domain/*_root*/ + ')' +\n ')';\n\n re.tpl_host_fuzzy =\n\n '(?:' +\n re.src_ip4 +\n '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))' +\n ')';\n\n re.tpl_host_no_ip_fuzzy =\n\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))';\n\n re.src_host_strict =\n\n re.src_host + re.src_host_terminator;\n\n re.tpl_host_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_host_terminator;\n\n re.src_host_port_strict =\n\n re.src_host + re.src_port + re.src_host_terminator;\n\n re.tpl_host_port_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_port + re.src_host_terminator;\n\n re.tpl_host_port_no_ip_fuzzy_strict =\n\n re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator;\n\n\n ////////////////////////////////////////////////////////////////////////////////\n // Main rules\n\n // Rude test fuzzy links by host, for quick deny\n re.tpl_host_fuzzy_test =\n\n 'localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:' + re.src_ZPCc + '|>|$))';\n\n re.tpl_email_fuzzy =\n\n '(^|' + text_separators + '|\"|\\\\(|' + re.src_ZCc + ')' +\n '(' + re.src_email_name + '@' + re.tpl_host_fuzzy_strict + ')';\n\n re.tpl_link_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_fuzzy_strict + re.src_path + ')';\n\n re.tpl_link_no_ip_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ')';\n\n return re;\n};\n","'use strict';\n\n\n////////////////////////////////////////////////////////////////////////////////\n// Helpers\n\n// Merge objects\n//\nfunction assign(obj /*from1, from2, from3, ...*/) {\n var sources = Array.prototype.slice.call(arguments, 1);\n\n sources.forEach(function (source) {\n if (!source) { return; }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key];\n });\n });\n\n return obj;\n}\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\nfunction isString(obj) { return _class(obj) === '[object String]'; }\nfunction isObject(obj) { return _class(obj) === '[object Object]'; }\nfunction isRegExp(obj) { return _class(obj) === '[object RegExp]'; }\nfunction isFunction(obj) { return _class(obj) === '[object Function]'; }\n\n\nfunction escapeRE(str) { return str.replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&'); }\n\n////////////////////////////////////////////////////////////////////////////////\n\n\nvar defaultOptions = {\n fuzzyLink: true,\n fuzzyEmail: true,\n fuzzyIP: false\n};\n\n\nfunction isOptionsObj(obj) {\n return Object.keys(obj || {}).reduce(function (acc, k) {\n return acc || defaultOptions.hasOwnProperty(k);\n }, false);\n}\n\n\nvar defaultSchemas = {\n 'http:': {\n validate: function (text, pos, self) {\n var tail = text.slice(pos);\n\n if (!self.re.http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.http = new RegExp(\n '^\\\\/\\\\/' + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, 'i'\n );\n }\n if (self.re.http.test(tail)) {\n return tail.match(self.re.http)[0].length;\n }\n return 0;\n }\n },\n 'https:': 'http:',\n 'ftp:': 'http:',\n '//': {\n validate: function (text, pos, self) {\n var tail = text.slice(pos);\n\n if (!self.re.no_http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.no_http = new RegExp(\n '^' +\n self.re.src_auth +\n // Don't allow single-level domains, because of false positives like '//test'\n // with code comments\n '(?:localhost|(?:(?:' + self.re.src_domain + ')\\\\.)+' + self.re.src_domain_root + ')' +\n self.re.src_port +\n self.re.src_host_terminator +\n self.re.src_path,\n\n 'i'\n );\n }\n\n if (self.re.no_http.test(tail)) {\n // should not be `://` & `///`, that protects from errors in protocol name\n if (pos >= 3 && text[pos - 3] === ':') { return 0; }\n if (pos >= 3 && text[pos - 3] === '/') { return 0; }\n return tail.match(self.re.no_http)[0].length;\n }\n return 0;\n }\n },\n 'mailto:': {\n validate: function (text, pos, self) {\n var tail = text.slice(pos);\n\n if (!self.re.mailto) {\n self.re.mailto = new RegExp(\n '^' + self.re.src_email_name + '@' + self.re.src_host_strict, 'i'\n );\n }\n if (self.re.mailto.test(tail)) {\n return tail.match(self.re.mailto)[0].length;\n }\n return 0;\n }\n }\n};\n\n/*eslint-disable max-len*/\n\n// RE pattern for 2-character tlds (autogenerated by ./support/tlds_2char_gen.js)\nvar tlds_2ch_src_re = 'a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]';\n\n// DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead\nvar tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');\n\n/*eslint-enable max-len*/\n\n////////////////////////////////////////////////////////////////////////////////\n\nfunction resetScanCache(self) {\n self.__index__ = -1;\n self.__text_cache__ = '';\n}\n\nfunction createValidator(re) {\n return function (text, pos) {\n var tail = text.slice(pos);\n\n if (re.test(tail)) {\n return tail.match(re)[0].length;\n }\n return 0;\n };\n}\n\nfunction createNormalizer() {\n return function (match, self) {\n self.normalize(match);\n };\n}\n\n// Schemas compiler. Build regexps.\n//\nfunction compile(self) {\n\n // Load & clone RE patterns.\n var re = self.re = require('./lib/re')(self.__opts__);\n\n // Define dynamic patterns\n var tlds = self.__tlds__.slice();\n\n self.onCompile();\n\n if (!self.__tlds_replaced__) {\n tlds.push(tlds_2ch_src_re);\n }\n tlds.push(re.src_xn);\n\n re.src_tlds = tlds.join('|');\n\n function untpl(tpl) { return tpl.replace('%TLDS%', re.src_tlds); }\n\n re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i');\n re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i');\n re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i');\n re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i');\n\n //\n // Compile each schema\n //\n\n var aliases = [];\n\n self.__compiled__ = {}; // Reset compiled data\n\n function schemaError(name, val) {\n throw new Error('(LinkifyIt) Invalid schema \"' + name + '\": ' + val);\n }\n\n Object.keys(self.__schemas__).forEach(function (name) {\n var val = self.__schemas__[name];\n\n // skip disabled methods\n if (val === null) { return; }\n\n var compiled = { validate: null, link: null };\n\n self.__compiled__[name] = compiled;\n\n if (isObject(val)) {\n if (isRegExp(val.validate)) {\n compiled.validate = createValidator(val.validate);\n } else if (isFunction(val.validate)) {\n compiled.validate = val.validate;\n } else {\n schemaError(name, val);\n }\n\n if (isFunction(val.normalize)) {\n compiled.normalize = val.normalize;\n } else if (!val.normalize) {\n compiled.normalize = createNormalizer();\n } else {\n schemaError(name, val);\n }\n\n return;\n }\n\n if (isString(val)) {\n aliases.push(name);\n return;\n }\n\n schemaError(name, val);\n });\n\n //\n // Compile postponed aliases\n //\n\n aliases.forEach(function (alias) {\n if (!self.__compiled__[self.__schemas__[alias]]) {\n // Silently fail on missed schemas to avoid errons on disable.\n // schemaError(alias, self.__schemas__[alias]);\n return;\n }\n\n self.__compiled__[alias].validate =\n self.__compiled__[self.__schemas__[alias]].validate;\n self.__compiled__[alias].normalize =\n self.__compiled__[self.__schemas__[alias]].normalize;\n });\n\n //\n // Fake record for guessed links\n //\n self.__compiled__[''] = { validate: null, normalize: createNormalizer() };\n\n //\n // Build schema condition\n //\n var slist = Object.keys(self.__compiled__)\n .filter(function (name) {\n // Filter disabled & fake schemas\n return name.length > 0 && self.__compiled__[name];\n })\n .map(escapeRE)\n .join('|');\n // (?!_) cause 1.5x slowdown\n self.re.schema_test = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'i');\n self.re.schema_search = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'ig');\n self.re.schema_at_start = RegExp('^' + self.re.schema_search.source, 'i');\n\n self.re.pretest = RegExp(\n '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@',\n 'i'\n );\n\n //\n // Cleanup\n //\n\n resetScanCache(self);\n}\n\n/**\n * class Match\n *\n * Match result. Single element of array, returned by [[LinkifyIt#match]]\n **/\nfunction Match(self, shift) {\n var start = self.__index__,\n end = self.__last_index__,\n text = self.__text_cache__.slice(start, end);\n\n /**\n * Match#schema -> String\n *\n * Prefix (protocol) for matched string.\n **/\n this.schema = self.__schema__.toLowerCase();\n /**\n * Match#index -> Number\n *\n * First position of matched string.\n **/\n this.index = start + shift;\n /**\n * Match#lastIndex -> Number\n *\n * Next position after matched string.\n **/\n this.lastIndex = end + shift;\n /**\n * Match#raw -> String\n *\n * Matched string.\n **/\n this.raw = text;\n /**\n * Match#text -> String\n *\n * Notmalized text of matched string.\n **/\n this.text = text;\n /**\n * Match#url -> String\n *\n * Normalized url of matched string.\n **/\n this.url = text;\n}\n\nfunction createMatch(self, shift) {\n var match = new Match(self, shift);\n\n self.__compiled__[match.schema].normalize(match, self);\n\n return match;\n}\n\n\n/**\n * class LinkifyIt\n **/\n\n/**\n * new LinkifyIt(schemas, options)\n * - schemas (Object): Optional. Additional schemas to validate (prefix/validator)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Creates new linkifier instance with optional additional schemas.\n * Can be called without `new` keyword for convenience.\n *\n * By default understands:\n *\n * - `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links\n * - \"fuzzy\" links and emails (example.com, foo@bar.com).\n *\n * `schemas` is an object, where each key/value describes protocol/rule:\n *\n * - __key__ - link prefix (usually, protocol name with `:` at the end, `skype:`\n * for example). `linkify-it` makes shure that prefix is not preceeded with\n * alphanumeric char and symbols. Only whitespaces and punctuation allowed.\n * - __value__ - rule to check tail after link prefix\n * - _String_ - just alias to existing rule\n * - _Object_\n * - _validate_ - validator function (should return matched length on success),\n * or `RegExp`.\n * - _normalize_ - optional function to normalize text & url of matched result\n * (for example, for @twitter mentions).\n *\n * `options`:\n *\n * - __fuzzyLink__ - recognige URL-s without `http(s):` prefix. Default `true`.\n * - __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts\n * like version numbers. Default `false`.\n * - __fuzzyEmail__ - recognize emails without `mailto:` prefix.\n *\n **/\nfunction LinkifyIt(schemas, options) {\n if (!(this instanceof LinkifyIt)) {\n return new LinkifyIt(schemas, options);\n }\n\n if (!options) {\n if (isOptionsObj(schemas)) {\n options = schemas;\n schemas = {};\n }\n }\n\n this.__opts__ = assign({}, defaultOptions, options);\n\n // Cache last tested result. Used to skip repeating steps on next `match` call.\n this.__index__ = -1;\n this.__last_index__ = -1; // Next scan position\n this.__schema__ = '';\n this.__text_cache__ = '';\n\n this.__schemas__ = assign({}, defaultSchemas, schemas);\n this.__compiled__ = {};\n\n this.__tlds__ = tlds_default;\n this.__tlds_replaced__ = false;\n\n this.re = {};\n\n compile(this);\n}\n\n\n/** chainable\n * LinkifyIt#add(schema, definition)\n * - schema (String): rule name (fixed pattern prefix)\n * - definition (String|RegExp|Object): schema definition\n *\n * Add new rule definition. See constructor description for details.\n **/\nLinkifyIt.prototype.add = function add(schema, definition) {\n this.__schemas__[schema] = definition;\n compile(this);\n return this;\n};\n\n\n/** chainable\n * LinkifyIt#set(options)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Set recognition options for links without schema.\n **/\nLinkifyIt.prototype.set = function set(options) {\n this.__opts__ = assign(this.__opts__, options);\n return this;\n};\n\n\n/**\n * LinkifyIt#test(text) -> Boolean\n *\n * Searches linkifiable pattern and returns `true` on success or `false` on fail.\n **/\nLinkifyIt.prototype.test = function test(text) {\n // Reset scan cache\n this.__text_cache__ = text;\n this.__index__ = -1;\n\n if (!text.length) { return false; }\n\n var m, ml, me, len, shift, next, re, tld_pos, at_pos;\n\n // try to scan for link with schema - that's the most simple rule\n if (this.re.schema_test.test(text)) {\n re = this.re.schema_search;\n re.lastIndex = 0;\n while ((m = re.exec(text)) !== null) {\n len = this.testSchemaAt(text, m[2], re.lastIndex);\n if (len) {\n this.__schema__ = m[2];\n this.__index__ = m.index + m[1].length;\n this.__last_index__ = m.index + m[0].length + len;\n break;\n }\n }\n }\n\n if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {\n // guess schemaless links\n tld_pos = text.search(this.re.host_fuzzy_test);\n if (tld_pos >= 0) {\n // if tld is located after found link - no need to check fuzzy pattern\n if (this.__index__ < 0 || tld_pos < this.__index__) {\n if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {\n\n shift = ml.index + ml[1].length;\n\n if (this.__index__ < 0 || shift < this.__index__) {\n this.__schema__ = '';\n this.__index__ = shift;\n this.__last_index__ = ml.index + ml[0].length;\n }\n }\n }\n }\n }\n\n if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {\n // guess schemaless emails\n at_pos = text.indexOf('@');\n if (at_pos >= 0) {\n // We can't skip this check, because this cases are possible:\n // 192.168.1.1@gmail.com, my.in@example.com\n if ((me = text.match(this.re.email_fuzzy)) !== null) {\n\n shift = me.index + me[1].length;\n next = me.index + me[0].length;\n\n if (this.__index__ < 0 || shift < this.__index__ ||\n (shift === this.__index__ && next > this.__last_index__)) {\n this.__schema__ = 'mailto:';\n this.__index__ = shift;\n this.__last_index__ = next;\n }\n }\n }\n }\n\n return this.__index__ >= 0;\n};\n\n\n/**\n * LinkifyIt#pretest(text) -> Boolean\n *\n * Very quick check, that can give false positives. Returns true if link MAY BE\n * can exists. Can be used for speed optimization, when you need to check that\n * link NOT exists.\n **/\nLinkifyIt.prototype.pretest = function pretest(text) {\n return this.re.pretest.test(text);\n};\n\n\n/**\n * LinkifyIt#testSchemaAt(text, name, position) -> Number\n * - text (String): text to scan\n * - name (String): rule (schema) name\n * - position (Number): text offset to check from\n *\n * Similar to [[LinkifyIt#test]] but checks only specific protocol tail exactly\n * at given position. Returns length of found pattern (0 on fail).\n **/\nLinkifyIt.prototype.testSchemaAt = function testSchemaAt(text, schema, pos) {\n // If not supported schema check requested - terminate\n if (!this.__compiled__[schema.toLowerCase()]) {\n return 0;\n }\n return this.__compiled__[schema.toLowerCase()].validate(text, pos, this);\n};\n\n\n/**\n * LinkifyIt#match(text) -> Array|null\n *\n * Returns array of found link descriptions or `null` on fail. We strongly\n * recommend to use [[LinkifyIt#test]] first, for best speed.\n *\n * ##### Result match description\n *\n * - __schema__ - link schema, can be empty for fuzzy links, or `//` for\n * protocol-neutral links.\n * - __index__ - offset of matched text\n * - __lastIndex__ - index of next char after mathch end\n * - __raw__ - matched text\n * - __text__ - normalized text\n * - __url__ - link, generated from matched text\n **/\nLinkifyIt.prototype.match = function match(text) {\n var shift = 0, result = [];\n\n // Try to take previous element from cache, if .test() called before\n if (this.__index__ >= 0 && this.__text_cache__ === text) {\n result.push(createMatch(this, shift));\n shift = this.__last_index__;\n }\n\n // Cut head if cache was used\n var tail = shift ? text.slice(shift) : text;\n\n // Scan string until end reached\n while (this.test(tail)) {\n result.push(createMatch(this, shift));\n\n tail = tail.slice(this.__last_index__);\n shift += this.__last_index__;\n }\n\n if (result.length) {\n return result;\n }\n\n return null;\n};\n\n\n/**\n * LinkifyIt#matchAtStart(text) -> Match|null\n *\n * Returns fully-formed (not fuzzy) link if it starts at the beginning\n * of the string, and null otherwise.\n **/\nLinkifyIt.prototype.matchAtStart = function matchAtStart(text) {\n // Reset scan cache\n this.__text_cache__ = text;\n this.__index__ = -1;\n\n if (!text.length) return null;\n\n var m = this.re.schema_at_start.exec(text);\n if (!m) return null;\n\n var len = this.testSchemaAt(text, m[2], m[0].length);\n if (!len) return null;\n\n this.__schema__ = m[2];\n this.__index__ = m.index + m[1].length;\n this.__last_index__ = m.index + m[0].length + len;\n\n return createMatch(this, 0);\n};\n\n\n/** chainable\n * LinkifyIt#tlds(list [, keepOld]) -> this\n * - list (Array): list of tlds\n * - keepOld (Boolean): merge with current list if `true` (`false` by default)\n *\n * Load (or merge) new tlds list. Those are user for fuzzy links (without prefix)\n * to avoid false positives. By default this algorythm used:\n *\n * - hostname with any 2-letter root zones are ok.\n * - biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф\n * are ok.\n * - encoded (`xn--...`) root zones are ok.\n *\n * If list is replaced, then exact match for 2-chars root zones will be checked.\n **/\nLinkifyIt.prototype.tlds = function tlds(list, keepOld) {\n list = Array.isArray(list) ? list : [ list ];\n\n if (!keepOld) {\n this.__tlds__ = list.slice();\n this.__tlds_replaced__ = true;\n compile(this);\n return this;\n }\n\n this.__tlds__ = this.__tlds__.concat(list)\n .sort()\n .filter(function (el, idx, arr) {\n return el !== arr[idx - 1];\n })\n .reverse();\n\n compile(this);\n return this;\n};\n\n/**\n * LinkifyIt#normalize(match)\n *\n * Default normalizer (if schema does not define it's own).\n **/\nLinkifyIt.prototype.normalize = function normalize(match) {\n\n // Do minimal possible changes by default. Need to collect feedback prior\n // to move forward https://github.com/markdown-it/linkify-it/issues/1\n\n if (!match.schema) { match.url = 'http://' + match.url; }\n\n if (match.schema === 'mailto:' && !/^mailto:/i.test(match.url)) {\n match.url = 'mailto:' + match.url;\n }\n};\n\n\n/**\n * LinkifyIt#onCompile()\n *\n * Override to modify basic RegExp-s.\n **/\nLinkifyIt.prototype.onCompile = function onCompile() {\n};\n\n\nmodule.exports = LinkifyIt;\n","'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7E]/; // non-ASCII chars\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, fn) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = fn(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {Array} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(string, fn) {\n\tconst parts = string.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tstring = string.replace(regexSeparators, '\\x2E');\n\tconst labels = string.split('.');\n\tconst encoded = map(labels, fn).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = array => String.fromCodePoint(...array);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint - 0x30 < 0x0A) {\n\t\treturn codePoint - 0x16;\n\t}\n\tif (codePoint - 0x41 < 0x1A) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint - 0x61 < 0x1A) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tlet oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tlet inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tlet basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue == n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.1.0',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n","// markdown-it default options\n\n'use strict';\n\n\nmodule.exports = {\n options: {\n html: false, // Enable HTML tags in source\n xhtmlOut: false, // Use '/' to close single tags (<br />)\n breaks: false, // Convert '\\n' in paragraphs into <br>\n langPrefix: 'language-', // CSS language prefix for fenced blocks\n linkify: false, // autoconvert URL-like texts to links\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n maxNesting: 100 // Internal protection, recursion limit\n },\n\n components: {\n\n core: {},\n block: {},\n inline: {}\n }\n};\n","// \"Zero\" preset, with nothing enabled. Useful for manual configuring of simple\n// modes. For example, to parse bold/italic only.\n\n'use strict';\n\n\nmodule.exports = {\n options: {\n html: false, // Enable HTML tags in source\n xhtmlOut: false, // Use '/' to close single tags (<br />)\n breaks: false, // Convert '\\n' in paragraphs into <br>\n langPrefix: 'language-', // CSS language prefix for fenced blocks\n linkify: false, // autoconvert URL-like texts to links\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n maxNesting: 20 // Internal protection, recursion limit\n },\n\n components: {\n\n core: {\n rules: [\n 'normalize',\n 'block',\n 'inline',\n 'text_join'\n ]\n },\n\n block: {\n rules: [\n 'paragraph'\n ]\n },\n\n inline: {\n rules: [\n 'text'\n ],\n rules2: [\n 'balance_pairs',\n 'fragments_join'\n ]\n }\n }\n};\n","// Commonmark default options\n\n'use strict';\n\n\nmodule.exports = {\n options: {\n html: true, // Enable HTML tags in source\n xhtmlOut: true, // Use '/' to close single tags (<br />)\n breaks: false, // Convert '\\n' in paragraphs into <br>\n langPrefix: 'language-', // CSS language prefix for fenced blocks\n linkify: false, // autoconvert URL-like texts to links\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n maxNesting: 20 // Internal protection, recursion limit\n },\n\n components: {\n\n core: {\n rules: [\n 'normalize',\n 'block',\n 'inline',\n 'text_join'\n ]\n },\n\n block: {\n rules: [\n 'blockquote',\n 'code',\n 'fence',\n 'heading',\n 'hr',\n 'html_block',\n 'lheading',\n 'list',\n 'reference',\n 'paragraph'\n ]\n },\n\n inline: {\n rules: [\n 'autolink',\n 'backticks',\n 'emphasis',\n 'entity',\n 'escape',\n 'html_inline',\n 'image',\n 'link',\n 'newline',\n 'text'\n ],\n rules2: [\n 'balance_pairs',\n 'emphasis',\n 'fragments_join'\n ]\n }\n }\n};\n","// Main parser class\n\n'use strict';\n\n\nvar utils = require('./common/utils');\nvar helpers = require('./helpers');\nvar Renderer = require('./renderer');\nvar ParserCore = require('./parser_core');\nvar ParserBlock = require('./parser_block');\nvar ParserInline = require('./parser_inline');\nvar LinkifyIt = require('linkify-it');\nvar mdurl = require('mdurl');\nvar punycode = require('punycode');\n\n\nvar config = {\n default: require('./presets/default'),\n zero: require('./presets/zero'),\n commonmark: require('./presets/commonmark')\n};\n\n////////////////////////////////////////////////////////////////////////////////\n//\n// This validator can prohibit more than really needed to prevent XSS. It's a\n// tradeoff to keep code simple and to be secure by default.\n//\n// If you need different setup - override validator method as you wish. Or\n// replace it with dummy function and use external sanitizer.\n//\n\nvar BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;\nvar GOOD_DATA_RE = /^data:image\\/(gif|png|jpeg|webp);/;\n\nfunction validateLink(url) {\n // url should be normalized at this point, and existing entities are decoded\n var str = url.trim().toLowerCase();\n\n return BAD_PROTO_RE.test(str) ? (GOOD_DATA_RE.test(str) ? true : false) : true;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n\n\nvar RECODE_HOSTNAME_FOR = [ 'http:', 'https:', 'mailto:' ];\n\nfunction normalizeLink(url) {\n var parsed = mdurl.parse(url, true);\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toASCII(parsed.hostname);\n } catch (er) { /**/ }\n }\n }\n\n return mdurl.encode(mdurl.format(parsed));\n}\n\nfunction normalizeLinkText(url) {\n var parsed = mdurl.parse(url, true);\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toUnicode(parsed.hostname);\n } catch (er) { /**/ }\n }\n }\n\n // add '%' to exclude list because of https://github.com/markdown-it/markdown-it/issues/720\n return mdurl.decode(mdurl.format(parsed), mdurl.decode.defaultChars + '%');\n}\n\n\n/**\n * class MarkdownIt\n *\n * Main parser/renderer class.\n *\n * ##### Usage\n *\n * ```javascript\n * // node.js, \"classic\" way:\n * var MarkdownIt = require('markdown-it'),\n * md = new MarkdownIt();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // node.js, the same, but with sugar:\n * var md = require('markdown-it')();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // browser without AMD, added to \"window\" on script load\n * // Note, there are no dash.\n * var md = window.markdownit();\n * var result = md.render('# markdown-it rulezz!');\n * ```\n *\n * Single line rendering, without paragraph wrap:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * var result = md.renderInline('__markdown-it__ rulezz!');\n * ```\n **/\n\n/**\n * new MarkdownIt([presetName, options])\n * - presetName (String): optional, `commonmark` / `zero`\n * - options (Object)\n *\n * Creates parser instanse with given config. Can be called without `new`.\n *\n * ##### presetName\n *\n * MarkdownIt provides named presets as a convenience to quickly\n * enable/disable active syntax rules and options for common use cases.\n *\n * - [\"commonmark\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.js) -\n * configures parser to strict [CommonMark](http://commonmark.org/) mode.\n * - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.js) -\n * similar to GFM, used when no preset name given. Enables all available rules,\n * but still without html, typographer & autolinker.\n * - [\"zero\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.js) -\n * all rules disabled. Useful to quickly setup your config via `.enable()`.\n * For example, when you need only `bold` and `italic` markup and nothing else.\n *\n * ##### options:\n *\n * - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!\n * That's not safe! You may need external sanitizer to protect output from XSS.\n * It's better to extend features via plugins, instead of enabling HTML.\n * - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags\n * (`<br />`). This is needed only for full CommonMark compatibility. In real\n * world you will need HTML output.\n * - __breaks__ - `false`. Set `true` to convert `\\n` in paragraphs into `<br>`.\n * - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.\n * Can be useful for external highlighters.\n * - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.\n * - __typographer__ - `false`. Set `true` to enable [some language-neutral\n * replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.js) +\n * quotes beautification (smartquotes).\n * - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement\n * pairs, when typographer enabled and smartquotes on. For example, you can\n * use `'«»„“'` for Russian, `'„“‚‘'` for German, and\n * `['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›']` for French (including nbsp).\n * - __highlight__ - `null`. Highlighter function for fenced code blocks.\n * Highlighter `function (str, lang)` should return escaped HTML. It can also\n * return empty string if the source was not changed and should be escaped\n * externaly. If result starts with <pre... internal wrapper is skipped.\n *\n * ##### Example\n *\n * ```javascript\n * // commonmark mode\n * var md = require('markdown-it')('commonmark');\n *\n * // default mode\n * var md = require('markdown-it')();\n *\n * // enable everything\n * var md = require('markdown-it')({\n * html: true,\n * linkify: true,\n * typographer: true\n * });\n * ```\n *\n * ##### Syntax highlighting\n *\n * ```js\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value;\n * } catch (__) {}\n * }\n *\n * return ''; // use external default escaping\n * }\n * });\n * ```\n *\n * Or with full wrapper override (if you need assign class to `<pre>`):\n *\n * ```javascript\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * // Actual default values\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return '<pre class=\"hljs\"><code>' +\n * hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +\n * '</code></pre>';\n * } catch (__) {}\n * }\n *\n * return '<pre class=\"hljs\"><code>' + md.utils.escapeHtml(str) + '</code></pre>';\n * }\n * });\n * ```\n *\n **/\nfunction MarkdownIt(presetName, options) {\n if (!(this instanceof MarkdownIt)) {\n return new MarkdownIt(presetName, options);\n }\n\n if (!options) {\n if (!utils.isString(presetName)) {\n options = presetName || {};\n presetName = 'default';\n }\n }\n\n /**\n * MarkdownIt#inline -> ParserInline\n *\n * Instance of [[ParserInline]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.inline = new ParserInline();\n\n /**\n * MarkdownIt#block -> ParserBlock\n *\n * Instance of [[ParserBlock]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.block = new ParserBlock();\n\n /**\n * MarkdownIt#core -> Core\n *\n * Instance of [[Core]] chain executor. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.core = new ParserCore();\n\n /**\n * MarkdownIt#renderer -> Renderer\n *\n * Instance of [[Renderer]]. Use it to modify output look. Or to add rendering\n * rules for new token types, generated by plugins.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * function myToken(tokens, idx, options, env, self) {\n * //...\n * return result;\n * };\n *\n * md.renderer.rules['my_token'] = myToken\n * ```\n *\n * See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.js).\n **/\n this.renderer = new Renderer();\n\n /**\n * MarkdownIt#linkify -> LinkifyIt\n *\n * [linkify-it](https://github.com/markdown-it/linkify-it) instance.\n * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.js)\n * rule.\n **/\n this.linkify = new LinkifyIt();\n\n /**\n * MarkdownIt#validateLink(url) -> Boolean\n *\n * Link validation function. CommonMark allows too much in links. By default\n * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas\n * except some embedded image types.\n *\n * You can change this behaviour:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * // enable everything\n * md.validateLink = function () { return true; }\n * ```\n **/\n this.validateLink = validateLink;\n\n /**\n * MarkdownIt#normalizeLink(url) -> String\n *\n * Function used to encode link url to a machine-readable format,\n * which includes url-encoding, punycode, etc.\n **/\n this.normalizeLink = normalizeLink;\n\n /**\n * MarkdownIt#normalizeLinkText(url) -> String\n *\n * Function used to decode link url to a human-readable format`\n **/\n this.normalizeLinkText = normalizeLinkText;\n\n\n // Expose utils & helpers for easy acces from plugins\n\n /**\n * MarkdownIt#utils -> utils\n *\n * Assorted utility functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.js).\n **/\n this.utils = utils;\n\n /**\n * MarkdownIt#helpers -> helpers\n *\n * Link components parser functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).\n **/\n this.helpers = utils.assign({}, helpers);\n\n\n this.options = {};\n this.configure(presetName);\n\n if (options) { this.set(options); }\n}\n\n\n/** chainable\n * MarkdownIt.set(options)\n *\n * Set parser options (in the same format as in constructor). Probably, you\n * will never need it, but you can change options after constructor call.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .set({ html: true, breaks: true })\n * .set({ typographer, true });\n * ```\n *\n * __Note:__ To achieve the best possible performance, don't modify a\n * `markdown-it` instance options on the fly. If you need multiple configurations\n * it's best to create multiple instances and initialize each with separate\n * config.\n **/\nMarkdownIt.prototype.set = function (options) {\n utils.assign(this.options, options);\n return this;\n};\n\n\n/** chainable, internal\n * MarkdownIt.configure(presets)\n *\n * Batch load of all options and compenent settings. This is internal method,\n * and you probably will not need it. But if you will - see available presets\n * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)\n *\n * We strongly recommend to use presets instead of direct config loads. That\n * will give better compatibility with next versions.\n **/\nMarkdownIt.prototype.configure = function (presets) {\n var self = this, presetName;\n\n if (utils.isString(presets)) {\n presetName = presets;\n presets = config[presetName];\n if (!presets) { throw new Error('Wrong `markdown-it` preset \"' + presetName + '\", check name'); }\n }\n\n if (!presets) { throw new Error('Wrong `markdown-it` preset, can\\'t be empty'); }\n\n if (presets.options) { self.set(presets.options); }\n\n if (presets.components) {\n Object.keys(presets.components).forEach(function (name) {\n if (presets.components[name].rules) {\n self[name].ruler.enableOnly(presets.components[name].rules);\n }\n if (presets.components[name].rules2) {\n self[name].ruler2.enableOnly(presets.components[name].rules2);\n }\n });\n }\n return this;\n};\n\n\n/** chainable\n * MarkdownIt.enable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to enable\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable list or rules. It will automatically find appropriate components,\n * containing rules with given names. If rule not found, and `ignoreInvalid`\n * not set - throws exception.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .enable(['sub', 'sup'])\n * .disable('smartquotes');\n * ```\n **/\nMarkdownIt.prototype.enable = function (list, ignoreInvalid) {\n var result = [];\n\n if (!Array.isArray(list)) { list = [ list ]; }\n\n [ 'core', 'block', 'inline' ].forEach(function (chain) {\n result = result.concat(this[chain].ruler.enable(list, true));\n }, this);\n\n result = result.concat(this.inline.ruler2.enable(list, true));\n\n var missed = list.filter(function (name) { return result.indexOf(name) < 0; });\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed);\n }\n\n return this;\n};\n\n\n/** chainable\n * MarkdownIt.disable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * The same as [[MarkdownIt.enable]], but turn specified rules off.\n **/\nMarkdownIt.prototype.disable = function (list, ignoreInvalid) {\n var result = [];\n\n if (!Array.isArray(list)) { list = [ list ]; }\n\n [ 'core', 'block', 'inline' ].forEach(function (chain) {\n result = result.concat(this[chain].ruler.disable(list, true));\n }, this);\n\n result = result.concat(this.inline.ruler2.disable(list, true));\n\n var missed = list.filter(function (name) { return result.indexOf(name) < 0; });\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed);\n }\n return this;\n};\n\n\n/** chainable\n * MarkdownIt.use(plugin, params)\n *\n * Load specified plugin with given params into current parser instance.\n * It's just a sugar to call `plugin(md, params)` with curring.\n *\n * ##### Example\n *\n * ```javascript\n * var iterator = require('markdown-it-for-inline');\n * var md = require('markdown-it')()\n * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {\n * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');\n * });\n * ```\n **/\nMarkdownIt.prototype.use = function (plugin /*, params, ... */) {\n var args = [ this ].concat(Array.prototype.slice.call(arguments, 1));\n plugin.apply(plugin, args);\n return this;\n};\n\n\n/** internal\n * MarkdownIt.parse(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Parse input string and return list of block tokens (special token type\n * \"inline\" will contain list of inline tokens). You should not call this\n * method directly, until you write custom renderer (for example, to produce\n * AST).\n *\n * `env` is used to pass data between \"distributed\" rules and return additional\n * metadata like reference info, needed for the renderer. It also can be used to\n * inject data in specific cases. Usually, you will be ok to pass `{}`,\n * and then pass updated object to renderer.\n **/\nMarkdownIt.prototype.parse = function (src, env) {\n if (typeof src !== 'string') {\n throw new Error('Input data should be a String');\n }\n\n var state = new this.core.State(src, this, env);\n\n this.core.process(state);\n\n return state.tokens;\n};\n\n\n/**\n * MarkdownIt.render(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Render markdown string into html. It does all magic for you :).\n *\n * `env` can be used to inject additional metadata (`{}` by default).\n * But you will not need it with high probability. See also comment\n * in [[MarkdownIt.parse]].\n **/\nMarkdownIt.prototype.render = function (src, env) {\n env = env || {};\n\n return this.renderer.render(this.parse(src, env), this.options, env);\n};\n\n\n/** internal\n * MarkdownIt.parseInline(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * The same as [[MarkdownIt.parse]] but skip all block rules. It returns the\n * block tokens list with the single `inline` element, containing parsed inline\n * tokens in `children` property. Also updates `env` object.\n **/\nMarkdownIt.prototype.parseInline = function (src, env) {\n var state = new this.core.State(src, this, env);\n\n state.inlineMode = true;\n this.core.process(state);\n\n return state.tokens;\n};\n\n\n/**\n * MarkdownIt.renderInline(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Similar to [[MarkdownIt.render]] but for single paragraph content. Result\n * will NOT be wrapped into `<p>` tags.\n **/\nMarkdownIt.prototype.renderInline = function (src, env) {\n env = env || {};\n\n return this.renderer.render(this.parseInline(src, env), this.options, env);\n};\n\n\nmodule.exports = MarkdownIt;\n","'use strict';\n\n\nmodule.exports = require('./lib/');\n","import type MarkdownIt from 'markdown-it'\nimport tlds from 'tlds'\n\nexport function linkifyAdditionPlugin(markdownIt: MarkdownIt) {\n function match(reg: RegExp, text: string): number {\n if (reg.test(text)) {\n const m = text.match(reg)\n return m ? m[0].length : 0\n }\n return 0\n }\n\n function val(reg: RegExp) {\n return (text: string, pos: number) => {\n const tail = text.slice(pos)\n return match(reg, tail)\n }\n }\n\n markdownIt.linkify\n .set({\n fuzzyLink: true,\n fuzzyEmail: false,\n fuzzyIP: false,\n })\n .tlds(tlds) // full tld list\n .tlds('onion', true)\n .add('ac', {\n validate: val(/\\d+/),\n normalize(match) {\n match.url = `https://www.acfun.cn/v/${match.url}`\n },\n })\n .add('av', {\n validate: val(/\\d+/),\n normalize(match) {\n match.url = `https://www.bilibili.com/video/${match.url}`\n },\n })\n .add('bv', {\n validate: val(/[a-zA-Z0-9]+/),\n normalize(match) {\n match.url = `https://www.bilibili.com/video/${match.url}`\n },\n })\n .add('sm', {\n validate: val(/\\d+/),\n normalize(match) {\n match.url = `https://www.nicovideo.jp/watch/${match.url}`\n },\n })\n .add('youtube-', {\n validate: val(/[-\\w]+/),\n normalize(match) {\n match.url = `https://www.youtube.com/watch?v=${match.url.replace(/^youtube-/, '')}`\n },\n })\n .add('mylist/', {\n validate: val(/\\d+/),\n normalize(match) {\n match.url = `https://www.nicovideo.jp/${match.url}`\n },\n })\n}\n\n// { name: url }\nconst faces: Record<string, string> = {}\nexport function facePlugin(markdownIt: MarkdownIt) {\n markdownIt.inline.ruler.before('link', 'face', (state, silent) => {\n if (silent)\n return false\n\n if (state.posMax - state.pos < 10)\n return false\n if (!state.src.slice(state.pos).startsWith('[[face:'))\n return false\n\n const start = state.pos\n const max = state.posMax\n state.pos++\n\n let found\n while (state.pos < state.posMax) {\n if (state.src.charCodeAt(state.pos) === 0x5D /* ] */) {\n found = true\n break\n }\n state.md.inline.skipToken(state)\n }\n\n if (!found || start + 1 === state.pos) {\n state.pos = start\n return false\n }\n\n const face = markdownIt.utils.unescapeMd(state.src.slice(start + 7, state.pos))\n\n if (face.match(/\\s/)) {\n state.pos = start\n return false\n }\n\n state.posMax = state.pos\n state.pos = start + 1\n\n if (face in faces) {\n const token = state.push('face', '', 0)\n token.attrSet('src', faces[face])\n token.content = face\n }\n else {\n const token = state.push('text', '', 0)\n token.content = `[${face}]`\n }\n\n state.pos = state.posMax + 2\n state.posMax = max\n\n return true\n })\n markdownIt.renderer.rules.face = function (tokens, idx) {\n const token = tokens[idx]\n return `<img class=\"face inline-block w-4 h-4\" src=\"${token.attrGet('src')}\" alt=\"${token.content}\" />`\n }\n}\n","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on <html>\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","<template>\n <div ref=\"el\">\n <slot />\n </div>\n <div\n v-show=\"popperShowing && user\"\n ref=\"popper\"\n class=\"popper z-910 px-3 py-2 max-w-72 rounded-md border border-purple-300 shadow-md bg-white dark:bg-gray-900\"\n >\n <RouterLink :to=\"`/user/${uid}`\">\n <div v-if=\"user\" class=\"flex flex-row space-x-2\">\n <div class=\"flex-shrink-0 flex-grow-0 rounded-full border border-purple-300 dark:border-purple-800\">\n <UserAvatar\n class=\"inline-block w-16 h-16 rounded-full object-cover\"\n :alt=\"user.username\"\n :image=\"user.image\"\n :gravatar=\"user.gravatar\"\n />\n </div>\n <div class=\"min-w-0 mt-1\">\n <div class=\"truncate font-medium\" :title=\"user.username\" v-text=\"user.username\" />\n <div class=\"line-clamp-2 text-sm text-gray-800 dark:text-gray-300\" :title=\"user.desc\" v-text=\"user.desc\" />\n </div>\n </div>\n </RouterLink>\n <div class=\"popper-arrow\" data-popper-arrow />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { onMounted, onUnmounted, ref, shallowRef, watchEffect } from 'vue'\nimport { until, useEventListener, watchDebounced } from '@vueuse/core'\nimport { createPopper } from '@popperjs/core'\nimport type { Instance as PopperInstance } from '@popperjs/core'\nimport UserAvatar from './UserAvatar.vue'\nimport { gql, useLazyQuery, useResult } from '@/graphql'\nimport type { Query } from '@/graphql'\n\nconst props = defineProps<{\n uid: string\n}>()\n\nconst el = shallowRef<HTMLImageElement | null>(null)\nconst popper = shallowRef<HTMLDivElement | null>(null)\n\nconst { result, load } = useLazyQuery<Query>(\n gql`\n query ($uid: String!) {\n getUser(para: { uid: $uid }) {\n username\n desc\n image\n gravatar\n }\n }\n `,\n {\n uid: props.uid,\n },\n)\n\nconst user = useResult(result, null, data => data?.getUser)\n\nconst popperShowing = ref(false)\nconst popperHovering = ref(false)\nlet popperInstance: PopperInstance\nonMounted(() => {\n popperInstance = createPopper(el.value!, popper.value!, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [-10, 8],\n },\n },\n {\n name: 'arrow',\n options: {\n padding: 10,\n },\n },\n ],\n })\n\n const showPopper = () => {\n if (popperShowing.value)\n return\n\n popper.value!.setAttribute('data-show', '')\n\n popperInstance.setOptions(options => ({\n ...options,\n modifiers: [...(options.modifiers ?? []), { name: 'eventListeners', enabled: true }],\n }))\n\n popperInstance.update()\n\n popperShowing.value = true\n }\n const hidePopper = () => {\n if (!popperShowing.value)\n return\n\n popper.value!.removeAttribute('data-show')\n\n popperInstance.setOptions(options => ({\n ...options,\n modifiers: [...(options.modifiers ?? []), { name: 'eventListeners', enabled: false }],\n }))\n\n popperShowing.value = false\n }\n\n useEventListener(el, 'mouseenter', () => {\n popperHovering.value = true\n })\n useEventListener(popper, 'mouseenter', () => {\n popperHovering.value = true\n })\n useEventListener(el, 'mouseleave', () => {\n popperHovering.value = false\n })\n useEventListener(popper, 'mouseleave', () => {\n popperHovering.value = false\n })\n\n watchDebounced(\n popperHovering,\n (v) => {\n if (v)\n showPopper()\n else hidePopper()\n },\n { debounce: 500 },\n )\n\n watchEffect(() => {\n if (user)\n popperInstance.update()\n })\n})\nonUnmounted(() => {\n if (popperInstance)\n popperInstance.destroy()\n})\nuntil(popperHovering)\n .toBeTruthy()\n .then(() => {\n load()\n })\n</script>\n\n<style lang=\"postcss\" scoped>\n.popper-arrow,\n.popper-arrow::before {\n position: absolute;\n width: 8px;\n height: 8px;\n /* border-color: theme('colors.gray.300'); */\n border-color: #d1d5db;\n background: inherit;\n}\n\n.popper-arrow {\n visibility: hidden;\n}\n\n.popper-arrow::before {\n visibility: visible;\n content: '';\n transform: rotate(45deg);\n}\n\n.popper[data-popper-placement^='top'] {\n .popper-arrow {\n bottom: -5px;\n }\n .popper-arrow::before {\n border-bottom-width: 1px;\n border-right-width: 1px;\n }\n}\n\n.popper[data-popper-placement^='bottom'] {\n .popper-arrow {\n top: -5px;\n }\n .popper-arrow::before {\n border-top-width: 1px;\n border-left-width: 1px;\n }\n}\n\n.popper[data-popper-placement^='left'] {\n .popper-arrow {\n right: -5px;\n }\n .popper-arrow::before {\n border-right-width: 1px;\n border-top-width: 1px;\n }\n}\n\n.popper[data-popper-placement^='right'] {\n .popper-arrow {\n left: -5px;\n }\n .popper-arrow::before {\n border-left-width: 1px;\n border-bottom-width: 1px;\n }\n}\n</style>\n"],"names":["module","require$$0","regex","encodeCache","getEncodeCache","exclude","i","ch","cache","encode","string","keepEscaped","l","code","nextCode","result","encode_1","decodeCache","getDecodeCache","decode","seq","b1","b2","b3","b4","chr","decode_1","format","url","Url","protocolPattern","portPattern","simplePathPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","hostlessProtocol","slashedProtocol","urlParse","slashesDenoteHost","u","lowerProto","hec","slashes","rest","simplePath","proto","hostEnd","auth","atSign","host","ipv6Hostname","hostparts","part","newpart","j","k","validParts","notHost","bit","hash","qm","port","parse","mdurl","require$$1","require$$2","require$$3","uc_micro","require$$4","_class","obj","isString","_hasOwnProperty","has","object","key","assign","sources","source","arrayReplaceAt","src","pos","newElements","isValidEntityCode","c","fromCodePoint","surrogate1","surrogate2","UNESCAPE_MD_RE","ENTITY_RE","UNESCAPE_ALL_RE","DIGITAL_ENTITY_TEST_RE","entities","replaceEntityPattern","match","name","unescapeMd","str","unescapeAll","escaped","entity","HTML_ESCAPE_TEST_RE","HTML_ESCAPE_REPLACE_RE","HTML_REPLACEMENTS","replaceUnsafeChar","escapeHtml","REGEXP_ESCAPE_RE","escapeRE","isSpace","isWhiteSpace","UNICODE_PUNCT_RE","isPunctChar","isMdAsciiPunct","normalizeReference","exports","parse_link_label","state","start","disableNested","level","found","marker","prevPos","labelEnd","max","oldPos","parse_link_destination","lines","parse_link_title","helpers","default_rules","tokens","idx","options","env","slf","token","info","langName","langAttrs","highlighted","arr","tmpAttrs","tmpToken","Renderer","nextToken","needLf","type","rules","len","renderer","Ruler","self","chains","rule","altName","chain","fn","index","opt","beforeName","ruleName","afterName","list","ignoreInvalid","chainName","ruler","NEWLINES_RE","NULL_RE","normalize","block","inline","tok","isLinkOpen","isLinkClose","linkify","currentToken","nodes","ln","text","lastPos","htmlLinkLevel","fullUrl","urlText","blockTokens","links","RARE_RE","SCOPED_ABBR_TEST_RE","SCOPED_ABBR_RE","SCOPED_ABBR","replaceFn","replace_scoped","inlineTokens","inside_autolink","replace_rare","replacements","blkIdx","QUOTE_TEST_RE","QUOTE_RE","APOSTROPHE","replaceAt","process_inlines","t","thisLevel","item","lastChar","nextChar","isLastPunctChar","isNextPunctChar","isLastWhiteSpace","isNextWhiteSpace","canOpen","canClose","isSingle","stack","openQuote","closeQuote","OUTER","smartquotes","text_join","curr","last","Token","tag","nesting","attrs","attrData","value","StateCore","md","state_core","_rules","require$$5","require$$6","require$$7","Core","require$$8","parser_core","getLine","line","escapedSplit","isEscaped","current","table","startLine","endLine","silent","lineText","nextLine","columns","columnCount","aligns","tableLines","tbodyLines","oldParentType","terminate","terminatorRules","firstCh","secondCh","fence","params","mem","markup","haveEndMarker","blockquote","adjustTab","initial","lastLineEmpty","offset","oldBMarks","oldBSCount","oldIndent","oldSCount","oldTShift","spaceAfterMarker","isOutdented","oldLineMax","hr","cnt","skipBulletListMarker","skipOrderedListMarker","markTightParagraphs","contentStart","indent","indentAfterMarker","isOrdered","itemLines","listLines","listTokIdx","markerCharCode","markerValue","oldListIndent","oldTight","posAfterMarker","prevEmptyEnd","isTerminatingParagraph","tight","reference","_endLine","destEndPos","destEndLineNo","href","label","res","title","html_blocks","attr_name","unquoted","single_quoted","double_quoted","attr_value","attribute","open_tag","close_tag","comment","processing","declaration","cdata","HTML_TAG_RE","HTML_OPEN_CLOSE_TAG_RE","html_re","block_names","HTML_SEQUENCES","html_block","heading","tmp","lheading","content","paragraph","StateBlock","indent_found","from","min","begin","end","keepLastLF","lineIndent","first","queue","lineStart","state_block","require$$9","require$$10","require$$11","ParserBlock","ok","hasEmptyLines","maxNesting","outTokens","require$$12","parser_block","isTerminatorChar","SCHEME_RE","link","newline","pmax","ws","ESCAPED","_escape","ch1","ch2","origStr","escapedStr","backticks","matchStart","matchEnd","openerLength","closerLength","strikethrough","scanned","postProcess","delimiters","startDelim","endDelim","loneMarkers","tokens_meta","emphasis","isStrong","labelStart","ref","parseReference","image","EMAIL_RE","AUTOLINK_RE","autolink","isLetter","lc","html_inline","DIGITAL_RE","NAMED_RE","processDelimiters","closerIdx","openerIdx","closer","opener","minOpenerIdx","newMinOpenerIdx","isOddMatch","lastJump","openersBottom","headerIdx","lastTokenIdx","jumps","balance_pairs","fragments_join","StateInline","token_meta","canSplitWord","count","can_open","can_close","left_flanking","right_flanking","state_inline","_rules2","require$$13","require$$14","ParserInline","require$$15","parser_inline","re","opts","text_separators","isObject","isRegExp","isFunction","defaultOptions","isOptionsObj","acc","defaultSchemas","tail","tlds_2ch_src_re","tlds_default","resetScanCache","createValidator","createNormalizer","compile","tlds","untpl","tpl","aliases","schemaError","val","compiled","alias","slist","Match","shift","createMatch","LinkifyIt","schemas","schema","definition","m","ml","me","next","tld_pos","at_pos","keepOld","el","linkifyIt","maxInt","base","tMin","tMax","skew","damp","initialBias","initialN","delimiter","regexPunycode","regexNonASCII","regexSeparators","errors","baseMinusTMin","floor","stringFromCharCode","error","map","array","length","mapDomain","parts","labels","encoded","ucs2decode","output","counter","extra","ucs2encode","basicToDigit","codePoint","digitToBasic","digit","flag","adapt","delta","numPoints","firstTime","input","inputLength","n","bias","basic","oldi","w","baseMinusT","out","currentValue","basicLength","handledCPCount","handledCPCountPlusOne","q","qMinusT","toUnicode","toASCII","punycode","_default","zero","commonmark","utils","ParserCore","config","BAD_PROTO_RE","GOOD_DATA_RE","validateLink","RECODE_HOSTNAME_FOR","normalizeLink","parsed","normalizeLinkText","MarkdownIt","presetName","presets","missed","plugin","args","lib","linkifyAdditionPlugin","markdownIt","reg","faces","facePlugin","face","top","bottom","right","left","auto","basePlacements","clippingParents","viewport","popper","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","element","getWindow","node","ownerDocument","isElement","OwnElement","isHTMLElement","isShadowRoot","applyStyles","_ref","style","attributes","effect","_ref2","initialStyles","styleProperties","property","applyStyles$1","getBasePlacement","round","getUAString","uaData","isLayoutViewport","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","x","y","width","height","getLayoutRect","contains","parent","child","rootNode","getComputedStyle","isTableElement","getDocumentElement","getParentNode","getTrueOffsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","css","getOffsetParent","window","offsetParent","getMainAxisFromPlacement","within","mathMax","mathMin","withinMaxClamp","v","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","keys","hashMap","toPaddingObject","padding","arrow","_state$modifiersData$","arrowElement","popperOffsets","basePlacement","axis","isVertical","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","center","axisProp","_options$element","arrow$1","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","mapToStyles","_Object$assign2","popperRect","variation","offsets","position","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles$1","passive","instance","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","eventListeners","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","scrollTop","getWindowScrollBarX","getViewportRect","strategy","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","isBody","target","updatedList","rectToClientRect","rect","getInnerBoundingClientRect","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","a","b","getExpandedFallbackPlacements","oppositePlacement","flip","_options$mainAxis","checkMainAxis","_options$altAxis","checkAltAxis","specifiedFallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","fallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","numberOfChecks","_loop","_i","fittingPlacement","_ret","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide$1","distanceAndSkiddingToXY","rects","invertDistance","skidding","distance","_options$offset","data","_data$state$placement","offset$1","popperOffsets$1","getAltAxis","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","altAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","documentElement","order","modifiers","visited","modifier","sort","requires","dep","depModifier","orderModifiers","orderedModifiers","phase","debounce","pending","resolve","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","runModifierEffects","_state$elements","_state$orderedModifie","_state$orderedModifie2","_ref3$options","cleanupFn","noopFn","createPopper","shallowRef","load","useLazyQuery","gql","props","user","useResult","popperShowing","popperHovering","popperInstance","onMounted","showPopper","_a","hidePopper","useEventListener","watchDebounced","watchEffect","onUnmounted","until"],"mappings":";4k6BAKAA,EAAA,QAAiBC,SCLjB,IAAAC,GAAe,22DCIXC,GAAc,CAAA,EAMlB,SAASC,GAAeC,EAAS,CAC/B,IAAIC,EAAGC,EAAIC,EAAQL,GAAYE,GAC/B,GAAIG,EAAS,OAAOA,EAIpB,IAFAA,EAAQL,GAAYE,GAAW,GAE1BC,EAAI,EAAGA,EAAI,IAAKA,IACnBC,EAAK,OAAO,aAAaD,CAAC,EAEtB,cAAc,KAAKC,CAAE,EAEvBC,EAAM,KAAKD,CAAE,EAEbC,EAAM,KAAK,KAAO,IAAMF,EAAE,SAAS,EAAE,EAAE,YAAa,GAAE,MAAM,EAAE,CAAC,EAInE,IAAKA,EAAI,EAAGA,EAAID,EAA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AvatarPopper.bac3e7a2.css new file mode 100644 index 0000000000..471ac4f7de --- /dev/null +++ b/assets/UserAvatarPopper.bac3e7a2.css @@ -0,0 +1 @@ +.popper-arrow[data-v-177c5063],.popper-arrow[data-v-177c5063]:before{position:absolute;width:8px;height:8px;border-color:#d1d5db;background:inherit}.popper-arrow[data-v-177c5063]{visibility:hidden}.popper-arrow[data-v-177c5063]:before{visibility:visible;content:"";transform:rotate(45deg)}.popper[data-popper-placement^=top] .popper-arrow[data-v-177c5063]{bottom:-5px}.popper[data-popper-placement^=top] .popper-arrow[data-v-177c5063]:before{border-bottom-width:1px;border-right-width:1px}.popper[data-popper-placement^=bottom] .popper-arrow[data-v-177c5063]{top:-5px}.popper[data-popper-placement^=bottom] .popper-arrow[data-v-177c5063]:before{border-top-width:1px;border-left-width:1px}.popper[data-popper-placement^=left] .popper-arrow[data-v-177c5063]{right:-5px}.popper[data-popper-placement^=left] .popper-arrow[data-v-177c5063]:before{border-right-width:1px;border-top-width:1px}.popper[data-popper-placement^=right] .popper-arrow[data-v-177c5063]{left:-5px}.popper[data-popper-placement^=right] .popper-arrow[data-v-177c5063]:before{border-left-width:1px;border-bottom-width:1px} diff --git a/assets/Video.32aea3b7.js b/assets/Video.32aea3b7.js new file mode 100644 index 0000000000..a1a7925247 --- /dev/null +++ b/assets/Video.32aea3b7.js @@ -0,0 +1,154 @@ +import{b as D,c as te,a as he,_ as ye}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as G,m as I,q as ce,y as F,aw as ke,S as be,o as l,g as i,e,P as V,a1 as we,a6 as ne,U as O,a7 as ue,G as K,t as v,J as ge,O as ve,c as _,i as H,Q as T,N as re,F as S,D as me,H as Q,r as X,f as a,s as Y,b as p,h as N,j as xe,w as h,ax as Z,I as pe,B as le,ay as $e,u as Ce,av as Se,ap as Te,aq as Be,T as de,ac as He,az as Ie}from"./index.72556674.js";import{P as Ae}from"./Player.74106f66.js";import{_ as Re}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{C as Pe}from"./CoverPlaceholder.83cb739d.js";import{M as je,f as Le,U as ae}from"./UserAvatarPopper.a1f280ca.js";import{s as Me}from"./setSiteTitle.db0fa839.js";import{a as Oe}from"./imageUrl.5afb7f35.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";import"./PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js";import"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */var se=(c=>(c.Playlist="PLAYLIST",c.Video="VIDEO",c))(se||{}),_e=(c=>(c.Author="AUTHOR",c.Character="CHARACTER",c.Copyright="COPYRIGHT",c.General="GENERAL",c.Language="LANGUAGE",c.Meta="META",c.Soundtrack="SOUNDTRACK",c))(_e||{});const fe=new je({html:!1,breaks:!0,linkify:!0}).use(Le);fe.block.ruler.enableOnly(["paragraph"]);function Ee(c){let x;try{x=fe.render(c.replace(/\[\[表情:(\p{L}+)\]\]/gu,"[[face:$1]]"),{last:[]})}catch(r){console.error(r),x=`<div class="font-mono">Error throwed from Markdown parser: ${r}<br />${r instanceof Error&&r.stack?r.stack.replaceAll(` +`,"<br />"):String(r)}</div>`}return x}const qe={class:"overflow-hidden"},ze={class:"-my-24"},Ue=["innerHTML"],Ne=G({__name:"MarkdownCommentBlock",props:{text:null,size:{default:""}},emits:["htmlChanged"],setup(c,{emit:x}){const r=c,y=I(""),g=I(!0);ce(r,(w,$)=>{w.text!==$.text&&(g.value=!0)});const f=F(null);return ke(f,([{isIntersecting:w}])=>{w&&g.value&&(y.value=Ee(r.text),be(()=>x("htmlChanged")),g.value=!1)},{rootMargin:"400px 400px 400px 400px"}),(w,$)=>(l(),i("div",qe,[e("div",ze,[e("article",{ref_key:"root",ref:f,class:V(["prose dark:prose-invert break-all my-24",{"text-sm":c.size==="sm","text-lg":c.size==="lg","text-xl":c.size==="xl"}]),innerHTML:y.value},null,10,Ue)])]))}});const ee=we(Ne,[["__scopeId","data-v-b0ee444b"]]),Ve={class:"w-full max-w-75ch rounded border border-gray-300 dark:border-gray-600 overflow-hidden"},De={class:"flex flex-row flex-nowrap justify-between items-center px-1 py-0.5 w-full text-sm border-b border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800"},Ge=e("div",{class:"flex flex-row flex-nowrap items-center text-gray-800 dark:text-gray-300"}," 富文本编辑正在制作中 ",-1),Fe={class:"flex flex-row flex-nowrap items-center"},Ke=["textContent"],We={class:"w-full p-0.5 -my-24"},Je=e("div",{class:"px-1 py-0.5 w-full text-xs text-gray-700 dark:text-gray-300 border-t border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800"},[T(" 请遵守"),e("a",{class:"text-blue-600 dark:text-blue-500",target:"_blank",rel:"noopener noreferrer",href:"https://patchyvideo.wiki/zh/Comments"},"评论规则"),T("!评论区支持部分 Markdown 语法,点击右上角的预览按钮预览渲染效果。 ")],-1),Qe=["onSubmit","onReset"],Ye=e("button",{type:"submit",class:"px-4 py-1 rounded-md text-purple-800 dark:text-white border-2 border-purple-300 dark:border-indigo-700"}," 发表 ",-1),Xe=e("button",{type:"reset",class:"px-4 py-1 rounded-md border-2 border-gray-300 dark:border-gray-600"}," 清空 ",-1),Ze={key:0},et=e("i",{class:"i-uil:spinner-alt animate-spin"},null,-1),tt={key:1},lt=G({__name:"CommentPost",props:{videoId:null,playlistId:null},emits:["refetchThread"],setup(c,{emit:x}){const r=c,y=ne(),g=O(()=>r.videoId?se.Video:r.playlistId?se.Playlist:null),f=O(()=>{var C,A;return(A=(C=r.videoId)!=null?C:r.playlistId)!=null?A:null}),{mutate:w}=ue(K` + mutation ($type: CommentType!, $id: String!, $content: String!) { + postComment(para: { commentType: $type, targetId: $id, content: $content, filter: false }) { + commentId + thread { + id + } + } + } +`),$=I(null),L=I(""),o=()=>{!$.value||(L.value=$.value.innerText)},E=()=>{!$.value||($.value.innerHTML="",L.value="")},q=I(!1),U=I(""),P=async()=>{var A;if(!y.isLogin||!L.value||!f.value)return;q.value=!0;const C=await w({type:g.value,id:f.value,content:L.value}).catch(m=>{q.value=!1,U.value=String(m)});q.value=!1,(A=C==null?void 0:C.data)!=null&&A.postComment.commentId&&(E(),x("refetchThread",C.data.postComment.thread.id.toHexString()))},B=I(!1),j=()=>{!$.value||(B.value=!B.value)};return(C,A)=>(l(),i(S,null,[e("div",Ve,[e("div",De,[Ge,e("div",Fe,[e("button",{onClick:j,textContent:v(B.value?"编辑":"预览")},null,8,Ke)])]),ge(e("div",We,[e("div",{ref_key:"inputEl",ref:$,class:"prose dark:prose-invert break-all min-h-24 my-24 focus-visible:outline-none",contenteditable:"true",onInput:o},null,544)],512),[[ve,!B.value]]),B.value&&$.value?(l(),_(ee,{key:0,class:"p-0.5",text:L.value},null,8,["text"])):H("",!0),Je]),e("form",{class:"flex flex-row items-center gap-2 mt-1",onSubmit:re(P,["prevent"]),onReset:re(E,["prevent"])},[Ye,Xe,q.value?(l(),i("div",Ze,[et,T("正在发表评论…… ")])):H("",!0),U.value?(l(),i("div",tt," 评论发表失败:"+v(U.value),1)):H("",!0)],40,Qe)],64))}}),at={class:"mx-1 md:mx-2 lg:mx-4"},st=e("i",{class:"i-uil:spinner-alt text-lg animate-spin"},null,-1),it={key:0,class:"flex flex-row flex-nowrap py-2"},nt={class:"flex-none mx-2"},ot={class:"flex-1"},rt=["textContent"],dt=e("span",{class:"text-xs text-gray-500 dark:text-gray-400"},[e("span",{class:"ml-1.5"},"发表一条友善的评论")],-1),ct={class:"flex flex-row flex-nowrap"},ut={class:"flex-none mx-2"},gt={key:0,class:"w-px h-[calc(100%-2rem)] mt-1 mx-auto bg-gray-300 dark:bg-gray-700"},vt=["textContent"],mt={class:"text-xs text-gray-500 dark:text-gray-300"},xt={key:0,class:"ml-1.5"},pt={key:0,class:"min-h-6 text-gray-600 dark:text-gray-400"},_t=["onClick"],ft={class:"flex-none w-10 md:w-14"},ht={class:"flex flex-row w-full h-full ml-6 md:ml-8"},yt={key:0,class:"w-px h-full bg-gray-300 dark:bg-gray-700"},kt={key:0,class:"flex-none mt-1 mr-2"},bt={key:0,class:"mr-1"},wt=["textContent"],$t={key:1},Ct=["textContent"],St={key:2,class:"min-h-8 text-sm text-gray-600 dark:text-gray-400"},Tt=["onClick"],Bt=["onClick"],Ht=e("div",{class:"flex-none w-10 md:w-14"},[e("div",{class:"flex flex-row w-full h-full ml-6 md:ml-8"},[e("div",{class:"w-px h-3 bg-gray-300 dark:bg-gray-700"}),e("div",{class:"mt-3 w-3 md:w-5 h-px bg-gray-300 dark:bg-gray-700"})])],-1),It={key:0,class:"flex flex-row text-sm items-center text-blue-600 dark:text-blue-300"},At=e("div",{class:"i-uil:arrow-to-bottom text-base transform rotate-180"},null,-1),Rt={key:1,class:"flex flex-row text-sm items-center text-blue-600 dark:text-blue-300"},Pt=e("div",{class:"i-uil:arrow-from-top text-base"},null,-1),jt=G({__name:"CommentList",props:{commentThreadId:null,videoId:null,playlistId:null},setup(c){const x=c,r=ne(),y=O(()=>!x.commentThreadId),g=I(null),f=O(()=>{var m;return(m=g.value)!=null?m:x.commentThreadId}),{result:w,loading:$,refetch:L,start:o,stop:E}=me(K` + query ($tid: String!) { + getThread(para: { threadId: $tid }) { + count + comments { + id + content + hidden + deleted + edited + meta { + createdAt + createdBy { + id + username + image + gravatar + desc + } + } + children { + id + content + hidden + deleted + edited + meta { + createdAt + createdBy { + id + username + image + gravatar + desc + } + } + } + } + } + } + `,{tid:f},{enabled:!y.value});ce(y,m=>{m?E():o()});const q=Q(w,null,m=>m==null?void 0:m.getThread),U=O(()=>{var m,R,z;return(z=(R=(m=q.value)==null?void 0:m.comments)==null?void 0:R.filter(k=>k.content&&k.meta.createdBy&&!k.deleted).map(k=>{var t;return{...k,children:(t=k.children)==null?void 0:t.filter(b=>b.content&&b.meta.createdBy&&!b.deleted).sort((b,d)=>+d.meta.createdAt-+b.meta.createdAt)}}).filter(k=>!!k).sort((k,t)=>+t.meta.createdAt+(t.pinned?1<<32:0)-(+k.meta.createdAt+(k.pinned?1<<32:0))))!=null?z:[]}),P=X({}),B=(m,R)=>P[m]?R:R.slice(0,3),j=m=>m.children&&m.children.length>3&&!P[m.id.toHexString()],C=X({}),A=m=>{m!==f.value?g.value=m:L()};return(m,R)=>{var k;const z=xe("RouterLink");return l(),i(S,null,[e("div",at,[a($)&&!a(y)?(l(),i(S,{key:0},[T(" 正在加载评论区"),st],64)):(l(),i(S,{key:1},[T(" 共 "+v(((k=a(q))==null?void 0:k.count)||0)+" 条评论 ",1)],64))]),a(r).isLogin&&a(Y).md?(l(),i("div",it,[e("div",nt,[p(D,{class:"inline-block w-8 md:w-12 h-8 md:h-12 rounded-full object-cover",image:a(r).image,email:a(r).email,alt:a(r).username,"hide-title":""},null,8,["image","email","alt"])]),e("div",ot,[e("div",null,[e("span",{class:"text-sm font-medium",textContent:v(a(r).username)},null,8,rt),dt]),p(lt,{"video-id":c.videoId,"playlist-id":c.playlistId,onRefetchThread:A},null,8,["video-id","playlist-id"])])])):H("",!0),(l(!0),i(S,null,N(a(U),t=>{var b,d,s;return l(),i("div",{key:t.id.toHexString(),class:"py-2"},[e("div",ct,[e("div",ut,[p(z,{to:`/user/${t.meta.createdBy.id.toHexString()}`},{default:h(()=>[p(ae,{uid:t.meta.createdBy.id.toHexString()},{default:h(()=>[p(D,{class:"inline-block w-8 md:w-12 h-8 md:h-12 rounded-full object-cover",image:t.meta.createdBy.image,gravatar:t.meta.createdBy.gravatar,alt:t.meta.createdBy.username,"hide-title":""},null,8,["image","gravatar","alt"])]),_:2},1032,["uid"])]),_:2},1032,["to"]),((d=(b=t.children)==null?void 0:b.length)!=null?d:0>0)?(l(),i("div",gt)):H("",!0)]),e("div",null,[e("div",null,[p(z,{to:`/user/${t.meta.createdBy.id.toHexString()}`},{default:h(()=>[e("span",{class:"text-sm font-medium",textContent:v(t.meta.createdBy.username)},null,8,vt)]),_:2},1032,["to"]),e("span",mt,[(l(),_(Z,null,{default:h(()=>[p(te,{class:"ml-1.5",date:t.meta.createdAt},null,8,["date"])]),_:2},1024)),t.edited?(l(),i("span",xt,"edited")):H("",!0)])]),((s=C[t.id.toHexString()])!=null?s:t.hidden)?(l(),i("div",pt,[T(" 此评论已被折叠 "),e("span",{class:"text-blue-500 dark:text-blue-600 cursor-pointer",onClick:()=>C[t.id.toHexString()]=!1},"显示评论",8,_t)])):(l(),_(ee,{key:1,class:"min-h-6",text:t.content,size:"md"},null,8,["text"]))])]),(l(!0),i(S,null,N(t.children?B(t.id.toHexString(),t.children):void 0,(u,M)=>{var W;return l(),i("div",{key:u.id.toHexString(),class:"flex flex-row flex-nowrap"},[e("div",ft,[e("div",ht,[t.children.length>3||M!==t.children.length-1?(l(),i("div",yt)):(l(),i("div",{key:1,class:V(["w-px bg-gray-300 dark:bg-gray-700",j(t)?"h-3":"h-5"])},null,2)),e("div",{class:V(["w-3 md:w-5 h-px bg-gray-300 dark:bg-gray-700",j(t)?"mt-3":"mt-5"])},null,2)])]),j(t)?H("",!0):(l(),i("div",kt,[p(z,{to:`/user/${u.meta.createdBy.id.toHexString()}`},{default:h(()=>[p(ae,{uid:u.meta.createdBy.id.toHexString()},{default:h(()=>[p(D,{class:"inline-block w-8 h-8 rounded-full object-cover",image:u.meta.createdBy.image,gravatar:u.meta.createdBy.gravatar,alt:u.meta.createdBy.username,"hide-title":""},null,8,["image","gravatar","alt"])]),_:2},1032,["uid"])]),_:2},1032,["to"])])),e("div",{class:V(["flex",{"flex-col":!j(t)}])},[j(t)?(l(),i("div",bt,[p(z,{to:`/user/${u.meta.createdBy.id.toHexString()}`},{default:h(()=>[e("span",{class:"text-sm font-medium",textContent:v(u.meta.createdBy.username)},null,8,wt)]),_:2},1032,["to"]),T(": ")])):(l(),i("div",$t,[p(z,{to:`/user/${u.meta.createdBy.id.toHexString()}`},{default:h(()=>[e("span",{class:"text-sm font-medium",textContent:v(u.meta.createdBy.username)},null,8,Ct)]),_:2},1032,["to"]),(l(),_(Z,null,{default:h(()=>[p(te,{class:"text-xs text-gray-500 dark:text-gray-300 ml-2",date:u.meta.createdAt},null,8,["date"])]),_:2},1024))])),((W=C[t.id.toHexString()])!=null?W:t.hidden)?(l(),i("div",St,[T(" 此评论已被折叠 "),e("span",{class:"text-blue-500 dark:text-blue-600 cursor-pointer",onClick:()=>C[t.id.toHexString()]=!1},"显示评论",8,Tt)])):(l(),_(ee,{key:3,class:"min-h-6",text:u.content,size:"sm"},null,8,["text"]))],2)])}),128)),t.children&&t.children.length>3?(l(),i("div",{key:0,class:"flex flex-row flex-nowrap cursor-pointer",onClick:()=>{P[t.id.toHexString()]=!P[t.id.toHexString()]}},[Ht,P[t.id.toHexString()]?(l(),i("div",It,[At,T(" 收起楼中楼 ")])):(l(),i("div",Rt,[Pt,T(" 展开楼中楼 ")]))],8,Bt)):H("",!0)])}),128))],64)}}}),Lt={class:"inline-flex px-2.5 text-base flex-row items-center gap-1 whitespace-nowrap rounded-full border-1 border-gray-400 dark:border-gray-600"},Mt=["textContent"],ie=G({__name:"RoundTag",props:{tag:null,removeable:{type:Boolean}},emits:["remove"],setup(c,{emit:x}){const r=c,y=O(()=>({category:r.tag.category.toLowerCase(),name:pe(r.tag.languages).replace(/_/g," ")})),g={copyright:"bg-copyright",language:"bg-language",character:"bg-character",author:"bg-author",general:"bg-general",meta:"bg-meta",soundtrack:"bg-soundtrack"};return(f,w)=>(l(),i("div",Lt,[e("span",{class:V(["inline-block w-2 h-2 rounded-full",g[a(y).category]])},null,2),e("span",{textContent:v(a(y).name)},null,8,Mt),c.removeable?(l(),i("button",{key:0,class:"inline i-uil:times text-gray-600 dark:text-gray-400 hover:text-black",title:"删除标签",onClick:w[0]||(w[0]=()=>x("remove"))})):H("",!0)]))}}),Ot={class:"flex flex-col gap-2"},Et={class:"flex justify-between"},qt=e("div",{class:"ml-1 font-light"}," 现有标签 ",-1),zt={class:"flex flex-row gap-1 items-center"},Ut={key:0,class:"text-gray-800 dark:text-gray-200"},Nt=e("div",{class:"inline-block i-uil:spinner-alt animate-spin"},null,-1),Vt={class:"flex gap-1 flex-row flex-wrap"},Dt=e("div",{class:"ml-1 font-light"}," 加入标签 ",-1),Gt=G({__name:"EditTags",props:{vid:null,tags:null},emits:["refetch"],setup(c,{emit:x}){const r=c,{resolveClient:y}=$e(),g=I([]),f=I([]);le(()=>{g.value=[...r.tags]});const w=O(()=>{if(g.value.length!==r.tags.length)return!0;const t=r.tags.map(d=>d.tagid).sort((d,s)=>d-s),b=g.value.map(d=>d.tagid).sort((d,s)=>d-s);return t.some((d,s)=>d!==b[s])}),$=async t=>{var u;if(g.value.find(M=>M.tagid===t)||f.value.includes(t))return!1;f.value.push(t);const d=await y().query({query:K` + query ($tid: Int!) { + getTagObjects(para: { tagid: [$tid] }) { + __typename + id + tagid + category + languages { + lang + value + } + } + } + `,variables:{tid:t}}).catch(()=>null);f.value.splice(f.value.indexOf(t),1);const s=(u=d==null?void 0:d.data)==null?void 0:u.getTagObjects[0];return s?(g.value.push(s),!0):!1},L=t=>{const b=g.value.findIndex(d=>d.tagid===t);return b===-1?!1:(g.value.splice(b,1),!0)},o=X([]),E=X([]),q=()=>{if(o.length>0){const t=o.pop();E.push(t),t.type==="add"?L(t.tagid):$(t.tagid)}},U=()=>{if(E.length>0){const t=E.pop();o.push(t),t.type==="add"?$(t.tagid):L(t.tagid)}},P=t=>{o.push(t),E.length=0},B=I(""),j=F(),C=t=>{L(t)&&P({type:"remove",tagid:t})},A=async t=>{typeof t.id=="number"&&await $(t.id)&&P({type:"add",tagid:t.id})},{mutate:m}=ue(K` + mutation ($vid: String!, $tags: [Int!]!) { + editVideoTagIds(para: { editBehaviour: "replace", tags: $tags, videoId: $vid }) { + tagid + } + } +`),R=I(!1),z=I(""),k=async()=>{!w.value||(R.value=!0,await m({vid:r.vid,tags:g.value.map(t=>t.tagid)}).catch(t=>{z.value=t.message}),x("refetch"),R.value=!1)};return(t,b)=>(l(),i("div",Ot,[e("div",null,[e("div",Et,[qt,e("div",zt,[R.value?(l(),i("div",Ut,[T(" 正在提交"),Nt])):a(w)?(l(),i("button",{key:1,class:"text-blue-500",onClick:k}," 提交修改 ")):H("",!0),e("button",{class:V(["inline i-uil:redo text-lg -scale-x-full",{"text-gray-400 dark:text-gray-600":!o.length}]),onClick:q},null,2),e("button",{class:V(["inline i-uil:redo text-lg",{"text-gray-400 dark:text-gray-600":!E.length}]),onClick:U},null,2)])]),e("div",Vt,[(l(!0),i(S,null,N(g.value,d=>(l(),_(ie,{key:d.id.toHexString(),tag:d,removeable:"",onRemove:()=>C(d.tagid)},null,8,["tag","onRemove"]))),128)),(l(!0),i(S,null,N(f.value,d=>(l(),_(ie,{key:d,tag:{category:a(_e).General,languages:[{__typename:"MultilingualMapping",lang:"ENG",value:`id<${d.toString()}>`}]}},null,8,["tag"]))),128))])]),e("div",null,[Dt,p(he,{keyword:B.value,"onUpdate:keyword":b[0]||(b[0]=d=>B.value=d),"teleport-result":a(j),onSuggestionClick:A},null,8,["keyword","teleport-result"]),e("div",{ref_key:"editTagSearchResult",ref:j},null,512)])]))}}),Ft={key:0,class:"xl:mx-2"},Kt={class:"grid grid-cols-12 space-x-2 grid-flow-row-dense"},Wt={class:"col-span-full xl:col-span-9"},Jt=["textContent"],Qt={class:"flex flex-row items-center gap-2 text-gray-600 dark:text-gray-300"},Yt=["textContent"],Xt=["textContent"],Zt=["title"],el=["textContent"],tl=["title"],ll=e("div",{class:"my-1"},null,-1),al={class:"mx-1 md:mx-2 lg:mx-4"},sl={class:"flex mb-1 gap-1 items-center flex-wrap"},il=["title"],nl={key:1},ol=e("div",{class:"w-full border-t border-purple-300 dark:border-indigo-800 my-2"},null,-1),rl={class:"col-span-full xl:col-span-3"},dl={key:0,class:"flex flex-col mt-2 gap-1"},cl=e("div",{class:"i-uil:arrow-left text-xl"},null,-1),ul={class:"flex xl:flex-col justify-start px-1 xl:pt-4"},gl={class:"flex-shrink-0"},vl={class:"hidden sm:block ml-1.5 overflow-hidden"},ml=["textContent"],xl=["textContent"],pl=["textContent"],_l=e("br",null,null,-1),fl={class:"overflow-hidden whitespace-nowrap overflow-ellipsis text-sm text-gray-600 dark:text-gray-300"},hl={key:0,class:"xl:mx-2 border-purple-300 dark:border-purple-800 border-b xl:border xl:rounded-md xl:mt-2 flex flex-col max-h-125"},yl={class:"mx-2 my-1 flex justify-between"},kl=e("div",{class:"i-uil:list-ui-alt inline-block text-lg align-middle text-gray-800 dark:text-gray-100"},null,-1),bl={class:"text-sm text-gray-900 dark:text-gray-200"},wl={class:"flex flex-col justify-around"},$l={class:"h-full overflow-y-auto"},Cl={class:"flex flex-col flex-shrink-0 flex-grow-0 justify-around text-xs w-6 self-center text-center overflow-hidden"},Sl={key:0,class:"i-uil:play mx-auto"},Tl={class:"flex-shrink-0 flex-grow-0 w-24"},Bl={class:"aspect-ratio-8/5"},Hl=["src"],Il={class:"flex flex-col justify-between"},Al=["textContent"],Rl=["textContent"],Pl={class:"mt-2"},jl={class:"ml-1 font-light"},Ll={class:"flex flex-col"},Ml={class:"col-span-2"},Ol={class:"col-span-3 flex mt-0.5 flex-wrap content-start text-sm"},El=["textContent"],ql=["textContent"],zl={key:1,class:"mx-2"},Ul={class:"grid grid-cols-12 grid-flow-row-dense"},Nl=e("div",{class:"col-span-full xl:col-span-9"},[e("div",null,[e("h1",{class:"mt-1 sm:text-lg lg:text-xl w-4/5 rounded-md bg-gray-300 dark:bg-gray-600"},"   "),e("div",{class:"mt-1 text-gray-600 dark:text-gray-300 w-2/5 rounded-md bg-gray-300 dark:bg-gray-600"},"   ")]),e("div",{class:"w-full mt-1"},[e("div",{class:"aspect-ratio-16/9"},[e("div",{class:"w-full h-full bg-gray-400 dark:bg-gray-600"})])])],-1),Vl={class:"col-span-full xl:col-span-3 space-x-2"},Dl=e("div",{class:"flex xl:flex-col justify-start px-1 xl:pt-4"},[e("div",{class:"flex items-center flex-nowrap px-1 py-1 xl:w-full"},[e("div",{class:"relative flex-shrink-0"},[e("div",{class:"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-400 dark:bg-gray-600"},"   ")]),e("div",{class:"hidden sm:block w-full ml-3 overflow-hidden"},[e("div",{class:"inline-block w-4/5 rounded-md bg-gray-300 dark:bg-gray-600"},"   "),e("br"),e("div",{class:"inline-block overflow-hidden whitespace-nowrap overflow-ellipsis text-sm w-2/5 mt-1 rounded-md bg-gray-400 dark:bg-gray-600"},"   ")])])],-1),Gl={class:"flex flex-col space-y-1 mt-2"},Fl={class:"col-span-2"},Kl=e("div",{class:"col-span-3 flex flex-wrap content-start text-sm"},[e("a",{class:"line-clamp-2 overflow-ellipsis overflow-hidden w-4/5 rounded-md bg-gray-400 dark:bg-gray-600"}," "),e("div",{class:"text-sm mt-1 inline-block w-2/5 truncate rounded-md bg-gray-300 dark:bg-gray-600"},"   ")],-1),oa=G({__name:"Video",setup(c){const{t:x}=Ce(),r=He(),y=ne(),g=O(()=>r.params.vid),f=O(()=>Array.isArray(r.query.list)?r.query.list[0]:r.query.list),{result:w,loading:$,refetch:L}=me(K` + query ($vid: String!, $fetchPlaylist: Boolean!, $pid: String = "") { + getVideo(para: { vid: $vid, lang: "CHS" }) { + item { + title + desc + uploadTime + url + repostType + site + } + meta { + createdBy { + id + username + desc + image + gravatar + } + } + tags { + __typename + id + tagid + category + languages { + lang + value + } + ... on AuthorTagObject { + authorRole + author { + id + tagname + avatar + desc + } + } + } + commentThread { + id + } + relatedVideos(topK: 20) { + id + item { + title + coverImage + } + meta { + createdBy { + username + } + } + } + clearence + } + listAdjacentVideos(para: { pid: $pid, vid: $vid, k: 200 }) @include(if: $fetchPlaylist) { + video { + id + item { + title + coverImage + } + meta { + createdBy { + username + } + } + } + rank + } + getPlaylist(para: { pid: $pid }) @include(if: $fetchPlaylist) { + item { + title + count + } + meta { + createdBy { + username + } + } + } + } + `,{vid:g.value,fetchPlaylist:!!f.value,pid:f.value});le(()=>{$.value?Te():Be()});const o=Q(w,null,s=>s==null?void 0:s.getVideo);le(()=>{o.value&&Me(`${o.value.item.title} - PatchyVideo`)});const E=O(()=>o.value?o.value.tags.filter(s=>s.__typename==="AuthorTagObject").map(s=>s.author&&{type:"AuthorTag",id:s.author.id,tagid:s.tagid,name:s.author.tagname,desc:s.author.desc,avatar:s.author.avatar,position:s.authorRole}).concat([o.value.meta.createdBy&&{type:"User",id:o.value.meta.createdBy.id,name:o.value.meta.createdBy.username,desc:o.value.meta.createdBy.desc,avatar:o.value.meta.createdBy.image,gravatar:o.value.meta.createdBy.gravatar||void 0,position:x("video.video.uploader")}]).filter(s=>!!s):[]),q=O(()=>o.value?o.value.tags.filter(s=>s.__typename==="RegularTagObject"):[]),U=F(null),P=F(null),B=Q(w,null,s=>s==null?void 0:s.getPlaylist),j=Q(w,null,s=>s==null?void 0:s.listAdjacentVideos),C=O(()=>{var s,u;return o.value&&j.value?((u=(s=j.value.find(M=>M.video.id.toHexString()===g.value))==null?void 0:s.rank)!=null?u:-2)+1:-1}),A=I(!Y.xl),m=Se("video_tag_render_as_plain_text",!1),R=F(null),z=()=>{R.value&&!R.value.closed&&R.value.focus();const{window:s}=Ie({url:`/edit-video/${g.value}`});R.value=s},k=O(()=>{var s,u;return(u=(s=o.value)==null?void 0:s.clearence)!=null?u:3}),t=I(""),b=()=>{t.value=x("video.video.edit.hide-video.saving"),fetch("https://patchyvideo.com/be/videos/condemn_video.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({vid:g.value}),credentials:"include"}).then(s=>s.json()).then(s=>{if(s.status==="SUCCEED")t.value=x("video.video.edit.hide-video.succeed");else throw new Error(s)}).catch(s=>{var u;console.error(s),t.value=x("video.video.edit.hide-video.failed",{error:(u=s.message)!=null?u:s})})},d=I(!1);return(s,u)=>{const M=xe("RouterLink"),W=ye;return l(),_(W,null,{default:h(()=>{var oe;return[a(o)?(l(),i("div",Ft,[e("div",Kt,[e("div",Wt,[e("div",null,[e("h1",{class:"mt-1 sm:text-lg lg:text-xl font-semibold sm:font-medium lg:font-normal",textContent:v(a(o).item.title)},null,8,Jt),e("div",Qt,[e("div",{textContent:v(a(x)(`video.video.repost-type.${a(o).item.repostType}`,a(o).item.repostType))},null,8,Yt),a(k)!==3?(l(),i("div",{key:0,textContent:v(a(x)(`video.video.ranks.${a(k)}`))},null,8,Xt)):H("",!0),(l(),_(Z,null,{default:h(()=>[p(te,{date:a(o).item.uploadTime},null,8,["date"])]),_:1})),a(y).isAdmin?(l(),i(S,{key:1},[e("div",{title:a(x)("video.video.edit.hide-video.title"),class:"i-uil:eye-slash text-lg cursor-pointer select-none",onClick:b},null,8,Zt),t.value?(l(),i("div",{key:0,textContent:v(t.value)},null,8,el)):H("",!0)],64)):H("",!0),a(y).isLogin?(l(),i("div",{key:2,title:a(x)("video.video.edit.edit-video"),class:"i-uil:pen text-lg cursor-pointer select-none",onClick:z},null,8,tl)):H("",!0)])]),(l(),_(Z,null,{default:h(()=>[p(Ae,{item:a(o).item},null,8,["item"])]),_:1})),ll,e("div",{ref_key:"mobilePlaylistTarget",ref:P},null,512),e("div",{ref_key:"mobileAuthorTarget",ref:U},null,512),e("div",al,[e("div",sl,[e("span",{title:a(y).isLogin?a(x)("video.video.edit.edit-tags"):void 0},[e("div",{class:V(["i-uil:tag-alt inline-block text-2xl align-middle text-gray-600 dark:text-gray-300",{"cursor-pointer":a(y).isLogin}]),onClick:u[0]||(u[0]=()=>a(y).isLogin&&(d.value=!0))},null,2)],8,il),a(m)?(l(),i("div",nl,[(l(!0),i(S,null,N(a(q),n=>(l(),i("span",{key:n.id.toHexString(),class:"mr-2 text-blue-600"},"#"+v(a(pe)(n.languages)),1))),128))])):(l(!0),i(S,{key:0},N(a(q),n=>(l(),_(ie,{key:n.id.toHexString(),tag:n},null,8,["tag"]))),128))]),p(ee,{text:a(o).item.desc,size:"sm"},null,8,["text"])]),ol,e("div",null,[p(jt,{"comment-thread-id":(oe=a(o).commentThread)==null?void 0:oe.id.toHexString(),"video-id":a(g)},null,8,["comment-thread-id","video-id"])])]),e("div",rl,[d.value?(l(),i("div",dl,[e("button",{class:"flex items-center text-blue-500",onClick:u[1]||(u[1]=()=>d.value=!1)},[cl,T(" 返回详情 ")]),(l(),_(Gt,{key:a(g),vid:a(g),tags:a(o).tags,onRefetch:a(L)},null,8,["vid","tags","onRefetch"]))])):(l(),i(S,{key:1},[(l(),_(de,{to:a(U),disabled:!a(U)||a(Y).xl},[e("div",ul,[(l(!0),i(S,null,N(a(E),n=>(l(),i("div",{key:n.id.toHexString(),class:"flex items-center flex-nowrap px-1 py-1 xl:w-full"},[e("div",gl,[n.type==="User"?(l(),_(M,{key:0,to:`/user/${n.id.toHexString()}`},{default:h(()=>[p(ae,{uid:n.id.toHexString()},{default:h(()=>[p(D,{class:"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover",image:n.avatar,gravatar:n.gravatar,alt:n.name,"hide-title":""},null,8,["image","gravatar","alt"])]),_:2},1032,["uid"])]),_:2},1032,["to"])):n.tagid?(l(),_(M,{key:1,to:`/tag/author/${n.tagid}`},{default:h(()=>[p(D,{class:"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover",image:n.avatar,gravatar:n.gravatar,alt:n.name},null,8,["image","gravatar","alt"])]),_:2},1032,["to"])):(l(),_(D,{key:2,class:"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover",image:n.avatar,gravatar:n.gravatar,alt:n.name},null,8,["image","gravatar","alt"]))]),e("div",vl,[n.type==="User"?(l(),_(M,{key:0,to:`/user/${n.id.toHexString()}`},{default:h(()=>[e("span",{class:"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden",textContent:v(n.position)},null,8,ml),T(v(n.name),1)]),_:2},1032,["to"])):n.tagid?(l(),_(M,{key:1,to:`/tag/author/${n.tagid}`},{default:h(()=>[e("span",{class:"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden",textContent:v(n.position)},null,8,xl),T(v(n.name),1)]),_:2},1032,["to"])):(l(),i(S,{key:2},[e("span",{class:"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden",textContent:v(n.position)},null,8,pl),T(v(n.name),1)],64)),_l,e("div",fl,v(n.desc||a(x)("video.video.no-desc")),1)])]))),128))])],8,["to","disabled"])),(l(),_(de,{to:a(P),disabled:!a(P)||a(Y).xl},[a(B)?(l(),i("div",hl,[e("div",yl,[e("div",null,[p(M,{class:"",to:`/playlist/${a(f)}`},{default:h(()=>[kl,T(" "+v(a(B).item.title),1)]),_:1},8,["to"]),e("div",bl,v(a(B).meta.createdBy?`${a(B).meta.createdBy.username} - `:"")+v(`${a(C)} / ${a(B).item.count}`),1)]),e("div",wl,[e("div",{class:V(["i-uil:angle-up text-2xl transform transition-transform duration-200 select-none cursor-pointer",{"rotate-180":A.value}]),onClick:u[2]||(u[2]=n=>A.value=!A.value)},null,2)])]),ge(e("div",$l,[(l(!0),i(S,null,N(a(j),(n,J)=>(l(),_(M,{key:n.video.id.toHexString(),class:V(["flex justify-start space-x-1 py-1 hover:bg-purple-50 dark:hover:bg-gray-800",{"bg-purple-50 dark:bg-gray-800":n.video.id.toHexString()===a(g)}]),to:`/video/${n.video.id}?list=${a(f)}`},{default:h(()=>[e("div",Cl,[J+1===a(C)?(l(),i("div",Sl)):(l(),i(S,{key:1},[T(v(n.rank+1),1)],64))]),e("div",Tl,[e("div",Bl,[e("img",{class:"inline-block",width:"96",height:"54",src:a(Oe)({image:n.video.item.coverImage})},null,8,Hl)])]),e("div",Il,[e("h2",{class:"text-sm line-clamp-2",textContent:v(n.video.item.title)},null,8,Al),n.video.meta.createdBy?(l(),i("div",{key:0,class:"text-xs text-gray-900 dark:text-gray-200",textContent:v(n.video.meta.createdBy.username)},null,8,Rl)):H("",!0)])]),_:2},1032,["class","to"]))),128))],512),[[ve,!A.value]])])):H("",!0)],8,["to","disabled"])),e("div",Pl,[e("span",jl,v(a(x)("video.video.related-video")),1),e("div",Ll,[(l(!0),i(S,null,N(a(o).relatedVideos,n=>(l(),_(M,{key:n.id.toHexString(),to:`/video/${n.id.toHexString()}`,class:"grid grid-cols-5 space-x-1.5 py-0.5 rounded-md hover:bg-purple-50 dark:hover:bg-gray-800 transition-colors duration-100"},{default:h(()=>{var J;return[e("div",Ml,[p(Re,{title:n.item.title,"cover-image":n.item.coverImage,class:"rounded-md"},null,8,["title","cover-image"])]),e("div",Ol,[e("a",{class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full",textContent:v(n.item.title)},null,8,El),e("div",{class:"text-sm inline-block w-full mt-1 truncate font-light",textContent:v((J=n.meta.createdBy)==null?void 0:J.username)},null,8,ql)])]}),_:2},1032,["to"]))),128))])])],64))])])])):(l(),i("div",zl,[e("div",Ul,[Nl,e("div",Vl,[Dl,e("div",Gl,[(l(),i(S,null,N(20,n=>e("div",{key:n,class:"grid grid-cols-5 space-x-1 hover:bg-purple-50 dark:hover:bg-gray-800"},[e("div",Fl,[p(Pe,{class:"rounded-sm"})]),Kl])),64))])])])]))]}),_:1})}}});export{oa as default}; +//# sourceMappingURL=Video.32aea3b7.js.map diff --git a/assets/Video.32aea3b7.js.map b/assets/Video.32aea3b7.js.map new file mode 100644 index 0000000000..5c7c7b973e --- /dev/null +++ b/assets/Video.32aea3b7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Video.32aea3b7.js","sources":["../../packages/graphql/__generated__/graphql.ts","../../packages/markdown/libs/parserComment.ts","../../packages/markdown/components/MarkdownCommentBlock.vue","../../packages/video/components/CommentPost.vue","../../packages/video/components/CommentList.vue","../../packages/tag/components/RoundTag.vue","../../packages/video/components/EditTags.vue","../../packages/video/Video.vue"],"sourcesContent":["import { ObjectID as ObjectId } from '../index';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: string;\n String: string;\n Boolean: boolean;\n Int: number;\n Float: number;\n DateTimeUtc: Date;\n ObjectId: ObjectId;\n UtcDateTime: Date;\n};\n\nexport type Author = {\n __typename: 'Author';\n avatar: Scalars['String'];\n commonTagids: Array<Scalars['Int']>;\n commonTags: Array<AuthorTagObject | RegularTagObject>;\n desc: Scalars['String'];\n id: Scalars['ObjectId'];\n pvUser?: Maybe<User>;\n tagname: Scalars['String'];\n type: Scalars['String'];\n urls: Array<Scalars['String']>;\n userSpaceIds: Array<Scalars['String']>;\n};\n\n/** AuthorTagObject */\nexport type AuthorTagObject = TagObject & {\n __typename: 'AuthorTagObject';\n alias: Array<Scalars['String']>;\n author?: Maybe<Author>;\n authorRole: Scalars['String'];\n category: TagCategoryEnum;\n count: Scalars['Int'];\n id: Scalars['ObjectId'];\n isAuthor: Scalars['Boolean'];\n languages: Array<MultilingualMapping>;\n meta: Meta;\n tagid: Scalars['Int'];\n};\n\n/** base NotificationObject */\nexport type BaseNotificationObject = NotificationObject & {\n __typename: 'BaseNotificationObject';\n id: Scalars['ObjectId'];\n read: Scalars['Boolean'];\n time: Scalars['UtcDateTime'];\n type: Scalars['String'];\n};\n\n/** BatchPostVideo data */\nexport type BatchPostVideoRequestData = {\n /** If we should treat videos as copies to each other */\n asCopies?: InputMaybe<Scalars['Boolean']>;\n /** Reference to another copy, in video ObjectId format */\n copy?: InputMaybe<Scalars['String']>;\n /** Playlist ID if you want to add this video to a playlist */\n pid?: InputMaybe<Scalars['String']>;\n /** Rank of video in the playlist you are inserting into, default to last position */\n rank?: InputMaybe<Scalars['Int']>;\n /** Type of repost, one of 'official', 'official_repost', 'authorized_translation', 'authorized_repost', 'translation', 'repost', 'unknown' */\n repostType?: InputMaybe<Scalars['String']>;\n /** Video tags */\n tags: Array<Scalars['String']>;\n /** Video URLs */\n videos: Array<Scalars['String']>;\n};\n\nexport type BatchPostVideoResult = {\n __typename: 'BatchPostVideoResult';\n taskIds: Scalars['String'];\n};\n\nexport type Comment = {\n __typename: 'Comment';\n children?: Maybe<Array<Comment>>;\n content?: Maybe<Scalars['String']>;\n deleted: Scalars['Boolean'];\n downvotes: Scalars['Int'];\n edited: Scalars['Boolean'];\n hidden: Scalars['Boolean'];\n id: Scalars['ObjectId'];\n meta: Meta;\n parent?: Maybe<Scalars['ObjectId']>;\n pinned: Scalars['Boolean'];\n thread?: Maybe<Thread>;\n upvotes: Scalars['Int'];\n};\n\nexport enum CommentType {\n Playlist = 'PLAYLIST',\n Video = 'VIDEO'\n}\n\n/** required parameters for editing a comment */\nexport type EditCommentParameters = {\n /** Target comment_id (ObjectId) */\n cid: Scalars['String'];\n /** To filter or not */\n filter: Scalars['Boolean'];\n /** Content */\n text: Scalars['String'];\n};\n\n/** editVideoTagIds required parameters */\nexport type EditVideoTagIdsParameters = {\n /** One of 'replace', 'append', 'remove' */\n editBehaviour: Scalars['String'];\n /** Behaviour if a tag does not exist, one of 'ignore', 'error', default 'ignore' */\n notFoundBehaviour?: InputMaybe<Scalars['String']>;\n /** Tags */\n tags: Array<Scalars['Int']>;\n /** User language used for adding tags, default is 'ENG' */\n userLanguage?: InputMaybe<Scalars['String']>;\n /** Video ID */\n videoId: Scalars['String'];\n};\n\n/** editVideoTags required parameters */\nexport type EditVideoTagsParameters = {\n /** One of 'replace', 'append', 'remove' */\n editBehaviour: Scalars['String'];\n /** Behaviour if a tag does not exist, one of 'ignore', 'error', 'append', default 'ignore' */\n notFoundBehaviour?: InputMaybe<Scalars['String']>;\n /** Tags */\n tags: Array<Scalars['String']>;\n /** User language used for adding tags, default is 'ENG' */\n userLanguage?: InputMaybe<Scalars['String']>;\n /** Video ID */\n videoId: Scalars['String'];\n};\n\nexport type EmptyJson = {\n __typename: 'EmptyJSON';\n /** Always not present */\n empty?: Maybe<Scalars['Int']>;\n};\n\n/** getTagsBatch required parameters */\nexport type GetAuthorParameters = {\n /** Tag ID */\n tagid: Scalars['Int'];\n};\n\n/** required parameters for get playlist */\nexport type GetPlaylistParameters = {\n /** ID of playlist */\n pid: Scalars['String'];\n};\n\n/** GetPopularTags parameters */\nexport type GetPopularTagsParameters = {\n count?: InputMaybe<Scalars['Int']>;\n /** Language, default 'ENG' */\n lang?: InputMaybe<Scalars['String']>;\n};\n\nexport type GetPopularTagsResult = {\n __typename: 'GetPopularTagsResult';\n popularTags?: Maybe<Array<TagWithPopularity>>;\n};\n\n/** required parameters for get user */\nexport type GetRatingParameters = {\n /** ID of playlist */\n pid?: InputMaybe<Scalars['String']>;\n /** ID of video */\n vid?: InputMaybe<Scalars['String']>;\n};\n\n/** GetRelatedVideo required parameters */\nexport type GetRelatedVideoParameters = {\n sortTitle?: InputMaybe<Scalars['Boolean']>;\n topK?: InputMaybe<Scalars['Int']>;\n vid: Scalars['String'];\n};\n\n/** getTagsBatch required parameters */\nexport type GetTagObjectsBatchParameters = {\n /** Tag IDs */\n tagid: Array<Scalars['Int']>;\n};\n\n/** required parameters for viewing a thread */\nexport type GetThreadParameters = {\n /** ID of thread */\n threadId: Scalars['String'];\n};\n\n/** required parameters for get user */\nexport type GetUserParameters = {\n /** ID of user */\n uid: Scalars['String'];\n};\n\n/** listVideo required parameters */\nexport type GetVideoParameters = {\n /** Language */\n lang: Scalars['String'];\n /** Video ID */\n vid: Scalars['String'];\n};\n\nexport type LeaderboardResult = {\n __typename: 'LeaderboardResult';\n items: Array<LeaderboardResultItem>;\n};\n\nexport type LeaderboardResultItem = {\n __typename: 'LeaderboardResultItem';\n count: Scalars['Int'];\n user: User;\n};\n\n/** listAdjacentVideos required parameters */\nexport type ListAdjacentVideosParameters = {\n /** k */\n k?: InputMaybe<Scalars['Int']>;\n /** Playlist ID */\n pid: Scalars['String'];\n /** Rank to find against */\n rank?: InputMaybe<Scalars['Int']>;\n vid?: InputMaybe<Scalars['String']>;\n};\n\n/** list notifications result */\nexport type ListNotificationGqlResult = {\n __typename: 'ListNotificationGQLResult';\n count: Scalars['Int'];\n countAll: Scalars['Int'];\n countUnread: Scalars['Int'];\n notes: Array<BaseNotificationObject | ReplyNotificationObject | SystemNotificationObject>;\n pageCount?: Maybe<Scalars['Int']>;\n};\n\n/** list notifications required parameters */\nexport type ListNotificationParameters = {\n limit?: InputMaybe<Scalars['Int']>;\n /** Whether or not to list all notifications, default only list unread */\n listAll?: InputMaybe<Scalars['Boolean']>;\n /** Type of notification to list, one of 'all', 'forum_reply', 'comment_reply', 'system_message', 'dm', 'post_result', default is 'all' */\n noteType?: InputMaybe<Scalars['String']>;\n offset?: InputMaybe<Scalars['Int']>;\n};\n\n/** listPlaylist required parameters */\nexport type ListPlaylistParameters = {\n additionalConstraint?: InputMaybe<Scalars['String']>;\n /** Num of item in a page */\n limit?: InputMaybe<Scalars['Int']>;\n /** Offset (start from 0) */\n offset?: InputMaybe<Scalars['Int']>;\n /** List order, one of 'latest', 'oldest', 'last_modified' */\n order?: InputMaybe<Scalars['String']>;\n /** Query */\n query?: InputMaybe<Scalars['String']>;\n};\n\nexport type ListPlaylistResult = {\n __typename: 'ListPlaylistResult';\n count: Scalars['Int'];\n pageCount: Scalars['Int'];\n playlists: Array<Playlist>;\n};\n\n/** list subscripted videos required parameters */\nexport type ListSubscriptionVideosParameters = {\n additionalConstraint?: InputMaybe<Scalars['String']>;\n /** If true, no placeholder items will be shown */\n hidePlaceholder?: InputMaybe<Scalars['Boolean']>;\n /** User language */\n lang?: InputMaybe<Scalars['String']>;\n /** Num of item in a page */\n limit?: InputMaybe<Scalars['Int']>;\n /** Offset (start from 0) */\n offset?: InputMaybe<Scalars['Int']>;\n /** List order, one of 'latest', 'oldest', 'video_latest', 'video_oldest', 'last_modified' */\n order?: InputMaybe<Scalars['String']>;\n /** Visible subscriptions, list of obejctid */\n visible?: InputMaybe<Array<Scalars['String']>>;\n};\n\nexport type ListSubscriptionVideosResult = {\n __typename: 'ListSubscriptionVideosResult';\n count: Scalars['Int'];\n relatedTags?: Maybe<Array<AuthorTagObject | RegularTagObject>>;\n /** Return subscriptions used */\n subscriptions: Array<PvSubscription>;\n videos: Array<Video>;\n};\n\n/** required parameters for listing tags */\nexport type ListTagParameters = {\n /** Category */\n category?: InputMaybe<Scalars['String']>;\n limit?: InputMaybe<Scalars['Int']>;\n offset?: InputMaybe<Scalars['Int']>;\n /** Order, one of 'latest', 'oldest', 'count', 'count_inv' */\n order?: InputMaybe<Scalars['String']>;\n /** Query */\n query?: InputMaybe<Scalars['String']>;\n /** Use regex for query if exists and true, otherwise wildcard query will be used */\n queryRegex?: InputMaybe<Scalars['Boolean']>;\n};\n\nexport type ListTagsResult = {\n __typename: 'ListTagsResult';\n count: Scalars['Int'];\n pageCount: Scalars['Int'];\n tags: Array<AuthorTagObject | RegularTagObject>;\n};\n\n/** list unread notifications count result */\nexport type ListUnreadNotificationCountGqlResult = {\n __typename: 'ListUnreadNotificationCountGQLResult';\n list: Array<ListUnreadNotificationCountGqlResultItem>;\n};\n\n/** list unread notifications count result item */\nexport type ListUnreadNotificationCountGqlResultItem = {\n __typename: 'ListUnreadNotificationCountGQLResultItem';\n /** Number of unread note messages of this type */\n count: Scalars['Int'];\n /** Note message type */\n msgtype: Scalars['String'];\n};\n\n/** listVideo required parameters */\nexport type ListVideoParameters = {\n additionalConstraint?: InputMaybe<Scalars['String']>;\n /** If true, no placeholder items will be shown */\n hidePlaceholder?: InputMaybe<Scalars['Boolean']>;\n /** Add tags_readable field to every result item */\n humanReadableTag?: InputMaybe<Scalars['Boolean']>;\n /** User language */\n lang?: InputMaybe<Scalars['String']>;\n /** Num of item in a page */\n limit?: InputMaybe<Scalars['Int']>;\n /** Offset (start from 0) */\n offset?: InputMaybe<Scalars['Int']>;\n /** List order, one of 'latest', 'oldest', 'video_latest', 'video_oldest', 'last_modified' */\n order?: InputMaybe<Scalars['String']>;\n /** Query type, one of tag, text */\n qtype?: InputMaybe<Scalars['String']>;\n /** Query */\n query?: InputMaybe<Scalars['String']>;\n};\n\nexport type ListVideoResult = {\n __typename: 'ListVideoResult';\n count: Scalars['Int'];\n pageCount: Scalars['Int'];\n popularTags?: Maybe<Array<TagWithPopularity>>;\n relatedTags?: Maybe<Array<AuthorTagObject | RegularTagObject>>;\n /** Time used to complete this query in ms */\n timeUsedMs: Scalars['Int'];\n videos: Array<Video>;\n};\n\n/** mark notifications read parameters */\nexport type MarkNotificationsReadParameters = {\n /** Whether to mark all as read or not */\n markAll?: InputMaybe<Scalars['Boolean']>;\n /** List of note IDs to mark as read, if present then `mark_all` shall not be set */\n noteIds?: InputMaybe<Array<Scalars['String']>>;\n /** Specify a type of note to mark all as read, only applicable when `mark_all` is set */\n noteType?: InputMaybe<Scalars['String']>;\n};\n\nexport type Meta = {\n __typename: 'Meta';\n createdAt: Scalars['UtcDateTime'];\n createdBy?: Maybe<User>;\n modifiedAt?: Maybe<Scalars['UtcDateTime']>;\n modifiedBy?: Maybe<User>;\n};\n\n/** MultilingualMapping */\nexport type MultilingualMapping = {\n __typename: 'MultilingualMapping';\n lang: Scalars['String'];\n value: Scalars['String'];\n};\n\nexport type Mutation = {\n __typename: 'Mutation';\n apiVersion: Scalars['String'];\n associateWithPvUser: Scalars['Boolean'];\n batchPostVideo: BatchPostVideoResult;\n delComment: Scalars['Boolean'];\n disassociateWithPvUser: Scalars['Boolean'];\n editComment: Scalars['Boolean'];\n editVideoTagIds: Array<AuthorTagObject | RegularTagObject>;\n editVideoTags: Array<AuthorTagObject | RegularTagObject>;\n hideComment: Scalars['Boolean'];\n markAsRead: EmptyJson;\n pinComment: Scalars['Boolean'];\n postComment: PostCommentResponse;\n postReply: Scalars['Boolean'];\n postVideo: PostVideoResult;\n sendDM: EmptyJson;\n serverDate: Scalars['DateTimeUtc'];\n setVideoClearence: Scalars['Int'];\n};\n\n\nexport type Mutation_AssociateWithPvUserArgs = {\n para: PvUserAssociationParameters;\n};\n\n\nexport type Mutation_BatchPostVideoArgs = {\n para: BatchPostVideoRequestData;\n};\n\n\nexport type Mutation_DelCommentArgs = {\n cid: Scalars['String'];\n};\n\n\nexport type Mutation_DisassociateWithPvUserArgs = {\n para: PvUserAssociationParameters;\n};\n\n\nexport type Mutation_EditCommentArgs = {\n para: EditCommentParameters;\n};\n\n\nexport type Mutation_EditVideoTagIdsArgs = {\n para: EditVideoTagIdsParameters;\n};\n\n\nexport type Mutation_EditVideoTagsArgs = {\n para: EditVideoTagsParameters;\n};\n\n\nexport type Mutation_HideCommentArgs = {\n cid: Scalars['String'];\n};\n\n\nexport type Mutation_MarkAsReadArgs = {\n para: MarkNotificationsReadParameters;\n};\n\n\nexport type Mutation_PinCommentArgs = {\n cid: Scalars['String'];\n pin: Scalars['Boolean'];\n};\n\n\nexport type Mutation_PostCommentArgs = {\n para: PostCommentParameters;\n};\n\n\nexport type Mutation_PostReplyArgs = {\n para: PostReplyParameters;\n};\n\n\nexport type Mutation_PostVideoArgs = {\n para: PostVideoRequestData;\n};\n\n\nexport type Mutation_SendDmArgs = {\n para: SendDmParameters;\n};\n\n\nexport type Mutation_SetVideoClearenceArgs = {\n para: SetVideoClearenceParameters;\n};\n\nexport type NotificationObject = {\n id: Scalars['ObjectId'];\n /** If this notification has been read */\n read: Scalars['Boolean'];\n time: Scalars['UtcDateTime'];\n type: Scalars['String'];\n};\n\nexport type PvSubscription = {\n __typename: 'PVSubscription';\n id: Scalars['ObjectId'];\n meta: Meta;\n /** Name of this query */\n name?: Maybe<Scalars['String']>;\n /** Query */\n query: Scalars['String'];\n /** Query type, one of 'tag', 'text' */\n queryType: Scalars['String'];\n};\n\nexport type Playlist = {\n __typename: 'Playlist';\n clearence: Scalars['Int'];\n commentThread?: Maybe<Thread>;\n /** If current user can edit this playlist */\n editable?: Maybe<Scalars['Boolean']>;\n id: Scalars['ObjectId'];\n /** Playlist metadata */\n item: PlaylistMeta;\n /** Metadata (created_at etc.) */\n meta: Meta;\n /** If current user can edit or delete this playlist */\n owner?: Maybe<Scalars['Boolean']>;\n rating?: Maybe<Rating>;\n tagByCategory: Array<TagCategoryItem>;\n tagIds: Array<Scalars['Int']>;\n tags: Array<AuthorTagObject | RegularTagObject>;\n videos: Array<Video>;\n};\n\n\nexport type Playlist_TagByCategoryArgs = {\n lang?: InputMaybe<Scalars['String']>;\n};\n\n\nexport type Playlist_VideosArgs = {\n limit?: InputMaybe<Scalars['Int']>;\n offset?: InputMaybe<Scalars['Int']>;\n};\n\nexport type PlaylistContentForVideo = {\n __typename: 'PlaylistContentForVideo';\n /** List previous and next K videos */\n adjacentVideos: Array<VideoRank>;\n id: Scalars['ObjectId'];\n /** Playlist's metadata */\n meta: PlaylistMeta;\n /** Next video */\n next?: Maybe<Video>;\n /** Get the actual playlist */\n playlist: Playlist;\n /** Previous video */\n prev?: Maybe<Video>;\n /** Video's position in playlist */\n rank: Scalars['Int'];\n};\n\n\nexport type PlaylistContentForVideo_AdjacentVideosArgs = {\n k?: InputMaybe<Scalars['Int']>;\n};\n\n\nexport type PlaylistContentForVideo_NextArgs = {\n lang: Scalars['String'];\n};\n\n\nexport type PlaylistContentForVideo_PrevArgs = {\n lang: Scalars['String'];\n};\n\nexport type PlaylistMeta = {\n __typename: 'PlaylistMeta';\n count: Scalars['Int'];\n cover: Scalars['String'];\n desc: Scalars['String'];\n private: Scalars['Boolean'];\n privateEdit: Scalars['Boolean'];\n title: Scalars['String'];\n};\n\n/** required parameters posting a comment */\nexport type PostCommentParameters = {\n /** Type of comment */\n commentType: CommentType;\n /** Content */\n content: Scalars['String'];\n /** To filter or not */\n filter: Scalars['Boolean'];\n /** Target vid, pid or comment_id (ObjectId) */\n targetId: Scalars['String'];\n};\n\nexport type PostCommentResponse = {\n __typename: 'PostCommentResponse';\n commentId: Scalars['ObjectId'];\n thread: Thread;\n};\n\n/** required parameters for posting a reply */\nexport type PostReplyParameters = {\n /** To filter or not */\n filter: Scalars['Boolean'];\n /** Target comment_id (ObjectId) */\n replyTo: Scalars['String'];\n /** Content */\n text: Scalars['String'];\n};\n\n/** PostVideo data */\nexport type PostVideoRequestData = {\n /** Reference to another copy, in video ObjectId format */\n copy?: InputMaybe<Scalars['String']>;\n /** Playlist ID if you want to add this video to a playlist */\n pid?: InputMaybe<Scalars['String']>;\n /** Rank of video in the playlist you are inserting into, default to last position */\n rank?: InputMaybe<Scalars['Int']>;\n /** Type of repost, one of 'official', 'official_repost', 'authorized_translation', 'authorized_repost', 'translation', 'repost', 'unknown' */\n repostType?: InputMaybe<Scalars['String']>;\n /** Behaviour of tags if this video already exists, one of 'merge', 'keep_existing', default 'merge' */\n tagMergeBehaviour?: InputMaybe<Scalars['String']>;\n /** Video tags */\n tags: Array<Scalars['String']>;\n /** Video URL */\n url: Scalars['String'];\n};\n\nexport type PostVideoResult = {\n __typename: 'PostVideoResult';\n taskId: Scalars['String'];\n};\n\n/** getTagsBatch required parameters */\nexport type PvUserAssociationParameters = {\n /** Tag ID */\n tagid: Scalars['Int'];\n /** PatchyVideo User ID */\n uid: Scalars['String'];\n};\n\nexport type Query = {\n __typename: 'Query';\n apiVersion: Scalars['String'];\n getAuthor: Author;\n getLeaderboard: LeaderboardResult;\n getPlaylist: Playlist;\n getPopularTags: GetPopularTagsResult;\n getRating?: Maybe<Rating>;\n getRawTagHistory: RawTagHistoryResult;\n getRelatedVideo: Array<Video>;\n getStats: Stats;\n getTagObjects: Array<AuthorTagObject | RegularTagObject>;\n getThread: Thread;\n getUser: User;\n getVideo: Video;\n listAdjacentVideos: Array<VideoRank>;\n listNotifications: ListNotificationGqlResult;\n listPlaylist: ListPlaylistResult;\n listSubscriptionVideos: ListSubscriptionVideosResult;\n listSubscriptionVideosRandomized: ListSubscriptionVideosResult;\n listSubscriptions: Array<PvSubscription>;\n listTagObjects: ListTagsResult;\n listUnreadNotificationsCount: ListUnreadNotificationCountGqlResult;\n listVideo: ListVideoResult;\n whoami: Scalars['String'];\n};\n\n\nexport type Query_GetAuthorArgs = {\n para: GetAuthorParameters;\n};\n\n\nexport type Query_GetLeaderboardArgs = {\n hrs: Scalars['Int'];\n k: Scalars['Int'];\n};\n\n\nexport type Query_GetPlaylistArgs = {\n para: GetPlaylistParameters;\n};\n\n\nexport type Query_GetPopularTagsArgs = {\n para: GetPopularTagsParameters;\n};\n\n\nexport type Query_GetRatingArgs = {\n para: GetRatingParameters;\n};\n\n\nexport type Query_GetRawTagHistoryArgs = {\n limit: Scalars['Int'];\n offset: Scalars['Int'];\n};\n\n\nexport type Query_GetRelatedVideoArgs = {\n para: GetRelatedVideoParameters;\n};\n\n\nexport type Query_GetTagObjectsArgs = {\n para: GetTagObjectsBatchParameters;\n};\n\n\nexport type Query_GetThreadArgs = {\n para: GetThreadParameters;\n};\n\n\nexport type Query_GetUserArgs = {\n para: GetUserParameters;\n};\n\n\nexport type Query_GetVideoArgs = {\n para: GetVideoParameters;\n};\n\n\nexport type Query_ListAdjacentVideosArgs = {\n para: ListAdjacentVideosParameters;\n};\n\n\nexport type Query_ListNotificationsArgs = {\n para: ListNotificationParameters;\n};\n\n\nexport type Query_ListPlaylistArgs = {\n para: ListPlaylistParameters;\n};\n\n\nexport type Query_ListSubscriptionVideosArgs = {\n para: ListSubscriptionVideosParameters;\n};\n\n\nexport type Query_ListSubscriptionVideosRandomizedArgs = {\n para: ListSubscriptionVideosParameters;\n};\n\n\nexport type Query_ListTagObjectsArgs = {\n para: ListTagParameters;\n};\n\n\nexport type Query_ListVideoArgs = {\n para: ListVideoParameters;\n};\n\nexport type Rating = {\n __typename: 'Rating';\n totalRating: Scalars['Int'];\n totalUser: Scalars['Int'];\n userRating?: Maybe<Scalars['Int']>;\n};\n\nexport type RawTagHistoryItem = {\n __typename: 'RawTagHistoryItem';\n addedTags: Array<AuthorTagObject | RegularTagObject>;\n removedTags: Array<AuthorTagObject | RegularTagObject>;\n time: Scalars['UtcDateTime'];\n user: User;\n video: Video;\n};\n\nexport type RawTagHistoryResult = {\n __typename: 'RawTagHistoryResult';\n items: Array<RawTagHistoryItem>;\n};\n\n/** RegularTagObject */\nexport type RegularTagObject = TagObject & {\n __typename: 'RegularTagObject';\n alias: Array<Scalars['String']>;\n category: TagCategoryEnum;\n count: Scalars['Int'];\n id: Scalars['ObjectId'];\n isAuthor: Scalars['Boolean'];\n languages: Array<MultilingualMapping>;\n meta: Meta;\n tagid: Scalars['Int'];\n};\n\n/** NotificationObject for reply */\nexport type ReplyNotificationObject = NotificationObject & {\n __typename: 'ReplyNotificationObject';\n /** Comment ID */\n cid: Scalars['ObjectId'];\n content: Scalars['String'];\n id: Scalars['ObjectId'];\n read: Scalars['Boolean'];\n repliedBy: User;\n /** Link to thread */\n repliedObj: Scalars['ObjectId'];\n /** One of 'forum', 'video', 'playlist' */\n repliedType: Scalars['String'];\n time: Scalars['UtcDateTime'];\n type: Scalars['String'];\n};\n\n/** send DM parameters */\nexport type SendDmParameters = {\n /** Content */\n content: Scalars['String'];\n /** Target user's uid */\n dstUser: Scalars['String'];\n};\n\n/** SetVideoClearence required parameters */\nexport type SetVideoClearenceParameters = {\n /** Clearence, one of 0, 1, 2, 3, default is 0 */\n clearence?: InputMaybe<Scalars['Int']>;\n /** Video ID */\n vid: Scalars['String'];\n};\n\nexport type Stats = {\n __typename: 'Stats';\n topTags?: Maybe<Array<TagWithPopularity>>;\n /** Num of users */\n users: Scalars['Int'];\n};\n\nexport type Subscription = {\n __typename: 'Subscription';\n apiVersion: Scalars['String'];\n serverDate: Scalars['DateTimeUtc'];\n};\n\n/** system NotificationObject */\nexport type SystemNotificationObject = NotificationObject & {\n __typename: 'SystemNotificationObject';\n content: Scalars['String'];\n id: Scalars['ObjectId'];\n read: Scalars['Boolean'];\n relatedLink?: Maybe<Scalars['String']>;\n time: Scalars['UtcDateTime'];\n title: Scalars['String'];\n type: Scalars['String'];\n};\n\nexport enum TagCategoryEnum {\n Author = 'AUTHOR',\n Character = 'CHARACTER',\n Copyright = 'COPYRIGHT',\n General = 'GENERAL',\n Language = 'LANGUAGE',\n Meta = 'META',\n Soundtrack = 'SOUNDTRACK'\n}\n\n/** TagCategoryItem */\nexport type TagCategoryItem = {\n __typename: 'TagCategoryItem';\n key: TagCategoryEnum;\n value: Array<Scalars['String']>;\n};\n\nexport type TagObject = {\n alias: Array<Scalars['String']>;\n category: TagCategoryEnum;\n count: Scalars['Int'];\n id: Scalars['ObjectId'];\n isAuthor: Scalars['Boolean'];\n languages: Array<MultilingualMapping>;\n meta: Meta;\n tagid: Scalars['Int'];\n};\n\n/** Tag with popularity */\nexport type TagWithPopularity = {\n __typename: 'TagWithPopularity';\n popluarity: Scalars['Int'];\n tag: AuthorTagObject | RegularTagObject;\n};\n\nexport type Thread = {\n __typename: 'Thread';\n comments?: Maybe<Array<Comment>>;\n /** Number of comment in this thread, includes deleted ones but not replies */\n count: Scalars['Int'];\n id: Scalars['ObjectId'];\n /** Owner of this thread, for video/playlist the owner is the whoever created the video/playlist */\n owner: User;\n /** One of 'video', 'playlist', 'user', 'forum' */\n threadType: Scalars['String'];\n};\n\nexport type User = {\n __typename: 'User';\n bindQq?: Maybe<Scalars['Boolean']>;\n desc: Scalars['String'];\n email?: Maybe<Scalars['String']>;\n gravatar?: Maybe<Scalars['String']>;\n id: Scalars['ObjectId'];\n image: Scalars['String'];\n linkedTagidObject?: Maybe<AuthorTagObject | RegularTagObject>;\n meta: Meta;\n username: Scalars['String'];\n};\n\nexport type Video = {\n __typename: 'Video';\n clearence: Scalars['Int'];\n commentThread?: Maybe<Thread>;\n copies: Array<Video>;\n id: Scalars['ObjectId'];\n item: VideoItem;\n meta: Meta;\n playlists: Array<PlaylistContentForVideo>;\n rating?: Maybe<Rating>;\n relatedVideos: Array<Video>;\n tagByCategory: Array<TagCategoryItem>;\n tagCount: Scalars['Int'];\n tagIds: Array<Scalars['Int']>;\n tags: Array<AuthorTagObject | RegularTagObject>;\n tagsReadable?: Maybe<Array<Scalars['String']>>;\n};\n\n\nexport type Video_CopiesArgs = {\n lang: Scalars['String'];\n};\n\n\nexport type Video_PlaylistsArgs = {\n lang: Scalars['String'];\n};\n\n\nexport type Video_RelatedVideosArgs = {\n sortTitle?: InputMaybe<Scalars['Boolean']>;\n topK?: InputMaybe<Scalars['Int']>;\n};\n\n\nexport type Video_TagByCategoryArgs = {\n lang: Scalars['String'];\n};\n\nexport type VideoItem = {\n __typename: 'VideoItem';\n cid?: Maybe<Scalars['String']>;\n coverImage: Scalars['String'];\n desc: Scalars['String'];\n partName?: Maybe<Scalars['String']>;\n placeholder?: Maybe<Scalars['Boolean']>;\n rating: Scalars['Float'];\n repostType: Scalars['String'];\n site: Scalars['String'];\n thumbnailUrl: Scalars['String'];\n title: Scalars['String'];\n uniqueId: Scalars['String'];\n uploadTime: Scalars['UtcDateTime'];\n url: Scalars['String'];\n userSpaceUrls?: Maybe<Array<Scalars['String']>>;\n utags: Array<Scalars['String']>;\n views: Scalars['Int'];\n};\n\n/** VideoRank */\nexport type VideoRank = {\n __typename: 'VideoRank';\n rank: Scalars['Int'];\n video: Video;\n};\n","import MarkdownIt from 'markdown-it'\n\nimport { facePlugin } from './parserCommon'\n\nconst markdownIt = new MarkdownIt({\n html: false,\n breaks: true,\n linkify: true,\n}).use(facePlugin)\n\nmarkdownIt.block.ruler.enableOnly(['paragraph'])\n\nexport function render(src: string): string {\n let res\n try {\n res = markdownIt.render(src.replace(/\\[\\[表情:(\\p{L}+)\\]\\]/gu, '[[face' /* escape unocss */ + ':$1]]'), {\n last: [],\n })\n }\n catch (e) {\n console.error(e)\n res = `<div class=\"font-mono\">Error throwed from Markdown parser: ${e}<br />${\n e instanceof Error && e.stack ? e.stack.replaceAll('\\n', '<br />') : String(e)\n }</div>`\n }\n return res\n}\n","<!-- eslint-disable vue/no-v-html -->\n<template>\n <div class=\"overflow-hidden\">\n <div class=\"-my-24\">\n <article\n ref=\"root\"\n class=\"prose dark:prose-invert break-all my-24\"\n :class=\"{ 'text-sm': size === 'sm', 'text-lg': size === 'lg', 'text-xl': size === 'xl' }\"\n v-html=\"html\"\n />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { nextTick, ref, shallowRef, watch } from 'vue'\nimport { useIntersectionObserver } from '@vueuse/core'\nimport { render } from '../libs/parserComment'\n\nconst props = withDefaults(\n defineProps<{\n text: string\n size?: string\n }>(),\n {\n size: '',\n },\n)\nconst emit = defineEmits<{\n (event: 'htmlChanged'): void\n}>()\n\nconst html = ref('')\nconst waitingForRender = ref(true)\nwatch(props, (p, op) => {\n if (p.text !== op.text)\n waitingForRender.value = true\n})\nconst root = shallowRef<HTMLElement | null>(null)\nuseIntersectionObserver(\n root,\n ([{ isIntersecting }]) => {\n if (isIntersecting && waitingForRender.value) {\n html.value = render(props.text)\n nextTick(() => emit('htmlChanged'))\n waitingForRender.value = false\n }\n },\n { rootMargin: '400px 400px 400px 400px' },\n)\n</script>\n\n<style lang=\"postcss\" scoped>\n@import 'highlight.js/styles/github.css';\n.prose {\n max-width: inherit;\n}\n</style>\n","<template>\n <div class=\"w-full max-w-75ch rounded border border-gray-300 dark:border-gray-600 overflow-hidden\">\n <div\n class=\"flex flex-row flex-nowrap justify-between items-center px-1 py-0.5 w-full text-sm border-b border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800\"\n >\n <div class=\"flex flex-row flex-nowrap items-center text-gray-800 dark:text-gray-300\">\n 富文本编辑正在制作中\n </div>\n <div class=\"flex flex-row flex-nowrap items-center\">\n <button @click=\"togglePreview\" v-text=\"enablePreview ? '编辑' : '预览'\" />\n </div>\n </div>\n <div v-show=\"!enablePreview\" class=\"w-full p-0.5 -my-24\">\n <div\n ref=\"inputEl\"\n class=\"prose dark:prose-invert break-all min-h-24 my-24 focus-visible:outline-none\"\n contenteditable=\"true\"\n @input=\"onInput\"\n />\n </div>\n <MarkdownCommentBlock v-if=\"enablePreview && inputEl\" class=\"p-0.5\" :text=\"inputContent\" />\n <div\n class=\"px-1 py-0.5 w-full text-xs text-gray-700 dark:text-gray-300 border-t border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800\"\n >\n 请遵守<a\n class=\"text-blue-600 dark:text-blue-500\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n href=\"https://patchyvideo.wiki/zh/Comments\"\n >评论规则</a>!评论区支持部分 Markdown 语法,点击右上角的预览按钮预览渲染效果。\n </div>\n </div>\n <form class=\"flex flex-row items-center gap-2 mt-1\" @submit.prevent=\"onSubmit\" @reset.prevent=\"onReset\">\n <button\n type=\"submit\"\n class=\"px-4 py-1 rounded-md text-purple-800 dark:text-white border-2 border-purple-300 dark:border-indigo-700\"\n >\n 发表\n </button>\n <button type=\"reset\" class=\"px-4 py-1 rounded-md border-2 border-gray-300 dark:border-gray-600\">\n 清空\n </button>\n <div v-if=\"postingComment\">\n <i class=\"i-uil:spinner-alt animate-spin\" />正在发表评论……\n </div>\n <div v-if=\"postingCommentError\">\n 评论发表失败:{{ postingCommentError }}\n </div>\n </form>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport MarkdownCommentBlock from '@/markdown/components/MarkdownCommentBlock.vue'\nimport type { Mutation } from '@/graphql'\nimport { gql, useMutation } from '@/graphql'\nimport { CommentType } from '@/graphql/__generated__/graphql'\nimport { useAuth } from '@/user'\n\nconst props = defineProps<{\n videoId?: string\n playlistId?: string\n}>()\nconst emit = defineEmits<{\n (event: 'refetchThread', tid: string): void\n}>()\n\nconst auth = useAuth()\n\n// submit mutation\nconst commentParentType = computed(() =>\n props.videoId ? CommentType.Video : props.playlistId ? CommentType.Playlist : null,\n)\nconst commentParentId = computed(() => props.videoId ?? props.playlistId ?? null)\nconst { mutate: mutatePostComment } = useMutation<Mutation>(gql`\n mutation ($type: CommentType!, $id: String!, $content: String!) {\n postComment(para: { commentType: $type, targetId: $id, content: $content, filter: false }) {\n commentId\n thread {\n id\n }\n }\n }\n`)\n\n// comment input\nconst inputEl = ref<HTMLDivElement | null>(null)\nconst inputContent = ref('')\nconst onInput = () => {\n if (!inputEl.value)\n return\n // TODO read html\n // inputContent.value = inputEl.value.innerHTML\n inputContent.value = inputEl.value.innerText\n}\nconst onReset = () => {\n if (!inputEl.value)\n return\n inputEl.value.innerHTML = ''\n inputContent.value = ''\n}\nconst postingComment = ref(false)\nconst postingCommentError = ref('')\nconst onSubmit = async () => {\n // reject if not login\n if (!auth.isLogin)\n return\n // reject if no content provided\n if (!inputContent.value)\n return\n // reject if the comment thread parent id isn't provided\n if (!commentParentId.value)\n return\n\n postingComment.value = true\n const res = await mutatePostComment({\n type: commentParentType.value!,\n id: commentParentId.value,\n content: inputContent.value,\n }).catch((e) => {\n postingComment.value = false\n postingCommentError.value = String(e)\n })\n postingComment.value = false\n\n // failed\n if (!res?.data?.postComment.commentId)\n return\n\n // success\n onReset()\n emit('refetchThread', res.data.postComment.thread.id.toHexString())\n}\n\n// preview\nconst enablePreview = ref(false)\nconst togglePreview = () => {\n if (!inputEl.value)\n return\n enablePreview.value = !enablePreview.value\n}\n</script>\n","<template>\n <!-- Video Comments -->\n <div class=\"mx-1 md:mx-2 lg:mx-4\">\n <template v-if=\"loadingThread && !threadDisabled\">\n 正在加载评论区<i class=\"i-uil:spinner-alt text-lg animate-spin\" />\n </template>\n <template v-else>\n 共 {{ commentThread?.count || 0 }} 条评论\n </template>\n </div>\n <div v-if=\"auth.isLogin && screenSizes.md\" class=\"flex flex-row flex-nowrap py-2\">\n <div class=\"flex-none mx-2\">\n <UserAvatar\n class=\"inline-block w-8 md:w-12 h-8 md:h-12 rounded-full object-cover\"\n :image=\"auth.image\"\n :email=\"auth.email\"\n :alt=\"auth.username\"\n hide-title\n />\n </div>\n <div class=\"flex-1\">\n <div>\n <span class=\"text-sm font-medium\" v-text=\"auth.username\" /><span class=\"text-xs text-gray-500 dark:text-gray-400\"><span class=\"ml-1.5\">发表一条友善的评论</span></span>\n </div>\n <CommentPost :video-id=\"videoId\" :playlist-id=\"playlistId\" @refetch-thread=\"onRefetchThread\" />\n </div>\n </div>\n <div v-for=\"comment in comments\" :key=\"comment.id.toHexString()\" class=\"py-2\">\n <div class=\"flex flex-row flex-nowrap\">\n <div class=\"flex-none mx-2\">\n <RouterLink :to=\"`/user/${comment.meta.createdBy.id.toHexString()}`\">\n <UserAvatarPopper :uid=\"comment.meta.createdBy.id.toHexString()\">\n <UserAvatar\n class=\"inline-block w-8 md:w-12 h-8 md:h-12 rounded-full object-cover\"\n :image=\"comment.meta.createdBy.image\"\n :gravatar=\"comment.meta.createdBy.gravatar\"\n :alt=\"comment.meta.createdBy.username\"\n hide-title\n />\n </UserAvatarPopper>\n </RouterLink>\n <div\n v-if=\"comment.children?.length ?? 0 > 0\"\n class=\"w-px h-[calc(100%-2rem)] mt-1 mx-auto bg-gray-300 dark:bg-gray-700\"\n />\n </div>\n <div>\n <div>\n <RouterLink :to=\"`/user/${comment.meta.createdBy.id.toHexString()}`\">\n <span class=\"text-sm font-medium\" v-text=\"comment.meta.createdBy.username\" />\n </RouterLink>\n <span class=\"text-xs text-gray-500 dark:text-gray-300\">\n <Suspense><RelativeDate class=\"ml-1.5\" :date=\"comment.meta.createdAt\" /></Suspense>\n <span v-if=\"comment.edited\" class=\"ml-1.5\">edited</span>\n </span>\n </div>\n <div\n v-if=\"commentHiddenOverrides[comment.id.toHexString()] ?? comment.hidden\"\n class=\"min-h-6 text-gray-600 dark:text-gray-400\"\n >\n 此评论已被折叠\n <span\n class=\"text-blue-500 dark:text-blue-600 cursor-pointer\"\n @click=\"() => commentHiddenOverrides[comment.id.toHexString()] = false\"\n >显示评论</span>\n </div>\n <MarkdownCommentBlock v-else class=\"min-h-6\" :text=\"comment.content\" size=\"md\" />\n </div>\n </div>\n <div\n v-for=\"(child, cindex) in comment.children\n ? sliceCommentChildren(comment.id.toHexString(), comment.children)\n : undefined\"\n :key=\"child.id.toHexString()\"\n class=\"flex flex-row flex-nowrap\"\n >\n <div class=\"flex-none w-10 md:w-14\">\n <div class=\"flex flex-row w-full h-full ml-6 md:ml-8\">\n <div\n v-if=\"comment.children!.length > 3 || cindex !== comment.children!.length! - 1\"\n class=\"w-px h-full bg-gray-300 dark:bg-gray-700\"\n />\n <div\n v-else\n class=\"w-px bg-gray-300 dark:bg-gray-700\"\n :class=\"isCommentChildrenCollapsed(comment) ? 'h-3' : 'h-5'\"\n />\n <div\n class=\"w-3 md:w-5 h-px bg-gray-300 dark:bg-gray-700\"\n :class=\"isCommentChildrenCollapsed(comment) ? 'mt-3' : 'mt-5'\"\n />\n </div>\n </div>\n <div v-if=\"!isCommentChildrenCollapsed(comment)\" class=\"flex-none mt-1 mr-2\">\n <RouterLink :to=\"`/user/${child.meta.createdBy.id.toHexString()}`\">\n <UserAvatarPopper :uid=\"child.meta.createdBy.id.toHexString()\">\n <UserAvatar\n class=\"inline-block w-8 h-8 rounded-full object-cover\"\n :image=\"child.meta.createdBy.image\"\n :gravatar=\"child.meta.createdBy.gravatar\"\n :alt=\"child.meta.createdBy.username\"\n hide-title\n />\n </UserAvatarPopper>\n </RouterLink>\n </div>\n <div class=\"flex\" :class=\"{ 'flex-col': !isCommentChildrenCollapsed(comment) }\">\n <div v-if=\"isCommentChildrenCollapsed(comment)\" class=\"mr-1\">\n <RouterLink :to=\"`/user/${child.meta.createdBy.id.toHexString()}`\">\n <span class=\"text-sm font-medium\" v-text=\"child.meta.createdBy.username\" />\n </RouterLink>:\n </div>\n <div v-else>\n <RouterLink :to=\"`/user/${child.meta.createdBy.id.toHexString()}`\">\n <span class=\"text-sm font-medium\" v-text=\"child.meta.createdBy.username\" />\n </RouterLink><Suspense>\n <RelativeDate class=\"text-xs text-gray-500 dark:text-gray-300 ml-2\" :date=\"child.meta.createdAt\" />\n </Suspense>\n </div>\n <div\n v-if=\"commentHiddenOverrides[comment.id.toHexString()] ?? comment.hidden\"\n class=\"min-h-8 text-sm text-gray-600 dark:text-gray-400\"\n >\n 此评论已被折叠\n <span\n class=\"text-blue-500 dark:text-blue-600 cursor-pointer\"\n @click=\"() => commentHiddenOverrides[comment.id.toHexString()] = false\"\n >显示评论</span>\n </div>\n <MarkdownCommentBlock v-else class=\"min-h-6\" :text=\"child.content\" size=\"sm\" />\n </div>\n </div>\n <div\n v-if=\"comment.children && comment.children.length > 3\"\n class=\"flex flex-row flex-nowrap cursor-pointer\"\n @click=\"\n () => {\n commentChildrenExpaneded[comment.id.toHexString()] = !commentChildrenExpaneded[comment.id.toHexString()]\n }\n \"\n >\n <div class=\"flex-none w-10 md:w-14\">\n <div class=\"flex flex-row w-full h-full ml-6 md:ml-8\">\n <div class=\"w-px h-3 bg-gray-300 dark:bg-gray-700\" />\n <div class=\"mt-3 w-3 md:w-5 h-px bg-gray-300 dark:bg-gray-700\" />\n </div>\n </div>\n <div\n v-if=\"commentChildrenExpaneded[comment.id.toHexString()]\"\n class=\"flex flex-row text-sm items-center text-blue-600 dark:text-blue-300\"\n >\n <div class=\"i-uil:arrow-to-bottom text-base transform rotate-180\" />\n 收起楼中楼\n </div>\n <div v-else class=\"flex flex-row text-sm items-center text-blue-600 dark:text-blue-300\">\n <div class=\"i-uil:arrow-from-top text-base\" />\n 展开楼中楼\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, reactive, ref, watch } from 'vue'\nimport CommentPost from './CommentPost.vue'\nimport MarkdownCommentBlock from '@/markdown/components/MarkdownCommentBlock.vue'\nimport RelativeDate from '@/date-fns/components/RelativeDate.vue'\nimport UserAvatar from '@/user/components/UserAvatar.vue'\nimport UserAvatarPopper from '@/user/components/UserAvatarPopper.vue'\nimport type { Query, schema } from '@/graphql'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport { screenSizes } from '@/css'\nimport { useAuth } from '@/user'\n\nconst props = defineProps<{\n commentThreadId: string\n videoId?: string\n playlistId?: string\n}>()\n\nconst auth = useAuth()\n\nconst threadDisabled = computed(() => !props.commentThreadId)\nconst threadIdOverride = ref<string | null>(null)\nconst tid = computed(() => threadIdOverride.value ?? props.commentThreadId)\n\nconst {\n result,\n loading: loadingThread,\n refetch: refetchThread,\n start,\n stop,\n} = useQuery<Query>(\n gql`\n query ($tid: String!) {\n getThread(para: { threadId: $tid }) {\n count\n comments {\n id\n content\n hidden\n deleted\n edited\n meta {\n createdAt\n createdBy {\n id\n username\n image\n gravatar\n desc\n }\n }\n children {\n id\n content\n hidden\n deleted\n edited\n meta {\n createdAt\n createdBy {\n id\n username\n image\n gravatar\n desc\n }\n }\n }\n }\n }\n }\n `,\n {\n tid,\n },\n {\n enabled: !threadDisabled.value,\n },\n)\nwatch(threadDisabled, (n) => {\n if (n)\n stop()\n else start()\n})\nconst commentThread = useResult(result, null, data => data?.getThread)\n\n// comments\ntype Comment = Omit<schema.Comment, 'content' | 'meta' | 'deleted' | 'children'> & {\n content: NonNullable<schema.Comment['content']>\n meta: schema.Meta & { createdBy: NonNullable<schema.Meta['createdBy']> }\n deleted: false\n children?: Comment[]\n}\nconst comments = computed(\n () =>\n (commentThread.value?.comments\n // comment needs to have content & not be deleted\n ?.filter(v => v.content && v.meta.createdBy && !v.deleted)\n // filter children\n .map(comment => ({\n ...comment,\n children: comment.children\n // comment needs to have content & not be deleted\n ?.filter(v => v.content && v.meta.createdBy && !v.deleted)\n // sort by createdAt, latest first\n .sort((a, b) => +b.meta.createdAt - +a.meta.createdAt),\n }))\n // filter out empty comments\n .filter(v => !!v)\n // sort by createdAt, latest first\n .sort(\n (a, b) => +b.meta.createdAt + (b.pinned ? 1 << 32 : 0) - (+a.meta.createdAt + (a.pinned ? 1 << 32 : 0)),\n ) as Comment[]) ?? [],\n)\nconst commentChildrenExpaneded = reactive<Record<string, boolean>>({})\nconst sliceCommentChildren = (id: string, children: Comment[]) =>\n commentChildrenExpaneded[id] ? children : children.slice(0, 3)\nconst isCommentChildrenCollapsed = (comment: Comment) =>\n comment.children && comment.children.length > 3 && !commentChildrenExpaneded[comment.id.toHexString()]\nconst commentHiddenOverrides = reactive<Record<string, boolean>>({})\n\nconst onRefetchThread = (newThreadId: string) => {\n if (newThreadId !== tid.value) {\n // changing the variable will trigger a refetch, so no need to do a refetchThread here\n threadIdOverride.value = newThreadId\n }\n else {\n refetchThread()\n }\n}\n</script>\n","<template>\n <div\n class=\"inline-flex px-2.5 text-base flex-row items-center gap-1 whitespace-nowrap rounded-full border-1 border-gray-400 dark:border-gray-600\"\n >\n <span class=\"inline-block w-2 h-2 rounded-full\" :class=\"catogoryMap[tagComp.category]\" />\n <span v-text=\"tagComp.name\" />\n <button\n v-if=\"removeable\"\n class=\"inline i-uil:times text-gray-600 dark:text-gray-400 hover:text-black\"\n title=\"删除标签\"\n @click=\"() => emit('remove')\"\n />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport type { schema } from '@/graphql'\nimport { behMostMatch } from '@/locales'\n\nconst props = defineProps<{\n tag: Pick<schema.TagObject, 'category' | 'languages'>\n removeable?: boolean\n}>()\nconst emit = defineEmits<{\n (event: 'remove'): void\n}>()\n\nconst tagComp = computed(() => {\n return {\n category: props.tag.category.toLowerCase(),\n name: behMostMatch(props.tag.languages).replace(/_/g, ' '),\n }\n})\nconst catogoryMap = {\n copyright: 'bg-copyright',\n language: 'bg-language',\n character: 'bg-character',\n author: 'bg-author',\n general: 'bg-general',\n meta: 'bg-meta',\n soundtrack: 'bg-soundtrack',\n}\n</script>\n","<template>\n <div class=\"flex flex-col gap-2\">\n <!-- Current -->\n <div>\n <div class=\"flex justify-between\">\n <div class=\"ml-1 font-light\">\n 现有标签\n </div>\n <div class=\"flex flex-row gap-1 items-center\">\n <div v-if=\"submitting\" class=\"text-gray-800 dark:text-gray-200\">\n 正在提交<div class=\"inline-block i-uil:spinner-alt animate-spin\" />\n </div>\n <button v-else-if=\"isEdited\" class=\"text-blue-500\" @click=\"submit\">\n 提交修改\n </button>\n <!-- Undo / Redo -->\n <button\n class=\"inline i-uil:redo text-lg -scale-x-full\"\n :class=\"{ 'text-gray-400 dark:text-gray-600': !editStack.length }\"\n @click=\"undo\"\n />\n <button\n class=\"inline i-uil:redo text-lg\"\n :class=\"{ 'text-gray-400 dark:text-gray-600': !redoStack.length }\"\n @click=\"redo\"\n />\n </div>\n </div>\n <div class=\"flex gap-1 flex-row flex-wrap\">\n <RoundTag\n v-for=\"tag in editTags\"\n :key=\"tag.id.toHexString()\"\n :tag=\"tag\"\n removeable\n @remove=\"() => onTagRemove(tag.tagid)\"\n />\n <RoundTag\n v-for=\"tagid in pendingTags\"\n :key=\"tagid\"\n :tag=\"{\n category: TagCategoryEnum.General,\n languages: [\n {\n __typename: 'MultilingualMapping',\n lang: 'ENG',\n value: `id<${tagid.toString()}>`,\n },\n ],\n }\"\n />\n </div>\n </div>\n <!-- Adding -->\n <div>\n <div class=\"ml-1 font-light\">\n 加入标签\n </div>\n <AutoComplete\n v-model:keyword=\"editTagSearchKeyword\"\n :teleport-result=\"editTagSearchResult\"\n @suggestion-click=\"onSuggestionClick\"\n />\n <div ref=\"editTagSearchResult\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, reactive, ref, shallowRef, watchEffect } from 'vue'\nimport type { AutoCompleteResult } from '@/search/components/AutoComplete.vue'\nimport AutoComplete from '@/search/components/AutoComplete.vue'\nimport RoundTag from '@/tag/components/RoundTag.vue'\nimport type { Query, schema } from '@/graphql'\nimport { TagCategoryEnum, gql, useApolloClient, useMutation } from '@/graphql'\n\nconst props = defineProps<{\n vid: string\n tags: schema.Video['tags']\n}>()\nconst emit = defineEmits<{\n (event: 'refetch'): void\n}>()\n\nconst { resolveClient } = useApolloClient()\n\nconst editTags = ref<schema.Video['tags']>([])\nconst pendingTags = ref<number[]>([])\nwatchEffect(() => {\n editTags.value = [...props.tags]\n})\nconst isEdited = computed(() => {\n if (editTags.value.length !== props.tags.length)\n return true\n const originalIds = props.tags.map(tag => tag.tagid).sort((a, b) => a - b)\n const editedIds = editTags.value.map(tag => tag.tagid).sort((a, b) => a - b)\n return originalIds.some((id, i) => id !== editedIds[i])\n})\nconst addTag = async (tagid: number): Promise<boolean> => {\n if (editTags.value.find(tag => tag.tagid === tagid) || pendingTags.value.includes(tagid))\n return false\n pendingTags.value.push(tagid)\n const client = resolveClient()\n const res = await client\n .query<Query>({\n query: gql`\n query ($tid: Int!) {\n getTagObjects(para: { tagid: [$tid] }) {\n __typename\n id\n tagid\n category\n languages {\n lang\n value\n }\n }\n }\n `,\n variables: {\n tid: tagid,\n },\n })\n .catch(() => null)\n pendingTags.value.splice(pendingTags.value.indexOf(tagid), 1)\n const tag = res?.data?.getTagObjects[0]\n if (!tag)\n return false\n editTags.value.push(tag)\n return true\n}\nconst removeTag = (tagid: number): boolean => {\n const index = editTags.value.findIndex(tag => tag.tagid === tagid)\n if (index === -1)\n return false\n editTags.value.splice(index, 1)\n return true\n}\n\ninterface EditItemAdd {\n type: 'add'\n tagid: number\n}\ninterface EditItemRemove {\n type: 'remove'\n tagid: number\n}\ntype EditItem = EditItemAdd | EditItemRemove\n\nconst editStack = reactive<EditItem[]>([])\nconst redoStack = reactive<EditItem[]>([])\nconst undo = () => {\n if (editStack.length > 0) {\n const item = editStack.pop()!\n redoStack.push(item)\n if (item.type === 'add')\n removeTag(item.tagid)\n else\n addTag(item.tagid)\n }\n}\nconst redo = () => {\n if (redoStack.length > 0) {\n const item = redoStack.pop()!\n editStack.push(item)\n if (item.type === 'add')\n addTag(item.tagid)\n else\n removeTag(item.tagid)\n }\n}\nconst pushEdit = (item: EditItem) => {\n editStack.push(item)\n redoStack.length = 0\n}\n\nconst editTagSearchKeyword = ref('')\nconst editTagSearchResult = shallowRef<HTMLDivElement>()\n\nconst onTagRemove = (tagid: number) => {\n if (removeTag(tagid))\n pushEdit({ type: 'remove', tagid })\n}\nconst onSuggestionClick = async (item: AutoCompleteResult) => {\n if (typeof item.id !== 'number')\n return\n if (await addTag(item.id))\n pushEdit({ type: 'add', tagid: item.id })\n}\n\nconst { mutate } = useMutation(gql`\n mutation ($vid: String!, $tags: [Int!]!) {\n editVideoTagIds(para: { editBehaviour: \"replace\", tags: $tags, videoId: $vid }) {\n tagid\n }\n }\n`)\nconst submitting = ref(false)\nconst submissionError = ref('')\nconst submit = async () => {\n if (!isEdited.value)\n return\n submitting.value = true\n await mutate({\n vid: props.vid,\n tags: editTags.value.map(tag => tag.tagid),\n }).catch((e) => {\n submissionError.value = e.message\n })\n emit('refetch')\n submitting.value = false\n}\n</script>\n","<template>\n <LayoutDefault>\n <!-- Main Object -->\n <div v-if=\"video\" class=\"xl:mx-2\">\n <div class=\"grid grid-cols-12 space-x-2 grid-flow-row-dense\">\n <!-- Left Column -->\n <div class=\"col-span-full xl:col-span-9\">\n <!-- Video Title -->\n <div>\n <h1\n class=\"mt-1 sm:text-lg lg:text-xl font-semibold sm:font-medium lg:font-normal\"\n v-text=\"video.item.title\"\n />\n <div class=\"flex flex-row items-center gap-2 text-gray-600 dark:text-gray-300\">\n <div v-text=\"t(`video.video.repost-type.${video.item.repostType}`, video.item.repostType)\" />\n <div v-if=\"clearence !== 3\" v-text=\"t(`video.video.ranks.${clearence}`)\" />\n <Suspense><RelativeDate :date=\"video.item.uploadTime\" /></Suspense>\n <template v-if=\"auth.isAdmin\">\n <div\n :title=\"t('video.video.edit.hide-video.title')\"\n class=\"i-uil:eye-slash text-lg cursor-pointer select-none\"\n @click=\"hideVideo\"\n />\n <div v-if=\"hideVideoResult\" v-text=\"hideVideoResult\" />\n </template>\n <div\n v-if=\"auth.isLogin\"\n :title=\"t('video.video.edit.edit-video')\"\n class=\"i-uil:pen text-lg cursor-pointer select-none\"\n @click=\"popEditVideoWindow\"\n />\n </div>\n </div>\n <!-- Video Player -->\n <Suspense>\n <Player :item=\"video.item\" />\n </Suspense>\n <!-- <div class=\"ltxl:hidden w-full border-t border-purple-300 my-2\"></div> -->\n <div class=\"my-1\" />\n <div ref=\"mobilePlaylistTarget\" />\n <div ref=\"mobileAuthorTarget\" />\n <div class=\"mx-1 md:mx-2 lg:mx-4\">\n <!-- Video Tag -->\n <div class=\"flex mb-1 gap-1 items-center flex-wrap\">\n <span :title=\"auth.isLogin ? t('video.video.edit.edit-tags') : undefined\">\n <div\n class=\"i-uil:tag-alt inline-block text-2xl align-middle text-gray-600 dark:text-gray-300\"\n :class=\"{ 'cursor-pointer': auth.isLogin }\"\n @click=\"() => auth.isLogin && (editTagOpened = true)\"\n />\n </span>\n\n <template v-if=\"!renderTagAsPlainText\">\n <RoundTag v-for=\"tag in regularTags\" :key=\"tag.id.toHexString()\" :tag=\"tag\" />\n </template>\n <div v-else>\n <span v-for=\"tag in regularTags\" :key=\"tag.id.toHexString()\" class=\"mr-2 text-blue-600\">#{{ behMostMatch(tag.languages) }}</span>\n </div>\n </div>\n <!-- Video Description -->\n <MarkdownCommentBlock :text=\"video.item.desc\" size=\"sm\" />\n </div>\n <div class=\"w-full border-t border-purple-300 dark:border-indigo-800 my-2\" />\n <!-- Comments -->\n <div><CommentList :comment-thread-id=\"video.commentThread?.id.toHexString()\" :video-id=\"vid\" /></div>\n </div>\n\n <!-- Right Column -->\n <div class=\"col-span-full xl:col-span-3\">\n <!-- Edit Tag View -->\n <div v-if=\"editTagOpened\" class=\"flex flex-col mt-2 gap-1\">\n <!-- Banner -->\n <button class=\"flex items-center text-blue-500\" @click=\"() => editTagOpened = false\">\n <div class=\"i-uil:arrow-left text-xl\" />\n 返回详情\n </button>\n <EditTags :key=\"vid\" :vid=\"vid\" :tags=\"video.tags\" @refetch=\"refetch\" />\n </div>\n <!-- Recomendation View -->\n <template v-else>\n <!-- Author / Uploader -->\n <Teleport :to=\"mobileAuthorTarget\" :disabled=\"!mobileAuthorTarget || screenSizes.xl\">\n <div class=\"flex xl:flex-col justify-start px-1 xl:pt-4\">\n <div\n v-for=\"author of authors\"\n :key=\"author.id.toHexString()\"\n class=\"flex items-center flex-nowrap px-1 py-1 xl:w-full\"\n >\n <!-- Avatar -->\n <div class=\"flex-shrink-0\">\n <RouterLink v-if=\"author.type === 'User'\" :to=\"`/user/${author.id.toHexString()}`\">\n <UserAvatarPopper :uid=\"author.id.toHexString()\">\n <UserAvatar\n class=\"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover\"\n :image=\"author.avatar\"\n :gravatar=\"author.gravatar\"\n :alt=\"author.name\"\n hide-title\n />\n </UserAvatarPopper>\n </RouterLink>\n <RouterLink v-else-if=\"author.tagid\" :to=\"`/tag/author/${author.tagid}`\">\n <UserAvatar\n class=\"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover\"\n :image=\"author.avatar\"\n :gravatar=\"author.gravatar\"\n :alt=\"author.name\"\n />\n </RouterLink>\n <UserAvatar\n v-else\n class=\"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-500 object-cover\"\n :image=\"author.avatar\"\n :gravatar=\"author.gravatar\"\n :alt=\"author.name\"\n />\n </div>\n <div class=\"hidden sm:block ml-1.5 overflow-hidden\">\n <RouterLink v-if=\"author.type === 'User'\" :to=\"`/user/${author.id.toHexString()}`\">\n <span\n class=\"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden\"\n v-text=\"author.position\"\n />{{ author.name }}\n </RouterLink>\n <RouterLink v-else-if=\"author.tagid\" :to=\"`/tag/author/${author.tagid}`\">\n <span\n class=\"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden\"\n v-text=\"author.position\"\n />{{ author.name }}\n </RouterLink>\n <template v-else>\n <span\n class=\"inline-block align-text-bottom px-0.75 mr-0.5 rounded bg-purple-400 dark:bg-violet-800 text-xs lg:text-sm text-white whitespace-nowrap overflow-hidden\"\n v-text=\"author.position\"\n />{{ author.name }}\n </template>\n <br>\n <div\n class=\"overflow-hidden whitespace-nowrap overflow-ellipsis text-sm text-gray-600 dark:text-gray-300\"\n >\n {{ author.desc || t('video.video.no-desc') }}\n </div>\n </div>\n </div>\n </div>\n </Teleport>\n <Teleport :to=\"mobilePlaylistTarget\" :disabled=\"!mobilePlaylistTarget || screenSizes.xl\">\n <div\n v-if=\"playlist\"\n class=\"xl:mx-2 border-purple-300 dark:border-purple-800 border-b xl:border xl:rounded-md xl:mt-2 flex flex-col max-h-125\"\n >\n <div class=\"mx-2 my-1 flex justify-between\">\n <div>\n <RouterLink class=\"\" :to=\"`/playlist/${pid}`\">\n <div\n class=\"i-uil:list-ui-alt inline-block text-lg align-middle text-gray-800 dark:text-gray-100\"\n />\n {{ playlist.item.title }}\n </RouterLink>\n <div class=\"text-sm text-gray-900 dark:text-gray-200\">\n {{ playlist.meta.createdBy ? `${playlist.meta.createdBy.username} - ` : ''\n }}{{ `${playlistIndex} / ${playlist.item.count}` }}\n </div>\n </div>\n <div class=\"flex flex-col justify-around\">\n <div\n class=\"i-uil:angle-up text-2xl transform transition-transform duration-200 select-none cursor-pointer\"\n :class=\"{ 'rotate-180': playlistCollaped }\"\n @click=\"playlistCollaped = !playlistCollaped\"\n />\n </div>\n </div>\n <div v-show=\"!playlistCollaped\" class=\"h-full overflow-y-auto\">\n <RouterLink\n v-for=\"(plVideo, plIndex) in playlistVideos\"\n :key=\"plVideo.video.id.toHexString()\"\n class=\"flex justify-start space-x-1 py-1 hover:bg-purple-50 dark:hover:bg-gray-800\"\n :class=\"{ 'bg-purple-50 dark:bg-gray-800': plVideo.video.id.toHexString() === vid }\"\n :to=\"`/video/${plVideo.video.id}?list=${pid}`\"\n >\n <div\n class=\"flex flex-col flex-shrink-0 flex-grow-0 justify-around text-xs w-6 self-center text-center overflow-hidden\"\n >\n <template v-if=\"plIndex + 1 === playlistIndex\">\n <div class=\"i-uil:play mx-auto\" />\n </template><template v-else>\n {{ plVideo.rank + 1 }}\n </template>\n </div>\n <div class=\"flex-shrink-0 flex-grow-0 w-24\">\n <div class=\"aspect-ratio-8/5\">\n <img\n class=\"inline-block\"\n width=\"96\"\n height=\"54\"\n :src=\"getCoverImage({ image: plVideo.video.item.coverImage })\"\n >\n </div>\n </div>\n <div class=\"flex flex-col justify-between\">\n <h2 class=\"text-sm line-clamp-2\" v-text=\"plVideo.video.item.title\" />\n <div\n v-if=\"plVideo.video.meta.createdBy\"\n class=\"text-xs text-gray-900 dark:text-gray-200\"\n v-text=\"plVideo.video.meta.createdBy.username\"\n />\n </div>\n </RouterLink>\n </div>\n </div>\n </Teleport>\n <!-- Related Video -->\n <div class=\"mt-2\">\n <span class=\"ml-1 font-light\">{{ t('video.video.related-video') }}</span>\n <div class=\"flex flex-col\">\n <RouterLink\n v-for=\"rlVideo in video.relatedVideos\"\n :key=\"rlVideo.id.toHexString()\"\n :to=\"`/video/${rlVideo.id.toHexString()}`\"\n class=\"grid grid-cols-5 space-x-1.5 py-0.5 rounded-md hover:bg-purple-50 dark:hover:bg-gray-800 transition-colors duration-100\"\n >\n <div class=\"col-span-2\">\n <Cover\n :title=\"rlVideo.item.title\"\n :cover-image=\"rlVideo.item.coverImage\"\n class=\"rounded-md\"\n />\n </div>\n <div class=\"col-span-3 flex mt-0.5 flex-wrap content-start text-sm\">\n <a class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full\" v-text=\"rlVideo.item.title\" />\n <div\n class=\"text-sm inline-block w-full mt-1 truncate font-light\"\n v-text=\"rlVideo.meta.createdBy?.username\"\n />\n </div>\n </RouterLink>\n </div>\n </div>\n </template>\n </div>\n </div>\n </div>\n <!-- Placeholder -->\n <div v-else class=\"mx-2\">\n <div class=\"grid grid-cols-12 grid-flow-row-dense\">\n <div class=\"col-span-full xl:col-span-9\">\n <!-- Video Title -->\n <div>\n <h1 class=\"mt-1 sm:text-lg lg:text-xl w-4/5 rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </h1>\n <div class=\"mt-1 text-gray-600 dark:text-gray-300 w-2/5 rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n </div>\n <!-- Video Player -->\n <div class=\"w-full mt-1\">\n <div class=\"aspect-ratio-16/9\">\n <div class=\"w-full h-full bg-gray-400 dark:bg-gray-600\" />\n </div>\n </div>\n </div>\n <div class=\"col-span-full xl:col-span-3 space-x-2\">\n <!-- Author / Uploader -->\n <div class=\"flex xl:flex-col justify-start px-1 xl:pt-4\">\n <div class=\"flex items-center flex-nowrap px-1 py-1 xl:w-full\">\n <!-- Avatar -->\n <div class=\"relative flex-shrink-0\">\n <div class=\"inline-block w-10 lg:w-14 h-10 lg:h-14 rounded-full bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n </div>\n <div class=\"hidden sm:block w-full ml-3 overflow-hidden\">\n <div class=\"inline-block w-4/5 rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n <br>\n <div\n class=\"inline-block overflow-hidden whitespace-nowrap overflow-ellipsis text-sm w-2/5 mt-1 rounded-md bg-gray-400 dark:bg-gray-600\"\n >\n  \n </div>\n </div>\n </div>\n </div>\n <!-- Related Video -->\n <div class=\"flex flex-col space-y-1 mt-2\">\n <div v-for=\"i in 20\" :key=\"i\" class=\"grid grid-cols-5 space-x-1 hover:bg-purple-50 dark:hover:bg-gray-800\">\n <div class=\"col-span-2\">\n <CoverPlaceholder class=\"rounded-sm\" />\n </div>\n <div class=\"col-span-3 flex flex-wrap content-start text-sm\">\n <a class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-4/5 rounded-md bg-gray-400 dark:bg-gray-600\"> </a>\n <div class=\"text-sm mt-1 inline-block w-2/5 truncate rounded-md bg-gray-300 dark:bg-gray-600\">\n  \n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, shallowRef, watchEffect } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport { useLocalStorage } from '@vueuse/core'\nimport Player from './components/Player.vue'\nimport Cover from './components/Cover.vue'\nimport CoverPlaceholder from './components/CoverPlaceholder.vue'\nimport CommentList from './components/CommentList.vue'\nimport EditTags from './components/EditTags.vue'\nimport RoundTag from '@/tag/components/RoundTag.vue'\nimport MarkdownCommentBlock from '@/markdown/components/MarkdownCommentBlock.vue'\nimport RelativeDate from '@/date-fns/components/RelativeDate.vue'\nimport UserAvatar from '@/user/components/UserAvatar.vue'\nimport UserAvatarPopper from '@/user/components/UserAvatarPopper.vue'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { ObjectID, Query, schema } from '@/graphql'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { screenSizes } from '@/css'\nimport { getCoverImage } from '@/common/libs/imageUrl'\nimport { behMostMatch } from '@/locales'\nimport { openWindow } from '@/nested'\nimport { useAuth } from '@/user'\nimport { startProgress, stopProgress } from '@/nprogress'\n\nconst { t } = useI18n()\nconst route = useRoute()\nconst auth = useAuth()\n\n/* submit query */\nconst vid = computed(() => route.params.vid as string)\nconst pid = computed(() => Array.isArray(route.query.list) ? route.query.list[0] : route.query.list)\nconst { result, loading, refetch } = useQuery<Query>(\n gql`\n query ($vid: String!, $fetchPlaylist: Boolean!, $pid: String = \"\") {\n getVideo(para: { vid: $vid, lang: \"CHS\" }) {\n item {\n title\n desc\n uploadTime\n url\n repostType\n site\n }\n meta {\n createdBy {\n id\n username\n desc\n image\n gravatar\n }\n }\n tags {\n __typename\n id\n tagid\n category\n languages {\n lang\n value\n }\n ... on AuthorTagObject {\n authorRole\n author {\n id\n tagname\n avatar\n desc\n }\n }\n }\n commentThread {\n id\n }\n relatedVideos(topK: 20) {\n id\n item {\n title\n coverImage\n }\n meta {\n createdBy {\n username\n }\n }\n }\n clearence\n }\n listAdjacentVideos(para: { pid: $pid, vid: $vid, k: 200 }) @include(if: $fetchPlaylist) {\n video {\n id\n item {\n title\n coverImage\n }\n meta {\n createdBy {\n username\n }\n }\n }\n rank\n }\n getPlaylist(para: { pid: $pid }) @include(if: $fetchPlaylist) {\n item {\n title\n count\n }\n meta {\n createdBy {\n username\n }\n }\n }\n }\n `,\n {\n vid: vid.value,\n fetchPlaylist: !!pid.value,\n pid: pid.value,\n },\n)\n\n// sync process bar\nwatchEffect(() => {\n if (loading.value)\n startProgress()\n else\n stopProgress()\n})\n\n/* basic info */\nconst video = useResult(result, null, data => data?.getVideo)\n// change title\nwatchEffect(() => {\n if (video.value)\n setSiteTitle(`${video.value.item.title} - PatchyVideo`)\n})\n\n/* tags */\ninterface Author {\n type: 'AuthorTag' | 'User'\n position: string\n id: ObjectID\n tagid?: number\n name: string\n desc: string\n avatar: string\n gravatar?: string\n}\nconst authors = computed(() =>\n video.value\n ? ((video.value.tags.filter(v => v.__typename === 'AuthorTagObject') as schema.AuthorTagObject[])\n .map(\n tag =>\n tag.author\n && ({\n type: 'AuthorTag',\n id: tag.author.id,\n tagid: tag.tagid,\n name: tag.author.tagname,\n desc: tag.author.desc,\n avatar: tag.author.avatar,\n position: tag.authorRole,\n } as Author),\n )\n .concat([\n video.value.meta.createdBy && {\n type: 'User',\n id: video.value.meta.createdBy.id,\n name: video.value.meta.createdBy.username,\n desc: video.value.meta.createdBy.desc,\n avatar: video.value.meta.createdBy.image,\n gravatar: video.value.meta.createdBy.gravatar || undefined,\n position: t('video.video.uploader'),\n },\n ])\n .filter(v => !!v) as Author[])\n : [],\n)\nconst regularTags = computed(() =>\n video.value ? (video.value.tags.filter(v => v.__typename === 'RegularTagObject') as schema.RegularTagObject[]) : [],\n)\n\n/* mobile teleport targets */\nconst mobileAuthorTarget = shallowRef<HTMLDivElement | null>(null)\nconst mobilePlaylistTarget = shallowRef<HTMLDivElement | null>(null)\n\n/* video playlist, ?list=[PID] */\n// raw playlist\nconst playlist = useResult(result, null, data => data?.getPlaylist)\n// videos in playlist\nconst playlistVideos = useResult(result, null, data => data?.listAdjacentVideos)\n// the index that current video at\nconst playlistIndex = computed(() =>\n video.value && playlistVideos.value\n ? (playlistVideos.value.find(v => v.video.id.toHexString() === vid.value)?.rank ?? -2) + 1\n : -1,\n)\n// whither playlist is collaped\nconst playlistCollaped = ref(!screenSizes.xl)\n\n// use plain text to render tags, just made it for fun.\nconst renderTagAsPlainText = useLocalStorage('video_tag_render_as_plain_text', false)\n\n/* edit video */\nconst editVideoWindow = shallowRef<Window | null>(null)\nconst popEditVideoWindow = () => {\n // check if there is already a window opened\n if (editVideoWindow.value && !editVideoWindow.value.closed)\n editVideoWindow.value.focus()\n\n // create a new window\n const { window: win } = openWindow({\n url: `/edit-video/${vid.value}`,\n })\n editVideoWindow.value = win\n}\n\n// video clearence\nconst clearence = computed(() => video.value?.clearence ?? 3)\n\n/* hide video */\nconst hideVideoResult = ref('')\nconst hideVideo = () => {\n hideVideoResult.value = t('video.video.edit.hide-video.saving')\n fetch('https://patchyvideo.com/be/videos/condemn_video.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n vid: vid.value,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status === 'SUCCEED')\n hideVideoResult.value = t('video.video.edit.hide-video.succeed')\n else\n throw new Error(res)\n })\n .catch((e) => {\n console.error(e)\n hideVideoResult.value = t('video.video.edit.hide-video.failed', { error: e.message ?? e })\n })\n}\n\n/* edit tags */\nconst editTagOpened = ref(false)\n</script>\n"],"names":["CommentType","TagCategoryEnum","markdownIt","MarkdownIt","facePlugin","render","src","res","e","html","ref","waitingForRender","watch","props","p","op","root","shallowRef","useIntersectionObserver","isIntersecting","nextTick","emit","auth","useAuth","commentParentType","computed","commentParentId","_b","_a","mutatePostComment","useMutation","gql","inputEl","inputContent","onInput","onReset","postingComment","postingCommentError","onSubmit","enablePreview","togglePreview","threadDisabled","threadIdOverride","tid","result","loadingThread","refetchThread","start","stop","useQuery","n","commentThread","useResult","data","comments","_c","v","comment","a","b","commentChildrenExpaneded","reactive","sliceCommentChildren","id","children","isCommentChildrenCollapsed","commentHiddenOverrides","onRefetchThread","newThreadId","tagComp","behMostMatch","catogoryMap","resolveClient","useApolloClient","editTags","pendingTags","watchEffect","isEdited","originalIds","tag","editedIds","i","addTag","tagid","tag2","removeTag","index","editStack","redoStack","undo","item","redo","pushEdit","editTagSearchKeyword","editTagSearchResult","onTagRemove","onSuggestionClick","mutate","submitting","submissionError","submit","t","useI18n","route","useRoute","vid","pid","loading","refetch","startProgress","stopProgress","video","setSiteTitle","authors","regularTags","mobileAuthorTarget","mobilePlaylistTarget","playlist","playlistVideos","playlistIndex","playlistCollaped","screenSizes","renderTagAsPlainText","useLocalStorage","editVideoWindow","popEditVideoWindow","win","openWindow","clearence","hideVideoResult","hideVideo","editTagOpened"],"mappings":"glCA+FY,IAAAA,IAAAA,IACVA,EAAA,SAAW,WACXA,EAAA,MAAQ,QAFEA,IAAAA,IAAA,CAAA,CAAA,EAmvBAC,IAAAA,IACVA,EAAA,OAAS,SACTA,EAAA,UAAY,YACZA,EAAA,UAAY,YACZA,EAAA,QAAU,UACVA,EAAA,SAAW,WACXA,EAAA,KAAO,OACPA,EAAA,WAAa,aAPHA,IAAAA,IAAA,CAAA,CAAA,EC90BZ,MAAMC,GAAa,IAAIC,GAAW,CAChC,KAAM,GACN,OAAQ,GACR,QAAS,EACX,CAAC,EAAE,IAAIC,EAAU,EAEjBF,GAAW,MAAM,MAAM,WAAW,CAAC,WAAW,CAAC,EAExC,SAASG,GAAOC,EAAqB,CACtC,IAAAC,EACA,GAAA,CACFA,EAAML,GAAW,OAAOI,EAAI,QAAQ,wBAAyB,aAAsC,EAAG,CACpG,KAAM,CAAC,CAAA,CACR,QAEIE,GACL,QAAQ,MAAMA,CAAC,EACfD,EAAM,8DAA8DC,UAClEA,aAAa,OAASA,EAAE,MAAQA,EAAE,MAAM,WAAW;AAAA,EAAM,QAAQ,EAAI,OAAOA,CAAC,SAEjF,CACO,OAAAD,CACT,mMCMAE,EAAAC,EAAA,EAAA,EACAC,EAAAD,EAAA,EAAA,EACAE,GAAAC,EAAA,CAAAC,EAAAC,IAAA,CACED,EAAA,OAAAC,EAAA,OACEJ,EAAA,MAAA,GAAyB,CAAA,EAE7B,MAAAK,EAAAC,EAAA,IAAA,EACA,OAAAC,GAAAF,EACE,CAAA,CAAA,CAAA,e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AA,EAAA,MAAA,EAAA,KAAA9C,GAAA,CAKX,GAAAA,EAAA,SAAA,UACE0H,EAAA,MAAA5B,EAAA,qCAAA,MAEA,OAAA,IAAA,MAAA9F,CAAA,CAAmB,CAAA,EAAA,MAAAC,GAAA,OAGrB,QAAA,MAAAA,CAAA,EACAyH,EAAA,MAAA5B,EAAA,qCAAA,CAAA,OAAAzE,EAAApB,EAAA,UAAA,KAAAoB,EAAApB,CAAA,CAAA,CAAyF,CAAA,CAC1F,EAIL2H,EAAAzH,EAAA,EAAA"} \ No newline at end of file diff --git a/assets/Video.a5ebd18c.css b/assets/Video.a5ebd18c.css new file mode 100644 index 0000000000..ea436620c8 --- /dev/null +++ b/assets/Video.a5ebd18c.css @@ -0,0 +1,10 @@ +pre code.hljs[data-v-b0ee444b]{display:block;overflow-x:auto;padding:1em}code.hljs[data-v-b0ee444b]{padding:3px 5px}/*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS +*/.hljs[data-v-b0ee444b]{color:#24292e;background:#fff}.hljs-doctag[data-v-b0ee444b],.hljs-keyword[data-v-b0ee444b],.hljs-meta .hljs-keyword[data-v-b0ee444b],.hljs-template-tag[data-v-b0ee444b],.hljs-template-variable[data-v-b0ee444b],.hljs-type[data-v-b0ee444b],.hljs-variable.language_[data-v-b0ee444b]{color:#d73a49}.hljs-title[data-v-b0ee444b],.hljs-title.class_[data-v-b0ee444b],.hljs-title.class_.inherited__[data-v-b0ee444b],.hljs-title.function_[data-v-b0ee444b]{color:#6f42c1}.hljs-attr[data-v-b0ee444b],.hljs-attribute[data-v-b0ee444b],.hljs-literal[data-v-b0ee444b],.hljs-meta[data-v-b0ee444b],.hljs-number[data-v-b0ee444b],.hljs-operator[data-v-b0ee444b],.hljs-selector-attr[data-v-b0ee444b],.hljs-selector-class[data-v-b0ee444b],.hljs-selector-id[data-v-b0ee444b],.hljs-variable[data-v-b0ee444b]{color:#005cc5}.hljs-meta .hljs-string[data-v-b0ee444b],.hljs-regexp[data-v-b0ee444b],.hljs-string[data-v-b0ee444b]{color:#032f62}.hljs-built_in[data-v-b0ee444b],.hljs-symbol[data-v-b0ee444b]{color:#e36209}.hljs-code[data-v-b0ee444b],.hljs-comment[data-v-b0ee444b],.hljs-formula[data-v-b0ee444b]{color:#6a737d}.hljs-name[data-v-b0ee444b],.hljs-quote[data-v-b0ee444b],.hljs-selector-pseudo[data-v-b0ee444b],.hljs-selector-tag[data-v-b0ee444b]{color:#22863a}.hljs-subst[data-v-b0ee444b]{color:#24292e}.hljs-section[data-v-b0ee444b]{color:#005cc5;font-weight:700}.hljs-bullet[data-v-b0ee444b]{color:#735c0f}.hljs-emphasis[data-v-b0ee444b]{color:#24292e;font-style:italic}.hljs-strong[data-v-b0ee444b]{color:#24292e;font-weight:700}.hljs-addition[data-v-b0ee444b]{color:#22863a;background-color:#f0fff4}.hljs-deletion[data-v-b0ee444b]{color:#b31d28;background-color:#ffeef0}.prose[data-v-b0ee444b]{max-width:inherit} diff --git a/assets/VideoList.bfb7f975.js b/assets/VideoList.bfb7f975.js new file mode 100644 index 0000000000..33cb4ea1e1 --- /dev/null +++ b/assets/VideoList.bfb7f975.js @@ -0,0 +1,23 @@ +import{a as re,_ as he}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as ye,x as _e,m as d,q as W,U as j,o as i,g as u,e,b as v,P as le,t as o,F as D,h as R,J as E,K as P,w as H,Q as Y,f as c,i as z,R as xe,ac as ge,ad as be,a9 as M,au as F,u as we,a6 as ke,D as qe,G as $e,B as ie,H as Ne,c as ne,ap as Se,aq as Ce,s as ue,j as Ve}from"./index.72556674.js";import{C as de}from"./CoverPlaceholder.83cb739d.js";import{_ as ce}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{_ as Ae}from"./PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js";import{_ as B}from"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import{_ as je}from"./PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js";import{P as ve,g as me}from"./decodeAdditionalConstraint.da833011.js";import{_ as Ie}from"./BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js";import{s as Oe}from"./setSiteTitle.db0fa839.js";import{p as pe}from"./biliHelper.9b20d4b7.js";import{b as Ue}from"./backTop.a4b6f707.js";import{g as fe}from"./imageUrl.5afb7f35.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./use-controllable.d8c790f2.js";import"./index.8f2b1f29.js";/*! PatchyVideo/Platinum by VoileLabs */const Ee={class:"w-full border-b p-1 pb-1.5 flex justify-between"},Pe=e("div",{class:"flex items-center flex-nowrap space-x-1"},[e("div",{class:"i-uil:search text-2xl transition-colors"}),e("div",{class:"text-lg"},o("高级搜索"))],-1),Te={class:"mt-4 space-y-3"},Le={class:"flex justify-between space-x-6 items-center"},De=e("div",{class:"whitespace-nowrap"},o("搜索类型:"),-1),He={class:"flex justify-between space-x-2 items-center"},Je=e("div",{class:"whitespace-nowrap"},o("包含关键字:"),-1),Be={class:"flex justify-between space-x-6 items-center"},Re=e("div",{class:"whitespace-nowrap"},o("排除标签:"),-1),ze={class:"flex justify-between space-x-6 items-center"},Me=e("div",{class:"whitespace-nowrap"},o("排序方式:"),-1),Fe={class:"flex justify-between items-center"},Qe=e("div",{class:"whitespace-nowrap"},o("源网站:"),-1),Ge={class:"flex max-w-72 flex-wrap gap-x-1"},Ke=["onClick"],We=e("div",{class:"mb-1 whitespace-nowrap"},o("原视频发布时间:"),-1),Ye={class:"flex flex-col space-y-0.5"},Xe={class:"flex justify-between items-center"},Ze={class:"flex flex-row flex-nowrap items-center gap-x-0.5"},et=["disabled"],tt=e("label",null,"-",-1),at=["disabled"],lt=e("label",null,"-",-1),st=["disabled"],ot={class:"flex justify-between items-center"},rt={class:"flex flex-row flex-nowrap items-center gap-x-0.5"},it=["disabled"],nt=e("label",null,"-",-1),ut=["disabled"],dt=e("label",null,"-",-1),ct=["disabled"],vt={class:"flex justify-between items-center"},mt=e("div",{class:"whitespace-nowrap"},o("标签数量:"),-1),pt={class:"flex flex-row items-center gap-1"},ft=["disabled"],yt={class:"flex justify-between items-center"},gt=e("div",{class:"whitespace-nowrap"},o("仅展示待人工整理标签的视频"),-1),bt={class:"flex justify-around border-t pt-3"},ht=e("div",null,[e("div",{class:"text-xs italic"},[e("div",null,o("#更多高级筛选功能请参考:")),e("a",{href:"https://patchyvideo.wiki/zh/SearchSystem",target:"_blank",class:"text-purple-600 transition transition-colors dark:text-purple-300 hover:text-purple-800 dark:hover:text-purple-400"},o("搜索系统 - PatchyVideo Wiki"))])],-1),_t=ye({__name:"AdvancedSearch",props:{open:{type:Boolean,default:!1,requred:!0}},emits:["update:open"],setup(se,{emit:b}){const n=se,m=ge(),X=be(),_=_e(n,"open",b),J=d(String(m.query.a?Array.isArray(m.query.a)?m.query.a[0]:m.query.a:"")),p=d(J.value===""?{searchContentAndOrNot:"",exceptContent:"",visibleSites:[""],date1:{beforeAfterEqualDate1:"",year1:"",month1:"",day1:""},date2:{beforeAfterEqualDate2:"",year2:"",month2:"",day2:""},tag:{moreLessEqualTagNum:"",tagNum:""},onlyShowAutotagedVideos:!1}:JSON.parse(decodeURI(window.atob(J.value)))),I=d(String(m.query.qtype?Array.isArray(m.query.qtype)?m.query.qtype[0]:m.query.qtype:"tag")),V=[{name:"标签/文本模式",value:"tag"},{name:"仅文本模式",value:"text"}],k=d(p.value.searchContentAndOrNot);function T(){}const L=d(p.value.exceptContent);function Z(){}const O=d(String(m.query.order?Array.isArray(m.query.order)?m.query.order[0]:m.query.order:"last_modified")),Q=[{value:"latest",name:"索引时间正序"},{value:"oldest",name:"索引时间倒序"},{value:"video_latest",name:"原视频发布正序"},{value:"video_oldest",name:"原视频发布倒序"},{value:"last_modified",name:"最近修改顺序"}],y=d(p.value.visibleSites),ee=[{name:"Bilibili",value:"bili"},{name:"Nicovideo",value:"nico"},{name:"YouTube",value:"ytb"},{name:"Twitter",value:"twitter"},{name:"Acfun",value:"acfun"},{name:"微博",value:"weibo-mobile"},{name:"站酷",value:"zcool"},{name:"IPFS",value:"ipfs"}];function G(w=""){if(w==="")y.value=[""];else{const t=y.value.indexOf(w);if(t!==-1)y.value.splice(t,1),y.value.length===0&&(y.value=[""]);else{y.value.push(w);const a=y.value.indexOf("");a!==-1&&y.value.splice(a,1)}}}const K=[{name:"晚于",value:">"},{name:"早于",value:"<"},{name:"等于",value:"="},{name:"不计",value:""}],h=d(p.value.date1.year1),N=d(p.value.date1.month1),g=d(p.value.date1.day1),f=d(p.value.date1.beforeAfterEqualDate1);W(f,w=>{w===""&&(h.value="",N.value="",g.value="")});const q=d(p.value.date2.year2),x=d(p.value.date2.month2),S=d(p.value.date2.day2),$=d(p.value.date2.beforeAfterEqualDate2);W($,w=>{w===""&&(q.value="",x.value="",S.value="")});const te=[{name:"大于",value:">"},{name:"小于",value:"<"},{name:"等于",value:"="},{name:"不计",value:""}],C=d(p.value.tag.tagNum),s=d(p.value.tag.moreLessEqualTagNum);W(s,w=>{w===""&&(C.value="")});const r=d(p.value.onlyShowAutotagedVideos);function A(){I.value="tag",k.value="",L.value="",O.value="last_modified",y.value=[""],f.value="",h.value="",N.value="",g.value="",$.value="",q.value="",x.value="",S.value="",s.value="",C.value="",r.value=!1}function ae(){return f.value!==""&&(isNaN(Number(h.value))||!Number.isSafeInteger(h.value)||Number(h.value)<=0||isNaN(Number(N.value))||!Number.isSafeInteger(N.value)||Number(N.value)<=0||isNaN(Number(g.value))||!Number.isSafeInteger(g.value)||Number(g.value)<=0)?(M({message:"请检查原视频发布时间项1的填写是否正确!",type:F.warning}),!1):$.value!==""&&(isNaN(Number(q.value))||!Number.isSafeInteger(q.value)||Number(q.value)<=0||isNaN(Number(x.value))||!Number.isSafeInteger(x.value)||Number(x.value)<=0||isNaN(Number(S.value))||!Number.isSafeInteger(S.value)||Number(S.value)<=0)?(M({message:"请检查原视频发布时间项2的填写是否正确!",type:F.warning}),!1):s.value!==""&&(isNaN(Number(C.value))||!Number.isSafeInteger(C.value)||Number(C.value)<0)?(M({message:"请检查标签数量项的填写是否正确!",type:F.warning}),!1):!0}const l=j(()=>window.btoa(encodeURI(JSON.stringify({searchContentAndOrNot:k.value,exceptContent:L.value,visibleSites:y.value,date1:{beforeAfterEqualDate1:f.value,year1:h.value,month1:N.value,day1:g.value},date2:{beforeAfterEqualDate2:$.value,year2:q.value,month2:x.value,day2:S.value},tag:{moreLessEqualTagNum:s.value,tagNum:C.value},onlyShowAutotagedVideos:r.value}))));function U(){if(!ae())return;const w={qtype:I.value,order:O.value,a:l.value};X.push({path:m.path,query:w}),_.value=!1}return(w,t)=>(i(),u(D,null,[e("div",{class:le(["fixed max-h-full z-50 transform transition-transform duration-300 inset-x-0 bottom-0 overflow-auto p-3 bg-white dark:bg-gray-900 shadow border-purple-200 dark:border-gray-600 lt-sm:max-h-70vh lt-sm:rounded-t lt-sm:border-t sm:rounded-l sm:border-l sm:right-0 sm:inset-y-0 sm:left-auto sm:p-2 sm:w-95",{"sm:translate-x-full translate-y-full sm:translate-y-0":!c(_)}])},[e("div",Ee,[Pe,e("div",{class:"i-uil:times text-2xl transition-colors",onClick:t[0]||(t[0]=a=>_.value=!1)})]),e("div",Te,[e("div",Le,[De,v(B,{modelValue:I.value,"onUpdate:modelValue":t[1]||(t[1]=a=>I.value=a),class:"flex-1 max-w-64","item-list":V},null,8,["modelValue"])]),e("div",He,[Je,v(re,{keyword:k.value,"onUpdate:keyword":t[2]||(t[2]=a=>k.value=a),"default-placeholder":"输入标签或文本,用空格隔开",class:"w-full","show-tag-cnt":!1,onSearch:t[3]||(t[3]=a=>void 0)},null,8,["keyword"])]),e("div",Be,[Re,v(re,{keyword:L.value,"onUpdate:keyword":t[4]||(t[4]=a=>L.value=a),"default-placeholder":"只能输入标签哦,用空格隔开",class:"w-full","show-tag-cnt":!1,onSearch:t[5]||(t[5]=a=>void 0)},null,8,["keyword"])]),e("div",ze,[Me,v(B,{modelValue:O.value,"onUpdate:modelValue":t[6]||(t[6]=a=>O.value=a),class:"flex-1 max-w-64","item-list":Q},null,8,["modelValue"])]),e("div",Fe,[Qe,e("div",Ge,[e("div",{class:le(["px-2 py-0.5 rounded-lg text-sm border border-purple-300 cursor-pointer transition transition-colors whitespace-nowrap mb-1 dark:border-gray-600",{"bg-purple-400 dark:bg-indigo-800 text-white":y.value.findIndex(a=>a==="")!==-1}]),onClick:t[7]||(t[7]=a=>G())},o("全部"),2),(i(),u(D,null,R(ee,a=>e("div",{key:a.value,class:le(["px-2 py-0.5 rounded-lg text-sm border border-purple-300 cursor-pointer transition transition-colors whitespace-nowrap mb-1 dark:border-gray-600",{"bg-purple-400 dark:bg-indigo-800 text-white":y.value.findIndex(oe=>oe===a.value)!==-1}]),onClick:oe=>G(a.value)},o(a.name),11,Ke)),64))])]),e("div",null,[We,e("div",Ye,[e("div",Xe,[v(B,{modelValue:f.value,"onUpdate:modelValue":t[8]||(t[8]=a=>f.value=a),"item-list":K},null,8,["modelValue"]),e("div",Ze,[E(e("input",{"onUpdate:modelValue":t[9]||(t[9]=a=>h.value=a),disabled:f.value==="",placeholder:"年",class:"focus:outline-none w-15 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,et),[[P,h.value,void 0,{number:!0}]]),tt,E(e("input",{"onUpdate:modelValue":t[10]||(t[10]=a=>N.value=a),disabled:f.value==="",placeholder:"月",class:"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,at),[[P,N.value,void 0,{number:!0}]]),lt,E(e("input",{"onUpdate:modelValue":t[11]||(t[11]=a=>g.value=a),disabled:f.value==="",placeholder:"日",class:"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,st),[[P,g.value,void 0,{number:!0}]])])]),e("div",ot,[v(B,{modelValue:$.value,"onUpdate:modelValue":t[12]||(t[12]=a=>$.value=a),"item-list":K},null,8,["modelValue"]),e("div",rt,[E(e("input",{"onUpdate:modelValue":t[13]||(t[13]=a=>q.value=a),disabled:$.value==="",placeholder:"年",class:"focus:outline-none w-15 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,it),[[P,q.value,void 0,{number:!0}]]),nt,E(e("input",{"onUpdate:modelValue":t[14]||(t[14]=a=>x.value=a),disabled:$.value==="",placeholder:"月",class:"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,ut),[[P,x.value,void 0,{number:!0}]]),dt,E(e("input",{"onUpdate:modelValue":t[15]||(t[15]=a=>S.value=a),disabled:$.value==="",placeholder:"日",class:"focus:outline-none w-10 border rounded-md border-purple-300 p-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,ct),[[P,S.value,void 0,{number:!0}]])])])])]),e("div",vt,[mt,e("div",pt,[v(B,{modelValue:s.value,"onUpdate:modelValue":t[16]||(t[16]=a=>s.value=a),"item-list":te},null,8,["modelValue"]),E(e("input",{"onUpdate:modelValue":t[17]||(t[17]=a=>C.value=a),disabled:s.value==="",class:"w-12 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500"},null,8,ft),[[P,C.value,void 0,{number:!0}]])])]),e("div",yt,[gt,v(je,{modelValue:r.value,"onUpdate:modelValue":t[18]||(t[18]=a=>r.value=a)},null,8,["modelValue"])]),e("div",bt,[v(ve,{onClick:t[19]||(t[19]=a=>A())},{default:H(()=>[Y(o("重置"))]),_:1}),v(ve,{onClick:t[20]||(t[20]=a=>U())},{default:H(()=>[Y(o("搜索"))]),_:1})]),ht])],2),v(xe,{"enter-active-class":"transition-all duration-200","enter-from-class":"bg-opacity-0","leave-active-class":"transition-all duration-200","leave-to-class":"bg-opacity-0"},{default:H(()=>[c(_)?(i(),u("div",{key:0,class:"fixed inset-0 z-49",onClick:t[21]||(t[21]=a=>_.value=!1)})):z("",!0)]),_:1})],64))}}),xt={class:"p-2 md:p-10 md:m-auto xl:w-9/10 2xl:w-8/10"},wt={key:0},kt=e("div",{class:"border-b pb-1"},[e("span",{class:"inline-block w-36 rounded-md bg-gray-300 dark:bg-gray-600"}," ")],-1),qt={class:"p-1 text-xs text-right md:text-sm"},$t={key:0},Nt={class:"w-2/5 mr-0.5"},St=e("div",{class:"w-3/5 text-sm pb-1 flex flex-wrap content-between"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md w-full bg-gray-400 dark:bg-gray-600"},"   "),e("div",{class:"flex text-xs h-4 align-middle rounded-md w-2/5 bg-gray-400 dark:bg-gray-600"})],-1),Ct={key:1,class:"search-result-backimg justify-evenly flex-wrap flex"},Vt=e("div",{class:"p-3 text-left text-sm lg:text-base"},[e("div",{class:"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md bg-gray-400 dark:bg-gray-600"},"   "),e("div",{class:"flex text-xs h-4 mt-1 align-middle rounded-md bg-gray-300 dark:bg-gray-600"})],-1),At={key:1},jt={key:2},It=["textContent"],Ot={class:"p-1 text-xs text-right md:text-sm"},Ut={key:0},Et={class:"relative w-2/5 mr-0.5"},Pt={key:0,class:"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color"},Tt=e("div",{class:"i-uil:eye-slash text-4xl"},null,-1),Lt={class:"text-lg"},Dt={class:"flex flex-wrap content-between w-3/5 pb-1 text-sm"},Ht={key:0,class:"overflow-hidden w-full"},Jt={class:"inline-block w-full truncate"},Bt={class:"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300"},Rt={class:"font-semibold"},zt={key:1,class:"line-clamp-2 overflow-ellipsis overflow-hidden w-full"},Mt=["title"],Ft=["src","alt"],Qt={key:1,class:"justify-evenly flex-wrap flex"},Gt={class:"relative"},Kt={key:0,class:"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color"},Wt=e("div",{class:"i-uil:eye-slash text-8xl"},null,-1),Yt={class:"text-2xl"},Xt={class:"p-3 text-left text-sm lg:text-base"},Zt={key:0},ea=["title"],ta=["title"],aa={class:"font-semibold"},la=["title"],sa=["title"],oa=["src","alt"],ra={key:0,class:"text-right px-2 pb-1 cursor-pointer"},ia={key:0},na=["onClick"],ua={key:2},da=["onClick"],ca=["title"],va=e("div",{class:"i-uil:file-search-alt text-2xl"},null,-1),ma=[va],Aa=ye({__name:"VideoList",setup(se){const{t:b}=we();Oe(`${b("video.video-list.title")} - PatchyVideo`);const n=ge(),m=be(),X=ke(),_=d(),J=d(""),p=d(0),I=d(0),V=d([]),k=j(()=>Number(n.query.limit?Array.isArray(n.query.limit)?n.query.limit[0]:n.query.limit:20)),T=j(()=>Number(n.query.page?Array.isArray(n.query.page)?n.query.page[0]:n.query.page:0)),L=j(()=>T.value+1),Z=j(()=>String(n.query.qtype?Array.isArray(n.query.qtype)?n.query.qtype[0]:n.query.qtype:"tag")),O=j(()=>String(n.query.order?Array.isArray(n.query.order)?n.query.order[0]:n.query.order:"last_modified")),Q=j(()=>String(n.query.a?Array.isArray(n.query.a)?n.query.a[0]:n.query.a:"")),{result:y,loading:ee,onError:G,fetchMore:K}=qe($e` + query ($offset: Int!, $limit: Int!, $query: String!, $qtype: String, $order: String!) { + listVideo( + para: { offset: $offset, limit: $limit, humanReadableTag: true, query: $query, qtype: $qtype, order: $order } + ) { + count + pageCount + videos { + id + item { + coverImage + title + site + cid + partName + url + } + clearence + } + } + } + `,{offset:T.value*k.value,limit:k.value,query:me(Q.value),qtype:Z.value,order:O.value},{notifyOnNetworkStatusChange:!0});ie(()=>{ee.value?(_.value="loading",Se()):(_.value="result",Ce())});const h=Ne(y,null,s=>s==null?void 0:s.listVideo);ie(()=>{h.value&&(p.value=h.value.count,I.value=h.value.pageCount,V.value=h.value.videos.map(s=>({...s})))}),G(s=>{J.value=s.message,_.value="error"});const N=j(()=>n.query);W(N,()=>{Ue(),K({variables:{offset:T.value*k.value,limit:k.value,query:me(Q.value),qtype:Z.value,order:O.value},updateQuery(s,{fetchMoreResult:r}){return r||s}})});const g=d([]),f=d([]),q=async s=>{f.value.find(r=>r===s)&&f.value.splice(f.value.findIndex(r=>r===s),1),g.value.push(s),await fetch("https://patchyvideo.com/be/videos/condemn_video.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({vid:s}),credentials:"include"}).then(r=>r.json()).then(r=>{if(r.status==="SUCCEED"&&V.value.find(A=>A.id.toHexString()===s))V.value[V.value.findIndex(A=>A.id.toHexString()===s)].clearence=0;else throw M({message:`vid为 ${s} 的视频隐藏失败,请注意!`,type:F.error}),f.value.push(s),new Error(r)}).catch(r=>{console.error(r),M({message:`vid为 ${s} 的视频隐藏失败,请注意!`,type:F.error}),f.value.push(s)}),g.value.find(r=>r===s)&&g.value.splice(g.value.findIndex(r=>r===s),1)},x=d(!1);function S(){x.value=!0}function $(){const s=JSON.parse(JSON.stringify(n.query));s.page=T.value-1,m.push({path:n.path,query:s})}function te(){const s=JSON.parse(JSON.stringify(n.query));s.page=T.value+1,m.push({path:n.path,query:s})}function C(s){const r=JSON.parse(JSON.stringify(n.query));r.page=s-1,m.push({path:n.path,query:r})}return(s,r)=>{const A=Ve("RouterLink"),ae=he;return i(),ne(ae,null,{default:H(()=>[e("div",xt,[_.value==="loading"?(i(),u("div",wt,[kt,e("div",qt,o(c(b)("video.video-list.main-body.tips")),1),c(ue)["<md"]?(i(),u("div",$t,[(i(!0),u(D,null,R(c(k),l=>(i(),u("div",{key:l,class:"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800"},[e("div",Nt,[v(de,{class:"rounded-md"})]),St]))),128))])):(i(),u("div",Ct,[(i(!0),u(D,null,R(c(k),l=>(i(),u("div",{key:l,class:"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900"},[v(de,{class:"rounded-md"}),Vt]))),128))]))])):_.value==="error"?(i(),u("div",At,[e("div",null,o(c(b)("video.video-list.main-body.failed.search-failed")),1),e("div",null,o(c(b)("video.video-list.main-body.failed.search-failed-reason")+J.value),1)])):_.value==="result"?(i(),u("div",jt,[e("div",{class:"border-b pb-1",textContent:o(c(b)("video.video-list.main-body.successful.search-result-count",{count:p.value}))},null,8,It),e("div",Ot,o(c(b)("video.video-list.main-body.tips")),1),c(ue)["<md"]?(i(),u("div",Ut,[(i(!0),u(D,null,R(V.value,l=>(i(),ne(A,{key:l.item.title,class:"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800",to:`/video/${l.id.toHexString()}`,target:"_blank"},{default:H(()=>[e("div",Et,[v(ce,{title:l.item.title,"cover-image":l.item.coverImage,class:"rounded-sm"},null,8,["title","cover-image"]),l.clearence===0?(i(),u("div",Pt,[Tt,e("div",Lt,o(c(b)("video.video-list.video.hidden")),1)])):z("",!0)]),e("div",Dt,[l.item.partName?(i(),u("div",Ht,[e("a",Jt,o(l.item.title),1),e("div",Bt,[e("label",Rt,o(`P${c(pe)(l.item.url)}:`),1),Y(o(l.item.partName),1)])])):(i(),u("a",zt,o(l.item.title),1)),e("div",{class:"flex text-xs h-4 align-middle",title:l.item.site},[e("div",null,o(c(b)("video.video-list.video.source-site")),1),e("img",{class:"cover h-full",src:c(fe)(l.item.site),alt:l.item.site},null,8,Ft)],8,Mt)])]),_:2},1032,["to"]))),128))])):(i(),u("div",Qt,[(i(!0),u(D,null,R(V.value,l=>(i(),u("div",{key:l.item.title,class:"w-12/50 my-2 border border-purple-300 shadow-sm rounded-lg overflow-hidden bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900"},[v(A,{to:`/video/${l.id.toHexString()}`,target:"_blank"},{default:H(()=>[e("div",Gt,[v(ce,{title:l.item.title,"cover-image":l.item.coverImage},null,8,["title","cover-image"]),l.clearence===0?(i(),u("div",Kt,[Wt,e("div",Yt,o(c(b)("video.video-list.video.hidden")),1)])):z("",!0)]),e("div",Xt,[l.item.partName?(i(),u("div",Zt,[e("a",{class:"inline-block w-full truncate",title:l.item.title},o(l.item.title),9,ea),e("div",{class:"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300",title:l.item.partName},[e("label",aa,o(`P${c(pe)(l.item.url)}:`),1),Y(o(l.item.partName),1)],8,ta)])):(i(),u("a",{key:1,class:"line-clamp-2 overflow-ellipsis overflow-hidden",title:l.item.title},o(l.item.title),9,la)),e("div",{class:"flex text-xs h-4 align-middle",title:l.item.site},[e("div",null,o(c(b)("video.video-list.video.source-site")),1),e("img",{class:"cover",src:c(fe)(l.item.site),alt:l.item.site},null,8,oa)],8,sa)])]),_:2},1032,["to"]),c(X).isAdmin?(i(),u("div",ra,[g.value.find(U=>U===l.id.toHexString())?(i(),u("div",ia," 请求中... ")):f.value.find(U=>U===l.id.toHexString())?(i(),u("div",{key:1,class:"text-red transition-color hover:text-purple-600",onClick:U=>q(l.id.toHexString())}," 隐藏失败!请点击重试 ",8,na)):l.clearence===0?(i(),u("div",ua," 已隐藏 ")):(i(),u("div",{key:3,class:"transition-color hover:text-purple-600",onClick:U=>q(l.id.toHexString())}," 隐藏 ",8,da))])):z("",!0)]))),128))])),v(Ae,{"page-count":I.value,page:c(L),onPrevious:$,onNext:te,onChange:C},null,8,["page-count","page"])])):z("",!0)]),e("div",{class:"shadow fixed bottom-20 right-5 bg-gray-50 cursor-pointer p-2 transition-opacity rounded-full dark:bg-gray-800",title:c(b)("video.video-list.advanced-search.name"),onClick:r[0]||(r[0]=l=>S())},ma,8,ca),v(_t,{open:x.value,"onUpdate:open":r[1]||(r[1]=l=>x.value=l)},null,8,["open"]),v(Ie)]),_:1})}}});export{Aa as default}; +//# sourceMappingURL=VideoList.bfb7f975.js.map diff --git a/assets/VideoList.bfb7f975.js.map b/assets/VideoList.bfb7f975.js.map new file mode 100644 index 0000000000..57d057edc6 --- /dev/null +++ b/assets/VideoList.bfb7f975.js.map @@ -0,0 +1 @@ +{"version":3,"file":"VideoList.bfb7f975.js","sources":["../../packages/video/components/AdvancedSearch.vue","../../packages/video/VideoList.vue"],"sourcesContent":["<template>\n <div\n class=\"fixed max-h-full z-50 transform transition-transform duration-300 inset-x-0 bottom-0 overflow-auto p-3 bg-white dark:bg-gray-900 shadow border-purple-200 dark:border-gray-600 lt-sm:max-h-70vh lt-sm:rounded-t lt-sm:border-t sm:rounded-l sm:border-l sm:right-0 sm:inset-y-0 sm:left-auto sm:p-2 sm:w-95\"\n :class=\"{ 'sm:translate-x-full translate-y-full sm:translate-y-0': !open }\"\n >\n <div class=\"w-full border-b p-1 pb-1.5 flex justify-between\">\n <div class=\"flex items-center flex-nowrap space-x-1\">\n <div class=\"i-uil:search text-2xl transition-colors\" />\n <div class=\"text-lg\">\n {{ '高级搜索' }}\n </div>\n </div>\n <div class=\"i-uil:times text-2xl transition-colors\" @click=\"open = false\" />\n </div>\n <div class=\"mt-4 space-y-3\">\n <!-- Tag only or text and tag -->\n <div class=\"flex justify-between space-x-6 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '搜索类型:' }}\n </div>\n <PvSelect v-model=\"qtype\" class=\"flex-1 max-w-64\" :item-list=\"qtypeList\" />\n </div>\n <!-- AND or OR -->\n <!-- TODO: add OR function -->\n <div class=\"flex justify-between space-x-2 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '包含关键字:' }}\n </div>\n <AutoComplete\n v-model:keyword=\"searchContentAndOrNot\"\n default-placeholder=\"输入标签或文本,用空格隔开\"\n class=\"w-full\"\n :show-tag-cnt=\"false\"\n @search=\"addsearchContentAndOrNot()\"\n />\n </div>\n <!-- NOT -->\n <div class=\"flex justify-between space-x-6 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '排除标签:' }}\n </div>\n <AutoComplete\n v-model:keyword=\"exceptContent\"\n default-placeholder=\"只能输入标签哦,用空格隔开\"\n class=\"w-full\"\n :show-tag-cnt=\"false\"\n @search=\"addexceptContent()\"\n />\n </div>\n <!-- Order -->\n <div class=\"flex justify-between space-x-6 items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '排序方式:' }}\n </div>\n <PvSelect v-model=\"order\" class=\"flex-1 max-w-64\" :item-list=\"orderList\" />\n </div>\n <!-- Site -->\n <div class=\"flex justify-between items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '源网站:' }}\n </div>\n <div class=\"flex max-w-72 flex-wrap gap-x-1\">\n <div\n class=\"px-2 py-0.5 rounded-lg text-sm border border-purple-300 cursor-pointer transition transition-colors whitespace-nowrap mb-1 dark:border-gray-600\"\n :class=\"{ 'bg-purple-400 dark:bg-indigo-800 text-white': visibleSites.findIndex((item) => item === '') !== -1 }\"\n @click=\"changeVisibleSites()\"\n >\n {{ '全部' }}\n </div>\n <div\n v-for=\"site in siteList\"\n :key=\"site.value\"\n class=\"px-2 py-0.5 rounded-lg text-sm border border-purple-300 cursor-pointer transition transition-colors whitespace-nowrap mb-1 dark:border-gray-600\"\n :class=\"{ 'bg-purple-400 dark:bg-indigo-800 text-white': visibleSites.findIndex((item) => item === site.value) !== -1 }\"\n @click=\"changeVisibleSites(site.value)\"\n >\n {{ site.name }}\n </div>\n </div>\n </div>\n <!-- Rank -->\n <!-- TODO: search for rank is not supposed -->\n <!-- <div class=\"flex justify-between space-x-6 items-end\">\n <div class=\"whitespace-nowrap\">{{ '视频等级:' }}</div>\n <PvSelect :selected=\"rank\" :item-list=\"rankList\" @update:selected=\"(v) => (rank = v)\" />\n </div> -->\n <!-- Date -->\n <div>\n <div class=\"mb-1 whitespace-nowrap\">\n {{ '原视频发布时间:' }}\n </div>\n <div class=\"flex flex-col space-y-0.5\">\n <div class=\"flex justify-between items-center\">\n <PvSelect\n v-model=\"beforeAfterEqualDate1\"\n :item-list=\"beforeAfterEqualList\"\n />\n <div class=\"flex flex-row flex-nowrap items-center gap-x-0.5\">\n <input\n v-model.number=\"year1\"\n :disabled=\"beforeAfterEqualDate1 === ''\"\n placeholder=\"年\"\n class=\"focus:outline-none w-15 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n <label>-</label>\n <input\n v-model.number=\"month1\"\n :disabled=\"beforeAfterEqualDate1 === ''\"\n placeholder=\"月\"\n class=\"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n <label>-</label>\n <input\n v-model.number=\"day1\"\n :disabled=\"beforeAfterEqualDate1 === ''\"\n placeholder=\"日\"\n class=\"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n </div>\n </div>\n <div class=\"flex justify-between items-center\">\n <PvSelect\n v-model=\"beforeAfterEqualDate2\"\n :item-list=\"beforeAfterEqualList\"\n />\n <div class=\"flex flex-row flex-nowrap items-center gap-x-0.5\">\n <input\n v-model.number=\"year2\"\n :disabled=\"beforeAfterEqualDate2 === ''\"\n placeholder=\"年\"\n class=\"focus:outline-none w-15 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n <label>-</label>\n <input\n v-model.number=\"month2\"\n :disabled=\"beforeAfterEqualDate2 === ''\"\n placeholder=\"月\"\n class=\"focus:outline-none w-10 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n <label>-</label>\n <input\n v-model.number=\"day2\"\n :disabled=\"beforeAfterEqualDate2 === ''\"\n placeholder=\"日\"\n class=\"focus:outline-none w-10 border rounded-md border-purple-300 p-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n </div>\n </div>\n </div>\n </div>\n <!-- Tags number -->\n <div class=\"flex justify-between items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '标签数量:' }}\n </div>\n <div class=\"flex flex-row items-center gap-1\">\n <PvSelect\n v-model=\"moreLessEqualTagNum\"\n :item-list=\"moreLessEqualList\"\n />\n <input\n v-model.number=\"tagNum\"\n :disabled=\"moreLessEqualTagNum === ''\"\n class=\"w-12 border rounded-md border-purple-300 px-1 py-0.5 shadow-inner dark:border-gray-700 dark:bg-gray-500\"\n >\n </div>\n </div>\n <!-- Show blocked videos -->\n <!-- TODO: search for showing block videos is not supposed -->\n <!-- <div class=\"flex justify-between items-center\">\n <div class=\"whitespace-nowrap\">{{ '展示被屏蔽的视频' }}</div>\n <PvSwitch :check=\"showBlockedVideos\" />\n </div> -->\n <!-- Only show autotaged videos -->\n <div class=\"flex justify-between items-center\">\n <div class=\"whitespace-nowrap\">\n {{ '仅展示待人工整理标签的视频' }}\n </div>\n <PvSwitch v-model=\"onlyShowAutotagedVideos\" />\n </div>\n <!-- Reset or search -->\n <div class=\"flex justify-around border-t pt-3\">\n <PvBotton @click=\"reset()\">\n {{ '重置' }}\n </PvBotton>\n <PvBotton @click=\"search()\">\n {{ '搜索' }}\n </PvBotton>\n </div>\n <!-- More infomation -->\n <div>\n <div class=\"text-xs italic\">\n <div>{{ '#更多高级筛选功能请参考:' }}</div>\n <a\n href=\"https://patchyvideo.wiki/zh/SearchSystem\"\n target=\"_blank\"\n class=\"text-purple-600 transition transition-colors dark:text-purple-300 hover:text-purple-800 dark:hover:text-purple-400\"\n >{{ '搜索系统 - PatchyVideo Wiki' }}</a>\n </div>\n </div>\n </div>\n </div>\n <!-- Mask -->\n <Transition\n enter-active-class=\"transition-all duration-200\"\n enter-from-class=\"bg-opacity-0\"\n leave-active-class=\"transition-all duration-200\"\n leave-to-class=\"bg-opacity-0\"\n >\n <div v-if=\"open\" class=\"fixed inset-0 z-49\" @click=\"open = false\" />\n </Transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watch } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\n// import { useI18n } from 'vue-i18n'\nimport { useVModel } from '@vueuse/core'\nimport PvSelect from '@/ui/components/PvSelect.vue'\nimport PvSwitch from '@/ui/components/PvSwitch.vue'\nimport AutoComplete from '@/search/components/AutoComplete.vue'\nimport PvBotton from '@/ui/components/PvBotton.vue'\nimport { MessageType, PvMessage } from '@/ui/libs/PvMessage'\n\nconst props = defineProps({\n open: {\n type: Boolean,\n default: false,\n requred: true,\n },\n})\nconst emit = defineEmits<{\n (event: 'update:open', value: boolean): void\n}>()\n\n// const { t } = useI18n()\nconst route = useRoute()\nconst router = useRouter()\n\nconst open = useVModel(props, 'open', emit)\n\n/* initialize additional constraint with url */\nconst additionalConstraintUrl = ref(\n String(route.query.a ? (Array.isArray(route.query.a) ? route.query.a[0] : route.query.a) : ''),\n)\nconst additionalConstraintObject = ref(\n additionalConstraintUrl.value === ''\n ? {\n searchContentAndOrNot: '',\n exceptContent: '',\n visibleSites: [''],\n date1: {\n beforeAfterEqualDate1: '',\n year1: '',\n month1: '',\n day1: '',\n },\n date2: {\n beforeAfterEqualDate2: '',\n year2: '',\n month2: '',\n day2: '',\n },\n tag: {\n moreLessEqualTagNum: '',\n tagNum: '',\n },\n onlyShowAutotagedVideos: false,\n }\n : JSON.parse(decodeURI(window.atob(additionalConstraintUrl.value))),\n)\n\n/* Qtype */\nconst qtype = ref(\n String(route.query.qtype ? (Array.isArray(route.query.qtype) ? route.query.qtype[0] : route.query.qtype) : 'tag'),\n)\nconst qtypeList = [\n {\n name: '标签/文本模式',\n value: 'tag',\n },\n {\n name: '仅文本模式',\n value: 'text',\n },\n]\n\n/* AND or OR */\nconst searchContentAndOrNot = ref(additionalConstraintObject.value.searchContentAndOrNot)\nfunction addsearchContentAndOrNot(): void {}\n\n/* Except */\nconst exceptContent = ref(additionalConstraintObject.value.exceptContent)\nfunction addexceptContent(): void {}\n\n/* Order */\nconst order = ref(\n String(\n route.query.order ? (Array.isArray(route.query.order) ? route.query.order[0] : route.query.order) : 'last_modified',\n ),\n)\nconst orderList = [\n { value: 'latest', name: '索引时间正序' },\n { value: 'oldest', name: '索引时间倒序' },\n { value: 'video_latest', name: '原视频发布正序' },\n { value: 'video_oldest', name: '原视频发布倒序' },\n { value: 'last_modified', name: '最近修改顺序' },\n]\n\n/* Site */\nconst visibleSites = ref<('' | 'bili' | 'nico' | 'ytb' | 'twitter' | 'acfun' | 'zcool' | 'ipfs' | 'weibo-mobile')[]>(\n additionalConstraintObject.value.visibleSites,\n)\nconst siteList: {\n name: string\n value: '' | 'bili' | 'nico' | 'ytb' | 'twitter' | 'acfun' | 'zcool' | 'ipfs' | 'weibo-mobile'\n}[] = [\n { name: 'Bilibili', value: 'bili' },\n { name: 'Nicovideo', value: 'nico' },\n { name: 'YouTube', value: 'ytb' },\n { name: 'Twitter', value: 'twitter' },\n { name: 'Acfun', value: 'acfun' },\n { name: '微博', value: 'weibo-mobile' },\n { name: '站酷', value: 'zcool' },\n { name: 'IPFS', value: 'ipfs' },\n]\nfunction changeVisibleSites(\n value: '' | 'bili' | 'nico' | 'ytb' | 'twitter' | 'acfun' | 'zcool' | 'ipfs' | 'weibo-mobile' = '',\n): void {\n if (value === '') { visibleSites.value = [''] }\n else {\n const indexOfSite = visibleSites.value.indexOf(value)\n if (indexOfSite !== -1) {\n visibleSites.value.splice(indexOfSite, 1)\n if (visibleSites.value.length === 0)\n visibleSites.value = ['']\n }\n else {\n visibleSites.value.push(value)\n const indexOfAll = visibleSites.value.indexOf('')\n if (indexOfAll !== -1)\n visibleSites.value.splice(indexOfAll, 1)\n }\n }\n}\n\n/* Rank */\n/* TODO: search for rank is not supposed */\n// const rank = ref('3')\n// const rankList: {\n// name: '仅管理员可见' | '登录用户可见' | '发布者和管理员可见' | '所有人可见'\n// value: '0' | '1' | '2' | '3'\n// }[] = [\n// { name: '仅管理员可见', value: '0' },\n// { name: '发布者和管理员可见', value: '1' },\n// { name: '登录用户可见', value: '2' },\n// { name: '所有人可见', value: '3' },\n// ]\n\n/* Date */\nconst beforeAfterEqualList = [\n { name: '晚于', value: '>' },\n { name: '早于', value: '<' },\n { name: '等于', value: '=' },\n { name: '不计', value: '' },\n]\nconst year1 = ref(additionalConstraintObject.value.date1.year1)\nconst month1 = ref(additionalConstraintObject.value.date1.month1)\nconst day1 = ref(additionalConstraintObject.value.date1.day1)\nconst beforeAfterEqualDate1 = ref<string>(additionalConstraintObject.value.date1.beforeAfterEqualDate1)\nwatch(beforeAfterEqualDate1, (newv) => {\n if (newv === '') {\n year1.value = ''\n month1.value = ''\n day1.value = ''\n }\n})\nconst year2 = ref(additionalConstraintObject.value.date2.year2)\nconst month2 = ref(additionalConstraintObject.value.date2.month2)\nconst day2 = ref(additionalConstraintObject.value.date2.day2)\nconst beforeAfterEqualDate2 = ref<string>(additionalConstraintObject.value.date2.beforeAfterEqualDate2)\nwatch(beforeAfterEqualDate2, (newv) => {\n if (newv === '') {\n year2.value = ''\n month2.value = ''\n day2.value = ''\n }\n})\n\n/* Tag number */\nconst moreLessEqualList = [\n { name: '大于', value: '>' },\n { name: '小于', value: '<' },\n { name: '等于', value: '=' },\n { name: '不计', value: '' },\n]\nconst tagNum = ref(additionalConstraintObject.value.tag.tagNum)\nconst moreLessEqualTagNum = ref<string>(additionalConstraintObject.value.tag.moreLessEqualTagNum)\nwatch(moreLessEqualTagNum, (newv) => {\n if (newv === '')\n tagNum.value = ''\n})\n\n/* Show blocked videos */\n/* TODO: search for showing block videos is not supposed */\n// const showBlockedVideos = ref(false)\n\n/* Only show autotaged videos */\nconst onlyShowAutotagedVideos = ref(additionalConstraintObject.value.onlyShowAutotagedVideos)\n\n/* Reset */\nfunction reset() {\n qtype.value = 'tag'\n searchContentAndOrNot.value = ''\n exceptContent.value = ''\n order.value = 'last_modified'\n visibleSites.value = ['']\n beforeAfterEqualDate1.value = ''\n year1.value = ''\n month1.value = ''\n day1.value = ''\n beforeAfterEqualDate2.value = ''\n year2.value = ''\n month2.value = ''\n day2.value = ''\n moreLessEqualTagNum.value = ''\n tagNum.value = ''\n onlyShowAutotagedVideos.value = false\n}\n\n/* Search */\nfunction checkSubmitContent(): boolean {\n // Check date\n if (\n beforeAfterEqualDate1.value !== ''\n && (isNaN(Number(year1.value))\n || !Number.isSafeInteger(year1.value)\n || Number(year1.value) <= 0\n || isNaN(Number(month1.value))\n || !Number.isSafeInteger(month1.value)\n || Number(month1.value) <= 0\n || isNaN(Number(day1.value))\n || !Number.isSafeInteger(day1.value)\n || Number(day1.value) <= 0)\n ) {\n PvMessage({ message: '请检查原视频发布时间项1的填写是否正确!', type: MessageType.warning })\n return false\n }\n if (\n beforeAfterEqualDate2.value !== ''\n && (isNaN(Number(year2.value))\n || !Number.isSafeInteger(year2.value)\n || Number(year2.value) <= 0\n || isNaN(Number(month2.value))\n || !Number.isSafeInteger(month2.value)\n || Number(month2.value) <= 0\n || isNaN(Number(day2.value))\n || !Number.isSafeInteger(day2.value)\n || Number(day2.value) <= 0)\n ) {\n PvMessage({ message: '请检查原视频发布时间项2的填写是否正确!', type: MessageType.warning })\n return false\n }\n // Check tag\n if (\n moreLessEqualTagNum.value !== ''\n && (isNaN(Number(tagNum.value)) || !Number.isSafeInteger(tagNum.value) || Number(tagNum.value) < 0)\n ) {\n PvMessage({ message: '请检查标签数量项的填写是否正确!', type: MessageType.warning })\n return false\n }\n return true\n}\nconst additionalConstraintBase64 = computed(() => {\n return window.btoa(\n encodeURI(\n JSON.stringify({\n searchContentAndOrNot: searchContentAndOrNot.value,\n exceptContent: exceptContent.value,\n visibleSites: visibleSites.value,\n date1: {\n beforeAfterEqualDate1: beforeAfterEqualDate1.value,\n year1: year1.value,\n month1: month1.value,\n day1: day1.value,\n },\n date2: {\n beforeAfterEqualDate2: beforeAfterEqualDate2.value,\n year2: year2.value,\n month2: month2.value,\n day2: day2.value,\n },\n tag: {\n moreLessEqualTagNum: moreLessEqualTagNum.value,\n tagNum: tagNum.value,\n },\n onlyShowAutotagedVideos: onlyShowAutotagedVideos.value,\n }),\n ),\n )\n})\nfunction search(): void {\n if (!checkSubmitContent())\n return\n const query = { qtype: qtype.value, order: order.value, a: additionalConstraintBase64.value }\n router.push({ path: route.path, query })\n open.value = false\n}\n</script>\n","<template>\n <LayoutDefault>\n <div class=\"p-2 md:p-10 md:m-auto xl:w-9/10 2xl:w-8/10\">\n <div v-if=\"status === 'loading'\">\n <div\n class=\"border-b pb-1\"\n >\n <span class=\"inline-block w-36 rounded-md bg-gray-300 dark:bg-gray-600\"> </span>\n </div>\n <div class=\"p-1 text-xs text-right md:text-sm\">\n {{ t('video.video-list.main-body.tips') }}\n </div>\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <div v-for=\"index in limit\" :key=\"index\" class=\"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800\">\n <div class=\"w-2/5 mr-0.5\">\n <CoverPlaceholder class=\"rounded-md\" />\n </div>\n <div class=\"w-3/5 text-sm pb-1 flex flex-wrap content-between\">\n <div\n class=\"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md w-full bg-gray-400 dark:bg-gray-600\"\n >\n  \n </div>\n <div class=\"flex text-xs h-4 align-middle rounded-md w-2/5 bg-gray-400 dark:bg-gray-600\" />\n </div>\n </div>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"search-result-backimg justify-evenly flex-wrap flex\">\n <div\n v-for=\"index in limit\"\n :key=\"index\"\n class=\"w-12/50 my-2 border border-purple-400 shadow-sm rounded-lg bg-white bg-opacity-50 dark:border-purple-800 dark:bg-gray-900\"\n >\n <CoverPlaceholder class=\"rounded-md\" />\n <div class=\"p-3 text-left text-sm lg:text-base\">\n <div class=\"line-clamp-2 overflow-ellipsis overflow-hidden rounded-md bg-gray-400 dark:bg-gray-600\">\n  \n </div>\n <div class=\"flex text-xs h-4 mt-1 align-middle rounded-md bg-gray-300 dark:bg-gray-600\" />\n </div>\n </div>\n </div>\n </div>\n <div v-else-if=\"status === 'error'\">\n <div>{{ t('video.video-list.main-body.failed.search-failed') }}</div>\n <div>{{ t('video.video-list.main-body.failed.search-failed-reason') + errMsg }}</div>\n </div>\n <div v-else-if=\"status === 'result'\">\n <div\n class=\"border-b pb-1\"\n v-text=\"t('video.video-list.main-body.successful.search-result-count', { count })\"\n />\n <div class=\"p-1 text-xs text-right md:text-sm\">\n {{ t('video.video-list.main-body.tips') }}\n </div>\n <!-- Mobile View -->\n <div v-if=\"screenSizes['<md']\">\n <RouterLink\n v-for=\"video in videos\"\n :key=\"video.item.title\"\n class=\"py-1 flex hover:bg-gray-50 dark:hover:bg-gray-800\"\n :to=\"`/video/${video.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"relative w-2/5 mr-0.5\">\n <Cover :title=\"video.item.title\" :cover-image=\"video.item.coverImage\" class=\"rounded-sm\" />\n <div\n v-if=\"video.clearence === 0\"\n class=\"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color\"\n >\n <div class=\"i-uil:eye-slash text-4xl\" />\n <div class=\"text-lg\">\n {{ t('video.video-list.video.hidden') }}\n </div>\n </div>\n </div>\n <div class=\"flex flex-wrap content-between w-3/5 pb-1 text-sm\">\n <div v-if=\"video.item.partName\" class=\"overflow-hidden w-full\">\n <a class=\"inline-block w-full truncate\">{{ video.item.title }}</a>\n <div class=\"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300\">\n <label class=\"font-semibold\">{{ `P${pageOfVideo(video.item.url)}:` }}</label>{{ video.item.partName }}\n </div>\n </div>\n <a v-else class=\"line-clamp-2 overflow-ellipsis overflow-hidden w-full\">{{ video.item.title }}</a>\n <div class=\"flex text-xs h-4 align-middle\" :title=\"video.item.site\">\n <div>{{ t('video.video-list.video.source-site') }}</div>\n <img class=\"cover h-full\" :src=\"getSiteImage(video.item.site)\" :alt=\"video.item.site\">\n </div>\n </div>\n </RouterLink>\n </div>\n <!-- Desktop View -->\n <div v-else class=\"justify-evenly flex-wrap flex\">\n <div\n v-for=\"video in videos\"\n :key=\"video.item.title\"\n class=\"w-12/50 my-2 border border-purple-300 shadow-sm rounded-lg overflow-hidden bg-white bg-opacity-50 dark:border-gray-700 dark:bg-gray-900\"\n >\n <RouterLink\n :to=\"`/video/${video.id.toHexString()}`\"\n target=\"_blank\"\n >\n <div class=\"relative\">\n <Cover :title=\"video.item.title\" :cover-image=\"video.item.coverImage\" />\n <div\n v-if=\"video.clearence === 0\"\n class=\"absolute flex flex-col justify-center items-center top-0 bottom-0 w-full bg-gray-200 bg-opacity-80 hover:bg-opacity-20 transition-background-color\"\n >\n <div class=\"i-uil:eye-slash text-8xl\" />\n <div class=\"text-2xl\">\n {{ t('video.video-list.video.hidden') }}\n </div>\n </div>\n </div>\n <div class=\"p-3 text-left text-sm lg:text-base\">\n <div v-if=\"video.item.partName\">\n <a class=\"inline-block w-full truncate\" :title=\"video.item.title\">{{ video.item.title }}</a>\n <div\n class=\"text-xs inline-block w-full truncate text-gray-600 dark:text-gray-300\"\n :title=\"video.item.partName\"\n >\n <label class=\"font-semibold\">{{ `P${pageOfVideo(video.item.url)}:` }}</label>{{ video.item.partName }}\n </div>\n </div>\n <a v-else class=\"line-clamp-2 overflow-ellipsis overflow-hidden\" :title=\"video.item.title\">{{\n video.item.title\n }}</a>\n <div class=\"flex text-xs h-4 align-middle\" :title=\"video.item.site\">\n <div>{{ t('video.video-list.video.source-site') }}</div>\n <img class=\"cover\" :src=\"getSiteImage(video.item.site)\" :alt=\"video.item.site\">\n </div>\n </div>\n </RouterLink>\n <!-- Hide Video Button (Admin Only) -->\n <div v-if=\"auth.isAdmin\" class=\"text-right px-2 pb-1 cursor-pointer\">\n <div v-if=\"hideVideoLoading.find(item => item === video.id.toHexString())\">\n 请求中...\n </div>\n <div\n v-else-if=\"hideVideoFailed.find(item => item === video.id.toHexString())\" class=\"text-red transition-color hover:text-purple-600\" @click=\"hideVideo(video.id.toHexString())\"\n >\n 隐藏失败!请点击重试\n </div>\n <div v-else-if=\"video.clearence === 0\">\n 已隐藏\n </div>\n <div v-else class=\"transition-color hover:text-purple-600\" @click=\"hideVideo(video.id.toHexString())\">\n 隐藏\n </div>\n </div>\n </div>\n </div>\n <PvPagination\n :page-count=\"pageCount\"\n :page=\"page\"\n @previous=\"jumpToPreviousPage\"\n @next=\"jumpToNextPage\"\n @change=\"jumpToSelectedPage\"\n />\n </div>\n </div>\n <!-- Advanced Search -->\n <div\n class=\"shadow fixed bottom-20 right-5 bg-gray-50 cursor-pointer p-2 transition-opacity rounded-full dark:bg-gray-800\"\n :title=\"t('video.video-list.advanced-search.name')\"\n @click=\"openAdvancedSearch()\"\n >\n <div class=\"i-uil:file-search-alt text-2xl\" />\n </div>\n <AdvancedSearch v-model:open=\"advancedSearch\" />\n <BackTop />\n </LayoutDefault>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watch, watchEffect } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\nimport CoverPlaceholder from './components/CoverPlaceholder.vue'\nimport Cover from './components/Cover.vue'\nimport PvPagination from '@/ui/components/PvPagination.vue'\nimport AdvancedSearch from '@/video/components/AdvancedSearch.vue'\nimport BackTop from '@/ui/components/BackTop.vue'\nimport { useAuth } from '@/user'\nimport { gql, useQuery, useResult } from '@/graphql'\nimport type { Query, schema } from '@/graphql'\nimport { setSiteTitle } from '@/common/libs/setSiteTitle'\nimport { pageOfVideo } from '@/video/libs/biliHelper'\nimport { backTop } from '@/ui/libs/backTop'\nimport { getSiteImage } from '@/common/libs/imageUrl'\nimport { screenSizes } from '@/css'\nimport { getAdditionalConstraintString } from '@/video/libs/decodeAdditionalConstraint'\nimport { startProgress, stopProgress } from '@/nprogress'\nimport { MessageType, PvMessage } from '@/ui/libs/PvMessage'\n\nconst { t } = useI18n()\nsetSiteTitle(`${t('video.video-list.title')} - PatchyVideo`)\nconst route = useRoute()\nconst router = useRouter()\nconst auth = useAuth()\n\nconst status = ref<'loading' | 'result' | 'error'>()\nconst errMsg = ref('')\nconst count = ref(0)\nconst pageCount = ref(0)\nconst videos = ref<schema.Video[]>([])\n\n/* Precess URL query */\nconst limit = computed(() => {\n return Number(route.query.limit ? (Array.isArray(route.query.limit) ? route.query.limit[0] : route.query.limit) : 20)\n})\nconst offset = computed(() =>\n Number(route.query.page ? (Array.isArray(route.query.page) ? route.query.page[0] : route.query.page) : 0),\n)\nconst page = computed(() => offset.value + 1)\nconst qtype = computed(() =>\n String(route.query.qtype ? (Array.isArray(route.query.qtype) ? route.query.qtype[0] : route.query.qtype) : 'tag'),\n)\nconst order = computed(() =>\n String(\n route.query.order ? (Array.isArray(route.query.order) ? route.query.order[0] : route.query.order) : 'last_modified',\n ),\n)\nconst additionalConstraint = computed(() =>\n String(route.query.a ? (Array.isArray(route.query.a) ? route.query.a[0] : route.query.a) : ''),\n)\n\nconst { result, loading, onError, fetchMore } = useQuery<Query>(\n gql`\n query ($offset: Int!, $limit: Int!, $query: String!, $qtype: String, $order: String!) {\n listVideo(\n para: { offset: $offset, limit: $limit, humanReadableTag: true, query: $query, qtype: $qtype, order: $order }\n ) {\n count\n pageCount\n videos {\n id\n item {\n coverImage\n title\n site\n cid\n partName\n url\n }\n clearence\n }\n }\n }\n `,\n {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: getAdditionalConstraintString(additionalConstraint.value),\n qtype: qtype.value,\n order: order.value,\n },\n {\n notifyOnNetworkStatusChange: true,\n },\n)\nwatchEffect(() => {\n if (loading.value) {\n status.value = 'loading'\n startProgress()\n }\n else {\n status.value = 'result'\n stopProgress()\n }\n})\n\nconst resultData = useResult(result, null, data => data?.listVideo)\nwatchEffect(() => {\n if (resultData.value) {\n count.value = resultData.value.count\n pageCount.value = resultData.value.pageCount\n videos.value = resultData.value.videos.map((item) => { return { ...item } })\n }\n})\nonError((err) => {\n errMsg.value = err.message\n status.value = 'error'\n})\n\n// Refresh query result for URL query change\nconst URLQuery = computed(() => route.query)\nwatch(URLQuery, () => {\n backTop()\n fetchMore({\n variables: {\n offset: offset.value * limit.value,\n limit: limit.value,\n query: getAdditionalConstraintString(additionalConstraint.value),\n qtype: qtype.value,\n order: order.value,\n },\n updateQuery(previousQueryResult, { fetchMoreResult }) {\n if (!fetchMoreResult)\n return previousQueryResult\n return fetchMoreResult\n },\n })\n})\n\n/* Hide Video */\nconst hideVideoLoading = ref<string[]>([])\nconst hideVideoFailed = ref<string[]>([])\nconst hideVideo = async (vid: string) => {\n if (hideVideoFailed.value.find(item => item === vid))\n hideVideoFailed.value.splice(hideVideoFailed.value.findIndex(item => item === vid), 1)\n hideVideoLoading.value.push(vid)\n await fetch('https://patchyvideo.com/be/videos/condemn_video.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({\n vid,\n }),\n credentials: 'include',\n })\n .then(data => data.json())\n .then((res) => {\n // console.log(res)\n if (res.status === 'SUCCEED' && videos.value.find(item => item.id.toHexString() === vid)) {\n videos.value[videos.value.findIndex(item => item.id.toHexString() === vid)].clearence = 0\n }\n else {\n PvMessage({ message: `vid为 ${vid} 的视频隐藏失败,请注意!`, type: MessageType.error })\n hideVideoFailed.value.push(vid)\n throw new Error(res)\n }\n })\n .catch((e) => {\n console.error(e)\n PvMessage({ message: `vid为 ${vid} 的视频隐藏失败,请注意!`, type: MessageType.error })\n hideVideoFailed.value.push(vid)\n })\n if (hideVideoLoading.value.find(item => item === vid))\n hideVideoLoading.value.splice(hideVideoLoading.value.findIndex(item => item === vid), 1)\n}\n\n/* Show advanced search */\nconst advancedSearch = ref(false)\nfunction openAdvancedSearch() {\n advancedSearch.value = true\n}\n\n/* Change the router query to trigger the search function */\nfunction jumpToPreviousPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value - 1\n router.push({ path: route.path, query })\n}\nfunction jumpToNextPage(): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = offset.value + 1\n router.push({ path: route.path, query })\n}\nfunction jumpToSelectedPage(page: number): void {\n const query = JSON.parse(JSON.stringify(route.query))\n query.page = page - 1\n router.push({ path: route.path, query })\n}\n</script>\n"],"names":["route","useRoute","router","useRouter","open","useVModel","props","emit","additionalConstraintUrl","ref","additionalConstraintObject","qtype","qtypeList","searchContentAndOrNot","addsearchContentAndOrNot","exceptContent","addexceptContent","order","orderList","visibleSites","siteList","changeVisibleSites","value","indexOfSite","indexOfAll","beforeAfterEqualList","year1","month1","day1","beforeAfterEqualDate1","watch","newv","year2","month2","day2","beforeAfterEqualDate2","moreLessEqualList","tagNum","moreLessEqualTagNum","onlyShowAutotagedVideos","reset","checkSubmitContent","PvMessage","MessageType","additionalConstraintBase64","computed","search","query","t","useI18n","setSiteTitle","auth","useAuth","status","errMsg","count","pageCount","videos","limit","offset","page","additionalConstraint","result","loading","onError","fetchMore","useQuery","gql","getAdditionalConstraintString","watchEffect","startProgress","stopProgress","resultData","useResult","data","item","err","URLQuery","backTop","previousQueryResult","fetchMoreResult","hideVideoLoading","hideVideoFailed","hideVideo","vid","res","e","advancedSearch","openAdvancedSearch","jumpToPreviousPage","jumpToNextPage","jumpToSelectedPage","page2"],"mappings":"o1GA4OAA,EAAAC,KACAC,EAAAC,KAEAC,EAAAC,GAAAC,EAAA,OAAAC,CAAA,EAGAC,EAAAC,EAAgC,OAAAT,EAAA,MAAA,EAAA,MAAA,QAAAA,EAAA,MAAA,CAAA,EAAAA,EAAA,MAAA,EAAA,GAAAA,EAAA,MAAA,EAAA,EAAA,CAC+D,EAE/FU,EAAAD,EAAmCD,EAAA,QAAA,GAAA,CAE7B,sBAAA,GACyB,cAAA,GACR,aAAA,CAAA,EAAA,EACE,MAAA,CACV,sBAAA,GACkB,MAAA,GAChB,OAAA,GACC,KAAA,EACF,EACR,MAAA,CACO,sBAAA,GACkB,MAAA,GAChB,OAAA,GACC,KAAA,EACF,EACR,IAAA,CACK,oBAAA,GACkB,OAAA,EACb,EACV,wBAAA,EACyB,EAAA,KAAA,MAAA,UAAA,OAAA,KAAAA,EAAA,KAAA,CAAA,CAAA,CAEqC,EAItEG,EAAAF,EAAc,OAAAT,EAAA,MAAA,MAAA,MAAA,QAAAA,EAAA,MAAA,KAAA,EAAAA,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C,EAAA,KAAA,CAAA,EACAuC,EAAA,MAAA,KAAAE,CAAA,EACA,IAAA,MAAAC,CAAA,CACF,CAAA,EAAA,MAAAC,GAAA,CAGA,QAAA,MAAAA,CAAA,EACA5C,EAAA,CAAA,QAAA,QAAA0C,iBAAA,KAAAzC,EAAA,KAAA,CAAA,EACAuC,EAAA,MAAA,KAAAE,CAAA,CAA8B,CAAA,EAElCH,EAAA,MAAA,KAAAN,GAAAA,IAAAS,CAAA,GACEH,EAAA,MAAA,OAAAA,EAAA,MAAA,UAAAN,GAAAA,IAAAS,CAAA,EAAA,CAAA,CAAuF,EAI3FG,EAAA9E,EAAA,EAAA,EACA,SAAA+E,GAAA,CACED,EAAA,MAAA,EAAuB,CAIzB,SAAAE,GAAA,CACE,MAAA1C,EAAA,KAAA,MAAA,KAAA,UAAA/C,EAAA,KAAA,CAAA,EACA+C,EAAA,KAAAY,EAAA,MAAA,EACAzD,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA+C,CAAA,CAAA,CAAuC,CAEzC,SAAA2C,IAAA,CACE,MAAA3C,EAAA,KAAA,MAAA,KAAA,UAAA/C,EAAA,KAAA,CAAA,EACA+C,EAAA,KAAAY,EAAA,MAAA,EACAzD,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA+C,CAAA,CAAA,CAAuC,CAEzC,SAAA4C,EAAAC,EAAA,CACE,MAAA7C,EAAA,KAAA,MAAA,KAAA,UAAA/C,EAAA,KAAA,CAAA,EACA+C,EAAA,KAAA6C,EAAA,EACA1F,EAAA,KAAA,CAAA,KAAAF,EAAA,KAAA,MAAA+C,CAAA,CAAA,CAAuC"} \ No newline at end of file diff --git a/assets/VideoRowPlaceholder.963d45c4.css b/assets/VideoRowPlaceholder.963d45c4.css new file mode 100644 index 0000000000..093dd6d874 --- /dev/null +++ b/assets/VideoRowPlaceholder.963d45c4.css @@ -0,0 +1 @@ +.title .title-text[data-v-ba52a5e2]{display:inline-block;padding-bottom:1px;background-image:linear-gradient(#9ca3af,#9ca3af);background-position:bottom left;background-size:0% 1px;background-repeat:no-repeat;transition:background-size .2s,background-position 0s .2s}.title:hover .title-text[data-v-ba52a5e2]{background-position:bottom right;background-size:100% 1px}.title:hover .title-arrow[data-v-ba52a5e2]{--un-translate-x: 0;opacity:40%} diff --git a/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js b/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js new file mode 100644 index 0000000000..f0bba86303 --- /dev/null +++ b/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js @@ -0,0 +1,2 @@ +import{_ as y}from"./Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js";import{c as k}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{d as g,o as e,g as a,c as i,w as d,e as o,t as c,F as s,h as _,$ as h,j as f,ar as v,as as b,b as u,i as m,ax as p,Q as C,a1 as S}from"./index.72556674.js";import{C as $}from"./CoverPlaceholder.83cb739d.js";/*! PatchyVideo/Platinum by VoileLabs */const V=t=>(v("data-v-ba52a5e2"),t=t(),b(),t),T={class:"title inline-block text-xl"},B=["textContent"],L=V(()=>o("div",{class:"title-arrow i-uil:arrow-right inline-block w-8 h-8 align-top text-gray-600 dark:text-gray-300 transform -translate-x-1 opacity-25 transition-all duration-200"},null,-1)),R=["textContent"],I=["textContent"],N={key:1,class:"w-full text-sm truncate text-gray-600 dark:text-gray-300 font-light"},D=g({__name:"VideoRow",props:{name:null,titleLinksTo:null,count:null,rows:null,videos:null,videoShowTitle:{type:Boolean},videoShowDate:{type:Boolean}},setup(t){return(x,w)=>{var r;const l=f("RouterLink");return e(),a(s,null,[t.titleLinksTo?(e(),i(l,{key:0,to:t.titleLinksTo,target:"_blank"},{default:d(()=>[o("h4",T,[o("span",{class:"title-text",textContent:c(t.name)},null,8,B),L])]),_:1},8,["to"])):(e(),a("h4",{key:1,class:"inline-block text-xl",textContent:c(t.name)},null,8,R)),o("div",{class:"grid mt-2 grid-flow-row gap-4",style:h({gridTemplateColumns:`repeat(${t.count/((r=t.rows)!=null?r:1)}, minmax(0, 1fr))`})},[(e(!0),a(s,null,_(t.videos.slice(0,t.count),n=>(e(),i(l,{key:n.id.toHexString(),to:`/video/${n.id.toHexString()}`,target:"_blank",class:"rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors duration-100"},{default:d(()=>[u(y,{title:n.item.title,"cover-image":n.item.coverImage,class:"rounded-md border border-gray-200 dark:border-gray-800"},null,8,["title","cover-image"]),t.videoShowTitle?(e(),a("a",{key:0,class:"w-full overflow-hidden line-clamp-2 overflow-ellipsis",textContent:c(n.item.title)},null,8,I)):m("",!0),t.videoShowDate?(e(),a("div",N,[(e(),i(p,null,{default:d(()=>[u(k,{date:n.meta.createdAt},null,8,["date"])]),_:2},1024)),C("  ")])):m("",!0)]),_:2},1032,["to"]))),128))],4)],64)}}});const Q=S(D,[["__scopeId","data-v-ba52a5e2"]]),F=o("h4",{class:"text-xl w-64 rounded-md bg-gray-300 dark:bg-gray-700"},"   ",-1),H=o("div",{class:"w-4/5 h-4 mt-1 rounded-md bg-gray-300 dark:bg-gray-700"},"   ",-1),P=o("div",{class:"w-3/5 h-3.5 mt-1 rounded-md bg-gray-300 dark:bg-gray-700"},"   ",-1),q=g({__name:"VideoRowPlaceholder",props:{count:null,rows:null},setup(t){return(x,w)=>{var l;return e(),a(s,null,[F,o("div",{class:"grid mt-2 grid-flow-row gap-4",style:h({gridTemplateColumns:`repeat(${t.count/((l=t.rows)!=null?l:1)}, minmax(0, 1fr))`})},[(e(!0),a(s,null,_(t.count,r=>(e(),a("div",{key:r,class:"rounded-md"},[u($,{class:"rounded-md"}),H,P]))),128))],4)],64)}}});export{Q as V,q as _}; +//# sourceMappingURL=VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js.map diff --git a/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js.map b/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js.map new file mode 100644 index 0000000000..078a955de2 --- /dev/null +++ b/assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js.map @@ -0,0 +1 @@ +{"version":3,"file":"VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/assets/backTop.a4b6f707.js b/assets/backTop.a4b6f707.js new file mode 100644 index 0000000000..6d5e8a27f5 --- /dev/null +++ b/assets/backTop.a4b6f707.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */function n(){const o=document.body.scrollTop||document.documentElement.scrollTop;o>0&&(window.requestAnimationFrame(n),window.scrollTo(0,o-o/5))}export{n as b}; +//# sourceMappingURL=backTop.a4b6f707.js.map diff --git a/assets/backTop.a4b6f707.js.map b/assets/backTop.a4b6f707.js.map new file mode 100644 index 0000000000..065fc2c7a9 --- /dev/null +++ b/assets/backTop.a4b6f707.js.map @@ -0,0 +1 @@ +{"version":3,"file":"backTop.a4b6f707.js","sources":["../../packages/ui/libs/backTop.ts"],"sourcesContent":["export function backTop(): void {\n const top: number = document.body.scrollTop || document.documentElement.scrollTop\n if (top > 0) {\n window.requestAnimationFrame(backTop)\n window.scrollTo(0, top - top / 5)\n }\n}\n"],"names":["backTop","top"],"mappings":"wCAAO,SAASA,GAAgB,CAC9B,MAAMC,EAAc,SAAS,KAAK,WAAa,SAAS,gBAAgB,UACpEA,EAAM,IACR,OAAO,sBAAsBD,CAAO,EACpC,OAAO,SAAS,EAAGC,EAAMA,EAAM,CAAC,EAEpC"} \ No newline at end of file diff --git a/assets/biliHelper.9b20d4b7.js b/assets/biliHelper.9b20d4b7.js new file mode 100644 index 0000000000..dab0a073e9 --- /dev/null +++ b/assets/biliHelper.9b20d4b7.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */function r(e){return Number(new URL(e).searchParams.get("p")||"0")}export{r as p}; +//# sourceMappingURL=biliHelper.9b20d4b7.js.map diff --git a/assets/biliHelper.9b20d4b7.js.map b/assets/biliHelper.9b20d4b7.js.map new file mode 100644 index 0000000000..9efca82260 --- /dev/null +++ b/assets/biliHelper.9b20d4b7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"biliHelper.9b20d4b7.js","sources":["../../packages/video/libs/biliHelper.ts"],"sourcesContent":["export function pageOfVideo(url: string): number {\n return Number(new URL(url).searchParams.get('p') || '0')\n}\n"],"names":["pageOfVideo","url"],"mappings":"wCAAO,SAASA,EAAYC,EAAqB,CACxC,OAAA,OAAO,IAAI,IAAIA,CAAG,EAAE,aAAa,IAAI,GAAG,GAAK,GAAG,CACzD"} \ No newline at end of file diff --git a/assets/decodeAdditionalConstraint.da833011.js b/assets/decodeAdditionalConstraint.da833011.js new file mode 100644 index 0000000000..6808b944da --- /dev/null +++ b/assets/decodeAdditionalConstraint.da833011.js @@ -0,0 +1,2 @@ +import{a1 as d,o as l,g as f,v as g}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const u={},c={class:"inline-flex items-center px-4 py-1 border border-purple-300 font-medium rounded-lg light:hover:text-gray-700 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700"};function b(o,e){return l(),f("button",c,[g(o.$slots,"default")])}const A=d(u,[["render",b]]);function $(o){var n,i,s;if(o==="")return"";const e=JSON.parse(decodeURI(window.atob(o)));let t="";if(e.searchContentAndOrNot&&(t+=`${e.searchContentAndOrNot} `),e.exceptContent){const a=e.exceptContent.trim().split(" ");for(let r=0;r<a.length;r++)t+=`NOT ${a[r]} `}if((n=e.visibleSites)!=null&&n.length&&e.visibleSites.findIndex(a=>a==="")===-1){let a="";for(let r=0;r<e.visibleSites.length;r++)a+=`site:${e.visibleSites[r]} `;t+=`ANY(${a}) `}return((i=e.date1)==null?void 0:i.beforeAfterEqualDate1)&&e.date1.beforeAfterEqualDate1!==""&&(t+=`date:${e.date1.beforeAfterEqualDate1}${e.date1.year1}-${e.date1.month1}-${e.date1.day1} `),((s=e.date2)==null?void 0:s.beforeAfterEqualDate2)&&e.date2.beforeAfterEqualDate2!==""&&(t+=`date:${e.date2.beforeAfterEqualDate2}${e.date2.year2}-${e.date2.month2}-${e.date2.day2} `),e.tag.moreLessEqualTagNum&&e.tag.moreLessEqualTagNum!==""&&(t+=`tags:${e.tag.moreLessEqualTagNum}${e.tag.tagNum} `),e.onlyShowAutotagedVideos&&!e.searchContentAndOrNot.test(/Auto_tagged/)&&!e.exceptContent.test(/Auto_tagged/)&&(t+="Auto_tagged "),t}export{A as P,$ as g}; +//# sourceMappingURL=decodeAdditionalConstraint.da833011.js.map diff --git a/assets/decodeAdditionalConstraint.da833011.js.map b/assets/decodeAdditionalConstraint.da833011.js.map new file mode 100644 index 0000000000..4764d3d996 --- /dev/null +++ b/assets/decodeAdditionalConstraint.da833011.js.map @@ -0,0 +1 @@ +{"version":3,"file":"decodeAdditionalConstraint.da833011.js","sources":["../../packages/ui/components/PvBotton.vue","../../packages/video/libs/decodeAdditionalConstraint.ts"],"sourcesContent":["<template>\n <button\n class=\"inline-flex items-center px-4 py-1 border border-purple-300 font-medium rounded-lg light:hover:text-gray-700 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700\"\n >\n <slot />\n </button>\n</template>\n\n<script lang=\"ts\" setup></script>\n","export function getAdditionalConstraintString(additionalConstraintUrl: string): string {\n if (additionalConstraintUrl === '')\n return ''\n const additionalConstraintObject = JSON.parse(decodeURI(window.atob(additionalConstraintUrl)))\n let additionalConstraintString = ''\n if (additionalConstraintObject.searchContentAndOrNot)\n additionalConstraintString += `${additionalConstraintObject.searchContentAndOrNot} `\n if (additionalConstraintObject.exceptContent) {\n const exceptContentArray = additionalConstraintObject.exceptContent.trim().split(' ')\n for (let i = 0; i < exceptContentArray.length; i++)\n additionalConstraintString += `NOT ${exceptContentArray[i]} `\n }\n if (additionalConstraintObject.visibleSites?.length) {\n if (additionalConstraintObject.visibleSites.findIndex((item: string) => item === '') === -1) {\n let sites = ''\n for (let i = 0; i < additionalConstraintObject.visibleSites.length; i++)\n sites += `site:${additionalConstraintObject.visibleSites[i]} `\n\n additionalConstraintString += `ANY(${sites}) `\n }\n }\n if (\n additionalConstraintObject.date1?.beforeAfterEqualDate1\n && additionalConstraintObject.date1.beforeAfterEqualDate1 !== ''\n ) {\n additionalConstraintString\n += `date:${\n additionalConstraintObject.date1.beforeAfterEqualDate1\n }${additionalConstraintObject.date1.year1\n }-${\n additionalConstraintObject.date1.month1\n }-${\n additionalConstraintObject.date1.day1\n } `\n }\n if (\n additionalConstraintObject.date2?.beforeAfterEqualDate2\n && additionalConstraintObject.date2.beforeAfterEqualDate2 !== ''\n ) {\n additionalConstraintString\n += `date:${\n additionalConstraintObject.date2.beforeAfterEqualDate2\n }${additionalConstraintObject.date2.year2\n }-${\n additionalConstraintObject.date2.month2\n }-${\n additionalConstraintObject.date2.day2\n } `\n }\n if (additionalConstraintObject.tag.moreLessEqualTagNum && additionalConstraintObject.tag.moreLessEqualTagNum !== '') {\n additionalConstraintString\n += `tags:${additionalConstraintObject.tag.moreLessEqualTagNum}${additionalConstraintObject.tag.tagNum} `\n }\n if (\n additionalConstraintObject.onlyShowAutotagedVideos\n && !additionalConstraintObject.searchContentAndOrNot.test(/Auto_tagged/)\n && !additionalConstraintObject.exceptContent.test(/Auto_tagged/)\n )\n additionalConstraintString += 'Auto_tagged '\n\n return additionalConstraintString\n}\n"],"names":["_sfc_render","_ctx","_cache","getAdditionalConstraintString","additionalConstraintUrl","additionalConstraintObject","additionalConstraintString","exceptContentArray","i","_a","item","sites","_b","_c"],"mappings":"uSACE,SAAAA,EAAAC,EAAAC,EAAA,8ECDK,SAASC,EAA8BC,EAAyC,WACrF,GAAIA,IAA4B,GACvB,MAAA,GACH,MAAAC,EAA6B,KAAK,MAAM,UAAU,OAAO,KAAKD,CAAuB,CAAC,CAAC,EAC7F,IAAIE,EAA6B,GAGjC,GAFID,EAA2B,wBAC7BC,GAA8B,GAAGD,EAA2B,0BAC1DA,EAA2B,cAAe,CAC5C,MAAME,EAAqBF,EAA2B,cAAc,KAAK,EAAE,MAAM,GAAG,EACpF,QAASG,EAAI,EAAGA,EAAID,EAAmB,OAAQC,IAC7CF,GAA8B,OAAOC,EAAmBC,KAC5D,CACI,IAAAC,EAAAJ,EAA2B,eAA3B,MAAAI,EAAyC,QACvCJ,EAA2B,aAAa,UAAWK,GAAiBA,IAAS,EAAE,IAAM,GAAI,CAC3F,IAAIC,EAAQ,GACZ,QAASH,EAAI,EAAGA,EAAIH,EAA2B,aAAa,OAAQG,IACzDG,GAAA,QAAQN,EAA2B,aAAaG,MAE3DF,GAA8B,OAAOK,KACvC,CAEF,QACEC,EAAAP,EAA2B,QAA3B,YAAAO,EAAkC,wBAC/BP,EAA2B,MAAM,wBAA0B,KAGzDC,GAAA,QACFD,EAA2B,MAAM,wBAC9BA,EAA2B,MAAM,SAEpCA,EAA2B,MAAM,UAEjCA,EAA2B,MAAM,WAIpCQ,EAAAR,EAA2B,QAA3B,YAAAQ,EAAkC,wBAC/BR,EAA2B,MAAM,wBAA0B,KAGzDC,GAAA,QACFD,EAA2B,MAAM,wBAC9BA,EAA2B,MAAM,SAEpCA,EAA2B,MAAM,UAEjCA,EAA2B,MAAM,SAGlCA,EAA2B,IAAI,qBAAuBA,EAA2B,IAAI,sBAAwB,KAC/GC,GACK,QAAQD,EAA2B,IAAI,sBAAsBA,EAA2B,IAAI,WAGjGA,EAA2B,yBACxB,CAACA,EAA2B,sBAAsB,KAAK,aAAa,GACpE,CAACA,EAA2B,cAAc,KAAK,aAAa,IAEjCC,GAAA,gBAEzBA,CACT"} \ No newline at end of file diff --git a/assets/en-US.9ae2a7be.js b/assets/en-US.9ae2a7be.js new file mode 100644 index 0000000000..094a4d69fa --- /dev/null +++ b/assets/en-US.9ae2a7be.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */var e={_info:{name:"English"},common:{"nav-top":{"main-menu":{home:"Home",video:"Video",list:"Playlist","discuss-board":"Forum",leaderboard:"Leaderboard",wiki:"Wiki"},"user-operation":{postvideo:"Post Video",tag:"Edit Tags"},admin:{admin:"Admin","who-am-I":"My Role","super-admin":"Admin"},settings:{settings:"Settings",darkmode:"Darkmode",lang:"Language"},user:{"my-message":"My message",login:"Login",logout:"Logout",userprofile:"Profile",confirming:"Logging in..."}},footer:{"user-number":"PatchyVideo is currently servicing {users} users just like you!",wiki:"Wiki",status:"Status","bl-account":"Bilibili",joinus:"Join Us",code:"Codes",repositories:"Repositories","feedback-issue":"Feedback",contact:"Contact",license:"License",sponsor:"Donate"}},darkmode:{system:"Follow system settings",light:"Light",dark:"Dark"},"error-pages":{N404:{title:"Page not found"}},home:{home:{title:"PatchyVideo",hello:"Hello world",components:{"query-video":{"default-title":"Latest Uploads"}}},list:{favorites:"Playlist"}},locales:{"change-lang-reload-hint":"Some changes are only visible after reloading, do you wish to reload now?"},main:{"browser-offline":"Connection not avaliable, please check you internet settings","reload-prompt":{tips:"New contents avaliable, please reload the page to see them",reload:"Reload",dismiss:"Dismiss"}},playlist:{playlist:{collapse:"Collapse",expand:"Expand",info:{"video-count":"{count} videos",rating:"Rate: {rating}","edit-date":"Last edited on {date}"}},"playlist-list":{title:"Playlist","main-body":{loading:{searching:"Searching..."},failed:{"load-failed":"Failure","load-failed-reason":"Reason:"},successful:{"load-result-count":"{count} playlists found"}},playlist:{"playlist-count":"{count} videos"},"advanced-search":{name:"Advanced search"}}},leaderboard:{title:"Leaderboard",loading:"Loading......",failed:{"load-failed":"Failure","load-failed-reason":"Reason:"},"tag-contributions":{name:"Tag contributions","edit-time":"Total {count} edits","date-range":{all:"All of history","last-month":"Last month","last-week":"Last week","last-day":"Last day"}}},search:{"search-result":{title:"Result - ","search-keywords":"Result - ",order:{"last-modified":"Last modified","video-oldest":"Oldest"},video:{tab:"Video","main-body":{loading:{searching:"Searching......"},failed:{"search-failed":"Search failed","search-failed-reason":"Reason:"},successful:{"search-no-result":"No match found","search-result-count":"Total {count} video(s)"}},video:{hidden:"Hidden","source-site":"Source:"},"visible-sites":{all:"All",home:"Domestic site",abroad:"Foreign site"}},playlist:{tab:"Playlist","main-body":{loading:{searching:"Searching..."},failed:{"search-failed":"Search failed","search-failed-reason":"Reason:"},successful:{"search-no-result":"No result","search-result-count":"{count} video(s) found"}},playlist:{"playlist-count":"{count} playlist(s) found"}}},"search-page":{title:"Search",search:"Search"},"auto-complete":{search:"Search",loading:"Loading...","loading-nothing":"Nothing to recommend","loading-failed":"Autocomplete unavailable","hot-tags":"Hot tags"}},ui:{"back-top":{"back-top":"Back to top"},"pv-select":{select:"Choose"},"pv-pagination":{alert:"Please enter a valid number of page","page-next":"Next page","page-previous":"Previous page","page-number":"Page{count}/{total}"}},user:{login:{title:"Login",username:{placeholder:"Username or email","username-status":{fine:" ",tip:"Username or email is required",msg:"Length must be between 2 to 32"}},password:{placeholder:"Password","password-status":{fine:" ",tip:"Password",msg:"Length must be between 6 to 64"}},"login-status":{ready:"Login",loading:"Logging in...",failed:"Check your username or password",error:"Unknown error"},signup:"Sign up","forget-password":"Forget Password?"},signup:{title:"Sign up",username:{placeholder:"Username","username-status":{fine:" ",tip:"Username is required",msg:"Length must be between 2 to 32",res:"Username taken",err:"Unknown error"}},password:{placeholder:"Password","password-status":{fine:" ",tip:"Password is required",msg:"Length must be between 6 to 64"}},password2:{placeholder:"Repeat password","password2-status":{fine:" ",tip:"Repeat password!",msg:"Passwords mismatch"}},email:{placeholder:"Email","email-status":{fine:" ",tip:"Email is required",msg:"Not a valid email",res:"Email already in use",err:"Unknown error"}},"signup-status":{ready:"Sign up",loading:"Please wait...",error:"Unknown error"},login:"Login"},"forget-password":{title:"Reset password",email:{placeholder:"Please enter the e-mail bound to your account","email-status":{fine:" ",tip:"Please enter your e-mail address",msg:"Please enter the e-mail address with the right form"}},"send-status":{ready:"send e-mail",loading:"Sending the e-mail for resetting password...",successful:"The e-mail has successfully sent to the address, please check it",failed:"This e-mail address is not bound to an account",error:"Unknown error"},login:"Return to login page"},"reset-password":{title:"Reset your password",password:{placeholder:"Set your new password","password-status":{fine:" ",tip:"The length of your new password should between 4 to 64 characters",msg:"Please enter your new password"}},password2:{placeholder:"Please repeat your new password","password2-status":{fine:" ",tip:"Please enter your new password again",msg:"The password entered was not identical"}},"reset-status":{ready:"Reset",loading:"Resetting your password...",error:"Invalid password"}},redirect:{title:"Redirecting...",from:{"sign-up":"Sign up","reset-password":"Reset your password"},log:"{fromWord} succeed, {count} seconds to home page",jump:"Home page"},"user-page":{title:"User page","not-logged-in":"User not logged in. Click here to log in",avatar:{current:"Your current avatar",requirement:"Choose an image to upload. The size of the avatar would be 256*256 pixels","choose-image":"Choose an image",upload:"Upload"},username:{placeholder:"Change your username",modify:"Submit",cancel:"Cancel"},description:{placeholder:"Change your description",save:"Save"},password:{title:"Change your password",old:"Previous password",oldPlaceholder:"Please enter your previous password",new:"New password",newPlaceholder:"Please enter your new password",confirmNew:"Confirm your new password",confirmNewPlaceholder:"Please enter the new password again",commit:"Commit",reset:"Reset"},email:{title:"Bind your e-mail",placeholder:"Please enter your e-mail address",bind:"Bind",boundEmail:"E-mail bound to your account",none:"None"}},profile:{title:"Userpage for {username} - PatchyVideo",nothing:"Nothing here",info:{"created-at":"Registed at {date}"}},avatar:{alt:"Avatar of {alt}"},input:{placeholder:"Please enter the contents here"}},"user-notification":{notification:{title:"Messages","slide-open":"Open the slide of messages",reply:"Reply to me",at:"Mentioned me (under construction)",system:"System notifications"},"notification-system":{title:"System notifications","mark-all-as-read":"Mark all as read",loading:"Now loading","no-message":"No notification avaliable",fold:"Fold",unfold:"Unfold"},"notification-reply":{title:"Reply to me","mark-all-as-read":"Mark all as read",loading:"Now loading","no-message":"No reply avaliable",reply:"{username} replied to you: "},"notification-navtop":{title:"Messages and notifications",loading:"Now loading",error:"Loading failed. Reason: {error}","no-message":"No new message","show-all":"Show all replies",reply:"{username} replied to you",system:"System notification: {title}"}},video:{video:{"repost-type":{official:"Original release",official_repost:"Official repost",authorized_repost:"Authorized repost",repost:"Voluntary repost",authorized_translation:"Authorized translation",translation:"Voluntary translation",unknown:"Other"},uploader:"Uploader","no-desc":"<No description provided>",edit:{"hide-video":{title:"Hide the video",saving:"Saving",succeed:"Successfully saved",failed:"Saving failed. Reason: {error}"},"edit-video":"Edit video","edit-tags":"Edit tags"},"related-video":"Videos related"},player:{settings:{default:{name:"Video setting",items:{quality:"Quality",audio:"Sync audio",canvas:"Canvas","canvas-transparent":"Canvas transparent"}},quality:{name:"Quality",items:{"current-codec":"current codec:{container} ({codec})"}}},iframe:{enable:"Switch to embedded player",failed:"Fail to load the embedded player"},"play-stream":{source:{video:{"source-changing":"Switching to source player","source-nothing":"No video source available"},audio:{"source-nothing":"No audio source available"}},container:{flv:{"player-loading":"Loading flv.js","player-loaded":"Player loaded","player-failed":"Failed to create flv player","parse-creating":"Creating flv parser","source-loading":"Reading video source"},webm_dash:{},mp4_dash:{"player-loaded":"Player loaded","source-loading":"Reading video source"},failed:"Failed to read video source"}},video:{"info-fetching":"Obtaining video information",URL:"The URL of the video: {url}","address-parsing":"Resolving original video address",profile:{"known-source":"source:{source},format:{format},quality:{quality}","unknown-source":"unknown source:{source}"}}},"edit-video":{title:"Edit video - {videoname}",profile:{profile:"Profile",title:"Title",ranks:{0:"Only visible to administrators",1:"Visible to login users",2:"Visible to uploader and administrators",3:"Visible to all",rank:"Video visibility"},edit:{saving:"Saving - Edit video - {videoname}",saved:"Successfully saved! - Edit video - {videoname}",failed:"Fail to save - Edit video - {videoname}"}}},"video-list":{title:"Video list","main-body":{loading:{searching:"Searching..."},failed:{"search-failed":"Failure","search-failed-reason":"Reason:"},successful:{"search-no-result":"No playlist found","search-result-count":"{count} playlists found"},tips:"*Videos with sensitive tags are hidden"},video:{hidden:"Hidden","source-site":"Source site:"},"advanced-search":{name:"Advanced search"}}},others:{WIP1:"The function",WIP2:"{WIP1} is under construction, please wait warmly"},image:{cover:{alt:"The cover of {title}"}},tag:{author:{title:"Profile of {tagname}",type:{individual:"Individual",group:"Group"}}},settings:{settings:"Settings",general:{"quick-settings":{name:"Quick settings"},general:{name:"General"},language:{desc:"If you wish to help translate pages of PatchyVideo, you are welcomed to join us!","browser-default":"Preferred browsers: {preferred}"},name:"General"},appearance:{theme:{name:"Theme",color:{name:"Theme color"}},name:"Appearance"},account:{profile:{name:"User profile",username:{label:"Username",desc:"You may change you username anytime. Usernames may not be identical to another."},description:{label:"Description"}},loading:"Loading user profiles",name:"Account"},loading:"Loading the settings"}},a=e._info,o=e.common,s=e.darkmode,i=e.home,t=e.locales,r=e.main,n=e.playlist,l=e.leaderboard,d=e.search,u=e.ui,c=e.user,g=e.video,p=e.others,m=e.image,h=e.tag,f=e.settings;export{a as _info,o as common,s as darkmode,e as default,i as home,m as image,l as leaderboard,t as locales,r as main,p as others,n as playlist,d as search,f as settings,h as tag,u as ui,c as user,g as video}; +//# sourceMappingURL=en-US.9ae2a7be.js.map diff --git a/assets/en-US.9ae2a7be.js.map b/assets/en-US.9ae2a7be.js.map new file mode 100644 index 0000000000..8e74c83d71 --- /dev/null +++ b/assets/en-US.9ae2a7be.js.map @@ -0,0 +1 @@ +{"version":3,"file":"en-US.9ae2a7be.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/assets/flv.44cf4476.js b/assets/flv.44cf4476.js new file mode 100644 index 0000000000..ac3d0cb9a8 --- /dev/null +++ b/assets/flv.44cf4476.js @@ -0,0 +1,10 @@ +import{af as Ae}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */function be(de,me){for(var oe=0;oe<me.length;oe++){const re=me[oe];if(typeof re!="string"&&!Array.isArray(re)){for(const z in re)if(z!=="default"&&!(z in de)){const he=Object.getOwnPropertyDescriptor(re,z);he&&Object.defineProperty(de,z,he.get?he:{enumerable:!0,get:()=>re[z]})}}}return Object.freeze(Object.defineProperty(de,Symbol.toStringTag,{value:"Module"}))}var xe={exports:{}};(function(de,me){(function(re,z){de.exports=z()})(self,function(){return function(){var oe={"./node_modules/es6-promise/dist/es6-promise.js":function(I,L,m){/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version v4.2.8+1e68dce6 + */(function(y,h){I.exports=h()})(this,function(){function y(A){var O=typeof A;return A!==null&&(O==="object"||O==="function")}function h(A){return typeof A=="function"}var u=void 0;Array.isArray?u=Array.isArray:u=function(A){return Object.prototype.toString.call(A)==="[object Array]"};var o=u,d=0,r=void 0,a=void 0,l=function(O,T){g[d]=O,g[d+1]=T,d+=2,d===2&&(a?a(S):b())};function i(A){a=A}function t(A){l=A}var s=typeof window<"u"?window:void 0,n=s||{},e=n.MutationObserver||n.WebKitMutationObserver,f=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",_=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function c(){return function(){return process.nextTick(S)}}function v(){return typeof r<"u"?function(){r(S)}:p()}function E(){var A=0,O=new e(S),T=document.createTextNode("");return O.observe(T,{characterData:!0}),function(){T.data=A=++A%2}}function x(){var A=new MessageChannel;return A.port1.onmessage=S,function(){return A.port2.postMessage(0)}}function p(){var A=setTimeout;return function(){return A(S,1)}}var g=new Array(1e3);function S(){for(var A=0;A<d;A+=2){var O=g[A],T=g[A+1];O(T),g[A]=void 0,g[A+1]=void 0}d=0}function R(){try{var A=Function("return this")().require("vertx");return r=A.runOnLoop||A.runOnContext,v()}catch{return p()}}var b=void 0;f?b=c():e?b=E():_?b=x():s===void 0?b=R():b=p();function C(A,O){var T=this,D=new this.constructor(w);D[U]===void 0&&le(D);var F=T._state;if(F){var j=arguments[F-1];l(function(){return ae(F,D,j,T._result)})}else Z(T,D,A,O);return D}function B(A){var O=this;if(A&&typeof A=="object"&&A.constructor===O)return A;var T=new O(w);return Q(T,A),T}var U=Math.random().toString(36).substring(2);function w(){}var k=void 0,K=1,P=2;function N(){return new TypeError("You cannot resolve a promise with itself")}function q(){return new TypeError("A promises callback cannot return that same promise.")}function G(A,O,T,D){try{A.call(O,T,D)}catch(F){return F}}function W(A,O,T){l(function(D){var F=!1,j=G(T,O,function(H){F||(F=!0,O!==H?Q(D,H):V(D,H))},function(H){F||(F=!0,M(D,H))},"Settle: "+(D._label||" unknown promise"));!F&&j&&(F=!0,M(D,j))},A)}function J(A,O){O._state===K?V(A,O._result):O._state===P?M(A,O._result):Z(O,void 0,function(T){return Q(A,T)},function(T){return M(A,T)})}function X(A,O,T){O.constructor===A.constructor&&T===C&&O.constructor.resolve===B?J(A,O):T===void 0?V(A,O):h(T)?W(A,O,T):V(A,O)}function Q(A,O){if(A===O)M(A,N());else if(y(O)){var T=void 0;try{T=O.then}catch(D){M(A,D);return}X(A,O,T)}else V(A,O)}function ie(A){A._onerror&&A._onerror(A._result),ee(A)}function V(A,O){A._state===k&&(A._result=O,A._state=K,A._subscribers.length!==0&&l(ee,A))}function M(A,O){A._state===k&&(A._state=P,A._result=O,l(ie,A))}function Z(A,O,T,D){var F=A._subscribers,j=F.length;A._onerror=null,F[j]=O,F[j+K]=T,F[j+P]=D,j===0&&A._state&&l(ee,A)}function ee(A){var O=A._subscribers,T=A._state;if(O.length!==0){for(var D=void 0,F=void 0,j=A._result,H=0;H<O.length;H+=3)D=O[H],F=O[H+T],D?ae(T,D,F,j):F(j);A._subscribers.length=0}}function ae(A,O,T,D){var F=h(T),j=void 0,H=void 0,fe=!0;if(F){try{j=T(D)}catch(pe){fe=!1,H=pe}if(O===j){M(O,q());return}}else j=D;O._state!==k||(F&&fe?Q(O,j):fe===!1?M(O,H):A===K?V(O,j):A===P&&M(O,j))}function ne(A,O){try{O(function(D){Q(A,D)},function(D){M(A,D)})}catch(T){M(A,T)}}var se=0;function ue(){return se++}function le(A){A[U]=se++,A._state=void 0,A._result=void 0,A._subscribers=[]}function te(){return new Error("Array Methods must be provided an Array")}var $=function(){function A(O,T){this._instanceConstructor=O,this.promise=new O(w),this.promise[U]||le(this.promise),o(T)?(this.length=T.length,this._remaining=T.length,this._result=new Array(this.length),this.length===0?V(this.promise,this._result):(this.length=this.length||0,this._enumerate(T),this._remaining===0&&V(this.promise,this._result))):M(this.promise,te())}return A.prototype._enumerate=function(T){for(var D=0;this._state===k&&D<T.length;D++)this._eachEntry(T[D],D)},A.prototype._eachEntry=function(T,D){var F=this._instanceConstructor,j=F.resolve;if(j===B){var H=void 0,fe=void 0,pe=!1;try{H=T.then}catch(ge){pe=!0,fe=ge}if(H===C&&T._state!==k)this._settledAt(T._state,D,T._result);else if(typeof H!="function")this._remaining--,this._result[D]=T;else if(F===Y){var ve=new F(w);pe?M(ve,fe):X(ve,T,H),this._willSettleAt(ve,D)}else this._willSettleAt(new F(function(ge){return ge(T)}),D)}else this._willSettleAt(j(T),D)},A.prototype._settledAt=function(T,D,F){var j=this.promise;j._state===k&&(this._remaining--,T===P?M(j,F):this._result[D]=F),this._remaining===0&&V(j,this._result)},A.prototype._willSettleAt=function(T,D){var F=this;Z(T,void 0,function(j){return F._settledAt(K,D,j)},function(j){return F._settledAt(P,D,j)})},A}();function _e(A){return new $(this,A).promise}function ce(A){var O=this;return o(A)?new O(function(T,D){for(var F=A.length,j=0;j<F;j++)O.resolve(A[j]).then(T,D)}):new O(function(T,D){return D(new TypeError("You must pass an array to race."))})}function Ee(A){var O=this,T=new O(w);return M(T,A),T}function ye(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Se(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Y=function(){function A(O){this[U]=ue(),this._result=this._state=void 0,this._subscribers=[],w!==O&&(typeof O!="function"&&ye(),this instanceof A?ne(this,O):Se())}return A.prototype.catch=function(T){return this.then(null,T)},A.prototype.finally=function(T){var D=this,F=D.constructor;return h(T)?D.then(function(j){return F.resolve(T()).then(function(){return j})},function(j){return F.resolve(T()).then(function(){throw j})}):D.then(T,T)},A}();Y.prototype.then=C,Y.all=_e,Y.race=ce,Y.resolve=B,Y.reject=Ee,Y._setScheduler=i,Y._setAsap=t,Y._asap=l;function Le(){var A=void 0;if(typeof m.g<"u")A=m.g;else if(typeof self<"u")A=self;else try{A=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var O=A.Promise;if(O){var T=null;try{T=Object.prototype.toString.call(O.resolve())}catch{}if(T==="[object Promise]"&&!O.cast)return}A.Promise=Y}return Y.polyfill=Le,Y.Promise=Y,Y})},"./node_modules/events/events.js":function(I){var L=typeof Reflect=="object"?Reflect:null,m=L&&typeof L.apply=="function"?L.apply:function(p,g,S){return Function.prototype.apply.call(p,g,S)},y;L&&typeof L.ownKeys=="function"?y=L.ownKeys:Object.getOwnPropertySymbols?y=function(p){return Object.getOwnPropertyNames(p).concat(Object.getOwnPropertySymbols(p))}:y=function(p){return Object.getOwnPropertyNames(p)};function h(x){console&&console.warn&&console.warn(x)}var u=Number.isNaN||function(p){return p!==p};function o(){o.init.call(this)}I.exports=o,I.exports.once=c,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var d=10;function r(x){if(typeof x!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof x)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return d},set:function(x){if(typeof x!="number"||x<0||u(x))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+x+".");d=x}}),o.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(p){if(typeof p!="number"||p<0||u(p))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+p+".");return this._maxListeners=p,this};function a(x){return x._maxListeners===void 0?o.defaultMaxListeners:x._maxListeners}o.prototype.getMaxListeners=function(){return a(this)},o.prototype.emit=function(p){for(var g=[],S=1;S<arguments.length;S++)g.push(arguments[S]);var R=p==="error",b=this._events;if(b!==void 0)R=R&&b.error===void 0;else if(!R)return!1;if(R){var C;if(g.length>0&&(C=g[0]),C instanceof Error)throw C;var B=new Error("Unhandled error."+(C?" ("+C.message+")":""));throw B.context=C,B}var U=b[p];if(U===void 0)return!1;if(typeof U=="function")m(U,this,g);else for(var w=U.length,k=e(U,w),S=0;S<w;++S)m(k[S],this,g);return!0};function l(x,p,g,S){var R,b,C;if(r(g),b=x._events,b===void 0?(b=x._events=Object.create(null),x._eventsCount=0):(b.newListener!==void 0&&(x.emit("newListener",p,g.listener?g.listener:g),b=x._events),C=b[p]),C===void 0)C=b[p]=g,++x._eventsCount;else if(typeof C=="function"?C=b[p]=S?[g,C]:[C,g]:S?C.unshift(g):C.push(g),R=a(x),R>0&&C.length>R&&!C.warned){C.warned=!0;var B=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(p)+" listeners added. Use emitter.setMaxListeners() to increase limit");B.name="MaxListenersExceededWarning",B.emitter=x,B.type=p,B.count=C.length,h(B)}return x}o.prototype.addListener=function(p,g){return l(this,p,g,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(p,g){return l(this,p,g,!0)};function i(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function t(x,p,g){var S={fired:!1,wrapFn:void 0,target:x,type:p,listener:g},R=i.bind(S);return R.listener=g,S.wrapFn=R,R}o.prototype.once=function(p,g){return r(g),this.on(p,t(this,p,g)),this},o.prototype.prependOnceListener=function(p,g){return r(g),this.prependListener(p,t(this,p,g)),this},o.prototype.removeListener=function(p,g){var S,R,b,C,B;if(r(g),R=this._events,R===void 0)return this;if(S=R[p],S===void 0)return this;if(S===g||S.listener===g)--this._eventsCount===0?this._events=Object.create(null):(delete R[p],R.removeListener&&this.emit("removeListener",p,S.listener||g));else if(typeof S!="function"){for(b=-1,C=S.length-1;C>=0;C--)if(S[C]===g||S[C].listener===g){B=S[C].listener,b=C;break}if(b<0)return this;b===0?S.shift():f(S,b),S.length===1&&(R[p]=S[0]),R.removeListener!==void 0&&this.emit("removeListener",p,B||g)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(p){var g,S,R;if(S=this._events,S===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[p]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete S[p]),this;if(arguments.length===0){var b=Object.keys(S),C;for(R=0;R<b.length;++R)C=b[R],C!=="removeListener"&&this.removeAllListeners(C);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(g=S[p],typeof g=="function")this.removeListener(p,g);else if(g!==void 0)for(R=g.length-1;R>=0;R--)this.removeListener(p,g[R]);return this};function s(x,p,g){var S=x._events;if(S===void 0)return[];var R=S[p];return R===void 0?[]:typeof R=="function"?g?[R.listener||R]:[R]:g?_(R):e(R,R.length)}o.prototype.listeners=function(p){return s(this,p,!0)},o.prototype.rawListeners=function(p){return s(this,p,!1)},o.listenerCount=function(x,p){return typeof x.listenerCount=="function"?x.listenerCount(p):n.call(x,p)},o.prototype.listenerCount=n;function n(x){var p=this._events;if(p!==void 0){var g=p[x];if(typeof g=="function")return 1;if(g!==void 0)return g.length}return 0}o.prototype.eventNames=function(){return this._eventsCount>0?y(this._events):[]};function e(x,p){for(var g=new Array(p),S=0;S<p;++S)g[S]=x[S];return g}function f(x,p){for(;p+1<x.length;p++)x[p]=x[p+1];x.pop()}function _(x){for(var p=new Array(x.length),g=0;g<p.length;++g)p[g]=x[g].listener||x[g];return p}function c(x,p){return new Promise(function(g,S){function R(C){x.removeListener(p,b),S(C)}function b(){typeof x.removeListener=="function"&&x.removeListener("error",R),g([].slice.call(arguments))}E(x,p,b,{once:!0}),p!=="error"&&v(x,R,{once:!0})})}function v(x,p,g){typeof x.on=="function"&&E(x,"error",p,g)}function E(x,p,g,S){if(typeof x.on=="function")S.once?x.once(p,g):x.on(p,g);else if(typeof x.addEventListener=="function")x.addEventListener(p,function R(b){S.once&&x.removeEventListener(p,R),g(b)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof x)}},"./node_modules/webworkify-webpack/index.js":function(I,L,m){function y(i){var t={};function s(e){if(t[e])return t[e].exports;var f=t[e]={i:e,l:!1,exports:{}};return i[e].call(f.exports,f,f.exports,s),f.l=!0,f.exports}s.m=i,s.c=t,s.i=function(e){return e},s.d=function(e,f,_){s.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:_})},s.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},s.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(f,"a",f),f},s.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},s.p="/",s.oe=function(e){throw console.error(e),e};var n=s(s.s=ENTRY_MODULE);return n.default||n}var h="[\\.|\\-|\\+|\\w|/|@]+",u="\\(\\s*(/\\*.*?\\*/)?\\s*.*?("+h+").*?\\)";function o(i){return(i+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function d(i){return!isNaN(1*i)}function r(i,t,s){var n={};n[s]=[];var e=t.toString(),f=e.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);if(!f)return n;for(var _=f[1],c=new RegExp("(\\\\n|\\W)"+o(_)+u,"g"),v;v=c.exec(e);)v[3]!=="dll-reference"&&n[s].push(v[3]);for(c=new RegExp("\\("+o(_)+'\\("(dll-reference\\s('+h+'))"\\)\\)'+u,"g");v=c.exec(e);)i[v[2]]||(n[s].push(v[1]),i[v[2]]=m(v[1]).m),n[v[2]]=n[v[2]]||[],n[v[2]].push(v[4]);for(var E=Object.keys(n),x=0;x<E.length;x++)for(var p=0;p<n[E[x]].length;p++)d(n[E[x]][p])&&(n[E[x]][p]=1*n[E[x]][p]);return n}function a(i){var t=Object.keys(i);return t.reduce(function(s,n){return s||i[n].length>0},!1)}function l(i,t){for(var s={main:[t]},n={main:[]},e={main:{}};a(s);)for(var f=Object.keys(s),_=0;_<f.length;_++){var c=f[_],v=s[c],E=v.pop();if(e[c]=e[c]||{},!(e[c][E]||!i[c][E])){e[c][E]=!0,n[c]=n[c]||[],n[c].push(E);for(var x=r(i,i[c][E],c),p=Object.keys(x),g=0;g<p.length;g++)s[p[g]]=s[p[g]]||[],s[p[g]]=s[p[g]].concat(x[p[g]])}}return n}I.exports=function(i,t){t=t||{};var s={main:m.m},n=t.all?{main:Object.keys(s.main)}:l(s,i),e="";Object.keys(n).filter(function(E){return E!=="main"}).forEach(function(E){for(var x=0;n[E][x];)x++;n[E].push(x),s[E][x]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",e=e+"var "+E+" = ("+y.toString().replace("ENTRY_MODULE",JSON.stringify(x))+")({"+n[E].map(function(p){return""+JSON.stringify(p)+": "+s[E][p].toString()}).join(",")+`}); +`}),e=e+"new (("+y.toString().replace("ENTRY_MODULE",JSON.stringify(i))+")({"+n.main.map(function(E){return""+JSON.stringify(E)+": "+s.main[E].toString()}).join(",")+"}))(self);";var f=new window.Blob([e],{type:"text/javascript"});if(t.bare)return f;var _=window.URL||window.webkitURL||window.mozURL||window.msURL,c=_.createObjectURL(f),v=new window.Worker(c);return v.objectURL=c,v}},"./src/config.js":function(I,L,m){m.r(L),m.d(L,{defaultConfig:function(){return y},createDefaultConfig:function(){return h}});var y={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function h(){return Object.assign({},y)}},"./src/core/features.js":function(I,L,m){m.r(L);var y=m("./src/io/io-controller.js"),h=m("./src/config.js"),u=function(){function o(){}return o.supportMSEH264Playback=function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')},o.supportNetworkStreamIO=function(){var d=new y.default({},(0,h.createDefaultConfig)()),r=d.loaderType;return d.destroy(),r=="fetch-stream-loader"||r=="xhr-moz-chunked-loader"},o.getNetworkLoaderTypeName=function(){var d=new y.default({},(0,h.createDefaultConfig)()),r=d.loaderType;return d.destroy(),r},o.supportNativeMediaPlayback=function(d){o.videoElement==null&&(o.videoElement=window.document.createElement("video"));var r=o.videoElement.canPlayType(d);return r==="probably"||r=="maybe"},o.getFeatureList=function(){var d={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return d.mseFlvPlayback=o.supportMSEH264Playback(),d.networkStreamIO=o.supportNetworkStreamIO(),d.networkLoaderName=o.getNetworkLoaderTypeName(),d.mseLiveFlvPlayback=d.mseFlvPlayback&&d.networkStreamIO,d.nativeMP4H264Playback=o.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),d.nativeWebmVP8Playback=o.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),d.nativeWebmVP9Playback=o.supportNativeMediaPlayback('video/webm; codecs="vp9"'),d},o}();L.default=u},"./src/core/media-info.js":function(I,L,m){m.r(L);var y=function(){function h(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return h.prototype.isComplete=function(){var u=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,o=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&u&&o},h.prototype.isSeekable=function(){return this.hasKeyframesIndex===!0},h.prototype.getNearestKeyframe=function(u){if(this.keyframesIndex==null)return null;var o=this.keyframesIndex,d=this._search(o.times,u);return{index:d,milliseconds:o.times[d],fileposition:o.filepositions[d]}},h.prototype._search=function(u,o){var d=0,r=u.length-1,a=0,l=0,i=r;for(o<u[0]&&(d=0,l=i+1);l<=i;)if(a=l+Math.floor((i-l)/2),a===r||o>=u[a]&&o<u[a+1]){d=a;break}else u[a]<o?l=a+1:i=a-1;return d},h}();L.default=y},"./src/core/media-segment-info.js":function(I,L,m){m.r(L),m.d(L,{SampleInfo:function(){return y},MediaSegmentInfo:function(){return h},IDRSampleList:function(){return u},MediaSegmentInfoList:function(){return o}});var y=function(){function d(r,a,l,i,t){this.dts=r,this.pts=a,this.duration=l,this.originalDts=i,this.isSyncPoint=t,this.fileposition=null}return d}(),h=function(){function d(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return d.prototype.appendSyncPoint=function(r){r.isSyncPoint=!0,this.syncPoints.push(r)},d}(),u=function(){function d(){this._list=[]}return d.prototype.clear=function(){this._list=[]},d.prototype.appendArray=function(r){var a=this._list;r.length!==0&&(a.length>0&&r[0].originalDts<a[a.length-1].originalDts&&this.clear(),Array.prototype.push.apply(a,r))},d.prototype.getLastSyncPointBeforeDts=function(r){if(this._list.length==0)return null;var a=this._list,l=0,i=a.length-1,t=0,s=0,n=i;for(r<a[0].dts&&(l=0,s=n+1);s<=n;)if(t=s+Math.floor((n-s)/2),t===i||r>=a[t].dts&&r<a[t+1].dts){l=t;break}else a[t].dts<r?s=t+1:n=t-1;return this._list[l]},d}(),o=function(){function d(r){this._type=r,this._list=[],this._lastAppendLocation=-1}return Object.defineProperty(d.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"length",{get:function(){return this._list.length},enumerable:!1,configurable:!0}),d.prototype.isEmpty=function(){return this._list.length===0},d.prototype.clear=function(){this._list=[],this._lastAppendLocation=-1},d.prototype._searchNearestSegmentBefore=function(r){var a=this._list;if(a.length===0)return-2;var l=a.length-1,i=0,t=0,s=l,n=0;if(r<a[0].originalBeginDts)return n=-1,n;for(;t<=s;)if(i=t+Math.floor((s-t)/2),i===l||r>a[i].lastSample.originalDts&&r<a[i+1].originalBeginDts){n=i;break}else a[i].originalBeginDts<r?t=i+1:s=i-1;return n},d.prototype._searchNearestSegmentAfter=function(r){return this._searchNearestSegmentBefore(r)+1},d.prototype.append=function(r){var a=this._list,l=r,i=this._lastAppendLocation,t=0;i!==-1&&i<a.length&&l.originalBeginDts>=a[i].lastSample.originalDts&&(i===a.length-1||i<a.length-1&&l.originalBeginDts<a[i+1].originalBeginDts)?t=i+1:a.length>0&&(t=this._searchNearestSegmentBefore(l.originalBeginDts)+1),this._lastAppendLocation=t,this._list.splice(t,0,l)},d.prototype.getLastSegmentBefore=function(r){var a=this._searchNearestSegmentBefore(r);return a>=0?this._list[a]:null},d.prototype.getLastSampleBefore=function(r){var a=this.getLastSegmentBefore(r);return a!=null?a.lastSample:null},d.prototype.getLastSyncPointBefore=function(r){for(var a=this._searchNearestSegmentBefore(r),l=this._list[a].syncPoints;l.length===0&&a>0;)a--,l=this._list[a].syncPoints;return l.length>0?l[l.length-1]:null},d}()},"./src/core/mse-controller.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./src/utils/logger.js"),o=m("./src/utils/browser.js"),d=m("./src/core/mse-events.js"),r=m("./src/core/media-segment-info.js"),a=m("./src/utils/exception.js"),l=function(){function i(t){this.TAG="MSEController",this._config=t,this._emitter=new(h()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new r.IDRSampleList}return i.prototype.destroy=function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null},i.prototype.on=function(t,s){this._emitter.addListener(t,s)},i.prototype.off=function(t,s){this._emitter.removeListener(t,s)},i.prototype.attachMediaElement=function(t){if(this._mediaSource)throw new a.IllegalStateException("MediaSource has been attached to an HTMLMediaElement!");var s=this._mediaSource=new window.MediaSource;s.addEventListener("sourceopen",this.e.onSourceOpen),s.addEventListener("sourceended",this.e.onSourceEnded),s.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=t,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),t.src=this._mediaSourceObjectURL},i.prototype.detachMediaElement=function(){if(this._mediaSource){var t=this._mediaSource;for(var s in this._sourceBuffers){var n=this._pendingSegments[s];n.splice(0,n.length),this._pendingSegments[s]=null,this._pendingRemoveRanges[s]=null,this._lastInitSegments[s]=null;var e=this._sourceBuffers[s];if(e){if(t.readyState!=="closed"){try{t.removeSourceBuffer(e)}catch(f){u.default.e(this.TAG,f.message)}e.removeEventListener("error",this.e.onSourceBufferError),e.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[s]=null,this._sourceBuffers[s]=null}}if(t.readyState==="open")try{t.endOfStream()}catch(f){u.default.e(this.TAG,f.message)}t.removeEventListener("sourceopen",this.e.onSourceOpen),t.removeEventListener("sourceended",this.e.onSourceEnded),t.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)},i.prototype.appendInitSegment=function(t,s){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(t),this._pendingSegments[t.type].push(t);return}var n=t,e=""+n.container;n.codec&&n.codec.length>0&&(e+=";codecs="+n.codec);var f=!1;if(u.default.v(this.TAG,"Received Initialization Segment, mimeType: "+e),this._lastInitSegments[n.type]=n,e!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])u.default.v(this.TAG,"Notice: "+n.type+" mimeType changed, origin: "+this._mimeTypes[n.type]+", target: "+e);else{f=!0;try{var _=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(e);_.addEventListener("error",this.e.onSourceBufferError),_.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(c){u.default.e(this.TAG,c.message),this._emitter.emit(d.default.ERROR,{code:c.code,msg:c.message});return}}this._mimeTypes[n.type]=e}s||this._pendingSegments[n.type].push(n),f||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),o.default.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())},i.prototype.appendMediaSegment=function(t){var s=t;this._pendingSegments[s.type].push(s),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var n=this._sourceBuffers[s.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()},i.prototype.seek=function(t){for(var s in this._sourceBuffers)if(!!this._sourceBuffers[s]){var n=this._sourceBuffers[s];if(this._mediaSource.readyState==="open")try{n.abort()}catch(E){u.default.e(this.TAG,E.message)}this._idrList.clear();var e=this._pendingSegments[s];if(e.splice(0,e.length),this._mediaSource.readyState!=="closed"){for(var f=0;f<n.buffered.length;f++){var _=n.buffered.start(f),c=n.buffered.end(f);this._pendingRemoveRanges[s].push({start:_,end:c})}if(n.updating||this._doRemoveRanges(),o.default.safari){var v=this._lastInitSegments[s];v&&(this._pendingSegments[s].push(v),n.updating||this._doAppendSegments())}}}},i.prototype.endOfStream=function(){var t=this._mediaSource,s=this._sourceBuffers;if(!t||t.readyState!=="open"){t&&t.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}s.video&&s.video.updating||s.audio&&s.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,t.endOfStream())},i.prototype.getNearestKeyframe=function(t){return this._idrList.getLastSyncPointBeforeDts(t)},i.prototype._needCleanupSourceBuffer=function(){if(!this._config.autoCleanupSourceBuffer)return!1;var t=this._mediaElement.currentTime;for(var s in this._sourceBuffers){var n=this._sourceBuffers[s];if(n){var e=n.buffered;if(e.length>=1&&t-e.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1},i.prototype._doCleanupSourceBuffer=function(){var t=this._mediaElement.currentTime;for(var s in this._sourceBuffers){var n=this._sourceBuffers[s];if(n){for(var e=n.buffered,f=!1,_=0;_<e.length;_++){var c=e.start(_),v=e.end(_);if(c<=t&&t<v+3){if(t-c>=this._config.autoCleanupMaxBackwardDuration){f=!0;var E=t-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[s].push({start:c,end:E})}}else v<t&&(f=!0,this._pendingRemoveRanges[s].push({start:c,end:v}))}f&&!n.updating&&this._doRemoveRanges()}}},i.prototype._updateMediaSourceDuration=function(){var t=this._sourceBuffers;if(!(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")&&!(t.video&&t.video.updating||t.audio&&t.audio.updating)){var s=this._mediaSource.duration,n=this._pendingMediaDuration;n>0&&(isNaN(s)||n>s)&&(u.default.v(this.TAG,"Update MediaSource duration from "+s+" to "+n),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},i.prototype._doRemoveRanges=function(){for(var t in this._pendingRemoveRanges)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating))for(var s=this._sourceBuffers[t],n=this._pendingRemoveRanges[t];n.length&&!s.updating;){var e=n.shift();s.remove(e.start,e.end)}},i.prototype._doAppendSegments=function(){var t=this._pendingSegments;for(var s in t)if(!(!this._sourceBuffers[s]||this._sourceBuffers[s].updating)&&t[s].length>0){var n=t[s].shift();if(n.timestampOffset){var e=this._sourceBuffers[s].timestampOffset,f=n.timestampOffset/1e3,_=Math.abs(e-f);_>.1&&(u.default.v(this.TAG,"Update MPEG audio timestampOffset from "+e+" to "+f),this._sourceBuffers[s].timestampOffset=f),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[s].appendBuffer(n.data),this._isBufferFull=!1,s==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(c){this._pendingSegments[s].unshift(n),c.code===22?(this._isBufferFull||this._emitter.emit(d.default.BUFFER_FULL),this._isBufferFull=!0):(u.default.e(this.TAG,c.message),this._emitter.emit(d.default.ERROR,{code:c.code,msg:c.message}))}}},i.prototype._onSourceOpen=function(){if(u.default.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var t=this._pendingSourceBufferInit;t.length;){var s=t.shift();this.appendInitSegment(s,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(d.default.SOURCE_OPEN)},i.prototype._onSourceEnded=function(){u.default.v(this.TAG,"MediaSource onSourceEnded")},i.prototype._onSourceClose=function(){u.default.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))},i.prototype._hasPendingSegments=function(){var t=this._pendingSegments;return t.video.length>0||t.audio.length>0},i.prototype._hasPendingRemoveRanges=function(){var t=this._pendingRemoveRanges;return t.video.length>0||t.audio.length>0},i.prototype._onSourceBufferUpdateEnd=function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(d.default.UPDATE_END)},i.prototype._onSourceBufferError=function(t){u.default.e(this.TAG,"SourceBuffer Error: "+t)},i}();L.default=l},"./src/core/mse-events.js":function(I,L,m){m.r(L);var y={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};L.default=y},"./src/core/transmuxer.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./node_modules/webworkify-webpack/index.js"),o=m.n(u),d=m("./src/utils/logger.js"),r=m("./src/utils/logging-control.js"),a=m("./src/core/transmuxing-controller.js"),l=m("./src/core/transmuxing-events.js"),i=m("./src/core/media-info.js"),t=function(){function s(n,e){if(this.TAG="Transmuxer",this._emitter=new(h()),e.enableWorker&&typeof Worker<"u")try{this._worker=o()("./src/core/transmuxing-worker.js"),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[n,e]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},r.default.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:r.default.getConfig()})}catch{d.default.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new a.default(n,e)}else this._controller=new a.default(n,e);if(this._controller){var f=this._controller;f.on(l.default.IO_ERROR,this._onIOError.bind(this)),f.on(l.default.DEMUX_ERROR,this._onDemuxError.bind(this)),f.on(l.default.INIT_SEGMENT,this._onInitSegment.bind(this)),f.on(l.default.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),f.on(l.default.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),f.on(l.default.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),f.on(l.default.MEDIA_INFO,this._onMediaInfo.bind(this)),f.on(l.default.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),f.on(l.default.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),f.on(l.default.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),f.on(l.default.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return s.prototype.destroy=function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),r.default.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null},s.prototype.on=function(n,e){this._emitter.addListener(n,e)},s.prototype.off=function(n,e){this._emitter.removeListener(n,e)},s.prototype.hasWorker=function(){return this._worker!=null},s.prototype.open=function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()},s.prototype.close=function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()},s.prototype.seek=function(n){this._worker?this._worker.postMessage({cmd:"seek",param:n}):this._controller.seek(n)},s.prototype.pause=function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()},s.prototype.resume=function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()},s.prototype._onInitSegment=function(n,e){var f=this;Promise.resolve().then(function(){f._emitter.emit(l.default.INIT_SEGMENT,n,e)})},s.prototype._onMediaSegment=function(n,e){var f=this;Promise.resolve().then(function(){f._emitter.emit(l.default.MEDIA_SEGMENT,n,e)})},s.prototype._onLoadingComplete=function(){var n=this;Promise.resolve().then(function(){n._emitter.emit(l.default.LOADING_COMPLETE)})},s.prototype._onRecoveredEarlyEof=function(){var n=this;Promise.resolve().then(function(){n._emitter.emit(l.default.RECOVERED_EARLY_EOF)})},s.prototype._onMediaInfo=function(n){var e=this;Promise.resolve().then(function(){e._emitter.emit(l.default.MEDIA_INFO,n)})},s.prototype._onMetaDataArrived=function(n){var e=this;Promise.resolve().then(function(){e._emitter.emit(l.default.METADATA_ARRIVED,n)})},s.prototype._onScriptDataArrived=function(n){var e=this;Promise.resolve().then(function(){e._emitter.emit(l.default.SCRIPTDATA_ARRIVED,n)})},s.prototype._onStatisticsInfo=function(n){var e=this;Promise.resolve().then(function(){e._emitter.emit(l.default.STATISTICS_INFO,n)})},s.prototype._onIOError=function(n,e){var f=this;Promise.resolve().then(function(){f._emitter.emit(l.default.IO_ERROR,n,e)})},s.prototype._onDemuxError=function(n,e){var f=this;Promise.resolve().then(function(){f._emitter.emit(l.default.DEMUX_ERROR,n,e)})},s.prototype._onRecommendSeekpoint=function(n){var e=this;Promise.resolve().then(function(){e._emitter.emit(l.default.RECOMMEND_SEEKPOINT,n)})},s.prototype._onLoggingConfigChanged=function(n){this._worker&&this._worker.postMessage({cmd:"logging_config",param:n})},s.prototype._onWorkerMessage=function(n){var e=n.data,f=e.data;if(e.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(e.msg){case l.default.INIT_SEGMENT:case l.default.MEDIA_SEGMENT:this._emitter.emit(e.msg,f.type,f.data);break;case l.default.LOADING_COMPLETE:case l.default.RECOVERED_EARLY_EOF:this._emitter.emit(e.msg);break;case l.default.MEDIA_INFO:Object.setPrototypeOf(f,i.default.prototype),this._emitter.emit(e.msg,f);break;case l.default.METADATA_ARRIVED:case l.default.SCRIPTDATA_ARRIVED:case l.default.STATISTICS_INFO:this._emitter.emit(e.msg,f);break;case l.default.IO_ERROR:case l.default.DEMUX_ERROR:this._emitter.emit(e.msg,f.type,f.info);break;case l.default.RECOMMEND_SEEKPOINT:this._emitter.emit(e.msg,f);break;case"logcat_callback":d.default.emitter.emit("log",f.type,f.logcat);break}},s}();L.default=t},"./src/core/transmuxing-controller.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./src/utils/logger.js"),o=m("./src/utils/browser.js"),d=m("./src/core/media-info.js"),r=m("./src/demux/flv-demuxer.js"),a=m("./src/remux/mp4-remuxer.js"),l=m("./src/demux/demux-errors.js"),i=m("./src/io/io-controller.js"),t=m("./src/core/transmuxing-events.js"),s=function(){function n(e,f){this.TAG="TransmuxingController",this._emitter=new(h()),this._config=f,e.segments||(e.segments=[{duration:e.duration,filesize:e.filesize,url:e.url}]),typeof e.cors!="boolean"&&(e.cors=!0),typeof e.withCredentials!="boolean"&&(e.withCredentials=!1),this._mediaDataSource=e,this._currentSegmentIndex=0;var _=0;this._mediaDataSource.segments.forEach(function(c){c.timestampBase=_,_+=c.duration,c.cors=e.cors,c.withCredentials=e.withCredentials,f.referrerPolicy&&(c.referrerPolicy=f.referrerPolicy)}),!isNaN(_)&&this._mediaDataSource.duration!==_&&(this._mediaDataSource.duration=_),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return n.prototype.destroy=function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null},n.prototype.on=function(e,f){this._emitter.addListener(e,f)},n.prototype.off=function(e,f){this._emitter.removeListener(e,f)},n.prototype.start=function(){this._loadSegment(0),this._enableStatisticsReporter()},n.prototype._loadSegment=function(e,f){this._currentSegmentIndex=e;var _=this._mediaDataSource.segments[e],c=this._ioctl=new i.default(_,this._config,e);c.onError=this._onIOException.bind(this),c.onSeeked=this._onIOSeeked.bind(this),c.onComplete=this._onIOComplete.bind(this),c.onRedirect=this._onIORedirect.bind(this),c.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),f?this._demuxer.bindDataSource(this._ioctl):c.onDataArrival=this._onInitChunkArrival.bind(this),c.open(f)},n.prototype.stop=function(){this._internalAbort(),this._disableStatisticsReporter()},n.prototype._internalAbort=function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)},n.prototype.pause=function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())},n.prototype.resume=function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())},n.prototype.seek=function(e){if(!(this._mediaInfo==null||!this._mediaInfo.isSeekable())){var f=this._searchSegmentIndexContains(e);if(f===this._currentSegmentIndex){var _=this._mediaInfo.segments[f];if(_==null)this._pendingSeekTime=e;else{var c=_.getNearestKeyframe(e);this._remuxer.seek(c.milliseconds),this._ioctl.seek(c.fileposition),this._pendingResolveSeekPoint=c.milliseconds}}else{var v=this._mediaInfo.segments[f];if(v==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(f);else{var c=v.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[f].timestampBase,this._loadSegment(f,c.fileposition),this._pendingResolveSeekPoint=c.milliseconds,this._reportSegmentMediaInfo(f)}}this._enableStatisticsReporter()}},n.prototype._searchSegmentIndexContains=function(e){for(var f=this._mediaDataSource.segments,_=f.length-1,c=0;c<f.length;c++)if(e<f[c].timestampBase){_=c-1;break}return _},n.prototype._onInitChunkArrival=function(e,f){var _=this,c=null,v=0;if(f>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,v=this._demuxer.parseChunks(e,f);else if((c=r.default.probe(e)).match){this._demuxer=new r.default(c,this._config),this._remuxer||(this._remuxer=new a.default(this._config));var E=this._mediaDataSource;E.duration!=null&&!isNaN(E.duration)&&(this._demuxer.overridedDuration=E.duration),typeof E.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=E.hasAudio),typeof E.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=E.hasVideo),this._demuxer.timestampBase=E.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),v=this._demuxer.parseChunks(e,f)}else c=null,u.default.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){_._internalAbort()}),this._emitter.emit(t.default.DEMUX_ERROR,l.default.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),v=0;return v},n.prototype._onMediaInfo=function(e){var f=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,d.default.prototype));var _=Object.assign({},e);Object.setPrototypeOf(_,d.default.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=_,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var c=f._pendingSeekTime;f._pendingSeekTime=null,f.seek(c)})},n.prototype._onMetaDataArrived=function(e){this._emitter.emit(t.default.METADATA_ARRIVED,e)},n.prototype._onScriptDataArrived=function(e){this._emitter.emit(t.default.SCRIPTDATA_ARRIVED,e)},n.prototype._onIOSeeked=function(){this._remuxer.insertDiscontinuity()},n.prototype._onIOComplete=function(e){var f=e,_=f+1;_<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(_)):(this._remuxer.flushStashedSamples(),this._emitter.emit(t.default.LOADING_COMPLETE),this._disableStatisticsReporter())},n.prototype._onIORedirect=function(e){var f=this._ioctl.extraData;this._mediaDataSource.segments[f].redirectedURL=e},n.prototype._onIORecoveredEarlyEof=function(){this._emitter.emit(t.default.RECOVERED_EARLY_EOF)},n.prototype._onIOException=function(e,f){u.default.e(this.TAG,"IOException: type = "+e+", code = "+f.code+", msg = "+f.msg),this._emitter.emit(t.default.IO_ERROR,e,f),this._disableStatisticsReporter()},n.prototype._onDemuxException=function(e,f){u.default.e(this.TAG,"DemuxException: type = "+e+", info = "+f),this._emitter.emit(t.default.DEMUX_ERROR,e,f)},n.prototype._onRemuxerInitSegmentArrival=function(e,f){this._emitter.emit(t.default.INIT_SEGMENT,e,f)},n.prototype._onRemuxerMediaSegmentArrival=function(e,f){if(this._pendingSeekTime==null&&(this._emitter.emit(t.default.MEDIA_SEGMENT,e,f),this._pendingResolveSeekPoint!=null&&e==="video")){var _=f.info.syncPoints,c=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,o.default.safari&&_.length>0&&_[0].originalDts===c&&(c=_[0].pts),this._emitter.emit(t.default.RECOMMEND_SEEKPOINT,c)}},n.prototype._enableStatisticsReporter=function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))},n.prototype._disableStatisticsReporter=function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)},n.prototype._reportSegmentMediaInfo=function(e){var f=this._mediaInfo.segments[e],_=Object.assign({},f);_.duration=this._mediaInfo.duration,_.segmentCount=this._mediaInfo.segmentCount,delete _.segments,delete _.keyframesIndex,this._emitter.emit(t.default.MEDIA_INFO,_)},n.prototype._reportStatisticsInfo=function(){var e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(t.default.STATISTICS_INFO,e)},n}();L.default=s},"./src/core/transmuxing-events.js":function(I,L,m){m.r(L);var y={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"};L.default=y},"./src/core/transmuxing-worker.js":function(I,L,m){m.r(L);var y=m("./src/utils/logging-control.js"),h=m("./src/utils/polyfill.js"),u=m("./src/core/transmuxing-controller.js"),o=m("./src/core/transmuxing-events.js"),d=function(r){var a=null,l=p.bind(this);h.default.install(),r.addEventListener("message",function(g){switch(g.data.cmd){case"init":a=new u.default(g.data.param[0],g.data.param[1]),a.on(o.default.IO_ERROR,v.bind(this)),a.on(o.default.DEMUX_ERROR,E.bind(this)),a.on(o.default.INIT_SEGMENT,i.bind(this)),a.on(o.default.MEDIA_SEGMENT,t.bind(this)),a.on(o.default.LOADING_COMPLETE,s.bind(this)),a.on(o.default.RECOVERED_EARLY_EOF,n.bind(this)),a.on(o.default.MEDIA_INFO,e.bind(this)),a.on(o.default.METADATA_ARRIVED,f.bind(this)),a.on(o.default.SCRIPTDATA_ARRIVED,_.bind(this)),a.on(o.default.STATISTICS_INFO,c.bind(this)),a.on(o.default.RECOMMEND_SEEKPOINT,x.bind(this));break;case"destroy":a&&(a.destroy(),a=null),r.postMessage({msg:"destroyed"});break;case"start":a.start();break;case"stop":a.stop();break;case"seek":a.seek(g.data.param);break;case"pause":a.pause();break;case"resume":a.resume();break;case"logging_config":{var S=g.data.param;y.default.applyConfig(S),S.enableCallback===!0?y.default.addLogListener(l):y.default.removeLogListener(l);break}}});function i(g,S){var R={msg:o.default.INIT_SEGMENT,data:{type:g,data:S}};r.postMessage(R,[S.data])}function t(g,S){var R={msg:o.default.MEDIA_SEGMENT,data:{type:g,data:S}};r.postMessage(R,[S.data])}function s(){var g={msg:o.default.LOADING_COMPLETE};r.postMessage(g)}function n(){var g={msg:o.default.RECOVERED_EARLY_EOF};r.postMessage(g)}function e(g){var S={msg:o.default.MEDIA_INFO,data:g};r.postMessage(S)}function f(g){var S={msg:o.default.METADATA_ARRIVED,data:g};r.postMessage(S)}function _(g){var S={msg:o.default.SCRIPTDATA_ARRIVED,data:g};r.postMessage(S)}function c(g){var S={msg:o.default.STATISTICS_INFO,data:g};r.postMessage(S)}function v(g,S){r.postMessage({msg:o.default.IO_ERROR,data:{type:g,info:S}})}function E(g,S){r.postMessage({msg:o.default.DEMUX_ERROR,data:{type:g,info:S}})}function x(g){r.postMessage({msg:o.default.RECOMMEND_SEEKPOINT,data:g})}function p(g,S){r.postMessage({msg:"logcat_callback",data:{type:g,logcat:S}})}};L.default=d},"./src/demux/amf-parser.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/utils/utf8-conv.js"),u=m("./src/utils/exception.js"),o=function(){var r=new ArrayBuffer(2);return new DataView(r).setInt16(0,256,!0),new Int16Array(r)[0]===256}(),d=function(){function r(){}return r.parseScriptData=function(a,l,i){var t={};try{var s=r.parseValue(a,l,i),n=r.parseValue(a,l+s.size,i-s.size);t[s.data]=n.data}catch(e){y.default.e("AMF",e.toString())}return t},r.parseObject=function(a,l,i){if(i<3)throw new u.IllegalStateException("Data not enough when parse ScriptDataObject");var t=r.parseString(a,l,i),s=r.parseValue(a,l+t.size,i-t.size),n=s.objectEnd;return{data:{name:t.data,value:s.data},size:t.size+s.size,objectEnd:n}},r.parseVariable=function(a,l,i){return r.parseObject(a,l,i)},r.parseString=function(a,l,i){if(i<2)throw new u.IllegalStateException("Data not enough when parse String");var t=new DataView(a,l,i),s=t.getUint16(0,!o),n;return s>0?n=(0,h.default)(new Uint8Array(a,l+2,s)):n="",{data:n,size:2+s}},r.parseLongString=function(a,l,i){if(i<4)throw new u.IllegalStateException("Data not enough when parse LongString");var t=new DataView(a,l,i),s=t.getUint32(0,!o),n;return s>0?n=(0,h.default)(new Uint8Array(a,l+4,s)):n="",{data:n,size:4+s}},r.parseDate=function(a,l,i){if(i<10)throw new u.IllegalStateException("Data size invalid when parse Date");var t=new DataView(a,l,i),s=t.getFloat64(0,!o),n=t.getInt16(8,!o);return s+=n*60*1e3,{data:new Date(s),size:8+2}},r.parseValue=function(a,l,i){if(i<1)throw new u.IllegalStateException("Data not enough when parse Value");var t=new DataView(a,l,i),s=1,n=t.getUint8(0),e,f=!1;try{switch(n){case 0:e=t.getFloat64(1,!o),s+=8;break;case 1:{var _=t.getUint8(1);e=!!_,s+=1;break}case 2:{var c=r.parseString(a,l+1,i-1);e=c.data,s+=c.size;break}case 3:{e={};var v=0;for((t.getUint32(i-4,!o)&16777215)===9&&(v=3);s<i-4;){var E=r.parseObject(a,l+s,i-s-v);if(E.objectEnd)break;e[E.data.name]=E.data.value,s+=E.size}if(s<=i-3){var x=t.getUint32(s-1,!o)&16777215;x===9&&(s+=3)}break}case 8:{e={},s+=4;var v=0;for((t.getUint32(i-4,!o)&16777215)===9&&(v=3);s<i-8;){var p=r.parseVariable(a,l+s,i-s-v);if(p.objectEnd)break;e[p.data.name]=p.data.value,s+=p.size}if(s<=i-3){var x=t.getUint32(s-1,!o)&16777215;x===9&&(s+=3)}break}case 9:e=void 0,s=1,f=!0;break;case 10:{e=[];var g=t.getUint32(1,!o);s+=4;for(var S=0;S<g;S++){var R=r.parseValue(a,l+s,i-s);e.push(R.data),s+=R.size}break}case 11:{var b=r.parseDate(a,l+1,i-1);e=b.data,s+=b.size;break}case 12:{var C=r.parseString(a,l+1,i-1);e=C.data,s+=C.size;break}default:s=i,y.default.w("AMF","Unsupported AMF value type "+n)}}catch(B){y.default.e("AMF",B.toString())}return{data:e,size:s,objectEnd:f}},r}();L.default=d},"./src/demux/demux-errors.js":function(I,L,m){m.r(L);var y={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"};L.default=y},"./src/demux/exp-golomb.js":function(I,L,m){m.r(L);var y=m("./src/utils/exception.js"),h=function(){function u(o){this.TAG="ExpGolomb",this._buffer=o,this._buffer_index=0,this._total_bytes=o.byteLength,this._total_bits=o.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return u.prototype.destroy=function(){this._buffer=null},u.prototype._fillCurrentWord=function(){var o=this._total_bytes-this._buffer_index;if(o<=0)throw new y.IllegalStateException("ExpGolomb: _fillCurrentWord() but no bytes available");var d=Math.min(4,o),r=new Uint8Array(4);r.set(this._buffer.subarray(this._buffer_index,this._buffer_index+d)),this._current_word=new DataView(r.buffer).getUint32(0,!1),this._buffer_index+=d,this._current_word_bits_left=d*8},u.prototype.readBits=function(o){if(o>32)throw new y.InvalidArgumentException("ExpGolomb: readBits() bits exceeded max 32bits!");if(o<=this._current_word_bits_left){var d=this._current_word>>>32-o;return this._current_word<<=o,this._current_word_bits_left-=o,d}var r=this._current_word_bits_left?this._current_word:0;r=r>>>32-this._current_word_bits_left;var a=o-this._current_word_bits_left;this._fillCurrentWord();var l=Math.min(a,this._current_word_bits_left),i=this._current_word>>>32-l;return this._current_word<<=l,this._current_word_bits_left-=l,r=r<<l|i,r},u.prototype.readBool=function(){return this.readBits(1)===1},u.prototype.readByte=function(){return this.readBits(8)},u.prototype._skipLeadingZero=function(){var o;for(o=0;o<this._current_word_bits_left;o++)if((this._current_word&2147483648>>>o)!==0)return this._current_word<<=o,this._current_word_bits_left-=o,o;return this._fillCurrentWord(),o+this._skipLeadingZero()},u.prototype.readUEG=function(){var o=this._skipLeadingZero();return this.readBits(o+1)-1},u.prototype.readSEG=function(){var o=this.readUEG();return o&1?o+1>>>1:-1*(o>>>1)},u}();L.default=h},"./src/demux/flv-demuxer.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/demux/amf-parser.js"),u=m("./src/demux/sps-parser.js"),o=m("./src/demux/demux-errors.js"),d=m("./src/core/media-info.js"),r=m("./src/utils/exception.js");function a(i,t){return i[t]<<24|i[t+1]<<16|i[t+2]<<8|i[t+3]}var l=function(){function i(t,s){this.TAG="FLVDemuxer",this._config=s,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=t.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=t.hasAudioTrack,this._hasVideo=t.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new d.default,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}return i.prototype.destroy=function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null},i.probe=function(t){var s=new Uint8Array(t),n={match:!1};if(s[0]!==70||s[1]!==76||s[2]!==86||s[3]!==1)return n;var e=(s[4]&4)>>>2!==0,f=(s[4]&1)!==0,_=a(s,5);return _<9?n:{match:!0,consumed:_,dataOffset:_,hasAudioTrack:e,hasVideoTrack:f}},i.prototype.bindDataSource=function(t){return t.onDataArrival=this.parseChunks.bind(this),this},Object.defineProperty(i.prototype,"onTrackMetadata",{get:function(){return this._onTrackMetadata},set:function(t){this._onTrackMetadata=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onMediaInfo",{get:function(){return this._onMediaInfo},set:function(t){this._onMediaInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onMetaDataArrived",{get:function(){return this._onMetaDataArrived},set:function(t){this._onMetaDataArrived=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onScriptDataArrived",{get:function(){return this._onScriptDataArrived},set:function(t){this._onScriptDataArrived=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onError",{get:function(){return this._onError},set:function(t){this._onError=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onDataAvailable",{get:function(){return this._onDataAvailable},set:function(t){this._onDataAvailable=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"timestampBase",{get:function(){return this._timestampBase},set:function(t){this._timestampBase=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"overridedDuration",{get:function(){return this._duration},set:function(t){this._durationOverrided=!0,this._duration=t,this._mediaInfo.duration=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"overridedHasAudio",{set:function(t){this._hasAudioFlagOverrided=!0,this._hasAudio=t,this._mediaInfo.hasAudio=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"overridedHasVideo",{set:function(t){this._hasVideoFlagOverrided=!0,this._hasVideo=t,this._mediaInfo.hasVideo=t},enumerable:!1,configurable:!0}),i.prototype.resetMediaInfo=function(){this._mediaInfo=new d.default},i.prototype._isInitialMetadataDispatched=function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1},i.prototype.parseChunks=function(t,s){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new r.IllegalStateException("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var n=0,e=this._littleEndian;if(s===0)if(t.byteLength>13){var f=i.probe(t);n=f.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,s+n!==this._dataOffset&&y.default.w(this.TAG,"First time parsing but chunk byteStart invalid!");var _=new DataView(t,n),c=_.getUint32(0,!e);c!==0&&y.default.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4}for(;n<t.byteLength;){this._dispatch=!0;var _=new DataView(t,n);if(n+11+4>t.byteLength)break;var v=_.getUint8(0),E=_.getUint32(0,!e)&16777215;if(n+11+E+4>t.byteLength)break;if(v!==8&&v!==9&&v!==18){y.default.w(this.TAG,"Unsupported tag type "+v+", skipped"),n+=11+E+4;continue}var x=_.getUint8(4),p=_.getUint8(5),g=_.getUint8(6),S=_.getUint8(7),R=g|p<<8|x<<16|S<<24,b=_.getUint32(7,!e)&16777215;b!==0&&y.default.w(this.TAG,"Meet tag which has StreamID != 0!");var C=n+11;switch(v){case 8:this._parseAudioData(t,C,E,R);break;case 9:this._parseVideoData(t,C,E,R,s+n);break;case 18:this._parseScriptData(t,C,E);break}var B=_.getUint32(11+E,!e);B!==11+E&&y.default.w(this.TAG,"Invalid PrevTagSize "+B),n+=11+E+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n},i.prototype._parseScriptData=function(t,s,n){var e=h.default.parseScriptData(t,s,n);if(e.hasOwnProperty("onMetaData")){if(e.onMetaData==null||typeof e.onMetaData!="object"){y.default.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&y.default.w(this.TAG,"Found another onMetaData tag!"),this._metadata=e;var f=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},f)),typeof f.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=f.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof f.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=f.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof f.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=f.audiodatarate),typeof f.videodatarate=="number"&&(this._mediaInfo.videoDataRate=f.videodatarate),typeof f.width=="number"&&(this._mediaInfo.width=f.width),typeof f.height=="number"&&(this._mediaInfo.height=f.height),typeof f.duration=="number"){if(!this._durationOverrided){var _=Math.floor(f.duration*this._timescale);this._duration=_,this._mediaInfo.duration=_}}else this._mediaInfo.duration=0;if(typeof f.framerate=="number"){var c=Math.floor(f.framerate*1e3);if(c>0){var v=c/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=v,this._referenceFrameRate.fps_num=c,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=v}}if(typeof f.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var E=f.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(E),f.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=f,y.default.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(e).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},e))},i.prototype._parseKeyframesIndex=function(t){for(var s=[],n=[],e=1;e<t.times.length;e++){var f=this._timestampBase+Math.floor(t.times[e]*1e3);s.push(f),n.push(t.filepositions[e])}return{times:s,filepositions:n}},i.prototype._parseAudioData=function(t,s,n,e){if(n<=1){y.default.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(!(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)){this._littleEndian;var f=new DataView(t,s,n),_=f.getUint8(0),c=_>>>4;if(c!==2&&c!==10){this._onError(o.default.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+c);return}var v=0,E=(_&12)>>>2;if(E>=0&&E<=4)v=this._flvSoundRateTable[E];else{this._onError(o.default.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+E);return}var x=_&1,p=this._audioMetadata,g=this._audioTrack;if(p||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),p=this._audioMetadata={},p.type="audio",p.id=g.id,p.timescale=this._timescale,p.duration=this._duration,p.audioSampleRate=v,p.channelCount=x===0?1:2),c===10){var S=this._parseAACAudioData(t,s+1,n-1);if(S==null)return;if(S.packetType===0){p.config&&y.default.w(this.TAG,"Found another AudioSpecificConfig!");var R=S.data;p.audioSampleRate=R.samplingRate,p.channelCount=R.channelCount,p.codec=R.codec,p.originalCodec=R.originalCodec,p.config=R.config,p.refSampleDuration=1024/p.audioSampleRate*p.timescale,y.default.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",p);var b=this._mediaInfo;b.audioCodec=p.originalCodec,b.audioSampleRate=p.audioSampleRate,b.audioChannelCount=p.channelCount,b.hasVideo?b.videoCodec!=null&&(b.mimeType='video/x-flv; codecs="'+b.videoCodec+","+b.audioCodec+'"'):b.mimeType='video/x-flv; codecs="'+b.audioCodec+'"',b.isComplete()&&this._onMediaInfo(b)}else if(S.packetType===1){var C=this._timestampBase+e,B={unit:S.data,length:S.data.byteLength,dts:C,pts:C};g.samples.push(B),g.length+=S.data.length}else y.default.e(this.TAG,"Flv: Unsupported AAC data type "+S.packetType)}else if(c===2){if(!p.codec){var R=this._parseMP3AudioData(t,s+1,n-1,!0);if(R==null)return;p.audioSampleRate=R.samplingRate,p.channelCount=R.channelCount,p.codec=R.codec,p.originalCodec=R.originalCodec,p.refSampleDuration=1152/p.audioSampleRate*p.timescale,y.default.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",p);var b=this._mediaInfo;b.audioCodec=p.codec,b.audioSampleRate=p.audioSampleRate,b.audioChannelCount=p.channelCount,b.audioDataRate=R.bitRate,b.hasVideo?b.videoCodec!=null&&(b.mimeType='video/x-flv; codecs="'+b.videoCodec+","+b.audioCodec+'"'):b.mimeType='video/x-flv; codecs="'+b.audioCodec+'"',b.isComplete()&&this._onMediaInfo(b)}var U=this._parseMP3AudioData(t,s+1,n-1,!1);if(U==null)return;var C=this._timestampBase+e,w={unit:U,length:U.byteLength,dts:C,pts:C};g.samples.push(w),g.length+=U.length}}},i.prototype._parseAACAudioData=function(t,s,n){if(n<=1){y.default.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var e={},f=new Uint8Array(t,s,n);return e.packetType=f[0],f[0]===0?e.data=this._parseAACAudioSpecificConfig(t,s+1,n-1):e.data=f.subarray(1),e},i.prototype._parseAACAudioSpecificConfig=function(t,s,n){var e=new Uint8Array(t,s,n),f=null,_=0,c=0,v=0,E=null;if(_=c=e[0]>>>3,v=(e[0]&7)<<1|e[1]>>>7,v<0||v>=this._mpegSamplingRates.length){this._onError(o.default.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var x=this._mpegSamplingRates[v],p=(e[1]&120)>>>3;if(p<0||p>=8){this._onError(o.default.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}_===5&&(E=(e[1]&7)<<1|e[2]>>>7,(e[2]&124)>>>2);var g=self.navigator.userAgent.toLowerCase();return g.indexOf("firefox")!==-1?v>=6?(_=5,f=new Array(4),E=v-3):(_=2,f=new Array(2),E=v):g.indexOf("android")!==-1?(_=2,f=new Array(2),E=v):(_=5,E=v,f=new Array(4),v>=6?E=v-3:p===1&&(_=2,f=new Array(2),E=v)),f[0]=_<<3,f[0]|=(v&15)>>>1,f[1]=(v&15)<<7,f[1]|=(p&15)<<3,_===5&&(f[1]|=(E&15)>>>1,f[2]=(E&1)<<7,f[2]|=2<<2,f[3]=0),{config:f,samplingRate:x,channelCount:p,codec:"mp4a.40."+_,originalCodec:"mp4a.40."+c}},i.prototype._parseMP3AudioData=function(t,s,n,e){if(n<4){y.default.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}this._littleEndian;var f=new Uint8Array(t,s,n),_=null;if(e){if(f[0]!==255)return;var c=f[1]>>>3&3,v=(f[1]&6)>>1,E=(f[2]&240)>>>4,x=(f[2]&12)>>>2,p=f[3]>>>6&3,g=p!==3?2:1,S=0,R=0,b="mp3";switch(c){case 0:S=this._mpegAudioV25SampleRateTable[x];break;case 2:S=this._mpegAudioV20SampleRateTable[x];break;case 3:S=this._mpegAudioV10SampleRateTable[x];break}switch(v){case 1:E<this._mpegAudioL3BitRateTable.length&&(R=this._mpegAudioL3BitRateTable[E]);break;case 2:E<this._mpegAudioL2BitRateTable.length&&(R=this._mpegAudioL2BitRateTable[E]);break;case 3:E<this._mpegAudioL1BitRateTable.length&&(R=this._mpegAudioL1BitRateTable[E]);break}_={bitRate:R,samplingRate:S,channelCount:g,codec:b,originalCodec:b}}else _=f;return _},i.prototype._parseVideoData=function(t,s,n,e,f){if(n<=1){y.default.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(!(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)){var _=new Uint8Array(t,s,n)[0],c=(_&240)>>>4,v=_&15;if(v!==7){this._onError(o.default.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: "+v);return}this._parseAVCVideoPacket(t,s+1,n-1,e,f,c)}},i.prototype._parseAVCVideoPacket=function(t,s,n,e,f,_){if(n<4){y.default.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var c=this._littleEndian,v=new DataView(t,s,n),E=v.getUint8(0),x=v.getUint32(0,!c)&16777215,p=x<<8>>8;if(E===0)this._parseAVCDecoderConfigurationRecord(t,s+4,n-4);else if(E===1)this._parseAVCVideoData(t,s+4,n-4,e,f,_,p);else if(E!==2){this._onError(o.default.FORMAT_ERROR,"Flv: Invalid video packet type "+E);return}},i.prototype._parseAVCDecoderConfigurationRecord=function(t,s,n){if(n<7){y.default.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var e=this._videoMetadata,f=this._videoTrack,_=this._littleEndian,c=new DataView(t,s,n);e?typeof e.avcc<"u"&&y.default.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),e=this._videoMetadata={},e.type="video",e.id=f.id,e.timescale=this._timescale,e.duration=this._duration);var v=c.getUint8(0),E=c.getUint8(1);if(c.getUint8(2),c.getUint8(3),v!==1||E===0){this._onError(o.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(c.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(o.default.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: "+(this._naluLengthSize-1));return}var x=c.getUint8(5)&31;if(x===0){this._onError(o.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else x>1&&y.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = "+x);for(var p=6,g=0;g<x;g++){var S=c.getUint16(p,!_);if(p+=2,S!==0){var R=new Uint8Array(t,s+p,S);p+=S;var b=u.default.parseSPS(R);if(g===0){e.codecWidth=b.codec_size.width,e.codecHeight=b.codec_size.height,e.presentWidth=b.present_size.width,e.presentHeight=b.present_size.height,e.profile=b.profile_string,e.level=b.level_string,e.bitDepth=b.bit_depth,e.chromaFormat=b.chroma_format,e.sarRatio=b.sar_ratio,e.frameRate=b.frame_rate,(b.frame_rate.fixed===!1||b.frame_rate.fps_num===0||b.frame_rate.fps_den===0)&&(e.frameRate=this._referenceFrameRate);var C=e.frameRate.fps_den,B=e.frameRate.fps_num;e.refSampleDuration=e.timescale*(C/B);for(var U=R.subarray(1,4),w="avc1.",k=0;k<3;k++){var K=U[k].toString(16);K.length<2&&(K="0"+K),w+=K}e.codec=w;var P=this._mediaInfo;P.width=e.codecWidth,P.height=e.codecHeight,P.fps=e.frameRate.fps,P.profile=e.profile,P.level=e.level,P.refFrames=b.ref_frames,P.chromaFormat=b.chroma_format_string,P.sarNum=e.sarRatio.width,P.sarDen=e.sarRatio.height,P.videoCodec=w,P.hasAudio?P.audioCodec!=null&&(P.mimeType='video/x-flv; codecs="'+P.videoCodec+","+P.audioCodec+'"'):P.mimeType='video/x-flv; codecs="'+P.videoCodec+'"',P.isComplete()&&this._onMediaInfo(P)}}}var N=c.getUint8(p);if(N===0){this._onError(o.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else N>1&&y.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = "+N);p++;for(var g=0;g<N;g++){var S=c.getUint16(p,!_);p+=2,S!==0&&(p+=S)}e.avcc=new Uint8Array(n),e.avcc.set(new Uint8Array(t,s,n),0),y.default.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",e)},i.prototype._parseAVCVideoData=function(t,s,n,e,f,_,c){for(var v=this._littleEndian,E=new DataView(t,s,n),x=[],p=0,g=0,S=this._naluLengthSize,R=this._timestampBase+e,b=_===1;g<n;){if(g+4>=n){y.default.w(this.TAG,"Malformed Nalu near timestamp "+R+", offset = "+g+", dataSize = "+n);break}var C=E.getUint32(g,!v);if(S===3&&(C>>>=8),C>n-S){y.default.w(this.TAG,"Malformed Nalus near timestamp "+R+", NaluSize > DataSize!");return}var B=E.getUint8(g+S)&31;B===5&&(b=!0);var U=new Uint8Array(t,s+g,S+C),w={type:B,data:U};x.push(w),p+=U.byteLength,g+=S+C}if(x.length){var k=this._videoTrack,K={units:x,length:p,isKeyframe:b,dts:R,cts:c,pts:R+c};b&&(K.fileposition=f),k.samples.push(K),k.length+=p}},i}();L.default=l},"./src/demux/sps-parser.js":function(I,L,m){m.r(L);var y=m("./src/demux/exp-golomb.js"),h=function(){function u(){}return u._ebsp2rbsp=function(o){for(var d=o,r=d.byteLength,a=new Uint8Array(r),l=0,i=0;i<r;i++)i>=2&&d[i]===3&&d[i-1]===0&&d[i-2]===0||(a[l]=d[i],l++);return new Uint8Array(a.buffer,0,l)},u.parseSPS=function(o){var d=u._ebsp2rbsp(o),r=new y.default(d);r.readByte();var a=r.readByte();r.readByte();var l=r.readByte();r.readUEG();var i=u.getProfileString(a),t=u.getLevelString(l),s=1,n=420,e=[0,420,422,444],f=8;if((a===100||a===110||a===122||a===244||a===44||a===83||a===86||a===118||a===128||a===138||a===144)&&(s=r.readUEG(),s===3&&r.readBits(1),s<=3&&(n=e[s]),f=r.readUEG()+8,r.readUEG(),r.readBits(1),r.readBool()))for(var _=s!==3?8:12,c=0;c<_;c++)r.readBool()&&(c<6?u._skipScalingList(r,16):u._skipScalingList(r,64));r.readUEG();var v=r.readUEG();if(v===0)r.readUEG();else if(v===1){r.readBits(1),r.readSEG(),r.readSEG();for(var E=r.readUEG(),c=0;c<E;c++)r.readSEG()}var x=r.readUEG();r.readBits(1);var p=r.readUEG(),g=r.readUEG(),S=r.readBits(1);S===0&&r.readBits(1),r.readBits(1);var R=0,b=0,C=0,B=0,U=r.readBool();U&&(R=r.readUEG(),b=r.readUEG(),C=r.readUEG(),B=r.readUEG());var w=1,k=1,K=0,P=!0,N=0,q=0,G=r.readBool();if(G){if(r.readBool()){var W=r.readByte(),J=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],X=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];W>0&&W<16?(w=J[W-1],k=X[W-1]):W===255&&(w=r.readByte()<<8|r.readByte(),k=r.readByte()<<8|r.readByte())}if(r.readBool()&&r.readBool(),r.readBool()&&(r.readBits(4),r.readBool()&&r.readBits(24)),r.readBool()&&(r.readUEG(),r.readUEG()),r.readBool()){var Q=r.readBits(32),ie=r.readBits(32);P=r.readBool(),N=ie,q=Q*2,K=N/q}}var V=1;(w!==1||k!==1)&&(V=w/k);var M=0,Z=0;if(s===0)M=1,Z=2-S;else{var ee=s===3?1:2,ae=s===1?2:1;M=ee,Z=ae*(2-S)}var ne=(p+1)*16,se=(2-S)*((g+1)*16);ne-=(R+b)*M,se-=(C+B)*Z;var ue=Math.ceil(ne*V);return r.destroy(),r=null,{profile_string:i,level_string:t,bit_depth:f,ref_frames:x,chroma_format:n,chroma_format_string:u.getChromaFormatString(n),frame_rate:{fixed:P,fps:K,fps_den:q,fps_num:N},sar_ratio:{width:w,height:k},codec_size:{width:ne,height:se},present_size:{width:ue,height:se}}},u._skipScalingList=function(o,d){for(var r=8,a=8,l=0,i=0;i<d;i++)a!==0&&(l=o.readSEG(),a=(r+l+256)%256),r=a===0?r:a},u.getProfileString=function(o){switch(o){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}},u.getLevelString=function(o){return(o/10).toFixed(1)},u.getChromaFormatString=function(o){switch(o){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}},u}();L.default=h},"./src/flv.js":function(I,L,m){m.r(L);var y=m("./src/utils/polyfill.js"),h=m("./src/core/features.js"),u=m("./src/io/loader.js"),o=m("./src/player/flv-player.js"),d=m("./src/player/native-player.js"),r=m("./src/player/player-events.js"),a=m("./src/player/player-errors.js"),l=m("./src/utils/logging-control.js"),i=m("./src/utils/exception.js");y.default.install();function t(f,_){var c=f;if(c==null||typeof c!="object")throw new i.InvalidArgumentException("MediaDataSource must be an javascript object!");if(!c.hasOwnProperty("type"))throw new i.InvalidArgumentException("MediaDataSource must has type field to indicate video file type!");switch(c.type){case"flv":return new o.default(c,_);default:return new d.default(c,_)}}function s(){return h.default.supportMSEH264Playback()}function n(){return h.default.getFeatureList()}var e={};e.createPlayer=t,e.isSupported=s,e.getFeatureList=n,e.BaseLoader=u.BaseLoader,e.LoaderStatus=u.LoaderStatus,e.LoaderErrors=u.LoaderErrors,e.Events=r.default,e.ErrorTypes=a.ErrorTypes,e.ErrorDetails=a.ErrorDetails,e.FlvPlayer=o.default,e.NativePlayer=d.default,e.LoggingControl=l.default,Object.defineProperty(e,"version",{enumerable:!0,get:function(){return"1.6.2"}}),L.default=e},"./src/index.js":function(I,L,m){I.exports=m("./src/flv.js").default},"./src/io/fetch-stream-loader.js":function(I,L,m){m.r(L);var y=m("./src/utils/browser.js"),h=m("./src/io/loader.js"),u=m("./src/utils/exception.js"),o=function(){var r=function(a,l){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[s]=t[s])},r(a,l)};return function(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");r(a,l);function i(){this.constructor=a}a.prototype=l===null?Object.create(l):(i.prototype=l.prototype,new i)}}(),d=function(r){o(a,r);function a(l,i){var t=r.call(this,"fetch-stream-loader")||this;return t.TAG="FetchStreamLoader",t._seekHandler=l,t._config=i,t._needStash=!0,t._requestAbort=!1,t._contentLength=null,t._receivedLength=0,t}return a.isSupported=function(){try{var l=y.default.msedge&&y.default.version.minor>=15048,i=y.default.msedge?l:!0;return self.fetch&&self.ReadableStream&&i}catch{return!1}},a.prototype.destroy=function(){this.isWorking()&&this.abort(),r.prototype.destroy.call(this)},a.prototype.open=function(l,i){var t=this;this._dataSource=l,this._range=i;var s=l.url;this._config.reuseRedirectedURL&&l.redirectedURL!=null&&(s=l.redirectedURL);var n=this._seekHandler.getConfig(s,i),e=new self.Headers;if(typeof n.headers=="object"){var f=n.headers;for(var _ in f)f.hasOwnProperty(_)&&e.append(_,f[_])}var c={method:"GET",headers:e,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var _ in this._config.headers)e.append(_,this._config.headers[_]);l.cors===!1&&(c.mode="same-origin"),l.withCredentials&&(c.credentials="include"),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),self.AbortController&&(this._abortController=new self.AbortController,c.signal=this._abortController.signal),this._status=h.LoaderStatus.kConnecting,self.fetch(n.url,c).then(function(v){if(t._requestAbort){t._status=h.LoaderStatus.kIdle,v.body.cancel();return}if(v.ok&&v.status>=200&&v.status<=299){if(v.url!==n.url&&t._onURLRedirect){var E=t._seekHandler.removeURLParameters(v.url);t._onURLRedirect(E)}var x=v.headers.get("Content-Length");return x!=null&&(t._contentLength=parseInt(x),t._contentLength!==0&&t._onContentLengthKnown&&t._onContentLengthKnown(t._contentLength)),t._pump.call(t,v.body.getReader())}else if(t._status=h.LoaderStatus.kError,t._onError)t._onError(h.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:v.status,msg:v.statusText});else throw new u.RuntimeException("FetchStreamLoader: Http code invalid, "+v.status+" "+v.statusText)}).catch(function(v){if(!(t._abortController&&t._abortController.signal.aborted))if(t._status=h.LoaderStatus.kError,t._onError)t._onError(h.LoaderErrors.EXCEPTION,{code:-1,msg:v.message});else throw v})},a.prototype.abort=function(){if(this._requestAbort=!0,(this._status!==h.LoaderStatus.kBuffering||!y.default.chrome)&&this._abortController)try{this._abortController.abort()}catch{}},a.prototype._pump=function(l){var i=this;return l.read().then(function(t){if(t.done)if(i._contentLength!==null&&i._receivedLength<i._contentLength){i._status=h.LoaderStatus.kError;var s=h.LoaderErrors.EARLY_EOF,n={code:-1,msg:"Fetch stream meet Early-EOF"};if(i._onError)i._onError(s,n);else throw new u.RuntimeException(n.msg)}else i._status=h.LoaderStatus.kComplete,i._onComplete&&i._onComplete(i._range.from,i._range.from+i._receivedLength-1);else{if(i._abortController&&i._abortController.signal.aborted){i._status=h.LoaderStatus.kComplete;return}else if(i._requestAbort===!0)return i._status=h.LoaderStatus.kComplete,l.cancel();i._status=h.LoaderStatus.kBuffering;var e=t.value.buffer,f=i._range.from+i._receivedLength;i._receivedLength+=e.byteLength,i._onDataArrival&&i._onDataArrival(e,f,i._receivedLength),i._pump(l)}}).catch(function(t){if(i._abortController&&i._abortController.signal.aborted){i._status=h.LoaderStatus.kComplete;return}if(!(t.code===11&&y.default.msedge)){i._status=h.LoaderStatus.kError;var s=0,n=null;if((t.code===19||t.message==="network error")&&(i._contentLength===null||i._contentLength!==null&&i._receivedLength<i._contentLength)?(s=h.LoaderErrors.EARLY_EOF,n={code:t.code,msg:"Fetch stream meet Early-EOF"}):(s=h.LoaderErrors.EXCEPTION,n={code:t.code,msg:t.message}),i._onError)i._onError(s,n);else throw new u.RuntimeException(n.msg)}})},a}(h.BaseLoader);L.default=d},"./src/io/io-controller.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/io/speed-sampler.js"),u=m("./src/io/loader.js"),o=m("./src/io/fetch-stream-loader.js"),d=m("./src/io/xhr-moz-chunked-loader.js"),r=m("./src/io/xhr-range-loader.js"),a=m("./src/io/websocket-loader.js"),l=m("./src/io/range-seek-handler.js"),i=m("./src/io/param-seek-handler.js"),t=m("./src/utils/exception.js"),s=function(){function n(e,f,_){this.TAG="IOController",this._config=f,this._extraData=_,this._stashInitialSize=1024*384,f.stashInitialSize!=null&&f.stashInitialSize>0&&(this._stashInitialSize=f.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,f.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new h.default,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return n.prototype.destroy=function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null},n.prototype.isWorking=function(){return this._loader&&this._loader.isWorking()&&!this._paused},n.prototype.isPaused=function(){return this._paused},Object.defineProperty(n.prototype,"status",{get:function(){return this._loader.status},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"extraData",{get:function(){return this._extraData},set:function(e){this._extraData=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onDataArrival",{get:function(){return this._onDataArrival},set:function(e){this._onDataArrival=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onSeeked",{get:function(){return this._onSeeked},set:function(e){this._onSeeked=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onError",{get:function(){return this._onError},set:function(e){this._onError=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onComplete",{get:function(){return this._onComplete},set:function(e){this._onComplete=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onRedirect",{get:function(){return this._onRedirect},set:function(e){this._onRedirect=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onRecoveredEarlyEof",{get:function(){return this._onRecoveredEarlyEof},set:function(e){this._onRecoveredEarlyEof=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentURL",{get:function(){return this._dataSource.url},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasRedirect",{get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentRedirectedURL",{get:function(){return this._redirectedURL||this._dataSource.redirectedURL},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentSpeed",{get:function(){return this._loaderClass===r.default?this._loader.currentSpeed:this._speedSampler.lastSecondKBps},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"loaderType",{get:function(){return this._loader.type},enumerable:!1,configurable:!0}),n.prototype._selectSeekHandler=function(){var e=this._config;if(e.seekType==="range")this._seekHandler=new l.default(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){var f=e.seekParamStart||"bstart",_=e.seekParamEnd||"bend";this._seekHandler=new i.default(f,_)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new t.InvalidArgumentException("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new t.InvalidArgumentException("Invalid seekType in config: "+e.seekType)},n.prototype._selectLoader=function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=a.default;else if(o.default.isSupported())this._loaderClass=o.default;else if(d.default.isSupported())this._loaderClass=d.default;else if(r.default.isSupported())this._loaderClass=r.default;else throw new t.RuntimeException("Your browser doesn't support xhr with arraybuffer responseType!")},n.prototype._createLoader=function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)},n.prototype.open=function(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))},n.prototype.abort=function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)},n.prototype.pause=function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)},n.prototype.resume=function(){if(this._paused){this._paused=!1;var e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}},n.prototype.seek=function(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)},n.prototype._internalSeek=function(e,f){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(f),this._loader.destroy(),this._loader=null;var _={from:e,to:-1};this._currentRange={from:_.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,_),this._onSeeked&&this._onSeeked()},n.prototype.updateUrl=function(e){if(!e||typeof e!="string"||e.length===0)throw new t.InvalidArgumentException("Url must be a non-empty string!");this._dataSource.url=e},n.prototype._expandBuffer=function(e){for(var f=this._stashSize;f+1024*1024*1<e;)f*=2;if(f+=1024*1024*1,f!==this._bufferSize){var _=new ArrayBuffer(f);if(this._stashUsed>0){var c=new Uint8Array(this._stashBuffer,0,this._stashUsed),v=new Uint8Array(_,0,f);v.set(c,0)}this._stashBuffer=_,this._bufferSize=f}},n.prototype._normalizeSpeed=function(e){var f=this._speedNormalizeList,_=f.length-1,c=0,v=0,E=_;if(e<f[0])return f[0];for(;v<=E;){if(c=v+Math.floor((E-v)/2),c===_||e>=f[c]&&e<f[c+1])return f[c];f[c]<e?v=c+1:E=c-1}},n.prototype._adjustStashSize=function(e){var f=0;this._config.isLive||e<512?f=e:e>=512&&e<=1024?f=Math.floor(e*1.5):f=e*2,f>8192&&(f=8192);var _=f*1024+1024*1024*1;this._bufferSize<_&&this._expandBuffer(_),this._stashSize=f*1024},n.prototype._dispatchChunks=function(e,f){return this._currentRange.to=f+e.byteLength-1,this._onDataArrival(e,f)},n.prototype._onURLRedirect=function(e){this._redirectedURL=e,this._onRedirect&&this._onRedirect(e)},n.prototype._onContentLengthKnown=function(e){e&&this._fullRequestFlag&&(this._totalLength=e,this._fullRequestFlag=!1)},n.prototype._onLoaderChunkArrival=function(e,f,_){if(!this._onDataArrival)throw new t.IllegalStateException("IOController: No existing consumer (onDataArrival) callback!");if(!this._paused){this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(e.byteLength);var c=this._speedSampler.lastSecondKBps;if(c!==0){var v=this._normalizeSpeed(c);this._speedNormalized!==v&&(this._speedNormalized=v,this._adjustStashSize(v))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=f),this._stashUsed+e.byteLength<=this._stashSize){var p=new Uint8Array(this._stashBuffer,0,this._stashSize);p.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var p=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var S=this._stashBuffer.slice(0,this._stashUsed),E=this._dispatchChunks(S,this._stashByteStart);if(E<S.byteLength){if(E>0){var g=new Uint8Array(S,E);p.set(g,0),this._stashUsed=g.byteLength,this._stashByteStart+=E}}else this._stashUsed=0,this._stashByteStart+=E;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),p=new Uint8Array(this._stashBuffer,0,this._bufferSize)),p.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{var E=this._dispatchChunks(e,f);if(E<e.byteLength){var x=e.byteLength-E;x>this._bufferSize&&(this._expandBuffer(x),p=new Uint8Array(this._stashBuffer,0,this._bufferSize)),p.set(new Uint8Array(e,E),0),this._stashUsed+=x,this._stashByteStart=f+E}}}else if(this._stashUsed===0){var E=this._dispatchChunks(e,f);if(E<e.byteLength){var x=e.byteLength-E;x>this._bufferSize&&this._expandBuffer(x);var p=new Uint8Array(this._stashBuffer,0,this._bufferSize);p.set(new Uint8Array(e,E),0),this._stashUsed+=x,this._stashByteStart=f+E}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);var p=new Uint8Array(this._stashBuffer,0,this._bufferSize);p.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;var E=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(E<this._stashUsed&&E>0){var g=new Uint8Array(this._stashBuffer,E);p.set(g,0)}this._stashUsed-=E,this._stashByteStart+=E}}},n.prototype._flushStashBuffer=function(e){if(this._stashUsed>0){var f=this._stashBuffer.slice(0,this._stashUsed),_=this._dispatchChunks(f,this._stashByteStart),c=f.byteLength-_;if(_<f.byteLength)if(e)y.default.w(this.TAG,c+" bytes unconsumed data remain when flush buffer, dropped");else{if(_>0){var v=new Uint8Array(this._stashBuffer,0,this._bufferSize),E=new Uint8Array(f,_);v.set(E,0),this._stashUsed=E.byteLength,this._stashByteStart+=_}return 0}return this._stashUsed=0,this._stashByteStart=0,c}return 0},n.prototype._onLoaderComplete=function(e,f){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)},n.prototype._onLoaderError=function(e,f){switch(y.default.e(this.TAG,"Loader error, code = "+f.code+", msg = "+f.msg),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=u.LoaderErrors.UNRECOVERABLE_EARLY_EOF),e){case u.LoaderErrors.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var _=this._currentRange.to+1;_<this._totalLength&&(y.default.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(_,!1));return}e=u.LoaderErrors.UNRECOVERABLE_EARLY_EOF;break}case u.LoaderErrors.UNRECOVERABLE_EARLY_EOF:case u.LoaderErrors.CONNECTING_TIMEOUT:case u.LoaderErrors.HTTP_STATUS_CODE_INVALID:case u.LoaderErrors.EXCEPTION:break}if(this._onError)this._onError(e,f);else throw new t.RuntimeException("IOException: "+f.msg)},n}();L.default=s},"./src/io/loader.js":function(I,L,m){m.r(L),m.d(L,{LoaderStatus:function(){return h},LoaderErrors:function(){return u},BaseLoader:function(){return o}});var y=m("./src/utils/exception.js"),h={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},u={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},o=function(){function d(r){this._type=r||"undefined",this._status=h.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return d.prototype.destroy=function(){this._status=h.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null},d.prototype.isWorking=function(){return this._status===h.kConnecting||this._status===h.kBuffering},Object.defineProperty(d.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"needStashBuffer",{get:function(){return this._needStash},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onContentLengthKnown",{get:function(){return this._onContentLengthKnown},set:function(r){this._onContentLengthKnown=r},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onURLRedirect",{get:function(){return this._onURLRedirect},set:function(r){this._onURLRedirect=r},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onDataArrival",{get:function(){return this._onDataArrival},set:function(r){this._onDataArrival=r},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onError",{get:function(){return this._onError},set:function(r){this._onError=r},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onComplete",{get:function(){return this._onComplete},set:function(r){this._onComplete=r},enumerable:!1,configurable:!0}),d.prototype.open=function(r,a){throw new y.NotImplementedException("Unimplemented abstract function!")},d.prototype.abort=function(){throw new y.NotImplementedException("Unimplemented abstract function!")},d}()},"./src/io/param-seek-handler.js":function(I,L,m){m.r(L);var y=function(){function h(u,o){this._startName=u,this._endName=o}return h.prototype.getConfig=function(u,o){var d=u;if(o.from!==0||o.to!==-1){var r=!0;d.indexOf("?")===-1&&(d+="?",r=!1),r&&(d+="&"),d+=this._startName+"="+o.from.toString(),o.to!==-1&&(d+="&"+this._endName+"="+o.to.toString())}return{url:d,headers:{}}},h.prototype.removeURLParameters=function(u){var o=u.split("?")[0],d=void 0,r=u.indexOf("?");r!==-1&&(d=u.substring(r+1));var a="";if(d!=null&&d.length>0)for(var l=d.split("&"),i=0;i<l.length;i++){var t=l[i].split("="),s=i>0;t[0]!==this._startName&&t[0]!==this._endName&&(s&&(a+="&"),a+=l[i])}return a.length===0?o:o+"?"+a},h}();L.default=y},"./src/io/range-seek-handler.js":function(I,L,m){m.r(L);var y=function(){function h(u){this._zeroStart=u||!1}return h.prototype.getConfig=function(u,o){var d={};if(o.from!==0||o.to!==-1){var r=void 0;o.to!==-1?r="bytes="+o.from.toString()+"-"+o.to.toString():r="bytes="+o.from.toString()+"-",d.Range=r}else this._zeroStart&&(d.Range="bytes=0-");return{url:u,headers:d}},h.prototype.removeURLParameters=function(u){return u},h}();L.default=y},"./src/io/speed-sampler.js":function(I,L,m){m.r(L);var y=function(){function h(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return h.prototype.reset=function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0},h.prototype.addBytes=function(u){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=u,this._totalBytes+=u):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=u,this._totalBytes+=u):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=u,this._totalBytes+=u,this._lastCheckpoint=this._now())},Object.defineProperty(h.prototype,"currentKBps",{get:function(){this.addBytes(0);var u=(this._now()-this._lastCheckpoint)/1e3;return u==0&&(u=1),this._intervalBytes/u/1024},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"lastSecondKBps",{get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"averageKBps",{get:function(){var u=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/u/1024},enumerable:!1,configurable:!0}),h}();L.default=y},"./src/io/websocket-loader.js":function(I,L,m){m.r(L);var y=m("./src/io/loader.js"),h=m("./src/utils/exception.js"),u=function(){var d=function(r,a){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,i){l.__proto__=i}||function(l,i){for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(l[t]=i[t])},d(r,a)};return function(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");d(r,a);function l(){this.constructor=r}r.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}}(),o=function(d){u(r,d);function r(){var a=d.call(this,"websocket-loader")||this;return a.TAG="WebSocketLoader",a._needStash=!0,a._ws=null,a._requestAbort=!1,a._receivedLength=0,a}return r.isSupported=function(){try{return typeof self.WebSocket<"u"}catch{return!1}},r.prototype.destroy=function(){this._ws&&this.abort(),d.prototype.destroy.call(this)},r.prototype.open=function(a){try{var l=this._ws=new self.WebSocket(a.url);l.binaryType="arraybuffer",l.onopen=this._onWebSocketOpen.bind(this),l.onclose=this._onWebSocketClose.bind(this),l.onmessage=this._onWebSocketMessage.bind(this),l.onerror=this._onWebSocketError.bind(this),this._status=y.LoaderStatus.kConnecting}catch(t){this._status=y.LoaderStatus.kError;var i={code:t.code,msg:t.message};if(this._onError)this._onError(y.LoaderErrors.EXCEPTION,i);else throw new h.RuntimeException(i.msg)}},r.prototype.abort=function(){var a=this._ws;a&&(a.readyState===0||a.readyState===1)&&(this._requestAbort=!0,a.close()),this._ws=null,this._status=y.LoaderStatus.kComplete},r.prototype._onWebSocketOpen=function(a){this._status=y.LoaderStatus.kBuffering},r.prototype._onWebSocketClose=function(a){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=y.LoaderStatus.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)},r.prototype._onWebSocketMessage=function(a){var l=this;if(a.data instanceof ArrayBuffer)this._dispatchArrayBuffer(a.data);else if(a.data instanceof Blob){var i=new FileReader;i.onload=function(){l._dispatchArrayBuffer(i.result)},i.readAsArrayBuffer(a.data)}else{this._status=y.LoaderStatus.kError;var t={code:-1,msg:"Unsupported WebSocket message type: "+a.data.constructor.name};if(this._onError)this._onError(y.LoaderErrors.EXCEPTION,t);else throw new h.RuntimeException(t.msg)}},r.prototype._dispatchArrayBuffer=function(a){var l=a,i=this._receivedLength;this._receivedLength+=l.byteLength,this._onDataArrival&&this._onDataArrival(l,i,this._receivedLength)},r.prototype._onWebSocketError=function(a){this._status=y.LoaderStatus.kError;var l={code:a.code,msg:a.message};if(this._onError)this._onError(y.LoaderErrors.EXCEPTION,l);else throw new h.RuntimeException(l.msg)},r}(y.BaseLoader);L.default=o},"./src/io/xhr-moz-chunked-loader.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/io/loader.js"),u=m("./src/utils/exception.js"),o=function(){var r=function(a,l){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[s]=t[s])},r(a,l)};return function(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");r(a,l);function i(){this.constructor=a}a.prototype=l===null?Object.create(l):(i.prototype=l.prototype,new i)}}(),d=function(r){o(a,r);function a(l,i){var t=r.call(this,"xhr-moz-chunked-loader")||this;return t.TAG="MozChunkedLoader",t._seekHandler=l,t._config=i,t._needStash=!0,t._xhr=null,t._requestAbort=!1,t._contentLength=null,t._receivedLength=0,t}return a.isSupported=function(){try{var l=new XMLHttpRequest;return l.open("GET","https://example.com",!0),l.responseType="moz-chunked-arraybuffer",l.responseType==="moz-chunked-arraybuffer"}catch(i){return y.default.w("MozChunkedLoader",i.message),!1}},a.prototype.destroy=function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),r.prototype.destroy.call(this)},a.prototype.open=function(l,i){this._dataSource=l,this._range=i;var t=l.url;this._config.reuseRedirectedURL&&l.redirectedURL!=null&&(t=l.redirectedURL);var s=this._seekHandler.getConfig(t,i);this._requestURL=s.url;var n=this._xhr=new XMLHttpRequest;if(n.open("GET",s.url,!0),n.responseType="moz-chunked-arraybuffer",n.onreadystatechange=this._onReadyStateChange.bind(this),n.onprogress=this._onProgress.bind(this),n.onloadend=this._onLoadEnd.bind(this),n.onerror=this._onXhrError.bind(this),l.withCredentials&&(n.withCredentials=!0),typeof s.headers=="object"){var e=s.headers;for(var f in e)e.hasOwnProperty(f)&&n.setRequestHeader(f,e[f])}if(typeof this._config.headers=="object"){var e=this._config.headers;for(var f in e)e.hasOwnProperty(f)&&n.setRequestHeader(f,e[f])}this._status=h.LoaderStatus.kConnecting,n.send()},a.prototype.abort=function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=h.LoaderStatus.kComplete},a.prototype._onReadyStateChange=function(l){var i=l.target;if(i.readyState===2){if(i.responseURL!=null&&i.responseURL!==this._requestURL&&this._onURLRedirect){var t=this._seekHandler.removeURLParameters(i.responseURL);this._onURLRedirect(t)}if(i.status!==0&&(i.status<200||i.status>299))if(this._status=h.LoaderStatus.kError,this._onError)this._onError(h.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:i.status,msg:i.statusText});else throw new u.RuntimeException("MozChunkedLoader: Http code invalid, "+i.status+" "+i.statusText);else this._status=h.LoaderStatus.kBuffering}},a.prototype._onProgress=function(l){if(this._status!==h.LoaderStatus.kError){this._contentLength===null&&l.total!==null&&l.total!==0&&(this._contentLength=l.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));var i=l.target.response,t=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,t,this._receivedLength)}},a.prototype._onLoadEnd=function(l){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===h.LoaderStatus.kError)return;this._status=h.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)},a.prototype._onXhrError=function(l){this._status=h.LoaderStatus.kError;var i=0,t=null;if(this._contentLength&&l.loaded<this._contentLength?(i=h.LoaderErrors.EARLY_EOF,t={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(i=h.LoaderErrors.EXCEPTION,t={code:-1,msg:l.constructor.name+" "+l.type}),this._onError)this._onError(i,t);else throw new u.RuntimeException(t.msg)},a}(h.BaseLoader);L.default=d},"./src/io/xhr-range-loader.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/io/speed-sampler.js"),u=m("./src/io/loader.js"),o=m("./src/utils/exception.js"),d=function(){var a=function(l,i){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])},a(l,i)};return function(l,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");a(l,i);function t(){this.constructor=l}l.prototype=i===null?Object.create(i):(t.prototype=i.prototype,new t)}}(),r=function(a){d(l,a);function l(i,t){var s=a.call(this,"xhr-range-loader")||this;return s.TAG="RangeLoader",s._seekHandler=i,s._config=t,s._needStash=!1,s._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],s._currentChunkSizeKB=384,s._currentSpeedNormalized=0,s._zeroSpeedChunkCount=0,s._xhr=null,s._speedSampler=new h.default,s._requestAbort=!1,s._waitForTotalLength=!1,s._totalLengthReceived=!1,s._currentRequestURL=null,s._currentRedirectedURL=null,s._currentRequestRange=null,s._totalLength=null,s._contentLength=null,s._receivedLength=0,s._lastTimeLoaded=0,s}return l.isSupported=function(){try{var i=new XMLHttpRequest;return i.open("GET","https://example.com",!0),i.responseType="arraybuffer",i.responseType==="arraybuffer"}catch(t){return y.default.w("RangeLoader",t.message),!1}},l.prototype.destroy=function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),a.prototype.destroy.call(this)},Object.defineProperty(l.prototype,"currentSpeed",{get:function(){return this._speedSampler.lastSecondKBps},enumerable:!1,configurable:!0}),l.prototype.open=function(i,t){this._dataSource=i,this._range=t,this._status=u.LoaderStatus.kConnecting;var s=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(s=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!s?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()},l.prototype._openSubRange=function(){var i=this._currentChunkSizeKB*1024,t=this._range.from+this._receivedLength,s=t+i;this._contentLength!=null&&s-this._range.from>=this._contentLength&&(s=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:s},this._internalOpen(this._dataSource,this._currentRequestRange)},l.prototype._internalOpen=function(i,t){this._lastTimeLoaded=0;var s=i.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?s=this._currentRedirectedURL:i.redirectedURL!=null&&(s=i.redirectedURL));var n=this._seekHandler.getConfig(s,t);this._currentRequestURL=n.url;var e=this._xhr=new XMLHttpRequest;if(e.open("GET",n.url,!0),e.responseType="arraybuffer",e.onreadystatechange=this._onReadyStateChange.bind(this),e.onprogress=this._onProgress.bind(this),e.onload=this._onLoad.bind(this),e.onerror=this._onXhrError.bind(this),i.withCredentials&&(e.withCredentials=!0),typeof n.headers=="object"){var f=n.headers;for(var _ in f)f.hasOwnProperty(_)&&e.setRequestHeader(_,f[_])}if(typeof this._config.headers=="object"){var f=this._config.headers;for(var _ in f)f.hasOwnProperty(_)&&e.setRequestHeader(_,f[_])}e.send()},l.prototype.abort=function(){this._requestAbort=!0,this._internalAbort(),this._status=u.LoaderStatus.kComplete},l.prototype._internalAbort=function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)},l.prototype._onReadyStateChange=function(i){var t=i.target;if(t.readyState===2){if(t.responseURL!=null){var s=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&s!==this._currentRedirectedURL&&(this._currentRedirectedURL=s,this._onURLRedirect&&this._onURLRedirect(s))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=u.LoaderStatus.kBuffering}else if(this._status=u.LoaderStatus.kError,this._onError)this._onError(u.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new o.RuntimeException("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}},l.prototype._onProgress=function(i){if(this._status!==u.LoaderStatus.kError){if(this._contentLength===null){var t=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,t=!0;var s=i.total;this._internalAbort(),s!=null&s!==0&&(this._totalLength=s)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,t){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var n=i.loaded-this._lastTimeLoaded;this._lastTimeLoaded=i.loaded,this._speedSampler.addBytes(n)}},l.prototype._normalizeSpeed=function(i){var t=this._chunkSizeKBList,s=t.length-1,n=0,e=0,f=s;if(i<t[0])return t[0];for(;e<=f;){if(n=e+Math.floor((f-e)/2),n===s||i>=t[n]&&i<t[n+1])return t[n];t[n]<i?e=n+1:f=n-1}},l.prototype._onLoad=function(i){if(this._status!==u.LoaderStatus.kError){if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var t=this._speedSampler.lastSecondKBps;if(t===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(t=this._speedSampler.currentKBps)),t!==0){var s=this._normalizeSpeed(t);this._currentSpeedNormalized!==s&&(this._currentSpeedNormalized=s,this._currentChunkSizeKB=s)}var n=i.target.response,e=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;var f=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():f=!0,this._onDataArrival&&this._onDataArrival(n,e,this._receivedLength),f&&(this._status=u.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},l.prototype._onXhrError=function(i){this._status=u.LoaderStatus.kError;var t=0,s=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(t=u.LoaderErrors.EARLY_EOF,s={code:-1,msg:"RangeLoader meet Early-Eof"}):(t=u.LoaderErrors.EXCEPTION,s={code:-1,msg:i.constructor.name+" "+i.type}),this._onError)this._onError(t,s);else throw new o.RuntimeException(s.msg)},l}(u.BaseLoader);L.default=r},"./src/player/flv-player.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./src/utils/logger.js"),o=m("./src/utils/browser.js"),d=m("./src/player/player-events.js"),r=m("./src/core/transmuxer.js"),a=m("./src/core/transmuxing-events.js"),l=m("./src/core/mse-controller.js"),i=m("./src/core/mse-events.js"),t=m("./src/player/player-errors.js"),s=m("./src/config.js"),n=m("./src/utils/exception.js"),e=function(){function f(_,c){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(h()),this._config=(0,s.createDefaultConfig)(),typeof c=="object"&&Object.assign(this._config,c),_.type.toLowerCase()!=="flv")throw new n.InvalidArgumentException("FlvPlayer requires an flv MediaDataSource input!");_.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=_,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var v=o.default.chrome&&(o.default.version.major<50||o.default.version.major===50&&o.default.version.build<2661);this._alwaysSeekKeyframe=!!(v||o.default.msedge||o.default.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return f.prototype.destroy=function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null},f.prototype.on=function(_,c){var v=this;_===d.default.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){v._emitter.emit(d.default.MEDIA_INFO,v.mediaInfo)}):_===d.default.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(function(){v._emitter.emit(d.default.STATISTICS_INFO,v.statisticsInfo)}),this._emitter.addListener(_,c)},f.prototype.off=function(_,c){this._emitter.removeListener(_,c)},f.prototype.attachMediaElement=function(_){var c=this;if(this._mediaElement=_,_.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),_.addEventListener("seeking",this.e.onvSeeking),_.addEventListener("canplay",this.e.onvCanPlay),_.addEventListener("stalled",this.e.onvStalled),_.addEventListener("progress",this.e.onvProgress),this._msectl=new l.default(this._config),this._msectl.on(i.default.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(i.default.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(i.default.SOURCE_OPEN,function(){c._mseSourceOpened=!0,c._hasPendingLoad&&(c._hasPendingLoad=!1,c.load())}),this._msectl.on(i.default.ERROR,function(v){c._emitter.emit(d.default.ERROR,t.ErrorTypes.MEDIA_ERROR,t.ErrorDetails.MEDIA_MSE_ERROR,v)}),this._msectl.attachMediaElement(_),this._pendingSeekTime!=null)try{_.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch{}},f.prototype.detachMediaElement=function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)},f.prototype.load=function(){var _=this;if(!this._mediaElement)throw new n.IllegalStateException("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new n.IllegalStateException("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new r.default(this._mediaDataSource,this._config),this._transmuxer.on(a.default.INIT_SEGMENT,function(c,v){_._msectl.appendInitSegment(v)}),this._transmuxer.on(a.default.MEDIA_SEGMENT,function(c,v){if(_._msectl.appendMediaSegment(v),_._config.lazyLoad&&!_._config.isLive){var E=_._mediaElement.currentTime;v.info.endDts>=(E+_._config.lazyLoadMaxDuration)*1e3&&_._progressChecker==null&&(u.default.v(_.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),_._suspendTransmuxer())}}),this._transmuxer.on(a.default.LOADING_COMPLETE,function(){_._msectl.endOfStream(),_._emitter.emit(d.default.LOADING_COMPLETE)}),this._transmuxer.on(a.default.RECOVERED_EARLY_EOF,function(){_._emitter.emit(d.default.RECOVERED_EARLY_EOF)}),this._transmuxer.on(a.default.IO_ERROR,function(c,v){_._emitter.emit(d.default.ERROR,t.ErrorTypes.NETWORK_ERROR,c,v)}),this._transmuxer.on(a.default.DEMUX_ERROR,function(c,v){_._emitter.emit(d.default.ERROR,t.ErrorTypes.MEDIA_ERROR,c,{code:-1,msg:v})}),this._transmuxer.on(a.default.MEDIA_INFO,function(c){_._mediaInfo=c,_._emitter.emit(d.default.MEDIA_INFO,Object.assign({},c))}),this._transmuxer.on(a.default.METADATA_ARRIVED,function(c){_._emitter.emit(d.default.METADATA_ARRIVED,c)}),this._transmuxer.on(a.default.SCRIPTDATA_ARRIVED,function(c){_._emitter.emit(d.default.SCRIPTDATA_ARRIVED,c)}),this._transmuxer.on(a.default.STATISTICS_INFO,function(c){_._statisticsInfo=_._fillStatisticsInfo(c),_._emitter.emit(d.default.STATISTICS_INFO,Object.assign({},_._statisticsInfo))}),this._transmuxer.on(a.default.RECOMMEND_SEEKPOINT,function(c){_._mediaElement&&!_._config.accurateSeek&&(_._requestSetTime=!0,_._mediaElement.currentTime=c/1e3)}),this._transmuxer.open()}},f.prototype.unload=function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)},f.prototype.play=function(){return this._mediaElement.play()},f.prototype.pause=function(){this._mediaElement.pause()},Object.defineProperty(f.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"buffered",{get:function(){return this._mediaElement.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"duration",{get:function(){return this._mediaElement.duration},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"volume",{get:function(){return this._mediaElement.volume},set:function(_){this._mediaElement.volume=_},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"muted",{get:function(){return this._mediaElement.muted},set:function(_){this._mediaElement.muted=_},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"currentTime",{get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(_){this._mediaElement?this._internalSeek(_):this._pendingSeekTime=_},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"mediaInfo",{get:function(){return Object.assign({},this._mediaInfo)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"statisticsInfo",{get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)},enumerable:!1,configurable:!0}),f.prototype._fillStatisticsInfo=function(_){if(_.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return _;var c=!0,v=0,E=0;if(this._mediaElement.getVideoPlaybackQuality){var x=this._mediaElement.getVideoPlaybackQuality();v=x.totalVideoFrames,E=x.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(v=this._mediaElement.webkitDecodedFrameCount,E=this._mediaElement.webkitDroppedFrameCount):c=!1;return c&&(_.decodedFrames=v,_.droppedFrames=E),_},f.prototype._onmseUpdateEnd=function(){if(!(!this._config.lazyLoad||this._config.isLive)){for(var _=this._mediaElement.buffered,c=this._mediaElement.currentTime,v=0,E=0;E<_.length;E++){var x=_.start(E),p=_.end(E);if(x<=c&&c<p){v=p;break}}v>=c+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(u.default.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},f.prototype._onmseBufferFull=function(){u.default.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()},f.prototype._suspendTransmuxer=function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))},f.prototype._checkProgressAndResume=function(){for(var _=this._mediaElement.currentTime,c=this._mediaElement.buffered,v=!1,E=0;E<c.length;E++){var x=c.start(E),p=c.end(E);if(_>=x&&_<p){_>=p-this._config.lazyLoadRecoverDuration&&(v=!0);break}}v&&(window.clearInterval(this._progressChecker),this._progressChecker=null,v&&(u.default.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))},f.prototype._isTimepointBuffered=function(_){for(var c=this._mediaElement.buffered,v=0;v<c.length;v++){var E=c.start(v),x=c.end(v);if(_>=E&&_<x)return!0}return!1},f.prototype._internalSeek=function(_){var c=this._isTimepointBuffered(_),v=!1,E=0;if(_<1&&this._mediaElement.buffered.length>0){var x=this._mediaElement.buffered.start(0);(x<1&&_<x||o.default.safari)&&(v=!0,E=o.default.safari?.1:x)}if(v)this._requestSetTime=!0,this._mediaElement.currentTime=E;else if(c){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=_;else{var p=this._msectl.getNearestKeyframe(Math.floor(_*1e3));this._requestSetTime=!0,p!=null?this._mediaElement.currentTime=p.dts/1e3:this._mediaElement.currentTime=_}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(_),this._transmuxer.seek(Math.floor(_*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=_)},f.prototype._checkAndApplyUnbufferedSeekpoint=function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var _=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(_)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(_),this._transmuxer.seek(Math.floor(_*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=_))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)},f.prototype._checkAndResumeStuckPlayback=function(_){var c=this._mediaElement;if(_||!this._receivedCanPlay||c.readyState<2){var v=c.buffered;v.length>0&&c.currentTime<v.start(0)&&(u.default.w(this.TAG,"Playback seems stuck at "+c.currentTime+", seek to "+v.start(0)),this._requestSetTime=!0,this._mediaElement.currentTime=v.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)},f.prototype._onvLoadedMetadata=function(_){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)},f.prototype._onvSeeking=function(_){var c=this._mediaElement.currentTime,v=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(c<1&&v.length>0){var E=v.start(0);if(E<1&&c<E||o.default.safari){this._requestSetTime=!0,this._mediaElement.currentTime=o.default.safari?.1:E;return}}if(this._isTimepointBuffered(c)){if(this._alwaysSeekKeyframe){var x=this._msectl.getNearestKeyframe(Math.floor(c*1e3));x!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=x.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:c,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)},f.prototype._onvCanPlay=function(_){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)},f.prototype._onvStalled=function(_){this._checkAndResumeStuckPlayback(!0)},f.prototype._onvProgress=function(_){this._checkAndResumeStuckPlayback()},f}();L.default=e},"./src/player/native-player.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./src/player/player-events.js"),o=m("./src/config.js"),d=m("./src/utils/exception.js"),r=function(){function a(l,i){if(this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new(h()),this._config=(0,o.createDefaultConfig)(),typeof i=="object"&&Object.assign(this._config,i),l.type.toLowerCase()==="flv")throw new d.InvalidArgumentException("NativePlayer does't support flv MediaDataSource input!");if(l.hasOwnProperty("segments"))throw new d.InvalidArgumentException("NativePlayer("+l.type+") doesn't support multipart playback!");this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=l,this._mediaElement=null}return a.prototype.destroy=function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null},a.prototype.on=function(l,i){var t=this;l===u.default.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){t._emitter.emit(u.default.MEDIA_INFO,t.mediaInfo)}):l===u.default.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){t._emitter.emit(u.default.STATISTICS_INFO,t.statisticsInfo)}),this._emitter.addListener(l,i)},a.prototype.off=function(l,i){this._emitter.removeListener(l,i)},a.prototype.attachMediaElement=function(l){if(this._mediaElement=l,l.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{l.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch{}},a.prototype.detachMediaElement=function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)},a.prototype.load=function(){if(!this._mediaElement)throw new d.IllegalStateException("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)},a.prototype.unload=function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)},a.prototype.play=function(){return this._mediaElement.play()},a.prototype.pause=function(){this._mediaElement.pause()},Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"buffered",{get:function(){return this._mediaElement.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"duration",{get:function(){return this._mediaElement.duration},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"volume",{get:function(){return this._mediaElement.volume},set:function(l){this._mediaElement.volume=l},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"muted",{get:function(){return this._mediaElement.muted},set:function(l){this._mediaElement.muted=l},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"currentTime",{get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(l){this._mediaElement?this._mediaElement.currentTime=l:this._pendingSeekTime=l},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"mediaInfo",{get:function(){var l=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",i={mimeType:l+this._mediaDataSource.type};return this._mediaElement&&(i.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(i.width=this._mediaElement.videoWidth,i.height=this._mediaElement.videoHeight)),i},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"statisticsInfo",{get:function(){var l={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return l;var i=!0,t=0,s=0;if(this._mediaElement.getVideoPlaybackQuality){var n=this._mediaElement.getVideoPlaybackQuality();t=n.totalVideoFrames,s=n.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(t=this._mediaElement.webkitDecodedFrameCount,s=this._mediaElement.webkitDroppedFrameCount):i=!1;return i&&(l.decodedFrames=t,l.droppedFrames=s),l},enumerable:!1,configurable:!0}),a.prototype._onvLoadedMetadata=function(l){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(u.default.MEDIA_INFO,this.mediaInfo)},a.prototype._reportStatisticsInfo=function(){this._emitter.emit(u.default.STATISTICS_INFO,this.statisticsInfo)},a}();L.default=r},"./src/player/player-errors.js":function(I,L,m){m.r(L),m.d(L,{ErrorTypes:function(){return u},ErrorDetails:function(){return o}});var y=m("./src/io/loader.js"),h=m("./src/demux/demux-errors.js"),u={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},o={NETWORK_EXCEPTION:y.LoaderErrors.EXCEPTION,NETWORK_STATUS_CODE_INVALID:y.LoaderErrors.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:y.LoaderErrors.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:y.LoaderErrors.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:h.default.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:h.default.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:h.default.CODEC_UNSUPPORTED}},"./src/player/player-events.js":function(I,L,m){m.r(L);var y={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"};L.default=y},"./src/remux/aac-silent.js":function(I,L,m){m.r(L);var y=function(){function h(){}return h.getSilentFrame=function(u,o){if(u==="mp4a.40.2"){if(o===1)return new Uint8Array([0,200,0,128,35,128]);if(o===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(o===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(o===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(o===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(o===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(o===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(o===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(o===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null},h}();L.default=y},"./src/remux/mp4-generator.js":function(I,L,m){m.r(L);var y=function(){function h(){}return h.init=function(){h.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var u in h.types)h.types.hasOwnProperty(u)&&(h.types[u]=[u.charCodeAt(0),u.charCodeAt(1),u.charCodeAt(2),u.charCodeAt(3)]);var o=h.constants={};o.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),o.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),o.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),o.STSC=o.STCO=o.STTS,o.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),o.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),o.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),o.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),o.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),o.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])},h.box=function(u){for(var o=8,d=null,r=Array.prototype.slice.call(arguments,1),a=r.length,l=0;l<a;l++)o+=r[l].byteLength;d=new Uint8Array(o),d[0]=o>>>24&255,d[1]=o>>>16&255,d[2]=o>>>8&255,d[3]=o&255,d.set(u,4);for(var i=8,l=0;l<a;l++)d.set(r[l],i),i+=r[l].byteLength;return d},h.generateInitSegment=function(u){var o=h.box(h.types.ftyp,h.constants.FTYP),d=h.moov(u),r=new Uint8Array(o.byteLength+d.byteLength);return r.set(o,0),r.set(d,o.byteLength),r},h.moov=function(u){var o=h.mvhd(u.timescale,u.duration),d=h.trak(u),r=h.mvex(u);return h.box(h.types.moov,o,d,r)},h.mvhd=function(u,o){return h.box(h.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,u>>>24&255,u>>>16&255,u>>>8&255,u&255,o>>>24&255,o>>>16&255,o>>>8&255,o&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))},h.trak=function(u){return h.box(h.types.trak,h.tkhd(u),h.mdia(u))},h.tkhd=function(u){var o=u.id,d=u.duration,r=u.presentWidth,a=u.presentHeight;return h.box(h.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255,0,0,0,0,d>>>24&255,d>>>16&255,d>>>8&255,d&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>>8&255,r&255,0,0,a>>>8&255,a&255,0,0]))},h.mdia=function(u){return h.box(h.types.mdia,h.mdhd(u),h.hdlr(u),h.minf(u))},h.mdhd=function(u){var o=u.timescale,d=u.duration;return h.box(h.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255,d>>>24&255,d>>>16&255,d>>>8&255,d&255,85,196,0,0]))},h.hdlr=function(u){var o=null;return u.type==="audio"?o=h.constants.HDLR_AUDIO:o=h.constants.HDLR_VIDEO,h.box(h.types.hdlr,o)},h.minf=function(u){var o=null;return u.type==="audio"?o=h.box(h.types.smhd,h.constants.SMHD):o=h.box(h.types.vmhd,h.constants.VMHD),h.box(h.types.minf,o,h.dinf(),h.stbl(u))},h.dinf=function(){var u=h.box(h.types.dinf,h.box(h.types.dref,h.constants.DREF));return u},h.stbl=function(u){var o=h.box(h.types.stbl,h.stsd(u),h.box(h.types.stts,h.constants.STTS),h.box(h.types.stsc,h.constants.STSC),h.box(h.types.stsz,h.constants.STSZ),h.box(h.types.stco,h.constants.STCO));return o},h.stsd=function(u){return u.type==="audio"?u.codec==="mp3"?h.box(h.types.stsd,h.constants.STSD_PREFIX,h.mp3(u)):h.box(h.types.stsd,h.constants.STSD_PREFIX,h.mp4a(u)):h.box(h.types.stsd,h.constants.STSD_PREFIX,h.avc1(u))},h.mp3=function(u){var o=u.channelCount,d=u.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,o,0,16,0,0,0,0,d>>>8&255,d&255,0,0]);return h.box(h.types[".mp3"],r)},h.mp4a=function(u){var o=u.channelCount,d=u.audioSampleRate,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,o,0,16,0,0,0,0,d>>>8&255,d&255,0,0]);return h.box(h.types.mp4a,r,h.esds(u))},h.esds=function(u){var o=u.config||[],d=o.length,r=new Uint8Array([0,0,0,0,3,23+d,0,1,0,4,15+d,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([d]).concat(o).concat([6,1,2]));return h.box(h.types.esds,r)},h.avc1=function(u){var o=u.avcc,d=u.codecWidth,r=u.codecHeight,a=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,d>>>8&255,d&255,r>>>8&255,r&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return h.box(h.types.avc1,a,h.box(h.types.avcC,o))},h.mvex=function(u){return h.box(h.types.mvex,h.trex(u))},h.trex=function(u){var o=u.id,d=new Uint8Array([0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return h.box(h.types.trex,d)},h.moof=function(u,o){return h.box(h.types.moof,h.mfhd(u.sequenceNumber),h.traf(u,o))},h.mfhd=function(u){var o=new Uint8Array([0,0,0,0,u>>>24&255,u>>>16&255,u>>>8&255,u&255]);return h.box(h.types.mfhd,o)},h.traf=function(u,o){var d=u.id,r=h.box(h.types.tfhd,new Uint8Array([0,0,0,0,d>>>24&255,d>>>16&255,d>>>8&255,d&255])),a=h.box(h.types.tfdt,new Uint8Array([0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255])),l=h.sdtp(u),i=h.trun(u,l.byteLength+16+16+8+16+8+8);return h.box(h.types.traf,r,a,i,l)},h.sdtp=function(u){for(var o=u.samples||[],d=o.length,r=new Uint8Array(4+d),a=0;a<d;a++){var l=o[a].flags;r[a+4]=l.isLeading<<6|l.dependsOn<<4|l.isDependedOn<<2|l.hasRedundancy}return h.box(h.types.sdtp,r)},h.trun=function(u,o){var d=u.samples||[],r=d.length,a=12+16*r,l=new Uint8Array(a);o+=8+a,l.set([0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,r&255,o>>>24&255,o>>>16&255,o>>>8&255,o&255],0);for(var i=0;i<r;i++){var t=d[i].duration,s=d[i].size,n=d[i].flags,e=d[i].cts;l.set([t>>>24&255,t>>>16&255,t>>>8&255,t&255,s>>>24&255,s>>>16&255,s>>>8&255,s&255,n.isLeading<<2|n.dependsOn,n.isDependedOn<<6|n.hasRedundancy<<4|n.isNonSync,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255],12+16*i)}return h.box(h.types.trun,l)},h.mdat=function(u){return h.box(h.types.mdat,u)},h}();y.init(),L.default=y},"./src/remux/mp4-remuxer.js":function(I,L,m){m.r(L);var y=m("./src/utils/logger.js"),h=m("./src/remux/mp4-generator.js"),u=m("./src/remux/aac-silent.js"),o=m("./src/utils/browser.js"),d=m("./src/core/media-segment-info.js"),r=m("./src/utils/exception.js"),a=function(){function l(i){this.TAG="MP4Remuxer",this._config=i,this._isLive=i.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new d.MediaSegmentInfoList("audio"),this._videoSegmentInfoList=new d.MediaSegmentInfoList("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(o.default.chrome&&(o.default.version.major<50||o.default.version.major===50&&o.default.version.build<2661)),this._fillSilentAfterSeek=o.default.msedge||o.default.msie,this._mp3UseMpegAudio=!o.default.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return l.prototype.destroy=function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null},l.prototype.bindDataSource=function(i){return i.onDataAvailable=this.remux.bind(this),i.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this},Object.defineProperty(l.prototype,"onInitSegment",{get:function(){return this._onInitSegment},set:function(i){this._onInitSegment=i},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onMediaSegment",{get:function(){return this._onMediaSegment},set:function(i){this._onMediaSegment=i},enumerable:!1,configurable:!0}),l.prototype.insertDiscontinuity=function(){this._audioNextDts=this._videoNextDts=void 0},l.prototype.seek=function(i){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()},l.prototype.remux=function(i,t){if(!this._onMediaSegment)throw new r.IllegalStateException("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(i,t),this._remuxVideo(t),this._remuxAudio(i)},l.prototype._onTrackMetadataReceived=function(i,t){var s=null,n="mp4",e=t.codec;if(i==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(n="mpeg",e="",s=new Uint8Array):s=h.default.generateInitSegment(t);else if(i==="video")this._videoMeta=t,s=h.default.generateInitSegment(t);else return;if(!this._onInitSegment)throw new r.IllegalStateException("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(i,{type:i,data:s.buffer,codec:e,container:i+"/"+n,mediaDuration:t.duration})},l.prototype._calculateDtsBase=function(i,t){this._dtsBaseInited||(i.samples&&i.samples.length&&(this._audioDtsBase=i.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)},l.prototype.flushStashedSamples=function(){var i=this._videoStashedLastSample,t=this._audioStashedLastSample,s={type:"video",id:1,sequenceNumber:0,samples:[],length:0};i!=null&&(s.samples.push(i),s.length=i.length);var n={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(n.samples.push(t),n.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(s,!0),this._remuxAudio(n,!0)},l.prototype._remuxAudio=function(i,t){if(this._audioMeta!=null){var s=i,n=s.samples,e=void 0,f=-1,_=-1,c=this._audioMeta.refSampleDuration,v=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,E=this._dtsBaseInited&&this._audioNextDts===void 0,x=!1;if(!(!n||n.length===0)&&!(n.length===1&&!t)){var p=0,g=null,S=0;v?(p=0,S=s.length):(p=8,S=8+s.length);var R=null;if(n.length>1&&(R=n.pop(),S-=R.length),this._audioStashedLastSample!=null){var b=this._audioStashedLastSample;this._audioStashedLastSample=null,n.unshift(b),S+=b.length}R!=null&&(this._audioStashedLastSample=R);var C=n[0].dts-this._dtsBase;if(this._audioNextDts)e=C-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())e=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(x=!0);else{var B=this._audioSegmentInfoList.getLastSampleBefore(C);if(B!=null){var U=C-(B.originalDts+B.duration);U<=3&&(U=0);var w=B.dts+B.duration+U;e=C-w}else e=0}if(x){var k=C-e,K=this._videoSegmentInfoList.getLastSegmentBefore(C);if(K!=null&&K.beginDts<k){var P=u.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(P){var N=K.beginDts,q=k-K.beginDts;y.default.v(this.TAG,"InsertPrefixSilentAudio: dts: "+N+", duration: "+q),n.unshift({unit:P,dts:N,pts:N}),S+=P.byteLength}}else x=!1}for(var G=[],W=0;W<n.length;W++){var b=n[W],J=b.unit,X=b.dts-this._dtsBase,N=X,Q=!1,ie=null,V=0;if(!(X<-.001)){if(this._audioMeta.codec!=="mp3"){var M=X,Z=3;if(this._audioNextDts&&(M=this._audioNextDts),e=X-M,e<=-Z*c){y.default.w(this.TAG,"Dropping 1 audio frame (originalDts: "+X+" ms ,curRefDts: "+M+" ms) due to dtsCorrection: "+e+" ms overlap.");continue}else if(e>=Z*c&&this._fillAudioTimestampGap&&!o.default.safari){Q=!0;var ee=Math.floor(e/c);y.default.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +`+("originalDts: "+X+" ms, curRefDts: "+M+" ms, ")+("dtsCorrection: "+Math.round(e)+" ms, generate: "+ee+" frames")),N=Math.floor(M),V=Math.floor(M+c)-N;var P=u.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);P==null&&(y.default.w(this.TAG,"Unable to generate silent frame for "+(this._audioMeta.originalCodec+" with "+this._audioMeta.channelCount+" channels, repeat last frame")),P=J),ie=[];for(var ae=0;ae<ee;ae++){M=M+c;var ne=Math.floor(M),se=Math.floor(M+c)-ne,ue={dts:ne,pts:ne,cts:0,unit:P,size:P.byteLength,duration:se,originalDts:X,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ie.push(ue),S+=ue.size}this._audioNextDts=M+c}else N=Math.floor(M),V=Math.floor(M+c)-N,this._audioNextDts=M+c}else{if(N=X-e,W!==n.length-1){var le=n[W+1].dts-this._dtsBase-e;V=le-N}else if(R!=null){var le=R.dts-this._dtsBase-e;V=le-N}else G.length>=1?V=G[G.length-1].duration:V=Math.floor(c);this._audioNextDts=N+V}f===-1&&(f=N),G.push({dts:N,pts:N,cts:0,unit:b.unit,size:b.unit.byteLength,duration:V,originalDts:X,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Q&&G.push.apply(G,ie)}}if(G.length===0){s.samples=[],s.length=0;return}v?g=new Uint8Array(S):(g=new Uint8Array(S),g[0]=S>>>24&255,g[1]=S>>>16&255,g[2]=S>>>8&255,g[3]=S&255,g.set(h.default.types.mdat,4));for(var W=0;W<G.length;W++){var J=G[W].unit;g.set(J,p),p+=J.byteLength}var te=G[G.length-1];_=te.dts+te.duration;var $=new d.MediaSegmentInfo;$.beginDts=f,$.endDts=_,$.beginPts=f,$.endPts=_,$.originalBeginDts=G[0].originalDts,$.originalEndDts=te.originalDts+te.duration,$.firstSample=new d.SampleInfo(G[0].dts,G[0].pts,G[0].duration,G[0].originalDts,!1),$.lastSample=new d.SampleInfo(te.dts,te.pts,te.duration,te.originalDts,!1),this._isLive||this._audioSegmentInfoList.append($),s.samples=G,s.sequenceNumber++;var _e=null;v?_e=new Uint8Array:_e=h.default.moof(s,f),s.samples=[],s.length=0;var ce={type:"audio",data:this._mergeBoxes(_e,g).buffer,sampleCount:G.length,info:$};v&&E&&(ce.timestampOffset=f),this._onMediaSegment("audio",ce)}}},l.prototype._remuxVideo=function(i,t){if(this._videoMeta!=null){var s=i,n=s.samples,e=void 0,f=-1,_=-1,c=-1,v=-1;if(!(!n||n.length===0)&&!(n.length===1&&!t)){var E=8,x=null,p=8+i.length,g=null;if(n.length>1&&(g=n.pop(),p-=g.length),this._videoStashedLastSample!=null){var S=this._videoStashedLastSample;this._videoStashedLastSample=null,n.unshift(S),p+=S.length}g!=null&&(this._videoStashedLastSample=g);var R=n[0].dts-this._dtsBase;if(this._videoNextDts)e=R-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())e=0;else{var b=this._videoSegmentInfoList.getLastSampleBefore(R);if(b!=null){var C=R-(b.originalDts+b.duration);C<=3&&(C=0);var B=b.dts+b.duration+C;e=R-B}else e=0}for(var U=new d.MediaSegmentInfo,w=[],k=0;k<n.length;k++){var S=n[k],K=S.dts-this._dtsBase,P=S.isKeyframe,N=K-e,q=S.cts,G=N+q;f===-1&&(f=N,c=G);var W=0;if(k!==n.length-1){var J=n[k+1].dts-this._dtsBase-e;W=J-N}else if(g!=null){var J=g.dts-this._dtsBase-e;W=J-N}else w.length>=1?W=w[w.length-1].duration:W=Math.floor(this._videoMeta.refSampleDuration);if(P){var X=new d.SampleInfo(N,G,W,S.dts,!0);X.fileposition=S.fileposition,U.appendSyncPoint(X)}w.push({dts:N,pts:G,cts:q,units:S.units,size:S.length,isKeyframe:P,duration:W,originalDts:K,flags:{isLeading:0,dependsOn:P?2:1,isDependedOn:P?1:0,hasRedundancy:0,isNonSync:P?0:1}})}x=new Uint8Array(p),x[0]=p>>>24&255,x[1]=p>>>16&255,x[2]=p>>>8&255,x[3]=p&255,x.set(h.default.types.mdat,4);for(var k=0;k<w.length;k++)for(var Q=w[k].units;Q.length;){var ie=Q.shift(),V=ie.data;x.set(V,E),E+=V.byteLength}var M=w[w.length-1];if(_=M.dts+M.duration,v=M.pts+M.duration,this._videoNextDts=_,U.beginDts=f,U.endDts=_,U.beginPts=c,U.endPts=v,U.originalBeginDts=w[0].originalDts,U.originalEndDts=M.originalDts+M.duration,U.firstSample=new d.SampleInfo(w[0].dts,w[0].pts,w[0].duration,w[0].originalDts,w[0].isKeyframe),U.lastSample=new d.SampleInfo(M.dts,M.pts,M.duration,M.originalDts,M.isKeyframe),this._isLive||this._videoSegmentInfoList.append(U),s.samples=w,s.sequenceNumber++,this._forceFirstIDR){var Z=w[0].flags;Z.dependsOn=2,Z.isNonSync=0}var ee=h.default.moof(s,f);s.samples=[],s.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(ee,x).buffer,sampleCount:w.length,info:U})}}},l.prototype._mergeBoxes=function(i,t){var s=new Uint8Array(i.byteLength+t.byteLength);return s.set(i,0),s.set(t,i.byteLength),s},l}();L.default=a},"./src/utils/browser.js":function(I,L,m){m.r(L);var y={};function h(){var u=self.navigator.userAgent.toLowerCase(),o=/(edge)\/([\w.]+)/.exec(u)||/(opr)[\/]([\w.]+)/.exec(u)||/(chrome)[ \/]([\w.]+)/.exec(u)||/(iemobile)[\/]([\w.]+)/.exec(u)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(u)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(u)||/(webkit)[ \/]([\w.]+)/.exec(u)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(u)||/(msie) ([\w.]+)/.exec(u)||u.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(u)||u.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(u)||[],d=/(ipad)/.exec(u)||/(ipod)/.exec(u)||/(windows phone)/.exec(u)||/(iphone)/.exec(u)||/(kindle)/.exec(u)||/(android)/.exec(u)||/(windows)/.exec(u)||/(mac)/.exec(u)||/(linux)/.exec(u)||/(cros)/.exec(u)||[],r={browser:o[5]||o[3]||o[1]||"",version:o[2]||o[4]||"0",majorVersion:o[4]||o[2]||"0",platform:d[0]||""},a={};if(r.browser){a[r.browser]=!0;var l=r.majorVersion.split(".");a.version={major:parseInt(r.majorVersion,10),string:r.version},l.length>1&&(a.version.minor=parseInt(l[1],10)),l.length>2&&(a.version.build=parseInt(l[2],10))}if(r.platform&&(a[r.platform]=!0),(a.chrome||a.opr||a.safari)&&(a.webkit=!0),a.rv||a.iemobile){a.rv&&delete a.rv;var i="msie";r.browser=i,a[i]=!0}if(a.edge){delete a.edge;var t="msedge";r.browser=t,a[t]=!0}if(a.opr){var s="opera";r.browser=s,a[s]=!0}if(a.safari&&a.android){var n="android";r.browser=n,a[n]=!0}a.name=r.browser,a.platform=r.platform;for(var e in y)y.hasOwnProperty(e)&&delete y[e];Object.assign(y,a)}h(),L.default=y},"./src/utils/exception.js":function(I,L,m){m.r(L),m.d(L,{RuntimeException:function(){return h},IllegalStateException:function(){return u},InvalidArgumentException:function(){return o},NotImplementedException:function(){return d}});var y=function(){var r=function(a,l){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[s]=t[s])},r(a,l)};return function(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");r(a,l);function i(){this.constructor=a}a.prototype=l===null?Object.create(l):(i.prototype=l.prototype,new i)}}(),h=function(){function r(a){this._message=a}return Object.defineProperty(r.prototype,"name",{get:function(){return"RuntimeException"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"message",{get:function(){return this._message},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.name+": "+this.message},r}(),u=function(r){y(a,r);function a(l){return r.call(this,l)||this}return Object.defineProperty(a.prototype,"name",{get:function(){return"IllegalStateException"},enumerable:!1,configurable:!0}),a}(h),o=function(r){y(a,r);function a(l){return r.call(this,l)||this}return Object.defineProperty(a.prototype,"name",{get:function(){return"InvalidArgumentException"},enumerable:!1,configurable:!0}),a}(h),d=function(r){y(a,r);function a(l){return r.call(this,l)||this}return Object.defineProperty(a.prototype,"name",{get:function(){return"NotImplementedException"},enumerable:!1,configurable:!0}),a}(h)},"./src/utils/logger.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=function(){function o(){}return o.e=function(d,r){(!d||o.FORCE_GLOBAL_TAG)&&(d=o.GLOBAL_TAG);var a="["+d+"] > "+r;o.ENABLE_CALLBACK&&o.emitter.emit("log","error",a),o.ENABLE_ERROR&&(console.error?console.error(a):console.warn?console.warn(a):console.log(a))},o.i=function(d,r){(!d||o.FORCE_GLOBAL_TAG)&&(d=o.GLOBAL_TAG);var a="["+d+"] > "+r;o.ENABLE_CALLBACK&&o.emitter.emit("log","info",a),o.ENABLE_INFO&&(console.info?console.info(a):console.log(a))},o.w=function(d,r){(!d||o.FORCE_GLOBAL_TAG)&&(d=o.GLOBAL_TAG);var a="["+d+"] > "+r;o.ENABLE_CALLBACK&&o.emitter.emit("log","warn",a),o.ENABLE_WARN&&(console.warn?console.warn(a):console.log(a))},o.d=function(d,r){(!d||o.FORCE_GLOBAL_TAG)&&(d=o.GLOBAL_TAG);var a="["+d+"] > "+r;o.ENABLE_CALLBACK&&o.emitter.emit("log","debug",a),o.ENABLE_DEBUG&&(console.debug?console.debug(a):console.log(a))},o.v=function(d,r){(!d||o.FORCE_GLOBAL_TAG)&&(d=o.GLOBAL_TAG);var a="["+d+"] > "+r;o.ENABLE_CALLBACK&&o.emitter.emit("log","verbose",a),o.ENABLE_VERBOSE&&console.log(a)},o}();u.GLOBAL_TAG="flv.js",u.FORCE_GLOBAL_TAG=!1,u.ENABLE_ERROR=!0,u.ENABLE_INFO=!0,u.ENABLE_WARN=!0,u.ENABLE_DEBUG=!0,u.ENABLE_VERBOSE=!0,u.ENABLE_CALLBACK=!1,u.emitter=new(h()),L.default=u},"./src/utils/logging-control.js":function(I,L,m){m.r(L);var y=m("./node_modules/events/events.js"),h=m.n(y),u=m("./src/utils/logger.js"),o=function(){function d(){}return Object.defineProperty(d,"forceGlobalTag",{get:function(){return u.default.FORCE_GLOBAL_TAG},set:function(r){u.default.FORCE_GLOBAL_TAG=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"globalTag",{get:function(){return u.default.GLOBAL_TAG},set:function(r){u.default.GLOBAL_TAG=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableAll",{get:function(){return u.default.ENABLE_VERBOSE&&u.default.ENABLE_DEBUG&&u.default.ENABLE_INFO&&u.default.ENABLE_WARN&&u.default.ENABLE_ERROR},set:function(r){u.default.ENABLE_VERBOSE=r,u.default.ENABLE_DEBUG=r,u.default.ENABLE_INFO=r,u.default.ENABLE_WARN=r,u.default.ENABLE_ERROR=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableDebug",{get:function(){return u.default.ENABLE_DEBUG},set:function(r){u.default.ENABLE_DEBUG=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableVerbose",{get:function(){return u.default.ENABLE_VERBOSE},set:function(r){u.default.ENABLE_VERBOSE=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableInfo",{get:function(){return u.default.ENABLE_INFO},set:function(r){u.default.ENABLE_INFO=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableWarn",{get:function(){return u.default.ENABLE_WARN},set:function(r){u.default.ENABLE_WARN=r,d._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(d,"enableError",{get:function(){return u.default.ENABLE_ERROR},set:function(r){u.default.ENABLE_ERROR=r,d._notifyChange()},enumerable:!1,configurable:!0}),d.getConfig=function(){return{globalTag:u.default.GLOBAL_TAG,forceGlobalTag:u.default.FORCE_GLOBAL_TAG,enableVerbose:u.default.ENABLE_VERBOSE,enableDebug:u.default.ENABLE_DEBUG,enableInfo:u.default.ENABLE_INFO,enableWarn:u.default.ENABLE_WARN,enableError:u.default.ENABLE_ERROR,enableCallback:u.default.ENABLE_CALLBACK}},d.applyConfig=function(r){u.default.GLOBAL_TAG=r.globalTag,u.default.FORCE_GLOBAL_TAG=r.forceGlobalTag,u.default.ENABLE_VERBOSE=r.enableVerbose,u.default.ENABLE_DEBUG=r.enableDebug,u.default.ENABLE_INFO=r.enableInfo,u.default.ENABLE_WARN=r.enableWarn,u.default.ENABLE_ERROR=r.enableError,u.default.ENABLE_CALLBACK=r.enableCallback},d._notifyChange=function(){var r=d.emitter;if(r.listenerCount("change")>0){var a=d.getConfig();r.emit("change",a)}},d.registerListener=function(r){d.emitter.addListener("change",r)},d.removeListener=function(r){d.emitter.removeListener("change",r)},d.addLogListener=function(r){u.default.emitter.addListener("log",r),u.default.emitter.listenerCount("log")>0&&(u.default.ENABLE_CALLBACK=!0,d._notifyChange())},d.removeLogListener=function(r){u.default.emitter.removeListener("log",r),u.default.emitter.listenerCount("log")===0&&(u.default.ENABLE_CALLBACK=!1,d._notifyChange())},d}();o.emitter=new(h()),L.default=o},"./src/utils/polyfill.js":function(I,L,m){m.r(L);var y=function(){function h(){}return h.install=function(){Object.setPrototypeOf=Object.setPrototypeOf||function(u,o){return u.__proto__=o,u},Object.assign=Object.assign||function(u){if(u==null)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(u),d=1;d<arguments.length;d++){var r=arguments[d];if(r!=null)for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a])}return o},typeof self.Promise!="function"&&m("./node_modules/es6-promise/dist/es6-promise.js").polyfill()},h}();y.install(),L.default=y},"./src/utils/utf8-conv.js":function(I,L,m){m.r(L);function y(u,o,d){var r=u;if(o+d<r.length){for(;d--;)if((r[++o]&192)!==128)return!1;return!0}else return!1}function h(u){for(var o=[],d=u,r=0,a=u.length;r<a;){if(d[r]<128){o.push(String.fromCharCode(d[r])),++r;continue}else if(!(d[r]<192)){if(d[r]<224){if(y(d,r,1)){var l=(d[r]&31)<<6|d[r+1]&63;if(l>=128){o.push(String.fromCharCode(l&65535)),r+=2;continue}}}else if(d[r]<240){if(y(d,r,2)){var l=(d[r]&15)<<12|(d[r+1]&63)<<6|d[r+2]&63;if(l>=2048&&(l&63488)!==55296){o.push(String.fromCharCode(l&65535)),r+=3;continue}}}else if(d[r]<248&&y(d,r,3)){var l=(d[r]&7)<<18|(d[r+1]&63)<<12|(d[r+2]&63)<<6|d[r+3]&63;if(l>65536&&l<1114112){l-=65536,o.push(String.fromCharCode(l>>>10|55296)),o.push(String.fromCharCode(l&1023|56320)),r+=4;continue}}}o.push(String.fromCharCode(65533)),++r}return o.join("")}L.default=h}},re={};function z(I){var L=re[I];if(L!==void 0)return L.exports;var m=re[I]={exports:{}};return oe[I].call(m.exports,m,m.exports,z),m.exports}z.m=oe,function(){z.n=function(I){var L=I&&I.__esModule?function(){return I.default}:function(){return I};return z.d(L,{a:L}),L}}(),function(){z.d=function(I,L){for(var m in L)z.o(L,m)&&!z.o(I,m)&&Object.defineProperty(I,m,{enumerable:!0,get:L[m]})}}(),function(){z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){z.o=function(I,L){return Object.prototype.hasOwnProperty.call(I,L)}}(),function(){z.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})}}();var he=z("./src/index.js");return he}()})})(xe);const Re=Ae(xe.exports),Te=be({__proto__:null,default:Re},[xe.exports]);export{Te as f}; +//# sourceMappingURL=flv.44cf4476.js.map diff --git a/assets/flv.44cf4476.js.map b/assets/flv.44cf4476.js.map new file mode 100644 index 0000000000..b417542263 --- /dev/null +++ b/assets/flv.44cf4476.js.map @@ -0,0 +1 @@ +{"version":3,"file":"flv.44cf4476.js","sources":["../../node_modules/.pnpm/flv.js@1.6.2/node_modules/flv.js/dist/flv.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"flvjs\"] = factory();\n\telse\n\t\troot[\"flvjs\"] = factory();\n})(self, function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ \"./node_modules/es6-promise/dist/es6-promise.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/es6-promise/dist/es6-promise.js ***!\n \\******************************************************/\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\n/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE\n * @version v4.2.8+1e68dce6\n */\n(function (global, factory) {\n true ? module.exports = factory() :\n 0;\n}(this, (function () {\n 'use strict';\n function objectOrFunction(x) {\n var type = typeof x;\n return x !== null && (type === 'object' || type === 'function');\n }\n function isFunction(x) {\n return typeof x === 'function';\n }\n var _isArray = void 0;\n if (Array.isArray) {\n _isArray = Array.isArray;\n }\n else {\n _isArray = function (x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n }\n var isArray = _isArray;\n var len = 0;\n var vertxNext = void 0;\n var customSchedulerFn = void 0;\n var asap = function asap(callback, arg) {\n queue[len] = callback;\n queue[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 2, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n if (customSchedulerFn) {\n customSchedulerFn(flush);\n }\n else {\n scheduleFlush();\n }\n }\n };\n function setScheduler(scheduleFn) {\n customSchedulerFn = scheduleFn;\n }\n function setAsap(asapFn) {\n asap = asapFn;\n }\n var browserWindow = typeof window !== 'undefined' ? window : undefined;\n var browserGlobal = browserWindow || {};\n var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n // test for web worker but not in IE10\n var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n // node\n function useNextTick() {\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // see https://github.com/cujojs/when/issues/410 for details\n return function () {\n return process.nextTick(flush);\n };\n }\n // vertx\n function useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\n };\n }\n return useSetTimeout();\n }\n function useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n return function () {\n node.data = iterations = ++iterations % 2;\n };\n }\n // web worker\n function useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return function () {\n return channel.port2.postMessage(0);\n };\n }\n function useSetTimeout() {\n // Store setTimeout reference so es6-promise will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var globalSetTimeout = setTimeout;\n return function () {\n return globalSetTimeout(flush, 1);\n };\n }\n var queue = new Array(1000);\n function flush() {\n for (var i = 0; i < len; i += 2) {\n var callback = queue[i];\n var arg = queue[i + 1];\n callback(arg);\n queue[i] = undefined;\n queue[i + 1] = undefined;\n }\n len = 0;\n }\n function attemptVertx() {\n try {\n var vertx = Function('return this')().require('vertx');\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n }\n catch (e) {\n return useSetTimeout();\n }\n }\n var scheduleFlush = void 0;\n // Decide what async method to use to triggering processing of queued callbacks:\n if (isNode) {\n scheduleFlush = useNextTick();\n }\n else if (BrowserMutationObserver) {\n scheduleFlush = useMutationObserver();\n }\n else if (isWorker) {\n scheduleFlush = useMessageChannel();\n }\n else if (browserWindow === undefined && \"function\" === 'function') {\n scheduleFlush = attemptVertx();\n }\n else {\n scheduleFlush = useSetTimeout();\n }\n function then(onFulfillment, onRejection) {\n var parent = this;\n var child = new this.constructor(noop);\n if (child[PROMISE_ID] === undefined) {\n makePromise(child);\n }\n var _state = parent._state;\n if (_state) {\n var callback = arguments[_state - 1];\n asap(function () {\n return invokeCallback(_state, child, callback, parent._result);\n });\n }\n else {\n subscribe(parent, child, onFulfillment, onRejection);\n }\n return child;\n }\n /**\n `Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n \n ```javascript\n let promise = new Promise(function(resolve, reject){\n resolve(1);\n });\n \n promise.then(function(value){\n // value === 1\n });\n ```\n \n Instead of writing the above, your code now simply becomes the following:\n \n ```javascript\n let promise = Promise.resolve(1);\n \n promise.then(function(value){\n // value === 1\n });\n ```\n \n @method resolve\n @static\n @param {Any} value value that the returned promise will be resolved with\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n */\n function resolve$1(object) {\n /*jshint validthis:true */\n var Constructor = this;\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n var promise = new Constructor(noop);\n resolve(promise, object);\n return promise;\n }\n var PROMISE_ID = Math.random().toString(36).substring(2);\n function noop() { }\n var PENDING = void 0;\n var FULFILLED = 1;\n var REJECTED = 2;\n function selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n }\n function cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n try {\n then$$1.call(value, fulfillmentHandler, rejectionHandler);\n }\n catch (e) {\n return e;\n }\n }\n function handleForeignThenable(promise, thenable, then$$1) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(then$$1, thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n resolve(promise, value);\n }\n else {\n fulfill(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n if (!sealed && error) {\n sealed = true;\n reject(promise, error);\n }\n }, promise);\n }\n function handleOwnThenable(promise, thenable) {\n if (thenable._state === FULFILLED) {\n fulfill(promise, thenable._result);\n }\n else if (thenable._state === REJECTED) {\n reject(promise, thenable._result);\n }\n else {\n subscribe(thenable, undefined, function (value) {\n return resolve(promise, value);\n }, function (reason) {\n return reject(promise, reason);\n });\n }\n }\n function handleMaybeThenable(promise, maybeThenable, then$$1) {\n if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {\n handleOwnThenable(promise, maybeThenable);\n }\n else {\n if (then$$1 === undefined) {\n fulfill(promise, maybeThenable);\n }\n else if (isFunction(then$$1)) {\n handleForeignThenable(promise, maybeThenable, then$$1);\n }\n else {\n fulfill(promise, maybeThenable);\n }\n }\n }\n function resolve(promise, value) {\n if (promise === value) {\n reject(promise, selfFulfillment());\n }\n else if (objectOrFunction(value)) {\n var then$$1 = void 0;\n try {\n then$$1 = value.then;\n }\n catch (error) {\n reject(promise, error);\n return;\n }\n handleMaybeThenable(promise, value, then$$1);\n }\n else {\n fulfill(promise, value);\n }\n }\n function publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n publish(promise);\n }\n function fulfill(promise, value) {\n if (promise._state !== PENDING) {\n return;\n }\n promise._result = value;\n promise._state = FULFILLED;\n if (promise._subscribers.length !== 0) {\n asap(publish, promise);\n }\n }\n function reject(promise, reason) {\n if (promise._state !== PENDING) {\n return;\n }\n promise._state = REJECTED;\n promise._result = reason;\n asap(publishRejection, promise);\n }\n function subscribe(parent, child, onFulfillment, onRejection) {\n var _subscribers = parent._subscribers;\n var length = _subscribers.length;\n parent._onerror = null;\n _subscribers[length] = child;\n _subscribers[length + FULFILLED] = onFulfillment;\n _subscribers[length + REJECTED] = onRejection;\n if (length === 0 && parent._state) {\n asap(publish, parent);\n }\n }\n function publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n if (subscribers.length === 0) {\n return;\n }\n var child = void 0, callback = void 0, detail = promise._result;\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n if (child) {\n invokeCallback(settled, child, callback, detail);\n }\n else {\n callback(detail);\n }\n }\n promise._subscribers.length = 0;\n }\n function invokeCallback(settled, promise, callback, detail) {\n var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = true;\n if (hasCallback) {\n try {\n value = callback(detail);\n }\n catch (e) {\n succeeded = false;\n error = e;\n }\n if (promise === value) {\n reject(promise, cannotReturnOwn());\n return;\n }\n }\n else {\n value = detail;\n }\n if (promise._state !== PENDING) {\n // noop\n }\n else if (hasCallback && succeeded) {\n resolve(promise, value);\n }\n else if (succeeded === false) {\n reject(promise, error);\n }\n else if (settled === FULFILLED) {\n fulfill(promise, value);\n }\n else if (settled === REJECTED) {\n reject(promise, value);\n }\n }\n function initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n resolve(promise, value);\n }, function rejectPromise(reason) {\n reject(promise, reason);\n });\n }\n catch (e) {\n reject(promise, e);\n }\n }\n var id = 0;\n function nextId() {\n return id++;\n }\n function makePromise(promise) {\n promise[PROMISE_ID] = id++;\n promise._state = undefined;\n promise._result = undefined;\n promise._subscribers = [];\n }\n function validationError() {\n return new Error('Array Methods must be provided an Array');\n }\n var Enumerator = function () {\n function Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(noop);\n if (!this.promise[PROMISE_ID]) {\n makePromise(this.promise);\n }\n if (isArray(input)) {\n this.length = input.length;\n this._remaining = input.length;\n this._result = new Array(this.length);\n if (this.length === 0) {\n fulfill(this.promise, this._result);\n }\n else {\n this.length = this.length || 0;\n this._enumerate(input);\n if (this._remaining === 0) {\n fulfill(this.promise, this._result);\n }\n }\n }\n else {\n reject(this.promise, validationError());\n }\n }\n Enumerator.prototype._enumerate = function _enumerate(input) {\n for (var i = 0; this._state === PENDING && i < input.length; i++) {\n this._eachEntry(input[i], i);\n }\n };\n Enumerator.prototype._eachEntry = function _eachEntry(entry, i) {\n var c = this._instanceConstructor;\n var resolve$$1 = c.resolve;\n if (resolve$$1 === resolve$1) {\n var _then = void 0;\n var error = void 0;\n var didError = false;\n try {\n _then = entry.then;\n }\n catch (e) {\n didError = true;\n error = e;\n }\n if (_then === then && entry._state !== PENDING) {\n this._settledAt(entry._state, i, entry._result);\n }\n else if (typeof _then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n }\n else if (c === Promise$1) {\n var promise = new c(noop);\n if (didError) {\n reject(promise, error);\n }\n else {\n handleMaybeThenable(promise, entry, _then);\n }\n this._willSettleAt(promise, i);\n }\n else {\n this._willSettleAt(new c(function (resolve$$1) {\n return resolve$$1(entry);\n }), i);\n }\n }\n else {\n this._willSettleAt(resolve$$1(entry), i);\n }\n };\n Enumerator.prototype._settledAt = function _settledAt(state, i, value) {\n var promise = this.promise;\n if (promise._state === PENDING) {\n this._remaining--;\n if (state === REJECTED) {\n reject(promise, value);\n }\n else {\n this._result[i] = value;\n }\n }\n if (this._remaining === 0) {\n fulfill(promise, this._result);\n }\n };\n Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) {\n var enumerator = this;\n subscribe(promise, undefined, function (value) {\n return enumerator._settledAt(FULFILLED, i, value);\n }, function (reason) {\n return enumerator._settledAt(REJECTED, i, reason);\n });\n };\n return Enumerator;\n }();\n /**\n `Promise.all` accepts an array of promises, and returns a new promise which\n is fulfilled with an array of fulfillment values for the passed promises, or\n rejected with the reason of the first passed promise to be rejected. It casts all\n elements of the passed iterable to promises as it runs this algorithm.\n \n Example:\n \n ```javascript\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n Promise.all(promises).then(function(array){\n // The array here would be [ 1, 2, 3 ];\n });\n ```\n \n If any of the `promises` given to `all` are rejected, the first promise\n that is rejected will be given as an argument to the returned promises's\n rejection handler. For example:\n \n Example:\n \n ```javascript\n let promise1 = resolve(1);\n let promise2 = reject(new Error(\"2\"));\n let promise3 = reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n \n Promise.all(promises).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(error) {\n // error.message === \"2\"\n });\n ```\n \n @method all\n @static\n @param {Array} entries array of promises\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise} promise that is fulfilled when all `promises` have been\n fulfilled, or rejected if any of them become rejected.\n @static\n */\n function all(entries) {\n return new Enumerator(this, entries).promise;\n }\n /**\n `Promise.race` returns a new promise which is settled in the same way as the\n first passed promise to settle.\n \n Example:\n \n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n \n Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n \n `Promise.race` is deterministic in that only the state of the first\n settled promise matters. For example, even if other promises given to the\n `promises` array argument are resolved, but the first settled promise has\n become rejected before the other promises became fulfilled, the returned\n promise will become rejected:\n \n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n \n Promise.race([promise1, promise2]).then(function(result){\n // Code here never runs\n }, function(reason){\n // reason.message === 'promise 2' because promise 2 became rejected before\n // promise 1 became fulfilled\n });\n ```\n \n An example real-world use case is implementing timeouts:\n \n ```javascript\n Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n \n @method race\n @static\n @param {Array} promises array of promises to observe\n Useful for tooling.\n @return {Promise} a promise which settles in the same way as the first passed\n promise to settle.\n */\n function race(entries) {\n /*jshint validthis:true */\n var Constructor = this;\n if (!isArray(entries)) {\n return new Constructor(function (_, reject) {\n return reject(new TypeError('You must pass an array to race.'));\n });\n }\n else {\n return new Constructor(function (resolve, reject) {\n var length = entries.length;\n for (var i = 0; i < length; i++) {\n Constructor.resolve(entries[i]).then(resolve, reject);\n }\n });\n }\n }\n /**\n `Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n \n ```javascript\n let promise = new Promise(function(resolve, reject){\n reject(new Error('WHOOPS'));\n });\n \n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n \n Instead of writing the above, your code now simply becomes the following:\n \n ```javascript\n let promise = Promise.reject(new Error('WHOOPS'));\n \n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n \n @method reject\n @static\n @param {Any} reason value that the returned promise will be rejected with.\n Useful for tooling.\n @return {Promise} a promise rejected with the given `reason`.\n */\n function reject$1(reason) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(noop);\n reject(promise, reason);\n return promise;\n }\n function needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n function needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n }\n /**\n Promise objects represent the eventual result of an asynchronous operation. The\n primary way of interacting with a promise is through its `then` method, which\n registers callbacks to receive either a promise's eventual value or the reason\n why the promise cannot be fulfilled.\n \n Terminology\n -----------\n \n - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n - `thenable` is an object or function that defines a `then` method.\n - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n - `exception` is a value that is thrown using the throw statement.\n - `reason` is a value that indicates why a promise was rejected.\n - `settled` the final resting state of a promise, fulfilled or rejected.\n \n A promise can be in one of three states: pending, fulfilled, or rejected.\n \n Promises that are fulfilled have a fulfillment value and are in the fulfilled\n state. Promises that are rejected have a rejection reason and are in the\n rejected state. A fulfillment value is never a thenable.\n \n Promises can also be said to *resolve* a value. If this value is also a\n promise, then the original promise's settled state will match the value's\n settled state. So a promise that *resolves* a promise that rejects will\n itself reject, and a promise that *resolves* a promise that fulfills will\n itself fulfill.\n \n \n Basic Usage:\n ------------\n \n ```js\n let promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n \n // on failure\n reject(reason);\n });\n \n promise.then(function(value) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n \n Advanced Usage:\n ---------------\n \n Promises shine when abstracting away asynchronous interactions such as\n `XMLHttpRequest`s.\n \n ```js\n function getJSON(url) {\n return new Promise(function(resolve, reject){\n let xhr = new XMLHttpRequest();\n \n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n \n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n }\n \n getJSON('/posts.json').then(function(json) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n \n Unlike callbacks, promises are great composable primitives.\n \n ```js\n Promise.all([\n getJSON('/posts'),\n getJSON('/comments')\n ]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n \n return values;\n });\n ```\n \n @class Promise\n @param {Function} resolver\n Useful for tooling.\n @constructor\n */\n var Promise$1 = function () {\n function Promise(resolver) {\n this[PROMISE_ID] = nextId();\n this._result = this._state = undefined;\n this._subscribers = [];\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n }\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n Chaining\n --------\n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we're unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n Assimilation\n ------------\n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n If the assimliated promise rejects, then the downstream promise will also reject.\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n Simple Example\n --------------\n Synchronous Example\n ```javascript\n let result;\n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n Errback Example\n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n Promise Example;\n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n Advanced Example\n --------------\n Synchronous Example\n ```javascript\n let author, books;\n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n Errback Example\n ```js\n function foundBooks(books) {\n }\n function failure(reason) {\n }\n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n Promise Example;\n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n @method then\n @param {Function} onFulfilled\n @param {Function} onRejected\n Useful for tooling.\n @return {Promise}\n */\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n ```js\n function findAuthor(){\n throw new Error('couldn't find that author');\n }\n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n @method catch\n @param {Function} onRejection\n Useful for tooling.\n @return {Promise}\n */\n Promise.prototype.catch = function _catch(onRejection) {\n return this.then(null, onRejection);\n };\n /**\n `finally` will be invoked regardless of the promise's fate just as native\n try/catch/finally behaves\n \n Synchronous example:\n \n ```js\n findAuthor() {\n if (Math.random() > 0.5) {\n throw new Error();\n }\n return new Author();\n }\n \n try {\n return findAuthor(); // succeed or fail\n } catch(error) {\n return findOtherAuther();\n } finally {\n // always runs\n // doesn't affect the return value\n }\n ```\n \n Asynchronous example:\n \n ```js\n findAuthor().catch(function(reason){\n return findOtherAuther();\n }).finally(function(){\n // author was either found, or not\n });\n ```\n \n @method finally\n @param {Function} callback\n @return {Promise}\n */\n Promise.prototype.finally = function _finally(callback) {\n var promise = this;\n var constructor = promise.constructor;\n if (isFunction(callback)) {\n return promise.then(function (value) {\n return constructor.resolve(callback()).then(function () {\n return value;\n });\n }, function (reason) {\n return constructor.resolve(callback()).then(function () {\n throw reason;\n });\n });\n }\n return promise.then(callback, callback);\n };\n return Promise;\n }();\n Promise$1.prototype.then = then;\n Promise$1.all = all;\n Promise$1.race = race;\n Promise$1.resolve = resolve$1;\n Promise$1.reject = reject$1;\n Promise$1._setScheduler = setScheduler;\n Promise$1._setAsap = setAsap;\n Promise$1._asap = asap;\n /*global self*/\n function polyfill() {\n var local = void 0;\n if (typeof __webpack_require__.g !== 'undefined') {\n local = __webpack_require__.g;\n }\n else if (typeof self !== 'undefined') {\n local = self;\n }\n else {\n try {\n local = Function('return this')();\n }\n catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n var P = local.Promise;\n if (P) {\n var promiseToString = null;\n try {\n promiseToString = Object.prototype.toString.call(P.resolve());\n }\n catch (e) {\n // silently ignored\n }\n if (promiseToString === '[object Promise]' && !P.cast) {\n return;\n }\n }\n local.Promise = Promise$1;\n }\n // Strange compat..\n Promise$1.polyfill = polyfill;\n Promise$1.Promise = Promise$1;\n return Promise$1;\n})));\n\n\n/***/ }),\n\n/***/ \"./node_modules/events/events.js\":\n/*!***************************************!*\\\n !*** ./node_modules/events/events.js ***!\n \\***************************************/\n/***/ (function(module) {\n\n\"use strict\";\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar R = typeof Reflect === 'object' ? Reflect : null;\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n };\nvar ReflectOwnKeys;\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys;\n}\nelse if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n}\nelse {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn)\n console.warn(warning);\n}\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n};\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function () {\n return defaultMaxListeners;\n },\n set: function (arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\nEventEmitter.init = function () {\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n this._maxListeners = this._maxListeners || undefined;\n};\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++)\n args.push(arguments[i]);\n var doError = (type === 'error');\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n var handler = events[type];\n if (handler === undefined)\n return false;\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n }\n else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n return true;\n};\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n checkListener(listener);\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n }\n else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type, listener.listener ? listener.listener : listener);\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n }\n else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n }\n else if (prepend) {\n existing.unshift(listener);\n }\n else {\n existing.push(listener);\n }\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n return target;\n}\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n checkListener(listener);\n events = this._events;\n if (events === undefined)\n return this;\n list = events[type];\n if (list === undefined)\n return this;\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n }\n else if (typeof list !== 'function') {\n position = -1;\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n if (position < 0)\n return this;\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n if (list.length === 1)\n events[type] = list[0];\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n return this;\n };\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n events = this._events;\n if (events === undefined)\n return this;\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener')\n continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n listeners = events[type];\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n }\n else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n return this;\n };\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n if (events === undefined)\n return [];\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\nEventEmitter.listenerCount = function (emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n }\n else {\n return listenerCount.call(emitter, type);\n }\n};\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n if (events !== undefined) {\n var evlistener = events[type];\n if (typeof evlistener === 'function') {\n return 1;\n }\n else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n return 0;\n}\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n }\n ;\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n }\n else {\n emitter.on(name, listener);\n }\n }\n else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n }\n else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/webworkify-webpack/index.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/webworkify-webpack/index.js ***!\n \\**************************************************/\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nfunction webpackBootstrapFunc(modules) {\n /******/ // The module cache\n /******/ var installedModules = {};\n /******/ // The require function\n /******/ function __nested_webpack_require_164__(moduleId) {\n /******/ // Check if module is in cache\n /******/ if (installedModules[moduleId])\n /******/ return installedModules[moduleId].exports;\n /******/ // Create a new module (and put it into the cache)\n /******/ var module = installedModules[moduleId] = {\n /******/ i: moduleId,\n /******/ l: false,\n /******/ exports: {}\n /******/ \n };\n /******/ // Execute the module function\n /******/ modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_164__);\n /******/ // Flag the module as loaded\n /******/ module.l = true;\n /******/ // Return the exports of the module\n /******/ return module.exports;\n /******/ \n }\n /******/ // expose the modules object (__webpack_modules__)\n /******/ __nested_webpack_require_164__.m = modules;\n /******/ // expose the module cache\n /******/ __nested_webpack_require_164__.c = installedModules;\n /******/ // identity function for calling harmony imports with the correct context\n /******/ __nested_webpack_require_164__.i = function (value) { return value; };\n /******/ // define getter function for harmony exports\n /******/ __nested_webpack_require_164__.d = function (exports, name, getter) {\n /******/ if (!__nested_webpack_require_164__.o(exports, name)) {\n /******/ Object.defineProperty(exports, name, {\n /******/ configurable: false,\n /******/ enumerable: true,\n /******/ get: getter\n /******/ \n });\n /******/ }\n /******/ \n };\n /******/ // define __esModule on exports\n /******/ __nested_webpack_require_164__.r = function (exports) {\n /******/ Object.defineProperty(exports, '__esModule', { value: true });\n /******/ \n };\n /******/ // getDefaultExport function for compatibility with non-harmony modules\n /******/ __nested_webpack_require_164__.n = function (module) {\n /******/ var getter = module && module.__esModule ?\n /******/ function getDefault() { return module['default']; } :\n /******/ function getModuleExports() { return module; };\n /******/ __nested_webpack_require_164__.d(getter, 'a', getter);\n /******/ return getter;\n /******/ \n };\n /******/ // Object.prototype.hasOwnProperty.call\n /******/ __nested_webpack_require_164__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n /******/ // __webpack_public_path__\n /******/ __nested_webpack_require_164__.p = \"/\";\n /******/ // on error function for async loading\n /******/ __nested_webpack_require_164__.oe = function (err) { console.error(err); throw err; };\n var f = __nested_webpack_require_164__(__nested_webpack_require_164__.s = ENTRY_MODULE);\n return f.default || f; // try to call default if defined to also support babel esmodule exports\n}\nvar moduleNameReqExp = '[\\\\.|\\\\-|\\\\+|\\\\w|\\/|@]+';\nvar dependencyRegExp = '\\\\(\\\\s*(\\/\\\\*.*?\\\\*\\/)?\\\\s*.*?(' + moduleNameReqExp + ').*?\\\\)'; // additional chars when output.pathinfo is true\n// http://stackoverflow.com/a/2593661/130442\nfunction quoteRegExp(str) {\n return (str + '').replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&');\n}\nfunction isNumeric(n) {\n return !isNaN(1 * n); // 1 * n converts integers, integers as string (\"123\"), 1e3 and \"1e3\" to integers and strings to NaN\n}\nfunction getModuleDependencies(sources, module, queueName) {\n var retval = {};\n retval[queueName] = [];\n var fnString = module.toString();\n var wrapperSignature = fnString.match(/^function\\s?\\w*\\(\\w+,\\s*\\w+,\\s*(\\w+)\\)/);\n if (!wrapperSignature)\n return retval;\n var webpackRequireName = wrapperSignature[1];\n // main bundle deps\n var re = new RegExp('(\\\\\\\\n|\\\\W)' + quoteRegExp(webpackRequireName) + dependencyRegExp, 'g');\n var match;\n while ((match = re.exec(fnString))) {\n if (match[3] === 'dll-reference')\n continue;\n retval[queueName].push(match[3]);\n }\n // dll deps\n re = new RegExp('\\\\(' + quoteRegExp(webpackRequireName) + '\\\\(\"(dll-reference\\\\s(' + moduleNameReqExp + '))\"\\\\)\\\\)' + dependencyRegExp, 'g');\n while ((match = re.exec(fnString))) {\n if (!sources[match[2]]) {\n retval[queueName].push(match[1]);\n sources[match[2]] = __webpack_require__(match[1]).m;\n }\n retval[match[2]] = retval[match[2]] || [];\n retval[match[2]].push(match[4]);\n }\n // convert 1e3 back to 1000 - this can be important after uglify-js converted 1000 to 1e3\n var keys = Object.keys(retval);\n for (var i = 0; i < keys.length; i++) {\n for (var j = 0; j < retval[keys[i]].length; j++) {\n if (isNumeric(retval[keys[i]][j])) {\n retval[keys[i]][j] = 1 * retval[keys[i]][j];\n }\n }\n }\n return retval;\n}\nfunction hasValuesInQueues(queues) {\n var keys = Object.keys(queues);\n return keys.reduce(function (hasValues, key) {\n return hasValues || queues[key].length > 0;\n }, false);\n}\nfunction getRequiredModules(sources, moduleId) {\n var modulesQueue = {\n main: [moduleId]\n };\n var requiredModules = {\n main: []\n };\n var seenModules = {\n main: {}\n };\n while (hasValuesInQueues(modulesQueue)) {\n var queues = Object.keys(modulesQueue);\n for (var i = 0; i < queues.length; i++) {\n var queueName = queues[i];\n var queue = modulesQueue[queueName];\n var moduleToCheck = queue.pop();\n seenModules[queueName] = seenModules[queueName] || {};\n if (seenModules[queueName][moduleToCheck] || !sources[queueName][moduleToCheck])\n continue;\n seenModules[queueName][moduleToCheck] = true;\n requiredModules[queueName] = requiredModules[queueName] || [];\n requiredModules[queueName].push(moduleToCheck);\n var newModules = getModuleDependencies(sources, sources[queueName][moduleToCheck], queueName);\n var newModulesKeys = Object.keys(newModules);\n for (var j = 0; j < newModulesKeys.length; j++) {\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]] || [];\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]].concat(newModules[newModulesKeys[j]]);\n }\n }\n }\n return requiredModules;\n}\nmodule.exports = function (moduleId, options) {\n options = options || {};\n var sources = {\n main: __webpack_require__.m\n };\n var requiredModules = options.all ? { main: Object.keys(sources.main) } : getRequiredModules(sources, moduleId);\n var src = '';\n Object.keys(requiredModules).filter(function (m) { return m !== 'main'; }).forEach(function (module) {\n var entryModule = 0;\n while (requiredModules[module][entryModule]) {\n entryModule++;\n }\n requiredModules[module].push(entryModule);\n sources[module][entryModule] = '(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })';\n src = src + 'var ' + module + ' = (' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(entryModule)) + ')({' + requiredModules[module].map(function (id) { return '' + JSON.stringify(id) + ': ' + sources[module][id].toString(); }).join(',') + '});\\n';\n });\n src = src + 'new ((' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(moduleId)) + ')({' + requiredModules.main.map(function (id) { return '' + JSON.stringify(id) + ': ' + sources.main[id].toString(); }).join(',') + '}))(self);';\n var blob = new window.Blob([src], { type: 'text/javascript' });\n if (options.bare) {\n return blob;\n }\n var URL = window.URL || window.webkitURL || window.mozURL || window.msURL;\n var workerUrl = URL.createObjectURL(blob);\n var worker = new window.Worker(workerUrl);\n worker.objectURL = workerUrl;\n return worker;\n};\n\n\n/***/ }),\n\n/***/ \"./src/config.js\":\n/*!***********************!*\\\n !*** ./src/config.js ***!\n \\***********************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"defaultConfig\": function() { return /* binding */ defaultConfig; },\n/* harmony export */ \"createDefaultConfig\": function() { return /* binding */ createDefaultConfig; }\n/* harmony export */ });\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar defaultConfig = {\n enableWorker: false,\n enableStashBuffer: true,\n stashInitialSize: undefined,\n isLive: false,\n lazyLoad: true,\n lazyLoadMaxDuration: 3 * 60,\n lazyLoadRecoverDuration: 30,\n deferLoadAfterSourceOpen: true,\n // autoCleanupSourceBuffer: default as false, leave unspecified\n autoCleanupMaxBackwardDuration: 3 * 60,\n autoCleanupMinBackwardDuration: 2 * 60,\n statisticsInfoReportInterval: 600,\n fixAudioTimestampGap: true,\n accurateSeek: false,\n seekType: 'range',\n seekParamStart: 'bstart',\n seekParamEnd: 'bend',\n rangeLoadZeroStart: false,\n customSeekHandler: undefined,\n reuseRedirectedURL: false,\n // referrerPolicy: leave as unspecified\n headers: undefined,\n customLoader: undefined\n};\nfunction createDefaultConfig() {\n return Object.assign({}, defaultConfig);\n}\n\n\n/***/ }),\n\n/***/ \"./src/core/features.js\":\n/*!******************************!*\\\n !*** ./src/core/features.js ***!\n \\******************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _io_io_controller_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../io/io-controller.js */ \"./src/io/io-controller.js\");\n/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config.js */ \"./src/config.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nvar Features = /** @class */ (function () {\n function Features() {\n }\n Features.supportMSEH264Playback = function () {\n return window.MediaSource &&\n window.MediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\n };\n Features.supportNetworkStreamIO = function () {\n var ioctl = new _io_io_controller_js__WEBPACK_IMPORTED_MODULE_0__.default({}, (0,_config_js__WEBPACK_IMPORTED_MODULE_1__.createDefaultConfig)());\n var loaderType = ioctl.loaderType;\n ioctl.destroy();\n return loaderType == 'fetch-stream-loader' || loaderType == 'xhr-moz-chunked-loader';\n };\n Features.getNetworkLoaderTypeName = function () {\n var ioctl = new _io_io_controller_js__WEBPACK_IMPORTED_MODULE_0__.default({}, (0,_config_js__WEBPACK_IMPORTED_MODULE_1__.createDefaultConfig)());\n var loaderType = ioctl.loaderType;\n ioctl.destroy();\n return loaderType;\n };\n Features.supportNativeMediaPlayback = function (mimeType) {\n if (Features.videoElement == undefined) {\n Features.videoElement = window.document.createElement('video');\n }\n var canPlay = Features.videoElement.canPlayType(mimeType);\n return canPlay === 'probably' || canPlay == 'maybe';\n };\n Features.getFeatureList = function () {\n var features = {\n mseFlvPlayback: false,\n mseLiveFlvPlayback: false,\n networkStreamIO: false,\n networkLoaderName: '',\n nativeMP4H264Playback: false,\n nativeWebmVP8Playback: false,\n nativeWebmVP9Playback: false\n };\n features.mseFlvPlayback = Features.supportMSEH264Playback();\n features.networkStreamIO = Features.supportNetworkStreamIO();\n features.networkLoaderName = Features.getNetworkLoaderTypeName();\n features.mseLiveFlvPlayback = features.mseFlvPlayback && features.networkStreamIO;\n features.nativeMP4H264Playback = Features.supportNativeMediaPlayback('video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"');\n features.nativeWebmVP8Playback = Features.supportNativeMediaPlayback('video/webm; codecs=\"vp8.0, vorbis\"');\n features.nativeWebmVP9Playback = Features.supportNativeMediaPlayback('video/webm; codecs=\"vp9\"');\n return features;\n };\n return Features;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (Features);\n\n\n/***/ }),\n\n/***/ \"./src/core/media-info.js\":\n/*!********************************!*\\\n !*** ./src/core/media-info.js ***!\n \\********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar MediaInfo = /** @class */ (function () {\n function MediaInfo() {\n this.mimeType = null;\n this.duration = null;\n this.hasAudio = null;\n this.hasVideo = null;\n this.audioCodec = null;\n this.videoCodec = null;\n this.audioDataRate = null;\n this.videoDataRate = null;\n this.audioSampleRate = null;\n this.audioChannelCount = null;\n this.width = null;\n this.height = null;\n this.fps = null;\n this.profile = null;\n this.level = null;\n this.refFrames = null;\n this.chromaFormat = null;\n this.sarNum = null;\n this.sarDen = null;\n this.metadata = null;\n this.segments = null; // MediaInfo[]\n this.segmentCount = null;\n this.hasKeyframesIndex = null;\n this.keyframesIndex = null;\n }\n MediaInfo.prototype.isComplete = function () {\n var audioInfoComplete = (this.hasAudio === false) ||\n (this.hasAudio === true &&\n this.audioCodec != null &&\n this.audioSampleRate != null &&\n this.audioChannelCount != null);\n var videoInfoComplete = (this.hasVideo === false) ||\n (this.hasVideo === true &&\n this.videoCodec != null &&\n this.width != null &&\n this.height != null &&\n this.fps != null &&\n this.profile != null &&\n this.level != null &&\n this.refFrames != null &&\n this.chromaFormat != null &&\n this.sarNum != null &&\n this.sarDen != null);\n // keyframesIndex may not be present\n return this.mimeType != null &&\n this.duration != null &&\n this.metadata != null &&\n this.hasKeyframesIndex != null &&\n audioInfoComplete &&\n videoInfoComplete;\n };\n MediaInfo.prototype.isSeekable = function () {\n return this.hasKeyframesIndex === true;\n };\n MediaInfo.prototype.getNearestKeyframe = function (milliseconds) {\n if (this.keyframesIndex == null) {\n return null;\n }\n var table = this.keyframesIndex;\n var keyframeIdx = this._search(table.times, milliseconds);\n return {\n index: keyframeIdx,\n milliseconds: table.times[keyframeIdx],\n fileposition: table.filepositions[keyframeIdx]\n };\n };\n MediaInfo.prototype._search = function (list, value) {\n var idx = 0;\n var last = list.length - 1;\n var mid = 0;\n var lbound = 0;\n var ubound = last;\n if (value < list[0]) {\n idx = 0;\n lbound = ubound + 1; // skip search\n }\n while (lbound <= ubound) {\n mid = lbound + Math.floor((ubound - lbound) / 2);\n if (mid === last || (value >= list[mid] && value < list[mid + 1])) {\n idx = mid;\n break;\n }\n else if (list[mid] < value) {\n lbound = mid + 1;\n }\n else {\n ubound = mid - 1;\n }\n }\n return idx;\n };\n return MediaInfo;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (MediaInfo);\n\n\n/***/ }),\n\n/***/ \"./src/core/media-segment-info.js\":\n/*!****************************************!*\\\n !*** ./src/core/media-segment-info.js ***!\n \\****************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"SampleInfo\": function() { return /* binding */ SampleInfo; },\n/* harmony export */ \"MediaSegmentInfo\": function() { return /* binding */ MediaSegmentInfo; },\n/* harmony export */ \"IDRSampleList\": function() { return /* binding */ IDRSampleList; },\n/* harmony export */ \"MediaSegmentInfoList\": function() { return /* binding */ MediaSegmentInfoList; }\n/* harmony export */ });\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// Represents an media sample (audio / video)\nvar SampleInfo = /** @class */ (function () {\n function SampleInfo(dts, pts, duration, originalDts, isSync) {\n this.dts = dts;\n this.pts = pts;\n this.duration = duration;\n this.originalDts = originalDts;\n this.isSyncPoint = isSync;\n this.fileposition = null;\n }\n return SampleInfo;\n}());\n\n// Media Segment concept is defined in Media Source Extensions spec.\n// Particularly in ISO BMFF format, an Media Segment contains a moof box followed by a mdat box.\nvar MediaSegmentInfo = /** @class */ (function () {\n function MediaSegmentInfo() {\n this.beginDts = 0;\n this.endDts = 0;\n this.beginPts = 0;\n this.endPts = 0;\n this.originalBeginDts = 0;\n this.originalEndDts = 0;\n this.syncPoints = []; // SampleInfo[n], for video IDR frames only\n this.firstSample = null; // SampleInfo\n this.lastSample = null; // SampleInfo\n }\n MediaSegmentInfo.prototype.appendSyncPoint = function (sampleInfo) {\n sampleInfo.isSyncPoint = true;\n this.syncPoints.push(sampleInfo);\n };\n return MediaSegmentInfo;\n}());\n\n// Ordered list for recording video IDR frames, sorted by originalDts\nvar IDRSampleList = /** @class */ (function () {\n function IDRSampleList() {\n this._list = [];\n }\n IDRSampleList.prototype.clear = function () {\n this._list = [];\n };\n IDRSampleList.prototype.appendArray = function (syncPoints) {\n var list = this._list;\n if (syncPoints.length === 0) {\n return;\n }\n if (list.length > 0 && syncPoints[0].originalDts < list[list.length - 1].originalDts) {\n this.clear();\n }\n Array.prototype.push.apply(list, syncPoints);\n };\n IDRSampleList.prototype.getLastSyncPointBeforeDts = function (dts) {\n if (this._list.length == 0) {\n return null;\n }\n var list = this._list;\n var idx = 0;\n var last = list.length - 1;\n var mid = 0;\n var lbound = 0;\n var ubound = last;\n if (dts < list[0].dts) {\n idx = 0;\n lbound = ubound + 1;\n }\n while (lbound <= ubound) {\n mid = lbound + Math.floor((ubound - lbound) / 2);\n if (mid === last || (dts >= list[mid].dts && dts < list[mid + 1].dts)) {\n idx = mid;\n break;\n }\n else if (list[mid].dts < dts) {\n lbound = mid + 1;\n }\n else {\n ubound = mid - 1;\n }\n }\n return this._list[idx];\n };\n return IDRSampleList;\n}());\n\n// Data structure for recording information of media segments in single track.\nvar MediaSegmentInfoList = /** @class */ (function () {\n function MediaSegmentInfoList(type) {\n this._type = type;\n this._list = [];\n this._lastAppendLocation = -1; // cached last insert location\n }\n Object.defineProperty(MediaSegmentInfoList.prototype, \"type\", {\n get: function () {\n return this._type;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MediaSegmentInfoList.prototype, \"length\", {\n get: function () {\n return this._list.length;\n },\n enumerable: false,\n configurable: true\n });\n MediaSegmentInfoList.prototype.isEmpty = function () {\n return this._list.length === 0;\n };\n MediaSegmentInfoList.prototype.clear = function () {\n this._list = [];\n this._lastAppendLocation = -1;\n };\n MediaSegmentInfoList.prototype._searchNearestSegmentBefore = function (originalBeginDts) {\n var list = this._list;\n if (list.length === 0) {\n return -2;\n }\n var last = list.length - 1;\n var mid = 0;\n var lbound = 0;\n var ubound = last;\n var idx = 0;\n if (originalBeginDts < list[0].originalBeginDts) {\n idx = -1;\n return idx;\n }\n while (lbound <= ubound) {\n mid = lbound + Math.floor((ubound - lbound) / 2);\n if (mid === last || (originalBeginDts > list[mid].lastSample.originalDts &&\n (originalBeginDts < list[mid + 1].originalBeginDts))) {\n idx = mid;\n break;\n }\n else if (list[mid].originalBeginDts < originalBeginDts) {\n lbound = mid + 1;\n }\n else {\n ubound = mid - 1;\n }\n }\n return idx;\n };\n MediaSegmentInfoList.prototype._searchNearestSegmentAfter = function (originalBeginDts) {\n return this._searchNearestSegmentBefore(originalBeginDts) + 1;\n };\n MediaSegmentInfoList.prototype.append = function (mediaSegmentInfo) {\n var list = this._list;\n var msi = mediaSegmentInfo;\n var lastAppendIdx = this._lastAppendLocation;\n var insertIdx = 0;\n if (lastAppendIdx !== -1 && lastAppendIdx < list.length &&\n msi.originalBeginDts >= list[lastAppendIdx].lastSample.originalDts &&\n ((lastAppendIdx === list.length - 1) ||\n (lastAppendIdx < list.length - 1 &&\n msi.originalBeginDts < list[lastAppendIdx + 1].originalBeginDts))) {\n insertIdx = lastAppendIdx + 1; // use cached location idx\n }\n else {\n if (list.length > 0) {\n insertIdx = this._searchNearestSegmentBefore(msi.originalBeginDts) + 1;\n }\n }\n this._lastAppendLocation = insertIdx;\n this._list.splice(insertIdx, 0, msi);\n };\n MediaSegmentInfoList.prototype.getLastSegmentBefore = function (originalBeginDts) {\n var idx = this._searchNearestSegmentBefore(originalBeginDts);\n if (idx >= 0) {\n return this._list[idx];\n }\n else { // -1\n return null;\n }\n };\n MediaSegmentInfoList.prototype.getLastSampleBefore = function (originalBeginDts) {\n var segment = this.getLastSegmentBefore(originalBeginDts);\n if (segment != null) {\n return segment.lastSample;\n }\n else {\n return null;\n }\n };\n MediaSegmentInfoList.prototype.getLastSyncPointBefore = function (originalBeginDts) {\n var segmentIdx = this._searchNearestSegmentBefore(originalBeginDts);\n var syncPoints = this._list[segmentIdx].syncPoints;\n while (syncPoints.length === 0 && segmentIdx > 0) {\n segmentIdx--;\n syncPoints = this._list[segmentIdx].syncPoints;\n }\n if (syncPoints.length > 0) {\n return syncPoints[syncPoints.length - 1];\n }\n else {\n return null;\n }\n };\n return MediaSegmentInfoList;\n}());\n\n\n\n/***/ }),\n\n/***/ \"./src/core/mse-controller.js\":\n/*!************************************!*\\\n !*** ./src/core/mse-controller.js ***!\n \\************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/browser.js */ \"./src/utils/browser.js\");\n/* harmony import */ var _mse_events_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./mse-events.js */ \"./src/core/mse-events.js\");\n/* harmony import */ var _media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./media-segment-info.js */ \"./src/core/media-segment-info.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n// Media Source Extensions controller\nvar MSEController = /** @class */ (function () {\n function MSEController(config) {\n this.TAG = 'MSEController';\n this._config = config;\n this._emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n if (this._config.isLive && this._config.autoCleanupSourceBuffer == undefined) {\n // For live stream, do auto cleanup by default\n this._config.autoCleanupSourceBuffer = true;\n }\n this.e = {\n onSourceOpen: this._onSourceOpen.bind(this),\n onSourceEnded: this._onSourceEnded.bind(this),\n onSourceClose: this._onSourceClose.bind(this),\n onSourceBufferError: this._onSourceBufferError.bind(this),\n onSourceBufferUpdateEnd: this._onSourceBufferUpdateEnd.bind(this)\n };\n this._mediaSource = null;\n this._mediaSourceObjectURL = null;\n this._mediaElement = null;\n this._isBufferFull = false;\n this._hasPendingEos = false;\n this._requireSetMediaDuration = false;\n this._pendingMediaDuration = 0;\n this._pendingSourceBufferInit = [];\n this._mimeTypes = {\n video: null,\n audio: null\n };\n this._sourceBuffers = {\n video: null,\n audio: null\n };\n this._lastInitSegments = {\n video: null,\n audio: null\n };\n this._pendingSegments = {\n video: [],\n audio: []\n };\n this._pendingRemoveRanges = {\n video: [],\n audio: []\n };\n this._idrList = new _media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.IDRSampleList();\n }\n MSEController.prototype.destroy = function () {\n if (this._mediaElement || this._mediaSource) {\n this.detachMediaElement();\n }\n this.e = null;\n this._emitter.removeAllListeners();\n this._emitter = null;\n };\n MSEController.prototype.on = function (event, listener) {\n this._emitter.addListener(event, listener);\n };\n MSEController.prototype.off = function (event, listener) {\n this._emitter.removeListener(event, listener);\n };\n MSEController.prototype.attachMediaElement = function (mediaElement) {\n if (this._mediaSource) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__.IllegalStateException('MediaSource has been attached to an HTMLMediaElement!');\n }\n var ms = this._mediaSource = new window.MediaSource();\n ms.addEventListener('sourceopen', this.e.onSourceOpen);\n ms.addEventListener('sourceended', this.e.onSourceEnded);\n ms.addEventListener('sourceclose', this.e.onSourceClose);\n this._mediaElement = mediaElement;\n this._mediaSourceObjectURL = window.URL.createObjectURL(this._mediaSource);\n mediaElement.src = this._mediaSourceObjectURL;\n };\n MSEController.prototype.detachMediaElement = function () {\n if (this._mediaSource) {\n var ms = this._mediaSource;\n for (var type in this._sourceBuffers) {\n // pending segments should be discard\n var ps = this._pendingSegments[type];\n ps.splice(0, ps.length);\n this._pendingSegments[type] = null;\n this._pendingRemoveRanges[type] = null;\n this._lastInitSegments[type] = null;\n // remove all sourcebuffers\n var sb = this._sourceBuffers[type];\n if (sb) {\n if (ms.readyState !== 'closed') {\n // ms edge can throw an error: Unexpected call to method or property access\n try {\n ms.removeSourceBuffer(sb);\n }\n catch (error) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, error.message);\n }\n sb.removeEventListener('error', this.e.onSourceBufferError);\n sb.removeEventListener('updateend', this.e.onSourceBufferUpdateEnd);\n }\n this._mimeTypes[type] = null;\n this._sourceBuffers[type] = null;\n }\n }\n if (ms.readyState === 'open') {\n try {\n ms.endOfStream();\n }\n catch (error) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, error.message);\n }\n }\n ms.removeEventListener('sourceopen', this.e.onSourceOpen);\n ms.removeEventListener('sourceended', this.e.onSourceEnded);\n ms.removeEventListener('sourceclose', this.e.onSourceClose);\n this._pendingSourceBufferInit = [];\n this._isBufferFull = false;\n this._idrList.clear();\n this._mediaSource = null;\n }\n if (this._mediaElement) {\n this._mediaElement.src = '';\n this._mediaElement.removeAttribute('src');\n this._mediaElement = null;\n }\n if (this._mediaSourceObjectURL) {\n window.URL.revokeObjectURL(this._mediaSourceObjectURL);\n this._mediaSourceObjectURL = null;\n }\n };\n MSEController.prototype.appendInitSegment = function (initSegment, deferred) {\n if (!this._mediaSource || this._mediaSource.readyState !== 'open') {\n // sourcebuffer creation requires mediaSource.readyState === 'open'\n // so we defer the sourcebuffer creation, until sourceopen event triggered\n this._pendingSourceBufferInit.push(initSegment);\n // make sure that this InitSegment is in the front of pending segments queue\n this._pendingSegments[initSegment.type].push(initSegment);\n return;\n }\n var is = initSegment;\n var mimeType = \"\" + is.container;\n if (is.codec && is.codec.length > 0) {\n mimeType += \";codecs=\" + is.codec;\n }\n var firstInitSegment = false;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'Received Initialization Segment, mimeType: ' + mimeType);\n this._lastInitSegments[is.type] = is;\n if (mimeType !== this._mimeTypes[is.type]) {\n if (!this._mimeTypes[is.type]) { // empty, first chance create sourcebuffer\n firstInitSegment = true;\n try {\n var sb = this._sourceBuffers[is.type] = this._mediaSource.addSourceBuffer(mimeType);\n sb.addEventListener('error', this.e.onSourceBufferError);\n sb.addEventListener('updateend', this.e.onSourceBufferUpdateEnd);\n }\n catch (error) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, error.message);\n this._emitter.emit(_mse_events_js__WEBPACK_IMPORTED_MODULE_3__.default.ERROR, { code: error.code, msg: error.message });\n return;\n }\n }\n else {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, \"Notice: \" + is.type + \" mimeType changed, origin: \" + this._mimeTypes[is.type] + \", target: \" + mimeType);\n }\n this._mimeTypes[is.type] = mimeType;\n }\n if (!deferred) {\n // deferred means this InitSegment has been pushed to pendingSegments queue\n this._pendingSegments[is.type].push(is);\n }\n if (!firstInitSegment) { // append immediately only if init segment in subsequence\n if (this._sourceBuffers[is.type] && !this._sourceBuffers[is.type].updating) {\n this._doAppendSegments();\n }\n }\n if (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari && is.container === 'audio/mpeg' && is.mediaDuration > 0) {\n // 'audio/mpeg' track under Safari may cause MediaElement's duration to be NaN\n // Manually correct MediaSource.duration to make progress bar seekable, and report right duration\n this._requireSetMediaDuration = true;\n this._pendingMediaDuration = is.mediaDuration / 1000; // in seconds\n this._updateMediaSourceDuration();\n }\n };\n MSEController.prototype.appendMediaSegment = function (mediaSegment) {\n var ms = mediaSegment;\n this._pendingSegments[ms.type].push(ms);\n if (this._config.autoCleanupSourceBuffer && this._needCleanupSourceBuffer()) {\n this._doCleanupSourceBuffer();\n }\n var sb = this._sourceBuffers[ms.type];\n if (sb && !sb.updating && !this._hasPendingRemoveRanges()) {\n this._doAppendSegments();\n }\n };\n MSEController.prototype.seek = function (seconds) {\n // remove all appended buffers\n for (var type in this._sourceBuffers) {\n if (!this._sourceBuffers[type]) {\n continue;\n }\n // abort current buffer append algorithm\n var sb = this._sourceBuffers[type];\n if (this._mediaSource.readyState === 'open') {\n try {\n // If range removal algorithm is running, InvalidStateError will be throwed\n // Ignore it.\n sb.abort();\n }\n catch (error) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, error.message);\n }\n }\n // IDRList should be clear\n this._idrList.clear();\n // pending segments should be discard\n var ps = this._pendingSegments[type];\n ps.splice(0, ps.length);\n if (this._mediaSource.readyState === 'closed') {\n // Parent MediaSource object has been detached from HTMLMediaElement\n continue;\n }\n // record ranges to be remove from SourceBuffer\n for (var i = 0; i < sb.buffered.length; i++) {\n var start = sb.buffered.start(i);\n var end = sb.buffered.end(i);\n this._pendingRemoveRanges[type].push({ start: start, end: end });\n }\n // if sb is not updating, let's remove ranges now!\n if (!sb.updating) {\n this._doRemoveRanges();\n }\n // Safari 10 may get InvalidStateError in the later appendBuffer() after SourceBuffer.remove() call\n // Internal parser's state may be invalid at this time. Re-append last InitSegment to workaround.\n // Related issue: https://bugs.webkit.org/show_bug.cgi?id=159230\n if (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari) {\n var lastInitSegment = this._lastInitSegments[type];\n if (lastInitSegment) {\n this._pendingSegments[type].push(lastInitSegment);\n if (!sb.updating) {\n this._doAppendSegments();\n }\n }\n }\n }\n };\n MSEController.prototype.endOfStream = function () {\n var ms = this._mediaSource;\n var sb = this._sourceBuffers;\n if (!ms || ms.readyState !== 'open') {\n if (ms && ms.readyState === 'closed' && this._hasPendingSegments()) {\n // If MediaSource hasn't turned into open state, and there're pending segments\n // Mark pending endOfStream, defer call until all pending segments appended complete\n this._hasPendingEos = true;\n }\n return;\n }\n if (sb.video && sb.video.updating || sb.audio && sb.audio.updating) {\n // If any sourcebuffer is updating, defer endOfStream operation\n // See _onSourceBufferUpdateEnd()\n this._hasPendingEos = true;\n }\n else {\n this._hasPendingEos = false;\n // Notify media data loading complete\n // This is helpful for correcting total duration to match last media segment\n // Otherwise MediaElement's ended event may not be triggered\n ms.endOfStream();\n }\n };\n MSEController.prototype.getNearestKeyframe = function (dts) {\n return this._idrList.getLastSyncPointBeforeDts(dts);\n };\n MSEController.prototype._needCleanupSourceBuffer = function () {\n if (!this._config.autoCleanupSourceBuffer) {\n return false;\n }\n var currentTime = this._mediaElement.currentTime;\n for (var type in this._sourceBuffers) {\n var sb = this._sourceBuffers[type];\n if (sb) {\n var buffered = sb.buffered;\n if (buffered.length >= 1) {\n if (currentTime - buffered.start(0) >= this._config.autoCleanupMaxBackwardDuration) {\n return true;\n }\n }\n }\n }\n return false;\n };\n MSEController.prototype._doCleanupSourceBuffer = function () {\n var currentTime = this._mediaElement.currentTime;\n for (var type in this._sourceBuffers) {\n var sb = this._sourceBuffers[type];\n if (sb) {\n var buffered = sb.buffered;\n var doRemove = false;\n for (var i = 0; i < buffered.length; i++) {\n var start = buffered.start(i);\n var end = buffered.end(i);\n if (start <= currentTime && currentTime < end + 3) { // padding 3 seconds\n if (currentTime - start >= this._config.autoCleanupMaxBackwardDuration) {\n doRemove = true;\n var removeEnd = currentTime - this._config.autoCleanupMinBackwardDuration;\n this._pendingRemoveRanges[type].push({ start: start, end: removeEnd });\n }\n }\n else if (end < currentTime) {\n doRemove = true;\n this._pendingRemoveRanges[type].push({ start: start, end: end });\n }\n }\n if (doRemove && !sb.updating) {\n this._doRemoveRanges();\n }\n }\n }\n };\n MSEController.prototype._updateMediaSourceDuration = function () {\n var sb = this._sourceBuffers;\n if (this._mediaElement.readyState === 0 || this._mediaSource.readyState !== 'open') {\n return;\n }\n if ((sb.video && sb.video.updating) || (sb.audio && sb.audio.updating)) {\n return;\n }\n var current = this._mediaSource.duration;\n var target = this._pendingMediaDuration;\n if (target > 0 && (isNaN(current) || target > current)) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, \"Update MediaSource duration from \" + current + \" to \" + target);\n this._mediaSource.duration = target;\n }\n this._requireSetMediaDuration = false;\n this._pendingMediaDuration = 0;\n };\n MSEController.prototype._doRemoveRanges = function () {\n for (var type in this._pendingRemoveRanges) {\n if (!this._sourceBuffers[type] || this._sourceBuffers[type].updating) {\n continue;\n }\n var sb = this._sourceBuffers[type];\n var ranges = this._pendingRemoveRanges[type];\n while (ranges.length && !sb.updating) {\n var range = ranges.shift();\n sb.remove(range.start, range.end);\n }\n }\n };\n MSEController.prototype._doAppendSegments = function () {\n var pendingSegments = this._pendingSegments;\n for (var type in pendingSegments) {\n if (!this._sourceBuffers[type] || this._sourceBuffers[type].updating) {\n continue;\n }\n if (pendingSegments[type].length > 0) {\n var segment = pendingSegments[type].shift();\n if (segment.timestampOffset) {\n // For MPEG audio stream in MSE, if unbuffered-seeking occurred\n // We need explicitly set timestampOffset to the desired point in timeline for mpeg SourceBuffer.\n var currentOffset = this._sourceBuffers[type].timestampOffset;\n var targetOffset = segment.timestampOffset / 1000; // in seconds\n var delta = Math.abs(currentOffset - targetOffset);\n if (delta > 0.1) { // If time delta > 100ms\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, \"Update MPEG audio timestampOffset from \" + currentOffset + \" to \" + targetOffset);\n this._sourceBuffers[type].timestampOffset = targetOffset;\n }\n delete segment.timestampOffset;\n }\n if (!segment.data || segment.data.byteLength === 0) {\n // Ignore empty buffer\n continue;\n }\n try {\n this._sourceBuffers[type].appendBuffer(segment.data);\n this._isBufferFull = false;\n if (type === 'video' && segment.hasOwnProperty('info')) {\n this._idrList.appendArray(segment.info.syncPoints);\n }\n }\n catch (error) {\n this._pendingSegments[type].unshift(segment);\n if (error.code === 22) { // QuotaExceededError\n /* Notice that FireFox may not throw QuotaExceededError if SourceBuffer is full\n * Currently we can only do lazy-load to avoid SourceBuffer become scattered.\n * SourceBuffer eviction policy may be changed in future version of FireFox.\n *\n * Related issues:\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1279885\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1280023\n */\n // report buffer full, abort network IO\n if (!this._isBufferFull) {\n this._emitter.emit(_mse_events_js__WEBPACK_IMPORTED_MODULE_3__.default.BUFFER_FULL);\n }\n this._isBufferFull = true;\n }\n else {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, error.message);\n this._emitter.emit(_mse_events_js__WEBPACK_IMPORTED_MODULE_3__.default.ERROR, { code: error.code, msg: error.message });\n }\n }\n }\n }\n };\n MSEController.prototype._onSourceOpen = function () {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'MediaSource onSourceOpen');\n this._mediaSource.removeEventListener('sourceopen', this.e.onSourceOpen);\n // deferred sourcebuffer creation / initialization\n if (this._pendingSourceBufferInit.length > 0) {\n var pendings = this._pendingSourceBufferInit;\n while (pendings.length) {\n var segment = pendings.shift();\n this.appendInitSegment(segment, true);\n }\n }\n // there may be some pending media segments, append them\n if (this._hasPendingSegments()) {\n this._doAppendSegments();\n }\n this._emitter.emit(_mse_events_js__WEBPACK_IMPORTED_MODULE_3__.default.SOURCE_OPEN);\n };\n MSEController.prototype._onSourceEnded = function () {\n // fired on endOfStream\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'MediaSource onSourceEnded');\n };\n MSEController.prototype._onSourceClose = function () {\n // fired on detaching from media element\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'MediaSource onSourceClose');\n if (this._mediaSource && this.e != null) {\n this._mediaSource.removeEventListener('sourceopen', this.e.onSourceOpen);\n this._mediaSource.removeEventListener('sourceended', this.e.onSourceEnded);\n this._mediaSource.removeEventListener('sourceclose', this.e.onSourceClose);\n }\n };\n MSEController.prototype._hasPendingSegments = function () {\n var ps = this._pendingSegments;\n return ps.video.length > 0 || ps.audio.length > 0;\n };\n MSEController.prototype._hasPendingRemoveRanges = function () {\n var prr = this._pendingRemoveRanges;\n return prr.video.length > 0 || prr.audio.length > 0;\n };\n MSEController.prototype._onSourceBufferUpdateEnd = function () {\n if (this._requireSetMediaDuration) {\n this._updateMediaSourceDuration();\n }\n else if (this._hasPendingRemoveRanges()) {\n this._doRemoveRanges();\n }\n else if (this._hasPendingSegments()) {\n this._doAppendSegments();\n }\n else if (this._hasPendingEos) {\n this.endOfStream();\n }\n this._emitter.emit(_mse_events_js__WEBPACK_IMPORTED_MODULE_3__.default.UPDATE_END);\n };\n MSEController.prototype._onSourceBufferError = function (e) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, \"SourceBuffer Error: \" + e);\n // this error might not always be fatal, just ignore it\n };\n return MSEController;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (MSEController);\n\n\n/***/ }),\n\n/***/ \"./src/core/mse-events.js\":\n/*!********************************!*\\\n !*** ./src/core/mse-events.js ***!\n \\********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar MSEEvents = {\n ERROR: 'error',\n SOURCE_OPEN: 'source_open',\n UPDATE_END: 'update_end',\n BUFFER_FULL: 'buffer_full'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MSEEvents);\n\n\n/***/ }),\n\n/***/ \"./src/core/transmuxer.js\":\n/*!********************************!*\\\n !*** ./src/core/transmuxer.js ***!\n \\********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var webworkify_webpack__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! webworkify-webpack */ \"./node_modules/webworkify-webpack/index.js\");\n/* harmony import */ var webworkify_webpack__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(webworkify_webpack__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/logging-control.js */ \"./src/utils/logging-control.js\");\n/* harmony import */ var _transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transmuxing-controller.js */ \"./src/core/transmuxing-controller.js\");\n/* harmony import */ var _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./transmuxing-events.js */ \"./src/core/transmuxing-events.js\");\n/* harmony import */ var _media_info_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./media-info.js */ \"./src/core/media-info.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\nvar Transmuxer = /** @class */ (function () {\n function Transmuxer(mediaDataSource, config) {\n this.TAG = 'Transmuxer';\n this._emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n if (config.enableWorker && typeof (Worker) !== 'undefined') {\n try {\n this._worker = webworkify_webpack__WEBPACK_IMPORTED_MODULE_1___default()(/*require.resolve*/(/*! ./transmuxing-worker */ \"./src/core/transmuxing-worker.js\"));\n this._workerDestroying = false;\n this._worker.addEventListener('message', this._onWorkerMessage.bind(this));\n this._worker.postMessage({ cmd: 'init', param: [mediaDataSource, config] });\n this.e = {\n onLoggingConfigChanged: this._onLoggingConfigChanged.bind(this)\n };\n _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_3__.default.registerListener(this.e.onLoggingConfigChanged);\n this._worker.postMessage({ cmd: 'logging_config', param: _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_3__.default.getConfig() });\n }\n catch (error) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_2__.default.e(this.TAG, 'Error while initialize transmuxing worker, fallback to inline transmuxing');\n this._worker = null;\n this._controller = new _transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_4__.default(mediaDataSource, config);\n }\n }\n else {\n this._controller = new _transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_4__.default(mediaDataSource, config);\n }\n if (this._controller) {\n var ctl = this._controller;\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.IO_ERROR, this._onIOError.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.DEMUX_ERROR, this._onDemuxError.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.INIT_SEGMENT, this._onInitSegment.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_SEGMENT, this._onMediaSegment.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.LOADING_COMPLETE, this._onLoadingComplete.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOVERED_EARLY_EOF, this._onRecoveredEarlyEof.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_INFO, this._onMediaInfo.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.METADATA_ARRIVED, this._onMetaDataArrived.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.SCRIPTDATA_ARRIVED, this._onScriptDataArrived.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.STATISTICS_INFO, this._onStatisticsInfo.bind(this));\n ctl.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOMMEND_SEEKPOINT, this._onRecommendSeekpoint.bind(this));\n }\n }\n Transmuxer.prototype.destroy = function () {\n if (this._worker) {\n if (!this._workerDestroying) {\n this._workerDestroying = true;\n this._worker.postMessage({ cmd: 'destroy' });\n _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_3__.default.removeListener(this.e.onLoggingConfigChanged);\n this.e = null;\n }\n }\n else {\n this._controller.destroy();\n this._controller = null;\n }\n this._emitter.removeAllListeners();\n this._emitter = null;\n };\n Transmuxer.prototype.on = function (event, listener) {\n this._emitter.addListener(event, listener);\n };\n Transmuxer.prototype.off = function (event, listener) {\n this._emitter.removeListener(event, listener);\n };\n Transmuxer.prototype.hasWorker = function () {\n return this._worker != null;\n };\n Transmuxer.prototype.open = function () {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'start' });\n }\n else {\n this._controller.start();\n }\n };\n Transmuxer.prototype.close = function () {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'stop' });\n }\n else {\n this._controller.stop();\n }\n };\n Transmuxer.prototype.seek = function (milliseconds) {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'seek', param: milliseconds });\n }\n else {\n this._controller.seek(milliseconds);\n }\n };\n Transmuxer.prototype.pause = function () {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'pause' });\n }\n else {\n this._controller.pause();\n }\n };\n Transmuxer.prototype.resume = function () {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'resume' });\n }\n else {\n this._controller.resume();\n }\n };\n Transmuxer.prototype._onInitSegment = function (type, initSegment) {\n var _this = this;\n // do async invoke\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.INIT_SEGMENT, type, initSegment);\n });\n };\n Transmuxer.prototype._onMediaSegment = function (type, mediaSegment) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_SEGMENT, type, mediaSegment);\n });\n };\n Transmuxer.prototype._onLoadingComplete = function () {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.LOADING_COMPLETE);\n });\n };\n Transmuxer.prototype._onRecoveredEarlyEof = function () {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOVERED_EARLY_EOF);\n });\n };\n Transmuxer.prototype._onMediaInfo = function (mediaInfo) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_INFO, mediaInfo);\n });\n };\n Transmuxer.prototype._onMetaDataArrived = function (metadata) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.METADATA_ARRIVED, metadata);\n });\n };\n Transmuxer.prototype._onScriptDataArrived = function (data) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.SCRIPTDATA_ARRIVED, data);\n });\n };\n Transmuxer.prototype._onStatisticsInfo = function (statisticsInfo) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.STATISTICS_INFO, statisticsInfo);\n });\n };\n Transmuxer.prototype._onIOError = function (type, info) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.IO_ERROR, type, info);\n });\n };\n Transmuxer.prototype._onDemuxError = function (type, info) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.DEMUX_ERROR, type, info);\n });\n };\n Transmuxer.prototype._onRecommendSeekpoint = function (milliseconds) {\n var _this = this;\n Promise.resolve().then(function () {\n _this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOMMEND_SEEKPOINT, milliseconds);\n });\n };\n Transmuxer.prototype._onLoggingConfigChanged = function (config) {\n if (this._worker) {\n this._worker.postMessage({ cmd: 'logging_config', param: config });\n }\n };\n Transmuxer.prototype._onWorkerMessage = function (e) {\n var message = e.data;\n var data = message.data;\n if (message.msg === 'destroyed' || this._workerDestroying) {\n this._workerDestroying = false;\n this._worker.terminate();\n this._worker = null;\n return;\n }\n switch (message.msg) {\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.INIT_SEGMENT:\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_SEGMENT:\n this._emitter.emit(message.msg, data.type, data.data);\n break;\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.LOADING_COMPLETE:\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOVERED_EARLY_EOF:\n this._emitter.emit(message.msg);\n break;\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_INFO:\n Object.setPrototypeOf(data, _media_info_js__WEBPACK_IMPORTED_MODULE_6__.default.prototype);\n this._emitter.emit(message.msg, data);\n break;\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.METADATA_ARRIVED:\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.SCRIPTDATA_ARRIVED:\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.STATISTICS_INFO:\n this._emitter.emit(message.msg, data);\n break;\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.IO_ERROR:\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.DEMUX_ERROR:\n this._emitter.emit(message.msg, data.type, data.info);\n break;\n case _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOMMEND_SEEKPOINT:\n this._emitter.emit(message.msg, data);\n break;\n case 'logcat_callback':\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_2__.default.emitter.emit('log', data.type, data.logcat);\n break;\n default:\n break;\n }\n };\n return Transmuxer;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (Transmuxer);\n\n\n/***/ }),\n\n/***/ \"./src/core/transmuxing-controller.js\":\n/*!********************************************!*\\\n !*** ./src/core/transmuxing-controller.js ***!\n \\********************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/browser.js */ \"./src/utils/browser.js\");\n/* harmony import */ var _media_info_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./media-info.js */ \"./src/core/media-info.js\");\n/* harmony import */ var _demux_flv_demuxer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../demux/flv-demuxer.js */ \"./src/demux/flv-demuxer.js\");\n/* harmony import */ var _remux_mp4_remuxer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../remux/mp4-remuxer.js */ \"./src/remux/mp4-remuxer.js\");\n/* harmony import */ var _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../demux/demux-errors.js */ \"./src/demux/demux-errors.js\");\n/* harmony import */ var _io_io_controller_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../io/io-controller.js */ \"./src/io/io-controller.js\");\n/* harmony import */ var _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./transmuxing-events.js */ \"./src/core/transmuxing-events.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n// Transmuxing (IO, Demuxing, Remuxing) controller, with multipart support\nvar TransmuxingController = /** @class */ (function () {\n function TransmuxingController(mediaDataSource, config) {\n this.TAG = 'TransmuxingController';\n this._emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n this._config = config;\n // treat single part media as multipart media, which has only one segment\n if (!mediaDataSource.segments) {\n mediaDataSource.segments = [{\n duration: mediaDataSource.duration,\n filesize: mediaDataSource.filesize,\n url: mediaDataSource.url\n }];\n }\n // fill in default IO params if not exists\n if (typeof mediaDataSource.cors !== 'boolean') {\n mediaDataSource.cors = true;\n }\n if (typeof mediaDataSource.withCredentials !== 'boolean') {\n mediaDataSource.withCredentials = false;\n }\n this._mediaDataSource = mediaDataSource;\n this._currentSegmentIndex = 0;\n var totalDuration = 0;\n this._mediaDataSource.segments.forEach(function (segment) {\n // timestampBase for each segment, and calculate total duration\n segment.timestampBase = totalDuration;\n totalDuration += segment.duration;\n // params needed by IOController\n segment.cors = mediaDataSource.cors;\n segment.withCredentials = mediaDataSource.withCredentials;\n // referrer policy control, if exist\n if (config.referrerPolicy) {\n segment.referrerPolicy = config.referrerPolicy;\n }\n });\n if (!isNaN(totalDuration) && this._mediaDataSource.duration !== totalDuration) {\n this._mediaDataSource.duration = totalDuration;\n }\n this._mediaInfo = null;\n this._demuxer = null;\n this._remuxer = null;\n this._ioctl = null;\n this._pendingSeekTime = null;\n this._pendingResolveSeekPoint = null;\n this._statisticsReporter = null;\n }\n TransmuxingController.prototype.destroy = function () {\n this._mediaInfo = null;\n this._mediaDataSource = null;\n if (this._statisticsReporter) {\n this._disableStatisticsReporter();\n }\n if (this._ioctl) {\n this._ioctl.destroy();\n this._ioctl = null;\n }\n if (this._demuxer) {\n this._demuxer.destroy();\n this._demuxer = null;\n }\n if (this._remuxer) {\n this._remuxer.destroy();\n this._remuxer = null;\n }\n this._emitter.removeAllListeners();\n this._emitter = null;\n };\n TransmuxingController.prototype.on = function (event, listener) {\n this._emitter.addListener(event, listener);\n };\n TransmuxingController.prototype.off = function (event, listener) {\n this._emitter.removeListener(event, listener);\n };\n TransmuxingController.prototype.start = function () {\n this._loadSegment(0);\n this._enableStatisticsReporter();\n };\n TransmuxingController.prototype._loadSegment = function (segmentIndex, optionalFrom) {\n this._currentSegmentIndex = segmentIndex;\n var dataSource = this._mediaDataSource.segments[segmentIndex];\n var ioctl = this._ioctl = new _io_io_controller_js__WEBPACK_IMPORTED_MODULE_7__.default(dataSource, this._config, segmentIndex);\n ioctl.onError = this._onIOException.bind(this);\n ioctl.onSeeked = this._onIOSeeked.bind(this);\n ioctl.onComplete = this._onIOComplete.bind(this);\n ioctl.onRedirect = this._onIORedirect.bind(this);\n ioctl.onRecoveredEarlyEof = this._onIORecoveredEarlyEof.bind(this);\n if (optionalFrom) {\n this._demuxer.bindDataSource(this._ioctl);\n }\n else {\n ioctl.onDataArrival = this._onInitChunkArrival.bind(this);\n }\n ioctl.open(optionalFrom);\n };\n TransmuxingController.prototype.stop = function () {\n this._internalAbort();\n this._disableStatisticsReporter();\n };\n TransmuxingController.prototype._internalAbort = function () {\n if (this._ioctl) {\n this._ioctl.destroy();\n this._ioctl = null;\n }\n };\n TransmuxingController.prototype.pause = function () {\n if (this._ioctl && this._ioctl.isWorking()) {\n this._ioctl.pause();\n this._disableStatisticsReporter();\n }\n };\n TransmuxingController.prototype.resume = function () {\n if (this._ioctl && this._ioctl.isPaused()) {\n this._ioctl.resume();\n this._enableStatisticsReporter();\n }\n };\n TransmuxingController.prototype.seek = function (milliseconds) {\n if (this._mediaInfo == null || !this._mediaInfo.isSeekable()) {\n return;\n }\n var targetSegmentIndex = this._searchSegmentIndexContains(milliseconds);\n if (targetSegmentIndex === this._currentSegmentIndex) {\n // intra-segment seeking\n var segmentInfo = this._mediaInfo.segments[targetSegmentIndex];\n if (segmentInfo == undefined) {\n // current segment loading started, but mediainfo hasn't received yet\n // wait for the metadata loaded, then seek to expected position\n this._pendingSeekTime = milliseconds;\n }\n else {\n var keyframe = segmentInfo.getNearestKeyframe(milliseconds);\n this._remuxer.seek(keyframe.milliseconds);\n this._ioctl.seek(keyframe.fileposition);\n // Will be resolved in _onRemuxerMediaSegmentArrival()\n this._pendingResolveSeekPoint = keyframe.milliseconds;\n }\n }\n else {\n // cross-segment seeking\n var targetSegmentInfo = this._mediaInfo.segments[targetSegmentIndex];\n if (targetSegmentInfo == undefined) {\n // target segment hasn't been loaded. We need metadata then seek to expected time\n this._pendingSeekTime = milliseconds;\n this._internalAbort();\n this._remuxer.seek();\n this._remuxer.insertDiscontinuity();\n this._loadSegment(targetSegmentIndex);\n // Here we wait for the metadata loaded, then seek to expected position\n }\n else {\n // We have target segment's metadata, direct seek to target position\n var keyframe = targetSegmentInfo.getNearestKeyframe(milliseconds);\n this._internalAbort();\n this._remuxer.seek(milliseconds);\n this._remuxer.insertDiscontinuity();\n this._demuxer.resetMediaInfo();\n this._demuxer.timestampBase = this._mediaDataSource.segments[targetSegmentIndex].timestampBase;\n this._loadSegment(targetSegmentIndex, keyframe.fileposition);\n this._pendingResolveSeekPoint = keyframe.milliseconds;\n this._reportSegmentMediaInfo(targetSegmentIndex);\n }\n }\n this._enableStatisticsReporter();\n };\n TransmuxingController.prototype._searchSegmentIndexContains = function (milliseconds) {\n var segments = this._mediaDataSource.segments;\n var idx = segments.length - 1;\n for (var i = 0; i < segments.length; i++) {\n if (milliseconds < segments[i].timestampBase) {\n idx = i - 1;\n break;\n }\n }\n return idx;\n };\n TransmuxingController.prototype._onInitChunkArrival = function (data, byteStart) {\n var _this = this;\n var probeData = null;\n var consumed = 0;\n if (byteStart > 0) {\n // IOController seeked immediately after opened, byteStart > 0 callback may received\n this._demuxer.bindDataSource(this._ioctl);\n this._demuxer.timestampBase = this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase;\n consumed = this._demuxer.parseChunks(data, byteStart);\n }\n else if ((probeData = _demux_flv_demuxer_js__WEBPACK_IMPORTED_MODULE_4__.default.probe(data)).match) {\n // Always create new FLVDemuxer\n this._demuxer = new _demux_flv_demuxer_js__WEBPACK_IMPORTED_MODULE_4__.default(probeData, this._config);\n if (!this._remuxer) {\n this._remuxer = new _remux_mp4_remuxer_js__WEBPACK_IMPORTED_MODULE_5__.default(this._config);\n }\n var mds = this._mediaDataSource;\n if (mds.duration != undefined && !isNaN(mds.duration)) {\n this._demuxer.overridedDuration = mds.duration;\n }\n if (typeof mds.hasAudio === 'boolean') {\n this._demuxer.overridedHasAudio = mds.hasAudio;\n }\n if (typeof mds.hasVideo === 'boolean') {\n this._demuxer.overridedHasVideo = mds.hasVideo;\n }\n this._demuxer.timestampBase = mds.segments[this._currentSegmentIndex].timestampBase;\n this._demuxer.onError = this._onDemuxException.bind(this);\n this._demuxer.onMediaInfo = this._onMediaInfo.bind(this);\n this._demuxer.onMetaDataArrived = this._onMetaDataArrived.bind(this);\n this._demuxer.onScriptDataArrived = this._onScriptDataArrived.bind(this);\n this._remuxer.bindDataSource(this._demuxer\n .bindDataSource(this._ioctl));\n this._remuxer.onInitSegment = this._onRemuxerInitSegmentArrival.bind(this);\n this._remuxer.onMediaSegment = this._onRemuxerMediaSegmentArrival.bind(this);\n consumed = this._demuxer.parseChunks(data, byteStart);\n }\n else {\n probeData = null;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, 'Non-FLV, Unsupported media type!');\n Promise.resolve().then(function () {\n _this._internalAbort();\n });\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.DEMUX_ERROR, _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_6__.default.FORMAT_UNSUPPORTED, 'Non-FLV, Unsupported media type');\n consumed = 0;\n }\n return consumed;\n };\n TransmuxingController.prototype._onMediaInfo = function (mediaInfo) {\n var _this = this;\n if (this._mediaInfo == null) {\n // Store first segment's mediainfo as global mediaInfo\n this._mediaInfo = Object.assign({}, mediaInfo);\n this._mediaInfo.keyframesIndex = null;\n this._mediaInfo.segments = [];\n this._mediaInfo.segmentCount = this._mediaDataSource.segments.length;\n Object.setPrototypeOf(this._mediaInfo, _media_info_js__WEBPACK_IMPORTED_MODULE_3__.default.prototype);\n }\n var segmentInfo = Object.assign({}, mediaInfo);\n Object.setPrototypeOf(segmentInfo, _media_info_js__WEBPACK_IMPORTED_MODULE_3__.default.prototype);\n this._mediaInfo.segments[this._currentSegmentIndex] = segmentInfo;\n // notify mediaInfo update\n this._reportSegmentMediaInfo(this._currentSegmentIndex);\n if (this._pendingSeekTime != null) {\n Promise.resolve().then(function () {\n var target = _this._pendingSeekTime;\n _this._pendingSeekTime = null;\n _this.seek(target);\n });\n }\n };\n TransmuxingController.prototype._onMetaDataArrived = function (metadata) {\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.METADATA_ARRIVED, metadata);\n };\n TransmuxingController.prototype._onScriptDataArrived = function (data) {\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.SCRIPTDATA_ARRIVED, data);\n };\n TransmuxingController.prototype._onIOSeeked = function () {\n this._remuxer.insertDiscontinuity();\n };\n TransmuxingController.prototype._onIOComplete = function (extraData) {\n var segmentIndex = extraData;\n var nextSegmentIndex = segmentIndex + 1;\n if (nextSegmentIndex < this._mediaDataSource.segments.length) {\n this._internalAbort();\n this._remuxer.flushStashedSamples();\n this._loadSegment(nextSegmentIndex);\n }\n else {\n this._remuxer.flushStashedSamples();\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.LOADING_COMPLETE);\n this._disableStatisticsReporter();\n }\n };\n TransmuxingController.prototype._onIORedirect = function (redirectedURL) {\n var segmentIndex = this._ioctl.extraData;\n this._mediaDataSource.segments[segmentIndex].redirectedURL = redirectedURL;\n };\n TransmuxingController.prototype._onIORecoveredEarlyEof = function () {\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.RECOVERED_EARLY_EOF);\n };\n TransmuxingController.prototype._onIOException = function (type, info) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, \"IOException: type = \" + type + \", code = \" + info.code + \", msg = \" + info.msg);\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.IO_ERROR, type, info);\n this._disableStatisticsReporter();\n };\n TransmuxingController.prototype._onDemuxException = function (type, info) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.e(this.TAG, \"DemuxException: type = \" + type + \", info = \" + info);\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.DEMUX_ERROR, type, info);\n };\n TransmuxingController.prototype._onRemuxerInitSegmentArrival = function (type, initSegment) {\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.INIT_SEGMENT, type, initSegment);\n };\n TransmuxingController.prototype._onRemuxerMediaSegmentArrival = function (type, mediaSegment) {\n if (this._pendingSeekTime != null) {\n // Media segments after new-segment cross-seeking should be dropped.\n return;\n }\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.MEDIA_SEGMENT, type, mediaSegment);\n // Resolve pending seekPoint\n if (this._pendingResolveSeekPoint != null && type === 'video') {\n var syncPoints = mediaSegment.info.syncPoints;\n var seekpoint = this._pendingResolveSeekPoint;\n this._pendingResolveSeekPoint = null;\n // Safari: Pass PTS for recommend_seekpoint\n if (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari && syncPoints.length > 0 && syncPoints[0].originalDts === seekpoint) {\n seekpoint = syncPoints[0].pts;\n }\n // else: use original DTS (keyframe.milliseconds)\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.RECOMMEND_SEEKPOINT, seekpoint);\n }\n };\n TransmuxingController.prototype._enableStatisticsReporter = function () {\n if (this._statisticsReporter == null) {\n this._statisticsReporter = self.setInterval(this._reportStatisticsInfo.bind(this), this._config.statisticsInfoReportInterval);\n }\n };\n TransmuxingController.prototype._disableStatisticsReporter = function () {\n if (this._statisticsReporter) {\n self.clearInterval(this._statisticsReporter);\n this._statisticsReporter = null;\n }\n };\n TransmuxingController.prototype._reportSegmentMediaInfo = function (segmentIndex) {\n var segmentInfo = this._mediaInfo.segments[segmentIndex];\n var exportInfo = Object.assign({}, segmentInfo);\n exportInfo.duration = this._mediaInfo.duration;\n exportInfo.segmentCount = this._mediaInfo.segmentCount;\n delete exportInfo.segments;\n delete exportInfo.keyframesIndex;\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.MEDIA_INFO, exportInfo);\n };\n TransmuxingController.prototype._reportStatisticsInfo = function () {\n var info = {};\n info.url = this._ioctl.currentURL;\n info.hasRedirect = this._ioctl.hasRedirect;\n if (info.hasRedirect) {\n info.redirectedURL = this._ioctl.currentRedirectedURL;\n }\n info.speed = this._ioctl.currentSpeed;\n info.loaderType = this._ioctl.loaderType;\n info.currentSegmentIndex = this._currentSegmentIndex;\n info.totalSegmentCount = this._mediaDataSource.segments.length;\n this._emitter.emit(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__.default.STATISTICS_INFO, info);\n };\n return TransmuxingController;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (TransmuxingController);\n\n\n/***/ }),\n\n/***/ \"./src/core/transmuxing-events.js\":\n/*!****************************************!*\\\n !*** ./src/core/transmuxing-events.js ***!\n \\****************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar TransmuxingEvents = {\n IO_ERROR: 'io_error',\n DEMUX_ERROR: 'demux_error',\n INIT_SEGMENT: 'init_segment',\n MEDIA_SEGMENT: 'media_segment',\n LOADING_COMPLETE: 'loading_complete',\n RECOVERED_EARLY_EOF: 'recovered_early_eof',\n MEDIA_INFO: 'media_info',\n METADATA_ARRIVED: 'metadata_arrived',\n SCRIPTDATA_ARRIVED: 'scriptdata_arrived',\n STATISTICS_INFO: 'statistics_info',\n RECOMMEND_SEEKPOINT: 'recommend_seekpoint'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TransmuxingEvents);\n\n\n/***/ }),\n\n/***/ \"./src/core/transmuxing-worker.js\":\n/*!****************************************!*\\\n !*** ./src/core/transmuxing-worker.js ***!\n \\****************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logging-control.js */ \"./src/utils/logging-control.js\");\n/* harmony import */ var _utils_polyfill_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/polyfill.js */ \"./src/utils/polyfill.js\");\n/* harmony import */ var _transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transmuxing-controller.js */ \"./src/core/transmuxing-controller.js\");\n/* harmony import */ var _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./transmuxing-events.js */ \"./src/core/transmuxing-events.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n/* post message to worker:\n data: {\n cmd: string\n param: any\n }\n\n receive message from worker:\n data: {\n msg: string,\n data: any\n }\n */\nvar TransmuxingWorker = function (self) {\n var TAG = 'TransmuxingWorker';\n var controller = null;\n var logcatListener = onLogcatCallback.bind(this);\n _utils_polyfill_js__WEBPACK_IMPORTED_MODULE_1__.default.install();\n self.addEventListener('message', function (e) {\n switch (e.data.cmd) {\n case 'init':\n controller = new _transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_2__.default(e.data.param[0], e.data.param[1]);\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.IO_ERROR, onIOError.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.DEMUX_ERROR, onDemuxError.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.INIT_SEGMENT, onInitSegment.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_SEGMENT, onMediaSegment.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.LOADING_COMPLETE, onLoadingComplete.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.RECOVERED_EARLY_EOF, onRecoveredEarlyEof.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_INFO, onMediaInfo.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.METADATA_ARRIVED, onMetaDataArrived.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.SCRIPTDATA_ARRIVED, onScriptDataArrived.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.STATISTICS_INFO, onStatisticsInfo.bind(this));\n controller.on(_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.RECOMMEND_SEEKPOINT, onRecommendSeekpoint.bind(this));\n break;\n case 'destroy':\n if (controller) {\n controller.destroy();\n controller = null;\n }\n self.postMessage({ msg: 'destroyed' });\n break;\n case 'start':\n controller.start();\n break;\n case 'stop':\n controller.stop();\n break;\n case 'seek':\n controller.seek(e.data.param);\n break;\n case 'pause':\n controller.pause();\n break;\n case 'resume':\n controller.resume();\n break;\n case 'logging_config': {\n var config = e.data.param;\n _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_0__.default.applyConfig(config);\n if (config.enableCallback === true) {\n _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_0__.default.addLogListener(logcatListener);\n }\n else {\n _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_0__.default.removeLogListener(logcatListener);\n }\n break;\n }\n }\n });\n function onInitSegment(type, initSegment) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.INIT_SEGMENT,\n data: {\n type: type,\n data: initSegment\n }\n };\n self.postMessage(obj, [initSegment.data]); // data: ArrayBuffer\n }\n function onMediaSegment(type, mediaSegment) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_SEGMENT,\n data: {\n type: type,\n data: mediaSegment\n }\n };\n self.postMessage(obj, [mediaSegment.data]); // data: ArrayBuffer\n }\n function onLoadingComplete() {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.LOADING_COMPLETE\n };\n self.postMessage(obj);\n }\n function onRecoveredEarlyEof() {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.RECOVERED_EARLY_EOF\n };\n self.postMessage(obj);\n }\n function onMediaInfo(mediaInfo) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_INFO,\n data: mediaInfo\n };\n self.postMessage(obj);\n }\n function onMetaDataArrived(metadata) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.METADATA_ARRIVED,\n data: metadata\n };\n self.postMessage(obj);\n }\n function onScriptDataArrived(data) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.SCRIPTDATA_ARRIVED,\n data: data\n };\n self.postMessage(obj);\n }\n function onStatisticsInfo(statInfo) {\n var obj = {\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.STATISTICS_INFO,\n data: statInfo\n };\n self.postMessage(obj);\n }\n function onIOError(type, info) {\n self.postMessage({\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.IO_ERROR,\n data: {\n type: type,\n info: info\n }\n });\n }\n function onDemuxError(type, info) {\n self.postMessage({\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.DEMUX_ERROR,\n data: {\n type: type,\n info: info\n }\n });\n }\n function onRecommendSeekpoint(milliseconds) {\n self.postMessage({\n msg: _transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__.default.RECOMMEND_SEEKPOINT,\n data: milliseconds\n });\n }\n function onLogcatCallback(type, str) {\n self.postMessage({\n msg: 'logcat_callback',\n data: {\n type: type,\n logcat: str\n }\n });\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TransmuxingWorker);\n\n\n/***/ }),\n\n/***/ \"./src/demux/amf-parser.js\":\n/*!*********************************!*\\\n !*** ./src/demux/amf-parser.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _utils_utf8_conv_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/utf8-conv.js */ \"./src/utils/utf8-conv.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nvar le = (function () {\n var buf = new ArrayBuffer(2);\n (new DataView(buf)).setInt16(0, 256, true); // little-endian write\n return (new Int16Array(buf))[0] === 256; // platform-spec read, if equal then LE\n})();\nvar AMF = /** @class */ (function () {\n function AMF() {\n }\n AMF.parseScriptData = function (arrayBuffer, dataOffset, dataSize) {\n var data = {};\n try {\n var name_1 = AMF.parseValue(arrayBuffer, dataOffset, dataSize);\n var value = AMF.parseValue(arrayBuffer, dataOffset + name_1.size, dataSize - name_1.size);\n data[name_1.data] = value.data;\n }\n catch (e) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.e('AMF', e.toString());\n }\n return data;\n };\n AMF.parseObject = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 3) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.IllegalStateException('Data not enough when parse ScriptDataObject');\n }\n var name = AMF.parseString(arrayBuffer, dataOffset, dataSize);\n var value = AMF.parseValue(arrayBuffer, dataOffset + name.size, dataSize - name.size);\n var isObjectEnd = value.objectEnd;\n return {\n data: {\n name: name.data,\n value: value.data\n },\n size: name.size + value.size,\n objectEnd: isObjectEnd\n };\n };\n AMF.parseVariable = function (arrayBuffer, dataOffset, dataSize) {\n return AMF.parseObject(arrayBuffer, dataOffset, dataSize);\n };\n AMF.parseString = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 2) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.IllegalStateException('Data not enough when parse String');\n }\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var length = v.getUint16(0, !le);\n var str;\n if (length > 0) {\n str = (0,_utils_utf8_conv_js__WEBPACK_IMPORTED_MODULE_1__.default)(new Uint8Array(arrayBuffer, dataOffset + 2, length));\n }\n else {\n str = '';\n }\n return {\n data: str,\n size: 2 + length\n };\n };\n AMF.parseLongString = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 4) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.IllegalStateException('Data not enough when parse LongString');\n }\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var length = v.getUint32(0, !le);\n var str;\n if (length > 0) {\n str = (0,_utils_utf8_conv_js__WEBPACK_IMPORTED_MODULE_1__.default)(new Uint8Array(arrayBuffer, dataOffset + 4, length));\n }\n else {\n str = '';\n }\n return {\n data: str,\n size: 4 + length\n };\n };\n AMF.parseDate = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 10) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.IllegalStateException('Data size invalid when parse Date');\n }\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var timestamp = v.getFloat64(0, !le);\n var localTimeOffset = v.getInt16(8, !le);\n timestamp += localTimeOffset * 60 * 1000; // get UTC time\n return {\n data: new Date(timestamp),\n size: 8 + 2\n };\n };\n AMF.parseValue = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 1) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.IllegalStateException('Data not enough when parse Value');\n }\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var offset = 1;\n var type = v.getUint8(0);\n var value;\n var objectEnd = false;\n try {\n switch (type) {\n case 0: // Number(Double) type\n value = v.getFloat64(1, !le);\n offset += 8;\n break;\n case 1: { // Boolean type\n var b = v.getUint8(1);\n value = b ? true : false;\n offset += 1;\n break;\n }\n case 2: { // String type\n var amfstr = AMF.parseString(arrayBuffer, dataOffset + 1, dataSize - 1);\n value = amfstr.data;\n offset += amfstr.size;\n break;\n }\n case 3: { // Object(s) type\n value = {};\n var terminal = 0; // workaround for malformed Objects which has missing ScriptDataObjectEnd\n if ((v.getUint32(dataSize - 4, !le) & 0x00FFFFFF) === 9) {\n terminal = 3;\n }\n while (offset < dataSize - 4) { // 4 === type(UI8) + ScriptDataObjectEnd(UI24)\n var amfobj = AMF.parseObject(arrayBuffer, dataOffset + offset, dataSize - offset - terminal);\n if (amfobj.objectEnd)\n break;\n value[amfobj.data.name] = amfobj.data.value;\n offset += amfobj.size;\n }\n if (offset <= dataSize - 3) {\n var marker = v.getUint32(offset - 1, !le) & 0x00FFFFFF;\n if (marker === 9) {\n offset += 3;\n }\n }\n break;\n }\n case 8: { // ECMA array type (Mixed array)\n value = {};\n offset += 4; // ECMAArrayLength(UI32)\n var terminal = 0; // workaround for malformed MixedArrays which has missing ScriptDataObjectEnd\n if ((v.getUint32(dataSize - 4, !le) & 0x00FFFFFF) === 9) {\n terminal = 3;\n }\n while (offset < dataSize - 8) { // 8 === type(UI8) + ECMAArrayLength(UI32) + ScriptDataVariableEnd(UI24)\n var amfvar = AMF.parseVariable(arrayBuffer, dataOffset + offset, dataSize - offset - terminal);\n if (amfvar.objectEnd)\n break;\n value[amfvar.data.name] = amfvar.data.value;\n offset += amfvar.size;\n }\n if (offset <= dataSize - 3) {\n var marker = v.getUint32(offset - 1, !le) & 0x00FFFFFF;\n if (marker === 9) {\n offset += 3;\n }\n }\n break;\n }\n case 9: // ScriptDataObjectEnd\n value = undefined;\n offset = 1;\n objectEnd = true;\n break;\n case 10: { // Strict array type\n // ScriptDataValue[n]. NOTE: according to video_file_format_spec_v10_1.pdf\n value = [];\n var strictArrayLength = v.getUint32(1, !le);\n offset += 4;\n for (var i = 0; i < strictArrayLength; i++) {\n var val = AMF.parseValue(arrayBuffer, dataOffset + offset, dataSize - offset);\n value.push(val.data);\n offset += val.size;\n }\n break;\n }\n case 11: { // Date type\n var date = AMF.parseDate(arrayBuffer, dataOffset + 1, dataSize - 1);\n value = date.data;\n offset += date.size;\n break;\n }\n case 12: { // Long string type\n var amfLongStr = AMF.parseString(arrayBuffer, dataOffset + 1, dataSize - 1);\n value = amfLongStr.data;\n offset += amfLongStr.size;\n break;\n }\n default:\n // ignore and skip\n offset = dataSize;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w('AMF', 'Unsupported AMF value type ' + type);\n }\n }\n catch (e) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.e('AMF', e.toString());\n }\n return {\n data: value,\n size: offset,\n objectEnd: objectEnd\n };\n };\n return AMF;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (AMF);\n\n\n/***/ }),\n\n/***/ \"./src/demux/demux-errors.js\":\n/*!***********************************!*\\\n !*** ./src/demux/demux-errors.js ***!\n \\***********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar DemuxErrors = {\n OK: 'OK',\n FORMAT_ERROR: 'FormatError',\n FORMAT_UNSUPPORTED: 'FormatUnsupported',\n CODEC_UNSUPPORTED: 'CodecUnsupported'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (DemuxErrors);\n\n\n/***/ }),\n\n/***/ \"./src/demux/exp-golomb.js\":\n/*!*********************************!*\\\n !*** ./src/demux/exp-golomb.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Exponential-Golomb buffer decoder\nvar ExpGolomb = /** @class */ (function () {\n function ExpGolomb(uint8array) {\n this.TAG = 'ExpGolomb';\n this._buffer = uint8array;\n this._buffer_index = 0;\n this._total_bytes = uint8array.byteLength;\n this._total_bits = uint8array.byteLength * 8;\n this._current_word = 0;\n this._current_word_bits_left = 0;\n }\n ExpGolomb.prototype.destroy = function () {\n this._buffer = null;\n };\n ExpGolomb.prototype._fillCurrentWord = function () {\n var buffer_bytes_left = this._total_bytes - this._buffer_index;\n if (buffer_bytes_left <= 0)\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__.IllegalStateException('ExpGolomb: _fillCurrentWord() but no bytes available');\n var bytes_read = Math.min(4, buffer_bytes_left);\n var word = new Uint8Array(4);\n word.set(this._buffer.subarray(this._buffer_index, this._buffer_index + bytes_read));\n this._current_word = new DataView(word.buffer).getUint32(0, false);\n this._buffer_index += bytes_read;\n this._current_word_bits_left = bytes_read * 8;\n };\n ExpGolomb.prototype.readBits = function (bits) {\n if (bits > 32)\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__.InvalidArgumentException('ExpGolomb: readBits() bits exceeded max 32bits!');\n if (bits <= this._current_word_bits_left) {\n var result_1 = this._current_word >>> (32 - bits);\n this._current_word <<= bits;\n this._current_word_bits_left -= bits;\n return result_1;\n }\n var result = this._current_word_bits_left ? this._current_word : 0;\n result = result >>> (32 - this._current_word_bits_left);\n var bits_need_left = bits - this._current_word_bits_left;\n this._fillCurrentWord();\n var bits_read_next = Math.min(bits_need_left, this._current_word_bits_left);\n var result2 = this._current_word >>> (32 - bits_read_next);\n this._current_word <<= bits_read_next;\n this._current_word_bits_left -= bits_read_next;\n result = (result << bits_read_next) | result2;\n return result;\n };\n ExpGolomb.prototype.readBool = function () {\n return this.readBits(1) === 1;\n };\n ExpGolomb.prototype.readByte = function () {\n return this.readBits(8);\n };\n ExpGolomb.prototype._skipLeadingZero = function () {\n var zero_count;\n for (zero_count = 0; zero_count < this._current_word_bits_left; zero_count++) {\n if (0 !== (this._current_word & (0x80000000 >>> zero_count))) {\n this._current_word <<= zero_count;\n this._current_word_bits_left -= zero_count;\n return zero_count;\n }\n }\n this._fillCurrentWord();\n return zero_count + this._skipLeadingZero();\n };\n ExpGolomb.prototype.readUEG = function () {\n var leading_zeros = this._skipLeadingZero();\n return this.readBits(leading_zeros + 1) - 1;\n };\n ExpGolomb.prototype.readSEG = function () {\n var value = this.readUEG();\n if (value & 0x01) {\n return (value + 1) >>> 1;\n }\n else {\n return -1 * (value >>> 1);\n }\n };\n return ExpGolomb;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (ExpGolomb);\n\n\n/***/ }),\n\n/***/ \"./src/demux/flv-demuxer.js\":\n/*!**********************************!*\\\n !*** ./src/demux/flv-demuxer.js ***!\n \\**********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _amf_parser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./amf-parser.js */ \"./src/demux/amf-parser.js\");\n/* harmony import */ var _sps_parser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sps-parser.js */ \"./src/demux/sps-parser.js\");\n/* harmony import */ var _demux_errors_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./demux-errors.js */ \"./src/demux/demux-errors.js\");\n/* harmony import */ var _core_media_info_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/media-info.js */ \"./src/core/media-info.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\nfunction Swap16(src) {\n return (((src >>> 8) & 0xFF) |\n ((src & 0xFF) << 8));\n}\nfunction Swap32(src) {\n return (((src & 0xFF000000) >>> 24) |\n ((src & 0x00FF0000) >>> 8) |\n ((src & 0x0000FF00) << 8) |\n ((src & 0x000000FF) << 24));\n}\nfunction ReadBig32(array, index) {\n return ((array[index] << 24) |\n (array[index + 1] << 16) |\n (array[index + 2] << 8) |\n (array[index + 3]));\n}\nvar FLVDemuxer = /** @class */ (function () {\n function FLVDemuxer(probeData, config) {\n this.TAG = 'FLVDemuxer';\n this._config = config;\n this._onError = null;\n this._onMediaInfo = null;\n this._onMetaDataArrived = null;\n this._onScriptDataArrived = null;\n this._onTrackMetadata = null;\n this._onDataAvailable = null;\n this._dataOffset = probeData.dataOffset;\n this._firstParse = true;\n this._dispatch = false;\n this._hasAudio = probeData.hasAudioTrack;\n this._hasVideo = probeData.hasVideoTrack;\n this._hasAudioFlagOverrided = false;\n this._hasVideoFlagOverrided = false;\n this._audioInitialMetadataDispatched = false;\n this._videoInitialMetadataDispatched = false;\n this._mediaInfo = new _core_media_info_js__WEBPACK_IMPORTED_MODULE_4__.default();\n this._mediaInfo.hasAudio = this._hasAudio;\n this._mediaInfo.hasVideo = this._hasVideo;\n this._metadata = null;\n this._audioMetadata = null;\n this._videoMetadata = null;\n this._naluLengthSize = 4;\n this._timestampBase = 0; // int32, in milliseconds\n this._timescale = 1000;\n this._duration = 0; // int32, in milliseconds\n this._durationOverrided = false;\n this._referenceFrameRate = {\n fixed: true,\n fps: 23.976,\n fps_num: 23976,\n fps_den: 1000\n };\n this._flvSoundRateTable = [5500, 11025, 22050, 44100, 48000];\n this._mpegSamplingRates = [\n 96000, 88200, 64000, 48000, 44100, 32000,\n 24000, 22050, 16000, 12000, 11025, 8000, 7350\n ];\n this._mpegAudioV10SampleRateTable = [44100, 48000, 32000, 0];\n this._mpegAudioV20SampleRateTable = [22050, 24000, 16000, 0];\n this._mpegAudioV25SampleRateTable = [11025, 12000, 8000, 0];\n this._mpegAudioL1BitRateTable = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1];\n this._mpegAudioL2BitRateTable = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1];\n this._mpegAudioL3BitRateTable = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1];\n this._videoTrack = { type: 'video', id: 1, sequenceNumber: 0, samples: [], length: 0 };\n this._audioTrack = { type: 'audio', id: 2, sequenceNumber: 0, samples: [], length: 0 };\n this._littleEndian = (function () {\n var buf = new ArrayBuffer(2);\n (new DataView(buf)).setInt16(0, 256, true); // little-endian write\n return (new Int16Array(buf))[0] === 256; // platform-spec read, if equal then LE\n })();\n }\n FLVDemuxer.prototype.destroy = function () {\n this._mediaInfo = null;\n this._metadata = null;\n this._audioMetadata = null;\n this._videoMetadata = null;\n this._videoTrack = null;\n this._audioTrack = null;\n this._onError = null;\n this._onMediaInfo = null;\n this._onMetaDataArrived = null;\n this._onScriptDataArrived = null;\n this._onTrackMetadata = null;\n this._onDataAvailable = null;\n };\n FLVDemuxer.probe = function (buffer) {\n var data = new Uint8Array(buffer);\n var mismatch = { match: false };\n if (data[0] !== 0x46 || data[1] !== 0x4C || data[2] !== 0x56 || data[3] !== 0x01) {\n return mismatch;\n }\n var hasAudio = ((data[4] & 4) >>> 2) !== 0;\n var hasVideo = (data[4] & 1) !== 0;\n var offset = ReadBig32(data, 5);\n if (offset < 9) {\n return mismatch;\n }\n return {\n match: true,\n consumed: offset,\n dataOffset: offset,\n hasAudioTrack: hasAudio,\n hasVideoTrack: hasVideo\n };\n };\n FLVDemuxer.prototype.bindDataSource = function (loader) {\n loader.onDataArrival = this.parseChunks.bind(this);\n return this;\n };\n Object.defineProperty(FLVDemuxer.prototype, \"onTrackMetadata\", {\n // prototype: function(type: string, metadata: any): void\n get: function () {\n return this._onTrackMetadata;\n },\n set: function (callback) {\n this._onTrackMetadata = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"onMediaInfo\", {\n // prototype: function(mediaInfo: MediaInfo): void\n get: function () {\n return this._onMediaInfo;\n },\n set: function (callback) {\n this._onMediaInfo = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"onMetaDataArrived\", {\n get: function () {\n return this._onMetaDataArrived;\n },\n set: function (callback) {\n this._onMetaDataArrived = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"onScriptDataArrived\", {\n get: function () {\n return this._onScriptDataArrived;\n },\n set: function (callback) {\n this._onScriptDataArrived = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"onError\", {\n // prototype: function(type: number, info: string): void\n get: function () {\n return this._onError;\n },\n set: function (callback) {\n this._onError = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"onDataAvailable\", {\n // prototype: function(videoTrack: any, audioTrack: any): void\n get: function () {\n return this._onDataAvailable;\n },\n set: function (callback) {\n this._onDataAvailable = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"timestampBase\", {\n // timestamp base for output samples, must be in milliseconds\n get: function () {\n return this._timestampBase;\n },\n set: function (base) {\n this._timestampBase = base;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"overridedDuration\", {\n get: function () {\n return this._duration;\n },\n // Force-override media duration. Must be in milliseconds, int32\n set: function (duration) {\n this._durationOverrided = true;\n this._duration = duration;\n this._mediaInfo.duration = duration;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"overridedHasAudio\", {\n // Force-override audio track present flag, boolean\n set: function (hasAudio) {\n this._hasAudioFlagOverrided = true;\n this._hasAudio = hasAudio;\n this._mediaInfo.hasAudio = hasAudio;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FLVDemuxer.prototype, \"overridedHasVideo\", {\n // Force-override video track present flag, boolean\n set: function (hasVideo) {\n this._hasVideoFlagOverrided = true;\n this._hasVideo = hasVideo;\n this._mediaInfo.hasVideo = hasVideo;\n },\n enumerable: false,\n configurable: true\n });\n FLVDemuxer.prototype.resetMediaInfo = function () {\n this._mediaInfo = new _core_media_info_js__WEBPACK_IMPORTED_MODULE_4__.default();\n };\n FLVDemuxer.prototype._isInitialMetadataDispatched = function () {\n if (this._hasAudio && this._hasVideo) { // both audio & video\n return this._audioInitialMetadataDispatched && this._videoInitialMetadataDispatched;\n }\n if (this._hasAudio && !this._hasVideo) { // audio only\n return this._audioInitialMetadataDispatched;\n }\n if (!this._hasAudio && this._hasVideo) { // video only\n return this._videoInitialMetadataDispatched;\n }\n return false;\n };\n // function parseChunks(chunk: ArrayBuffer, byteStart: number): number;\n FLVDemuxer.prototype.parseChunks = function (chunk, byteStart) {\n if (!this._onError || !this._onMediaInfo || !this._onTrackMetadata || !this._onDataAvailable) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__.IllegalStateException('Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified');\n }\n var offset = 0;\n var le = this._littleEndian;\n if (byteStart === 0) { // buffer with FLV header\n if (chunk.byteLength > 13) {\n var probeData = FLVDemuxer.probe(chunk);\n offset = probeData.dataOffset;\n }\n else {\n return 0;\n }\n }\n if (this._firstParse) { // handle PreviousTagSize0 before Tag1\n this._firstParse = false;\n if (byteStart + offset !== this._dataOffset) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'First time parsing but chunk byteStart invalid!');\n }\n var v = new DataView(chunk, offset);\n var prevTagSize0 = v.getUint32(0, !le);\n if (prevTagSize0 !== 0) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'PrevTagSize0 !== 0 !!!');\n }\n offset += 4;\n }\n while (offset < chunk.byteLength) {\n this._dispatch = true;\n var v = new DataView(chunk, offset);\n if (offset + 11 + 4 > chunk.byteLength) {\n // data not enough for parsing an flv tag\n break;\n }\n var tagType = v.getUint8(0);\n var dataSize = v.getUint32(0, !le) & 0x00FFFFFF;\n if (offset + 11 + dataSize + 4 > chunk.byteLength) {\n // data not enough for parsing actual data body\n break;\n }\n if (tagType !== 8 && tagType !== 9 && tagType !== 18) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Unsupported tag type \" + tagType + \", skipped\");\n // consume the whole tag (skip it)\n offset += 11 + dataSize + 4;\n continue;\n }\n var ts2 = v.getUint8(4);\n var ts1 = v.getUint8(5);\n var ts0 = v.getUint8(6);\n var ts3 = v.getUint8(7);\n var timestamp = ts0 | (ts1 << 8) | (ts2 << 16) | (ts3 << 24);\n var streamId = v.getUint32(7, !le) & 0x00FFFFFF;\n if (streamId !== 0) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Meet tag which has StreamID != 0!');\n }\n var dataOffset = offset + 11;\n switch (tagType) {\n case 8: // Audio\n this._parseAudioData(chunk, dataOffset, dataSize, timestamp);\n break;\n case 9: // Video\n this._parseVideoData(chunk, dataOffset, dataSize, timestamp, byteStart + offset);\n break;\n case 18: // ScriptDataObject\n this._parseScriptData(chunk, dataOffset, dataSize);\n break;\n }\n var prevTagSize = v.getUint32(11 + dataSize, !le);\n if (prevTagSize !== 11 + dataSize) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Invalid PrevTagSize \" + prevTagSize);\n }\n offset += 11 + dataSize + 4; // tagBody + dataSize + prevTagSize\n }\n // dispatch parsed frames to consumer (typically, the remuxer)\n if (this._isInitialMetadataDispatched()) {\n if (this._dispatch && (this._audioTrack.length || this._videoTrack.length)) {\n this._onDataAvailable(this._audioTrack, this._videoTrack);\n }\n }\n return offset; // consumed bytes, just equals latest offset index\n };\n FLVDemuxer.prototype._parseScriptData = function (arrayBuffer, dataOffset, dataSize) {\n var scriptData = _amf_parser_js__WEBPACK_IMPORTED_MODULE_1__.default.parseScriptData(arrayBuffer, dataOffset, dataSize);\n if (scriptData.hasOwnProperty('onMetaData')) {\n if (scriptData.onMetaData == null || typeof scriptData.onMetaData !== 'object') {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Invalid onMetaData structure!');\n return;\n }\n if (this._metadata) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Found another onMetaData tag!');\n }\n this._metadata = scriptData;\n var onMetaData = this._metadata.onMetaData;\n if (this._onMetaDataArrived) {\n this._onMetaDataArrived(Object.assign({}, onMetaData));\n }\n if (typeof onMetaData.hasAudio === 'boolean') { // hasAudio\n if (this._hasAudioFlagOverrided === false) {\n this._hasAudio = onMetaData.hasAudio;\n this._mediaInfo.hasAudio = this._hasAudio;\n }\n }\n if (typeof onMetaData.hasVideo === 'boolean') { // hasVideo\n if (this._hasVideoFlagOverrided === false) {\n this._hasVideo = onMetaData.hasVideo;\n this._mediaInfo.hasVideo = this._hasVideo;\n }\n }\n if (typeof onMetaData.audiodatarate === 'number') { // audiodatarate\n this._mediaInfo.audioDataRate = onMetaData.audiodatarate;\n }\n if (typeof onMetaData.videodatarate === 'number') { // videodatarate\n this._mediaInfo.videoDataRate = onMetaData.videodatarate;\n }\n if (typeof onMetaData.width === 'number') { // width\n this._mediaInfo.width = onMetaData.width;\n }\n if (typeof onMetaData.height === 'number') { // height\n this._mediaInfo.height = onMetaData.height;\n }\n if (typeof onMetaData.duration === 'number') { // duration\n if (!this._durationOverrided) {\n var duration = Math.floor(onMetaData.duration * this._timescale);\n this._duration = duration;\n this._mediaInfo.duration = duration;\n }\n }\n else {\n this._mediaInfo.duration = 0;\n }\n if (typeof onMetaData.framerate === 'number') { // framerate\n var fps_num = Math.floor(onMetaData.framerate * 1000);\n if (fps_num > 0) {\n var fps = fps_num / 1000;\n this._referenceFrameRate.fixed = true;\n this._referenceFrameRate.fps = fps;\n this._referenceFrameRate.fps_num = fps_num;\n this._referenceFrameRate.fps_den = 1000;\n this._mediaInfo.fps = fps;\n }\n }\n if (typeof onMetaData.keyframes === 'object') { // keyframes\n this._mediaInfo.hasKeyframesIndex = true;\n var keyframes = onMetaData.keyframes;\n this._mediaInfo.keyframesIndex = this._parseKeyframesIndex(keyframes);\n onMetaData.keyframes = null; // keyframes has been extracted, remove it\n }\n else {\n this._mediaInfo.hasKeyframesIndex = false;\n }\n this._dispatch = false;\n this._mediaInfo.metadata = onMetaData;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.v(this.TAG, 'Parsed onMetaData');\n if (this._mediaInfo.isComplete()) {\n this._onMediaInfo(this._mediaInfo);\n }\n }\n if (Object.keys(scriptData).length > 0) {\n if (this._onScriptDataArrived) {\n this._onScriptDataArrived(Object.assign({}, scriptData));\n }\n }\n };\n FLVDemuxer.prototype._parseKeyframesIndex = function (keyframes) {\n var times = [];\n var filepositions = [];\n // ignore first keyframe which is actually AVC Sequence Header (AVCDecoderConfigurationRecord)\n for (var i = 1; i < keyframes.times.length; i++) {\n var time = this._timestampBase + Math.floor(keyframes.times[i] * 1000);\n times.push(time);\n filepositions.push(keyframes.filepositions[i]);\n }\n return {\n times: times,\n filepositions: filepositions\n };\n };\n FLVDemuxer.prototype._parseAudioData = function (arrayBuffer, dataOffset, dataSize, tagTimestamp) {\n if (dataSize <= 1) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid audio packet, missing SoundData payload!');\n return;\n }\n if (this._hasAudioFlagOverrided === true && this._hasAudio === false) {\n // If hasAudio: false indicated explicitly in MediaDataSource,\n // Ignore all the audio packets\n return;\n }\n var le = this._littleEndian;\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var soundSpec = v.getUint8(0);\n var soundFormat = soundSpec >>> 4;\n if (soundFormat !== 2 && soundFormat !== 10) { // MP3 or AAC\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.CODEC_UNSUPPORTED, 'Flv: Unsupported audio codec idx: ' + soundFormat);\n return;\n }\n var soundRate = 0;\n var soundRateIndex = (soundSpec & 12) >>> 2;\n if (soundRateIndex >= 0 && soundRateIndex <= 4) {\n soundRate = this._flvSoundRateTable[soundRateIndex];\n }\n else {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: Invalid audio sample rate idx: ' + soundRateIndex);\n return;\n }\n var soundSize = (soundSpec & 2) >>> 1; // unused\n var soundType = (soundSpec & 1);\n var meta = this._audioMetadata;\n var track = this._audioTrack;\n if (!meta) {\n if (this._hasAudio === false && this._hasAudioFlagOverrided === false) {\n this._hasAudio = true;\n this._mediaInfo.hasAudio = true;\n }\n // initial metadata\n meta = this._audioMetadata = {};\n meta.type = 'audio';\n meta.id = track.id;\n meta.timescale = this._timescale;\n meta.duration = this._duration;\n meta.audioSampleRate = soundRate;\n meta.channelCount = (soundType === 0 ? 1 : 2);\n }\n if (soundFormat === 10) { // AAC\n var aacData = this._parseAACAudioData(arrayBuffer, dataOffset + 1, dataSize - 1);\n if (aacData == undefined) {\n return;\n }\n if (aacData.packetType === 0) { // AAC sequence header (AudioSpecificConfig)\n if (meta.config) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Found another AudioSpecificConfig!');\n }\n var misc = aacData.data;\n meta.audioSampleRate = misc.samplingRate;\n meta.channelCount = misc.channelCount;\n meta.codec = misc.codec;\n meta.originalCodec = misc.originalCodec;\n meta.config = misc.config;\n // The decode result of an aac sample is 1024 PCM samples\n meta.refSampleDuration = 1024 / meta.audioSampleRate * meta.timescale;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.v(this.TAG, 'Parsed AudioSpecificConfig');\n if (this._isInitialMetadataDispatched()) {\n // Non-initial metadata, force dispatch (or flush) parsed frames to remuxer\n if (this._dispatch && (this._audioTrack.length || this._videoTrack.length)) {\n this._onDataAvailable(this._audioTrack, this._videoTrack);\n }\n }\n else {\n this._audioInitialMetadataDispatched = true;\n }\n // then notify new metadata\n this._dispatch = false;\n this._onTrackMetadata('audio', meta);\n var mi = this._mediaInfo;\n mi.audioCodec = meta.originalCodec;\n mi.audioSampleRate = meta.audioSampleRate;\n mi.audioChannelCount = meta.channelCount;\n if (mi.hasVideo) {\n if (mi.videoCodec != null) {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.videoCodec + ',' + mi.audioCodec + '\"';\n }\n }\n else {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.audioCodec + '\"';\n }\n if (mi.isComplete()) {\n this._onMediaInfo(mi);\n }\n }\n else if (aacData.packetType === 1) { // AAC raw frame data\n var dts = this._timestampBase + tagTimestamp;\n var aacSample = { unit: aacData.data, length: aacData.data.byteLength, dts: dts, pts: dts };\n track.samples.push(aacSample);\n track.length += aacData.data.length;\n }\n else {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.e(this.TAG, \"Flv: Unsupported AAC data type \" + aacData.packetType);\n }\n }\n else if (soundFormat === 2) { // MP3\n if (!meta.codec) {\n // We need metadata for mp3 audio track, extract info from frame header\n var misc = this._parseMP3AudioData(arrayBuffer, dataOffset + 1, dataSize - 1, true);\n if (misc == undefined) {\n return;\n }\n meta.audioSampleRate = misc.samplingRate;\n meta.channelCount = misc.channelCount;\n meta.codec = misc.codec;\n meta.originalCodec = misc.originalCodec;\n // The decode result of an mp3 sample is 1152 PCM samples\n meta.refSampleDuration = 1152 / meta.audioSampleRate * meta.timescale;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.v(this.TAG, 'Parsed MPEG Audio Frame Header');\n this._audioInitialMetadataDispatched = true;\n this._onTrackMetadata('audio', meta);\n var mi = this._mediaInfo;\n mi.audioCodec = meta.codec;\n mi.audioSampleRate = meta.audioSampleRate;\n mi.audioChannelCount = meta.channelCount;\n mi.audioDataRate = misc.bitRate;\n if (mi.hasVideo) {\n if (mi.videoCodec != null) {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.videoCodec + ',' + mi.audioCodec + '\"';\n }\n }\n else {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.audioCodec + '\"';\n }\n if (mi.isComplete()) {\n this._onMediaInfo(mi);\n }\n }\n // This packet is always a valid audio packet, extract it\n var data = this._parseMP3AudioData(arrayBuffer, dataOffset + 1, dataSize - 1, false);\n if (data == undefined) {\n return;\n }\n var dts = this._timestampBase + tagTimestamp;\n var mp3Sample = { unit: data, length: data.byteLength, dts: dts, pts: dts };\n track.samples.push(mp3Sample);\n track.length += data.length;\n }\n };\n FLVDemuxer.prototype._parseAACAudioData = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize <= 1) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid AAC packet, missing AACPacketType or/and Data!');\n return;\n }\n var result = {};\n var array = new Uint8Array(arrayBuffer, dataOffset, dataSize);\n result.packetType = array[0];\n if (array[0] === 0) {\n result.data = this._parseAACAudioSpecificConfig(arrayBuffer, dataOffset + 1, dataSize - 1);\n }\n else {\n result.data = array.subarray(1);\n }\n return result;\n };\n FLVDemuxer.prototype._parseAACAudioSpecificConfig = function (arrayBuffer, dataOffset, dataSize) {\n var array = new Uint8Array(arrayBuffer, dataOffset, dataSize);\n var config = null;\n /* Audio Object Type:\n 0: Null\n 1: AAC Main\n 2: AAC LC\n 3: AAC SSR (Scalable Sample Rate)\n 4: AAC LTP (Long Term Prediction)\n 5: HE-AAC / SBR (Spectral Band Replication)\n 6: AAC Scalable\n */\n var audioObjectType = 0;\n var originalAudioObjectType = 0;\n var audioExtensionObjectType = null;\n var samplingIndex = 0;\n var extensionSamplingIndex = null;\n // 5 bits\n audioObjectType = originalAudioObjectType = array[0] >>> 3;\n // 4 bits\n samplingIndex = ((array[0] & 0x07) << 1) | (array[1] >>> 7);\n if (samplingIndex < 0 || samplingIndex >= this._mpegSamplingRates.length) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: AAC invalid sampling frequency index!');\n return;\n }\n var samplingFrequence = this._mpegSamplingRates[samplingIndex];\n // 4 bits\n var channelConfig = (array[1] & 0x78) >>> 3;\n if (channelConfig < 0 || channelConfig >= 8) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: AAC invalid channel configuration');\n return;\n }\n if (audioObjectType === 5) { // HE-AAC?\n // 4 bits\n extensionSamplingIndex = ((array[1] & 0x07) << 1) | (array[2] >>> 7);\n // 5 bits\n audioExtensionObjectType = (array[2] & 0x7C) >>> 2;\n }\n // workarounds for various browsers\n var userAgent = self.navigator.userAgent.toLowerCase();\n if (userAgent.indexOf('firefox') !== -1) {\n // firefox: use SBR (HE-AAC) if freq less than 24kHz\n if (samplingIndex >= 6) {\n audioObjectType = 5;\n config = new Array(4);\n extensionSamplingIndex = samplingIndex - 3;\n }\n else { // use LC-AAC\n audioObjectType = 2;\n config = new Array(2);\n extensionSamplingIndex = samplingIndex;\n }\n }\n else if (userAgent.indexOf('android') !== -1) {\n // android: always use LC-AAC\n audioObjectType = 2;\n config = new Array(2);\n extensionSamplingIndex = samplingIndex;\n }\n else {\n // for other browsers, e.g. chrome...\n // Always use HE-AAC to make it easier to switch aac codec profile\n audioObjectType = 5;\n extensionSamplingIndex = samplingIndex;\n config = new Array(4);\n if (samplingIndex >= 6) {\n extensionSamplingIndex = samplingIndex - 3;\n }\n else if (channelConfig === 1) { // Mono channel\n audioObjectType = 2;\n config = new Array(2);\n extensionSamplingIndex = samplingIndex;\n }\n }\n config[0] = audioObjectType << 3;\n config[0] |= (samplingIndex & 0x0F) >>> 1;\n config[1] = (samplingIndex & 0x0F) << 7;\n config[1] |= (channelConfig & 0x0F) << 3;\n if (audioObjectType === 5) {\n config[1] |= ((extensionSamplingIndex & 0x0F) >>> 1);\n config[2] = (extensionSamplingIndex & 0x01) << 7;\n // extended audio object type: force to 2 (LC-AAC)\n config[2] |= (2 << 2);\n config[3] = 0;\n }\n return {\n config: config,\n samplingRate: samplingFrequence,\n channelCount: channelConfig,\n codec: 'mp4a.40.' + audioObjectType,\n originalCodec: 'mp4a.40.' + originalAudioObjectType\n };\n };\n FLVDemuxer.prototype._parseMP3AudioData = function (arrayBuffer, dataOffset, dataSize, requestHeader) {\n if (dataSize < 4) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid MP3 packet, header missing!');\n return;\n }\n var le = this._littleEndian;\n var array = new Uint8Array(arrayBuffer, dataOffset, dataSize);\n var result = null;\n if (requestHeader) {\n if (array[0] !== 0xFF) {\n return;\n }\n var ver = (array[1] >>> 3) & 0x03;\n var layer = (array[1] & 0x06) >> 1;\n var bitrate_index = (array[2] & 0xF0) >>> 4;\n var sampling_freq_index = (array[2] & 0x0C) >>> 2;\n var channel_mode = (array[3] >>> 6) & 0x03;\n var channel_count = channel_mode !== 3 ? 2 : 1;\n var sample_rate = 0;\n var bit_rate = 0;\n var object_type = 34; // Layer-3, listed in MPEG-4 Audio Object Types\n var codec = 'mp3';\n switch (ver) {\n case 0: // MPEG 2.5\n sample_rate = this._mpegAudioV25SampleRateTable[sampling_freq_index];\n break;\n case 2: // MPEG 2\n sample_rate = this._mpegAudioV20SampleRateTable[sampling_freq_index];\n break;\n case 3: // MPEG 1\n sample_rate = this._mpegAudioV10SampleRateTable[sampling_freq_index];\n break;\n }\n switch (layer) {\n case 1: // Layer 3\n object_type = 34;\n if (bitrate_index < this._mpegAudioL3BitRateTable.length) {\n bit_rate = this._mpegAudioL3BitRateTable[bitrate_index];\n }\n break;\n case 2: // Layer 2\n object_type = 33;\n if (bitrate_index < this._mpegAudioL2BitRateTable.length) {\n bit_rate = this._mpegAudioL2BitRateTable[bitrate_index];\n }\n break;\n case 3: // Layer 1\n object_type = 32;\n if (bitrate_index < this._mpegAudioL1BitRateTable.length) {\n bit_rate = this._mpegAudioL1BitRateTable[bitrate_index];\n }\n break;\n }\n result = {\n bitRate: bit_rate,\n samplingRate: sample_rate,\n channelCount: channel_count,\n codec: codec,\n originalCodec: codec\n };\n }\n else {\n result = array;\n }\n return result;\n };\n FLVDemuxer.prototype._parseVideoData = function (arrayBuffer, dataOffset, dataSize, tagTimestamp, tagPosition) {\n if (dataSize <= 1) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid video packet, missing VideoData payload!');\n return;\n }\n if (this._hasVideoFlagOverrided === true && this._hasVideo === false) {\n // If hasVideo: false indicated explicitly in MediaDataSource,\n // Ignore all the video packets\n return;\n }\n var spec = (new Uint8Array(arrayBuffer, dataOffset, dataSize))[0];\n var frameType = (spec & 240) >>> 4;\n var codecId = spec & 15;\n if (codecId !== 7) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.CODEC_UNSUPPORTED, \"Flv: Unsupported codec in video frame: \" + codecId);\n return;\n }\n this._parseAVCVideoPacket(arrayBuffer, dataOffset + 1, dataSize - 1, tagTimestamp, tagPosition, frameType);\n };\n FLVDemuxer.prototype._parseAVCVideoPacket = function (arrayBuffer, dataOffset, dataSize, tagTimestamp, tagPosition, frameType) {\n if (dataSize < 4) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime');\n return;\n }\n var le = this._littleEndian;\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var packetType = v.getUint8(0);\n var cts_unsigned = v.getUint32(0, !le) & 0x00FFFFFF;\n var cts = (cts_unsigned << 8) >> 8; // convert to 24-bit signed int\n if (packetType === 0) { // AVCDecoderConfigurationRecord\n this._parseAVCDecoderConfigurationRecord(arrayBuffer, dataOffset + 4, dataSize - 4);\n }\n else if (packetType === 1) { // One or more Nalus\n this._parseAVCVideoData(arrayBuffer, dataOffset + 4, dataSize - 4, tagTimestamp, tagPosition, frameType, cts);\n }\n else if (packetType === 2) {\n // empty, AVC end of sequence\n }\n else {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, \"Flv: Invalid video packet type \" + packetType);\n return;\n }\n };\n FLVDemuxer.prototype._parseAVCDecoderConfigurationRecord = function (arrayBuffer, dataOffset, dataSize) {\n if (dataSize < 7) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Flv: Invalid AVCDecoderConfigurationRecord, lack of data!');\n return;\n }\n var meta = this._videoMetadata;\n var track = this._videoTrack;\n var le = this._littleEndian;\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n if (!meta) {\n if (this._hasVideo === false && this._hasVideoFlagOverrided === false) {\n this._hasVideo = true;\n this._mediaInfo.hasVideo = true;\n }\n meta = this._videoMetadata = {};\n meta.type = 'video';\n meta.id = track.id;\n meta.timescale = this._timescale;\n meta.duration = this._duration;\n }\n else {\n if (typeof meta.avcc !== 'undefined') {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Found another AVCDecoderConfigurationRecord!');\n }\n }\n var version = v.getUint8(0); // configurationVersion\n var avcProfile = v.getUint8(1); // avcProfileIndication\n var profileCompatibility = v.getUint8(2); // profile_compatibility\n var avcLevel = v.getUint8(3); // AVCLevelIndication\n if (version !== 1 || avcProfile === 0) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: Invalid AVCDecoderConfigurationRecord');\n return;\n }\n this._naluLengthSize = (v.getUint8(4) & 3) + 1; // lengthSizeMinusOne\n if (this._naluLengthSize !== 3 && this._naluLengthSize !== 4) { // holy shit!!!\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, \"Flv: Strange NaluLengthSizeMinusOne: \" + (this._naluLengthSize - 1));\n return;\n }\n var spsCount = v.getUint8(5) & 31; // numOfSequenceParameterSets\n if (spsCount === 0) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: Invalid AVCDecoderConfigurationRecord: No SPS');\n return;\n }\n else if (spsCount > 1) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = \" + spsCount);\n }\n var offset = 6;\n for (var i = 0; i < spsCount; i++) {\n var len = v.getUint16(offset, !le); // sequenceParameterSetLength\n offset += 2;\n if (len === 0) {\n continue;\n }\n // Notice: Nalu without startcode header (00 00 00 01)\n var sps = new Uint8Array(arrayBuffer, dataOffset + offset, len);\n offset += len;\n var config = _sps_parser_js__WEBPACK_IMPORTED_MODULE_2__.default.parseSPS(sps);\n if (i !== 0) {\n // ignore other sps's config\n continue;\n }\n meta.codecWidth = config.codec_size.width;\n meta.codecHeight = config.codec_size.height;\n meta.presentWidth = config.present_size.width;\n meta.presentHeight = config.present_size.height;\n meta.profile = config.profile_string;\n meta.level = config.level_string;\n meta.bitDepth = config.bit_depth;\n meta.chromaFormat = config.chroma_format;\n meta.sarRatio = config.sar_ratio;\n meta.frameRate = config.frame_rate;\n if (config.frame_rate.fixed === false ||\n config.frame_rate.fps_num === 0 ||\n config.frame_rate.fps_den === 0) {\n meta.frameRate = this._referenceFrameRate;\n }\n var fps_den = meta.frameRate.fps_den;\n var fps_num = meta.frameRate.fps_num;\n meta.refSampleDuration = meta.timescale * (fps_den / fps_num);\n var codecArray = sps.subarray(1, 4);\n var codecString = 'avc1.';\n for (var j = 0; j < 3; j++) {\n var h = codecArray[j].toString(16);\n if (h.length < 2) {\n h = '0' + h;\n }\n codecString += h;\n }\n meta.codec = codecString;\n var mi = this._mediaInfo;\n mi.width = meta.codecWidth;\n mi.height = meta.codecHeight;\n mi.fps = meta.frameRate.fps;\n mi.profile = meta.profile;\n mi.level = meta.level;\n mi.refFrames = config.ref_frames;\n mi.chromaFormat = config.chroma_format_string;\n mi.sarNum = meta.sarRatio.width;\n mi.sarDen = meta.sarRatio.height;\n mi.videoCodec = codecString;\n if (mi.hasAudio) {\n if (mi.audioCodec != null) {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.videoCodec + ',' + mi.audioCodec + '\"';\n }\n }\n else {\n mi.mimeType = 'video/x-flv; codecs=\"' + mi.videoCodec + '\"';\n }\n if (mi.isComplete()) {\n this._onMediaInfo(mi);\n }\n }\n var ppsCount = v.getUint8(offset); // numOfPictureParameterSets\n if (ppsCount === 0) {\n this._onError(_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__.default.FORMAT_ERROR, 'Flv: Invalid AVCDecoderConfigurationRecord: No PPS');\n return;\n }\n else if (ppsCount > 1) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = \" + ppsCount);\n }\n offset++;\n for (var i = 0; i < ppsCount; i++) {\n var len = v.getUint16(offset, !le); // pictureParameterSetLength\n offset += 2;\n if (len === 0) {\n continue;\n }\n // pps is useless for extracting video information\n offset += len;\n }\n meta.avcc = new Uint8Array(dataSize);\n meta.avcc.set(new Uint8Array(arrayBuffer, dataOffset, dataSize), 0);\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.v(this.TAG, 'Parsed AVCDecoderConfigurationRecord');\n if (this._isInitialMetadataDispatched()) {\n // flush parsed frames\n if (this._dispatch && (this._audioTrack.length || this._videoTrack.length)) {\n this._onDataAvailable(this._audioTrack, this._videoTrack);\n }\n }\n else {\n this._videoInitialMetadataDispatched = true;\n }\n // notify new metadata\n this._dispatch = false;\n this._onTrackMetadata('video', meta);\n };\n FLVDemuxer.prototype._parseAVCVideoData = function (arrayBuffer, dataOffset, dataSize, tagTimestamp, tagPosition, frameType, cts) {\n var le = this._littleEndian;\n var v = new DataView(arrayBuffer, dataOffset, dataSize);\n var units = [], length = 0;\n var offset = 0;\n var lengthSize = this._naluLengthSize;\n var dts = this._timestampBase + tagTimestamp;\n var keyframe = (frameType === 1); // from FLV Frame Type constants\n while (offset < dataSize) {\n if (offset + 4 >= dataSize) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Malformed Nalu near timestamp \" + dts + \", offset = \" + offset + \", dataSize = \" + dataSize);\n break; // data not enough for next Nalu\n }\n // Nalu with length-header (AVC1)\n var naluSize = v.getUint32(offset, !le); // Big-Endian read\n if (lengthSize === 3) {\n naluSize >>>= 8;\n }\n if (naluSize > dataSize - lengthSize) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Malformed Nalus near timestamp \" + dts + \", NaluSize > DataSize!\");\n return;\n }\n var unitType = v.getUint8(offset + lengthSize) & 0x1F;\n if (unitType === 5) { // IDR\n keyframe = true;\n }\n var data = new Uint8Array(arrayBuffer, dataOffset + offset, lengthSize + naluSize);\n var unit = { type: unitType, data: data };\n units.push(unit);\n length += data.byteLength;\n offset += lengthSize + naluSize;\n }\n if (units.length) {\n var track = this._videoTrack;\n var avcSample = {\n units: units,\n length: length,\n isKeyframe: keyframe,\n dts: dts,\n cts: cts,\n pts: (dts + cts)\n };\n if (keyframe) {\n avcSample.fileposition = tagPosition;\n }\n track.samples.push(avcSample);\n track.length += length;\n }\n };\n return FLVDemuxer;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (FLVDemuxer);\n\n\n/***/ }),\n\n/***/ \"./src/demux/sps-parser.js\":\n/*!*********************************!*\\\n !*** ./src/demux/sps-parser.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _exp_golomb_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exp-golomb.js */ \"./src/demux/exp-golomb.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar SPSParser = /** @class */ (function () {\n function SPSParser() {\n }\n SPSParser._ebsp2rbsp = function (uint8array) {\n var src = uint8array;\n var src_length = src.byteLength;\n var dst = new Uint8Array(src_length);\n var dst_idx = 0;\n for (var i = 0; i < src_length; i++) {\n if (i >= 2) {\n // Unescape: Skip 0x03 after 00 00\n if (src[i] === 0x03 && src[i - 1] === 0x00 && src[i - 2] === 0x00) {\n continue;\n }\n }\n dst[dst_idx] = src[i];\n dst_idx++;\n }\n return new Uint8Array(dst.buffer, 0, dst_idx);\n };\n SPSParser.parseSPS = function (uint8array) {\n var rbsp = SPSParser._ebsp2rbsp(uint8array);\n var gb = new _exp_golomb_js__WEBPACK_IMPORTED_MODULE_0__.default(rbsp);\n gb.readByte();\n var profile_idc = gb.readByte(); // profile_idc\n gb.readByte(); // constraint_set_flags[5] + reserved_zero[3]\n var level_idc = gb.readByte(); // level_idc\n gb.readUEG(); // seq_parameter_set_id\n var profile_string = SPSParser.getProfileString(profile_idc);\n var level_string = SPSParser.getLevelString(level_idc);\n var chroma_format_idc = 1;\n var chroma_format = 420;\n var chroma_format_table = [0, 420, 422, 444];\n var bit_depth = 8;\n if (profile_idc === 100 || profile_idc === 110 || profile_idc === 122 ||\n profile_idc === 244 || profile_idc === 44 || profile_idc === 83 ||\n profile_idc === 86 || profile_idc === 118 || profile_idc === 128 ||\n profile_idc === 138 || profile_idc === 144) {\n chroma_format_idc = gb.readUEG();\n if (chroma_format_idc === 3) {\n gb.readBits(1); // separate_colour_plane_flag\n }\n if (chroma_format_idc <= 3) {\n chroma_format = chroma_format_table[chroma_format_idc];\n }\n bit_depth = gb.readUEG() + 8; // bit_depth_luma_minus8\n gb.readUEG(); // bit_depth_chroma_minus8\n gb.readBits(1); // qpprime_y_zero_transform_bypass_flag\n if (gb.readBool()) { // seq_scaling_matrix_present_flag\n var scaling_list_count = (chroma_format_idc !== 3) ? 8 : 12;\n for (var i = 0; i < scaling_list_count; i++) {\n if (gb.readBool()) { // seq_scaling_list_present_flag\n if (i < 6) {\n SPSParser._skipScalingList(gb, 16);\n }\n else {\n SPSParser._skipScalingList(gb, 64);\n }\n }\n }\n }\n }\n gb.readUEG(); // log2_max_frame_num_minus4\n var pic_order_cnt_type = gb.readUEG();\n if (pic_order_cnt_type === 0) {\n gb.readUEG(); // log2_max_pic_order_cnt_lsb_minus_4\n }\n else if (pic_order_cnt_type === 1) {\n gb.readBits(1); // delta_pic_order_always_zero_flag\n gb.readSEG(); // offset_for_non_ref_pic\n gb.readSEG(); // offset_for_top_to_bottom_field\n var num_ref_frames_in_pic_order_cnt_cycle = gb.readUEG();\n for (var i = 0; i < num_ref_frames_in_pic_order_cnt_cycle; i++) {\n gb.readSEG(); // offset_for_ref_frame\n }\n }\n var ref_frames = gb.readUEG(); // max_num_ref_frames\n gb.readBits(1); // gaps_in_frame_num_value_allowed_flag\n var pic_width_in_mbs_minus1 = gb.readUEG();\n var pic_height_in_map_units_minus1 = gb.readUEG();\n var frame_mbs_only_flag = gb.readBits(1);\n if (frame_mbs_only_flag === 0) {\n gb.readBits(1); // mb_adaptive_frame_field_flag\n }\n gb.readBits(1); // direct_8x8_inference_flag\n var frame_crop_left_offset = 0;\n var frame_crop_right_offset = 0;\n var frame_crop_top_offset = 0;\n var frame_crop_bottom_offset = 0;\n var frame_cropping_flag = gb.readBool();\n if (frame_cropping_flag) {\n frame_crop_left_offset = gb.readUEG();\n frame_crop_right_offset = gb.readUEG();\n frame_crop_top_offset = gb.readUEG();\n frame_crop_bottom_offset = gb.readUEG();\n }\n var sar_width = 1, sar_height = 1;\n var fps = 0, fps_fixed = true, fps_num = 0, fps_den = 0;\n var vui_parameters_present_flag = gb.readBool();\n if (vui_parameters_present_flag) {\n if (gb.readBool()) { // aspect_ratio_info_present_flag\n var aspect_ratio_idc = gb.readByte();\n var sar_w_table = [1, 12, 10, 16, 40, 24, 20, 32, 80, 18, 15, 64, 160, 4, 3, 2];\n var sar_h_table = [1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2, 1];\n if (aspect_ratio_idc > 0 && aspect_ratio_idc < 16) {\n sar_width = sar_w_table[aspect_ratio_idc - 1];\n sar_height = sar_h_table[aspect_ratio_idc - 1];\n }\n else if (aspect_ratio_idc === 255) {\n sar_width = gb.readByte() << 8 | gb.readByte();\n sar_height = gb.readByte() << 8 | gb.readByte();\n }\n }\n if (gb.readBool()) { // overscan_info_present_flag\n gb.readBool(); // overscan_appropriate_flag\n }\n if (gb.readBool()) { // video_signal_type_present_flag\n gb.readBits(4); // video_format & video_full_range_flag\n if (gb.readBool()) { // colour_description_present_flag\n gb.readBits(24); // colour_primaries & transfer_characteristics & matrix_coefficients\n }\n }\n if (gb.readBool()) { // chroma_loc_info_present_flag\n gb.readUEG(); // chroma_sample_loc_type_top_field\n gb.readUEG(); // chroma_sample_loc_type_bottom_field\n }\n if (gb.readBool()) { // timing_info_present_flag\n var num_units_in_tick = gb.readBits(32);\n var time_scale = gb.readBits(32);\n fps_fixed = gb.readBool(); // fixed_frame_rate_flag\n fps_num = time_scale;\n fps_den = num_units_in_tick * 2;\n fps = fps_num / fps_den;\n }\n }\n var sarScale = 1;\n if (sar_width !== 1 || sar_height !== 1) {\n sarScale = sar_width / sar_height;\n }\n var crop_unit_x = 0, crop_unit_y = 0;\n if (chroma_format_idc === 0) {\n crop_unit_x = 1;\n crop_unit_y = 2 - frame_mbs_only_flag;\n }\n else {\n var sub_wc = (chroma_format_idc === 3) ? 1 : 2;\n var sub_hc = (chroma_format_idc === 1) ? 2 : 1;\n crop_unit_x = sub_wc;\n crop_unit_y = sub_hc * (2 - frame_mbs_only_flag);\n }\n var codec_width = (pic_width_in_mbs_minus1 + 1) * 16;\n var codec_height = (2 - frame_mbs_only_flag) * ((pic_height_in_map_units_minus1 + 1) * 16);\n codec_width -= (frame_crop_left_offset + frame_crop_right_offset) * crop_unit_x;\n codec_height -= (frame_crop_top_offset + frame_crop_bottom_offset) * crop_unit_y;\n var present_width = Math.ceil(codec_width * sarScale);\n gb.destroy();\n gb = null;\n return {\n profile_string: profile_string,\n level_string: level_string,\n bit_depth: bit_depth,\n ref_frames: ref_frames,\n chroma_format: chroma_format,\n chroma_format_string: SPSParser.getChromaFormatString(chroma_format),\n frame_rate: {\n fixed: fps_fixed,\n fps: fps,\n fps_den: fps_den,\n fps_num: fps_num\n },\n sar_ratio: {\n width: sar_width,\n height: sar_height\n },\n codec_size: {\n width: codec_width,\n height: codec_height\n },\n present_size: {\n width: present_width,\n height: codec_height\n }\n };\n };\n SPSParser._skipScalingList = function (gb, count) {\n var last_scale = 8, next_scale = 8;\n var delta_scale = 0;\n for (var i = 0; i < count; i++) {\n if (next_scale !== 0) {\n delta_scale = gb.readSEG();\n next_scale = (last_scale + delta_scale + 256) % 256;\n }\n last_scale = (next_scale === 0) ? last_scale : next_scale;\n }\n };\n SPSParser.getProfileString = function (profile_idc) {\n switch (profile_idc) {\n case 66:\n return 'Baseline';\n case 77:\n return 'Main';\n case 88:\n return 'Extended';\n case 100:\n return 'High';\n case 110:\n return 'High10';\n case 122:\n return 'High422';\n case 244:\n return 'High444';\n default:\n return 'Unknown';\n }\n };\n SPSParser.getLevelString = function (level_idc) {\n return (level_idc / 10).toFixed(1);\n };\n SPSParser.getChromaFormatString = function (chroma) {\n switch (chroma) {\n case 420:\n return '4:2:0';\n case 422:\n return '4:2:2';\n case 444:\n return '4:4:4';\n default:\n return 'Unknown';\n }\n };\n return SPSParser;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (SPSParser);\n\n\n/***/ }),\n\n/***/ \"./src/flv.js\":\n/*!********************!*\\\n !*** ./src/flv.js ***!\n \\********************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_polyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/polyfill.js */ \"./src/utils/polyfill.js\");\n/* harmony import */ var _core_features_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core/features.js */ \"./src/core/features.js\");\n/* harmony import */ var _io_loader_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./io/loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _player_flv_player_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./player/flv-player.js */ \"./src/player/flv-player.js\");\n/* harmony import */ var _player_native_player_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./player/native-player.js */ \"./src/player/native-player.js\");\n/* harmony import */ var _player_player_events_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./player/player-events.js */ \"./src/player/player-events.js\");\n/* harmony import */ var _player_player_errors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./player/player-errors.js */ \"./src/player/player-errors.js\");\n/* harmony import */ var _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/logging-control.js */ \"./src/utils/logging-control.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n// here are all the interfaces\n// install polyfills\n_utils_polyfill_js__WEBPACK_IMPORTED_MODULE_0__.default.install();\n// factory method\nfunction createPlayer(mediaDataSource, optionalConfig) {\n var mds = mediaDataSource;\n if (mds == null || typeof mds !== 'object') {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_8__.InvalidArgumentException('MediaDataSource must be an javascript object!');\n }\n if (!mds.hasOwnProperty('type')) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_8__.InvalidArgumentException('MediaDataSource must has type field to indicate video file type!');\n }\n switch (mds.type) {\n case 'flv':\n return new _player_flv_player_js__WEBPACK_IMPORTED_MODULE_3__.default(mds, optionalConfig);\n default:\n return new _player_native_player_js__WEBPACK_IMPORTED_MODULE_4__.default(mds, optionalConfig);\n }\n}\n// feature detection\nfunction isSupported() {\n return _core_features_js__WEBPACK_IMPORTED_MODULE_1__.default.supportMSEH264Playback();\n}\nfunction getFeatureList() {\n return _core_features_js__WEBPACK_IMPORTED_MODULE_1__.default.getFeatureList();\n}\n// interfaces\nvar flvjs = {};\nflvjs.createPlayer = createPlayer;\nflvjs.isSupported = isSupported;\nflvjs.getFeatureList = getFeatureList;\nflvjs.BaseLoader = _io_loader_js__WEBPACK_IMPORTED_MODULE_2__.BaseLoader;\nflvjs.LoaderStatus = _io_loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus;\nflvjs.LoaderErrors = _io_loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors;\nflvjs.Events = _player_player_events_js__WEBPACK_IMPORTED_MODULE_5__.default;\nflvjs.ErrorTypes = _player_player_errors_js__WEBPACK_IMPORTED_MODULE_6__.ErrorTypes;\nflvjs.ErrorDetails = _player_player_errors_js__WEBPACK_IMPORTED_MODULE_6__.ErrorDetails;\nflvjs.FlvPlayer = _player_flv_player_js__WEBPACK_IMPORTED_MODULE_3__.default;\nflvjs.NativePlayer = _player_native_player_js__WEBPACK_IMPORTED_MODULE_4__.default;\nflvjs.LoggingControl = _utils_logging_control_js__WEBPACK_IMPORTED_MODULE_7__.default;\nObject.defineProperty(flvjs, 'version', {\n enumerable: true,\n get: function () {\n // replace by webpack.DefinePlugin\n return \"1.6.2\";\n }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (flvjs);\n\n\n/***/ }),\n\n/***/ \"./src/index.js\":\n/*!**********************!*\\\n !*** ./src/index.js ***!\n \\**********************/\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\n// entry/index file\n// make it compatible with browserify's umd wrapper\nmodule.exports = __webpack_require__(/*! ./flv.js */ \"./src/flv.js\").default;\n\n\n/***/ }),\n\n/***/ \"./src/io/fetch-stream-loader.js\":\n/*!***************************************!*\\\n !*** ./src/io/fetch-stream-loader.js ***!\n \\***************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_browser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/browser.js */ \"./src/utils/browser.js\");\n/* harmony import */ var _loader_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n/* fetch + stream IO loader. Currently working on chrome 43+.\n * fetch provides a better alternative http API to XMLHttpRequest\n *\n * fetch spec https://fetch.spec.whatwg.org/\n * stream spec https://streams.spec.whatwg.org/\n */\nvar FetchStreamLoader = /** @class */ (function (_super) {\n __extends(FetchStreamLoader, _super);\n function FetchStreamLoader(seekHandler, config) {\n var _this = _super.call(this, 'fetch-stream-loader') || this;\n _this.TAG = 'FetchStreamLoader';\n _this._seekHandler = seekHandler;\n _this._config = config;\n _this._needStash = true;\n _this._requestAbort = false;\n _this._contentLength = null;\n _this._receivedLength = 0;\n return _this;\n }\n FetchStreamLoader.isSupported = function () {\n try {\n // fetch + stream is broken on Microsoft Edge. Disable before build 15048.\n // see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8196907/\n // Fixed in Jan 10, 2017. Build 15048+ removed from blacklist.\n var isWorkWellEdge = _utils_browser_js__WEBPACK_IMPORTED_MODULE_0__.default.msedge && _utils_browser_js__WEBPACK_IMPORTED_MODULE_0__.default.version.minor >= 15048;\n var browserNotBlacklisted = _utils_browser_js__WEBPACK_IMPORTED_MODULE_0__.default.msedge ? isWorkWellEdge : true;\n return (self.fetch && self.ReadableStream && browserNotBlacklisted);\n }\n catch (e) {\n return false;\n }\n };\n FetchStreamLoader.prototype.destroy = function () {\n if (this.isWorking()) {\n this.abort();\n }\n _super.prototype.destroy.call(this);\n };\n FetchStreamLoader.prototype.open = function (dataSource, range) {\n var _this = this;\n this._dataSource = dataSource;\n this._range = range;\n var sourceURL = dataSource.url;\n if (this._config.reuseRedirectedURL && dataSource.redirectedURL != undefined) {\n sourceURL = dataSource.redirectedURL;\n }\n var seekConfig = this._seekHandler.getConfig(sourceURL, range);\n var headers = new self.Headers();\n if (typeof seekConfig.headers === 'object') {\n var configHeaders = seekConfig.headers;\n for (var key in configHeaders) {\n if (configHeaders.hasOwnProperty(key)) {\n headers.append(key, configHeaders[key]);\n }\n }\n }\n var params = {\n method: 'GET',\n headers: headers,\n mode: 'cors',\n cache: 'default',\n // The default policy of Fetch API in the whatwg standard\n // Safari incorrectly indicates 'no-referrer' as default policy, fuck it\n referrerPolicy: 'no-referrer-when-downgrade'\n };\n // add additional headers\n if (typeof this._config.headers === 'object') {\n for (var key in this._config.headers) {\n headers.append(key, this._config.headers[key]);\n }\n }\n // cors is enabled by default\n if (dataSource.cors === false) {\n // no-cors means 'disregard cors policy', which can only be used in ServiceWorker\n params.mode = 'same-origin';\n }\n // withCredentials is disabled by default\n if (dataSource.withCredentials) {\n params.credentials = 'include';\n }\n // referrerPolicy from config\n if (dataSource.referrerPolicy) {\n params.referrerPolicy = dataSource.referrerPolicy;\n }\n // add abort controller, by wmlgl 2019-5-10 12:21:27\n if (self.AbortController) {\n this._abortController = new self.AbortController();\n params.signal = this._abortController.signal;\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kConnecting;\n self.fetch(seekConfig.url, params).then(function (res) {\n if (_this._requestAbort) {\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kIdle;\n res.body.cancel();\n return;\n }\n if (res.ok && (res.status >= 200 && res.status <= 299)) {\n if (res.url !== seekConfig.url) {\n if (_this._onURLRedirect) {\n var redirectedURL = _this._seekHandler.removeURLParameters(res.url);\n _this._onURLRedirect(redirectedURL);\n }\n }\n var lengthHeader = res.headers.get('Content-Length');\n if (lengthHeader != null) {\n _this._contentLength = parseInt(lengthHeader);\n if (_this._contentLength !== 0) {\n if (_this._onContentLengthKnown) {\n _this._onContentLengthKnown(_this._contentLength);\n }\n }\n }\n return _this._pump.call(_this, res.body.getReader());\n }\n else {\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n if (_this._onError) {\n _this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.HTTP_STATUS_CODE_INVALID, { code: res.status, msg: res.statusText });\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.RuntimeException('FetchStreamLoader: Http code invalid, ' + res.status + ' ' + res.statusText);\n }\n }\n }).catch(function (e) {\n if (_this._abortController && _this._abortController.signal.aborted) {\n return;\n }\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n if (_this._onError) {\n _this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EXCEPTION, { code: -1, msg: e.message });\n }\n else {\n throw e;\n }\n });\n };\n FetchStreamLoader.prototype.abort = function () {\n this._requestAbort = true;\n if (this._status !== _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kBuffering || !_utils_browser_js__WEBPACK_IMPORTED_MODULE_0__.default.chrome) {\n // Chrome may throw Exception-like things here, avoid using if is buffering\n if (this._abortController) {\n try {\n this._abortController.abort();\n }\n catch (e) { }\n }\n }\n };\n FetchStreamLoader.prototype._pump = function (reader) {\n var _this = this;\n return reader.read().then(function (result) {\n if (result.done) {\n // First check received length\n if (_this._contentLength !== null && _this._receivedLength < _this._contentLength) {\n // Report Early-EOF\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n var type = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EARLY_EOF;\n var info = { code: -1, msg: 'Fetch stream meet Early-EOF' };\n if (_this._onError) {\n _this._onError(type, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.RuntimeException(info.msg);\n }\n }\n else {\n // OK. Download complete\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n if (_this._onComplete) {\n _this._onComplete(_this._range.from, _this._range.from + _this._receivedLength - 1);\n }\n }\n }\n else {\n if (_this._abortController && _this._abortController.signal.aborted) {\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n return;\n }\n else if (_this._requestAbort === true) {\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n return reader.cancel();\n }\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kBuffering;\n var chunk = result.value.buffer;\n var byteStart = _this._range.from + _this._receivedLength;\n _this._receivedLength += chunk.byteLength;\n if (_this._onDataArrival) {\n _this._onDataArrival(chunk, byteStart, _this._receivedLength);\n }\n _this._pump(reader);\n }\n }).catch(function (e) {\n if (_this._abortController && _this._abortController.signal.aborted) {\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n return;\n }\n if (e.code === 11 && _utils_browser_js__WEBPACK_IMPORTED_MODULE_0__.default.msedge) { // InvalidStateError on Microsoft Edge\n // Workaround: Edge may throw InvalidStateError after ReadableStreamReader.cancel() call\n // Ignore the unknown exception.\n // Related issue: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11265202/\n return;\n }\n _this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n var type = 0;\n var info = null;\n if ((e.code === 19 || e.message === 'network error') && // NETWORK_ERR\n (_this._contentLength === null ||\n (_this._contentLength !== null && _this._receivedLength < _this._contentLength))) {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EARLY_EOF;\n info = { code: e.code, msg: 'Fetch stream meet Early-EOF' };\n }\n else {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EXCEPTION;\n info = { code: e.code, msg: e.message };\n }\n if (_this._onError) {\n _this._onError(type, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.RuntimeException(info.msg);\n }\n });\n };\n return FetchStreamLoader;\n}(_loader_js__WEBPACK_IMPORTED_MODULE_1__.BaseLoader));\n/* harmony default export */ __webpack_exports__[\"default\"] = (FetchStreamLoader);\n\n\n/***/ }),\n\n/***/ \"./src/io/io-controller.js\":\n/*!*********************************!*\\\n !*** ./src/io/io-controller.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _speed_sampler_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./speed-sampler.js */ \"./src/io/speed-sampler.js\");\n/* harmony import */ var _loader_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _fetch_stream_loader_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fetch-stream-loader.js */ \"./src/io/fetch-stream-loader.js\");\n/* harmony import */ var _xhr_moz_chunked_loader_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./xhr-moz-chunked-loader.js */ \"./src/io/xhr-moz-chunked-loader.js\");\n/* harmony import */ var _xhr_range_loader_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./xhr-range-loader.js */ \"./src/io/xhr-range-loader.js\");\n/* harmony import */ var _websocket_loader_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./websocket-loader.js */ \"./src/io/websocket-loader.js\");\n/* harmony import */ var _range_seek_handler_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./range-seek-handler.js */ \"./src/io/range-seek-handler.js\");\n/* harmony import */ var _param_seek_handler_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./param-seek-handler.js */ \"./src/io/param-seek-handler.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n\n/**\n * DataSource: {\n * url: string,\n * filesize: number,\n * cors: boolean,\n * withCredentials: boolean\n * }\n *\n */\n// Manage IO Loaders\nvar IOController = /** @class */ (function () {\n function IOController(dataSource, config, extraData) {\n this.TAG = 'IOController';\n this._config = config;\n this._extraData = extraData;\n this._stashInitialSize = 1024 * 384; // default initial size: 384KB\n if (config.stashInitialSize != undefined && config.stashInitialSize > 0) {\n // apply from config\n this._stashInitialSize = config.stashInitialSize;\n }\n this._stashUsed = 0;\n this._stashSize = this._stashInitialSize;\n this._bufferSize = 1024 * 1024 * 3; // initial size: 3MB\n this._stashBuffer = new ArrayBuffer(this._bufferSize);\n this._stashByteStart = 0;\n this._enableStash = true;\n if (config.enableStashBuffer === false) {\n this._enableStash = false;\n }\n this._loader = null;\n this._loaderClass = null;\n this._seekHandler = null;\n this._dataSource = dataSource;\n this._isWebSocketURL = /wss?:\\/\\/(.+?)/.test(dataSource.url);\n this._refTotalLength = dataSource.filesize ? dataSource.filesize : null;\n this._totalLength = this._refTotalLength;\n this._fullRequestFlag = false;\n this._currentRange = null;\n this._redirectedURL = null;\n this._speedNormalized = 0;\n this._speedSampler = new _speed_sampler_js__WEBPACK_IMPORTED_MODULE_1__.default();\n this._speedNormalizeList = [64, 128, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096];\n this._isEarlyEofReconnecting = false;\n this._paused = false;\n this._resumeFrom = 0;\n this._onDataArrival = null;\n this._onSeeked = null;\n this._onError = null;\n this._onComplete = null;\n this._onRedirect = null;\n this._onRecoveredEarlyEof = null;\n this._selectSeekHandler();\n this._selectLoader();\n this._createLoader();\n }\n IOController.prototype.destroy = function () {\n if (this._loader.isWorking()) {\n this._loader.abort();\n }\n this._loader.destroy();\n this._loader = null;\n this._loaderClass = null;\n this._dataSource = null;\n this._stashBuffer = null;\n this._stashUsed = this._stashSize = this._bufferSize = this._stashByteStart = 0;\n this._currentRange = null;\n this._speedSampler = null;\n this._isEarlyEofReconnecting = false;\n this._onDataArrival = null;\n this._onSeeked = null;\n this._onError = null;\n this._onComplete = null;\n this._onRedirect = null;\n this._onRecoveredEarlyEof = null;\n this._extraData = null;\n };\n IOController.prototype.isWorking = function () {\n return this._loader && this._loader.isWorking() && !this._paused;\n };\n IOController.prototype.isPaused = function () {\n return this._paused;\n };\n Object.defineProperty(IOController.prototype, \"status\", {\n get: function () {\n return this._loader.status;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"extraData\", {\n get: function () {\n return this._extraData;\n },\n set: function (data) {\n this._extraData = data;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onDataArrival\", {\n // prototype: function onDataArrival(chunks: ArrayBuffer, byteStart: number): number\n get: function () {\n return this._onDataArrival;\n },\n set: function (callback) {\n this._onDataArrival = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onSeeked\", {\n get: function () {\n return this._onSeeked;\n },\n set: function (callback) {\n this._onSeeked = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onError\", {\n // prototype: function onError(type: number, info: {code: number, msg: string}): void\n get: function () {\n return this._onError;\n },\n set: function (callback) {\n this._onError = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onComplete\", {\n get: function () {\n return this._onComplete;\n },\n set: function (callback) {\n this._onComplete = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onRedirect\", {\n get: function () {\n return this._onRedirect;\n },\n set: function (callback) {\n this._onRedirect = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"onRecoveredEarlyEof\", {\n get: function () {\n return this._onRecoveredEarlyEof;\n },\n set: function (callback) {\n this._onRecoveredEarlyEof = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"currentURL\", {\n get: function () {\n return this._dataSource.url;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"hasRedirect\", {\n get: function () {\n return (this._redirectedURL != null || this._dataSource.redirectedURL != undefined);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"currentRedirectedURL\", {\n get: function () {\n return this._redirectedURL || this._dataSource.redirectedURL;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"currentSpeed\", {\n // in KB/s\n get: function () {\n if (this._loaderClass === _xhr_range_loader_js__WEBPACK_IMPORTED_MODULE_5__.default) {\n // SpeedSampler is inaccuracy if loader is RangeLoader\n return this._loader.currentSpeed;\n }\n return this._speedSampler.lastSecondKBps;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(IOController.prototype, \"loaderType\", {\n get: function () {\n return this._loader.type;\n },\n enumerable: false,\n configurable: true\n });\n IOController.prototype._selectSeekHandler = function () {\n var config = this._config;\n if (config.seekType === 'range') {\n this._seekHandler = new _range_seek_handler_js__WEBPACK_IMPORTED_MODULE_7__.default(this._config.rangeLoadZeroStart);\n }\n else if (config.seekType === 'param') {\n var paramStart = config.seekParamStart || 'bstart';\n var paramEnd = config.seekParamEnd || 'bend';\n this._seekHandler = new _param_seek_handler_js__WEBPACK_IMPORTED_MODULE_8__.default(paramStart, paramEnd);\n }\n else if (config.seekType === 'custom') {\n if (typeof config.customSeekHandler !== 'function') {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.InvalidArgumentException('Custom seekType specified in config but invalid customSeekHandler!');\n }\n this._seekHandler = new config.customSeekHandler();\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.InvalidArgumentException(\"Invalid seekType in config: \" + config.seekType);\n }\n };\n IOController.prototype._selectLoader = function () {\n if (this._config.customLoader != null) {\n this._loaderClass = this._config.customLoader;\n }\n else if (this._isWebSocketURL) {\n this._loaderClass = _websocket_loader_js__WEBPACK_IMPORTED_MODULE_6__.default;\n }\n else if (_fetch_stream_loader_js__WEBPACK_IMPORTED_MODULE_3__.default.isSupported()) {\n this._loaderClass = _fetch_stream_loader_js__WEBPACK_IMPORTED_MODULE_3__.default;\n }\n else if (_xhr_moz_chunked_loader_js__WEBPACK_IMPORTED_MODULE_4__.default.isSupported()) {\n this._loaderClass = _xhr_moz_chunked_loader_js__WEBPACK_IMPORTED_MODULE_4__.default;\n }\n else if (_xhr_range_loader_js__WEBPACK_IMPORTED_MODULE_5__.default.isSupported()) {\n this._loaderClass = _xhr_range_loader_js__WEBPACK_IMPORTED_MODULE_5__.default;\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.RuntimeException('Your browser doesn\\'t support xhr with arraybuffer responseType!');\n }\n };\n IOController.prototype._createLoader = function () {\n this._loader = new this._loaderClass(this._seekHandler, this._config);\n if (this._loader.needStashBuffer === false) {\n this._enableStash = false;\n }\n this._loader.onContentLengthKnown = this._onContentLengthKnown.bind(this);\n this._loader.onURLRedirect = this._onURLRedirect.bind(this);\n this._loader.onDataArrival = this._onLoaderChunkArrival.bind(this);\n this._loader.onComplete = this._onLoaderComplete.bind(this);\n this._loader.onError = this._onLoaderError.bind(this);\n };\n IOController.prototype.open = function (optionalFrom) {\n this._currentRange = { from: 0, to: -1 };\n if (optionalFrom) {\n this._currentRange.from = optionalFrom;\n }\n this._speedSampler.reset();\n if (!optionalFrom) {\n this._fullRequestFlag = true;\n }\n this._loader.open(this._dataSource, Object.assign({}, this._currentRange));\n };\n IOController.prototype.abort = function () {\n this._loader.abort();\n if (this._paused) {\n this._paused = false;\n this._resumeFrom = 0;\n }\n };\n IOController.prototype.pause = function () {\n if (this.isWorking()) {\n this._loader.abort();\n if (this._stashUsed !== 0) {\n this._resumeFrom = this._stashByteStart;\n this._currentRange.to = this._stashByteStart - 1;\n }\n else {\n this._resumeFrom = this._currentRange.to + 1;\n }\n this._stashUsed = 0;\n this._stashByteStart = 0;\n this._paused = true;\n }\n };\n IOController.prototype.resume = function () {\n if (this._paused) {\n this._paused = false;\n var bytes = this._resumeFrom;\n this._resumeFrom = 0;\n this._internalSeek(bytes, true);\n }\n };\n IOController.prototype.seek = function (bytes) {\n this._paused = false;\n this._stashUsed = 0;\n this._stashByteStart = 0;\n this._internalSeek(bytes, true);\n };\n /**\n * When seeking request is from media seeking, unconsumed stash data should be dropped\n * However, stash data shouldn't be dropped if seeking requested from http reconnection\n *\n * @dropUnconsumed: Ignore and discard all unconsumed data in stash buffer\n */\n IOController.prototype._internalSeek = function (bytes, dropUnconsumed) {\n if (this._loader.isWorking()) {\n this._loader.abort();\n }\n // dispatch & flush stash buffer before seek\n this._flushStashBuffer(dropUnconsumed);\n this._loader.destroy();\n this._loader = null;\n var requestRange = { from: bytes, to: -1 };\n this._currentRange = { from: requestRange.from, to: -1 };\n this._speedSampler.reset();\n this._stashSize = this._stashInitialSize;\n this._createLoader();\n this._loader.open(this._dataSource, requestRange);\n if (this._onSeeked) {\n this._onSeeked();\n }\n };\n IOController.prototype.updateUrl = function (url) {\n if (!url || typeof url !== 'string' || url.length === 0) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.InvalidArgumentException('Url must be a non-empty string!');\n }\n this._dataSource.url = url;\n // TODO: replace with new url\n };\n IOController.prototype._expandBuffer = function (expectedBytes) {\n var bufferNewSize = this._stashSize;\n while (bufferNewSize + 1024 * 1024 * 1 < expectedBytes) {\n bufferNewSize *= 2;\n }\n bufferNewSize += 1024 * 1024 * 1; // bufferSize = stashSize + 1MB\n if (bufferNewSize === this._bufferSize) {\n return;\n }\n var newBuffer = new ArrayBuffer(bufferNewSize);\n if (this._stashUsed > 0) { // copy existing data into new buffer\n var stashOldArray = new Uint8Array(this._stashBuffer, 0, this._stashUsed);\n var stashNewArray = new Uint8Array(newBuffer, 0, bufferNewSize);\n stashNewArray.set(stashOldArray, 0);\n }\n this._stashBuffer = newBuffer;\n this._bufferSize = bufferNewSize;\n };\n IOController.prototype._normalizeSpeed = function (input) {\n var list = this._speedNormalizeList;\n var last = list.length - 1;\n var mid = 0;\n var lbound = 0;\n var ubound = last;\n if (input < list[0]) {\n return list[0];\n }\n // binary search\n while (lbound <= ubound) {\n mid = lbound + Math.floor((ubound - lbound) / 2);\n if (mid === last || (input >= list[mid] && input < list[mid + 1])) {\n return list[mid];\n }\n else if (list[mid] < input) {\n lbound = mid + 1;\n }\n else {\n ubound = mid - 1;\n }\n }\n };\n IOController.prototype._adjustStashSize = function (normalized) {\n var stashSizeKB = 0;\n if (this._config.isLive) {\n // live stream: always use single normalized speed for size of stashSizeKB\n stashSizeKB = normalized;\n }\n else {\n if (normalized < 512) {\n stashSizeKB = normalized;\n }\n else if (normalized >= 512 && normalized <= 1024) {\n stashSizeKB = Math.floor(normalized * 1.5);\n }\n else {\n stashSizeKB = normalized * 2;\n }\n }\n if (stashSizeKB > 8192) {\n stashSizeKB = 8192;\n }\n var bufferSize = stashSizeKB * 1024 + 1024 * 1024 * 1; // stashSize + 1MB\n if (this._bufferSize < bufferSize) {\n this._expandBuffer(bufferSize);\n }\n this._stashSize = stashSizeKB * 1024;\n };\n IOController.prototype._dispatchChunks = function (chunks, byteStart) {\n this._currentRange.to = byteStart + chunks.byteLength - 1;\n return this._onDataArrival(chunks, byteStart);\n };\n IOController.prototype._onURLRedirect = function (redirectedURL) {\n this._redirectedURL = redirectedURL;\n if (this._onRedirect) {\n this._onRedirect(redirectedURL);\n }\n };\n IOController.prototype._onContentLengthKnown = function (contentLength) {\n if (contentLength && this._fullRequestFlag) {\n this._totalLength = contentLength;\n this._fullRequestFlag = false;\n }\n };\n IOController.prototype._onLoaderChunkArrival = function (chunk, byteStart, receivedLength) {\n if (!this._onDataArrival) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.IllegalStateException('IOController: No existing consumer (onDataArrival) callback!');\n }\n if (this._paused) {\n return;\n }\n if (this._isEarlyEofReconnecting) {\n // Auto-reconnect for EarlyEof succeed, notify to upper-layer by callback\n this._isEarlyEofReconnecting = false;\n if (this._onRecoveredEarlyEof) {\n this._onRecoveredEarlyEof();\n }\n }\n this._speedSampler.addBytes(chunk.byteLength);\n // adjust stash buffer size according to network speed dynamically\n var KBps = this._speedSampler.lastSecondKBps;\n if (KBps !== 0) {\n var normalized = this._normalizeSpeed(KBps);\n if (this._speedNormalized !== normalized) {\n this._speedNormalized = normalized;\n this._adjustStashSize(normalized);\n }\n }\n if (!this._enableStash) { // disable stash\n if (this._stashUsed === 0) {\n // dispatch chunk directly to consumer;\n // check ret value (consumed bytes) and stash unconsumed to stashBuffer\n var consumed = this._dispatchChunks(chunk, byteStart);\n if (consumed < chunk.byteLength) { // unconsumed data remain.\n var remain = chunk.byteLength - consumed;\n if (remain > this._bufferSize) {\n this._expandBuffer(remain);\n }\n var stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n stashArray.set(new Uint8Array(chunk, consumed), 0);\n this._stashUsed += remain;\n this._stashByteStart = byteStart + consumed;\n }\n }\n else {\n // else: Merge chunk into stashBuffer, and dispatch stashBuffer to consumer.\n if (this._stashUsed + chunk.byteLength > this._bufferSize) {\n this._expandBuffer(this._stashUsed + chunk.byteLength);\n }\n var stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n stashArray.set(new Uint8Array(chunk), this._stashUsed);\n this._stashUsed += chunk.byteLength;\n var consumed = this._dispatchChunks(this._stashBuffer.slice(0, this._stashUsed), this._stashByteStart);\n if (consumed < this._stashUsed && consumed > 0) { // unconsumed data remain\n var remainArray = new Uint8Array(this._stashBuffer, consumed);\n stashArray.set(remainArray, 0);\n }\n this._stashUsed -= consumed;\n this._stashByteStart += consumed;\n }\n }\n else { // enable stash\n if (this._stashUsed === 0 && this._stashByteStart === 0) { // seeked? or init chunk?\n // This is the first chunk after seek action\n this._stashByteStart = byteStart;\n }\n if (this._stashUsed + chunk.byteLength <= this._stashSize) {\n // just stash\n var stashArray = new Uint8Array(this._stashBuffer, 0, this._stashSize);\n stashArray.set(new Uint8Array(chunk), this._stashUsed);\n this._stashUsed += chunk.byteLength;\n }\n else { // stashUsed + chunkSize > stashSize, size limit exceeded\n var stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n if (this._stashUsed > 0) { // There're stash datas in buffer\n // dispatch the whole stashBuffer, and stash remain data\n // then append chunk to stashBuffer (stash)\n var buffer = this._stashBuffer.slice(0, this._stashUsed);\n var consumed = this._dispatchChunks(buffer, this._stashByteStart);\n if (consumed < buffer.byteLength) {\n if (consumed > 0) {\n var remainArray = new Uint8Array(buffer, consumed);\n stashArray.set(remainArray, 0);\n this._stashUsed = remainArray.byteLength;\n this._stashByteStart += consumed;\n }\n }\n else {\n this._stashUsed = 0;\n this._stashByteStart += consumed;\n }\n if (this._stashUsed + chunk.byteLength > this._bufferSize) {\n this._expandBuffer(this._stashUsed + chunk.byteLength);\n stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n }\n stashArray.set(new Uint8Array(chunk), this._stashUsed);\n this._stashUsed += chunk.byteLength;\n }\n else { // stash buffer empty, but chunkSize > stashSize (oh, holy shit)\n // dispatch chunk directly and stash remain data\n var consumed = this._dispatchChunks(chunk, byteStart);\n if (consumed < chunk.byteLength) {\n var remain = chunk.byteLength - consumed;\n if (remain > this._bufferSize) {\n this._expandBuffer(remain);\n stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n }\n stashArray.set(new Uint8Array(chunk, consumed), 0);\n this._stashUsed += remain;\n this._stashByteStart = byteStart + consumed;\n }\n }\n }\n }\n };\n IOController.prototype._flushStashBuffer = function (dropUnconsumed) {\n if (this._stashUsed > 0) {\n var buffer = this._stashBuffer.slice(0, this._stashUsed);\n var consumed = this._dispatchChunks(buffer, this._stashByteStart);\n var remain = buffer.byteLength - consumed;\n if (consumed < buffer.byteLength) {\n if (dropUnconsumed) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, remain + \" bytes unconsumed data remain when flush buffer, dropped\");\n }\n else {\n if (consumed > 0) {\n var stashArray = new Uint8Array(this._stashBuffer, 0, this._bufferSize);\n var remainArray = new Uint8Array(buffer, consumed);\n stashArray.set(remainArray, 0);\n this._stashUsed = remainArray.byteLength;\n this._stashByteStart += consumed;\n }\n return 0;\n }\n }\n this._stashUsed = 0;\n this._stashByteStart = 0;\n return remain;\n }\n return 0;\n };\n IOController.prototype._onLoaderComplete = function (from, to) {\n // Force-flush stash buffer, and drop unconsumed data\n this._flushStashBuffer(true);\n if (this._onComplete) {\n this._onComplete(this._extraData);\n }\n };\n IOController.prototype._onLoaderError = function (type, data) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.e(this.TAG, \"Loader error, code = \" + data.code + \", msg = \" + data.msg);\n this._flushStashBuffer(false);\n if (this._isEarlyEofReconnecting) {\n // Auto-reconnect for EarlyEof failed, throw UnrecoverableEarlyEof error to upper-layer\n this._isEarlyEofReconnecting = false;\n type = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.UNRECOVERABLE_EARLY_EOF;\n }\n switch (type) {\n case _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.EARLY_EOF: {\n if (!this._config.isLive) {\n // Do internal http reconnect if not live stream\n if (this._totalLength) {\n var nextFrom = this._currentRange.to + 1;\n if (nextFrom < this._totalLength) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Connection lost, trying reconnect...');\n this._isEarlyEofReconnecting = true;\n this._internalSeek(nextFrom, false);\n }\n return;\n }\n // else: We don't know totalLength, throw UnrecoverableEarlyEof\n }\n // live stream: throw UnrecoverableEarlyEof error to upper-layer\n type = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.UNRECOVERABLE_EARLY_EOF;\n break;\n }\n case _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.UNRECOVERABLE_EARLY_EOF:\n case _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.CONNECTING_TIMEOUT:\n case _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.HTTP_STATUS_CODE_INVALID:\n case _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.EXCEPTION:\n break;\n }\n if (this._onError) {\n this._onError(type, data);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_9__.RuntimeException('IOException: ' + data.msg);\n }\n };\n return IOController;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (IOController);\n\n\n/***/ }),\n\n/***/ \"./src/io/loader.js\":\n/*!**************************!*\\\n !*** ./src/io/loader.js ***!\n \\**************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"LoaderStatus\": function() { return /* binding */ LoaderStatus; },\n/* harmony export */ \"LoaderErrors\": function() { return /* binding */ LoaderErrors; },\n/* harmony export */ \"BaseLoader\": function() { return /* binding */ BaseLoader; }\n/* harmony export */ });\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar LoaderStatus = {\n kIdle: 0,\n kConnecting: 1,\n kBuffering: 2,\n kError: 3,\n kComplete: 4\n};\nvar LoaderErrors = {\n OK: 'OK',\n EXCEPTION: 'Exception',\n HTTP_STATUS_CODE_INVALID: 'HttpStatusCodeInvalid',\n CONNECTING_TIMEOUT: 'ConnectingTimeout',\n EARLY_EOF: 'EarlyEof',\n UNRECOVERABLE_EARLY_EOF: 'UnrecoverableEarlyEof'\n};\n/* Loader has callbacks which have following prototypes:\n * function onContentLengthKnown(contentLength: number): void\n * function onURLRedirect(url: string): void\n * function onDataArrival(chunk: ArrayBuffer, byteStart: number, receivedLength: number): void\n * function onError(errorType: number, errorInfo: {code: number, msg: string}): void\n * function onComplete(rangeFrom: number, rangeTo: number): void\n */\nvar BaseLoader = /** @class */ (function () {\n function BaseLoader(typeName) {\n this._type = typeName || 'undefined';\n this._status = LoaderStatus.kIdle;\n this._needStash = false;\n // callbacks\n this._onContentLengthKnown = null;\n this._onURLRedirect = null;\n this._onDataArrival = null;\n this._onError = null;\n this._onComplete = null;\n }\n BaseLoader.prototype.destroy = function () {\n this._status = LoaderStatus.kIdle;\n this._onContentLengthKnown = null;\n this._onURLRedirect = null;\n this._onDataArrival = null;\n this._onError = null;\n this._onComplete = null;\n };\n BaseLoader.prototype.isWorking = function () {\n return this._status === LoaderStatus.kConnecting || this._status === LoaderStatus.kBuffering;\n };\n Object.defineProperty(BaseLoader.prototype, \"type\", {\n get: function () {\n return this._type;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"status\", {\n get: function () {\n return this._status;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"needStashBuffer\", {\n get: function () {\n return this._needStash;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"onContentLengthKnown\", {\n get: function () {\n return this._onContentLengthKnown;\n },\n set: function (callback) {\n this._onContentLengthKnown = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"onURLRedirect\", {\n get: function () {\n return this._onURLRedirect;\n },\n set: function (callback) {\n this._onURLRedirect = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"onDataArrival\", {\n get: function () {\n return this._onDataArrival;\n },\n set: function (callback) {\n this._onDataArrival = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"onError\", {\n get: function () {\n return this._onError;\n },\n set: function (callback) {\n this._onError = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BaseLoader.prototype, \"onComplete\", {\n get: function () {\n return this._onComplete;\n },\n set: function (callback) {\n this._onComplete = callback;\n },\n enumerable: false,\n configurable: true\n });\n // pure virtual\n BaseLoader.prototype.open = function (dataSource, range) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__.NotImplementedException('Unimplemented abstract function!');\n };\n BaseLoader.prototype.abort = function () {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_0__.NotImplementedException('Unimplemented abstract function!');\n };\n return BaseLoader;\n}());\n\n\n\n/***/ }),\n\n/***/ \"./src/io/param-seek-handler.js\":\n/*!**************************************!*\\\n !*** ./src/io/param-seek-handler.js ***!\n \\**************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar ParamSeekHandler = /** @class */ (function () {\n function ParamSeekHandler(paramStart, paramEnd) {\n this._startName = paramStart;\n this._endName = paramEnd;\n }\n ParamSeekHandler.prototype.getConfig = function (baseUrl, range) {\n var url = baseUrl;\n if (range.from !== 0 || range.to !== -1) {\n var needAnd = true;\n if (url.indexOf('?') === -1) {\n url += '?';\n needAnd = false;\n }\n if (needAnd) {\n url += '&';\n }\n url += this._startName + \"=\" + range.from.toString();\n if (range.to !== -1) {\n url += \"&\" + this._endName + \"=\" + range.to.toString();\n }\n }\n return {\n url: url,\n headers: {}\n };\n };\n ParamSeekHandler.prototype.removeURLParameters = function (seekedURL) {\n var baseURL = seekedURL.split('?')[0];\n var params = undefined;\n var queryIndex = seekedURL.indexOf('?');\n if (queryIndex !== -1) {\n params = seekedURL.substring(queryIndex + 1);\n }\n var resultParams = '';\n if (params != undefined && params.length > 0) {\n var pairs = params.split('&');\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i].split('=');\n var requireAnd = (i > 0);\n if (pair[0] !== this._startName && pair[0] !== this._endName) {\n if (requireAnd) {\n resultParams += '&';\n }\n resultParams += pairs[i];\n }\n }\n }\n return (resultParams.length === 0) ? baseURL : baseURL + '?' + resultParams;\n };\n return ParamSeekHandler;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (ParamSeekHandler);\n\n\n/***/ }),\n\n/***/ \"./src/io/range-seek-handler.js\":\n/*!**************************************!*\\\n !*** ./src/io/range-seek-handler.js ***!\n \\**************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar RangeSeekHandler = /** @class */ (function () {\n function RangeSeekHandler(zeroStart) {\n this._zeroStart = zeroStart || false;\n }\n RangeSeekHandler.prototype.getConfig = function (url, range) {\n var headers = {};\n if (range.from !== 0 || range.to !== -1) {\n var param = void 0;\n if (range.to !== -1) {\n param = \"bytes=\" + range.from.toString() + \"-\" + range.to.toString();\n }\n else {\n param = \"bytes=\" + range.from.toString() + \"-\";\n }\n headers['Range'] = param;\n }\n else if (this._zeroStart) {\n headers['Range'] = 'bytes=0-';\n }\n return {\n url: url,\n headers: headers\n };\n };\n RangeSeekHandler.prototype.removeURLParameters = function (seekedURL) {\n return seekedURL;\n };\n return RangeSeekHandler;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (RangeSeekHandler);\n\n\n/***/ }),\n\n/***/ \"./src/io/speed-sampler.js\":\n/*!*********************************!*\\\n !*** ./src/io/speed-sampler.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// Utility class to calculate realtime network I/O speed\nvar SpeedSampler = /** @class */ (function () {\n function SpeedSampler() {\n // milliseconds\n this._firstCheckpoint = 0;\n this._lastCheckpoint = 0;\n this._intervalBytes = 0;\n this._totalBytes = 0;\n this._lastSecondBytes = 0;\n // compatibility detection\n if (self.performance && self.performance.now) {\n this._now = self.performance.now.bind(self.performance);\n }\n else {\n this._now = Date.now;\n }\n }\n SpeedSampler.prototype.reset = function () {\n this._firstCheckpoint = this._lastCheckpoint = 0;\n this._totalBytes = this._intervalBytes = 0;\n this._lastSecondBytes = 0;\n };\n SpeedSampler.prototype.addBytes = function (bytes) {\n if (this._firstCheckpoint === 0) {\n this._firstCheckpoint = this._now();\n this._lastCheckpoint = this._firstCheckpoint;\n this._intervalBytes += bytes;\n this._totalBytes += bytes;\n }\n else if (this._now() - this._lastCheckpoint < 1000) {\n this._intervalBytes += bytes;\n this._totalBytes += bytes;\n }\n else { // duration >= 1000\n this._lastSecondBytes = this._intervalBytes;\n this._intervalBytes = bytes;\n this._totalBytes += bytes;\n this._lastCheckpoint = this._now();\n }\n };\n Object.defineProperty(SpeedSampler.prototype, \"currentKBps\", {\n get: function () {\n this.addBytes(0);\n var durationSeconds = (this._now() - this._lastCheckpoint) / 1000;\n if (durationSeconds == 0)\n durationSeconds = 1;\n return (this._intervalBytes / durationSeconds) / 1024;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SpeedSampler.prototype, \"lastSecondKBps\", {\n get: function () {\n this.addBytes(0);\n if (this._lastSecondBytes !== 0) {\n return this._lastSecondBytes / 1024;\n }\n else { // lastSecondBytes === 0\n if (this._now() - this._lastCheckpoint >= 500) {\n // if time interval since last checkpoint has exceeded 500ms\n // the speed is nearly accurate\n return this.currentKBps;\n }\n else {\n // We don't know\n return 0;\n }\n }\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SpeedSampler.prototype, \"averageKBps\", {\n get: function () {\n var durationSeconds = (this._now() - this._firstCheckpoint) / 1000;\n return (this._totalBytes / durationSeconds) / 1024;\n },\n enumerable: false,\n configurable: true\n });\n return SpeedSampler;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (SpeedSampler);\n\n\n/***/ }),\n\n/***/ \"./src/io/websocket-loader.js\":\n/*!************************************!*\\\n !*** ./src/io/websocket-loader.js ***!\n \\************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _loader_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n// For FLV over WebSocket live stream\nvar WebSocketLoader = /** @class */ (function (_super) {\n __extends(WebSocketLoader, _super);\n function WebSocketLoader() {\n var _this = _super.call(this, 'websocket-loader') || this;\n _this.TAG = 'WebSocketLoader';\n _this._needStash = true;\n _this._ws = null;\n _this._requestAbort = false;\n _this._receivedLength = 0;\n return _this;\n }\n WebSocketLoader.isSupported = function () {\n try {\n return (typeof self.WebSocket !== 'undefined');\n }\n catch (e) {\n return false;\n }\n };\n WebSocketLoader.prototype.destroy = function () {\n if (this._ws) {\n this.abort();\n }\n _super.prototype.destroy.call(this);\n };\n WebSocketLoader.prototype.open = function (dataSource) {\n try {\n var ws = this._ws = new self.WebSocket(dataSource.url);\n ws.binaryType = 'arraybuffer';\n ws.onopen = this._onWebSocketOpen.bind(this);\n ws.onclose = this._onWebSocketClose.bind(this);\n ws.onmessage = this._onWebSocketMessage.bind(this);\n ws.onerror = this._onWebSocketError.bind(this);\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kConnecting;\n }\n catch (e) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kError;\n var info = { code: e.code, msg: e.message };\n if (this._onError) {\n this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.EXCEPTION, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_1__.RuntimeException(info.msg);\n }\n }\n };\n WebSocketLoader.prototype.abort = function () {\n var ws = this._ws;\n if (ws && (ws.readyState === 0 || ws.readyState === 1)) { // CONNECTING || OPEN\n this._requestAbort = true;\n ws.close();\n }\n this._ws = null;\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kComplete;\n };\n WebSocketLoader.prototype._onWebSocketOpen = function (e) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kBuffering;\n };\n WebSocketLoader.prototype._onWebSocketClose = function (e) {\n if (this._requestAbort === true) {\n this._requestAbort = false;\n return;\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kComplete;\n if (this._onComplete) {\n this._onComplete(0, this._receivedLength - 1);\n }\n };\n WebSocketLoader.prototype._onWebSocketMessage = function (e) {\n var _this = this;\n if (e.data instanceof ArrayBuffer) {\n this._dispatchArrayBuffer(e.data);\n }\n else if (e.data instanceof Blob) {\n var reader_1 = new FileReader();\n reader_1.onload = function () {\n _this._dispatchArrayBuffer(reader_1.result);\n };\n reader_1.readAsArrayBuffer(e.data);\n }\n else {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kError;\n var info = { code: -1, msg: 'Unsupported WebSocket message type: ' + e.data.constructor.name };\n if (this._onError) {\n this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.EXCEPTION, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_1__.RuntimeException(info.msg);\n }\n }\n };\n WebSocketLoader.prototype._dispatchArrayBuffer = function (arraybuffer) {\n var chunk = arraybuffer;\n var byteStart = this._receivedLength;\n this._receivedLength += chunk.byteLength;\n if (this._onDataArrival) {\n this._onDataArrival(chunk, byteStart, this._receivedLength);\n }\n };\n WebSocketLoader.prototype._onWebSocketError = function (e) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderStatus.kError;\n var info = {\n code: e.code,\n msg: e.message\n };\n if (this._onError) {\n this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.EXCEPTION, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_1__.RuntimeException(info.msg);\n }\n };\n return WebSocketLoader;\n}(_loader_js__WEBPACK_IMPORTED_MODULE_0__.BaseLoader));\n/* harmony default export */ __webpack_exports__[\"default\"] = (WebSocketLoader);\n\n\n/***/ }),\n\n/***/ \"./src/io/xhr-moz-chunked-loader.js\":\n/*!******************************************!*\\\n !*** ./src/io/xhr-moz-chunked-loader.js ***!\n \\******************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _loader_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n// For FireFox browser which supports `xhr.responseType = 'moz-chunked-arraybuffer'`\nvar MozChunkedLoader = /** @class */ (function (_super) {\n __extends(MozChunkedLoader, _super);\n function MozChunkedLoader(seekHandler, config) {\n var _this = _super.call(this, 'xhr-moz-chunked-loader') || this;\n _this.TAG = 'MozChunkedLoader';\n _this._seekHandler = seekHandler;\n _this._config = config;\n _this._needStash = true;\n _this._xhr = null;\n _this._requestAbort = false;\n _this._contentLength = null;\n _this._receivedLength = 0;\n return _this;\n }\n MozChunkedLoader.isSupported = function () {\n try {\n var xhr = new XMLHttpRequest();\n // Firefox 37- requires .open() to be called before setting responseType\n xhr.open('GET', 'https://example.com', true);\n xhr.responseType = 'moz-chunked-arraybuffer';\n return (xhr.responseType === 'moz-chunked-arraybuffer');\n }\n catch (e) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w('MozChunkedLoader', e.message);\n return false;\n }\n };\n MozChunkedLoader.prototype.destroy = function () {\n if (this.isWorking()) {\n this.abort();\n }\n if (this._xhr) {\n this._xhr.onreadystatechange = null;\n this._xhr.onprogress = null;\n this._xhr.onloadend = null;\n this._xhr.onerror = null;\n this._xhr = null;\n }\n _super.prototype.destroy.call(this);\n };\n MozChunkedLoader.prototype.open = function (dataSource, range) {\n this._dataSource = dataSource;\n this._range = range;\n var sourceURL = dataSource.url;\n if (this._config.reuseRedirectedURL && dataSource.redirectedURL != undefined) {\n sourceURL = dataSource.redirectedURL;\n }\n var seekConfig = this._seekHandler.getConfig(sourceURL, range);\n this._requestURL = seekConfig.url;\n var xhr = this._xhr = new XMLHttpRequest();\n xhr.open('GET', seekConfig.url, true);\n xhr.responseType = 'moz-chunked-arraybuffer';\n xhr.onreadystatechange = this._onReadyStateChange.bind(this);\n xhr.onprogress = this._onProgress.bind(this);\n xhr.onloadend = this._onLoadEnd.bind(this);\n xhr.onerror = this._onXhrError.bind(this);\n // cors is auto detected and enabled by xhr\n // withCredentials is disabled by default\n if (dataSource.withCredentials) {\n xhr.withCredentials = true;\n }\n if (typeof seekConfig.headers === 'object') {\n var headers = seekConfig.headers;\n for (var key in headers) {\n if (headers.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, headers[key]);\n }\n }\n }\n // add additional headers\n if (typeof this._config.headers === 'object') {\n var headers = this._config.headers;\n for (var key in headers) {\n if (headers.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, headers[key]);\n }\n }\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kConnecting;\n xhr.send();\n };\n MozChunkedLoader.prototype.abort = function () {\n this._requestAbort = true;\n if (this._xhr) {\n this._xhr.abort();\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n };\n MozChunkedLoader.prototype._onReadyStateChange = function (e) {\n var xhr = e.target;\n if (xhr.readyState === 2) { // HEADERS_RECEIVED\n if (xhr.responseURL != undefined && xhr.responseURL !== this._requestURL) {\n if (this._onURLRedirect) {\n var redirectedURL = this._seekHandler.removeURLParameters(xhr.responseURL);\n this._onURLRedirect(redirectedURL);\n }\n }\n if (xhr.status !== 0 && (xhr.status < 200 || xhr.status > 299)) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n if (this._onError) {\n this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.HTTP_STATUS_CODE_INVALID, { code: xhr.status, msg: xhr.statusText });\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.RuntimeException('MozChunkedLoader: Http code invalid, ' + xhr.status + ' ' + xhr.statusText);\n }\n }\n else {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kBuffering;\n }\n }\n };\n MozChunkedLoader.prototype._onProgress = function (e) {\n if (this._status === _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError) {\n // Ignore error response\n return;\n }\n if (this._contentLength === null) {\n if (e.total !== null && e.total !== 0) {\n this._contentLength = e.total;\n if (this._onContentLengthKnown) {\n this._onContentLengthKnown(this._contentLength);\n }\n }\n }\n var chunk = e.target.response;\n var byteStart = this._range.from + this._receivedLength;\n this._receivedLength += chunk.byteLength;\n if (this._onDataArrival) {\n this._onDataArrival(chunk, byteStart, this._receivedLength);\n }\n };\n MozChunkedLoader.prototype._onLoadEnd = function (e) {\n if (this._requestAbort === true) {\n this._requestAbort = false;\n return;\n }\n else if (this._status === _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError) {\n return;\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kComplete;\n if (this._onComplete) {\n this._onComplete(this._range.from, this._range.from + this._receivedLength - 1);\n }\n };\n MozChunkedLoader.prototype._onXhrError = function (e) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderStatus.kError;\n var type = 0;\n var info = null;\n if (this._contentLength && e.loaded < this._contentLength) {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EARLY_EOF;\n info = { code: -1, msg: 'Moz-Chunked stream meet Early-Eof' };\n }\n else {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_1__.LoaderErrors.EXCEPTION;\n info = { code: -1, msg: e.constructor.name + ' ' + e.type };\n }\n if (this._onError) {\n this._onError(type, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_2__.RuntimeException(info.msg);\n }\n };\n return MozChunkedLoader;\n}(_loader_js__WEBPACK_IMPORTED_MODULE_1__.BaseLoader));\n/* harmony default export */ __webpack_exports__[\"default\"] = (MozChunkedLoader);\n\n\n/***/ }),\n\n/***/ \"./src/io/xhr-range-loader.js\":\n/*!************************************!*\\\n !*** ./src/io/xhr-range-loader.js ***!\n \\************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _speed_sampler_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./speed-sampler.js */ \"./src/io/speed-sampler.js\");\n/* harmony import */ var _loader_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n\n\n\n\n// Universal IO Loader, implemented by adding Range header in xhr's request header\nvar RangeLoader = /** @class */ (function (_super) {\n __extends(RangeLoader, _super);\n function RangeLoader(seekHandler, config) {\n var _this = _super.call(this, 'xhr-range-loader') || this;\n _this.TAG = 'RangeLoader';\n _this._seekHandler = seekHandler;\n _this._config = config;\n _this._needStash = false;\n _this._chunkSizeKBList = [\n 128, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192\n ];\n _this._currentChunkSizeKB = 384;\n _this._currentSpeedNormalized = 0;\n _this._zeroSpeedChunkCount = 0;\n _this._xhr = null;\n _this._speedSampler = new _speed_sampler_js__WEBPACK_IMPORTED_MODULE_1__.default();\n _this._requestAbort = false;\n _this._waitForTotalLength = false;\n _this._totalLengthReceived = false;\n _this._currentRequestURL = null;\n _this._currentRedirectedURL = null;\n _this._currentRequestRange = null;\n _this._totalLength = null; // size of the entire file\n _this._contentLength = null; // Content-Length of entire request range\n _this._receivedLength = 0; // total received bytes\n _this._lastTimeLoaded = 0; // received bytes of current request sub-range\n return _this;\n }\n RangeLoader.isSupported = function () {\n try {\n var xhr = new XMLHttpRequest();\n xhr.open('GET', 'https://example.com', true);\n xhr.responseType = 'arraybuffer';\n return (xhr.responseType === 'arraybuffer');\n }\n catch (e) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w('RangeLoader', e.message);\n return false;\n }\n };\n RangeLoader.prototype.destroy = function () {\n if (this.isWorking()) {\n this.abort();\n }\n if (this._xhr) {\n this._xhr.onreadystatechange = null;\n this._xhr.onprogress = null;\n this._xhr.onload = null;\n this._xhr.onerror = null;\n this._xhr = null;\n }\n _super.prototype.destroy.call(this);\n };\n Object.defineProperty(RangeLoader.prototype, \"currentSpeed\", {\n get: function () {\n return this._speedSampler.lastSecondKBps;\n },\n enumerable: false,\n configurable: true\n });\n RangeLoader.prototype.open = function (dataSource, range) {\n this._dataSource = dataSource;\n this._range = range;\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kConnecting;\n var useRefTotalLength = false;\n if (this._dataSource.filesize != undefined && this._dataSource.filesize !== 0) {\n useRefTotalLength = true;\n this._totalLength = this._dataSource.filesize;\n }\n if (!this._totalLengthReceived && !useRefTotalLength) {\n // We need total filesize\n this._waitForTotalLength = true;\n this._internalOpen(this._dataSource, { from: 0, to: -1 });\n }\n else {\n // We have filesize, start loading\n this._openSubRange();\n }\n };\n RangeLoader.prototype._openSubRange = function () {\n var chunkSize = this._currentChunkSizeKB * 1024;\n var from = this._range.from + this._receivedLength;\n var to = from + chunkSize;\n if (this._contentLength != null) {\n if (to - this._range.from >= this._contentLength) {\n to = this._range.from + this._contentLength - 1;\n }\n }\n this._currentRequestRange = { from: from, to: to };\n this._internalOpen(this._dataSource, this._currentRequestRange);\n };\n RangeLoader.prototype._internalOpen = function (dataSource, range) {\n this._lastTimeLoaded = 0;\n var sourceURL = dataSource.url;\n if (this._config.reuseRedirectedURL) {\n if (this._currentRedirectedURL != undefined) {\n sourceURL = this._currentRedirectedURL;\n }\n else if (dataSource.redirectedURL != undefined) {\n sourceURL = dataSource.redirectedURL;\n }\n }\n var seekConfig = this._seekHandler.getConfig(sourceURL, range);\n this._currentRequestURL = seekConfig.url;\n var xhr = this._xhr = new XMLHttpRequest();\n xhr.open('GET', seekConfig.url, true);\n xhr.responseType = 'arraybuffer';\n xhr.onreadystatechange = this._onReadyStateChange.bind(this);\n xhr.onprogress = this._onProgress.bind(this);\n xhr.onload = this._onLoad.bind(this);\n xhr.onerror = this._onXhrError.bind(this);\n if (dataSource.withCredentials) {\n xhr.withCredentials = true;\n }\n if (typeof seekConfig.headers === 'object') {\n var headers = seekConfig.headers;\n for (var key in headers) {\n if (headers.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, headers[key]);\n }\n }\n }\n // add additional headers\n if (typeof this._config.headers === 'object') {\n var headers = this._config.headers;\n for (var key in headers) {\n if (headers.hasOwnProperty(key)) {\n xhr.setRequestHeader(key, headers[key]);\n }\n }\n }\n xhr.send();\n };\n RangeLoader.prototype.abort = function () {\n this._requestAbort = true;\n this._internalAbort();\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kComplete;\n };\n RangeLoader.prototype._internalAbort = function () {\n if (this._xhr) {\n this._xhr.onreadystatechange = null;\n this._xhr.onprogress = null;\n this._xhr.onload = null;\n this._xhr.onerror = null;\n this._xhr.abort();\n this._xhr = null;\n }\n };\n RangeLoader.prototype._onReadyStateChange = function (e) {\n var xhr = e.target;\n if (xhr.readyState === 2) { // HEADERS_RECEIVED\n if (xhr.responseURL != undefined) { // if the browser support this property\n var redirectedURL = this._seekHandler.removeURLParameters(xhr.responseURL);\n if (xhr.responseURL !== this._currentRequestURL && redirectedURL !== this._currentRedirectedURL) {\n this._currentRedirectedURL = redirectedURL;\n if (this._onURLRedirect) {\n this._onURLRedirect(redirectedURL);\n }\n }\n }\n if ((xhr.status >= 200 && xhr.status <= 299)) {\n if (this._waitForTotalLength) {\n return;\n }\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kBuffering;\n }\n else {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kError;\n if (this._onError) {\n this._onError(_loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.HTTP_STATUS_CODE_INVALID, { code: xhr.status, msg: xhr.statusText });\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__.RuntimeException('RangeLoader: Http code invalid, ' + xhr.status + ' ' + xhr.statusText);\n }\n }\n }\n };\n RangeLoader.prototype._onProgress = function (e) {\n if (this._status === _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kError) {\n // Ignore error response\n return;\n }\n if (this._contentLength === null) {\n var openNextRange = false;\n if (this._waitForTotalLength) {\n this._waitForTotalLength = false;\n this._totalLengthReceived = true;\n openNextRange = true;\n var total = e.total;\n this._internalAbort();\n if (total != null & total !== 0) {\n this._totalLength = total;\n }\n }\n // calculate currrent request range's contentLength\n if (this._range.to === -1) {\n this._contentLength = this._totalLength - this._range.from;\n }\n else { // to !== -1\n this._contentLength = this._range.to - this._range.from + 1;\n }\n if (openNextRange) {\n this._openSubRange();\n return;\n }\n if (this._onContentLengthKnown) {\n this._onContentLengthKnown(this._contentLength);\n }\n }\n var delta = e.loaded - this._lastTimeLoaded;\n this._lastTimeLoaded = e.loaded;\n this._speedSampler.addBytes(delta);\n };\n RangeLoader.prototype._normalizeSpeed = function (input) {\n var list = this._chunkSizeKBList;\n var last = list.length - 1;\n var mid = 0;\n var lbound = 0;\n var ubound = last;\n if (input < list[0]) {\n return list[0];\n }\n while (lbound <= ubound) {\n mid = lbound + Math.floor((ubound - lbound) / 2);\n if (mid === last || (input >= list[mid] && input < list[mid + 1])) {\n return list[mid];\n }\n else if (list[mid] < input) {\n lbound = mid + 1;\n }\n else {\n ubound = mid - 1;\n }\n }\n };\n RangeLoader.prototype._onLoad = function (e) {\n if (this._status === _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kError) {\n // Ignore error response\n return;\n }\n if (this._waitForTotalLength) {\n this._waitForTotalLength = false;\n return;\n }\n this._lastTimeLoaded = 0;\n var KBps = this._speedSampler.lastSecondKBps;\n if (KBps === 0) {\n this._zeroSpeedChunkCount++;\n if (this._zeroSpeedChunkCount >= 3) {\n // Try get currentKBps after 3 chunks\n KBps = this._speedSampler.currentKBps;\n }\n }\n if (KBps !== 0) {\n var normalized = this._normalizeSpeed(KBps);\n if (this._currentSpeedNormalized !== normalized) {\n this._currentSpeedNormalized = normalized;\n this._currentChunkSizeKB = normalized;\n }\n }\n var chunk = e.target.response;\n var byteStart = this._range.from + this._receivedLength;\n this._receivedLength += chunk.byteLength;\n var reportComplete = false;\n if (this._contentLength != null && this._receivedLength < this._contentLength) {\n // continue load next chunk\n this._openSubRange();\n }\n else {\n reportComplete = true;\n }\n // dispatch received chunk\n if (this._onDataArrival) {\n this._onDataArrival(chunk, byteStart, this._receivedLength);\n }\n if (reportComplete) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kComplete;\n if (this._onComplete) {\n this._onComplete(this._range.from, this._range.from + this._receivedLength - 1);\n }\n }\n };\n RangeLoader.prototype._onXhrError = function (e) {\n this._status = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderStatus.kError;\n var type = 0;\n var info = null;\n if (this._contentLength && this._receivedLength > 0\n && this._receivedLength < this._contentLength) {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.EARLY_EOF;\n info = { code: -1, msg: 'RangeLoader meet Early-Eof' };\n }\n else {\n type = _loader_js__WEBPACK_IMPORTED_MODULE_2__.LoaderErrors.EXCEPTION;\n info = { code: -1, msg: e.constructor.name + ' ' + e.type };\n }\n if (this._onError) {\n this._onError(type, info);\n }\n else {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__.RuntimeException(info.msg);\n }\n };\n return RangeLoader;\n}(_loader_js__WEBPACK_IMPORTED_MODULE_2__.BaseLoader));\n/* harmony default export */ __webpack_exports__[\"default\"] = (RangeLoader);\n\n\n/***/ }),\n\n/***/ \"./src/player/flv-player.js\":\n/*!**********************************!*\\\n !*** ./src/player/flv-player.js ***!\n \\**********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/browser.js */ \"./src/utils/browser.js\");\n/* harmony import */ var _player_events_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./player-events.js */ \"./src/player/player-events.js\");\n/* harmony import */ var _core_transmuxer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/transmuxer.js */ \"./src/core/transmuxer.js\");\n/* harmony import */ var _core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/transmuxing-events.js */ \"./src/core/transmuxing-events.js\");\n/* harmony import */ var _core_mse_controller_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/mse-controller.js */ \"./src/core/mse-controller.js\");\n/* harmony import */ var _core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/mse-events.js */ \"./src/core/mse-events.js\");\n/* harmony import */ var _player_errors_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./player-errors.js */ \"./src/player/player-errors.js\");\n/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config.js */ \"./src/config.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n\n\nvar FlvPlayer = /** @class */ (function () {\n function FlvPlayer(mediaDataSource, config) {\n this.TAG = 'FlvPlayer';\n this._type = 'FlvPlayer';\n this._emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n this._config = (0,_config_js__WEBPACK_IMPORTED_MODULE_9__.createDefaultConfig)();\n if (typeof config === 'object') {\n Object.assign(this._config, config);\n }\n if (mediaDataSource.type.toLowerCase() !== 'flv') {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_10__.InvalidArgumentException('FlvPlayer requires an flv MediaDataSource input!');\n }\n if (mediaDataSource.isLive === true) {\n this._config.isLive = true;\n }\n this.e = {\n onvLoadedMetadata: this._onvLoadedMetadata.bind(this),\n onvSeeking: this._onvSeeking.bind(this),\n onvCanPlay: this._onvCanPlay.bind(this),\n onvStalled: this._onvStalled.bind(this),\n onvProgress: this._onvProgress.bind(this)\n };\n if (self.performance && self.performance.now) {\n this._now = self.performance.now.bind(self.performance);\n }\n else {\n this._now = Date.now;\n }\n this._pendingSeekTime = null; // in seconds\n this._requestSetTime = false;\n this._seekpointRecord = null;\n this._progressChecker = null;\n this._mediaDataSource = mediaDataSource;\n this._mediaElement = null;\n this._msectl = null;\n this._transmuxer = null;\n this._mseSourceOpened = false;\n this._hasPendingLoad = false;\n this._receivedCanPlay = false;\n this._mediaInfo = null;\n this._statisticsInfo = null;\n var chromeNeedIDRFix = (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.chrome &&\n (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.version.major < 50 ||\n (_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.version.major === 50 && _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.version.build < 2661)));\n this._alwaysSeekKeyframe = (chromeNeedIDRFix || _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.msedge || _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.msie) ? true : false;\n if (this._alwaysSeekKeyframe) {\n this._config.accurateSeek = false;\n }\n }\n FlvPlayer.prototype.destroy = function () {\n if (this._progressChecker != null) {\n window.clearInterval(this._progressChecker);\n this._progressChecker = null;\n }\n if (this._transmuxer) {\n this.unload();\n }\n if (this._mediaElement) {\n this.detachMediaElement();\n }\n this.e = null;\n this._mediaDataSource = null;\n this._emitter.removeAllListeners();\n this._emitter = null;\n };\n FlvPlayer.prototype.on = function (event, listener) {\n var _this = this;\n if (event === _player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_INFO) {\n if (this._mediaInfo != null) {\n Promise.resolve().then(function () {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_INFO, _this.mediaInfo);\n });\n }\n }\n else if (event === _player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.STATISTICS_INFO) {\n if (this._statisticsInfo != null) {\n Promise.resolve().then(function () {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.STATISTICS_INFO, _this.statisticsInfo);\n });\n }\n }\n this._emitter.addListener(event, listener);\n };\n FlvPlayer.prototype.off = function (event, listener) {\n this._emitter.removeListener(event, listener);\n };\n FlvPlayer.prototype.attachMediaElement = function (mediaElement) {\n var _this = this;\n this._mediaElement = mediaElement;\n mediaElement.addEventListener('loadedmetadata', this.e.onvLoadedMetadata);\n mediaElement.addEventListener('seeking', this.e.onvSeeking);\n mediaElement.addEventListener('canplay', this.e.onvCanPlay);\n mediaElement.addEventListener('stalled', this.e.onvStalled);\n mediaElement.addEventListener('progress', this.e.onvProgress);\n this._msectl = new _core_mse_controller_js__WEBPACK_IMPORTED_MODULE_6__.default(this._config);\n this._msectl.on(_core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__.default.UPDATE_END, this._onmseUpdateEnd.bind(this));\n this._msectl.on(_core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__.default.BUFFER_FULL, this._onmseBufferFull.bind(this));\n this._msectl.on(_core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__.default.SOURCE_OPEN, function () {\n _this._mseSourceOpened = true;\n if (_this._hasPendingLoad) {\n _this._hasPendingLoad = false;\n _this.load();\n }\n });\n this._msectl.on(_core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__.default.ERROR, function (info) {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.ERROR, _player_errors_js__WEBPACK_IMPORTED_MODULE_8__.ErrorTypes.MEDIA_ERROR, _player_errors_js__WEBPACK_IMPORTED_MODULE_8__.ErrorDetails.MEDIA_MSE_ERROR, info);\n });\n this._msectl.attachMediaElement(mediaElement);\n if (this._pendingSeekTime != null) {\n try {\n mediaElement.currentTime = this._pendingSeekTime;\n this._pendingSeekTime = null;\n }\n catch (e) {\n // IE11 may throw InvalidStateError if readyState === 0\n // We can defer set currentTime operation after loadedmetadata\n }\n }\n };\n FlvPlayer.prototype.detachMediaElement = function () {\n if (this._mediaElement) {\n this._msectl.detachMediaElement();\n this._mediaElement.removeEventListener('loadedmetadata', this.e.onvLoadedMetadata);\n this._mediaElement.removeEventListener('seeking', this.e.onvSeeking);\n this._mediaElement.removeEventListener('canplay', this.e.onvCanPlay);\n this._mediaElement.removeEventListener('stalled', this.e.onvStalled);\n this._mediaElement.removeEventListener('progress', this.e.onvProgress);\n this._mediaElement = null;\n }\n if (this._msectl) {\n this._msectl.destroy();\n this._msectl = null;\n }\n };\n FlvPlayer.prototype.load = function () {\n var _this = this;\n if (!this._mediaElement) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_10__.IllegalStateException('HTMLMediaElement must be attached before load()!');\n }\n if (this._transmuxer) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_10__.IllegalStateException('FlvPlayer.load() has been called, please call unload() first!');\n }\n if (this._hasPendingLoad) {\n return;\n }\n if (this._config.deferLoadAfterSourceOpen && this._mseSourceOpened === false) {\n this._hasPendingLoad = true;\n return;\n }\n if (this._mediaElement.readyState > 0) {\n this._requestSetTime = true;\n // IE11 may throw InvalidStateError if readyState === 0\n this._mediaElement.currentTime = 0;\n }\n this._transmuxer = new _core_transmuxer_js__WEBPACK_IMPORTED_MODULE_4__.default(this._mediaDataSource, this._config);\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.INIT_SEGMENT, function (type, is) {\n _this._msectl.appendInitSegment(is);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_SEGMENT, function (type, ms) {\n _this._msectl.appendMediaSegment(ms);\n // lazyLoad check\n if (_this._config.lazyLoad && !_this._config.isLive) {\n var currentTime = _this._mediaElement.currentTime;\n if (ms.info.endDts >= (currentTime + _this._config.lazyLoadMaxDuration) * 1000) {\n if (_this._progressChecker == null) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(_this.TAG, 'Maximum buffering duration exceeded, suspend transmuxing task');\n _this._suspendTransmuxer();\n }\n }\n }\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.LOADING_COMPLETE, function () {\n _this._msectl.endOfStream();\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.LOADING_COMPLETE);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOVERED_EARLY_EOF, function () {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.RECOVERED_EARLY_EOF);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.IO_ERROR, function (detail, info) {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.ERROR, _player_errors_js__WEBPACK_IMPORTED_MODULE_8__.ErrorTypes.NETWORK_ERROR, detail, info);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.DEMUX_ERROR, function (detail, info) {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.ERROR, _player_errors_js__WEBPACK_IMPORTED_MODULE_8__.ErrorTypes.MEDIA_ERROR, detail, { code: -1, msg: info });\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.MEDIA_INFO, function (mediaInfo) {\n _this._mediaInfo = mediaInfo;\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.MEDIA_INFO, Object.assign({}, mediaInfo));\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.METADATA_ARRIVED, function (metadata) {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.METADATA_ARRIVED, metadata);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.SCRIPTDATA_ARRIVED, function (data) {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.SCRIPTDATA_ARRIVED, data);\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.STATISTICS_INFO, function (statInfo) {\n _this._statisticsInfo = _this._fillStatisticsInfo(statInfo);\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_3__.default.STATISTICS_INFO, Object.assign({}, _this._statisticsInfo));\n });\n this._transmuxer.on(_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__.default.RECOMMEND_SEEKPOINT, function (milliseconds) {\n if (_this._mediaElement && !_this._config.accurateSeek) {\n _this._requestSetTime = true;\n _this._mediaElement.currentTime = milliseconds / 1000;\n }\n });\n this._transmuxer.open();\n };\n FlvPlayer.prototype.unload = function () {\n if (this._mediaElement) {\n this._mediaElement.pause();\n }\n if (this._msectl) {\n this._msectl.seek(0);\n }\n if (this._transmuxer) {\n this._transmuxer.close();\n this._transmuxer.destroy();\n this._transmuxer = null;\n }\n };\n FlvPlayer.prototype.play = function () {\n return this._mediaElement.play();\n };\n FlvPlayer.prototype.pause = function () {\n this._mediaElement.pause();\n };\n Object.defineProperty(FlvPlayer.prototype, \"type\", {\n get: function () {\n return this._type;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"buffered\", {\n get: function () {\n return this._mediaElement.buffered;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"duration\", {\n get: function () {\n return this._mediaElement.duration;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"volume\", {\n get: function () {\n return this._mediaElement.volume;\n },\n set: function (value) {\n this._mediaElement.volume = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"muted\", {\n get: function () {\n return this._mediaElement.muted;\n },\n set: function (muted) {\n this._mediaElement.muted = muted;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"currentTime\", {\n get: function () {\n if (this._mediaElement) {\n return this._mediaElement.currentTime;\n }\n return 0;\n },\n set: function (seconds) {\n if (this._mediaElement) {\n this._internalSeek(seconds);\n }\n else {\n this._pendingSeekTime = seconds;\n }\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"mediaInfo\", {\n get: function () {\n return Object.assign({}, this._mediaInfo);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FlvPlayer.prototype, \"statisticsInfo\", {\n get: function () {\n if (this._statisticsInfo == null) {\n this._statisticsInfo = {};\n }\n this._statisticsInfo = this._fillStatisticsInfo(this._statisticsInfo);\n return Object.assign({}, this._statisticsInfo);\n },\n enumerable: false,\n configurable: true\n });\n FlvPlayer.prototype._fillStatisticsInfo = function (statInfo) {\n statInfo.playerType = this._type;\n if (!(this._mediaElement instanceof HTMLVideoElement)) {\n return statInfo;\n }\n var hasQualityInfo = true;\n var decoded = 0;\n var dropped = 0;\n if (this._mediaElement.getVideoPlaybackQuality) {\n var quality = this._mediaElement.getVideoPlaybackQuality();\n decoded = quality.totalVideoFrames;\n dropped = quality.droppedVideoFrames;\n }\n else if (this._mediaElement.webkitDecodedFrameCount != undefined) {\n decoded = this._mediaElement.webkitDecodedFrameCount;\n dropped = this._mediaElement.webkitDroppedFrameCount;\n }\n else {\n hasQualityInfo = false;\n }\n if (hasQualityInfo) {\n statInfo.decodedFrames = decoded;\n statInfo.droppedFrames = dropped;\n }\n return statInfo;\n };\n FlvPlayer.prototype._onmseUpdateEnd = function () {\n if (!this._config.lazyLoad || this._config.isLive) {\n return;\n }\n var buffered = this._mediaElement.buffered;\n var currentTime = this._mediaElement.currentTime;\n var currentRangeStart = 0;\n var currentRangeEnd = 0;\n for (var i = 0; i < buffered.length; i++) {\n var start = buffered.start(i);\n var end = buffered.end(i);\n if (start <= currentTime && currentTime < end) {\n currentRangeStart = start;\n currentRangeEnd = end;\n break;\n }\n }\n if (currentRangeEnd >= currentTime + this._config.lazyLoadMaxDuration && this._progressChecker == null) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'Maximum buffering duration exceeded, suspend transmuxing task');\n this._suspendTransmuxer();\n }\n };\n FlvPlayer.prototype._onmseBufferFull = function () {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'MSE SourceBuffer is full, suspend transmuxing task');\n if (this._progressChecker == null) {\n this._suspendTransmuxer();\n }\n };\n FlvPlayer.prototype._suspendTransmuxer = function () {\n if (this._transmuxer) {\n this._transmuxer.pause();\n if (this._progressChecker == null) {\n this._progressChecker = window.setInterval(this._checkProgressAndResume.bind(this), 1000);\n }\n }\n };\n FlvPlayer.prototype._checkProgressAndResume = function () {\n var currentTime = this._mediaElement.currentTime;\n var buffered = this._mediaElement.buffered;\n var needResume = false;\n for (var i = 0; i < buffered.length; i++) {\n var from = buffered.start(i);\n var to = buffered.end(i);\n if (currentTime >= from && currentTime < to) {\n if (currentTime >= to - this._config.lazyLoadRecoverDuration) {\n needResume = true;\n }\n break;\n }\n }\n if (needResume) {\n window.clearInterval(this._progressChecker);\n this._progressChecker = null;\n if (needResume) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.v(this.TAG, 'Continue loading from paused position');\n this._transmuxer.resume();\n }\n }\n };\n FlvPlayer.prototype._isTimepointBuffered = function (seconds) {\n var buffered = this._mediaElement.buffered;\n for (var i = 0; i < buffered.length; i++) {\n var from = buffered.start(i);\n var to = buffered.end(i);\n if (seconds >= from && seconds < to) {\n return true;\n }\n }\n return false;\n };\n FlvPlayer.prototype._internalSeek = function (seconds) {\n var directSeek = this._isTimepointBuffered(seconds);\n var directSeekBegin = false;\n var directSeekBeginTime = 0;\n if (seconds < 1.0 && this._mediaElement.buffered.length > 0) {\n var videoBeginTime = this._mediaElement.buffered.start(0);\n if ((videoBeginTime < 1.0 && seconds < videoBeginTime) || _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari) {\n directSeekBegin = true;\n // also workaround for Safari: Seek to 0 may cause video stuck, use 0.1 to avoid\n directSeekBeginTime = _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari ? 0.1 : videoBeginTime;\n }\n }\n if (directSeekBegin) { // seek to video begin, set currentTime directly if beginPTS buffered\n this._requestSetTime = true;\n this._mediaElement.currentTime = directSeekBeginTime;\n }\n else if (directSeek) { // buffered position\n if (!this._alwaysSeekKeyframe) {\n this._requestSetTime = true;\n this._mediaElement.currentTime = seconds;\n }\n else {\n var idr = this._msectl.getNearestKeyframe(Math.floor(seconds * 1000));\n this._requestSetTime = true;\n if (idr != null) {\n this._mediaElement.currentTime = idr.dts / 1000;\n }\n else {\n this._mediaElement.currentTime = seconds;\n }\n }\n if (this._progressChecker != null) {\n this._checkProgressAndResume();\n }\n }\n else {\n if (this._progressChecker != null) {\n window.clearInterval(this._progressChecker);\n this._progressChecker = null;\n }\n this._msectl.seek(seconds);\n this._transmuxer.seek(Math.floor(seconds * 1000)); // in milliseconds\n // no need to set mediaElement.currentTime if non-accurateSeek,\n // just wait for the recommend_seekpoint callback\n if (this._config.accurateSeek) {\n this._requestSetTime = true;\n this._mediaElement.currentTime = seconds;\n }\n }\n };\n FlvPlayer.prototype._checkAndApplyUnbufferedSeekpoint = function () {\n if (this._seekpointRecord) {\n if (this._seekpointRecord.recordTime <= this._now() - 100) {\n var target = this._mediaElement.currentTime;\n this._seekpointRecord = null;\n if (!this._isTimepointBuffered(target)) {\n if (this._progressChecker != null) {\n window.clearTimeout(this._progressChecker);\n this._progressChecker = null;\n }\n // .currentTime is consists with .buffered timestamp\n // Chrome/Edge use DTS, while FireFox/Safari use PTS\n this._msectl.seek(target);\n this._transmuxer.seek(Math.floor(target * 1000));\n // set currentTime if accurateSeek, or wait for recommend_seekpoint callback\n if (this._config.accurateSeek) {\n this._requestSetTime = true;\n this._mediaElement.currentTime = target;\n }\n }\n }\n else {\n window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this), 50);\n }\n }\n };\n FlvPlayer.prototype._checkAndResumeStuckPlayback = function (stalled) {\n var media = this._mediaElement;\n if (stalled || !this._receivedCanPlay || media.readyState < 2) { // HAVE_CURRENT_DATA\n var buffered = media.buffered;\n if (buffered.length > 0 && media.currentTime < buffered.start(0)) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.w(this.TAG, \"Playback seems stuck at \" + media.currentTime + \", seek to \" + buffered.start(0));\n this._requestSetTime = true;\n this._mediaElement.currentTime = buffered.start(0);\n this._mediaElement.removeEventListener('progress', this.e.onvProgress);\n }\n }\n else {\n // Playback didn't stuck, remove progress event listener\n this._mediaElement.removeEventListener('progress', this.e.onvProgress);\n }\n };\n FlvPlayer.prototype._onvLoadedMetadata = function (e) {\n if (this._pendingSeekTime != null) {\n this._mediaElement.currentTime = this._pendingSeekTime;\n this._pendingSeekTime = null;\n }\n };\n FlvPlayer.prototype._onvSeeking = function (e) {\n var target = this._mediaElement.currentTime;\n var buffered = this._mediaElement.buffered;\n if (this._requestSetTime) {\n this._requestSetTime = false;\n return;\n }\n if (target < 1.0 && buffered.length > 0) {\n // seek to video begin, set currentTime directly if beginPTS buffered\n var videoBeginTime = buffered.start(0);\n if ((videoBeginTime < 1.0 && target < videoBeginTime) || _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari) {\n this._requestSetTime = true;\n // also workaround for Safari: Seek to 0 may cause video stuck, use 0.1 to avoid\n this._mediaElement.currentTime = _utils_browser_js__WEBPACK_IMPORTED_MODULE_2__.default.safari ? 0.1 : videoBeginTime;\n return;\n }\n }\n if (this._isTimepointBuffered(target)) {\n if (this._alwaysSeekKeyframe) {\n var idr = this._msectl.getNearestKeyframe(Math.floor(target * 1000));\n if (idr != null) {\n this._requestSetTime = true;\n this._mediaElement.currentTime = idr.dts / 1000;\n }\n }\n if (this._progressChecker != null) {\n this._checkProgressAndResume();\n }\n return;\n }\n this._seekpointRecord = {\n seekPoint: target,\n recordTime: this._now()\n };\n window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this), 50);\n };\n FlvPlayer.prototype._onvCanPlay = function (e) {\n this._receivedCanPlay = true;\n this._mediaElement.removeEventListener('canplay', this.e.onvCanPlay);\n };\n FlvPlayer.prototype._onvStalled = function (e) {\n this._checkAndResumeStuckPlayback(true);\n };\n FlvPlayer.prototype._onvProgress = function (e) {\n this._checkAndResumeStuckPlayback();\n };\n return FlvPlayer;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (FlvPlayer);\n\n\n/***/ }),\n\n/***/ \"./src/player/native-player.js\":\n/*!*************************************!*\\\n !*** ./src/player/native-player.js ***!\n \\*************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _player_events_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./player-events.js */ \"./src/player/player-events.js\");\n/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config.js */ \"./src/config.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n// Player wrapper for browser's native player (HTMLVideoElement) without MediaSource src. \nvar NativePlayer = /** @class */ (function () {\n function NativePlayer(mediaDataSource, config) {\n this.TAG = 'NativePlayer';\n this._type = 'NativePlayer';\n this._emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n this._config = (0,_config_js__WEBPACK_IMPORTED_MODULE_2__.createDefaultConfig)();\n if (typeof config === 'object') {\n Object.assign(this._config, config);\n }\n if (mediaDataSource.type.toLowerCase() === 'flv') {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__.InvalidArgumentException('NativePlayer does\\'t support flv MediaDataSource input!');\n }\n if (mediaDataSource.hasOwnProperty('segments')) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__.InvalidArgumentException(\"NativePlayer(\" + mediaDataSource.type + \") doesn't support multipart playback!\");\n }\n this.e = {\n onvLoadedMetadata: this._onvLoadedMetadata.bind(this)\n };\n this._pendingSeekTime = null;\n this._statisticsReporter = null;\n this._mediaDataSource = mediaDataSource;\n this._mediaElement = null;\n }\n NativePlayer.prototype.destroy = function () {\n if (this._mediaElement) {\n this.unload();\n this.detachMediaElement();\n }\n this.e = null;\n this._mediaDataSource = null;\n this._emitter.removeAllListeners();\n this._emitter = null;\n };\n NativePlayer.prototype.on = function (event, listener) {\n var _this = this;\n if (event === _player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.MEDIA_INFO) {\n if (this._mediaElement != null && this._mediaElement.readyState !== 0) { // HAVE_NOTHING\n Promise.resolve().then(function () {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.MEDIA_INFO, _this.mediaInfo);\n });\n }\n }\n else if (event === _player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.STATISTICS_INFO) {\n if (this._mediaElement != null && this._mediaElement.readyState !== 0) {\n Promise.resolve().then(function () {\n _this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.STATISTICS_INFO, _this.statisticsInfo);\n });\n }\n }\n this._emitter.addListener(event, listener);\n };\n NativePlayer.prototype.off = function (event, listener) {\n this._emitter.removeListener(event, listener);\n };\n NativePlayer.prototype.attachMediaElement = function (mediaElement) {\n this._mediaElement = mediaElement;\n mediaElement.addEventListener('loadedmetadata', this.e.onvLoadedMetadata);\n if (this._pendingSeekTime != null) {\n try {\n mediaElement.currentTime = this._pendingSeekTime;\n this._pendingSeekTime = null;\n }\n catch (e) {\n // IE11 may throw InvalidStateError if readyState === 0\n // Defer set currentTime operation after loadedmetadata\n }\n }\n };\n NativePlayer.prototype.detachMediaElement = function () {\n if (this._mediaElement) {\n this._mediaElement.src = '';\n this._mediaElement.removeAttribute('src');\n this._mediaElement.removeEventListener('loadedmetadata', this.e.onvLoadedMetadata);\n this._mediaElement = null;\n }\n if (this._statisticsReporter != null) {\n window.clearInterval(this._statisticsReporter);\n this._statisticsReporter = null;\n }\n };\n NativePlayer.prototype.load = function () {\n if (!this._mediaElement) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_3__.IllegalStateException('HTMLMediaElement must be attached before load()!');\n }\n this._mediaElement.src = this._mediaDataSource.url;\n if (this._mediaElement.readyState > 0) {\n this._mediaElement.currentTime = 0;\n }\n this._mediaElement.preload = 'auto';\n this._mediaElement.load();\n this._statisticsReporter = window.setInterval(this._reportStatisticsInfo.bind(this), this._config.statisticsInfoReportInterval);\n };\n NativePlayer.prototype.unload = function () {\n if (this._mediaElement) {\n this._mediaElement.src = '';\n this._mediaElement.removeAttribute('src');\n }\n if (this._statisticsReporter != null) {\n window.clearInterval(this._statisticsReporter);\n this._statisticsReporter = null;\n }\n };\n NativePlayer.prototype.play = function () {\n return this._mediaElement.play();\n };\n NativePlayer.prototype.pause = function () {\n this._mediaElement.pause();\n };\n Object.defineProperty(NativePlayer.prototype, \"type\", {\n get: function () {\n return this._type;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"buffered\", {\n get: function () {\n return this._mediaElement.buffered;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"duration\", {\n get: function () {\n return this._mediaElement.duration;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"volume\", {\n get: function () {\n return this._mediaElement.volume;\n },\n set: function (value) {\n this._mediaElement.volume = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"muted\", {\n get: function () {\n return this._mediaElement.muted;\n },\n set: function (muted) {\n this._mediaElement.muted = muted;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"currentTime\", {\n get: function () {\n if (this._mediaElement) {\n return this._mediaElement.currentTime;\n }\n return 0;\n },\n set: function (seconds) {\n if (this._mediaElement) {\n this._mediaElement.currentTime = seconds;\n }\n else {\n this._pendingSeekTime = seconds;\n }\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"mediaInfo\", {\n get: function () {\n var mediaPrefix = (this._mediaElement instanceof HTMLAudioElement) ? 'audio/' : 'video/';\n var info = {\n mimeType: mediaPrefix + this._mediaDataSource.type\n };\n if (this._mediaElement) {\n info.duration = Math.floor(this._mediaElement.duration * 1000);\n if (this._mediaElement instanceof HTMLVideoElement) {\n info.width = this._mediaElement.videoWidth;\n info.height = this._mediaElement.videoHeight;\n }\n }\n return info;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NativePlayer.prototype, \"statisticsInfo\", {\n get: function () {\n var info = {\n playerType: this._type,\n url: this._mediaDataSource.url\n };\n if (!(this._mediaElement instanceof HTMLVideoElement)) {\n return info;\n }\n var hasQualityInfo = true;\n var decoded = 0;\n var dropped = 0;\n if (this._mediaElement.getVideoPlaybackQuality) {\n var quality = this._mediaElement.getVideoPlaybackQuality();\n decoded = quality.totalVideoFrames;\n dropped = quality.droppedVideoFrames;\n }\n else if (this._mediaElement.webkitDecodedFrameCount != undefined) {\n decoded = this._mediaElement.webkitDecodedFrameCount;\n dropped = this._mediaElement.webkitDroppedFrameCount;\n }\n else {\n hasQualityInfo = false;\n }\n if (hasQualityInfo) {\n info.decodedFrames = decoded;\n info.droppedFrames = dropped;\n }\n return info;\n },\n enumerable: false,\n configurable: true\n });\n NativePlayer.prototype._onvLoadedMetadata = function (e) {\n if (this._pendingSeekTime != null) {\n this._mediaElement.currentTime = this._pendingSeekTime;\n this._pendingSeekTime = null;\n }\n this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.MEDIA_INFO, this.mediaInfo);\n };\n NativePlayer.prototype._reportStatisticsInfo = function () {\n this._emitter.emit(_player_events_js__WEBPACK_IMPORTED_MODULE_1__.default.STATISTICS_INFO, this.statisticsInfo);\n };\n return NativePlayer;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (NativePlayer);\n\n\n/***/ }),\n\n/***/ \"./src/player/player-errors.js\":\n/*!*************************************!*\\\n !*** ./src/player/player-errors.js ***!\n \\*************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ErrorTypes\": function() { return /* binding */ ErrorTypes; },\n/* harmony export */ \"ErrorDetails\": function() { return /* binding */ ErrorDetails; }\n/* harmony export */ });\n/* harmony import */ var _io_loader_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../io/loader.js */ \"./src/io/loader.js\");\n/* harmony import */ var _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../demux/demux-errors.js */ \"./src/demux/demux-errors.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nvar ErrorTypes = {\n NETWORK_ERROR: 'NetworkError',\n MEDIA_ERROR: 'MediaError',\n OTHER_ERROR: 'OtherError'\n};\nvar ErrorDetails = {\n NETWORK_EXCEPTION: _io_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.EXCEPTION,\n NETWORK_STATUS_CODE_INVALID: _io_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.HTTP_STATUS_CODE_INVALID,\n NETWORK_TIMEOUT: _io_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.CONNECTING_TIMEOUT,\n NETWORK_UNRECOVERABLE_EARLY_EOF: _io_loader_js__WEBPACK_IMPORTED_MODULE_0__.LoaderErrors.UNRECOVERABLE_EARLY_EOF,\n MEDIA_MSE_ERROR: 'MediaMSEError',\n MEDIA_FORMAT_ERROR: _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_1__.default.FORMAT_ERROR,\n MEDIA_FORMAT_UNSUPPORTED: _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_1__.default.FORMAT_UNSUPPORTED,\n MEDIA_CODEC_UNSUPPORTED: _demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_1__.default.CODEC_UNSUPPORTED\n};\n\n\n/***/ }),\n\n/***/ \"./src/player/player-events.js\":\n/*!*************************************!*\\\n !*** ./src/player/player-events.js ***!\n \\*************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar PlayerEvents = {\n ERROR: 'error',\n LOADING_COMPLETE: 'loading_complete',\n RECOVERED_EARLY_EOF: 'recovered_early_eof',\n MEDIA_INFO: 'media_info',\n METADATA_ARRIVED: 'metadata_arrived',\n SCRIPTDATA_ARRIVED: 'scriptdata_arrived',\n STATISTICS_INFO: 'statistics_info'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (PlayerEvents);\n\n\n/***/ }),\n\n/***/ \"./src/remux/aac-silent.js\":\n/*!*********************************!*\\\n !*** ./src/remux/aac-silent.js ***!\n \\*********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * This file is modified from dailymotion's hls.js library (hls.js/src/helper/aac.js)\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar AAC = /** @class */ (function () {\n function AAC() {\n }\n AAC.getSilentFrame = function (codec, channelCount) {\n if (codec === 'mp4a.40.2') {\n // handle LC-AAC\n if (channelCount === 1) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x23, 0x80]);\n }\n else if (channelCount === 2) {\n return new Uint8Array([0x21, 0x00, 0x49, 0x90, 0x02, 0x19, 0x00, 0x23, 0x80]);\n }\n else if (channelCount === 3) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x8e]);\n }\n else if (channelCount === 4) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x80, 0x2c, 0x80, 0x08, 0x02, 0x38]);\n }\n else if (channelCount === 5) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x38]);\n }\n else if (channelCount === 6) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x00, 0xb2, 0x00, 0x20, 0x08, 0xe0]);\n }\n }\n else {\n // handle HE-AAC (mp4a.40.5 / mp4a.40.29)\n if (channelCount === 1) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0:d=0.05\" -c:a libfdk_aac -profile:a aac_he -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x4e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x1c, 0x6, 0xf1, 0xc1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 2) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 3) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n }\n return null;\n };\n return AAC;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (AAC);\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-generator.js\":\n/*!************************************!*\\\n !*** ./src/remux/mp4-generator.js ***!\n \\************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * This file is derived from dailymotion's hls.js library (hls.js/src/remux/mp4-generator.js)\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// MP4 boxes generator for ISO BMFF (ISO Base Media File Format, defined in ISO/IEC 14496-12)\nvar MP4 = /** @class */ (function () {\n function MP4() {\n }\n MP4.init = function () {\n MP4.types = {\n avc1: [], avcC: [], btrt: [], dinf: [],\n dref: [], esds: [], ftyp: [], hdlr: [],\n mdat: [], mdhd: [], mdia: [], mfhd: [],\n minf: [], moof: [], moov: [], mp4a: [],\n mvex: [], mvhd: [], sdtp: [], stbl: [],\n stco: [], stsc: [], stsd: [], stsz: [],\n stts: [], tfdt: [], tfhd: [], traf: [],\n trak: [], trun: [], trex: [], tkhd: [],\n vmhd: [], smhd: [], '.mp3': []\n };\n for (var name_1 in MP4.types) {\n if (MP4.types.hasOwnProperty(name_1)) {\n MP4.types[name_1] = [\n name_1.charCodeAt(0),\n name_1.charCodeAt(1),\n name_1.charCodeAt(2),\n name_1.charCodeAt(3)\n ];\n }\n }\n var constants = MP4.constants = {};\n constants.FTYP = new Uint8Array([\n 0x69, 0x73, 0x6F, 0x6D,\n 0x0, 0x0, 0x0, 0x1,\n 0x69, 0x73, 0x6F, 0x6D,\n 0x61, 0x76, 0x63, 0x31 // avc1\n ]);\n constants.STSD_PREFIX = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01 // entry_count\n ]);\n constants.STTS = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // entry_count\n ]);\n constants.STSC = constants.STCO = constants.STTS;\n constants.STSZ = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // sample_count\n ]);\n constants.HDLR_VIDEO = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x76, 0x69, 0x64, 0x65,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x56, 0x69, 0x64, 0x65,\n 0x6F, 0x48, 0x61, 0x6E,\n 0x64, 0x6C, 0x65, 0x72, 0x00 // name: VideoHandler\n ]);\n constants.HDLR_AUDIO = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x73, 0x6F, 0x75, 0x6E,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x53, 0x6F, 0x75, 0x6E,\n 0x64, 0x48, 0x61, 0x6E,\n 0x64, 0x6C, 0x65, 0x72, 0x00 // name: SoundHandler\n ]);\n constants.DREF = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x0C,\n 0x75, 0x72, 0x6C, 0x20,\n 0x00, 0x00, 0x00, 0x01 // version(0) + flags\n ]);\n // Sound media header\n constants.SMHD = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // balance(2) + reserved(2)\n ]);\n // video media header\n constants.VMHD = new Uint8Array([\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00\n ]);\n };\n // Generate a box\n MP4.box = function (type) {\n var size = 8;\n var result = null;\n var datas = Array.prototype.slice.call(arguments, 1);\n var arrayCount = datas.length;\n for (var i = 0; i < arrayCount; i++) {\n size += datas[i].byteLength;\n }\n result = new Uint8Array(size);\n result[0] = (size >>> 24) & 0xFF; // size\n result[1] = (size >>> 16) & 0xFF;\n result[2] = (size >>> 8) & 0xFF;\n result[3] = (size) & 0xFF;\n result.set(type, 4); // type\n var offset = 8;\n for (var i = 0; i < arrayCount; i++) { // data body\n result.set(datas[i], offset);\n offset += datas[i].byteLength;\n }\n return result;\n };\n // emit ftyp & moov\n MP4.generateInitSegment = function (meta) {\n var ftyp = MP4.box(MP4.types.ftyp, MP4.constants.FTYP);\n var moov = MP4.moov(meta);\n var result = new Uint8Array(ftyp.byteLength + moov.byteLength);\n result.set(ftyp, 0);\n result.set(moov, ftyp.byteLength);\n return result;\n };\n // Movie metadata box\n MP4.moov = function (meta) {\n var mvhd = MP4.mvhd(meta.timescale, meta.duration);\n var trak = MP4.trak(meta);\n var mvex = MP4.mvex(meta);\n return MP4.box(MP4.types.moov, mvhd, trak, mvex);\n };\n // Movie header box\n MP4.mvhd = function (timescale, duration) {\n return MP4.box(MP4.types.mvhd, new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (timescale >>> 24) & 0xFF,\n (timescale >>> 16) & 0xFF,\n (timescale >>> 8) & 0xFF,\n (timescale) & 0xFF,\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n (duration) & 0xFF,\n 0x00, 0x01, 0x00, 0x00,\n 0x01, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0xFF, 0xFF, 0xFF, 0xFF // next_track_ID\n ]));\n };\n // Track box\n MP4.trak = function (meta) {\n return MP4.box(MP4.types.trak, MP4.tkhd(meta), MP4.mdia(meta));\n };\n // Track header box\n MP4.tkhd = function (meta) {\n var trackId = meta.id, duration = meta.duration;\n var width = meta.presentWidth, height = meta.presentHeight;\n return MP4.box(MP4.types.tkhd, new Uint8Array([\n 0x00, 0x00, 0x00, 0x07,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (trackId >>> 24) & 0xFF,\n (trackId >>> 16) & 0xFF,\n (trackId >>> 8) & 0xFF,\n (trackId) & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n (duration) & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n (width >>> 8) & 0xFF,\n (width) & 0xFF,\n 0x00, 0x00,\n (height >>> 8) & 0xFF,\n (height) & 0xFF,\n 0x00, 0x00\n ]));\n };\n // Media Box\n MP4.mdia = function (meta) {\n return MP4.box(MP4.types.mdia, MP4.mdhd(meta), MP4.hdlr(meta), MP4.minf(meta));\n };\n // Media header box\n MP4.mdhd = function (meta) {\n var timescale = meta.timescale;\n var duration = meta.duration;\n return MP4.box(MP4.types.mdhd, new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (timescale >>> 24) & 0xFF,\n (timescale >>> 16) & 0xFF,\n (timescale >>> 8) & 0xFF,\n (timescale) & 0xFF,\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n (duration) & 0xFF,\n 0x55, 0xC4,\n 0x00, 0x00 // pre_defined = 0\n ]));\n };\n // Media handler reference box\n MP4.hdlr = function (meta) {\n var data = null;\n if (meta.type === 'audio') {\n data = MP4.constants.HDLR_AUDIO;\n }\n else {\n data = MP4.constants.HDLR_VIDEO;\n }\n return MP4.box(MP4.types.hdlr, data);\n };\n // Media infomation box\n MP4.minf = function (meta) {\n var xmhd = null;\n if (meta.type === 'audio') {\n xmhd = MP4.box(MP4.types.smhd, MP4.constants.SMHD);\n }\n else {\n xmhd = MP4.box(MP4.types.vmhd, MP4.constants.VMHD);\n }\n return MP4.box(MP4.types.minf, xmhd, MP4.dinf(), MP4.stbl(meta));\n };\n // Data infomation box\n MP4.dinf = function () {\n var result = MP4.box(MP4.types.dinf, MP4.box(MP4.types.dref, MP4.constants.DREF));\n return result;\n };\n // Sample table box\n MP4.stbl = function (meta) {\n var result = MP4.box(MP4.types.stbl, // type: stbl\n MP4.stsd(meta), // Sample Description Table\n MP4.box(MP4.types.stts, MP4.constants.STTS), // Time-To-Sample\n MP4.box(MP4.types.stsc, MP4.constants.STSC), // Sample-To-Chunk\n MP4.box(MP4.types.stsz, MP4.constants.STSZ), // Sample size\n MP4.box(MP4.types.stco, MP4.constants.STCO) // Chunk offset\n );\n return result;\n };\n // Sample description box\n MP4.stsd = function (meta) {\n if (meta.type === 'audio') {\n if (meta.codec === 'mp3') {\n return MP4.box(MP4.types.stsd, MP4.constants.STSD_PREFIX, MP4.mp3(meta));\n }\n // else: aac -> mp4a\n return MP4.box(MP4.types.stsd, MP4.constants.STSD_PREFIX, MP4.mp4a(meta));\n }\n else {\n return MP4.box(MP4.types.stsd, MP4.constants.STSD_PREFIX, MP4.avc1(meta));\n }\n };\n MP4.mp3 = function (meta) {\n var channelCount = meta.channelCount;\n var sampleRate = meta.audioSampleRate;\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (sampleRate >>> 8) & 0xFF,\n (sampleRate) & 0xFF,\n 0x00, 0x00\n ]);\n return MP4.box(MP4.types['.mp3'], data);\n };\n MP4.mp4a = function (meta) {\n var channelCount = meta.channelCount;\n var sampleRate = meta.audioSampleRate;\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (sampleRate >>> 8) & 0xFF,\n (sampleRate) & 0xFF,\n 0x00, 0x00\n ]);\n return MP4.box(MP4.types.mp4a, data, MP4.esds(meta));\n };\n MP4.esds = function (meta) {\n var config = meta.config || [];\n var configSize = config.length;\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x03,\n 0x17 + configSize,\n 0x00, 0x01,\n 0x00,\n 0x04,\n 0x0F + configSize,\n 0x40,\n 0x15,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x05 // descriptor_type\n ].concat([\n configSize\n ]).concat(config).concat([\n 0x06, 0x01, 0x02 // GASpecificConfig\n ]));\n return MP4.box(MP4.types.esds, data);\n };\n MP4.avc1 = function (meta) {\n var avcc = meta.avcc;\n var width = meta.codecWidth, height = meta.codecHeight;\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (width >>> 8) & 0xFF,\n (width) & 0xFF,\n (height >>> 8) & 0xFF,\n (height) & 0xFF,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x0A,\n 0x78, 0x71, 0x71, 0x2F,\n 0x66, 0x6C, 0x76, 0x2E,\n 0x6A, 0x73, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x18,\n 0xFF, 0xFF // pre_defined = -1\n ]);\n return MP4.box(MP4.types.avc1, data, MP4.box(MP4.types.avcC, avcc));\n };\n // Movie Extends box\n MP4.mvex = function (meta) {\n return MP4.box(MP4.types.mvex, MP4.trex(meta));\n };\n // Track Extends box\n MP4.trex = function (meta) {\n var trackId = meta.id;\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n (trackId >>> 24) & 0xFF,\n (trackId >>> 16) & 0xFF,\n (trackId >>> 8) & 0xFF,\n (trackId) & 0xFF,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x01 // default_sample_flags\n ]);\n return MP4.box(MP4.types.trex, data);\n };\n // Movie fragment box\n MP4.moof = function (track, baseMediaDecodeTime) {\n return MP4.box(MP4.types.moof, MP4.mfhd(track.sequenceNumber), MP4.traf(track, baseMediaDecodeTime));\n };\n MP4.mfhd = function (sequenceNumber) {\n var data = new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n (sequenceNumber >>> 24) & 0xFF,\n (sequenceNumber >>> 16) & 0xFF,\n (sequenceNumber >>> 8) & 0xFF,\n (sequenceNumber) & 0xFF\n ]);\n return MP4.box(MP4.types.mfhd, data);\n };\n // Track fragment box\n MP4.traf = function (track, baseMediaDecodeTime) {\n var trackId = track.id;\n // Track fragment header box\n var tfhd = MP4.box(MP4.types.tfhd, new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n (trackId >>> 24) & 0xFF,\n (trackId >>> 16) & 0xFF,\n (trackId >>> 8) & 0xFF,\n (trackId) & 0xFF\n ]));\n // Track Fragment Decode Time\n var tfdt = MP4.box(MP4.types.tfdt, new Uint8Array([\n 0x00, 0x00, 0x00, 0x00,\n (baseMediaDecodeTime >>> 24) & 0xFF,\n (baseMediaDecodeTime >>> 16) & 0xFF,\n (baseMediaDecodeTime >>> 8) & 0xFF,\n (baseMediaDecodeTime) & 0xFF\n ]));\n var sdtp = MP4.sdtp(track);\n var trun = MP4.trun(track, sdtp.byteLength + 16 + 16 + 8 + 16 + 8 + 8);\n return MP4.box(MP4.types.traf, tfhd, tfdt, trun, sdtp);\n };\n // Sample Dependency Type box\n MP4.sdtp = function (track) {\n var samples = track.samples || [];\n var sampleCount = samples.length;\n var data = new Uint8Array(4 + sampleCount);\n // 0~4 bytes: version(0) & flags\n for (var i = 0; i < sampleCount; i++) {\n var flags = samples[i].flags;\n data[i + 4] = (flags.isLeading << 6) // is_leading: 2 (bit)\n | (flags.dependsOn << 4) // sample_depends_on\n | (flags.isDependedOn << 2) // sample_is_depended_on\n | (flags.hasRedundancy); // sample_has_redundancy\n }\n return MP4.box(MP4.types.sdtp, data);\n };\n // Track fragment run box\n MP4.trun = function (track, offset) {\n var samples = track.samples || [];\n var sampleCount = samples.length;\n var dataSize = 12 + 16 * sampleCount;\n var data = new Uint8Array(dataSize);\n offset += 8 + dataSize;\n data.set([\n 0x00, 0x00, 0x0F, 0x01,\n (sampleCount >>> 24) & 0xFF,\n (sampleCount >>> 16) & 0xFF,\n (sampleCount >>> 8) & 0xFF,\n (sampleCount) & 0xFF,\n (offset >>> 24) & 0xFF,\n (offset >>> 16) & 0xFF,\n (offset >>> 8) & 0xFF,\n (offset) & 0xFF\n ], 0);\n for (var i = 0; i < sampleCount; i++) {\n var duration = samples[i].duration;\n var size = samples[i].size;\n var flags = samples[i].flags;\n var cts = samples[i].cts;\n data.set([\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n (duration) & 0xFF,\n (size >>> 24) & 0xFF,\n (size >>> 16) & 0xFF,\n (size >>> 8) & 0xFF,\n (size) & 0xFF,\n (flags.isLeading << 2) | flags.dependsOn,\n (flags.isDependedOn << 6) | (flags.hasRedundancy << 4) | flags.isNonSync,\n 0x00, 0x00,\n (cts >>> 24) & 0xFF,\n (cts >>> 16) & 0xFF,\n (cts >>> 8) & 0xFF,\n (cts) & 0xFF\n ], 12 + 16 * i);\n }\n return MP4.box(MP4.types.trun, data);\n };\n MP4.mdat = function (data) {\n return MP4.box(MP4.types.mdat, data);\n };\n return MP4;\n}());\nMP4.init();\n/* harmony default export */ __webpack_exports__[\"default\"] = (MP4);\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-remuxer.js\":\n/*!**********************************!*\\\n !*** ./src/remux/mp4-remuxer.js ***!\n \\**********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/logger.js */ \"./src/utils/logger.js\");\n/* harmony import */ var _mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mp4-generator.js */ \"./src/remux/mp4-generator.js\");\n/* harmony import */ var _aac_silent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./aac-silent.js */ \"./src/remux/aac-silent.js\");\n/* harmony import */ var _utils_browser_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/browser.js */ \"./src/utils/browser.js\");\n/* harmony import */ var _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/media-segment-info.js */ \"./src/core/media-segment-info.js\");\n/* harmony import */ var _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/exception.js */ \"./src/utils/exception.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n// Fragmented mp4 remuxer\nvar MP4Remuxer = /** @class */ (function () {\n function MP4Remuxer(config) {\n this.TAG = 'MP4Remuxer';\n this._config = config;\n this._isLive = (config.isLive === true) ? true : false;\n this._dtsBase = -1;\n this._dtsBaseInited = false;\n this._audioDtsBase = Infinity;\n this._videoDtsBase = Infinity;\n this._audioNextDts = undefined;\n this._videoNextDts = undefined;\n this._audioStashedLastSample = null;\n this._videoStashedLastSample = null;\n this._audioMeta = null;\n this._videoMeta = null;\n this._audioSegmentInfoList = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.MediaSegmentInfoList('audio');\n this._videoSegmentInfoList = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.MediaSegmentInfoList('video');\n this._onInitSegment = null;\n this._onMediaSegment = null;\n // Workaround for chrome < 50: Always force first sample as a Random Access Point in media segment\n // see https://bugs.chromium.org/p/chromium/issues/detail?id=229412\n this._forceFirstIDR = (_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.chrome &&\n (_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.version.major < 50 ||\n (_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.version.major === 50 && _utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.version.build < 2661))) ? true : false;\n // Workaround for IE11/Edge: Fill silent aac frame after keyframe-seeking\n // Make audio beginDts equals with video beginDts, in order to fix seek freeze\n this._fillSilentAfterSeek = (_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.msedge || _utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.msie);\n // While only FireFox supports 'audio/mp4, codecs=\"mp3\"', use 'audio/mpeg' for chrome, safari, ...\n this._mp3UseMpegAudio = !_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.firefox;\n this._fillAudioTimestampGap = this._config.fixAudioTimestampGap;\n }\n MP4Remuxer.prototype.destroy = function () {\n this._dtsBase = -1;\n this._dtsBaseInited = false;\n this._audioMeta = null;\n this._videoMeta = null;\n this._audioSegmentInfoList.clear();\n this._audioSegmentInfoList = null;\n this._videoSegmentInfoList.clear();\n this._videoSegmentInfoList = null;\n this._onInitSegment = null;\n this._onMediaSegment = null;\n };\n MP4Remuxer.prototype.bindDataSource = function (producer) {\n producer.onDataAvailable = this.remux.bind(this);\n producer.onTrackMetadata = this._onTrackMetadataReceived.bind(this);\n return this;\n };\n Object.defineProperty(MP4Remuxer.prototype, \"onInitSegment\", {\n /* prototype: function onInitSegment(type: string, initSegment: ArrayBuffer): void\n InitSegment: {\n type: string,\n data: ArrayBuffer,\n codec: string,\n container: string\n }\n */\n get: function () {\n return this._onInitSegment;\n },\n set: function (callback) {\n this._onInitSegment = callback;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MP4Remuxer.prototype, \"onMediaSegment\", {\n /* prototype: function onMediaSegment(type: string, mediaSegment: MediaSegment): void\n MediaSegment: {\n type: string,\n data: ArrayBuffer,\n sampleCount: int32\n info: MediaSegmentInfo\n }\n */\n get: function () {\n return this._onMediaSegment;\n },\n set: function (callback) {\n this._onMediaSegment = callback;\n },\n enumerable: false,\n configurable: true\n });\n MP4Remuxer.prototype.insertDiscontinuity = function () {\n this._audioNextDts = this._videoNextDts = undefined;\n };\n MP4Remuxer.prototype.seek = function (originalDts) {\n this._audioStashedLastSample = null;\n this._videoStashedLastSample = null;\n this._videoSegmentInfoList.clear();\n this._audioSegmentInfoList.clear();\n };\n MP4Remuxer.prototype.remux = function (audioTrack, videoTrack) {\n if (!this._onMediaSegment) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__.IllegalStateException('MP4Remuxer: onMediaSegment callback must be specificed!');\n }\n if (!this._dtsBaseInited) {\n this._calculateDtsBase(audioTrack, videoTrack);\n }\n this._remuxVideo(videoTrack);\n this._remuxAudio(audioTrack);\n };\n MP4Remuxer.prototype._onTrackMetadataReceived = function (type, metadata) {\n var metabox = null;\n var container = 'mp4';\n var codec = metadata.codec;\n if (type === 'audio') {\n this._audioMeta = metadata;\n if (metadata.codec === 'mp3' && this._mp3UseMpegAudio) {\n // 'audio/mpeg' for MP3 audio track\n container = 'mpeg';\n codec = '';\n metabox = new Uint8Array();\n }\n else {\n // 'audio/mp4, codecs=\"codec\"'\n metabox = _mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.generateInitSegment(metadata);\n }\n }\n else if (type === 'video') {\n this._videoMeta = metadata;\n metabox = _mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.generateInitSegment(metadata);\n }\n else {\n return;\n }\n // dispatch metabox (Initialization Segment)\n if (!this._onInitSegment) {\n throw new _utils_exception_js__WEBPACK_IMPORTED_MODULE_5__.IllegalStateException('MP4Remuxer: onInitSegment callback must be specified!');\n }\n this._onInitSegment(type, {\n type: type,\n data: metabox.buffer,\n codec: codec,\n container: type + \"/\" + container,\n mediaDuration: metadata.duration // in timescale 1000 (milliseconds)\n });\n };\n MP4Remuxer.prototype._calculateDtsBase = function (audioTrack, videoTrack) {\n if (this._dtsBaseInited) {\n return;\n }\n if (audioTrack.samples && audioTrack.samples.length) {\n this._audioDtsBase = audioTrack.samples[0].dts;\n }\n if (videoTrack.samples && videoTrack.samples.length) {\n this._videoDtsBase = videoTrack.samples[0].dts;\n }\n this._dtsBase = Math.min(this._audioDtsBase, this._videoDtsBase);\n this._dtsBaseInited = true;\n };\n MP4Remuxer.prototype.flushStashedSamples = function () {\n var videoSample = this._videoStashedLastSample;\n var audioSample = this._audioStashedLastSample;\n var videoTrack = {\n type: 'video',\n id: 1,\n sequenceNumber: 0,\n samples: [],\n length: 0\n };\n if (videoSample != null) {\n videoTrack.samples.push(videoSample);\n videoTrack.length = videoSample.length;\n }\n var audioTrack = {\n type: 'audio',\n id: 2,\n sequenceNumber: 0,\n samples: [],\n length: 0\n };\n if (audioSample != null) {\n audioTrack.samples.push(audioSample);\n audioTrack.length = audioSample.length;\n }\n this._videoStashedLastSample = null;\n this._audioStashedLastSample = null;\n this._remuxVideo(videoTrack, true);\n this._remuxAudio(audioTrack, true);\n };\n MP4Remuxer.prototype._remuxAudio = function (audioTrack, force) {\n if (this._audioMeta == null) {\n return;\n }\n var track = audioTrack;\n var samples = track.samples;\n var dtsCorrection = undefined;\n var firstDts = -1, lastDts = -1, lastPts = -1;\n var refSampleDuration = this._audioMeta.refSampleDuration;\n var mpegRawTrack = this._audioMeta.codec === 'mp3' && this._mp3UseMpegAudio;\n var firstSegmentAfterSeek = this._dtsBaseInited && this._audioNextDts === undefined;\n var insertPrefixSilentFrame = false;\n if (!samples || samples.length === 0) {\n return;\n }\n if (samples.length === 1 && !force) {\n // If [sample count in current batch] === 1 && (force != true)\n // Ignore and keep in demuxer's queue\n return;\n } // else if (force === true) do remux\n var offset = 0;\n var mdatbox = null;\n var mdatBytes = 0;\n // calculate initial mdat size\n if (mpegRawTrack) {\n // for raw mpeg buffer\n offset = 0;\n mdatBytes = track.length;\n }\n else {\n // for fmp4 mdat box\n offset = 8; // size + type\n mdatBytes = 8 + track.length;\n }\n var lastSample = null;\n // Pop the lastSample and waiting for stash\n if (samples.length > 1) {\n lastSample = samples.pop();\n mdatBytes -= lastSample.length;\n }\n // Insert [stashed lastSample in the previous batch] to the front\n if (this._audioStashedLastSample != null) {\n var sample = this._audioStashedLastSample;\n this._audioStashedLastSample = null;\n samples.unshift(sample);\n mdatBytes += sample.length;\n }\n // Stash the lastSample of current batch, waiting for next batch\n if (lastSample != null) {\n this._audioStashedLastSample = lastSample;\n }\n var firstSampleOriginalDts = samples[0].dts - this._dtsBase;\n // calculate dtsCorrection\n if (this._audioNextDts) {\n dtsCorrection = firstSampleOriginalDts - this._audioNextDts;\n }\n else { // this._audioNextDts == undefined\n if (this._audioSegmentInfoList.isEmpty()) {\n dtsCorrection = 0;\n if (this._fillSilentAfterSeek && !this._videoSegmentInfoList.isEmpty()) {\n if (this._audioMeta.originalCodec !== 'mp3') {\n insertPrefixSilentFrame = true;\n }\n }\n }\n else {\n var lastSample_1 = this._audioSegmentInfoList.getLastSampleBefore(firstSampleOriginalDts);\n if (lastSample_1 != null) {\n var distance = (firstSampleOriginalDts - (lastSample_1.originalDts + lastSample_1.duration));\n if (distance <= 3) {\n distance = 0;\n }\n var expectedDts = lastSample_1.dts + lastSample_1.duration + distance;\n dtsCorrection = firstSampleOriginalDts - expectedDts;\n }\n else { // lastSample == null, cannot found\n dtsCorrection = 0;\n }\n }\n }\n if (insertPrefixSilentFrame) {\n // align audio segment beginDts to match with current video segment's beginDts\n var firstSampleDts = firstSampleOriginalDts - dtsCorrection;\n var videoSegment = this._videoSegmentInfoList.getLastSegmentBefore(firstSampleOriginalDts);\n if (videoSegment != null && videoSegment.beginDts < firstSampleDts) {\n var silentUnit = _aac_silent_js__WEBPACK_IMPORTED_MODULE_2__.default.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount);\n if (silentUnit) {\n var dts = videoSegment.beginDts;\n var silentFrameDuration = firstSampleDts - videoSegment.beginDts;\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.v(this.TAG, \"InsertPrefixSilentAudio: dts: \" + dts + \", duration: \" + silentFrameDuration);\n samples.unshift({ unit: silentUnit, dts: dts, pts: dts });\n mdatBytes += silentUnit.byteLength;\n } // silentUnit == null: Cannot generate, skip\n }\n else {\n insertPrefixSilentFrame = false;\n }\n }\n var mp4Samples = [];\n // Correct dts for each sample, and calculate sample duration. Then output to mp4Samples\n for (var i = 0; i < samples.length; i++) {\n var sample = samples[i];\n var unit = sample.unit;\n var originalDts = sample.dts - this._dtsBase;\n var dts = originalDts;\n var needFillSilentFrames = false;\n var silentFrames = null;\n var sampleDuration = 0;\n if (originalDts < -0.001) {\n continue; //pass the first sample with the invalid dts\n }\n if (this._audioMeta.codec !== 'mp3') {\n // for AAC codec, we need to keep dts increase based on refSampleDuration\n var curRefDts = originalDts;\n var maxAudioFramesDrift = 3;\n if (this._audioNextDts) {\n curRefDts = this._audioNextDts;\n }\n dtsCorrection = originalDts - curRefDts;\n if (dtsCorrection <= -maxAudioFramesDrift * refSampleDuration) {\n // If we're overlapping by more than maxAudioFramesDrift number of frame, drop this sample\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, \"Dropping 1 audio frame (originalDts: \" + originalDts + \" ms ,curRefDts: \" + curRefDts + \" ms) due to dtsCorrection: \" + dtsCorrection + \" ms overlap.\");\n continue;\n }\n else if (dtsCorrection >= maxAudioFramesDrift * refSampleDuration && this._fillAudioTimestampGap && !_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__.default.safari) {\n // Silent frame generation, if large timestamp gap detected && config.fixAudioTimestampGap\n needFillSilentFrames = true;\n // We need to insert silent frames to fill timestamp gap\n var frameCount = Math.floor(dtsCorrection / refSampleDuration);\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Large audio timestamp gap detected, may cause AV sync to drift. ' +\n 'Silent frames will be generated to avoid unsync.\\n' +\n (\"originalDts: \" + originalDts + \" ms, curRefDts: \" + curRefDts + \" ms, \") +\n (\"dtsCorrection: \" + Math.round(dtsCorrection) + \" ms, generate: \" + frameCount + \" frames\"));\n dts = Math.floor(curRefDts);\n sampleDuration = Math.floor(curRefDts + refSampleDuration) - dts;\n var silentUnit = _aac_silent_js__WEBPACK_IMPORTED_MODULE_2__.default.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount);\n if (silentUnit == null) {\n _utils_logger_js__WEBPACK_IMPORTED_MODULE_0__.default.w(this.TAG, 'Unable to generate silent frame for ' +\n (this._audioMeta.originalCodec + \" with \" + this._audioMeta.channelCount + \" channels, repeat last frame\"));\n // Repeat last frame\n silentUnit = unit;\n }\n silentFrames = [];\n for (var j = 0; j < frameCount; j++) {\n curRefDts = curRefDts + refSampleDuration;\n var intDts = Math.floor(curRefDts); // change to integer\n var intDuration = Math.floor(curRefDts + refSampleDuration) - intDts;\n var frame = {\n dts: intDts,\n pts: intDts,\n cts: 0,\n unit: silentUnit,\n size: silentUnit.byteLength,\n duration: intDuration,\n originalDts: originalDts,\n flags: {\n isLeading: 0,\n dependsOn: 1,\n isDependedOn: 0,\n hasRedundancy: 0\n }\n };\n silentFrames.push(frame);\n mdatBytes += frame.size;\n ;\n }\n this._audioNextDts = curRefDts + refSampleDuration;\n }\n else {\n dts = Math.floor(curRefDts);\n sampleDuration = Math.floor(curRefDts + refSampleDuration) - dts;\n this._audioNextDts = curRefDts + refSampleDuration;\n }\n }\n else {\n // keep the original dts calculate algorithm for mp3\n dts = originalDts - dtsCorrection;\n if (i !== samples.length - 1) {\n var nextDts = samples[i + 1].dts - this._dtsBase - dtsCorrection;\n sampleDuration = nextDts - dts;\n }\n else { // the last sample\n if (lastSample != null) { // use stashed sample's dts to calculate sample duration\n var nextDts = lastSample.dts - this._dtsBase - dtsCorrection;\n sampleDuration = nextDts - dts;\n }\n else if (mp4Samples.length >= 1) { // use second last sample duration\n sampleDuration = mp4Samples[mp4Samples.length - 1].duration;\n }\n else { // the only one sample, use reference sample duration\n sampleDuration = Math.floor(refSampleDuration);\n }\n }\n this._audioNextDts = dts + sampleDuration;\n }\n if (firstDts === -1) {\n firstDts = dts;\n }\n mp4Samples.push({\n dts: dts,\n pts: dts,\n cts: 0,\n unit: sample.unit,\n size: sample.unit.byteLength,\n duration: sampleDuration,\n originalDts: originalDts,\n flags: {\n isLeading: 0,\n dependsOn: 1,\n isDependedOn: 0,\n hasRedundancy: 0\n }\n });\n if (needFillSilentFrames) {\n // Silent frames should be inserted after wrong-duration frame\n mp4Samples.push.apply(mp4Samples, silentFrames);\n }\n }\n if (mp4Samples.length === 0) {\n //no samples need to remux\n track.samples = [];\n track.length = 0;\n return;\n }\n // allocate mdatbox\n if (mpegRawTrack) {\n // allocate for raw mpeg buffer\n mdatbox = new Uint8Array(mdatBytes);\n }\n else {\n // allocate for fmp4 mdat box\n mdatbox = new Uint8Array(mdatBytes);\n // size field\n mdatbox[0] = (mdatBytes >>> 24) & 0xFF;\n mdatbox[1] = (mdatBytes >>> 16) & 0xFF;\n mdatbox[2] = (mdatBytes >>> 8) & 0xFF;\n mdatbox[3] = (mdatBytes) & 0xFF;\n // type field (fourCC)\n mdatbox.set(_mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.types.mdat, 4);\n }\n // Write samples into mdatbox\n for (var i = 0; i < mp4Samples.length; i++) {\n var unit = mp4Samples[i].unit;\n mdatbox.set(unit, offset);\n offset += unit.byteLength;\n }\n var latest = mp4Samples[mp4Samples.length - 1];\n lastDts = latest.dts + latest.duration;\n //this._audioNextDts = lastDts;\n // fill media segment info & add to info list\n var info = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.MediaSegmentInfo();\n info.beginDts = firstDts;\n info.endDts = lastDts;\n info.beginPts = firstDts;\n info.endPts = lastDts;\n info.originalBeginDts = mp4Samples[0].originalDts;\n info.originalEndDts = latest.originalDts + latest.duration;\n info.firstSample = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.SampleInfo(mp4Samples[0].dts, mp4Samples[0].pts, mp4Samples[0].duration, mp4Samples[0].originalDts, false);\n info.lastSample = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.SampleInfo(latest.dts, latest.pts, latest.duration, latest.originalDts, false);\n if (!this._isLive) {\n this._audioSegmentInfoList.append(info);\n }\n track.samples = mp4Samples;\n track.sequenceNumber++;\n var moofbox = null;\n if (mpegRawTrack) {\n // Generate empty buffer, because useless for raw mpeg\n moofbox = new Uint8Array();\n }\n else {\n // Generate moof for fmp4 segment\n moofbox = _mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.moof(track, firstDts);\n }\n track.samples = [];\n track.length = 0;\n var segment = {\n type: 'audio',\n data: this._mergeBoxes(moofbox, mdatbox).buffer,\n sampleCount: mp4Samples.length,\n info: info\n };\n if (mpegRawTrack && firstSegmentAfterSeek) {\n // For MPEG audio stream in MSE, if seeking occurred, before appending new buffer\n // We need explicitly set timestampOffset to the desired point in timeline for mpeg SourceBuffer.\n segment.timestampOffset = firstDts;\n }\n this._onMediaSegment('audio', segment);\n };\n MP4Remuxer.prototype._remuxVideo = function (videoTrack, force) {\n if (this._videoMeta == null) {\n return;\n }\n var track = videoTrack;\n var samples = track.samples;\n var dtsCorrection = undefined;\n var firstDts = -1, lastDts = -1;\n var firstPts = -1, lastPts = -1;\n if (!samples || samples.length === 0) {\n return;\n }\n if (samples.length === 1 && !force) {\n // If [sample count in current batch] === 1 && (force != true)\n // Ignore and keep in demuxer's queue\n return;\n } // else if (force === true) do remux\n var offset = 8;\n var mdatbox = null;\n var mdatBytes = 8 + videoTrack.length;\n var lastSample = null;\n // Pop the lastSample and waiting for stash\n if (samples.length > 1) {\n lastSample = samples.pop();\n mdatBytes -= lastSample.length;\n }\n // Insert [stashed lastSample in the previous batch] to the front\n if (this._videoStashedLastSample != null) {\n var sample = this._videoStashedLastSample;\n this._videoStashedLastSample = null;\n samples.unshift(sample);\n mdatBytes += sample.length;\n }\n // Stash the lastSample of current batch, waiting for next batch\n if (lastSample != null) {\n this._videoStashedLastSample = lastSample;\n }\n var firstSampleOriginalDts = samples[0].dts - this._dtsBase;\n // calculate dtsCorrection\n if (this._videoNextDts) {\n dtsCorrection = firstSampleOriginalDts - this._videoNextDts;\n }\n else { // this._videoNextDts == undefined\n if (this._videoSegmentInfoList.isEmpty()) {\n dtsCorrection = 0;\n }\n else {\n var lastSample_2 = this._videoSegmentInfoList.getLastSampleBefore(firstSampleOriginalDts);\n if (lastSample_2 != null) {\n var distance = (firstSampleOriginalDts - (lastSample_2.originalDts + lastSample_2.duration));\n if (distance <= 3) {\n distance = 0;\n }\n var expectedDts = lastSample_2.dts + lastSample_2.duration + distance;\n dtsCorrection = firstSampleOriginalDts - expectedDts;\n }\n else { // lastSample == null, cannot found\n dtsCorrection = 0;\n }\n }\n }\n var info = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.MediaSegmentInfo();\n var mp4Samples = [];\n // Correct dts for each sample, and calculate sample duration. Then output to mp4Samples\n for (var i = 0; i < samples.length; i++) {\n var sample = samples[i];\n var originalDts = sample.dts - this._dtsBase;\n var isKeyframe = sample.isKeyframe;\n var dts = originalDts - dtsCorrection;\n var cts = sample.cts;\n var pts = dts + cts;\n if (firstDts === -1) {\n firstDts = dts;\n firstPts = pts;\n }\n var sampleDuration = 0;\n if (i !== samples.length - 1) {\n var nextDts = samples[i + 1].dts - this._dtsBase - dtsCorrection;\n sampleDuration = nextDts - dts;\n }\n else { // the last sample\n if (lastSample != null) { // use stashed sample's dts to calculate sample duration\n var nextDts = lastSample.dts - this._dtsBase - dtsCorrection;\n sampleDuration = nextDts - dts;\n }\n else if (mp4Samples.length >= 1) { // use second last sample duration\n sampleDuration = mp4Samples[mp4Samples.length - 1].duration;\n }\n else { // the only one sample, use reference sample duration\n sampleDuration = Math.floor(this._videoMeta.refSampleDuration);\n }\n }\n if (isKeyframe) {\n var syncPoint = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.SampleInfo(dts, pts, sampleDuration, sample.dts, true);\n syncPoint.fileposition = sample.fileposition;\n info.appendSyncPoint(syncPoint);\n }\n mp4Samples.push({\n dts: dts,\n pts: pts,\n cts: cts,\n units: sample.units,\n size: sample.length,\n isKeyframe: isKeyframe,\n duration: sampleDuration,\n originalDts: originalDts,\n flags: {\n isLeading: 0,\n dependsOn: isKeyframe ? 2 : 1,\n isDependedOn: isKeyframe ? 1 : 0,\n hasRedundancy: 0,\n isNonSync: isKeyframe ? 0 : 1\n }\n });\n }\n // allocate mdatbox\n mdatbox = new Uint8Array(mdatBytes);\n mdatbox[0] = (mdatBytes >>> 24) & 0xFF;\n mdatbox[1] = (mdatBytes >>> 16) & 0xFF;\n mdatbox[2] = (mdatBytes >>> 8) & 0xFF;\n mdatbox[3] = (mdatBytes) & 0xFF;\n mdatbox.set(_mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.types.mdat, 4);\n // Write samples into mdatbox\n for (var i = 0; i < mp4Samples.length; i++) {\n var units = mp4Samples[i].units;\n while (units.length) {\n var unit = units.shift();\n var data = unit.data;\n mdatbox.set(data, offset);\n offset += data.byteLength;\n }\n }\n var latest = mp4Samples[mp4Samples.length - 1];\n lastDts = latest.dts + latest.duration;\n lastPts = latest.pts + latest.duration;\n this._videoNextDts = lastDts;\n // fill media segment info & add to info list\n info.beginDts = firstDts;\n info.endDts = lastDts;\n info.beginPts = firstPts;\n info.endPts = lastPts;\n info.originalBeginDts = mp4Samples[0].originalDts;\n info.originalEndDts = latest.originalDts + latest.duration;\n info.firstSample = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.SampleInfo(mp4Samples[0].dts, mp4Samples[0].pts, mp4Samples[0].duration, mp4Samples[0].originalDts, mp4Samples[0].isKeyframe);\n info.lastSample = new _core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__.SampleInfo(latest.dts, latest.pts, latest.duration, latest.originalDts, latest.isKeyframe);\n if (!this._isLive) {\n this._videoSegmentInfoList.append(info);\n }\n track.samples = mp4Samples;\n track.sequenceNumber++;\n // workaround for chrome < 50: force first sample as a random access point\n // see https://bugs.chromium.org/p/chromium/issues/detail?id=229412\n if (this._forceFirstIDR) {\n var flags = mp4Samples[0].flags;\n flags.dependsOn = 2;\n flags.isNonSync = 0;\n }\n var moofbox = _mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__.default.moof(track, firstDts);\n track.samples = [];\n track.length = 0;\n this._onMediaSegment('video', {\n type: 'video',\n data: this._mergeBoxes(moofbox, mdatbox).buffer,\n sampleCount: mp4Samples.length,\n info: info\n });\n };\n MP4Remuxer.prototype._mergeBoxes = function (moof, mdat) {\n var result = new Uint8Array(moof.byteLength + mdat.byteLength);\n result.set(moof, 0);\n result.set(mdat, moof.byteLength);\n return result;\n };\n return MP4Remuxer;\n}());\n/* harmony default export */ __webpack_exports__[\"default\"] = (MP4Remuxer);\n\n\n/***/ }),\n\n/***/ \"./src/utils/browser.js\":\n/*!******************************!*\\\n !*** ./src/utils/browser.js ***!\n \\******************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar Browser = {};\nfunction detect() {\n // modified from jquery-browser-plugin\n var ua = self.navigator.userAgent.toLowerCase();\n var match = /(edge)\\/([\\w.]+)/.exec(ua) ||\n /(opr)[\\/]([\\w.]+)/.exec(ua) ||\n /(chrome)[ \\/]([\\w.]+)/.exec(ua) ||\n /(iemobile)[\\/]([\\w.]+)/.exec(ua) ||\n /(version)(applewebkit)[ \\/]([\\w.]+).*(safari)[ \\/]([\\w.]+)/.exec(ua) ||\n /(webkit)[ \\/]([\\w.]+).*(version)[ \\/]([\\w.]+).*(safari)[ \\/]([\\w.]+)/.exec(ua) ||\n /(webkit)[ \\/]([\\w.]+)/.exec(ua) ||\n /(opera)(?:.*version|)[ \\/]([\\w.]+)/.exec(ua) ||\n /(msie) ([\\w.]+)/.exec(ua) ||\n ua.indexOf('trident') >= 0 && /(rv)(?::| )([\\w.]+)/.exec(ua) ||\n ua.indexOf('compatible') < 0 && /(firefox)[ \\/]([\\w.]+)/.exec(ua) ||\n [];\n var platform_match = /(ipad)/.exec(ua) ||\n /(ipod)/.exec(ua) ||\n /(windows phone)/.exec(ua) ||\n /(iphone)/.exec(ua) ||\n /(kindle)/.exec(ua) ||\n /(android)/.exec(ua) ||\n /(windows)/.exec(ua) ||\n /(mac)/.exec(ua) ||\n /(linux)/.exec(ua) ||\n /(cros)/.exec(ua) ||\n [];\n var matched = {\n browser: match[5] || match[3] || match[1] || '',\n version: match[2] || match[4] || '0',\n majorVersion: match[4] || match[2] || '0',\n platform: platform_match[0] || ''\n };\n var browser = {};\n if (matched.browser) {\n browser[matched.browser] = true;\n var versionArray = matched.majorVersion.split('.');\n browser.version = {\n major: parseInt(matched.majorVersion, 10),\n string: matched.version\n };\n if (versionArray.length > 1) {\n browser.version.minor = parseInt(versionArray[1], 10);\n }\n if (versionArray.length > 2) {\n browser.version.build = parseInt(versionArray[2], 10);\n }\n }\n if (matched.platform) {\n browser[matched.platform] = true;\n }\n if (browser.chrome || browser.opr || browser.safari) {\n browser.webkit = true;\n }\n // MSIE. IE11 has 'rv' identifer\n if (browser.rv || browser.iemobile) {\n if (browser.rv) {\n delete browser.rv;\n }\n var msie = 'msie';\n matched.browser = msie;\n browser[msie] = true;\n }\n // Microsoft Edge\n if (browser.edge) {\n delete browser.edge;\n var msedge = 'msedge';\n matched.browser = msedge;\n browser[msedge] = true;\n }\n // Opera 15+\n if (browser.opr) {\n var opera = 'opera';\n matched.browser = opera;\n browser[opera] = true;\n }\n // Stock android browsers are marked as Safari\n if (browser.safari && browser.android) {\n var android = 'android';\n matched.browser = android;\n browser[android] = true;\n }\n browser.name = matched.browser;\n browser.platform = matched.platform;\n for (var key in Browser) {\n if (Browser.hasOwnProperty(key)) {\n delete Browser[key];\n }\n }\n Object.assign(Browser, browser);\n}\ndetect();\n/* harmony default export */ __webpack_exports__[\"default\"] = (Browser);\n\n\n/***/ }),\n\n/***/ \"./src/utils/exception.js\":\n/*!********************************!*\\\n !*** ./src/utils/exception.js ***!\n \\********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"RuntimeException\": function() { return /* binding */ RuntimeException; },\n/* harmony export */ \"IllegalStateException\": function() { return /* binding */ IllegalStateException; },\n/* harmony export */ \"InvalidArgumentException\": function() { return /* binding */ InvalidArgumentException; },\n/* harmony export */ \"NotImplementedException\": function() { return /* binding */ NotImplementedException; }\n/* harmony export */ });\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar RuntimeException = /** @class */ (function () {\n function RuntimeException(message) {\n this._message = message;\n }\n Object.defineProperty(RuntimeException.prototype, \"name\", {\n get: function () {\n return 'RuntimeException';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(RuntimeException.prototype, \"message\", {\n get: function () {\n return this._message;\n },\n enumerable: false,\n configurable: true\n });\n RuntimeException.prototype.toString = function () {\n return this.name + ': ' + this.message;\n };\n return RuntimeException;\n}());\n\nvar IllegalStateException = /** @class */ (function (_super) {\n __extends(IllegalStateException, _super);\n function IllegalStateException(message) {\n return _super.call(this, message) || this;\n }\n Object.defineProperty(IllegalStateException.prototype, \"name\", {\n get: function () {\n return 'IllegalStateException';\n },\n enumerable: false,\n configurable: true\n });\n return IllegalStateException;\n}(RuntimeException));\n\nvar InvalidArgumentException = /** @class */ (function (_super) {\n __extends(InvalidArgumentException, _super);\n function InvalidArgumentException(message) {\n return _super.call(this, message) || this;\n }\n Object.defineProperty(InvalidArgumentException.prototype, \"name\", {\n get: function () {\n return 'InvalidArgumentException';\n },\n enumerable: false,\n configurable: true\n });\n return InvalidArgumentException;\n}(RuntimeException));\n\nvar NotImplementedException = /** @class */ (function (_super) {\n __extends(NotImplementedException, _super);\n function NotImplementedException(message) {\n return _super.call(this, message) || this;\n }\n Object.defineProperty(NotImplementedException.prototype, \"name\", {\n get: function () {\n return 'NotImplementedException';\n },\n enumerable: false,\n configurable: true\n });\n return NotImplementedException;\n}(RuntimeException));\n\n\n\n/***/ }),\n\n/***/ \"./src/utils/logger.js\":\n/*!*****************************!*\\\n !*** ./src/utils/logger.js ***!\n \\*****************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar Log = /** @class */ (function () {\n function Log() {\n }\n Log.e = function (tag, msg) {\n if (!tag || Log.FORCE_GLOBAL_TAG)\n tag = Log.GLOBAL_TAG;\n var str = \"[\" + tag + \"] > \" + msg;\n if (Log.ENABLE_CALLBACK) {\n Log.emitter.emit('log', 'error', str);\n }\n if (!Log.ENABLE_ERROR) {\n return;\n }\n if (console.error) {\n console.error(str);\n }\n else if (console.warn) {\n console.warn(str);\n }\n else {\n console.log(str);\n }\n };\n Log.i = function (tag, msg) {\n if (!tag || Log.FORCE_GLOBAL_TAG)\n tag = Log.GLOBAL_TAG;\n var str = \"[\" + tag + \"] > \" + msg;\n if (Log.ENABLE_CALLBACK) {\n Log.emitter.emit('log', 'info', str);\n }\n if (!Log.ENABLE_INFO) {\n return;\n }\n if (console.info) {\n console.info(str);\n }\n else {\n console.log(str);\n }\n };\n Log.w = function (tag, msg) {\n if (!tag || Log.FORCE_GLOBAL_TAG)\n tag = Log.GLOBAL_TAG;\n var str = \"[\" + tag + \"] > \" + msg;\n if (Log.ENABLE_CALLBACK) {\n Log.emitter.emit('log', 'warn', str);\n }\n if (!Log.ENABLE_WARN) {\n return;\n }\n if (console.warn) {\n console.warn(str);\n }\n else {\n console.log(str);\n }\n };\n Log.d = function (tag, msg) {\n if (!tag || Log.FORCE_GLOBAL_TAG)\n tag = Log.GLOBAL_TAG;\n var str = \"[\" + tag + \"] > \" + msg;\n if (Log.ENABLE_CALLBACK) {\n Log.emitter.emit('log', 'debug', str);\n }\n if (!Log.ENABLE_DEBUG) {\n return;\n }\n if (console.debug) {\n console.debug(str);\n }\n else {\n console.log(str);\n }\n };\n Log.v = function (tag, msg) {\n if (!tag || Log.FORCE_GLOBAL_TAG)\n tag = Log.GLOBAL_TAG;\n var str = \"[\" + tag + \"] > \" + msg;\n if (Log.ENABLE_CALLBACK) {\n Log.emitter.emit('log', 'verbose', str);\n }\n if (!Log.ENABLE_VERBOSE) {\n return;\n }\n console.log(str);\n };\n return Log;\n}());\nLog.GLOBAL_TAG = 'flv.js';\nLog.FORCE_GLOBAL_TAG = false;\nLog.ENABLE_ERROR = true;\nLog.ENABLE_INFO = true;\nLog.ENABLE_WARN = true;\nLog.ENABLE_DEBUG = true;\nLog.ENABLE_VERBOSE = true;\nLog.ENABLE_CALLBACK = false;\nLog.emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n/* harmony default export */ __webpack_exports__[\"default\"] = (Log);\n\n\n/***/ }),\n\n/***/ \"./src/utils/logging-control.js\":\n/*!**************************************!*\\\n !*** ./src/utils/logging-control.js ***!\n \\**************************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! events */ \"./node_modules/events/events.js\");\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _logger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./logger.js */ \"./src/utils/logger.js\");\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\nvar LoggingControl = /** @class */ (function () {\n function LoggingControl() {\n }\n Object.defineProperty(LoggingControl, \"forceGlobalTag\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.FORCE_GLOBAL_TAG;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.FORCE_GLOBAL_TAG = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"globalTag\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.GLOBAL_TAG;\n },\n set: function (tag) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.GLOBAL_TAG = tag;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableAll\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE\n && _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG\n && _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO\n && _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN\n && _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE = enable;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG = enable;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO = enable;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN = enable;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableDebug\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableVerbose\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableInfo\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableWarn\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(LoggingControl, \"enableError\", {\n get: function () {\n return _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR;\n },\n set: function (enable) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR = enable;\n LoggingControl._notifyChange();\n },\n enumerable: false,\n configurable: true\n });\n LoggingControl.getConfig = function () {\n return {\n globalTag: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.GLOBAL_TAG,\n forceGlobalTag: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.FORCE_GLOBAL_TAG,\n enableVerbose: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE,\n enableDebug: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG,\n enableInfo: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO,\n enableWarn: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN,\n enableError: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR,\n enableCallback: _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_CALLBACK\n };\n };\n LoggingControl.applyConfig = function (config) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.GLOBAL_TAG = config.globalTag;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.FORCE_GLOBAL_TAG = config.forceGlobalTag;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_VERBOSE = config.enableVerbose;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_DEBUG = config.enableDebug;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_INFO = config.enableInfo;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_WARN = config.enableWarn;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_ERROR = config.enableError;\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_CALLBACK = config.enableCallback;\n };\n LoggingControl._notifyChange = function () {\n var emitter = LoggingControl.emitter;\n if (emitter.listenerCount('change') > 0) {\n var config = LoggingControl.getConfig();\n emitter.emit('change', config);\n }\n };\n LoggingControl.registerListener = function (listener) {\n LoggingControl.emitter.addListener('change', listener);\n };\n LoggingControl.removeListener = function (listener) {\n LoggingControl.emitter.removeListener('change', listener);\n };\n LoggingControl.addLogListener = function (listener) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.emitter.addListener('log', listener);\n if (_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.emitter.listenerCount('log') > 0) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_CALLBACK = true;\n LoggingControl._notifyChange();\n }\n };\n LoggingControl.removeLogListener = function (listener) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.emitter.removeListener('log', listener);\n if (_logger_js__WEBPACK_IMPORTED_MODULE_1__.default.emitter.listenerCount('log') === 0) {\n _logger_js__WEBPACK_IMPORTED_MODULE_1__.default.ENABLE_CALLBACK = false;\n LoggingControl._notifyChange();\n }\n };\n return LoggingControl;\n}());\nLoggingControl.emitter = new (events__WEBPACK_IMPORTED_MODULE_0___default())();\n/* harmony default export */ __webpack_exports__[\"default\"] = (LoggingControl);\n\n\n/***/ }),\n\n/***/ \"./src/utils/polyfill.js\":\n/*!*******************************!*\\\n !*** ./src/utils/polyfill.js ***!\n \\*******************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar Polyfill = /** @class */ (function () {\n function Polyfill() {\n }\n Polyfill.install = function () {\n // ES6 Object.setPrototypeOf\n Object.setPrototypeOf = Object.setPrototypeOf || function (obj, proto) {\n obj.__proto__ = proto;\n return obj;\n };\n // ES6 Object.assign\n Object.assign = Object.assign || function (target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n var output = Object(target);\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n if (source !== undefined && source !== null) {\n for (var key in source) {\n if (source.hasOwnProperty(key)) {\n output[key] = source[key];\n }\n }\n }\n }\n return output;\n };\n // ES6 Promise (missing support in IE11)\n if (typeof self.Promise !== 'function') {\n __webpack_require__(/*! es6-promise */ \"./node_modules/es6-promise/dist/es6-promise.js\").polyfill();\n }\n };\n return Polyfill;\n}());\nPolyfill.install();\n/* harmony default export */ __webpack_exports__[\"default\"] = (Polyfill);\n\n\n/***/ }),\n\n/***/ \"./src/utils/utf8-conv.js\":\n/*!********************************!*\\\n !*** ./src/utils/utf8-conv.js ***!\n \\********************************/\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/*\n * Copyright (C) 2016 Bilibili. All Rights Reserved.\n *\n * This file is derived from C++ project libWinTF8 (https://github.com/m13253/libWinTF8)\n * @author zheng qian <xqq@xqq.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction checkContinuation(uint8array, start, checkLength) {\n var array = uint8array;\n if (start + checkLength < array.length) {\n while (checkLength--) {\n if ((array[++start] & 0xC0) !== 0x80)\n return false;\n }\n return true;\n }\n else {\n return false;\n }\n}\nfunction decodeUTF8(uint8array) {\n var out = [];\n var input = uint8array;\n var i = 0;\n var length = uint8array.length;\n while (i < length) {\n if (input[i] < 0x80) {\n out.push(String.fromCharCode(input[i]));\n ++i;\n continue;\n }\n else if (input[i] < 0xC0) {\n // fallthrough\n }\n else if (input[i] < 0xE0) {\n if (checkContinuation(input, i, 1)) {\n var ucs4 = (input[i] & 0x1F) << 6 | (input[i + 1] & 0x3F);\n if (ucs4 >= 0x80) {\n out.push(String.fromCharCode(ucs4 & 0xFFFF));\n i += 2;\n continue;\n }\n }\n }\n else if (input[i] < 0xF0) {\n if (checkContinuation(input, i, 2)) {\n var ucs4 = (input[i] & 0xF) << 12 | (input[i + 1] & 0x3F) << 6 | input[i + 2] & 0x3F;\n if (ucs4 >= 0x800 && (ucs4 & 0xF800) !== 0xD800) {\n out.push(String.fromCharCode(ucs4 & 0xFFFF));\n i += 3;\n continue;\n }\n }\n }\n else if (input[i] < 0xF8) {\n if (checkContinuation(input, i, 3)) {\n var ucs4 = (input[i] & 0x7) << 18 | (input[i + 1] & 0x3F) << 12\n | (input[i + 2] & 0x3F) << 6 | (input[i + 3] & 0x3F);\n if (ucs4 > 0x10000 && ucs4 < 0x110000) {\n ucs4 -= 0x10000;\n out.push(String.fromCharCode((ucs4 >>> 10) | 0xD800));\n out.push(String.fromCharCode((ucs4 & 0x3FF) | 0xDC00));\n i += 4;\n continue;\n }\n }\n }\n out.push(String.fromCharCode(0xFFFD));\n ++i;\n }\n return out.join('');\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (decodeUTF8);\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = __webpack_modules__;\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/global */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.g = (function() {\n/******/ \t\t\tif (typeof globalThis === 'object') return globalThis;\n/******/ \t\t\ttry {\n/******/ \t\t\t\treturn this || new Function('return this')();\n/******/ \t\t\t} catch (e) {\n/******/ \t\t\t\tif (typeof window === 'object') return window;\n/******/ \t\t\t}\n/******/ \t\t})();\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t!function() {\n/******/ \t\t// define __esModule on exports\n/******/ \t\t__webpack_require__.r = function(exports) {\n/******/ \t\t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t\t}\n/******/ \t\t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/************************************************************************/\n/******/ \t\n/******/ \t// module factories are used so entry inlining is disabled\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \tvar __webpack_exports__ = __webpack_require__(\"./src/index.js\");\n/******/ \t\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});\n//# sourceMappingURL=flv.js.map"],"names":["root","factory","module","__webpack_modules__","__unused_webpack_exports","__webpack_require__","global","objectOrFunction","x","type","isFunction","_isArray","isArray","len","vertxNext","customSchedulerFn","asap","callback","arg","queue","flush","scheduleFlush","setScheduler","scheduleFn","setAsap","asapFn","browserWindow","browserGlobal","BrowserMutationObserver","isNode","isWorker","useNextTick","useVertxTimer","useSetTimeout","useMutationObserver","iterations","observer","node","useMessageChannel","channel","globalSetTimeout","i","attemptVertx","vertx","then","onFulfillment","onRejection","parent","child","noop","PROMISE_ID","makePromise","_state","invokeCallback","subscribe","resolve$1","object","Constructor","promise","resolve","PENDING","FULFILLED","REJECTED","selfFulfillment","cannotReturnOwn","tryThen","then$$1","value","fulfillmentHandler","rejectionHandler","e","handleForeignThenable","thenable","sealed","error","fulfill","reason","reject","handleOwnThenable","handleMaybeThenable","maybeThenable","publishRejection","publish","_subscribers","length","subscribers","settled","detail","hasCallback","succeeded","initializePromise","resolver","id","nextId","validationError","Enumerator","input","entry","c","resolve$$1","_then","didError","Promise$1","state","enumerator","all","entries","race","_","reject$1","needsResolver","needsNew","Promise","constructor","polyfill","local","P","promiseToString","R","ReflectApply","target","receiver","args","ReflectOwnKeys","ProcessEmitWarning","warning","NumberIsNaN","EventEmitter","once","defaultMaxListeners","checkListener","listener","n","_getMaxListeners","that","doError","events","er","err","handler","listeners","arrayClone","_addListener","prepend","m","existing","w","onceWrapper","_onceWrap","wrapped","list","position","originalListener","spliceOne","keys","key","_listeners","unwrap","evlistener","unwrapListeners","emitter","listenerCount","arr","copy","index","ret","name","errorListener","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","flags","wrapListener","webpackBootstrapFunc","modules","installedModules","__nested_webpack_require_164__","moduleId","exports","getter","property","f","moduleNameReqExp","dependencyRegExp","quoteRegExp","str","isNumeric","getModuleDependencies","sources","queueName","retval","fnString","wrapperSignature","webpackRequireName","re","match","j","hasValuesInQueues","queues","hasValues","getRequiredModules","modulesQueue","requiredModules","seenModules","moduleToCheck","newModules","newModulesKeys","options","src","entryModule","blob","URL","workerUrl","worker","__unused_webpack_module","__webpack_exports__","defaultConfig","createDefaultConfig","_io_io_controller_js__WEBPACK_IMPORTED_MODULE_0__","_config_js__WEBPACK_IMPORTED_MODULE_1__","Features","ioctl","loaderType","mimeType","canPlay","features","MediaInfo","audioInfoComplete","videoInfoComplete","milliseconds","table","keyframeIdx","idx","last","mid","lbound","ubound","SampleInfo","MediaSegmentInfo","IDRSampleList","MediaSegmentInfoList","dts","pts","duration","originalDts","isSync","sampleInfo","syncPoints","originalBeginDts","mediaSegmentInfo","msi","lastAppendIdx","insertIdx","segment","segmentIdx","events__WEBPACK_IMPORTED_MODULE_0__","events__WEBPACK_IMPORTED_MODULE_0___default","_utils_logger_js__WEBPACK_IMPORTED_MODULE_1__","_utils_browser_js__WEBPACK_IMPORTED_MODULE_2__","_mse_events_js__WEBPACK_IMPORTED_MODULE_3__","_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_5__","MSEController","config","event","mediaElement","ms","ps","sb","initSegment","deferred","is","firstInitSegment","mediaSegment","seconds","start","end","lastInitSegment","currentTime","buffered","doRemove","removeEnd","current","ranges","range","pendingSegments","currentOffset","targetOffset","delta","pendings","prr","MSEEvents","webworkify_webpack__WEBPACK_IMPORTED_MODULE_1__","webworkify_webpack__WEBPACK_IMPORTED_MODULE_1___default","_utils_logger_js__WEBPACK_IMPORTED_MODULE_2__","_utils_logging_control_js__WEBPACK_IMPORTED_MODULE_3__","_transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_4__","_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__","_media_info_js__WEBPACK_IMPORTED_MODULE_6__","Transmuxer","mediaDataSource","ctl","_this","mediaInfo","metadata","data","statisticsInfo","info","message","_media_info_js__WEBPACK_IMPORTED_MODULE_3__","_demux_flv_demuxer_js__WEBPACK_IMPORTED_MODULE_4__","_remux_mp4_remuxer_js__WEBPACK_IMPORTED_MODULE_5__","_demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_6__","_io_io_controller_js__WEBPACK_IMPORTED_MODULE_7__","_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_8__","TransmuxingController","totalDuration","segmentIndex","optionalFrom","dataSource","targetSegmentIndex","segmentInfo","keyframe","targetSegmentInfo","segments","byteStart","probeData","consumed","mds","extraData","nextSegmentIndex","redirectedURL","seekpoint","exportInfo","TransmuxingEvents","_utils_logging_control_js__WEBPACK_IMPORTED_MODULE_0__","_utils_polyfill_js__WEBPACK_IMPORTED_MODULE_1__","_transmuxing_controller_js__WEBPACK_IMPORTED_MODULE_2__","_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_3__","TransmuxingWorker","self","controller","logcatListener","onLogcatCallback","onIOError","onDemuxError","onInitSegment","onMediaSegment","onLoadingComplete","onRecoveredEarlyEof","onMediaInfo","onMetaDataArrived","onScriptDataArrived","onStatisticsInfo","onRecommendSeekpoint","obj","statInfo","_utils_logger_js__WEBPACK_IMPORTED_MODULE_0__","_utils_utf8_conv_js__WEBPACK_IMPORTED_MODULE_1__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_2__","le","buf","AMF","arrayBuffer","dataOffset","dataSize","name_1","isObjectEnd","v","timestamp","localTimeOffset","offset","objectEnd","b","amfstr","terminal","amfobj","marker","amfvar","strictArrayLength","val","date","amfLongStr","DemuxErrors","_utils_exception_js__WEBPACK_IMPORTED_MODULE_0__","ExpGolomb","uint8array","buffer_bytes_left","bytes_read","word","bits","result_1","result","bits_need_left","bits_read_next","result2","zero_count","leading_zeros","_amf_parser_js__WEBPACK_IMPORTED_MODULE_1__","_sps_parser_js__WEBPACK_IMPORTED_MODULE_2__","_demux_errors_js__WEBPACK_IMPORTED_MODULE_3__","_core_media_info_js__WEBPACK_IMPORTED_MODULE_4__","ReadBig32","array","FLVDemuxer","buffer","mismatch","hasAudio","hasVideo","loader","base","chunk","prevTagSize0","tagType","ts2","ts1","ts0","ts3","streamId","prevTagSize","scriptData","onMetaData","fps_num","fps","keyframes","times","filepositions","time","tagTimestamp","soundSpec","soundFormat","soundRate","soundRateIndex","soundType","meta","track","aacData","misc","mi","aacSample","mp3Sample","audioObjectType","originalAudioObjectType","samplingIndex","extensionSamplingIndex","samplingFrequence","channelConfig","userAgent","requestHeader","ver","layer","bitrate_index","sampling_freq_index","channel_mode","channel_count","sample_rate","bit_rate","codec","tagPosition","spec","frameType","codecId","packetType","cts_unsigned","cts","version","avcProfile","spsCount","sps","fps_den","codecArray","codecString","h","ppsCount","units","lengthSize","naluSize","unitType","unit","avcSample","_exp_golomb_js__WEBPACK_IMPORTED_MODULE_0__","SPSParser","src_length","dst","dst_idx","rbsp","gb","profile_idc","level_idc","profile_string","level_string","chroma_format_idc","chroma_format","chroma_format_table","bit_depth","scaling_list_count","pic_order_cnt_type","num_ref_frames_in_pic_order_cnt_cycle","ref_frames","pic_width_in_mbs_minus1","pic_height_in_map_units_minus1","frame_mbs_only_flag","frame_crop_left_offset","frame_crop_right_offset","frame_crop_top_offset","frame_crop_bottom_offset","frame_cropping_flag","sar_width","sar_height","fps_fixed","vui_parameters_present_flag","aspect_ratio_idc","sar_w_table","sar_h_table","num_units_in_tick","time_scale","sarScale","crop_unit_x","crop_unit_y","sub_wc","sub_hc","codec_width","codec_height","present_width","count","last_scale","next_scale","delta_scale","chroma","_utils_polyfill_js__WEBPACK_IMPORTED_MODULE_0__","_core_features_js__WEBPACK_IMPORTED_MODULE_1__","_io_loader_js__WEBPACK_IMPORTED_MODULE_2__","_player_flv_player_js__WEBPACK_IMPORTED_MODULE_3__","_player_native_player_js__WEBPACK_IMPORTED_MODULE_4__","_player_player_events_js__WEBPACK_IMPORTED_MODULE_5__","_player_player_errors_js__WEBPACK_IMPORTED_MODULE_6__","_utils_logging_control_js__WEBPACK_IMPORTED_MODULE_7__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_8__","createPlayer","optionalConfig","isSupported","getFeatureList","flvjs","_utils_browser_js__WEBPACK_IMPORTED_MODULE_0__","_loader_js__WEBPACK_IMPORTED_MODULE_1__","__extends","extendStatics","d","p","__","FetchStreamLoader","_super","seekHandler","isWorkWellEdge","browserNotBlacklisted","sourceURL","seekConfig","headers","configHeaders","params","res","lengthHeader","reader","_speed_sampler_js__WEBPACK_IMPORTED_MODULE_1__","_loader_js__WEBPACK_IMPORTED_MODULE_2__","_fetch_stream_loader_js__WEBPACK_IMPORTED_MODULE_3__","_xhr_moz_chunked_loader_js__WEBPACK_IMPORTED_MODULE_4__","_xhr_range_loader_js__WEBPACK_IMPORTED_MODULE_5__","_websocket_loader_js__WEBPACK_IMPORTED_MODULE_6__","_range_seek_handler_js__WEBPACK_IMPORTED_MODULE_7__","_param_seek_handler_js__WEBPACK_IMPORTED_MODULE_8__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_9__","IOController","paramStart","paramEnd","bytes","dropUnconsumed","requestRange","url","expectedBytes","bufferNewSize","newBuffer","stashOldArray","stashNewArray","normalized","stashSizeKB","bufferSize","chunks","contentLength","receivedLength","KBps","stashArray","remainArray","remain","from","to","nextFrom","LoaderStatus","LoaderErrors","BaseLoader","typeName","ParamSeekHandler","baseUrl","needAnd","seekedURL","baseURL","queryIndex","resultParams","pairs","pair","requireAnd","RangeSeekHandler","zeroStart","param","SpeedSampler","durationSeconds","_loader_js__WEBPACK_IMPORTED_MODULE_0__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_1__","WebSocketLoader","ws","reader_1","arraybuffer","MozChunkedLoader","xhr","_utils_exception_js__WEBPACK_IMPORTED_MODULE_3__","RangeLoader","useRefTotalLength","chunkSize","openNextRange","total","reportComplete","_player_events_js__WEBPACK_IMPORTED_MODULE_3__","_core_transmuxer_js__WEBPACK_IMPORTED_MODULE_4__","_core_transmuxing_events_js__WEBPACK_IMPORTED_MODULE_5__","_core_mse_controller_js__WEBPACK_IMPORTED_MODULE_6__","_core_mse_events_js__WEBPACK_IMPORTED_MODULE_7__","_player_errors_js__WEBPACK_IMPORTED_MODULE_8__","_config_js__WEBPACK_IMPORTED_MODULE_9__","_utils_exception_js__WEBPACK_IMPORTED_MODULE_10__","FlvPlayer","chromeNeedIDRFix","muted","hasQualityInfo","decoded","dropped","quality","currentRangeEnd","needResume","directSeek","directSeekBegin","directSeekBeginTime","videoBeginTime","idr","stalled","media","_player_events_js__WEBPACK_IMPORTED_MODULE_1__","_config_js__WEBPACK_IMPORTED_MODULE_2__","NativePlayer","mediaPrefix","ErrorTypes","ErrorDetails","_io_loader_js__WEBPACK_IMPORTED_MODULE_0__","_demux_demux_errors_js__WEBPACK_IMPORTED_MODULE_1__","PlayerEvents","AAC","channelCount","MP4","constants","size","datas","arrayCount","ftyp","moov","mvhd","trak","mvex","timescale","trackId","width","height","xmhd","sampleRate","configSize","avcc","baseMediaDecodeTime","sequenceNumber","tfhd","tfdt","sdtp","trun","samples","sampleCount","_mp4_generator_js__WEBPACK_IMPORTED_MODULE_1__","_aac_silent_js__WEBPACK_IMPORTED_MODULE_2__","_utils_browser_js__WEBPACK_IMPORTED_MODULE_3__","_core_media_segment_info_js__WEBPACK_IMPORTED_MODULE_4__","MP4Remuxer","producer","audioTrack","videoTrack","metabox","container","videoSample","audioSample","force","dtsCorrection","firstDts","lastDts","refSampleDuration","mpegRawTrack","firstSegmentAfterSeek","insertPrefixSilentFrame","mdatbox","mdatBytes","lastSample","sample","firstSampleOriginalDts","lastSample_1","distance","expectedDts","firstSampleDts","videoSegment","silentUnit","silentFrameDuration","mp4Samples","needFillSilentFrames","silentFrames","sampleDuration","curRefDts","maxAudioFramesDrift","frameCount","intDts","intDuration","frame","nextDts","latest","moofbox","firstPts","lastPts","lastSample_2","isKeyframe","syncPoint","moof","mdat","Browser","detect","ua","platform_match","matched","browser","versionArray","msie","msedge","opera","android","RuntimeException","IllegalStateException","InvalidArgumentException","NotImplementedException","Log","tag","msg","_logger_js__WEBPACK_IMPORTED_MODULE_1__","LoggingControl","enable","Polyfill","proto","output","source","checkContinuation","checkLength","decodeUTF8","out","ucs4","__webpack_module_cache__","cachedModule","definition","prop"],"mappings":"oeAAC,SAA0CA,GAAMC,EAAS,CAExDC,GAAA,QAAiBD,GAOlB,GAAE,KAAM,UAAW,CACpB,OAAiB,UAAW,CAClB,IAAIE,GAAuB,CAE/B,iDAIC,SAASD,EAAQE,EAA0BC,EAAqB,CAEvE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOC,SAAUC,EAAQL,EAAS,CAChBC,EAAO,QAAUD,EAAO,CAEnC,GAAC,KAAO,UAAY,CAEjB,SAASM,EAAiBC,EAAG,CACzB,IAAIC,EA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j9zfbRBtMB5+zFBr+ifZ2+ZahmLpVdijuw1eWManE6Yr5yOFJrEq+vmzbJxLCVl/p0ejfZkxXDoswwDr9seOsBo+GwRR9YEXwk33oLdF8XE3XOUnl39dWPwme2xlRc60yorI5h3ML5zF26HGNwMLLu9vOBva2V8s8vcHRPHpXlR0hNMWA70+/06qjEqVLhXuUObvoG6JW9Y8fv+5vty0XrLcnLnIpiuui2L2oPNUdI4ZYYP1MwkiThdjpxNjVbhbqG9kF2xz/GmsP3vF5ZcmyCOeLIU5Hxc+SivDs6vycAgIof/yTD5Od3c2Bxfpk3O0vkVrdrYJeqhABIgqAGy7q6oOIPrACu2Yv9Kh1dKXHHD576Ltv3BPC/lPt+MfkB4L+09hECA86AmgAAAABJRU5ErkJggg==",o=Object.freeze(Object.defineProperty({__proto__:null,default:e},Symbol.toStringTag,{value:"Module"})),t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAdCAYAAADLnm6HAAACo0lEQVRIiWP4//8/Bv797x9L/JGnC0VX3nwdfvDJyo+//vJhU4cPg/SA9IqsuPkaZBbITGzqGUEEOlh492NCwtFn82HCVqKcx7a7yHnysTJ9wlCMBXz6/Y/Pc8+j7cdef7eCyS6wlkqMV+ZfgK6aCZsBf///RxEHGQQyEGQwOZaDwJ///1mwqcfqgBgl/iUgX2NzxMdf/wRItRxkVqwS/yJserBGAZJhH4+9/o4iDjJsm7OcNz8b0wciLWfY5iwniK4ewwG//v1nm3HzfcbyB58ir7z/qfPlzz8eXD4lB/CwMH3REWS/EqnAtzxDXXAGGxPjL7gDnn77I+2z7/GWC+9+GFDTUlzAQIjjwhYnWV9pLpYnjD///mM23/Zg3YV3P/zoYTkM6Aty7DvppeDOLBaZlzH/zscEBgYGTno64OWPPwJinMwfGS223X9x4vV3UViO8JTmYZhrJckgyYk115ANnn//w5B87DnD9qdfYEb8txDlvMfItvj6/1//EDnhWagq1S2HAZAjpFbfhvPZmRkZmJAtBwFaWY7N7J9//2MviOgJCDoAFGegYANhpPijmnqCDgAlHFDcwRIRtdUTdADIIGxsaqkf/GkAOeVKEJFDSFVP0AFzrCTBBklzsYALKGqrZ2RYeA2lIPgfp0lQEyWAcdF10kKA1mDUAUxsTIwoAsTkXXLBCzSzeViYGJiMhDmeIgumHHuOoZAa4Ok3zJJRR5D9CePEa2/T80+/bGVgYBCmmdexgzcTTcUrmNLVBGfrC3IcoLPlDHqC7PvT1QTnM7EzM/7b6iybbyDEcRpUDNDYXpD5P/QFOU5uc5YrAtmN3CxnnX7zfcySex/Tr3/8pfv1zz8uatrMzcL0TZOf7XyMEv+kTHXBdWxMjH8YGBgYAIzrkATFPJseAAAAAElFTkSuQmCC",g=Object.freeze(Object.defineProperty({__proto__:null,default:t},Symbol.toStringTag,{value:"Module"})),c="/assets/ipfs.ab16cf8b.png",n=Object.freeze(Object.defineProperty({__proto__:null,default:c},Symbol.toStringTag,{value:"Module"})),l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAbklEQVQokZ2SAQrAIAhFdexIef8DdCjHjy3CtJUfoiDfS0hWVUJEpB1qrUxO7H0Hv9iCSDiBkcCGSyk++ZP7tR5BIkJX5jWkg7CkwJ12R/lRq6M8BGFfte+CIxDB7TtWLUVJDwBh5ABj31mtVpUe1CpVNrSPwE8AAAAASUVORK5CYII=",b=Object.freeze(Object.defineProperty({__proto__:null,default:l},Symbol.toStringTag,{value:"Module"})),I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAaCAYAAADWm14/AAAEEklEQVRIibVWa2wUVRS+c+fO7Oyjj20X2mZbJFtq0Y2kFR9AabHYlkIEpQmkVK2abX/wB41GEwmGaIw1YmKKiP5QDBiEQJrWFUmp2hoLzdKQaguo2dZ2IcWyZVvWlmV2dh7X3Elrtvtypy7fn8nce+75vpxzzz2HwhiDVEBUgO7EsOhwjon1f/iVh0Iy1hWY4GhVPjrreJD9aKmemginGZqSH7Fn0YOqAAkD5uSw6Hjufu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M4cTXbaEAsJxfVax/TgubR3wKY+5/bLdexdbpwVsITfaxFCzZJSyZUC33QwHy/JQ9+qldB+igKiVWAUA4B/1Z6Qqz1aW0wAAAABJRU5ErkJggg==",i=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"})),d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEUAAADAwMD//wCAgAD/AACAgICAAID///8AAAAAgAAAAICAAACWB8Y1AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAHdElNRQfkBAIECRtCJkcGAAABBUlEQVQoz6VQQWrDQAzcmO3dNht8NYl7D3mBN0h3LyjgBxR6NiQoV5+qH+QJ/UKfV2ntlqa30gGzntnRSCvn/oPNvn4UfNc9PwhFXZ8Ov6rq0/qzhd5CnDuWmQdA1KPr3M4u3BMQRT2rfelbEwgB1FE63xZ24eGFMAaCvmg3u9WgH2IsenN4YwoCJcVhMZwrraBBBe1ChA0rgjlyJPACTc4CJZ5GScwXwsF6qGEUEeYJyOaEyJNyuWtNTsHINxmTvDEDJXMkvs0sJmB+c1DHuxa9agYMuQtf561IY13yIFDxh8isBuyXyVJzHc86KcK6P4g6+hQAyq/Vkj0W8JvrdiP+pH/FJ3NQTx9FLgPMAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA0LTAyVDA0OjA5OjI3KzAwOjAw2Xo23AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNC0wMlQwNDowOToyNyswMDowMKgnjmAAAAAASUVORK5CYII=",a=Object.freeze(Object.defineProperty({__proto__:null,default:d},Symbol.toStringTag,{value:"Module"})),D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEUAAADAwMD//wCAgAD/AACAgICAAID///8AAAAAgAAAAICAAACWB8Y1AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAHdElNRQfkBAIECRtCJkcGAAABBUlEQVQoz6VQQWrDQAzcmO3dNht8NYl7D3mBN0h3LyjgBxR6NiQoV5+qH+QJ/UKfV2ntlqa30gGzntnRSCvn/oPNvn4UfNc9PwhFXZ8Ov6rq0/qzhd5CnDuWmQdA1KPr3M4u3BMQRT2rfelbEwgB1FE63xZ24eGFMAaCvmg3u9WgH2IsenN4YwoCJcVhMZwrraBBBe1ChA0rgjlyJPACTc4CJZ5GScwXwsF6qGEUEeYJyOaEyJNyuWtNTsHINxmTvDEDJXMkvs0sJmB+c1DHuxa9agYMuQtf561IY13yIFDxh8isBuyXyVJzHc86KcK6P4g6+hQAyq/Vkj0W8JvrdiP+pH/FJ3NQTx9FLgPMAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA0LTAyVDA0OjA5OjI3KzAwOjAw2Xo23AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNC0wMlQwNDowOToyNyswMDowMKgnjmAAAAAASUVORK5CYII=",B=Object.freeze(Object.defineProperty({__proto__:null,default:D},Symbol.toStringTag,{value:"Module"})),s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAAAy0lEQVQokaVSsQ3CMBA8AgOYCWIKRGsJBkhBjZSWBego2IOCHikrZACkMACSfwRnAtJShEfvdMEWBE566ez/P//LN2JmeDTNFEQrz6/XNULIsou/NeYGpe6eiwAXxY6FDgnp8cza+eDmLlq2dpHAuW1w3G9AtElAtI+WOid7x7Ly+CEB8IwKpClQVUBZAlqHKlgE2o/DKhXLeIFHtLGugTzv1pB13jGewJgTgGNQwBjxR3wyrc/yjbMfv5HFAn8bKWxloqU/99G3MoAXNsu/ZOkd4H0AAAAASUVORK5CYII=",w=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"})),C="/assets/zcool.66d12985.png",M=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"}));function j(A){return A.image&&A.image!=="default"?`https://patchyvideo.com/be/images/covers/${A.image}`:"https://patchyvideo.com/be/images/covers/default"}const m=Object.assign({"../assets/WebIcons/acfun.png":o,"../assets/WebIcons/bilibili.png":g,"../assets/WebIcons/ipfs.png":n,"../assets/WebIcons/nicovideo.png":b,"../assets/WebIcons/twitter.png":i,"../assets/WebIcons/weibo-mobile.png":a,"../assets/WebIcons/weibo-pc.png":B,"../assets/WebIcons/youtube.png":w,"../assets/WebIcons/zcool.png":M});function Z(A){return m[`../assets/WebIcons/${A}.png`].default}export{j as a,Z as g}; +//# sourceMappingURL=imageUrl.5afb7f35.js.map diff --git a/assets/imageUrl.5afb7f35.js.map b/assets/imageUrl.5afb7f35.js.map new file mode 100644 index 0000000000..66cb68d6a0 --- /dev/null +++ b/assets/imageUrl.5afb7f35.js.map @@ -0,0 +1 @@ +{"version":3,"file":"imageUrl.5afb7f35.js","sources":["../../packages/common/assets/WebIcons/acfun.png","../../packages/common/assets/WebIcons/bilibili.png","../../packages/common/assets/WebIcons/ipfs.png","../../packages/common/assets/WebIcons/nicovideo.png","../../packages/common/assets/WebIcons/twitter.png","../../packages/common/assets/WebIcons/weibo-mobile.png","../../packages/common/assets/WebIcons/weibo-pc.png","../../packages/common/assets/WebIcons/youtube.png","../../packages/common/assets/WebIcons/zcool.png","../../packages/common/libs/imageUrl.ts"],"sourcesContent":["export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAABJ0AAASdAHeZh94AAAF8WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6e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Ev+kTHXBdWxMjH8YGBgYAIzrkATFPJseAAAAAElFTkSuQmCC\"","export default \"__VITE_ASSET__ab16cf8b__\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAbklEQVQokZ2SAQrAIAhFdexIef8DdCjHjy3CtJUfoiDfS0hWVUJEpB1qrUxO7H0Hv9iCSDiBkcCGSyk++ZP7tR5BIkJX5jWkg7CkwJ12R/lRq6M8BGFfte+CIxDB7TtWLUVJDwBh5ABj31mtVpUe1CpVNrSPwE8AAAAASUVORK5CYII=\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAaCAYAAADWm14/AAAEEklEQVRIibVWa2wUVRS+c+fO7Oyjj20X2mZbJFtq0Y2kFR9AabHYlkIEpQmkVK2abX/wB41GEwmGaIw1YmKKiP5QDBiEQJrWFUmp2hoLzdKQaguo2dZ2IcWyZVvWlmV2dh7X3Elrtvtypy7fn8nce+75vpxzzz2HwhiDVEBUgO7EsOhwjon1f/iVh0Iy1hWY4GhVPjrreJD9aKmemginGZqSH7Fn0YOqAAkD5uSw6HjufuazxWjxzCormnr4DrdfscfaNyJq5v21ut3rclHPT39Jte2jYoNZR/k+qdDvQsSge1zastcV/FRSMHpxJXtIC/lUEOfs6uK/vxFQlsezCUg4/eXzweMk2CTe2RyldD5lXEb2VAF9N+VK8t3fL7T6QyDrlVXsO8kKaBkQWhKRz0OZy/TyNAjefVy39+cJqYiXwNNqCvb0Bo93jIkN88a1y1D7B2u5pkwdNZ3I6UwIZ5acujMpKYBJVjBLAxCSgbDSDH9r22TYCMmimaNuhRt1Xpe2VzkDV07/Kb6EAYDxnLm88gYt5AQhGQB7Frz6dbVhcxpL+VXnjy6h+yINJ3mc99qF4JEaZ+DXkyOig5ewMdLGF8Q5WsgJHjDDwbZaQ4WFo7zkX01BSAa68vY7wxN3cUG8g3pEBTZa6e/W5KLeUgt0FZig59KkXObo4Tu0CCjLo384UW2onv//9x3o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F0ZQAyMDIwLTA0LTAyVDA0OjA5OjI3KzAwOjAw2Xo23AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNC0wMlQwNDowOToyNyswMDowMKgnjmAAAAAASUVORK5CYII=\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAAAy0lEQVQokaVSsQ3CMBA8AgOYCWIKRGsJBkhBjZSWBego2IOCHikrZACkMACSfwRnAtJShEfvdMEWBE566ez/P//LN2JmeDTNFEQrz6/XNULIsou/NeYGpe6eiwAXxY6FDgnp8cza+eDmLlq2dpHAuW1w3G9AtElAtI+WOid7x7Ly+CEB8IwKpClQVUBZAlqHKlgE2o/DKhXLeIFHtLGugTzv1pB13jGewJgTgGNQwBjxR3wyrc/yjbMfv5HFAn8bKWxloqU/99G3MoAXNsu/ZOkd4H0AAAAASUVORK5CYII=\"","export default \"__VITE_ASSET__66d12985__\"","export interface CoverImageMeta {\n image?: string | null\n}\n\nexport function getCoverImage(meta: CoverImageMeta): string {\n if (meta.image && meta.image !== 'default')\n return `https://patchyvideo.com/be/images/covers/${meta.image}`\n return 'https://patchyvideo.com/be/images/covers/default'\n}\n\nconst siteImages = import.meta.globEager('../assets/WebIcons/*.png')\nexport function getSiteImage(name: string): string {\n return siteImages[`../assets/WebIcons/${name}.png`].default\n}\n"],"names":["acfun","bilibili","ipfs","nicovideo","twitter","weiboMobile","weiboPc","youtube","zcool","getCoverImage","meta","siteImages","getSiteImage","name"],"mappings":"wCAAA,MAAeA,EAAA,4mJCAAC,EAAA,glCCAAC,EAAA,mICAAC,EAAA,gWCAAC,EAAA,4jDCAAC,EAAA,w3BCAAC,EAAA,w3BCAAC,EAAA,4dCAAC,EAAA,oICIR,SAASC,EAAcC,EAA8B,CACtD,OAAAA,EAAK,OAASA,EAAK,QAAU,UACxB,4CAA4CA,EAAK,QACnD,kDACT,CAEA,MAAMC,gVACC,SAASC,EAAaC,EAAsB,CAC1C,OAAAF,EAAW,sBAAsBE,SAAY,OACtD"} \ No newline at end of file diff --git a/assets/index.01b34437.js b/assets/index.01b34437.js new file mode 100644 index 0000000000..7eaf9c9899 --- /dev/null +++ b/assets/index.01b34437.js @@ -0,0 +1,2 @@ +import{d,t as c,e as s,f as h,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as m}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var v={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}},y=function(e,i,t){var r,n=v[e];return typeof n=="string"?r=n:i===1?r=n.one:r=n.other.replace("{{count}}",String(i)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"след "+r:"преди "+r:r},b={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},P={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},w={any:"{{date}} {{time}}"},W={date:d({formats:b,defaultWidth:"full"}),time:d({formats:P,defaultWidth:"full"}),dateTime:d({formats:w,defaultWidth:"any"})},l=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function p(a){var e=l[a];switch(a){case 0:case 3:case 6:return"'миналата "+e+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+e+" в' p"}}function f(a){var e=l[a];return a===2?"'във "+e+" в' p":"'в "+e+" в' p"}function k(a){var e=l[a];switch(a){case 0:case 3:case 6:return"'следващата "+e+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+e+" в' p"}}var M=function(e,i,t){var r=c(e),n=r.getUTCDay();return m(r,i,t)?f(n):p(n)},g=function(e,i,t){var r=c(e),n=r.getUTCDay();return m(r,i,t)?f(n):k(n)},x={lastWeek:M,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:g,other:"P"},D=function(e,i,t,r){var n=x[e];return typeof n=="function"?n(i,t,r):n},F={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},T={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},C={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},H={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},z={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function N(a){return a==="year"||a==="week"||a==="minute"||a==="second"}function X(a){return a==="quarter"}function o(a,e,i,t,r){var n=X(e)?r:N(e)?t:i;return a+"-"+n}var S=function(e,i){var t=Number(e),r=i==null?void 0:i.unit;if(t===0)return o(0,r,"ев","ева","ево");if(t%1e3===0)return o(t,r,"ен","на","но");if(t%100===0)return o(t,r,"тен","тна","тно");var n=t%100;if(n>20||n<10)switch(n%10){case 1:return o(t,r,"ви","ва","во");case 2:return o(t,r,"ри","ра","ро");case 7:case 8:return o(t,r,"ми","ма","мо")}return o(t,r,"ти","та","то")},E={ordinalNumber:S,era:s({values:F,defaultWidth:"wide"}),quarter:s({values:T,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:s({values:C,defaultWidth:"wide"}),day:s({values:H,defaultWidth:"wide"}),dayPeriod:s({values:z,defaultWidth:"wide"})},L=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,V=/\d+/i,q={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},R={any:[/^п/i,/^н/i]},Y={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},O={any:[/1/i,/2/i,/3/i,/4/i]},U={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},Q={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},A={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},I={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},j={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},B={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},G={ordinalNumber:h({matchPattern:L,parsePattern:V,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),quarter:u({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),day:u({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:B,defaultParseWidth:"any"})},ae={code:"bg",formatDistance:y,formatLong:W,formatRelative:D,localize:E,match:G,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{ae as default}; +//# sourceMappingURL=index.01b34437.js.map diff --git a/assets/index.01b34437.js.map b/assets/index.01b34437.js.map new file mode 100644 index 0000000000..7a3e88087d --- /dev/null +++ b/assets/index.01b34437.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.01b34437.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bg/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'по-малко от секунда',\n other: 'по-малко от {{count}} секунди'\n },\n xSeconds: {\n one: '1 секунда',\n other: '{{count}} секунди'\n },\n halfAMinute: 'половин минута',\n lessThanXMinutes: {\n one: 'по-малко от минута',\n other: 'по-малко от {{count}} минути'\n },\n xMinutes: {\n one: '1 минута',\n other: '{{count}} минути'\n },\n aboutXHours: {\n one: 'около час',\n other: 'около {{count}} часа'\n },\n xHours: {\n one: '1 час',\n other: '{{count}} часа'\n },\n xDays: {\n one: '1 ден',\n other: '{{count}} дни'\n },\n aboutXWeeks: {\n one: 'около седмица',\n other: 'около {{count}} седмици'\n },\n xWeeks: {\n one: '1 седмица',\n other: '{{count}} седмици'\n },\n aboutXMonths: {\n one: 'около месец',\n other: 'около {{count}} месеца'\n },\n xMonths: {\n one: '1 месец',\n other: '{{count}} месеца'\n },\n aboutXYears: {\n one: 'около година',\n other: 'около {{count}} години'\n },\n xYears: {\n one: '1 година',\n other: '{{count}} години'\n },\n overXYears: {\n one: 'над година',\n other: 'над {{count}} години'\n },\n almostXYears: {\n one: 'почти година',\n other: 'почти {{count}} години'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'след ' + result;\n } else {\n return 'преди ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, dd MMMM yyyy',\n long: 'dd MMMM yyyy',\n medium: 'dd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import toDate from \"../../../../toDate/index.js\";\nimport isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\n// Adapted from the `ru` translation\nvar weekdays = ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'];\n\nfunction lastWeek(day) {\n var weekday = weekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 6:\n return \"'миналата \" + weekday + \" в' p\";\n\n case 1:\n case 2:\n case 4:\n case 5:\n return \"'миналия \" + weekday + \" в' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = weekdays[day];\n\n if (day === 2\n /* Tue */\n ) {\n return \"'във \" + weekday + \" в' p\";\n } else {\n return \"'в \" + weekday + \" в' p\";\n }\n}\n\nfunction nextWeek(day) {\n var weekday = weekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 6:\n return \"'следващата \" + weekday + \" в' p\";\n\n case 1:\n case 2:\n case 4:\n case 5:\n return \"'следващия \" + weekday + \" в' p\";\n }\n}\n\nvar lastWeekFormatToken = function lastWeekFormatToken(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n};\n\nvar nextWeekFormatToken = function nextWeekFormatToken(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n};\n\nvar formatRelativeLocale = {\n lastWeek: lastWeekFormatToken,\n yesterday: \"'вчера в' p\",\n today: \"'днес в' p\",\n tomorrow: \"'утре в' p\",\n nextWeek: nextWeekFormatToken,\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['пр.н.е.', 'н.е.'],\n abbreviated: ['преди н. е.', 'н. е.'],\n wide: ['преди новата ера', 'новата ера']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-во тримес.', '2-ро тримес.', '3-то тримес.', '4-то тримес.'],\n wide: ['1-во тримесечие', '2-ро тримесечие', '3-то тримесечие', '4-то тримесечие']\n};\nvar monthValues = {\n abbreviated: ['яну', 'фев', 'мар', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'],\n wide: ['януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', 'ноември', 'декември']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'],\n short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],\n abbreviated: ['нед', 'пон', 'вто', 'сря', 'чет', 'пет', 'съб'],\n wide: ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота']\n};\nvar dayPeriodValues = {\n wide: {\n am: 'преди обяд',\n pm: 'след обяд',\n midnight: 'в полунощ',\n noon: 'на обяд',\n morning: 'сутринта',\n afternoon: 'следобед',\n evening: 'вечерта',\n night: 'през нощта'\n }\n};\n\nfunction isFeminine(unit) {\n return unit === 'year' || unit === 'week' || unit === 'minute' || unit === 'second';\n}\n\nfunction isNeuter(unit) {\n return unit === 'quarter';\n}\n\nfunction numberWithSuffix(number, unit, masculine, feminine, neuter) {\n var suffix = isNeuter(unit) ? neuter : isFeminine(unit) ? feminine : masculine;\n return number + '-' + suffix;\n}\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n\n if (number === 0) {\n return numberWithSuffix(0, unit, 'ев', 'ева', 'ево');\n } else if (number % 1000 === 0) {\n return numberWithSuffix(number, unit, 'ен', 'на', 'но');\n } else if (number % 100 === 0) {\n return numberWithSuffix(number, unit, 'тен', 'тна', 'тно');\n }\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return numberWithSuffix(number, unit, 'ви', 'ва', 'во');\n\n case 2:\n return numberWithSuffix(number, unit, 'ри', 'ра', 'ро');\n\n case 7:\n case 8:\n return numberWithSuffix(number, unit, 'ми', 'ма', 'мо');\n }\n }\n\n return numberWithSuffix(number, unit, 'ти', 'та', 'то');\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((пр)?н\\.?\\s?е\\.?)/i,\n abbreviated: /^((пр)?н\\.?\\s?е\\.?)/i,\n wide: /^(преди новата ера|новата ера|нова ера)/i\n};\nvar parseEraPatterns = {\n any: [/^п/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[врт]?o?)? тримес.?/i,\n wide: /^[1234](-?[врт]?о?)? тримесечие/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchDayPatterns = {\n narrow: /^[нпвсч]/i,\n short: /^(нд|пн|вт|ср|чт|пт|сб)/i,\n abbreviated: /^(нед|пон|вто|сря|чет|пет|съб)/i,\n wide: /^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[ъб]/i]\n};\nvar matchMonthPatterns = {\n abbreviated: /^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,\n wide: /^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i\n};\nvar parseMonthPatterns = {\n any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^юн/i, /^юл/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(преди о|след о|в по|на о|през|веч|сут|следо)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^преди о/i,\n pm: /^след о/i,\n midnight: /^в пол/i,\n noon: /^на об/i,\n morning: /^сут/i,\n afternoon: /^следо/i,\n evening: /^веч/i,\n night: /^през н/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Bulgarian locale.\n * @language Bulgarian\n * @iso-639-2 bul\n * @author Nikolay Stoynov [@arvigeus]{@link https://github.com/arvigeus}\n * @author Tsvetan Ovedenski [@fintara]{@link https://github.com/fintara}\n */\n\nvar locale = {\n code: 'bg',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","weekdays","lastWeek","day","weekday","thisWeek","nextWeek","lastWeekFormatToken","dirtyDate","baseDate","date","toDate","isSameUTCWeek","nextWeekFormatToken","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","isFeminine","unit","isNeuter","numberWithSuffix","number","masculine","feminine","neuter","suffix","ordinalNumber","dirtyNumber","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchDayPatterns","parseDayPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"gYAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,mBACR,EACD,YAAa,iBACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,YACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,wBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,kBACR,EACD,WAAY,CACV,IAAK,aACL,MAAO,sBACR,EACD,aAAc,CACZ,IAAK,eACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,QAAUC,EAEV,SAAWA,EAIfA,CACT,ECpFIE,EAAc,CAChB,KAAM,qBACN,KAAM,eACN,OAAQ,cACR,MAA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kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKM,EAAa,CAChB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWQ,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC9EIM,GAAS,CACX,KAAM,KACN,eAAgBhE,EAChB,WAAYS,EACZ,eAAgBgB,EAChB,SAAUmB,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.02584d69.js b/assets/index.02584d69.js new file mode 100644 index 0000000000..849120dfc0 --- /dev/null +++ b/assets/index.02584d69.js @@ -0,0 +1,2 @@ +import{f as a,a as m,l as e,m as o}from"./index.99dc73d2.js";import{d as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},i={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},c={code:"it-CH",formatDistance:a,formatLong:s,formatRelative:m,localize:e,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{c as default}; +//# sourceMappingURL=index.02584d69.js.map diff --git a/assets/index.02584d69.js.map b/assets/index.02584d69.js.map new file mode 100644 index 0000000000..1b0e0c0601 --- /dev/null +++ b/assets/index.02584d69.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.02584d69.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it-CH/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"../it/_lib/formatDistance/index.js\";\nimport formatRelative from \"../it/_lib/formatRelative/index.js\";\nimport localize from \"../it/_lib/localize/index.js\";\nimport match from \"../it/_lib/match/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Italian locale (Switzerland).\n * @language Italian\n * @iso-639-2 ita\n * @author Mike Peyer [@maic66]{@link https://github.com/maic66}\n */\n\nvar locale = {\n code: 'it-CH',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"0ZACA,IAAIA,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,oBACN,KAAM,oBACN,OAAQ,oBACR,MAAO,mBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EClBIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.0290b1e2.js b/assets/index.0290b1e2.js new file mode 100644 index 0000000000..1b71b50554 --- /dev/null +++ b/assets/index.0290b1e2.js @@ -0,0 +1,2 @@ +import{d as m,e as n,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}},l=function(a,o,e){var t,d=u[a];return typeof d=="string"?t=d:o===1?t=d.one:t=d.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"om "+t:t+" siden":t},f={full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},g={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},h={date:m({formats:f,defaultWidth:"full"}),time:m({formats:g,defaultWidth:"full"}),dateTime:m({formats:v,defaultWidth:"full"})},c={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"},b=function(a,o,e,t){return c[a]},p={narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},k={narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},w={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},M={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},y={narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},j=function(a,o){var e=Number(a);return e+"."},W={ordinalNumber:j,era:n({values:p,defaultWidth:"wide"}),quarter:n({values:k,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:P,defaultWidth:"wide"}),day:n({values:w,defaultWidth:"wide"}),dayPeriod:n({values:M,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"})},D=/^(\d+)(\.)?/i,F=/\d+/i,x={narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},H={any:[/^f/i,/^(v|e)/i]},z={narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},N={any:[/1/i,/2/i,/3/i,/4/i]},V={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i},X={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},C={narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},L={narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},S={narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},E={any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},K={ordinalNumber:s({matchPattern:D,parsePattern:F,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),quarter:i({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),day:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:S,defaultMatchWidth:"any",parsePatterns:E,defaultParseWidth:"any"})},_={code:"da",formatDistance:l,formatLong:h,formatRelative:b,localize:W,match:K,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{_ as default}; +//# sourceMappingURL=index.0290b1e2.js.map diff --git a/assets/index.0290b1e2.js.map b/assets/index.0290b1e2.js.map new file mode 100644 index 0000000000..23009a6820 --- /dev/null +++ b/assets/index.0290b1e2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.0290b1e2.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/da/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mindre end ét sekund',\n other: 'mindre end {{count}} sekunder'\n },\n xSeconds: {\n one: '1 sekund',\n other: '{{count}} sekunder'\n },\n halfAMinute: 'ét halvt minut',\n lessThanXMinutes: {\n one: 'mindre end ét minut',\n other: 'mindre end {{count}} minutter'\n },\n xMinutes: {\n one: '1 minut',\n other: '{{count}} minutter'\n },\n aboutXHours: {\n one: 'cirka 1 time',\n other: 'cirka {{count}} timer'\n },\n xHours: {\n one: '1 time',\n other: '{{count}} timer'\n },\n xDays: {\n one: '1 dag',\n other: '{{count}} dage'\n },\n aboutXWeeks: {\n one: 'cirka 1 uge',\n other: 'cirka {{count}} uger'\n },\n xWeeks: {\n one: '1 uge',\n other: '{{count}} uger'\n },\n aboutXMonths: {\n one: 'cirka 1 måned',\n other: 'cirka {{count}} måneder'\n },\n xMonths: {\n one: '1 måned',\n other: '{{count}} måneder'\n },\n aboutXYears: {\n one: 'cirka 1 år',\n other: 'cirka {{count}} år'\n },\n xYears: {\n one: '1 år',\n other: '{{count}} år'\n },\n overXYears: {\n one: 'over 1 år',\n other: 'over {{count}} år'\n },\n almostXYears: {\n one: 'næsten 1 år',\n other: 'næsten {{count}} år'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'om ' + result;\n } else {\n return result + ' siden';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE 'den' d. MMMM y\",\n long: 'd. MMMM y',\n medium: 'd. MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kl'. {{time}}\",\n long: \"{{date}} 'kl'. {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'sidste' eeee 'kl.' p\",\n yesterday: \"'i går kl.' p\",\n today: \"'i dag kl.' p\",\n tomorrow: \"'i morgen kl.' p\",\n nextWeek: \"'på' eeee 'kl.' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['fvt', 'vt'],\n abbreviated: ['f.v.t.', 'v.t.'],\n wide: ['før vesterlandsk tidsregning', 'vesterlandsk tidsregning']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. kvt.', '2. kvt.', '3. kvt.', '4. kvt.'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december']\n}; // Note that 'Days - abbreviated - Formatting' has periods at the end.\n// https://www.unicode.org/cldr/charts/32/summary/da.html#1760\n// This makes grammatical sense in danish, as most abbreviations have periods.\n\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],\n short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'],\n abbreviated: ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'],\n wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'morgen',\n afternoon: 'eftermiddag',\n evening: 'aften',\n night: 'nat'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'morgen',\n afternoon: 'eftermiddag',\n evening: 'aften',\n night: 'nat'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'morgen',\n afternoon: 'eftermiddag',\n evening: 'aften',\n night: 'nat'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'om morgenen',\n afternoon: 'om eftermiddagen',\n evening: 'om aftenen',\n night: 'om natten'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'om morgenen',\n afternoon: 'om eftermiddagen',\n evening: 'om aftenen',\n night: 'om natten'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnat',\n noon: 'middag',\n morning: 'om morgenen',\n afternoon: 'om eftermiddagen',\n evening: 'om aftenen',\n night: 'om natten'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(fKr|fvt|eKr|vt)/i,\n abbreviated: /^(f\\.Kr\\.?|f\\.v\\.t\\.?|e\\.Kr\\.?|v\\.t\\.)/i,\n wide: /^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i\n};\nvar parseEraPatterns = {\n any: [/^f/i, /^(v|e)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]. kvt\\./i,\n wide: /^[1234]\\.? kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,\n wide: /^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtofl]/i,\n short: /^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,\n abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,\n wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^o/i, /^t/i, /^f/i, /^l/i],\n any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /midnat/i,\n noon: /middag/i,\n morning: /morgen/i,\n afternoon: /eftermiddag/i,\n evening: /aften/i,\n night: /nat/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Danish locale.\n * @language Danish\n * @iso-639-2 dan\n * @author Mathias Wøbbe [@MathiasKandelborg]{@link https://github.com/MathiasKandelborg}\n * @author Anders B. Hansen [@Andersbiha]{@link https://github.com/Andersbiha}\n * @author [@kgram]{@link https://github.com/kgram}\n * @author [@stefanbugge]{@link https://github.com/stefanbugge}\n */\n\nvar locale = {\n code: 'da',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,uBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,oBACR,EACD,YAAa,iBACb,iBAAkB,CAChB,IAAK,sBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,oBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,yBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,aACL,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,WAAY,CACV,IAAK,YACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAERA,EAAS,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Aa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.05450fda.js b/assets/index.05450fda.js new file mode 100644 index 0000000000..a28b4aaf60 --- /dev/null +++ b/assets/index.05450fda.js @@ -0,0 +1,2 @@ +import{d as h,e as d,f as m,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:{one:"nas lugha na diog",other:"nas lugha na {{count}} diogan"},xSeconds:{one:"1 diog",two:"2 dhiog",twenty:"20 diog",other:"{{count}} diogan"},halfAMinute:"leth mhionaid",lessThanXMinutes:{one:"nas lugha na mionaid",other:"nas lugha na {{count}} mionaidean"},xMinutes:{one:"1 mionaid",two:"2 mhionaid",twenty:"20 mionaid",other:"{{count}} mionaidean"},aboutXHours:{one:"mu uair de thìde",other:"mu {{count}} uairean de thìde"},xHours:{one:"1 uair de thìde",two:"2 uair de thìde",twenty:"20 uair de thìde",other:"{{count}} uairean de thìde"},xDays:{one:"1 là",other:"{{count}} là"},aboutXWeeks:{one:"mu 1 seachdain",other:"mu {{count}} seachdainean"},xWeeks:{one:"1 seachdain",other:"{{count}} seachdainean"},aboutXMonths:{one:"mu mhìos",other:"mu {{count}} mìosan"},xMonths:{one:"1 mìos",other:"{{count}} mìosan"},aboutXYears:{one:"mu bhliadhna",other:"mu {{count}} bliadhnaichean"},xYears:{one:"1 bhliadhna",other:"{{count}} bliadhna"},overXYears:{one:"còrr is bliadhna",other:"còrr is {{count}} bliadhnaichean"},almostXYears:{one:"cha mhòr bliadhna",other:"cha mhòr {{count}} bliadhnaichean"}},l=function(a,e,i){var n,t=s[a];return typeof t=="string"?n=t:e===1?n=t.one:e===2&&!!t.two?n=t.two:e===20&&!!t.twenty?n=t.twenty:n=t.other.replace("{{count}}",String(e)),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"ann an "+n:"o chionn "+n:n},u={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'aig' {{time}}",long:"{{date}} 'aig' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:h({formats:u,defaultWidth:"full"}),time:h({formats:c,defaultWidth:"full"}),dateTime:h({formats:f,defaultWidth:"full"})},v={lastWeek:"'mu dheireadh' eeee 'aig' p",yesterday:"'an-dè aig' p",today:"'an-diugh aig' p",tomorrow:"'a-màireach aig' p",nextWeek:"eeee 'aig' p",other:"P"},b=function(a,e,i,n){return v[a]},w={narrow:["R","A"],abbreviated:["RC","AD"],wide:["ro Chrìosta","anno domini"]},y={narrow:["1","2","3","4"],abbreviated:["C1","C2","C3","C4"],wide:["a' chiad chairteal","an dàrna cairteal","an treas cairteal","an ceathramh cairteal"]},P={narrow:["F","G","M","G","C","Ò","I","L","S","D","S","D"],abbreviated:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],wide:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"]},p={narrow:["D","L","M","C","A","H","S"],short:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],abbreviated:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],wide:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"]},D={narrow:{am:"m",pm:"f",midnight:"m.o.",noon:"m.l.",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"},abbreviated:{am:"M.",pm:"F.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"},wide:{am:"m.",pm:"f.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"madainn",afternoon:"feasgar",evening:"feasgar",night:"oidhche"}},M={narrow:{am:"m",pm:"f",midnight:"m.o.",noon:"m.l.",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"},abbreviated:{am:"M.",pm:"F.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"},wide:{am:"m.",pm:"f.",midnight:"meadhan oidhche",noon:"meadhan là",morning:"sa mhadainn",afternoon:"feasgar",evening:"feasgar",night:"air an oidhche"}},W=function(a){var e=Number(a),i=e%100;if(i>20||i<10)switch(i%10){case 1:return e+"d";case 2:return e+"na"}return i===12?e+"na":e+"mh"},C={ordinalNumber:W,era:d({values:w,defaultWidth:"wide"}),quarter:d({values:y,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:d({values:P,defaultWidth:"wide"}),day:d({values:p,defaultWidth:"wide"}),dayPeriod:d({values:D,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},A=/^(\d+)(d|na|tr|mh)?/i,S=/\d+/i,F={narrow:/^(r|a)/i,abbreviated:/^(r\.?\s?c\.?|r\.?\s?a\.?\s?c\.?|a\.?\s?d\.?|a\.?\s?c\.?)/i,wide:/^(ro Chrìosta|ron aois choitchinn|anno domini|aois choitcheann)/i},k={any:[/^b/i,/^(a|c)/i]},L={narrow:/^[1234]/i,abbreviated:/^c[1234]/i,wide:/^[1234](cd|na|tr|mh)? cairteal/i},x={any:[/1/i,/2/i,/3/i,/4/i]},z={narrow:/^[fgmcòilsd]/i,abbreviated:/^(faoi|gear|màrt|gibl|cèit|ògmh|iuch|lùn|sult|dàmh|samh|dùbh)/i,wide:/^(am faoilleach|an gearran|am màrt|an giblean|an cèitean|an t-Ògmhios|an t-Iuchar|an lùnastal|an t-Sultain|an dàmhair|an t-Samhain|an dùbhlachd)/i},V={narrow:[/^f/i,/^g/i,/^m/i,/^g/i,/^c/i,/^ò/i,/^i/i,/^l/i,/^s/i,/^d/i,/^s/i,/^d/i],any:[/^fa/i,/^ge/i,/^mà/i,/^gi/i,/^c/i,/^ò/i,/^i/i,/^l/i,/^su/i,/^d/i,/^sa/i,/^d/i]},X={narrow:/^[dlmcahs]/i,short:/^(dò|lu|mà|ci|ar|ha|sa)/i,abbreviated:/^(did|dil|dim|dic|dia|dih|dis)/i,wide:/^(didòmhnaich|diluain|dimàirt|diciadain|diardaoin|dihaoine|disathairne)/i},N={narrow:[/^d/i,/^l/i,/^m/i,/^c/i,/^a/i,/^h/i,/^s/i],any:[/^d/i,/^l/i,/^m/i,/^c/i,/^a/i,/^h/i,/^s/i]},E={narrow:/^(a|p|mi|n|(san|aig) (madainn|feasgar|feasgar|oidhche))/i,any:/^([ap]\.?\s?m\.?|meadhan oidhche|meadhan là|(san|aig) (madainn|feasgar|feasgar|oidhche))/i},G={any:{am:/^m/i,pm:/^f/i,midnight:/^meadhan oidhche/i,noon:/^meadhan là/i,morning:/sa mhadainn/i,afternoon:/feasgar/i,evening:/feasgar/i,night:/air an oidhche/i}},R={ordinalNumber:m({matchPattern:A,parsePattern:S,valueCallback:function(a){return parseInt(a,10)}}),era:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:k,defaultParseWidth:"any"}),quarter:o({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:E,defaultMatchWidth:"any",parsePatterns:G,defaultParseWidth:"any"})},O={code:"gd",formatDistance:l,formatLong:g,formatRelative:b,localize:C,match:R,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.05450fda.js.map diff --git a/assets/index.05450fda.js.map b/assets/index.05450fda.js.map new file mode 100644 index 0000000000..4852d7ee4b --- /dev/null +++ b/assets/index.05450fda.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.05450fda.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gd/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'nas lugha na diog',\n other: 'nas lugha na {{count}} diogan'\n },\n xSeconds: {\n one: '1 diog',\n two: '2 dhiog',\n twenty: '20 diog',\n other: '{{count}} diogan'\n },\n halfAMinute: 'leth mhionaid',\n lessThanXMinutes: {\n one: 'nas lugha na mionaid',\n other: 'nas lugha na {{count}} mionaidean'\n },\n xMinutes: {\n one: '1 mionaid',\n two: '2 mhionaid',\n twenty: '20 mionaid',\n other: '{{count}} mionaidean'\n },\n aboutXHours: {\n one: 'mu uair de thìde',\n other: 'mu {{count}} uairean de thìde'\n },\n xHours: {\n one: '1 uair de thìde',\n two: '2 uair de thìde',\n twenty: '20 uair de thìde',\n other: '{{count}} uairean de thìde'\n },\n xDays: {\n one: '1 là',\n other: '{{count}} là'\n },\n aboutXWeeks: {\n one: 'mu 1 seachdain',\n other: 'mu {{count}} seachdainean'\n },\n xWeeks: {\n one: '1 seachdain',\n other: '{{count}} seachdainean'\n },\n aboutXMonths: {\n one: 'mu mhìos',\n other: 'mu {{count}} mìosan'\n },\n xMonths: {\n one: '1 mìos',\n other: '{{count}} mìosan'\n },\n aboutXYears: {\n one: 'mu bhliadhna',\n other: 'mu {{count}} bliadhnaichean'\n },\n xYears: {\n one: '1 bhliadhna',\n other: '{{count}} bliadhna'\n },\n overXYears: {\n one: 'còrr is bliadhna',\n other: 'còrr is {{count}} bliadhnaichean'\n },\n almostXYears: {\n one: 'cha mhòr bliadhna',\n other: 'cha mhòr {{count}} bliadhnaichean'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2 && !!tokenValue.two) {\n result = tokenValue.two;\n } else if (count === 20 && !!tokenValue.twenty) {\n result = tokenValue.twenty;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'ann an ' + result;\n } else {\n return 'o chionn ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'aig' {{time}}\",\n long: \"{{date}} 'aig' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'mu dheireadh' eeee 'aig' p\",\n //FIX\n yesterday: \"'an-dè aig' p\",\n today: \"'an-diugh aig' p\",\n tomorrow: \"'a-màireach aig' p\",\n nextWeek: \"eeee 'aig' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['R', 'A'],\n abbreviated: ['RC', 'AD'],\n wide: ['ro Chrìosta', 'anno domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['C1', 'C2', 'C3', 'C4'],\n wide: [\"a' chiad chairteal\", 'an dàrna cairteal', 'an treas cairteal', 'an ceathramh cairteal']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'],\n abbreviated: ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'],\n wide: ['Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd']\n};\nvar dayValues = {\n narrow: ['D', 'L', 'M', 'C', 'A', 'H', 'S'],\n short: ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'],\n abbreviated: ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],\n wide: ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'm',\n pm: 'f',\n midnight: 'm.o.',\n noon: 'm.l.',\n morning: 'madainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'oidhche'\n },\n abbreviated: {\n am: 'M.',\n pm: 'F.',\n midnight: 'meadhan oidhche',\n noon: 'meadhan là',\n morning: 'madainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'oidhche'\n },\n wide: {\n am: 'm.',\n pm: 'f.',\n midnight: 'meadhan oidhche',\n noon: 'meadhan là',\n morning: 'madainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'oidhche'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'm',\n pm: 'f',\n midnight: 'm.o.',\n noon: 'm.l.',\n morning: 'sa mhadainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'air an oidhche'\n },\n abbreviated: {\n am: 'M.',\n pm: 'F.',\n midnight: 'meadhan oidhche',\n noon: 'meadhan là',\n morning: 'sa mhadainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'air an oidhche'\n },\n wide: {\n am: 'm.',\n pm: 'f.',\n midnight: 'meadhan oidhche',\n noon: 'meadhan là',\n morning: 'sa mhadainn',\n afternoon: 'feasgar',\n evening: 'feasgar',\n night: 'air an oidhche'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'd';\n\n case 2:\n return number + 'na';\n }\n }\n\n if (rem100 === 12) {\n return number + 'na';\n }\n\n return number + 'mh';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(d|na|tr|mh)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(r|a)/i,\n abbreviated: /^(r\\.?\\s?c\\.?|r\\.?\\s?a\\.?\\s?c\\.?|a\\.?\\s?d\\.?|a\\.?\\s?c\\.?)/i,\n wide: /^(ro Chrìosta|ron aois choitchinn|anno domini|aois choitcheann)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^c[1234]/i,\n wide: /^[1234](cd|na|tr|mh)? cairteal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[fgmcòilsd]/i,\n abbreviated: /^(faoi|gear|màrt|gibl|cèit|ògmh|iuch|lùn|sult|dàmh|samh|dùbh)/i,\n wide: /^(am faoilleach|an gearran|am màrt|an giblean|an cèitean|an t-Ògmhios|an t-Iuchar|an lùnastal|an t-Sultain|an dàmhair|an t-Samhain|an dùbhlachd)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^f/i, /^g/i, /^m/i, /^g/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^s/i, /^d/i, /^s/i, /^d/i],\n any: [/^fa/i, /^ge/i, /^mà/i, /^gi/i, /^c/i, /^ò/i, /^i/i, /^l/i, /^su/i, /^d/i, /^sa/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmcahs]/i,\n short: /^(dò|lu|mà|ci|ar|ha|sa)/i,\n abbreviated: /^(did|dil|dim|dic|dia|dih|dis)/i,\n wide: /^(didòmhnaich|diluain|dimàirt|diciadain|diardaoin|dihaoine|disathairne)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i],\n any: [/^d/i, /^l/i, /^m/i, /^c/i, /^a/i, /^h/i, /^s/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(san|aig) (madainn|feasgar|feasgar|oidhche))/i,\n any: /^([ap]\\.?\\s?m\\.?|meadhan oidhche|meadhan là|(san|aig) (madainn|feasgar|feasgar|oidhche))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^m/i,\n pm: /^f/i,\n midnight: /^meadhan oidhche/i,\n noon: /^meadhan là/i,\n morning: /sa mhadainn/i,\n afternoon: /feasgar/i,\n evening: /feasgar/i,\n night: /air an oidhche/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Scottish Gaelic.\n * @language Scottish Gaelic\n * @iso-639-2 gla\n * @author Lee Driscoll [@leedriscoll]{@link https://github.com/leedriscoll}\n */\n\nvar locale = {\n code: 'gd',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,oBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,SACL,IAAK,UACL,OAAQ,UACR,MAAO,kBACR,EACD,YAAa,gBACb,iBAAkB,CAChB,IAAK,uBACL,MAAO,mCACR,EACD,SAAU,CACR,IAAK,YACL,IAAK,aACL,OAAQ,aACR,MAAO,sBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,+BACR,EACD,OAAQ,CACN,IAAK,kBACL,IAAK,kBACL,OAAQ,mBACR,MAAO,4BACR,EACD,MAAO,CACL,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,2BACR,EACD,OAAQ,CACN,IAAK,cACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,WACL,MAAO,qBACR,EACD,QAAS,CACP,IAAK,SACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,6BACR,EACD,OAAQ,CACN,IAAK,cACL,MAAO,oBACR,EACD,WAAY,CACV,IAAK,mBACL,MAAO,kCACR,EACD,aAAc,CACZ,IAAK,oBACL,MAAO,mCACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GActC,OAZI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IACXH,IAAU,GAAK,CAAC,CAACG,EAAW,IACrCD,EAASC,EAAW,IACXH,IAAU,IAAM,CAAC,CAACG,EAAW,OACtCD,EAASC,EAAW,OAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC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QAAS,WACT,MAAO,iBACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.0e5950f5.js b/assets/index.0e5950f5.js new file mode 100644 index 0000000000..78f5ff5fd6 --- /dev/null +++ b/assets/index.0e5950f5.js @@ -0,0 +1,2 @@ +import{f as a,l as m,m as o}from"./index.7fdd26b2.js";import{d as e}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},i={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},d={date:e({formats:r,defaultWidth:"full"}),time:e({formats:i,defaultWidth:"full"}),dateTime:e({formats:l,defaultWidth:"full"})},s={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"},f=function(t,u,p,M){return s[t]},g={code:"fr-CH",formatDistance:a,formatLong:d,formatRelative:f,localize:m,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{g as default}; +//# sourceMappingURL=index.0e5950f5.js.map diff --git a/assets/index.0e5950f5.js.map b/assets/index.0e5950f5.js.map new file mode 100644 index 0000000000..cf62fbe91d --- /dev/null +++ b/assets/index.0e5950f5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.0e5950f5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr-CH/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr-CH/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr-CH/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'à' {{time}}\",\n long: \"{{date}} 'à' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'la semaine dernière à' p\",\n yesterday: \"'hier à' p\",\n today: \"'aujourd’hui à' p\",\n tomorrow: \"'demain à' p'\",\n nextWeek: \"eeee 'la semaine prochaine à' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","// Same as fr\nimport formatDistance from \"../fr/_lib/formatDistance/index.js\";\nimport localize from \"../fr/_lib/localize/index.js\";\nimport match from \"../fr/_lib/match/index.js\";\n// Unique for fr-CH\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary French locale (Switzerland).\n * @language French\n * @iso-639-2 fra\n * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}\n * @author François B [@fbonzon]{@link https://github.com/fbonzon}\n * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}\n * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn}\n */\n\nvar locale = {\n code: 'fr-CH',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","token","_date","_baseDate","_options","locale","formatDistance","localize","match"],"mappings":"uXACA,IAAIA,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,wBACN,KAAM,wBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EChCIG,EAAuB,CACzB,SAAU,iCACV,UAAW,aACX,MAAO,oBACP,SAAU,gBACV,SAAU,kCACV,MAAO,GACT,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAWC,EAAU,CAC9E,OAAOL,EAAqBE,EAC9B,ECQII,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYT,EACZ,eAAgBG,EAChB,SAAUO,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.1072c2b0.js b/assets/index.1072c2b0.js new file mode 100644 index 0000000000..3a25ea5c1b --- /dev/null +++ b/assets/index.1072c2b0.js @@ -0,0 +1,2 @@ +import{d as m,e as o,f as h,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var v={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}},f=function(t,e,a){if(t==="xDays"&&a!==null&&a!==void 0&&a.addSuffix&&e<=2)return a.comparison&&a.comparison>0?e===1?"מחר":"מחרתיים":e===1?"אתמול":"שלשום";var r,i=v[t];return typeof i=="string"?r=i:e===1?r=i.one:e===2?r=i.two:r=i.other.replace("{{count}}",String(e)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"בעוד "+r:"לפני "+r:r},c={full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},w={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},b={full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:m({formats:c,defaultWidth:"full"}),time:m({formats:w,defaultWidth:"full"}),dateTime:m({formats:b,defaultWidth:"full"})},P={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},y=function(t,e,a,r){return P[t]},p={narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},M={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},W={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},x={narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},$={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},D={narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},k=function(t,e){var a=Number(t);if(a<=0||a>10)return String(a);var r=String(e==null?void 0:e.unit),i=["year","hour","minute","second"].indexOf(r)>=0,l=["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"],s=["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"],u=a-1;return i?s[u]:l[u]},F={ordinalNumber:k,era:o({values:p,defaultWidth:"wide"}),quarter:o({values:M,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:o({values:W,defaultWidth:"wide"}),day:o({values:x,defaultWidth:"wide"}),dayPeriod:o({values:$,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"})},N=/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,z=/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,S={narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},V={any:[/^לפ/i,/^לס/i]},X={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},C={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},H={narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},L={narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},Q={abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},O={any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},q={any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},R=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],T={ordinalNumber:h({matchPattern:N,parsePattern:z,valueCallback:function(t){var e=parseInt(t,10);return isNaN(e)?R.indexOf(t)+1:e}}),era:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:d({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:d({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:d({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:O,defaultMatchWidth:"any",parsePatterns:q,defaultParseWidth:"any"})},B={code:"he",formatDistance:f,formatLong:g,formatRelative:y,localize:F,match:T,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{B as default}; +//# sourceMappingURL=index.1072c2b0.js.map diff --git a/assets/index.1072c2b0.js.map b/assets/index.1072c2b0.js.map new file mode 100644 index 0000000000..62f8a7f83d --- /dev/null +++ b/assets/index.1072c2b0.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.1072c2b0.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/he/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'פחות משנייה',\n two: 'פחות משתי שניות',\n other: 'פחות מ־{{count}} שניות'\n },\n xSeconds: {\n one: 'שנייה',\n two: 'שתי שניות',\n other: '{{count}} שניות'\n },\n halfAMinute: 'חצי דקה',\n lessThanXMinutes: {\n one: 'פחות מדקה',\n two: 'פחות משתי דקות',\n other: 'פחות מ־{{count}} דקות'\n },\n xMinutes: {\n one: 'דקה',\n two: 'שתי דקות',\n other: '{{count}} דקות'\n },\n aboutXHours: {\n one: 'כשעה',\n two: 'כשעתיים',\n other: 'כ־{{count}} שעות'\n },\n xHours: {\n one: 'שעה',\n two: 'שעתיים',\n other: '{{count}} שעות'\n },\n xDays: {\n one: 'יום',\n two: 'יומיים',\n other: '{{count}} ימים'\n },\n aboutXWeeks: {\n one: 'כשבוע',\n two: 'כשבועיים',\n other: 'כ־{{count}} שבועות'\n },\n xWeeks: {\n one: 'שבוע',\n two: 'שבועיים',\n other: '{{count}} שבועות'\n },\n aboutXMonths: {\n one: 'כחודש',\n two: 'כחודשיים',\n other: 'כ־{{count}} חודשים'\n },\n xMonths: {\n one: 'חודש',\n two: 'חודשיים',\n other: '{{count}} חודשים'\n },\n aboutXYears: {\n one: 'כשנה',\n two: 'כשנתיים',\n other: 'כ־{{count}} שנים'\n },\n xYears: {\n one: 'שנה',\n two: 'שנתיים',\n other: '{{count}} שנים'\n },\n overXYears: {\n one: 'יותר משנה',\n two: 'יותר משנתיים',\n other: 'יותר מ־{{count}} שנים'\n },\n almostXYears: {\n one: 'כמעט שנה',\n two: 'כמעט שנתיים',\n other: 'כמעט {{count}} שנים'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n // Return word instead of `in one day` or `one day ago`\n if (token === 'xDays' && options !== null && options !== void 0 && options.addSuffix && count <= 2) {\n if (options.comparison && options.comparison > 0) {\n return count === 1 ? 'מחר' : 'מחרתיים';\n }\n\n return count === 1 ? 'אתמול' : 'שלשום';\n }\n\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2) {\n result = tokenValue.two;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'בעוד ' + result;\n } else {\n return 'לפני ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d בMMMM y',\n long: 'd בMMMM y',\n medium: 'd בMMM y',\n short: 'd.M.y'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'בשעה' {{time}}\",\n long: \"{{date}} 'בשעה' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'שעבר בשעה' p\",\n yesterday: \"'אתמול בשעה' p\",\n today: \"'היום בשעה' p\",\n tomorrow: \"'מחר בשעה' p\",\n nextWeek: \"eeee 'בשעה' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['לפנה״ס', 'לספירה'],\n abbreviated: ['לפנה״ס', 'לספירה'],\n wide: ['לפני הספירה', 'לספירה']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['רבעון 1', 'רבעון 2', 'רבעון 3', 'רבעון 4']\n};\nvar monthValues = {\n narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n abbreviated: ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'],\n wide: ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר']\n};\nvar dayValues = {\n narrow: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],\n short: ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],\n abbreviated: ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'],\n wide: ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בוקר',\n afternoon: 'אחר הצהריים',\n evening: 'ערב',\n night: 'לילה'\n },\n abbreviated: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בוקר',\n afternoon: 'אחר הצהריים',\n evening: 'ערב',\n night: 'לילה'\n },\n wide: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בוקר',\n afternoon: 'אחר הצהריים',\n evening: 'ערב',\n night: 'לילה'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בבוקר',\n afternoon: 'בצהריים',\n evening: 'בערב',\n night: 'בלילה'\n },\n abbreviated: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בבוקר',\n afternoon: 'אחר הצהריים',\n evening: 'בערב',\n night: 'בלילה'\n },\n wide: {\n am: 'לפנה״צ',\n pm: 'אחה״צ',\n midnight: 'חצות',\n noon: 'צהריים',\n morning: 'בבוקר',\n afternoon: 'אחר הצהריים',\n evening: 'בערב',\n night: 'בלילה'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber); // We only show words till 10\n\n if (number <= 0 || number > 10) return String(number);\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n var isFemale = ['year', 'hour', 'minute', 'second'].indexOf(unit) >= 0;\n var male = ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שביעי', 'שמיני', 'תשיעי', 'עשירי'];\n var female = ['ראשונה', 'שנייה', 'שלישית', 'רביעית', 'חמישית', 'שישית', 'שביעית', 'שמינית', 'תשיעית', 'עשירית'];\n var index = number - 1;\n return isFemale ? female[index] : male[index];\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i;\nvar parseOrdinalNumberPattern = /^(\\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i;\nvar matchEraPatterns = {\n narrow: /^ל(ספירה|פנה״ס)/i,\n abbreviated: /^ל(ספירה|פנה״ס)/i,\n wide: /^ל(פני ה)?ספירה/i\n};\nvar parseEraPatterns = {\n any: [/^לפ/i, /^לס/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^רבעון [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^\\d+/i,\n abbreviated: /^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,\n wide: /^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^1$/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i],\n any: [/^ינ/i, /^פ/i, /^מר/i, /^אפ/i, /^מא/i, /^יונ/i, /^יול/i, /^אוג/i, /^ס/i, /^אוק/i, /^נ/i, /^ד/i]\n};\nvar matchDayPatterns = {\n narrow: /^[אבגדהוש]׳/i,\n short: /^[אבגדהוש]׳/i,\n abbreviated: /^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,\n wide: /^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i\n};\nvar parseDayPatterns = {\n abbreviated: [/א׳$/i, /ב׳$/i, /ג׳$/i, /ד׳$/i, /ה׳$/i, /ו׳$/i, /^ש/i],\n wide: [/ן$/i, /ני$/i, /לישי$/i, /עי$/i, /מישי$/i, /שישי$/i, /ת$/i],\n any: [/^א/i, /^ב/i, /^ג/i, /^ד/i, /^ה/i, /^ו/i, /^ש/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^לפ/i,\n pm: /^אחה/i,\n midnight: /^ח/i,\n noon: /^צ/i,\n morning: /בוקר/i,\n afternoon: /בצ|אחר/i,\n evening: /ערב/i,\n night: /לילה/i\n }\n};\nvar ordinalName = ['רא', 'שנ', 'של', 'רב', 'ח', 'שי', 'שב', 'שמ', 'ת', 'ע'];\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n var number = parseInt(value, 10);\n return isNaN(number) ? ordinalName.indexOf(value) + 1 : number;\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Hebrew locale.\n * @language Hebrew\n * @iso-639-2 heb\n * @author Nir Lahad [@nirlah]{@link https://github.com/nirlah}\n */\n\nvar locale = {\n code: 'he',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","isFemale","male","female","index","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","ordinalName","match","buildMatchPatternFn","value","buildMatchFn","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,cACL,IAAK,kBACL,MAAO,wBACR,EACD,SAAU,CACR,I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AO,MAAO,KAAK,CACvD,EACIC,EAAyB,CAC3B,IAAK,sDACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,QACJ,SAAU,MACV,KAAM,MACN,QAAS,QACT,UAAW,UACX,QAAS,OACT,MAAO,OACR,CACH,EACIC,EAAc,CAAC,KAAM,KAAM,KAAM,KAAM,IAAK,KAAM,KAAM,KAAM,IAAK,GAAG,EACtEC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcd,EACd,aAAcC,EACd,cAAe,SAAuBc,EAAO,CAC3C,IAAIxB,EAAS,SAASwB,EAAO,EAAE,EAC/B,OAAO,MAAMxB,CAAM,EAAIqB,EAAY,QAAQG,CAAK,EAAI,EAAIxB,CACzD,CACL,CAAG,EACD,IAAKyB,EAAa,CAChB,cAAed,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASa,EAAa,CACpB,cAAeZ,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBT,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOoB,EAAa,CAClB,cAAeV,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKS,EAAa,CAChB,cAAeR,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWO,EAAa,CACtB,cAAeN,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECpFIM,EAAS,CACX,KAAM,KACN,eAAgBlD,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUkB,EACV,MAAOgB,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.127c9386.js b/assets/index.127c9386.js new file mode 100644 index 0000000000..e1b6241014 --- /dev/null +++ b/assets/index.127c9386.js @@ -0,0 +1,2 @@ +import{d as u,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},h=function(e,n,r){r=r||{};var a=m[e],t;return typeof a=="string"?t=a:n===1?t=a.one:n===2?t=a.two:n<=10?t=a.threeToTen.replace("{{count}}",String(n)):t=a.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+t:"منذ "+t:t},l={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},g={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},w=function(e,n,r,a){return g[e]},b={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},p={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},P={narrow:["ي","ف","م","أ","م","ي","ي","غ","ش","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","ماي","يونـ","يولـ","غشت","شتنـ","أكتـ","نونـ","دجنـ"],wide:["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر"]},T={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},y={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},M={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},W=function(e){return String(e)},k={ordinalNumber:W,era:o({values:b,defaultWidth:"wide"}),quarter:o({values:p,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:P,defaultWidth:"wide"}),day:o({values:T,defaultWidth:"wide"}),dayPeriod:o({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^(\d+)(th|st|nd|rd)?/i,x=/\d+/i,F={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},z={any:[/^قبل/i,/^بعد/i]},N={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},X={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i},S={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^غ/i,/^ش/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^فب/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^غشت/i,/^ش/i,/^أك/i,/^ن/i,/^د/i]},V={narrow:/^[حنثرخجس]/i,short:/^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},E={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الإثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^إث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},L={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Y={ordinalNumber:s({matchPattern:D,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(e){return Number(e)+1}}),month:d({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),day:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:L,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},Q={code:"ar-MA",formatDistance:h,formatLong:v,formatRelative:w,localize:k,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.127c9386.js.map diff --git a/assets/index.127c9386.js.map b/assets/index.127c9386.js.map new file mode 100644 index 0000000000..fbdfe3ebf3 --- /dev/null +++ b/assets/index.127c9386.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.127c9386.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-MA/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية واحدة',\n two: 'أقل من ثانتين',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية واحدة',\n two: 'ثانتين',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نصف دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقائق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة واحدة',\n two: 'دقيقتين',\n threeToTen: '{{count}} دقائق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'ساعة واحدة تقريباً',\n two: 'ساعتين تقريباً',\n threeToTen: '{{count}} ساعات تقريباً',\n other: '{{count}} ساعة تقريباً'\n },\n xHours: {\n one: 'ساعة واحدة',\n two: 'ساعتين',\n threeToTen: '{{count}} ساعات',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'يوم واحد',\n two: 'يومين',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'أسبوع واحد تقريباً',\n two: 'أسبوعين تقريباً',\n threeToTen: '{{count}} أسابيع تقريباً',\n other: '{{count}} أسبوع تقريباً'\n },\n xWeeks: {\n one: 'أسبوع واحد',\n two: 'أسبوعين',\n threeToTen: '{{count}} أسابيع',\n other: '{{count}} أسبوع'\n },\n aboutXMonths: {\n one: 'شهر واحد تقريباً',\n two: 'شهرين تقريباً',\n threeToTen: '{{count}} أشهر تقريباً',\n other: '{{count}} شهر تقريباً'\n },\n xMonths: {\n one: 'شهر واحد',\n two: 'شهرين',\n threeToTen: '{{count}} أشهر',\n other: '{{count}} شهر'\n },\n aboutXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n },\n xYears: {\n one: 'عام واحد',\n two: 'عامين',\n threeToTen: '{{count}} أعوام',\n other: '{{count}} عام'\n },\n overXYears: {\n one: 'أكثر من عام',\n two: 'أكثر من عامين',\n threeToTen: 'أكثر من {{count}} أعوام',\n other: 'أكثر من {{count}} عام'\n },\n almostXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n var usageGroup = formatDistanceLocale[token];\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else if (count === 2) {\n result = usageGroup.two;\n } else if (count <= 10) {\n result = usageGroup.threeToTen.replace('{{count}}', String(count));\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'في خلال ' + result;\n } else {\n return 'منذ ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'عند' {{time}}\",\n long: \"{{date}} 'عند' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'أخر' eeee 'عند' p\",\n yesterday: \"'أمس عند' p\",\n today: \"'اليوم عند' p\",\n tomorrow: \"'غداً عند' p\",\n nextWeek: \"eeee 'عند' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'غ', 'ش', 'أ', 'ن', 'د'],\n abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'ماي', 'يونـ', 'يولـ', 'غشت', 'شتنـ', 'أكتـ', 'نونـ', 'دجنـ'],\n wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'في الصباح',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'في الصباح',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?م\\.?\\s?|a\\.?\\s?d\\.?|c\\.?\\s?)/i,\n wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i\n};\nvar parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ر[1234]/i,\n wide: /^الربع [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[يفمأمسند]/i,\n abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i,\n wide: /^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^غ/i, /^ش/i, /^أ/i, /^ن/i, /^د/i],\n any: [/^ين/i, /^فب/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^غشت/i, /^ش/i, /^أك/i, /^ن/i, /^د/i]\n};\nvar matchDayPatterns = {\n narrow: /^[حنثرخجس]/i,\n short: /^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n abbreviated: /^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i,\n wide: /^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i],\n wide: [/^الأحد/i, /^الإثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i],\n any: [/^أح/i, /^إث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return Number(index) + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Moroccan Arabic).\n * @language Moroccan Arabic\n * @iso-639-2 ara\n * @author Achraf Rrami [@rramiachraf]{@link https://github.com/rramiachraf}\n */\nvar locale = {\n code: 'ar-MA',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n // Monday is 1\n weekStartsOn: 1,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","usageGroup","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,IAAK,gBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,SACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,iBACL,WAAY,0BACZ,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,kBACL,WAAY,2BACZ,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,UACL,WAAY,mBACZ,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,mBACL,IAAK,gBACL,WAAY,yBACZ,MAAO,uBACR,EACD,QAAS,CACP,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,IAAK,gBACL,WAAY,0BACZ,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,WACL,IAAK,QACL,WAAY,kBACZ,MAAO,eACR,EACD,WAAY,CACV,IAAK,cACL,IAAK,gBACL,WAAY,0BACZ,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,mBACL,IAAK,gBACL,WAAY,0BACZ,MAAO,uBACR,CACH,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,MAAO,MAAO,KAAK,CAC1D,EACIC,EAAyB,CAC3B,OAAQ,6DACR,IAAK,gFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,OACV,KAAM,OACN,QAAS,WACT,UAAW,aACX,QAAS,WACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAO,OAAOA,CAAK,EAAI,CACxB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,QACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CAEP,aAAc,EACd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.1802f367.js b/assets/index.1802f367.js new file mode 100644 index 0000000000..5d6dd5880c --- /dev/null +++ b/assets/index.1802f367.js @@ -0,0 +1,2 @@ +import{d as s,e as r,f as m,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"секунд хүрэхгүй",other:"{{count}} секунд хүрэхгүй"},xSeconds:{one:"1 секунд",other:"{{count}} секунд"},halfAMinute:"хагас минут",lessThanXMinutes:{one:"минут хүрэхгүй",other:"{{count}} минут хүрэхгүй"},xMinutes:{one:"1 минут",other:"{{count}} минут"},aboutXHours:{one:"ойролцоогоор 1 цаг",other:"ойролцоогоор {{count}} цаг"},xHours:{one:"1 цаг",other:"{{count}} цаг"},xDays:{one:"1 өдөр",other:"{{count}} өдөр"},aboutXWeeks:{one:"ойролцоогоор 1 долоо хоног",other:"ойролцоогоор {{count}} долоо хоног"},xWeeks:{one:"1 долоо хоног",other:"{{count}} долоо хоног"},aboutXMonths:{one:"ойролцоогоор 1 сар",other:"ойролцоогоор {{count}} сар"},xMonths:{one:"1 сар",other:"{{count}} сар"},aboutXYears:{one:"ойролцоогоор 1 жил",other:"ойролцоогоор {{count}} жил"},xYears:{one:"1 жил",other:"{{count}} жил"},overXYears:{one:"1 жил гаран",other:"{{count}} жил гаран"},almostXYears:{one:"бараг 1 жил",other:"бараг {{count}} жил"}},v=function(e,o,t){var a,d=h[e];if(typeof d=="string"?a=d:o===1?a=d.one:a=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix){var u=a.split(" "),l=u.pop();switch(a=u.join(" "),l){case"секунд":a+=" секундийн";break;case"минут":a+=" минутын";break;case"цаг":a+=" цагийн";break;case"өдөр":a+=" өдрийн";break;case"сар":a+=" сарын";break;case"жил":a+=" жилийн";break;case"хоног":a+=" хоногийн";break;case"гаран":a+=" гараны";break;case"хүрэхгүй":a+=" хүрэхгүй хугацааны";break;default:a+=l+"-н"}return t.comparison&&t.comparison>0?a+" дараа":a+" өмнө"}return a},c={full:"y 'оны' MMMM'ын' d, EEEE 'гараг'",long:"y 'оны' MMMM'ын' d",medium:"y 'оны' MMM'ын' d",short:"y.MM.dd"},f={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},b={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},I={date:s({formats:c,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:b,defaultWidth:"full"})},w={lastWeek:"'өнгөрсөн' eeee 'гарагийн' p 'цагт'",yesterday:"'өчигдөр' p 'цагт'",today:"'өнөөдөр' p 'цагт'",tomorrow:"'маргааш' p 'цагт'",nextWeek:"'ирэх' eeee 'гарагийн' p 'цагт'",other:"P"},P=function(e,o,t,a){return w[e]},g={narrow:["НТӨ","НТ"],abbreviated:["НТӨ","НТ"],wide:["нийтийн тооллын өмнөх","нийтийн тооллын"]},p={narrow:["I","II","III","IV"],abbreviated:["I улирал","II улирал","III улирал","IV улирал"],wide:["1-р улирал","2-р улирал","3-р улирал","4-р улирал"]},y={narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["Нэгдүгээр сар","Хоёрдугаар сар","Гуравдугаар сар","Дөрөвдүгээр сар","Тавдугаар сар","Зургаадугаар сар","Долоодугаар сар","Наймдугаар сар","Есдүгээр сар","Аравдугаар сар","Арваннэгдүгээр сар","Арван хоёрдугаар сар"]},M={narrow:["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"],abbreviated:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],wide:["нэгдүгээр сар","хоёрдугаар сар","гуравдугаар сар","дөрөвдүгээр сар","тавдугаар сар","зургаадугаар сар","долоодугаар сар","наймдугаар сар","есдүгээр сар","аравдугаар сар","арваннэгдүгээр сар","арван хоёрдугаар сар"]},W={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"]},k={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["ням","даваа","мягмар","лхагва","пүрэв","баасан","бямба"]},V={narrow:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},abbreviated:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"},wide:{am:"ү.ө.",pm:"ү.х.",midnight:"шөнө дунд",noon:"үд дунд",morning:"өглөө",afternoon:"өдөр",evening:"орой",night:"шөнө"}},x=function(e,o){return String(e)},X={ordinalNumber:x,era:r({values:g,defaultWidth:"wide"}),quarter:r({values:p,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"}),day:r({values:W,defaultWidth:"wide",formattingValues:k,defaultFormattingWidth:"wide"}),dayPeriod:r({values:V,defaultWidth:"wide"})},$=/\d+/i,D=/\d+/i,F={narrow:/^(нтө|нт)/i,abbreviated:/^(нтө|нт)/i,wide:/^(нийтийн тооллын өмнө|нийтийн тооллын)/i},z={any:[/^(нтө|нийтийн тооллын өмнө)/i,/^(нт|нийтийн тооллын)/i]},C={narrow:/^(iv|iii|ii|i)/i,abbreviated:/^(iv|iii|ii|i) улирал/i,wide:/^[1-4]-р улирал/i},E={any:[/^(i(\s|$)|1)/i,/^(ii(\s|$)|2)/i,/^(iii(\s|$)|3)/i,/^(iv(\s|$)|4)/i]},H={narrow:/^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i,abbreviated:/^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i,wide:/^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i},L={narrow:[/^i$/i,/^ii$/i,/^iii$/i,/^iv$/i,/^v$/i,/^vi$/i,/^vii$/i,/^viii$/i,/^ix$/i,/^x$/i,/^xi$/i,/^xii$/i],any:[/^(1|нэгдүгээр)/i,/^(2|хоёрдугаар)/i,/^(3|гуравдугаар)/i,/^(4|дөрөвдүгээр)/i,/^(5|тавдугаар)/i,/^(6|зургаадугаар)/i,/^(7|долоодугаар)/i,/^(8|наймдугаар)/i,/^(9|есдүгээр)/i,/^(10|аравдугаар)/i,/^(11|арван нэгдүгээр)/i,/^(12|арван хоёрдугаар)/i]},N={narrow:/^[ндмлпбб]/i,short:/^(ня|да|мя|лх|пү|ба|бя)/i,abbreviated:/^(ням|дав|мяг|лха|пүр|баа|бям)/i,wide:/^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i},S={narrow:[/^н/i,/^д/i,/^м/i,/^л/i,/^п/i,/^б/i,/^б/i],any:[/^ня/i,/^да/i,/^мя/i,/^лх/i,/^пү/i,/^ба/i,/^бя/i]},R={narrow:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i,any:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i},T={any:{am:/^ү\.ө\./i,pm:/^ү\.х\./i,midnight:/^шөнө дунд/i,noon:/^үд дунд/i,morning:/өглөө/i,afternoon:/өдөр/i,evening:/орой/i,night:/шөнө/i}},Y={ordinalNumber:m({matchPattern:$,parsePattern:D,valueCallback:function(e){return parseInt(e,10)}}),era:n({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:n({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:n({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:n({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},A={code:"mn",formatDistance:v,formatLong:I,formatRelative:P,localize:X,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.1802f367.js.map diff --git a/assets/index.1802f367.js.map b/assets/index.1802f367.js.map new file mode 100644 index 0000000000..fd1c2c9d95 --- /dev/null +++ b/assets/index.1802f367.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.1802f367.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mn/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'секунд хүрэхгүй',\n other: '{{count}} секунд хүрэхгүй'\n },\n xSeconds: {\n one: '1 секунд',\n other: '{{count}} секунд'\n },\n halfAMinute: 'хагас минут',\n lessThanXMinutes: {\n one: 'минут хүрэхгүй',\n other: '{{count}} минут хүрэхгүй'\n },\n xMinutes: {\n one: '1 минут',\n other: '{{count}} минут'\n },\n aboutXHours: {\n one: 'ойролцоогоор 1 цаг',\n other: 'ойролцоогоор {{count}} цаг'\n },\n xHours: {\n one: '1 цаг',\n other: '{{count}} цаг'\n },\n xDays: {\n one: '1 өдөр',\n other: '{{count}} өдөр'\n },\n aboutXWeeks: {\n one: 'ойролцоогоор 1 долоо хоног',\n other: 'ойролцоогоор {{count}} долоо хоног'\n },\n xWeeks: {\n one: '1 долоо хоног',\n other: '{{count}} долоо хоног'\n },\n aboutXMonths: {\n one: 'ойролцоогоор 1 сар',\n other: 'ойролцоогоор {{count}} сар'\n },\n xMonths: {\n one: '1 сар',\n other: '{{count}} сар'\n },\n aboutXYears: {\n one: 'ойролцоогоор 1 жил',\n other: 'ойролцоогоор {{count}} жил'\n },\n xYears: {\n one: '1 жил',\n other: '{{count}} жил'\n },\n overXYears: {\n one: '1 жил гаран',\n other: '{{count}} жил гаран'\n },\n almostXYears: {\n one: 'бараг 1 жил',\n other: 'бараг {{count}} жил'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n /**\n * Append genitive case\n */\n var words = result.split(' ');\n var lastword = words.pop();\n result = words.join(' ');\n\n switch (lastword) {\n case 'секунд':\n result += ' секундийн';\n break;\n\n case 'минут':\n result += ' минутын';\n break;\n\n case 'цаг':\n result += ' цагийн';\n break;\n\n case 'өдөр':\n result += ' өдрийн';\n break;\n\n case 'сар':\n result += ' сарын';\n break;\n\n case 'жил':\n result += ' жилийн';\n break;\n\n case 'хоног':\n result += ' хоногийн';\n break;\n\n case 'гаран':\n result += ' гараны';\n break;\n\n case 'хүрэхгүй':\n result += ' хүрэхгүй хугацааны';\n break;\n\n default:\n result += lastword + '-н';\n }\n\n if (options.comparison && options.comparison > 0) {\n return result + ' дараа';\n } else {\n return result + ' өмнө';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"y 'оны' MMMM'ын' d, EEEE 'гараг'\",\n long: \"y 'оны' MMMM'ын' d\",\n medium: \"y 'оны' MMM'ын' d\",\n short: 'y.MM.dd'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'өнгөрсөн' eeee 'гарагийн' p 'цагт'\",\n yesterday: \"'өчигдөр' p 'цагт'\",\n today: \"'өнөөдөр' p 'цагт'\",\n tomorrow: \"'маргааш' p 'цагт'\",\n nextWeek: \"'ирэх' eeee 'гарагийн' p 'цагт'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['НТӨ', 'НТ'],\n abbreviated: ['НТӨ', 'НТ'],\n wide: ['нийтийн тооллын өмнөх', 'нийтийн тооллын']\n};\nvar quarterValues = {\n narrow: ['I', 'II', 'III', 'IV'],\n abbreviated: ['I улирал', 'II улирал', 'III улирал', 'IV улирал'],\n wide: ['1-р улирал', '2-р улирал', '3-р улирал', '4-р улирал']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'],\n abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'],\n wide: ['Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', 'Арваннэгдүгээр сар', 'Арван хоёрдугаар сар']\n};\nvar formattingMonthValues = {\n narrow: ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'],\n abbreviated: ['1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', '12-р сар'],\n wide: ['нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', 'арваннэгдүгээр сар', 'арван хоёрдугаар сар']\n};\nvar dayValues = {\n narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'],\n short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'],\n abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'],\n wide: ['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба']\n};\nvar formattingDayValues = {\n narrow: ['Н', 'Д', 'М', 'Л', 'П', 'Б', 'Б'],\n short: ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'],\n abbreviated: ['Ням', 'Дав', 'Мяг', 'Лха', 'Пүр', 'Баа', 'Бям'],\n wide: ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ү.ө.',\n pm: 'ү.х.',\n midnight: 'шөнө дунд',\n noon: 'үд дунд',\n morning: 'өглөө',\n afternoon: 'өдөр',\n evening: 'орой',\n night: 'шөнө'\n },\n abbreviated: {\n am: 'ү.ө.',\n pm: 'ү.х.',\n midnight: 'шөнө дунд',\n noon: 'үд дунд',\n morning: 'өглөө',\n afternoon: 'өдөр',\n evening: 'орой',\n night: 'шөнө'\n },\n wide: {\n am: 'ү.ө.',\n pm: 'ү.х.',\n midnight: 'шөнө дунд',\n noon: 'үд дунд',\n morning: 'өглөө',\n afternoon: 'өдөр',\n evening: 'орой',\n night: 'шөнө'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /\\d+/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(нтө|нт)/i,\n abbreviated: /^(нтө|нт)/i,\n wide: /^(нийтийн тооллын өмнө|нийтийн тооллын)/i\n};\nvar parseEraPatterns = {\n any: [/^(нтө|нийтийн тооллын өмнө)/i, /^(нт|нийтийн тооллын)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^(iv|iii|ii|i)/i,\n abbreviated: /^(iv|iii|ii|i) улирал/i,\n wide: /^[1-4]-р улирал/i\n};\nvar parseQuarterPatterns = {\n any: [/^(i(\\s|$)|1)/i, /^(ii(\\s|$)|2)/i, /^(iii(\\s|$)|3)/i, /^(iv(\\s|$)|4)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(xii|xi|x|ix|viii|vii|vi|v|iv|iii|ii|i)/i,\n abbreviated: /^(1-р сар|2-р сар|3-р сар|4-р сар|5-р сар|6-р сар|7-р сар|8-р сар|9-р сар|10-р сар|11-р сар|12-р сар)/i,\n wide: /^(нэгдүгээр сар|хоёрдугаар сар|гуравдугаар сар|дөрөвдүгээр сар|тавдугаар сар|зургаадугаар сар|долоодугаар сар|наймдугаар сар|есдүгээр сар|аравдугаар сар|арван нэгдүгээр сар|арван хоёрдугаар сар)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^i$/i, /^ii$/i, /^iii$/i, /^iv$/i, /^v$/i, /^vi$/i, /^vii$/i, /^viii$/i, /^ix$/i, /^x$/i, /^xi$/i, /^xii$/i],\n any: [/^(1|нэгдүгээр)/i, /^(2|хоёрдугаар)/i, /^(3|гуравдугаар)/i, /^(4|дөрөвдүгээр)/i, /^(5|тавдугаар)/i, /^(6|зургаадугаар)/i, /^(7|долоодугаар)/i, /^(8|наймдугаар)/i, /^(9|есдүгээр)/i, /^(10|аравдугаар)/i, /^(11|арван нэгдүгээр)/i, /^(12|арван хоёрдугаар)/i]\n};\nvar matchDayPatterns = {\n narrow: /^[ндмлпбб]/i,\n short: /^(ня|да|мя|лх|пү|ба|бя)/i,\n abbreviated: /^(ням|дав|мяг|лха|пүр|баа|бям)/i,\n wide: /^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^д/i, /^м/i, /^л/i, /^п/i, /^б/i, /^б/i],\n any: [/^ня/i, /^да/i, /^мя/i, /^лх/i, /^пү/i, /^ба/i, /^бя/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ү\\.ө\\.|ү\\.х\\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i,\n any: /^(ү\\.ө\\.|ү\\.х\\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ү\\.ө\\./i,\n pm: /^ү\\.х\\./i,\n midnight: /^шөнө дунд/i,\n noon: /^үд дунд/i,\n morning: /өглөө/i,\n afternoon: /өдөр/i,\n evening: /орой/i,\n night: /шөнө/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Mongolian locale.\n * @language Mongolian\n * @iso-639-2 mon\n * @author Bilguun Ochirbat [@bilguun0203]{@link https://github.com/bilguun0203}\n */\n\nvar locale = {\n code: 'mn',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","words","lastword","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,kBACL,MAAO,2BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,iBACL,MAAO,0BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,gBACR,EACD,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E,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYW,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.1c3beaef.js b/assets/index.1c3beaef.js new file mode 100644 index 0000000000..7a10aae5e0 --- /dev/null +++ b/assets/index.1c3beaef.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as m,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weke"},xWeeks:{one:"1 week",other:"{{count}} weke"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}},l=function(a,r,e){var t,o=s[a];return typeof o=="string"?t=o:r===1?t=o.one:t=o.other.replace("{{count}}",String(r)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"oor "+t:t+" gelede":t},g={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},v={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:u({formats:g,defaultWidth:"full"}),time:u({formats:v,defaultWidth:"full"}),dateTime:u({formats:h,defaultWidth:"full"})},f={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},b=function(a,r,e,t){return f[a]},y={narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},M={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},w={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},p={narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},D={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},P={narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},W=function(a){var r=Number(a),e=r%100;if(e<20)switch(e){case 1:case 8:return r+"ste";default:return r+"de"}return r+"ste"},k={ordinalNumber:W,era:i({values:y,defaultWidth:"wide"}),quarter:i({values:M,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:D,defaultWidth:"wide",formattingValues:P,defaultFormattingWidth:"wide"})},S=/^(\d+)(ste|de)?/i,J=/\d+/i,V={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},C={any:[/^v/,/^n/]},F={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},A={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i},x={narrow:[/^J/i,/^F/i,/^M/i,/^A/i,/^M/i,/^J/i,/^J/i,/^A/i,/^S/i,/^O/i,/^N/i,/^D/i],any:[/^Jan/i,/^Feb/i,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},H={narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},O={narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},j={any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},z={any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},X={ordinalNumber:m({matchPattern:S,parsePattern:J,valueCallback:function(a){return parseInt(a,10)}}),era:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),day:d({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:z,defaultParseWidth:"any"})},Y={code:"af",formatDistance:l,formatLong:c,formatRelative:b,localize:k,match:X,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{Y as default}; +//# sourceMappingURL=index.1c3beaef.js.map diff --git a/assets/index.1c3beaef.js.map b/assets/index.1c3beaef.js.map new file mode 100644 index 0000000000..df227f7355 --- /dev/null +++ b/assets/index.1c3beaef.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.1c3beaef.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/af/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"minder as 'n sekonde\",\n other: 'minder as {{count}} sekondes'\n },\n xSeconds: {\n one: '1 sekonde',\n other: '{{count}} sekondes'\n },\n halfAMinute: \"'n halwe minuut\",\n lessThanXMinutes: {\n one: \"minder as 'n minuut\",\n other: 'minder as {{count}} minute'\n },\n xMinutes: {\n one: \"'n minuut\",\n other: '{{count}} minute'\n },\n aboutXHours: {\n one: 'ongeveer 1 uur',\n other: 'ongeveer {{count}} ure'\n },\n xHours: {\n one: '1 uur',\n other: '{{count}} ure'\n },\n xDays: {\n one: '1 dag',\n other: '{{count}} dae'\n },\n aboutXWeeks: {\n one: 'ongeveer 1 week',\n other: 'ongeveer {{count}} weke'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weke'\n },\n aboutXMonths: {\n one: 'ongeveer 1 maand',\n other: 'ongeveer {{count}} maande'\n },\n xMonths: {\n one: '1 maand',\n other: '{{count}} maande'\n },\n aboutXYears: {\n one: 'ongeveer 1 jaar',\n other: 'ongeveer {{count}} jaar'\n },\n xYears: {\n one: '1 jaar',\n other: '{{count}} jaar'\n },\n overXYears: {\n one: 'meer as 1 jaar',\n other: 'meer as {{count}} jaar'\n },\n almostXYears: {\n one: 'byna 1 jaar',\n other: 'byna {{count}} jaar'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'oor ' + result;\n } else {\n return result + ' gelede';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'yyyy/MM/dd'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'om' {{time}}\",\n long: \"{{date}} 'om' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'verlede' eeee 'om' p\",\n yesterday: \"'gister om' p\",\n today: \"'vandag om' p\",\n tomorrow: \"'môre om' p\",\n nextWeek: \"eeee 'om' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['vC', 'nC'],\n abbreviated: ['vC', 'nC'],\n wide: ['voor Christus', 'na Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1ste kwartaal', '2de kwartaal', '3de kwartaal', '4de kwartaal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],\n wide: ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'D', 'W', 'D', 'V', 'S'],\n short: ['So', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Sa'],\n abbreviated: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],\n wide: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'middaguur',\n morning: 'oggend',\n afternoon: 'middag',\n evening: 'laat middag',\n night: 'aand'\n },\n abbreviated: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'middaguur',\n morning: 'oggend',\n afternoon: 'middag',\n evening: 'laat middag',\n night: 'aand'\n },\n wide: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'middaguur',\n morning: 'oggend',\n afternoon: 'middag',\n evening: 'laat middag',\n night: 'aand'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'uur die middag',\n morning: 'uur die oggend',\n afternoon: 'uur die middag',\n evening: 'uur die aand',\n night: 'uur die aand'\n },\n abbreviated: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'uur die middag',\n morning: 'uur die oggend',\n afternoon: 'uur die middag',\n evening: 'uur die aand',\n night: 'uur die aand'\n },\n wide: {\n am: 'vm',\n pm: 'nm',\n midnight: 'middernag',\n noon: 'uur die middag',\n morning: 'uur die oggend',\n afternoon: 'uur die middag',\n evening: 'uur die aand',\n night: 'uur die aand'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n\n if (rem100 < 20) {\n switch (rem100) {\n case 1:\n case 8:\n return number + 'ste';\n\n default:\n return number + 'de';\n }\n }\n\n return number + 'ste';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ste|de)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([vn]\\.? ?C\\.?)/,\n abbreviated: /^([vn]\\. ?C\\.?)/,\n wide: /^((voor|na) Christus)/\n};\nvar parseEraPatterns = {\n any: [/^v/, /^n/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234](st|d)e kwartaal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\\.?/i,\n wide: /^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^J/i, /^F/i, /^M/i, /^A/i, /^M/i, /^J/i, /^J/i, /^A/i, /^S/i, /^O/i, /^N/i, /^D/i],\n any: [/^Jan/i, /^Feb/i, /^Mrt/i, /^Apr/i, /^Mei/i, /^Jun/i, /^Jul/i, /^Aug/i, /^Sep/i, /^Okt/i, /^Nov/i, /^Dec/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smdwv]/i,\n short: /^(So|Ma|Di|Wo|Do|Vr|Sa)/i,\n abbreviated: /^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,\n wide: /^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i\n};\nvar parseDayPatterns = {\n narrow: [/^S/i, /^M/i, /^D/i, /^W/i, /^D/i, /^V/i, /^S/i],\n any: [/^So/i, /^Ma/i, /^Di/i, /^Wo/i, /^Do/i, /^Vr/i, /^Sa/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^vm/i,\n pm: /^nm/i,\n midnight: /^middernag/i,\n noon: /^middaguur/i,\n morning: /oggend/i,\n afternoon: /middag/i,\n evening: /laat middag/i,\n night: /aand/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Afrikaans locale.\n * @language Afrikaans\n * @iso-639-2 afr\n * @author Marnus Weststrate [@marnusw]{@link https://github.com/marnusw}\n */\n\nvar locale = {\n code: 'af',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,uBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,kBACb,iBAAkB,CAChB,IAAK,sBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,mBACL,MAAO,2BACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,iBACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,OAASC,EAETA,EAAS,UAIbA,CACT,ECpFIE,EAAc,CAChB,KAAM,oBACN,KAAM,cACN,OAAQ,aACR,MAAO,YACT,EACIC,EAA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EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.1e0e538b.js b/assets/index.1e0e538b.js new file mode 100644 index 0000000000..405e16b197 --- /dev/null +++ b/assets/index.1e0e538b.js @@ -0,0 +1,2 @@ +import{d,e as n,f as m,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXWeeks:{one:"um viku",other:"um {{count}} vikur"},xWeeks:{one:"1 viku",other:"{{count}} vikur"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}},l=function(a,u,r){var e,o=s[a];return typeof o=="string"?e=o:u===1?e=o.one:e=o.other.replace("{{count}}",u.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"í "+e:e+" síðan":e},f={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},h={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},g={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:d({formats:f,defaultWidth:"full"}),time:d({formats:h,defaultWidth:"full"}),dateTime:d({formats:g,defaultWidth:"full"})},c={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"P"},b=function(a,u,r,e){return c[a]},k={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},p={narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},y={narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},P={narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau."],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},w={narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},M={narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},j=function(a,u){var r=Number(a);return r+"."},W={ordinalNumber:j,era:n({values:k,defaultWidth:"wide"}),quarter:n({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:y,defaultWidth:"wide"}),day:n({values:P,defaultWidth:"wide"}),dayPeriod:n({values:w,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},F=/^(\d+)(\.)?/i,K=/\d+(\.)?/i,D={narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},x={any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},H={narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},z={any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},L={narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},S={narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},V={narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},X={narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},C={any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},E={ordinalNumber:m({matchPattern:F,parsePattern:K,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),quarter:i({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:X,defaultMatchWidth:"any",parsePatterns:C,defaultParseWidth:"any"})},J={code:"is",formatDistance:l,formatLong:v,formatRelative:b,localize:W,match:E,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{J as default}; +//# sourceMappingURL=index.1e0e538b.js.map diff --git a/assets/index.1e0e538b.js.map b/assets/index.1e0e538b.js.map new file mode 100644 index 0000000000..00344f49ff --- /dev/null +++ b/assets/index.1e0e538b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.1e0e538b.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/is/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'minna en 1 sekúnda',\n other: 'minna en {{count}} sekúndur'\n },\n xSeconds: {\n one: '1 sekúnda',\n other: '{{count}} sekúndur'\n },\n halfAMinute: 'hálf mínúta',\n lessThanXMinutes: {\n one: 'minna en 1 mínúta',\n other: 'minna en {{count}} mínútur'\n },\n xMinutes: {\n one: '1 mínúta',\n other: '{{count}} mínútur'\n },\n aboutXHours: {\n one: 'u.þ.b. 1 klukkustund',\n other: 'u.þ.b. {{count}} klukkustundir'\n },\n xHours: {\n one: '1 klukkustund',\n other: '{{count}} klukkustundir'\n },\n xDays: {\n one: '1 dagur',\n other: '{{count}} dagar'\n },\n aboutXWeeks: {\n one: 'um viku',\n other: 'um {{count}} vikur'\n },\n xWeeks: {\n one: '1 viku',\n other: '{{count}} vikur'\n },\n aboutXMonths: {\n one: 'u.þ.b. 1 mánuður',\n other: 'u.þ.b. {{count}} mánuðir'\n },\n xMonths: {\n one: '1 mánuður',\n other: '{{count}} mánuðir'\n },\n aboutXYears: {\n one: 'u.þ.b. 1 ár',\n other: 'u.þ.b. {{count}} ár'\n },\n xYears: {\n one: '1 ár',\n other: '{{count}} ár'\n },\n overXYears: {\n one: 'meira en 1 ár',\n other: 'meira en {{count}} ár'\n },\n almostXYears: {\n one: 'næstum 1 ár',\n other: 'næstum {{count}} ár'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'í ' + result;\n } else {\n return result + ' síðan';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n long: 'do MMMM y',\n medium: 'do MMM y',\n short: 'd.MM.y'\n};\nvar timeFormats = {\n full: \"'kl'. HH:mm:ss zzzz\",\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kl.' {{time}}\",\n long: \"{{date}} 'kl.' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'síðasta' dddd 'kl.' p\",\n yesterday: \"'í gær kl.' p\",\n today: \"'í dag kl.' p\",\n tomorrow: \"'á morgun kl.' p\",\n nextWeek: \"dddd 'kl.' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['f.Kr.', 'e.Kr.'],\n abbreviated: ['f.Kr.', 'e.Kr.'],\n wide: ['fyrir Krist', 'eftir Krist']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1F', '2F', '3F', '4F'],\n wide: ['1. fjórðungur', '2. fjórðungur', '3. fjórðungur', '4. fjórðungur']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'Ó', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'sept.', 'okt.', 'nóv.', 'des.'],\n wide: ['janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'],\n short: ['Su', 'Má', 'Þr', 'Mi', 'Fi', 'Fö', 'La'],\n abbreviated: ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'],\n wide: ['sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'f',\n pm: 'e',\n midnight: 'miðnætti',\n noon: 'hádegi',\n morning: 'morgunn',\n afternoon: 'síðdegi',\n evening: 'kvöld',\n night: 'nótt'\n },\n abbreviated: {\n am: 'f.h.',\n pm: 'e.h.',\n midnight: 'miðnætti',\n noon: 'hádegi',\n morning: 'morgunn',\n afternoon: 'síðdegi',\n evening: 'kvöld',\n night: 'nótt'\n },\n wide: {\n am: 'fyrir hádegi',\n pm: 'eftir hádegi',\n midnight: 'miðnætti',\n noon: 'hádegi',\n morning: 'morgunn',\n afternoon: 'síðdegi',\n evening: 'kvöld',\n night: 'nótt'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'f',\n pm: 'e',\n midnight: 'á miðnætti',\n noon: 'á hádegi',\n morning: 'að morgni',\n afternoon: 'síðdegis',\n evening: 'um kvöld',\n night: 'um nótt'\n },\n abbreviated: {\n am: 'f.h.',\n pm: 'e.h.',\n midnight: 'á miðnætti',\n noon: 'á hádegi',\n morning: 'að morgni',\n afternoon: 'síðdegis',\n evening: 'um kvöld',\n night: 'um nótt'\n },\n wide: {\n am: 'fyrir hádegi',\n pm: 'eftir hádegi',\n midnight: 'á miðnætti',\n noon: 'á hádegi',\n morning: 'að morgni',\n afternoon: 'síðdegis',\n evening: 'um kvöld',\n night: 'um nótt'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+(\\.)?/i;\nvar matchEraPatterns = {\n narrow: /^(f\\.Kr\\.|e\\.Kr\\.)/i,\n abbreviated: /^(f\\.Kr\\.|e\\.Kr\\.)/i,\n wide: /^(fyrir Krist|eftir Krist)/i\n};\nvar parseEraPatterns = {\n any: [/^(f\\.Kr\\.)/i, /^(e\\.Kr\\.)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]\\.?/i,\n abbreviated: /^q[1234]\\.?/i,\n wide: /^[1234]\\.? fjórðungur/i\n};\nvar parseQuarterPatterns = {\n any: [/1\\.?/i, /2\\.?/i, /3\\.?/i, /4\\.?/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmásónd]/i,\n abbreviated: /^(jan\\.|feb\\.|mars\\.|apríl\\.|maí|júní|júlí|águst|sep\\.|oct\\.|nov\\.|dec\\.)/i,\n wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^á/i, /^s/i, /^ó/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maí/i, /^jún/i, /^júl/i, /^áu/i, /^s/i, /^ó/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|má|þr|mi|fi|fö|la)/i,\n abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\\.?/i,\n wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^þ/i, /^m/i, /^f/i, /^f/i, /^l/i],\n any: [/^su/i, /^má/i, /^þr/i, /^mi/i, /^fi/i, /^fö/i, /^la/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,\n any: /^(fyrir hádegi|eftir hádegi|[ef]\\.?h\\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^f/i,\n pm: /^e/i,\n midnight: /^mi/i,\n noon: /^há/i,\n morning: /morgunn/i,\n afternoon: /síðdegi/i,\n evening: /kvöld/i,\n night: /nótt/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Icelandic locale.\n * @language Icelandic\n * @iso-639-2 isl\n * @author Derek Blank [@derekblank]{@link https://github.com/derekblank}\n * @author Arnór Ýmir [@lamayg]{@link https://github.com/lamayg}\n */\n\nvar locale = {\n code: 'is',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,uBACL,MAAO,gCACR,EACD,OAAQ,CACN,IAAK,gBACL,MAAO,yBACR,EACD,MAAO,CACL,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,UACL,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,mBACL,MAAO,0BACR,EACD,QAAS,CACP,IAAK,YACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,WAAY,CACV,IAAK,gBACL,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,qBACR,CACH,EAEIC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OACV,KAAM,OACN,QAAS,WACT,UAAW,WACX,QAAS,SACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.21309fda.js b/assets/index.21309fda.js new file mode 100644 index 0000000000..b569e3cdd4 --- /dev/null +++ b/assets/index.21309fda.js @@ -0,0 +1,2 @@ +import{f as a,l as m,m as o}from"./index.7fdd26b2.js";import{d as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{f as e}from"./index.31a6003e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},i={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},h={code:"fr",formatDistance:a,formatLong:s,formatRelative:e,localize:m,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{h as default}; +//# sourceMappingURL=index.21309fda.js.map diff --git a/assets/index.21309fda.js.map b/assets/index.21309fda.js.map new file mode 100644 index 0000000000..5deb67207b --- /dev/null +++ b/assets/index.21309fda.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.21309fda.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'à' {{time}}\",\n long: \"{{date}} 'à' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary French locale.\n * @language French\n * @iso-639-2 fra\n * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}\n * @author François B [@fbonzon]{@link https://github.com/fbonzon}\n */\n\nvar locale = {\n code: 'fr',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"+ZACA,IAAIA,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,wBACN,KAAM,wBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,ECjBIG,EAAS,CACX,KAAM,KACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.236bd355.js b/assets/index.236bd355.js new file mode 100644 index 0000000000..5480a0a499 --- /dev/null +++ b/assets/index.236bd355.js @@ -0,0 +1,2 @@ +import{d as m,e as l,f as c,g as p}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var f={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},k=function(e,n,a,s){return n?s?"kelių sekundžių":"kelias sekundes":"kelios sekundės"},t=function(e,n,a,s){return n?s?d(a)[1]:d(a)[2]:d(a)[0]},i=function(e,n,a,s){var u=e+" ";return e===1?u+t(e,n,a,s):n?s?u+d(a)[1]:u+(g(e)?d(a)[1]:d(a)[2]):u+(g(e)?d(a)[1]:d(a)[0])};function g(r){return r%10===0||r>10&&r<20}function d(r){return f[r].split("_")}var w={lessThanXSeconds:{one:k,other:i},xSeconds:{one:k,other:i},halfAMinute:"pusė minutės",lessThanXMinutes:{one:t,other:i},xMinutes:{one:t,other:i},aboutXHours:{one:t,other:i},xHours:{one:t,other:i},xDays:{one:t,other:i},aboutXWeeks:{one:t,other:i},xWeeks:{one:t,other:i},aboutXMonths:{one:t,other:i},xMonths:{one:t,other:i},aboutXYears:{one:t,other:i},xYears:{one:t,other:i},overXYears:{one:t,other:i},almostXYears:{one:t,other:i}},I=function(e,n,a){var s=e.match(/about|over|almost|lessthan/i),u=s?e.replace(s[0],""):e,h=(a==null?void 0:a.comparison)!==void 0&&a.comparison>0,o,v=w[e];if(typeof v=="string"?o=v:n===1?o=v.one(n,(a==null?void 0:a.addSuffix)===!0,u.toLowerCase()+"_one",h):o=v.other(n,(a==null?void 0:a.addSuffix)===!0,u.toLowerCase()+"_other",h),s){var b=s[0].toLowerCase();o=f[b]+" "+o}return a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"po "+o:"prieš "+o:o},_={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},P={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},y={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},M={date:m({formats:_,defaultWidth:"full"}),time:m({formats:P,defaultWidth:"full"}),dateTime:m({formats:y,defaultWidth:"full"})},W={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},x=function(e,n,a,s){return W[e]},V={narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},S={narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},K={narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},D={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},L={narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},j={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},F={narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},C={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},H={narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},R=function(e,n){var a=Number(e);return a+"-oji"},z={ordinalNumber:R,era:l({values:V,defaultWidth:"wide"}),quarter:l({values:S,defaultWidth:"wide",formattingValues:K,defaultFormattingWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:D,defaultWidth:"wide",formattingValues:L,defaultFormattingWidth:"wide"}),day:l({values:j,defaultWidth:"wide",formattingValues:F,defaultFormattingWidth:"wide"}),dayPeriod:l({values:C,defaultWidth:"wide",formattingValues:H,defaultFormattingWidth:"wide"})},T=/^(\d+)(-oji)?/i,X=/\d+/i,N={narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},E={wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},A={narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},B={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},G={narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},Y={narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},$={narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},q={narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},O={narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},Q={narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},J={ordinalNumber:c({matchPattern:T,parsePattern:X,valueCallback:function(e){return parseInt(e,10)}}),era:p({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:p({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:p({matchPatterns:G,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"}),day:p({matchPatterns:$,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),dayPeriod:p({matchPatterns:O,defaultMatchWidth:"any",parsePatterns:Q,defaultParseWidth:"any"})},ra={code:"lt",formatDistance:I,formatLong:M,formatRelative:x,localize:z,match:J,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{ra as default}; +//# sourceMappingURL=index.236bd355.js.map diff --git a/assets/index.236bd355.js.map b/assets/index.236bd355.js.map new file mode 100644 index 0000000000..06f5ff3ac5 --- /dev/null +++ b/assets/index.236bd355.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.236bd355.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lt/index.js"],"sourcesContent":["var translations = {\n xseconds_other: 'sekundė_sekundžių_sekundes',\n xminutes_one: 'minutė_minutės_minutę',\n xminutes_other: 'minutės_minučių_minutes',\n xhours_one: 'valanda_valandos_valandą',\n xhours_other: 'valandos_valandų_valandas',\n xdays_one: 'diena_dienos_dieną',\n xdays_other: 'dienos_dienų_dienas',\n xweeks_one: 'savaitė_savaitės_savaitę',\n xweeks_other: 'savaitės_savaičių_savaites',\n xmonths_one: 'mėnuo_mėnesio_mėnesį',\n xmonths_other: 'mėnesiai_mėnesių_mėnesius',\n xyears_one: 'metai_metų_metus',\n xyears_other: 'metai_metų_metus',\n about: 'apie',\n over: 'daugiau nei',\n almost: 'beveik',\n lessthan: 'mažiau nei'\n};\n\nvar translateSeconds = function translateSeconds(_number, addSuffix, _key, isFuture) {\n if (!addSuffix) {\n return 'kelios sekundės';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n};\n\nvar translateSingular = function translateSingular(_number, addSuffix, key, isFuture) {\n return !addSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2];\n};\n\nvar translate = function translate(number, addSuffix, key, isFuture) {\n var result = number + ' ';\n\n if (number === 1) {\n return result + translateSingular(number, addSuffix, key, isFuture);\n } else if (!addSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n};\n\nfunction special(number) {\n return number % 10 === 0 || number > 10 && number < 20;\n}\n\nfunction forms(key) {\n return translations[key].split('_');\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: translateSeconds,\n other: translate\n },\n xSeconds: {\n one: translateSeconds,\n other: translate\n },\n halfAMinute: 'pusė minutės',\n lessThanXMinutes: {\n one: translateSingular,\n other: translate\n },\n xMinutes: {\n one: translateSingular,\n other: translate\n },\n aboutXHours: {\n one: translateSingular,\n other: translate\n },\n xHours: {\n one: translateSingular,\n other: translate\n },\n xDays: {\n one: translateSingular,\n other: translate\n },\n aboutXWeeks: {\n one: translateSingular,\n other: translate\n },\n xWeeks: {\n one: translateSingular,\n other: translate\n },\n aboutXMonths: {\n one: translateSingular,\n other: translate\n },\n xMonths: {\n one: translateSingular,\n other: translate\n },\n aboutXYears: {\n one: translateSingular,\n other: translate\n },\n xYears: {\n one: translateSingular,\n other: translate\n },\n overXYears: {\n one: translateSingular,\n other: translate\n },\n almostXYears: {\n one: translateSingular,\n other: translate\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var adverb = token.match(/about|over|almost|lessthan/i);\n var unit = adverb ? token.replace(adverb[0], '') : token;\n var isFuture = (options === null || options === void 0 ? void 0 : options.comparison) !== undefined && options.comparison > 0;\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_one', isFuture);\n } else {\n result = tokenValue.other(count, (options === null || options === void 0 ? void 0 : options.addSuffix) === true, unit.toLowerCase() + '_other', isFuture);\n }\n\n if (adverb) {\n var _key2 = adverb[0].toLowerCase();\n\n result = translations[_key2] + ' ' + result;\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'po ' + result;\n } else {\n return 'prieš ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"y 'm'. MMMM d 'd'., EEEE\",\n long: \"y 'm'. MMMM d 'd'.\",\n medium: 'y-MM-dd',\n short: 'y-MM-dd'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'Praėjusį' eeee p\",\n yesterday: \"'Vakar' p\",\n today: \"'Šiandien' p\",\n tomorrow: \"'Rytoj' p\",\n nextWeek: 'eeee p',\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['pr. Kr.', 'po Kr.'],\n abbreviated: ['pr. Kr.', 'po Kr.'],\n wide: ['prieš Kristų', 'po Kristaus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['I ketv.', 'II ketv.', 'III ketv.', 'IV ketv.'],\n wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis']\n};\nvar formattingQuarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['I k.', 'II k.', 'III k.', 'IV k.'],\n wide: ['I ketvirtis', 'II ketvirtis', 'III ketvirtis', 'IV ketvirtis']\n};\nvar monthValues = {\n narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'],\n abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'],\n wide: ['sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', 'rugsėjis', 'spalis', 'lapkritis', 'gruodis']\n};\nvar formattingMonthValues = {\n narrow: ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'],\n abbreviated: ['saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', 'lapkr.', 'gruod.'],\n wide: ['sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjūčio', 'rugsėjo', 'spalio', 'lapkričio', 'gruodžio']\n};\nvar dayValues = {\n narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'],\n short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'],\n abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'],\n wide: ['sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis', 'šeštadienis']\n};\nvar formattingDayValues = {\n narrow: ['S', 'P', 'A', 'T', 'K', 'P', 'Š'],\n short: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'],\n abbreviated: ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'],\n wide: ['sekmadienį', 'pirmadienį', 'antradienį', 'trečiadienį', 'ketvirtadienį', 'penktadienį', 'šeštadienį']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'pr. p.',\n pm: 'pop.',\n midnight: 'vidurnaktis',\n noon: 'vidurdienis',\n morning: 'rytas',\n afternoon: 'diena',\n evening: 'vakaras',\n night: 'naktis'\n },\n abbreviated: {\n am: 'priešpiet',\n pm: 'popiet',\n midnight: 'vidurnaktis',\n noon: 'vidurdienis',\n morning: 'rytas',\n afternoon: 'diena',\n evening: 'vakaras',\n night: 'naktis'\n },\n wide: {\n am: 'priešpiet',\n pm: 'popiet',\n midnight: 'vidurnaktis',\n noon: 'vidurdienis',\n morning: 'rytas',\n afternoon: 'diena',\n evening: 'vakaras',\n night: 'naktis'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'pr. p.',\n pm: 'pop.',\n midnight: 'vidurnaktis',\n noon: 'perpiet',\n morning: 'rytas',\n afternoon: 'popietė',\n evening: 'vakaras',\n night: 'naktis'\n },\n abbreviated: {\n am: 'priešpiet',\n pm: 'popiet',\n midnight: 'vidurnaktis',\n noon: 'perpiet',\n morning: 'rytas',\n afternoon: 'popietė',\n evening: 'vakaras',\n night: 'naktis'\n },\n wide: {\n am: 'priešpiet',\n pm: 'popiet',\n midnight: 'vidurnaktis',\n noon: 'perpiet',\n morning: 'rytas',\n afternoon: 'popietė',\n evening: 'vakaras',\n night: 'naktis'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '-oji';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n formattingValues: formattingQuarterValues,\n defaultFormattingWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-oji)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^p(r|o)\\.?\\s?(kr\\.?|me)/i,\n abbreviated: /^(pr\\.\\s?(kr\\.|m\\.\\s?e\\.)|po\\s?kr\\.|mūsų eroje)/i,\n wide: /^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i\n};\nvar parseEraPatterns = {\n wide: [/prieš/i, /(po|mūsų)/i],\n any: [/^pr/i, /^(po|m)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^([1234])/i,\n abbreviated: /^(I|II|III|IV)\\s?ketv?\\.?/i,\n wide: /^(I|II|III|IV)\\s?ketvirtis/i\n};\nvar parseQuarterPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i],\n any: [/I$/i, /II$/i, /III/i, /IV/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[svkbglr]/i,\n abbreviated: /^(saus\\.|vas\\.|kov\\.|bal\\.|geg\\.|birž\\.|liep\\.|rugp\\.|rugs\\.|spal\\.|lapkr\\.|gruod\\.)/i,\n wide: /^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^s/i, /^v/i, /^k/i, /^b/i, /^g/i, /^b/i, /^l/i, /^r/i, /^r/i, /^s/i, /^l/i, /^g/i],\n any: [/^saus/i, /^vas/i, /^kov/i, /^bal/i, /^geg/i, /^birž/i, /^liep/i, /^rugp/i, /^rugs/i, /^spal/i, /^lapkr/i, /^gruod/i]\n};\nvar matchDayPatterns = {\n narrow: /^[spatkš]/i,\n short: /^(sk|pr|an|tr|kt|pn|št)/i,\n abbreviated: /^(sk|pr|an|tr|kt|pn|št)/i,\n wide: /^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^p/i, /^a/i, /^t/i, /^k/i, /^p/i, /^š/i],\n wide: [/^se/i, /^pi/i, /^an/i, /^tr/i, /^ke/i, /^pe/i, /^še/i],\n any: [/^sk/i, /^pr/i, /^an/i, /^tr/i, /^kt/i, /^pn/i, /^št/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(pr.\\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,\n any: /^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^pr/i,\n pm: /^pop./i,\n midnight: /^vidurnaktis/i,\n noon: /^(vidurdienis|perp)/i,\n morning: /rytas/i,\n afternoon: /(die|popietė)/i,\n evening: /vakaras/i,\n night: /naktis/i\n },\n any: {\n am: /^pr/i,\n pm: /^popiet$/i,\n midnight: /^vidurnaktis/i,\n noon: /^(vidurdienis|perp)/i,\n morning: /rytas/i,\n afternoon: /(die|popietė)/i,\n evening: /vakaras/i,\n night: /naktis/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Lithuanian locale.\n * @language Lithuanian\n * @iso-639-2 lit\n * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak}\n * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll}\n */\n\nvar locale = {\n code: 'lt',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["translations","translateSeconds","_number","addSuffix","_key","isFuture","translateSingular","key","forms","translate","number","result","special","formatDistanceLocale","formatDistance","token","count","options","adverb","unit","tokenValue","_key2","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","formattingQuarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMat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kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC9FIM,GAAS,CACX,KAAM,KACN,eAAgBjD,EAChB,WAAYW,EACZ,eAAgBG,EAChB,SAAUe,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.23a6c151.js b/assets/index.23a6c151.js new file mode 100644 index 0000000000..a1083c24bd --- /dev/null +++ b/assets/index.23a6c151.js @@ -0,0 +1,2 @@ +import{d as v,e as o,f as g,g as l}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as d}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function s(a,e){if(a.one!==void 0&&e===1)return a.one;var i=e%10,t=e%100;return i===1&&t!==11?a.singularNominative.replace("{{count}}",String(e)):i>=2&&i<=4&&(t<10||t>20)?a.singularGenitive.replace("{{count}}",String(e)):a.pluralGenitive.replace("{{count}}",String(e))}function n(a){return function(e,i){return i!=null&&i.addSuffix?i.comparison&&i.comparison>0?a.future?s(a.future,e):"через "+s(a.regular,e):a.past?s(a.past,e):s(a.regular,e)+" назад":s(a.regular,e)}}var f={lessThanXSeconds:n({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:n({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,i){return i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:n({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:n({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:n({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:n({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:n({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:n({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:n({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:n({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:n({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:n({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:n({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:n({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:n({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},p=function(e,i,t){return f[e](i,t)},h={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},G={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},b={any:"{{date}}, {{time}}"},w={date:v({formats:h,defaultWidth:"full"}),time:v({formats:G,defaultWidth:"full"}),dateTime:v({formats:b,defaultWidth:"any"})},c=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function y(a){var e=c[a];switch(a){case 0:return"'в прошлое "+e+" в' p";case 1:case 2:case 4:return"'в прошлый "+e+" в' p";case 3:case 5:case 6:return"'в прошлую "+e+" в' p"}}function m(a){var e=c[a];return a===2?"'во "+e+" в' p":"'в "+e+" в' p"}function P(a){var e=c[a];switch(a){case 0:return"'в следующее "+e+" в' p";case 1:case 2:case 4:return"'в следующий "+e+" в' p";case 3:case 5:case 6:return"'в следующую "+e+" в' p"}}var N={lastWeek:function(e,i,t){var r=e.getUTCDay();return d(e,i,t)?m(r):y(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,i,t){var r=e.getUTCDay();return d(e,i,t)?m(r):P(r)},other:"P"},W=function(e,i,t,r){var u=N[e];return typeof u=="function"?u(i,t,r):u},M={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},k={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},x={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},D={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},F={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},C={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},z={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},S=function(e,i){var t=Number(e),r=i==null?void 0:i.unit,u;return r==="date"?u="-е":r==="week"||r==="minute"||r==="second"?u="-я":u="-й",t+u},V={ordinalNumber:S,era:o({values:M,defaultWidth:"wide"}),quarter:o({values:k,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:x,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"}),day:o({values:F,defaultWidth:"wide"}),dayPeriod:o({values:C,defaultWidth:"any",formattingValues:z,defaultFormattingWidth:"wide"})},T=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,X=/\d+/i,L={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},E={any:[/^д/i,/^н/i]},H={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},R={any:[/1/i,/2/i,/3/i,/4/i]},Y={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},q={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},O={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},U={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},_={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},A={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Q={ordinalNumber:g({matchPattern:T,parsePattern:X,valueCallback:function(e){return parseInt(e,10)}}),era:l({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:l({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),day:l({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:U,defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:_,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"})},$={code:"ru",formatDistance:p,formatLong:w,formatRelative:W,localize:V,match:Q,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{$ as default}; +//# sourceMappingURL=index.23a6c151.js.map diff --git a/assets/index.23a6c151.js.map b/assets/index.23a6c151.js.map new file mode 100644 index 0000000000..ce1ef55b0b --- /dev/null +++ b/assets/index.23a6c151.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.23a6c151.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ru/index.js"],"sourcesContent":["function declension(scheme, count) {\n // scheme for count=1 exists\n if (scheme.one !== undefined && count === 1) {\n return scheme.one;\n }\n\n var rem10 = count % 10;\n var rem100 = count % 100; // 1, 21, 31, ...\n\n if (rem10 === 1 && rem100 !== 11) {\n return scheme.singularNominative.replace('{{count}}', String(count)); // 2, 3, 4, 22, 23, 24, 32 ...\n } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {\n return scheme.singularGenitive.replace('{{count}}', String(count)); // 5, 6, 7, 8, 9, 10, 11, ...\n } else {\n return scheme.pluralGenitive.replace('{{count}}', String(count));\n }\n}\n\nfunction buildLocalizeTokenFn(scheme) {\n return function (count, options) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (scheme.future) {\n return declension(scheme.future, count);\n } else {\n return 'через ' + declension(scheme.regular, count);\n }\n } else {\n if (scheme.past) {\n return declension(scheme.past, count);\n } else {\n return declension(scheme.regular, count) + ' назад';\n }\n }\n } else {\n return declension(scheme.regular, count);\n }\n };\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n regular: {\n one: 'меньше секунды',\n singularNominative: 'меньше {{count}} секунды',\n singularGenitive: 'меньше {{count}} секунд',\n pluralGenitive: 'меньше {{count}} секунд'\n },\n future: {\n one: 'меньше, чем через секунду',\n singularNominative: 'меньше, чем через {{count}} секунду',\n singularGenitive: 'меньше, чем через {{count}} секунды',\n pluralGenitive: 'меньше, чем через {{count}} секунд'\n }\n }),\n xSeconds: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} секунда',\n singularGenitive: '{{count}} секунды',\n pluralGenitive: '{{count}} секунд'\n },\n past: {\n singularNominative: '{{count}} секунду назад',\n singularGenitive: '{{count}} секунды назад',\n pluralGenitive: '{{count}} секунд назад'\n },\n future: {\n singularNominative: 'через {{count}} секунду',\n singularGenitive: 'через {{count}} секунды',\n pluralGenitive: 'через {{count}} секунд'\n }\n }),\n halfAMinute: function halfAMinute(_count, options) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'через полминуты';\n } else {\n return 'полминуты назад';\n }\n }\n\n return 'полминуты';\n },\n lessThanXMinutes: buildLocalizeTokenFn({\n regular: {\n one: 'меньше минуты',\n singularNominative: 'меньше {{count}} минуты',\n singularGenitive: 'меньше {{count}} минут',\n pluralGenitive: 'меньше {{count}} минут'\n },\n future: {\n one: 'меньше, чем через минуту',\n singularNominative: 'меньше, чем через {{count}} минуту',\n singularGenitive: 'меньше, чем через {{count}} минуты',\n pluralGenitive: 'меньше, чем через {{count}} минут'\n }\n }),\n xMinutes: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} минута',\n singularGenitive: '{{count}} минуты',\n pluralGenitive: '{{count}} минут'\n },\n past: {\n singularNominative: '{{count}} минуту назад',\n singularGenitive: '{{count}} минуты назад',\n pluralGenitive: '{{count}} минут назад'\n },\n future: {\n singularNominative: 'через {{count}} минуту',\n singularGenitive: 'через {{count}} минуты',\n pluralGenitive: 'через {{count}} минут'\n }\n }),\n aboutXHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'около {{count}} часа',\n singularGenitive: 'около {{count}} часов',\n pluralGenitive: 'около {{count}} часов'\n },\n future: {\n singularNominative: 'приблизительно через {{count}} час',\n singularGenitive: 'приблизительно через {{count}} часа',\n pluralGenitive: 'приблизительно через {{count}} часов'\n }\n }),\n xHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} час',\n singularGenitive: '{{count}} часа',\n pluralGenitive: '{{count}} часов'\n }\n }),\n xDays: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} день',\n singularGenitive: '{{count}} дня',\n pluralGenitive: '{{count}} дней'\n }\n }),\n aboutXWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'около {{count}} недели',\n singularGenitive: 'около {{count}} недель',\n pluralGenitive: 'около {{count}} недель'\n },\n future: {\n singularNominative: 'приблизительно через {{count}} неделю',\n singularGenitive: 'приблизительно через {{count}} недели',\n pluralGenitive: 'приблизительно через {{count}} недель'\n }\n }),\n xWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} неделя',\n singularGenitive: '{{count}} недели',\n pluralGenitive: '{{count}} недель'\n }\n }),\n aboutXMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'около {{count}} месяца',\n singularGenitive: 'около {{count}} месяцев',\n pluralGenitive: 'около {{count}} месяцев'\n },\n future: {\n singularNominative: 'приблизительно через {{count}} месяц',\n singularGenitive: 'приблизительно через {{count}} месяца',\n pluralGenitive: 'приблизительно через {{count}} месяцев'\n }\n }),\n xMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} месяц',\n singularGenitive: '{{count}} месяца',\n pluralGenitive: '{{count}} месяцев'\n }\n }),\n aboutXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'около {{count}} года',\n singularGenitive: 'около {{count}} лет',\n pluralGenitive: 'около {{count}} лет'\n },\n future: {\n singularNominative: 'приблизительно через {{count}} год',\n singularGenitive: 'приблизительно через {{count}} года',\n pluralGenitive: 'приблизительно через {{count}} лет'\n }\n }),\n xYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} год',\n singularGenitive: '{{count}} года',\n pluralGenitive: '{{count}} лет'\n }\n }),\n overXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'больше {{count}} года',\n singularGenitive: 'больше {{count}} лет',\n pluralGenitive: 'больше {{count}} лет'\n },\n future: {\n singularNominative: 'больше, чем через {{count}} год',\n singularGenitive: 'больше, чем через {{count}} года',\n pluralGenitive: 'больше, чем через {{count}} лет'\n }\n }),\n almostXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'почти {{count}} год',\n singularGenitive: 'почти {{count}} года',\n pluralGenitive: 'почти {{count}} лет'\n },\n future: {\n singularNominative: 'почти через {{count}} год',\n singularGenitive: 'почти через {{count}} года',\n pluralGenitive: 'почти через {{count}} лет'\n }\n })\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n return formatDistanceLocale[token](count, options);\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d MMMM y 'г.'\",\n long: \"d MMMM y 'г.'\",\n medium: \"d MMM y 'г.'\",\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar accusativeWeekdays = ['воскресенье', 'понедельник', 'вторник', 'среду', 'четверг', 'пятницу', 'субботу'];\n\nfunction _lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n return \"'в прошлое \" + weekday + \" в' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'в прошлый \" + weekday + \" в' p\";\n\n case 3:\n case 5:\n case 6:\n return \"'в прошлую \" + weekday + \" в' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n if (day === 2\n /* Tue */\n ) {\n return \"'во \" + weekday + \" в' p\";\n } else {\n return \"'в \" + weekday + \" в' p\";\n }\n}\n\nfunction _nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n return \"'в следующее \" + weekday + \" в' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'в следующий \" + weekday + \" в' p\";\n\n case 3:\n case 5:\n case 6:\n return \"'в следующую \" + weekday + \" в' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'вчера в' p\",\n today: \"'сегодня в' p\",\n tomorrow: \"'завтра в' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['до н.э.', 'н.э.'],\n abbreviated: ['до н. э.', 'н. э.'],\n wide: ['до нашей эры', 'нашей эры']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'],\n wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал']\n};\nvar monthValues = {\n narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],\n abbreviated: ['янв.', 'фев.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'],\n wide: ['январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', 'декабрь']\n};\nvar formattingMonthValues = {\n narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],\n abbreviated: ['янв.', 'фев.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.'],\n wide: ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря']\n};\nvar dayValues = {\n narrow: ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'],\n short: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],\n abbreviated: ['вск', 'пнд', 'втр', 'срд', 'чтв', 'птн', 'суб'],\n wide: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полн.',\n noon: 'полд.',\n morning: 'утро',\n afternoon: 'день',\n evening: 'веч.',\n night: 'ночь'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полн.',\n noon: 'полд.',\n morning: 'утро',\n afternoon: 'день',\n evening: 'веч.',\n night: 'ночь'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полночь',\n noon: 'полдень',\n morning: 'утро',\n afternoon: 'день',\n evening: 'вечер',\n night: 'ночь'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полн.',\n noon: 'полд.',\n morning: 'утра',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночи'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полн.',\n noon: 'полд.',\n morning: 'утра',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночи'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'полночь',\n noon: 'полдень',\n morning: 'утра',\n afternoon: 'дня',\n evening: 'вечера',\n night: 'ночи'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n var suffix;\n\n if (unit === 'date') {\n suffix = '-е';\n } else if (unit === 'week' || unit === 'minute' || unit === 'second') {\n suffix = '-я';\n } else {\n suffix = '-й';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((до )?н\\.?\\s?э\\.?)/i,\n abbreviated: /^((до )?н\\.?\\s?э\\.?)/i,\n wide: /^(до нашей эры|нашей эры|наша эра)/i\n};\nvar parseEraPatterns = {\n any: [/^д/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i,\n wide: /^[1234](-?[ыои]?й?)? квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[яфмаисонд]/i,\n abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\\.?/i,\n wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i\n};\nvar parseMonthPatterns = {\n narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^я/i],\n any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i]\n};\nvar matchDayPatterns = {\n narrow: /^[впсч]/i,\n short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\\.?/i,\n abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,\n wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i\n};\nvar parseDayPatterns = {\n narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([дп]п|полн\\.?|полд\\.?|утр[оа]|день|дня|веч\\.?|ноч[ьи])/i,\n abbreviated: /^([дп]п|полн\\.?|полд\\.?|утр[оа]|день|дня|веч\\.?|ноч[ьи])/i,\n wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^дп/i,\n pm: /^пп/i,\n midnight: /^полн/i,\n noon: /^полд/i,\n morning: /^у/i,\n afternoon: /^д[ен]/i,\n evening: /^в/i,\n night: /^н/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Russian locale.\n * @language Russian\n * @iso-639-2 rus\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n code: 'ru',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["declension","scheme","count","rem10","rem100","buildLocalizeTokenFn","options","formatDistanceLocale","_count","formatDistance","token","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","_lastWeek","day","weekday","thisWeek","_nextWeek","formatRelativeLocale","date","baseDate","isSameUTCWeek","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"8XAAA,SAASA,EAAWC,EAAQC,EAAO,CAEjC,GAAID,EAAO,MAAQ,QAAaC,IAAU,EACxC,OAAOD,EAAO,IAGhB,IAAIE,EAAQD,EAAQ,GAChBE,EAASF,EAAQ,IAErB,OAAIC,IAAU,GAAKC,IAAW,GACrBH,EAAO,mBAAmB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAC1DC,GAAS,GAAKA,GAAS,IAAMC,EAAS,IAAMA,EAAS,IACvDH,EAAO,iBAAiB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAE1DD,EAAO,eAAe,QAAQ,YAAa,OAAOC,CAAK,CAAC,CAEnE,CAEA,SAASG,EAAqBJ,EAAQ,CACpC,OAAO,SAAUC,EAAOI,EAAS,CAC/B,OAAIA,GAAY,MAA8BA,EAAQ,UAChDA,EA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,UAAW,UAAW,MAAO,OAAQ,MAAO,UAAW,SAAS,CACxE,EACIC,EAAyB,CAC3B,OAAQ,4DACR,YAAa,4DACb,KAAM,4DACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,SACV,KAAM,SACN,QAAS,MACT,UAAW,UACX,QAAS,MACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgBnD,EAChB,WAAYK,EACZ,eAAgBY,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.2434a05f.js b/assets/index.2434a05f.js new file mode 100644 index 0000000000..3e2b249aa6 --- /dev/null +++ b/assets/index.2434a05f.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as m,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},l=function(a,o,t){var e,d=u[a];return typeof d=="string"?e=d:o===1?e=d.one:e=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"در "+e:e+" قبل":e},h={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},f={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},v={full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:s({formats:h,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:v,defaultWidth:"full"})},b={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},g=function(a,o,t,e){return b[a]},w={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},P={narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},p={narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},y={narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},M={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},W={narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},k=function(a,o){return String(a)},D={ordinalNumber:k,era:i({values:w,defaultWidth:"wide"}),quarter:i({values:P,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:p,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(th|st|nd|rd)?/i,F=/\d+/i,z={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},V={any:[/^قبل/i,/^بعد/i]},X={narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},C={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},L={narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},N={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},S={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},R={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},T={any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},Y={ordinalNumber:m({matchPattern:x,parsePattern:F,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:n({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:n({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"})},Q={code:"fa-IR",formatDistance:l,formatLong:c,formatRelative:g,localize:D,match:Y,options:{weekStartsOn:6,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.2434a05f.js.map diff --git a/assets/index.2434a05f.js.map b/assets/index.2434a05f.js.map new file mode 100644 index 0000000000..5e94b40c3c --- /dev/null +++ b/assets/index.2434a05f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2434a05f.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fa-IR/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'کمتر از یک ثانیه',\n other: 'کمتر از {{count}} ثانیه'\n },\n xSeconds: {\n one: '1 ثانیه',\n other: '{{count}} ثانیه'\n },\n halfAMinute: 'نیم دقیقه',\n lessThanXMinutes: {\n one: 'کمتر از یک دقیقه',\n other: 'کمتر از {{count}} دقیقه'\n },\n xMinutes: {\n one: '1 دقیقه',\n other: '{{count}} دقیقه'\n },\n aboutXHours: {\n one: 'حدود 1 ساعت',\n other: 'حدود {{count}} ساعت'\n },\n xHours: {\n one: '1 ساعت',\n other: '{{count}} ساعت'\n },\n xDays: {\n one: '1 روز',\n other: '{{count}} روز'\n },\n aboutXWeeks: {\n one: 'حدود 1 هفته',\n other: 'حدود {{count}} هفته'\n },\n xWeeks: {\n one: '1 هفته',\n other: '{{count}} هفته'\n },\n aboutXMonths: {\n one: 'حدود 1 ماه',\n other: 'حدود {{count}} ماه'\n },\n xMonths: {\n one: '1 ماه',\n other: '{{count}} ماه'\n },\n aboutXYears: {\n one: 'حدود 1 سال',\n other: 'حدود {{count}} سال'\n },\n xYears: {\n one: '1 سال',\n other: '{{count}} سال'\n },\n overXYears: {\n one: 'بیشتر از 1 سال',\n other: 'بیشتر از {{count}} سال'\n },\n almostXYears: {\n one: 'نزدیک 1 سال',\n other: 'نزدیک {{count}} سال'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'در ' + result;\n } else {\n return result + ' قبل';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE do MMMM y',\n long: 'do MMMM y',\n medium: 'd MMM y',\n short: 'yyyy/MM/dd'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'در' {{time}}\",\n long: \"{{date}} 'در' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'گذشته در' p\",\n yesterday: \"'دیروز در' p\",\n today: \"'امروز در' p\",\n tomorrow: \"'فردا در' p\",\n nextWeek: \"eeee 'در' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل از میلاد', 'بعد از میلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['س‌م1', 'س‌م2', 'س‌م3', 'س‌م4'],\n wide: ['سه‌ماهه 1', 'سه‌ماهه 2', 'سه‌ماهه 3', 'سه‌ماهه 4']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['ژ', 'ف', 'م', 'آ', 'م', 'ج', 'ج', 'آ', 'س', 'ا', 'ن', 'د'],\n abbreviated: ['ژانـ', 'فور', 'مارس', 'آپر', 'می', 'جون', 'جولـ', 'آگو', 'سپتـ', 'اکتـ', 'نوامـ', 'دسامـ'],\n wide: ['ژانویه', 'فوریه', 'مارس', 'آپریل', 'می', 'جون', 'جولای', 'آگوست', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر']\n};\nvar dayValues = {\n narrow: ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],\n short: ['1ش', '2ش', '3ش', '4ش', '5ش', 'ج', 'ش'],\n abbreviated: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],\n wide: ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ق',\n pm: 'ب',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'ص',\n afternoon: 'ب.ظ.',\n evening: 'ع',\n night: 'ش'\n },\n abbreviated: {\n am: 'ق.ظ.',\n pm: 'ب.ظ.',\n midnight: 'نیمه‌شب',\n noon: 'ظهر',\n morning: 'صبح',\n afternoon: 'بعدازظهر',\n evening: 'عصر',\n night: 'شب'\n },\n wide: {\n am: 'قبل‌ازظهر',\n pm: 'بعدازظهر',\n midnight: 'نیمه‌شب',\n noon: 'ظهر',\n morning: 'صبح',\n afternoon: 'بعدازظهر',\n evening: 'عصر',\n night: 'شب'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ق',\n pm: 'ب',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'ص',\n afternoon: 'ب.ظ.',\n evening: 'ع',\n night: 'ش'\n },\n abbreviated: {\n am: 'ق.ظ.',\n pm: 'ب.ظ.',\n midnight: 'نیمه‌شب',\n noon: 'ظهر',\n morning: 'صبح',\n afternoon: 'بعدازظهر',\n evening: 'عصر',\n night: 'شب'\n },\n wide: {\n am: 'قبل‌ازظهر',\n pm: 'بعدازظهر',\n midnight: 'نیمه‌شب',\n noon: 'ظهر',\n morning: 'صبح',\n afternoon: 'بعدازظهر',\n evening: 'عصر',\n night: 'شب'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?د\\.?\\s?م\\.?|م\\.?\\s?|د\\.?\\s?م\\.?)/i,\n wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i\n};\nvar parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^س‌م[1234]/i,\n wide: /^سه‌ماهه [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[جژفمآاماسند]/i,\n abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,\n wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^(ژ|ج)/i, /^ف/i, /^م/i, /^(آ|ا)/i, /^م/i, /^(ژ|ج)/i, /^(ج|ژ)/i, /^(آ|ا)/i, /^س/i, /^ا/i, /^ن/i, /^د/i],\n any: [/^ژا/i, /^ف/i, /^ما/i, /^آپ/i, /^(می|مه)/i, /^(ژوئن|جون)/i, /^(ژوئی|جول)/i, /^(اوت|آگ)/i, /^س/i, /^(اوک|اک)/i, /^ن/i, /^د/i]\n};\nvar matchDayPatterns = {\n narrow: /^[شیدسچپج]/i,\n short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,\n abbreviated: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,\n wide: /^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [/^(ی|1ش|یکشنبه)/i, /^(د|2ش|دوشنبه)/i, /^(س|3ش|سه‌شنبه)/i, /^(چ|4ش|چهارشنبه)/i, /^(پ|5ش|پنجشنبه)/i, /^(ج|جمعه)/i, /^(ش|شنبه)/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,\n abbreviated: /^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,\n wide: /^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(ق|ق.ظ.|قبل‌ازظهر)/i,\n pm: /^(ب|ب.ظ.|بعدازظهر)/i,\n midnight: /^(‌نیمه‌شب|ن)/i,\n noon: /^(ظ|ظهر)/i,\n morning: /(ص|صبح)/i,\n afternoon: /(ب|ب.ظ.|بعدازظهر)/i,\n evening: /(ع|عصر)/i,\n night: /(ش|شب)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Persian/Farsi locale (Iran).\n * @language Persian\n * @iso-639-2 ira\n * @author Morteza Ziyae [@mort3za]{@link https://github.com/mort3za}\n */\n\nvar locale = {\n code: 'fa-IR',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 6\n /* Saturday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,mBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,aACL,MAAO,oBACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,aACL,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,WAAY,CACV,IAAK,iBACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAERA,EAAS,OAIbA,CACT,ECpFIE,EAAc,CAChB,KAAM,iBACN,KAAM,YACN,OAAQ,UACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,iBACN,KAAM,cACN,OAAQ,YACR,MAAO,QACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,C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AeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,QACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.24c46401.js b/assets/index.24c46401.js new file mode 100644 index 0000000000..c1caf8272c --- /dev/null +++ b/assets/index.24c46401.js @@ -0,0 +1,2 @@ +import{d as t,o as a,q as m,u as e,v as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},l={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},M={code:"en-AU",formatDistance:a,formatLong:s,formatRelative:m,localize:e,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{M as default}; +//# sourceMappingURL=index.24c46401.js.map diff --git a/assets/index.24c46401.js.map b/assets/index.24c46401.js.map new file mode 100644 index 0000000000..eee8066142 --- /dev/null +++ b/assets/index.24c46401.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.24c46401.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-AU/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-AU/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (Australia).\n * @language English\n * @iso-639-2 eng\n * @author Julien Malige [@JulienMalige]{@link https://github.com/JulienMalige}\n */\nvar locale = {\n code: 'en-AU',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"6VACA,IAAIA,EAAc,CAChB,KAAM,oBACN,KAAM,cACN,OAAQ,aACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,iBACN,KAAM,cACN,OAAQ,YACR,MAAO,QACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EClBIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.2699235a.js b/assets/index.2699235a.js new file mode 100644 index 0000000000..b0d80c231e --- /dev/null +++ b/assets/index.2699235a.js @@ -0,0 +1,2 @@ +import{d,e as n,f as l,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function s(t){return t.one!==void 0}var m={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}},f=function(a,o,e){var r=e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in":"ago":"default",u=m[a];return s(u)?o===1?u.one[r]:u.other[r].replace("{{count}}",String(o)):u[r]},c={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},h={full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},g={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:d({formats:c,defaultWidth:"full"}),time:d({formats:h,defaultWidth:"full"}),dateTime:d({formats:g,defaultWidth:"full"})},b={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},P=function(a,o,e,r){return b[a]},w={narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},p={narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},y={narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},M={narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},W={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},k={narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},D=function(a,o){return String(a)},x={ordinalNumber:D,era:n({values:w,defaultWidth:"wide"}),quarter:n({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:y,defaultWidth:"wide"}),day:n({values:M,defaultWidth:"wide"}),dayPeriod:n({values:W,defaultWidth:"wide",formattingValues:k,defaultFormattingWidth:"wide"})},F=/^(\d+)(வது)?/i,z=/\d+/i,V={narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},X={any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},C={narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},E={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},L={narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},N={narrow:[/^ஜ$/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூ/i,/^ஜூ/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i],any:[/^ஜன/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூன்/i,/^ஜூலை/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i]},S={narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},T={narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},R={narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},Y={any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},_={ordinalNumber:l({matchPattern:F,parsePattern:z,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),quarter:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:Y,defaultParseWidth:"any"})},A={code:"ta",formatDistance:f,formatLong:v,formatRelative:P,localize:x,match:_,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{A as default}; +//# sourceMappingURL=index.2699235a.js.map diff --git a/assets/index.2699235a.js.map b/assets/index.2699235a.js.map new file mode 100644 index 0000000000..37e595eb89 --- /dev/null +++ b/assets/index.2699235a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2699235a.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ta/index.js"],"sourcesContent":["function isPluralType(val) {\n return val.one !== undefined;\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n default: 'ஒரு வினாடிக்கு குறைவாக',\n in: 'ஒரு வினாடிக்குள்',\n ago: 'ஒரு வினாடிக்கு முன்பு'\n },\n other: {\n default: '{{count}} வினாடிகளுக்கு குறைவாக',\n in: '{{count}} வினாடிகளுக்குள்',\n ago: '{{count}} வினாடிகளுக்கு முன்பு'\n }\n },\n xSeconds: {\n one: {\n default: '1 வினாடி',\n in: '1 வினாடியில்',\n ago: '1 வினாடி முன்பு'\n },\n other: {\n default: '{{count}} விநாடிகள்',\n in: '{{count}} வினாடிகளில்',\n ago: '{{count}} விநாடிகளுக்கு முன்பு'\n }\n },\n halfAMinute: {\n default: 'அரை நிமிடம்',\n in: 'அரை நிமிடத்தில்',\n ago: 'அரை நிமிடம் முன்பு'\n },\n lessThanXMinutes: {\n one: {\n default: 'ஒரு நிமிடத்திற்கும் குறைவாக',\n in: 'ஒரு நிமிடத்திற்குள்',\n ago: 'ஒரு நிமிடத்திற்கு முன்பு'\n },\n other: {\n default: '{{count}} நிமிடங்களுக்கும் குறைவாக',\n in: '{{count}} நிமிடங்களுக்குள்',\n ago: '{{count}} நிமிடங்களுக்கு முன்பு'\n }\n },\n xMinutes: {\n one: {\n default: '1 நிமிடம்',\n in: '1 நிமிடத்தில்',\n ago: '1 நிமிடம் முன்பு'\n },\n other: {\n default: '{{count}} நிமிடங்கள்',\n in: '{{count}} நிமிடங்களில்',\n ago: '{{count}} நிமிடங்களுக்கு முன்பு'\n }\n },\n aboutXHours: {\n one: {\n default: 'சுமார் 1 மணி நேரம்',\n in: 'சுமார் 1 மணி நேரத்தில்',\n ago: 'சுமார் 1 மணி நேரத்திற்கு முன்பு'\n },\n other: {\n default: 'சுமார் {{count}} மணி நேரம்',\n in: 'சுமார் {{count}} மணி நேரத்திற்கு முன்பு',\n ago: 'சுமார் {{count}} மணி நேரத்தில்'\n }\n },\n xHours: {\n one: {\n default: '1 மணி நேரம்',\n in: '1 மணி நேரத்தில்',\n ago: '1 மணி நேரத்திற்கு முன்பு'\n },\n other: {\n default: '{{count}} மணி நேரம்',\n in: '{{count}} மணி நேரத்தில்',\n ago: '{{count}} மணி நேரத்திற்கு முன்பு'\n }\n },\n xDays: {\n one: {\n default: '1 நாள்',\n in: '1 நாளில்',\n ago: '1 நாள் முன்பு'\n },\n other: {\n default: '{{count}} நாட்கள்',\n in: '{{count}} நாட்களில்',\n ago: '{{count}} நாட்களுக்கு முன்பு'\n }\n },\n aboutXWeeks: {\n one: {\n default: 'சுமார் 1 வாரம்',\n in: 'சுமார் 1 வாரத்தில்',\n ago: 'சுமார் 1 வாரம் முன்பு'\n },\n other: {\n default: 'சுமார் {{count}} வாரங்கள்',\n in: 'சுமார் {{count}} வாரங்களில்',\n ago: 'சுமார் {{count}} வாரங்களுக்கு முன்பு'\n }\n },\n xWeeks: {\n one: {\n default: '1 வாரம்',\n in: '1 வாரத்தில்',\n ago: '1 வாரம் முன்பு'\n },\n other: {\n default: '{{count}} வாரங்கள்',\n in: '{{count}} வாரங்களில்',\n ago: '{{count}} வாரங்களுக்கு முன்பு'\n }\n },\n aboutXMonths: {\n one: {\n default: 'சுமார் 1 மாதம்',\n in: 'சுமார் 1 மாதத்தில்',\n ago: 'சுமார் 1 மாதத்திற்கு முன்பு'\n },\n other: {\n default: 'சுமார் {{count}} மாதங்கள்',\n in: 'சுமார் {{count}} மாதங்களில்',\n ago: 'சுமார் {{count}} மாதங்களுக்கு முன்பு'\n }\n },\n xMonths: {\n one: {\n default: '1 மாதம்',\n in: '1 மாதத்தில்',\n ago: '1 மாதம் முன்பு'\n },\n other: {\n default: '{{count}} மாதங்கள்',\n in: '{{count}} மாதங்களில்',\n ago: '{{count}} மாதங்களுக்கு முன்பு'\n }\n },\n aboutXYears: {\n one: {\n default: 'சுமார் 1 வருடம்',\n in: 'சுமார் 1 ஆண்டில்',\n ago: 'சுமார் 1 வருடம் முன்பு'\n },\n other: {\n default: 'சுமார் {{count}} ஆண்டுகள்',\n in: 'சுமார் {{count}} ஆண்டுகளில்',\n ago: 'சுமார் {{count}} ஆண்டுகளுக்கு முன்பு'\n }\n },\n xYears: {\n one: {\n default: '1 வருடம்',\n in: '1 ஆண்டில்',\n ago: '1 வருடம் முன்பு'\n },\n other: {\n default: '{{count}} ஆண்டுகள்',\n in: '{{count}} ஆண்டுகளில்',\n ago: '{{count}} ஆண்டுகளுக்கு முன்பு'\n }\n },\n overXYears: {\n one: {\n default: '1 வருடத்திற்கு மேல்',\n in: '1 வருடத்திற்கும் மேலாக',\n ago: '1 வருடம் முன்பு'\n },\n other: {\n default: '{{count}} ஆண்டுகளுக்கும் மேலாக',\n in: '{{count}} ஆண்டுகளில்',\n ago: '{{count}} ஆண்டுகளுக்கு முன்பு'\n }\n },\n almostXYears: {\n one: {\n default: 'கிட்டத்தட்ட 1 வருடம்',\n in: 'கிட்டத்தட்ட 1 ஆண்டில்',\n ago: 'கிட்டத்தட்ட 1 வருடம் முன்பு'\n },\n other: {\n default: 'கிட்டத்தட்ட {{count}} ஆண்டுகள்',\n in: 'கிட்டத்தட்ட {{count}} ஆண்டுகளில்',\n ago: 'கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var tense = options !== null && options !== void 0 && options.addSuffix ? options.comparison && options.comparison > 0 ? 'in' : 'ago' : 'default';\n var tokenValue = formatDistanceLocale[token];\n if (!isPluralType(tokenValue)) return tokenValue[tense];\n\n if (count === 1) {\n return tokenValue.one[tense];\n } else {\n return tokenValue.other[tense].replace('{{count}}', String(count));\n }\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; // Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html\n// CLDR #1846 - #1849\n\nvar dateFormats = {\n full: 'EEEE, d MMMM, y',\n long: 'd MMMM, y',\n medium: 'd MMM, y',\n short: 'd/M/yy'\n}; // CLDR #1850 - #1853\n\nvar timeFormats = {\n full: 'a h:mm:ss zzzz',\n long: 'a h:mm:ss z',\n medium: 'a h:mm:ss',\n short: 'a h:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'கடந்த' eeee p 'மணிக்கு'\",\n yesterday: \"'நேற்று ' p 'மணிக்கு'\",\n today: \"'இன்று ' p 'மணிக்கு'\",\n tomorrow: \"'நாளை ' p 'மணிக்கு'\",\n nextWeek: \"eeee p 'மணிக்கு'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html\n\nvar eraValues = {\n narrow: ['கி.மு.', 'கி.பி.'],\n abbreviated: ['கி.மு.', 'கி.பி.'],\n // CLDR #1624, #1626\n wide: ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி'] // CLDR #1620, #1622\n\n};\nvar quarterValues = {\n // CLDR #1644 - #1647\n narrow: ['1', '2', '3', '4'],\n // CLDR #1636 - #1639\n abbreviated: ['காலா.1', 'காலா.2', 'காலா.3', 'காலா.4'],\n // CLDR #1628 - #1631\n wide: ['ஒன்றாம் காலாண்டு', 'இரண்டாம் காலாண்டு', 'மூன்றாம் காலாண்டு', 'நான்காம் காலாண்டு']\n};\nvar monthValues = {\n // CLDR #700 - #711\n narrow: ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'],\n // CLDR #1676 - #1687\n abbreviated: ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'],\n // CLDR #1652 - #1663\n wide: ['ஜனவரி', // January\n 'பிப்ரவரி', // February\n 'மார்ச்', // March\n 'ஏப்ரல்', // April\n 'மே', // May\n 'ஜூன்', // June\n 'ஜூலை', // July\n 'ஆகஸ்ட்', // August\n 'செப்டம்பர்', // September\n 'அக்டோபர்', // October\n 'நவம்பர்', // November\n 'டிசம்பர்' // December\n ]\n};\nvar dayValues = {\n // CLDR #1766 - #1772\n narrow: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'],\n // CLDR #1752 - #1758\n short: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'],\n // CLDR #1738 - #1744\n abbreviated: ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'],\n // CLDR #1724 - #1730\n wide: ['ஞாயிறு', // Sunday\n 'திங்கள்', // Monday\n 'செவ்வாய்', // Tuesday\n 'புதன்', // Wednesday\n 'வியாழன்', // Thursday\n 'வெள்ளி', // Friday\n 'சனி' // Saturday\n ]\n}; // CLDR #1780 - #1845\n\nvar dayPeriodValues = {\n narrow: {\n am: 'மு.ப',\n pm: 'பி.ப',\n midnight: 'நள்.',\n noon: 'நண்.',\n morning: 'கா.',\n afternoon: 'மதி.',\n evening: 'மா.',\n night: 'இர.'\n },\n abbreviated: {\n am: 'முற்பகல்',\n pm: 'பிற்பகல்',\n midnight: 'நள்ளிரவு',\n noon: 'நண்பகல்',\n morning: 'காலை',\n afternoon: 'மதியம்',\n evening: 'மாலை',\n night: 'இரவு'\n },\n wide: {\n am: 'முற்பகல்',\n pm: 'பிற்பகல்',\n midnight: 'நள்ளிரவு',\n noon: 'நண்பகல்',\n morning: 'காலை',\n afternoon: 'மதியம்',\n evening: 'மாலை',\n night: 'இரவு'\n }\n}; // CLDR #1780 - #1845\n\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'மு.ப',\n pm: 'பி.ப',\n midnight: 'நள்.',\n noon: 'நண்.',\n morning: 'கா.',\n afternoon: 'மதி.',\n evening: 'மா.',\n night: 'இர.'\n },\n abbreviated: {\n am: 'முற்பகல்',\n pm: 'பிற்பகல்',\n midnight: 'நள்ளிரவு',\n noon: 'நண்பகல்',\n morning: 'காலை',\n afternoon: 'மதியம்',\n evening: 'மாலை',\n night: 'இரவு'\n },\n wide: {\n am: 'முற்பகல்',\n pm: 'பிற்பகல்',\n midnight: 'நள்ளிரவு',\n noon: 'நண்பகல்',\n morning: 'காலை',\n afternoon: 'மதியம்',\n evening: 'மாலை',\n night: 'இரவு'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(வது)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(கி.மு.|கி.பி.)/i,\n abbreviated: /^(கி\\.?\\s?மு\\.?|கி\\.?\\s?பி\\.?)/,\n wide: /^(கிறிஸ்துவுக்கு\\sமுன்|அன்னோ\\sடோமினி)/i\n};\nvar parseEraPatterns = {\n any: [/கி\\.?\\s?மு\\.?/, /கி\\.?\\s?பி\\.?/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^காலா.[1234]/i,\n wide: /^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i\n};\nvar parseQuarterPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i],\n any: [/(1|காலா.1|ஒன்றாம்)/i, /(2|காலா.2|இரண்டாம்)/i, /(3|காலா.3|மூன்றாம்)/i, /(4|காலா.4|நான்காம்)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,\n abbreviated: /^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,\n wide: /^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ஜ$/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூ/i, /^ஜூ/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i],\n any: [/^ஜன/i, /^பி/i, /^மா/i, /^ஏ/i, /^மே/i, /^ஜூன்/i, /^ஜூலை/i, /^ஆ/i, /^செ/i, /^அ/i, /^ந/i, /^டி/i]\n};\nvar matchDayPatterns = {\n narrow: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i,\n short: /^(ஞா|தி|செ|பு|வி|வெ|ச)/i,\n abbreviated: /^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,\n wide: /^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i],\n any: [/^ஞா/i, /^தி/i, /^செ/i, /^பு/i, /^வி/i, /^வெ/i, /^ச/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,\n any: /^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^மு/i,\n pm: /^பி/i,\n midnight: /^நள்/i,\n noon: /^நண்/i,\n morning: /காலை/i,\n afternoon: /மதியம்/i,\n evening: /மாலை/i,\n night: /இரவு/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Tamil locale (India).\n * @language Tamil\n * @iso-639-2 tam\n * @author Sibiraj [@sibiraj-s]{@link https://github.com/sibiraj-s}\n */\n\nvar locale = {\n code: 'ta',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["isPluralType","val","formatDistanceLocale","formatDistance","token","count","options","tense","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,SAASA,EAAaC,EAAK,CACzB,OAAOA,EAAI,MAAQ,MACrB,CAEA,IAAIC,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,QAAS,yBACT,GAAI,mBACJ,IAAK,uBACN,EACD,MAAO,CACL,QAAS,kCACT,GAAI,4BACJ,IAAK,gCACN,CACF,EACD,SAAU,CACR,IAAK,CACH,QAAS,WACT,GAAI,eACJ,IAAK,iBACN,EACD,MAAO,CACL,QAAS,sBACT,GAAI,wBACJ,IAAK,gCACN,CACF,EACD,YAAa,CACX,QAAS,cACT,GAAI,kBACJ,IAAK,oBACN,EACD,iBAAkB,CAChB,IAAK,CACH,QAAS,8BACT,GAAI,sBACJ,IAAK,0BACN,EACD,MAAO,CACL,QAAS,qCACT,GAAI,6BACJ,IAAK,iCACN,CACF,EACD,SAAU,CACR,IAAK,CACH,QAAS,YACT,GAAI,gBACJ,IAAK,kBACN,EACD,MAAO,CACL,QAAS,uBACT,GAAI,yBACJ,IAAK,iCACN,CACF,EACD,YAAa,CACX,IAAK,CACH,QAAS,qBACT,GAAI,yBACJ,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Q,8CACR,IAAK,wEACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,QACV,KAAM,QACN,QAAS,QACT,UAAW,UACX,QAAS,QACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.2a57f56e.js b/assets/index.2a57f56e.js new file mode 100644 index 0000000000..0a5ec30d55 --- /dev/null +++ b/assets/index.2a57f56e.js @@ -0,0 +1,2 @@ +import{r as f,s as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */function g(r,a,e){f(2,arguments);var i=t(r,e),s=t(a,e);return i.getTime()===s.getTime()}export{g as i}; +//# sourceMappingURL=index.2a57f56e.js.map diff --git a/assets/index.2a57f56e.js.map b/assets/index.2a57f56e.js.map new file mode 100644 index 0000000000..4ad8bf5ce1 --- /dev/null +++ b/assets/index.2a57f56e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2a57f56e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/isSameUTCWeek/index.js"],"sourcesContent":["import requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nexport default function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) {\n requiredArgs(2, arguments);\n var dateLeftStartOfWeek = startOfUTCWeek(dirtyDateLeft, options);\n var dateRightStartOfWeek = startOfUTCWeek(dirtyDateRight, options);\n return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();\n}"],"names":["isSameUTCWeek","dirtyDateLeft","dirtyDateRight","options","requiredArgs","dateLeftStartOfWeek","startOfUTCWeek","dateRightStartOfWeek"],"mappings":"mIAEe,SAASA,EAAcC,EAAeC,EAAgBC,EAAS,CAC5EC,EAAa,EAAG,SAAS,EACzB,IAAIC,EAAsBC,EAAeL,EAAeE,CAAO,EAC3DI,EAAuBD,EAAeJ,EAAgBC,CAAO,EACjE,OAAOE,EAAoB,QAAO,IAAOE,EAAqB,QAAO,CACvE"} \ No newline at end of file diff --git a/assets/index.2b8b0fc4.js b/assets/index.2b8b0fc4.js new file mode 100644 index 0000000000..d04ac1b370 --- /dev/null +++ b/assets/index.2b8b0fc4.js @@ -0,0 +1,2 @@ +import{h as bn,s as Ye,i as on,r as ke,t as je,j as _n,k as w,l as vn,n as mn}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var wn=6e4,On=36e5,Pn=1e3;function P(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(r){return typeof r}:P=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},P(t)}function gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&He(t,e)}function He(t,e){return He=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},He(t,e)}function dn(t){var e=Tn();return function(){var n=te(t),o;if(e){var f=te(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return $n(this,o)}}function $n(t,e){return e&&(P(e)==="object"||typeof e=="function")?e:Rn(t)}function Rn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function te(t){return te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},te(t)}function un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fn(t,e,r){return e&&Zt(t.prototype,e),r&&Zt(t,r),t}function Sn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xn=function(){function t(){un(this,t),Sn(this,"subPriority",0)}return fn(t,[{key:"validate",value:function(r,n){return!0}}]),t}(),En=function(t){gn(r,t);var e=dn(r);function r(n,o,f,u,i){var a;return un(this,r),a=e.call(this),a.value=n,a.validateValue=o,a.setValue=f,a.priority=u,i&&(a.subPriority=i),a}return fn(r,[{key:"validate",value:function(o,f){return this.validateValue(o,this.value,f)}},{key:"set",value:function(o,f,u){return this.setValue(o,f,this.value,u)}}]),r}(xn);function In(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Nn(t,e,r){return e&&Vt(t.prototype,e),r&&Vt(t,r),t}var c=function(){function t(){In(this,t)}return Nn(t,[{key:"run",value:function(r,n,o,f){var u=this.parse(r,n,o,f);return u?{setter:new En(u.value,this.validate,this.set,this.priority,this.subPriority),rest:u.rest}:null}},{key:"validate",value:function(r,n,o){return!0}}]),t}();function g(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(r){return typeof r}:g=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},g(t)}function Dn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Bn(t,e,r){return e&&Kt(t.prototype,e),r&&Kt(t,r),t}function kn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ae(t,e)}function Ae(t,e){return Ae=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ae(t,e)}function jn(t){var e=Mn();return function(){var n=re(t),o;if(e){var f=re(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Un(this,o)}}function Un(t,e){return e&&(g(e)==="object"||typeof e=="function")?e:Le(t)}function Le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function re(t){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},re(t)}function Jt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qn=function(t){kn(r,t);var e=jn(r);function r(){var n;Dn(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Jt(Le(n),"priority",140),Jt(Le(n),"incompatibleTokens",["R","u","t","T"]),n}return Bn(r,[{key:"parse",value:function(o,f,u){switch(f){case"G":case"GG":case"GGG":return u.era(o,{width:"abbreviated"})||u.era(o,{width:"narrow"});case"GGGGG":return u.era(o,{width:"narrow"});case"GGGG":default:return u.era(o,{width:"wide"})||u.era(o,{width:"abbreviated"})||u.era(o,{width:"narrow"})}}},{key:"set",value:function(o,f,u){return f.era=u,o.setUTCFullYear(u,0,1),o.setUTCHours(0,0,0,0),o}}]),r}(c),y={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},_={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function p(t,e){return t&&{value:e(t.value),rest:t.rest}}function l(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function v(t,e){var r=e.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};var n=r[1]==="+"?1:-1,o=r[2]?parseInt(r[2],10):0,f=r[3]?parseInt(r[3],10):0,u=r[5]?parseInt(r[5],10):0;return{value:n*(o*On+f*wn+u*Pn),rest:e.slice(r[0].length)}}function an(t){return l(y.anyDigitsSigned,t)}function s(t,e){switch(t){case 1:return l(y.singleDigit,e);case 2:return l(y.twoDigits,e);case 3:return l(y.threeDigits,e);case 4:return l(y.fourDigits,e);default:return l(new RegExp("^\\d{1,"+t+"}"),e)}}function ne(t,e){switch(t){case 1:return l(y.singleDigitSigned,e);case 2:return l(y.twoDigitsSigned,e);case 3:return l(y.threeDigitsSigned,e);case 4:return l(y.fourDigitsSigned,e);default:return l(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Gt(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function cn(t,e){var r=e>0,n=r?e:1-e,o;if(n<=50)o=t||100;else{var f=n+50,u=Math.floor(f/100)*100,i=t>=f%100;o=t+u-(i?100:0)}return r?o:1-o}function ln(t){return t%400===0||t%4===0&&t%100!==0}function d(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(r){return typeof r}:d=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d(t)}function Yn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function er(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Hn(t,e,r){return e&&er(t.prototype,e),r&&er(t,r),t}function An(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ze(t,e)}function ze(t,e){return ze=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ze(t,e)}function Ln(t){var e=Qn();return function(){var n=oe(t),o;if(e){var f=oe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return zn(this,o)}}function zn(t,e){return e&&(d(e)==="object"||typeof e=="function")?e:Qe(t)}function Qe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function oe(t){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oe(t)}function tr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cn=function(t){An(r,t);var e=Ln(r);function r(){var n;Yn(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),tr(Qe(n),"priority",130),tr(Qe(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return Hn(r,[{key:"parse",value:function(o,f,u){var i=function(h){return{year:h,isTwoDigitYear:f==="yy"}};switch(f){case"y":return p(s(4,o),i);case"yo":return p(u.ordinalNumber(o,{unit:"year"}),i);default:return p(s(f.length,o),i)}}},{key:"validate",value:function(o,f){return f.isTwoDigitYear||f.year>0}},{key:"set",value:function(o,f,u){var i=o.getUTCFullYear();if(u.isTwoDigitYear){var a=cn(u.year,i);return o.setUTCFullYear(a,0,1),o.setUTCHours(0,0,0,0),o}var h=!("era"in f)||f.era===1?u.year:1-u.year;return o.setUTCFullYear(h,0,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function $(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(r){return typeof r}:$=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$(t)}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Gn(t,e,r){return e&&rr(t.prototype,e),r&&rr(t,r),t}function Xn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}function Ce(t,e){return Ce=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ce(t,e)}function Fn(t){var e=Vn();return function(){var n=ue(t),o;if(e){var f=ue(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Zn(this,o)}}function Zn(t,e){return e&&($(e)==="object"||typeof e=="function")?e:We(t)}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ue(t){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ue(t)}function nr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kn=function(t){Xn(r,t);var e=Fn(r);function r(){var n;Wn(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),nr(We(n),"priority",130),nr(We(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return Gn(r,[{key:"parse",value:function(o,f,u){var i=function(h){return{year:h,isTwoDigitYear:f==="YY"}};switch(f){case"Y":return p(s(4,o),i);case"Yo":return p(u.ordinalNumber(o,{unit:"year"}),i);default:return p(s(f.length,o),i)}}},{key:"validate",value:function(o,f){return f.isTwoDigitYear||f.year>0}},{key:"set",value:function(o,f,u,i){var a=bn(o,i);if(u.isTwoDigitYear){var h=cn(u.year,a);return o.setUTCFullYear(h,0,i.firstWeekContainsDate),o.setUTCHours(0,0,0,0),Ye(o,i)}var b=!("era"in f)||f.era===1?u.year:1-u.year;return o.setUTCFullYear(b,0,i.firstWeekContainsDate),o.setUTCHours(0,0,0,0),Ye(o,i)}}]),r}(c);function R(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(r){return typeof r}:R=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},R(t)}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function eo(t,e,r){return e&&or(t.prototype,e),r&&or(t,r),t}function to(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ge(t,e)}function Ge(t,e){return Ge=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ge(t,e)}function ro(t){var e=oo();return function(){var n=fe(t),o;if(e){var f=fe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return no(this,o)}}function no(t,e){return e&&(R(e)==="object"||typeof e=="function")?e:Xe(t)}function Xe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function fe(t){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fe(t)}function ur(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uo=function(t){to(r,t);var e=ro(r);function r(){var n;Jn(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),ur(Xe(n),"priority",130),ur(Xe(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return eo(r,[{key:"parse",value:function(o,f){return ne(f==="R"?4:f.length,o)}},{key:"set",value:function(o,f,u){var i=new Date(0);return i.setUTCFullYear(u,0,4),i.setUTCHours(0,0,0,0),on(i)}}]),r}(c);function T(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(r){return typeof r}:T=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},T(t)}function fo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function io(t,e,r){return e&&fr(t.prototype,e),r&&fr(t,r),t}function ao(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fe(t,e)}function Fe(t,e){return Fe=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fe(t,e)}function co(t){var e=so();return function(){var n=ie(t),o;if(e){var f=ie(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return lo(this,o)}}function lo(t,e){return e&&(T(e)==="object"||typeof e=="function")?e:Ze(t)}function Ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function so(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ie(t){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ie(t)}function ir(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yo=function(t){ao(r,t);var e=co(r);function r(){var n;fo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),ir(Ze(n),"priority",130),ir(Ze(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return io(r,[{key:"parse",value:function(o,f){return ne(f==="u"?4:f.length,o)}},{key:"set",value:function(o,f,u){return o.setUTCFullYear(u,0,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function S(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(r){return typeof r}:S=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},S(t)}function po(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ho(t,e,r){return e&&ar(t.prototype,e),r&&ar(t,r),t}function bo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ve(t,e)}function Ve(t,e){return Ve=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ve(t,e)}function _o(t){var e=mo();return function(){var n=ae(t),o;if(e){var f=ae(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return vo(this,o)}}function vo(t,e){return e&&(S(e)==="object"||typeof e=="function")?e:Ke(t)}function Ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ae(t){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ae(t)}function cr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wo=function(t){bo(r,t);var e=_o(r);function r(){var n;po(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),cr(Ke(n),"priority",120),cr(Ke(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return ho(r,[{key:"parse",value:function(o,f,u){switch(f){case"Q":case"QQ":return s(f.length,o);case"Qo":return u.ordinalNumber(o,{unit:"quarter"});case"QQQ":return u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(o,{width:"wide",context:"formatting"})||u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,f){return f>=1&&f<=4}},{key:"set",value:function(o,f,u){return o.setUTCMonth((u-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function x(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(r){return typeof r}:x=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},x(t)}function Oo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Po(t,e,r){return e&&lr(t.prototype,e),r&&lr(t,r),t}function go(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}function Je(t,e){return Je=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Je(t,e)}function $o(t){var e=To();return function(){var n=ce(t),o;if(e){var f=ce(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Ro(this,o)}}function Ro(t,e){return e&&(x(e)==="object"||typeof e=="function")?e:et(t)}function et(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function To(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ce(t){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ce(t)}function sr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var So=function(t){go(r,t);var e=$o(r);function r(){var n;Oo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),sr(et(n),"priority",120),sr(et(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Po(r,[{key:"parse",value:function(o,f,u){switch(f){case"q":case"qq":return s(f.length,o);case"qo":return u.ordinalNumber(o,{unit:"quarter"});case"qqq":return u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(o,{width:"wide",context:"standalone"})||u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,f){return f>=1&&f<=4}},{key:"set",value:function(o,f,u){return o.setUTCMonth((u-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function E(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(r){return typeof r}:E=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},E(t)}function xo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Eo(t,e,r){return e&&yr(t.prototype,e),r&&yr(t,r),t}function Io(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}function tt(t,e){return tt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tt(t,e)}function No(t){var e=Bo();return function(){var n=le(t),o;if(e){var f=le(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Do(this,o)}}function Do(t,e){return e&&(E(e)==="object"||typeof e=="function")?e:rt(t)}function rt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function le(t){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},le(t)}function pr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ko=function(t){Io(r,t);var e=No(r);function r(){var n;xo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),pr(rt(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),pr(rt(n),"priority",110),n}return Eo(r,[{key:"parse",value:function(o,f,u){var i=function(h){return h-1};switch(f){case"M":return p(l(y.month,o),i);case"MM":return p(s(2,o),i);case"Mo":return p(u.ordinalNumber(o,{unit:"month"}),i);case"MMM":return u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(o,{width:"wide",context:"formatting"})||u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,f){return f>=0&&f<=11}},{key:"set",value:function(o,f,u){return o.setUTCMonth(u,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function I(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(r){return typeof r}:I=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},I(t)}function jo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Uo(t,e,r){return e&&hr(t.prototype,e),r&&hr(t,r),t}function Mo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}function nt(t,e){return nt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nt(t,e)}function qo(t){var e=Ho();return function(){var n=se(t),o;if(e){var f=se(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Yo(this,o)}}function Yo(t,e){return e&&(I(e)==="object"||typeof e=="function")?e:ot(t)}function ot(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ho(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function se(t){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(t)}function br(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ao=function(t){Mo(r,t);var e=qo(r);function r(){var n;jo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),br(ot(n),"priority",110),br(ot(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return Uo(r,[{key:"parse",value:function(o,f,u){var i=function(h){return h-1};switch(f){case"L":return p(l(y.month,o),i);case"LL":return p(s(2,o),i);case"Lo":return p(u.ordinalNumber(o,{unit:"month"}),i);case"LLL":return u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(o,{width:"wide",context:"standalone"})||u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,f){return f>=0&&f<=11}},{key:"set",value:function(o,f,u){return o.setUTCMonth(u,1),o.setUTCHours(0,0,0,0),o}}]),r}(c);function Lo(t,e,r){ke(2,arguments);var n=je(t),o=w(e),f=_n(n,r)-o;return n.setUTCDate(n.getUTCDate()-f*7),n}function N(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N=function(r){return typeof r}:N=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},N(t)}function zo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Qo(t,e,r){return e&&_r(t.prototype,e),r&&_r(t,r),t}function Co(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ut(t,e)}function ut(t,e){return ut=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ut(t,e)}function Wo(t){var e=Xo();return function(){var n=ye(t),o;if(e){var f=ye(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Go(this,o)}}function Go(t,e){return e&&(N(e)==="object"||typeof e=="function")?e:ft(t)}function ft(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xo(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ye(t){return ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ye(t)}function vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fo=function(t){Co(r,t);var e=Wo(r);function r(){var n;zo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),vr(ft(n),"priority",100),vr(ft(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return Qo(r,[{key:"parse",value:function(o,f,u){switch(f){case"w":return l(y.week,o);case"wo":return u.ordinalNumber(o,{unit:"week"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=1&&f<=53}},{key:"set",value:function(o,f,u,i){return Ye(Lo(o,u,i),i)}}]),r}(c);function Zo(t,e){ke(2,arguments);var r=je(t),n=w(e),o=vn(r)-n;return r.setUTCDate(r.getUTCDate()-o*7),r}function D(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(r){return typeof r}:D=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},D(t)}function Vo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ko(t,e,r){return e&&mr(t.prototype,e),r&&mr(t,r),t}function Jo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}function it(t,e){return it=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},it(t,e)}function eu(t){var e=ru();return function(){var n=pe(t),o;if(e){var f=pe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return tu(this,o)}}function tu(t,e){return e&&(D(e)==="object"||typeof e=="function")?e:at(t)}function at(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ru(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pe(t){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pe(t)}function wr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nu=function(t){Jo(r,t);var e=eu(r);function r(){var n;Vo(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),wr(at(n),"priority",100),wr(at(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return Ko(r,[{key:"parse",value:function(o,f,u){switch(f){case"I":return l(y.week,o);case"Io":return u.ordinalNumber(o,{unit:"week"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=1&&f<=53}},{key:"set",value:function(o,f,u){return on(Zo(o,u))}}]),r}(c);function B(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?B=function(r){return typeof r}:B=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(t)}function ou(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function uu(t,e,r){return e&&Or(t.prototype,e),r&&Or(t,r),t}function fu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}function ct(t,e){return ct=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ct(t,e)}function iu(t){var e=cu();return function(){var n=he(t),o;if(e){var f=he(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return au(this,o)}}function au(t,e){return e&&(B(e)==="object"||typeof e=="function")?e:k(t)}function k(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cu(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function he(t){return he=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},he(t)}function Me(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lu=[31,28,31,30,31,30,31,31,30,31,30,31],su=[31,29,31,30,31,30,31,31,30,31,30,31],yu=function(t){fu(r,t);var e=iu(r);function r(){var n;ou(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Me(k(n),"priority",90),Me(k(n),"subPriority",1),Me(k(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return uu(r,[{key:"parse",value:function(o,f,u){switch(f){case"d":return l(y.date,o);case"do":return u.ordinalNumber(o,{unit:"date"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){var u=o.getUTCFullYear(),i=ln(u),a=o.getUTCMonth();return i?f>=1&&f<=su[a]:f>=1&&f<=lu[a]}},{key:"set",value:function(o,f,u){return o.setUTCDate(u),o.setUTCHours(0,0,0,0),o}}]),r}(c);function j(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(r){return typeof r}:j=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},j(t)}function pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function hu(t,e,r){return e&&Pr(t.prototype,e),r&&Pr(t,r),t}function bu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&<(t,e)}function lt(t,e){return lt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lt(t,e)}function _u(t){var e=mu();return function(){var n=be(t),o;if(e){var f=be(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return vu(this,o)}}function vu(t,e){return e&&(j(e)==="object"||typeof e=="function")?e:U(t)}function U(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mu(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function be(t){return be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},be(t)}function qe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wu=function(t){bu(r,t);var e=_u(r);function r(){var n;pu(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),qe(U(n),"priority",90),qe(U(n),"subpriority",1),qe(U(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return hu(r,[{key:"parse",value:function(o,f,u){switch(f){case"D":case"DD":return l(y.dayOfYear,o);case"Do":return u.ordinalNumber(o,{unit:"date"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){var u=o.getUTCFullYear(),i=ln(u);return i?f>=1&&f<=366:f>=1&&f<=365}},{key:"set",value:function(o,f,u){return o.setUTCMonth(0,u),o.setUTCHours(0,0,0,0),o}}]),r}(c);function Xt(t,e,r){var n,o,f,u,i,a,h,b;ke(2,arguments);var m=mn(),Ue=w((n=(o=(f=(u=r==null?void 0:r.weekStartsOn)!==null&&u!==void 0?u:r==null||(i=r.locale)===null||i===void 0||(a=i.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&f!==void 0?f:m.weekStartsOn)!==null&&o!==void 0?o:(h=m.locale)===null||h===void 0||(b=h.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&n!==void 0?n:0);if(!(Ue>=0&&Ue<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var O=je(t),Ft=w(e),sn=O.getUTCDay(),yn=Ft%7,pn=(yn+7)%7,hn=(pn<Ue?7:0)+Ft-sn;return O.setUTCDate(O.getUTCDate()+hn),O}function M(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(r){return typeof r}:M=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},M(t)}function Ou(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Pu(t,e,r){return e&&gr(t.prototype,e),r&&gr(t,r),t}function gu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}function st(t,e){return st=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},st(t,e)}function du(t){var e=Ru();return function(){var n=_e(t),o;if(e){var f=_e(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return $u(this,o)}}function $u(t,e){return e&&(M(e)==="object"||typeof e=="function")?e:yt(t)}function yt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ru(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _e(t){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_e(t)}function dr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tu=function(t){gu(r,t);var e=du(r);function r(){var n;Ou(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),dr(yt(n),"priority",90),dr(yt(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return Pu(r,[{key:"parse",value:function(o,f,u){switch(f){case"E":case"EE":case"EEE":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,f){return f>=0&&f<=6}},{key:"set",value:function(o,f,u,i){return o=Xt(o,u,i),o.setUTCHours(0,0,0,0),o}}]),r}(c);function q(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(r){return typeof r}:q=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},q(t)}function Su(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function xu(t,e,r){return e&&$r(t.prototype,e),r&&$r(t,r),t}function Eu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pt(t,e)}function pt(t,e){return pt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pt(t,e)}function Iu(t){var e=Du();return function(){var n=ve(t),o;if(e){var f=ve(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Nu(this,o)}}function Nu(t,e){return e&&(q(e)==="object"||typeof e=="function")?e:ht(t)}function ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Du(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ve(t)}function Rr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bu=function(t){Eu(r,t);var e=Iu(r);function r(){var n;Su(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Rr(ht(n),"priority",90),Rr(ht(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return xu(r,[{key:"parse",value:function(o,f,u,i){var a=function(b){var m=Math.floor((b-1)/7)*7;return(b+i.weekStartsOn+6)%7+m};switch(f){case"e":case"ee":return p(s(f.length,o),a);case"eo":return p(u.ordinalNumber(o,{unit:"day"}),a);case"eee":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeeee":return u.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,f){return f>=0&&f<=6}},{key:"set",value:function(o,f,u,i){return o=Xt(o,u,i),o.setUTCHours(0,0,0,0),o}}]),r}(c);function Y(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(r){return typeof r}:Y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Y(t)}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ju(t,e,r){return e&&Tr(t.prototype,e),r&&Tr(t,r),t}function Uu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}function bt(t,e){return bt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bt(t,e)}function Mu(t){var e=Yu();return function(){var n=me(t),o;if(e){var f=me(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return qu(this,o)}}function qu(t,e){return e&&(Y(e)==="object"||typeof e=="function")?e:_t(t)}function _t(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yu(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function me(t){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},me(t)}function Sr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hu=function(t){Uu(r,t);var e=Mu(r);function r(){var n;ku(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Sr(_t(n),"priority",90),Sr(_t(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return ju(r,[{key:"parse",value:function(o,f,u,i){var a=function(b){var m=Math.floor((b-1)/7)*7;return(b+i.weekStartsOn+6)%7+m};switch(f){case"c":case"cc":return p(s(f.length,o),a);case"co":return p(u.ordinalNumber(o,{unit:"day"}),a);case"ccc":return u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"ccccc":return u.day(o,{width:"narrow",context:"standalone"});case"cccccc":return u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(o,{width:"wide",context:"standalone"})||u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,f){return f>=0&&f<=6}},{key:"set",value:function(o,f,u,i){return o=Xt(o,u,i),o.setUTCHours(0,0,0,0),o}}]),r}(c);function Au(t,e){ke(2,arguments);var r=w(e);r%7===0&&(r=r-7);var n=1,o=je(t),f=o.getUTCDay(),u=r%7,i=(u+7)%7,a=(i<n?7:0)+r-f;return o.setUTCDate(o.getUTCDate()+a),o}function H(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(r){return typeof r}:H=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},H(t)}function Lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zu(t,e,r){return e&&xr(t.prototype,e),r&&xr(t,r),t}function Qu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vt(t,e)}function vt(t,e){return vt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vt(t,e)}function Cu(t){var e=Gu();return function(){var n=we(t),o;if(e){var f=we(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Wu(this,o)}}function Wu(t,e){return e&&(H(e)==="object"||typeof e=="function")?e:mt(t)}function mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gu(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},we(t)}function Er(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xu=function(t){Qu(r,t);var e=Cu(r);function r(){var n;Lu(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Er(mt(n),"priority",90),Er(mt(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return zu(r,[{key:"parse",value:function(o,f,u){var i=function(h){return h===0?7:h};switch(f){case"i":case"ii":return s(f.length,o);case"io":return u.ordinalNumber(o,{unit:"day"});case"iii":return p(u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),i);case"iiiii":return p(u.day(o,{width:"narrow",context:"formatting"}),i);case"iiiiii":return p(u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),i);case"iiii":default:return p(u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),i)}}},{key:"validate",value:function(o,f){return f>=1&&f<=7}},{key:"set",value:function(o,f,u){return o=Au(o,u),o.setUTCHours(0,0,0,0),o}}]),r}(c);function A(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(r){return typeof r}:A=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},A(t)}function Fu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ir(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Zu(t,e,r){return e&&Ir(t.prototype,e),r&&Ir(t,r),t}function Vu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}function wt(t,e){return wt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wt(t,e)}function Ku(t){var e=ef();return function(){var n=Oe(t),o;if(e){var f=Oe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Ju(this,o)}}function Ju(t,e){return e&&(A(e)==="object"||typeof e=="function")?e:Ot(t)}function Ot(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ef(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(t)}function Nr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tf=function(t){Vu(r,t);var e=Ku(r);function r(){var n;Fu(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Nr(Ot(n),"priority",80),Nr(Ot(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return Zu(r,[{key:"parse",value:function(o,f,u){switch(f){case"a":case"aa":case"aaa":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,f,u){return o.setUTCHours(Gt(u),0,0,0),o}}]),r}(c);function L(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(r){return typeof r}:L=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},L(t)}function rf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function nf(t,e,r){return e&&Dr(t.prototype,e),r&&Dr(t,r),t}function of(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pt(t,e)}function uf(t){var e=af();return function(){var n=Pe(t),o;if(e){var f=Pe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return ff(this,o)}}function ff(t,e){return e&&(L(e)==="object"||typeof e=="function")?e:gt(t)}function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function af(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(t)}function Br(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cf=function(t){of(r,t);var e=uf(r);function r(){var n;rf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Br(gt(n),"priority",80),Br(gt(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return nf(r,[{key:"parse",value:function(o,f,u){switch(f){case"b":case"bb":case"bbb":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,f,u){return o.setUTCHours(Gt(u),0,0,0),o}}]),r}(c);function z(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(r){return typeof r}:z=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},z(t)}function lf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function sf(t,e,r){return e&&kr(t.prototype,e),r&&kr(t,r),t}function yf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dt(t,e)}function dt(t,e){return dt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dt(t,e)}function pf(t){var e=bf();return function(){var n=ge(t),o;if(e){var f=ge(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return hf(this,o)}}function hf(t,e){return e&&(z(e)==="object"||typeof e=="function")?e:$t(t)}function $t(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(t)}function jr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _f=function(t){yf(r,t);var e=pf(r);function r(){var n;lf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),jr($t(n),"priority",80),jr($t(n),"incompatibleTokens",["a","b","t","T"]),n}return sf(r,[{key:"parse",value:function(o,f,u){switch(f){case"B":case"BB":case"BBB":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,f,u){return o.setUTCHours(Gt(u),0,0,0),o}}]),r}(c);function Q(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(r){return typeof r}:Q=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Q(t)}function vf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function mf(t,e,r){return e&&Ur(t.prototype,e),r&&Ur(t,r),t}function wf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}function Rt(t,e){return Rt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rt(t,e)}function Of(t){var e=gf();return function(){var n=de(t),o;if(e){var f=de(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Pf(this,o)}}function Pf(t,e){return e&&(Q(e)==="object"||typeof e=="function")?e:Tt(t)}function Tt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function de(t){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},de(t)}function Mr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var df=function(t){wf(r,t);var e=Of(r);function r(){var n;vf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Mr(Tt(n),"priority",70),Mr(Tt(n),"incompatibleTokens",["H","K","k","t","T"]),n}return mf(r,[{key:"parse",value:function(o,f,u){switch(f){case"h":return l(y.hour12h,o);case"ho":return u.ordinalNumber(o,{unit:"hour"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=1&&f<=12}},{key:"set",value:function(o,f,u){var i=o.getUTCHours()>=12;return i&&u<12?o.setUTCHours(u+12,0,0,0):!i&&u===12?o.setUTCHours(0,0,0,0):o.setUTCHours(u,0,0,0),o}}]),r}(c);function C(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(r){return typeof r}:C=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},C(t)}function $f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Rf(t,e,r){return e&&qr(t.prototype,e),r&&qr(t,r),t}function Tf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&St(t,e)}function St(t,e){return St=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},St(t,e)}function Sf(t){var e=Ef();return function(){var n=$e(t),o;if(e){var f=$e(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return xf(this,o)}}function xf(t,e){return e&&(C(e)==="object"||typeof e=="function")?e:xt(t)}function xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ef(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(t)}function Yr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var If=function(t){Tf(r,t);var e=Sf(r);function r(){var n;$f(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Yr(xt(n),"priority",70),Yr(xt(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return Rf(r,[{key:"parse",value:function(o,f,u){switch(f){case"H":return l(y.hour23h,o);case"Ho":return u.ordinalNumber(o,{unit:"hour"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=0&&f<=23}},{key:"set",value:function(o,f,u){return o.setUTCHours(u,0,0,0),o}}]),r}(c);function W(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(r){return typeof r}:W=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},W(t)}function Nf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Df(t,e,r){return e&&Hr(t.prototype,e),r&&Hr(t,r),t}function Bf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Et(t,e)}function Et(t,e){return Et=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Et(t,e)}function kf(t){var e=Uf();return function(){var n=Re(t),o;if(e){var f=Re(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return jf(this,o)}}function jf(t,e){return e&&(W(e)==="object"||typeof e=="function")?e:It(t)}function It(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Re(t)}function Ar(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mf=function(t){Bf(r,t);var e=kf(r);function r(){var n;Nf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Ar(It(n),"priority",70),Ar(It(n),"incompatibleTokens",["h","H","k","t","T"]),n}return Df(r,[{key:"parse",value:function(o,f,u){switch(f){case"K":return l(y.hour11h,o);case"Ko":return u.ordinalNumber(o,{unit:"hour"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=0&&f<=11}},{key:"set",value:function(o,f,u){var i=o.getUTCHours()>=12;return i&&u<12?o.setUTCHours(u+12,0,0,0):o.setUTCHours(u,0,0,0),o}}]),r}(c);function G(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G=function(r){return typeof r}:G=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},G(t)}function qf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Yf(t,e,r){return e&&Lr(t.prototype,e),r&&Lr(t,r),t}function Hf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nt(t,e)}function Af(t){var e=zf();return function(){var n=Te(t),o;if(e){var f=Te(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Lf(this,o)}}function Lf(t,e){return e&&(G(e)==="object"||typeof e=="function")?e:Dt(t)}function Dt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(t)}function zr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qf=function(t){Hf(r,t);var e=Af(r);function r(){var n;qf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),zr(Dt(n),"priority",70),zr(Dt(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return Yf(r,[{key:"parse",value:function(o,f,u){switch(f){case"k":return l(y.hour24h,o);case"ko":return u.ordinalNumber(o,{unit:"hour"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=1&&f<=24}},{key:"set",value:function(o,f,u){var i=u<=24?u%24:u;return o.setUTCHours(i,0,0,0),o}}]),r}(c);function X(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(r){return typeof r}:X=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(t)}function Cf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Wf(t,e,r){return e&&Qr(t.prototype,e),r&&Qr(t,r),t}function Gf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bt(t,e)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bt(t,e)}function Xf(t){var e=Zf();return function(){var n=Se(t),o;if(e){var f=Se(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Ff(this,o)}}function Ff(t,e){return e&&(X(e)==="object"||typeof e=="function")?e:kt(t)}function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Se(t)}function Cr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vf=function(t){Gf(r,t);var e=Xf(r);function r(){var n;Cf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Cr(kt(n),"priority",60),Cr(kt(n),"incompatibleTokens",["t","T"]),n}return Wf(r,[{key:"parse",value:function(o,f,u){switch(f){case"m":return l(y.minute,o);case"mo":return u.ordinalNumber(o,{unit:"minute"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=0&&f<=59}},{key:"set",value:function(o,f,u){return o.setUTCMinutes(u,0,0),o}}]),r}(c);function F(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F=function(r){return typeof r}:F=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},F(t)}function Kf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Jf(t,e,r){return e&&Wr(t.prototype,e),r&&Wr(t,r),t}function ei(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jt(t,e)}function jt(t,e){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(t,e)}function ti(t){var e=ni();return function(){var n=xe(t),o;if(e){var f=xe(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return ri(this,o)}}function ri(t,e){return e&&(F(e)==="object"||typeof e=="function")?e:Ut(t)}function Ut(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ni(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(t)}function Gr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oi=function(t){ei(r,t);var e=ti(r);function r(){var n;Kf(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Gr(Ut(n),"priority",50),Gr(Ut(n),"incompatibleTokens",["t","T"]),n}return Jf(r,[{key:"parse",value:function(o,f,u){switch(f){case"s":return l(y.second,o);case"so":return u.ordinalNumber(o,{unit:"second"});default:return s(f.length,o)}}},{key:"validate",value:function(o,f){return f>=0&&f<=59}},{key:"set",value:function(o,f,u){return o.setUTCSeconds(u,0),o}}]),r}(c);function Z(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(r){return typeof r}:Z=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Z(t)}function ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function fi(t,e,r){return e&&Xr(t.prototype,e),r&&Xr(t,r),t}function ii(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mt(t,e)}function ai(t){var e=li();return function(){var n=Ee(t),o;if(e){var f=Ee(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return ci(this,o)}}function ci(t,e){return e&&(Z(e)==="object"||typeof e=="function")?e:qt(t)}function qt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function li(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(t)}function Fr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var si=function(t){ii(r,t);var e=ai(r);function r(){var n;ui(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Fr(qt(n),"priority",30),Fr(qt(n),"incompatibleTokens",["t","T"]),n}return fi(r,[{key:"parse",value:function(o,f){var u=function(a){return Math.floor(a*Math.pow(10,-f.length+3))};return p(s(f.length,o),u)}},{key:"set",value:function(o,f,u){return o.setUTCMilliseconds(u),o}}]),r}(c);function V(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(r){return typeof r}:V=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},V(t)}function yi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pi(t,e,r){return e&&Zr(t.prototype,e),r&&Zr(t,r),t}function hi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yt(t,e)}function Yt(t,e){return Yt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yt(t,e)}function bi(t){var e=vi();return function(){var n=Ie(t),o;if(e){var f=Ie(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return _i(this,o)}}function _i(t,e){return e&&(V(e)==="object"||typeof e=="function")?e:Ht(t)}function Ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ie(t)}function Vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mi=function(t){hi(r,t);var e=bi(r);function r(){var n;yi(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Vr(Ht(n),"priority",10),Vr(Ht(n),"incompatibleTokens",["t","T","x"]),n}return pi(r,[{key:"parse",value:function(o,f){switch(f){case"X":return v(_.basicOptionalMinutes,o);case"XX":return v(_.basic,o);case"XXXX":return v(_.basicOptionalSeconds,o);case"XXXXX":return v(_.extendedOptionalSeconds,o);case"XXX":default:return v(_.extended,o)}}},{key:"set",value:function(o,f,u){return f.timestampIsSet?o:new Date(o.getTime()-u)}}]),r}(c);function K(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K=function(r){return typeof r}:K=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},K(t)}function wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Oi(t,e,r){return e&&Kr(t.prototype,e),r&&Kr(t,r),t}function Pi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}function At(t,e){return At=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},At(t,e)}function gi(t){var e=$i();return function(){var n=Ne(t),o;if(e){var f=Ne(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return di(this,o)}}function di(t,e){return e&&(K(e)==="object"||typeof e=="function")?e:Lt(t)}function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ne(t){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(t)}function Jr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ri=function(t){Pi(r,t);var e=gi(r);function r(){var n;wi(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),Jr(Lt(n),"priority",10),Jr(Lt(n),"incompatibleTokens",["t","T","X"]),n}return Oi(r,[{key:"parse",value:function(o,f){switch(f){case"x":return v(_.basicOptionalMinutes,o);case"xx":return v(_.basic,o);case"xxxx":return v(_.basicOptionalSeconds,o);case"xxxxx":return v(_.extendedOptionalSeconds,o);case"xxx":default:return v(_.extended,o)}}},{key:"set",value:function(o,f,u){return f.timestampIsSet?o:new Date(o.getTime()-u)}}]),r}(c);function J(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(r){return typeof r}:J=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},J(t)}function Ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function en(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Si(t,e,r){return e&&en(t.prototype,e),r&&en(t,r),t}function xi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zt(t,e)}function zt(t,e){return zt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zt(t,e)}function Ei(t){var e=Ni();return function(){var n=De(t),o;if(e){var f=De(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Ii(this,o)}}function Ii(t,e){return e&&(J(e)==="object"||typeof e=="function")?e:Qt(t)}function Qt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ni(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(t)}function tn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Di=function(t){xi(r,t);var e=Ei(r);function r(){var n;Ti(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),tn(Qt(n),"priority",40),tn(Qt(n),"incompatibleTokens","*"),n}return Si(r,[{key:"parse",value:function(o){return an(o)}},{key:"set",value:function(o,f,u){return[new Date(u*1e3),{timestampIsSet:!0}]}}]),r}(c);function ee(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ee=function(r){return typeof r}:ee=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ee(t)}function Bi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ki(t,e,r){return e&&rn(t.prototype,e),r&&rn(t,r),t}function ji(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}function Ct(t,e){return Ct=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ct(t,e)}function Ui(t){var e=qi();return function(){var n=Be(t),o;if(e){var f=Be(this).constructor;o=Reflect.construct(n,arguments,f)}else o=n.apply(this,arguments);return Mi(this,o)}}function Mi(t,e){return e&&(ee(e)==="object"||typeof e=="function")?e:Wt(t)}function Wt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Be(t){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(t)}function nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yi=function(t){ji(r,t);var e=Ui(r);function r(){var n;Bi(this,r);for(var o=arguments.length,f=new Array(o),u=0;u<o;u++)f[u]=arguments[u];return n=e.call.apply(e,[this].concat(f)),nn(Wt(n),"priority",20),nn(Wt(n),"incompatibleTokens","*"),n}return ki(r,[{key:"parse",value:function(o){return an(o)}},{key:"set",value:function(o,f,u){return[new Date(u),{timestampIsSet:!0}]}}]),r}(c);new qn,new Cn,new Kn,new uo,new yo,new wo,new So,new ko,new Ao,new Fo,new nu,new yu,new wu,new Tu,new Bu,new Hu,new Xu,new tf,new cf,new _f,new df,new If,new Mf,new Qf,new Vf,new oi,new si,new mi,new Ri,new Di,new Yi; +//# sourceMappingURL=index.2b8b0fc4.js.map diff --git a/assets/index.2b8b0fc4.js.map b/assets/index.2b8b0fc4.js.map new file mode 100644 index 0000000000..fc878a090a --- /dev/null +++ b/assets/index.2b8b0fc4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2b8b0fc4.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/constants/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/Setter.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/Parser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/constants.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/utils.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/setUTCWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/setUTCDay/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/_lib/setUTCISODay/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/parse/_lib/parsers/index.js"],"sourcesContent":["/**\n * Days in 1 week.\n *\n * @name daysInWeek\n * @constant\n * @type {number}\n * @default\n */\nexport var daysInWeek = 7;\n/**\n * Days in 1 year\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n *\n * @name daysInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var daysInYear = 365.2425;\n/**\n * Maximum allowed time.\n *\n * @name maxTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n/**\n * Milliseconds in 1 minute\n *\n * @name millisecondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInMinute = 60000;\n/**\n * Milliseconds in 1 hour\n *\n * @name millisecondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInHour = 3600000;\n/**\n * Milliseconds in 1 second\n *\n * @name millisecondsInSecond\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInSecond = 1000;\n/**\n * Minimum allowed time.\n *\n * @name minTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minTime = -maxTime;\n/**\n * Minutes in 1 hour\n *\n * @name minutesInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minutesInHour = 60;\n/**\n * Months in 1 quarter\n *\n * @name monthsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInQuarter = 3;\n/**\n * Months in 1 year\n *\n * @name monthsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInYear = 12;\n/**\n * Quarters in 1 year\n *\n * @name quartersInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var quartersInYear = 4;\n/**\n * Seconds in 1 hour\n *\n * @name secondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInHour = 3600;\n/**\n * Seconds in 1 minute\n *\n * @name secondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMinute = 60;\n/**\n * Seconds in 1 day\n *\n * @name secondsInDay\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInDay = secondsInHour * 24;\n/**\n * Seconds in 1 week\n *\n * @name secondsInWeek\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInWeek = secondsInDay * 7;\n/**\n * Seconds in 1 year\n *\n * @name secondsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInYear = secondsInDay * daysInYear;\n/**\n * Seconds in 1 month\n *\n * @name secondsInMonth\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMonth = secondsInYear / 12;\n/**\n * Seconds in 1 quarter\n *\n * @name secondsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInQuarter = secondsInMonth * 3;","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar TIMEZONE_UNIT_PRIORITY = 10;\nexport var Setter = /*#__PURE__*/function () {\n function Setter() {\n _classCallCheck(this, Setter);\n\n _defineProperty(this, \"subPriority\", 0);\n }\n\n _createClass(Setter, [{\n key: \"validate\",\n value: function validate(_utcDate, _options) {\n return true;\n }\n }]);\n\n return Setter;\n}();\nexport var ValueSetter = /*#__PURE__*/function (_Setter) {\n _inherits(ValueSetter, _Setter);\n\n var _super = _createSuper(ValueSetter);\n\n function ValueSetter(value, validateValue, setValue, priority, subPriority) {\n var _this;\n\n _classCallCheck(this, ValueSetter);\n\n _this = _super.call(this);\n _this.value = value;\n _this.validateValue = validateValue;\n _this.setValue = setValue;\n _this.priority = priority;\n\n if (subPriority) {\n _this.subPriority = subPriority;\n }\n\n return _this;\n }\n\n _createClass(ValueSetter, [{\n key: \"validate\",\n value: function validate(utcDate, options) {\n return this.validateValue(utcDate, this.value, options);\n }\n }, {\n key: \"set\",\n value: function set(utcDate, flags, options) {\n return this.setValue(utcDate, flags, this.value, options);\n }\n }]);\n\n return ValueSetter;\n}(Setter);\nexport var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) {\n _inherits(DateToSystemTimezoneSetter, _Setter2);\n\n var _super2 = _createSuper(DateToSystemTimezoneSetter);\n\n function DateToSystemTimezoneSetter() {\n var _this2;\n\n _classCallCheck(this, DateToSystemTimezoneSetter);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this2 = _super2.call.apply(_super2, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this2), \"priority\", TIMEZONE_UNIT_PRIORITY);\n\n _defineProperty(_assertThisInitialized(_this2), \"subPriority\", -1);\n\n return _this2;\n }\n\n _createClass(DateToSystemTimezoneSetter, [{\n key: \"set\",\n value: function set(date, flags) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n var convertedDate = new Date(0);\n convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());\n convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());\n return convertedDate;\n }\n }]);\n\n return DateToSystemTimezoneSetter;\n}(Setter);","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nimport { ValueSetter } from \"./Setter.js\";\nexport var Parser = /*#__PURE__*/function () {\n function Parser() {\n _classCallCheck(this, Parser);\n }\n\n _createClass(Parser, [{\n key: \"run\",\n value: function run(dateString, token, match, options) {\n var result = this.parse(dateString, token, match, options);\n\n if (!result) {\n return null;\n }\n\n return {\n setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),\n rest: result.rest\n };\n }\n }, {\n key: \"validate\",\n value: function validate(_utcDate, _value, _options) {\n return true;\n }\n }]);\n\n return Parser;\n}();","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nexport var EraParser = /*#__PURE__*/function (_Parser) {\n _inherits(EraParser, _Parser);\n\n var _super = _createSuper(EraParser);\n\n function EraParser() {\n var _this;\n\n _classCallCheck(this, EraParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 140);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['R', 'u', 't', 'T']);\n\n return _this;\n }\n\n _createClass(EraParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return match.era(dateString, {\n width: 'abbreviated'\n }) || match.era(dateString, {\n width: 'narrow'\n });\n // A, B\n\n case 'GGGGG':\n return match.era(dateString, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return match.era(dateString, {\n width: 'wide'\n }) || match.era(dateString, {\n width: 'abbreviated'\n }) || match.era(dateString, {\n width: 'narrow'\n });\n }\n }\n }, {\n key: \"set\",\n value: function set(date, flags, value) {\n flags.era = value;\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return EraParser;\n}(Parser);","export var numericPatterns = {\n month: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n date: /^(3[0-1]|[0-2]?\\d)/,\n // 0 to 31\n dayOfYear: /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n // 0 to 366\n week: /^(5[0-3]|[0-4]?\\d)/,\n // 0 to 53\n hour23h: /^(2[0-3]|[0-1]?\\d)/,\n // 0 to 23\n hour24h: /^(2[0-4]|[0-1]?\\d)/,\n // 0 to 24\n hour11h: /^(1[0-1]|0?\\d)/,\n // 0 to 11\n hour12h: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n minute: /^[0-5]?\\d/,\n // 0 to 59\n second: /^[0-5]?\\d/,\n // 0 to 59\n singleDigit: /^\\d/,\n // 0 to 9\n twoDigits: /^\\d{1,2}/,\n // 0 to 99\n threeDigits: /^\\d{1,3}/,\n // 0 to 999\n fourDigits: /^\\d{1,4}/,\n // 0 to 9999\n anyDigitsSigned: /^-?\\d+/,\n singleDigitSigned: /^-?\\d/,\n // 0 to 9, -0 to -9\n twoDigitsSigned: /^-?\\d{1,2}/,\n // 0 to 99, -0 to -99\n threeDigitsSigned: /^-?\\d{1,3}/,\n // 0 to 999, -0 to -999\n fourDigitsSigned: /^-?\\d{1,4}/ // 0 to 9999, -0 to -9999\n\n};\nexport var timezonePatterns = {\n basicOptionalMinutes: /^([+-])(\\d{2})(\\d{2})?|Z/,\n basic: /^([+-])(\\d{2})(\\d{2})|Z/,\n basicOptionalSeconds: /^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,\n extended: /^([+-])(\\d{2}):(\\d{2})|Z/,\n extendedOptionalSeconds: /^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/\n};","import { millisecondsInHour, millisecondsInMinute, millisecondsInSecond } from \"../../constants/index.js\";\nimport { numericPatterns } from \"./constants.js\";\nexport function mapValue(parseFnResult, mapFn) {\n if (!parseFnResult) {\n return parseFnResult;\n }\n\n return {\n value: mapFn(parseFnResult.value),\n rest: parseFnResult.rest\n };\n}\nexport function parseNumericPattern(pattern, dateString) {\n var matchResult = dateString.match(pattern);\n\n if (!matchResult) {\n return null;\n }\n\n return {\n value: parseInt(matchResult[0], 10),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nexport function parseTimezonePattern(pattern, dateString) {\n var matchResult = dateString.match(pattern);\n\n if (!matchResult) {\n return null;\n } // Input is 'Z'\n\n\n if (matchResult[0] === 'Z') {\n return {\n value: 0,\n rest: dateString.slice(1)\n };\n }\n\n var sign = matchResult[1] === '+' ? 1 : -1;\n var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;\n var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;\n var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;\n return {\n value: sign * (hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * millisecondsInSecond),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nexport function parseAnyDigitsSigned(dateString) {\n return parseNumericPattern(numericPatterns.anyDigitsSigned, dateString);\n}\nexport function parseNDigits(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigit, dateString);\n\n case 2:\n return parseNumericPattern(numericPatterns.twoDigits, dateString);\n\n case 3:\n return parseNumericPattern(numericPatterns.threeDigits, dateString);\n\n case 4:\n return parseNumericPattern(numericPatterns.fourDigits, dateString);\n\n default:\n return parseNumericPattern(new RegExp('^\\\\d{1,' + n + '}'), dateString);\n }\n}\nexport function parseNDigitsSigned(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigitSigned, dateString);\n\n case 2:\n return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString);\n\n case 3:\n return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString);\n\n case 4:\n return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString);\n\n default:\n return parseNumericPattern(new RegExp('^-?\\\\d{1,' + n + '}'), dateString);\n }\n}\nexport function dayPeriodEnumToHours(dayPeriod) {\n switch (dayPeriod) {\n case 'morning':\n return 4;\n\n case 'evening':\n return 17;\n\n case 'pm':\n case 'noon':\n case 'afternoon':\n return 12;\n\n case 'am':\n case 'midnight':\n case 'night':\n default:\n return 0;\n }\n}\nexport function normalizeTwoDigitYear(twoDigitYear, currentYear) {\n var isCommonEra = currentYear > 0; // Absolute number of the current year:\n // 1 -> 1 AC\n // 0 -> 1 BC\n // -1 -> 2 BC\n\n var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;\n var result;\n\n if (absCurrentYear <= 50) {\n result = twoDigitYear || 100;\n } else {\n var rangeEnd = absCurrentYear + 50;\n var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;\n var isPreviousCentury = twoDigitYear >= rangeEnd % 100;\n result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);\n }\n\n return isCommonEra ? result : 1 - result;\n}\nexport function isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { mapValue, normalizeTwoDigitYear, parseNDigits } from \"../utils.js\";\n// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns\n// | Year | y | yy | yyy | yyyy | yyyyy |\n// |----------|-------|----|-------|-------|-------|\n// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\nexport var YearParser = /*#__PURE__*/function (_Parser) {\n _inherits(YearParser, _Parser);\n\n var _super = _createSuper(YearParser);\n\n function YearParser() {\n var _this;\n\n _classCallCheck(this, YearParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 130);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(YearParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n var valueCallback = function valueCallback(year) {\n return {\n year: year,\n isTwoDigitYear: token === 'yy'\n };\n };\n\n switch (token) {\n case 'y':\n return mapValue(parseNDigits(4, dateString), valueCallback);\n\n case 'yo':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'year'\n }), valueCallback);\n\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n }, {\n key: \"set\",\n value: function set(date, flags, value) {\n var currentYear = date.getUTCFullYear();\n\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return YearParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseNDigits, normalizeTwoDigitYear, mapValue } from \"../utils.js\";\nimport getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport startOfUTCWeek from \"../../../_lib/startOfUTCWeek/index.js\";\n// Local week-numbering year\nexport var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {\n _inherits(LocalWeekYearParser, _Parser);\n\n var _super = _createSuper(LocalWeekYearParser);\n\n function LocalWeekYearParser() {\n var _this;\n\n _classCallCheck(this, LocalWeekYearParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 130);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);\n\n return _this;\n }\n\n _createClass(LocalWeekYearParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n var valueCallback = function valueCallback(year) {\n return {\n year: year,\n isTwoDigitYear: token === 'YY'\n };\n };\n\n switch (token) {\n case 'Y':\n return mapValue(parseNDigits(4, dateString), valueCallback);\n\n case 'Yo':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'year'\n }), valueCallback);\n\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n }, {\n key: \"set\",\n value: function set(date, flags, value, options) {\n var currentYear = getUTCWeekYear(date, options);\n\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n }\n\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n }\n }]);\n\n return LocalWeekYearParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseNDigitsSigned } from \"../utils.js\";\nimport startOfUTCISOWeek from \"../../../_lib/startOfUTCISOWeek/index.js\"; // ISO week-numbering year\n\nexport var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {\n _inherits(ISOWeekYearParser, _Parser);\n\n var _super = _createSuper(ISOWeekYearParser);\n\n function ISOWeekYearParser() {\n var _this;\n\n _classCallCheck(this, ISOWeekYearParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 130);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(ISOWeekYearParser, [{\n key: \"parse\",\n value: function parse(dateString, token) {\n if (token === 'R') {\n return parseNDigitsSigned(4, dateString);\n }\n\n return parseNDigitsSigned(token.length, dateString);\n }\n }, {\n key: \"set\",\n value: function set(_date, _flags, value) {\n var firstWeekOfYear = new Date(0);\n firstWeekOfYear.setUTCFullYear(value, 0, 4);\n firstWeekOfYear.setUTCHours(0, 0, 0, 0);\n return startOfUTCISOWeek(firstWeekOfYear);\n }\n }]);\n\n return ISOWeekYearParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseNDigitsSigned } from \"../utils.js\";\nexport var ExtendedYearParser = /*#__PURE__*/function (_Parser) {\n _inherits(ExtendedYearParser, _Parser);\n\n var _super = _createSuper(ExtendedYearParser);\n\n function ExtendedYearParser() {\n var _this;\n\n _classCallCheck(this, ExtendedYearParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 130);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(ExtendedYearParser, [{\n key: \"parse\",\n value: function parse(dateString, token) {\n if (token === 'u') {\n return parseNDigitsSigned(4, dateString);\n }\n\n return parseNDigitsSigned(token.length, dateString);\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return ExtendedYearParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseNDigits } from \"../utils.js\";\nexport var QuarterParser = /*#__PURE__*/function (_Parser) {\n _inherits(QuarterParser, _Parser);\n\n var _super = _createSuper(QuarterParser);\n\n function QuarterParser() {\n var _this;\n\n _classCallCheck(this, QuarterParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 120);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(QuarterParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n case 'QQ':\n // 01, 02, 03, 04\n return parseNDigits(token.length, dateString);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return match.ordinalNumber(dateString, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return match.quarter(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return match.quarter(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return match.quarter(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.quarter(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return QuarterParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseNDigits } from \"../utils.js\";\nexport var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {\n _inherits(StandAloneQuarterParser, _Parser);\n\n var _super = _createSuper(StandAloneQuarterParser);\n\n function StandAloneQuarterParser() {\n var _this;\n\n _classCallCheck(this, StandAloneQuarterParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 120);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(StandAloneQuarterParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n case 'qq':\n // 01, 02, 03, 04\n return parseNDigits(token.length, dateString);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return match.ordinalNumber(dateString, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return match.quarter(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return match.quarter(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return match.quarter(dateString, {\n width: 'wide',\n context: 'standalone'\n }) || match.quarter(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return StandAloneQuarterParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { mapValue, parseNDigits, parseNumericPattern } from \"../utils.js\";\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nexport var MonthParser = /*#__PURE__*/function (_Parser) {\n _inherits(MonthParser, _Parser);\n\n var _super = _createSuper(MonthParser);\n\n function MonthParser() {\n var _this;\n\n _classCallCheck(this, MonthParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 110);\n\n return _this;\n }\n\n _createClass(MonthParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n var valueCallback = function valueCallback(value) {\n return value - 1;\n };\n\n switch (token) {\n // 1, 2, ..., 12\n case 'M':\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n // 01, 02, ..., 12\n\n case 'MM':\n return mapValue(parseNDigits(2, dateString), valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'month'\n }), valueCallback);\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return match.month(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return match.month(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return match.month(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.month(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return MonthParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits, mapValue } from \"../utils.js\";\nexport var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {\n _inherits(StandAloneMonthParser, _Parser);\n\n var _super = _createSuper(StandAloneMonthParser);\n\n function StandAloneMonthParser() {\n var _this;\n\n _classCallCheck(this, StandAloneMonthParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 110);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(StandAloneMonthParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n var valueCallback = function valueCallback(value) {\n return value - 1;\n };\n\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n // 01, 02, ..., 12\n\n case 'LL':\n return mapValue(parseNDigits(2, dateString), valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'month'\n }), valueCallback);\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return match.month(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return match.month(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return match.month(dateString, {\n width: 'wide',\n context: 'standalone'\n }) || match.month(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return StandAloneMonthParser;\n}(Parser);","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport getUTCWeek from \"../getUTCWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function setUTCWeek(dirtyDate, dirtyWeek, options) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var week = toInteger(dirtyWeek);\n var diff = getUTCWeek(date, options) - week;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nimport setUTCWeek from \"../../../_lib/setUTCWeek/index.js\";\nimport startOfUTCWeek from \"../../../_lib/startOfUTCWeek/index.js\"; // Local week of year\n\nexport var LocalWeekParser = /*#__PURE__*/function (_Parser) {\n _inherits(LocalWeekParser, _Parser);\n\n var _super = _createSuper(LocalWeekParser);\n\n function LocalWeekParser() {\n var _this;\n\n _classCallCheck(this, LocalWeekParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 100);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);\n\n return _this;\n }\n\n _createClass(LocalWeekParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'w':\n return parseNumericPattern(numericPatterns.week, dateString);\n\n case 'wo':\n return match.ordinalNumber(dateString, {\n unit: 'week'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value, options) {\n return startOfUTCWeek(setUTCWeek(date, value, options), options);\n }\n }]);\n\n return LocalWeekParser;\n}(Parser);","import toInteger from \"../toInteger/index.js\";\nimport toDate from \"../../toDate/index.js\";\nimport getUTCISOWeek from \"../getUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function setUTCISOWeek(dirtyDate, dirtyISOWeek) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var isoWeek = toInteger(dirtyISOWeek);\n var diff = getUTCISOWeek(date) - isoWeek;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nimport setUTCISOWeek from \"../../../_lib/setUTCISOWeek/index.js\";\nimport startOfUTCISOWeek from \"../../../_lib/startOfUTCISOWeek/index.js\"; // ISO week of year\n\nexport var ISOWeekParser = /*#__PURE__*/function (_Parser) {\n _inherits(ISOWeekParser, _Parser);\n\n var _super = _createSuper(ISOWeekParser);\n\n function ISOWeekParser() {\n var _this;\n\n _classCallCheck(this, ISOWeekParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 100);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(ISOWeekParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'I':\n return parseNumericPattern(numericPatterns.week, dateString);\n\n case 'Io':\n return match.ordinalNumber(dateString, {\n unit: 'week'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n return startOfUTCISOWeek(setUTCISOWeek(date, value));\n }\n }]);\n\n return ISOWeekParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { isLeapYearIndex, parseNDigits, parseNumericPattern } from \"../utils.js\";\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // Day of the month\n\nexport var DateParser = /*#__PURE__*/function (_Parser) {\n _inherits(DateParser, _Parser);\n\n var _super = _createSuper(DateParser);\n\n function DateParser() {\n var _this;\n\n _classCallCheck(this, DateParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"subPriority\", 1);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(DateParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'd':\n return parseNumericPattern(numericPatterns.date, dateString);\n\n case 'do':\n return match.ordinalNumber(dateString, {\n unit: 'date'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(date, value) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n var month = date.getUTCMonth();\n\n if (isLeapYear) {\n return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];\n } else {\n return value >= 1 && value <= DAYS_IN_MONTH[month];\n }\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCDate(value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return DateParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits, isLeapYearIndex } from \"../utils.js\";\nexport var DayOfYearParser = /*#__PURE__*/function (_Parser) {\n _inherits(DayOfYearParser, _Parser);\n\n var _super = _createSuper(DayOfYearParser);\n\n function DayOfYearParser() {\n var _this;\n\n _classCallCheck(this, DayOfYearParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"subpriority\", 1);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(DayOfYearParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'D':\n case 'DD':\n return parseNumericPattern(numericPatterns.dayOfYear, dateString);\n\n case 'Do':\n return match.ordinalNumber(dateString, {\n unit: 'date'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(date, value) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n\n if (isLeapYear) {\n return value >= 1 && value <= 366;\n } else {\n return value >= 1 && value <= 365;\n }\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMonth(0, value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return DayOfYearParser;\n}(Parser);","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function setUTCDay(dirtyDate, dirtyDay, options) {\n var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(2, arguments);\n var defaultOptions = getDefaultOptions();\n var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = toInteger(dirtyDay);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport setUTCDay from \"../../../_lib/setUTCDay/index.js\"; // Day of week\n\nexport var DayParser = /*#__PURE__*/function (_Parser) {\n _inherits(DayParser, _Parser);\n\n var _super = _createSuper(DayParser);\n\n function DayParser() {\n var _this;\n\n _classCallCheck(this, DayParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['D', 'i', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(DayParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return match.day(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return DayParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { mapValue, parseNDigits } from \"../utils.js\";\nimport setUTCDay from \"../../../_lib/setUTCDay/index.js\"; // Local day of week\n\nexport var LocalDayParser = /*#__PURE__*/function (_Parser) {\n _inherits(LocalDayParser, _Parser);\n\n var _super = _createSuper(LocalDayParser);\n\n function LocalDayParser() {\n var _this;\n\n _classCallCheck(this, LocalDayParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(LocalDayParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match, options) {\n var valueCallback = function valueCallback(value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n\n switch (token) {\n // 3\n case 'e':\n case 'ee':\n // 03\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n // 3rd\n\n case 'eo':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'day'\n }), valueCallback);\n // Tue\n\n case 'eee':\n return match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return match.day(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return LocalDayParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { mapValue, parseNDigits } from \"../utils.js\";\nimport setUTCDay from \"../../../_lib/setUTCDay/index.js\"; // Stand-alone local day of week\n\nexport var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {\n _inherits(StandAloneLocalDayParser, _Parser);\n\n var _super = _createSuper(StandAloneLocalDayParser);\n\n function StandAloneLocalDayParser() {\n var _this;\n\n _classCallCheck(this, StandAloneLocalDayParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']);\n\n return _this;\n }\n\n _createClass(StandAloneLocalDayParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match, options) {\n var valueCallback = function valueCallback(value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n\n switch (token) {\n // 3\n case 'c':\n case 'cc':\n // 03\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n // 3rd\n\n case 'co':\n return mapValue(match.ordinalNumber(dateString, {\n unit: 'day'\n }), valueCallback);\n // Tue\n\n case 'ccc':\n return match.day(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'short',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return match.day(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return match.day(dateString, {\n width: 'short',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return match.day(dateString, {\n width: 'wide',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'short',\n context: 'standalone'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return StandAloneLocalDayParser;\n}(Parser);","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nexport default function setUTCISODay(dirtyDate, dirtyDay) {\n requiredArgs(2, arguments);\n var day = toInteger(dirtyDay);\n\n if (day % 7 === 0) {\n day = day - 7;\n }\n\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { mapValue, parseNDigits } from \"../utils.js\";\nimport setUTCISODay from \"../../../_lib/setUTCISODay/index.js\"; // ISO day of week\n\nexport var ISODayParser = /*#__PURE__*/function (_Parser) {\n _inherits(ISODayParser, _Parser);\n\n var _super = _createSuper(ISODayParser);\n\n function ISODayParser() {\n var _this;\n\n _classCallCheck(this, ISODayParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 90);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']);\n\n return _this;\n }\n\n _createClass(ISODayParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n var valueCallback = function valueCallback(value) {\n if (value === 0) {\n return 7;\n }\n\n return value;\n };\n\n switch (token) {\n // 2\n case 'i':\n case 'ii':\n // 02\n return parseNDigits(token.length, dateString);\n // 2nd\n\n case 'io':\n return match.ordinalNumber(dateString, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return mapValue(match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n }), valueCallback);\n // T\n\n case 'iiiii':\n return mapValue(match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n }), valueCallback);\n // Tu\n\n case 'iiiiii':\n return mapValue(match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n }), valueCallback);\n // Tuesday\n\n case 'iiii':\n default:\n return mapValue(match.day(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'short',\n context: 'formatting'\n }) || match.day(dateString, {\n width: 'narrow',\n context: 'formatting'\n }), valueCallback);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 7;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date = setUTCISODay(date, value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n }]);\n\n return ISODayParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { dayPeriodEnumToHours } from \"../utils.js\";\nexport var AMPMParser = /*#__PURE__*/function (_Parser) {\n _inherits(AMPMParser, _Parser);\n\n var _super = _createSuper(AMPMParser);\n\n function AMPMParser() {\n var _this;\n\n _classCallCheck(this, AMPMParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 80);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['b', 'B', 'H', 'k', 't', 'T']);\n\n return _this;\n }\n\n _createClass(AMPMParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaaa':\n return match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaa':\n default:\n return match.dayPeriod(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n }]);\n\n return AMPMParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { dayPeriodEnumToHours } from \"../utils.js\";\nexport var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {\n _inherits(AMPMMidnightParser, _Parser);\n\n var _super = _createSuper(AMPMMidnightParser);\n\n function AMPMMidnightParser() {\n var _this;\n\n _classCallCheck(this, AMPMMidnightParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 80);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['a', 'B', 'H', 'k', 't', 'T']);\n\n return _this;\n }\n\n _createClass(AMPMMidnightParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'b':\n case 'bb':\n case 'bbb':\n return match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbbb':\n return match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbb':\n default:\n return match.dayPeriod(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n }]);\n\n return AMPMMidnightParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { dayPeriodEnumToHours } from \"../utils.js\"; // in the morning, in the afternoon, in the evening, at night\n\nexport var DayPeriodParser = /*#__PURE__*/function (_Parser) {\n _inherits(DayPeriodParser, _Parser);\n\n var _super = _createSuper(DayPeriodParser);\n\n function DayPeriodParser() {\n var _this;\n\n _classCallCheck(this, DayPeriodParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 80);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['a', 'b', 't', 'T']);\n\n return _this;\n }\n\n _createClass(DayPeriodParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBBB':\n return match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBB':\n default:\n return match.dayPeriod(dateString, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(dateString, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n }]);\n\n return DayPeriodParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var Hour1to12Parser = /*#__PURE__*/function (_Parser) {\n _inherits(Hour1to12Parser, _Parser);\n\n var _super = _createSuper(Hour1to12Parser);\n\n function Hour1to12Parser() {\n var _this;\n\n _classCallCheck(this, Hour1to12Parser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 70);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['H', 'K', 'k', 't', 'T']);\n\n return _this;\n }\n\n _createClass(Hour1to12Parser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'h':\n return parseNumericPattern(numericPatterns.hour12h, dateString);\n\n case 'ho':\n return match.ordinalNumber(dateString, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 12;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n var isPM = date.getUTCHours() >= 12;\n\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else if (!isPM && value === 12) {\n date.setUTCHours(0, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n\n return date;\n }\n }]);\n\n return Hour1to12Parser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var Hour0to23Parser = /*#__PURE__*/function (_Parser) {\n _inherits(Hour0to23Parser, _Parser);\n\n var _super = _createSuper(Hour0to23Parser);\n\n function Hour0to23Parser() {\n var _this;\n\n _classCallCheck(this, Hour0to23Parser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 70);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['a', 'b', 'h', 'K', 'k', 't', 'T']);\n\n return _this;\n }\n\n _createClass(Hour0to23Parser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'H':\n return parseNumericPattern(numericPatterns.hour23h, dateString);\n\n case 'Ho':\n return match.ordinalNumber(dateString, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 23;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCHours(value, 0, 0, 0);\n return date;\n }\n }]);\n\n return Hour0to23Parser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var Hour0To11Parser = /*#__PURE__*/function (_Parser) {\n _inherits(Hour0To11Parser, _Parser);\n\n var _super = _createSuper(Hour0To11Parser);\n\n function Hour0To11Parser() {\n var _this;\n\n _classCallCheck(this, Hour0To11Parser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 70);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['h', 'H', 'k', 't', 'T']);\n\n return _this;\n }\n\n _createClass(Hour0To11Parser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'K':\n return parseNumericPattern(numericPatterns.hour11h, dateString);\n\n case 'Ko':\n return match.ordinalNumber(dateString, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n var isPM = date.getUTCHours() >= 12;\n\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n\n return date;\n }\n }]);\n\n return Hour0To11Parser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var Hour1To24Parser = /*#__PURE__*/function (_Parser) {\n _inherits(Hour1To24Parser, _Parser);\n\n var _super = _createSuper(Hour1To24Parser);\n\n function Hour1To24Parser() {\n var _this;\n\n _classCallCheck(this, Hour1To24Parser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 70);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['a', 'b', 'h', 'H', 'K', 't', 'T']);\n\n return _this;\n }\n\n _createClass(Hour1To24Parser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'k':\n return parseNumericPattern(numericPatterns.hour24h, dateString);\n\n case 'ko':\n return match.ordinalNumber(dateString, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 1 && value <= 24;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n var hours = value <= 24 ? value % 24 : value;\n date.setUTCHours(hours, 0, 0, 0);\n return date;\n }\n }]);\n\n return Hour1To24Parser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var MinuteParser = /*#__PURE__*/function (_Parser) {\n _inherits(MinuteParser, _Parser);\n\n var _super = _createSuper(MinuteParser);\n\n function MinuteParser() {\n var _this;\n\n _classCallCheck(this, MinuteParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 60);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['t', 'T']);\n\n return _this;\n }\n\n _createClass(MinuteParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 'm':\n return parseNumericPattern(numericPatterns.minute, dateString);\n\n case 'mo':\n return match.ordinalNumber(dateString, {\n unit: 'minute'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMinutes(value, 0, 0);\n return date;\n }\n }]);\n\n return MinuteParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { numericPatterns } from \"../constants.js\";\nimport { parseNumericPattern, parseNDigits } from \"../utils.js\";\nexport var SecondParser = /*#__PURE__*/function (_Parser) {\n _inherits(SecondParser, _Parser);\n\n var _super = _createSuper(SecondParser);\n\n function SecondParser() {\n var _this;\n\n _classCallCheck(this, SecondParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 50);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['t', 'T']);\n\n return _this;\n }\n\n _createClass(SecondParser, [{\n key: \"parse\",\n value: function parse(dateString, token, match) {\n switch (token) {\n case 's':\n return parseNumericPattern(numericPatterns.second, dateString);\n\n case 'so':\n return match.ordinalNumber(dateString, {\n unit: 'second'\n });\n\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n }, {\n key: \"validate\",\n value: function validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCSeconds(value, 0);\n return date;\n }\n }]);\n\n return SecondParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { mapValue, parseNDigits } from \"../utils.js\";\nexport var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {\n _inherits(FractionOfSecondParser, _Parser);\n\n var _super = _createSuper(FractionOfSecondParser);\n\n function FractionOfSecondParser() {\n var _this;\n\n _classCallCheck(this, FractionOfSecondParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 30);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['t', 'T']);\n\n return _this;\n }\n\n _createClass(FractionOfSecondParser, [{\n key: \"parse\",\n value: function parse(dateString, token) {\n var valueCallback = function valueCallback(value) {\n return Math.floor(value * Math.pow(10, -token.length + 3));\n };\n\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }, {\n key: \"set\",\n value: function set(date, _flags, value) {\n date.setUTCMilliseconds(value);\n return date;\n }\n }]);\n\n return FractionOfSecondParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { timezonePatterns } from \"../constants.js\";\nimport { parseTimezonePattern } from \"../utils.js\"; // Timezone (ISO-8601. +00:00 is `'Z'`)\n\nexport var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {\n _inherits(ISOTimezoneWithZParser, _Parser);\n\n var _super = _createSuper(ISOTimezoneWithZParser);\n\n function ISOTimezoneWithZParser() {\n var _this;\n\n _classCallCheck(this, ISOTimezoneWithZParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 10);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['t', 'T', 'x']);\n\n return _this;\n }\n\n _createClass(ISOTimezoneWithZParser, [{\n key: \"parse\",\n value: function parse(dateString, token) {\n switch (token) {\n case 'X':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n\n case 'XX':\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n\n case 'XXXX':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n\n case 'XXXXX':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n\n case 'XXX':\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n }, {\n key: \"set\",\n value: function set(date, flags, value) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n return new Date(date.getTime() - value);\n }\n }]);\n\n return ISOTimezoneWithZParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { timezonePatterns } from \"../constants.js\";\nimport { parseTimezonePattern } from \"../utils.js\"; // Timezone (ISO-8601)\n\nexport var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {\n _inherits(ISOTimezoneParser, _Parser);\n\n var _super = _createSuper(ISOTimezoneParser);\n\n function ISOTimezoneParser() {\n var _this;\n\n _classCallCheck(this, ISOTimezoneParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 10);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", ['t', 'T', 'X']);\n\n return _this;\n }\n\n _createClass(ISOTimezoneParser, [{\n key: \"parse\",\n value: function parse(dateString, token) {\n switch (token) {\n case 'x':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n\n case 'xx':\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n\n case 'xxxx':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n\n case 'xxxxx':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n\n case 'xxx':\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n }, {\n key: \"set\",\n value: function set(date, flags, value) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n return new Date(date.getTime() - value);\n }\n }]);\n\n return ISOTimezoneParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseAnyDigitsSigned } from \"../utils.js\";\nexport var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {\n _inherits(TimestampSecondsParser, _Parser);\n\n var _super = _createSuper(TimestampSecondsParser);\n\n function TimestampSecondsParser() {\n var _this;\n\n _classCallCheck(this, TimestampSecondsParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 40);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", '*');\n\n return _this;\n }\n\n _createClass(TimestampSecondsParser, [{\n key: \"parse\",\n value: function parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n }, {\n key: \"set\",\n value: function set(_date, _flags, value) {\n return [new Date(value * 1000), {\n timestampIsSet: true\n }];\n }\n }]);\n\n return TimestampSecondsParser;\n}(Parser);","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Parser } from \"../Parser.js\";\nimport { parseAnyDigitsSigned } from \"../utils.js\";\nexport var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {\n _inherits(TimestampMillisecondsParser, _Parser);\n\n var _super = _createSuper(TimestampMillisecondsParser);\n\n function TimestampMillisecondsParser() {\n var _this;\n\n _classCallCheck(this, TimestampMillisecondsParser);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"priority\", 20);\n\n _defineProperty(_assertThisInitialized(_this), \"incompatibleTokens\", '*');\n\n return _this;\n }\n\n _createClass(TimestampMillisecondsParser, [{\n key: \"parse\",\n value: function parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n }, {\n key: \"set\",\n value: function set(_date, _flags, value) {\n return [new Date(value), {\n timestampIsSet: true\n }];\n }\n }]);\n\n return TimestampMillisecondsParser;\n}(Parser);","import { EraParser } from \"./EraParser.js\";\nimport { YearParser } from \"./YearParser.js\";\nimport { LocalWeekYearParser } from \"./LocalWeekYearParser.js\";\nimport { ISOWeekYearParser } from \"./ISOWeekYearParser.js\";\nimport { ExtendedYearParser } from \"./ExtendedYearParser.js\";\nimport { QuarterParser } from \"./QuarterParser.js\";\nimport { StandAloneQuarterParser } from \"./StandAloneQuarterParser.js\";\nimport { MonthParser } from \"./MonthParser.js\";\nimport { StandAloneMonthParser } from \"./StandAloneMonthParser.js\";\nimport { LocalWeekParser } from \"./LocalWeekParser.js\";\nimport { ISOWeekParser } from \"./ISOWeekParser.js\";\nimport { DateParser } from \"./DateParser.js\";\nimport { DayOfYearParser } from \"./DayOfYearParser.js\";\nimport { DayParser } from \"./DayParser.js\";\nimport { LocalDayParser } from \"./LocalDayParser.js\";\nimport { StandAloneLocalDayParser } from \"./StandAloneLocalDayParser.js\";\nimport { ISODayParser } from \"./ISODayParser.js\";\nimport { AMPMParser } from \"./AMPMParser.js\";\nimport { AMPMMidnightParser } from \"./AMPMMidnightParser.js\";\nimport { DayPeriodParser } from \"./DayPeriodParser.js\";\nimport { Hour1to12Parser } from \"./Hour1to12Parser.js\";\nimport { Hour0to23Parser } from \"./Hour0to23Parser.js\";\nimport { Hour0To11Parser } from \"./Hour0To11Parser.js\";\nimport { Hour1To24Parser } from \"./Hour1To24Parser.js\";\nimport { MinuteParser } from \"./MinuteParser.js\";\nimport { SecondParser } from \"./SecondParser.js\";\nimport { FractionOfSecondParser } from \"./FractionOfSecondParser.js\";\nimport { ISOTimezoneWithZParser } from \"./ISOTimezoneWithZParser.js\";\nimport { ISOTimezoneParser } from \"./ISOTimezoneParser.js\";\nimport { TimestampSecondsParser } from \"./TimestampSecondsParser.js\";\nimport { TimestampMillisecondsParser } from \"./TimestampMillisecondsParser.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O* | Timezone (GMT) |\n * | p | | P | |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n */\n\nexport var parsers = {\n G: new EraParser(),\n y: new YearParser(),\n Y: new LocalWeekYearParser(),\n R: new ISOWeekYearParser(),\n u: new ExtendedYearParser(),\n Q: new QuarterParser(),\n q: new StandAloneQuarterParser(),\n M: new MonthParser(),\n L: new StandAloneMonthParser(),\n w: new LocalWeekParser(),\n I: new ISOWeekParser(),\n d: new DateParser(),\n D: new DayOfYearParser(),\n E: new DayParser(),\n e: new LocalDayParser(),\n c: new StandAloneLocalDayParser(),\n i: new ISODayParser(),\n a: new AMPMParser(),\n b: new AMPMMidnightParser(),\n B: new DayPeriodParser(),\n h: new Hour1to12Parser(),\n H: new Hour0to23Parser(),\n K: new Hour0To11Parser(),\n k: new Hour1To24Parser(),\n m: new MinuteParser(),\n s: new SecondParser(),\n S: new FractionOfSecondParser(),\n X: new ISOTimezoneWithZParser(),\n x: new ISOTimezoneParser(),\n t: new TimestampSecondsParser(),\n T: new TimestampMillisecondsParser()\n};"],"names":["millisecondsInMinute","millisecondsInHour","millisecondsInSecond","_typeof","obj","_inherits","subClass","superClass","_setPrototypeOf","o","p","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","Super","_getPrototypeOf","result","NewTarget","_possibleConstructorReturn","self","call","_assertThisInitialized","_classCallCheck","instance","Constructor","_defineProperties","target","props","i","descriptor","_createClass","protoProps","staticProps","_defineProperty","key","value","Setter","_utcDate","_options","ValueSetter","_Setter","_super","validateValue","setValue","priority","subPriority","_this","utcDate","options","flags","Parser","dateString","token","match","_value","EraParser","_Parser","_len","args","_key","date","numericPatterns","timezonePatterns","mapValue","parseFnResult","mapFn","parseNumericPattern","pattern","matchResult","parseTimezonePattern","sign","hours","minutes","seconds","parseAnyDigitsSigned","parseNDigits","n","parseNDigitsSigned","dayPeriodEnumToHours","dayPeriod","normalizeTwoDigitYear","twoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","rangeEndCentury","isPreviousCentury","isLeapYearIndex","year","YearParser","valueCallback","_date","normalizedTwoDigitYear","LocalWeekYearParser","getUTCWeekYear","startOfUTCWeek","ISOWeekYearParser","_flags","firstWeekOfYear","startOfUTCISOWeek","ExtendedYearParser","QuarterParser","StandAloneQuarterParser","MonthParser","StandAloneMonthParser","setUTCWeek","dirtyDate","dirtyWeek","requiredArgs","toDate","week","toInteger","diff","getUTCWeek","LocalWeekParser","setUTCISOWeek","dirtyISOWeek","isoWeek","getUTCISOWeek","ISOWeekParser","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","DateParser","isLeapYear","month","DayOfYearParser","setUTCDay","dirtyDay","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_options$locale$optio","_defaultOptions$local","_defaultOptions$local2","defaultOptions","getDefaultOptions","weekStartsOn","day","currentDay","remainder","dayIndex","DayParser","LocalDayParser","wholeWeekDays","StandAloneLocalDayParser","setUTCISODay","ISODayParser","AMPMParser","AMPMMidnightParser","DayPeriodParser","Hour1to12Parser","isPM","Hour0to23Parser","Hour0To11Parser","Hour1To24Parser","MinuteParser","SecondParser","FractionOfSecondParser","ISOTimezoneWithZParser","ISOTimezoneParser","TimestampSecondsParser","TimestampMillisecondsParser"],"mappings":"4LA0CO,IAAIA,GAAuB,IAUvBC,GAAqB,KAUrBC,GAAuB,IC9DlC,SAASC,EAAQC,EAAK,CAA6B,OAAI,OAAO,QAAW,YAAc,OAAO,OAAO,UAAa,SAAYD,EAAU,SAAiBC,EAAK,CAAE,OAAO,OAAOA,CAAI,EAAaD,EAAU,SAAiBC,EAAK,CAAE,OAAOA,GAAO,OAAO,QAAW,YAAcA,EAAI,cAAgB,QAAUA,IAAQ,OAAO,UAAY,SAAW,OAAOA,CAAI,EAAaD,EAAQC,CAAG,CAAI,CAE1X,SAASC,GAAUC,EAAUC,EAAY,CAAE,GAAI,OAAOA,GAAe,YAAcA,IAAe,KAAQ,MAAM,IAAI,UAAU,oDAAoD,EAAKD,EAAS,UAAY,OAAO,OAAOC,GAAcA,EAAW,UAAW,CAAE,YAAa,CAAE,MAAOD,EAAU,SAAU,GAAM,aAAc,EAAM,CAAA,CAAE,EAAOC,GAAYC,GAAgBF,EAAUC,CAAU,CAAI,CAEjY,SAASC,GAAgBC,EAAGC,EAAG,CAAEF,OAAAA,GAAkB,OAAO,gBAAkB,SAAyBC,EA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,EAEjD,QAAS3G,EAAO,UAAU,OAAQC,EAAO,IAAI,MAAMD,CAAI,EAAGE,EAAO,EAAGA,EAAOF,EAAME,IAC/ED,EAAKC,GAAQ,UAAUA,GAGzB,OAAAb,EAAQL,EAAO,KAAK,MAAMA,EAAQ,CAAC,IAAI,EAAE,OAAOiB,CAAI,CAAC,EAErDzB,GAAgBZ,GAAuByB,CAAK,EAAG,WAAY,EAAE,EAE7Db,GAAgBZ,GAAuByB,CAAK,EAAG,qBAAsB,GAAG,EAEjEA,CACR,CAED,OAAAhB,GAAasI,EAA6B,CAAC,CACzC,IAAK,QACL,MAAO,SAAejH,EAAY,CAChC,OAAOuB,GAAqBvB,CAAU,CACvC,CACL,EAAK,CACD,IAAK,MACL,MAAO,SAAayC,EAAOM,EAAQ/D,EAAO,CACxC,MAAO,CAAC,IAAI,KAAKA,CAAK,EAAG,CACvB,eAAgB,EACxB,CAAO,CACF,CACF,CAAA,CAAC,EAEKiI,CACT,EAAElH,CAAM,ECYH,IAAIK,GACJ,IAAImC,GACJ,IAAII,GACJ,IAAIG,GACJ,IAAII,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIU,GACJ,IAAIK,GACJ,IAAIG,GACJ,IAAIG,GACJ,IAAIkB,GACJ,IAAIC,GACJ,IAAIE,GACJ,IAAIE,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIE,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC,GACJ,IAAIC"} \ No newline at end of file diff --git a/assets/index.2e976be3.js b/assets/index.2e976be3.js new file mode 100644 index 0000000000..64fc7a389a --- /dev/null +++ b/assets/index.2e976be3.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as u,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"1 сониядан кам",other:"{{count}} сониядан кам"},xSeconds:{one:"1 сония",other:"{{count}} сония"},halfAMinute:"ярим дақиқа",lessThanXMinutes:{one:"1 дақиқадан кам",other:"{{count}} дақиқадан кам"},xMinutes:{one:"1 дақиқа",other:"{{count}} дақиқа"},aboutXHours:{one:"тахминан 1 соат",other:"тахминан {{count}} соат"},xHours:{one:"1 соат",other:"{{count}} соат"},xDays:{one:"1 кун",other:"{{count}} кун"},aboutXWeeks:{one:"тахминан 1 хафта",other:"тахминан {{count}} хафта"},xWeeks:{one:"1 хафта",other:"{{count}} хафта"},aboutXMonths:{one:"тахминан 1 ой",other:"тахминан {{count}} ой"},xMonths:{one:"1 ой",other:"{{count}} ой"},aboutXYears:{one:"тахминан 1 йил",other:"тахминан {{count}} йил"},xYears:{one:"1 йил",other:"{{count}} йил"},overXYears:{one:"1 йилдан кўп",other:"{{count}} йилдан кўп"},almostXYears:{one:"деярли 1 йил",other:"деярли {{count}} йил"}},m=function(a,o,t){var e,d=l[a];return typeof d=="string"?e=d:o===1?e=d.one:e=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e+"дан кейин":e+" олдин":e},h={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},c={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},f={any:"{{date}}, {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:c,defaultWidth:"full"}),dateTime:s({formats:f,defaultWidth:"any"})},y={lastWeek:"'ўтган' eeee p 'да'",yesterday:"'кеча' p 'да'",today:"'бугун' p 'да'",tomorrow:"'эртага' p 'да'",nextWeek:"eeee p 'да'",other:"P"},b=function(a,o,t,e){return y[a]},P={narrow:["М.А","М"],abbreviated:["М.А","М"],wide:["Милоддан Аввалги","Милодий"]},p={narrow:["1","2","3","4"],abbreviated:["1-чор.","2-чор.","3-чор.","4-чор."],wide:["1-чорак","2-чорак","3-чорак","4-чорак"]},w={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],wide:["январ","феврал","март","апрел","май","июн","июл","август","сентабр","октабр","ноябр","декабр"]},M={narrow:["Я","Д","С","Ч","П","Ж","Ш"],short:["як","ду","се","чо","па","жу","ша"],abbreviated:["якш","душ","сеш","чор","пай","жум","шан"],wide:["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"]},g={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},W={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},k=function(a,o){return String(a)},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:M,defaultWidth:"wide"}),dayPeriod:i({values:g,defaultWidth:"any",formattingValues:W,defaultFormattingWidth:"any"})},x=/^(\d+)(чи)?/i,z=/\d+/i,F={narrow:/^(м\.а|м\.)/i,abbreviated:/^(м\.а|м\.)/i,wide:/^(милоддан аввал|милоддан кейин)/i},C={any:[/^м/i,/^а/i]},V={narrow:/^[1234]/i,abbreviated:/^[1234]-чор./i,wide:/^[1234]-чорак/i},X={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^[яфмамииасонд]/i,abbreviated:/^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i,wide:/^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i},H={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^д/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},L={narrow:/^[ядсчпжш]/i,short:/^(як|ду|се|чо|па|жу|ша)/i,abbreviated:/^(якш|душ|сеш|чор|пай|жум|шан)/i,wide:/^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i},N={narrow:[/^я/i,/^д/i,/^с/i,/^ч/i,/^п/i,/^ж/i,/^ш/i],any:[/^як/i,/^ду/i,/^се/i,/^чор/i,/^пай/i,/^жу/i,/^шан/i]},S={any:/^(п\.о\.|п\.к\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i},R={any:{am:/^п\.о\./i,pm:/^п\.к\./i,midnight:/^ярим тун/i,noon:/^пешиндан кейин/i,morning:/эрталаб/i,afternoon:/пешиндан кейин/i,evening:/кечаси/i,night:/тун/i}},T={ordinalNumber:u({matchPattern:x,parsePattern:z,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:n({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:S,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},A={code:"uz-Cyrl",formatDistance:m,formatLong:v,formatRelative:b,localize:D,match:T,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.2e976be3.js.map diff --git a/assets/index.2e976be3.js.map b/assets/index.2e976be3.js.map new file mode 100644 index 0000000000..2037ecfdb0 --- /dev/null +++ b/assets/index.2e976be3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2e976be3.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz-Cyrl/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '1 сониядан кам',\n other: '{{count}} сониядан кам'\n },\n xSeconds: {\n one: '1 сония',\n other: '{{count}} сония'\n },\n halfAMinute: 'ярим дақиқа',\n lessThanXMinutes: {\n one: '1 дақиқадан кам',\n other: '{{count}} дақиқадан кам'\n },\n xMinutes: {\n one: '1 дақиқа',\n other: '{{count}} дақиқа'\n },\n aboutXHours: {\n one: 'тахминан 1 соат',\n other: 'тахминан {{count}} соат'\n },\n xHours: {\n one: '1 соат',\n other: '{{count}} соат'\n },\n xDays: {\n one: '1 кун',\n other: '{{count}} кун'\n },\n aboutXWeeks: {\n one: 'тахминан 1 хафта',\n other: 'тахминан {{count}} хафта'\n },\n xWeeks: {\n one: '1 хафта',\n other: '{{count}} хафта'\n },\n aboutXMonths: {\n one: 'тахминан 1 ой',\n other: 'тахминан {{count}} ой'\n },\n xMonths: {\n one: '1 ой',\n other: '{{count}} ой'\n },\n aboutXYears: {\n one: 'тахминан 1 йил',\n other: 'тахминан {{count}} йил'\n },\n xYears: {\n one: '1 йил',\n other: '{{count}} йил'\n },\n overXYears: {\n one: '1 йилдан кўп',\n other: '{{count}} йилдан кўп'\n },\n almostXYears: {\n one: 'деярли 1 йил',\n other: 'деярли {{count}} йил'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + 'дан кейин';\n } else {\n return result + ' олдин';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM, y',\n long: 'do MMMM, y',\n medium: 'd MMM, y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'ўтган' eeee p 'да'\",\n yesterday: \"'кеча' p 'да'\",\n today: \"'бугун' p 'да'\",\n tomorrow: \"'эртага' p 'да'\",\n nextWeek: \"eeee p 'да'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['М.А', 'М'],\n abbreviated: ['М.А', 'М'],\n wide: ['Милоддан Аввалги', 'Милодий']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-чор.', '2-чор.', '3-чор.', '4-чор.'],\n wide: ['1-чорак', '2-чорак', '3-чорак', '4-чорак']\n};\nvar monthValues = {\n narrow: ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],\n abbreviated: ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'],\n wide: ['январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентабр', 'октабр', 'ноябр', 'декабр']\n};\nvar dayValues = {\n narrow: ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'],\n short: ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'],\n abbreviated: ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'],\n wide: ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба']\n};\nvar dayPeriodValues = {\n any: {\n am: 'П.О.',\n pm: 'П.К.',\n midnight: 'ярим тун',\n noon: 'пешин',\n morning: 'эрталаб',\n afternoon: 'пешиндан кейин',\n evening: 'кечаси',\n night: 'тун'\n }\n};\nvar formattingDayPeriodValues = {\n any: {\n am: 'П.О.',\n pm: 'П.К.',\n midnight: 'ярим тун',\n noon: 'пешин',\n morning: 'эрталаб',\n afternoon: 'пешиндан кейин',\n evening: 'кечаси',\n night: 'тун'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'any'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(чи)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(м\\.а|м\\.)/i,\n abbreviated: /^(м\\.а|м\\.)/i,\n wide: /^(милоддан аввал|милоддан кейин)/i\n};\nvar parseEraPatterns = {\n any: [/^м/i, /^а/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]-чор./i,\n wide: /^[1234]-чорак/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[яфмамииасонд]/i,\n abbreviated: /^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i,\n wide: /^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^д/i],\n any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i]\n};\nvar matchDayPatterns = {\n narrow: /^[ядсчпжш]/i,\n short: /^(як|ду|се|чо|па|жу|ша)/i,\n abbreviated: /^(якш|душ|сеш|чор|пай|жум|шан)/i,\n wide: /^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i\n};\nvar parseDayPatterns = {\n narrow: [/^я/i, /^д/i, /^с/i, /^ч/i, /^п/i, /^ж/i, /^ш/i],\n any: [/^як/i, /^ду/i, /^се/i, /^чор/i, /^пай/i, /^жу/i, /^шан/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(п\\.о\\.|п\\.к\\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^п\\.о\\./i,\n pm: /^п\\.к\\./i,\n midnight: /^ярим тун/i,\n noon: /^пешиндан кейин/i,\n morning: /эрталаб/i,\n afternoon: /пешиндан кейин/i,\n evening: /кечаси/i,\n night: /тун/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Uzbek Cyrillic locale.\n * @language Uzbek\n * @iso-639-2 uzb\n * @author Kamronbek Shodmonov [@kamronbek28]{@link https://github.com/kamronbek28}\n */\n\nvar locale = {\n code: 'uz-Cyrl',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,iBACL,MAAO,wBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,kBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,uBACR,EACD,QAAS,CACP,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,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Aa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,UACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.2fc1066c.js b/assets/index.2fc1066c.js new file mode 100644 index 0000000000..06163b324e --- /dev/null +++ b/assets/index.2fc1066c.js @@ -0,0 +1,2 @@ +import{d as m,e as n,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},l=function(a,o,e){var t,d=u[a];return typeof d=="string"?t=d:o===1?t=d.one:t=d.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"en "+t:"hai "+t:t},h={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},c={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:m({formats:h,defaultWidth:"full"}),time:m({formats:c,defaultWidth:"full"}),dateTime:m({formats:v,defaultWidth:"full"})},b={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},g={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},p=function(a,o,e,t){return o.getUTCHours()!==1?g[a]:b[a]},x={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},P={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},w={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},y={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},M={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},W={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},k=function(a,o){var e=Number(a);return e+"º"},D={ordinalNumber:k,era:n({values:x,defaultWidth:"wide"}),quarter:n({values:P,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:w,defaultWidth:"wide"}),day:n({values:y,defaultWidth:"wide"}),dayPeriod:n({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},C=/^(\d+)(º)?/i,H=/\d+/i,T={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},z={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},F={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},L={any:[/1/i,/2/i,/3/i,/4/i]},V={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},X={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},N={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},E={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},A={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},S={ordinalNumber:s({matchPattern:C,parsePattern:H,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),day:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},Q={code:"gl",formatDistance:l,formatLong:f,formatRelative:p,localize:D,match:S,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.2fc1066c.js.map diff --git a/assets/index.2fc1066c.js.map b/assets/index.2fc1066c.js.map new file mode 100644 index 0000000000..3d802b41b5 --- /dev/null +++ b/assets/index.2fc1066c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.2fc1066c.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gl/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'menos dun segundo',\n other: 'menos de {{count}} segundos'\n },\n xSeconds: {\n one: '1 segundo',\n other: '{{count}} segundos'\n },\n halfAMinute: 'medio minuto',\n lessThanXMinutes: {\n one: 'menos dun minuto',\n other: 'menos de {{count}} minutos'\n },\n xMinutes: {\n one: '1 minuto',\n other: '{{count}} minutos'\n },\n aboutXHours: {\n one: 'arredor dunha hora',\n other: 'arredor de {{count}} horas'\n },\n xHours: {\n one: '1 hora',\n other: '{{count}} horas'\n },\n xDays: {\n one: '1 día',\n other: '{{count}} días'\n },\n aboutXWeeks: {\n one: 'arredor dunha semana',\n other: 'arredor de {{count}} semanas'\n },\n xWeeks: {\n one: '1 semana',\n other: '{{count}} semanas'\n },\n aboutXMonths: {\n one: 'arredor de 1 mes',\n other: 'arredor de {{count}} meses'\n },\n xMonths: {\n one: '1 mes',\n other: '{{count}} meses'\n },\n aboutXYears: {\n one: 'arredor dun ano',\n other: 'arredor de {{count}} anos'\n },\n xYears: {\n one: '1 ano',\n other: '{{count}} anos'\n },\n overXYears: {\n one: 'máis dun ano',\n other: 'máis de {{count}} anos'\n },\n almostXYears: {\n one: 'case un ano',\n other: 'case {{count}} anos'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'en ' + result;\n } else {\n return 'hai ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM y\",\n long: \"d 'de' MMMM y\",\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'ás' {{time}}\",\n long: \"{{date}} 'ás' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'o' eeee 'pasado á' LT\",\n yesterday: \"'onte á' p\",\n today: \"'hoxe á' p\",\n tomorrow: \"'mañá á' p\",\n nextWeek: \"eeee 'á' p\",\n other: 'P'\n};\nvar formatRelativeLocalePlural = {\n lastWeek: \"'o' eeee 'pasado ás' p\",\n yesterday: \"'onte ás' p\",\n today: \"'hoxe ás' p\",\n tomorrow: \"'mañá ás' p\",\n nextWeek: \"eeee 'ás' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n if (date.getUTCHours() !== 1) {\n return formatRelativeLocalePlural[token];\n }\n\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['AC', 'DC'],\n abbreviated: ['AC', 'DC'],\n wide: ['antes de cristo', 'despois de cristo']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']\n};\nvar monthValues = {\n narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['xan', 'feb', 'mar', 'abr', 'mai', 'xun', 'xul', 'ago', 'set', 'out', 'nov', 'dec'],\n wide: ['xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', 'outubro', 'novembro', 'decembro']\n};\nvar dayValues = {\n narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'],\n short: ['do', 'lu', 'ma', 'me', 'xo', 've', 'sa'],\n abbreviated: ['dom', 'lun', 'mar', 'mer', 'xov', 'ven', 'sab'],\n wide: ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'mañá',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noite'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'medianoite',\n noon: 'mediodía',\n morning: 'mañá',\n afternoon: 'tarde',\n evening: 'tardiña',\n night: 'noite'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'medianoite',\n noon: 'mediodía',\n morning: 'mañá',\n afternoon: 'tarde',\n evening: 'tardiña',\n night: 'noite'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'da mañá',\n afternoon: 'da tarde',\n evening: 'da tardiña',\n night: 'da noite'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'medianoite',\n noon: 'mediodía',\n morning: 'da mañá',\n afternoon: 'da tarde',\n evening: 'da tardiña',\n night: 'da noite'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'medianoite',\n noon: 'mediodía',\n morning: 'da mañá',\n afternoon: 'da tarde',\n evening: 'da tardiña',\n night: 'da noite'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'º';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ac|dc|a|d)/i,\n abbreviated: /^(a\\.?\\s?c\\.?|a\\.?\\s?e\\.?\\s?c\\.?|d\\.?\\s?c\\.?|e\\.?\\s?c\\.?)/i,\n wide: /^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i\n};\nvar parseEraPatterns = {\n any: [/^ac/i, /^dc/i],\n wide: [/^(antes de cristo|antes da era com[uú]n)/i, /^(despois de cristo|era com[uú]n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](º)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[xfmasond]/i,\n abbreviated: /^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,\n wide: /^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^x/i, /^f/i, /^m/i, /^a/i, /^m/i, /^x/i, /^x/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^xan/i, /^feb/i, /^mar/i, /^abr/i, /^mai/i, /^xun/i, /^xul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dec/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmxvs]/i,\n short: /^(do|lu|ma|me|xo|ve|sa)/i,\n abbreviated: /^(dom|lun|mar|mer|xov|ven|sab)/i,\n wide: /^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^x/i, /^v/i, /^s/i],\n any: [/^do/i, /^lu/i, /^ma/i, /^me/i, /^xo/i, /^ve/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,\n any: /^([ap]\\.?\\s?m\\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mn/i,\n noon: /^md/i,\n morning: /mañ[aá]/i,\n afternoon: /tarde/i,\n evening: /tardiña/i,\n night: /noite/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Galician locale.\n * @language Galician\n * @iso-639-2 glg\n * @author Alberto Doval - Cocodin Technology[@cocodinTech]{@link https://github.com/cocodinTech}\n * @author Fidel Pita [@fidelpita]{@link https://github.com/fidelpita}\n */\n\nvar locale = {\n code: 'gl',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelativeLocalePlural","formatRelative","date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,oBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,qBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,uBACL,MAAO,8BACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,mBACL,MAAO,4BACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,2BACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,eACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,cACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,E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ACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.3045f291.js b/assets/index.3045f291.js new file mode 100644 index 0000000000..77ab77c0fd --- /dev/null +++ b/assets/index.3045f291.js @@ -0,0 +1,2 @@ +import{d,e as o,f as u,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:{standalone:"мање од 1 секунде",withPrepositionAgo:"мање од 1 секунде",withPrepositionIn:"мање од 1 секунду"},dual:"мање од {{count}} секунде",other:"мање од {{count}} секунди"},xSeconds:{one:{standalone:"1 секунда",withPrepositionAgo:"1 секунде",withPrepositionIn:"1 секунду"},dual:"{{count}} секунде",other:"{{count}} секунди"},halfAMinute:"пола минуте",lessThanXMinutes:{one:{standalone:"мање од 1 минуте",withPrepositionAgo:"мање од 1 минуте",withPrepositionIn:"мање од 1 минуту"},dual:"мање од {{count}} минуте",other:"мање од {{count}} минута"},xMinutes:{one:{standalone:"1 минута",withPrepositionAgo:"1 минуте",withPrepositionIn:"1 минуту"},dual:"{{count}} минуте",other:"{{count}} минута"},aboutXHours:{one:{standalone:"око 1 сат",withPrepositionAgo:"око 1 сат",withPrepositionIn:"око 1 сат"},dual:"око {{count}} сата",other:"око {{count}} сати"},xHours:{one:{standalone:"1 сат",withPrepositionAgo:"1 сат",withPrepositionIn:"1 сат"},dual:"{{count}} сата",other:"{{count}} сати"},xDays:{one:{standalone:"1 дан",withPrepositionAgo:"1 дан",withPrepositionIn:"1 дан"},dual:"{{count}} дана",other:"{{count}} дана"},aboutXWeeks:{one:{standalone:"око 1 недељу",withPrepositionAgo:"око 1 недељу",withPrepositionIn:"око 1 недељу"},dual:"око {{count}} недеље",other:"око {{count}} недеље"},xWeeks:{one:{standalone:"1 недељу",withPrepositionAgo:"1 недељу",withPrepositionIn:"1 недељу"},dual:"{{count}} недеље",other:"{{count}} недеље"},aboutXMonths:{one:{standalone:"око 1 месец",withPrepositionAgo:"око 1 месец",withPrepositionIn:"око 1 месец"},dual:"око {{count}} месеца",other:"око {{count}} месеци"},xMonths:{one:{standalone:"1 месец",withPrepositionAgo:"1 месец",withPrepositionIn:"1 месец"},dual:"{{count}} месеца",other:"{{count}} месеци"},aboutXYears:{one:{standalone:"око 1 годину",withPrepositionAgo:"око 1 годину",withPrepositionIn:"око 1 годину"},dual:"око {{count}} године",other:"око {{count}} година"},xYears:{one:{standalone:"1 година",withPrepositionAgo:"1 године",withPrepositionIn:"1 годину"},dual:"{{count}} године",other:"{{count}} година"},overXYears:{one:{standalone:"преко 1 годину",withPrepositionAgo:"преко 1 годину",withPrepositionIn:"преко 1 годину"},dual:"преко {{count}} године",other:"преко {{count}} година"},almostXYears:{one:{standalone:"готово 1 годину",withPrepositionAgo:"готово 1 годину",withPrepositionIn:"готово 1 годину"},dual:"готово {{count}} године",other:"готово {{count}} година"}},h=function(t,a,e){var i,n=l[t];return typeof n=="string"?i=n:a===1?e!=null&&e.addSuffix?e.comparison&&e.comparison>0?i=n.one.withPrepositionIn:i=n.one.withPrepositionAgo:i=n.one.standalone:a%10>1&&a%10<5&&String(a).substr(-2,1)!=="1"?i=n.dual.replace("{{count}}",String(a)):i=n.other.replace("{{count}}",String(a)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"за "+i:"пре "+i:i},m={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},c={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},f={full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},P={date:d({formats:m,defaultWidth:"full"}),time:d({formats:c,defaultWidth:"full"}),dateTime:d({formats:f,defaultWidth:"full"})},p={lastWeek:function(t){var a=t.getUTCDay();switch(a){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:function(t){var a=t.getUTCDay();switch(a){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"},v=function(t,a,e,i){var n=p[t];return typeof n=="function"?n(a):n},w={narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},g={narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},b={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},y={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},M={narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},W={narrow:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},A={narrow:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},I=function(t,a){var e=Number(t);return e+"."},k={ordinalNumber:I,era:o({values:w,defaultWidth:"wide"}),quarter:o({values:g,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:o({values:b,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:A,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},D=/^(\d+)\./i,E=/\d+/i,x={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},F={any:[/^пр/i,/^(по|нова)/i]},H={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},V={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},z={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},S={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},X={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},N={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},L={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},T={ordinalNumber:u({matchPattern:D,parsePattern:E,valueCallback:function(t){return parseInt(t,10)}}),era:s({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:s({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:s({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),day:s({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},Q={code:"sr",formatDistance:h,formatLong:P,formatRelative:v,localize:k,match:T,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.3045f291.js.map diff --git a/assets/index.3045f291.js.map b/assets/index.3045f291.js.map new file mode 100644 index 0000000000..eac12f4259 --- /dev/null +++ b/assets/index.3045f291.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.3045f291.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n standalone: 'мање од 1 секунде',\n withPrepositionAgo: 'мање од 1 секунде',\n withPrepositionIn: 'мање од 1 секунду'\n },\n dual: 'мање од {{count}} секунде',\n other: 'мање од {{count}} секунди'\n },\n xSeconds: {\n one: {\n standalone: '1 секунда',\n withPrepositionAgo: '1 секунде',\n withPrepositionIn: '1 секунду'\n },\n dual: '{{count}} секунде',\n other: '{{count}} секунди'\n },\n halfAMinute: 'пола минуте',\n lessThanXMinutes: {\n one: {\n standalone: 'мање од 1 минуте',\n withPrepositionAgo: 'мање од 1 минуте',\n withPrepositionIn: 'мање од 1 минуту'\n },\n dual: 'мање од {{count}} минуте',\n other: 'мање од {{count}} минута'\n },\n xMinutes: {\n one: {\n standalone: '1 минута',\n withPrepositionAgo: '1 минуте',\n withPrepositionIn: '1 минуту'\n },\n dual: '{{count}} минуте',\n other: '{{count}} минута'\n },\n aboutXHours: {\n one: {\n standalone: 'око 1 сат',\n withPrepositionAgo: 'око 1 сат',\n withPrepositionIn: 'око 1 сат'\n },\n dual: 'око {{count}} сата',\n other: 'око {{count}} сати'\n },\n xHours: {\n one: {\n standalone: '1 сат',\n withPrepositionAgo: '1 сат',\n withPrepositionIn: '1 сат'\n },\n dual: '{{count}} сата',\n other: '{{count}} сати'\n },\n xDays: {\n one: {\n standalone: '1 дан',\n withPrepositionAgo: '1 дан',\n withPrepositionIn: '1 дан'\n },\n dual: '{{count}} дана',\n other: '{{count}} дана'\n },\n aboutXWeeks: {\n one: {\n standalone: 'око 1 недељу',\n withPrepositionAgo: 'око 1 недељу',\n withPrepositionIn: 'око 1 недељу'\n },\n dual: 'око {{count}} недеље',\n other: 'око {{count}} недеље'\n },\n xWeeks: {\n one: {\n standalone: '1 недељу',\n withPrepositionAgo: '1 недељу',\n withPrepositionIn: '1 недељу'\n },\n dual: '{{count}} недеље',\n other: '{{count}} недеље'\n },\n aboutXMonths: {\n one: {\n standalone: 'око 1 месец',\n withPrepositionAgo: 'око 1 месец',\n withPrepositionIn: 'око 1 месец'\n },\n dual: 'око {{count}} месеца',\n other: 'око {{count}} месеци'\n },\n xMonths: {\n one: {\n standalone: '1 месец',\n withPrepositionAgo: '1 месец',\n withPrepositionIn: '1 месец'\n },\n dual: '{{count}} месеца',\n other: '{{count}} месеци'\n },\n aboutXYears: {\n one: {\n standalone: 'око 1 годину',\n withPrepositionAgo: 'око 1 годину',\n withPrepositionIn: 'око 1 годину'\n },\n dual: 'око {{count}} године',\n other: 'око {{count}} година'\n },\n xYears: {\n one: {\n standalone: '1 година',\n withPrepositionAgo: '1 године',\n withPrepositionIn: '1 годину'\n },\n dual: '{{count}} године',\n other: '{{count}} година'\n },\n overXYears: {\n one: {\n standalone: 'преко 1 годину',\n withPrepositionAgo: 'преко 1 годину',\n withPrepositionIn: 'преко 1 годину'\n },\n dual: 'преко {{count}} године',\n other: 'преко {{count}} година'\n },\n almostXYears: {\n one: {\n standalone: 'готово 1 годину',\n withPrepositionAgo: 'готово 1 годину',\n withPrepositionIn: 'готово 1 годину'\n },\n dual: 'готово {{count}} године',\n other: 'готово {{count}} година'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n result = tokenValue.one.withPrepositionIn;\n } else {\n result = tokenValue.one.withPrepositionAgo;\n }\n } else {\n result = tokenValue.one.standalone;\n }\n } else if (count % 10 > 1 && count % 10 < 5 && // if last digit is between 2 and 4\n String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is \"1\"\n ) {\n result = tokenValue.dual.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'за ' + result;\n } else {\n return 'пре ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy.',\n long: 'd. MMMM yyyy.',\n medium: 'd. MMM yy.',\n short: 'dd. MM. yy.'\n};\nvar timeFormats = {\n full: 'HH:mm:ss (zzzz)',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'у' {{time}}\",\n long: \"{{date}} 'у' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n var day = date.getUTCDay();\n\n switch (day) {\n case 0:\n return \"'прошле недеље у' p\";\n\n case 3:\n return \"'прошле среде у' p\";\n\n case 6:\n return \"'прошле суботе у' p\";\n\n default:\n return \"'прошли' EEEE 'у' p\";\n }\n },\n yesterday: \"'јуче у' p\",\n today: \"'данас у' p\",\n tomorrow: \"'сутра у' p\",\n nextWeek: function nextWeek(date) {\n var day = date.getUTCDay();\n\n switch (day) {\n case 0:\n return \"'следеће недеље у' p\";\n\n case 3:\n return \"'следећу среду у' p\";\n\n case 6:\n return \"'следећу суботу у' p\";\n\n default:\n return \"'следећи' EEEE 'у' p\";\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['пр.н.е.', 'АД'],\n abbreviated: ['пр. Хр.', 'по. Хр.'],\n wide: ['Пре Христа', 'После Христа']\n};\nvar quarterValues = {\n narrow: ['1.', '2.', '3.', '4.'],\n abbreviated: ['1. кв.', '2. кв.', '3. кв.', '4. кв.'],\n wide: ['1. квартал', '2. квартал', '3. квартал', '4. квартал']\n};\nvar monthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'],\n wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар']\n};\nvar formattingMonthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'],\n wide: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'У', 'С', 'Ч', 'П', 'С'],\n short: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'],\n abbreviated: ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'],\n wide: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота']\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'АМ',\n pm: 'ПМ',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'поподне',\n evening: 'увече',\n night: 'ноћу'\n },\n abbreviated: {\n am: 'АМ',\n pm: 'ПМ',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'поподне',\n evening: 'увече',\n night: 'ноћу'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'после подне',\n evening: 'увече',\n night: 'ноћу'\n }\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'поподне',\n evening: 'увече',\n night: 'ноћу'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'поподне',\n evening: 'увече',\n night: 'ноћу'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'поноћ',\n noon: 'подне',\n morning: 'ујутру',\n afternoon: 'после подне',\n evening: 'увече',\n night: 'ноћу'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(пр\\.н\\.е\\.|АД)/i,\n abbreviated: /^(пр\\.\\s?Хр\\.|по\\.\\s?Хр\\.)/i,\n wide: /^(Пре Христа|пре нове ере|После Христа|нова ера)/i\n};\nvar parseEraPatterns = {\n any: [/^пр/i, /^(по|нова)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\.\\s?кв\\.?/i,\n wide: /^[1234]\\. квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(10|11|12|[123456789])\\./i,\n abbreviated: /^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,\n wide: /^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i],\n any: [/^ја/i, /^ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^авг/i, /^с/i, /^о/i, /^н/i, /^д/i]\n};\nvar matchDayPatterns = {\n narrow: /^[пусчн]/i,\n short: /^(нед|пон|уто|сре|чет|пет|суб)/i,\n abbreviated: /^(нед|пон|уто|сре|чет|пет|суб)/i,\n wide: /^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i\n};\nvar parseDayPatterns = {\n narrow: [/^п/i, /^у/i, /^с/i, /^ч/i, /^п/i, /^с/i, /^н/i],\n any: [/^нед/i, /^пон/i, /^уто/i, /^сре/i, /^чет/i, /^пет/i, /^суб/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^поно/i,\n noon: /^под/i,\n morning: /ујутру/i,\n afternoon: /(после\\s|по)+подне/i,\n evening: /(увече)/i,\n night: /(ноћу)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Serbian cyrillic locale.\n * @language Serbian\n * @iso-639-2 srp\n * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje}\n */\n\nvar locale = {\n code: 'sr',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","day","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayPeriodValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,WAAY,oBACZ,mBAAoB,oBACpB,kBAAmB,mBACpB,EACD,KAAM,4BACN,MAAO,2BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,oBACN,MAAO,mBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,CACH,WAAY,mBACZ,mBAAoB,mBACpB,kBAAmB,kBACpB,EACD,KAAM,2BACN,MAAO,0BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,WACZ,mBAAoB,WACpB,kBAAmB,UACpB,EACD,KAAM,mBACN,MAAO,kBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,qBACN,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,CACH,WAAY,QACZ,mBAAoB,QACpB,kBAAmB,OACpB,EACD,KAAM,iBACN,MAAO,gBACR,EACD,MAAO,CACL,IAAK,CACH,WAAY,QACZ,mBAAoB,QACpB,kBAAmB,OACpB,EACD,KAAM,iBACN,MAAO,gBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,eACZ,mBAAoB,eACpB,kBAAmB,cACpB,EACD,KAAM,uBACN,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,CACH,WAAY,WACZ,mBAAoB,WACpB,kBAAmB,UACpB,EACD,KAAM,mBACN,MAAO,kBACR,EACD,aAAc,CACZ,IAAK,CACH,WAAY,cACZ,mBAAoB,cACpB,kBAAmB,aACpB,EACD,KAAM,uBACN,MAAO,sBACR,EACD,QAAS,CACP,IAAK,CACH,WAAY,UACZ,mBAAoB,UACpB,kBAAmB,SACpB,EACD,KAAM,mBACN,MAAO,kBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,eACZ,mBAAoB,eACpB,kBAAmB,cACpB,EACD,KAAM,uBACN,MAAO,sBACR,EACD,OAA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QACN,QAAS,UACT,UAAW,sBACX,QAAS,WACT,MAAO,SACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgBhD,EAChB,WAAYS,EACZ,eAAgBK,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.3056eec4.js b/assets/index.3056eec4.js new file mode 100644 index 0000000000..4bc17427ad --- /dev/null +++ b/assets/index.3056eec4.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as d,g as r}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"mwens pase yon segond",other:"mwens pase {{count}} segond"},xSeconds:{one:"1 segond",other:"{{count}} segond"},halfAMinute:"30 segond",lessThanXMinutes:{one:"mwens pase yon minit",other:"mwens pase {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"anviwon inè",other:"anviwon {{count}} è"},xHours:{one:"1 lè",other:"{{count}} lè"},xDays:{one:"1 jou",other:"{{count}} jou"},aboutXWeeks:{one:"anviwon 1 semèn",other:"anviwon {{count}} semèn"},xWeeks:{one:"1 semèn",other:"{{count}} semèn"},aboutXMonths:{one:"anviwon 1 mwa",other:"anviwon {{count}} mwa"},xMonths:{one:"1 mwa",other:"{{count}} mwa"},aboutXYears:{one:"anviwon 1 an",other:"anviwon {{count}} an"},xYears:{one:"1 an",other:"{{count}} an"},overXYears:{one:"plis pase 1 an",other:"plis pase {{count}} an"},almostXYears:{one:"prèske 1 an",other:"prèske {{count}} an"}},u=function(a,o,e){var n,m=l[a];return typeof m=="string"?n=m:o===1?n=m.one:n=m.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"nan "+n:"sa fè "+n:n},v={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},f={full:"{{date}} 'nan lè' {{time}}",long:"{{date}} 'nan lè' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:s({formats:v,defaultWidth:"full"}),time:s({formats:h,defaultWidth:"full"}),dateTime:s({formats:f,defaultWidth:"full"})},p={lastWeek:"eeee 'pase nan lè' p",yesterday:"'yè nan lè' p",today:"'jodi a' p",tomorrow:"'demen nan lè' p'",nextWeek:"eeee 'pwochen nan lè' p",other:"P"},w=function(a,o,e,n){return p[a]},y={narrow:["av. J.-K","ap. J.-K"],abbreviated:["av. J.-K","ap. J.-K"],wide:["anvan Jezi Kris","apre Jezi Kris"]},b={narrow:["T1","T2","T3","T4"],abbreviated:["1ye trim.","2yèm trim.","3yèm trim.","4yèm trim."],wide:["1ye trimès","2yèm trimès","3yèm trimès","4yèm trimès"]},P={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["janv.","fevr.","mas","avr.","me","jen","jiyè","out","sept.","okt.","nov.","des."],wide:["janvye","fevrye","mas","avril","me","jen","jiyè","out","septanm","oktòb","novanm","desanm"]},M={narrow:["D","L","M","M","J","V","S"],short:["di","le","ma","mè","je","va","sa"],abbreviated:["dim.","len.","mad.","mèk.","jed.","van.","sam."],wide:["dimanch","lendi","madi","mèkredi","jedi","vandredi","samdi"]},g={narrow:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"swa",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"maten",afternoon:"aprèmidi",evening:"swa",night:"maten"},wide:{am:"AM",pm:"PM",midnight:"minwit",noon:"midi",morning:"nan maten",afternoon:"nan aprèmidi",evening:"nan aswè",night:"nan maten"}},j=function(a,o){var e=Number(a);if(e===0)return String(e);var n=e===1?"ye":"yèm";return e+n},k={ordinalNumber:j,era:i({values:y,defaultWidth:"wide"}),quarter:i({values:b,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:P,defaultWidth:"wide"}),day:i({values:M,defaultWidth:"wide"}),dayPeriod:i({values:g,defaultWidth:"wide"})},W=/^(\d+)(ye|yèm)?/i,J=/\d+/i,K={narrow:/^(av\.J\.K|ap\.J\.K|ap\.J\.-K)/i,abbreviated:/^(av\.J\.-K|av\.J-K|apr\.J\.-K|apr\.J-K|ap\.J-K)/i,wide:/^(avan Jezi Kris|apre Jezi Kris)/i},D={any:[/^av/i,/^ap/i]},z={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](ye|yèm)? trimès/i},x={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^[jfmasond]/i,abbreviated:/^(janv|fevr|mas|avr|me|jen|jiyè|out|sept|okt|nov|des)\.?/i,wide:/^(janvye|fevrye|mas|avril|me|jen|jiyè|out|septanm|oktòb|novanm|desanm)/i},F={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^av/i,/^me/i,/^je/i,/^ji/i,/^ou/i,/^s/i,/^ok/i,/^n/i,/^d/i]},N={narrow:/^[lmjvsd]/i,short:/^(di|le|ma|me|je|va|sa)/i,abbreviated:/^(dim|len|mad|mèk|jed|van|sam)\.?/i,wide:/^(dimanch|lendi|madi|mèkredi|jedi|vandredi|samdi)/i},S={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^le/i,/^ma/i,/^mè/i,/^je/i,/^va/i,/^sa/i]},T={narrow:/^(a|p|minwit|midi|mat\.?|ap\.?m\.?|swa)/i,any:/^([ap]\.?\s?m\.?|nan maten|nan aprèmidi|nan aswè)/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/sw/i,night:/nwit/i}},C={ordinalNumber:d({matchPattern:W,parsePattern:J,valueCallback:function(a){return parseInt(a,10)}}),era:r({matchPatterns:K,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:r({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:r({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),day:r({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:r({matchPatterns:T,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},R={code:"ht",formatDistance:u,formatLong:c,formatRelative:w,localize:k,match:C,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{R as default}; +//# sourceMappingURL=index.3056eec4.js.map diff --git a/assets/index.3056eec4.js.map b/assets/index.3056eec4.js.map new file mode 100644 index 0000000000..1267fde7a7 --- /dev/null +++ b/assets/index.3056eec4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.3056eec4.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ht/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mwens pase yon segond',\n other: 'mwens pase {{count}} segond'\n },\n xSeconds: {\n one: '1 segond',\n other: '{{count}} segond'\n },\n halfAMinute: '30 segond',\n lessThanXMinutes: {\n one: 'mwens pase yon minit',\n other: 'mwens pase {{count}} minit'\n },\n xMinutes: {\n one: '1 minit',\n other: '{{count}} minit'\n },\n aboutXHours: {\n one: 'anviwon inè',\n other: 'anviwon {{count}} è'\n },\n xHours: {\n one: '1 lè',\n other: '{{count}} lè'\n },\n xDays: {\n one: '1 jou',\n other: '{{count}} jou'\n },\n aboutXWeeks: {\n one: 'anviwon 1 semèn',\n other: 'anviwon {{count}} semèn'\n },\n xWeeks: {\n one: '1 semèn',\n other: '{{count}} semèn'\n },\n aboutXMonths: {\n one: 'anviwon 1 mwa',\n other: 'anviwon {{count}} mwa'\n },\n xMonths: {\n one: '1 mwa',\n other: '{{count}} mwa'\n },\n aboutXYears: {\n one: 'anviwon 1 an',\n other: 'anviwon {{count}} an'\n },\n xYears: {\n one: '1 an',\n other: '{{count}} an'\n },\n overXYears: {\n one: 'plis pase 1 an',\n other: 'plis pase {{count}} an'\n },\n almostXYears: {\n one: 'prèske 1 an',\n other: 'prèske {{count}} an'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'nan ' + result;\n } else {\n return 'sa fè ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'nan lè' {{time}}\",\n long: \"{{date}} 'nan lè' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'pase nan lè' p\",\n yesterday: \"'yè nan lè' p\",\n today: \"'jodi a' p\",\n tomorrow: \"'demen nan lè' p'\",\n nextWeek: \"eeee 'pwochen nan lè' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['av. J.-K', 'ap. J.-K'],\n abbreviated: ['av. J.-K', 'ap. J.-K'],\n wide: ['anvan Jezi Kris', 'apre Jezi Kris']\n};\nvar quarterValues = {\n narrow: ['T1', 'T2', 'T3', 'T4'],\n abbreviated: ['1ye trim.', '2yèm trim.', '3yèm trim.', '4yèm trim.'],\n wide: ['1ye trimès', '2yèm trimès', '3yèm trimès', '4yèm trimès']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'],\n abbreviated: ['janv.', 'fevr.', 'mas', 'avr.', 'me', 'jen', 'jiyè', 'out', 'sept.', 'okt.', 'nov.', 'des.'],\n wide: ['janvye', 'fevrye', 'mas', 'avril', 'me', 'jen', 'jiyè', 'out', 'septanm', 'oktòb', 'novanm', 'desanm']\n};\nvar dayValues = {\n narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],\n short: ['di', 'le', 'ma', 'mè', 'je', 'va', 'sa'],\n abbreviated: ['dim.', 'len.', 'mad.', 'mèk.', 'jed.', 'van.', 'sam.'],\n wide: ['dimanch', 'lendi', 'madi', 'mèkredi', 'jedi', 'vandredi', 'samdi']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minwit',\n noon: 'midi',\n morning: 'mat.',\n afternoon: 'ap.m.',\n evening: 'swa',\n night: 'mat.'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minwit',\n noon: 'midi',\n morning: 'maten',\n afternoon: 'aprèmidi',\n evening: 'swa',\n night: 'maten'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minwit',\n noon: 'midi',\n morning: 'nan maten',\n afternoon: 'nan aprèmidi',\n evening: 'nan aswè',\n night: 'nan maten'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n if (number === 0) return String(number);\n var suffix = number === 1 ? 'ye' : 'yèm';\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ye|yèm)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(av\\.J\\.K|ap\\.J\\.K|ap\\.J\\.-K)/i,\n abbreviated: /^(av\\.J\\.-K|av\\.J-K|apr\\.J\\.-K|apr\\.J-K|ap\\.J-K)/i,\n wide: /^(avan Jezi Kris|apre Jezi Kris)/i\n};\nvar parseEraPatterns = {\n any: [/^av/i, /^ap/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^t[1234]/i,\n wide: /^[1234](ye|yèm)? trimès/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(janv|fevr|mas|avr|me|jen|jiyè|out|sept|okt|nov|des)\\.?/i,\n wide: /^(janvye|fevrye|mas|avril|me|jen|jiyè|out|septanm|oktòb|novanm|desanm)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^ma/i, /^av/i, /^me/i, /^je/i, /^ji/i, /^ou/i, /^s/i, /^ok/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[lmjvsd]/i,\n short: /^(di|le|ma|me|je|va|sa)/i,\n abbreviated: /^(dim|len|mad|mèk|jed|van|sam)\\.?/i,\n wide: /^(dimanch|lendi|madi|mèkredi|jedi|vandredi|samdi)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],\n any: [/^di/i, /^le/i, /^ma/i, /^mè/i, /^je/i, /^va/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|minwit|midi|mat\\.?|ap\\.?m\\.?|swa)/i,\n any: /^([ap]\\.?\\s?m\\.?|nan maten|nan aprèmidi|nan aswè)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^min/i,\n noon: /^mid/i,\n morning: /mat/i,\n afternoon: /ap/i,\n evening: /sw/i,\n night: /nwit/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Haitian Creole locale.\n * @language Haitian Creole\n * @iso-639-2 hat\n * @author Rubens Mariuzzo [@rmariuzzo]{@link https://github.com/rmariuzzo}\n * @author Watson Marcelain [@watsongm24]{@link https://github.com/watsongm24}\n */\n\nvar locale = {\n code: 'ht',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,wBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,uBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,OACL,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3B,OAAQ,2CACR,IAAK,oDACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,QACV,KAAM,QACN,QAAS,OACT,UAAW,MACX,QAAS,MACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.31a6003e.js b/assets/index.31a6003e.js new file mode 100644 index 0000000000..99f35ff582 --- /dev/null +++ b/assets/index.31a6003e.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */var a={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},n=function(e,r,o,i){return a[e]};export{n as f}; +//# sourceMappingURL=index.31a6003e.js.map diff --git a/assets/index.31a6003e.js.map b/assets/index.31a6003e.js.map new file mode 100644 index 0000000000..d7ad1b2638 --- /dev/null +++ b/assets/index.31a6003e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.31a6003e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/_lib/formatRelative/index.js"],"sourcesContent":["var formatRelativeLocale = {\n lastWeek: \"eeee 'dernier à' p\",\n yesterday: \"'hier à' p\",\n today: \"'aujourd’hui à' p\",\n tomorrow: \"'demain à' p'\",\n nextWeek: \"eeee 'prochain à' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;"],"names":["formatRelativeLocale","formatRelative","token","_date","_baseDate","_options"],"mappings":"wCAAA,IAAIA,EAAuB,CACzB,SAAU,qBACV,UAAW,aACX,MAAO,oBACP,SAAU,gBACV,SAAU,sBACV,MAAO,GACT,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAWC,EAAU,CAC9E,OAAOL,EAAqBE,EAC9B"} \ No newline at end of file diff --git a/assets/index.3a2a2ff8.js b/assets/index.3a2a2ff8.js new file mode 100644 index 0000000000..cdd2ff7581 --- /dev/null +++ b/assets/index.3a2a2ff8.js @@ -0,0 +1,2 @@ +import{d,e as i,f as s,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 nedelju",withPrepositionAgo:"oko 1 nedelju",withPrepositionIn:"oko 1 nedelju"},dual:"oko {{count}} nedelje",other:"oko {{count}} nedelje"},xWeeks:{one:{standalone:"1 nedelju",withPrepositionAgo:"1 nedelju",withPrepositionIn:"1 nedelju"},dual:"{{count}} nedelje",other:"{{count}} nedelje"},aboutXMonths:{one:{standalone:"oko 1 mesec",withPrepositionAgo:"oko 1 mesec",withPrepositionIn:"oko 1 mesec"},dual:"oko {{count}} meseca",other:"oko {{count}} meseci"},xMonths:{one:{standalone:"1 mesec",withPrepositionAgo:"1 mesec",withPrepositionIn:"1 mesec"},dual:"{{count}} meseca",other:"{{count}} meseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},m=function(e,n,a){var o,t=l[e];return typeof t=="string"?o=t:n===1?a!=null&&a.addSuffix?a.comparison&&a.comparison>0?o=t.one.withPrepositionIn:o=t.one.withPrepositionAgo:o=t.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?o=t.dual.replace("{{count}}",String(n)):o=t.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"za "+o:"pre "+o:o},p={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},h={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:d({formats:p,defaultWidth:"full"}),time:d({formats:h,defaultWidth:"full"}),dateTime:d({formats:c,defaultWidth:"full"})},g={lastWeek:function(e){switch(e.getUTCDay()){case 0:return"'prošle nedelje u' p";case 3:return"'prošle srede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(e){switch(e.getUTCDay()){case 0:return"'sledeće nedelje u' p";case 3:return"'sledeću sredu u' p";case 6:return"'sledeću subotu u' p";default:return"'sledeći' EEEE 'u' p"}},other:"P"},f=function(e,n,a,o){var t=g[e];return typeof t=="function"?t(n):t},P={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Pre Hrista","Posle Hrista"]},b={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},k={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},w={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"]},j={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"]},y={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},M={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"posle podne",evening:"uveče",night:"noću"}},W=function(e,n){var a=Number(e);return a+"."},A={ordinalNumber:W,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:b,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:k,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"}),day:i({values:j,defaultWidth:"wide"}),dayPeriod:i({values:M,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"})},H=/^(\d+)\./i,I=/\d+/i,D={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i},E={any:[/^pr/i,/^(po|nova)/i]},x={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},F={any:[/1/i,/2/i,/3/i,/4/i]},S={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},V={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},z={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i},C={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},N={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(posle\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},L={ordinalNumber:s({matchPattern:H,parsePattern:I,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:u({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:u({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},U={code:"sr-Latn",formatDistance:m,formatLong:v,formatRelative:f,localize:A,match:L,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{U as default}; +//# sourceMappingURL=index.3a2a2ff8.js.map diff --git a/assets/index.3a2a2ff8.js.map b/assets/index.3a2a2ff8.js.map new file mode 100644 index 0000000000..b094c6a3bc --- /dev/null +++ b/assets/index.3a2a2ff8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.3a2a2ff8.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sr-Latn/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n standalone: 'manje od 1 sekunde',\n withPrepositionAgo: 'manje od 1 sekunde',\n withPrepositionIn: 'manje od 1 sekundu'\n },\n dual: 'manje od {{count}} sekunde',\n other: 'manje od {{count}} sekundi'\n },\n xSeconds: {\n one: {\n standalone: '1 sekunda',\n withPrepositionAgo: '1 sekunde',\n withPrepositionIn: '1 sekundu'\n },\n dual: '{{count}} sekunde',\n other: '{{count}} sekundi'\n },\n halfAMinute: 'pola minute',\n lessThanXMinutes: {\n one: {\n standalone: 'manje od 1 minute',\n withPrepositionAgo: 'manje od 1 minute',\n withPrepositionIn: 'manje od 1 minutu'\n },\n dual: 'manje od {{count}} minute',\n other: 'manje od {{count}} minuta'\n },\n xMinutes: {\n one: {\n standalone: '1 minuta',\n withPrepositionAgo: '1 minute',\n withPrepositionIn: '1 minutu'\n },\n dual: '{{count}} minute',\n other: '{{count}} minuta'\n },\n aboutXHours: {\n one: {\n standalone: 'oko 1 sat',\n withPrepositionAgo: 'oko 1 sat',\n withPrepositionIn: 'oko 1 sat'\n },\n dual: 'oko {{count}} sata',\n other: 'oko {{count}} sati'\n },\n xHours: {\n one: {\n standalone: '1 sat',\n withPrepositionAgo: '1 sat',\n withPrepositionIn: '1 sat'\n },\n dual: '{{count}} sata',\n other: '{{count}} sati'\n },\n xDays: {\n one: {\n standalone: '1 dan',\n withPrepositionAgo: '1 dan',\n withPrepositionIn: '1 dan'\n },\n dual: '{{count}} dana',\n other: '{{count}} dana'\n },\n aboutXWeeks: {\n one: {\n standalone: 'oko 1 nedelju',\n withPrepositionAgo: 'oko 1 nedelju',\n withPrepositionIn: 'oko 1 nedelju'\n },\n dual: 'oko {{count}} nedelje',\n other: 'oko {{count}} nedelje'\n },\n xWeeks: {\n one: {\n standalone: '1 nedelju',\n withPrepositionAgo: '1 nedelju',\n withPrepositionIn: '1 nedelju'\n },\n dual: '{{count}} nedelje',\n other: '{{count}} nedelje'\n },\n aboutXMonths: {\n one: {\n standalone: 'oko 1 mesec',\n withPrepositionAgo: 'oko 1 mesec',\n withPrepositionIn: 'oko 1 mesec'\n },\n dual: 'oko {{count}} meseca',\n other: 'oko {{count}} meseci'\n },\n xMonths: {\n one: {\n standalone: '1 mesec',\n withPrepositionAgo: '1 mesec',\n withPrepositionIn: '1 mesec'\n },\n dual: '{{count}} meseca',\n other: '{{count}} meseci'\n },\n aboutXYears: {\n one: {\n standalone: 'oko 1 godinu',\n withPrepositionAgo: 'oko 1 godinu',\n withPrepositionIn: 'oko 1 godinu'\n },\n dual: 'oko {{count}} godine',\n other: 'oko {{count}} godina'\n },\n xYears: {\n one: {\n standalone: '1 godina',\n withPrepositionAgo: '1 godine',\n withPrepositionIn: '1 godinu'\n },\n dual: '{{count}} godine',\n other: '{{count}} godina'\n },\n overXYears: {\n one: {\n standalone: 'preko 1 godinu',\n withPrepositionAgo: 'preko 1 godinu',\n withPrepositionIn: 'preko 1 godinu'\n },\n dual: 'preko {{count}} godine',\n other: 'preko {{count}} godina'\n },\n almostXYears: {\n one: {\n standalone: 'gotovo 1 godinu',\n withPrepositionAgo: 'gotovo 1 godinu',\n withPrepositionIn: 'gotovo 1 godinu'\n },\n dual: 'gotovo {{count}} godine',\n other: 'gotovo {{count}} godina'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n result = tokenValue.one.withPrepositionIn;\n } else {\n result = tokenValue.one.withPrepositionAgo;\n }\n } else {\n result = tokenValue.one.standalone;\n }\n } else if (count % 10 > 1 && count % 10 < 5 && // if last digit is between 2 and 4\n String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is \"1\"\n ) {\n result = tokenValue.dual.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'za ' + result;\n } else {\n return 'pre ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy.',\n long: 'd. MMMM yyyy.',\n medium: 'd. MMM yy.',\n short: 'dd. MM. yy.'\n};\nvar timeFormats = {\n full: 'HH:mm:ss (zzzz)',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'u' {{time}}\",\n long: \"{{date}} 'u' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'prošle nedelje u' p\";\n\n case 3:\n return \"'prošle srede u' p\";\n\n case 6:\n return \"'prošle subote u' p\";\n\n default:\n return \"'prošli' EEEE 'u' p\";\n }\n },\n yesterday: \"'juče u' p\",\n today: \"'danas u' p\",\n tomorrow: \"'sutra u' p\",\n nextWeek: function nextWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'sledeće nedelje u' p\";\n\n case 3:\n return \"'sledeću sredu u' p\";\n\n case 6:\n return \"'sledeću subotu u' p\";\n\n default:\n return \"'sledeći' EEEE 'u' p\";\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['pr.n.e.', 'AD'],\n abbreviated: ['pr. Hr.', 'po. Hr.'],\n wide: ['Pre Hrista', 'Posle Hrista']\n};\nvar quarterValues = {\n narrow: ['1.', '2.', '3.', '4.'],\n abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar']\n};\nvar formattingMonthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'],\n short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'],\n abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'],\n wide: ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota']\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'posle podne',\n evening: 'uveče',\n night: 'noću'\n }\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'posle podne',\n evening: 'uveče',\n night: 'noću'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pr\\.n\\.e\\.|AD)/i,\n abbreviated: /^(pr\\.\\s?Hr\\.|po\\.\\s?Hr\\.)/i,\n wide: /^(Pre Hrista|pre nove ere|Posle Hrista|nova era)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|nova)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\.\\s?kv\\.?/i,\n wide: /^[1234]\\. kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(10|11|12|[123456789])\\./i,\n abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,\n wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(jun|juna)|(jul|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusčc]/i,\n short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,\n abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,\n wide: /^(nedelja|ponedeljak|utorak|sreda|(četvrtak|cetvrtak)|petak|subota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^pono/i,\n noon: /^pod/i,\n morning: /jutro/i,\n afternoon: /(posle\\s|po)+podne/i,\n evening: /(uvece|uveče)/i,\n night: /(nocu|noću)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Serbian latin locale.\n * @language Serbian\n * @iso-639-2 srp\n * @author Igor Radivojević [@rogyvoje]{@link https://github.com/rogyvoje}\n */\n\nvar locale = {\n code: 'sr-Latn',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayPeriodValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,WAAY,qBACZ,mBAAoB,qBACpB,kBAAmB,oBACpB,EACD,KAAM,6BACN,MAAO,4BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,oBACN,MAAO,mBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,CACH,WAAY,oBACZ,mBAAoB,oBACpB,kBAAmB,mBACpB,EACD,KAAM,4BACN,MAAO,2BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,WACZ,mBAAoB,WACpB,kBAAmB,UACpB,EACD,KAAM,mBACN,MAAO,kBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,qBACN,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,CACH,WAAY,QACZ,mBAAoB,QACpB,kBAAmB,OACpB,EACD,KAAM,iBACN,MAAO,gBACR,EACD,MAAO,CACL,IAAK,CACH,WAAY,QACZ,mBAAoB,QACpB,kBAAmB,OACpB,EACD,KAAM,iBACN,MAAO,gBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,gBACZ,mBAAoB,gBACpB,kBAAmB,eACpB,EACD,KAAM,wBACN,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,oBACN,MAAO,mBACR,EACD,aAAc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wCACb,KAAM,sEACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,OAAQ,MAAO,OAAQ,MAAO,OAAQ,MAAO,MAAM,CAC3D,EACIC,EAAyB,CAC3B,IAAK,sEACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,SACV,KAAM,QACN,QAAS,SACT,UAAW,sBACX,QAAS,iBACT,MAAO,cACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,UACN,eAAgB/C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.3a85abe5.js b/assets/index.3a85abe5.js new file mode 100644 index 0000000000..f408ad3a92 --- /dev/null +++ b/assets/index.3a85abe5.js @@ -0,0 +1,2 @@ +import{d as t,o as a,q as m,u as e,v as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},l={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},M={code:"en-NZ",formatDistance:a,formatLong:s,formatRelative:m,localize:e,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{M as default}; +//# sourceMappingURL=index.3a85abe5.js.map diff --git a/assets/index.3a85abe5.js.map b/assets/index.3a85abe5.js.map new file mode 100644 index 0000000000..8248bc9e56 --- /dev/null +++ b/assets/index.3a85abe5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.3a85abe5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-NZ/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-NZ/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (New Zealand).\n * @language English\n * @iso-639-2 eng\n * @author Murray Lucas [@muntact]{@link https://github.com/muntact}\n */\n\nvar locale = {\n code: 'en-NZ',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"6VACA,IAAIA,EAAc,CAChB,KAAM,oBACN,KAAM,cACN,OAAQ,aACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,iBACN,KAAM,cACN,OAAQ,YACR,MAAO,QACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EClBIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.3f00e5cf.js b/assets/index.3f00e5cf.js new file mode 100644 index 0000000000..f3b6a748b3 --- /dev/null +++ b/assets/index.3f00e5cf.js @@ -0,0 +1,2 @@ +import{d as s,e as u,f as l,g as c}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function d(t){return t.one!==void 0}var p={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}},aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}};function f(t){switch(t%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}var w=function(e,o,n){var a="",r="present";n!=null&&n.addSuffix&&(n.comparison&&n.comparison>0?(r="future",a="čez "):(r="past",a="pred "));var i=p[e];if(typeof i=="string")a+=i;else{var m=f(o);d(i)?a+=i[m].replace("{{count}}",String(o)):a+=i[r][m].replace("{{count}}",String(o))}return a},h={full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},b={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},j={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:b,defaultWidth:"full"}),dateTime:s({formats:j,defaultWidth:"full"})},k={lastWeek:function(e){var o=e.getUTCDay();switch(o){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:function(e){var o=e.getUTCDay();switch(o){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"},g=function(e,o,n,a){var r=k[e];return typeof r=="function"?r(o):r},P={narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},y={narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},M={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},W={narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},z={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},D={narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},E=function(e,o){var n=Number(e);return n+"."},x={ordinalNumber:E,era:u({values:P,defaultWidth:"wide"}),quarter:u({values:y,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:M,defaultWidth:"wide"}),day:u({values:W,defaultWidth:"wide"}),dayPeriod:u({values:z,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"})},F=/^(\d+)\./i,C=/\d+/i,H={abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},V={any:[/^pr/i,/^(po|na[sš]em)/i]},X={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},N={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i},L={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},S={narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},R={narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},Y={narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},q={narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},O={ordinalNumber:l({matchPattern:F,parsePattern:C,valueCallback:function(e){return parseInt(e,10)}}),era:c({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:c({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"wide"}),day:c({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:q,defaultParseWidth:"any"})},I={code:"sl",formatDistance:w,formatLong:v,formatRelative:g,localize:x,match:O,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{I as default}; +//# sourceMappingURL=index.3f00e5cf.js.map diff --git a/assets/index.3f00e5cf.js.map b/assets/index.3f00e5cf.js.map new file mode 100644 index 0000000000..2da0f86722 --- /dev/null +++ b/assets/index.3f00e5cf.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.3f00e5cf.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sl/index.js"],"sourcesContent":["function isPluralType(val) {\n return val.one !== undefined;\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n present: {\n one: 'manj kot {{count}} sekunda',\n two: 'manj kot {{count}} sekundi',\n few: 'manj kot {{count}} sekunde',\n other: 'manj kot {{count}} sekund'\n },\n past: {\n one: 'manj kot {{count}} sekundo',\n two: 'manj kot {{count}} sekundama',\n few: 'manj kot {{count}} sekundami',\n other: 'manj kot {{count}} sekundami'\n },\n future: {\n one: 'manj kot {{count}} sekundo',\n two: 'manj kot {{count}} sekundi',\n few: 'manj kot {{count}} sekunde',\n other: 'manj kot {{count}} sekund'\n }\n },\n xSeconds: {\n present: {\n one: '{{count}} sekunda',\n two: '{{count}} sekundi',\n few: '{{count}} sekunde',\n other: '{{count}} sekund'\n },\n past: {\n one: '{{count}} sekundo',\n two: '{{count}} sekundama',\n few: '{{count}} sekundami',\n other: '{{count}} sekundami'\n },\n future: {\n one: '{{count}} sekundo',\n two: '{{count}} sekundi',\n few: '{{count}} sekunde',\n other: '{{count}} sekund'\n }\n },\n halfAMinute: 'pol minute',\n lessThanXMinutes: {\n present: {\n one: 'manj kot {{count}} minuta',\n two: 'manj kot {{count}} minuti',\n few: 'manj kot {{count}} minute',\n other: 'manj kot {{count}} minut'\n },\n past: {\n one: 'manj kot {{count}} minuto',\n two: 'manj kot {{count}} minutama',\n few: 'manj kot {{count}} minutami',\n other: 'manj kot {{count}} minutami'\n },\n future: {\n one: 'manj kot {{count}} minuto',\n two: 'manj kot {{count}} minuti',\n few: 'manj kot {{count}} minute',\n other: 'manj kot {{count}} minut'\n }\n },\n xMinutes: {\n present: {\n one: '{{count}} minuta',\n two: '{{count}} minuti',\n few: '{{count}} minute',\n other: '{{count}} minut'\n },\n past: {\n one: '{{count}} minuto',\n two: '{{count}} minutama',\n few: '{{count}} minutami',\n other: '{{count}} minutami'\n },\n future: {\n one: '{{count}} minuto',\n two: '{{count}} minuti',\n few: '{{count}} minute',\n other: '{{count}} minut'\n }\n },\n aboutXHours: {\n present: {\n one: 'približno {{count}} ura',\n two: 'približno {{count}} uri',\n few: 'približno {{count}} ure',\n other: 'približno {{count}} ur'\n },\n past: {\n one: 'približno {{count}} uro',\n two: 'približno {{count}} urama',\n few: 'približno {{count}} urami',\n other: 'približno {{count}} urami'\n },\n future: {\n one: 'približno {{count}} uro',\n two: 'približno {{count}} uri',\n few: 'približno {{count}} ure',\n other: 'približno {{count}} ur'\n }\n },\n xHours: {\n present: {\n one: '{{count}} ura',\n two: '{{count}} uri',\n few: '{{count}} ure',\n other: '{{count}} ur'\n },\n past: {\n one: '{{count}} uro',\n two: '{{count}} urama',\n few: '{{count}} urami',\n other: '{{count}} urami'\n },\n future: {\n one: '{{count}} uro',\n two: '{{count}} uri',\n few: '{{count}} ure',\n other: '{{count}} ur'\n }\n },\n xDays: {\n present: {\n one: '{{count}} dan',\n two: '{{count}} dni',\n few: '{{count}} dni',\n other: '{{count}} dni'\n },\n past: {\n one: '{{count}} dnem',\n two: '{{count}} dnevoma',\n few: '{{count}} dnevi',\n other: '{{count}} dnevi'\n },\n future: {\n one: '{{count}} dan',\n two: '{{count}} dni',\n few: '{{count}} dni',\n other: '{{count}} dni'\n }\n },\n // no tenses for weeks?\n aboutXWeeks: {\n one: 'približno {{count}} teden',\n two: 'približno {{count}} tedna',\n few: 'približno {{count}} tedne',\n other: 'približno {{count}} tednov'\n },\n // no tenses for weeks?\n xWeeks: {\n one: '{{count}} teden',\n two: '{{count}} tedna',\n few: '{{count}} tedne',\n other: '{{count}} tednov'\n },\n aboutXMonths: {\n present: {\n one: 'približno {{count}} mesec',\n two: 'približno {{count}} meseca',\n few: 'približno {{count}} mesece',\n other: 'približno {{count}} mesecev'\n },\n past: {\n one: 'približno {{count}} mesecem',\n two: 'približno {{count}} mesecema',\n few: 'približno {{count}} meseci',\n other: 'približno {{count}} meseci'\n },\n future: {\n one: 'približno {{count}} mesec',\n two: 'približno {{count}} meseca',\n few: 'približno {{count}} mesece',\n other: 'približno {{count}} mesecev'\n }\n },\n xMonths: {\n present: {\n one: '{{count}} mesec',\n two: '{{count}} meseca',\n few: '{{count}} meseci',\n other: '{{count}} mesecev'\n },\n past: {\n one: '{{count}} mesecem',\n two: '{{count}} mesecema',\n few: '{{count}} meseci',\n other: '{{count}} meseci'\n },\n future: {\n one: '{{count}} mesec',\n two: '{{count}} meseca',\n few: '{{count}} mesece',\n other: '{{count}} mesecev'\n }\n },\n aboutXYears: {\n present: {\n one: 'približno {{count}} leto',\n two: 'približno {{count}} leti',\n few: 'približno {{count}} leta',\n other: 'približno {{count}} let'\n },\n past: {\n one: 'približno {{count}} letom',\n two: 'približno {{count}} letoma',\n few: 'približno {{count}} leti',\n other: 'približno {{count}} leti'\n },\n future: {\n one: 'približno {{count}} leto',\n two: 'približno {{count}} leti',\n few: 'približno {{count}} leta',\n other: 'približno {{count}} let'\n }\n },\n xYears: {\n present: {\n one: '{{count}} leto',\n two: '{{count}} leti',\n few: '{{count}} leta',\n other: '{{count}} let'\n },\n past: {\n one: '{{count}} letom',\n two: '{{count}} letoma',\n few: '{{count}} leti',\n other: '{{count}} leti'\n },\n future: {\n one: '{{count}} leto',\n two: '{{count}} leti',\n few: '{{count}} leta',\n other: '{{count}} let'\n }\n },\n overXYears: {\n present: {\n one: 'več kot {{count}} leto',\n two: 'več kot {{count}} leti',\n few: 'več kot {{count}} leta',\n other: 'več kot {{count}} let'\n },\n past: {\n one: 'več kot {{count}} letom',\n two: 'več kot {{count}} letoma',\n few: 'več kot {{count}} leti',\n other: 'več kot {{count}} leti'\n },\n future: {\n one: 'več kot {{count}} leto',\n two: 'več kot {{count}} leti',\n few: 'več kot {{count}} leta',\n other: 'več kot {{count}} let'\n }\n },\n almostXYears: {\n present: {\n one: 'skoraj {{count}} leto',\n two: 'skoraj {{count}} leti',\n few: 'skoraj {{count}} leta',\n other: 'skoraj {{count}} let'\n },\n past: {\n one: 'skoraj {{count}} letom',\n two: 'skoraj {{count}} letoma',\n few: 'skoraj {{count}} leti',\n other: 'skoraj {{count}} leti'\n },\n future: {\n one: 'skoraj {{count}} leto',\n two: 'skoraj {{count}} leti',\n few: 'skoraj {{count}} leta',\n other: 'skoraj {{count}} let'\n }\n }\n};\n\nfunction getFormFromCount(count) {\n switch (count % 100) {\n case 1:\n return 'one';\n\n case 2:\n return 'two';\n\n case 3:\n case 4:\n return 'few';\n\n default:\n return 'other';\n }\n}\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result = '';\n var tense = 'present';\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n tense = 'future';\n result = 'čez ';\n } else {\n tense = 'past';\n result = 'pred ';\n }\n }\n\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result += tokenValue;\n } else {\n var form = getFormFromCount(count);\n\n if (isPluralType(tokenValue)) {\n result += tokenValue[form].replace('{{count}}', String(count));\n } else {\n result += tokenValue[tense][form].replace('{{count}}', String(count));\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, dd. MMMM y',\n long: 'dd. MMMM y',\n medium: 'd. MMM y',\n short: 'd. MM. yy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n var day = date.getUTCDay();\n\n switch (day) {\n case 0:\n return \"'prejšnjo nedeljo ob' p\";\n\n case 3:\n return \"'prejšnjo sredo ob' p\";\n\n case 6:\n return \"'prejšnjo soboto ob' p\";\n\n default:\n return \"'prejšnji' EEEE 'ob' p\";\n }\n },\n yesterday: \"'včeraj ob' p\",\n today: \"'danes ob' p\",\n tomorrow: \"'jutri ob' p\",\n nextWeek: function nextWeek(date) {\n var day = date.getUTCDay();\n\n switch (day) {\n case 0:\n return \"'naslednjo nedeljo ob' p\";\n\n case 3:\n return \"'naslednjo sredo ob' p\";\n\n case 6:\n return \"'naslednjo soboto ob' p\";\n\n default:\n return \"'naslednji' EEEE 'ob' p\";\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['pr. n. št.', 'po n. št.'],\n abbreviated: ['pr. n. št.', 'po n. št.'],\n wide: ['pred našim štetjem', 'po našem štetju']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. čet.', '2. čet.', '3. čet.', '4. čet.'],\n wide: ['1. četrtletje', '2. četrtletje', '3. četrtletje', '4. četrtletje']\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['n', 'p', 't', 's', 'č', 'p', 's'],\n short: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'],\n abbreviated: ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'],\n wide: ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'd',\n pm: 'p',\n midnight: '24.00',\n noon: '12.00',\n morning: 'j',\n afternoon: 'p',\n evening: 'v',\n night: 'n'\n },\n abbreviated: {\n am: 'dop.',\n pm: 'pop.',\n midnight: 'poln.',\n noon: 'pold.',\n morning: 'jut.',\n afternoon: 'pop.',\n evening: 'več.',\n night: 'noč'\n },\n wide: {\n am: 'dop.',\n pm: 'pop.',\n midnight: 'polnoč',\n noon: 'poldne',\n morning: 'jutro',\n afternoon: 'popoldne',\n evening: 'večer',\n night: 'noč'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'd',\n pm: 'p',\n midnight: '24.00',\n noon: '12.00',\n morning: 'zj',\n afternoon: 'p',\n evening: 'zv',\n night: 'po'\n },\n abbreviated: {\n am: 'dop.',\n pm: 'pop.',\n midnight: 'opoln.',\n noon: 'opold.',\n morning: 'zjut.',\n afternoon: 'pop.',\n evening: 'zveč.',\n night: 'ponoči'\n },\n wide: {\n am: 'dop.',\n pm: 'pop.',\n midnight: 'opolnoči',\n noon: 'opoldne',\n morning: 'zjutraj',\n afternoon: 'popoldan',\n evening: 'zvečer',\n night: 'ponoči'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n abbreviated: /^(pr\\. n\\. št\\.|po n\\. št\\.)/i,\n wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|na[sš]em)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\.\\s?[čc]et\\.?/i,\n wide: /^[1234]\\. [čc]etrtletje/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan\\.|feb\\.|mar\\.|apr\\.|maj|jun\\.|jul\\.|avg\\.|sep\\.|okt\\.|nov\\.|dec\\.)/i,\n wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n abbreviated: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i],\n wide: [/^ja/i, /^fe/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[nptsčc]/i,\n short: /^(ned\\.|pon\\.|tor\\.|sre\\.|[cč]et\\.|pet\\.|sob\\.)/i,\n abbreviated: /^(ned\\.|pon\\.|tor\\.|sre\\.|[cč]et\\.|pet\\.|sob\\.)/i,\n wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],\n any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(d|po?|z?v|n|z?j|24\\.00|12\\.00)/i,\n any: /^(dop\\.|pop\\.|o?poln(\\.|o[cč]i?)|o?pold(\\.|ne)|z?ve[cč](\\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\\.|ro)|zjut(\\.|raj))/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^d/i,\n pm: /^p/i,\n midnight: /^24/i,\n noon: /^12/i,\n morning: /^(z?j)/i,\n afternoon: /^p/i,\n evening: /^(z?v)/i,\n night: /^(n|po)/i\n },\n any: {\n am: /^dop\\./i,\n pm: /^pop\\./i,\n midnight: /^o?poln/i,\n noon: /^o?pold/i,\n morning: /j/i,\n afternoon: /^pop\\./i,\n evening: /^z?ve/i,\n night: /(po)?no/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'wide'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Slovenian locale.\n * @language Slovenian\n * @iso-639-2 slv\n * @author Adam Stradovnik [@Neoglyph]{@link https://github.com/Neoglyph}\n * @author Mato Žgajner [@mzgajner]{@link https://github.com/mzgajner}\n */\n\nvar locale = {\n code: 'sl',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["isPluralType","val","formatDistanceLocale","getFormFromCount","count","formatDistance","token","options","result","tense","tokenValue","form","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","day","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,SAASA,EAAaC,EAAK,CACzB,OAAOA,EAAI,MAAQ,MACrB,CAEA,IAAIC,EAAuB,CACzB,iBAAkB,CAChB,QAAS,CACP,IAAK,6BACL,IAAK,6BACL,IAAK,6BACL,MAAO,2BACR,EACD,KAAM,CACJ,IAAK,6BACL,IAAK,+BACL,IAAK,+BACL,MAAO,8BACR,EACD,OAAQ,CACN,IAAK,6BACL,IAAK,6BACL,IAAK,6BACL,MAAO,2BACR,CACF,EACD,SAAU,CACR,QAAS,CACP,IAAK,oBACL,IAAK,oBACL,IAAK,oBACL,MAAO,kBACR,EACD,KAAM,CACJ,IAAK,oBACL,IAAK,sBACL,IAAK,sBACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,oBACL,IAAK,oBACL,IAAK,oBACL,MAAO,kBACR,CACF,EACD,YAAa,aACb,iBAAkB,CAChB,QAAS,CACP,IAAK,4BACL,IAAK,4BACL,IAAK,4BACL,MAAO,0BACR,EACD,KAAM,CACJ,IAAK,4BACL,IAAK,8BACL,IAAK,8BACL,MAAO,6BACR,EACD,OAAQ,CACN,IAAK,4BACL,IAAK,4BACL,IAAK,4BACL,MAAO,0BACR,CACF,EACD,SAAU,CACR,QAAS,CACP,IAAK,mBACL,IAAK,mBACL,IAAK,mBACL,MAAO,iBACR,EACD,KAAM,CACJ,IAAK,mBACL,IAAK,qBACL,IAAK,qBACL,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,mBACL,IAAK,mBACL,IAAK,mBACL,MAAO,iBACR,CACF,EACD,YAAa,CACX,QAAS,CACP,IAAK,0BACL,IAAK,0BACL,IAAK,0BACL,MAAO,wBACR,EACD,KAAM,CACJ,IAAK,0BACL,IAAK,4BACL,IAAK,4BACL,MAAO,2BACR,EACD,OAAQ,CACN,IAAK,0BACL,IAAK,0BACL,IAAK,0BACL,MAAO,wBACR,CACF,EACD,OAAQ,CACN,QAAS,CACP,IAAK,gBACL,IAAK,gBACL,IAAK,gBACL,MAAO,cACR,EACD,KAAM,CACJ,IAAK,gBACL,IAAK,kBACL,IAAK,kBACL,MAAO,iBACR,EACD,OAAQ,CACN,IAAK,gBACL,IAAK,gBACL,IAAK,gBACL,MAAO,cACR,CACF,EACD,MAAO,CACL,QAAS,CACP,IAAK,gBACL,IAAK,gBACL,IAAK,gBACL,MAAO,eACR,EACD,KAAM,CACJ,IAAK,iBACL,IAAK,oBACL,IAAK,kBACL,MAAO,iBACR,EACD,OAAQ,CACN,IAAK,gBACL,IAAK,gBACL,IAAK,gBACL,MAAO,eACR,CACF,EAED,YAAa,CACX,IAAK,4BACL,IAAK,4BACL,IAAK,4BACL,MAAO,4BACR,EAED,OAAQ,CACN,IAAK,kBACL,IAAK,kBACL,IAAK,kBACL,MAAO,kBACR,EACD,aAAc,CACZ,QAAS,CACP,IAAK,4BACL,IAAK,6BACL,IAAK,6BACL,MAAO,6BACR,EACD,KAAM,CACJ,IAAK,8BACL,IAAK,+BACL,IAAK,6BACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,4BACL,IAAK,6BACL,IAAK,6BACL,MAAO,6BACR,CACF,EACD,QAAS,CACP,QAAS,CACP,IAAK,kBACL,IAAK,mBAC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mB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC3FIM,EAAS,CACX,KAAM,KACN,eAAgBhD,EAChB,WAAYU,EACZ,eAAgBK,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.40792eff.css b/assets/index.40792eff.css new file mode 100644 index 0000000000..e3439aa2a3 --- /dev/null +++ b/assets/index.40792eff.css @@ -0,0 +1 @@ +.notiList-enter[data-v-7df8fe25],.notiList-leave-to[data-v-7df8fe25]{--un-translate-x:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));opacity:0}.pv-message-transition-enter-from[data-v-0b7846ee],.pv-message-transition-leave-to[data-v-0b7846ee]{opacity:0;transform:translate(-50%,-75%)}.pv-message-transition-enter-active[data-v-0b7846ee],.pv-message-transition-leave-active[data-v-0b7846ee]{transition:all .3s}.pv-message-transition-enter-to[data-v-0b7846ee],.pv-message-transition-leave-from[data-v-0b7846ee]{opacity:1;transform:translate(-50%)}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}.i-carbon\:wikis{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm12 13h-6a24.26 24.26 0 0 0-2.79-10.55A12 12 0 0 1 28 15ZM16 28a5 5 0 0 1-.67 0A21.85 21.85 0 0 1 12 17h8a21.85 21.85 0 0 1-3.3 11a5 5 0 0 1-.7 0Zm-4-13a21.85 21.85 0 0 1 3.3-11a6 6 0 0 1 1.34 0A21.85 21.85 0 0 1 20 15Zm.76-10.55A24.26 24.26 0 0 0 10 15H4a12 12 0 0 1 8.79-10.55ZM4.05 17h6a24.26 24.26 0 0 0 2.75 10.55A12 12 0 0 1 4.05 17Zm15.16 10.55A24.26 24.26 0 0 0 22 17h6a12 12 0 0 1-8.79 10.55Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-mdi-light\:cog{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m19.588 15.492l-1.814-1.29a6.483 6.483 0 0 0-.005-3.421l1.82-1.274l-1.453-2.514l-2.024.926a6.484 6.484 0 0 0-2.966-1.706L12.953 4h-2.906l-.193 2.213A6.483 6.483 0 0 0 6.889 7.92l-2.025-.926l-1.452 2.514l1.82 1.274a6.483 6.483 0 0 0-.006 3.42l-1.814 1.29l1.452 2.502l2.025-.927a6.483 6.483 0 0 0 2.965 1.706l.193 2.213h2.906l.193-2.213a6.484 6.484 0 0 0 2.965-1.706l2.025.927l1.453-2.501ZM13.505 2.985a.5.5 0 0 1 .5.477l.178 2.035a7.45 7.45 0 0 1 2.043 1.178l1.85-.863a.5.5 0 0 1 .662.195l2.005 3.47a.5.5 0 0 1-.162.671l-1.674 1.172c.128.798.124 1.593.001 2.359l1.673 1.17a.5.5 0 0 1 .162.672l-2.005 3.457a.5.5 0 0 1-.662.195l-1.85-.863c-.602.49-1.288.89-2.043 1.179l-.178 2.035a.5.5 0 0 1-.5.476h-4.01a.5.5 0 0 1-.5-.476l-.178-2.035a7.453 7.453 0 0 1-2.043-1.179l-1.85.863a.5.5 0 0 1-.663-.194L2.257 15.52a.5.5 0 0 1 .162-.671l1.673-1.171a7.45 7.45 0 0 1 0-2.359L2.42 10.148a.5.5 0 0 1-.162-.67L4.26 6.007a.5.5 0 0 1 .663-.195l1.85.863a7.45 7.45 0 0 1 2.043-1.178l.178-2.035a.5.5 0 0 1 .5-.477h4.01ZM11.5 9a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7Zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-ph\:magic-wand-light{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M246 152a6 6 0 0 1-6 6h-18v18a6 6 0 0 1-12 0v-18h-18a6 6 0 0 1 0-12h18v-18a6 6 0 0 1 12 0v18h18a6 6 0 0 1 6 6ZM64 66h14v14a6 6 0 0 0 12 0V66h14a6 6 0 0 0 0-12H90V40a6 6 0 0 0-12 0v14H64a6 6 0 0 0 0 12Zm120 128h-10v-10a6 6 0 0 0-12 0v10h-10a6 6 0 0 0 0 12h10v10a6 6 0 0 0 12 0v-10h10a6 6 0 0 0 0-12Zm-3.8-77.8L73.9 222.6a14 14 0 0 1-19.8 0l-20.7-20.7a14 14 0 0 1 0-19.8L182.1 33.4a14.1 14.1 0 0 1 19.8 0l20.7 20.7a14 14 0 0 1 0 19.8l-42.4 42.3ZM152.5 80l23.5 23.5l38.1-38.1a1.9 1.9 0 0 0 0-2.8l-20.7-20.7a1.9 1.9 0 0 0-2.8 0Zm15 32L144 88.5L41.9 190.6a1.9 1.9 0 0 0 0 2.8l20.7 20.7a1.9 1.9 0 0 0 2.8 0Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-ph\:user-circle-light{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M230 128a102 102 0 1 0-170.8 75.3l1.2 1a101.8 101.8 0 0 0 135.2 0l1.2-1A101.8 101.8 0 0 0 230 128Zm-192 0a90 90 0 1 1 155.5 61.6a77.7 77.7 0 0 0-40-31.3a46 46 0 1 0-51 0a77.7 77.7 0 0 0-40 31.3A89.5 89.5 0 0 1 38 128Zm56-8a34 34 0 1 1 34 34a34.1 34.1 0 0 1-34-34Zm-22.6 78a66.1 66.1 0 0 1 113.2 0a90.1 90.1 0 0 1-113.2 0Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-ri\:bilibili-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.172 2.757L10.414 6h3.171l3.243-3.242a1 1 0 0 1 1.415 1.415L16.414 6H18.5A3.5 3.5 0 0 1 22 9.5v8a3.5 3.5 0 0 1-3.5 3.5h-13A3.5 3.5 0 0 1 2 17.5v-8A3.5 3.5 0 0 1 5.5 6h2.085L5.757 4.171a1 1 0 0 1 1.415-1.415zM18.5 8h-13a1.5 1.5 0 0 0-1.493 1.356L4 9.5v8a1.5 1.5 0 0 0 1.356 1.493L5.5 19h13a1.5 1.5 0 0 0 1.493-1.356L20 17.5v-8A1.5 1.5 0 0 0 18.5 8zM8 11a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1zm8 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:angle-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 9.17a1 1 0 0 0-1.41 0L12 12.71L8.46 9.17a1 1 0 0 0-1.41 0a1 1 0 0 0 0 1.42l4.24 4.24a1 1 0 0 0 1.42 0L17 10.59a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:angle-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17 13.41l-4.29-4.24a1 1 0 0 0-1.42 0l-4.24 4.24a1 1 0 0 0 0 1.42a1 1 0 0 0 1.41 0L12 11.29l3.54 3.54a1 1 0 0 0 .7.29a1 1 0 0 0 .71-.29a1 1 0 0 0 .05-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.71 11.29a1 1 0 0 0-1.42 0L13 14.59V7a1 1 0 0 0-2 0v7.59l-3.29-3.3a1 1 0 0 0-1.42 1.42l5 5a1 1 0 0 0 .33.21a.94.94 0 0 0 .76 0a1 1 0 0 0 .33-.21l5-5a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-from-top{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.29 16.29L13 18.59V7a1 1 0 0 0-2 0v11.59l-2.29-2.3a1 1 0 1 0-1.42 1.42l4 4a1 1 0 0 0 .33.21a.94.94 0 0 0 .76 0a1 1 0 0 0 .33-.21l4-4a1 1 0 0 0-1.42-1.42ZM19 2H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 11H9.41l3.3-3.29a1 1 0 1 0-1.42-1.42l-5 5a1 1 0 0 0-.21.33a1 1 0 0 0 0 .76a1 1 0 0 0 .21.33l5 5a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42L9.41 13H17a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-to-bottom{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 20H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Zm-7.71-2.29a1 1 0 0 0 .33.21a.94.94 0 0 0 .76 0a1 1 0 0 0 .33-.21l4-4a1 1 0 0 0-1.42-1.42L13 14.59V3a1 1 0 0 0-2 0v11.59l-2.29-2.3a1 1 0 1 0-1.42 1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:arrow-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17.71 11.29l-5-5a1 1 0 0 0-.33-.21a1 1 0 0 0-.76 0a1 1 0 0 0-.33.21l-5 5a1 1 0 0 0 1.42 1.42L11 9.41V17a1 1 0 0 0 2 0V9.41l3.29 3.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:at{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2a10 10 0 1 0 5 18.66a1 1 0 1 0-1-1.73A8 8 0 1 1 20 12v.75a1.75 1.75 0 0 1-3.5 0V8.5a1 1 0 0 0-1-1a1 1 0 0 0-1 .79A4.45 4.45 0 0 0 12 7.5a4.5 4.5 0 1 0 3.3 7.5a3.74 3.74 0 0 0 6.7-2.25V12A10 10 0 0 0 12 2Zm0 12.5a2.5 2.5 0 1 1 2.5-2.5a2.5 2.5 0 0 1-2.5 2.5Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:chat{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 2H6a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h2.59l2.7 2.71A1 1 0 0 0 12 22a1 1 0 0 0 .65-.24L15.87 19H18a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3Zm1 14a1 1 0 0 1-1 1h-2.5a1 1 0 0 0-.65.24l-2.8 2.4l-2.34-2.35A1 1 0 0 0 9 17H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:check-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m14.72 8.79l-4.29 4.3l-1.65-1.65a1 1 0 1 0-1.41 1.41l2.35 2.36a1 1 0 0 0 .71.29a1 1 0 0 0 .7-.29l5-5a1 1 0 0 0 0-1.42a1 1 0 0 0-1.41 0ZM12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8a8 8 0 0 1-8 8Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:cog{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m21.32 9.55l-1.89-.63l.89-1.78A1 1 0 0 0 20.13 6L18 3.87a1 1 0 0 0-1.15-.19l-1.78.89l-.63-1.89A1 1 0 0 0 13.5 2h-3a1 1 0 0 0-.95.68l-.63 1.89l-1.78-.89A1 1 0 0 0 6 3.87L3.87 6a1 1 0 0 0-.19 1.15l.89 1.78l-1.89.63a1 1 0 0 0-.68.94v3a1 1 0 0 0 .68.95l1.89.63l-.89 1.78A1 1 0 0 0 3.87 18L6 20.13a1 1 0 0 0 1.15.19l1.78-.89l.63 1.89a1 1 0 0 0 .95.68h3a1 1 0 0 0 .95-.68l.63-1.89l1.78.89a1 1 0 0 0 1.13-.19L20.13 18a1 1 0 0 0 .19-1.15l-.89-1.78l1.89-.63a1 1 0 0 0 .68-.94v-3a1 1 0 0 0-.68-.95ZM20 12.78l-1.2.4A2 2 0 0 0 17.64 16l.57 1.14l-1.1 1.1l-1.11-.6a2 2 0 0 0-2.79 1.16l-.4 1.2h-1.59l-.4-1.2A2 2 0 0 0 8 17.64l-1.14.57l-1.1-1.1l.6-1.11a2 2 0 0 0-1.16-2.82l-1.2-.4v-1.56l1.2-.4A2 2 0 0 0 6.36 8l-.57-1.11l1.1-1.1L8 6.36a2 2 0 0 0 2.82-1.16l.4-1.2h1.56l.4 1.2A2 2 0 0 0 16 6.36l1.14-.57l1.1 1.1l-.6 1.11a2 2 0 0 0 1.16 2.79l1.2.4ZM12 8a4 4 0 1 0 4 4a4 4 0 0 0-4-4Zm0 6a2 2 0 1 1 2-2a2 2 0 0 1-2 2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:comment-alt-dots{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 9a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm7-7H5a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h11.59l3.7 3.71A1 1 0 0 0 21 22a.84.84 0 0 0 .38-.08A1 1 0 0 0 22 21V5a3 3 0 0 0-3-3Zm1 16.59l-2.29-2.3A1 1 0 0 0 17 16H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1ZM8 9a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm8 0a1 1 0 1 0 1 1a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:compress-arrows{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.38 13.08A1 1 0 0 0 10 13H6a1 1 0 0 0 0 2h1.59l-5.3 5.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0L9 16.41V18a1 1 0 0 0 2 0v-4a1 1 0 0 0-.08-.38a1 1 0 0 0-.54-.54ZM10 5a1 1 0 0 0-1 1v1.59l-5.29-5.3a1 1 0 0 0-1.42 1.42L7.59 9H6a1 1 0 0 0 0 2h4a1 1 0 0 0 .38-.08a1 1 0 0 0 .54-.54A1 1 0 0 0 11 10V6a1 1 0 0 0-1-1Zm3.62 5.92A1 1 0 0 0 14 11h4a1 1 0 0 0 0-2h-1.59l5.3-5.29a1 1 0 1 0-1.42-1.42L15 7.59V6a1 1 0 0 0-2 0v4a1 1 0 0 0 .08.38a1 1 0 0 0 .54.54ZM16.41 15H18a1 1 0 0 0 0-2h-4a1 1 0 0 0-.38.08a1 1 0 0 0-.54.54A1 1 0 0 0 13 14v4a1 1 0 0 0 2 0v-1.59l5.29 5.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:corner-up-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14.69 6.63h-7l2.92-2.92a1 1 0 0 0 0-1.42a1 1 0 0 0-1.41 0L4.61 6.92a1 1 0 0 0-.22.33a1 1 0 0 0 0 .76a1.19 1.19 0 0 0 .22.33L9.24 13a1 1 0 0 0 .7.3a1 1 0 0 0 .71-1.71L7.73 8.63h7a3 3 0 0 1 3 3V21a1 1 0 0 0 2 0v-9.37a5 5 0 0 0-5.04-5Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:desktop{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 3H5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h6v2H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2h-4v-2h6a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 11a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:edit-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5 18h4.24a1 1 0 0 0 .71-.29l6.92-6.93L19.71 8a1 1 0 0 0 0-1.42l-4.24-4.29a1 1 0 0 0-1.42 0l-2.82 2.83l-6.94 6.93a1 1 0 0 0-.29.71V17a1 1 0 0 0 1 1Zm9.76-13.59l2.83 2.83l-1.42 1.42l-2.83-2.83ZM6 13.17l5.93-5.93l2.83 2.83L8.83 16H6ZM21 20H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:envelope{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 4H5a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm-.41 2l-5.88 5.88a1 1 0 0 1-1.42 0L5.41 6ZM20 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7.41l5.88 5.88a3 3 0 0 0 4.24 0L20 7.41Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:exclamation-triangle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 16a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm10.67 1.47l-8.05-14a3 3 0 0 0-5.24 0l-8 14A3 3 0 0 0 3.94 22h16.12a3 3 0 0 0 2.61-4.53Zm-1.73 2a1 1 0 0 1-.88.51H3.94a1 1 0 0 1-.88-.51a1 1 0 0 1 0-1l8-14a1 1 0 0 1 1.78 0l8.05 14a1 1 0 0 1 .05 1.02ZM12 8a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V9a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:exit{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 12a1 1 0 0 0 1 1h7.59l-2.3 2.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4-4a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76a1 1 0 0 0-.21-.33l-4-4a1 1 0 1 0-1.42 1.42l2.3 2.29H5a1 1 0 0 0-1 1ZM17 2H7a3 3 0 0 0-3 3v3a1 1 0 0 0 2 0V5a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-3a1 1 0 0 0-2 0v3a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:expand-arrows-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.29 13.29L4 18.59V17a1 1 0 0 0-2 0v4a1 1 0 0 0 .08.38a1 1 0 0 0 .54.54A1 1 0 0 0 3 22h4a1 1 0 0 0 0-2H5.41l5.3-5.29a1 1 0 0 0-1.42-1.42ZM5.41 4H7a1 1 0 0 0 0-2H3a1 1 0 0 0-.38.08a1 1 0 0 0-.54.54A1 1 0 0 0 2 3v4a1 1 0 0 0 2 0V5.41l5.29 5.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42ZM21 16a1 1 0 0 0-1 1v1.59l-5.29-5.3a1 1 0 0 0-1.42 1.42l5.3 5.29H17a1 1 0 0 0 0 2h4a1 1 0 0 0 .38-.08a1 1 0 0 0 .54-.54A1 1 0 0 0 22 21v-4a1 1 0 0 0-1-1Zm.92-13.38a1 1 0 0 0-.54-.54A1 1 0 0 0 21 2h-4a1 1 0 0 0 0 2h1.59l-5.3 5.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0L20 5.41V7a1 1 0 0 0 2 0V3a1 1 0 0 0-.08-.38Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:external-link-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 10.82a1 1 0 0 0-1 1V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H5a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 21 2h-6a1 1 0 0 0 0 2h3.59L8.29 14.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0L20 5.41V9a1 1 0 0 0 2 0V3a1 1 0 0 0-.08-.38Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:eye-slash{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.94 6.08A6.93 6.93 0 0 1 12 6c3.18 0 6.17 2.29 7.91 6a15.23 15.23 0 0 1-.9 1.64a1 1 0 0 0-.16.55a1 1 0 0 0 1.86.5a15.77 15.77 0 0 0 1.21-2.3a1 1 0 0 0 0-.79C19.9 6.91 16.1 4 12 4a7.77 7.77 0 0 0-1.4.12a1 1 0 1 0 .34 2ZM3.71 2.29a1 1 0 0 0-1.42 1.42l3.1 3.09a14.62 14.62 0 0 0-3.31 4.8a1 1 0 0 0 0 .8C4.1 17.09 7.9 20 12 20a9.26 9.26 0 0 0 5.05-1.54l3.24 3.25a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Zm6.36 9.19l2.45 2.45A1.81 1.81 0 0 1 12 14a2 2 0 0 1-2-2a1.81 1.81 0 0 1 .07-.52ZM12 18c-3.18 0-6.17-2.29-7.9-6a12.09 12.09 0 0 1 2.7-3.79L8.57 10A4 4 0 0 0 14 15.43L15.59 17A7.24 7.24 0 0 1 12 18Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:file-search-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 20H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v3a3 3 0 0 0 3 3h3v1a1 1 0 0 0 2 0V8.94a1.31 1.31 0 0 0-.06-.27v-.09a1.07 1.07 0 0 0-.19-.28l-6-6a1.07 1.07 0 0 0-.28-.19a.32.32 0 0 0-.09 0a.88.88 0 0 0-.33-.11H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h7a1 1 0 0 0 0-2Zm0-14.59L14.59 8H13a1 1 0 0 1-1-1ZM7 8a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2Zm14.71 12.29l-1.17-1.16A3.44 3.44 0 0 0 20 15a3.49 3.49 0 0 0-6 2.49a3.46 3.46 0 0 0 5.13 3.05l1.16 1.17a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Zm-3.17-1.75a1.54 1.54 0 0 1-2.11 0a1.5 1.5 0 0 1-.43-1.05a1.46 1.46 0 0 1 .44-1.06a1.48 1.48 0 0 1 1-.43A1.47 1.47 0 0 1 19 17.49a1.5 1.5 0 0 1-.46 1.05ZM13 12H7a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Zm-2 6a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:folder{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:home-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m20 8l-6-5.26a3 3 0 0 0-4 0L4 8a3 3 0 0 0-1 2.26V19a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8.75A3 3 0 0 0 20 8Zm-6 12h-4v-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1Zm5-1a1 1 0 0 1-1 1h-2v-5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v5H6a1 1 0 0 1-1-1v-8.75a1 1 0 0 1 .34-.75l6-5.25a1 1 0 0 1 1.32 0l6 5.25a1 1 0 0 1 .34.75Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:info-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2a10 10 0 1 0 10 10A10.011 10.011 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8a8.01 8.01 0 0 1-8 8Zm0-8.5a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0v-3a1 1 0 0 0-1-1Zm0-4a1.25 1.25 0 1 0 1.25 1.25A1.25 1.25 0 0 0 12 7.5Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:link-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.11 15.39l-3.88 3.88a2.52 2.52 0 0 1-3.5 0a2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0a2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 .71.29a1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:list-ol-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 20H4v-.1c0-.5.4-.9.9-.9c1.4 0 2.6-.9 3-2.2c.4-1.6-.5-3.3-2.1-3.7c-1.3-.4-2.7.2-3.4 1.4c-.3.5-.1 1.1.4 1.4c.5.3 1.1.1 1.4-.4c.3-.5.9-.6 1.4-.3c.1.1.2.1.2.2c.2.3.2.6.2.9c-.2.4-.6.7-1 .7c-1.7 0-3 1.3-3 2.9V21c0 .6.4 1 1 1h4c.6 0 1-.4 1-1s-.4-1-1-1zM7 9H6V3c0-.6-.4-1-1-1s-1 .4-1 1v1H3c-.6 0-1 .4-1 1s.4 1 1 1h1v3H3c-.6 0-1 .4-1 1s.4 1 1 1h4c.6 0 1-.4 1-1s-.4-1-1-1zm4-3h10c.6 0 1-.4 1-1s-.4-1-1-1H11c-.6 0-1 .4-1 1s.4 1 1 1zm10 14H11c-.6 0-1 .4-1 1s.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1zm0-11H11c-.6 0-1 .4-1 1s.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1zm0 6H11c-.6 0-1 .4-1 1s.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:list-ui-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.5 6a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm4 2h14a1 1 0 0 0 0-2h-14a1 1 0 0 0 0 2Zm0 3a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm4 5a1 1 0 1 0 1 1a1 1 0 0 0-1-1Zm10-5h-10a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2Zm0 5h-6a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:list-ul{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.71 16.29a1 1 0 0 0-.33-.21a1 1 0 0 0-.76 0a1 1 0 0 0-.33.21a1 1 0 0 0-.21.33a1 1 0 0 0 .21 1.09a1.15 1.15 0 0 0 .33.21a.94.94 0 0 0 .76 0a1.15 1.15 0 0 0 .33-.21a1 1 0 0 0 .21-1.09a1 1 0 0 0-.21-.33ZM7 8h14a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21a1.15 1.15 0 0 0-.33.21a1 1 0 0 0-.21.33a.94.94 0 0 0 0 .76a1.15 1.15 0 0 0 .21.33a1.15 1.15 0 0 0 .33.21a.94.94 0 0 0 .76 0a1.15 1.15 0 0 0 .33-.21a1.15 1.15 0 0 0 .21-.33a.94.94 0 0 0 0-.76a1 1 0 0 0-.21-.33ZM21 11H7a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM3.71 6.29a1 1 0 0 0-.33-.21a1 1 0 0 0-1.09.21a1.15 1.15 0 0 0-.21.33a.94.94 0 0 0 0 .76a1.15 1.15 0 0 0 .21.33a1.15 1.15 0 0 0 .33.21a1 1 0 0 0 1.09-.21a1.15 1.15 0 0 0 .21-.33a.94.94 0 0 0 0-.76a1.15 1.15 0 0 0-.21-.33ZM21 16H7a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:lock-open-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 13a1.49 1.49 0 0 0-1 2.61V17a1 1 0 0 0 2 0v-1.39A1.49 1.49 0 0 0 12 13Zm5-4H9V7a3 3 0 0 1 5.12-2.13a3.08 3.08 0 0 1 .78 1.38a1 1 0 1 0 1.94-.5a5.09 5.09 0 0 0-1.31-2.29A5 5 0 0 0 7 7v2a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3Zm1 10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:moon{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21.64 13a1 1 0 0 0-1.05-.14a8.05 8.05 0 0 1-3.37.73a8.15 8.15 0 0 1-8.14-8.1a8.59 8.59 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69a1 1 0 0 0-.36-1.05Zm-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14a9.79 9.79 0 0 0 2.1-.22a8.11 8.11 0 0 1-7.18 4.32Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:padlock{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 13a1.49 1.49 0 0 0-1 2.61V17a1 1 0 0 0 2 0v-1.39A1.49 1.49 0 0 0 12 13Zm5-4V7A5 5 0 0 0 7 7v2a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3ZM9 7a3 3 0 0 1 6 0v2H9Zm9 12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:pause{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a3 3 0 0 0-3 3v14a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-2 0V5a1 1 0 0 1 2 0ZM8 2a3 3 0 0 0-3 3v14a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-2 0V5a1 1 0 0 1 2 0Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:pen{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 7.24a1 1 0 0 0-.29-.71l-4.24-4.24a1 1 0 0 0-.71-.29a1 1 0 0 0-.71.29l-2.83 2.83L2.29 16.05a1 1 0 0 0-.29.71V21a1 1 0 0 0 1 1h4.24a1 1 0 0 0 .76-.29l10.87-10.93L21.71 8a1.19 1.19 0 0 0 .22-.33a1 1 0 0 0 0-.24a.7.7 0 0 0 0-.14ZM6.83 20H4v-2.83l9.93-9.93l2.83 2.83ZM18.17 8.66l-2.83-2.83l1.42-1.41l2.82 2.82Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:play{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18.54 9L8.88 3.46a3.42 3.42 0 0 0-5.13 3v11.12A3.42 3.42 0 0 0 7.17 21a3.43 3.43 0 0 0 1.71-.46L18.54 15a3.42 3.42 0 0 0 0-5.92Zm-1 4.19l-9.66 5.62a1.44 1.44 0 0 1-1.42 0a1.42 1.42 0 0 1-.71-1.23V6.42a1.42 1.42 0 0 1 .71-1.23A1.51 1.51 0 0 1 7.17 5a1.54 1.54 0 0 1 .71.19l9.66 5.58a1.42 1.42 0 0 1 0 2.46Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:play-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 10.27l-5-2.89a2 2 0 0 0-3 1.73v5.78a2 2 0 0 0 1 1.73a2 2 0 0 0 2 0l5-2.89a2 2 0 0 0 0-3.46ZM15 12l-5 2.89V9.11L15 12ZM12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8a8 8 0 0 1-8 8Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:redo{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 11a1 1 0 0 0-1 1a8.05 8.05 0 1 1-2.22-5.5h-2.4a1 1 0 0 0 0 2h4.53a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1.77A10 10 0 1 0 22 12a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:setting{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.9 12.66a1 1 0 0 1 0-1.32l1.28-1.44a1 1 0 0 0 .12-1.17l-2-3.46a1 1 0 0 0-1.07-.48l-1.88.38a1 1 0 0 1-1.15-.66l-.61-1.83a1 1 0 0 0-.95-.68h-4a1 1 0 0 0-1 .68l-.56 1.83a1 1 0 0 1-1.15.66L5 4.79a1 1 0 0 0-1 .48L2 8.73a1 1 0 0 0 .1 1.17l1.27 1.44a1 1 0 0 1 0 1.32L2.1 14.1a1 1 0 0 0-.1 1.17l2 3.46a1 1 0 0 0 1.07.48l1.88-.38a1 1 0 0 1 1.15.66l.61 1.83a1 1 0 0 0 1 .68h4a1 1 0 0 0 .95-.68l.61-1.83a1 1 0 0 1 1.15-.66l1.88.38a1 1 0 0 0 1.07-.48l2-3.46a1 1 0 0 0-.12-1.17ZM18.41 14l.8.9l-1.28 2.22l-1.18-.24a3 3 0 0 0-3.45 2L12.92 20h-2.56L10 18.86a3 3 0 0 0-3.45-2l-1.18.24l-1.3-2.21l.8-.9a3 3 0 0 0 0-4l-.8-.9l1.28-2.2l1.18.24a3 3 0 0 0 3.45-2L10.36 4h2.56l.38 1.14a3 3 0 0 0 3.45 2l1.18-.24l1.28 2.22l-.8.9a3 3 0 0 0 0 3.98Zm-6.77-6a4 4 0 1 0 4 4a4 4 0 0 0-4-4Zm0 6a2 2 0 1 1 2-2a2 2 0 0 1-2 2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:spinner{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.1 16c-.3-.5-.9-.6-1.4-.4c-.5.3-.6.9-.4 1.4c.3.5.9.6 1.4.4c.5-.3.6-.9.4-1.4zm-.4-9.4c-.5-.2-1.1-.1-1.4.4c-.2.5-.1 1.1.4 1.4c.5.2 1.1.1 1.4-.4c.2-.5.1-1.1-.4-1.4zm15.6 1.8c.5-.3.6-.9.4-1.4c-.3-.5-.9-.6-1.4-.4c-.5.3-.6.9-.4 1.4c.3.5.9.6 1.4.4zM4 12c0-.6-.4-1-1-1s-1 .4-1 1s.4 1 1 1s1-.4 1-1zm3.2 6.8c-.5.1-.9.7-.7 1.2c.1.5.7.9 1.2.7c.5-.1.9-.7.7-1.2c-.1-.5-.6-.8-1.2-.7zM21 11c-.6 0-1 .4-1 1s.4 1 1 1s1-.4 1-1s-.4-1-1-1zm-.7 4.6c-.5-.3-1.1-.1-1.4.4c-.3.5-.1 1.1.4 1.4c.5.3 1.1.1 1.4-.4c.2-.5.1-1.1-.4-1.4zM17 3.3c-.5-.3-1.1-.1-1.4.4c-.3.5-.1 1.1.4 1.4c.5.3 1.1.1 1.4-.4c.2-.5.1-1.1-.4-1.4zm-.2 15.5c-.5-.1-1.1.2-1.2.7c-.1.5.2 1.1.7 1.2c.5.1 1.1-.2 1.2-.7c.1-.5-.2-1-.7-1.2zM12 20c-.6 0-1 .4-1 1s.4 1 1 1s1-.4 1-1s-.4-1-1-1zm0-18c-.6 0-1 .4-1 1s.4 1 1 1s1-.4 1-1s-.4-1-1-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:spinner-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6.804 15a1 1 0 0 0-1.366-.366l-1.732 1a1 1 0 0 0 1 1.732l1.732-1A1 1 0 0 0 6.804 15ZM3.706 8.366l1.732 1a1 1 0 1 0 1-1.732l-1.732-1a1 1 0 0 0-1 1.732ZM6 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1Zm11.196-3a1 1 0 0 0 1.366.366l1.732-1a1 1 0 1 0-1-1.732l-1.732 1A1 1 0 0 0 17.196 9ZM15 6.804a1 1 0 0 0 1.366-.366l1-1.732a1 1 0 1 0-1.732-1l-1 1.732A1 1 0 0 0 15 6.804Zm5.294 8.83l-1.732-1a1 1 0 1 0-1 1.732l1.732 1a1 1 0 0 0 1-1.732Zm-3.928 1.928a1 1 0 1 0-1.732 1l1 1.732a1 1 0 1 0 1.732-1ZM21 11h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2Zm-9 7a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1Zm-3-.804a1 1 0 0 0-1.366.366l-1 1.732a1 1 0 0 0 1.732 1l1-1.732A1 1 0 0 0 9 17.196ZM12 2a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0V3a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:sun{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m5.64 17l-.71.71a1 1 0 0 0 0 1.41a1 1 0 0 0 1.41 0l.71-.71A1 1 0 0 0 5.64 17ZM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1ZM5.64 7.05a1 1 0 0 0 .7.29a1 1 0 0 0 .71-.29a1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41Zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 1 0-1.41-1.41l-.64.71a1 1 0 0 0 0 1.41a1 1 0 0 0 .66.29ZM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2Zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1Zm6.36-2A1 1 0 0 0 17 18.36l.71.71a1 1 0 0 0 1.41 0a1 1 0 0 0 0-1.41ZM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5Zm0 9a3.5 3.5 0 1 1 3.5-3.5a3.5 3.5 0 0 1-3.5 3.5Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:tag-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.5 6A1.5 1.5 0 1 0 9 7.5A1.5 1.5 0 0 0 7.5 6Zm13.62 4.71l-8.41-8.42A1 1 0 0 0 12 2H3a1 1 0 0 0-1 1v9a1 1 0 0 0 .29.71l8.42 8.41a3 3 0 0 0 4.24 0L21.12 15a3 3 0 0 0 0-4.24Zm-1.41 2.82l-6.18 6.17a1 1 0 0 1-1.41 0L4 11.59V4h7.59l8.12 8.12a1 1 0 0 1 .29.71a1 1 0 0 1-.29.7Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:telegram-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22.265 2.428a2.048 2.048 0 0 0-2.078-.324L2.266 9.339a2.043 2.043 0 0 0 .104 3.818l3.625 1.261l2.02 6.682a.998.998 0 0 0 .119.252c.008.012.019.02.027.033a.988.988 0 0 0 .211.215a.972.972 0 0 0 .07.05a.986.986 0 0 0 .31.136l.013.001l.006.003a1.022 1.022 0 0 0 .203.02l.018-.003a.993.993 0 0 0 .301-.052c.023-.008.042-.02.064-.03a.993.993 0 0 0 .205-.114a250.76 250.76 0 0 1 .152-.129l2.702-2.983l4.03 3.122a2.023 2.023 0 0 0 1.241.427a2.054 2.054 0 0 0 2.008-1.633l3.263-16.017a2.03 2.03 0 0 0-.693-1.97ZM9.37 14.736a.994.994 0 0 0-.272.506l-.31 1.504l-.784-2.593l4.065-2.117Zm8.302 5.304l-4.763-3.69a1.001 1.001 0 0 0-1.353.12l-.866.955l.306-1.487l7.083-7.083a1 1 0 0 0-1.169-1.593L6.745 12.554L3.02 11.191L20.999 4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:times{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:times-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.71 8.29a1 1 0 0 0-1.42 0L12 10.59l-2.29-2.3a1 1 0 0 0-1.42 1.42l2.3 2.29l-2.3 2.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l2.29-2.3l2.29 2.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42L13.41 12l2.3-2.29a1 1 0 0 0 0-1.42Zm3.36-3.36A10 10 0 1 0 4.93 19.07A10 10 0 1 0 19.07 4.93Zm-1.41 12.73A8 8 0 1 1 20 12a7.95 7.95 0 0 1-2.34 5.66Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:top-arrow-to-top{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.71 6.29a1 1 0 0 0-.33-.21a1 1 0 0 0-.76 0a1 1 0 0 0-.33.21l-4 4a1 1 0 1 0 1.42 1.42L11 9.41V21a1 1 0 0 0 2 0V9.41l2.29 2.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42ZM19 2H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:twitter-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22.991 3.95a1 1 0 0 0-1.51-.86a7.48 7.48 0 0 1-1.874.794a5.152 5.152 0 0 0-3.374-1.242a5.232 5.232 0 0 0-5.223 5.063a11.032 11.032 0 0 1-6.814-3.924a1.012 1.012 0 0 0-.857-.365a.999.999 0 0 0-.785.5a5.276 5.276 0 0 0-.242 4.769l-.002.001a1.041 1.041 0 0 0-.496.89a3.042 3.042 0 0 0 .027.439a5.185 5.185 0 0 0 1.568 3.312a.998.998 0 0 0-.066.77a5.204 5.204 0 0 0 2.362 2.922a7.465 7.465 0 0 1-3.59.448A1 1 0 0 0 1.45 19.3a12.942 12.942 0 0 0 7.01 2.061a12.788 12.788 0 0 0 12.465-9.363a12.822 12.822 0 0 0 .535-3.646l-.001-.2a5.77 5.77 0 0 0 1.532-4.202Zm-3.306 3.212a.995.995 0 0 0-.234.702c.01.165.009.331.009.488a10.824 10.824 0 0 1-.454 3.08a10.685 10.685 0 0 1-10.546 7.93a10.938 10.938 0 0 1-2.55-.301a9.48 9.48 0 0 0 2.942-1.564a1 1 0 0 0-.602-1.786a3.208 3.208 0 0 1-2.214-.935q.224-.042.445-.105a1 1 0 0 0-.08-1.943a3.198 3.198 0 0 1-2.25-1.726a5.3 5.3 0 0 0 .545.046a1.02 1.02 0 0 0 .984-.696a1 1 0 0 0-.4-1.137a3.196 3.196 0 0 1-1.425-2.673c0-.066.002-.133.006-.198a13.014 13.014 0 0 0 8.21 3.48a1.02 1.02 0 0 0 .817-.36a1 1 0 0 0 .206-.867a3.157 3.157 0 0 1-.087-.729a3.23 3.23 0 0 1 3.226-3.226a3.184 3.184 0 0 1 2.345 1.02a.993.993 0 0 0 .921.298a9.27 9.27 0 0 0 1.212-.322a6.681 6.681 0 0 1-1.026 1.524Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8.71 7.71L11 5.41V15a1 1 0 0 0 2 0V5.41l2.29 2.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42l-4-4a1 1 0 0 0-.33-.21a1 1 0 0 0-.76 0a1 1 0 0 0-.33.21l-4 4a1 1 0 1 0 1.42 1.42ZM21 12a1 1 0 0 0-1 1v6a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6a1 1 0 0 0-2 0v6a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-6a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:user{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:volume{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.43 4.1a1 1 0 0 0-1 .12L6.65 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3.65l4.73 3.78A1 1 0 0 0 12 20a.91.91 0 0 0 .43-.1A1 1 0 0 0 13 19V5a1 1 0 0 0-.57-.9ZM11 16.92l-3.38-2.7A1 1 0 0 0 7 14H4v-4h3a1 1 0 0 0 .62-.22L11 7.08Zm8.66-10.58a1 1 0 0 0-1.42 1.42a6 6 0 0 1-.38 8.84a1 1 0 0 0 .64 1.76a1 1 0 0 0 .64-.23a8 8 0 0 0 .52-11.79Zm-2.83 2.83a1 1 0 1 0-1.42 1.42A2 2 0 0 1 16 12a2 2 0 0 1-.71 1.53a1 1 0 0 0-.13 1.41a1 1 0 0 0 1.41.12A4 4 0 0 0 18 12a4.06 4.06 0 0 0-1.17-2.83Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:volume-mute{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.43 4.1a1 1 0 0 0-1 .12L6.65 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3.65l4.73 3.78A1 1 0 0 0 12 20a.91.91 0 0 0 .43-.1A1 1 0 0 0 13 19V5a1 1 0 0 0-.57-.9ZM11 16.92l-3.38-2.7A1 1 0 0 0 7 14H4v-4h3a1 1 0 0 0 .62-.22L11 7.08ZM19.91 12l1.8-1.79a1 1 0 0 0-1.42-1.42l-1.79 1.8l-1.79-1.8a1 1 0 0 0-1.42 1.42l1.8 1.79l-1.8 1.79a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l1.79-1.8l1.79 1.8a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.i-uil\:youtube-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M14.89 10.48l-3-1.74a1.73 1.73 0 0 0-1.76 0a1.71 1.71 0 0 0-.87 1.52v3.48a1.71 1.71 0 0 0 .87 1.52a1.73 1.73 0 0 0 1.76 0l3-1.74a1.76 1.76 0 0 0 0-3zm-3.65 2.84v-2.64L13.52 12zM19 4H5a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1z' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;display:inline-block;vertical-align:middle;width:1em;height:1em;}.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25;}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500;}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75;}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders);}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em;}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em;}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em;}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em;}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%;}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0;}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em;}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:var(--un-prose-font-mono);}.prose :where(:not(pre) > code):not(:where(.not-prose,.not-prose *))::before,.prose :where(:not(pre) > code):not(:where(.not-prose,.not-prose *))::after{content:"`";}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem;}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none;background:transparent;}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit;}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em;}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal;}.prose :where(ol[type="A"]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha;}.prose :where(ol[type="a"]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha;}.prose :where(ol[type="A" s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha;}.prose :where(ol[type="a" s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha;}.prose :where(ol[type="I"]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman;}.prose :where(ol[type="i"]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman;}.prose :where(ol[type="I" s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman;}.prose :where(ol[type="i" s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman;}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal;}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc;}.prose :where(ol > li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul > li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists);}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr);}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto;}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft);}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em;}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help;}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem;}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft);}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600;}.prose{color:var(--un-prose-body);max-width:65ch;}.dark .dark\:prose-invert{--un-prose-body:var(--un-prose-invert-body);--un-prose-headings:var(--un-prose-invert-headings);--un-prose-links:var(--un-prose-invert-links);--un-prose-lists:var(--un-prose-invert-lists);--un-prose-hr:var(--un-prose-invert-hr);--un-prose-captions:var(--un-prose-invert-captions);--un-prose-code:var(--un-prose-invert-code);--un-prose-borders:var(--un-prose-invert-borders);--un-prose-bg-soft:var(--un-prose-invert-bg-soft);}.container{max-width:100%;}@media (min-width: 576px){.container{max-width:576px;}}@media (min-width: 720px){.container{max-width:720px;}}@media (min-width: 992px){.container{max-width:992px;}}@media (min-width: 1200px){.container{max-width:1200px;}}@media (min-width: 1400px){.container{max-width:1400px;}}@media (min-width: 1540px){.container{max-width:1540px;}}@media (min-width: 1860px){.container{max-width:1860px;}}@media (min-width: 2480px){.container{max-width:2480px;}}.pointer-events-none{pointer-events:none;}.focus-visible:focus,.visible{visibility:visible;}.invisible{visibility:hidden;}.absolute{position:absolute;}.fixed{position:fixed;}.relative{position:relative;}.static{position:static;}.inset-0{inset:0rem;}.inset-x-0{left:0rem;right:0rem;}.inset-y-0{top:0rem;bottom:0rem;}.-right-0\.5{right:-0.125rem;}.-right-1\.5{right:-0.375rem;}.-top-0\.3{top:-0.075rem;}.-top-1{top:-0.25rem;}.bottom-0{bottom:0rem;}.bottom-2{bottom:0.5rem;}.bottom-20{bottom:5rem;}.bottom-5{bottom:1.25rem;}.left-0{left:0rem;}.left-1{left:0.25rem;}.left-1\/2{left:50%;}.left-2{left:0.5rem;}.right-0{right:0rem;}.right-4{right:1rem;}.right-5{right:1.25rem;}.top-0{top:0rem;}.top-1\/2{top:50%;}.top-12{top:3rem;}.top-full{top:100%;}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;}.z-10000{z-index:10000;}.z-11{z-index:11;}.z-49{z-index:49;}.z-50{z-index:50;}.z-51{z-index:51;}.z-910{z-index:910;}.grid{display:grid;}.col-span-1{grid-column:span 1/span 1;}.col-span-2{grid-column:span 2/span 2;}.col-span-3{grid-column:span 3/span 3;}.col-span-full{grid-column:1/-1;}.grid-flow-row{grid-auto-flow:row;}.grid-flow-row-dense{grid-auto-flow:row dense;}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr));}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}.float-right{float:right;}.m-0{margin:0rem;}.m-1{margin:0.25rem;}.m-2,.m2{margin:0.5rem;}.m-4{margin:1rem;}.m-auto,.ma,.maa{margin:auto;}.m\[1\]{margin:1;}.m\[2\]{margin:2;}.m\[k\]{margin:k;}.-mx-1{margin-left:-0.25rem;margin-right:-0.25rem;}.-my-24{margin-top:-6rem;margin-bottom:-6rem;}.mx-0\.5{margin-left:0.125rem;margin-right:0.125rem;}.mx-1{margin-left:0.25rem;margin-right:0.25rem;}.mx-1\.5{margin-left:0.375rem;margin-right:0.375rem;}.mx-2{margin-left:0.5rem;margin-right:0.5rem;}.mx-4{margin-left:1rem;margin-right:1rem;}.mx-auto{margin-left:auto;margin-right:auto;}.my,.my-4{margin-top:1rem;margin-bottom:1rem;}.my-1{margin-top:0.25rem;margin-bottom:0.25rem;}.my-2{margin-top:0.5rem;margin-bottom:0.5rem;}.my-24{margin-top:6rem;margin-bottom:6rem;}.my-3{margin-top:0.75rem;margin-bottom:0.75rem;}.my-5{margin-top:1.25rem;margin-bottom:1.25rem;}.my-auto{margin-top:auto;margin-bottom:auto;}.-ml-2{margin-left:-0.5rem;}.-mr-1\.5{margin-right:-0.375rem;}.-mt-1{margin-top:-0.25rem;}.mb-1{margin-bottom:0.25rem;}.mb-8{margin-bottom:2rem;}.me,.mie{-webkit-margin-end:1rem;margin-inline-end:1rem;}.ml-1{margin-left:0.25rem;}.ml-1\.5{margin-left:0.375rem;}.ml-2{margin-left:0.5rem;}.ml-3{margin-left:0.75rem;}.ml-4{margin-left:1rem;}.ml-48{margin-left:12rem;}.ml-6{margin-left:1.5rem;}.ml-8{margin-left:2rem;}.ml-auto{margin-left:auto;}.mr-0\.5{margin-right:0.125rem;}.mr-1{margin-right:0.25rem;}.mr-2{margin-right:0.5rem;}.mr-5{margin-right:1.25rem;}.mr-50{margin-right:12.5rem;}.mr-6{margin-right:1.5rem;}.mr-auto{margin-right:auto;}.mis,.ms{-webkit-margin-start:1rem;margin-inline-start:1rem;}.msa{-webkit-margin-start:auto;margin-inline-start:auto;}.mt,.mt-4{margin-top:1rem;}.mt-0\.5{margin-top:0.125rem;}.mt-1{margin-top:0.25rem;}.mt-1\.5{margin-top:0.375rem;}.mt-10{margin-top:2.5rem;}.mt-2{margin-top:0.5rem;}.mt-20{margin-top:5rem;}.mt-3{margin-top:0.75rem;}.mt-30vh{margin-top:30vh;}.mt-5{margin-top:1.25rem;}.mt-6{margin-top:1.5rem;}.mt-8{margin-top:2rem;}.mt-px{margin-top:1px;}.box-border{box-sizing:border-box;}.inline{display:inline;}.block{display:block;}.inline-block{display:inline-block;}.contents{display:contents;}.hidden{display:none;}.display-mode{display:mode;}.aspect-ratio-1\/1{aspect-ratio:1/1;}.aspect-ratio-16\/10{aspect-ratio:16/10;}.aspect-ratio-16\/9{aspect-ratio:16/9;}.aspect-ratio-2\/1{aspect-ratio:2/1;}.aspect-ratio-6\/1{aspect-ratio:6/1;}.aspect-ratio-8\/5{aspect-ratio:8/5;}.h-\[calc\(100\%-2rem\)\]{height:calc(100% - 2rem);}.h-0\.5{height:0.125rem;}.h-1,.h1{height:0.25rem;}.h-1\/2{height:50%;}.h-10{height:2.5rem;}.h-12{height:3rem;}.h-16{height:4rem;}.h-2,.h2{height:0.5rem;}.h-20{height:5rem;}.h-3,.h3{height:0.75rem;}.h-3\.5{height:0.875rem;}.h-4,.h4{height:1rem;}.h-5,.h5{height:1.25rem;}.h-5\.5{height:1.375rem;}.h-6,.h6{height:1.5rem;}.h-6\.5{height:1.625rem;}.h-8,.h8{height:2rem;}.h-9{height:2.25rem;}.h-auto,.ha{height:auto;}.h-full{height:100%;}.h-px{height:1px;}.h-screen{height:100vh;}.h7{height:1.75rem;}.max-h-110{max-height:27.5rem;}.max-h-125{max-height:31.25rem;}.max-h-60{max-height:15rem;}.max-h-full{max-height:100%;}.max-w-112{max-width:28rem;}.max-w-2xl{max-width:42rem;}.max-w-64{max-width:16rem;}.max-w-72{max-width:18rem;}.max-w-75ch{max-width:75ch;}.min-h-24{min-height:6rem;}.min-h-6{min-height:1.5rem;}.min-h-70vh{min-height:70vh;}.min-h-8{min-height:2rem;}.min-h-screen{min-height:100vh;}.min-w-0{min-width:0rem;}.min-w-70{min-width:17.5rem;}.min-w-9{min-width:2.25rem;}.w-1\/2{width:50%;}.w-1\/3{width:33.3333333333%;}.w-1\/4{width:25%;}.w-1\/6{width:16.6666666667%;}.w-10{width:2.5rem;}.w-12{width:3rem;}.w-12\/25{width:48%;}.w-12\/50{width:24%;}.w-15{width:3.75rem;}.w-16{width:4rem;}.w-2{width:0.5rem;}.w-2\/5{width:40%;}.w-20{width:5rem;}.w-24{width:6rem;}.w-28{width:7rem;}.w-3{width:0.75rem;}.w-3\/4{width:75%;}.w-3\/5{width:60%;}.w-3\/7{width:42.8571428571%;}.w-36{width:9rem;}.w-4{width:1rem;}.w-4\/5{width:80%;}.w-5{width:1.25rem;}.w-5\/6{width:83.3333333333%;}.w-52{width:13rem;}.w-6{width:1.5rem;}.w-64{width:16rem;}.w-72{width:18rem;}.w-8{width:2rem;}.w-80{width:20rem;}.w-9{width:2.25rem;}.w-9\/10{width:90%;}.w-auto{width:auto;}.w-full{width:100%;}.w-px{width:1px;}.max-w-screen-xl{max-width:1200px;}.flex{display:flex;}.inline-flex{display:inline-flex;}.flex-1{flex:1 1 0%;}.flex-auto{flex:1 1 auto;}.flex-none{flex:none;}.flex-shrink{flex-shrink:1;}.flex-shrink-0{flex-shrink:0;}.flex-grow,.grow{flex-grow:1;}.flex-grow-0{flex-grow:0;}.flex-row{flex-direction:row;}.flex-col{flex-direction:column;}.flex-wrap{flex-wrap:wrap;}.flex-wrap-reverse{flex-wrap:wrap-reverse;}.flex-nowrap{flex-wrap:nowrap;}.table{display:table;}.border-collapse{border-collapse:collapse;}.-translate-x-1{--un-translate-x:-0.25rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-x-1\/2{--un-translate-x:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-x-2{--un-translate-x:-0.5rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-x-full{--un-translate-x:-100%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-y-1\/2{--un-translate-y:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-y-1\/20{--un-translate-y:-5%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-y-2\/3{--un-translate-y:-66.6666666667%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-y-3\/2{--un-translate-y:-150%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-x-4\.5{--un-translate-x:1.125rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-x-5\.5{--un-translate-x:1.375rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-x-full{--un-translate-x:100%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-y-0{--un-translate-y:0rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-y-3\/2{--un-translate-y:150%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.translate-y-full{--un-translate-y:100%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.rotate-180{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:180deg;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.rotate-90{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:90deg;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.scale-100{--un-scale-x:1;--un-scale-y:1;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.scale-95{--un-scale-x:0.95;--un-scale-y:0.95;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-scale-x-full{--un-scale-x:-100%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite;}.cursor-default{cursor:default;}.cursor-pointer,.hover\:cursor-pointer:hover{cursor:pointer;}.disabled\:hover\:cursor-not-allowed:hover:disabled{cursor:not-allowed;}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none;}.resize{resize:both;}.place-content-center{place-content:center;}.place-items-center{place-items:center;}.content-start{align-content:flex-start;}.content-between{align-content:space-between;}.items-start{align-items:flex-start;}.items-end{align-items:flex-end;}.items-center{align-items:center;}.self-center{align-self:center;}.justify-start{justify-content:flex-start;}.justify-end{justify-content:flex-end;}.justify-center{justify-content:center;}.justify-between{justify-content:space-between;}.justify-around{justify-content:space-around;}.justify-evenly{justify-content:space-evenly;}.gap-0\.5{grid-gap:0.125rem;gap:0.125rem;}.gap-1{grid-gap:0.25rem;gap:0.25rem;}.gap-2{grid-gap:0.5rem;gap:0.5rem;}.gap-3{grid-gap:0.75rem;gap:0.75rem;}.gap-4{grid-gap:1rem;gap:1rem;}.gap-px{grid-gap:1px;gap:1px;}.gap-x-0\.5{grid-column-gap:0.125rem;-moz-column-gap:0.125rem;column-gap:0.125rem;}.gap-x-1{grid-column-gap:0.25rem;-moz-column-gap:0.25rem;column-gap:0.25rem;}.gap-x-2{grid-column-gap:0.5rem;-moz-column-gap:0.5rem;column-gap:0.5rem;}.gap-x-6{grid-column-gap:1.5rem;-moz-column-gap:1.5rem;column-gap:1.5rem;}.gap-x-8{grid-column-gap:2rem;-moz-column-gap:2rem;column-gap:2rem;}.gap-y-1{grid-row-gap:0.25rem;row-gap:0.25rem;}.gap-y-4{grid-row-gap:1rem;row-gap:1rem;}.space-x-1\.5>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.375rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.375rem * var(--un-space-x-reverse));}.space-x-1>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.25rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.25rem * var(--un-space-x-reverse));}.space-x-2>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.5rem * var(--un-space-x-reverse));}.space-x-3>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.75rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.75rem * var(--un-space-x-reverse));}.space-x-6>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1.5rem * var(--un-space-x-reverse));}.space-x-px>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1px * var(--un-space-x-reverse));}.space-y-0\.5>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.125rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.125rem * var(--un-space-y-reverse));}.space-y-1>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.25rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.25rem * var(--un-space-y-reverse));}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.5rem * var(--un-space-y-reverse));}.space-y-3>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.75rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.75rem * var(--un-space-y-reverse));}.divide-y-1>:not([hidden])~:not([hidden]){--un-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--un-divide-y-reverse)));border-bottom-width:calc(1px * var(--un-divide-y-reverse));border-top-style:solid;border-bottom-style:solid;}.dark .dark\:divide-gray-600>:not([hidden])~:not([hidden]),.divide-gray-600>:not([hidden])~:not([hidden]){--un-divide-opacity:1;border-color:rgba(75,85,99,var(--un-divide-opacity));}.divide-gray-300>:not([hidden])~:not([hidden]){--un-divide-opacity:1;border-color:rgba(209,213,219,var(--un-divide-opacity));}.divide-purple-200>:not([hidden])~:not([hidden]){--un-divide-opacity:1;border-color:rgba(233,213,255,var(--un-divide-opacity));}.border-dashed,.divide-dashed>:not([hidden])~:not([hidden]){border-style:dashed;}.overflow-auto{overflow:auto;}.overflow-hidden{overflow:hidden;}.overflow-x-hidden{overflow-x:hidden;}.overflow-y-auto{overflow-y:auto;}.overflow-y-scroll{overflow-y:scroll;}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.text-ellipsis{text-overflow:ellipsis;}.whitespace-normal{white-space:normal;}.whitespace-nowrap{white-space:nowrap;}.whitespace-pre{white-space:pre;}.break-normal{overflow-wrap:normal;word-break:normal;}.break-all{word-break:break-all;}.b,.border,.border-1{border-width:1px;border-style:solid;}.border-2{border-width:2px;border-style:solid;}.border-b,.border-b-1,.dark .dark\:border-b{border-bottom-width:1px;border-bottom-style:solid;}.border-l-1{border-left-width:1px;border-left-style:solid;}.border-r{border-right-width:1px;border-right-style:solid;}.border-t{border-top-width:1px;border-top-style:solid;}.border-t-4{border-top-width:4px;border-top-style:solid;}.border-block{border-block-start-width:1px;border-block-end-width:1px;border-block-start-style:solid;border-block-end-style:solid;}.border-inline{border-inline-start-width:1px;border-inline-end-width:1px;border-inline-start-style:solid;border-inline-end-style:solid;}.border-black,.dark .dark\:border-black{--un-border-opacity:1;border-color:rgba(0,0,0,var(--un-border-opacity));}.border-blue-500{--un-border-opacity:1;border-color:rgba(59,130,246,var(--un-border-opacity));}.border-blue-600{--un-border-opacity:1;border-color:rgba(37,99,235,var(--un-border-opacity));}.border-gray-200,.hover\:border-gray-200:hover{--un-border-opacity:1;border-color:rgba(229,231,235,var(--un-border-opacity));}.border-gray-300{--un-border-opacity:1;border-color:rgba(209,213,219,var(--un-border-opacity));}.border-gray-400,.dark .dark\:border-gray-400{--un-border-opacity:1;border-color:rgba(156,163,175,var(--un-border-opacity));}.border-gray-600,.dark .dark\:border-gray-600{--un-border-opacity:1;border-color:rgba(75,85,99,var(--un-border-opacity));}.border-purple-200{--un-border-opacity:1;border-color:rgba(233,213,255,var(--un-border-opacity));}.border-purple-300{--un-border-opacity:1;border-color:rgba(216,180,254,var(--un-border-opacity));}.border-purple-400,.dark .dark\:border-purple-400,.dark .dark\:hover\:border-purple-400:hover,.hover\:border-purple-400:hover{--un-border-opacity:1;border-color:rgba(192,132,252,var(--un-border-opacity));}.border-purple-600{--un-border-opacity:1;border-color:rgba(147,51,234,var(--un-border-opacity));}.border-red-600{--un-border-opacity:1;border-color:rgba(220,38,38,var(--un-border-opacity));}.border-transparent{border-color:transparent;}.border-white,.dark .dark\:border-white{--un-border-opacity:1;border-color:rgba(255,255,255,var(--un-border-opacity));}.border-yellow-600{--un-border-opacity:1;border-color:rgba(202,138,4,var(--un-border-opacity));}.dark .dark\:border-blue-400,.hover\:border-blue-400:hover{--un-border-opacity:1;border-color:rgba(96,165,250,var(--un-border-opacity));}.dark .dark\:border-gray-500{--un-border-opacity:1;border-color:rgba(107,114,128,var(--un-border-opacity));}.dark .dark\:border-gray-700,.dark .dark\:hover\:border-gray-700:hover{--un-border-opacity:1;border-color:rgba(55,65,81,var(--un-border-opacity));}.dark .dark\:border-gray-800{--un-border-opacity:1;border-color:rgba(31,41,55,var(--un-border-opacity));}.dark .dark\:border-indigo-700{--un-border-opacity:1;border-color:rgba(67,56,202,var(--un-border-opacity));}.dark .dark\:border-indigo-800{--un-border-opacity:1;border-color:rgba(55,48,163,var(--un-border-opacity));}.dark .dark\:border-purple-800,.hover\:border-purple-800:hover{--un-border-opacity:1;border-color:rgba(107,33,168,var(--un-border-opacity));}.dark .dark\:border-purple-900{--un-border-opacity:1;border-color:rgba(88,28,135,var(--un-border-opacity));}.focus\:border-blue-300:focus{--un-border-opacity:1;border-color:rgba(147,197,253,var(--un-border-opacity));}.border-l-purple-200{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgba(233,213,255,var(--un-border-left-opacity));}.dark .dark\:border-l-gray-700{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgba(55,65,81,var(--un-border-left-opacity));}.hover\:rounded-xl:hover,.rounded-xl{border-radius:0.75rem;}.rd,.rounded{border-radius:0.25rem;}.rounded-full{border-radius:9999px;}.rounded-lg{border-radius:0.5rem;}.rounded-md{border-radius:0.375rem;}.rounded-sm{border-radius:0.125rem;}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px;}.rounded-r{border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;}.rounded-r-lg{border-top-right-radius:0.5rem;border-bottom-right-radius:0.5rem;}.rounded-t{border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;}.border-double{border-style:double;}.border-solid{border-style:solid;}.bg-author{--un-bg-opacity:1;background-color:rgba(170,0,0,var(--un-bg-opacity));}.bg-black,.dark .dark\:hover\:bg-black:hover{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity));}.bg-blue-50{--un-bg-opacity:1;background-color:rgba(239,246,255,var(--un-bg-opacity));}.bg-blue-500{--un-bg-opacity:1;background-color:rgba(59,130,246,var(--un-bg-opacity));}.bg-blue-600{--un-bg-opacity:1;background-color:rgba(37,99,235,var(--un-bg-opacity));}.bg-character{--un-bg-opacity:1;background-color:rgba(0,170,0,var(--un-bg-opacity));}.bg-copyright{--un-bg-opacity:1;background-color:rgba(170,0,170,var(--un-bg-opacity));}.bg-general{--un-bg-opacity:1;background-color:rgba(0,115,255,var(--un-bg-opacity));}.bg-gray-100,.hover\:bg-gray-100:hover{--un-bg-opacity:1;background-color:rgba(243,244,246,var(--un-bg-opacity));}.bg-gray-200,.hover\:bg-gray-200:hover{--un-bg-opacity:1;background-color:rgba(229,231,235,var(--un-bg-opacity));}.bg-gray-300{--un-bg-opacity:1;background-color:rgba(209,213,219,var(--un-bg-opacity));}.bg-gray-400{--un-bg-opacity:1;background-color:rgba(156,163,175,var(--un-bg-opacity));}.bg-gray-50,.hover\:bg-gray-50:hover,.odd\:bg-gray-50:nth-child(odd){--un-bg-opacity:1;background-color:rgba(249,250,251,var(--un-bg-opacity));}.bg-gray-500,.dark .dark\:bg-gray-500,.dark .dark\:hover\:bg-gray-500:hover{--un-bg-opacity:1;background-color:rgba(107,114,128,var(--un-bg-opacity));}.bg-gray-600,.dark .dark\:bg-gray-600{--un-bg-opacity:1;background-color:rgba(75,85,99,var(--un-bg-opacity));}.bg-gray-700,.dark .dark\:bg-gray-700,.dark .dark\:hover\:bg-gray-700:hover,.dark .dark\:hover\:odd\:bg-gray-700:nth-child(odd):hover{--un-bg-opacity:1;background-color:rgba(55,65,81,var(--un-bg-opacity));}.bg-gray-800,.dark .dark\:bg-gray-800,.dark .dark\:hover\:bg-gray-800:hover,.dark .dark\:odd\:bg-gray-800:nth-child(odd){--un-bg-opacity:1;background-color:rgba(31,41,55,var(--un-bg-opacity));}.bg-gray-900,.dark .dark\:bg-gray-900,.hover\:bg-gray-900:hover{--un-bg-opacity:1;background-color:rgba(17,24,39,var(--un-bg-opacity));}.bg-language{--un-bg-opacity:1;background-color:rgba(88,84,85,var(--un-bg-opacity));}.bg-meta{--un-bg-opacity:1;background-color:rgba(255,136,0,var(--un-bg-opacity));}.bg-orange-200{--un-bg-opacity:1;background-color:rgba(254,215,170,var(--un-bg-opacity));}.bg-purple-100{--un-bg-opacity:1;background-color:rgba(243,232,255,var(--un-bg-opacity));}.bg-purple-300{--un-bg-opacity:1;background-color:rgba(216,180,254,var(--un-bg-opacity));}.bg-purple-400{--un-bg-opacity:1;background-color:rgba(192,132,252,var(--un-bg-opacity));}.bg-purple-50,.hover\:bg-purple-50:hover,.hover\:odd\:bg-purple-50:nth-child(odd):hover{--un-bg-opacity:1;background-color:rgba(250,245,255,var(--un-bg-opacity));}.bg-purple-600{--un-bg-opacity:1;background-color:rgba(147,51,234,var(--un-bg-opacity));}.bg-red-50{--un-bg-opacity:1;background-color:rgba(254,242,242,var(--un-bg-opacity));}.bg-red-500{--un-bg-opacity:1;background-color:rgba(239,68,68,var(--un-bg-opacity));}.bg-soundtrack{--un-bg-opacity:1;background-color:rgba(255,119,146,var(--un-bg-opacity));}.bg-transparent{background-color:transparent;}.bg-white,.dark .dark\:bg-white{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));}.bg-yellow-50{--un-bg-opacity:1;background-color:rgba(254,252,232,var(--un-bg-opacity));}.dark .dark\:bg-indigo-600{--un-bg-opacity:1;background-color:rgba(79,70,229,var(--un-bg-opacity));}.dark .dark\:bg-indigo-800,.dark .dark\:hover\:bg-indigo-800:hover{--un-bg-opacity:1;background-color:rgba(55,48,163,var(--un-bg-opacity));}.dark .dark\:bg-indigo-900{--un-bg-opacity:1;background-color:rgba(49,46,129,var(--un-bg-opacity));}.dark .dark\:bg-violet-800{--un-bg-opacity:1;background-color:rgba(91,33,182,var(--un-bg-opacity));}.dark .dark\:hover\:bg-white\/15:hover{background-color:rgba(255,255,255,0.15);}.disabled\:bg-blue-300:disabled,.disabled\:focus\:bg-blue-300:focus:disabled,.disabled\:hover\:bg-blue-300:hover:disabled{--un-bg-opacity:1;background-color:rgba(147,197,253,var(--un-bg-opacity));}.focus\:bg-blue-700:focus,.hover\:bg-blue-700:hover{--un-bg-opacity:1;background-color:rgba(29,78,216,var(--un-bg-opacity));}.hover\:bg-\[\#f4f4f5\]:hover{--un-bg-opacity:1;background-color:rgba(244,244,245,var(--un-bg-opacity));}.hover\:bg-blue-400:hover{--un-bg-opacity:1;background-color:rgba(96,165,250,var(--un-bg-opacity));}.hover\:bg-purple-200:hover{--un-bg-opacity:1;background-color:rgba(233,213,255,var(--un-bg-opacity));}.hover\:bg-white\/70:hover{background-color:rgba(255,255,255,0.7);}.bg-opacity-0,.dark .dark\:bg-opacity-0{--un-bg-opacity:0;}.bg-opacity-50{--un-bg-opacity:0.5;}.bg-opacity-75{--un-bg-opacity:0.75;}.bg-opacity-80{--un-bg-opacity:0.8;}.dark .dark\:bg-opacity-5{--un-bg-opacity:0.05;}.dark .dark\:hover\:bg-opacity-20:hover,.hover\:bg-opacity-20:hover{--un-bg-opacity:0.2;}.bg-cover{background-size:cover;}.bg-contain{background-size:contain;}.bg-bottom{background-position:bottom;}.bg-center{background-position:center;}.bg-no-repeat{background-repeat:no-repeat;}.fill-current{fill:currentColor;}.object-cover{-o-object-fit:cover;object-fit:cover;}.p-0\.5{padding:0.125rem;}.p-1{padding:0.25rem;}.p-1\.5{padding:0.375rem;}.p-2{padding:0.5rem;}.p-3{padding:0.75rem;}.p-4{padding:1rem;}.p-5{padding:1.25rem;}.p-6{padding:1.5rem;}.p-8{padding:2rem;}.p\[i\]{padding:i;}.p\[v\]{padding:v;}.px,.px-4{padding-left:1rem;padding-right:1rem;}.px-0{padding-left:0rem;padding-right:0rem;}.px-0\.75{padding-left:0.1875rem;padding-right:0.1875rem;}.px-1{padding-left:0.25rem;padding-right:0.25rem;}.px-2{padding-left:0.5rem;padding-right:0.5rem;}.px-2\.5{padding-left:0.625rem;padding-right:0.625rem;}.px-3{padding-left:0.75rem;padding-right:0.75rem;}.px-5{padding-left:1.25rem;padding-right:1.25rem;}.px-auto{padding-left:auto;padding-right:auto;}.py{padding-top:1rem;padding-bottom:1rem;}.py-0\.5{padding-top:0.125rem;padding-bottom:0.125rem;}.py-1{padding-top:0.25rem;padding-bottom:0.25rem;}.py-1\.5{padding-top:0.375rem;padding-bottom:0.375rem;}.py-2{padding-top:0.5rem;padding-bottom:0.5rem;}.py-3{padding-top:0.75rem;padding-bottom:0.75rem;}.py-5{padding-top:1.25rem;padding-bottom:1.25rem;}.py-8{padding-top:2rem;padding-bottom:2rem;}.pb-0\.5{padding-bottom:0.125rem;}.pb-1{padding-bottom:0.25rem;}.pb-1\.5{padding-bottom:0.375rem;}.pb-2{padding-bottom:0.5rem;}.pb-30{padding-bottom:7.5rem;}.pe{-webkit-padding-end:1rem;padding-inline-end:1rem;}.pl,.pl-4{padding-left:1rem;}.pl-2{padding-left:0.5rem;}.pl-2\.5{padding-left:0.625rem;}.pl-5{padding-left:1.25rem;}.pl-7{padding-left:1.75rem;}.pl-8{padding-left:2rem;}.pr,.pr-4{padding-right:1rem;}.pr-2{padding-right:0.5rem;}.pr-3{padding-right:0.75rem;}.pr-8{padding-right:2rem;}.ps{-webkit-padding-start:1rem;padding-inline-start:1rem;}.pt,.pt-4{padding-top:1rem;}.pt-1{padding-top:0.25rem;}.pt-2{padding-top:0.5rem;}.pt-26{padding-top:6.5rem;}.pt-3{padding-top:0.75rem;}.text-center{text-align:center;}.text-left{text-align:left;}.text-right{text-align:right;}.text-justify{text-align:justify;}.indent{text-indent:1.5rem;}.align-middle{vertical-align:middle;}.align-text-bottom{vertical-align:text-bottom;}.align-top{vertical-align:top;}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";}.text-2xl{font-size:1.5rem;line-height:2rem;}.text-3xl{font-size:1.875rem;line-height:2.25rem;}.text-4xl{font-size:2.25rem;line-height:2.5rem;}.text-8xl{font-size:6rem;line-height:1;}.text-base{font-size:1rem;line-height:1.5rem;}.text-lg{font-size:1.125rem;line-height:1.75rem;}.text-sm{font-size:0.875rem;line-height:1.25rem;}.text-xl{font-size:1.25rem;line-height:1.75rem;}.text-xs{font-size:0.75rem;line-height:1rem;}.font-bold{font-weight:700;}.font-light{font-weight:300;}.font-medium{font-weight:500;}.font-normal{font-weight:400;}.font-semibold{font-weight:600;}.leading-5{line-height:1.25rem;}.tracking-wide{letter-spacing:0.025em;}.uppercase{text-transform:uppercase;}.lowercase{text-transform:lowercase;}.capitalize{text-transform:capitalize;}.italic{font-style:italic;}.ordinal{--un-ordinal:ordinal;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction);}.dark .dark\:hover\:text-gray-200:hover,.dark .dark\:text-gray-200,.text-gray-200{--un-text-opacity:1;color:rgba(229,231,235,var(--un-text-opacity));}.dark .dark\:hover\:text-gray-400:hover,.dark .dark\:text-gray-400,.text-gray-400{--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity));}.dark .dark\:hover\:text-purple-400:hover{--un-text-opacity:1;color:rgba(192,132,252,var(--un-text-opacity));}.dark .dark\:hover\:text-white:hover,.dark .dark\:text-white,.text-white{--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity));}.dark .dark\:text-blue-300{--un-text-opacity:1;color:rgba(147,197,253,var(--un-text-opacity));}.dark .dark\:text-blue-400,.hover\:text-blue-400:hover{--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity));}.dark .dark\:text-blue-500,.text-blue-500{--un-text-opacity:1;color:rgba(59,130,246,var(--un-text-opacity));}.dark .dark\:text-blue-600,.hover\:text-blue-600:hover,.text-blue-600{--un-text-opacity:1;color:rgba(37,99,235,var(--un-text-opacity));}.dark .dark\:text-gray-100{--un-text-opacity:1;color:rgba(243,244,246,var(--un-text-opacity));}.dark .dark\:text-gray-300,.text-gray-300{--un-text-opacity:1;color:rgba(209,213,219,var(--un-text-opacity));}.dark .dark\:text-gray-600,.hover\:text-gray-600:hover,.text-gray-600{--un-text-opacity:1;color:rgba(75,85,99,var(--un-text-opacity));}.dark .dark\:text-purple-300,.hover\:text-purple-300:hover,.text-purple-300{--un-text-opacity:1;color:rgba(216,180,254,var(--un-text-opacity));}.dark .dark\:text-purple-50{--un-text-opacity:1;color:rgba(250,245,255,var(--un-text-opacity));}.hover\:text-black:hover,.text-black{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity));}.hover\:text-blue-800:hover{--un-text-opacity:1;color:rgba(30,64,175,var(--un-text-opacity));}.hover\:text-gray-500:hover,.text-gray-500{--un-text-opacity:1;color:rgba(107,114,128,var(--un-text-opacity));}.hover\:text-gray-700:hover,.light .light\:hover\:text-gray-700:hover,.text-gray-700{--un-text-opacity:1;color:rgba(55,65,81,var(--un-text-opacity));}.hover\:text-purple-500:hover{--un-text-opacity:1;color:rgba(168,85,247,var(--un-text-opacity));}.hover\:text-purple-600:hover,.text-purple-600{--un-text-opacity:1;color:rgba(147,51,234,var(--un-text-opacity));}.hover\:text-purple-700:hover{--un-text-opacity:1;color:rgba(126,34,206,var(--un-text-opacity));}.hover\:text-purple-800:hover,.text-purple-800{--un-text-opacity:1;color:rgba(107,33,168,var(--un-text-opacity));}.text-\[\#228dff\]{--un-text-opacity:1;color:rgba(34,141,255,var(--un-text-opacity));}.text-\[\#54df31\]{--un-text-opacity:1;color:rgba(84,223,49,var(--un-text-opacity));}.text-\[\#f77\]{--un-text-opacity:1;color:rgba(255,119,119,var(--un-text-opacity));}.text-author{--un-text-opacity:1;color:rgba(170,0,0,var(--un-text-opacity));}.text-character{--un-text-opacity:1;color:rgba(0,170,0,var(--un-text-opacity));}.text-copyright{--un-text-opacity:1;color:rgba(170,0,170,var(--un-text-opacity));}.text-general{--un-text-opacity:1;color:rgba(0,115,255,var(--un-text-opacity));}.text-gray-800{--un-text-opacity:1;color:rgba(31,41,55,var(--un-text-opacity));}.text-gray-900{--un-text-opacity:1;color:rgba(17,24,39,var(--un-text-opacity));}.text-language{--un-text-opacity:1;color:rgba(88,84,85,var(--un-text-opacity));}.text-meta{--un-text-opacity:1;color:rgba(255,136,0,var(--un-text-opacity));}.text-purple-900{--un-text-opacity:1;color:rgba(88,28,135,var(--un-text-opacity));}.text-red{--un-text-opacity:1;color:rgba(248,113,113,var(--un-text-opacity));}.text-red-500{--un-text-opacity:1;color:rgba(239,68,68,var(--un-text-opacity));}.text-soundtrack{--un-text-opacity:1;color:rgba(255,119,146,var(--un-text-opacity));}.underline{text-decoration-line:underline;}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4;}.text-shadow{--un-text-shadow:0 0 1px var(--un-text-shadow-color, rgba(0,0,0,0.2)),0 0 1px var(--un-text-shadow-color, rgba(1,0,5,0.1));text-shadow:var(--un-text-shadow);}.text-shadow-xl{--un-text-shadow:1px 1px 3px var(--un-text-shadow-color, rgba(0,0,0,0.29)),2px 4px 7px var(--un-text-shadow-color, rgba(73,64,125,0.35));text-shadow:var(--un-text-shadow);}.hover\:opacity-70:hover{opacity:0.7;}.op\[0\],.opacity-0{opacity:0;}.op\[1\],.opacity-100{opacity:1;}.opacity-25{opacity:0.25;}.opacity-40{opacity:0.4;}.opacity-50{opacity:0.5;}.hover\:shadow-xl:hover{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow-gray-500\/20{--un-shadow-color:rgba(107,114,128,0.2);}.shadow-inner{--un-shadow:inset 0 2px 4px 0 var(--un-shadow-color, rgba(0,0,0,0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgba(0,0,0,0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.outline{outline-style:solid;}.focus-visible\:outline-none:focus-visible,.focus\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px;}.focus-visible\:ring-1:focus-visible,.focus\:ring-1:focus,.focus\:ring:focus,.ring,.ring-1{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.focus\:ring-2:focus,.ring-2{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.ring\!{--un-ring-width:1px !important;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color) !important;--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color) !important;box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow) !important;}.focus-visible\:ring-offset-1:focus-visible,.focus\:ring-offset-1:focus{--un-ring-offset-width:1px;}.dark .dark\:hover\:ring-gray-700:hover,.dark .dark\:ring-gray-700{--un-ring-opacity:1;--un-ring-color:rgba(55,65,81,var(--un-ring-opacity));}.dark .dark\:ring-gray-600{--un-ring-opacity:1;--un-ring-color:rgba(75,85,99,var(--un-ring-opacity));}.focus-visible\:ring-white:focus-visible,.focus\:ring-white:focus,.ring-white{--un-ring-opacity:1;--un-ring-color:rgba(255,255,255,var(--un-ring-opacity));}.focus\:ring-purple-300:focus,.ring-purple-300{--un-ring-opacity:1;--un-ring-color:rgba(216,180,254,var(--un-ring-opacity));}.hover\:ring-gray-200:hover{--un-ring-opacity:1;--un-ring-color:rgba(229,231,235,var(--un-ring-opacity));}.ring-gray-500{--un-ring-opacity:1;--un-ring-color:rgba(107,114,128,var(--un-ring-opacity));}.ring-transparent{--un-ring-color:transparent;}.focus-visible\:ring-opacity-75:focus-visible,.ring-opacity-75{--un-ring-opacity:0.75;}.focus\:ring-opacity-60:focus{--un-ring-opacity:0.6;}.ring-opacity-10{--un-ring-opacity:0.1;}.dark .dark\:focus-visible\:ring-offset-gray-500:focus-visible{--un-ring-offset-opacity:1;--un-ring-offset-color:rgba(107,114,128,var(--un-ring-offset-opacity));}.dark .dark\:focus\:ring-offset-indigo-800:focus{--un-ring-offset-opacity:1;--un-ring-offset-color:rgba(55,48,163,var(--un-ring-offset-opacity));}.focus-visible\:ring-offset-purple-400:focus-visible{--un-ring-offset-opacity:1;--un-ring-offset-color:rgba(192,132,252,var(--un-ring-offset-opacity));}.focus\:ring-offset-purple-300:focus{--un-ring-offset-opacity:1;--un-ring-offset-color:rgba(216,180,254,var(--un-ring-offset-opacity));}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.dark .dark\:brightness-75{--un-brightness:brightness(0.75);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.dark .dark\:brightness-90{--un-brightness:brightness(0.9);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.drop-shadow-md{--un-drop-shadow:drop-shadow(0 4px 3px var(--un-drop-shadow-color, rgba(0,0,0,0.07))) drop-shadow(0 2px 2px var(--un-drop-shadow-color, rgba(0,0,0,0.06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.dark .dark\:filter,.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-background-color{transition-property:background-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-color{transition-property:color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.duration-100{transition-duration:100ms;}.duration-150{transition-duration:150ms;}.duration-200{transition-duration:200ms;}.duration-250{transition-duration:250ms;}.duration-300{transition-duration:300ms;}.duration-600{transition-duration:600ms;}.duration-75{transition-duration:75ms;}.ease,.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}.ease-out{transition-timing-function:cubic-bezier(0, 0, 0.2, 1);}.dark .dark\:placeholder-white::-moz-placeholder, .placeholder-white::-moz-placeholder{--un-placeholder-opacity:1;color:rgba(255,255,255,var(--un-placeholder-opacity));}.dark .dark\:placeholder-white::placeholder,.placeholder-white::placeholder{--un-placeholder-opacity:1;color:rgba(255,255,255,var(--un-placeholder-opacity));}.placeholder-gray-300::-moz-placeholder{--un-placeholder-opacity:1;color:rgba(209,213,219,var(--un-placeholder-opacity));}.placeholder-gray-300::placeholder{--un-placeholder-opacity:1;color:rgba(209,213,219,var(--un-placeholder-opacity));}.placeholder-gray-700::-moz-placeholder{--un-placeholder-opacity:1;color:rgba(55,65,81,var(--un-placeholder-opacity));}.placeholder-gray-700::placeholder{--un-placeholder-opacity:1;color:rgba(55,65,81,var(--un-placeholder-opacity));}@media (max-width: 719.9px){.lt-md\:relative{position:relative;}.lt-md\:top-1\/2{top:50%;}.lt-md\:line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;}.lt-md\:my-2{margin-top:0.5rem;margin-bottom:0.5rem;}.lt-md\:ml-2{margin-left:0.5rem;}.lt-md\:h-30{height:7.5rem;}.lt-md\:h-6{height:1.5rem;}.lt-md\:w-2\/3{width:66.6666666667%;}.lt-md\:w-full{width:100%;}.lt-md\:-translate-y-1\/2{--un-translate-y:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.lt-md\:transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.dark .lt-md\:dark\:border-white{--un-border-opacity:1;border-color:rgba(255,255,255,var(--un-border-opacity));}.lt-md\:text-center{text-align:center;}.lt-md\:text-xs{font-size:0.75rem;line-height:1rem;}.dark .lt-md\:dark\:text-white{--un-text-opacity:1;color:rgba(255,255,255,var(--un-text-opacity));}.lt-md\:shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.dark .lt-md\:dark\:placeholder-white::-moz-placeholder{--un-placeholder-opacity:1;color:rgba(255,255,255,var(--un-placeholder-opacity));}.dark .lt-md\:dark\:placeholder-white::placeholder{--un-placeholder-opacity:1;color:rgba(255,255,255,var(--un-placeholder-opacity));}}@media (max-width: 575.9px){.lt-sm\:mt-2{margin-top:0.5rem;}.lt-sm\:hidden{display:none;}.lt-sm\:h-0{height:0rem;}.lt-sm\:max-h-70vh{max-height:70vh;}.lt-sm\:border-t{border-top-width:1px;border-top-style:solid;}.lt-sm\:rounded-t{border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;}}@media (min-width: 576px){.sm\:inset-y-0{top:0rem;bottom:0rem;}.sm\:bottom-4{bottom:1rem;}.sm\:left-auto{left:auto;}.sm\:right-0{right:0rem;}.sm\:right-3{right:0.75rem;}.sm\:mx-auto{margin-left:auto;margin-right:auto;}.sm\:-mt-16{margin-top:-4rem;}.sm\:ml-6{margin-left:1.5rem;}.sm\:mt-2{margin-top:0.5rem;}.sm\:block{display:block;}.sm\:hidden{display:none;}.sm\:h-36{height:9rem;}.sm\:w-1\/3{width:33.3333333333%;}.sm\:w-1\/4{width:25%;}.sm\:w-2\/3{width:66.6666666667%;}.sm\:w-48{width:12rem;}.sm\:w-95{width:23.75rem;}.sm\:flex-row{flex-direction:row;}.sm\:translate-x-full{--un-translate-x:100%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.sm\:translate-y-0{--un-translate-y:0rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.sm\:border-l{border-left-width:1px;border-left-style:solid;}.sm\:rounded-l{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;}.sm\:p-2{padding:0.5rem;}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem;}.sm\:py-4{padding-top:1rem;padding-bottom:1rem;}.sm\:text-2xl{font-size:1.5rem;line-height:2rem;}.sm\:text-base{font-size:1rem;line-height:1.5rem;}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem;}.sm\:text-sm{font-size:0.875rem;line-height:1.25rem;}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem;}.sm\:font-medium{font-weight:500;}}@media (min-width: 720px){.md\:m-0{margin:0rem;}.md\:m-auto{margin:auto;}.md\:mx-2{margin-left:0.5rem;margin-right:0.5rem;}.md\:my-4{margin-top:1rem;margin-bottom:1rem;}.md\:my-8{margin-top:2rem;margin-bottom:2rem;}.md\:ml-16{margin-left:4rem;}.md\:ml-4{margin-left:1rem;}.md\:ml-48{margin-left:12rem;}.md\:ml-8{margin-left:2rem;}.md\:mr-50{margin-right:12.5rem;}.md\:inline-block{display:inline-block;}.md\:aspect-ratio-8\/5{aspect-ratio:8/5;}.md\:h-12{height:3rem;}.md\:h-24{height:6rem;}.md\:h-30{height:7.5rem;}.md\:h-56{height:14rem;}.md\:h-full{height:100%;}.md\:max-h-28{max-height:7rem;}.md\:min-h-xl{min-height:36rem;}.md\:min-w-100{min-width:25rem;}.md\:min-w-max{min-width:-moz-max-content;min-width:max-content;}.md\:w-1\/15{width:6.6666666667%;}.md\:w-1\/2{width:50%;}.md\:w-1\/3{width:33.3333333333%;}.md\:w-1\/4{width:25%;}.md\:w-1\/5{width:20%;}.md\:w-12{width:3rem;}.md\:w-14{width:3.5rem;}.md\:w-14\/15{width:93.3333333333%;}.md\:w-4\/5{width:80%;}.md\:w-4\/6{width:66.6666666667%;}.md\:w-5{width:1.25rem;}.md\:w-5\/12{width:41.6666666667%;}.md\:w-56{width:14rem;}.md\:w-60{width:15rem;}.md\:w-80{width:20rem;}.md\:w-full{width:100%;}.md\:flex{display:flex;}.md\:flex-row{flex-direction:row;}.md\:items-center{align-items:center;}.md\:justify-between{justify-content:space-between;}.md\:space-x-2>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.5rem * var(--un-space-x-reverse));}.md\:space-x-4>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1rem * var(--un-space-x-reverse));}.md\:space-y-1>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.25rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.25rem * var(--un-space-y-reverse));}.md\:overflow-auto{overflow:auto;}.md\:overflow-clip{overflow:clip;}.md\:truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.md\:whitespace-normal{white-space:normal;}.md\:whitespace-nowrap{white-space:nowrap;}.md\:border-2{border-width:2px;border-style:solid;}.md\:border-purple-300{--un-border-opacity:1;border-color:rgba(216,180,254,var(--un-border-opacity));}.md\:rounded-xl{border-radius:0.75rem;}.md\:p-10{padding:2.5rem;}.md\:p-16{padding:4rem;}.md\:p-5{padding:1.25rem;}.md\:px-2{padding-left:0.5rem;padding-right:0.5rem;}.md\:px-3{padding-left:0.75rem;padding-right:0.75rem;}.md\:px-4{padding-left:1rem;padding-right:1rem;}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem;}.md\:py-1{padding-top:0.25rem;padding-bottom:0.25rem;}.md\:py-2{padding-top:0.5rem;padding-bottom:0.5rem;}.md\:pt-3{padding-top:0.75rem;}.md\:text-center{text-align:center;}.md\:text-left{text-align:left;}.md\:text-right{text-align:right;}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem;}.md\:text-base{font-size:1rem;line-height:1.5rem;}.md\:text-lg{font-size:1.125rem;line-height:1.75rem;}.md\:text-sm{font-size:0.875rem;line-height:1.25rem;}.md\:font-bold{font-weight:700;}.md\:text-black{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity));}.md\:text-gray-700{--un-text-opacity:1;color:rgba(55,65,81,var(--un-text-opacity));}.md\:placeholder-gray-700::-moz-placeholder{--un-placeholder-opacity:1;color:rgba(55,65,81,var(--un-placeholder-opacity));}.md\:placeholder-gray-700::placeholder{--un-placeholder-opacity:1;color:rgba(55,65,81,var(--un-placeholder-opacity));}}@media (min-width: 992px){.lg\:mx-4{margin-left:1rem;margin-right:1rem;}.lg\:mt-0{margin-top:0rem;}.lg\:h-14{height:3.5rem;}.lg\:w-14{width:3.5rem;}.lg\:w-2\/5{width:40%;}.lg\:w-3\/5{width:60%;}.lg\:w-3\/6{width:50%;}.lg\:w-4\/5{width:80%;}.lg\:flex-row{flex-direction:row;}.lg\:px-8{padding-left:2rem;padding-right:2rem;}.lg\:text-2xl{font-size:1.5rem;line-height:2rem;}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem;}.lg\:text-base{font-size:1rem;line-height:1.5rem;}.lg\:text-sm{font-size:0.875rem;line-height:1.25rem;}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem;}.lg\:font-normal{font-weight:400;}}@media (min-width: 1200px){.xl\:col-span-3{grid-column:span 3/span 3;}.xl\:col-span-9{grid-column:span 9/span 9;}.xl\:mx-2{margin-left:0.5rem;margin-right:0.5rem;}.xl\:my-6{margin-top:1.5rem;margin-bottom:1.5rem;}.xl\:mt-2{margin-top:0.5rem;}.xl\:w-1\/5{width:20%;}.xl\:w-4\/5{width:80%;}.xl\:w-9\/10{width:90%;}.xl\:w-full{width:100%;}.xl\:flex-col{flex-direction:column;}.xl\:space-x-3>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.75rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.75rem * var(--un-space-x-reverse));}.xl\:border{border-width:1px;border-style:solid;}.xl\:rounded-md{border-radius:0.375rem;}.xl\:py-3{padding-top:0.75rem;padding-bottom:0.75rem;}.xl\:pt-4{padding-top:1rem;}}@media (min-width: 1400px){.\32 xl\:w-4\/5,.\32 xl\:w-8\/10{width:80%;}}a{cursor:pointer}*::-webkit-scrollbar{width:16px}*::-webkit-scrollbar-thumb{height:56px;background-clip:content-box;background-color:#6b7280;border:4px solid transparent;border-radius:9999px}*::-webkit-scrollbar-thumb:hover{background-color:#9ca3af} diff --git a/assets/index.410c0191.js b/assets/index.410c0191.js new file mode 100644 index 0000000000..a12639868c --- /dev/null +++ b/assets/index.410c0191.js @@ -0,0 +1,2 @@ +import{d as m,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},l=function(a,t,e){var i,r=u[a];return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",String(t)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"daqui a "+i:"há "+i:i},h={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},f={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:m({formats:h,defaultWidth:"full"}),time:m({formats:f,defaultWidth:"full"}),dateTime:m({formats:c,defaultWidth:"full"})},g={lastWeek:function(a){var t=a.getUTCDay(),e=t===0||t===6?"último":"última";return"'"+e+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},b=function(a,t,e,i){var r=g[a];return typeof r=="function"?r(t):r},p={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},P={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},M={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},w={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},y={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},q={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},x=function(a,t){var e=Number(a);return e+"º"},W={ordinalNumber:x,era:o({values:p,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:o({values:M,defaultWidth:"wide"}),day:o({values:w,defaultWidth:"wide"}),dayPeriod:o({values:y,defaultWidth:"wide",formattingValues:q,defaultFormattingWidth:"wide"})},j=/^(\d+)(º|ª)?/i,k=/\d+/i,C={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},D={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},z={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},H={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},F={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},V={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},X={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},A={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},N={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},E={ordinalNumber:s({matchPattern:j,parsePattern:k,valueCallback:function(a){return parseInt(a,10)}}),era:d({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:d({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:d({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),day:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"})},_={code:"pt",formatDistance:l,formatLong:v,formatRelative:b,localize:W,match:E,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{_ as default}; +//# sourceMappingURL=index.410c0191.js.map diff --git a/assets/index.410c0191.js.map b/assets/index.410c0191.js.map new file mode 100644 index 0000000000..697913048c --- /dev/null +++ b/assets/index.410c0191.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.410c0191.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'menos de um segundo',\n other: 'menos de {{count}} segundos'\n },\n xSeconds: {\n one: '1 segundo',\n other: '{{count}} segundos'\n },\n halfAMinute: 'meio minuto',\n lessThanXMinutes: {\n one: 'menos de um minuto',\n other: 'menos de {{count}} minutos'\n },\n xMinutes: {\n one: '1 minuto',\n other: '{{count}} minutos'\n },\n aboutXHours: {\n one: 'aproximadamente 1 hora',\n other: 'aproximadamente {{count}} horas'\n },\n xHours: {\n one: '1 hora',\n other: '{{count}} horas'\n },\n xDays: {\n one: '1 dia',\n other: '{{count}} dias'\n },\n aboutXWeeks: {\n one: 'aproximadamente 1 semana',\n other: 'aproximadamente {{count}} semanas'\n },\n xWeeks: {\n one: '1 semana',\n other: '{{count}} semanas'\n },\n aboutXMonths: {\n one: 'aproximadamente 1 mês',\n other: 'aproximadamente {{count}} meses'\n },\n xMonths: {\n one: '1 mês',\n other: '{{count}} meses'\n },\n aboutXYears: {\n one: 'aproximadamente 1 ano',\n other: 'aproximadamente {{count}} anos'\n },\n xYears: {\n one: '1 ano',\n other: '{{count}} anos'\n },\n overXYears: {\n one: 'mais de 1 ano',\n other: 'mais de {{count}} anos'\n },\n almostXYears: {\n one: 'quase 1 ano',\n other: 'quase {{count}} anos'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'daqui a ' + result;\n } else {\n return 'há ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' y\",\n medium: \"d 'de' MMM 'de' y\",\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'às' {{time}}\",\n long: \"{{date}} 'às' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n var weekday = date.getUTCDay();\n var last = weekday === 0 || weekday === 6 ? 'último' : 'última';\n return \"'\" + last + \"' eeee 'às' p\";\n },\n yesterday: \"'ontem às' p\",\n today: \"'hoje às' p\",\n tomorrow: \"'amanhã às' p\",\n nextWeek: \"eeee 'às' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['aC', 'dC'],\n abbreviated: ['a.C.', 'd.C.'],\n wide: ['antes de Cristo', 'depois de Cristo']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'],\n wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro']\n};\nvar dayValues = {\n narrow: ['d', 's', 't', 'q', 'q', 's', 's'],\n short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'],\n abbreviated: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'],\n wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'noite',\n night: 'madrugada'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'noite',\n night: 'madrugada'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'noite',\n night: 'madrugada'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da noite',\n night: 'da madrugada'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da noite',\n night: 'da madrugada'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da noite',\n night: 'da madrugada'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'º';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(º|ª)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ac|dc|a|d)/i,\n abbreviated: /^(a\\.?\\s?c\\.?|a\\.?\\s?e\\.?\\s?c\\.?|d\\.?\\s?c\\.?|e\\.?\\s?c\\.?)/i,\n wide: /^(antes de cristo|antes da era comum|depois de cristo|era comum)/i\n};\nvar parseEraPatterns = {\n any: [/^ac/i, /^dc/i],\n wide: [/^(antes de cristo|antes da era comum)/i, /^(depois de cristo|era comum)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](º|ª)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,\n wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ab/i, /^mai/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dstq]/i,\n short: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,\n abbreviated: /^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,\n wide: /^(domingo|segunda-?\\s?feira|terça-?\\s?feira|quarta-?\\s?feira|quinta-?\\s?feira|sexta-?\\s?feira|s[áa]bado)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^s/i, /^t/i, /^q/i, /^q/i, /^s/i, /^s/i],\n any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[áa]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|meia-?\\s?noite|meio-?\\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,\n any: /^([ap]\\.?\\s?m\\.?|meia-?\\s?noite|meio-?\\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^meia/i,\n noon: /^meio/i,\n morning: /manh[ãa]/i,\n afternoon: /tarde/i,\n evening: /noite/i,\n night: /madrugada/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Portuguese locale.\n * @language Portuguese\n * @iso-639-2 por\n * @author Dário Freire [@dfreire]{@link https://github.com/dfreire}\n * @author Adrián de la Rosa [@adrm]{@link https://github.com/adrm}\n */\n\nvar locale = {\n code: 'pt',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","weekday","last","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,yBACL,MAAO,iCACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,2BACL,MAAO,mCACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO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BAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.45cad889.js b/assets/index.45cad889.js new file mode 100644 index 0000000000..f7baea8382 --- /dev/null +++ b/assets/index.45cad889.js @@ -0,0 +1,2 @@ +import{d as m,e as d,f as s,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"mens d’una segonda",other:"mens de {{count}} segondas"},xSeconds:{one:"1 segonda",other:"{{count}} segondas"},halfAMinute:"30 segondas",lessThanXMinutes:{one:"mens d’una minuta",other:"mens de {{count}} minutas"},xMinutes:{one:"1 minuta",other:"{{count}} minutas"},aboutXHours:{one:"environ 1 ora",other:"environ {{count}} oras"},xHours:{one:"1 ora",other:"{{count}} oras"},xDays:{one:"1 jorn",other:"{{count}} jorns"},aboutXWeeks:{one:"environ 1 setmana",other:"environ {{count}} setmanas"},xWeeks:{one:"1 setmana",other:"{{count}} setmanas"},aboutXMonths:{one:"environ 1 mes",other:"environ {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"mai d’un an",other:"mai de {{count}} ans"},almostXYears:{one:"gaireben un an",other:"gaireben {{count}} ans"}},l=function(e,t,n){var a,r=u[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"d’aquí "+a:"fa "+a:a},h={full:"EEEE d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},c={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} 'a' {{time}}",long:"{{date}} 'a' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:m({formats:h,defaultWidth:"full"}),time:m({formats:c,defaultWidth:"full"}),dateTime:m({formats:v,defaultWidth:"full"})},b={lastWeek:"eeee 'passat a' p",yesterday:"'ièr a' p",today:"'uèi a' p",tomorrow:"'deman a' p",nextWeek:"eeee 'a' p",other:"P"},f=function(e,t,n,a){return b[e]},p={narrow:["ab. J.C.","apr. J.C."],abbreviated:["ab. J.C.","apr. J.C."],wide:["abans Jèsus-Crist","après Jèsus-Crist"]},j={narrow:["T1","T2","T3","T4"],abbreviated:["1èr trim.","2nd trim.","3en trim.","4en trim."],wide:["1èr trimèstre","2nd trimèstre","3en trimèstre","4en trimèstre"]},P={narrow:["GN","FB","MÇ","AB","MA","JN","JL","AG","ST","OC","NV","DC"],abbreviated:["gen.","febr.","març","abr.","mai","junh","jul.","ag.","set.","oct.","nov.","dec."],wide:["genièr","febrièr","març","abril","mai","junh","julhet","agost","setembre","octòbre","novembre","decembre"]},w={narrow:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],short:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dm.","dc.","dj.","dv.","ds."],wide:["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"]},M={narrow:{am:"am",pm:"pm",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"},wide:{am:"a.m.",pm:"p.m.",midnight:"mièjanuèch",noon:"miègjorn",morning:"matin",afternoon:"aprèp-miègjorn",evening:"vèspre",night:"nuèch"}},y={narrow:{am:"am",pm:"pm",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"},abbreviated:{am:"AM",pm:"PM",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mièjanuèch",noon:"miègjorn",morning:"del matin",afternoon:"de l’aprèp-miègjorn",evening:"del ser",night:"de la nuèch"}},C=function(e,t){var n=Number(e),a=t==null?void 0:t.unit,r;switch(n){case 1:r="èr";break;case 2:r="nd";break;default:r="en"}return(a==="year"||a==="week"||a==="hour"||a==="minute"||a==="second")&&(r+="a"),n+r},W={ordinalNumber:C,era:d({values:p,defaultWidth:"wide"}),quarter:d({values:j,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:d({values:P,defaultWidth:"wide"}),day:d({values:w,defaultWidth:"wide"}),dayPeriod:d({values:M,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"})},J=/^(\d+)(èr|nd|en)?[a]?/i,k=/\d+/i,D={narrow:/^(ab\.J\.C|apr\.J\.C|apr\.J\.-C)/i,abbreviated:/^(ab\.J\.-C|ab\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(abans Jèsus-Crist|après Jèsus-Crist)/i},N={any:[/^ab/i,/^ap/i]},F={narrow:/^T[1234]/i,abbreviated:/^[1234](èr|nd|en)? trim\.?/i,wide:/^[1234](èr|nd|en)? trimèstre/i},T={any:[/1/i,/2/i,/3/i,/4/i]},x={narrow:/^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i,abbreviated:/^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\.?/i,wide:/^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i},H={any:[/^g/i,/^f/i,/^ma[r?]|MÇ/i,/^ab/i,/^ma[i?]/i,/^ju[n?]|JN/i,/^ju[l?]|JL/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},V={narrow:/^d[glmcjvs]\.?/i,short:/^d[glmcjvs]\.?/i,abbreviated:/^d[glmcjvs]\.?/i,wide:/^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i},L={narrow:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],short:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],abbreviated:[/^dg/i,/^dl/i,/^dm/i,/^dc/i,/^dj/i,/^dv/i,/^ds/i],any:[/^dg|dime/i,/^dl|dil/i,/^dm|dima/i,/^dc|dimè/i,/^dj|dij/i,/^dv|div/i,/^ds|dis/i]},z={any:/(^(a\.?m|p\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i},A={any:{am:/(^a)|ante meridiem/i,pm:/(^p)|post meridiem/i,midnight:/^mièj/i,noon:/^mièg/i,morning:/matin/i,afternoon:/aprèp-miègjorn/i,evening:/vèspre|ser/i,night:/nuèch/i}},X={ordinalNumber:s({matchPattern:J,parsePattern:k,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),quarter:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:o({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:z,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})},G={code:"oc",formatDistance:l,formatLong:g,formatRelative:f,localize:W,match:X,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{G as default}; +//# sourceMappingURL=index.45cad889.js.map diff --git a/assets/index.45cad889.js.map b/assets/index.45cad889.js.map new file mode 100644 index 0000000000..1e17be630d --- /dev/null +++ b/assets/index.45cad889.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.45cad889.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/oc/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mens d’una segonda',\n other: 'mens de {{count}} segondas'\n },\n xSeconds: {\n one: '1 segonda',\n other: '{{count}} segondas'\n },\n halfAMinute: '30 segondas',\n lessThanXMinutes: {\n one: 'mens d’una minuta',\n other: 'mens de {{count}} minutas'\n },\n xMinutes: {\n one: '1 minuta',\n other: '{{count}} minutas'\n },\n aboutXHours: {\n one: 'environ 1 ora',\n other: 'environ {{count}} oras'\n },\n xHours: {\n one: '1 ora',\n other: '{{count}} oras'\n },\n xDays: {\n one: '1 jorn',\n other: '{{count}} jorns'\n },\n aboutXWeeks: {\n one: 'environ 1 setmana',\n other: 'environ {{count}} setmanas'\n },\n xWeeks: {\n one: '1 setmana',\n other: '{{count}} setmanas'\n },\n aboutXMonths: {\n one: 'environ 1 mes',\n other: 'environ {{count}} meses'\n },\n xMonths: {\n one: '1 mes',\n other: '{{count}} meses'\n },\n aboutXYears: {\n one: 'environ 1 an',\n other: 'environ {{count}} ans'\n },\n xYears: {\n one: '1 an',\n other: '{{count}} ans'\n },\n overXYears: {\n one: 'mai d’un an',\n other: 'mai de {{count}} ans'\n },\n almostXYears: {\n one: 'gaireben un an',\n other: 'gaireben {{count}} ans'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'd’aquí ' + result;\n } else {\n return 'fa ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE d 'de' MMMM y\",\n long: \"d 'de' MMMM y\",\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'a' {{time}}\",\n long: \"{{date}} 'a' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'passat a' p\",\n yesterday: \"'ièr a' p\",\n today: \"'uèi a' p\",\n tomorrow: \"'deman a' p\",\n nextWeek: \"eeee 'a' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ab. J.C.', 'apr. J.C.'],\n abbreviated: ['ab. J.C.', 'apr. J.C.'],\n wide: ['abans Jèsus-Crist', 'après Jèsus-Crist']\n};\nvar quarterValues = {\n narrow: ['T1', 'T2', 'T3', 'T4'],\n abbreviated: ['1èr trim.', '2nd trim.', '3en trim.', '4en trim.'],\n wide: ['1èr trimèstre', '2nd trimèstre', '3en trimèstre', '4en trimèstre']\n};\nvar monthValues = {\n narrow: ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'],\n abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'mai', 'junh', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'dec.'],\n wide: ['genièr', 'febrièr', 'març', 'abril', 'mai', 'junh', 'julhet', 'agost', 'setembre', 'octòbre', 'novembre', 'decembre']\n};\nvar dayValues = {\n narrow: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'],\n short: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'],\n abbreviated: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'],\n wide: ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'matin',\n afternoon: 'aprèp-miègjorn',\n evening: 'vèspre',\n night: 'nuèch'\n },\n abbreviated: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'matin',\n afternoon: 'aprèp-miègjorn',\n evening: 'vèspre',\n night: 'nuèch'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'matin',\n afternoon: 'aprèp-miègjorn',\n evening: 'vèspre',\n night: 'nuèch'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'del matin',\n afternoon: 'de l’aprèp-miègjorn',\n evening: 'del ser',\n night: 'de la nuèch'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'del matin',\n afternoon: 'de l’aprèp-miègjorn',\n evening: 'del ser',\n night: 'de la nuèch'\n },\n wide: {\n am: 'ante meridiem',\n pm: 'post meridiem',\n midnight: 'mièjanuèch',\n noon: 'miègjorn',\n morning: 'del matin',\n afternoon: 'de l’aprèp-miègjorn',\n evening: 'del ser',\n night: 'de la nuèch'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n var ordinal;\n\n switch (number) {\n case 1:\n ordinal = 'èr';\n break;\n\n case 2:\n ordinal = 'nd';\n break;\n\n default:\n ordinal = 'en';\n } // feminine for year, week, hour, minute, second\n\n\n if (unit === 'year' || unit === 'week' || unit === 'hour' || unit === 'minute' || unit === 'second') {\n ordinal += 'a';\n }\n\n return number + ordinal;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(èr|nd|en)?[a]?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ab\\.J\\.C|apr\\.J\\.C|apr\\.J\\.-C)/i,\n abbreviated: /^(ab\\.J\\.-C|ab\\.J-C|apr\\.J\\.-C|apr\\.J-C|ap\\.J-C)/i,\n wide: /^(abans Jèsus-Crist|après Jèsus-Crist)/i\n};\nvar parseEraPatterns = {\n any: [/^ab/i, /^ap/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^T[1234]/i,\n abbreviated: /^[1234](èr|nd|en)? trim\\.?/i,\n wide: /^[1234](èr|nd|en)? trimèstre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i,\n abbreviated: /^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\\.?/i,\n wide: /^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i\n};\nvar parseMonthPatterns = {\n any: [/^g/i, /^f/i, /^ma[r?]|MÇ/i, /^ab/i, /^ma[i?]/i, /^ju[n?]|JN/i, /^ju[l?]|JL/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^d[glmcjvs]\\.?/i,\n short: /^d[glmcjvs]\\.?/i,\n abbreviated: /^d[glmcjvs]\\.?/i,\n wide: /^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i\n};\nvar parseDayPatterns = {\n narrow: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i],\n short: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i],\n abbreviated: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i],\n any: [/^dg|dime/i, /^dl|dil/i, /^dm|dima/i, /^dc|dimè/i, /^dj|dij/i, /^dv|div/i, /^ds|dis/i]\n};\nvar matchDayPeriodPatterns = {\n any: /(^(a\\.?m|p\\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /(^a)|ante meridiem/i,\n pm: /(^p)|post meridiem/i,\n midnight: /^mièj/i,\n noon: /^mièg/i,\n morning: /matin/i,\n afternoon: /aprèp-miègjorn/i,\n evening: /vèspre|ser/i,\n night: /nuèch/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Occitan locale.\n * @language Occitan\n * @iso-639-2 oci\n * @author Quentin PAGÈS\n */\n\nvar locale = {\n code: 'oc',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","ordinal","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,2BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,oBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,yBACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,eACR,EACD,WAAY,CACV,IAAK,cACL,MAAO,sBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqB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AQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAM,EACpE,IAAK,CAAC,YAAa,WAAY,YAAa,YAAa,WAAY,WAAY,UAAU,CAC7F,EACIC,EAAyB,CAC3B,IAAK,8GACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,sBACJ,GAAI,sBACJ,SAAU,SACV,KAAM,SACN,QAAS,SACT,UAAW,kBACX,QAAS,cACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUe,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.47c106c9.js b/assets/index.47c106c9.js new file mode 100644 index 0000000000..e034a813a1 --- /dev/null +++ b/assets/index.47c106c9.js @@ -0,0 +1,2 @@ +import{d as u,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as l}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},c=function(e,t,a){var n,i=h[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",String(t)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?n+"内":n+"前":n},f={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},v={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},g={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},b={date:u({formats:f,defaultWidth:"full"}),time:u({formats:v,defaultWidth:"full"}),dateTime:u({formats:g,defaultWidth:"full"})};function m(r,e,t){var a="eeee p";return l(r,e,t)?a:r.getTime()>e.getTime()?"'下个'"+a:"'上个'"+a}var P={lastWeek:m,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:m,other:"PP p"},y=function(e,t,a,n){var i=P[e];return typeof i=="function"?i(t,a,n):i},w={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},p={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},W={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},M={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},k={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},S={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},x=function(e,t){var a=Number(e);switch(t==null?void 0:t.unit){case"date":return a.toString()+"日";case"hour":return a.toString()+"时";case"minute":return a.toString()+"分";case"second":return a.toString()+"秒";default:return"第 "+a.toString()}},D={ordinalNumber:x,era:o({values:w,defaultWidth:"wide"}),quarter:o({values:p,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:W,defaultWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:k,defaultWidth:"wide",formattingValues:S,defaultFormattingWidth:"wide"})},F=/^(第\s*)?\d+(日|时|分|秒)?/i,z=/\d+/i,C={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},N={any:[/^(前)/i,/^(公元)/i]},V={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},X={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},T={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},E={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},L={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},R={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Y={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},q={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},O={ordinalNumber:s({matchPattern:F,parsePattern:z,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),quarter:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:d({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:q,defaultParseWidth:"any"})},B={code:"zh-CN",formatDistance:c,formatLong:b,formatRelative:y,localize:D,match:O,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{B as default}; +//# sourceMappingURL=index.47c106c9.js.map diff --git a/assets/index.47c106c9.js.map b/assets/index.47c106c9.js.map new file mode 100644 index 0000000000..0fe49b9e93 --- /dev/null +++ b/assets/index.47c106c9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.47c106c9.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-CN/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '不到 1 秒',\n other: '不到 {{count}} 秒'\n },\n xSeconds: {\n one: '1 秒',\n other: '{{count}} 秒'\n },\n halfAMinute: '半分钟',\n lessThanXMinutes: {\n one: '不到 1 分钟',\n other: '不到 {{count}} 分钟'\n },\n xMinutes: {\n one: '1 分钟',\n other: '{{count}} 分钟'\n },\n xHours: {\n one: '1 小时',\n other: '{{count}} 小时'\n },\n aboutXHours: {\n one: '大约 1 小时',\n other: '大约 {{count}} 小时'\n },\n xDays: {\n one: '1 天',\n other: '{{count}} 天'\n },\n aboutXWeeks: {\n one: '大约 1 个星期',\n other: '大约 {{count}} 个星期'\n },\n xWeeks: {\n one: '1 个星期',\n other: '{{count}} 个星期'\n },\n aboutXMonths: {\n one: '大约 1 个月',\n other: '大约 {{count}} 个月'\n },\n xMonths: {\n one: '1 个月',\n other: '{{count}} 个月'\n },\n aboutXYears: {\n one: '大约 1 年',\n other: '大约 {{count}} 年'\n },\n xYears: {\n one: '1 年',\n other: '{{count}} 年'\n },\n overXYears: {\n one: '超过 1 年',\n other: '超过 {{count}} 年'\n },\n almostXYears: {\n one: '将近 1 年',\n other: '将近 {{count}} 年'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + '内';\n } else {\n return result + '前';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"y'年'M'月'd'日' EEEE\",\n long: \"y'年'M'月'd'日'\",\n medium: 'yyyy-MM-dd',\n short: 'yy-MM-dd'\n};\nvar timeFormats = {\n full: 'zzzz a h:mm:ss',\n long: 'z a h:mm:ss',\n medium: 'a h:mm:ss',\n short: 'a h:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\n\nfunction checkWeek(date, baseDate, options) {\n var baseFormat = 'eeee p';\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return baseFormat; // in same week\n } else if (date.getTime() > baseDate.getTime()) {\n return \"'下个'\" + baseFormat; // in next week\n }\n\n return \"'上个'\" + baseFormat; // in last week\n}\n\nvar formatRelativeLocale = {\n lastWeek: checkWeek,\n // days before yesterday, maybe in this week or last week\n yesterday: \"'昨天' p\",\n today: \"'今天' p\",\n tomorrow: \"'明天' p\",\n nextWeek: checkWeek,\n // days after tomorrow, maybe in this week or next week\n other: 'PP p'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['前', '公元'],\n abbreviated: ['前', '公元'],\n wide: ['公元前', '公元']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['第一季', '第二季', '第三季', '第四季'],\n wide: ['第一季度', '第二季度', '第三季度', '第四季度']\n};\nvar monthValues = {\n narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],\n abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\n wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']\n};\nvar dayValues = {\n narrow: ['日', '一', '二', '三', '四', '五', '六'],\n short: ['日', '一', '二', '三', '四', '五', '六'],\n abbreviated: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],\n wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']\n};\nvar dayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '凌晨',\n noon: '午',\n morning: '早',\n afternoon: '下午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜间'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜间'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '凌晨',\n noon: '午',\n morning: '早',\n afternoon: '下午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜间'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜间'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n\n switch (options === null || options === void 0 ? void 0 : options.unit) {\n case 'date':\n return number.toString() + '日';\n\n case 'hour':\n return number.toString() + '时';\n\n case 'minute':\n return number.toString() + '分';\n\n case 'second':\n return number.toString() + '秒';\n\n default:\n return '第 ' + number.toString();\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|时|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n};\nvar parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]刻/i,\n wide: /^第[一二三四]刻钟/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/i,\n wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i\n};\nvar parseMonthPatterns = {\n narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i],\n any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i]\n};\nvar matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^周[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n};\nvar parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^上午?/i,\n pm: /^下午?/i,\n midnight: /^午夜/i,\n noon: /^[中正]午/i,\n morning: /^早上/i,\n afternoon: /^下午/i,\n evening: /^晚上?/i,\n night: /^凌晨/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Chinese Simplified locale.\n * @language Chinese Simplified\n * @iso-639-2 zho\n * @author Changyu Geng [@KingMario]{@link https://github.com/KingMario}\n * @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl}\n * @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao}\n * @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork}\n * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}\n */\n\nvar locale = {\n code: 'zh-CN',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","checkWeek","date","baseDate","baseFormat","isSameUTCWeek","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"8XAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,SACL,MAAO,gBACR,EACD,SAAU,CACR,IAAK,MACL,MAAO,aACR,EACD,YAAa,MACb,iBAAkB,CAChB,IAAK,UACL,MAAO,iBACR,EACD,SAAU,CACR,IAAK,OACL,MAAO,cACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,UACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,MACL,MAAO,aACR,EACD,YAAa,CACX,IAAK,WACL,MAAO,kBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,aAAc,CACZ,IAAK,UACL,MAAO,iBACR,EACD,QAAS,CACP,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,SACL,MAAO,gBACR,EACD,OAAQ,CACN,IAAK,MACL,MAAO,aACR,EACD,WAAY,CACV,IAAK,SACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,SACL,MAAO,gBACR,CACH,EAEIC,EAAiB,SAAwBC,E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,eAAgB,OAAQ,MAAM,EACtG,IAAK,CAAC,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,kBAAmB,UAAW,SAAS,CAChI,EACIC,EAAmB,CACrB,OAAQ,cACR,MAAO,cACP,YAAa,eACb,KAAM,eACR,EACIC,EAAmB,CACrB,IAAK,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,CAChD,EACIC,EAAyB,CAC3B,IAAK,qCACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,QACJ,GAAI,QACJ,SAAU,OACV,KAAM,UACN,QAAS,OACT,UAAW,OACX,QAAS,QACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC5EIM,EAAS,CACX,KAAM,QACN,eAAgBhD,EAChB,WAAYS,EACZ,eAAgBQ,EAChB,SAAUW,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.49d553e0.js b/assets/index.49d553e0.js new file mode 100644 index 0000000000..2cec0e9b7b --- /dev/null +++ b/assets/index.49d553e0.js @@ -0,0 +1,2 @@ +import{o as a,q as t,u as o,v as e}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{f as r}from"./index.53b8c5bf.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var c={code:"en-IE",formatDistance:a,formatLong:r,formatRelative:t,localize:o,match:e,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{c as default}; +//# sourceMappingURL=index.49d553e0.js.map diff --git a/assets/index.49d553e0.js.map b/assets/index.49d553e0.js.map new file mode 100644 index 0000000000..9217d1a39f --- /dev/null +++ b/assets/index.49d553e0.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.49d553e0.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-IE/index.js"],"sourcesContent":["import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatLong from \"../en-GB/_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (Ireland).\n * @language English\n * @iso-639-2 eng\n * @author Tetiana [@tan75]{@link https://github.com/tan75}\n */\n\nvar locale = {\n code: 'en-IE',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["locale","formatDistance","formatLong","formatRelative","localize","match"],"mappings":"8XAcG,IAACA,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYC,EACZ,eAAgBC,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.4a2b8680.js b/assets/index.4a2b8680.js new file mode 100644 index 0000000000..eeb3576bad --- /dev/null +++ b/assets/index.4a2b8680.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}},h=function(e,n,o){var a=m[e],t;return typeof a=="string"?t=a:n===1?t=a.one:n===2?t=a.two:n<=10?t=a.threeToTen.replace("{{count}}",String(n)):t=a.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"خلال "+t:"منذ "+t:t},l={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},c={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},f={full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},w={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},g=function(e){return w[e]},b={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},P={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},T={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},y={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},p={narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},M={narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},W=function(e){return String(e)},k={ordinalNumber:W,era:i({values:b,defaultWidth:"wide"}),quarter:i({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:T,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:p,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^(\d+)(th|st|nd|rd)?/i,x=/\d+/i,H={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},F={any:[/قبل/,/بعد/]},X={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},C={any:[/1/i,/2/i,/3/i,/4/i]},S={narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},V={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},E={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},L={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},N={narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},R={any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},Y={ordinalNumber:s({matchPattern:D,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:d({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:d({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},G={code:"ar",formatDistance:h,formatLong:v,formatRelative:g,localize:k,match:Y,options:{weekStartsOn:6,firstWeekContainsDate:1}};export{G as default}; +//# sourceMappingURL=index.4a2b8680.js.map diff --git a/assets/index.4a2b8680.js.map b/assets/index.4a2b8680.js.map new file mode 100644 index 0000000000..e356211d08 --- /dev/null +++ b/assets/index.4a2b8680.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.4a2b8680.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية',\n two: 'أقل من ثانيتين',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية واحدة',\n two: 'ثانيتان',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نصف دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقائق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة واحدة',\n two: 'دقيقتان',\n threeToTen: '{{count}} دقائق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'ساعة واحدة تقريباً',\n two: 'ساعتين تقريبا',\n threeToTen: '{{count}} ساعات تقريباً',\n other: '{{count}} ساعة تقريباً'\n },\n xHours: {\n one: 'ساعة واحدة',\n two: 'ساعتان',\n threeToTen: '{{count}} ساعات',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'يوم واحد',\n two: 'يومان',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'أسبوع واحد تقريبا',\n two: 'أسبوعين تقريبا',\n threeToTen: '{{count}} أسابيع تقريبا',\n other: '{{count}} أسبوعا تقريبا'\n },\n xWeeks: {\n one: 'أسبوع واحد',\n two: 'أسبوعان',\n threeToTen: '{{count}} أسابيع',\n other: '{{count}} أسبوعا'\n },\n aboutXMonths: {\n one: 'شهر واحد تقريباً',\n two: 'شهرين تقريبا',\n threeToTen: '{{count}} أشهر تقريبا',\n other: '{{count}} شهرا تقريباً'\n },\n xMonths: {\n one: 'شهر واحد',\n two: 'شهران',\n threeToTen: '{{count}} أشهر',\n other: '{{count}} شهرا'\n },\n aboutXYears: {\n one: 'سنة واحدة تقريباً',\n two: 'سنتين تقريبا',\n threeToTen: '{{count}} سنوات تقريباً',\n other: '{{count}} سنة تقريباً'\n },\n xYears: {\n one: 'سنة واحد',\n two: 'سنتان',\n threeToTen: '{{count}} سنوات',\n other: '{{count}} سنة'\n },\n overXYears: {\n one: 'أكثر من سنة',\n two: 'أكثر من سنتين',\n threeToTen: 'أكثر من {{count}} سنوات',\n other: 'أكثر من {{count}} سنة'\n },\n almostXYears: {\n one: 'ما يقارب سنة واحدة',\n two: 'ما يقارب سنتين',\n threeToTen: 'ما يقارب {{count}} سنوات',\n other: 'ما يقارب {{count}} سنة'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var usageGroup = formatDistanceLocale[token];\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else if (count === 2) {\n result = usageGroup.two;\n } else if (count <= 10) {\n result = usageGroup.threeToTen.replace('{{count}}', String(count));\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'خلال ' + result;\n } else {\n return 'منذ ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE، do MMMM y',\n long: 'do MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss',\n long: 'HH:mm:ss',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'عند الساعة' {{time}}\",\n long: \"{{date}} 'عند الساعة' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'الماضي عند الساعة' p\",\n yesterday: \"'الأمس عند الساعة' p\",\n today: \"'اليوم عند الساعة' p\",\n tomorrow: \"'غدا عند الساعة' p\",\n nextWeek: \"eeee 'القادم عند الساعة' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'],\n abbreviated: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],\n wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n morning: 'الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'المساء',\n night: 'الليل',\n midnight: 'منتصف الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n morning: 'الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'المساء',\n night: 'الليل',\n midnight: 'منتصف الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n morning: 'الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'المساء',\n night: 'الليل',\n midnight: 'منتصف الليل'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n morning: 'في الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل',\n midnight: 'منتصف الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n morning: 'في الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل',\n midnight: 'منتصف الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n morning: 'في الصباح',\n noon: 'الظهر',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل',\n midnight: 'منتصف الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(num) {\n return String(num);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /[قب]/,\n abbreviated: /[قب]\\.م\\./,\n wide: /(قبل|بعد) الميلاد/\n};\nvar parseEraPatterns = {\n any: [/قبل/, /بعد/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /ر[1234]/,\n wide: /الربع (الأول|الثاني|الثالث|الرابع)/\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[أيفمسند]/,\n abbreviated: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,\n wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/\n};\nvar parseMonthPatterns = {\n narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i],\n any: [/^يناير/i, /^فبراير/i, /^مارس/i, /^أبريل/i, /^مايو/i, /^يونيو/i, /^يوليو/i, /^أغسطس/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i]\n};\nvar matchDayPatterns = {\n narrow: /^[حنثرخجس]/i,\n short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i],\n wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i],\n any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,\n any: /^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ص/,\n pm: /^م/,\n midnight: /منتصف الليل/,\n noon: /الظهر/,\n afternoon: /بعد الظهر/,\n morning: /في الصباح/,\n evening: /في المساء/,\n night: /في الليل/\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Modern Standard Arabic - Al-fussha).\n * @language Modern Standard Arabic\n * @iso-639-2 ara\n * @author Abdallah Hassan [@AbdallahAHO]{@link https://github.com/AbdallahAHO}\n * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3}\n */\nvar locale = {\n code: 'ar',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 6\n /* Saturday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","usageGroup","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","num","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,gBACL,WAAY,0BACZ,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,oBACL,IAAK,iBACL,WAAY,0BACZ,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,UACL,WAAY,mBACZ,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US,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.4ca8df01.js b/assets/index.4ca8df01.js new file mode 100644 index 0000000000..074e981c19 --- /dev/null +++ b/assets/index.4ca8df01.js @@ -0,0 +1,2 @@ +import{d as v,t as d,e as o,f,g as l}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.2b8b0fc4.js";import{i as m}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function s(a,e){if(a.one!==void 0&&e===1)return a.one;var i=e%10,t=e%100;return i===1&&t!==11?a.singularNominative.replace("{{count}}",String(e)):i>=2&&i<=4&&(t<10||t>20)?a.singularGenitive.replace("{{count}}",String(e)):a.pluralGenitive.replace("{{count}}",String(e))}function n(a){return function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?a.future?s(a.future,e):"праз "+s(a.regular,e):a.past?s(a.past,e):s(a.regular,e)+" таму":s(a.regular,e)}}var p=function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны"},h={lessThanXSeconds:n({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:n({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:p,lessThanXMinutes:n({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:n({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:n({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:n({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:n({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:n({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:n({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:n({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:n({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:n({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:n({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:n({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:n({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},G=function(e,i,t){return t=t||{},h[e](i,t)},b={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},w={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},y={any:"{{date}}, {{time}}"},N={date:v({formats:b,defaultWidth:"full"}),time:v({formats:w,defaultWidth:"full"}),dateTime:v({formats:y,defaultWidth:"any"})},c=["нядзелю","панядзелак","аўторак","сераду","чацьвер","пятніцу","суботу"];function P(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у мінулую "+e+" а' p";case 1:case 2:case 4:return"'у мінулы "+e+" а' p"}}function g(a){var e=c[a];return"'у "+e+" а' p"}function W(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у наступную "+e+" а' p";case 1:case 2:case 4:return"'у наступны "+e+" а' p"}}var M=function(e,i,t){var u=d(e),r=u.getUTCDay();return m(u,i,t)?g(r):P(r)},k=function(e,i,t){var u=d(e),r=u.getUTCDay();return m(u,i,t)?g(r):W(r)},x={lastWeek:M,yesterday:"'учора а' p",today:"'сёньня а' p",tomorrow:"'заўтра а' p",nextWeek:k,other:"P"},F=function(e,i,t,u){var r=x[e];return typeof r=="function"?r(i,t,u):r},D={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},C={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},S={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","сьнежань"]},z={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзеня","лютага","сакавіка","красавіка","траўня","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","сьнежня"]},V={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чаць","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"]},T={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},X={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},L=function(e,i){var t=String(i==null?void 0:i.unit),u=Number(e),r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(u%10===2||u%10===3)&&u%100!==12&&u%100!==13?"-і":"-ы",u+r},E={ordinalNumber:L,era:o({values:D,defaultWidth:"wide"}),quarter:o({values:C,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:S,defaultWidth:"wide",formattingValues:z,defaultFormattingWidth:"wide"}),day:o({values:V,defaultWidth:"wide"}),dayPeriod:o({values:T,defaultWidth:"any",formattingValues:X,defaultFormattingWidth:"wide"})},H=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,R=/\d+/i,Y={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},q={any:[/^д/i,/^н/i]},A={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},O={any:[/1/i,/2/i,/3/i,/4/i]},U={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i},Q={narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^тр/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},I={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i},_={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},j={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},B={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},J={ordinalNumber:f({matchPattern:H,parsePattern:R,valueCallback:function(e){return parseInt(e,10)}}),era:l({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),quarter:l({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),day:l({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"})},ne={code:"be-tarask",formatDistance:G,formatLong:N,formatRelative:F,localize:E,match:J,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{ne as default}; +//# sourceMappingURL=index.4ca8df01.js.map diff --git a/assets/index.4ca8df01.js.map b/assets/index.4ca8df01.js.map new file mode 100644 index 0000000000..2dbe888217 --- /dev/null +++ b/assets/index.4ca8df01.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.4ca8df01.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be-tarask/index.js"],"sourcesContent":["function declension(scheme, count) {\n // scheme for count=1 exists\n if (scheme.one !== undefined && count === 1) {\n return scheme.one;\n }\n\n var rem10 = count % 10;\n var rem100 = count % 100; // 1, 21, 31, ...\n\n if (rem10 === 1 && rem100 !== 11) {\n return scheme.singularNominative.replace('{{count}}', String(count)); // 2, 3, 4, 22, 23, 24, 32 ...\n } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {\n return scheme.singularGenitive.replace('{{count}}', String(count)); // 5, 6, 7, 8, 9, 10, 11, ...\n } else {\n return scheme.pluralGenitive.replace('{{count}}', String(count));\n }\n}\n\nfunction buildLocalizeTokenFn(scheme) {\n return function (count, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (scheme.future) {\n return declension(scheme.future, count);\n } else {\n return 'праз ' + declension(scheme.regular, count);\n }\n } else {\n if (scheme.past) {\n return declension(scheme.past, count);\n } else {\n return declension(scheme.regular, count) + ' таму';\n }\n }\n } else {\n return declension(scheme.regular, count);\n }\n };\n}\n\nvar halfAMinute = function halfAMinute(_, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'праз паўхвіліны';\n } else {\n return 'паўхвіліны таму';\n }\n }\n\n return 'паўхвіліны';\n};\n\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n regular: {\n one: 'менш за секунду',\n singularNominative: 'менш за {{count}} секунду',\n singularGenitive: 'менш за {{count}} секунды',\n pluralGenitive: 'менш за {{count}} секунд'\n },\n future: {\n one: 'менш, чым праз секунду',\n singularNominative: 'менш, чым праз {{count}} секунду',\n singularGenitive: 'менш, чым праз {{count}} секунды',\n pluralGenitive: 'менш, чым праз {{count}} секунд'\n }\n }),\n xSeconds: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} секунда',\n singularGenitive: '{{count}} секунды',\n pluralGenitive: '{{count}} секунд'\n },\n past: {\n singularNominative: '{{count}} секунду таму',\n singularGenitive: '{{count}} секунды таму',\n pluralGenitive: '{{count}} секунд таму'\n },\n future: {\n singularNominative: 'праз {{count}} секунду',\n singularGenitive: 'праз {{count}} секунды',\n pluralGenitive: 'праз {{count}} секунд'\n }\n }),\n halfAMinute: halfAMinute,\n lessThanXMinutes: buildLocalizeTokenFn({\n regular: {\n one: 'менш за хвіліну',\n singularNominative: 'менш за {{count}} хвіліну',\n singularGenitive: 'менш за {{count}} хвіліны',\n pluralGenitive: 'менш за {{count}} хвілін'\n },\n future: {\n one: 'менш, чым праз хвіліну',\n singularNominative: 'менш, чым праз {{count}} хвіліну',\n singularGenitive: 'менш, чым праз {{count}} хвіліны',\n pluralGenitive: 'менш, чым праз {{count}} хвілін'\n }\n }),\n xMinutes: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} хвіліна',\n singularGenitive: '{{count}} хвіліны',\n pluralGenitive: '{{count}} хвілін'\n },\n past: {\n singularNominative: '{{count}} хвіліну таму',\n singularGenitive: '{{count}} хвіліны таму',\n pluralGenitive: '{{count}} хвілін таму'\n },\n future: {\n singularNominative: 'праз {{count}} хвіліну',\n singularGenitive: 'праз {{count}} хвіліны',\n pluralGenitive: 'праз {{count}} хвілін'\n }\n }),\n aboutXHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} гадзіны',\n singularGenitive: 'каля {{count}} гадзін',\n pluralGenitive: 'каля {{count}} гадзін'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} гадзіну',\n singularGenitive: 'прыблізна праз {{count}} гадзіны',\n pluralGenitive: 'прыблізна праз {{count}} гадзін'\n }\n }),\n xHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} гадзіна',\n singularGenitive: '{{count}} гадзіны',\n pluralGenitive: '{{count}} гадзін'\n },\n past: {\n singularNominative: '{{count}} гадзіну таму',\n singularGenitive: '{{count}} гадзіны таму',\n pluralGenitive: '{{count}} гадзін таму'\n },\n future: {\n singularNominative: 'праз {{count}} гадзіну',\n singularGenitive: 'праз {{count}} гадзіны',\n pluralGenitive: 'праз {{count}} гадзін'\n }\n }),\n xDays: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} дзень',\n singularGenitive: '{{count}} дні',\n pluralGenitive: '{{count}} дзён'\n }\n }),\n aboutXWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} месяца',\n // TODO\n singularGenitive: 'каля {{count}} месяцаў',\n // TODO\n pluralGenitive: 'каля {{count}} месяцаў' // TODO\n\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} месяц',\n // TODO\n singularGenitive: 'прыблізна праз {{count}} месяцы',\n // TODO\n pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO\n\n }\n }),\n xWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} месяц',\n singularGenitive: '{{count}} месяцы',\n pluralGenitive: '{{count}} месяцаў'\n }\n }),\n aboutXMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} месяца',\n singularGenitive: 'каля {{count}} месяцаў',\n pluralGenitive: 'каля {{count}} месяцаў'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} месяц',\n singularGenitive: 'прыблізна праз {{count}} месяцы',\n pluralGenitive: 'прыблізна праз {{count}} месяцаў'\n }\n }),\n xMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} месяц',\n singularGenitive: '{{count}} месяцы',\n pluralGenitive: '{{count}} месяцаў'\n }\n }),\n aboutXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} года',\n singularGenitive: 'каля {{count}} гадоў',\n pluralGenitive: 'каля {{count}} гадоў'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} год',\n singularGenitive: 'прыблізна праз {{count}} гады',\n pluralGenitive: 'прыблізна праз {{count}} гадоў'\n }\n }),\n xYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} год',\n singularGenitive: '{{count}} гады',\n pluralGenitive: '{{count}} гадоў'\n }\n }),\n overXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'больш за {{count}} год',\n singularGenitive: 'больш за {{count}} гады',\n pluralGenitive: 'больш за {{count}} гадоў'\n },\n future: {\n singularNominative: 'больш, чым праз {{count}} год',\n singularGenitive: 'больш, чым праз {{count}} гады',\n pluralGenitive: 'больш, чым праз {{count}} гадоў'\n }\n }),\n almostXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'амаль {{count}} год',\n singularGenitive: 'амаль {{count}} гады',\n pluralGenitive: 'амаль {{count}} гадоў'\n },\n future: {\n singularNominative: 'амаль праз {{count}} год',\n singularGenitive: 'амаль праз {{count}} гады',\n pluralGenitive: 'амаль праз {{count}} гадоў'\n }\n })\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n return formatDistanceLocale[token](count, options);\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d MMMM y 'г.'\",\n long: \"d MMMM y 'г.'\",\n medium: \"d MMM y 'г.'\",\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import { toDate } from \"../../../../index.js\";\nimport isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацьвер', 'пятніцу', 'суботу'];\n\nfunction lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у мінулую \" + weekday + \" а' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у мінулы \" + weekday + \" а' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'у \" + weekday + \" а' p\";\n}\n\nfunction nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у наступную \" + weekday + \" а' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у наступны \" + weekday + \" а' p\";\n }\n}\n\nvar lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n};\n\nvar nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n};\n\nvar formatRelativeLocale = {\n lastWeek: lastWeekFormat,\n yesterday: \"'учора а' p\",\n today: \"'сёньня а' p\",\n tomorrow: \"'заўтра а' p\",\n nextWeek: nextWeekFormat,\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['да н.э.', 'н.э.'],\n abbreviated: ['да н. э.', 'н. э.'],\n wide: ['да нашай эры', 'нашай эры']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'],\n wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал']\n};\nvar monthValues = {\n narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'],\n abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'],\n wide: ['студзень', 'люты', 'сакавік', 'красавік', 'травень', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'сьнежань']\n};\nvar formattingMonthValues = {\n narrow: ['С', 'Л', 'С', 'К', 'Т', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'],\n abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'трав.', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'сьнеж.'],\n wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'траўня', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'сьнежня']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'],\n short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'],\n abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чаць', 'пят', 'суб'],\n wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацьвер', 'пятніца', 'субота']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дзень',\n evening: 'веч.',\n night: 'ноч'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дзень',\n evening: 'веч.',\n night: 'ноч'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўнач',\n noon: 'поўдзень',\n morning: 'раніца',\n afternoon: 'дзень',\n evening: 'вечар',\n night: 'ноч'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночы'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночы'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўнач',\n noon: 'поўдзень',\n morning: 'раніцы',\n afternoon: 'дня',\n evening: 'вечара',\n night: 'ночы'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n var number = Number(dirtyNumber);\n var suffix;\n /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk)\n * For date-month combinations should be used `d` formatter.\n * Correct: `d MMMM` (4 верасня)\n * Incorrect: `do MMMM` (4-га верасня)\n *\n * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month).\n * So for phrase \"5th day of month\" (`do дзень месяца`)\n * library will produce: `5-га дзень месяца`\n * but correct spelling should be: `5-ы дзень месяца`\n *\n * So I guess there should be a stand-alone and a formatting version of \"day of month\" formatters\n */\n\n if (unit === 'date') {\n suffix = '-га';\n } else if (unit === 'hour' || unit === 'minute' || unit === 'second') {\n suffix = '-я';\n } else {\n suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((да )?н\\.?\\s?э\\.?)/i,\n abbreviated: /^((да )?н\\.?\\s?э\\.?)/i,\n wide: /^(да нашай эры|нашай эры|наша эра)/i\n};\nvar parseEraPatterns = {\n any: [/^д/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[ыі]?)? кв.?/i,\n wide: /^[1234](-?[ыі]?)? квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[слкмчжв]/i,\n abbreviated: /^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\\.?/i,\n wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i],\n any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^тр/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i]\n};\nvar matchDayPatterns = {\n narrow: /^[нпасч]/i,\n short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\\.?/i,\n abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i,\n wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([дп]п|поўн\\.?|поўд\\.?|ран\\.?|дзень|дня|веч\\.?|ночы?)/i,\n abbreviated: /^([дп]п|поўн\\.?|поўд\\.?|ран\\.?|дзень|дня|веч\\.?|ночы?)/i,\n wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^дп/i,\n pm: /^пп/i,\n midnight: /^поўн/i,\n noon: /^поўд/i,\n morning: /^р/i,\n afternoon: /^д[зн]/i,\n evening: /^в/i,\n night: /^н/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Belarusian Classic locale.\n * @language Belarusian Classic\n * @iso-639-2 bel\n * @author Ryhor Nopears [@nopears]{@link https://github.com/nopears}\n */\n\nvar locale = {\n code: 'be-tarask',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["declension","scheme","count","rem10","rem100","buildLocalizeTokenFn","options","halfAMinute","_","formatDistanceLocale","formatDistance","token","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","lastWeek","day","weekday","thisWeek","nextWeek","lastWeekFormat","dirtyDate","baseDate","date","toDate","isSameUTCWeek","nextWeekFormat","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","unit","number","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"4ZAAA,SAASA,EAAWC,EAAQC,EAAO,CAEjC,GAAID,EAAO,MAAQ,QAAaC,IAAU,EACxC,OAAOD,EAAO,IAGhB,IAAIE,EAAQD,EAAQ,GAChBE,EAASF,EAAQ,IAErB,OAAIC,IAAU,GAAKC,IAAW,GACrBH,EAAO,mBAAmB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAC1DC,GAAS,GAAKA,GAAS,IAAMC,EAAS,IAAMA,EAAS,IACvDH,EAAO,iBAAiB,QAA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AAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,GAAS,CACX,KAAM,YACN,eAAgBvD,EAChB,WAAYK,EACZ,eAAgBgB,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.4ecef494.js b/assets/index.4ecef494.js new file mode 100644 index 0000000000..53dd33bff3 --- /dev/null +++ b/assets/index.4ecef494.js @@ -0,0 +1,2 @@ +import{d,e as i,f as u,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:"តិចជាង {{count}} វិនាទី",xSeconds:"{{count}} វិនាទី",halfAMinute:"កន្លះនាទី",lessThanXMinutes:"តិចជាង {{count}} នាទី",xMinutes:"{{count}} នាទី",aboutXHours:"ប្រហែល {{count}} ម៉ោង",xHours:"{{count}} ម៉ោង",xDays:"{{count}} ថ្ងៃ",aboutXWeeks:"ប្រហែល {{count}} សប្តាហ៍",xWeeks:"{{count}} សប្តាហ៍",aboutXMonths:"ប្រហែល {{count}} ខែ",xMonths:"{{count}} ខែ",aboutXYears:"ប្រហែល {{count}} ឆ្នាំ",xYears:"{{count}} ឆ្នាំ",overXYears:"ជាង {{count}} ឆ្នាំ",almostXYears:"ជិត {{count}} ឆ្នាំ"},l=function(a,o,t){var m=s[a],r=m;return typeof o=="number"&&(r=r.replace("{{count}}",o.toString())),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"ក្នុងរយៈពេល "+r:r+"មុន":r},h={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},v={full:"h:mm:ss a",long:"h:mm:ss a",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} 'ម៉ោង' {{time}}",long:"{{date}} 'ម៉ោង' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:d({formats:h,defaultWidth:"full"}),time:d({formats:v,defaultWidth:"full"}),dateTime:d({formats:c,defaultWidth:"full"})},b={lastWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p",yesterday:"'ម្សិលមិញនៅម៉ោង' p",today:"'ថ្ងៃនេះម៉ោង' p",tomorrow:"'ថ្ងៃស្អែកម៉ោង' p",nextWeek:"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p",other:"P"},g=function(a,o,t,m){return b[a]},P={narrow:["ម.គស","គស"],abbreviated:["មុនគ.ស","គ.ស"],wide:["មុនគ្រិស្តសករាជ","នៃគ្រិស្តសករាជ"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ត្រីមាសទី 1","ត្រីមាសទី 2","ត្រីមាសទី 3","ត្រីមាសទី 4"]},y={narrow:["ម.ក","ក.ម","មិ","ម.ស","ឧ.ស","ម.ថ","ក.ដ","សី","កញ","តុ","វិ","ធ"],abbreviated:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],wide:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"]},p={narrow:["អា","ច","អ","ព","ព្រ","សុ","ស"],short:["អា","ច","អ","ព","ព្រ","សុ","ស"],abbreviated:["អា","ច","អ","ព","ព្រ","សុ","ស"],wide:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"]},M={narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},W={narrow:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},abbreviated:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"},wide:{am:"ព្រឹក",pm:"ល្ងាច",midnight:"​ពេលកណ្ដាលអធ្រាត្រ",noon:"ពេលថ្ងៃត្រង់",morning:"ពេលព្រឹក",afternoon:"ពេលរសៀល",evening:"ពេលល្ងាច",night:"ពេលយប់"}},k=function(a,o){var t=Number(a);return t.toString()},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:w,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:y,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(th|st|nd|rd)?/i,F=/\d+/i,V={narrow:/^(ម\.)?គស/i,abbreviated:/^(មុន)?គ\.ស/i,wide:/^(មុន|នៃ)គ្រិស្តសករាជ/i},X={any:[/^(ម|មុន)គ\.?ស/i,/^(នៃ)?គ\.?ស/i]},C={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^(ត្រីមាស)(ទី)?\s?[1234]/i},N={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i,abbreviated:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i,wide:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i},L={narrow:[/^ម\.ក/i,/^ក\.ម/i,/^មិ/i,/^ម\.ស/i,/^ឧ\.ស/i,/^ម\.ថ/i,/^ក\.ដ/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិ/i,/^ធ/i],any:[/^មក/i,/^កុ/i,/^មីន/i,/^មេ/i,/^ឧស/i,/^មិថ/i,/^កក/i,/^សី/i,/^កញ/i,/^តុ/i,/^វិច/i,/^ធ/i]},Q={narrow:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,short:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,abbreviated:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,wide:/^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i},S={narrow:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^ស/i],any:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^សៅ/i]},q={narrow:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i,any:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i},R={any:{am:/^ព្រឹក/i,pm:/^ល្ងាច/i,midnight:/^ពេលកណ្ដាលអធ្រាត្រ/i,noon:/^ពេលថ្ងៃត្រង់/i,morning:/ពេលព្រឹក/i,afternoon:/ពេលរសៀល/i,evening:/ពេលល្ងាច/i,night:/ពេលយប់/i}},T={ordinalNumber:u({matchPattern:x,parsePattern:F,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),quarter:n({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:n({matchPatterns:Q,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:q,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},A={code:"km",formatDistance:l,formatLong:f,formatRelative:g,localize:D,match:T,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.4ecef494.js.map diff --git a/assets/index.4ecef494.js.map b/assets/index.4ecef494.js.map new file mode 100644 index 0000000000..303713f6aa --- /dev/null +++ b/assets/index.4ecef494.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.4ecef494.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/km/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: 'តិចជាង {{count}} វិនាទី',\n xSeconds: '{{count}} វិនាទី',\n halfAMinute: 'កន្លះនាទី',\n lessThanXMinutes: 'តិចជាង {{count}} នាទី',\n xMinutes: '{{count}} នាទី',\n aboutXHours: 'ប្រហែល {{count}} ម៉ោង',\n xHours: '{{count}} ម៉ោង',\n xDays: '{{count}} ថ្ងៃ',\n aboutXWeeks: 'ប្រហែល {{count}} សប្តាហ៍',\n xWeeks: '{{count}} សប្តាហ៍',\n aboutXMonths: 'ប្រហែល {{count}} ខែ',\n xMonths: '{{count}} ខែ',\n aboutXYears: 'ប្រហែល {{count}} ឆ្នាំ',\n xYears: '{{count}} ឆ្នាំ',\n overXYears: 'ជាង {{count}} ឆ្នាំ',\n almostXYears: 'ជិត {{count}} ឆ្នាំ'\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var tokenValue = formatDistanceLocale[token];\n var result = tokenValue;\n\n if (typeof count === 'number') {\n result = result.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'ក្នុងរយៈពេល ' + result;\n } else {\n return result + 'មុន';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE do MMMM y',\n long: 'do MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a',\n long: 'h:mm:ss a',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'ម៉ោង' {{time}}\",\n long: \"{{date}} 'ម៉ោង' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​មុនម៉ោង' p\",\n yesterday: \"'ម្សិលមិញនៅម៉ោង' p\",\n today: \"'ថ្ងៃនេះម៉ោង' p\",\n tomorrow: \"'ថ្ងៃស្អែកម៉ោង' p\",\n nextWeek: \"'ថ្ងៃ'eeee'ស​ប្តា​ហ៍​ក្រោយម៉ោង' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ម.គស', 'គស'],\n abbreviated: ['មុនគ.ស', 'គ.ស'],\n wide: ['មុនគ្រិស្តសករាជ', 'នៃគ្រិស្តសករាជ']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['ត្រីមាសទី 1', 'ត្រីមាសទី 2', 'ត្រីមាសទី 3', 'ត្រីមាសទី 4']\n};\nvar monthValues = {\n narrow: ['ម.ក', 'ក.ម', 'មិ', 'ម.ស', 'ឧ.ស', 'ម.ថ', 'ក.ដ', 'សី', 'កញ', 'តុ', 'វិ', 'ធ'],\n abbreviated: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'],\n wide: ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ']\n};\nvar dayValues = {\n narrow: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'],\n short: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'],\n abbreviated: ['អា', 'ច', 'អ', 'ព', 'ព្រ', 'សុ', 'ស'],\n wide: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n },\n abbreviated: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n },\n wide: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n },\n abbreviated: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n },\n wide: {\n am: 'ព្រឹក',\n pm: 'ល្ងាច',\n midnight: '​ពេលកណ្ដាលអធ្រាត្រ',\n noon: 'ពេលថ្ងៃត្រង់',\n morning: 'ពេលព្រឹក',\n afternoon: 'ពេលរសៀល',\n evening: 'ពេលល្ងាច',\n night: 'ពេលយប់'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _) {\n var number = Number(dirtyNumber);\n return number.toString();\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ម\\.)?គស/i,\n abbreviated: /^(មុន)?គ\\.ស/i,\n wide: /^(មុន|នៃ)គ្រិស្តសករាជ/i\n};\nvar parseEraPatterns = {\n any: [/^(ម|មុន)គ\\.?ស/i, /^(នៃ)?គ\\.?ស/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^(ត្រីមាស)(ទី)?\\s?[1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(ម\\.ក|ក\\.ម|មិ|ម\\.ស|ឧ\\.ស|ម\\.ថ|ក\\.ដ|សី|កញ|តុ|វិ|ធ)/i,\n abbreviated: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i,\n wide: /^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ម\\.ក/i, /^ក\\.ម/i, /^មិ/i, /^ម\\.ស/i, /^ឧ\\.ស/i, /^ម\\.ថ/i, /^ក\\.ដ/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិ/i, /^ធ/i],\n any: [/^មក/i, /^កុ/i, /^មីន/i, /^មេ/i, /^ឧស/i, /^មិថ/i, /^កក/i, /^សី/i, /^កញ/i, /^តុ/i, /^វិច/i, /^ធ/i]\n};\nvar matchDayPatterns = {\n narrow: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,\n short: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,\n abbreviated: /^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,\n wide: /^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i\n};\nvar parseDayPatterns = {\n narrow: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^ស/i],\n any: [/^អា/i, /^ច/i, /^អ/i, /^ព/i, /^ព្រ/i, /^សុ/i, /^សៅ/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i,\n any: /^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ព្រឹក/i,\n pm: /^ល្ងាច/i,\n midnight: /^ពេលកណ្ដាលអធ្រាត្រ/i,\n noon: /^ពេលថ្ងៃត្រង់/i,\n morning: /ពេលព្រឹក/i,\n afternoon: /ពេលរសៀល/i,\n evening: /ពេលល្ងាច/i,\n night: /ពេលយប់/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Khmer locale (Cambodian).\n * @language Khmer\n * @iso-639-2 khm\n * @author Seanghay Yath [@seanghay]{@link https://github.com/seanghay}\n */\n\nvar locale = {\n code: 'km',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","tokenValue","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,0BAClB,SAAU,mBACV,YAAa,YACb,iBAAkB,wBAClB,SAAU,iBACV,YAAa,wBACb,OAAQ,iBACR,MAAO,iBACP,YAAa,2BACb,OAAQ,oBACR,aAAc,sBACd,QAAS,eACT,YAAa,yBACb,OAAQ,kBACR,WAAY,sBACZ,aAAc,qBAChB,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EAAaL,EAAqBE,GAClCI,EAASD,EAMb,OAJI,OAAOF,GAAU,WACnBG,EAASA,EAAO,QAAQ,YAAaH,EAAM,SAAQ,CAAE,GAGnDC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,eAAiBE,EAEjBA,EAAS,MAIbA,CACT,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Y,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.53926116.js b/assets/index.53926116.js new file mode 100644 index 0000000000..0479b4acec --- /dev/null +++ b/assets/index.53926116.js @@ -0,0 +1,2 @@ +import{e as i,d as u,f as l,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},h={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},c={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},f={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},v={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},b={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},g={narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},P=function(a,n){var t=Number(a);return s(t)};function p(e){var a=e.toString().replace(/[१२३४५६७८९०]/g,function(n){return m.number[n]});return Number(a)}function s(e){return e.toString().replace(/\d/g,function(a){return m.locale[a]})}var w={ordinalNumber:P,era:i({values:h,defaultWidth:"wide"}),quarter:i({values:c,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:f,defaultWidth:"wide"}),day:i({values:v,defaultWidth:"wide"}),dayPeriod:i({values:b,defaultWidth:"wide",formattingValues:g,defaultFormattingWidth:"wide"})},y={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}},M=function(a,n,t){var r,d=y[a];return typeof d=="string"?r=d:n===1?r=d.one:r=d.other.replace("{{count}}",s(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+"मे ":r+" पहले":r},W={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},k={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},D={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},x={date:u({formats:W,defaultWidth:"full"}),time:u({formats:k,defaultWidth:"full"}),dateTime:u({formats:D,defaultWidth:"full"})},N={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},F=function(a,n,t,r){return N[a]},V=/^[०१२३४५६७८९]+/i,z=/^[०१२३४५६७८९]+/i,X={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},L={any:[/^b/i,/^(a|c)/i]},C={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},E={any:[/1/i,/2/i,/3/i,/4/i]},S={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},T={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},R={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},Y={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},_={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},q={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},O={ordinalNumber:l({matchPattern:V,parsePattern:z,valueCallback:p}),era:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),quarter:o({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),day:o({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:_,defaultMatchWidth:"any",parsePatterns:q,defaultParseWidth:"any"})},G={code:"hi",formatDistance:M,formatLong:x,formatRelative:F,localize:w,match:O,options:{weekStartsOn:0,firstWeekContainsDate:4}};export{G as default}; +//# sourceMappingURL=index.53926116.js.map diff --git a/assets/index.53926116.js.map b/assets/index.53926116.js.map new file mode 100644 index 0000000000..d75f363029 --- /dev/null +++ b/assets/index.53926116.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.53926116.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hi/index.js"],"sourcesContent":["import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar numberValues = {\n locale: {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n number: {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n }\n}; // CLDR #1585 - #1592\n\nvar eraValues = {\n narrow: ['ईसा-पूर्व', 'ईस्वी'],\n abbreviated: ['ईसा-पूर्व', 'ईस्वी'],\n wide: ['ईसा-पूर्व', 'ईसवी सन']\n}; // CLDR #1593 - #1616\n\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ति1', 'ति2', 'ति3', 'ति4'],\n wide: ['पहली तिमाही', 'दूसरी तिमाही', 'तीसरी तिमाही', 'चौथी तिमाही']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n// https://www.unicode.org/cldr/charts/32/summary/hi.html\n// CLDR #1617 - #1688\n\nvar monthValues = {\n narrow: ['ज', 'फ़', 'मा', 'अ', 'मई', 'जू', 'जु', 'अग', 'सि', 'अक्टू', 'न', 'दि'],\n abbreviated: ['जन', 'फ़र', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल', 'अग', 'सित', 'अक्टू', 'नव', 'दिस'],\n wide: ['जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्टूबर', 'नवंबर', 'दिसंबर']\n}; // CLDR #1689 - #1744\n\nvar dayValues = {\n narrow: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'],\n short: ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'],\n abbreviated: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],\n wide: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n },\n abbreviated: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n },\n wide: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n },\n abbreviated: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n },\n wide: {\n am: 'पूर्वाह्न',\n pm: 'अपराह्न',\n midnight: 'मध्यरात्रि',\n noon: 'दोपहर',\n morning: 'सुबह',\n afternoon: 'दोपहर',\n evening: 'शाम',\n night: 'रात'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return numberToLocale(number);\n};\n\nexport function localeToNumber(locale) {\n var enNumber = locale.toString().replace(/[१२३४५६७८९०]/g, function (match) {\n return numberValues.number[match];\n });\n return Number(enNumber);\n}\nexport function numberToLocale(enNumber) {\n return enNumber.toString().replace(/\\d/g, function (match) {\n return numberValues.locale[match];\n });\n}\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import { numberToLocale } from \"../localize/index.js\"; // Source: https://www.unicode.org/cldr/charts/32/summary/hi.html\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: '१ सेकंड से कम',\n // CLDR #1310\n other: '{{count}} सेकंड से कम'\n },\n xSeconds: {\n one: '१ सेकंड',\n other: '{{count}} सेकंड'\n },\n halfAMinute: 'आधा मिनट',\n lessThanXMinutes: {\n one: '१ मिनट से कम',\n other: '{{count}} मिनट से कम'\n },\n xMinutes: {\n one: '१ मिनट',\n // CLDR #1307\n other: '{{count}} मिनट'\n },\n aboutXHours: {\n one: 'लगभग १ घंटा',\n other: 'लगभग {{count}} घंटे'\n },\n xHours: {\n one: '१ घंटा',\n // CLDR #1304\n other: '{{count}} घंटे' // CLDR #4467\n\n },\n xDays: {\n one: '१ दिन',\n // CLDR #1286\n other: '{{count}} दिन'\n },\n aboutXWeeks: {\n one: 'लगभग १ सप्ताह',\n other: 'लगभग {{count}} सप्ताह'\n },\n xWeeks: {\n one: '१ सप्ताह',\n other: '{{count}} सप्ताह'\n },\n aboutXMonths: {\n one: 'लगभग १ महीना',\n other: 'लगभग {{count}} महीने'\n },\n xMonths: {\n one: '१ महीना',\n other: '{{count}} महीने'\n },\n aboutXYears: {\n one: 'लगभग १ वर्ष',\n other: 'लगभग {{count}} वर्ष' // CLDR #4823\n\n },\n xYears: {\n one: '१ वर्ष',\n other: '{{count}} वर्ष'\n },\n overXYears: {\n one: '१ वर्ष से अधिक',\n other: '{{count}} वर्ष से अधिक'\n },\n almostXYears: {\n one: 'लगभग १ वर्ष',\n other: 'लगभग {{count}} वर्ष'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', numberToLocale(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + 'मे ';\n } else {\n return result + ' पहले';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM, y',\n // CLDR #1787\n long: 'do MMMM, y',\n // CLDR #1788\n medium: 'd MMM, y',\n // CLDR #1789\n short: 'dd/MM/yyyy' // CLDR #1790\n\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n // CLDR #1791\n long: 'h:mm:ss a z',\n // CLDR #1792\n medium: 'h:mm:ss a',\n // CLDR #1793\n short: 'h:mm a' // CLDR #1794\n\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'को' {{time}}\",\n // CLDR #1795\n long: \"{{date}} 'को' {{time}}\",\n // CLDR #1796\n medium: '{{date}}, {{time}}',\n // CLDR #1797\n short: '{{date}}, {{time}}' // CLDR #1798\n\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'पिछले' eeee p\",\n yesterday: \"'कल' p\",\n today: \"'आज' p\",\n tomorrow: \"'कल' p\",\n nextWeek: \"eeee 'को' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport { localeToNumber } from \"../localize/index.js\";\nvar matchOrdinalNumberPattern = /^[०१२३४५६७८९]+/i;\nvar parseOrdinalNumberPattern = /^[०१२३४५६७८९]+/i;\nvar matchEraPatterns = {\n narrow: /^(ईसा-पूर्व|ईस्वी)/i,\n abbreviated: /^(ईसा\\.?\\s?पूर्व\\.?|ईसा\\.?)/i,\n wide: /^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ति[1234]/i,\n wide: /^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n // eslint-disable-next-line no-misleading-character-class\n narrow: /^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,\n abbreviated: /^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,\n wide: /^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ज/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^न/i, /^दि/i],\n any: [/^जन/i, /^फ़/i, /^मा/i, /^अप्/i, /^मई/i, /^जू/i, /^जु/i, /^अग/i, /^सि/i, /^अक्तू/i, /^नव/i, /^दिस/i]\n};\nvar matchDayPatterns = {\n // eslint-disable-next-line no-misleading-character-class\n narrow: /^[रविसोममंगलबुधगुरुशुक्रशनि]/i,\n short: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,\n abbreviated: /^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,\n wide: /^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i\n};\nvar parseDayPatterns = {\n narrow: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i],\n any: [/^रवि/i, /^सोम/i, /^मंगल/i, /^बुध/i, /^गुरु/i, /^शुक्र/i, /^शनि/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(पू|अ|म|द.\\?|सु|दो|शा|रा)/i,\n any: /^(पूर्वाह्न|अपराह्न|म|द.\\?|सु|दो|शा|रा)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^पूर्वाह्न/i,\n pm: /^अपराह्न/i,\n midnight: /^मध्य/i,\n noon: /^दो/i,\n morning: /सु/i,\n afternoon: /दो/i,\n evening: /शा/i,\n night: /रा/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: localeToNumber\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Hindi locale (India).\n * @language Hindi\n * @iso-639-2 hin\n * @author Mukesh Mandiwal [@mukeshmandiwal]{@link https://github.com/mukeshmandiwal}\n */\n\nvar locale = {\n code: 'hi',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["numberValues","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","numberToLocale","localeToNumber","locale","enNumber","match","localize","buildLocalizeFn","quarter","formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","buildMatchPatternFn","buildMatchFn","index"],"mappings":"sVACA,IAAIA,EAAe,CACjB,OAAQ,CACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,GACN,EACD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EAAa,CAChB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASU,EAAa,CACpB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBS,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKM,EAAa,CAChB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWI,EAAa,CACtB,cAAeH,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIjC,EAAS,CACX,KAAM,KACN,eAAgBO,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUhB,EACV,MAAOD,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.53b8c5bf.js b/assets/index.53b8c5bf.js new file mode 100644 index 0000000000..a4b9d2be92 --- /dev/null +++ b/assets/index.53b8c5bf.js @@ -0,0 +1,2 @@ +import{d as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},a={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},d={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},l={date:t({formats:m,defaultWidth:"full"}),time:t({formats:a,defaultWidth:"full"}),dateTime:t({formats:d,defaultWidth:"full"})};export{l as f}; +//# sourceMappingURL=index.53b8c5bf.js.map diff --git a/assets/index.53b8c5bf.js.map b/assets/index.53b8c5bf.js.map new file mode 100644 index 0000000000..ca3593775c --- /dev/null +++ b/assets/index.53b8c5bf.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.53b8c5bf.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-GB/_lib/formatLong/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn"],"mappings":"4HACA,IAAIA,EAAc,CAChB,KAAM,oBACN,KAAM,cACN,OAAQ,aACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH"} \ No newline at end of file diff --git a/assets/index.5549f2c5.js b/assets/index.5549f2c5.js new file mode 100644 index 0000000000..e655cdfe34 --- /dev/null +++ b/assets/index.5549f2c5.js @@ -0,0 +1,2 @@ +import{f as i,a as o,b as m,m as g}from"./index.cc66e238.js";import{e as a}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var d={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},h={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},n={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},u={narrow:n.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:n.wide},s={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},l={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},v={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},c=function(t){var r=Number(t);return r+"."},b={ordinalNumber:c,era:a({values:d,defaultWidth:"wide"}),quarter:a({values:h,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:a({values:n,formattingValues:u,defaultWidth:"wide"}),day:a({values:s,defaultWidth:"wide"}),dayPeriod:a({values:l,defaultWidth:"wide",formattingValues:v,defaultFormattingWidth:"wide"})},S={code:"de",formatDistance:i,formatLong:o,formatRelative:m,localize:b,match:g,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{S as default}; +//# sourceMappingURL=index.5549f2c5.js.map diff --git a/assets/index.5549f2c5.js.map b/assets/index.5549f2c5.js.map new file mode 100644 index 0000000000..7d72b89d12 --- /dev/null +++ b/assets/index.5549f2c5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.5549f2c5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/index.js"],"sourcesContent":["import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['v.Chr.', 'n.Chr.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['vor Christus', 'nach Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']\n}; // Note: in German, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],\n wide: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']\n}; // https://st.unicode.org/cldr-apps/v#/de/Gregorian/\n\nvar formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: ['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],\n wide: monthValues.wide\n};\nvar dayValues = {\n narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],\n short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],\n abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],\n wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag']\n}; // https://www.unicode.org/cldr/charts/32/summary/de.html#1881\n\nvar dayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachm.',\n evening: 'Abend',\n night: 'Nacht'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachm.',\n evening: 'abends',\n night: 'nachts'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n formattingValues: formattingMonthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary German locale.\n * @language German\n * @iso-639-2 deu\n * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu}\n * @author Asia [@asia-t]{@link https://github.com/asia-t}\n * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}\n * @author RomanErnst [@pex]{@link https://github.com/pex}\n * @author Philipp Keck [@Philipp91]{@link https://github.com/Philipp91}\n */\nvar locale = {\n code: 'de',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","locale","formatDistance","formatLong","formatRelative","match"],"mappings":"8XACA,IAAIA,EAAY,CACd,OAAQ,CAAC,SAAU,QAAQ,EAC3B,YAAa,CAAC,SAAU,QAAQ,EAChC,KAAM,CAAC,eAAgB,eAAe,CACxC,EACIC,EAAgB,CAClB,OAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3B,YAAa,CAAC,KAAM,KAAM,KAAM,IAAI,EACpC,KAAM,CAAC,aAAc,aAAc,aAAc,YAAY,CAC/D,EAKIC,EAAc,CAChB,OAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,EACnE,YAAa,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EAChG,KAAM,CAAC,SAAU,UAAW,OAAQ,QAAS,MAAO,OAAQ,OAAQ,SAAU,YAAa,UAAW,WAAY,UAAU,CAC9H,EAEIC,EAAwB,CAC1B,OAAQD,EAAY,OACpB,YAAa,CAAC,OAAQ,OAAQ,OAAQ,OAAQ,MAAO,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAM,EAC3G,KAAMA,EAAY,IACpB,EACIE,EAAY,CACd,OAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,EAC1C,MAAO,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,K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,CACzB,OAAQN,EACR,aAAc,OACd,iBAAkBC,EAClB,uBAAwB,MAC5B,CAAG,CACH,ECjHIO,EAAS,CACX,KAAM,KACN,eAAgBC,EAChB,WAAYC,EACZ,eAAgBC,EAChB,SAAUN,EACV,MAAOO,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.557f901b.js b/assets/index.557f901b.js new file mode 100644 index 0000000000..0d66bc0f6c --- /dev/null +++ b/assets/index.557f901b.js @@ -0,0 +1,2 @@ +import{d,e as r,f as l,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var f={lessThanXSeconds:{one:{default:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",future:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",past:"1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",future:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ",past:"{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ"}},xSeconds:{one:{default:"1 ಸೆಕೆಂಡ್",future:"1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ",past:"1 ಸೆಕೆಂಡ್ ಹಿಂದೆ"},other:{default:"{{count}} ಸೆಕೆಂಡುಗಳು",future:"{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ",past:"{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ"}},halfAMinute:{other:{default:"ಅರ್ಧ ನಿಮಿಷ",future:"ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ",past:"ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ"}},lessThanXMinutes:{one:{default:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"}},xMinutes:{one:{default:"1 ನಿಮಿಷ",future:"1 ನಿಮಿಷದಲ್ಲಿ",past:"1 ನಿಮಿಷದ ಹಿಂದೆ"},other:{default:"{{count}} ನಿಮಿಷಗಳು",future:"{{count}} ನಿಮಿಷಗಳಲ್ಲಿ",past:"{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ"}},aboutXHours:{one:{default:"ಸುಮಾರು 1 ಗಂಟೆ",future:"ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ",past:"ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳು",future:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xHours:{one:{default:"1 ಗಂಟೆ",future:"1 ಗಂಟೆಯಲ್ಲಿ",past:"1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"{{count}} ಗಂಟೆಗಳು",future:"{{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xDays:{one:{default:"1 ದಿನ",future:"1 ದಿನದಲ್ಲಿ",past:"1 ದಿನದ ಹಿಂದೆ"},other:{default:"{{count}} ದಿನಗಳು",future:"{{count}} ದಿನಗಳಲ್ಲಿ",past:"{{count}} ದಿನಗಳ ಹಿಂದೆ"}},aboutXMonths:{one:{default:"ಸುಮಾರು 1 ತಿಂಗಳು",future:"ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ",past:"ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ತಿಂಗಳು",future:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},xMonths:{one:{default:"1 ತಿಂಗಳು",future:"1 ತಿಂಗಳಲ್ಲಿ",past:"1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"{{count}} ತಿಂಗಳು",future:"{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},aboutXYears:{one:{default:"ಸುಮಾರು 1 ವರ್ಷ",future:"ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ",past:"ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ವರ್ಷಗಳು",future:"ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},xYears:{one:{default:"1 ವರ್ಷ",future:"1 ವರ್ಷದಲ್ಲಿ",past:"1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"{{count}} ವರ್ಷಗಳು",future:"{{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"{{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},overXYears:{one:{default:"1 ವರ್ಷದ ಮೇಲೆ",future:"1 ವರ್ಷದ ಮೇಲೆ",past:"1 ವರ್ಷದ ಮೇಲೆ"},other:{default:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",future:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",past:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ"}},almostXYears:{one:{default:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",future:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",past:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ"},other:{default:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",future:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ"}}};function s(a,t){return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a.future:a.past:a.default}var m=function(t,i,e){var u,o=f[t];return o.one&&i===1?u=s(o.one,e):u=s(o.other,e),u.replace("{{count}}",String(i))},h={full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"d/M/yy"},c={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},v={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},p={date:d({formats:h,defaultWidth:"full"}),time:d({formats:c,defaultWidth:"full"}),dateTime:d({formats:v,defaultWidth:"full"})},b={lastWeek:"'ಕಳೆದ' eeee p 'ಕ್ಕೆ'",yesterday:"'ನಿನ್ನೆ' p 'ಕ್ಕೆ'",today:"'ಇಂದು' p 'ಕ್ಕೆ'",tomorrow:"'ನಾಳೆ' p 'ಕ್ಕೆ'",nextWeek:"eeee p 'ಕ್ಕೆ'",other:"P"},g=function(t,i,e,u){return b[t]},P={narrow:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],abbreviated:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],wide:["ಕ್ರಿಸ್ತ ಪೂರ್ವ","ಕ್ರಿಸ್ತ ಶಕ"]},w={narrow:["1","2","3","4"],abbreviated:["ತ್ರೈ 1","ತ್ರೈ 2","ತ್ರೈ 3","ತ್ರೈ 4"],wide:["1ನೇ ತ್ರೈಮಾಸಿಕ","2ನೇ ತ್ರೈಮಾಸಿಕ","3ನೇ ತ್ರೈಮಾಸಿಕ","4ನೇ ತ್ರೈಮಾಸಿಕ"]},y={narrow:["ಜ","ಫೆ","ಮಾ","ಏ","ಮೇ","ಜೂ","ಜು","ಆ","ಸೆ","ಅ","ನ","ಡಿ"],abbreviated:["ಜನ","ಫೆಬ್ರ","ಮಾರ್ಚ್","ಏಪ್ರಿ","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗ","ಸೆಪ್ಟೆಂ","ಅಕ್ಟೋ","ನವೆಂ","ಡಿಸೆಂ"],wide:["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಏಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟೆಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್"]},M={narrow:["ಭಾ","ಸೋ","ಮಂ","ಬು","ಗು","ಶು","ಶ"],short:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],abbreviated:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],wide:["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"]},W={narrow:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾಹ್ನ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾಹ್ನ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},D={narrow:{am:"ಪೂ",pm:"ಅ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},k=function(t,i){var e=Number(t);return e+"ನೇ"},x={ordinalNumber:k,era:r({values:P,defaultWidth:"wide"}),quarter:r({values:w,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:r({values:y,defaultWidth:"wide"}),day:r({values:M,defaultWidth:"wide"}),dayPeriod:r({values:W,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"})},F=/^(\d+)(ನೇ|ನೆ)?/i,z=/\d+/i,V={narrow:/^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i,abbreviated:/^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i,wide:/^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i},C={any:[/^ಪೂ/i,/^(ಶ|ಪ್ರ)/i]},N={narrow:/^[1234]/i,abbreviated:/^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i,wide:/^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i},X={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i,abbreviated:/^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i,wide:/^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i},L={narrow:[/^ಜ$/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂ/i,/^ಜು$/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i],any:[/^ಜನ/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂನ್/i,/^ಜುಲೈ/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i]},R={narrow:/^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i,short:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,abbreviated:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,wide:/^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i},S={narrow:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i],any:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i]},Y={narrow:/^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i,any:/^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i},_={any:{am:/^ಪೂ/i,pm:/^ಅ/i,midnight:/ಮಧ್ಯರಾತ್ರಿ/i,noon:/ಮಧ್ಯಾನ್ಹ/i,morning:/ಬೆಳಗ್ಗೆ/i,afternoon:/ಮಧ್ಯಾನ್ಹ/i,evening:/ಸಂಜೆ/i,night:/ರಾತ್ರಿ/i}},q={ordinalNumber:l({matchPattern:F,parsePattern:z,valueCallback:function(t){return parseInt(t,10)}}),era:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:n({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:n({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:_,defaultParseWidth:"any"})},A={code:"kn",formatDistance:m,formatLong:p,formatRelative:g,localize:x,match:q,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.557f901b.js.map diff --git a/assets/index.557f901b.js.map b/assets/index.557f901b.js.map new file mode 100644 index 0000000000..98748732be --- /dev/null +++ b/assets/index.557f901b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.557f901b.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kn/index.js"],"sourcesContent":["// note: no implementation for weeks\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n default: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',\n future: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',\n past: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ'\n },\n other: {\n default: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',\n future: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',\n past: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ'\n }\n },\n xSeconds: {\n one: {\n default: '1 ಸೆಕೆಂಡ್',\n future: '1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ',\n past: '1 ಸೆಕೆಂಡ್ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ಸೆಕೆಂಡುಗಳು',\n future: '{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ',\n past: '{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ'\n }\n },\n halfAMinute: {\n other: {\n default: 'ಅರ್ಧ ನಿಮಿಷ',\n future: 'ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ',\n past: 'ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ'\n }\n },\n lessThanXMinutes: {\n one: {\n default: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',\n future: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',\n past: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ'\n },\n other: {\n default: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',\n future: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',\n past: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ'\n }\n },\n xMinutes: {\n one: {\n default: '1 ನಿಮಿಷ',\n future: '1 ನಿಮಿಷದಲ್ಲಿ',\n past: '1 ನಿಮಿಷದ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ನಿಮಿಷಗಳು',\n future: '{{count}} ನಿಮಿಷಗಳಲ್ಲಿ',\n past: '{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ'\n }\n },\n aboutXHours: {\n one: {\n default: 'ಸುಮಾರು 1 ಗಂಟೆ',\n future: 'ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ',\n past: 'ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ'\n },\n other: {\n default: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳು',\n future: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ',\n past: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ'\n }\n },\n xHours: {\n one: {\n default: '1 ಗಂಟೆ',\n future: '1 ಗಂಟೆಯಲ್ಲಿ',\n past: '1 ಗಂಟೆ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ಗಂಟೆಗಳು',\n future: '{{count}} ಗಂಟೆಗಳಲ್ಲಿ',\n past: '{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ'\n }\n },\n xDays: {\n one: {\n default: '1 ದಿನ',\n future: '1 ದಿನದಲ್ಲಿ',\n past: '1 ದಿನದ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ದಿನಗಳು',\n future: '{{count}} ದಿನಗಳಲ್ಲಿ',\n past: '{{count}} ದಿನಗಳ ಹಿಂದೆ'\n }\n },\n // TODO\n // aboutXWeeks: {},\n // TODO\n // xWeeks: {},\n aboutXMonths: {\n one: {\n default: 'ಸುಮಾರು 1 ತಿಂಗಳು',\n future: 'ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ',\n past: 'ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ'\n },\n other: {\n default: 'ಸುಮಾರು {{count}} ತಿಂಗಳು',\n future: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ',\n past: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ'\n }\n },\n xMonths: {\n one: {\n default: '1 ತಿಂಗಳು',\n future: '1 ತಿಂಗಳಲ್ಲಿ',\n past: '1 ತಿಂಗಳ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ತಿಂಗಳು',\n future: '{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ',\n past: '{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ'\n }\n },\n aboutXYears: {\n one: {\n default: 'ಸುಮಾರು 1 ವರ್ಷ',\n future: 'ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ',\n past: 'ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ'\n },\n other: {\n default: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳು',\n future: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ',\n past: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ'\n }\n },\n xYears: {\n one: {\n default: '1 ವರ್ಷ',\n future: '1 ವರ್ಷದಲ್ಲಿ',\n past: '1 ವರ್ಷದ ಹಿಂದೆ'\n },\n other: {\n default: '{{count}} ವರ್ಷಗಳು',\n future: '{{count}} ವರ್ಷಗಳಲ್ಲಿ',\n past: '{{count}} ವರ್ಷಗಳ ಹಿಂದೆ'\n }\n },\n overXYears: {\n one: {\n default: '1 ವರ್ಷದ ಮೇಲೆ',\n future: '1 ವರ್ಷದ ಮೇಲೆ',\n past: '1 ವರ್ಷದ ಮೇಲೆ'\n },\n other: {\n default: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ',\n future: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ',\n past: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ'\n }\n },\n almostXYears: {\n one: {\n default: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ',\n future: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ',\n past: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ'\n },\n other: {\n default: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ',\n future: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ',\n past: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ'\n }\n }\n};\n\nfunction getResultByTense(parentToken, options) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return parentToken.future;\n } else {\n return parentToken.past;\n }\n }\n\n return parentToken.default;\n}\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (tokenValue.one && count === 1) {\n result = getResultByTense(tokenValue.one, options);\n } else {\n result = getResultByTense(tokenValue.other, options);\n }\n\n return result.replace('{{count}}', String(count));\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; // Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html\n\nvar dateFormats = {\n full: 'EEEE, MMMM d, y',\n // CLDR 1816\n long: 'MMMM d, y',\n // CLDR 1817\n medium: 'MMM d, y',\n // CLDR 1818\n short: 'd/M/yy' // CLDR 1819\n\n};\nvar timeFormats = {\n full: 'hh:mm:ss a zzzz',\n // CLDR 1820\n long: 'hh:mm:ss a z',\n // CLDR 1821\n medium: 'hh:mm:ss a',\n // CLDR 1822\n short: 'hh:mm a' // CLDR 1823\n\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n // CLDR 1824\n long: '{{date}} {{time}}',\n // CLDR 1825\n medium: '{{date}} {{time}}',\n // CLDR 1826\n short: '{{date}} {{time}}' // CLDR 1827\n\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'ಕಳೆದ' eeee p 'ಕ್ಕೆ'\",\n yesterday: \"'ನಿನ್ನೆ' p 'ಕ್ಕೆ'\",\n today: \"'ಇಂದು' p 'ಕ್ಕೆ'\",\n tomorrow: \"'ನಾಳೆ' p 'ಕ್ಕೆ'\",\n nextWeek: \"eeee p 'ಕ್ಕೆ'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html\n\nvar eraValues = {\n narrow: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'],\n abbreviated: ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'],\n // CLDR #1618, #1620\n wide: ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] // CLDR #1614, #1616\n\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ತ್ರೈ 1', 'ತ್ರೈ 2', 'ತ್ರೈ 3', 'ತ್ರೈ 4'],\n // CLDR #1630 - #1638\n wide: ['1ನೇ ತ್ರೈಮಾಸಿಕ', '2ನೇ ತ್ರೈಮಾಸಿಕ', '3ನೇ ತ್ರೈಮಾಸಿಕ', '4ನೇ ತ್ರೈಮಾಸಿಕ'] // CLDR #1622 - #1629\n\n}; // CLDR #1646 - #1717\n\nvar monthValues = {\n narrow: ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'],\n abbreviated: ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'],\n wide: ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', 'ಡಿಸೆಂಬರ್']\n}; // CLDR #1718 - #1773\n\nvar dayValues = {\n narrow: ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'],\n short: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'],\n abbreviated: ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'],\n wide: ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ']\n}; // CLDR #1774 - #1815\n\nvar dayPeriodValues = {\n narrow: {\n am: 'ಪೂರ್ವಾಹ್ನ',\n pm: 'ಅಪರಾಹ್ನ',\n midnight: 'ಮಧ್ಯರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾಹ್ನ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾಹ್ನ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n },\n abbreviated: {\n am: 'ಪೂರ್ವಾಹ್ನ',\n pm: 'ಅಪರಾಹ್ನ',\n midnight: 'ಮಧ್ಯರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾನ್ಹ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾನ್ಹ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n },\n wide: {\n am: 'ಪೂರ್ವಾಹ್ನ',\n pm: 'ಅಪರಾಹ್ನ',\n midnight: 'ಮಧ್ಯರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾನ್ಹ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾನ್ಹ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ಪೂ',\n pm: 'ಅ',\n midnight: 'ಮಧ್ಯರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾನ್ಹ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾನ್ಹ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n },\n abbreviated: {\n am: 'ಪೂರ್ವಾಹ್ನ',\n pm: 'ಅಪರಾಹ್ನ',\n midnight: 'ಮಧ್ಯ ರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾನ್ಹ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾನ್ಹ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n },\n wide: {\n am: 'ಪೂರ್ವಾಹ್ನ',\n pm: 'ಅಪರಾಹ್ನ',\n midnight: 'ಮಧ್ಯ ರಾತ್ರಿ',\n noon: 'ಮಧ್ಯಾನ್ಹ',\n morning: 'ಬೆಳಗ್ಗೆ',\n afternoon: 'ಮಧ್ಯಾನ್ಹ',\n evening: 'ಸಂಜೆ',\n night: 'ರಾತ್ರಿ'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'ನೇ';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ನೇ|ನೆ)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i,\n abbreviated: /^(ಕ್ರಿ\\.?\\s?ಪೂ\\.?|ಕ್ರಿ\\.?\\s?ಶ\\.?|ಪ್ರ\\.?\\s?ಶ\\.?)/i,\n wide: /^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i\n};\nvar parseEraPatterns = {\n any: [/^ಪೂ/i, /^(ಶ|ಪ್ರ)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i,\n wide: /^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i,\n abbreviated: /^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i,\n wide: /^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ಜ$/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂ/i, /^ಜು$/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i],\n any: [/^ಜನ/i, /^ಫೆ/i, /^ಮಾ/i, /^ಏ/i, /^ಮೇ/i, /^ಜೂನ್/i, /^ಜುಲೈ/i, /^ಆ/i, /^ಸೆ/i, /^ಅ/i, /^ನ/i, /^ಡಿ/i]\n};\nvar matchDayPatterns = {\n narrow: /^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i,\n short: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,\n abbreviated: /^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,\n wide: /^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i],\n any: [/^ಭಾ/i, /^ಸೋ/i, /^ಮ/i, /^ಬು/i, /^ಗು/i, /^ಶು/i, /^ಶ/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i,\n any: /^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ಪೂ/i,\n pm: /^ಅ/i,\n midnight: /ಮಧ್ಯರಾತ್ರಿ/i,\n noon: /ಮಧ್ಯಾನ್ಹ/i,\n morning: /ಬೆಳಗ್ಗೆ/i,\n afternoon: /ಮಧ್ಯಾನ್ಹ/i,\n evening: /ಸಂಜೆ/i,\n night: /ರಾತ್ರಿ/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Kannada locale (India).\n * @language Kannada\n * @iso-639-2 kan\n * @author Manjunatha Gouli [@developergouli]{@link https://github.com/developergouli}\n */\n\nvar locale = {\n code: 'kn',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","getResultByTense","parentToken","options","formatDistance","token","count","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVACA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,QAAS,uBACT,OAAQ,uBACR,KAAM,sBACP,EACD,MAAO,CACL,QAAS,+BACT,OAAQ,+BACR,KAAM,8BACP,CACF,EACD,SAAU,CACR,IAAK,CACH,QAAS,YACT,OAAQ,kBACR,KAAM,iBACP,EACD,MAAO,CACL,QAAS,uBACT,OAAQ,2BACR,KAAM,yBACP,CACF,EACD,YAAa,CACX,MAAO,CACL,QAAS,aACT,OAAQ,kBACR,KAAM,mBACP,CACF,EACD,iBAAkB,CAChB,IAAK,CACH,QAAS,sBACT,OAAQ,sBACR,KAAM,qBACP,EACD,MAAO,CACL,QAAS,8BACT,OAAQ,8BACR,KAAM,6BACP,CACF,EACD,SAAU,CACR,IAAK,CACH,QAAS,UACT,OAAQ,eACR,KAAM,gBACP,EACD,MAAO,CACL,QAAS,qBACT,OAAQ,wBACR,KAAM,yBACP,C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AAM,YACN,QAAS,WACT,UAAW,YACX,QAAS,QACT,MAAO,SACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYQ,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.5c6f2287.js b/assets/index.5c6f2287.js new file mode 100644 index 0000000000..3406abb5cd --- /dev/null +++ b/assets/index.5c6f2287.js @@ -0,0 +1,2 @@ +import{d as t,o as a,q as m,u as e,v as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"yyyy/MM/dd"},d={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},l={date:t({formats:r,defaultWidth:"full"}),time:t({formats:d,defaultWidth:"full"}),dateTime:t({formats:i,defaultWidth:"full"})},M={code:"en-ZA",formatDistance:a,formatLong:l,formatRelative:m,localize:e,match:o,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{M as default}; +//# sourceMappingURL=index.5c6f2287.js.map diff --git a/assets/index.5c6f2287.js.map b/assets/index.5c6f2287.js.map new file mode 100644 index 0000000000..78fb280791 --- /dev/null +++ b/assets/index.5c6f2287.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.5c6f2287.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-ZA/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, dd MMMM yyyy',\n long: 'dd MMMM yyyy',\n medium: 'dd MMM yyyy',\n short: 'yyyy/MM/dd'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (South Africa).\n * @language English\n * @iso-639-2 eng\n * @author Shaila Kavrakova [@shaykav]{@link https://github.com/shaykav}\n */\n\nvar locale = {\n code: 'en-ZA',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0,\n // Sunday is the first day of the week.\n firstWeekContainsDate: 1 // The week that contains Jan 1st is the first week of the year.\n\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"6VACA,IAAIA,EAAc,CAChB,KAAM,qBACN,KAAM,eACN,OAAQ,cACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EClBIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAEd,sBAAuB,CAExB,CACH"} \ No newline at end of file diff --git a/assets/index.5f43a2ae.js b/assets/index.5f43a2ae.js new file mode 100644 index 0000000000..a71aab717f --- /dev/null +++ b/assets/index.5f43a2ae.js @@ -0,0 +1,2 @@ +import{d as m,e as n,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},l=function(a,o,e){var r,d=u[a];return typeof d=="string"?r=d:o===1?r=d.one:r=d.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"over "+r:r+" geleden":r},h={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},v={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:m({formats:h,defaultWidth:"full"}),time:m({formats:v,defaultWidth:"full"}),dateTime:m({formats:c,defaultWidth:"full"})},f={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},b=function(a,o,e,r){return f[a]},w={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},p={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},M={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},j={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},y=function(a,o){var e=Number(a);return e+"e"},k={ordinalNumber:y,era:n({values:w,defaultWidth:"wide"}),quarter:n({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:P,defaultWidth:"wide"}),day:n({values:M,defaultWidth:"wide"}),dayPeriod:n({values:j,defaultWidth:"wide"})},z=/^(\d+)e?/i,W=/\d+/i,C={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},D={any:[/^v/,/^n/]},x={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},H={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},X={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},V={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},A={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},E={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},L={ordinalNumber:s({matchPattern:z,parsePattern:W,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:E,defaultParseWidth:"any"})},Y={code:"nl",formatDistance:l,formatLong:g,formatRelative:b,localize:k,match:L,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Y as default}; +//# sourceMappingURL=index.5f43a2ae.js.map diff --git a/assets/index.5f43a2ae.js.map b/assets/index.5f43a2ae.js.map new file mode 100644 index 0000000000..41428ca835 --- /dev/null +++ b/assets/index.5f43a2ae.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.5f43a2ae.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'minder dan een seconde',\n other: 'minder dan {{count}} seconden'\n },\n xSeconds: {\n one: '1 seconde',\n other: '{{count}} seconden'\n },\n halfAMinute: 'een halve minuut',\n lessThanXMinutes: {\n one: 'minder dan een minuut',\n other: 'minder dan {{count}} minuten'\n },\n xMinutes: {\n one: 'een minuut',\n other: '{{count}} minuten'\n },\n aboutXHours: {\n one: 'ongeveer 1 uur',\n other: 'ongeveer {{count}} uur'\n },\n xHours: {\n one: '1 uur',\n other: '{{count}} uur'\n },\n xDays: {\n one: '1 dag',\n other: '{{count}} dagen'\n },\n aboutXWeeks: {\n one: 'ongeveer 1 week',\n other: 'ongeveer {{count}} weken'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weken'\n },\n aboutXMonths: {\n one: 'ongeveer 1 maand',\n other: 'ongeveer {{count}} maanden'\n },\n xMonths: {\n one: '1 maand',\n other: '{{count}} maanden'\n },\n aboutXYears: {\n one: 'ongeveer 1 jaar',\n other: 'ongeveer {{count}} jaar'\n },\n xYears: {\n one: '1 jaar',\n other: '{{count}} jaar'\n },\n overXYears: {\n one: 'meer dan 1 jaar',\n other: 'meer dan {{count}} jaar'\n },\n almostXYears: {\n one: 'bijna 1 jaar',\n other: 'bijna {{count}} jaar'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'over ' + result;\n } else {\n return result + ' geleden';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd-MM-y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'om' {{time}}\",\n long: \"{{date}} 'om' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'afgelopen' eeee 'om' p\",\n yesterday: \"'gisteren om' p\",\n today: \"'vandaag om' p\",\n tomorrow: \"'morgen om' p\",\n nextWeek: \"eeee 'om' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['v.C.', 'n.C.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['voor Christus', 'na Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'],\n short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],\n abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],\n wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: \"'s ochtends\",\n afternoon: \"'s middags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: \"'s ochtends\",\n afternoon: \"'s middags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: \"'s ochtends\",\n afternoon: \"'s middags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'e';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)e?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([vn]\\.? ?C\\.?)/,\n abbreviated: /^([vn]\\. ?Chr\\.?)/,\n wide: /^((voor|na) Christus)/\n};\nvar parseEraPatterns = {\n any: [/^v/, /^n/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234]e kwartaal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,\n wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]\n};\nvar matchDayPatterns = {\n narrow: /^[zmdwv]/i,\n short: /^(zo|ma|di|wo|do|vr|za)/i,\n abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i,\n wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i\n};\nvar parseDayPatterns = {\n narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i],\n any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /^middernacht/i,\n noon: /^het middaguur/i,\n morning: /ochtend/i,\n afternoon: /middag/i,\n evening: /avond/i,\n night: /nacht/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Dutch locale.\n * @language Dutch\n * @iso-639-2 nld\n * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder}\n * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk}\n * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb}\n * @author Edo Rivai [@edorivai]{@link https://github.com/edorivai}\n * @author Niels Keurentjes [@curry684]{@link https://github.com/curry684}\n * @author Stefan Vermaas [@stefanvermaas]{@link https://github.com/stefanvermaas}\n */\n\nvar locale = {\n code: 'nl',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,yBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,mBACb,iBAA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,OAAQ,OAAQ,MAAM,CAC9D,EACIC,EAAyB,CAC3B,IAAK,yEACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,gBACV,KAAM,kBACN,QAAS,WACT,UAAW,UACX,QAAS,SACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC5EIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.5fcee0b4.js b/assets/index.5fcee0b4.js new file mode 100644 index 0000000000..d5a9cbde4c --- /dev/null +++ b/assets/index.5fcee0b4.js @@ -0,0 +1,2 @@ +import{d as v,t as d,e as o,f,g as l}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.2b8b0fc4.js";import{i as m}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function s(a,e){if(a.one!==void 0&&e===1)return a.one;var i=e%10,t=e%100;return i===1&&t!==11?a.singularNominative.replace("{{count}}",String(e)):i>=2&&i<=4&&(t<10||t>20)?a.singularGenitive.replace("{{count}}",String(e)):a.pluralGenitive.replace("{{count}}",String(e))}function r(a){return function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?a.future?s(a.future,e):"за "+s(a.regular,e):a.past?s(a.past,e):s(a.regular,e)+" тому":s(a.regular,e)}}var h=function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини"},p={lessThanXSeconds:r({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:r({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:h,lessThanXMinutes:r({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:r({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:r({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:r({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:r({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:r({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:r({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:r({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:r({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:r({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:r({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:r({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:r({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},G=function(e,i,t){return t=t||{},p[e](i,t)},b={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},w={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},y={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},P={date:v({formats:b,defaultWidth:"full"}),time:v({formats:w,defaultWidth:"full"}),dateTime:v({formats:y,defaultWidth:"full"})},c=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function W(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у минулу "+e+" о' p";case 1:case 2:case 4:return"'у минулий "+e+" о' p"}}function g(a){var e=c[a];return"'у "+e+" о' p"}function N(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у наступну "+e+" о' p";case 1:case 2:case 4:return"'у наступний "+e+" о' p"}}var M=function(e,i,t){var u=d(e),n=u.getUTCDay();return m(u,i,t)?g(n):W(n)},k=function(e,i,t){var u=d(e),n=u.getUTCDay();return m(u,i,t)?g(n):N(n)},x={lastWeek:M,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:k,other:"P"},F=function(e,i,t,u){var n=x[e];return typeof n=="function"?n(i,t,u):n},D={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},C={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},S={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},z={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},V={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},T={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},X={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},L=function(e,i){var t=String(i==null?void 0:i.unit),u=Number(e),n;return t==="date"?u===3||u===23?n="-є":n="-е":t==="minute"||t==="second"||t==="hour"?n="-а":n="-й",u+n},E={ordinalNumber:L,era:o({values:D,defaultWidth:"wide"}),quarter:o({values:C,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:S,defaultWidth:"wide",formattingValues:z,defaultFormattingWidth:"wide"}),day:o({values:V,defaultWidth:"wide"}),dayPeriod:o({values:T,defaultWidth:"any",formattingValues:X,defaultFormattingWidth:"wide"})},H=/^(\d+)(-?(е|й|є|а|я))?/i,R=/\d+/i,Y={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},q={any:[/^д/i,/^н/i]},A={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},O={any:[/1/i,/2/i,/3/i,/4/i]},U={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},Q={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},I={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},_={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},j={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},B={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},J={ordinalNumber:f({matchPattern:H,parsePattern:R,valueCallback:function(e){return parseInt(e,10)}}),era:l({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),quarter:l({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),day:l({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"})},ne={code:"uk",formatDistance:G,formatLong:P,formatRelative:F,localize:E,match:J,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{ne as default}; +//# sourceMappingURL=index.5fcee0b4.js.map diff --git a/assets/index.5fcee0b4.js.map b/assets/index.5fcee0b4.js.map new file mode 100644 index 0000000000..5b37e554bb --- /dev/null +++ b/assets/index.5fcee0b4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.5fcee0b4.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uk/index.js"],"sourcesContent":["function declension(scheme, count) {\n // scheme for count=1 exists\n if (scheme.one !== undefined && count === 1) {\n return scheme.one;\n }\n\n var rem10 = count % 10;\n var rem100 = count % 100; // 1, 21, 31, ...\n\n if (rem10 === 1 && rem100 !== 11) {\n return scheme.singularNominative.replace('{{count}}', String(count)); // 2, 3, 4, 22, 23, 24, 32 ...\n } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {\n return scheme.singularGenitive.replace('{{count}}', String(count)); // 5, 6, 7, 8, 9, 10, 11, ...\n } else {\n return scheme.pluralGenitive.replace('{{count}}', String(count));\n }\n}\n\nfunction buildLocalizeTokenFn(scheme) {\n return function (count, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (scheme.future) {\n return declension(scheme.future, count);\n } else {\n return 'за ' + declension(scheme.regular, count);\n }\n } else {\n if (scheme.past) {\n return declension(scheme.past, count);\n } else {\n return declension(scheme.regular, count) + ' тому';\n }\n }\n } else {\n return declension(scheme.regular, count);\n }\n };\n}\n\nvar halfAtMinute = function halfAtMinute(_, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'за півхвилини';\n } else {\n return 'півхвилини тому';\n }\n }\n\n return 'півхвилини';\n};\n\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n regular: {\n one: 'менше секунди',\n singularNominative: 'менше {{count}} секунди',\n singularGenitive: 'менше {{count}} секунд',\n pluralGenitive: 'менше {{count}} секунд'\n },\n future: {\n one: 'менше, ніж за секунду',\n singularNominative: 'менше, ніж за {{count}} секунду',\n singularGenitive: 'менше, ніж за {{count}} секунди',\n pluralGenitive: 'менше, ніж за {{count}} секунд'\n }\n }),\n xSeconds: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} секунда',\n singularGenitive: '{{count}} секунди',\n pluralGenitive: '{{count}} секунд'\n },\n past: {\n singularNominative: '{{count}} секунду тому',\n singularGenitive: '{{count}} секунди тому',\n pluralGenitive: '{{count}} секунд тому'\n },\n future: {\n singularNominative: 'за {{count}} секунду',\n singularGenitive: 'за {{count}} секунди',\n pluralGenitive: 'за {{count}} секунд'\n }\n }),\n halfAMinute: halfAtMinute,\n lessThanXMinutes: buildLocalizeTokenFn({\n regular: {\n one: 'менше хвилини',\n singularNominative: 'менше {{count}} хвилини',\n singularGenitive: 'менше {{count}} хвилин',\n pluralGenitive: 'менше {{count}} хвилин'\n },\n future: {\n one: 'менше, ніж за хвилину',\n singularNominative: 'менше, ніж за {{count}} хвилину',\n singularGenitive: 'менше, ніж за {{count}} хвилини',\n pluralGenitive: 'менше, ніж за {{count}} хвилин'\n }\n }),\n xMinutes: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} хвилина',\n singularGenitive: '{{count}} хвилини',\n pluralGenitive: '{{count}} хвилин'\n },\n past: {\n singularNominative: '{{count}} хвилину тому',\n singularGenitive: '{{count}} хвилини тому',\n pluralGenitive: '{{count}} хвилин тому'\n },\n future: {\n singularNominative: 'за {{count}} хвилину',\n singularGenitive: 'за {{count}} хвилини',\n pluralGenitive: 'за {{count}} хвилин'\n }\n }),\n aboutXHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'близько {{count}} години',\n singularGenitive: 'близько {{count}} годин',\n pluralGenitive: 'близько {{count}} годин'\n },\n future: {\n singularNominative: 'приблизно за {{count}} годину',\n singularGenitive: 'приблизно за {{count}} години',\n pluralGenitive: 'приблизно за {{count}} годин'\n }\n }),\n xHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} годину',\n singularGenitive: '{{count}} години',\n pluralGenitive: '{{count}} годин'\n }\n }),\n xDays: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} день',\n singularGenitive: '{{count}} днi',\n pluralGenitive: '{{count}} днів'\n }\n }),\n aboutXWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'близько {{count}} тижня',\n singularGenitive: 'близько {{count}} тижнів',\n pluralGenitive: 'близько {{count}} тижнів'\n },\n future: {\n singularNominative: 'приблизно за {{count}} тиждень',\n singularGenitive: 'приблизно за {{count}} тижні',\n pluralGenitive: 'приблизно за {{count}} тижнів'\n }\n }),\n xWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} тиждень',\n singularGenitive: '{{count}} тижні',\n pluralGenitive: '{{count}} тижнів'\n }\n }),\n aboutXMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'близько {{count}} місяця',\n singularGenitive: 'близько {{count}} місяців',\n pluralGenitive: 'близько {{count}} місяців'\n },\n future: {\n singularNominative: 'приблизно за {{count}} місяць',\n singularGenitive: 'приблизно за {{count}} місяці',\n pluralGenitive: 'приблизно за {{count}} місяців'\n }\n }),\n xMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} місяць',\n singularGenitive: '{{count}} місяці',\n pluralGenitive: '{{count}} місяців'\n }\n }),\n aboutXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'близько {{count}} року',\n singularGenitive: 'близько {{count}} років',\n pluralGenitive: 'близько {{count}} років'\n },\n future: {\n singularNominative: 'приблизно за {{count}} рік',\n singularGenitive: 'приблизно за {{count}} роки',\n pluralGenitive: 'приблизно за {{count}} років'\n }\n }),\n xYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} рік',\n singularGenitive: '{{count}} роки',\n pluralGenitive: '{{count}} років'\n }\n }),\n overXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'більше {{count}} року',\n singularGenitive: 'більше {{count}} років',\n pluralGenitive: 'більше {{count}} років'\n },\n future: {\n singularNominative: 'більше, ніж за {{count}} рік',\n singularGenitive: 'більше, ніж за {{count}} роки',\n pluralGenitive: 'більше, ніж за {{count}} років'\n }\n }),\n almostXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'майже {{count}} рік',\n singularGenitive: 'майже {{count}} роки',\n pluralGenitive: 'майже {{count}} років'\n },\n future: {\n singularNominative: 'майже за {{count}} рік',\n singularGenitive: 'майже за {{count}} роки',\n pluralGenitive: 'майже за {{count}} років'\n }\n })\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n return formatDistanceLocale[token](count, options);\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, do MMMM y 'р.'\",\n long: \"do MMMM y 'р.'\",\n medium: \"d MMM y 'р.'\",\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'о' {{time}}\",\n long: \"{{date}} 'о' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import { toDate } from \"../../../../index.js\";\nimport isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar accusativeWeekdays = ['неділю', 'понеділок', 'вівторок', 'середу', 'четвер', 'п’ятницю', 'суботу'];\n\nfunction lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у минулу \" + weekday + \" о' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у минулий \" + weekday + \" о' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'у \" + weekday + \" о' p\";\n}\n\nfunction nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у наступну \" + weekday + \" о' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у наступний \" + weekday + \" о' p\";\n }\n}\n\nvar lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n};\n\nvar nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n};\n\nvar formatRelativeLocale = {\n lastWeek: lastWeekFormat,\n yesterday: \"'вчора о' p\",\n today: \"'сьогодні о' p\",\n tomorrow: \"'завтра о' p\",\n nextWeek: nextWeekFormat,\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['до н.е.', 'н.е.'],\n abbreviated: ['до н. е.', 'н. е.'],\n wide: ['до нашої ери', 'нашої ери']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-й кв.', '2-й кв.', '3-й кв.', '4-й кв.'],\n wide: ['1-й квартал', '2-й квартал', '3-й квартал', '4-й квартал']\n};\nvar monthValues = {\n // ДСТУ 3582:2013\n narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'],\n abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'],\n wide: ['січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень']\n};\nvar formattingMonthValues = {\n narrow: ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'],\n abbreviated: ['січ.', 'лют.', 'берез.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'верес.', 'жовт.', 'листоп.', 'груд.'],\n wide: ['січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', 'жовтня', 'листопада', 'грудня']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'],\n short: ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],\n abbreviated: ['нед', 'пон', 'вів', 'сер', 'чтв', 'птн', 'суб'],\n wide: ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п’ятниця', 'субота']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'півн.',\n noon: 'пол.',\n morning: 'ранок',\n afternoon: 'день',\n evening: 'веч.',\n night: 'ніч'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'півн.',\n noon: 'пол.',\n morning: 'ранок',\n afternoon: 'день',\n evening: 'веч.',\n night: 'ніч'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'північ',\n noon: 'полудень',\n morning: 'ранок',\n afternoon: 'день',\n evening: 'вечір',\n night: 'ніч'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'півн.',\n noon: 'пол.',\n morning: 'ранку',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночі'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'півн.',\n noon: 'пол.',\n morning: 'ранку',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночі'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'північ',\n noon: 'полудень',\n morning: 'ранку',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночі'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n var number = Number(dirtyNumber);\n var suffix;\n\n if (unit === 'date') {\n if (number === 3 || number === 23) {\n suffix = '-є';\n } else {\n suffix = '-е';\n }\n } else if (unit === 'minute' || unit === 'second' || unit === 'hour') {\n suffix = '-а';\n } else {\n suffix = '-й';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(е|й|є|а|я))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((до )?н\\.?\\s?е\\.?)/i,\n abbreviated: /^((до )?н\\.?\\s?е\\.?)/i,\n wide: /^(до нашої ери|нашої ери|наша ера)/i\n};\nvar parseEraPatterns = {\n any: [/^д/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[иі]?й?)? кв.?/i,\n wide: /^[1234](-?[иі]?й?)? квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[слбктчвжг]/i,\n abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\\.?/i,\n wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^с/i, /^л/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^с/i, /^в/i, /^ж/i, /^л/i, /^г/i],\n any: [/^сі/i, /^лю/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^лип/i, /^се/i, /^в/i, /^ж/i, /^лис/i, /^г/i]\n};\nvar matchDayPatterns = {\n narrow: /^[нпвсч]/i,\n short: /^(нд|пн|вт|ср|чт|пт|сб)\\.?/i,\n abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\\.?/i,\n wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\\W*?ятниц[яі]|субот[аи])/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\\W*?[ят]/i, /^с[уб]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([дп]п|півн\\.?|пол\\.?|ранок|ранку|день|дня|веч\\.?|ніч|ночі)/i,\n abbreviated: /^([дп]п|півн\\.?|пол\\.?|ранок|ранку|день|дня|веч\\.?|ніч|ночі)/i,\n wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^дп/i,\n pm: /^пп/i,\n midnight: /^півн/i,\n noon: /^пол/i,\n morning: /^р/i,\n afternoon: /^д[ен]/i,\n evening: /^в/i,\n night: /^н/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Ukrainian locale.\n * @language Ukrainian\n * @iso-639-2 ukr\n * @author Andrii Korzh [@korzhyk]{@link https://github.com/korzhyk}\n * @author Andriy Shcherbyak [@shcherbyakdev]{@link https://github.com/shcherbyakdev}\n */\n\nvar locale = {\n code: 'uk',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["declension","scheme","count","rem10","rem100","buildLocalizeTokenFn","options","halfAtMinute","_","formatDistanceLocale","formatDistance","token","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","lastWeek","day","weekday","thisWeek","nextWeek","lastWeekFormat","dirtyDate","baseDate","date","toDate","isSameUTCWeek","nextWeekFormat","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","unit","number","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"4ZAAA,SAASA,EAAWC,EAAQC,EAAO,CAEjC,GAAID,EAAO,MAAQ,QAAaC,IAAU,EACxC,OAAOD,EAAO,IAGhB,IAAIE,EAAQD,EAAQ,GAChBE,EAASF,EAAQ,IAErB,OAAIC,IAAU,GAAKC,IAAW,GACrBH,EAAO,mBAAmB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAC1DC,GAAS,GAAKA,GAAS,IAAMC,EAAS,IAAMA,EAAS,IACvDH,EAAO,iBAAiB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAE1DD,EAAO,eAAe,QAAQ,YAAa,OAAOC,CAAK,CAAC,CAEnE,CAEA,SAASG,EAAqBJ,EAAQ,CACpC,OAAO,SAAUC,EAAOI,EAAS,CAC/B,OAAIA,GAAWA,EAAQ,UACjBA,EAAQ,YAAcA,EAAQ,WAAa,EACzCL,EAAO,OACFD,EAAWC,EAAO,OAAQC,CAAK,EAE/B,MAAQF,EAAWC,EAAO,QAASC,CAAK,EAG7CD,EAAO,KACFD,EAAWC,EAAO,KAAMC,CAAK,EAE7BF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OAAQ,gEACR,YAAa,gEACb,KAAM,sEACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,SACV,KAAM,QACN,QAAS,MACT,UAAW,UACX,QAAS,MACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,GAAS,CACX,KAAM,KACN,eAAgBvD,EAChB,WAAYK,EACZ,eAAgBgB,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.63e09bc0.js b/assets/index.63e09bc0.js new file mode 100644 index 0000000000..566e315fc1 --- /dev/null +++ b/assets/index.63e09bc0.js @@ -0,0 +1,2 @@ +import{d,e as o,f as s,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"1びょうみまん",other:"{{count}}びょうみまん",oneWithSuffix:"やく1びょう",otherWithSuffix:"やく{{count}}びょう"},xSeconds:{one:"1びょう",other:"{{count}}びょう"},halfAMinute:"30びょう",lessThanXMinutes:{one:"1ぷんみまん",other:"{{count}}ふんみまん",oneWithSuffix:"やく1ぷん",otherWithSuffix:"やく{{count}}ふん"},xMinutes:{one:"1ぷん",other:"{{count}}ふん"},aboutXHours:{one:"やく1じかん",other:"やく{{count}}じかん"},xHours:{one:"1じかん",other:"{{count}}じかん"},xDays:{one:"1にち",other:"{{count}}にち"},aboutXWeeks:{one:"やく1しゅうかん",other:"やく{{count}}しゅうかん"},xWeeks:{one:"1しゅうかん",other:"{{count}}しゅうかん"},aboutXMonths:{one:"やく1かげつ",other:"やく{{count}}かげつ"},xMonths:{one:"1かげつ",other:"{{count}}かげつ"},aboutXYears:{one:"やく1ねん",other:"やく{{count}}ねん"},xYears:{one:"1ねん",other:"{{count}}ねん"},overXYears:{one:"1ねんいじょう",other:"{{count}}ねんいじょう"},almostXYears:{one:"1ねんちかく",other:"{{count}}ねんちかく"}},l=function(a,r,e){e=e||{};var t,n=m[a];return typeof n=="string"?t=n:r===1?e.addSuffix&&n.oneWithSuffix?t=n.oneWithSuffix:t=n.one:e.addSuffix&&n.otherWithSuffix?t=n.otherWithSuffix.replace("{{count}}",String(r)):t=n.other.replace("{{count}}",String(r)),e.addSuffix?e.comparison&&e.comparison>0?t+"あと":t+"まえ":t},h={full:"yねんMがつdにちEEEE",long:"yねんMがつdにち",medium:"y/MM/dd",short:"y/MM/dd"},c={full:"Hじmmふんssびょう zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},f={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:d({formats:h,defaultWidth:"full"}),time:d({formats:c,defaultWidth:"full"}),dateTime:d({formats:f,defaultWidth:"full"})},b={lastWeek:"せんしゅうのeeeeのp",yesterday:"きのうのp",today:"きょうのp",tomorrow:"あしたのp",nextWeek:"よくしゅうのeeeeのp",other:"P"},g=function(a,r,e,t){return b[a]},P={narrow:["BC","AC"],abbreviated:["きげんぜん","せいれき"],wide:["きげんぜん","せいれき"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["だい1しはんき","だい2しはんき","だい3しはんき","だい4しはんき"]},y={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1がつ","2がつ","3がつ","4がつ","5がつ","6がつ","7がつ","8がつ","9がつ","10がつ","11がつ","12がつ"],wide:["1がつ","2がつ","3がつ","4がつ","5がつ","6がつ","7がつ","8がつ","9がつ","10がつ","11がつ","12がつ"]},W={narrow:["にち","げつ","か","すい","もく","きん","ど"],short:["にち","げつ","か","すい","もく","きん","ど"],abbreviated:["にち","げつ","か","すい","もく","きん","ど"],wide:["にちようび","げつようび","かようび","すいようび","もくようび","きんようび","どようび"]},p={narrow:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},abbreviated:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},wide:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"}},M={narrow:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},abbreviated:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"},wide:{am:"ごぜん",pm:"ごご",midnight:"しんや",noon:"しょうご",morning:"あさ",afternoon:"ごご",evening:"よる",night:"しんや"}},x=function(a,r){var e=Number(a),t=String(r==null?void 0:r.unit);switch(t){case"year":return"".concat(e,"ねん");case"quarter":return"だい".concat(e,"しはんき");case"month":return"".concat(e,"がつ");case"week":return"だい".concat(e,"しゅう");case"date":return"".concat(e,"にち");case"hour":return"".concat(e,"じ");case"minute":return"".concat(e,"ふん");case"second":return"".concat(e,"びょう");default:return"".concat(e)}},S={ordinalNumber:x,era:o({values:P,defaultWidth:"wide"}),quarter:o({values:w,defaultWidth:"wide",argumentCallback:function(a){return Number(a)-1}}),month:o({values:y,defaultWidth:"wide"}),day:o({values:W,defaultWidth:"wide"}),dayPeriod:o({values:p,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^だ?い?\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i,k=/\d+/i,C={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(きげん[前後]|せいれき)/i,wide:/^(きげん[前後]|せいれき)/i},F={narrow:[/^B/i,/^A/i],any:[/^(きげんぜん)/i,/^(せいれき|きげんご)/i]},z={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^だい[1234一二三四1234]しはんき/i},N={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},V={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])がつ/i,wide:/^([123456789]|1[012])がつ/i},X={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},H={narrow:/^(にち|げつ|か|すい|もく|きん|ど)/,short:/^(にち|げつ|か|すい|もく|きん|ど)/,abbreviated:/^(にち|げつ|か|すい|もく|きん|ど)/,wide:/^(にち|げつ|か|すい|もく|きん|ど)ようび/},Q={any:[/^にち/,/^げつ/,/^か/,/^すい/,/^もく/,/^きん/,/^ど/]},A={any:/^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i},E={any:{am:/^(A|ごぜん)/i,pm:/^(P|ごご)/i,midnight:/^しんや|まよなか/i,noon:/^しょうご/i,morning:/^あさ/i,afternoon:/^ごご/i,evening:/^よる/i,night:/^しんや/i}},L={ordinalNumber:s({matchPattern:D,parsePattern:k,valueCallback:function(a){return parseInt(a,10)}}),era:u({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:u({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:u({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),day:u({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:E,defaultParseWidth:"any"})},O={code:"ja-Hira",formatDistance:l,formatLong:v,formatRelative:g,localize:S,match:L,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.63e09bc0.js.map diff --git a/assets/index.63e09bc0.js.map b/assets/index.63e09bc0.js.map new file mode 100644 index 0000000000..1088935b2d --- /dev/null +++ b/assets/index.63e09bc0.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.63e09bc0.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja-Hira/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '1びょうみまん',\n other: '{{count}}びょうみまん',\n oneWithSuffix: 'やく1びょう',\n otherWithSuffix: 'やく{{count}}びょう'\n },\n xSeconds: {\n one: '1びょう',\n other: '{{count}}びょう'\n },\n halfAMinute: '30びょう',\n lessThanXMinutes: {\n one: '1ぷんみまん',\n other: '{{count}}ふんみまん',\n oneWithSuffix: 'やく1ぷん',\n otherWithSuffix: 'やく{{count}}ふん'\n },\n xMinutes: {\n one: '1ぷん',\n other: '{{count}}ふん'\n },\n aboutXHours: {\n one: 'やく1じかん',\n other: 'やく{{count}}じかん'\n },\n xHours: {\n one: '1じかん',\n other: '{{count}}じかん'\n },\n xDays: {\n one: '1にち',\n other: '{{count}}にち'\n },\n aboutXWeeks: {\n one: 'やく1しゅうかん',\n other: 'やく{{count}}しゅうかん'\n },\n xWeeks: {\n one: '1しゅうかん',\n other: '{{count}}しゅうかん'\n },\n aboutXMonths: {\n one: 'やく1かげつ',\n other: 'やく{{count}}かげつ'\n },\n xMonths: {\n one: '1かげつ',\n other: '{{count}}かげつ'\n },\n aboutXYears: {\n one: 'やく1ねん',\n other: 'やく{{count}}ねん'\n },\n xYears: {\n one: '1ねん',\n other: '{{count}}ねん'\n },\n overXYears: {\n one: '1ねんいじょう',\n other: '{{count}}ねんいじょう'\n },\n almostXYears: {\n one: '1ねんちかく',\n other: '{{count}}ねんちかく'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options.addSuffix && tokenValue.oneWithSuffix) {\n result = tokenValue.oneWithSuffix;\n } else {\n result = tokenValue.one;\n }\n } else {\n if (options.addSuffix && tokenValue.otherWithSuffix) {\n result = tokenValue.otherWithSuffix.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + 'あと';\n } else {\n return result + 'まえ';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'yねんMがつdにちEEEE',\n long: 'yねんMがつdにち',\n medium: 'y/MM/dd',\n short: 'y/MM/dd'\n};\nvar timeFormats = {\n full: 'Hじmmふんssびょう zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: 'せんしゅうのeeeeのp',\n yesterday: 'きのうのp',\n today: 'きょうのp',\n tomorrow: 'あしたのp',\n nextWeek: 'よくしゅうのeeeeのp',\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['BC', 'AC'],\n abbreviated: ['きげんぜん', 'せいれき'],\n wide: ['きげんぜん', 'せいれき']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['だい1しはんき', 'だい2しはんき', 'だい3しはんき', 'だい4しはんき']\n};\nvar monthValues = {\n narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n abbreviated: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ'],\n wide: ['1がつ', '2がつ', '3がつ', '4がつ', '5がつ', '6がつ', '7がつ', '8がつ', '9がつ', '10がつ', '11がつ', '12がつ']\n};\nvar dayValues = {\n narrow: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'],\n short: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'],\n abbreviated: ['にち', 'げつ', 'か', 'すい', 'もく', 'きん', 'ど'],\n wide: ['にちようび', 'げつようび', 'かようび', 'すいようび', 'もくようび', 'きんようび', 'どようび']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n },\n abbreviated: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n },\n wide: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n },\n abbreviated: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n },\n wide: {\n am: 'ごぜん',\n pm: 'ごご',\n midnight: 'しんや',\n noon: 'しょうご',\n morning: 'あさ',\n afternoon: 'ごご',\n evening: 'よる',\n night: 'しんや'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n\n switch (unit) {\n case 'year':\n return \"\".concat(number, \"\\u306D\\u3093\");\n\n case 'quarter':\n return \"\\u3060\\u3044\".concat(number, \"\\u3057\\u306F\\u3093\\u304D\");\n\n case 'month':\n return \"\".concat(number, \"\\u304C\\u3064\");\n\n case 'week':\n return \"\\u3060\\u3044\".concat(number, \"\\u3057\\u3085\\u3046\");\n\n case 'date':\n return \"\".concat(number, \"\\u306B\\u3061\");\n\n case 'hour':\n return \"\".concat(number, \"\\u3058\");\n\n case 'minute':\n return \"\".concat(number, \"\\u3075\\u3093\");\n\n case 'second':\n return \"\".concat(number, \"\\u3073\\u3087\\u3046\");\n\n default:\n return \"\".concat(number);\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^だ?い?\\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(B\\.?C\\.?|A\\.?D\\.?)/i,\n abbreviated: /^(きげん[前後]|せいれき)/i,\n wide: /^(きげん[前後]|せいれき)/i\n};\nvar parseEraPatterns = {\n narrow: [/^B/i, /^A/i],\n any: [/^(きげんぜん)/i, /^(せいれき|きげんご)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^Q[1234]/i,\n wide: /^だい[1234一二三四1234]しはんき/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^([123456789]|1[012])/,\n abbreviated: /^([123456789]|1[012])がつ/i,\n wide: /^([123456789]|1[012])がつ/i\n};\nvar parseMonthPatterns = {\n any: [/^1\\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]\n};\nvar matchDayPatterns = {\n narrow: /^(にち|げつ|か|すい|もく|きん|ど)/,\n short: /^(にち|げつ|か|すい|もく|きん|ど)/,\n abbreviated: /^(にち|げつ|か|すい|もく|きん|ど)/,\n wide: /^(にち|げつ|か|すい|もく|きん|ど)ようび/\n};\nvar parseDayPatterns = {\n any: [/^にち/, /^げつ/, /^か/, /^すい/, /^もく/, /^きん/, /^ど/]\n};\nvar matchDayPeriodPatterns = {\n any: /^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(A|ごぜん)/i,\n pm: /^(P|ごご)/i,\n midnight: /^しんや|まよなか/i,\n noon: /^しょうご/i,\n morning: /^あさ/i,\n afternoon: /^ごご/i,\n evening: /^よる/i,\n night: /^しんや/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Japanese (Hiragana) locale.\n * @language Japanese (Hiragana)\n * @iso-639-2 jpn\n * @author Eri Hiramatsu [@Eritutteo]{@link https://github.com/Eritutteo}\n */\n\nvar locale = {\n code: 'ja-Hira',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,UACL,MAAO,kBACP,cAAe,SACf,gBAAiB,gBAClB,EACD,SAAU,CACR,IAAK,O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AE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EChFIM,EAAS,CACX,KAAM,UACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.65678116.js b/assets/index.65678116.js new file mode 100644 index 0000000000..5d25a67525 --- /dev/null +++ b/assets/index.65678116.js @@ -0,0 +1,2 @@ +import{d as s,e as o,f as m,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},l=function(a,e,t){var i,r=u[a];return typeof r=="string"?i=r:e===1?i=r.one:i=r.other.replace("{{count}}",String(e)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"em "+i:"há "+i:i},h={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},c={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},f={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:c,defaultWidth:"full"}),dateTime:s({formats:f,defaultWidth:"full"})},b={lastWeek:function(a){var e=a.getUTCDay(),t=e===0||e===6?"último":"última";return"'"+t+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},g=function(a,e,t,i){var r=b[a];return typeof r=="function"?r(e):r},p={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},P={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},w={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},y={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},M={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},W={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},j=function(a,e){var t=Number(a);return(e==null?void 0:e.unit)==="week"?t+"ª":t+"º"},q={ordinalNumber:j,era:o({values:p,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:o({values:w,defaultWidth:"wide"}),day:o({values:y,defaultWidth:"wide"}),dayPeriod:o({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},k=/^(\d+)[ºªo]?/i,x=/\d+/i,D={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},z={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},C={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},T={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},F={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},S={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},V={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},X={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},N={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},E={ordinalNumber:m({matchPattern:k,parsePattern:x,valueCallback:function(a){return parseInt(a,10)}}),era:d({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:d({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:d({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),day:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:X,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"})},O={code:"pt-BR",formatDistance:l,formatLong:v,formatRelative:g,localize:q,match:E,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.65678116.js.map diff --git a/assets/index.65678116.js.map b/assets/index.65678116.js.map new file mode 100644 index 0000000000..d52932f937 --- /dev/null +++ b/assets/index.65678116.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.65678116.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pt-BR/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'menos de um segundo',\n other: 'menos de {{count}} segundos'\n },\n xSeconds: {\n one: '1 segundo',\n other: '{{count}} segundos'\n },\n halfAMinute: 'meio minuto',\n lessThanXMinutes: {\n one: 'menos de um minuto',\n other: 'menos de {{count}} minutos'\n },\n xMinutes: {\n one: '1 minuto',\n other: '{{count}} minutos'\n },\n aboutXHours: {\n one: 'cerca de 1 hora',\n other: 'cerca de {{count}} horas'\n },\n xHours: {\n one: '1 hora',\n other: '{{count}} horas'\n },\n xDays: {\n one: '1 dia',\n other: '{{count}} dias'\n },\n aboutXWeeks: {\n one: 'cerca de 1 semana',\n other: 'cerca de {{count}} semanas'\n },\n xWeeks: {\n one: '1 semana',\n other: '{{count}} semanas'\n },\n aboutXMonths: {\n one: 'cerca de 1 mês',\n other: 'cerca de {{count}} meses'\n },\n xMonths: {\n one: '1 mês',\n other: '{{count}} meses'\n },\n aboutXYears: {\n one: 'cerca de 1 ano',\n other: 'cerca de {{count}} anos'\n },\n xYears: {\n one: '1 ano',\n other: '{{count}} anos'\n },\n overXYears: {\n one: 'mais de 1 ano',\n other: 'mais de {{count}} anos'\n },\n almostXYears: {\n one: 'quase 1 ano',\n other: 'quase {{count}} anos'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'em ' + result;\n } else {\n return 'há ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' y\",\n medium: 'd MMM y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'às' {{time}}\",\n long: \"{{date}} 'às' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n var weekday = date.getUTCDay();\n var last = weekday === 0 || weekday === 6 ? 'último' : 'última';\n return \"'\" + last + \"' eeee 'às' p\";\n },\n yesterday: \"'ontem às' p\",\n today: \"'hoje às' p\",\n tomorrow: \"'amanhã às' p\",\n nextWeek: \"eeee 'às' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['AC', 'DC'],\n abbreviated: ['AC', 'DC'],\n wide: ['antes de cristo', 'depois de cristo']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'],\n wide: ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro']\n};\nvar dayValues = {\n narrow: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],\n short: ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab'],\n abbreviated: ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'],\n wide: ['domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noite'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noite'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'manhã',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noite'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da tarde',\n night: 'da noite'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da tarde',\n night: 'da noite'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'meia-noite',\n noon: 'meio-dia',\n morning: 'da manhã',\n afternoon: 'da tarde',\n evening: 'da tarde',\n night: 'da noite'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n\n if ((options === null || options === void 0 ? void 0 : options.unit) === 'week') {\n return number + 'ª';\n }\n\n return number + 'º';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)[ºªo]?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ac|dc|a|d)/i,\n abbreviated: /^(a\\.?\\s?c\\.?|d\\.?\\s?c\\.?)/i,\n wide: /^(antes de cristo|depois de cristo)/i\n};\nvar parseEraPatterns = {\n any: [/^ac/i, /^dc/i],\n wide: [/^antes de cristo/i, /^depois de cristo/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](º)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmajsond]/i,\n abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,\n wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^fev/i, /^mar/i, /^abr/i, /^mai/i, /^jun/i, /^jul/i, /^ago/i, /^set/i, /^out/i, /^nov/i, /^dez/i]\n};\nvar matchDayPatterns = {\n narrow: /^(dom|[23456]ª?|s[aá]b)/i,\n short: /^(dom|[23456]ª?|s[aá]b)/i,\n abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,\n wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i\n};\nvar parseDayPatterns = {\n short: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],\n narrow: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],\n any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[aá]b/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,\n any: /^([ap]\\.?\\s?m\\.?|meia[-\\s]noite|meio[-\\s]dia|(da) (manhã|tarde|noite))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mn|^meia[-\\s]noite/i,\n noon: /^md|^meio[-\\s]dia/i,\n morning: /manhã/i,\n afternoon: /tarde/i,\n evening: /tarde/i,\n night: /noite/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Portuguese locale (Brazil).\n * @language Portuguese\n * @iso-639-2 por\n * @author Lucas Duailibe [@duailibe]{@link https://github.com/duailibe}\n * @author Yago Carballo [@yagocarballo]{@link https://github.com/YagoCarballo}\n */\n\nvar locale = {\n code: 'pt-BR',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","weekday","last","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,0BACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,E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OAAO,CACjH,EACIC,EAAmB,CACrB,OAAQ,2BACR,MAAO,2BACP,YAAa,qCACb,KAAM,0EACR,EACIC,EAAmB,CACrB,MAAO,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,SAAS,EAC3D,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,SAAS,EAC5D,IAAK,CAAC,MAAO,QAAS,MAAO,QAAS,QAAS,QAAS,UAAU,CACpE,EACIC,EAAyB,CAC3B,OAAQ,yCACR,IAAK,yEACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,uBACV,KAAM,qBACN,QAAS,SACT,UAAW,SACX,QAAS,SACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,QACN,eAAgBhD,EAChB,WAAYS,EACZ,eAAgBM,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.66fff3a6.js b/assets/index.66fff3a6.js new file mode 100644 index 0000000000..7c6d14f75e --- /dev/null +++ b/assets/index.66fff3a6.js @@ -0,0 +1,2 @@ +import{o as a,q as t,u as o,v as e}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{f as r}from"./index.53b8c5bf.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var c={code:"en-GB",formatDistance:a,formatLong:r,formatRelative:t,localize:o,match:e,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{c as default}; +//# sourceMappingURL=index.66fff3a6.js.map diff --git a/assets/index.66fff3a6.js.map b/assets/index.66fff3a6.js.map new file mode 100644 index 0000000000..70676c9806 --- /dev/null +++ b/assets/index.66fff3a6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.66fff3a6.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-GB/index.js"],"sourcesContent":["import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United Kingdom).\n * @language English\n * @iso-639-2 eng\n * @author Alex [@glintik]{@link https://github.com/glintik}\n */\n\nvar locale = {\n code: 'en-GB',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["locale","formatDistance","formatLong","formatRelative","localize","match"],"mappings":"8XAcG,IAACA,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYC,EACZ,eAAgBC,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.6b96687e.js b/assets/index.6b96687e.js new file mode 100644 index 0000000000..37a2a49043 --- /dev/null +++ b/assets/index.6b96687e.js @@ -0,0 +1,2 @@ +import{d as u,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},h=function(e,n,r){r=r||{};var a=m[e],t;return typeof a=="string"?t=a:n===1?t=a.one:n===2?t=a.two:n<=10?t=a.threeToTen.replace("{{count}}",String(n)):t=a.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?"في خلال "+t:"منذ "+t:t},l={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},g={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},w=function(e,n,r,a){return g[e]},b={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},p={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},P={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},T={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},y={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},M={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},W=function(e){return String(e)},D={ordinalNumber:W,era:o({values:b,defaultWidth:"wide"}),quarter:o({values:p,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:P,defaultWidth:"wide"}),day:o({values:T,defaultWidth:"wide"}),dayPeriod:o({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},k=/^(\d+)(th|st|nd|rd)?/i,x=/\d+/i,F={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},z={any:[/^قبل/i,/^بعد/i]},N={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},X={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},S={narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},V={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},E={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},L={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Y={ordinalNumber:s({matchPattern:k,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(e){return Number(e)+1}}),month:d({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),day:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:L,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},A={code:"ar-DZ",formatDistance:h,formatLong:v,formatRelative:w,localize:D,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.6b96687e.js.map diff --git a/assets/index.6b96687e.js.map b/assets/index.6b96687e.js.map new file mode 100644 index 0000000000..c7902c902a --- /dev/null +++ b/assets/index.6b96687e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.6b96687e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-DZ/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية واحدة',\n two: 'أقل من ثانتين',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية واحدة',\n two: 'ثانتين',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نصف دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقائق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة واحدة',\n two: 'دقيقتين',\n threeToTen: '{{count}} دقائق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'ساعة واحدة تقريباً',\n two: 'ساعتين تقريباً',\n threeToTen: '{{count}} ساعات تقريباً',\n other: '{{count}} ساعة تقريباً'\n },\n xHours: {\n one: 'ساعة واحدة',\n two: 'ساعتين',\n threeToTen: '{{count}} ساعات',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'يوم واحد',\n two: 'يومين',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'أسبوع واحد تقريباً',\n two: 'أسبوعين تقريباً',\n threeToTen: '{{count}} أسابيع تقريباً',\n other: '{{count}} أسبوع تقريباً'\n },\n xWeeks: {\n one: 'أسبوع واحد',\n two: 'أسبوعين',\n threeToTen: '{{count}} أسابيع',\n other: '{{count}} أسبوع'\n },\n aboutXMonths: {\n one: 'شهر واحد تقريباً',\n two: 'شهرين تقريباً',\n threeToTen: '{{count}} أشهر تقريباً',\n other: '{{count}} شهر تقريباً'\n },\n xMonths: {\n one: 'شهر واحد',\n two: 'شهرين',\n threeToTen: '{{count}} أشهر',\n other: '{{count}} شهر'\n },\n aboutXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n },\n xYears: {\n one: 'عام واحد',\n two: 'عامين',\n threeToTen: '{{count}} أعوام',\n other: '{{count}} عام'\n },\n overXYears: {\n one: 'أكثر من عام',\n two: 'أكثر من عامين',\n threeToTen: 'أكثر من {{count}} أعوام',\n other: 'أكثر من {{count}} عام'\n },\n almostXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n var usageGroup = formatDistanceLocale[token];\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else if (count === 2) {\n result = usageGroup.two;\n } else if (count <= 10) {\n result = usageGroup.threeToTen.replace('{{count}}', String(count));\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'في خلال ' + result;\n } else {\n return 'منذ ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'عند' {{time}}\",\n long: \"{{date}} 'عند' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'أخر' eeee 'عند' p\",\n yesterday: \"'أمس عند' p\",\n today: \"'اليوم عند' p\",\n tomorrow: \"'غداً عند' p\",\n nextWeek: \"eeee 'عند' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'],\n abbreviated: ['جانـ', 'فيفـ', 'مارس', 'أفريل', 'مايـ', 'جوانـ', 'جويـ', 'أوت', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'],\n wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'في الصباح',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'في الصباح',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?م\\.?\\s?|a\\.?\\s?d\\.?|c\\.?\\s?)/i,\n wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i\n};\nvar parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ر[1234]/i,\n wide: /^الربع [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[جفمأسند]/i,\n abbreviated: /^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,\n wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i],\n any: [/^جان/i, /^فيف/i, /^مار/i, /^أفر/i, /^ماي/i, /^جوا/i, /^جوي/i, /^أوت/i, /^سبت/i, /^أكت/i, /^نوف/i, /^ديس/i]\n};\nvar matchDayPatterns = {\n narrow: /^[حنثرخجس]/i,\n short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,\n wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i],\n wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i],\n any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return Number(index) + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Algerian Arabic).\n * @language Algerian Arabic\n * @iso-639-2 ara\n * @author Badreddine Boumaza [@badre429]{@link https://github.com/badre429}\n * @author Ahmed ElShahat [@elshahat]{@link https://github.com/elshahat}\n */\nvar locale = {\n code: 'ar-DZ',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","usageGroup","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,IAAK,gBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,SACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,iBACL,WAAY,0BACZ,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,kBACL,WAAY,2BACZ,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,UACL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ClFIM,EAAS,CACX,KAAM,QACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.6d06af31.js b/assets/index.6d06af31.js new file mode 100644 index 0000000000..18091fd7e3 --- /dev/null +++ b/assets/index.6d06af31.js @@ -0,0 +1,2 @@ +import{d as s,e as t,f as u,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},c=function(a,i,e){var r,m=l[a];return typeof m=="string"?r=m:i===1?r=m.one:r=m.other.replace("{{count}}",String(i)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?r+" sonra":r+" əvvəl":r},h={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},v={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},$={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:s({formats:h,defaultWidth:"full"}),time:s({formats:v,defaultWidth:"full"}),dateTime:s({formats:$,defaultWidth:"full"})},f={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},y=function(a,i,e,r){return f[a]},b={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},p={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},M={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},P={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},x={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},w={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},d={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},z=function(a){if(a===0)return a+"-ıncı";var i=a%10,e=a%100-i,r=a>=100?100:null;return d[i]?d[i]:d[e]?d[e]:r!==null?d[r]:""},k=function(a,i){var e=Number(a),r=z(e);return e+r},C={ordinalNumber:k,era:t({values:b,defaultWidth:"wide"}),quarter:t({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:t({values:M,defaultWidth:"wide"}),day:t({values:P,defaultWidth:"wide"}),dayPeriod:t({values:x,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},W=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,B=/\d+/i,D={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},A={any:[/^b$/i,/^(a|c)$/i]},q={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},F={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},S={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},Y={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},O={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},V={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},X={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},E={ordinalNumber:u({matchPattern:W,parsePattern:B,valueCallback:function(a){return parseInt(a,10)}}),era:o({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),quarter:o({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"narrow"}),day:o({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},_={code:"az",formatDistance:c,formatLong:g,formatRelative:y,localize:C,match:E,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.6d06af31.js.map diff --git a/assets/index.6d06af31.js.map b/assets/index.6d06af31.js.map new file mode 100644 index 0000000000..8fba55a82f --- /dev/null +++ b/assets/index.6d06af31.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.6d06af31.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/az/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'bir saniyədən az',\n other: '{{count}} bir saniyədən az'\n },\n xSeconds: {\n one: '1 saniyə',\n other: '{{count}} saniyə'\n },\n halfAMinute: 'yarım dəqiqə',\n lessThanXMinutes: {\n one: 'bir dəqiqədən az',\n other: '{{count}} bir dəqiqədən az'\n },\n xMinutes: {\n one: 'bir dəqiqə',\n other: '{{count}} dəqiqə'\n },\n aboutXHours: {\n one: 'təxminən 1 saat',\n other: 'təxminən {{count}} saat'\n },\n xHours: {\n one: '1 saat',\n other: '{{count}} saat'\n },\n xDays: {\n one: '1 gün',\n other: '{{count}} gün'\n },\n aboutXWeeks: {\n one: 'təxminən 1 həftə',\n other: 'təxminən {{count}} həftə'\n },\n xWeeks: {\n one: '1 həftə',\n other: '{{count}} həftə'\n },\n aboutXMonths: {\n one: 'təxminən 1 ay',\n other: 'təxminən {{count}} ay'\n },\n xMonths: {\n one: '1 ay',\n other: '{{count}} ay'\n },\n aboutXYears: {\n one: 'təxminən 1 il',\n other: 'təxminən {{count}} il'\n },\n xYears: {\n one: '1 il',\n other: '{{count}} il'\n },\n overXYears: {\n one: '1 ildən çox',\n other: '{{count}} ildən çox'\n },\n almostXYears: {\n one: 'demək olar ki 1 il',\n other: 'demək olar ki {{count}} il'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' sonra';\n } else {\n return result + ' əvvəl';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, do MMMM y 'il'\",\n long: \"do MMMM y 'il'\",\n medium: \"d MMM y 'il'\",\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} {{time}} - 'də'\",\n long: \"{{date}} {{time}} - 'də'\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'sonuncu' eeee p -'də'\",\n yesterday: \"'dünən' p -'də'\",\n today: \"'bugün' p -'də'\",\n tomorrow: \"'sabah' p -'də'\",\n nextWeek: \"eeee p -'də'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['e.ə', 'b.e'],\n abbreviated: ['e.ə', 'b.e'],\n wide: ['eramızdan əvvəl', 'bizim era']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1ci kvartal', '2ci kvartal', '3cü kvartal', '4cü kvartal']\n};\nvar monthValues = {\n narrow: ['Y', 'F', 'M', 'A', 'M', 'İ', 'İ', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyun', 'İyul', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],\n wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr']\n};\nvar dayValues = {\n narrow: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'],\n short: ['B.', 'B.e', 'Ç.a', 'Ç.', 'C.a', 'C.', 'Ş.'],\n abbreviated: ['Baz', 'Baz.e', 'Çər.a', 'Çər', 'Cüm.a', 'Cüm', 'Şə'],\n wide: ['Bazar', 'Bazar ertəsi', 'Çərşənbə axşamı', 'Çərşənbə', 'Cümə axşamı', 'Cümə', 'Şənbə']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'gecəyarı',\n noon: 'gün',\n morning: 'səhər',\n afternoon: 'gündüz',\n evening: 'axşam',\n night: 'gecə'\n }\n};\nvar suffixes = {\n 1: '-inci',\n 5: '-inci',\n 8: '-inci',\n 70: '-inci',\n 80: '-inci',\n 2: '-nci',\n 7: '-nci',\n 20: '-nci',\n 50: '-nci',\n 3: '-üncü',\n 4: '-üncü',\n 100: '-üncü',\n 6: '-ncı',\n 9: '-uncu',\n 10: '-uncu',\n 30: '-uncu',\n 60: '-ıncı',\n 90: '-ıncı'\n};\n\nvar getSuffix = function getSuffix(number) {\n if (number === 0) {\n // special case for zero\n return number + '-ıncı';\n }\n\n var a = number % 10;\n var b = number % 100 - a;\n var c = number >= 100 ? 100 : null;\n\n if (suffixes[a]) {\n return suffixes[a];\n } else if (suffixes[b]) {\n return suffixes[b];\n } else if (c !== null) {\n return suffixes[c];\n }\n\n return '';\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var suffix = getSuffix(number);\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)$/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)$/i,\n wide: /^(bizim eradan əvvəl|bizim era)$/i\n};\nvar parseEraPatterns = {\n any: [/^b$/i, /^(a|c)$/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]$/i,\n abbreviated: /^K[1234]$/i,\n wide: /^[1234](ci)? kvartal$/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[(?-i)yfmaisond]$/i,\n abbreviated: /^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,\n wide: /^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i\n};\nvar parseMonthPatterns = {\n narrow: [/^[(?-i)y]$/i, /^[(?-i)f]$/i, /^[(?-i)m]$/i, /^[(?-i)a]$/i, /^[(?-i)m]$/i, /^[(?-i)i]$/i, /^[(?-i)i]$/i, /^[(?-i)a]$/i, /^[(?-i)s]$/i, /^[(?-i)o]$/i, /^[(?-i)n]$/i, /^[(?-i)d]$/i],\n abbreviated: [/^Yan$/i, /^Fev$/i, /^Mar$/i, /^Apr$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avg$/i, /^Sen$/i, /^Okt$/i, /^Noy$/i, /^Dek$/i],\n wide: [/^Yanvar$/i, /^Fevral$/i, /^Mart$/i, /^Aprel$/i, /^May$/i, /^İyun$/i, /^İyul$/i, /^Avgust$/i, /^Sentyabr$/i, /^Oktyabr$/i, /^Noyabr$/i, /^Dekabr$/i]\n};\nvar matchDayPatterns = {\n narrow: /^(B\\.|B\\.e|Ç\\.a|Ç\\.|C\\.a|C\\.|Ş\\.)$/i,\n short: /^(B\\.|B\\.e|Ç\\.a|Ç\\.|C\\.a|C\\.|Ş\\.)$/i,\n abbreviated: /^(Baz\\.e|Çər|Çər\\.a|Cüm|Cüm\\.a|Şə)$/i,\n wide: /^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i\n};\nvar parseDayPatterns = {\n narrow: [/^B\\.$/i, /^B\\.e$/i, /^Ç\\.a$/i, /^Ç\\.$/i, /^C\\.a$/i, /^C\\.$/i, /^Ş\\.$/i],\n abbreviated: [/^Baz$/i, /^Baz\\.e$/i, /^Çər\\.a$/i, /^Çər$/i, /^Cüm\\.a$/i, /^Cüm$/i, /^Şə$/i],\n wide: [/^Bazar$/i, /^Bazar ertəsi$/i, /^Çərşənbə axşamı$/i, /^Çərşənbə$/i, /^Cümə axşamı$/i, /^Cümə$/i, /^Şənbə$/i],\n any: [/^B\\.$/i, /^B\\.e$/i, /^Ç\\.a$/i, /^Ç\\.$/i, /^C\\.a$/i, /^C\\.$/i, /^Ş\\.$/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,\n any: /^(am|pm|a\\.m\\.|p\\.m\\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a$/i,\n pm: /^p$/i,\n midnight: /^gecəyarı$/i,\n noon: /^gün$/i,\n morning: /səhər$/i,\n afternoon: /gündüz$/i,\n evening: /axşam$/i,\n night: /gecə$/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'narrow'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Azerbaijani locale.\n * @language Azerbaijani\n * @iso-639-2 aze\n */\n\nvar locale = {\n code: 'az',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","suffixes","getSuffix","number","a","b","c","ordinalNumber","dirtyNumber","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,mBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD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,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,QACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECtFIM,EAAS,CACX,KAAM,KACN,eAAgBnD,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUmB,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EACd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.6fd89f14.js b/assets/index.6fd89f14.js new file mode 100644 index 0000000000..2e655ae0aa --- /dev/null +++ b/assets/index.6fd89f14.js @@ -0,0 +1,2 @@ +import{d as s,e as o,f as d,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{past:"{{count}} წამზე ნაკლები ხნის წინ",present:"{{count}} წამზე ნაკლები",future:"{{count}} წამზე ნაკლებში"},xSeconds:{past:"{{count}} წამის წინ",present:"{{count}} წამი",future:"{{count}} წამში"},halfAMinute:{past:"ნახევარი წუთის წინ",present:"ნახევარი წუთი",future:"ნახევარი წუთში"},lessThanXMinutes:{past:"{{count}} წუთზე ნაკლები ხნის წინ",present:"{{count}} წუთზე ნაკლები",future:"{{count}} წუთზე ნაკლებში"},xMinutes:{past:"{{count}} წუთის წინ",present:"{{count}} წუთი",future:"{{count}} წუთში"},aboutXHours:{past:"დაახლოებით {{count}} საათის წინ",present:"დაახლოებით {{count}} საათი",future:"დაახლოებით {{count}} საათში"},xHours:{past:"{{count}} საათის წინ",present:"{{count}} საათი",future:"{{count}} საათში"},xDays:{past:"{{count}} დღის წინ",present:"{{count}} დღე",future:"{{count}} დღეში"},aboutXWeeks:{past:"დაახლოებით {{count}} კვირას წინ",present:"დაახლოებით {{count}} კვირა",future:"დაახლოებით {{count}} კვირაში"},xWeeks:{past:"{{count}} კვირას კვირა",present:"{{count}} კვირა",future:"{{count}} კვირაში"},aboutXMonths:{past:"დაახლოებით {{count}} თვის წინ",present:"დაახლოებით {{count}} თვე",future:"დაახლოებით {{count}} თვეში"},xMonths:{past:"{{count}} თვის წინ",present:"{{count}} თვე",future:"{{count}} თვეში"},aboutXYears:{past:"დაახლოებით {{count}} წლის წინ",present:"დაახლოებით {{count}} წელი",future:"დაახლოებით {{count}} წელში"},xYears:{past:"{{count}} წლის წინ",present:"{{count}} წელი",future:"{{count}} წელში"},overXYears:{past:"{{count}} წელზე მეტი ხნის წინ",present:"{{count}} წელზე მეტი",future:"{{count}} წელზე მეტი ხნის შემდეგ"},almostXYears:{past:"თითქმის {{count}} წლის წინ",present:"თითქმის {{count}} წელი",future:"თითქმის {{count}} წელში"}},l=function(t,e,a){var r,i=m[t];return typeof i=="string"?r=i:a!=null&&a.addSuffix&&a.comparison&&a.comparison>0?r=i.future.replace("{{count}}",String(e)):a!=null&&a.addSuffix?r=i.past.replace("{{count}}",String(e)):r=i.present.replace("{{count}}",String(e)),r},c={full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},f={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},h={full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p={date:s({formats:c,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:h,defaultWidth:"full"})},v={lastWeek:"'წინა' eeee p'-ზე'",yesterday:"'გუშინ' p'-ზე'",today:"'დღეს' p'-ზე'",tomorrow:"'ხვალ' p'-ზე'",nextWeek:"'შემდეგი' eeee p'-ზე'",other:"P"},g=function(t,e,a,r){return v[t]},b={narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},P={narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},y={narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},M={narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},w={narrow:{am:"a",pm:"p",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამე",noon:"შუადღე",morning:"დილა",afternoon:"საღამო",evening:"საღამო",night:"ღამე"}},W={narrow:{am:"a",pm:"p",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},abbreviated:{am:"AM",pm:"PM",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"},wide:{am:"a.m.",pm:"p.m.",midnight:"შუაღამით",noon:"შუადღისას",morning:"დილით",afternoon:"ნაშუადღევს",evening:"საღამოს",night:"ღამით"}},k=function(t){var e=Number(t);return e===1?e+"-ლი":e+"-ე"},D={ordinalNumber:k,era:o({values:b,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:o({values:y,defaultWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:w,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(-ლი|-ე)?/i,F=/\d+/i,z={narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},S={any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},V={narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},X={any:[/1/i,/2/i,/3/i,/4/i]},C={any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},N={any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},E={narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,wide:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},L={any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},R={any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},T={any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},Y={ordinalNumber:d({matchPattern:x,parsePattern:F,valueCallback:function(t){return parseInt(t,10)}}),era:u({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),quarter:u({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:u({matchPatterns:C,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"}),day:u({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},Q={code:"ka",formatDistance:l,formatLong:p,formatRelative:g,localize:D,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.6fd89f14.js.map diff --git a/assets/index.6fd89f14.js.map b/assets/index.6fd89f14.js.map new file mode 100644 index 0000000000..776faca2c2 --- /dev/null +++ b/assets/index.6fd89f14.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.6fd89f14.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ka/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n past: '{{count}} წამზე ნაკლები ხნის წინ',\n present: '{{count}} წამზე ნაკლები',\n future: '{{count}} წამზე ნაკლებში'\n },\n xSeconds: {\n past: '{{count}} წამის წინ',\n present: '{{count}} წამი',\n future: '{{count}} წამში'\n },\n halfAMinute: {\n past: 'ნახევარი წუთის წინ',\n present: 'ნახევარი წუთი',\n future: 'ნახევარი წუთში'\n },\n lessThanXMinutes: {\n past: '{{count}} წუთზე ნაკლები ხნის წინ',\n present: '{{count}} წუთზე ნაკლები',\n future: '{{count}} წუთზე ნაკლებში'\n },\n xMinutes: {\n past: '{{count}} წუთის წინ',\n present: '{{count}} წუთი',\n future: '{{count}} წუთში'\n },\n aboutXHours: {\n past: 'დაახლოებით {{count}} საათის წინ',\n present: 'დაახლოებით {{count}} საათი',\n future: 'დაახლოებით {{count}} საათში'\n },\n xHours: {\n past: '{{count}} საათის წინ',\n present: '{{count}} საათი',\n future: '{{count}} საათში'\n },\n xDays: {\n past: '{{count}} დღის წინ',\n present: '{{count}} დღე',\n future: '{{count}} დღეში'\n },\n aboutXWeeks: {\n past: 'დაახლოებით {{count}} კვირას წინ',\n present: 'დაახლოებით {{count}} კვირა',\n future: 'დაახლოებით {{count}} კვირაში'\n },\n xWeeks: {\n past: '{{count}} კვირას კვირა',\n present: '{{count}} კვირა',\n future: '{{count}} კვირაში'\n },\n aboutXMonths: {\n past: 'დაახლოებით {{count}} თვის წინ',\n present: 'დაახლოებით {{count}} თვე',\n future: 'დაახლოებით {{count}} თვეში'\n },\n xMonths: {\n past: '{{count}} თვის წინ',\n present: '{{count}} თვე',\n future: '{{count}} თვეში'\n },\n aboutXYears: {\n past: 'დაახლოებით {{count}} წლის წინ',\n present: 'დაახლოებით {{count}} წელი',\n future: 'დაახლოებით {{count}} წელში'\n },\n xYears: {\n past: '{{count}} წლის წინ',\n present: '{{count}} წელი',\n future: '{{count}} წელში'\n },\n overXYears: {\n past: '{{count}} წელზე მეტი ხნის წინ',\n present: '{{count}} წელზე მეტი',\n future: '{{count}} წელზე მეტი ხნის შემდეგ'\n },\n almostXYears: {\n past: 'თითქმის {{count}} წლის წინ',\n present: 'თითქმის {{count}} წელი',\n future: 'თითქმის {{count}} წელში'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) {\n result = tokenValue.future.replace('{{count}}', String(count));\n } else if (options !== null && options !== void 0 && options.addSuffix) {\n result = tokenValue.past.replace('{{count}}', String(count));\n } else {\n result = tokenValue.present.replace('{{count}}', String(count));\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM, y',\n long: 'do, MMMM, y',\n medium: 'd, MMM, y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} {{time}}'-ზე'\",\n long: \"{{date}} {{time}}'-ზე'\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'წინა' eeee p'-ზე'\",\n yesterday: \"'გუშინ' p'-ზე'\",\n today: \"'დღეს' p'-ზე'\",\n tomorrow: \"'ხვალ' p'-ზე'\",\n nextWeek: \"'შემდეგი' eeee p'-ზე'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ჩ.წ-მდე', 'ჩ.წ'],\n abbreviated: ['ჩვ.წ-მდე', 'ჩვ.წ'],\n wide: ['ჩვენს წელთაღრიცხვამდე', 'ჩვენი წელთაღრიცხვით']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-ლი კვ', '2-ე კვ', '3-ე კვ', '4-ე კვ'],\n wide: ['1-ლი კვარტალი', '2-ე კვარტალი', '3-ე კვარტალი', '4-ე კვარტალი']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['ია', 'თე', 'მა', 'აპ', 'მს', 'ვნ', 'ვლ', 'აგ', 'სე', 'ოქ', 'ნო', 'დე'],\n abbreviated: ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],\n wide: ['იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი']\n};\nvar dayValues = {\n narrow: ['კვ', 'ორ', 'სა', 'ოთ', 'ხუ', 'პა', 'შა'],\n short: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],\n abbreviated: ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],\n wide: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'შუაღამე',\n noon: 'შუადღე',\n morning: 'დილა',\n afternoon: 'საღამო',\n evening: 'საღამო',\n night: 'ღამე'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'შუაღამე',\n noon: 'შუადღე',\n morning: 'დილა',\n afternoon: 'საღამო',\n evening: 'საღამო',\n night: 'ღამე'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'შუაღამე',\n noon: 'შუადღე',\n morning: 'დილა',\n afternoon: 'საღამო',\n evening: 'საღამო',\n night: 'ღამე'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'შუაღამით',\n noon: 'შუადღისას',\n morning: 'დილით',\n afternoon: 'ნაშუადღევს',\n evening: 'საღამოს',\n night: 'ღამით'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'შუაღამით',\n noon: 'შუადღისას',\n morning: 'დილით',\n afternoon: 'ნაშუადღევს',\n evening: 'საღამოს',\n night: 'ღამით'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'შუაღამით',\n noon: 'შუადღისას',\n morning: 'დილით',\n afternoon: 'ნაშუადღევს',\n evening: 'საღამოს',\n night: 'ღამით'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n\n if (number === 1) {\n return number + '-ლი';\n }\n\n return number + '-ე';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-ლი|-ე)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ჩვ?\\.წ)/i,\n abbreviated: /^(ჩვ?\\.წ)/i,\n wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i\n};\nvar parseEraPatterns = {\n any: [/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i, /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]-(ლი|ე)? კვ/i,\n wide: /^[1234]-(ლი|ე)? კვარტალი/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i\n};\nvar parseMonthPatterns = {\n any: [/^ია/i, /^თ/i, /^მარ/i, /^აპ/i, /^მაი/i, /^ი?ვნ/i, /^ი?ვლ/i, /^აგ/i, /^ს/i, /^ო/i, /^ნ/i, /^დ/i]\n};\nvar matchDayPatterns = {\n narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,\n short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,\n wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i\n};\nvar parseDayPatterns = {\n any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^([ap]\\.?\\s?m\\.?|შუაღ|დილ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^შუაღ/i,\n noon: /^შუადღ/i,\n morning: /^დილ/i,\n afternoon: /ნაშუადღევს/i,\n evening: /საღამო/i,\n night: /ღამ/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Georgian locale.\n * @language Georgian\n * @iso-639-2 geo\n * @author Lado Lomidze [@Landish]{@link https://github.com/Landish}\n * @author Nick Shvelidze [@shvelo]{@link https://github.com/shvelo}\n */\n\nvar locale = {\n code: 'ka',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,KAAM,mCACN,QAAS,0BACT,OAAQ,0BACT,EACD,SAAU,CACR,KAAM,sBACN,QAAS,iBACT,OAAQ,iBACT,EACD,YAAa,CACX,KAAM,qBACN,QAAS,gBACT,OAAQ,gBACT,EACD,iBAAkB,CAChB,KAAM,mCACN,QAAS,0BACT,OAAQ,0BACT,EACD,SAAU,CACR,KAAM,sBACN,QAAS,iBACT,OAAQ,iBACT,EACD,YAAa,CACX,KAAM,kCACN,QAAS,6BACT,OAAQ,6BACT,EACD,OAAQ,CACN,KAAM,uBACN,QAAS,kBACT,OAAQ,kBACT,EACD,MAAO,CACL,KAAM,qBACN,QAAS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P,EACIC,EAAqB,CACvB,IAAK,CAAC,OAAQ,MAAO,QAAS,OAAQ,QAAS,SAAU,SAAU,OAAQ,MAAO,MAAO,MAAO,KAAK,CACvG,EACIC,EAAmB,CACrB,OAAQ,2BACR,MAAO,kCACP,KAAM,mEACR,EACIC,EAAmB,CACrB,IAAK,CAAC,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAM,CAC9D,EACIC,EAAyB,CAC3B,IAAK,6BACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,SACV,KAAM,UACN,QAAS,QACT,UAAW,cACX,QAAS,UACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC3EIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.718447b7.js b/assets/index.718447b7.js new file mode 100644 index 0000000000..fe50afce70 --- /dev/null +++ b/assets/index.718447b7.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},d=function(a,m,e){var t,o=l[a];return typeof o=="string"?t=o:m===1?t=o.one:t=o.other.replace("{{count}}",m.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"dalam waktu "+t:t+" yang lalu":t},h={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},g={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},b={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:u({formats:h,defaultWidth:"full"}),time:u({formats:g,defaultWidth:"full"}),dateTime:u({formats:b,defaultWidth:"full"})},v={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},c=function(a,m,e,t){return v[a]},p={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},k={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},M={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},y={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},P={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},w={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},W=function(a,m){var e=Number(a);return"ke-"+e},j={ordinalNumber:W,era:i({values:p,defaultWidth:"wide"}),quarter:i({values:k,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:M,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:P,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},S=/^ke-(\d+)?/i,D=/\d+/i,K={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},A={any:[/^s/i,/^(m|e)/i]},J={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},F={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},x={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},R={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},V={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},X={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},C={ordinalNumber:s({matchPattern:S,parsePattern:D,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:K,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),quarter:n({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),day:n({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},_={code:"id",formatDistance:d,formatLong:f,formatRelative:c,localize:j,match:C,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.718447b7.js.map diff --git a/assets/index.718447b7.js.map b/assets/index.718447b7.js.map new file mode 100644 index 0000000000..c9346ff9a6 --- /dev/null +++ b/assets/index.718447b7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.718447b7.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/id/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'kurang dari 1 detik',\n other: 'kurang dari {{count}} detik'\n },\n xSeconds: {\n one: '1 detik',\n other: '{{count}} detik'\n },\n halfAMinute: 'setengah menit',\n lessThanXMinutes: {\n one: 'kurang dari 1 menit',\n other: 'kurang dari {{count}} menit'\n },\n xMinutes: {\n one: '1 menit',\n other: '{{count}} menit'\n },\n aboutXHours: {\n one: 'sekitar 1 jam',\n other: 'sekitar {{count}} jam'\n },\n xHours: {\n one: '1 jam',\n other: '{{count}} jam'\n },\n xDays: {\n one: '1 hari',\n other: '{{count}} hari'\n },\n aboutXWeeks: {\n one: 'sekitar 1 minggu',\n other: 'sekitar {{count}} minggu'\n },\n xWeeks: {\n one: '1 minggu',\n other: '{{count}} minggu'\n },\n aboutXMonths: {\n one: 'sekitar 1 bulan',\n other: 'sekitar {{count}} bulan'\n },\n xMonths: {\n one: '1 bulan',\n other: '{{count}} bulan'\n },\n aboutXYears: {\n one: 'sekitar 1 tahun',\n other: 'sekitar {{count}} tahun'\n },\n xYears: {\n one: '1 tahun',\n other: '{{count}} tahun'\n },\n overXYears: {\n one: 'lebih dari 1 tahun',\n other: 'lebih dari {{count}} tahun'\n },\n almostXYears: {\n one: 'hampir 1 tahun',\n other: 'hampir {{count}} tahun'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'dalam waktu ' + result;\n } else {\n return result + ' yang lalu';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'd/M/yyyy'\n};\nvar timeFormats = {\n full: 'HH.mm.ss',\n long: 'HH.mm.ss',\n medium: 'HH.mm',\n short: 'HH.mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'pukul' {{time}}\",\n long: \"{{date}} 'pukul' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'lalu pukul' p\",\n yesterday: \"'Kemarin pukul' p\",\n today: \"'Hari ini pukul' p\",\n tomorrow: \"'Besok pukul' p\",\n nextWeek: \"eeee 'pukul' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // All data for localization are taken from this page\n// https://www.unicode.org/cldr/charts/32/summary/id.html\n\nvar eraValues = {\n narrow: ['SM', 'M'],\n abbreviated: ['SM', 'M'],\n wide: ['Sebelum Masehi', 'Masehi']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['Kuartal ke-1', 'Kuartal ke-2', 'Kuartal ke-3', 'Kuartal ke-4']\n}; // Note: in Indonesian, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'],\n wide: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember']\n};\nvar dayValues = {\n narrow: ['M', 'S', 'S', 'R', 'K', 'J', 'S'],\n short: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],\n abbreviated: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],\n wide: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'siang',\n evening: 'sore',\n night: 'malam'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber); // Can't use \"pertama\", \"kedua\" because can't be parsed\n\n return 'ke-' + number;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^ke-(\\d+)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(sm|m)/i,\n abbreviated: /^(s\\.?\\s?m\\.?|s\\.?\\s?e\\.?\\s?u\\.?|m\\.?|e\\.?\\s?u\\.?)/i,\n wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i\n};\nvar parseEraPatterns = {\n any: [/^s/i, /^(m|e)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K-?\\s[1234]/i,\n wide: /^Kuartal ke-?\\s?[1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,\n wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[srkjm]/i,\n short: /^(min|sen|sel|rab|kam|jum|sab)/i,\n abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i,\n wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i\n};\nvar parseDayPatterns = {\n narrow: [/^m/i, /^s/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i],\n any: [/^m/i, /^sen/i, /^sel/i, /^r/i, /^k/i, /^j/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|tengah m|tengah h|(di(\\swaktu)?) (pagi|siang|sore|malam))/i,\n any: /^([ap]\\.?\\s?m\\.?|tengah malam|tengah hari|(di(\\swaktu)?) (pagi|siang|sore|malam))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^pm/i,\n midnight: /^tengah m/i,\n noon: /^tengah h/i,\n morning: /pagi/i,\n afternoon: /siang/i,\n evening: /sore/i,\n night: /malam/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Indonesian locale.\n * @language Indonesian\n * @iso-639-2 ind\n * @author Rahmat Budiharso [@rbudiharso]{@link https://github.com/rbudiharso}\n * @author Benget Nata [@bentinata]{@link https://github.com/bentinata}\n * @author Budi Irawan [@deerawan]{@link https://github.com/deerawan}\n * @author Try Ajitiono [@imballinst]{@link https://github.com/imballinst}\n */\n\nvar locale = {\n code: 'id',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,iBACb,iBAAkB,CAChB,IAAK,sBACL,MAAO,6B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QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.72556674.js b/assets/index.72556674.js new file mode 100644 index 0000000000..01acdddb08 --- /dev/null +++ b/assets/index.72556674.js @@ -0,0 +1,88 @@ +/*! PatchyVideo/Platinum by VoileLabs */(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();const vy="modulepreload",gy=function(e){return"/"+e},Eu={},Re=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=gy(i),i in Eu)return;Eu[i]=!0;const s=i.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${o}`))return;const a=document.createElement("link");if(a.rel=s?"stylesheet":vy,s||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),s)return new Promise((l,c)=>{a.addEventListener("load",l),a.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};function zl(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const yy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",by=zl(yy);function $h(e){return!!e||e===""}function Cr(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=We(r)?Oy(r):Cr(r);if(i)for(const s in i)t[s]=i[s]}return t}else{if(We(e))return e;if(De(e))return e}}const _y=/;(?![^(]*\))/g,Ey=/:(.+)/;function Oy(e){const t={};return e.split(_y).forEach(n=>{if(n){const r=n.split(Ey);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Jn(e){let t="";if(We(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const r=Jn(e[n]);r&&(t+=r+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function lR(e){if(!e)return null;let{class:t,style:n}=e;return t&&!We(t)&&(e.class=Jn(t)),n&&(e.style=Cr(n)),e}const nn=e=>We(e)?e:e==null?"":ie(e)||De(e)&&(e.toString===Bh||!ae(e.toString))?JSON.stringify(e,Vh,2):String(e),Vh=(e,t)=>t&&t.__v_isRef?Vh(e,t.value):gr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Uh(t)?{[`Set(${t.size})`]:[...t.values()]}:De(t)&&!ie(t)&&!Wh(t)?String(t):t,Ie={},vr=[],Mt=()=>{},wy=()=>!1,Ty=/^on[^a-z]/,ro=e=>Ty.test(e),Kl=e=>e.startsWith("onUpdate:"),nt=Object.assign,Yl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sy=Object.prototype.hasOwnProperty,ve=(e,t)=>Sy.call(e,t),ie=Array.isArray,gr=e=>io(e)==="[object Map]",Uh=e=>io(e)==="[object Set]",ae=e=>typeof e=="function",We=e=>typeof e=="string",Gl=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",Jl=e=>De(e)&&ae(e.then)&&ae(e.catch),Bh=Object.prototype.toString,io=e=>Bh.call(e),Cy=e=>io(e).slice(8,-1),Wh=e=>io(e)==="[object Object]",Xl=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xs=zl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),so=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xy=/-(\w)/g,Kt=so(e=>e.replace(xy,(t,n)=>n?n.toUpperCase():"")),Iy=/\B([A-Z])/g,er=so(e=>e.replace(Iy,"-$1").toLowerCase()),oo=so(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vo=so(e=>e?`on${oo(e)}`:""),ki=(e,t)=>!Object.is(e,t),Is=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$s=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Li=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ou;const Ay=()=>Ou||(Ou=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let wt;class qh{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=wt,!t&&wt&&(this.index=(wt.scopes||(wt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=wt;try{return wt=this,t()}finally{wt=n}}}on(){wt=this}off(){wt=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}}}function Zl(e){return new qh(e)}function Ny(e,t=wt){t&&t.active&&t.effects.push(e)}function Hh(){return wt}function Qh(e){wt&&wt.cleanups.push(e)}const ec=e=>{const t=new Set(e);return t.w=0,t.n=0,t},zh=e=>(e.w&xn)>0,Kh=e=>(e.n&xn)>0,Ry=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=xn},ky=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];zh(i)&&!Kh(i)?i.delete(e):t[n++]=i,i.w&=~xn,i.n&=~xn}t.length=n}},Sa=new WeakMap;let ci=0,xn=1;const Ca=30;let Dt;const Qn=Symbol(""),xa=Symbol("");class tc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ny(this,r)}run(){if(!this.active)return this.fn();let t=Dt,n=wn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Dt,Dt=this,wn=!0,xn=1<<++ci,ci<=Ca?Ry(this):wu(this),this.fn()}finally{ci<=Ca&&ky(this),xn=1<<--ci,Dt=this.parent,wn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Dt===this?this.deferStop=!0:this.active&&(wu(this),this.onStop&&this.onStop(),this.active=!1)}}function wu(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let wn=!0;const Yh=[];function Qr(){Yh.push(wn),wn=!1}function zr(){const e=Yh.pop();wn=e===void 0?!0:e}function St(e,t,n){if(wn&&Dt){let r=Sa.get(e);r||Sa.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=ec()),Gh(i)}}function Gh(e,t){let n=!1;ci<=Ca?Kh(e)||(e.n|=xn,n=!zh(e)):n=!e.has(Dt),n&&(e.add(Dt),Dt.deps.push(e))}function rn(e,t,n,r,i,s){const o=Sa.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&ie(e))o.forEach((l,c)=>{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),t){case"add":ie(e)?Xl(n)&&a.push(o.get("length")):(a.push(o.get(Qn)),gr(e)&&a.push(o.get(xa)));break;case"delete":ie(e)||(a.push(o.get(Qn)),gr(e)&&a.push(o.get(xa)));break;case"set":gr(e)&&a.push(o.get(Qn));break}if(a.length===1)a[0]&&Ia(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ia(ec(l))}}function Ia(e,t){const n=ie(e)?e:[...e];for(const r of n)r.computed&&Tu(r);for(const r of n)r.computed||Tu(r)}function Tu(e,t){(e!==Dt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ly=zl("__proto__,__v_isRef,__isVue"),Jh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gl)),Fy=nc(),Py=nc(!1,!0),Dy=nc(!0),Su=My();function My(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=be(this);for(let s=0,o=this.length;s<o;s++)St(r,"get",s+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(be)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Qr();const r=be(this)[t].apply(this,n);return zr(),r}}),e}function nc(e=!1,t=!1){return function(r,i,s){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&s===(e?t?Zy:np:t?tp:ep).get(r))return r;const o=ie(r);if(!e&&o&&ve(Su,i))return Reflect.get(Su,i,s);const a=Reflect.get(r,i,s);return(Gl(i)?Jh.has(i):Ly(i))||(e||St(r,"get",i),t)?a:Oe(a)?o&&Xl(i)?a:a.value:De(a)?e?ip(a):_t(a):a}}const jy=Xh(),$y=Xh(!0);function Xh(e=!1){return function(n,r,i,s){let o=n[r];if(xr(o)&&Oe(o)&&!Oe(i))return!1;if(!e&&(!Vs(i)&&!xr(i)&&(o=be(o),i=be(i)),!ie(n)&&Oe(o)&&!Oe(i)))return o.value=i,!0;const a=ie(n)&&Xl(r)?Number(r)<n.length:ve(n,r),l=Reflect.set(n,r,i,s);return n===be(s)&&(a?ki(i,o)&&rn(n,"set",r,i):rn(n,"add",r,i)),l}}function Vy(e,t){const n=ve(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&rn(e,"delete",t,void 0),r}function Uy(e,t){const n=Reflect.has(e,t);return(!Gl(t)||!Jh.has(t))&&St(e,"has",t),n}function By(e){return St(e,"iterate",ie(e)?"length":Qn),Reflect.ownKeys(e)}const Zh={get:Fy,set:jy,deleteProperty:Vy,has:Uy,ownKeys:By},Wy={get:Dy,set(e,t){return!0},deleteProperty(e,t){return!0}},qy=nt({},Zh,{get:Py,set:$y}),rc=e=>e,ao=e=>Reflect.getPrototypeOf(e);function ds(e,t,n=!1,r=!1){e=e.__v_raw;const i=be(e),s=be(t);n||(t!==s&&St(i,"get",t),St(i,"get",s));const{has:o}=ao(i),a=r?rc:n?oc:Fi;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function hs(e,t=!1){const n=this.__v_raw,r=be(n),i=be(e);return t||(e!==i&&St(r,"has",e),St(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ps(e,t=!1){return e=e.__v_raw,!t&&St(be(e),"iterate",Qn),Reflect.get(e,"size",e)}function Cu(e){e=be(e);const t=be(this);return ao(t).has.call(t,e)||(t.add(e),rn(t,"add",e,e)),this}function xu(e,t){t=be(t);const n=be(this),{has:r,get:i}=ao(n);let s=r.call(n,e);s||(e=be(e),s=r.call(n,e));const o=i.call(n,e);return n.set(e,t),s?ki(t,o)&&rn(n,"set",e,t):rn(n,"add",e,t),this}function Iu(e){const t=be(this),{has:n,get:r}=ao(t);let i=n.call(t,e);i||(e=be(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&rn(t,"delete",e,void 0),s}function Au(){const e=be(this),t=e.size!==0,n=e.clear();return t&&rn(e,"clear",void 0,void 0),n}function ms(e,t){return function(r,i){const s=this,o=s.__v_raw,a=be(o),l=t?rc:e?oc:Fi;return!e&&St(a,"iterate",Qn),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function vs(e,t,n){return function(...r){const i=this.__v_raw,s=be(i),o=gr(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...r),u=n?rc:t?oc:Fi;return!t&&St(s,"iterate",l?xa:Qn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function un(e){return function(...t){return e==="delete"?!1:this}}function Hy(){const e={get(s){return ds(this,s)},get size(){return ps(this)},has:hs,add:Cu,set:xu,delete:Iu,clear:Au,forEach:ms(!1,!1)},t={get(s){return ds(this,s,!1,!0)},get size(){return ps(this)},has:hs,add:Cu,set:xu,delete:Iu,clear:Au,forEach:ms(!1,!0)},n={get(s){return ds(this,s,!0)},get size(){return ps(this,!0)},has(s){return hs.call(this,s,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:ms(!0,!1)},r={get(s){return ds(this,s,!0,!0)},get size(){return ps(this,!0)},has(s){return hs.call(this,s,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:ms(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=vs(s,!1,!1),n[s]=vs(s,!0,!1),t[s]=vs(s,!1,!0),r[s]=vs(s,!0,!0)}),[e,n,t,r]}const[Qy,zy,Ky,Yy]=Hy();function ic(e,t){const n=t?e?Yy:Ky:e?zy:Qy;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ve(n,i)&&i in r?n:r,i,s)}const Gy={get:ic(!1,!1)},Jy={get:ic(!1,!0)},Xy={get:ic(!0,!1)},ep=new WeakMap,tp=new WeakMap,np=new WeakMap,Zy=new WeakMap;function eb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tb(e){return e.__v_skip||!Object.isExtensible(e)?0:eb(Cy(e))}function _t(e){return xr(e)?e:sc(e,!1,Zh,Gy,ep)}function rp(e){return sc(e,!1,qy,Jy,tp)}function ip(e){return sc(e,!0,Wy,Xy,np)}function sc(e,t,n,r,i){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=tb(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function Tn(e){return xr(e)?Tn(e.__v_raw):!!(e&&e.__v_isReactive)}function xr(e){return!!(e&&e.__v_isReadonly)}function Vs(e){return!!(e&&e.__v_isShallow)}function sp(e){return Tn(e)||xr(e)}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function Ir(e){return $s(e,"__v_skip",!0),e}const Fi=e=>De(e)?_t(e):e,oc=e=>De(e)?ip(e):e;function ac(e){wn&&Dt&&(e=be(e),Gh(e.dep||(e.dep=ec())))}function lo(e,t){e=be(e),e.dep&&Ia(e.dep)}function Oe(e){return!!(e&&e.__v_isRef===!0)}function H(e){return op(e,!1)}function co(e){return op(e,!0)}function op(e,t){return Oe(e)?e:new nb(e,t)}class nb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:be(t),this._value=n?t:Fi(t)}get value(){return ac(this),this._value}set value(t){const n=this.__v_isShallow||Vs(t)||xr(t);t=n?t:be(t),ki(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Fi(t),lo(this))}}function rb(e){lo(e)}function Ne(e){return Oe(e)?e.value:e}const ib={get:(e,t,n)=>Ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Oe(i)&&!Oe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ap(e){return Tn(e)?e:new Proxy(e,ib)}class sb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ac(this),()=>lo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function lp(e){return new sb(e)}function cp(e){const t=ie(e)?new Array(e.length):{};for(const n in e)t[n]=up(e,n);return t}class ob{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function up(e,t,n){const r=e[t];return Oe(r)?r:new ob(e,t,n)}var fp;class ab{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[fp]=!1,this._dirty=!0,this.effect=new tc(t,()=>{this._dirty||(this._dirty=!0,lo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=be(this);return ac(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}fp="__v_isReadonly";function lb(e,t,n=!1){let r,i;const s=ae(e);return s?(r=e,i=Mt):(r=e.get,i=e.set),new ab(r,i,s||!i,n)}function Sn(e,t,n,r){let i;try{i=r?e(...r):e()}catch(s){Kr(s,t,n)}return i}function Lt(e,t,n,r){if(ae(e)){const s=Sn(e,t,n,r);return s&&Jl(s)&&s.catch(o=>{Kr(o,t,n)}),s}const i=[];for(let s=0;s<e.length;s++)i.push(Lt(e[s],t,n,r));return i}function Kr(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a=n;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){Sn(l,null,10,[e,o,a]);return}}cb(e,n,i,r)}function cb(e,t,n,r=!0){console.error(e)}let Pi=!1,Aa=!1;const lt=[];let Ht=0;const yr=[];let en=null,Bn=0;const dp=Promise.resolve();let lc=null;function tr(e){const t=lc||dp;return e?t.then(this?e.bind(this):e):t}function ub(e){let t=Ht+1,n=lt.length;for(;t<n;){const r=t+n>>>1;Di(lt[r])<e?t=r+1:n=r}return t}function uo(e){(!lt.length||!lt.includes(e,Pi&&e.allowRecurse?Ht+1:Ht))&&(e.id==null?lt.push(e):lt.splice(ub(e.id),0,e),hp())}function hp(){!Pi&&!Aa&&(Aa=!0,lc=dp.then(vp))}function fb(e){const t=lt.indexOf(e);t>Ht&<.splice(t,1)}function pp(e){ie(e)?yr.push(...e):(!en||!en.includes(e,e.allowRecurse?Bn+1:Bn))&&yr.push(e),hp()}function Nu(e,t=Pi?Ht+1:0){for(;t<lt.length;t++){const n=lt[t];n&&n.pre&&(lt.splice(t,1),t--,n())}}function mp(e){if(yr.length){const t=[...new Set(yr)];if(yr.length=0,en){en.push(...t);return}for(en=t,en.sort((n,r)=>Di(n)-Di(r)),Bn=0;Bn<en.length;Bn++)en[Bn]();en=null,Bn=0}}const Di=e=>e.id==null?1/0:e.id,db=(e,t)=>{const n=Di(e)-Di(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function vp(e){Aa=!1,Pi=!0,lt.sort(db);const t=Mt;try{for(Ht=0;Ht<lt.length;Ht++){const n=lt[Ht];n&&n.active!==!1&&Sn(n,null,14)}}finally{Ht=0,lt.length=0,mp(),Pi=!1,lc=null,(lt.length||yr.length)&&vp()}}function hb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ie;let i=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[u]||Ie;d&&(i=n.map(h=>h.trim())),f&&(i=n.map(Li))}let a,l=r[a=Vo(t)]||r[a=Vo(Kt(t))];!l&&s&&(l=r[a=Vo(er(t))]),l&&Lt(l,e,6,i);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Lt(c,e,6,i)}}function gp(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!ae(e)){const l=c=>{const u=gp(c,t,!0);u&&(a=!0,nt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(De(e)&&r.set(e,null),null):(ie(s)?s.forEach(l=>o[l]=null):nt(o,s),De(e)&&r.set(e,o),o)}function fo(e,t){return!e||!ro(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,er(t))||ve(e,t))}let ct=null,ho=null;function Us(e){const t=ct;return ct=e,ho=e&&e.type.__scopeId||null,t}function cR(e){ho=e}function uR(){ho=null}function Ar(e,t=ct,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Wu(-1);const s=Us(t);let o;try{o=e(...i)}finally{Us(s),r._d&&Wu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Uo(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e;let b,y;const O=Us(e);try{if(n.shapeFlag&4){const w=i||r;b=Pt(u.call(w,w,f,s,h,d,p)),y=l}else{const w=t;b=Pt(w.length>1?w(s,{attrs:l,slots:a,emit:c}):w(s,null)),y=t.props?l:mb(l)}}catch(w){gi.length=0,Kr(w,e,1),b=$e(bt)}let _=b;if(y&&v!==!1){const w=Object.keys(y),{shapeFlag:S}=_;w.length&&S&7&&(o&&w.some(Kl)&&(y=vb(y,o)),_=In(_,y))}return n.dirs&&(_=In(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),b=_,Us(O),b}function pb(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Vi(r)){if(r.type!==bt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const mb=e=>{let t;for(const n in e)(n==="class"||n==="style"||ro(n))&&((t||(t={}))[n]=e[n]);return t},vb=(e,t)=>{const n={};for(const r in e)(!Kl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function gb(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ru(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!fo(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Ru(r,o,c):!0:!!o;return!1}function Ru(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!fo(n,s))return!0}return!1}function cc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yb=e=>e.__isSuspense,bb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,l,c){e==null?_b(t,n,r,i,s,o,a,l,c):Eb(e,t,n,r,i,o,a,l,c)},hydrate:Ob,create:uc,normalize:wb},yp=bb;function Mi(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function _b(e,t,n,r,i,s,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=uc(e,i,r,t,f,n,s,o,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,o),d.deps>0?(Mi(e,"onPending"),Mi(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,o),br(d,e.ssFallback)):d.resolve()}function Eb(e,t,n,r,i,s,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:b,isHydrating:y}=f;if(v)f.pendingBranch=d,Qt(d,v)?(l(v,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():b&&(l(p,h,n,r,i,null,s,o,a),br(f,h))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=v):c(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(l(p,h,n,r,i,null,s,o,a),br(f,h))):p&&Qt(d,p)?(l(p,d,n,r,i,f,s,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(p&&Qt(d,p))l(p,d,n,r,i,f,s,o,a),br(f,d);else if(Mi(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:O,pendingId:_}=f;O>0?setTimeout(()=>{f.pendingId===_&&f.fallback(h)},O):O===0&&f.fallback(h)}}function uc(e,t,n,r,i,s,o,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:b}}=c,y=Li(e.props&&e.props.timeout),O={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(_=!1){const{vnode:w,activeBranch:S,pendingBranch:x,pendingId:C,effects:A,parentComponent:M,container:B}=O;if(O.isHydrating)O.isHydrating=!1;else if(!_){const J=S&&x.transition&&x.transition.mode==="out-in";J&&(S.transition.afterLeave=()=>{C===O.pendingId&&d(x,B,Z,0)});let{anchor:Z}=O;S&&(Z=p(S),h(S,M,O,!0)),J||d(x,B,Z,0)}br(O,x),O.pendingBranch=null,O.isInFallback=!1;let z=O.parent,V=!1;for(;z;){if(z.pendingBranch){z.effects.push(...A),V=!0;break}z=z.parent}V||pp(A),O.effects=[],Mi(w,"onResolve")},fallback(_){if(!O.pendingBranch)return;const{vnode:w,activeBranch:S,parentComponent:x,container:C,isSVG:A}=O;Mi(w,"onFallback");const M=p(S),B=()=>{!O.isInFallback||(f(null,_,C,M,x,null,A,a,l),br(O,_))},z=_.transition&&_.transition.mode==="out-in";z&&(S.transition.afterLeave=B),O.isInFallback=!0,h(S,x,null,!0),z||B()},move(_,w,S){O.activeBranch&&d(O.activeBranch,_,w,S),O.container=_},next(){return O.activeBranch&&p(O.activeBranch)},registerDep(_,w){const S=!!O.pendingBranch;S&&O.deps++;const x=_.vnode.el;_.asyncDep.catch(C=>{Kr(C,_,0)}).then(C=>{if(_.isUnmounted||O.isUnmounted||O.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:A}=_;Ma(_,C,!1),x&&(A.el=x);const M=!x&&_.subTree.el;w(_,A,v(x||_.subTree.el),x?null:p(_.subTree),O,o,l),M&&b(M),cc(_,A.el),S&&--O.deps===0&&O.resolve()})},unmount(_,w){O.isUnmounted=!0,O.activeBranch&&h(O.activeBranch,n,_,w),O.pendingBranch&&h(O.pendingBranch,n,_,w)}};return O}function Ob(e,t,n,r,i,s,o,a,l){const c=t.suspense=uc(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,o);return c.deps===0&&c.resolve(),u}function wb(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ku(r?n.default:n),e.ssFallback=r?ku(n.fallback):$e(bt)}function ku(e){let t;if(ae(e)){const n=Nr&&e._c;n&&(e._d=!1,Ue()),e=e(),n&&(e._d=!0,t=kt,Dp())}return ie(e)&&(e=pb(e)),e=Pt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Tb(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):pp(e)}function br(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,cc(r,i))}function zn(e,t){if(Ke){let n=Ke.provides;const r=Ke.parent&&Ke.parent.provides;r===n&&(n=Ke.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Ke||ct;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ae(t)?t.call(r.proxy):t}}function fc(e,t){return po(e,null,t)}function Sb(e,t){return po(e,null,{flush:"post"})}const Lu={};function de(e,t,n){return po(e,t,n)}function po(e,t,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=Ie){const a=Ke;let l,c=!1,u=!1;if(Oe(e)?(l=()=>e.value,c=Vs(e)):Tn(e)?(l=()=>e,r=!0):ie(e)?(u=!0,c=e.some(y=>Tn(y)||Vs(y)),l=()=>e.map(y=>{if(Oe(y))return y.value;if(Tn(y))return qn(y);if(ae(y))return Sn(y,a,2)})):ae(e)?t?l=()=>Sn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Lt(e,a,3,[d])}:l=Mt,t&&r){const y=l;l=()=>qn(y())}let f,d=y=>{f=b.onStop=()=>{Sn(y,a,4)}};if(Rr)return d=Mt,t?n&&Lt(t,a,3,[l(),u?[]:void 0,d]):l(),Mt;let h=u?[]:Lu;const p=()=>{if(!!b.active)if(t){const y=b.run();(r||c||(u?y.some((O,_)=>ki(O,h[_])):ki(y,h)))&&(f&&f(),Lt(t,a,3,[y,h===Lu?void 0:h,d]),h=y)}else b.run()};p.allowRecurse=!!t;let v;i==="sync"?v=p:i==="post"?v=()=>vt(p,a&&a.suspense):(p.pre=!0,a&&(p.id=a.uid),v=()=>uo(p));const b=new tc(l,v);return t?n?p():h=b.run():i==="post"?vt(b.run.bind(b),a&&a.suspense):b.run(),()=>{b.stop(),a&&a.scope&&Yl(a.scope.effects,b)}}function Cb(e,t,n){const r=this.proxy,i=We(e)?e.includes(".")?bp(r,e):()=>r[e]:e.bind(r,r);let s;ae(t)?s=t:(s=t.handler,n=t);const o=Ke;An(this);const a=po(i,s.bind(r),n);return o?An(o):Cn(),a}function bp(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function qn(e,t){if(!De(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Oe(e))qn(e.value,t);else if(ie(e))for(let n=0;n<e.length;n++)qn(e[n],t);else if(Uh(e)||gr(e))e.forEach(n=>{qn(n,t)});else if(Wh(e))for(const n in e)qn(e[n],t);return e}function _p(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yr(()=>{e.isMounted=!0}),ts(()=>{e.isUnmounting=!0}),e}const xt=[Function,Array],xb={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xt,onEnter:xt,onAfterEnter:xt,onEnterCancelled:xt,onBeforeLeave:xt,onLeave:xt,onAfterLeave:xt,onLeaveCancelled:xt,onBeforeAppear:xt,onAppear:xt,onAfterAppear:xt,onAppearCancelled:xt},setup(e,{slots:t}){const n=qe(),r=_p();let i;return()=>{const s=t.default&&dc(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const v of s)if(v.type!==bt){o=v;break}}const a=be(e),{mode:l}=a;if(r.isLeaving)return Bo(o);const c=Fu(o);if(!c)return Bo(o);const u=ji(c,a,r,n);$i(c,u);const f=n.subTree,d=f&&Fu(f);let h=!1;const{getTransitionKey:p}=c.type;if(p){const v=p();i===void 0?i=v:v!==i&&(i=v,h=!0)}if(d&&d.type!==bt&&(!Qt(c,d)||h)){const v=ji(d,a,r,n);if($i(d,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update()},Bo(o);l==="in-out"&&c.type!==bt&&(v.delayLeave=(b,y,O)=>{const _=Op(r,d);_[String(d.key)]=d,b._leaveCb=()=>{y(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=O})}return o}}},Ep=xb;function Op(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ji(e,t,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:b,onAfterAppear:y,onAppearCancelled:O}=t,_=String(e.key),w=Op(n,e),S=(A,M)=>{A&&Lt(A,r,9,M)},x=(A,M)=>{const B=M[1];S(A,M),ie(A)?A.every(z=>z.length<=1)&&B():A.length<=1&&B()},C={mode:s,persisted:o,beforeEnter(A){let M=a;if(!n.isMounted)if(i)M=v||a;else return;A._leaveCb&&A._leaveCb(!0);const B=w[_];B&&Qt(e,B)&&B.el._leaveCb&&B.el._leaveCb(),S(M,[A])},enter(A){let M=l,B=c,z=u;if(!n.isMounted)if(i)M=b||l,B=y||c,z=O||u;else return;let V=!1;const J=A._enterCb=Z=>{V||(V=!0,Z?S(z,[A]):S(B,[A]),C.delayedLeave&&C.delayedLeave(),A._enterCb=void 0)};M?x(M,[A,J]):J()},leave(A,M){const B=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return M();S(f,[A]);let z=!1;const V=A._leaveCb=J=>{z||(z=!0,M(),J?S(p,[A]):S(h,[A]),A._leaveCb=void 0,w[B]===e&&delete w[B])};w[B]=e,d?x(d,[A,V]):V()},clone(A){return ji(A,t,n,r)}};return C}function Bo(e){if(es(e))return e=In(e),e.children=null,e}function Fu(e){return es(e)?e.children?e.children[0]:void 0:e}function $i(e,t){e.shapeFlag&6&&e.component?$i(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 dc(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===ze?(o.patchFlag&128&&i++,r=r.concat(dc(o.children,t,a))):(t||o.type!==bt)&&r.push(a!=null?In(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function $t(e){return ae(e)?{setup:e,name:e.name}:e}const pi=e=>!!e.type.__asyncLoader;function fR(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:s,suspensible:o=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((v,b)=>{a(p,()=>v(f()),()=>b(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return $t({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=Ke;if(c)return()=>Wo(c,h);const p=O=>{l=null,Kr(O,h,13,!r)};if(o&&h.suspense||Rr)return d().then(O=>()=>Wo(O,h)).catch(O=>(p(O),()=>r?$e(r,{error:O}):null));const v=H(!1),b=H(),y=H(!!i);return i&&setTimeout(()=>{y.value=!1},i),s!=null&&setTimeout(()=>{if(!v.value&&!b.value){const O=new Error(`Async component timed out after ${s}ms.`);p(O),b.value=O}},s),d().then(()=>{v.value=!0,h.parent&&es(h.parent.vnode)&&uo(h.parent.update)}).catch(O=>{p(O),b.value=O}),()=>{if(v.value&&c)return Wo(c,h);if(b.value&&r)return $e(r,{error:b.value});if(n&&!y.value)return $e(n)}}})}function Wo(e,{vnode:{ref:t,props:n,children:r,shapeFlag:i},parent:s}){const o=$e(e,n,r);return o.ref=t,o}const es=e=>e.type.__isKeepAlive;function Ib(e,t){wp(e,"a",t)}function Ab(e,t){wp(e,"da",t)}function wp(e,t,n=Ke){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(mo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)es(i.parent.vnode)&&Nb(r,t,n,i),i=i.parent}}function Nb(e,t,n,r){const i=mo(t,e,r,!0);cn(()=>{Yl(r[t],i)},n)}function mo(e,t,n=Ke,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Qr(),An(n);const a=Lt(t,n,e,o);return Cn(),zr(),a});return r?i.unshift(s):i.push(s),s}}const ln=e=>(t,n=Ke)=>(!Rr||e==="sp")&&mo(e,(...r)=>t(...r),n),Tp=ln("bm"),Yr=ln("m"),Rb=ln("bu"),hc=ln("u"),ts=ln("bum"),cn=ln("um"),Sp=ln("sp"),kb=ln("rtg"),Lb=ln("rtc");function Fb(e,t=Ke){mo("ec",e,t)}function Pb(e,t){const n=ct;if(n===null)return e;const r=yo(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,a,l,c=Ie]=t[s];ae(o)&&(o={mounted:o,updated:o}),o.deep&&qn(a),i.push({dir:o,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function Dn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Qr(),Lt(l,n,8,[e.el,a,e,t]),zr())}}const pc="components",Db="directives";function Mb(e,t){return mc(pc,e,!0,t)||e}const Cp=Symbol();function jb(e){return We(e)?mc(pc,e,!1)||e:e||Cp}function $b(e){return mc(Db,e)}function mc(e,t,n=!0,r=!1){const i=ct||Ke;if(i){const s=i.type;if(e===pc){const a=m0(s,!1);if(a&&(a===t||a===Kt(t)||a===oo(Kt(t))))return s}const o=Pu(i[e]||s[e],t)||Pu(i.appContext[e],t);return!o&&r?s:o}}function Pu(e,t){return e&&(e[t]||e[Kt(t)]||e[oo(Kt(t))])}function xp(e,t,n,r){let i;const s=n&&n[r];if(ie(e)||We(e)){i=new Array(e.length);for(let o=0,a=e.length;o<a;o++)i[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,s&&s[o])}else if(De(e))if(e[Symbol.iterator])i=Array.from(e,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];i[a]=t(e[c],c,a,s&&s[a])}}else i=[];return n&&(n[r]=i),i}function dR(e,t,n={},r,i){if(ct.isCE||ct.parent&&pi(ct.parent)&&ct.parent.isCE)return $e("slot",t==="default"?null:{name:t},r&&r());let s=e[t];s&&s._c&&(s._d=!1),Ue();const o=s&&Ip(s(n)),a=_r(ze,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Ip(e){return e.some(t=>Vi(t)?!(t.type===bt||t.type===ze&&!Ip(t.children)):!0)?e:null}const Na=e=>e?Vp(e)?yo(e)||e.proxy:Na(e.parent):null,Bs=nt(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=>Na(e.parent),$root:e=>Na(e.root),$emit:e=>e.emit,$options:e=>vc(e),$forceUpdate:e=>e.f||(e.f=()=>uo(e.update)),$nextTick:e=>e.n||(e.n=tr.bind(e.proxy)),$watch:e=>Cb.bind(e)}),Vb={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(r!==Ie&&ve(r,t))return o[t]=1,r[t];if(i!==Ie&&ve(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&ve(c,t))return o[t]=3,s[t];if(n!==Ie&&ve(n,t))return o[t]=4,n[t];Ra&&(o[t]=0)}}const u=Bs[t];let f,d;if(u)return t==="$attrs"&&St(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ie&&ve(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return i!==Ie&&ve(i,t)?(i[t]=n,!0):r!==Ie&&ve(r,t)?(r[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==Ie&&ve(e,o)||t!==Ie&&ve(t,o)||(a=s[0])&&ve(a,o)||ve(r,o)||ve(Bs,o)||ve(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Ra=!0;function Ub(e){const t=vc(e),n=e.proxy,r=e.ctx;Ra=!1,t.beforeCreate&&Du(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:b,beforeDestroy:y,beforeUnmount:O,destroyed:_,unmounted:w,render:S,renderTracked:x,renderTriggered:C,errorCaptured:A,serverPrefetch:M,expose:B,inheritAttrs:z,components:V,directives:J,filters:Z}=t;if(c&&Bb(c,r,null,e.appContext.config.unwrapInjectedRef),o)for(const se in o){const ee=o[se];ae(ee)&&(r[se]=ee.bind(n))}if(i){const se=i.call(n,n);De(se)&&(e.data=_t(se))}if(Ra=!0,s)for(const se in s){const ee=s[se],Me=ae(ee)?ee.bind(n,n):ae(ee.get)?ee.get.bind(n,n):Mt,Se=!ae(ee)&&ae(ee.set)?ee.set.bind(n):Mt,je=re({get:Me,set:Se});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>je.value,set:Ce=>je.value=Ce})}if(a)for(const se in a)Ap(a[se],r,n,se);if(l){const se=ae(l)?l.call(n):l;Reflect.ownKeys(se).forEach(ee=>{zn(ee,se[ee])})}u&&Du(u,e,"c");function ce(se,ee){ie(ee)?ee.forEach(Me=>se(Me.bind(n))):ee&&se(ee.bind(n))}if(ce(Tp,f),ce(Yr,d),ce(Rb,h),ce(hc,p),ce(Ib,v),ce(Ab,b),ce(Fb,A),ce(Lb,x),ce(kb,C),ce(ts,O),ce(cn,w),ce(Sp,M),ie(B))if(B.length){const se=e.exposed||(e.exposed={});B.forEach(ee=>{Object.defineProperty(se,ee,{get:()=>n[ee],set:Me=>n[ee]=Me})})}else e.exposed||(e.exposed={});S&&e.render===Mt&&(e.render=S),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),J&&(e.directives=J)}function Bb(e,t,n=Mt,r=!1){ie(e)&&(e=ka(e));for(const i in e){const s=e[i];let o;De(s)?"default"in s?o=dt(s.from||i,s.default,!0):o=dt(s.from||i):o=dt(s),Oe(o)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[i]=o}}function Du(e,t,n){Lt(ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ap(e,t,n,r){const i=r.includes(".")?bp(n,r):()=>n[r];if(We(e)){const s=t[e];ae(s)&&de(i,s)}else if(ae(e))de(i,e.bind(n));else if(De(e))if(ie(e))e.forEach(s=>Ap(s,t,n,r));else{const s=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(s)&&de(i,s,e)}}function vc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>Ws(l,c,o,!0)),Ws(l,t,o)),De(t)&&s.set(t,l),l}function Ws(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Ws(e,s,n,!0),i&&i.forEach(o=>Ws(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Wb[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Wb={data:Mu,props:Un,emits:Un,methods:Un,computed:Un,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Un,directives:Un,watch:Hb,provide:Mu,inject:qb};function Mu(e,t){return t?e?function(){return nt(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function qb(e,t){return Un(ka(e),ka(t))}function ka(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?nt(nt(Object.create(null),e),t):t}function Hb(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const r in t)n[r]=ut(e[r],t[r]);return n}function Qb(e,t,n,r=!1){const i={},s={};$s(s,go,1),e.propsDefaults=Object.create(null),Np(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:rp(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function zb(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=be(i),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(fo(e.emitsOptions,d))continue;const h=t[d];if(l)if(ve(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=Kt(d);i[p]=La(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{Np(e,t,i,s)&&(c=!0);let u;for(const f in a)(!t||!ve(t,f)&&((u=er(f))===f||!ve(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=La(l,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!ve(t,f)&&!0)&&(delete s[f],c=!0)}c&&rn(e,"set","$attrs")}function Np(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(xs(l))continue;const c=t[l];let u;i&&ve(i,u=Kt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:fo(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(s){const l=be(n),c=a||Ie;for(let u=0;u<s.length;u++){const f=s[u];n[f]=La(i,l,f,c[f],e,!ve(c,f))}}return o}function La(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=ve(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&ae(l)){const{propsDefaults:c}=i;n in c?r=c[n]:(An(i),r=c[n]=l.call(null,t),Cn())}else r=l}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===er(n))&&(r=!0))}return r}function Rp(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let l=!1;if(!ae(e)){const u=f=>{l=!0;const[d,h]=Rp(f,t,!0);nt(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return De(e)&&r.set(e,vr),vr;if(ie(s))for(let u=0;u<s.length;u++){const f=Kt(s[u]);ju(f)&&(o[f]=Ie)}else if(s)for(const u in s){const f=Kt(u);if(ju(f)){const d=s[u],h=o[f]=ie(d)||ae(d)?{type:d}:d;if(h){const p=Uu(Boolean,h.type),v=Uu(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||ve(h,"default"))&&a.push(f)}}}const c=[o,a];return De(e)&&r.set(e,c),c}function ju(e){return e[0]!=="$"}function $u(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Vu(e,t){return $u(e)===$u(t)}function Uu(e,t){return ie(t)?t.findIndex(n=>Vu(n,e)):ae(t)&&Vu(t,e)?0:-1}const kp=e=>e[0]==="_"||e==="$stable",gc=e=>ie(e)?e.map(Pt):[Pt(e)],Kb=(e,t,n)=>{if(t._n)return t;const r=Ar((...i)=>gc(t(...i)),n);return r._c=!1,r},Lp=(e,t,n)=>{const r=e._ctx;for(const i in e){if(kp(i))continue;const s=e[i];if(ae(s))t[i]=Kb(i,s,r);else if(s!=null){const o=gc(s);t[i]=()=>o}}},Fp=(e,t)=>{const n=gc(t);e.slots.default=()=>n},Yb=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=be(t),$s(t,"_",n)):Lp(t,e.slots={})}else e.slots={},t&&Fp(e,t);$s(e.slots,go,1)},Gb=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Ie;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(nt(i,t),!n&&a===1&&delete i._):(s=!t.$stable,Lp(t,i)),o=t}else t&&(Fp(e,t),o={default:1});if(s)for(const a in i)!kp(a)&&!(a in o)&&delete i[a]};function Pp(){return{app:null,config:{isNativeTag:wy,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 Jb=0;function Xb(e,t){return function(r,i=null){ae(r)||(r=Object.assign({},r)),i!=null&&!De(i)&&(i=null);const s=Pp(),o=new Set;let a=!1;const l=s.app={_uid:Jb++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:g0,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&ae(c.install)?(o.add(c),c.install(l,...u)):ae(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=$e(r,i);return d.appContext=s,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,yo(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function Fa(e,t,n,r,i=!1){if(ie(e)){e.forEach((d,h)=>Fa(d,t&&(ie(t)?t[h]:t),n,r,i));return}if(pi(r)&&!i)return;const s=r.shapeFlag&4?yo(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ie?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(We(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),ae(l))Sn(l,a,12,[o,u]);else{const d=We(l),h=Oe(l);if(d||h){const p=()=>{if(e.f){const v=d?ve(f,l)?f[l]:u[l]:l.value;i?ie(v)&&Yl(v,s):ie(v)?v.includes(s)||v.push(s):d?(u[l]=[s],ve(f,l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else d?(u[l]=o,ve(f,l)&&(f[l]=o)):h&&(l.value=o,e.k&&(u[e.k]=o))};o?(p.id=-1,vt(p,n)):p()}}}const vt=Tb;function Zb(e){return e0(e)}function e0(e,t){const n=Ay();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Mt,insertStaticContent:p}=e,v=(E,m,g,T=null,I=null,L=null,j=!1,$=null,U=!!m.dynamicChildren)=>{if(E===m)return;E&&!Qt(E,m)&&(T=W(E),Ce(E,I,L,!0),E=null),m.patchFlag===-2&&(U=!1,m.dynamicChildren=null);const{type:P,ref:N,shapeFlag:R}=m;switch(P){case vo:b(E,m,g,T);break;case bt:y(E,m,g,T);break;case vi:E==null&&O(m,g,T,j);break;case ze:V(E,m,g,T,I,L,j,$,U);break;default:R&1?S(E,m,g,T,I,L,j,$,U):R&6?J(E,m,g,T,I,L,j,$,U):(R&64||R&128)&&P.process(E,m,g,T,I,L,j,$,U,oe)}N!=null&&I&&Fa(N,E&&E.ref,L,m||E,!m)},b=(E,m,g,T)=>{if(E==null)r(m.el=a(m.children),g,T);else{const I=m.el=E.el;m.children!==E.children&&c(I,m.children)}},y=(E,m,g,T)=>{E==null?r(m.el=l(m.children||""),g,T):m.el=E.el},O=(E,m,g,T)=>{[E.el,E.anchor]=p(E.children,m,g,T,E.el,E.anchor)},_=({el:E,anchor:m},g,T)=>{let I;for(;E&&E!==m;)I=d(E),r(E,g,T),E=I;r(m,g,T)},w=({el:E,anchor:m})=>{let g;for(;E&&E!==m;)g=d(E),i(E),E=g;i(m)},S=(E,m,g,T,I,L,j,$,U)=>{j=j||m.type==="svg",E==null?x(m,g,T,I,L,j,$,U):M(E,m,I,L,j,$,U)},x=(E,m,g,T,I,L,j,$)=>{let U,P;const{type:N,props:R,shapeFlag:Y,transition:X,dirs:fe}=E;if(U=E.el=o(E.type,L,R&&R.is,R),Y&8?u(U,E.children):Y&16&&A(E.children,U,null,T,I,L&&N!=="foreignObject",j,$),fe&&Dn(E,null,T,"created"),R){for(const me in R)me!=="value"&&!xs(me)&&s(U,me,null,R[me],L,E.children,T,I,q);"value"in R&&s(U,"value",null,R.value),(P=R.onVnodeBeforeMount)&&Bt(P,T,E)}C(U,E,E.scopeId,j,T),fe&&Dn(E,null,T,"beforeMount");const Ee=(!I||I&&!I.pendingBranch)&&X&&!X.persisted;Ee&&X.beforeEnter(U),r(U,m,g),((P=R&&R.onVnodeMounted)||Ee||fe)&&vt(()=>{P&&Bt(P,T,E),Ee&&X.enter(U),fe&&Dn(E,null,T,"mounted")},I)},C=(E,m,g,T,I)=>{if(g&&h(E,g),T)for(let L=0;L<T.length;L++)h(E,T[L]);if(I){let L=I.subTree;if(m===L){const j=I.vnode;C(E,j,j.scopeId,j.slotScopeIds,I.parent)}}},A=(E,m,g,T,I,L,j,$,U=0)=>{for(let P=U;P<E.length;P++){const N=E[P]=$?vn(E[P]):Pt(E[P]);v(null,N,m,g,T,I,L,j,$)}},M=(E,m,g,T,I,L,j)=>{const $=m.el=E.el;let{patchFlag:U,dynamicChildren:P,dirs:N}=m;U|=E.patchFlag&16;const R=E.props||Ie,Y=m.props||Ie;let X;g&&Mn(g,!1),(X=Y.onVnodeBeforeUpdate)&&Bt(X,g,m,E),N&&Dn(m,E,g,"beforeUpdate"),g&&Mn(g,!0);const fe=I&&m.type!=="foreignObject";if(P?B(E.dynamicChildren,P,$,g,T,fe,L):j||ee(E,m,$,null,g,T,fe,L,!1),U>0){if(U&16)z($,m,R,Y,g,T,I);else if(U&2&&R.class!==Y.class&&s($,"class",null,Y.class,I),U&4&&s($,"style",R.style,Y.style,I),U&8){const Ee=m.dynamicProps;for(let me=0;me<Ee.length;me++){const Ve=Ee[me],Ct=R[Ve],rr=Y[Ve];(rr!==Ct||Ve==="value")&&s($,Ve,Ct,rr,I,E.children,g,T,q)}}U&1&&E.children!==m.children&&u($,m.children)}else!j&&P==null&&z($,m,R,Y,g,T,I);((X=Y.onVnodeUpdated)||N)&&vt(()=>{X&&Bt(X,g,m,E),N&&Dn(m,E,g,"updated")},T)},B=(E,m,g,T,I,L,j)=>{for(let $=0;$<m.length;$++){const U=E[$],P=m[$],N=U.el&&(U.type===ze||!Qt(U,P)||U.shapeFlag&70)?f(U.el):g;v(U,P,N,null,T,I,L,j,!0)}},z=(E,m,g,T,I,L,j)=>{if(g!==T){if(g!==Ie)for(const $ in g)!xs($)&&!($ in T)&&s(E,$,g[$],null,j,m.children,I,L,q);for(const $ in T){if(xs($))continue;const U=T[$],P=g[$];U!==P&&$!=="value"&&s(E,$,P,U,j,m.children,I,L,q)}"value"in T&&s(E,"value",g.value,T.value)}},V=(E,m,g,T,I,L,j,$,U)=>{const P=m.el=E?E.el:a(""),N=m.anchor=E?E.anchor:a("");let{patchFlag:R,dynamicChildren:Y,slotScopeIds:X}=m;X&&($=$?$.concat(X):X),E==null?(r(P,g,T),r(N,g,T),A(m.children,g,N,I,L,j,$,U)):R>0&&R&64&&Y&&E.dynamicChildren?(B(E.dynamicChildren,Y,g,I,L,j,$),(m.key!=null||I&&m===I.subTree)&&yc(E,m,!0)):ee(E,m,g,N,I,L,j,$,U)},J=(E,m,g,T,I,L,j,$,U)=>{m.slotScopeIds=$,E==null?m.shapeFlag&512?I.ctx.activate(m,g,T,j,U):Z(m,g,T,I,L,j,U):he(E,m,U)},Z=(E,m,g,T,I,L,j)=>{const $=E.component=u0(E,T,I);if(es(E)&&($.ctx.renderer=oe),f0($),$.asyncDep){if(I&&I.registerDep($,ce),!E.el){const U=$.subTree=$e(bt);y(null,U,m,g)}return}ce($,E,m,g,I,L,j)},he=(E,m,g)=>{const T=m.component=E.component;if(gb(E,m,g))if(T.asyncDep&&!T.asyncResolved){se(T,m,g);return}else T.next=m,fb(T.update),T.update();else m.el=E.el,T.vnode=m},ce=(E,m,g,T,I,L,j)=>{const $=()=>{if(E.isMounted){let{next:N,bu:R,u:Y,parent:X,vnode:fe}=E,Ee=N,me;Mn(E,!1),N?(N.el=fe.el,se(E,N,j)):N=fe,R&&Is(R),(me=N.props&&N.props.onVnodeBeforeUpdate)&&Bt(me,X,N,fe),Mn(E,!0);const Ve=Uo(E),Ct=E.subTree;E.subTree=Ve,v(Ct,Ve,f(Ct.el),W(Ct),E,I,L),N.el=Ve.el,Ee===null&&cc(E,Ve.el),Y&&vt(Y,I),(me=N.props&&N.props.onVnodeUpdated)&&vt(()=>Bt(me,X,N,fe),I)}else{let N;const{el:R,props:Y}=m,{bm:X,m:fe,parent:Ee}=E,me=pi(m);if(Mn(E,!1),X&&Is(X),!me&&(N=Y&&Y.onVnodeBeforeMount)&&Bt(N,Ee,m),Mn(E,!0),R&&ne){const Ve=()=>{E.subTree=Uo(E),ne(R,E.subTree,E,I,null)};me?m.type.__asyncLoader().then(()=>!E.isUnmounted&&Ve()):Ve()}else{const Ve=E.subTree=Uo(E);v(null,Ve,g,T,E,I,L),m.el=Ve.el}if(fe&&vt(fe,I),!me&&(N=Y&&Y.onVnodeMounted)){const Ve=m;vt(()=>Bt(N,Ee,Ve),I)}(m.shapeFlag&256||Ee&&pi(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&E.a&&vt(E.a,I),E.isMounted=!0,m=g=T=null}},U=E.effect=new tc($,()=>uo(P),E.scope),P=E.update=()=>U.run();P.id=E.uid,Mn(E,!0),P()},se=(E,m,g)=>{m.component=E;const T=E.vnode.props;E.vnode=m,E.next=null,zb(E,m.props,T,g),Gb(E,m.children,g),Qr(),Nu(),zr()},ee=(E,m,g,T,I,L,j,$,U=!1)=>{const P=E&&E.children,N=E?E.shapeFlag:0,R=m.children,{patchFlag:Y,shapeFlag:X}=m;if(Y>0){if(Y&128){Se(P,R,g,T,I,L,j,$,U);return}else if(Y&256){Me(P,R,g,T,I,L,j,$,U);return}}X&8?(N&16&&q(P,I,L),R!==P&&u(g,R)):N&16?X&16?Se(P,R,g,T,I,L,j,$,U):q(P,I,L,!0):(N&8&&u(g,""),X&16&&A(R,g,T,I,L,j,$,U))},Me=(E,m,g,T,I,L,j,$,U)=>{E=E||vr,m=m||vr;const P=E.length,N=m.length,R=Math.min(P,N);let Y;for(Y=0;Y<R;Y++){const X=m[Y]=U?vn(m[Y]):Pt(m[Y]);v(E[Y],X,g,null,I,L,j,$,U)}P>N?q(E,I,L,!0,!1,R):A(m,g,T,I,L,j,$,U,R)},Se=(E,m,g,T,I,L,j,$,U)=>{let P=0;const N=m.length;let R=E.length-1,Y=N-1;for(;P<=R&&P<=Y;){const X=E[P],fe=m[P]=U?vn(m[P]):Pt(m[P]);if(Qt(X,fe))v(X,fe,g,null,I,L,j,$,U);else break;P++}for(;P<=R&&P<=Y;){const X=E[R],fe=m[Y]=U?vn(m[Y]):Pt(m[Y]);if(Qt(X,fe))v(X,fe,g,null,I,L,j,$,U);else break;R--,Y--}if(P>R){if(P<=Y){const X=Y+1,fe=X<N?m[X].el:T;for(;P<=Y;)v(null,m[P]=U?vn(m[P]):Pt(m[P]),g,fe,I,L,j,$,U),P++}}else if(P>Y)for(;P<=R;)Ce(E[P],I,L,!0),P++;else{const X=P,fe=P,Ee=new Map;for(P=fe;P<=Y;P++){const Ot=m[P]=U?vn(m[P]):Pt(m[P]);Ot.key!=null&&Ee.set(Ot.key,P)}let me,Ve=0;const Ct=Y-fe+1;let rr=!1,yu=0;const Xr=new Array(Ct);for(P=0;P<Ct;P++)Xr[P]=0;for(P=X;P<=R;P++){const Ot=E[P];if(Ve>=Ct){Ce(Ot,I,L,!0);continue}let Ut;if(Ot.key!=null)Ut=Ee.get(Ot.key);else for(me=fe;me<=Y;me++)if(Xr[me-fe]===0&&Qt(Ot,m[me])){Ut=me;break}Ut===void 0?Ce(Ot,I,L,!0):(Xr[Ut-fe]=P+1,Ut>=yu?yu=Ut:rr=!0,v(Ot,m[Ut],g,null,I,L,j,$,U),Ve++)}const bu=rr?t0(Xr):vr;for(me=bu.length-1,P=Ct-1;P>=0;P--){const Ot=fe+P,Ut=m[Ot],_u=Ot+1<N?m[Ot+1].el:T;Xr[P]===0?v(null,Ut,g,_u,I,L,j,$,U):rr&&(me<0||P!==bu[me]?je(Ut,g,_u,2):me--)}}},je=(E,m,g,T,I=null)=>{const{el:L,type:j,transition:$,children:U,shapeFlag:P}=E;if(P&6){je(E.component.subTree,m,g,T);return}if(P&128){E.suspense.move(m,g,T);return}if(P&64){j.move(E,m,g,oe);return}if(j===ze){r(L,m,g);for(let R=0;R<U.length;R++)je(U[R],m,g,T);r(E.anchor,m,g);return}if(j===vi){_(E,m,g);return}if(T!==2&&P&1&&$)if(T===0)$.beforeEnter(L),r(L,m,g),vt(()=>$.enter(L),I);else{const{leave:R,delayLeave:Y,afterLeave:X}=$,fe=()=>r(L,m,g),Ee=()=>{R(L,()=>{fe(),X&&X()})};Y?Y(L,fe,Ee):Ee()}else r(L,m,g)},Ce=(E,m,g,T=!1,I=!1)=>{const{type:L,props:j,ref:$,children:U,dynamicChildren:P,shapeFlag:N,patchFlag:R,dirs:Y}=E;if($!=null&&Fa($,null,g,E,!0),N&256){m.ctx.deactivate(E);return}const X=N&1&&Y,fe=!pi(E);let Ee;if(fe&&(Ee=j&&j.onVnodeBeforeUnmount)&&Bt(Ee,m,E),N&6)F(E.component,g,T);else{if(N&128){E.suspense.unmount(g,T);return}X&&Dn(E,null,m,"beforeUnmount"),N&64?E.type.remove(E,m,g,I,oe,T):P&&(L!==ze||R>0&&R&64)?q(P,m,g,!1,!0):(L===ze&&R&384||!I&&N&16)&&q(U,m,g),T&&pt(E)}(fe&&(Ee=j&&j.onVnodeUnmounted)||X)&&vt(()=>{Ee&&Bt(Ee,m,E),X&&Dn(E,null,m,"unmounted")},g)},pt=E=>{const{type:m,el:g,anchor:T,transition:I}=E;if(m===ze){Et(g,T);return}if(m===vi){w(E);return}const L=()=>{i(g),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(E.shapeFlag&1&&I&&!I.persisted){const{leave:j,delayLeave:$}=I,U=()=>j(g,L);$?$(E.el,L,U):U()}else L()},Et=(E,m)=>{let g;for(;E!==m;)g=d(E),i(E),E=g;i(m)},F=(E,m,g)=>{const{bum:T,scope:I,update:L,subTree:j,um:$}=E;T&&Is(T),I.stop(),L&&(L.active=!1,Ce(j,E,m,g)),$&&vt($,m),vt(()=>{E.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},q=(E,m,g,T=!1,I=!1,L=0)=>{for(let j=L;j<E.length;j++)Ce(E[j],m,g,T,I)},W=E=>E.shapeFlag&6?W(E.component.subTree):E.shapeFlag&128?E.suspense.next():d(E.anchor||E.el),K=(E,m,g)=>{E==null?m._vnode&&Ce(m._vnode,null,null,!0):v(m._vnode||null,E,m,null,null,null,g),Nu(),mp(),m._vnode=E},oe={p:v,um:Ce,m:je,r:pt,mt:Z,mc:A,pc:ee,pbc:B,n:W,o:e};let ye,ne;return t&&([ye,ne]=t(oe)),{render:K,hydrate:ye,createApp:Xb(K,ye)}}function Mn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function yc(e,t,n=!1){const r=e.children,i=t.children;if(ie(r)&&ie(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=vn(i[s]),a.el=o.el),n||yc(o,a))}}function t0(e){const t=e.slice(),n=[0];let r,i,s,o,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<c?s=a+1:o=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}const n0=e=>e.__isTeleport,mi=e=>e&&(e.disabled||e.disabled===""),Bu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Pa=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},r0={__isTeleport:!0,process(e,t,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:b}}=c,y=mi(t.props);let{shapeFlag:O,children:_,dynamicChildren:w}=t;if(e==null){const S=t.el=v(""),x=t.anchor=v("");h(S,n,r),h(x,n,r);const C=t.target=Pa(t.props,p),A=t.targetAnchor=v("");C&&(h(A,C),o=o||Bu(C));const M=(B,z)=>{O&16&&u(_,B,z,i,s,o,a,l)};y?M(n,x):C&&M(C,A)}else{t.el=e.el;const S=t.anchor=e.anchor,x=t.target=e.target,C=t.targetAnchor=e.targetAnchor,A=mi(e.props),M=A?n:x,B=A?S:C;if(o=o||Bu(x),w?(d(e.dynamicChildren,w,M,i,s,o,a),yc(e,t,!0)):l||f(e,t,M,B,i,s,o,a,!1),y)A||gs(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Pa(t.props,p);z&&gs(t,z,null,c,0)}else A&&gs(t,x,C,c,1)}},remove(e,t,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),(o||!mi(d))&&(s(c),a&16))for(let h=0;h<l.length;h++){const p=l[h];i(p,t,n,!0,!!p.dynamicChildren)}},move:gs,hydrate:i0};function gs(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(o,t,n),(!f||mi(u))&&l&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&r(a,t,n)}function i0(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=Pa(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(mi(t.props))t.anchor=c(o(e),t,a(e),n,r,i,s),t.targetAnchor=f;else{t.anchor=o(e);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(f,t,u,n,r,i,s)}}return t.anchor&&o(t.anchor)}const hR=r0,ze=Symbol(void 0),vo=Symbol(void 0),bt=Symbol(void 0),vi=Symbol(void 0),gi=[];let kt=null;function Ue(e=!1){gi.push(kt=e?null:[])}function Dp(){gi.pop(),kt=gi[gi.length-1]||null}let Nr=1;function Wu(e){Nr+=e}function Mp(e){return e.dynamicChildren=Nr>0?kt||vr:null,Dp(),Nr>0&&kt&&kt.push(e),e}function gt(e,t,n,r,i,s){return Mp(ot(e,t,n,r,i,s,!0))}function _r(e,t,n,r,i){return Mp($e(e,t,n,r,i,!0))}function Vi(e){return e?e.__v_isVNode===!0:!1}function Qt(e,t){return e.type===t.type&&e.key===t.key}const go="__vInternal",jp=({key:e})=>e!=null?e:null,As=({ref:e,ref_key:t,ref_for:n})=>e!=null?We(e)||Oe(e)||ae(e)?{i:ct,r:e,k:t,f:!!n}:e:null;function ot(e,t=null,n=null,r=0,i=null,s=e===ze?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jp(t),ref:t&&As(t),scopeId:ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return a?(bc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),Nr>0&&!o&&kt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&kt.push(l),l}const $e=s0;function s0(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===Cp)&&(e=bt),Vi(e)){const a=In(e,t,!0);return n&&bc(a,n),Nr>0&&!s&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag|=-2,a}if(v0(e)&&(e=e.__vccOpts),t){t=o0(t);let{class:a,style:l}=t;a&&!We(a)&&(t.class=Jn(a)),De(l)&&(sp(l)&&!ie(l)&&(l=nt({},l)),t.style=Cr(l))}const o=We(e)?1:yb(e)?128:n0(e)?64:De(e)?4:ae(e)?2:0;return ot(e,t,n,r,i,o,s,!0)}function o0(e){return e?sp(e)||go in e?nt({},e):e:null}function In(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=e,a=t?a0(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&jp(a),ref:t&&t.ref?n&&i?ie(i)?i.concat(As(t)):[i,As(t)]:As(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor}}function Da(e=" ",t=0){return $e(vo,null,e,t)}function pR(e,t){const n=$e(vi,null,e);return n.staticCount=t,n}function $p(e="",t=!1){return t?(Ue(),_r(bt,null,e)):$e(bt,null,e)}function Pt(e){return e==null||typeof e=="boolean"?$e(bt):ie(e)?$e(ze,null,e.slice()):typeof e=="object"?vn(e):$e(vo,null,String(e))}function vn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function bc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),bc(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(go in t)?t._ctx=ct:i===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),r&64?(n=16,t=[Da(t)]):n=8);e.children=t,e.shapeFlag|=n}function a0(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Jn([t.class,r.class]));else if(i==="style")t.style=Cr([t.style,r.style]);else if(ro(i)){const s=t[i],o=r[i];o&&s!==o&&!(ie(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function Bt(e,t,n,r=null){Lt(e,t,7,[n,r])}const l0=Pp();let c0=0;function u0(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||l0,s={uid:c0++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new qh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rp(r,i),emitsOptions:gp(r,i),emit:null,emitted:null,propsDefaults:Ie,inheritAttrs:r.inheritAttrs,ctx:Ie,data:Ie,props:Ie,attrs:Ie,slots:Ie,refs:Ie,setupState:Ie,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 s.ctx={_:s},s.root=t?t.root:s,s.emit=hb.bind(null,s),e.ce&&e.ce(s),s}let Ke=null;const qe=()=>Ke||ct,An=e=>{Ke=e,e.scope.on()},Cn=()=>{Ke&&Ke.scope.off(),Ke=null};function Vp(e){return e.vnode.shapeFlag&4}let Rr=!1;function f0(e,t=!1){Rr=t;const{props:n,children:r}=e.vnode,i=Vp(e);Qb(e,n,i,t),Yb(e,r);const s=i?d0(e,t):void 0;return Rr=!1,s}function d0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ir(new Proxy(e.ctx,Vb));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?p0(e):null;An(e),Qr();const s=Sn(r,e,0,[e.props,i]);if(zr(),Cn(),Jl(s)){if(s.then(Cn,Cn),t)return s.then(o=>{Ma(e,o,t)}).catch(o=>{Kr(o,e,0)});e.asyncDep=s}else Ma(e,s,t)}else Up(e,t)}function Ma(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=ap(t)),Up(e,n)}let qu;function Up(e,t,n){const r=e.type;if(!e.render){if(!t&&qu&&!r.render){const i=r.template||vc(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=nt(nt({isCustomElement:s,delimiters:a},o),l);r.render=qu(i,c)}}e.render=r.render||Mt}An(e),Qr(),Ub(e),zr(),Cn()}function h0(e){return new Proxy(e.attrs,{get(t,n){return St(e,"get","$attrs"),t[n]}})}function p0(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=h0(e))},slots:e.slots,emit:e.emit,expose:t}}function yo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ap(Ir(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bs)return Bs[n](e)}}))}function m0(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function v0(e){return ae(e)&&"__vccOpts"in e}const re=(e,t)=>lb(e,t,Rr);function mR(e){const t=qe();let n=e();return Cn(),Jl(n)&&(n=n.catch(r=>{throw An(t),r})),[n,()=>An(t)]}function At(e,t,n){const r=arguments.length;return r===2?De(t)&&!ie(t)?Vi(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vi(n)&&(n=[n]),$e(e,t,n))}const g0="3.2.41",y0="http://www.w3.org/2000/svg",Wn=typeof document<"u"?document:null,Hu=Wn&&Wn.createElement("template"),b0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?Wn.createElementNS(y0,e):Wn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Wn.createTextNode(e),createComment:e=>Wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Hu.innerHTML=r?`<svg>${e}</svg>`:e;const a=Hu.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function _0(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function E0(e,t,n){const r=e.style,i=We(n);if(n&&!i){for(const s in n)ja(r,s,n[s]);if(t&&!We(t))for(const s in t)n[s]==null&&ja(r,s,"")}else{const s=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Qu=/\s*!important$/;function ja(e,t,n){if(ie(n))n.forEach(r=>ja(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=O0(e,t);Qu.test(n)?e.setProperty(er(r),n.replace(Qu,""),"important"):e[r]=n}}const zu=["Webkit","Moz","ms"],qo={};function O0(e,t){const n=qo[t];if(n)return n;let r=Kt(t);if(r!=="filter"&&r in e)return qo[t]=r;r=oo(r);for(let i=0;i<zu.length;i++){const s=zu[i]+r;if(s in e)return qo[t]=s}return t}const Ku="http://www.w3.org/1999/xlink";function w0(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ku,t.slice(6,t.length)):e.setAttributeNS(Ku,t,n);else{const s=by(t);n==null||s&&!$h(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function T0(e,t,n,r,i,s,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,s),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=$h(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function or(e,t,n,r){e.addEventListener(t,n,r)}function S0(e,t,n,r){e.removeEventListener(t,n,r)}function C0(e,t,n,r,i=null){const s=e._vei||(e._vei={}),o=s[t];if(r&&o)o.value=r;else{const[a,l]=x0(t);if(r){const c=s[t]=N0(r,i);or(e,a,c,l)}else o&&(S0(e,a,o,l),s[t]=void 0)}}const Yu=/(?:Once|Passive|Capture)$/;function x0(e){let t;if(Yu.test(e)){t={};let r;for(;r=e.match(Yu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):er(e.slice(2)),t]}let Ho=0;const I0=Promise.resolve(),A0=()=>Ho||(I0.then(()=>Ho=0),Ho=Date.now());function N0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Lt(R0(r,n.value),t,5,[r])};return n.value=e,n.attached=A0(),n}function R0(e,t){if(ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Gu=/^on[a-z]/,k0=(e,t,n,r,i=!1,s,o,a,l)=>{t==="class"?_0(e,r,i):t==="style"?E0(e,n,r):ro(t)?Kl(t)||C0(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):L0(e,t,r,i))?T0(e,t,r,s,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),w0(e,t,r,i))};function L0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Gu.test(t)&&ae(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Gu.test(t)&&We(n)?!1:t in e}function vR(e){const t=qe();if(!t)return;const n=()=>$a(t.subTree,e(t.proxy));Sb(n),Yr(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),cn(()=>r.disconnect())})}function $a(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{$a(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ju(e.el,t);else if(e.type===ze)e.children.forEach(n=>$a(n,t));else if(e.type===vi){let{el:n,anchor:r}=e;for(;n&&(Ju(n,t),n!==r);)n=n.nextSibling}}function Ju(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const fn="transition",Zr="animation",_c=(e,{slots:t})=>At(Ep,Wp(e),t);_c.displayName="Transition";const Bp={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},F0=_c.props=nt({},Ep.props,Bp),jn=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xu=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function Wp(e){const t={};for(const V in e)V in Bp||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=P0(i),v=p&&p[0],b=p&&p[1],{onBeforeEnter:y,onEnter:O,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:x=y,onAppear:C=O,onAppearCancelled:A=_}=t,M=(V,J,Z)=>{pn(V,J?u:a),pn(V,J?c:o),Z&&Z()},B=(V,J)=>{V._isLeaving=!1,pn(V,f),pn(V,h),pn(V,d),J&&J()},z=V=>(J,Z)=>{const he=V?C:O,ce=()=>M(J,V,Z);jn(he,[J,ce]),Zu(()=>{pn(J,V?l:s),Zt(J,V?u:a),Xu(he)||ef(J,r,v,ce)})};return nt(t,{onBeforeEnter(V){jn(y,[V]),Zt(V,s),Zt(V,o)},onBeforeAppear(V){jn(x,[V]),Zt(V,l),Zt(V,c)},onEnter:z(!1),onAppear:z(!0),onLeave(V,J){V._isLeaving=!0;const Z=()=>B(V,J);Zt(V,f),Hp(),Zt(V,d),Zu(()=>{!V._isLeaving||(pn(V,f),Zt(V,h),Xu(w)||ef(V,r,b,Z))}),jn(w,[V,Z])},onEnterCancelled(V){M(V,!1),jn(_,[V])},onAppearCancelled(V){M(V,!0),jn(A,[V])},onLeaveCancelled(V){B(V),jn(S,[V])}})}function P0(e){if(e==null)return null;if(De(e))return[Qo(e.enter),Qo(e.leave)];{const t=Qo(e);return[t,t]}}function Qo(e){return Li(e)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let D0=0;function ef(e,t,n,r){const i=e._endId=++D0,s=()=>{i===e._endId&&r()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=qp(e,t);if(!o)return r();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function qp(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(fn+"Delay"),s=r(fn+"Duration"),o=tf(i,s),a=r(Zr+"Delay"),l=r(Zr+"Duration"),c=tf(a,l);let u=null,f=0,d=0;t===fn?o>0&&(u=fn,f=o,d=s.length):t===Zr?c>0&&(u=Zr,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?fn:Zr:null,d=u?u===fn?s.length:l.length:0);const h=u===fn&&/\b(transform|all)(,|$)/.test(n[fn+"Property"]);return{type:u,timeout:f,propCount:d,hasTransform:h}}function tf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>nf(n)+nf(e[r])))}function nf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Hp(){return document.body.offsetHeight}const Qp=new WeakMap,zp=new WeakMap,M0={name:"TransitionGroup",props:nt({},F0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qe(),r=_p();let i,s;return hc(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!U0(i[0].el,n.vnode.el,o))return;i.forEach(j0),i.forEach($0);const a=i.filter(V0);Hp(),a.forEach(l=>{const c=l.el,u=c.style;Zt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,pn(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=be(e),a=Wp(o);let l=o.tag||ze;i=s,s=t.default?dc(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&$i(u,ji(u,a,r,n))}if(i)for(let c=0;c<i.length;c++){const u=i[c];$i(u,ji(u,a,r,n)),Qp.set(u,u.el.getBoundingClientRect())}return $e(l,null,s)}}},Kp=M0;function j0(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function $0(e){zp.set(e,e.el.getBoundingClientRect())}function V0(e){const t=Qp.get(e),n=zp.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${i}px)`,s.transitionDuration="0s",e}}function U0(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=qp(r);return i.removeChild(r),s}const rf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ie(t)?n=>Is(t,n):t};function B0(e){e.target.composing=!0}function sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gR={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=rf(i);const s=r||i.props&&i.props.type==="number";or(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Li(a)),e._assign(a)}),n&&or(e,"change",()=>{e.value=e.value.trim()}),t||(or(e,"compositionstart",B0),or(e,"compositionend",sf),or(e,"change",sf))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},s){if(e._assign=rf(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Li(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},W0=["ctrl","shift","alt","meta"],q0={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)=>W0.some(n=>e[`${n}Key`]&&!t.includes(n))},yR=(e,t)=>(n,...r)=>{for(let i=0;i<t.length;i++){const s=q0[t[i]];if(s&&s(n,t))return}return e(n,...r)},H0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bR=(e,t)=>n=>{if(!("key"in n))return;const r=er(n.key);if(t.some(i=>i===r||H0[i]===r))return e(n)},_R={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ei(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ei(e,!0),r.enter(e)):r.leave(e,()=>{ei(e,!1)}):ei(e,t))},beforeUnmount(e,{value:t}){ei(e,t)}};function ei(e,t){e.style.display=t?e._vod:"none"}const Q0=nt({patchProp:k0},b0);let of;function z0(){return of||(of=Zb(Q0))}const K0=(...e)=>{const t=z0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Y0(r);if(!i)return;const s=t._component;!ae(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Y0(e){return We(e)?document.querySelector(e):e}/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const ar=typeof window<"u";function G0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const we=Object.assign;function zo(e,t){const n={};for(const r in t){const i=t[r];n[r]=jt(i)?i.map(e):e(i)}return n}const yi=()=>{},jt=Array.isArray,J0=/\/$/,X0=e=>e.replace(J0,"");function Ko(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=n_(r!=null?r:t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function Z0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function af(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function e_(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&kr(t.matched[r],n.matched[i])&&Yp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!t_(e[n],t[n]))return!1;return!0}function t_(e,t){return jt(e)?lf(e,t):jt(t)?lf(t,e):e===t}function lf(e,t){return jt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function n_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,s,o;for(s=0;s<r.length;s++)if(o=r[s],o!==".")if(o==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ui;(function(e){e.pop="pop",e.push="push"})(Ui||(Ui={}));var bi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(bi||(bi={}));function r_(e){if(!e)if(ar){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),X0(e)}const i_=/^[^#]+#/;function s_(e,t){return e.replace(i_,"#")+t}function o_(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const bo=()=>({left:window.pageXOffset,top:window.pageYOffset});function a_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=o_(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function cf(e,t){return(history.state?history.state.position-t:-1)+e}const Va=new Map;function l_(e,t){Va.set(e,t)}function c_(e){const t=Va.get(e);return Va.delete(e),t}let u_=()=>location.protocol+"//"+location.host;function Gp(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),af(l,"")}return af(n,e)+r+i}function f_(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=Gp(e,location),p=n.value,v=t.value;let b=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}b=v?d.position-v.position:0}else r(h);i.forEach(y=>{y(n.value,p,{delta:b,type:Ui.pop,direction:b?b>0?bi.forward:bi.back:bi.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return s.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(we({},d.state,{scroll:bo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function uf(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?bo():null}}function d_(e){const{history:t,location:n}=window,r={value:Gp(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:u_()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=we({},t.state,uf(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=we({},i.value,t.state,{forward:l,scroll:bo()});s(u.current,u,!0);const f=we({},uf(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function h_(e){e=r_(e);const t=d_(e),n=f_(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=we({location:"",base:e,go:r,createHref:s_.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function p_(e){return typeof e=="string"||e&&typeof e=="object"}function Jp(e){return typeof e=="string"||typeof e=="symbol"}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Xp=Symbol("");var ff;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ff||(ff={}));function Lr(e,t){return we(new Error,{type:e,[Xp]:!0},t)}function Gt(e,t){return e instanceof Error&&Xp in e&&(t==null||!!(e.type&t))}const df="[^/]+?",m_={sensitive:!1,strict:!1,start:!0,end:!0},v_=/[.+*?^${}()[\]/\\]/g;function g_(e,t){const n=we({},m_,t),r=[];let i=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(v_,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:b,regexp:y}=d;s.push({name:p,repeatable:v,optional:b});const O=y||df;if(O!==df){h+=10;try{new RegExp(`(${O})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${O}): `+w.message)}}let _=v?`((?:${O})(?:/(?:${O}))*)`:`(${O})`;f||(_=b&&c.length<2?`(?:/${_})`:"/"+_),b&&(_+="?"),i+=_,h+=20,b&&(h+=-8),v&&(h+=-20),O===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:b}=h,y=p in c?c[p]:"";if(jt(y)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const O=jt(y)?y.join("/"):y;if(!O)if(b)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=O}}return u||"/"}return{re:o,score:r,keys:s,parse:a,stringify:l}}function y_(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function b_(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=y_(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(hf(r))return 1;if(hf(i))return-1}return i.length-r.length}function hf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const __={type:0,value:""},E_=/[a-zA-Z0-9_]/;function O_(e){if(!e)return[[]];if(e==="/")return[[__]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:E_.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),i}function w_(e,t,n){const r=g_(O_(e.path),n),i=we(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function T_(e,t){const n=[],r=new Map;t=vf({strict:!1,end:!0,sensitive:!1},t);function i(u){return r.get(u)}function s(u,f,d){const h=!d,p=S_(u);p.aliasOf=d&&d.record;const v=vf(t,u),b=[p];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of _)b.push(we({},p,{components:d?d.record.components:p.components,path:w,aliasOf:d?d.record:p}))}let y,O;for(const _ of b){const{path:w}=_;if(f&&w[0]!=="/"){const S=f.record.path,x=S[S.length-1]==="/"?"":"/";_.path=f.record.path+(w&&x+w)}if(y=w_(_,f,v),d?d.alias.push(y):(O=O||y,O!==y&&O.alias.push(y),h&&u.name&&!mf(y)&&o(u.name)),p.children){const S=p.children;for(let x=0;x<S.length;x++)s(S[x],y,d&&d.children[x])}d=d||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&l(y)}return O?()=>{o(O)}:yi}function o(u){if(Jp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&b_(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Zp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!mf(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},p,v;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Lr(1,{location:u});v=d.record.name,h=we(pf(f.params,d.keys.filter(O=>!O.optional).map(O=>O.name)),u.params&&pf(u.params,d.keys.map(O=>O.name))),p=d.stringify(h)}else if("path"in u)p=u.path,d=n.find(O=>O.re.test(p)),d&&(h=d.parse(p),v=d.record.name);else{if(d=f.name?r.get(f.name):n.find(O=>O.re.test(f.path)),!d)throw Lr(1,{location:u,currentLocation:f});v=d.record.name,h=we({},f.params,u.params),p=d.stringify(h)}const b=[];let y=d;for(;y;)b.unshift(y.record),y=y.parent;return{name:v,path:p,params:h,matched:b,meta:x_(b)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function pf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function S_(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:C_(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function C_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function mf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function x_(e){return e.reduce((t,n)=>we(t,n.meta),{})}function vf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Zp(e,t){return t.children.some(n=>n===e||Zp(e,n))}const em=/#/g,I_=/&/g,A_=/\//g,N_=/=/g,R_=/\?/g,tm=/\+/g,k_=/%5B/g,L_=/%5D/g,nm=/%5E/g,F_=/%60/g,rm=/%7B/g,P_=/%7C/g,im=/%7D/g,D_=/%20/g;function Ec(e){return encodeURI(""+e).replace(P_,"|").replace(k_,"[").replace(L_,"]")}function M_(e){return Ec(e).replace(rm,"{").replace(im,"}").replace(nm,"^")}function Ua(e){return Ec(e).replace(tm,"%2B").replace(D_,"+").replace(em,"%23").replace(I_,"%26").replace(F_,"`").replace(rm,"{").replace(im,"}").replace(nm,"^")}function j_(e){return Ua(e).replace(N_,"%3D")}function $_(e){return Ec(e).replace(em,"%23").replace(R_,"%3F")}function V_(e){return e==null?"":$_(e).replace(A_,"%2F")}function qs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function U_(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const s=r[i].replace(tm," "),o=s.indexOf("="),a=qs(o<0?s:s.slice(0,o)),l=o<0?null:qs(s.slice(o+1));if(a in t){let c=t[a];jt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function gf(e){let t="";for(let n in e){const r=e[n];if(n=j_(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jt(r)?r.map(s=>s&&Ua(s)):[r&&Ua(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function B_(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const W_=Symbol(""),yf=Symbol(""),_o=Symbol(""),Oc=Symbol(""),Ba=Symbol("");function ti(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function gn(e,t,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(Lr(4,{from:n,to:t})):f instanceof Error?a(f):p_(f)?a(Lr(2,{from:t,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=e.call(r&&r.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Yo(e,t,n,r){const i=[];for(const s of e)for(const o in s.components){let a=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(q_(a)){const c=(a.__vccOpts||a)[t];c&&i.push(gn(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=G0(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[t];return d&&gn(d,n,r,s,o)()}))}}return i}function q_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bf(e){const t=dt(_o),n=dt(Oc),r=re(()=>t.resolve(Ne(e.to))),i=re(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(kr.bind(null,u));if(d>-1)return d;const h=_f(l[c-2]);return c>1&&_f(u)===h&&f[f.length-1].path!==h?f.findIndex(kr.bind(null,l[c-2])):d}),s=re(()=>i.value>-1&&K_(n.params,r.value.params)),o=re(()=>i.value>-1&&i.value===n.matched.length-1&&Yp(n.params,r.value.params));function a(l={}){return z_(l)?t[Ne(e.replace)?"replace":"push"](Ne(e.to)).catch(yi):Promise.resolve()}return{route:r,href:re(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const H_=$t({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bf,setup(e,{slots:t}){const n=_t(bf(e)),{options:r}=dt(_o),i=re(()=>({[Ef(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ef(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:At("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),Q_=H_;function z_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function K_(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!jt(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function _f(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ef=(e,t,n)=>e!=null?e:t!=null?t:n,Y_=$t({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Ba),i=re(()=>e.route||r.value),s=dt(yf,0),o=re(()=>{let c=Ne(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=re(()=>i.value.matched[o.value]);zn(yf,re(()=>o.value+1)),zn(W_,a),zn(Ba,i);const l=H();return de(()=>[l.value,a.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!kr(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Of(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=At(d,we({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Of(n.default,{Component:b,route:c})||b}}});function Of(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const G_=Y_;function J_(e){const t=T_(e.routes,e),n=e.parseQuery||U_,r=e.stringifyQuery||gf,i=e.history,s=ti(),o=ti(),a=ti(),l=co(dn);let c=dn;ar&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=zo.bind(null,F=>""+F),f=zo.bind(null,V_),d=zo.bind(null,qs);function h(F,q){let W,K;return Jp(F)?(W=t.getRecordMatcher(F),K=q):K=F,t.addRoute(K,W)}function p(F){const q=t.getRecordMatcher(F);q&&t.removeRoute(q)}function v(){return t.getRoutes().map(F=>F.record)}function b(F){return!!t.getRecordMatcher(F)}function y(F,q){if(q=we({},q||l.value),typeof F=="string"){const E=Ko(n,F,q.path),m=t.resolve({path:E.path},q),g=i.createHref(E.fullPath);return we(E,m,{params:d(m.params),hash:qs(E.hash),redirectedFrom:void 0,href:g})}let W;if("path"in F)W=we({},F,{path:Ko(n,F.path,q.path).path});else{const E=we({},F.params);for(const m in E)E[m]==null&&delete E[m];W=we({},F,{params:f(F.params)}),q.params=f(q.params)}const K=t.resolve(W,q),oe=F.hash||"";K.params=u(d(K.params));const ye=Z0(r,we({},F,{hash:M_(oe),path:K.path})),ne=i.createHref(ye);return we({fullPath:ye,hash:oe,query:r===gf?B_(F.query):F.query||{}},K,{redirectedFrom:void 0,href:ne})}function O(F){return typeof F=="string"?Ko(n,F,l.value.path):we({},F)}function _(F,q){if(c!==F)return Lr(8,{from:q,to:F})}function w(F){return C(F)}function S(F){return w(we(O(F),{replace:!0}))}function x(F){const q=F.matched[F.matched.length-1];if(q&&q.redirect){const{redirect:W}=q;let K=typeof W=="function"?W(F):W;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=O(K):{path:K},K.params={}),we({query:F.query,hash:F.hash,params:"path"in K?{}:F.params},K)}}function C(F,q){const W=c=y(F),K=l.value,oe=F.state,ye=F.force,ne=F.replace===!0,E=x(W);if(E)return C(we(O(E),{state:typeof E=="object"?we({},oe,E.state):oe,force:ye,replace:ne}),q||W);const m=W;m.redirectedFrom=q;let g;return!ye&&e_(r,K,W)&&(g=Lr(16,{to:m,from:K}),Se(K,K,!0,!1)),(g?Promise.resolve(g):M(m,K)).catch(T=>Gt(T)?Gt(T,2)?T:Me(T):se(T,m,K)).then(T=>{if(T){if(Gt(T,2))return C(we({replace:ne},O(T.to),{state:typeof T.to=="object"?we({},oe,T.to.state):oe,force:ye}),q||m)}else T=z(m,K,!0,ne,oe);return B(m,K,T),T})}function A(F,q){const W=_(F,q);return W?Promise.reject(W):Promise.resolve()}function M(F,q){let W;const[K,oe,ye]=X_(F,q);W=Yo(K.reverse(),"beforeRouteLeave",F,q);for(const E of K)E.leaveGuards.forEach(m=>{W.push(gn(m,F,q))});const ne=A.bind(null,F,q);return W.push(ne),ir(W).then(()=>{W=[];for(const E of s.list())W.push(gn(E,F,q));return W.push(ne),ir(W)}).then(()=>{W=Yo(oe,"beforeRouteUpdate",F,q);for(const E of oe)E.updateGuards.forEach(m=>{W.push(gn(m,F,q))});return W.push(ne),ir(W)}).then(()=>{W=[];for(const E of F.matched)if(E.beforeEnter&&!q.matched.includes(E))if(jt(E.beforeEnter))for(const m of E.beforeEnter)W.push(gn(m,F,q));else W.push(gn(E.beforeEnter,F,q));return W.push(ne),ir(W)}).then(()=>(F.matched.forEach(E=>E.enterCallbacks={}),W=Yo(ye,"beforeRouteEnter",F,q),W.push(ne),ir(W))).then(()=>{W=[];for(const E of o.list())W.push(gn(E,F,q));return W.push(ne),ir(W)}).catch(E=>Gt(E,8)?E:Promise.reject(E))}function B(F,q,W){for(const K of a.list())K(F,q,W)}function z(F,q,W,K,oe){const ye=_(F,q);if(ye)return ye;const ne=q===dn,E=ar?history.state:{};W&&(K||ne?i.replace(F.fullPath,we({scroll:ne&&E&&E.scroll},oe)):i.push(F.fullPath,oe)),l.value=F,Se(F,q,W,ne),Me()}let V;function J(){V||(V=i.listen((F,q,W)=>{if(!Et.listening)return;const K=y(F),oe=x(K);if(oe){C(we(oe,{replace:!0}),K).catch(yi);return}c=K;const ye=l.value;ar&&l_(cf(ye.fullPath,W.delta),bo()),M(K,ye).catch(ne=>Gt(ne,12)?ne:Gt(ne,2)?(C(ne.to,K).then(E=>{Gt(E,20)&&!W.delta&&W.type===Ui.pop&&i.go(-1,!1)}).catch(yi),Promise.reject()):(W.delta&&i.go(-W.delta,!1),se(ne,K,ye))).then(ne=>{ne=ne||z(K,ye,!1),ne&&(W.delta&&!Gt(ne,8)?i.go(-W.delta,!1):W.type===Ui.pop&&Gt(ne,20)&&i.go(-1,!1)),B(K,ye,ne)}).catch(yi)}))}let Z=ti(),he=ti(),ce;function se(F,q,W){Me(F);const K=he.list();return K.length?K.forEach(oe=>oe(F,q,W)):console.error(F),Promise.reject(F)}function ee(){return ce&&l.value!==dn?Promise.resolve():new Promise((F,q)=>{Z.add([F,q])})}function Me(F){return ce||(ce=!F,J(),Z.list().forEach(([q,W])=>F?W(F):q()),Z.reset()),F}function Se(F,q,W,K){const{scrollBehavior:oe}=e;if(!ar||!oe)return Promise.resolve();const ye=!W&&c_(cf(F.fullPath,0))||(K||!W)&&history.state&&history.state.scroll||null;return tr().then(()=>oe(F,q,ye)).then(ne=>ne&&a_(ne)).catch(ne=>se(ne,F,q))}const je=F=>i.go(F);let Ce;const pt=new Set,Et={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:b,getRoutes:v,resolve:y,options:e,push:w,replace:S,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:he.add,isReady:ee,install(F){const q=this;F.component("RouterLink",Q_),F.component("RouterView",G_),F.config.globalProperties.$router=q,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Ne(l)}),ar&&!Ce&&l.value===dn&&(Ce=!0,w(i.location).catch(oe=>{}));const W={};for(const oe in dn)W[oe]=re(()=>l.value[oe]);F.provide(_o,q),F.provide(Oc,_t(W)),F.provide(Ba,l);const K=F.unmount;pt.add(F),F.unmount=function(){pt.delete(F),pt.size<1&&(c=dn,V&&V(),V=null,l.value=dn,Ce=!1,ce=!1),K()}}};return Et}function ir(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function X_(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(c=>kr(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>kr(c,l))||i.push(l))}return[n,r,i]}function Z_(){return dt(_o)}function ER(){return dt(Oc)}function yt(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function eE(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}var wf;const sm=typeof window<"u",tE=Object.prototype.toString,nE=e=>typeof e=="number",rE=e=>typeof e=="string",Wa=e=>tE.call(e)==="[object Object]",Kn=()=>{};sm&&((wf=window==null?void 0:window.navigator)==null?void 0:wf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function om(e){return Hh()?(Qh(e),!0):!1}function am(e){qe()&&cn(e)}function Fr(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const lm=sm?window:void 0;function iE(...e){let t,n,r,i;if(rE(e[0])?([n,r,i]=e,t=lm):[t,n,r,i]=e,!t)return Kn;let s=Kn;const o=de(()=>Fr(t),l=>{s(),l&&(l.addEventListener(n,r,i),s=()=>{l.removeEventListener(n,r,i),s=Kn})},{immediate:!0,flush:"post"}),a=()=>{o(),s()};return om(a),a}const qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ha="__vueuse_ssr_handlers__";qa[Ha]=qa[Ha]||{};qa[Ha];function sE(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=lm}=n,a=o&&"IntersectionObserver"in o;let l=Kn;const c=a?de(()=>({el:Fr(e),root:Fr(r)}),({el:f,root:d})=>{if(l(),!f)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(f),l=()=>{h.disconnect(),l=Kn}},{immediate:!0,flush:"post"}):Kn,u=()=>{l(),c()};return om(u),{isSupported:a,stop:u}}var Tf;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Tf||(Tf={}));function oE(e){qe()&&cn(e)}const cm=1/60*1e3,aE=typeof performance<"u"?()=>performance.now():()=>Date.now(),um=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(aE()),cm);function lE(e){let t=[],n=[],r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const f=u&&i,d=f?t:n;return c&&o.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let c=0;c<r;c++){const u=t[c];u(l),o.has(u)&&(a.schedule(u),e())}i=!1,s&&(s=!1,a.process(l))}};return a}const cE=40;let Qa=!0,Bi=!1,za=!1;const Er={delta:0,timestamp:0},ns=["read","update","preRender","render","postRender"],Eo=ns.reduce((e,t)=>(e[t]=lE(()=>Bi=!0),e),{}),Sf=ns.reduce((e,t)=>{const n=Eo[t];return e[t]=(r,i=!1,s=!1)=>(Bi||fE(),n.schedule(r,i,s)),e},{});ns.reduce((e,t)=>(e[t]=Eo[t].cancel,e),{});ns.reduce((e,t)=>(e[t]=()=>Eo[t].process(Er),e),{});const uE=e=>Eo[e].process(Er),fm=e=>{Bi=!1,Er.delta=Qa?cm:Math.max(Math.min(e-Er.timestamp,cE),1),Er.timestamp=e,za=!0,ns.forEach(uE),za=!1,Bi&&(Qa=!1,um(fm))},fE=()=>{Bi=!0,Qa=!0,za||um(fm)},dE=()=>Er;var Ka=function(e,t){return Ka=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Ka(e,t)};function Vt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ka(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var k=function(){return k=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},k.apply(this,arguments)};function Nn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function yn(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function bn(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Hs(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var hE=function(){},Cf=function(){};const Ya=(e,t,n)=>Math.min(Math.max(n,e),t),Go=.001,pE=.01,xf=10,mE=.05,vE=1;function gE({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;hE(e<=xf*1e3);let o=1-t;o=Ya(mE,vE,o),e=Ya(pE,xf,e/1e3),o<1?(i=c=>{const u=c*o,f=u*e,d=u-n,h=Ga(c,o),p=Math.exp(-f);return Go-d/h*p},s=c=>{const f=c*o*e,d=f*n+n,h=Math.pow(o,2)*Math.pow(c,2)*e,p=Math.exp(-f),v=Ga(Math.pow(c,2),o);return(-i(c)+Go>0?-1:1)*((d-h)*p)/v}):(i=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-Go+u*f},s=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const a=5/e,l=bE(i,s,a);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const yE=12;function bE(e,t,n){let r=n;for(let i=1;i<yE;i++)r=r-e(r)/t(r);return r}function Ga(e,t){return e*Math.sqrt(1-t*t)}const _E=["duration","bounce"],EE=["stiffness","damping","mass"];function If(e,t){return t.some(n=>e[n]!==void 0)}function OE(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!If(e,EE)&&If(e,_E)){const n=gE(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function wc(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,s=Nn(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=OE(s),h=Af,p=Af;function v(){const b=u?-(u/1e3):0,y=n-t,O=l/(2*Math.sqrt(a*c)),_=Math.sqrt(a/c)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),O<1){const w=Ga(_,O);h=S=>{const x=Math.exp(-O*_*S);return n-x*((b+O*_*y)/w*Math.sin(w*S)+y*Math.cos(w*S))},p=S=>{const x=Math.exp(-O*_*S);return O*_*x*(Math.sin(w*S)*(b+O*_*y)/w+y*Math.cos(w*S))-x*(Math.cos(w*S)*(b+O*_*y)-w*y*Math.sin(w*S))}}else if(O===1)h=w=>n-Math.exp(-_*w)*(y+(b+_*y)*w);else{const w=_*Math.sqrt(O*O-1);h=S=>{const x=Math.exp(-O*_*S),C=Math.min(w*S,300);return n-x*((b+O*_*y)*Math.sinh(C)+w*y*Math.cosh(C))/w}}}return v(),{next:b=>{const y=h(b);if(d)o.done=b>=f;else{const O=p(b)*1e3,_=Math.abs(O)<=r,w=Math.abs(n-y)<=i;o.done=_&&w}return o.value=o.done?n:y,o},flipTarget:()=>{u=-u,[t,n]=[n,t],v()}}}wc.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Af=e=>0,dm=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Tc=(e,t,n)=>-n*e+n*t+e,hm=(e,t)=>n=>Math.max(Math.min(n,t),e),_i=e=>e%1?Number(e.toFixed(5)):e,Qs=/(-)?([\d]*\.?[\d])+/g,Ja=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,wE=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function rs(e){return typeof e=="string"}const Oo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},pm=Object.assign(Object.assign({},Oo),{transform:hm(0,1)});Object.assign(Object.assign({},Oo),{default:1});const TE=e=>({test:t=>rs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ei=TE("%");Object.assign(Object.assign({},Ei),{parse:e=>Ei.parse(e)/100,transform:e=>Ei.transform(e*100)});const Sc=(e,t)=>n=>Boolean(rs(n)&&wE.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),mm=(e,t,n)=>r=>{if(!rs(r))return r;const[i,s,o,a]=r.match(Qs);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Hn={test:Sc("hsl","hue"),parse:mm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ei.transform(_i(t))+", "+Ei.transform(_i(n))+", "+_i(pm.transform(r))+")"},SE=hm(0,255),Jo=Object.assign(Object.assign({},Oo),{transform:e=>Math.round(SE(e))}),On={test:Sc("rgb","red"),parse:mm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Jo.transform(e)+", "+Jo.transform(t)+", "+Jo.transform(n)+", "+_i(pm.transform(r))+")"};function CE(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Xa={test:Sc("#"),parse:CE,transform:On.transform},wo={test:e=>On.test(e)||Xa.test(e)||Hn.test(e),parse:e=>On.test(e)?On.parse(e):Hn.test(e)?Hn.parse(e):Xa.parse(e),transform:e=>rs(e)?e:e.hasOwnProperty("red")?On.transform(e):Hn.transform(e)},vm="${c}",gm="${n}";function xE(e){var t,n,r,i;return isNaN(e)&&rs(e)&&((n=(t=e.match(Qs))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Ja))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function ym(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Ja);r&&(n=r.length,e=e.replace(Ja,vm),t.push(...r.map(wo.parse)));const i=e.match(Qs);return i&&(e=e.replace(Qs,gm),t.push(...i.map(Oo.parse))),{values:t,numColors:n,tokenised:e}}function bm(e){return ym(e).values}function _m(e){const{values:t,numColors:n,tokenised:r}=ym(e),i=t.length;return s=>{let o=r;for(let a=0;a<i;a++)o=o.replace(a<n?vm:gm,a<n?wo.transform(s[a]):_i(s[a]));return o}}const IE=e=>typeof e=="number"?0:e;function AE(e){const t=bm(e);return _m(e)(t.map(IE))}const Em={test:xE,parse:bm,createTransformer:_m,getAnimatableNone:AE};function Xo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Nf({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Xo(l,a,e+1/3),s=Xo(l,a,e),o=Xo(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const NE=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},RE=[Xa,On,Hn],Rf=e=>RE.find(t=>t.test(e)),Om=(e,t)=>{let n=Rf(e),r=Rf(t),i=n.parse(e),s=r.parse(t);n===Hn&&(i=Nf(i),n=On),r===Hn&&(s=Nf(s),r=On);const o=Object.assign({},i);return a=>{for(const l in o)l!=="alpha"&&(o[l]=NE(i[l],s[l],a));return o.alpha=Tc(i.alpha,s.alpha,a),n.transform(o)}},kE=e=>typeof e=="number",LE=(e,t)=>n=>t(e(n)),wm=(...e)=>e.reduce(LE);function Tm(e,t){return kE(e)?n=>Tc(e,t,n):wo.test(e)?Om(e,t):Cm(e,t)}const Sm=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,o)=>Tm(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}},FE=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Tm(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}};function kf(e){const t=Em.parse(e),n=t.length;let r=0,i=0,s=0;for(let o=0;o<n;o++)r||typeof t[o]=="number"?r++:t[o].hue!==void 0?s++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:s}}const Cm=(e,t)=>{const n=Em.createTransformer(t),r=kf(e),i=kf(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?wm(Sm(r.parsed,i.parsed),n):o=>`${o>0?t:e}`},PE=(e,t)=>n=>Tc(e,t,n);function DE(e){if(typeof e=="number")return PE;if(typeof e=="string")return wo.test(e)?Om:Cm;if(Array.isArray(e))return Sm;if(typeof e=="object")return FE}function ME(e,t,n){const r=[],i=n||DE(e[0]),s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]:t;a=wm(l,a)}r.push(a)}return r}function jE([e,t],[n]){return r=>n(dm(e,t,r))}function $E(e,t){const n=e.length,r=n-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(s=r-1,o=!0),!o){let l=1;for(;l<n&&!(e[l]>i||l===r);l++);s=l-1}const a=dm(e[s],e[s+1],i);return t[s](a)}}function xm(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;Cf(s===t.length),Cf(!r||!Array.isArray(r)||r.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=ME(t,r,i),a=s===2?jE(e,o):$E(e,o);return n?l=>a(Ya(e[0],e[s-1],l)):a}const To=e=>t=>1-e(1-t),Cc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,VE=e=>t=>Math.pow(t,e),Im=e=>t=>t*t*((e+1)*t-e),UE=e=>{const t=Im(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Am=1.525,BE=4/11,WE=8/11,qE=9/10,Nm=e=>e,xc=VE(2),HE=To(xc),Rm=Cc(xc),km=e=>1-Math.sin(Math.acos(e)),Lm=To(km),QE=Cc(Lm),Ic=Im(Am),zE=To(Ic),KE=Cc(Ic),YE=UE(Am),GE=4356/361,JE=35442/1805,XE=16061/1805,zs=e=>{if(e===1||e===0)return e;const t=e*e;return e<BE?7.5625*t:e<WE?9.075*t-9.9*e+3.4:e<qE?GE*t-JE*e+XE:10.8*e*e-20.52*e+10.72},ZE=To(zs),eO=e=>e<.5?.5*(1-zs(1-e*2)):.5*zs(e*2-1)+.5;function tO(e,t){return e.map(()=>t||Rm).splice(0,e.length-1)}function nO(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function rO(e,t){return e.map(n=>n*t)}function Ns({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=rO(r&&r.length===o.length?r:nO(o),i);function l(){return xm(a,o,{ease:Array.isArray(n)?n:tO(o,n)})}let c=l();return{next:u=>(s.value=c(u),s.done=u>=i,s),flipTarget:()=>{o.reverse(),c=l()}}}function iO({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=n*e;const l=t+a,c=s===void 0?l:s(l);return c!==l&&(a=c-t),{next:u=>{const f=-a*Math.exp(-u/r);return o.done=!(f>i||f<-i),o.value=o.done?c:c+f,o},flipTarget:()=>{}}}const Lf={keyframes:Ns,spring:wc,decay:iO};function sO(e){if(Array.isArray(e.to))return Ns;if(Lf[e.type])return Lf[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Ns:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?wc:Ns}const Fm=1/60*1e3,oO=typeof performance<"u"?()=>performance.now():()=>Date.now(),Pm=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(oO()),Fm);function aO(e){let t=[],n=[],r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const f=u&&i,d=f?t:n;return c&&o.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let c=0;c<r;c++){const u=t[c];u(l),o.has(u)&&(a.schedule(u),e())}i=!1,s&&(s=!1,a.process(l))}};return a}const lO=40;let Za=!0,Wi=!1,el=!1;const Or={delta:0,timestamp:0},is=["read","update","preRender","render","postRender"],So=is.reduce((e,t)=>(e[t]=aO(()=>Wi=!0),e),{}),cO=is.reduce((e,t)=>{const n=So[t];return e[t]=(r,i=!1,s=!1)=>(Wi||dO(),n.schedule(r,i,s)),e},{}),uO=is.reduce((e,t)=>(e[t]=So[t].cancel,e),{});is.reduce((e,t)=>(e[t]=()=>So[t].process(Or),e),{});const fO=e=>So[e].process(Or),Dm=e=>{Wi=!1,Or.delta=Za?Fm:Math.max(Math.min(e-Or.timestamp,lO),1),Or.timestamp=e,el=!0,is.forEach(fO),el=!1,Wi&&(Za=!1,Pm(Dm))},dO=()=>{Wi=!0,Za=!0,el||Pm(Dm)},hO=()=>Or;function Mm(e,t,n=0){return e-t-n}function pO(e,t,n=0,r=!0){return r?Mm(t+-e,t,n):t-(e-t)+n}function mO(e,t,n,r){return r?e>=t+n:e<=-n}const vO=e=>{const t=({delta:n})=>e(n);return{start:()=>cO.update(t,!0),stop:()=>uO.update(t)}};function jm(e){var t,n,{from:r,autoplay:i=!0,driver:s=vO,elapsed:o=0,repeat:a=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:d,onRepeat:h,onUpdate:p}=e,v=Nn(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=v,y,O=0,_=v.duration,w,S=!1,x=!0,C;const A=sO(v);!((n=(t=A).needsInterpolation)===null||n===void 0)&&n.call(t,r,b)&&(C=xm([0,100],[r,b],{clamp:!1}),r=0,b=100);const M=A(Object.assign(Object.assign({},v),{from:r,to:b}));function B(){O++,l==="reverse"?(x=O%2===0,o=pO(o,_,c,x)):(o=Mm(o,_,c),l==="mirror"&&M.flipTarget()),S=!1,h&&h()}function z(){y.stop(),d&&d()}function V(Z){if(x||(Z=-Z),o+=Z,!S){const he=M.next(Math.max(0,o));w=he.value,C&&(w=C(w)),S=x?he.done:o<=0}p==null||p(w),S&&(O===0&&(_!=null||(_=o)),O<a?mO(o,_,c,x)&&B():z())}function J(){u==null||u(),y=s(V),y.start()}return i&&J(),{stop:()=>{f==null||f(),y.stop()}}}function $m(e,t){return t?e*(1e3/t):0}function gO({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:f,onComplete:d,onStop:h}){let p;function v(_){return n!==void 0&&_<n||r!==void 0&&_>r}function b(_){return n===void 0?r:r===void 0||Math.abs(n-_)<Math.abs(r-_)?n:r}function y(_){p==null||p.stop(),p=jm(Object.assign(Object.assign({},_),{driver:u,onUpdate:w=>{var S;f==null||f(w),(S=_.onUpdate)===null||S===void 0||S.call(_,w)},onComplete:d,onStop:h}))}function O(_){y(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:l},_))}if(v(e))O({from:e,velocity:t,to:b(e)});else{let _=i*t+e;typeof c<"u"&&(_=c(_));const w=b(_),S=w===n?-1:1;let x,C;const A=M=>{x=C,C=M,t=$m(M-x,hO().delta),(S===1&&M>w||S===-1&&M<w)&&O({from:M,to:w,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:s,power:i,restDelta:l,modifyTarget:c,onUpdate:v(_)?A:void 0})}return{stop:()=>p==null?void 0:p.stop()}}const Vm=(e,t)=>1-3*t+3*e,Um=(e,t)=>3*t-6*e,Bm=e=>3*e,Ks=(e,t,n)=>((Vm(t,n)*e+Um(t,n))*e+Bm(t))*e,Wm=(e,t,n)=>3*Vm(t,n)*e*e+2*Um(t,n)*e+Bm(t),yO=1e-7,bO=10;function _O(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=Ks(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>yO&&++a<bO);return o}const EO=8,OO=.001;function wO(e,t,n,r){for(let i=0;i<EO;++i){const s=Wm(t,n,r);if(s===0)return t;const o=Ks(t,n,r)-e;t-=o/s}return t}const Rs=11,ys=1/(Rs-1);function TO(e,t,n,r){if(e===t&&n===r)return Nm;const i=new Float32Array(Rs);for(let o=0;o<Rs;++o)i[o]=Ks(o*ys,e,n);function s(o){let a=0,l=1;const c=Rs-1;for(;l!==c&&i[l]<=o;++l)a+=ys;--l;const u=(o-i[l])/(i[l+1]-i[l]),f=a+u*ys,d=Wm(f,e,n);return d>=OO?wO(o,f,e,n):d===0?f:_O(o,a,a+ys,e,n)}return o=>o===0||o===1?o:Ks(s(o),t,r)}const qm=(e,t)=>n=>Math.max(Math.min(n,t),e),Oi=e=>e%1?Number(e.toFixed(5)):e,qi=/(-)?([\d]*\.?[\d])+/g,tl=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,SO=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ss(e){return typeof e=="string"}const os={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},wi=Object.assign(Object.assign({},os),{transform:qm(0,1)}),bs=Object.assign(Object.assign({},os),{default:1}),Ac=e=>({test:t=>ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$n=Ac("deg"),Ti=Ac("%"),ue=Ac("px"),Ff=Object.assign(Object.assign({},Ti),{parse:e=>Ti.parse(e)/100,transform:e=>Ti.transform(e*100)}),Nc=(e,t)=>n=>Boolean(ss(n)&&SO.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Hm=(e,t,n)=>r=>{if(!ss(r))return r;const[i,s,o,a]=r.match(qi);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},_s={test:Nc("hsl","hue"),parse:Hm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ti.transform(Oi(t))+", "+Ti.transform(Oi(n))+", "+Oi(wi.transform(r))+")"},CO=qm(0,255),Zo=Object.assign(Object.assign({},os),{transform:e=>Math.round(CO(e))}),ui={test:Nc("rgb","red"),parse:Hm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Zo.transform(e)+", "+Zo.transform(t)+", "+Zo.transform(n)+", "+Oi(wi.transform(r))+")"};function xO(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Pf={test:Nc("#"),parse:xO,transform:ui.transform},It={test:e=>ui.test(e)||Pf.test(e)||_s.test(e),parse:e=>ui.test(e)?ui.parse(e):_s.test(e)?_s.parse(e):Pf.parse(e),transform:e=>ss(e)?e:e.hasOwnProperty("red")?ui.transform(e):_s.transform(e)},Qm="${c}",zm="${n}";function IO(e){var t,n,r,i;return isNaN(e)&&ss(e)&&((n=(t=e.match(qi))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(tl))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function Km(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(tl);r&&(n=r.length,e=e.replace(tl,Qm),t.push(...r.map(It.parse)));const i=e.match(qi);return i&&(e=e.replace(qi,zm),t.push(...i.map(os.parse))),{values:t,numColors:n,tokenised:e}}function Ym(e){return Km(e).values}function Gm(e){const{values:t,numColors:n,tokenised:r}=Km(e),i=t.length;return s=>{let o=r;for(let a=0;a<i;a++)o=o.replace(a<n?Qm:zm,a<n?It.transform(s[a]):Oi(s[a]));return o}}const AO=e=>typeof e=="number"?0:e;function NO(e){const t=Ym(e);return Gm(e)(t.map(AO))}const Rc={test:IO,parse:Ym,createTransformer:Gm,getAnimatableNone:NO},RO=new Set(["brightness","contrast","saturate","opacity"]);function kO(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(qi)||[];if(!r)return e;const i=n.replace(r,"");let s=RO.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const LO=/([a-z-]*)\(.*?\)/g,nl=Object.assign(Object.assign({},Rc),{getAnimatableNone:e=>{const t=e.match(LO);return t?t.map(kO).join(" "):e}}),ea={};class FO{constructor(){this.subscriptions=new Set}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(!!this.subscriptions.size)for(const i of this.subscriptions)i(t,n,r)}clear(){this.subscriptions.clear()}}const Df=e=>!isNaN(parseFloat(e));class PO{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new FO,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:i}=dE();this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i),Sf.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Sf.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Df(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Df(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?$m(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function DO(e){return new PO(e)}const{isArray:MO}=Array;function jO(){const e=H({}),t=r=>{const i=s=>{!e.value[s]||(e.value[s].stop(),e.value[s].destroy(),eE(e.value,s))};r?MO(r)?r.forEach(i):i(r):Object.keys(e.value).forEach(i)},n=(r,i,s)=>{if(e.value[r])return e.value[r];const o=DO(i);return o.onChange(a=>{yt(s,r,a)}),yt(e.value,r,o),o};return oE(t),{motionValues:e,get:n,stop:t}}const $O=e=>Array.isArray(e),Vn=()=>({type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}),ta=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}),VO=e=>({type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}),na=()=>({type:"keyframes",ease:"linear",duration:300}),UO=e=>({type:"keyframes",duration:800,values:e}),Mf={default:VO,x:Vn,y:Vn,z:Vn,rotate:Vn,rotateX:Vn,rotateY:Vn,rotateZ:Vn,scaleX:ta,scaleY:ta,scale:ta,backgroundColor:na,color:na,opacity:na},Jm=(e,t)=>{let n;return $O(t)?n=UO:n=Mf[e]||Mf.default,{to:t,...n(t)}},jf={...os,transform:Math.round},Xm={color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,size:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,rotate:$n,rotateX:$n,rotateY:$n,rotateZ:$n,scale:bs,scaleX:bs,scaleY:bs,scaleZ:bs,skew:$n,skewX:$n,skewY:$n,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:wi,originX:Ff,originY:Ff,originZ:ue,zIndex:jf,filter:nl,WebkitFilter:nl,fillOpacity:wi,strokeOpacity:wi,numOctaves:jf},kc=e=>Xm[e],Zm=(e,t)=>t&&typeof e=="number"&&t.transform?t.transform(e):e;function BO(e,t){let n=kc(e);return n!==nl&&(n=Rc),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const WO={linear:Nm,easeIn:xc,easeInOut:Rm,easeOut:HE,circIn:km,circInOut:QE,circOut:Lm,backIn:Ic,backInOut:KE,backOut:zE,anticipate:YE,bounceIn:ZE,bounceInOut:eO,bounceOut:zs},$f=e=>{if(Array.isArray(e)){const[t,n,r,i]=e;return TO(t,n,r,i)}else if(typeof e=="string")return WO[e];return e},qO=e=>Array.isArray(e)&&typeof e[0]!="number",Vf=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Rc.test(t)&&!t.startsWith("url("));function HO(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function QO({ease:e,times:t,delay:n,...r}){const i={...r};return t&&(i.offset=t),e&&(i.ease=qO(e)?e.map($f):$f(e)),n&&(i.elapsed=-n),i}function zO(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),HO(t),KO(e)||(e={...e,...Jm(n,t.to)}),{...t,...QO(e)}}function KO({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...s}){return!!Object.keys(s).length}function YO(e,t){return e[t]||e.default||e}function GO(e,t,n,r,i){const s=YO(r,e);let o=s.from===null||s.from===void 0?t.get():s.from;const a=Vf(e,n);o==="none"&&a&&typeof n=="string"&&(o=BO(e,n));const l=Vf(e,o);function c(f){const d={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:h=>t.set(h)};return s.type==="inertia"||s.type==="decay"?gO({...d,...s}):jm({...zO(s,d,e),onUpdate:h=>{d.onUpdate(h),s.onUpdate&&s.onUpdate(h)},onComplete:()=>{r.onComplete&&r.onComplete(),i&&i(),f&&f()}})}function u(f){return t.set(n),r.onComplete&&r.onComplete(),i&&i(),f&&f(),{stop:()=>{}}}return!l||!a||s.type===!1?u:c}function JO(){const{motionValues:e,stop:t,get:n}=jO();return{motionValues:e,stop:t,push:(i,s,o,a={},l)=>{const c=o[i],u=n(i,c,o);if(a&&a.immediate){u.set(s);return}const f=GO(i,u,s,a,l);u.start(f)}}}function XO(e,t={},{motionValues:n,push:r,stop:i}=JO()){const s=Ne(t),o=H(!1),a=de(n,d=>{o.value=Object.values(d).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0}),l=d=>{if(!s||!s[d])throw new Error(`The variant ${d} does not exist.`);return s[d]},c=d=>(typeof d=="string"&&(d=l(d)),Promise.all(Object.entries(d).map(([h,p])=>{if(h!=="transition")return new Promise(v=>{r(h,p,e,d.transition||Jm(h,d[h]),v)})}).filter(Boolean)));return{isAnimating:o,apply:c,set:d=>{const h=Wa(d)?d:l(d);Object.entries(h).forEach(([p,v])=>{p!=="transition"&&r(p,v,e,{immediate:!0})})},stopTransitions:()=>{a(),i()},leave:async d=>{let h;if(s&&(s.leave&&(h=s.leave),!s.leave&&s.initial&&(h=s.initial)),!h){d();return}await c(h),d()}}}const Lc=typeof window<"u",ZO=()=>Lc&&window.onpointerdown===null,ew=()=>Lc&&window.ontouchstart===null,tw=()=>Lc&&window.onmousedown===null;function nw({target:e,state:t,variants:n,apply:r}){const i=Ne(n),s=[],o=(...p)=>{const v=iE.apply(null,p);return s.push(v),v},a=H(!1),l=H(!1),c=H(!1),u=re(()=>{let p=[];return i&&(i.hovered&&(p=[...p,...Object.keys(i.hovered)]),i.tapped&&(p=[...p,...Object.keys(i.tapped)]),i.focused&&(p=[...p,...Object.keys(i.focused)])),p}),f=re(()=>{const p={};Object.assign(p,t.value),a.value&&i.hovered&&Object.assign(p,i.hovered),l.value&&i.tapped&&Object.assign(p,i.tapped),c.value&&i.focused&&Object.assign(p,i.focused);for(const v in p)u.value.includes(v)||delete p[v];return p});i.hovered&&(o(e,"mouseenter",()=>{a.value=!0}),o(e,"mouseleave",()=>{a.value=!1,l.value=!1}),o(e,"mouseout",()=>{a.value=!1,l.value=!1})),i.tapped&&(tw()&&(o(e,"mousedown",()=>{l.value=!0}),o(e,"mouseup",()=>{l.value=!1})),ZO()&&(o(e,"pointerdown",()=>{l.value=!0}),o(e,"pointerup",()=>{l.value=!1})),ew()&&(o(e,"touchstart",()=>{l.value=!0}),o(e,"touchend",()=>{l.value=!1}))),i.focused&&(o(e,"focus",()=>{c.value=!0}),o(e,"blur",()=>{c.value=!1}));const d=de(f,r);return{stop:()=>{s.forEach(p=>p()),d()}}}function rw({set:e,target:t,variants:n,variant:r}){const i=Ne(n);return{stop:de(()=>t,()=>{!i||(i.initial&&e("initial"),i.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}}function iw({state:e,apply:t}){return{stop:de(e,r=>{r&&t(r)},{immediate:!0})}}function sw({target:e,variants:t,variant:n}){const r=Ne(t);let i=Kn;if(r&&(r.visible||r.visibleOnce)){const{stop:s}=sE(e,([{isIntersecting:o}])=>{r.visible?o?n.value="visible":n.value="initial":r.visibleOnce&&(o?n.value!=="visibleOnce"&&(n.value="visibleOnce"):n.value||(n.value="initial"))});i=s}return{stop:i}}function ow(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){const n=H([]);if(t.lifeCycleHooks){const{stop:i}=rw(e);n.value.push(i)}if(t.syncVariants){const{stop:i}=iw(e);n.value.push(i)}if(t.visibilityHooks){const{stop:i}=sw(e);n.value.push(i)}if(t.eventListeners){const{stop:i}=nw(e);n.value.push(i)}const r=()=>n.value.forEach(i=>i());return am(r),{stop:r}}function ev(e={}){const t=_t({...e}),n=H({});return de(t,()=>{const r={};for(const[i,s]of Object.entries(t)){const o=kc(i),a=Zm(s,o);r[i]=a}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}const aw=["","X","Y","Z"],lw=["perspective","translate","scale","rotate","skew"],tv=["transformPerspective","x","y","z"];lw.forEach(e=>{aw.forEach(t=>{const n=e+t;tv.push(n)})});const cw=new Set(tv);function Fc(e){return cw.has(e)}const uw=new Set(["originX","originY","originZ"]);function nv(e){return uw.has(e)}function fw(e){const t={},n={};return Object.entries(e).forEach(([r,i])=>{Fc(r)||nv(r)?t[r]=i:n[r]=i}),{transform:t,style:n}}function dw(e,t){let n,r;const{state:i,style:s}=ev(),o=de(()=>Fr(e),c=>{if(!!c){r=c;for(const u of Object.keys(Xm))c.style[u]===null||c.style[u]===""||Fc(u)||nv(u)||yt(i,u,c.style[u]);n&&Object.entries(n).forEach(([u,f])=>yt(c.style,u,f)),t&&t(i)}},{immediate:!0}),a=de(s,c=>{if(!r){n=c;return}for(const u in c)yt(r.style,u,c[u])},{immediate:!0});return{style:i,stop:()=>{r=void 0,n=void 0,o(),a()}}}const hw={x:"translateX",y:"translateY",z:"translateZ"};function rv(e={},t=!0){const n=_t({...e}),r=H("");return de(n,i=>{let s="",o=!1;if(t&&(i.x||i.y||i.z)){const a=[i.x||0,i.y||0,i.z||0].map(ue.transform).join(",");s+=`translate3d(${a}) `,o=!0}for(const[a,l]of Object.entries(i)){if(t&&(a==="x"||a==="y"||a==="z"))continue;const c=kc(a),u=Zm(l,c);s+=`${hw[a]||a}(${u}) `}t&&!o&&(s+="translateZ(0px) "),r.value=s.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}function pw(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?parseFloat(r):isNaN(Number(r))?Number(r):r;return t.reduce((r,i)=>{if(!i)return r;const[s,o]=i.split("("),l=o.split(",").map(u=>n(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...r,[s]:c}},{})}function mw(e,t){Object.entries(pw(t)).forEach(([n,r])=>{r=parseFloat(r);const i=["x","y","z"];if(n==="translate3d"){if(r===0){i.forEach(s=>{yt(e,s,0)});return}r.forEach((s,o)=>{yt(e,i[o],s)});return}if(n==="translateX"){yt(e,"x",r);return}if(n==="translateY"){yt(e,"y",r);return}if(n==="translateZ"){yt(e,"z",r);return}yt(e,n,r)})}function vw(e,t){let n,r;const{state:i,transform:s}=rv(),o=de(()=>Fr(e),c=>{!c||(r=c,c.style.transform&&mw(i,c.style.transform),n&&(c.style.transform=n),t&&t(i))},{immediate:!0}),a=de(s,c=>{if(!r){n=c;return}r.style.transform=c},{immediate:!0});return{transform:i,stop:()=>{n=void 0,r=void 0,o(),a()}}}function gw(e,t){const n=_t({}),r=f=>{Object.entries(f).forEach(([d,h])=>{yt(n,d,h)})},{style:i,stop:s}=dw(e,r),{transform:o,stop:a}=vw(e,r),l=de(n,f=>{Object.entries(f).forEach(([d,h])=>{const p=Fc(d)?o:i;p[d]&&p[d]===h||yt(p,d,h)})},{immediate:!0,deep:!0}),c=de(()=>Fr(e),f=>{!f||t&&r(t)},{immediate:!0});return{motionProperties:n,style:i,transform:o,stop:()=>{s(),a(),l(),c()}}}function yw(e={}){const t=Ne(e),n=H();return{state:re(()=>{if(!!n.value)return t[n.value]}),variant:n}}function iv(e,t={},n){const{motionProperties:r,stop:i}=gw(e),{variant:s,state:o}=yw(t),a=XO(r,t),l={target:e,variant:s,variants:t,state:o,motionProperties:r,...a,stop:(u=!1)=>{}},{stop:c}=ow(l,n);return l.stop=(u=!1)=>{const f=()=>{l.stopTransitions(),i(),c()};if(!u&&t.value&&t.value.leave){const d=de(l.isAnimating,h=>{h||(d(),f())})}else f()},am(()=>l.stop()),l}const bw=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"],_w=(e,t)=>{const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&Wa(n.variants)&&(t.value={...t.value,...n.variants}),bw.forEach(r=>{if(r==="delay"){if(n&&n[r]&&nE(n[r])){const i=n[r];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={...t.value.enter.transition,delay:i}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={...t.value.visible.transition,delay:i}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={...t.value.visibleOnce.transition,delay:i}))}return}r==="visible-once"&&(r="visibleOnce"),n&&n[r]&&Wa(n[r])&&(t.value[r]=n[r])}))},ra=e=>{const t=(r,i,s)=>{const o=i.value&&typeof i.value=="string"?i.value:s.key;o&&ea[o]&&ea[o].stop();const a=H(e||{});typeof i.value=="object"&&(a.value=i.value),_w(s,a);const l=iv(r,a);r.motionInstance=l,o&&yt(ea,o,l)},n=r=>{r.motionInstance&&r.motionInstance.stop()};return{created:t,unmounted:n,bind:t,unbind:n,getSSRProps(r,i){const{initial:s}=r.value||i.props||{};if(!s||Object.keys(s).length===0)return;const{transform:o,style:a}=fw(s),{transform:l}=rv(o),{style:c}=ev(a);return l.value&&(c.value.transform=l.value),{style:c.value}}}},Ew={initial:{opacity:0},enter:{opacity:1}},Ow={initial:{opacity:0},visible:{opacity:1}},ww={initial:{opacity:0},visibleOnce:{opacity:1}},Tw={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Sw={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Cw={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},xw={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Iw={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Aw={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Nw={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Rw={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},kw={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Lw={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Fw={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Pw={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Dw={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Mw={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},jw={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},$w={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Vw={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Uw={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Bw={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Ww={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},qw={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Hw={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Qw={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},zw={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Kw={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Yw={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Gw={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Uf={__proto__:null,fade:Ew,fadeVisible:Ow,fadeVisibleOnce:ww,pop:Tw,popVisible:Sw,popVisibleOnce:Cw,rollBottom:Dw,rollLeft:xw,rollRight:Nw,rollTop:Lw,rollVisibleBottom:Mw,rollVisibleLeft:Iw,rollVisibleRight:Rw,rollVisibleTop:Fw,rollVisibleOnceBottom:jw,rollVisibleOnceLeft:Aw,rollVisibleOnceRight:kw,rollVisibleOnceTop:Pw,slideBottom:Kw,slideLeft:$w,slideRight:Bw,slideTop:Hw,slideVisibleBottom:Yw,slideVisibleLeft:Vw,slideVisibleRight:Ww,slideVisibleTop:Qw,slideVisibleOnceBottom:Gw,slideVisibleOnceLeft:Uw,slideVisibleOnceRight:qw,slideVisibleOnceTop:zw};function Jw(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,i=>`-${i}`).toLowerCase().replace(/\s+/g,"-").replace(r,i=>n.charAt(t.indexOf(i))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Xw={install(e,t){if(e.directive("motion",ra()),!t||t&&!t.excludePresets)for(const n in Uf){const r=Uf[n];e.directive(`motion-${Jw(n)}`,ra(r))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];r.initial,e.directive(`motion-${n}`,ra(r))}}};var Zw=!1,Bf;const Pr=typeof window<"u",eT=e=>typeof e<"u",sv=e=>typeof e=="function",tT=e=>typeof e=="string",Yn=()=>{};Pr&&((Bf=window==null?void 0:window.navigator)==null?void 0:Bf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Rt(e){return typeof e=="function"?e():Ne(e)}function ov(e,t){function n(...r){e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})}return n}const av=e=>e();function nT(e,t={}){let n,r;return s=>{const o=Rt(e),a=Rt(t.maxWait);if(n&&clearTimeout(n),o<=0||a!==void 0&&a<=0)return r&&(clearTimeout(r),r=null),s();a&&!r&&(r=setTimeout(()=>{n&&clearTimeout(n),r=null,s()},a)),n=setTimeout(()=>{r&&clearTimeout(r),r=null,s()},o)}}function rT(e,t=!0,n=!0){let r=0,i,s=!0;const o=()=>{i&&(clearTimeout(i),i=void 0)};return l=>{const c=Rt(e),u=Date.now()-r;if(o(),c<=0)return r=Date.now(),l();u>c&&(n||!s)?(r=Date.now(),l()):t&&(i=setTimeout(()=>{r=Date.now(),s=!0,o(),l()},c)),!n&&!i&&(i=setTimeout(()=>s=!0,c)),s=!1}}function iT(e=av){const t=H(!0);function n(){t.value=!1}function r(){t.value=!0}return{isActive:t,pause:n,resume:r,eventFilter:(...s)=>{t.value&&e(...s)}}}function Wf(e,t=!1,n="Timeout"){return new Promise((r,i)=>{setTimeout(t?()=>i(n):r,e)})}function sT(e){return e}function sn(e){return Hh()?(Qh(e),!0):!1}function OR(e,...t){const n=t.flat();return _t(Object.fromEntries(n.map(r=>[r,up(e,r)])))}function oT(e,t=200,n=!1,r=!0){return ov(rT(t,n,r),e)}function aT(e){return typeof e=="function"?re(e):H(e)}var lT=Object.defineProperty,cT=Object.defineProperties,uT=Object.getOwnPropertyDescriptors,qf=Object.getOwnPropertySymbols,fT=Object.prototype.hasOwnProperty,dT=Object.prototype.propertyIsEnumerable,Hf=(e,t,n)=>t in e?lT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hT=(e,t)=>{for(var n in t||(t={}))fT.call(t,n)&&Hf(e,n,t[n]);if(qf)for(var n of qf(t))dT.call(t,n)&&Hf(e,n,t[n]);return e},pT=(e,t)=>cT(e,uT(t));function wR(e){if(!Oe(e))return cp(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=lp(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const i=[...e.value];i[n]=r,e.value=i}else{const i=pT(hT({},e.value),{[n]:r});Object.setPrototypeOf(i,e.value),e.value=i}}}));return t}function Pc(e,t=!0){qe()?Yr(e):t?e():tr(e)}function rl(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let b=null;const O=[new Promise(_=>{b=de(e,w=>{f(w)!==t&&(b==null||b(),_(w))},{flush:d,deep:h,immediate:!0})})];return p!=null&&O.push(Wf(p,v).then(()=>Rt(e)).finally(()=>b==null?void 0:b())),Promise.race(O)}function r(f,d){if(!Oe(f))return n(w=>w===f,d);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:b}=d!=null?d:{};let y=null;const _=[new Promise(w=>{y=de([e,f],([S,x])=>{t!==(S===x)&&(y==null||y(),w(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&_.push(Wf(v,b).then(()=>Rt(e)).finally(()=>(y==null||y(),Rt(e)))),Promise.race(_)}function i(f){return n(d=>Boolean(d),f)}function s(f){return r(null,f)}function o(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Rt(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}return Array.isArray(Rt(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return rl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:i,toBeNull:s,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return rl(e,!t)}}}function mT(e){return rl(e)}function vT(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n;let s=null;const o=H(!1);function a(){s&&(clearInterval(s),s=null)}function l(){o.value=!1,a()}function c(){Ne(t)<=0||(o.value=!0,i&&e(),a(),s=setInterval(e,Rt(t)))}if(r&&Pr&&c(),Oe(t)){const u=de(t,()=>{o.value&&Pr&&c()});sn(u)}return sn(l),{isActive:o,pause:l,resume:c}}function TR(e,t,n={}){const{immediate:r=!0}=n,i=H(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){i.value=!1,o()}function l(...c){o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...c)},Rt(t))}return r&&(i.value=!0,Pr&&l()),sn(a),{isPending:i,start:l,stop:a}}var Qf=Object.getOwnPropertySymbols,gT=Object.prototype.hasOwnProperty,yT=Object.prototype.propertyIsEnumerable,bT=(e,t)=>{var n={};for(var r in e)gT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qf)for(var r of Qf(e))t.indexOf(r)<0&&yT.call(e,r)&&(n[r]=e[r]);return n};function lv(e,t,n={}){const r=n,{eventFilter:i=av}=r,s=bT(r,["eventFilter"]);return de(e,ov(i,t),s)}var _T=Object.defineProperty,ET=Object.defineProperties,OT=Object.getOwnPropertyDescriptors,Ys=Object.getOwnPropertySymbols,cv=Object.prototype.hasOwnProperty,uv=Object.prototype.propertyIsEnumerable,zf=(e,t,n)=>t in e?_T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wT=(e,t)=>{for(var n in t||(t={}))cv.call(t,n)&&zf(e,n,t[n]);if(Ys)for(var n of Ys(t))uv.call(t,n)&&zf(e,n,t[n]);return e},TT=(e,t)=>ET(e,OT(t)),ST=(e,t)=>{var n={};for(var r in e)cv.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ys)for(var r of Ys(e))t.indexOf(r)<0&&uv.call(e,r)&&(n[r]=e[r]);return n};function SR(e,t,n={}){const r=n,{debounce:i=0,maxWait:s=void 0}=r,o=ST(r,["debounce","maxWait"]);return lv(e,t,TT(wT({},o),{eventFilter:nT(i,{maxWait:s})}))}var CT=Object.defineProperty,xT=Object.defineProperties,IT=Object.getOwnPropertyDescriptors,Gs=Object.getOwnPropertySymbols,fv=Object.prototype.hasOwnProperty,dv=Object.prototype.propertyIsEnumerable,Kf=(e,t,n)=>t in e?CT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,AT=(e,t)=>{for(var n in t||(t={}))fv.call(t,n)&&Kf(e,n,t[n]);if(Gs)for(var n of Gs(t))dv.call(t,n)&&Kf(e,n,t[n]);return e},NT=(e,t)=>xT(e,IT(t)),RT=(e,t)=>{var n={};for(var r in e)fv.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gs)for(var r of Gs(e))t.indexOf(r)<0&&dv.call(e,r)&&(n[r]=e[r]);return n};function kT(e,t,n={}){const r=n,{eventFilter:i}=r,s=RT(r,["eventFilter"]),{eventFilter:o,pause:a,resume:l,isActive:c}=iT(i);return{stop:lv(e,t,NT(AT({},s),{eventFilter:o})),pause:a,resume:l,isActive:c}}function LT(e,t,n){let r;Oe(n)?r={evaluating:n}:r=n||{};const{lazy:i=!1,evaluating:s=void 0,onError:o=Yn}=r,a=H(!i),l=H(t);let c=0;return fc(async u=>{if(!a.value)return;c++;const f=c;let d=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const h=await e(p=>{u(()=>{s&&(s.value=!1),d||p()})});f===c&&(l.value=h)}catch(h){o(h)}finally{s&&f===c&&(s.value=!1),d=!0}}),i?re(()=>(a.value=!0,l.value)):l}function Rn(e){var t;const n=Rt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const on=Pr?window:void 0,FT=Pr?window.document:void 0;function Hi(...e){let t,n,r,i;if(tT(e[0])?([n,r,i]=e,t=on):[t,n,r,i]=e,!t)return Yn;let s=Yn;const o=de(()=>Rn(t),l=>{s(),l&&(l.addEventListener(n,r,i),s=()=>{l.removeEventListener(n,r,i),s=Yn})},{immediate:!0,flush:"post"}),a=()=>{o(),s()};return sn(a),a}function CR(e,t=null){const n=qe();let r=()=>{};const i=lp((s,o)=>(r=o,{get(){var a,l;return s(),(l=(a=n==null?void 0:n.proxy)==null?void 0:a.$refs[e])!=null?l:t},set(){}}));return Pc(r),hc(r),i}function Co(e,t=!1){const n=H(),r=()=>n.value=Boolean(e());return r(),Pc(r,t),n}function hv(e,t={}){const{window:n=on}=t,r=Co(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=H(!1),o=()=>{!i||("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},a=()=>{!r.value||(o(),i=n.matchMedia(aT(e).value),s.value=i.matches,"addEventListener"in i?i.addEventListener("change",a):i.addListener(a))};return fc(a),sn(()=>o()),s}function PT(e){return JSON.parse(JSON.stringify(e))}const il=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sl="__vueuse_ssr_handlers__";il[sl]=il[sl]||{};const DT=il[sl];function MT(e,t){return DT[e]||t}function jT(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}var $T=Object.defineProperty,Yf=Object.getOwnPropertySymbols,VT=Object.prototype.hasOwnProperty,UT=Object.prototype.propertyIsEnumerable,Gf=(e,t,n)=>t in e?$T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jf=(e,t)=>{for(var n in t||(t={}))VT.call(t,n)&&Gf(e,n,t[n]);if(Yf)for(var n of Yf(t))UT.call(t,n)&&Gf(e,n,t[n]);return e};const BT={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function pv(e,t,n,r={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=on,eventFilter:d,onError:h=C=>{console.error(C)}}=r,p=(u?co:H)(t);if(!n)try{n=MT("getDefaultStorage",()=>{var C;return(C=on)==null?void 0:C.localStorage})()}catch(C){h(C)}if(!n)return p;const v=Rt(t),b=jT(v),y=(i=r.serializer)!=null?i:BT[b],{pause:O,resume:_}=kT(p,()=>w(p.value),{flush:s,deep:o,eventFilter:d});return f&&a&&Hi(f,"storage",x),x(),p;function w(C){try{C==null?n.removeItem(e):n.setItem(e,y.write(C))}catch(A){h(A)}}function S(C){O();try{const A=C?C.newValue:n.getItem(e);if(A==null)return l&&v!==null&&n.setItem(e,y.write(v)),v;if(!C&&c){const M=y.read(A);return sv(c)?c(M,v):b==="object"&&!Array.isArray(M)?Jf(Jf({},v),M):M}else return typeof A!="string"?A:y.read(A)}catch(A){h(A)}finally{_()}}function x(C){if(!(C&&C.storageArea!==n)){if(C&&C.key===null){p.value=v;return}C&&C.key!==e||(p.value=S(C))}}}function WT(e){return hv("(prefers-color-scheme: dark)",e)}var Xf=Object.getOwnPropertySymbols,qT=Object.prototype.hasOwnProperty,HT=Object.prototype.propertyIsEnumerable,QT=(e,t)=>{var n={};for(var r in e)qT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Xf)for(var r of Xf(e))t.indexOf(r)<0&&HT.call(e,r)&&(n[r]=e[r]);return n};function mv(e,t,n={}){const r=n,{window:i=on}=r,s=QT(r,["window"]);let o;const a=Co(()=>i&&"ResizeObserver"in i),l=()=>{o&&(o.disconnect(),o=void 0)},c=de(()=>Rn(e),f=>{l(),a.value&&i&&f&&(o=new ResizeObserver(t),o.observe(f,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return sn(u),{isSupported:a,stop:u}}function xR(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0}=t,o=H(0),a=H(0),l=H(0),c=H(0),u=H(0),f=H(0),d=H(0),h=H(0);function p(){const v=Rn(e);if(!v){n&&(o.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,h.value=0);return}const b=v.getBoundingClientRect();o.value=b.height,a.value=b.bottom,l.value=b.left,c.value=b.right,u.value=b.top,f.value=b.width,d.value=b.x,h.value=b.y}return mv(e,p),de(()=>Rn(e),v=>!v&&p()),i&&Hi("scroll",p,{passive:!0}),r&&Hi("resize",p,{passive:!0}),Pc(()=>{s&&p()}),{height:o,bottom:a,left:l,right:c,top:u,width:f,x:d,y:h,update:p}}function IR(e,t={}){const{immediate:n=!0,window:r=on}=t,i=H(!1);let s=null;function o(){!i.value||!r||(e(),s=r.requestAnimationFrame(o))}function a(){!i.value&&r&&(i.value=!0,o())}function l(){i.value=!1,s!=null&&r&&(r.cancelAnimationFrame(s),s=null)}return n&&a(),sn(l),{isActive:i,pause:l,resume:a}}function AR(e,t={width:0,height:0},n={}){const{box:r="content-box"}=n,i=H(t.width),s=H(t.height);return mv(e,([o])=>{const a=r==="border-box"?o.borderBoxSize:r==="content-box"?o.contentBoxSize:o.devicePixelContentBoxSize;a?(i.value=a.reduce((l,{inlineSize:c})=>l+c,0),s.value=a.reduce((l,{blockSize:c})=>l+c,0)):(i.value=o.contentRect.width,s.value=o.contentRect.height)},n),de(()=>Rn(e),o=>{i.value=o?t.width:0,s.value=o?t.height:0}),{width:i,height:s}}const Zf=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function NR(e,t={}){const{document:n=FT,autoExit:r=!1}=t,i=e||(n==null?void 0:n.querySelector("html")),s=H(!1);let o=Zf[0];const a=Co(()=>{if(n){for(const v of Zf)if(v[1]in n)return o=v,!0}else return!1;return!1}),[l,c,u,,f]=o;async function d(){!a.value||(n!=null&&n[u]&&await n[c](),s.value=!1)}async function h(){if(!a.value)return;await d();const v=Rn(i);v&&(await v[l](),s.value=!0)}async function p(){s.value?await d():await h()}return n&&Hi(n,f,()=>{s.value=!!(n!=null&&n[u])},!1),r&&sn(d),{isSupported:a,isFullscreen:s,enter:h,exit:d,toggle:p}}function RR(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=on}=n,a=Co(()=>o&&"IntersectionObserver"in o);let l=Yn;const c=a.value?de(()=>({el:Rn(e),root:Rn(r)}),({el:f,root:d})=>{if(l(),!f)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(f),l=()=>{h.disconnect(),l=Yn}},{immediate:!0,flush:"post"}):Yn,u=()=>{l(),c()};return sn(u),{isSupported:a,stop:u}}function vv(e,t,n={}){const{window:r=on}=n;return pv(e,t,r==null?void 0:r.localStorage,n)}var ed;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ed||(ed={}));function gv(e,t,n={}){const{window:r=on}=n;return pv(e,t,r==null?void 0:r.sessionStorage,n)}var zT=Object.defineProperty,td=Object.getOwnPropertySymbols,KT=Object.prototype.hasOwnProperty,YT=Object.prototype.propertyIsEnumerable,nd=(e,t,n)=>t in e?zT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GT=(e,t)=>{for(var n in t||(t={}))KT.call(t,n)&&nd(e,n,t[n]);if(td)for(var n of td(t))YT.call(t,n)&&nd(e,n,t[n]);return e};const JT={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};GT({linear:sT},JT);function XT(e,t,n,r={}){var i,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f}=r,d=qe(),h=n||(d==null?void 0:d.emit)||((i=d==null?void 0:d.$emit)==null?void 0:i.bind(d))||((o=(s=d==null?void 0:d.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d==null?void 0:d.proxy));let p=c;t||(t="modelValue"),p=c||p||`update:${t.toString()}`;const v=y=>a?sv(a)?a(y):PT(y):y,b=()=>eT(e[t])?v(e[t]):f;if(l){const y=b(),O=H(y);return de(()=>e[t],_=>O.value=v(_)),de(O,_=>{(_!==e[t]||u)&&h(p,_)},{deep:u}),O}else return re({get(){return b()},set(y){h(p,y)}})}function kR(e,t,n={}){const r={};for(const i in e)r[i]=XT(e,i,t,n);return r}/*! + * pinia v2.0.23 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */let yv;const xo=e=>yv=e,bv=Symbol();function ol(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Si;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Si||(Si={}));function ZT(){const e=Zl(!0),t=e.run(()=>H({}));let n=[],r=[];const i=Ir({install(s){xo(i),i._a=s,s.provide(bv,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return!this._a&&!Zw?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const _v=()=>{};function rd(e,t,n,r=_v){e.push(t);const i=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&qe()&&cn(i),i}function sr(e,...t){e.slice().forEach(n=>{n(...t)})}function al(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];ol(i)&&ol(r)&&e.hasOwnProperty(n)&&!Oe(r)&&!Tn(r)?e[n]=al(i,r):e[n]=r}return e}const eS=Symbol();function tS(e){return!ol(e)||!e.hasOwnProperty(eS)}const{assign:_n}=Object;function nS(e){return!!(Oe(e)&&e.effect)}function rS(e,t,n,r){const{state:i,actions:s,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=i?i():{});const u=cp(n.state.value[e]);return _n(u,s,Object.keys(o||{}).reduce((f,d)=>(f[d]=Ir(re(()=>{xo(n);const h=n._s.get(e);return o[d].call(h,h)})),f),{}))}return l=Ev(e,c,t,n,r,!0),l.$reset=function(){const f=i?i():{};this.$patch(d=>{_n(d,f)})},l}function Ev(e,t,n={},r,i,s){let o;const a=_n({actions:{}},n),l={deep:!0};let c,u,f=Ir([]),d=Ir([]),h;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={}),H({});let v;function b(C){let A;c=u=!1,typeof C=="function"?(C(r.state.value[e]),A={type:Si.patchFunction,storeId:e,events:h}):(al(r.state.value[e],C),A={type:Si.patchObject,payload:C,storeId:e,events:h});const M=v=Symbol();tr().then(()=>{v===M&&(c=!0)}),u=!0,sr(f,A,r.state.value[e])}const y=_v;function O(){o.stop(),f=[],d=[],r._s.delete(e)}function _(C,A){return function(){xo(r);const M=Array.from(arguments),B=[],z=[];function V(he){B.push(he)}function J(he){z.push(he)}sr(d,{args:M,name:C,store:S,after:V,onError:J});let Z;try{Z=A.apply(this&&this.$id===e?this:S,M)}catch(he){throw sr(z,he),he}return Z instanceof Promise?Z.then(he=>(sr(B,he),he)).catch(he=>(sr(z,he),Promise.reject(he))):(sr(B,Z),Z)}}const w={_p:r,$id:e,$onAction:rd.bind(null,d),$patch:b,$reset:y,$subscribe(C,A={}){const M=rd(f,C,A.detached,()=>B()),B=o.run(()=>de(()=>r.state.value[e],z=>{(A.flush==="sync"?u:c)&&C({storeId:e,type:Si.direct,events:h},z)},_n({},l,A)));return M},$dispose:O},S=_t(w);r._s.set(e,S);const x=r._e.run(()=>(o=Zl(),o.run(()=>t())));for(const C in x){const A=x[C];if(Oe(A)&&!nS(A)||Tn(A))s||(p&&tS(A)&&(Oe(A)?A.value=p[C]:al(A,p[C])),r.state.value[e][C]=A);else if(typeof A=="function"){const M=_(C,A);x[C]=M,a.actions[C]=A}}return _n(S,x),_n(be(S),x),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:C=>{b(A=>{_n(A,C)})}}),r._p.forEach(C=>{_n(S,o.run(()=>C({store:S,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(S.$state,p),c=!0,u=!0,S}function iS(e,t,n){let r,i;const s=typeof t=="function";typeof e=="string"?(r=e,i=s?n:t):(i=e,r=e.id);function o(a,l){const c=qe();return a=a||c&&dt(bv),a&&xo(a),a=yv,a._s.has(r)||(s?Ev(r,t,i,a):rS(r,i,a)),a._s.get(r)}return o.$id=r,o}var fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function sS(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Ov={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(fi,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(p){var v,b;for(v in p)b=p[v],b!==void 0&&p.hasOwnProperty(v)&&(r[v]=b);return this},n.status=null,n.set=function(p){var v=n.isStarted();p=i(p,r.minimum,1),n.status=p===1?null:p;var b=n.render(!v),y=b.querySelector(r.barSelector),O=r.speed,_=r.easing;return b.offsetWidth,a(function(w){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(y,o(p,O,_)),p===1?(l(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout(function(){l(b,{transition:"all "+O+"ms linear",opacity:0}),setTimeout(function(){n.remove(),w()},O)},O)):setTimeout(w,O)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){!n.status||(n.trickle(),p())},r.trickleSpeed)};return r.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var v=n.status;return v?(typeof p!="number"&&(p=(1-v)*i(Math.random()*v,.1,.95)),v=i(v+p,0,.994),n.set(v)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var p=0,v=0;n.promise=function(b){return!b||b.state()==="resolved"?this:(v===0&&n.start(),p++,v++,b.always(function(){v--,v===0?(p=0,n.done()):n.set((p-v)/p)}),this)}}(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var v=document.createElement("div");v.id="nprogress",v.innerHTML=r.template;var b=v.querySelector(r.barSelector),y=p?"-100":s(n.status||0),O=document.querySelector(r.parent),_;return l(b,{transition:"all 0 linear",transform:"translate3d("+y+"%,0,0)"}),r.showSpinner||(_=v.querySelector(r.spinnerSelector),_&&h(_)),O!=document.body&&u(O,"nprogress-custom-parent"),O.appendChild(v),v},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&h(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,v="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return v+"Perspective"in p?"translate3d":v+"Transform"in p?"translate":"margin"};function i(p,v,b){return p<v?v:p>b?b:p}function s(p){return(-1+p)*100}function o(p,v,b){var y;return r.positionUsing==="translate3d"?y={transform:"translate3d("+s(p)+"%,0,0)"}:r.positionUsing==="translate"?y={transform:"translate("+s(p)+"%,0)"}:y={"margin-left":s(p)+"%"},y.transition="all "+v+"ms "+b,y}var a=function(){var p=[];function v(){var b=p.shift();b&&b(v)}return function(b){p.push(b),p.length==1&&v()}}(),l=function(){var p=["Webkit","O","Moz","ms"],v={};function b(w){return w.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,x){return x.toUpperCase()})}function y(w){var S=document.body.style;if(w in S)return w;for(var x=p.length,C=w.charAt(0).toUpperCase()+w.slice(1),A;x--;)if(A=p[x]+C,A in S)return A;return w}function O(w){return w=b(w),v[w]||(v[w]=y(w))}function _(w,S,x){S=O(S),w.style[S]=x}return function(w,S){var x=arguments,C,A;if(x.length==2)for(C in S)A=S[C],A!==void 0&&S.hasOwnProperty(C)&&_(w,C,A);else _(w,x[1],x[2])}}();function c(p,v){var b=typeof p=="string"?p:d(p);return b.indexOf(" "+v+" ")>=0}function u(p,v){var b=d(p),y=b+v;c(b,v)||(p.className=y.substring(1))}function f(p,v){var b=d(p),y;!c(p,v)||(y=b.replace(" "+v+" "," "),p.className=y.substring(1,y.length-1))}function d(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function h(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})})(Ov);const Dr=Ov.exports;let wr;function wv(){wr===void 0&&(wr=setTimeout(()=>{Dr.isStarted()||Dr.start(),wr=void 0},150))}function Dc(){wr!==void 0&&(clearTimeout(wr),wr=void 0),Dr.isStarted()&&Dr.done()}function oS(){Dr.isStarted()&&Dr.inc()}const aS={class:"background absolute w-full h-full grid place-content-center bg-gray-800"},lS={class:"my-auto text-white text-center"},cS={class:"relative"},uS=["textContent"],fS={class:"text-xs lg:text-base text-gray-200"},dS=ot("div",{class:"i-uil:spinner inline animate-spin"},null,-1),hS=["textContent"],pS=$t({__name:"BackendDown",setup(e){Dc();const t=H(0),n=H(""),r=re(()=>{switch(t.value){case 502:return"巴瓦鲁魔法服务器正在跃迁中";case 500:return"巴瓦鲁魔法服务器哮喘犯了";case 503:return"巴瓦鲁魔法服务器正在睡觉";case 403:return"你被帕秋莉禁止进入巴瓦鲁魔法服务器";default:return"巴瓦鲁魔法服务器被隙间了"}}),i=H(!0),s=H(new Date),o=oT(l=>{i.value=l},600,!0),a=async()=>{var l;s.value=new Date,o(!0);try{const c=await fetch("https://patchyvideo.com/be/alive.txt");if(c.ok){window.location.reload();return}t.value=c.status,n.value=c.statusText}catch(c){t.value=502,n.value=c instanceof Error?(l=c.stack)!=null?l:c.message:String(c)}finally{o(!1)}};return vT(a,5e3),a(),(l,c)=>(Ue(),gt("div",aS,[ot("div",lS,[ot("div",cS,[ot("h1",{class:"sm:text-xl lg:text-3xl",textContent:nn(Ne(r))},null,8,uS),ot("span",fS,[i.value?(Ue(),gt(ze,{key:0},[Da("Fetching "),dS],64)):(Ue(),gt(ze,{key:1},[Da("Last fetched at "+nn(s.value.toLocaleTimeString("en-US")),1)],64))])]),ot("p",{class:"mt-2 text-xs lg:text-sm text-left whitespace-pre text-gray-400",textContent:nn(n.value)},null,8,hS)])]))}});function mS(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:i,onRegisteredSW:s,onRegisterError:o}=e;let a,l,c,u;const f=async(h=!0)=>{await c,h&&(a==null||a.addEventListener("controlling",p=>{p.isUpdate&&window.location.reload()})),await(u==null?void 0:u())};async function d(){if("serviceWorker"in navigator){const{Workbox:h,messageSW:p}=await Re(()=>import("./workbox-window.prod.es5.fc37ce2a.js"),[]);u=async()=>{l&&l.waiting&&await p(l.waiting,{type:"SKIP_WAITING"})},a=new h("/sw.js",{scope:"/",type:"classic"}),a.addEventListener("activated",v=>{v.isUpdate||r==null||r()});{const v=()=>{n==null||n()};a.addEventListener("waiting",v),a.addEventListener("externalwaiting",v)}a.register({immediate:t}).then(v=>{l=v,s?s("/sw.js",v):i==null||i(v)}).catch(v=>{o==null||o(v)})}}return c=d(),f}function vS(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:i,onRegisteredSW:s,onRegisterError:o}=e,a=H(!1),l=H(!1);return{updateServiceWorker:mS({immediate:t,onNeedRefresh(){a.value=!0,n==null||n()},onOfflineReady(){l.value=!0,r==null||r()},onRegistered:i,onRegisteredSW:s,onRegisterError:o}),offlineReady:l,needRefresh:a}}/*! + * shared v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const ll=typeof window<"u",gS=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Fn=e=>gS?Symbol(e):e,yS=(e,t,n)=>bS({l:e,k:t,s:n}),bS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ye=e=>typeof e=="number"&&isFinite(e),_S=e=>jc(e)==="[object Date]",kn=e=>jc(e)==="[object RegExp]",Io=e=>le(e)&&Object.keys(e).length===0;function ES(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const tt=Object.assign;let id;const Ci=()=>id||(id=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sd(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const OS=Object.prototype.hasOwnProperty;function Mc(e,t){return OS.call(e,t)}const ke=Array.isArray,Be=e=>typeof e=="function",Q=e=>typeof e=="string",ge=e=>typeof e=="boolean",Le=e=>e!==null&&typeof e=="object",Tv=Object.prototype.toString,jc=e=>Tv.call(e),le=e=>jc(e)==="[object Object]",wS=e=>e==null?"":ke(e)||le(e)&&e.toString===Tv?JSON.stringify(e,null,2):String(e);/*! + * message-compiler v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const _e={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Ao(e,t,n={}){const{domain:r,messages:i,args:s}=n,o=e,a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function TS(e){throw e}function SS(e,t,n){return{line:e,column:t,offset:n}}function cl(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Jt=" ",CS="\r",ft=` +`,xS=String.fromCharCode(8232),IS=String.fromCharCode(8233);function AS(e){const t=e;let n=0,r=1,i=1,s=0;const o=C=>t[C]===CS&&t[C+1]===ft,a=C=>t[C]===ft,l=C=>t[C]===IS,c=C=>t[C]===xS,u=C=>o(C)||a(C)||l(C)||c(C),f=()=>n,d=()=>r,h=()=>i,p=()=>s,v=C=>o(C)||l(C)||c(C)?ft:t[C],b=()=>v(n),y=()=>v(n+s);function O(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function _(){return o(n+s)&&s++,s++,t[n+s]}function w(){n=0,r=1,i=1,s=0}function S(C=0){s=C}function x(){const C=n+s;for(;C!==n;)O();s=0}return{index:f,line:d,column:h,peekOffset:p,charAt:v,currentChar:b,currentPeek:y,next:O,peek:_,reset:w,resetPeek:S,skipToPeek:x}}const hn=void 0,od="'",NS="tokenizer";function RS(e,t={}){const n=t.location!==!1,r=AS(e),i=()=>r.index(),s=()=>SS(r.line(),r.column(),r.index()),o=s(),a=i(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(m,g,T,...I){const L=c();if(g.column+=T,g.offset+=T,u){const j=cl(L.startLoc,g),$=Ao(m,j,{domain:NS,args:I});u($)}}function d(m,g,T){m.endLoc=s(),m.currentType=g;const I={type:g};return n&&(I.loc=cl(m.startLoc,m.endLoc)),T!=null&&(I.value=T),I}const h=m=>d(m,14);function p(m,g){return m.currentChar()===g?(m.next(),g):(f(_e.EXPECTED_TOKEN,s(),0,g),"")}function v(m){let g="";for(;m.currentPeek()===Jt||m.currentPeek()===ft;)g+=m.currentPeek(),m.peek();return g}function b(m){const g=v(m);return m.skipToPeek(),g}function y(m){if(m===hn)return!1;const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function O(m){if(m===hn)return!1;const g=m.charCodeAt(0);return g>=48&&g<=57}function _(m,g){const{currentType:T}=g;if(T!==2)return!1;v(m);const I=y(m.currentPeek());return m.resetPeek(),I}function w(m,g){const{currentType:T}=g;if(T!==2)return!1;v(m);const I=m.currentPeek()==="-"?m.peek():m.currentPeek(),L=O(I);return m.resetPeek(),L}function S(m,g){const{currentType:T}=g;if(T!==2)return!1;v(m);const I=m.currentPeek()===od;return m.resetPeek(),I}function x(m,g){const{currentType:T}=g;if(T!==8)return!1;v(m);const I=m.currentPeek()===".";return m.resetPeek(),I}function C(m,g){const{currentType:T}=g;if(T!==9)return!1;v(m);const I=y(m.currentPeek());return m.resetPeek(),I}function A(m,g){const{currentType:T}=g;if(!(T===8||T===12))return!1;v(m);const I=m.currentPeek()===":";return m.resetPeek(),I}function M(m,g){const{currentType:T}=g;if(T!==10)return!1;const I=()=>{const j=m.currentPeek();return j==="{"?y(m.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Jt||!j?!1:j===ft?(m.peek(),I()):y(j)},L=I();return m.resetPeek(),L}function B(m){v(m);const g=m.currentPeek()==="|";return m.resetPeek(),g}function z(m){const g=v(m),T=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:T,hasSpace:g.length>0}}function V(m,g=!0){const T=(L=!1,j="",$=!1)=>{const U=m.currentPeek();return U==="{"?j==="%"?!1:L:U==="@"||!U?j==="%"?!0:L:U==="%"?(m.peek(),T(L,"%",!0)):U==="|"?j==="%"||$?!0:!(j===Jt||j===ft):U===Jt?(m.peek(),T(!0,Jt,$)):U===ft?(m.peek(),T(!0,ft,$)):!0},I=T();return g&&m.resetPeek(),I}function J(m,g){const T=m.currentChar();return T===hn?hn:g(T)?(m.next(),T):null}function Z(m){return J(m,T=>{const I=T.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36})}function he(m){return J(m,T=>{const I=T.charCodeAt(0);return I>=48&&I<=57})}function ce(m){return J(m,T=>{const I=T.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102})}function se(m){let g="",T="";for(;g=he(m);)T+=g;return T}function ee(m){b(m);const g=m.currentChar();return g!=="%"&&f(_e.EXPECTED_TOKEN,s(),0,g),m.next(),"%"}function Me(m){let g="";for(;;){const T=m.currentChar();if(T==="{"||T==="}"||T==="@"||T==="|"||!T)break;if(T==="%")if(V(m))g+=T,m.next();else break;else if(T===Jt||T===ft)if(V(m))g+=T,m.next();else{if(B(m))break;g+=T,m.next()}else g+=T,m.next()}return g}function Se(m){b(m);let g="",T="";for(;g=Z(m);)T+=g;return m.currentChar()===hn&&f(_e.UNTERMINATED_CLOSING_BRACE,s(),0),T}function je(m){b(m);let g="";return m.currentChar()==="-"?(m.next(),g+=`-${se(m)}`):g+=se(m),m.currentChar()===hn&&f(_e.UNTERMINATED_CLOSING_BRACE,s(),0),g}function Ce(m){b(m),p(m,"'");let g="",T="";const I=j=>j!==od&&j!==ft;for(;g=J(m,I);)g==="\\"?T+=pt(m):T+=g;const L=m.currentChar();return L===ft||L===hn?(f(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),L===ft&&(m.next(),p(m,"'")),T):(p(m,"'"),T)}function pt(m){const g=m.currentChar();switch(g){case"\\":case"'":return m.next(),`\\${g}`;case"u":return Et(m,g,4);case"U":return Et(m,g,6);default:return f(_e.UNKNOWN_ESCAPE_SEQUENCE,s(),0,g),""}}function Et(m,g,T){p(m,g);let I="";for(let L=0;L<T;L++){const j=ce(m);if(!j){f(_e.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${g}${I}${m.currentChar()}`);break}I+=j}return`\\${g}${I}`}function F(m){b(m);let g="",T="";const I=L=>L!=="{"&&L!=="}"&&L!==Jt&&L!==ft;for(;g=J(m,I);)T+=g;return T}function q(m){let g="",T="";for(;g=Z(m);)T+=g;return T}function W(m){const g=(T=!1,I)=>{const L=m.currentChar();return L==="{"||L==="%"||L==="@"||L==="|"||!L||L===Jt?I:L===ft?(I+=L,m.next(),g(T,I)):(I+=L,m.next(),g(!0,I))};return g(!1,"")}function K(m){b(m);const g=p(m,"|");return b(m),g}function oe(m,g){let T=null;switch(m.currentChar()){case"{":return g.braceNest>=1&&f(_e.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),T=d(g,2,"{"),b(m),g.braceNest++,T;case"}":return g.braceNest>0&&g.currentType===2&&f(_e.EMPTY_PLACEHOLDER,s(),0),m.next(),T=d(g,3,"}"),g.braceNest--,g.braceNest>0&&b(m),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),T;case"@":return g.braceNest>0&&f(_e.UNTERMINATED_CLOSING_BRACE,s(),0),T=ye(m,g)||h(g),g.braceNest=0,T;default:let L=!0,j=!0,$=!0;if(B(m))return g.braceNest>0&&f(_e.UNTERMINATED_CLOSING_BRACE,s(),0),T=d(g,1,K(m)),g.braceNest=0,g.inLinked=!1,T;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return f(_e.UNTERMINATED_CLOSING_BRACE,s(),0),g.braceNest=0,ne(m,g);if(L=_(m,g))return T=d(g,5,Se(m)),b(m),T;if(j=w(m,g))return T=d(g,6,je(m)),b(m),T;if($=S(m,g))return T=d(g,7,Ce(m)),b(m),T;if(!L&&!j&&!$)return T=d(g,13,F(m)),f(_e.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,T.value),b(m),T;break}return T}function ye(m,g){const{currentType:T}=g;let I=null;const L=m.currentChar();switch((T===8||T===9||T===12||T===10)&&(L===ft||L===Jt)&&f(_e.INVALID_LINKED_FORMAT,s(),0),L){case"@":return m.next(),I=d(g,8,"@"),g.inLinked=!0,I;case".":return b(m),m.next(),d(g,9,".");case":":return b(m),m.next(),d(g,10,":");default:return B(m)?(I=d(g,1,K(m)),g.braceNest=0,g.inLinked=!1,I):x(m,g)||A(m,g)?(b(m),ye(m,g)):C(m,g)?(b(m),d(g,12,q(m))):M(m,g)?(b(m),L==="{"?oe(m,g)||I:d(g,11,W(m))):(T===8&&f(_e.INVALID_LINKED_FORMAT,s(),0),g.braceNest=0,g.inLinked=!1,ne(m,g))}}function ne(m,g){let T={type:14};if(g.braceNest>0)return oe(m,g)||h(g);if(g.inLinked)return ye(m,g)||h(g);switch(m.currentChar()){case"{":return oe(m,g)||h(g);case"}":return f(_e.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),d(g,3,"}");case"@":return ye(m,g)||h(g);default:if(B(m))return T=d(g,1,K(m)),g.braceNest=0,g.inLinked=!1,T;const{isModulo:L,hasSpace:j}=z(m);if(L)return j?d(g,0,Me(m)):d(g,4,ee(m));if(V(m))return d(g,0,Me(m));break}return T}function E(){const{currentType:m,offset:g,startLoc:T,endLoc:I}=l;return l.lastType=m,l.lastOffset=g,l.lastStartLoc=T,l.lastEndLoc=I,l.offset=i(),l.startLoc=s(),r.currentChar()===hn?d(l,14):ne(r,l)}return{nextToken:E,currentOffset:i,currentPosition:s,context:c}}const kS="parser",LS=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function FS(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function PS(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,O,_,w,...S){const x=y.currentPosition();if(x.offset+=w,x.column+=w,n){const C=cl(_,x),A=Ao(O,C,{domain:kS,args:S});n(A)}}function i(y,O,_){const w={type:y,start:O,end:O};return t&&(w.loc={start:_,end:_}),w}function s(y,O,_,w){y.end=O,w&&(y.type=w),t&&y.loc&&(y.loc.end=_)}function o(y,O){const _=y.context(),w=i(3,_.offset,_.startLoc);return w.value=O,s(w,y.currentOffset(),y.currentPosition()),w}function a(y,O){const _=y.context(),{lastOffset:w,lastStartLoc:S}=_,x=i(5,w,S);return x.index=parseInt(O,10),y.nextToken(),s(x,y.currentOffset(),y.currentPosition()),x}function l(y,O){const _=y.context(),{lastOffset:w,lastStartLoc:S}=_,x=i(4,w,S);return x.key=O,y.nextToken(),s(x,y.currentOffset(),y.currentPosition()),x}function c(y,O){const _=y.context(),{lastOffset:w,lastStartLoc:S}=_,x=i(9,w,S);return x.value=O.replace(LS,FS),y.nextToken(),s(x,y.currentOffset(),y.currentPosition()),x}function u(y){const O=y.nextToken(),_=y.context(),{lastOffset:w,lastStartLoc:S}=_,x=i(8,w,S);return O.type!==12?(r(y,_e.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),x.value="",s(x,w,S),{nextConsumeToken:O,node:x}):(O.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Wt(O)),x.value=O.value||"",s(x,y.currentOffset(),y.currentPosition()),{node:x})}function f(y,O){const _=y.context(),w=i(7,_.offset,_.startLoc);return w.value=O,s(w,y.currentOffset(),y.currentPosition()),w}function d(y){const O=y.context(),_=i(6,O.offset,O.startLoc);let w=y.nextToken();if(w.type===9){const S=u(y);_.modifier=S.node,w=S.nextConsumeToken||y.nextToken()}switch(w.type!==10&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(w)),w=y.nextToken(),w.type===2&&(w=y.nextToken()),w.type){case 11:w.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(w)),_.key=f(y,w.value||"");break;case 5:w.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(w)),_.key=l(y,w.value||"");break;case 6:w.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(w)),_.key=a(y,w.value||"");break;case 7:w.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(w)),_.key=c(y,w.value||"");break;default:r(y,_e.UNEXPECTED_EMPTY_LINKED_KEY,O.lastStartLoc,0);const S=y.context(),x=i(7,S.offset,S.startLoc);return x.value="",s(x,S.offset,S.startLoc),_.key=x,s(_,S.offset,S.startLoc),{nextConsumeToken:w,node:_}}return s(_,y.currentOffset(),y.currentPosition()),{node:_}}function h(y){const O=y.context(),_=O.currentType===1?y.currentOffset():O.offset,w=O.currentType===1?O.endLoc:O.startLoc,S=i(2,_,w);S.items=[];let x=null;do{const M=x||y.nextToken();switch(x=null,M.type){case 0:M.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(M)),S.items.push(o(y,M.value||""));break;case 6:M.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(M)),S.items.push(a(y,M.value||""));break;case 5:M.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(M)),S.items.push(l(y,M.value||""));break;case 7:M.value==null&&r(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Wt(M)),S.items.push(c(y,M.value||""));break;case 8:const B=d(y);S.items.push(B.node),x=B.nextConsumeToken||null;break}}while(O.currentType!==14&&O.currentType!==1);const C=O.currentType===1?O.lastOffset:y.currentOffset(),A=O.currentType===1?O.lastEndLoc:y.currentPosition();return s(S,C,A),S}function p(y,O,_,w){const S=y.context();let x=w.items.length===0;const C=i(1,O,_);C.cases=[],C.cases.push(w);do{const A=h(y);x||(x=A.items.length===0),C.cases.push(A)}while(S.currentType!==14);return x&&r(y,_e.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),s(C,y.currentOffset(),y.currentPosition()),C}function v(y){const O=y.context(),{offset:_,startLoc:w}=O,S=h(y);return O.currentType===14?S:p(y,_,w,S)}function b(y){const O=RS(y,tt({},e)),_=O.context(),w=i(0,_.offset,_.startLoc);return t&&w.loc&&(w.loc.source=y),w.body=v(O),_.currentType!==14&&r(O,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,y[_.offset]||""),s(w,O.currentOffset(),O.currentPosition()),w}return{parse:b}}function Wt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function DS(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function ad(e,t){for(let n=0;n<e.length;n++)$c(e[n],t)}function $c(e,t){switch(e.type){case 1:ad(e.cases,t),t.helper("plural");break;case 2:ad(e.items,t);break;case 6:$c(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function MS(e,t={}){const n=DS(e);n.helper("normalize"),e.body&&$c(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function jS(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=t,o={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0},a=()=>o;function l(v,b){o.code+=v}function c(v,b=!0){const y=b?i:"";l(s?y+" ".repeat(v):y)}function u(v=!0){const b=++o.indentLevel;v&&c(b)}function f(v=!0){const b=--o.indentLevel;v&&c(b)}function d(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:v=>`_${v}`,needIndent:()=>o.needIndent}}function $S(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Mr(e,t.key),t.modifier?(e.push(", "),Mr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function VS(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let s=0;s<i&&(Mr(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function US(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let s=0;s<i&&(Mr(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function BS(e,t){t.body?Mr(e,t.body):e.push("null")}function Mr(e,t){const{helper:n}=e;switch(t.type){case 0:BS(e,t);break;case 1:US(e,t);break;case 2:VS(e,t);break;case 6:$S(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const WS=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",r=Q(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=jS(e,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${a.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),l.newline()),l.push("return "),Mr(l,e),l.deindent(o),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function qS(e,t={}){const n=tt({},t),i=PS(n).parse(e);return MS(i,n),WS(i,n)}/*! + * devtools-if v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Sv={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! + * core-base v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const Pn=[];Pn[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Pn[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Pn[2]={w:[2],i:[3,0],[0]:[3,0]};Pn[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Pn[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Pn[5]={["'"]:[4,0],o:8,l:[5,0]};Pn[6]={['"']:[4,0],o:8,l:[6,0]};const HS=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function QS(e){return HS.test(e)}function zS(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function KS(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function YS(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:QS(t)?zS(t):"*"+t}function GS(e){const t=[];let n=-1,r=0,i=0,s,o,a,l,c,u,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,o===void 0||(o=YS(o),o===!1))return!1;d[1]()}};function h(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&h())){if(l=KS(s),f=Pn[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const ld=new Map;function JS(e,t){return Le(e)?e[t]:null}function XS(e,t){if(!Le(e))return null;let n=ld.get(t);if(n||(n=GS(t),n&&ld.set(t,n)),!n)return null;const r=n.length;let i=e,s=0;for(;s<r;){const o=i[n[s]];if(o===void 0)return null;i=o,s++}return i}const ZS=e=>e,eC=e=>"",tC="text",nC=e=>e.length===0?"":e.join(""),rC=wS;function cd(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function iC(e){const t=Ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ye(e.named.count)||Ye(e.named.n))?Ye(e.named.count)?e.named.count:Ye(e.named.n)?e.named.n:t:t}function sC(e,t){t.count||(t.count=e),t.n||(t.n=e)}function oC(e={}){const t=e.locale,n=iC(e),r=Le(e.pluralRules)&&Q(t)&&Be(e.pluralRules[t])?e.pluralRules[t]:cd,i=Le(e.pluralRules)&&Q(t)&&Be(e.pluralRules[t])?cd:void 0,s=y=>y[r(n,y.length,i)],o=e.list||[],a=y=>o[y],l=e.named||{};Ye(e.pluralIndex)&&sC(n,l);const c=y=>l[y];function u(y){const O=Be(e.messages)?e.messages(y):Le(e.messages)?e.messages[y]:!1;return O||(e.parent?e.parent.message(y):eC)}const f=y=>e.modifiers?e.modifiers[y]:ZS,d=le(e.processor)&&Be(e.processor.normalize)?e.processor.normalize:nC,h=le(e.processor)&&Be(e.processor.interpolate)?e.processor.interpolate:rC,p=le(e.processor)&&Q(e.processor.type)?e.processor.type:tC,b={list:a,named:c,plural:s,linked:(y,...O)=>{const[_,w]=O;let S="text",x="";O.length===1?Le(_)?(x=_.modifier||x,S=_.type||S):Q(_)&&(x=_||x):O.length===2&&(Q(_)&&(x=_||x),Q(w)&&(S=w||S));let C=u(y)(b);return S==="vnode"&&ke(C)&&x&&(C=C[0]),x?f(x)(C,S):C},message:u,type:p,interpolate:h,normalize:d};return b}let Qi=null;function aC(e){Qi=e}function lC(e,t,n){Qi&&Qi.emit(Sv.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const cC=uC(Sv.FunctionTranslate);function uC(e){return t=>Qi&&Qi.emit(e,t)}const fC={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function dC(e,t,n){return[...new Set([n,...ke(t)?t:Le(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Cv(e,t,n){const r=Q(n)?n:as,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;ke(o);)o=ud(s,o,t);const a=ke(t)||!le(t)?t:t.default?t.default:null;o=Q(a)?[a]:a,ke(o)&&ud(s,o,!1),i.__localeChainCache.set(r,s)}return s}function ud(e,t,n){let r=!0;for(let i=0;i<t.length&&ge(r);i++){const s=t[i];Q(s)&&(r=hC(e,t[i],n))}return r}function hC(e,t,n){let r;const i=t.split("-");do{const s=i.join("-");r=pC(e,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function pC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(ke(n)||le(n))&&n[i]&&(r=n[i])}return r}const mC="9.2.2",No=-1,as="en-US",fd="",dd=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function vC(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&Le(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&Le(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?dd(e):t==="vnode"&&Le(e)&&"__v_isVNode"in e?dd(e.children):e}}let xv;function gC(e){xv=e}let Iv;function yC(e){Iv=e}let Av;function bC(e){Av=e}let Nv=null;const hd=e=>{Nv=e},_C=()=>Nv;let Rv=null;const pd=e=>{Rv=e},EC=()=>Rv;let md=0;function OC(e={}){const t=Q(e.version)?e.version:mC,n=Q(e.locale)?e.locale:as,r=ke(e.fallbackLocale)||le(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=le(e.messages)?e.messages:{[n]:{}},s=le(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=le(e.numberFormats)?e.numberFormats:{[n]:{}},a=tt({},e.modifiers||{},vC()),l=e.pluralRules||{},c=Be(e.missing)?e.missing:null,u=ge(e.missingWarn)||kn(e.missingWarn)?e.missingWarn:!0,f=ge(e.fallbackWarn)||kn(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,h=!!e.unresolving,p=Be(e.postTranslation)?e.postTranslation:null,v=le(e.processor)?e.processor:null,b=ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,O=Be(e.messageCompiler)?e.messageCompiler:xv,_=Be(e.messageResolver)?e.messageResolver:Iv||JS,w=Be(e.localeFallbacker)?e.localeFallbacker:Av||dC,S=Le(e.fallbackContext)?e.fallbackContext:void 0,x=Be(e.onWarn)?e.onWarn:ES,C=e,A=Le(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,M=Le(C.__numberFormatters)?C.__numberFormatters:new Map,B=Le(C.__meta)?C.__meta:{};md++;const z={version:t,cid:md,locale:n,fallbackLocale:r,messages:i,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:h,postTranslation:p,processor:v,warnHtmlMessage:b,escapeParameter:y,messageCompiler:O,messageResolver:_,localeFallbacker:w,fallbackContext:S,onWarn:x,__meta:B};return z.datetimeFormats=s,z.numberFormats=o,z.__datetimeFormatters=A,z.__numberFormatters=M,__INTLIFY_PROD_DEVTOOLS__&&lC(z,t,B),z}function Vc(e,t,n,r,i){const{missing:s,onWarn:o}=e;if(s!==null){const a=s(e,n,t,i);return Q(a)?a:t}else return t}function ni(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const wC=e=>e;let vd=Object.create(null);function TC(e,t={}){{const r=(t.onCacheKey||wC)(e),i=vd[r];if(i)return i;let s=!1;const o=t.onError||TS;t.onError=c=>{s=!0,o(c)};const{code:a}=qS(e,t),l=new Function(`return ${a}`)();return s?l:vd[r]=l}}let kv=_e.__EXTEND_POINT__;const ia=()=>++kv,ur={INVALID_ARGUMENT:kv,INVALID_DATE_ARGUMENT:ia(),INVALID_ISO_DATE_ARGUMENT:ia(),__EXTEND_POINT__:ia()};function fr(e){return Ao(e,null,void 0)}const gd=()=>"",qt=e=>Be(e);function yd(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=e,[l,c]=ul(...t),u=ge(c.missingWarn)?c.missingWarn:e.missingWarn,f=ge(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ge(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=Q(c.default)||ge(c.default)?ge(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",v=n||p!=="",b=Q(c.locale)?c.locale:e.locale;d&&SC(c);let[y,O,_]=h?[l,b,a[b]||{}]:Lv(e,l,b,o,f,u),w=y,S=l;if(!h&&!(Q(w)||qt(w))&&v&&(w=p,S=w),!h&&(!(Q(w)||qt(w))||!Q(O)))return i?No:l;let x=!1;const C=()=>{x=!0},A=qt(w)?w:Fv(e,l,O,w,S,C);if(x)return w;const M=IC(e,O,_,c),B=oC(M),z=CC(e,A,B),V=r?r(z,l):z;if(__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:Q(l)?l:qt(w)?w.key:"",locale:O||(qt(w)?w.locale:""),format:Q(w)?w:qt(w)?w.source:"",message:V};J.meta=tt({},e.__meta,_C()||{}),cC(J)}return V}function SC(e){ke(e.list)?e.list=e.list.map(t=>Q(t)?sd(t):t):Le(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=sd(e.named[t]))})}function Lv(e,t,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,h=null;const p="translate";for(let v=0;v<u.length&&(d=u[v],f=o[d]||{},(h=l(f,t))===null&&(h=f[t]),!(Q(h)||Be(h)));v++){const b=Vc(e,t,d,s,p);b!==t&&(h=b)}return[h,d,f]}function Fv(e,t,n,r,i,s){const{messageCompiler:o,warnHtmlMessage:a}=e;if(qt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(o==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=o(r,xC(e,n,i,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function CC(e,t,n){return t(n)}function ul(...e){const[t,n,r]=e,i={};if(!Q(t)&&!Ye(t)&&!qt(t))throw fr(ur.INVALID_ARGUMENT);const s=Ye(t)?String(t):(qt(t),t);return Ye(n)?i.plural=n:Q(n)?i.default=n:le(n)&&!Io(n)?i.named=n:ke(n)&&(i.list=n),Ye(r)?i.plural=r:Q(r)?i.default=r:le(r)&&tt(i,r),[s,i]}function xC(e,t,n,r,i,s){return{warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>yS(t,n,o)}}function IC(e,t,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:s,messages:h=>{let p=o(n,h);if(p==null&&u){const[,,v]=Lv(u,h,t,a,l,c);p=o(v,h)}if(Q(p)){let v=!1;const y=Fv(e,h,t,p,h,()=>{v=!0});return v?gd:y}else return qt(p)?p:gd}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ye(r.plural)&&(d.pluralIndex=r.plural),d}function bd(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,c,u,f]=fl(...t),d=ge(u.missingWarn)?u.missingWarn:e.missingWarn;ge(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=Q(u.locale)?u.locale:e.locale,v=o(e,i,p);if(!Q(l)||l==="")return new Intl.DateTimeFormat(p,f).format(c);let b={},y,O=null;const _="datetime format";for(let x=0;x<v.length&&(y=v[x],b=n[y]||{},O=b[l],!le(O));x++)Vc(e,l,y,d,_);if(!le(O)||!Q(y))return r?No:l;let w=`${y}__${l}`;Io(f)||(w=`${w}__${JSON.stringify(f)}`);let S=a.get(w);return S||(S=new Intl.DateTimeFormat(y,tt({},O,f)),a.set(w,S)),h?S.formatToParts(c):S.format(c)}const Pv=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function fl(...e){const[t,n,r,i]=e,s={};let o={},a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw fr(ur.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw fr(ur.INVALID_ISO_DATE_ARGUMENT)}}else if(_S(t)){if(isNaN(t.getTime()))throw fr(ur.INVALID_DATE_ARGUMENT);a=t}else if(Ye(t))a=t;else throw fr(ur.INVALID_ARGUMENT);return Q(n)?s.key=n:le(n)&&Object.keys(n).forEach(l=>{Pv.includes(l)?o[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:le(r)&&(o=r),le(i)&&(o=i),[s.key||"",a,s,o]}function _d(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;!r.__datetimeFormatters.has(s)||r.__datetimeFormatters.delete(s)}}function Ed(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,c,u,f]=dl(...t),d=ge(u.missingWarn)?u.missingWarn:e.missingWarn;ge(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=Q(u.locale)?u.locale:e.locale,v=o(e,i,p);if(!Q(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let b={},y,O=null;const _="number format";for(let x=0;x<v.length&&(y=v[x],b=n[y]||{},O=b[l],!le(O));x++)Vc(e,l,y,d,_);if(!le(O)||!Q(y))return r?No:l;let w=`${y}__${l}`;Io(f)||(w=`${w}__${JSON.stringify(f)}`);let S=a.get(w);return S||(S=new Intl.NumberFormat(y,tt({},O,f)),a.set(w,S)),h?S.formatToParts(c):S.format(c)}const Dv=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dl(...e){const[t,n,r,i]=e,s={};let o={};if(!Ye(t))throw fr(ur.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:le(n)&&Object.keys(n).forEach(l=>{Dv.includes(l)?o[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:le(r)&&(o=r),le(i)&&(o=i),[s.key||"",a,s,o]}function Od(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;!r.__numberFormatters.has(s)||r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ci().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + * vue-i18n v9.2.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */const AC="9.2.2";function NC(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ci().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ci().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ci().__INTLIFY_PROD_DEVTOOLS__=!1)}fC.__EXTEND_POINT__;let Mv=_e.__EXTEND_POINT__;const mt=()=>++Mv,Qe={UNEXPECTED_RETURN_TYPE:Mv,INVALID_ARGUMENT:mt(),MUST_BE_CALL_SETUP_TOP:mt(),NOT_INSLALLED:mt(),NOT_AVAILABLE_IN_LEGACY_MODE:mt(),REQUIRED_VALUE:mt(),INVALID_VALUE:mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mt(),NOT_INSLALLED_WITH_PROVIDE:mt(),UNEXPECTED_ERROR:mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mt(),BRIDGE_SUPPORT_VUE_2_ONLY:mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mt(),__EXTEND_POINT__:mt()};function Xe(e,...t){return Ao(e,null,void 0)}const hl=Fn("__transrateVNode"),pl=Fn("__datetimeParts"),ml=Fn("__numberParts"),jv=Fn("__setPluralRules");Fn("__intlifyMeta");const $v=Fn("__injectWithOption");function vl(e){if(!Le(e))return e;for(const t in e)if(!!Mc(e,t))if(!t.includes("."))Le(e[t])&&vl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let s=0;s<r;s++)n[s]in i||(i[n[s]]={}),i=i[n[s]];i[n[r]]=e[t],delete e[t],Le(i[n[r]])&&vl(i[n[r]])}return e}function Ro(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=t,o=le(n)?n:ke(r)?{}:{[e]:{}};if(ke(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},xi(c,o[l])):xi(c,o)}else Q(a)&&xi(JSON.parse(a),o)}),i==null&&s)for(const a in o)Mc(o,a)&&vl(o[a]);return o}const Es=e=>!Le(e)||ke(e);function xi(e,t){if(Es(e)||Es(t))throw Xe(Qe.INVALID_VALUE);for(const n in e)Mc(e,n)&&(Es(e[n])||Es(t[n])?t[n]=e[n]:xi(e[n],t[n]))}function Vv(e){return e.type}function Uv(e,t,n){let r=Le(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ro(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Le(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Le(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function wd(e){return $e(vo,null,e,0)}const Td="__INTLIFY_META__";let Sd=0;function Cd(e){return(t,n,r,i)=>e(n,r,qe()||void 0,i)}const RC=()=>{const e=qe();let t=null;return e&&(t=Vv(e)[Td])?{[Td]:t}:null};function Uc(e={},t){const{__root:n}=e,r=n===void 0;let i=ge(e.inheritLocale)?e.inheritLocale:!0;const s=H(n&&i?n.locale.value:Q(e.locale)?e.locale:as),o=H(n&&i?n.fallbackLocale.value:Q(e.fallbackLocale)||ke(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),a=H(Ro(s.value,e)),l=H(le(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=H(le(e.numberFormats)?e.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:ge(e.missingWarn)||kn(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:ge(e.fallbackWarn)||kn(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:ge(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,p=Be(e.missing)?e.missing:null,v=Be(e.missing)?Cd(e.missing):null,b=Be(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const _=n?n.modifiers:le(e.modifiers)?e.modifiers:{};let w=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&pd(null);const N={version:AC,locale:s.value,fallbackLocale:o.value,messages:a.value,modifiers:_,pluralRules:w,missing:v===null?void 0:v,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:O,messageResolver:e.messageResolver,__meta:{framework:"vue"}};N.datetimeFormats=l.value,N.numberFormats=c.value,N.__datetimeFormatters=le(S)?S.__datetimeFormatters:void 0,N.__numberFormatters=le(S)?S.__numberFormatters:void 0;const R=OC(N);return r&&pd(R),R})(),ni(S,s.value,o.value);function C(){return[s.value,o.value,a.value,l.value,c.value]}const A=re({get:()=>s.value,set:N=>{s.value=N,S.locale=s.value}}),M=re({get:()=>o.value,set:N=>{o.value=N,S.fallbackLocale=o.value,ni(S,s.value,N)}}),B=re(()=>a.value),z=re(()=>l.value),V=re(()=>c.value);function J(){return Be(b)?b:null}function Z(N){b=N,S.postTranslation=N}function he(){return p}function ce(N){N!==null&&(v=Cd(N)),p=N,S.missing=v}const se=(N,R,Y,X,fe,Ee)=>{C();let me;if(__INTLIFY_PROD_DEVTOOLS__)try{hd(RC()),r||(S.fallbackContext=n?EC():void 0),me=N(S)}finally{hd(null),r||(S.fallbackContext=void 0)}else me=N(S);if(Ye(me)&&me===No){const[Ve,Ct]=R();return n&&d?X(n):fe(Ve)}else{if(Ee(me))return me;throw Xe(Qe.UNEXPECTED_RETURN_TYPE)}};function ee(...N){return se(R=>Reflect.apply(yd,null,[R,...N]),()=>ul(...N),"translate",R=>Reflect.apply(R.t,R,[...N]),R=>R,R=>Q(R))}function Me(...N){const[R,Y,X]=N;if(X&&!Le(X))throw Xe(Qe.INVALID_ARGUMENT);return ee(R,Y,tt({resolvedMessage:!0},X||{}))}function Se(...N){return se(R=>Reflect.apply(bd,null,[R,...N]),()=>fl(...N),"datetime format",R=>Reflect.apply(R.d,R,[...N]),()=>fd,R=>Q(R))}function je(...N){return se(R=>Reflect.apply(Ed,null,[R,...N]),()=>dl(...N),"number format",R=>Reflect.apply(R.n,R,[...N]),()=>fd,R=>Q(R))}function Ce(N){return N.map(R=>Q(R)||Ye(R)||ge(R)?wd(String(R)):R)}const Et={normalize:Ce,interpolate:N=>N,type:"vnode"};function F(...N){return se(R=>{let Y;const X=R;try{X.processor=Et,Y=Reflect.apply(yd,null,[X,...N])}finally{X.processor=null}return Y},()=>ul(...N),"translate",R=>R[hl](...N),R=>[wd(R)],R=>ke(R))}function q(...N){return se(R=>Reflect.apply(Ed,null,[R,...N]),()=>dl(...N),"number format",R=>R[ml](...N),()=>[],R=>Q(R)||ke(R))}function W(...N){return se(R=>Reflect.apply(bd,null,[R,...N]),()=>fl(...N),"datetime format",R=>R[pl](...N),()=>[],R=>Q(R)||ke(R))}function K(N){w=N,S.pluralRules=w}function oe(N,R){const Y=Q(R)?R:s.value,X=E(Y);return S.messageResolver(X,N)!==null}function ye(N){let R=null;const Y=Cv(S,o.value,s.value);for(let X=0;X<Y.length;X++){const fe=a.value[Y[X]]||{},Ee=S.messageResolver(fe,N);if(Ee!=null){R=Ee;break}}return R}function ne(N){const R=ye(N);return R!=null?R:n?n.tm(N)||{}:{}}function E(N){return a.value[N]||{}}function m(N,R){a.value[N]=R,S.messages=a.value}function g(N,R){a.value[N]=a.value[N]||{},xi(R,a.value[N]),S.messages=a.value}function T(N){return l.value[N]||{}}function I(N,R){l.value[N]=R,S.datetimeFormats=l.value,_d(S,N,R)}function L(N,R){l.value[N]=tt(l.value[N]||{},R),S.datetimeFormats=l.value,_d(S,N,R)}function j(N){return c.value[N]||{}}function $(N,R){c.value[N]=R,S.numberFormats=c.value,Od(S,N,R)}function U(N,R){c.value[N]=tt(c.value[N]||{},R),S.numberFormats=c.value,Od(S,N,R)}Sd++,n&&ll&&(de(n.locale,N=>{i&&(s.value=N,S.locale=N,ni(S,s.value,o.value))}),de(n.fallbackLocale,N=>{i&&(o.value=N,S.fallbackLocale=N,ni(S,s.value,o.value))}));const P={id:Sd,locale:A,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(N){i=N,N&&n&&(s.value=n.locale.value,o.value=n.fallbackLocale.value,ni(S,s.value,o.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:B,get modifiers(){return _},get pluralRules(){return w||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(N){u=N,S.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(N){f=N,S.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(N){d=N},get fallbackFormat(){return h},set fallbackFormat(N){h=N,S.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(N){y=N,S.warnHtmlMessage=N},get escapeParameter(){return O},set escapeParameter(N){O=N,S.escapeParameter=N},t:ee,getLocaleMessage:E,setLocaleMessage:m,mergeLocaleMessage:g,getPostTranslationHandler:J,setPostTranslationHandler:Z,getMissingHandler:he,setMissingHandler:ce,[jv]:K};return P.datetimeFormats=z,P.numberFormats=V,P.rt=Me,P.te=oe,P.tm=ne,P.d=Se,P.n=je,P.getDateTimeFormat=T,P.setDateTimeFormat=I,P.mergeDateTimeFormat=L,P.getNumberFormat=j,P.setNumberFormat=$,P.mergeNumberFormat=U,P[$v]=e.__injectWithOption,P[hl]=F,P[pl]=W,P[ml]=q,P}function kC(e){const t=Q(e.locale)?e.locale:as,n=Q(e.fallbackLocale)||ke(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Be(e.missing)?e.missing:void 0,i=ge(e.silentTranslationWarn)||kn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ge(e.silentFallbackWarn)||kn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ge(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=le(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Be(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,h=ge(e.sync)?e.sync:!0;let p=e.messages;if(le(e.sharedMessages)){const S=e.sharedMessages;p=Object.keys(S).reduce((C,A)=>{const M=C[A]||(C[A]={});return tt(M,S[A]),C},p||{})}const{__i18n:v,__root:b,__injectWithOption:y}=e,O=e.datetimeFormats,_=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:n,messages:p,flatJson:w,datetimeFormats:O,numberFormats:_,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:h,__i18n:v,__root:b,__injectWithOption:y}}function gl(e={},t){{const n=Uc(kC(e)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return ge(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=ge(i)?!i:i},get silentFallbackWarn(){return ge(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=ge(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,u=null;if(!Q(s))throw Xe(Qe.INVALID_ARGUMENT);const f=s;return Q(o)?l.locale=o:ke(o)?c=o:le(o)&&(u=o),ke(a)?c=a:le(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,u=null;if(!Q(s))throw Xe(Qe.INVALID_ARGUMENT);const f=s;return Q(o)?l.locale=o:Ye(o)?l.plural=o:ke(o)?c=o:le(o)&&(u=o),Q(a)?l.locale=a:ke(a)?c=a:le(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=e;s&&s(i,r)}};return r}}const Bc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function LC({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...ke(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Bv(e){return ze}const xd={name:"i18n-t",props:tt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ye(e)||!isNaN(e)}},Bc),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||ls({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Q(e.plural)?+e.plural:e.plural);const a=LC(t,s),l=i[hl](e.keypath,a,o),c=tt({},r),u=Q(e.tag)||Le(e.tag)?e.tag:Bv();return At(u,c,l)}}};function FC(e){return ke(e)&&!Q(e[0])}function Wv(e,t,n,r){const{slots:i,attrs:s}=t;return()=>{const o={part:!0};let a={};e.locale&&(o.locale=e.locale),Q(e.format)?o.key=e.format:Le(e.format)&&(Q(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?tt({},d,{[h]:e.format[h]}):d,{}));const l=r(e.value,o,a);let c=[o.key];ke(l)?c=l.map((d,h)=>{const p=i[d.type],v=p?p({[d.type]:d.value,index:h,parts:l}):[d.value];return FC(v)&&(v[0].key=`${d.type}-${h}`),v}):Q(l)&&(c=[l]);const u=tt({},s),f=Q(e.tag)||Le(e.tag)?e.tag:Bv();return At(f,u,c)}}const Id={name:"i18n-n",props:tt({value:{type:Number,required:!0},format:{type:[String,Object]}},Bc),setup(e,t){const n=e.i18n||ls({useScope:"parent",__useComponent:!0});return Wv(e,t,Dv,(...r)=>n[ml](...r))}},Ad={name:"i18n-d",props:tt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bc),setup(e,t){const n=e.i18n||ls({useScope:"parent",__useComponent:!0});return Wv(e,t,Pv,(...r)=>n[pl](...r))}};function PC(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function DC(e){const t=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw Xe(Qe.UNEXPECTED_ERROR);const u=PC(e,a.$),f=Nd(c);return[Reflect.apply(u.t,u,[...Rd(f)]),u]};return{created:(o,a)=>{const[l,c]=t(a);ll&&e.global===c&&(o.__i18nWatcher=de(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{ll&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=Nd(a);o.textContent=Reflect.apply(l.t,l,[...Rd(c)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Nd(e){if(Q(e))return{path:e};if(le(e)){if(!("path"in e))throw Xe(Qe.REQUIRED_VALUE,"path");return e}else throw Xe(Qe.INVALID_VALUE)}function Rd(e){const{path:t,locale:n,args:r,choice:i,plural:s}=e,o={},a=r||{};return Q(n)&&(o.locale=n),Ye(i)&&(o.plural=i),Ye(s)&&(o.plural=s),[t,a,o]}function MC(e,t,...n){const r=le(n[0])?n[0]:{},i=!!r.useI18nComponentName;(ge(r.globalInstall)?r.globalInstall:!0)&&(e.component(i?"i18n":xd.name,xd),e.component(Id.name,Id),e.component(Ad.name,Ad)),e.directive("t",DC(t))}function jC(e,t,n){return{beforeCreate(){const r=qe();if(!r)throw Xe(Qe.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=t,this===this.$root?this.$i18n=kd(e,s):(s.__injectWithOption=!0,this.$i18n=gl(s))}else i.__i18n?this===this.$root?this.$i18n=kd(e,i):this.$i18n=gl({__i18n:i.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;i.__i18nGlobal&&Uv(t,i,i),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},unmounted(){const r=qe();if(!r)throw Xe(Qe.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function kd(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[jv](t.pluralizationRules||e.pluralizationRules);const n=Ro(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const $C=Fn("global-vue-i18n");function VC(e={},t){const n=__VUE_I18N_LEGACY_API__&&ge(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ge(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[o,a]=UC(e,n),l=Fn("");function c(d){return s.get(d)||null}function u(d,h){s.set(d,h)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(h,...p){h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),!n&&r&&GC(h,d.global),__VUE_I18N_FULL_INSTALL__&&MC(h,d,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(jC(a,a.__composer,d));const v=h.unmount;h.unmount=()=>{d.dispose(),v()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function ls(e={}){const t=qe();if(t==null)throw Xe(Qe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Xe(Qe.NOT_INSLALLED);const n=BC(t),r=qC(n),i=Vv(t),s=WC(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Xe(Qe.NOT_AVAILABLE_IN_LEGACY_MODE);return zC(t,s,r,e)}if(s==="global")return Uv(r,e,i),r;if(s==="parent"){let l=HC(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=tt({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=Uc(l),QC(o,t),o.__setInstance(t,a)}return a}function UC(e,t,n){const r=Zl();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>gl(e)):r.run(()=>Uc(e));if(i==null)throw Xe(Qe.UNEXPECTED_ERROR);return[r,i]}}function BC(e){{const t=dt(e.isCE?$C:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Xe(e.isCE?Qe.NOT_INSLALLED_WITH_PROVIDE:Qe.UNEXPECTED_ERROR);return t}}function WC(e,t){return Io(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function qC(e){return e.mode==="composition"?e.global:e.global.__composer}function HC(e,t,n=!1){let r=null;const i=t.root;let s=t.parent;for(;s!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[$v]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function QC(e,t,n){Yr(()=>{},t),cn(()=>{e.__deleteInstance(t)},t)}function zC(e,t,n,r={}){const i=t==="local",s=co(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Xe(Qe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=ge(r.inheritLocale)?r.inheritLocale:!0,a=H(i&&o?n.locale.value:Q(r.locale)?r.locale:as),l=H(i&&o?n.fallbackLocale.value:Q(r.fallbackLocale)||ke(r.fallbackLocale)||le(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=H(Ro(a.value,r)),u=H(le(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=H(le(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:ge(r.missingWarn)||kn(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:ge(r.fallbackWarn)||kn(r.fallbackWarn)?r.fallbackWarn:!0,p=i?n.fallbackRoot:ge(r.fallbackRoot)?r.fallbackRoot:!0,v=!!r.fallbackFormat,b=Be(r.missing)?r.missing:null,y=Be(r.postTranslation)?r.postTranslation:null,O=i?n.warnHtmlMessage:ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,_=!!r.escapeParameter,w=i?n.modifiers:le(r.modifiers)?r.modifiers:{},S=r.pluralRules||i&&n.pluralRules;function x(){return[a.value,l.value,c.value,u.value,f.value]}const C=re({get:()=>s.value?s.value.locale.value:a.value,set:g=>{s.value&&(s.value.locale.value=g),a.value=g}}),A=re({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:g=>{s.value&&(s.value.fallbackLocale.value=g),l.value=g}}),M=re(()=>s.value?s.value.messages.value:c.value),B=re(()=>u.value),z=re(()=>f.value);function V(){return s.value?s.value.getPostTranslationHandler():y}function J(g){s.value&&s.value.setPostTranslationHandler(g)}function Z(){return s.value?s.value.getMissingHandler():b}function he(g){s.value&&s.value.setMissingHandler(g)}function ce(g){return x(),g()}function se(...g){return s.value?ce(()=>Reflect.apply(s.value.t,null,[...g])):ce(()=>"")}function ee(...g){return s.value?Reflect.apply(s.value.rt,null,[...g]):""}function Me(...g){return s.value?ce(()=>Reflect.apply(s.value.d,null,[...g])):ce(()=>"")}function Se(...g){return s.value?ce(()=>Reflect.apply(s.value.n,null,[...g])):ce(()=>"")}function je(g){return s.value?s.value.tm(g):{}}function Ce(g,T){return s.value?s.value.te(g,T):!1}function pt(g){return s.value?s.value.getLocaleMessage(g):{}}function Et(g,T){s.value&&(s.value.setLocaleMessage(g,T),c.value[g]=T)}function F(g,T){s.value&&s.value.mergeLocaleMessage(g,T)}function q(g){return s.value?s.value.getDateTimeFormat(g):{}}function W(g,T){s.value&&(s.value.setDateTimeFormat(g,T),u.value[g]=T)}function K(g,T){s.value&&s.value.mergeDateTimeFormat(g,T)}function oe(g){return s.value?s.value.getNumberFormat(g):{}}function ye(g,T){s.value&&(s.value.setNumberFormat(g,T),f.value[g]=T)}function ne(g,T){s.value&&s.value.mergeNumberFormat(g,T)}const E={get id(){return s.value?s.value.id:-1},locale:C,fallbackLocale:A,messages:M,datetimeFormats:B,numberFormats:z,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(g){s.value&&(s.value.inheritLocale=g)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:w},get pluralRules(){return s.value?s.value.pluralRules:S},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(g){s.value&&(s.value.missingWarn=g)},get fallbackWarn(){return s.value?s.value.fallbackWarn:h},set fallbackWarn(g){s.value&&(s.value.missingWarn=g)},get fallbackRoot(){return s.value?s.value.fallbackRoot:p},set fallbackRoot(g){s.value&&(s.value.fallbackRoot=g)},get fallbackFormat(){return s.value?s.value.fallbackFormat:v},set fallbackFormat(g){s.value&&(s.value.fallbackFormat=g)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:O},set warnHtmlMessage(g){s.value&&(s.value.warnHtmlMessage=g)},get escapeParameter(){return s.value?s.value.escapeParameter:_},set escapeParameter(g){s.value&&(s.value.escapeParameter=g)},t:se,getPostTranslationHandler:V,setPostTranslationHandler:J,getMissingHandler:Z,setMissingHandler:he,rt:ee,d:Me,n:Se,tm:je,te:Ce,getLocaleMessage:pt,setLocaleMessage:Et,mergeLocaleMessage:F,getDateTimeFormat:q,setDateTimeFormat:W,mergeDateTimeFormat:K,getNumberFormat:oe,setNumberFormat:ye,mergeNumberFormat:ne};function m(g){g.locale.value=a.value,g.fallbackLocale.value=l.value,Object.keys(c.value).forEach(T=>{g.mergeLocaleMessage(T,c.value[T])}),Object.keys(u.value).forEach(T=>{g.mergeDateTimeFormat(T,u.value[T])}),Object.keys(f.value).forEach(T=>{g.mergeNumberFormat(T,f.value[T])}),g.escapeParameter=_,g.fallbackFormat=v,g.fallbackRoot=p,g.fallbackWarn=h,g.missingWarn=d,g.warnHtmlMessage=O}return Tp(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Xe(Qe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const g=s.value=e.proxy.$i18n.__composer;t==="global"?(a.value=g.locale.value,l.value=g.fallbackLocale.value,c.value=g.messages.value,u.value=g.datetimeFormats.value,f.value=g.numberFormats.value):i&&m(g)}),E}const KC=["locale","fallbackLocale","availableLocales"],YC=["t","rt","d","n","tm"];function GC(e,t){const n=Object.create(null);KC.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Xe(Qe.UNEXPECTED_ERROR);const s=Oe(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),e.config.globalProperties.$i18n=n,YC.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Xe(Qe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)})}gC(TC);yC(XS);bC(Cv);NC();if(__INTLIFY_PROD_DEVTOOLS__){const e=Ci();e.__INTLIFY__=!0,aC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const JC={class:"font-light"},XC=$t({__name:"ReloadPrompt",setup(e){const{t}=ls(),{needRefresh:n,updateServiceWorker:r}=vS(),i=()=>{n.value=!1},s=co(null),o=iv(s,{initial:{y:100},enter:{y:0}});return(a,l)=>{const c=$b("motion");return Ue(),_r(_c,{css:!1,onLeave:l[1]||(l[1]=(u,f)=>Ne(o).leave(f))},{default:Ar(()=>[Ne(n)?Pb((Ue(),gt("div",{key:0,ref_key:"el",ref:s,initial:{y:100},enter:{y:0},class:"z-10000 fixed bottom-0 right-0 left-0 sm:bottom-4 sm:right-3 sm:left-auto px-3 py-2 sm:px-6 sm:py-4 rounded-md bg-white dark:bg-gray-900 border border-purple-300 dark:border-purple-800 shadow-lg"},[ot("div",JC,nn(Ne(t)("main.reload-prompt.tips")),1),ot("button",{class:"font-light border-b border-blue-600 dark:border-blue-400",onClick:l[0]||(l[0]=()=>Ne(r)())},nn(Ne(t)("main.reload-prompt.reload")),1),ot("button",{class:"font-light ml-2 border-b border-purple-600 dark:border-purple-400",onClick:i},nn(Ne(t)("main.reload-prompt.dismiss")),1)])),[[c]]):$p("",!0)]),_:1})}}}),ZC=$t({__name:"AppRouterView",setup(e){const t=n=>{if(n.meta.hashKey)return n.meta.hashKey(n)};return(n,r)=>{const i=Mb("RouterView");return Ue(),_r(i,null,{default:Ar(({Component:s,route:o})=>[(Ue(),_r(yp,null,{default:Ar(()=>[(Ue(),_r(jb(s),{key:t(o)}))]),_:2},1024))]),_:1})}}}),ex={class:"background absolute w-full h-full grid place-content-center bg-gray-800"},tx={class:"my-auto text-white text-center"},nx={class:"relative"},rx={class:"sm:text-lg lg:text-2xl"},ix=$t({__name:"BrowserOffline",setup(e){Dc();const{t}=ls();return Hi("online",()=>{window.location.reload()}),(n,r)=>(Ue(),gt("div",ex,[ot("div",tx,[ot("div",nx,[ot("h1",rx,nn(Ne(t)("main.browser-offline")),1)])])]))}}),sx=Symbol("backendStatus"),ox=()=>{const e=H(),t=()=>{rb(e)};return{alive:LT(async()=>{e.value;try{return(await fetch("https://patchyvideo.com/be/alive.txt")).ok?"yes":"no"}catch{return"no"}},"loading"),refetch:t}},ax=e=>zn(sx,e),lx=_t({}),cx={class:"fixed text-center min-w-70 md:min-w-100 top-0 right-0 z-10000"},ux=$t({__name:"Notification",setup(e){const t=H(Date.now());let n=0;return Yr(()=>{n=window.setInterval(()=>{t.value=Date.now()},100)}),cn(()=>{n&&clearInterval(n)}),(r,i)=>(Ue(),gt("div",cx,[$e(Kp,{name:"notiList",tag:"div"},{default:Ar(()=>[(Ue(!0),gt(ze,null,xp(Ne(lx),(s,o)=>(Ue(),gt("div",{key:o,class:Jn(["border rounded-lg p-5 m-2 transition transition-all duration-200",{"border-blue-600 bg-blue-50":s.type==="info","border-yellow-600 bg-yellow-50":s.type==="warn","border-red-600 bg-red-50":s.type==="error"}])},nn(s.message),3))),128))]),_:1})]))}});const qv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},fx=qv(ux,[["__scopeId","data-v-7df8fe25"]]);var dx=(e=>(e.success="success",e.warning="warning",e.info="info",e.error="error",e))(dx||{});const Hv=H(400),hx={success:{color:"#67C23A",bgColor:"#f0f9eb",borderColor:"#e1f3d8",icon:"i-uil:check-circle"},warning:{color:"#e6a23c",bgColor:"#fdf6ec",borderColor:"#faecd8",icon:"i-uil:exclamation-triangle"},info:{color:"#909399",bgColor:"#edf2fc",borderColor:"#ebeef5",icon:"i-uil:info-circle"},error:{color:"#f56c6c",bgColor:"#fef0f0",borderColor:"#fde2e2",icon:"i-uil:times-circle"}},px={message:"",type:"info",dangerouslyUseHTMLString:!1,showClose:!1,duration:3e3,offset:20,center:!1},Qv=_t([]),Ii=rp([]),zv=e=>{const{id:t,onClose:n}=e;for(let r=0,i=Ii.length;r<i;r++)if(Ii[r].id===t){Qv.splice(r,1),Ii.splice(r,1);break}setTimeout(()=>{n&&n()},Hv.value)},FR=e=>{typeof e=="string"&&(e={message:e}),e={...px,...e},Qv.push(e);const t=Object.assign({},e,hx[e.type],{id:Math.round(Math.random()*1e7)});Ii.push(t);const{duration:n}=t;n>0&&setTimeout(()=>{zv(t)},n)},mx=["innerHTML"],vx={key:1},gx=["onClick"],yx=$t({__name:"PvMessage",setup(e){return(t,n)=>(Ue(),gt("div",null,[$e(Kp,{name:"pv-message-transition"},{default:Ar(()=>[(Ue(!0),gt(ze,null,xp(Ne(Ii),(r,i)=>{var s;return Ue(),gt("div",{key:r.id,class:"pv-message fixed left-1/2 -translate-x-1/2 p-4 pl-5 border border-purple-400 rounded-md border-solid flex flex-row justify-between items-center z-50 overflow-hidden transition-all h-20",style:Cr({"transition-timing-function":"ease","transition-duration":`${Ne(Hv).toString()}ms`,"background-color":r.bgColor,"border-color":r.borderColor,color:r.color,"min-width":"320px",top:`${(s=r.offset)!=null?s:0+110*i}px`})},[ot("div",{class:Jn(["relative flex flex-row justify-start items-center",{"mr-6":r.showClose}])},[ot("div",{class:Jn(["absolute top-1/2 -translate-y-1/2 left-0",r.icon])},null,2),ot("div",{class:"ml-6 w-auto inline-block",style:Cr({textAlign:r.center?"center":"inherit"})},[r.dangerouslyUseHTMLString?(Ue(),gt("div",{key:0,innerHTML:r.message},null,8,mx)):(Ue(),gt("div",vx,nn(r.message),1))],4)],2),r.showClose?(Ue(),gt("div",{key:0,class:"i-uil:times absolute top-1/2 -translate-y-1/2 right-4 hover:cursor-pointer hover:text-gray-600 text-gray-400 transition-all duration-300",onClick:o=>Ne(zv)(r)},null,8,gx)):$p("",!0)],4)}),128))]),_:1})]))}});const bx=qv(yx,[["__scopeId","data-v-0b7846ee"]]);var sa="Invariant Violation",Ld=Object.setPrototypeOf,_x=Ld===void 0?function(e,t){return e.__proto__=t,e}:Ld,ht=function(e){Vt(t,e);function t(n){n===void 0&&(n=sa);var r=e.call(this,typeof n=="number"?sa+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=sa,_x(r,t.prototype),r}return t}(Error);function Te(e,t){if(!e)throw new ht(t)}var Kv=["debug","log","warn","error","silent"],Ex=Kv.indexOf("log");function Os(e){return function(){if(Kv.indexOf(e)>=Ex){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=Os("debug"),e.log=Os("log"),e.warn=Os("warn"),e.error=Os("error")})(Te||(Te={}));function Nt(e){try{return e()}catch{}}const Fd=Nt(function(){return globalThis})||Nt(function(){return window})||Nt(function(){return self})||Nt(function(){return global})||Nt(function(){return Nt.constructor("return this")()});var Pd="__",Dd=[Pd,Pd].join("DEV");function Ox(){try{return Boolean(!1)}catch{return Object.defineProperty(Fd,Dd,{value:Nt(function(){return"production"})!=="production",enumerable:!1,configurable:!0,writable:!0}),Fd[Dd]}}const wx=Ox();function En(e){try{return e()}catch{}}var yl=En(function(){return globalThis})||En(function(){return window})||En(function(){return self})||En(function(){return global})||En(function(){return En.constructor("return this")()}),bl=!1;function Tx(){yl&&!En(function(){return"production"})&&!En(function(){return process})&&(Object.defineProperty(yl,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),bl=!0)}Tx();function Md(){bl&&(delete yl.process,bl=!1)}function ks(e,t){if(!Boolean(e))throw new Error(t)}function Sx(e){return typeof e=="object"&&e!==null}function Cx(e,t){if(!Boolean(e))throw new Error(t!=null?t:"Unexpected invariant triggered.")}const xx=/\r\n|[\n\r]/g;function _l(e,t){let n=0,r=1;for(const i of e.body.matchAll(xx)){if(typeof i.index=="number"||Cx(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ix(e){return Yv(e.source,_l(e.source,e.start))}function Yv(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=t.line===1?n:0,l=t.column+a,c=`${e.name}:${o}:${l} +`,u=r.split(/\r\n|[\n\r]/g),f=u[i];if(f.length>120){const d=Math.floor(l/80),h=l%80,p=[];for(let v=0;v<f.length;v+=80)p.push(f.slice(v,v+80));return c+jd([[`${o} |`,p[0]],...p.slice(1,d+1).map(v=>["|",v]),["|","^".padStart(h)],["|",p[d+1]]])}return c+jd([[`${o-1} |`,u[i-1]],[`${o} |`,f],["|","^".padStart(l)],[`${o+1} |`,u[i+1]]])}function jd(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function Ax(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class Wc extends Error{constructor(t,...n){var r,i,s;const{nodes:o,source:a,positions:l,path:c,originalError:u,extensions:f}=Ax(n);super(t),this.name="GraphQLError",this.path=c!=null?c:void 0,this.originalError=u!=null?u:void 0,this.nodes=$d(Array.isArray(o)?o:o?[o]:void 0);const d=$d((r=this.nodes)===null||r===void 0?void 0:r.map(p=>p.loc).filter(p=>p!=null));this.source=a!=null?a:d==null||(i=d[0])===null||i===void 0?void 0:i.source,this.positions=l!=null?l:d==null?void 0:d.map(p=>p.start),this.locations=l&&a?l.map(p=>_l(a,p)):d==null?void 0:d.map(p=>_l(p.source,p.start));const h=Sx(u==null?void 0:u.extensions)?u==null?void 0:u.extensions:void 0;this.extensions=(s=f!=null?f:h)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u!=null&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Wc):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` + +`+Ix(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` + +`+Yv(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function $d(e){return e===void 0||e.length===0?void 0:e}function et(e,t,n){return new Wc(`Syntax Error: ${n}`,{source:e,positions:[t]})}class Nx{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Gv{constructor(t,n,r,i,s,o){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=s,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Jv={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Rx=new Set(Object.keys(Jv));function Vd(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&Rx.has(t)}var dr;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(dr||(dr={}));var El;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(El||(El={}));var te;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(te||(te={}));function Ol(e){return e===9||e===32}function zi(e){return e>=48&&e<=57}function Xv(e){return e>=97&&e<=122||e>=65&&e<=90}function Zv(e){return Xv(e)||e===95}function kx(e){return Xv(e)||zi(e)||e===95}function Lx(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;o<e.length;++o){var s;const a=e[o],l=Fx(a);l!==a.length&&(r=(s=r)!==null&&s!==void 0?s:o,i=o,o!==0&&l<n&&(n=l))}return e.map((o,a)=>a===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Fx(e){let t=0;for(;t<e.length&&Ol(e.charCodeAt(t));)++t;return t}function Px(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,s=r.length>1&&r.slice(1).every(h=>h.length===0||Ol(h.charCodeAt(0))),o=n.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),c=a||l,u=!(t!=null&&t.minimize)&&(!i||e.length>70||c||s||o);let f="";const d=i&&Ol(e.charCodeAt(0));return(u&&!d||s)&&(f+=` +`),f+=n,(u||c)&&(f+=` +`),'"""'+f+'"""'}var D;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(D||(D={}));class Dx{constructor(t){const n=new Gv(D.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==D.EOF)do if(t.next)t=t.next;else{const n=jx(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===D.COMMENT);return t}}function Mx(e){return e===D.BANG||e===D.DOLLAR||e===D.AMP||e===D.PAREN_L||e===D.PAREN_R||e===D.SPREAD||e===D.COLON||e===D.EQUALS||e===D.AT||e===D.BRACKET_L||e===D.BRACKET_R||e===D.BRACE_L||e===D.PIPE||e===D.BRACE_R}function Gr(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function ko(e,t){return eg(e.charCodeAt(t))&&tg(e.charCodeAt(t+1))}function eg(e){return e>=55296&&e<=56319}function tg(e){return e>=56320&&e<=57343}function Xn(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return D.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function He(e,t,n,r,i){const s=e.line,o=1+n-e.lineStart;return new Gv(t,n,r,s,o,i)}function jx(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const s=n.charCodeAt(i);switch(s){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return $x(e,i);case 33:return He(e,D.BANG,i,i+1);case 36:return He(e,D.DOLLAR,i,i+1);case 38:return He(e,D.AMP,i,i+1);case 40:return He(e,D.PAREN_L,i,i+1);case 41:return He(e,D.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return He(e,D.SPREAD,i,i+3);break;case 58:return He(e,D.COLON,i,i+1);case 61:return He(e,D.EQUALS,i,i+1);case 64:return He(e,D.AT,i,i+1);case 91:return He(e,D.BRACKET_L,i,i+1);case 93:return He(e,D.BRACKET_R,i,i+1);case 123:return He(e,D.BRACE_L,i,i+1);case 124:return He(e,D.PIPE,i,i+1);case 125:return He(e,D.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?Hx(e,i):Ux(e,i)}if(zi(s)||s===45)return Vx(e,i,s);if(Zv(s))return Qx(e,i);throw et(e.source,i,s===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Gr(s)||ko(n,i)?`Unexpected character: ${Xn(e,i)}.`:`Invalid character: ${Xn(e,i)}.`)}return He(e,D.EOF,r,r)}function $x(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(s===10||s===13)break;if(Gr(s))++i;else if(ko(n,i))i+=2;else break}return He(e,D.COMMENT,t,i,n.slice(t+1,i))}function Vx(e,t,n){const r=e.source.body;let i=t,s=n,o=!1;if(s===45&&(s=r.charCodeAt(++i)),s===48){if(s=r.charCodeAt(++i),zi(s))throw et(e.source,i,`Invalid number, unexpected digit after 0: ${Xn(e,i)}.`)}else i=oa(e,i,s),s=r.charCodeAt(i);if(s===46&&(o=!0,s=r.charCodeAt(++i),i=oa(e,i,s),s=r.charCodeAt(i)),(s===69||s===101)&&(o=!0,s=r.charCodeAt(++i),(s===43||s===45)&&(s=r.charCodeAt(++i)),i=oa(e,i,s),s=r.charCodeAt(i)),s===46||Zv(s))throw et(e.source,i,`Invalid number, expected digit but got: ${Xn(e,i)}.`);return He(e,o?D.FLOAT:D.INT,t,i,r.slice(t,i))}function oa(e,t,n){if(!zi(n))throw et(e.source,t,`Invalid number, expected digit but got: ${Xn(e,t)}.`);const r=e.source.body;let i=t+1;for(;zi(r.charCodeAt(i));)++i;return i}function Ux(e,t){const n=e.source.body,r=n.length;let i=t+1,s=i,o="";for(;i<r;){const a=n.charCodeAt(i);if(a===34)return o+=n.slice(s,i),He(e,D.STRING,t,i+1,o);if(a===92){o+=n.slice(s,i);const l=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?Bx(e,i):Wx(e,i):qx(e,i);o+=l.value,i+=l.size,s=i;continue}if(a===10||a===13)break;if(Gr(a))++i;else if(ko(n,i))i+=2;else throw et(e.source,i,`Invalid character within String: ${Xn(e,i)}.`)}throw et(e.source,i,"Unterminated string.")}function Bx(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const s=n.charCodeAt(t+i++);if(s===125){if(i<5||!Gr(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|di(s),r<0)break}throw et(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function Wx(e,t){const n=e.source.body,r=Ud(n,t+2);if(Gr(r))return{value:String.fromCodePoint(r),size:6};if(eg(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const i=Ud(n,t+8);if(tg(i))return{value:String.fromCodePoint(r,i),size:12}}throw et(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Ud(e,t){return di(e.charCodeAt(t))<<12|di(e.charCodeAt(t+1))<<8|di(e.charCodeAt(t+2))<<4|di(e.charCodeAt(t+3))}function di(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function qx(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw et(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Hx(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,s=t+3,o=s,a="";const l=[];for(;s<r;){const c=n.charCodeAt(s);if(c===34&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34){a+=n.slice(o,s),l.push(a);const u=He(e,D.BLOCK_STRING,t,s+3,Lx(l).join(` +`));return e.line+=l.length-1,e.lineStart=i,u}if(c===92&&n.charCodeAt(s+1)===34&&n.charCodeAt(s+2)===34&&n.charCodeAt(s+3)===34){a+=n.slice(o,s),o=s+1,s+=4;continue}if(c===10||c===13){a+=n.slice(o,s),l.push(a),c===13&&n.charCodeAt(s+1)===10?s+=2:++s,a="",o=s,i=s;continue}if(Gr(c))++s;else if(ko(n,s))s+=2;else throw et(e.source,s,`Invalid character within String: ${Xn(e,s)}.`)}throw et(e.source,s,"Unterminated string.")}function Qx(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const s=n.charCodeAt(i);if(kx(s))++i;else break}return He(e,D.NAME,t,i,n.slice(t,i))}const zx=10,ng=2;function rg(e){return Lo(e,[])}function Lo(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return Kx(e,t);default:return String(e)}}function Kx(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(Yx(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:Lo(r,n)}else if(Array.isArray(e))return Jx(e,n);return Gx(e,n)}function Yx(e){return typeof e.toJSON=="function"}function Gx(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>ng?"["+Xx(e)+"]":"{ "+n.map(([i,s])=>i+": "+Lo(s,t)).join(", ")+" }"}function Jx(e,t){if(e.length===0)return"[]";if(t.length>ng)return"[Array]";const n=Math.min(zx,e.length),r=e.length-n,i=[];for(let s=0;s<n;++s)i.push(Lo(e[s],t));return r===1?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Xx(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const Zx=function(t,n){return t instanceof n};class qc{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||ks(!1,`Body must be a string. Received: ${rg(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||ks(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ks(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function eI(e){return Zx(e,qc)}function tI(e,t){return new nI(e,t).parseDocument()}class nI{constructor(t,n={}){const r=eI(t)?t:new qc(t);this._lexer=new Dx(r),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(D.NAME);return this.node(t,{kind:te.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:te.DOCUMENT,definitions:this.many(D.SOF,this.parseDefinition,D.EOF)})}parseDefinition(){if(this.peek(D.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===D.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw et(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(D.BRACE_L))return this.node(t,{kind:te.OPERATION_DEFINITION,operation:dr.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(D.NAME)&&(r=this.parseName()),this.node(t,{kind:te.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(D.NAME);switch(t.value){case"query":return dr.QUERY;case"mutation":return dr.MUTATION;case"subscription":return dr.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(D.PAREN_L,this.parseVariableDefinition,D.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:te.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(D.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(D.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(D.DOLLAR),this.node(t,{kind:te.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:te.SELECTION_SET,selections:this.many(D.BRACE_L,this.parseSelection,D.BRACE_R)})}parseSelection(){return this.peek(D.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(D.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:te.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(D.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(D.PAREN_L,n,D.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(D.COLON),this.node(n,{kind:te.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(D.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(D.NAME)?this.node(t,{kind:te.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:te.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case D.BRACKET_L:return this.parseList(t);case D.BRACE_L:return this.parseObject(t);case D.INT:return this.advanceLexer(),this.node(n,{kind:te.INT,value:n.value});case D.FLOAT:return this.advanceLexer(),this.node(n,{kind:te.FLOAT,value:n.value});case D.STRING:case D.BLOCK_STRING:return this.parseStringLiteral();case D.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:te.BOOLEAN,value:!0});case"false":return this.node(n,{kind:te.BOOLEAN,value:!1});case"null":return this.node(n,{kind:te.NULL});default:return this.node(n,{kind:te.ENUM,value:n.value})}case D.DOLLAR:if(t)if(this.expectToken(D.DOLLAR),this._lexer.token.kind===D.NAME){const r=this._lexer.token.value;throw et(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:te.STRING,value:t.value,block:t.kind===D.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:te.LIST,values:this.any(D.BRACKET_L,n,D.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:te.OBJECT,fields:this.any(D.BRACE_L,n,D.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(D.COLON),this.node(n,{kind:te.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(D.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(D.AT),this.node(n,{kind:te.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(D.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(D.BRACKET_R),n=this.node(t,{kind:te.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(D.BANG)?this.node(t,{kind:te.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:te.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(D.STRING)||this.peek(D.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);return this.node(t,{kind:te.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(D.COLON);const r=this.parseNamedType();return this.node(t,{kind:te.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:te.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:te.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(D.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(D.BRACE_L,this.parseFieldDefinition,D.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(D.COLON);const s=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(t,{kind:te.FIELD_DEFINITION,description:n,name:r,arguments:i,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(D.PAREN_L,this.parseInputValueDef,D.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(D.COLON);const i=this.parseTypeReference();let s;this.expectOptionalToken(D.EQUALS)&&(s=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(t,{kind:te.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:s,directives:o})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(t,{kind:te.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:s,fields:o})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:te.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(D.EQUALS)?this.delimitedMany(D.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:te.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(D.BRACE_L,this.parseEnumValueDefinition,D.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:te.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw et(this._lexer.source,this._lexer.token.start,`${ws(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:te.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(D.BRACE_L,this.parseInputValueDef,D.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===D.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(D.BRACE_L,this.parseOperationTypeDefinition,D.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:te.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:te.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:te.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:te.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(D.AT);const r=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(t,{kind:te.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(D.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(El,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Nx(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw et(this._lexer.source,n.start,`Expected ${ig(t)}, found ${ws(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===D.NAME&&n.value===t)this.advanceLexer();else throw et(this._lexer.source,n.start,`Expected "${t}", found ${ws(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===D.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t!=null?t:this._lexer.token;return et(this._lexer.source,n.start,`Unexpected ${ws(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==D.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw et(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function ws(e){const t=e.value;return ig(e.kind)+(t!=null?` "${t}"`:"")}function ig(e){return Mx(e)?`"${e}"`:e}function rI(e){return`"${e.replace(iI,sI)}"`}const iI=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function sI(e){return oI[e.charCodeAt(0)]}const oI=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],Hc=Object.freeze({});function Yt(e,t,n=Jv){const r=new Map;for(const y of Object.values(te))r.set(y,aI(t,y));let i,s=Array.isArray(e),o=[e],a=-1,l=[],c=e,u,f;const d=[],h=[];do{a++;const y=a===o.length,O=y&&l.length!==0;if(y){if(u=h.length===0?void 0:d[d.length-1],c=f,f=h.pop(),O)if(s){c=c.slice();let w=0;for(const[S,x]of l){const C=S-w;x===null?(c.splice(C,1),w++):c[C]=x}}else{c=Object.defineProperties({},Object.getOwnPropertyDescriptors(c));for(const[w,S]of l)c[w]=S}a=i.index,o=i.keys,l=i.edits,s=i.inArray,i=i.prev}else if(f){if(u=s?a:o[a],c=f[u],c==null)continue;d.push(u)}let _;if(!Array.isArray(c)){var p,v;Vd(c)||ks(!1,`Invalid AST Node: ${rg(c)}.`);const w=y?(p=r.get(c.kind))===null||p===void 0?void 0:p.leave:(v=r.get(c.kind))===null||v===void 0?void 0:v.enter;if(_=w==null?void 0:w.call(t,c,u,f,d,h),_===Hc)break;if(_===!1){if(!y){d.pop();continue}}else if(_!==void 0&&(l.push([u,_]),!y))if(Vd(_))c=_;else{d.pop();continue}}if(_===void 0&&O&&l.push([u,c]),y)d.pop();else{var b;i={inArray:s,index:a,keys:o,edits:l,prev:i},s=Array.isArray(c),o=s?c:(b=n[c.kind])!==null&&b!==void 0?b:[],a=-1,l=[],f&&h.push(f),f=c}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function aI(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function sg(e){return Yt(e,cI)}const lI=80,cI={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>G(e.definitions,` + +`)},OperationDefinition:{leave(e){const t=pe("(",G(e.variableDefinitions,", "),")"),n=G([e.operation,G([e.name,t]),G(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+pe(" = ",n)+pe(" ",G(r," "))},SelectionSet:{leave:({selections:e})=>Ft(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const s=pe("",e,": ")+t;let o=s+pe("(",G(n,", "),")");return o.length>lI&&(o=s+pe(`( +`,Ls(G(n,` +`)),` +)`)),G([o,G(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+pe(" ",G(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>G(["...",pe("on ",e),G(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${pe("(",G(n,", "),")")} on ${t} ${pe("",G(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?Px(e):rI(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+G(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+G(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+pe("(",G(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>pe("",e,` +`)+G(["schema",G(t," "),Ft(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>pe("",e,` +`)+G(["scalar",t,G(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>pe("",e,` +`)+G(["type",t,pe("implements ",G(n," & ")),G(r," "),Ft(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>pe("",e,` +`)+t+(Bd(n)?pe(`( +`,Ls(G(n,` +`)),` +)`):pe("(",G(n,", "),")"))+": "+r+pe(" ",G(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>pe("",e,` +`)+G([t+": "+n,pe("= ",r),G(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>pe("",e,` +`)+G(["interface",t,pe("implements ",G(n," & ")),G(r," "),Ft(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>pe("",e,` +`)+G(["union",t,G(n," "),pe("= ",G(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>pe("",e,` +`)+G(["enum",t,G(n," "),Ft(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>pe("",e,` +`)+G([t,G(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>pe("",e,` +`)+G(["input",t,G(n," "),Ft(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>pe("",e,` +`)+"directive @"+t+(Bd(n)?pe(`( +`,Ls(G(n,` +`)),` +)`):pe("(",G(n,", "),")"))+(r?" repeatable":"")+" on "+G(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>G(["extend schema",G(e," "),Ft(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>G(["extend scalar",e,G(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>G(["extend type",e,pe("implements ",G(t," & ")),G(n," "),Ft(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>G(["extend interface",e,pe("implements ",G(t," & ")),G(n," "),Ft(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>G(["extend union",e,G(t," "),pe("= ",G(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>G(["extend enum",e,G(t," "),Ft(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>G(["extend input",e,G(t," "),Ft(n)]," ")}};function G(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function Ft(e){return pe(`{ +`,Ls(G(e,` +`)),` +}`)}function pe(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function Ls(e){return pe(" ",e.replace(/\n/g,` + `))}function Bd(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` +`)))!==null&&t!==void 0?t:!1}const uI=Object.freeze(Object.defineProperty({__proto__:null,print:sg},Symbol.toStringTag,{value:"Module"}));function fI(){return Md()}function dI(){Te(typeof wx=="boolean",38)}fI();dI();function Fo(e,t){var n=e.directives;return!n||!n.length?!0:mI(n).every(function(r){var i=r.directive,s=r.ifArgument,o=!1;return s.value.kind==="Variable"?(o=t&&t[s.value.name.value],Te(o!==void 0,39)):o=s.value.value,i.name.value==="skip"?!o:o})}function Qc(e,t,n){var r=new Set(e),i=r.size;return Yt(t,{Directive:function(s){if(r.delete(s.name.value)&&(!n||!r.size))return Hc}}),n?!r.size:r.size<i}function hI(e){return e&&Qc(["client","export"],e,!0)}function pI(e){var t=e.name.value;return t==="skip"||t==="include"}function mI(e){var t=[];return e&&e.length&&e.forEach(function(n){if(!!pI(n)){var r=n.arguments;n.name.value,Te(r&&r.length===1,40);var i=r[0];Te(i.name&&i.name.value==="if",41);var s=i.value;Te(s&&(s.kind==="Variable"||s.kind==="BooleanValue"),42),t.push({directive:n,ifArgument:i})}}),t}function vI(e,t){var n=t,r=[];e.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw new ht(43);s.kind==="FragmentDefinition"&&r.push(s)}),typeof n>"u"&&(Te(r.length===1,44),n=r[0].name.value);var i=k(k({},e),{definitions:Hs([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function zc(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function Kc(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return Te(r,45),r||null}default:return null}}function Ge(e){return e!==null&&typeof e=="object"}function Tr(e){return{__ref:String(e)}}function Pe(e){return Boolean(e&&typeof e=="object"&&typeof e.__ref=="string")}function gI(e){return Ge(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function yI(e){return e.kind==="StringValue"}function bI(e){return e.kind==="BooleanValue"}function _I(e){return e.kind==="IntValue"}function EI(e){return e.kind==="FloatValue"}function OI(e){return e.kind==="Variable"}function wI(e){return e.kind==="ObjectValue"}function TI(e){return e.kind==="ListValue"}function SI(e){return e.kind==="EnumValue"}function CI(e){return e.kind==="NullValue"}function jr(e,t,n,r){if(_I(n)||EI(n))e[t.value]=Number(n.value);else if(bI(n)||yI(n))e[t.value]=n.value;else if(wI(n)){var i={};n.fields.map(function(o){return jr(i,o.name,o.value,r)}),e[t.value]=i}else if(OI(n)){var s=(r||{})[n.name.value];e[t.value]=s}else if(TI(n))e[t.value]=n.values.map(function(o){var a={};return jr(a,t,o,r),a[t.value]});else if(SI(n))e[t.value]=n.value;else if(CI(n))e[t.value]=null;else throw new ht(54)}function xI(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(s){var o=s.name,a=s.value;return jr(n[i.name.value],o,a,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var s=i.name,o=i.value;return jr(r,s,o,t)})),Yc(e.name.value,r,n)}var II=["connection","include","skip","client","rest","export"],Yc=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(a){i[a]=t[a]}),"".concat(n.connection.key,"(").concat(ri(i),")")}else return n.connection.key;var s=e;if(t){var o=ri(t);s+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(a){II.indexOf(a)===-1&&(n[a]&&Object.keys(n[a]).length?s+="@".concat(a,"(").concat(ri(n[a]),")"):s+="@".concat(a))}),s},{setStringify:function(e){var t=ri;return ri=e,t}}),ri=function(t){return JSON.stringify(t,AI)};function AI(e,t){return Ge(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(n,r){return n[r]=t[r],n},{})),t}function Po(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,s=r.value;return jr(n,i,s,t)}),n}return null}function $r(e){return e.alias?e.alias.value:e.name.value}function wl(e,t,n){if(typeof e.__typename=="string")return e.__typename;for(var r=0,i=t.selections;r<i.length;r++){var s=i[r];if(an(s)){if(s.name.value==="__typename")return e[$r(s)]}else{var o=wl(e,Kc(s,n).selectionSet,n);if(typeof o=="string")return o}}}function an(e){return e.kind==="Field"}function og(e){return e.kind==="InlineFragment"}function Do(e){Te(e&&e.kind==="Document",46);var t=e.definitions.filter(function(n){return n.kind!=="FragmentDefinition"}).map(function(n){if(n.kind!=="OperationDefinition")throw new ht(47);return n});return Te(t.length<=1,48),e}function cs(e){return Do(e),e.definitions.filter(function(t){return t.kind==="OperationDefinition"})[0]}function Tl(e){return e.definitions.filter(function(t){return t.kind==="OperationDefinition"&&t.name}).map(function(t){return t.name.value})[0]||null}function Gc(e){return e.definitions.filter(function(t){return t.kind==="FragmentDefinition"})}function NI(e){var t=cs(e);return Te(t&&t.operation==="query",49),t}function RI(e){Te(e.kind==="Document",50),Te(e.definitions.length<=1,51);var t=e.definitions[0];return Te(t.kind==="FragmentDefinition",52),t}function Jc(e){Do(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if(i.kind==="OperationDefinition"){var s=i.operation;if(s==="query"||s==="mutation"||s==="subscription")return i}i.kind==="FragmentDefinition"&&!t&&(t=i)}if(t)return t;throw new ht(53)}function Xc(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(r){r.defaultValue&&jr(t,r.variable.name,r.defaultValue)}),t}function Wd(e,t,n){var r=0;return e.forEach(function(i,s){t.call(this,i,s,e)&&(e[r++]=i)},n),e.length=r,e}var qd={kind:"Field",name:{kind:"Name",value:"__typename"}};function ag(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind==="FragmentSpread"&&ag(t[n.name.value],t)})}function Zc(e){return ag(cs(e)||RI(e),zc(Gc(e)))?null:e}function Hd(e){return function(n){return e.some(function(r){return r.name&&r.name===n.name.value||r.test&&r.test(n)})}}function lg(e,t){var n=Object.create(null),r=[],i=Object.create(null),s=[],o=Zc(Yt(t,{Variable:{enter:function(a,l,c){c.kind!=="VariableDefinition"&&(n[a.name.value]=!0)}},Field:{enter:function(a){if(e&&a.directives){var l=e.some(function(c){return c.remove});if(l&&a.directives&&a.directives.some(Hd(e)))return a.arguments&&a.arguments.forEach(function(c){c.value.kind==="Variable"&&r.push({name:c.value.name.value})}),a.selectionSet&&ug(a.selectionSet).forEach(function(c){s.push({name:c.name.value})}),null}}},FragmentSpread:{enter:function(a){i[a.name.value]=!0}},Directive:{enter:function(a){if(Hd(e)(a))return null}}}));return o&&Wd(r,function(a){return!!a.name&&!n[a.name]}).length&&(o=PI(r,o)),o&&Wd(s,function(a){return!!a.name&&!i[a.name]}).length&&(o=DI(s,o)),o}var cg=Object.assign(function(e){return Yt(e,{SelectionSet:{enter:function(t,n,r){if(!(r&&r.kind==="OperationDefinition")){var i=t.selections;if(!!i){var s=i.some(function(a){return an(a)&&(a.name.value==="__typename"||a.name.value.lastIndexOf("__",0)===0)});if(!s){var o=r;if(!(an(o)&&o.directives&&o.directives.some(function(a){return a.name.value==="export"})))return k(k({},t),{selections:Hs(Hs([],i,!0),[qd],!1)})}}}}}})},{added:function(e){return e===qd}}),kI={test:function(e){var t=e.name.value==="connection";return t&&(!e.arguments||e.arguments.some(function(n){return n.name.value==="key"})),t}};function LI(e){return lg([kI],Do(e))}function FI(e){return function(n){return e.some(function(r){return n.value&&n.value.kind==="Variable"&&n.value.name&&(r.name===n.value.name.value||r.test&&r.test(n))})}}function PI(e,t){var n=FI(e);return Zc(Yt(t,{OperationDefinition:{enter:function(r){return k(k({},r),{variableDefinitions:r.variableDefinitions?r.variableDefinitions.filter(function(i){return!e.some(function(s){return s.name===i.variable.name.value})}):[]})}},Field:{enter:function(r){var i=e.some(function(o){return o.remove});if(i){var s=0;if(r.arguments&&r.arguments.forEach(function(o){n(o)&&(s+=1)}),s===1)return null}}},Argument:{enter:function(r){if(n(r))return null}}}))}function DI(e,t){function n(r){if(e.some(function(i){return i.name===r.name.value}))return null}return Zc(Yt(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function ug(e){var t=[];return e.selections.forEach(function(n){(an(n)||og(n))&&n.selectionSet?ug(n.selectionSet).forEach(function(r){return t.push(r)}):n.kind==="FragmentSpread"&&t.push(n)}),t}function MI(e){var t=Jc(e),n=t.operation;if(n==="query")return e;var r=Yt(e,{OperationDefinition:{enter:function(i){return k(k({},i),{operation:"query"})}}});return r}function jI(e){Do(e);var t=lg([{test:function(n){return n.name.value==="client"},remove:!0}],e);return t&&(t=Yt(t,{FragmentDefinition:{enter:function(n){if(n.selectionSet){var r=n.selectionSet.selections.every(function(i){return an(i)&&i.name.value==="__typename"});if(r)return null}}}})),t}var $I=Object.prototype.hasOwnProperty;function Sl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eu(e)}function eu(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new Zn,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var VI=function(e,t,n){return this.merge(e[n],t[n])},Zn=function(){function e(t){t===void 0&&(t=VI),this.reconciler=t,this.isObject=Ge,this.pastCopies=new Set}return e.prototype.merge=function(t,n){for(var r=this,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];return Ge(n)&&Ge(t)?(Object.keys(n).forEach(function(o){if($I.call(t,o)){var a=t[o];if(n[o]!==a){var l=r.reconciler.apply(r,Hs([t,n,o],i,!1));l!==a&&(t=r.shallowCopyForMerge(t),t[o]=l)}}else t=r.shallowCopyForMerge(t),t[o]=n[o]}),t):n},e.prototype.shallowCopyForMerge=function(t){return Ge(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t=k({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},e}();function UI(e){return e===void 0&&(e=!1),{keyArgs:e,merge:function(t,n,r){var i=r.args,s=t?t.slice(0):[];if(n)if(i)for(var o=i.offset,a=o===void 0?0:o,l=0;l<n.length;++l)s[a+l]=n[l];else s.push.apply(s,n);return s}}}function BI(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=WI(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WI(e,t){if(!!e){if(typeof e=="string")return Qd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qd(e,t)}}function Qd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tu(e,t,n){return t&&zd(e.prototype,t),n&&zd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var nu=function(){return typeof Symbol=="function"},ru=function(e){return nu()&&Boolean(Symbol[e])},iu=function(e){return ru(e)?Symbol[e]:"@@"+e};nu()&&!ru("observable")&&(Symbol.observable=Symbol("observable"));var qI=iu("iterator"),Cl=iu("observable"),fg=iu("species");function Js(e,t){var n=e[t];if(n!=null){if(typeof n!="function")throw new TypeError(n+" is not a function");return n}}function ii(e){var t=e.constructor;return t!==void 0&&(t=t[fg],t===null&&(t=void 0)),t!==void 0?t:Fe}function HI(e){return e instanceof Fe}function Vr(e){Vr.log?Vr.log(e):setTimeout(function(){throw e})}function Fs(e){Promise.resolve().then(function(){try{e()}catch(t){Vr(t)}})}function dg(e){var t=e._cleanup;if(t!==void 0&&(e._cleanup=void 0,!!t))try{if(typeof t=="function")t();else{var n=Js(t,"unsubscribe");n&&n.call(t)}}catch(r){Vr(r)}}function xl(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function QI(e){var t=e._queue;if(!!t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(hg(e,t[n].type,t[n].value),e._state!=="closed");++n);}}function hg(e,t,n){e._state="running";var r=e._observer;try{var i=Js(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(xl(e),i)i.call(r,n);else throw n;break;case"complete":xl(e),i&&i.call(r);break}}catch(s){Vr(s)}e._state==="closed"?dg(e):e._state==="running"&&(e._state="ready")}function aa(e,t,n){if(e._state!=="closed"){if(e._state==="buffering"){e._queue.push({type:t,value:n});return}if(e._state!=="ready"){e._state="buffering",e._queue=[{type:t,value:n}],Fs(function(){return QI(e)});return}hg(e,t,n)}}var zI=function(){function e(n,r){this._cleanup=void 0,this._observer=n,this._queue=void 0,this._state="initializing";var i=new KI(this);try{this._cleanup=r.call(void 0,i)}catch(s){i.error(s)}this._state==="initializing"&&(this._state="ready")}var t=e.prototype;return t.unsubscribe=function(){this._state!=="closed"&&(xl(this),dg(this))},tu(e,[{key:"closed",get:function(){return this._state==="closed"}}]),e}(),KI=function(){function e(n){this._subscription=n}var t=e.prototype;return t.next=function(r){aa(this._subscription,"next",r)},t.error=function(r){aa(this._subscription,"error",r)},t.complete=function(){aa(this._subscription,"complete")},tu(e,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),e}(),Fe=function(){function e(n){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if(typeof n!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=n}var t=e.prototype;return t.subscribe=function(r){return(typeof r!="object"||r===null)&&(r={next:r,error:arguments[1],complete:arguments[2]}),new zI(r,this._subscriber)},t.forEach=function(r){var i=this;return new Promise(function(s,o){if(typeof r!="function"){o(new TypeError(r+" is not a function"));return}function a(){l.unsubscribe(),s()}var l=i.subscribe({next:function(c){try{r(c,a)}catch(u){o(u),l.unsubscribe()}},error:o,complete:s})})},t.map=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=ii(this);return new s(function(o){return i.subscribe({next:function(a){try{a=r(a)}catch(l){return o.error(l)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.filter=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=ii(this);return new s(function(o){return i.subscribe({next:function(a){try{if(!r(a))return}catch(l){return o.error(l)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})},t.reduce=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=ii(this),o=arguments.length>1,a=!1,l=arguments[1],c=l;return new s(function(u){return i.subscribe({next:function(f){var d=!a;if(a=!0,!d||o)try{c=r(c,f)}catch(h){return u.error(h)}else c=f},error:function(f){u.error(f)},complete:function(){if(!a&&!o)return u.error(new TypeError("Cannot reduce an empty sequence"));u.next(c),u.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];var a=ii(this);return new a(function(l){var c,u=0;function f(d){c=d.subscribe({next:function(h){l.next(h)},error:function(h){l.error(h)},complete:function(){u===s.length?(c=void 0,l.complete()):f(a.from(s[u++]))}})}return f(r),function(){c&&(c.unsubscribe(),c=void 0)}})},t.flatMap=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var s=ii(this);return new s(function(o){var a=[],l=i.subscribe({next:function(u){if(r)try{u=r(u)}catch(d){return o.error(d)}var f=s.from(u).subscribe({next:function(d){o.next(d)},error:function(d){o.error(d)},complete:function(){var d=a.indexOf(f);d>=0&&a.splice(d,1),c()}});a.push(f)},error:function(u){o.error(u)},complete:function(){c()}});function c(){l.closed&&a.length===0&&o.complete()}return function(){a.forEach(function(u){return u.unsubscribe()}),l.unsubscribe()}})},t[Cl]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var s=Js(r,Cl);if(s){var o=s.call(r);if(Object(o)!==o)throw new TypeError(o+" is not an object");return HI(o)&&o.constructor===i?o:new i(function(a){return o.subscribe(a)})}if(ru("iterator")&&(s=Js(r,qI),s))return new i(function(a){Fs(function(){if(!a.closed){for(var l=BI(s.call(r)),c;!(c=l()).done;){var u=c.value;if(a.next(u),a.closed)return}a.complete()}})});if(Array.isArray(r))return new i(function(a){Fs(function(){if(!a.closed){for(var l=0;l<r.length;++l)if(a.next(r[l]),a.closed)return;a.complete()}})});throw new TypeError(r+" is not observable")},e.of=function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];var o=typeof this=="function"?this:e;return new o(function(a){Fs(function(){if(!a.closed){for(var l=0;l<i.length;++l)if(a.next(i[l]),a.closed)return;a.complete()}})})},tu(e,null,[{key:fg,get:function(){return this}}]),e}();nu()&&Object.defineProperty(Fe,Symbol("extensions"),{value:{symbol:Cl,hostReportError:Vr},configurable:!0});function YI(e){var t,n=e.Symbol;if(typeof n=="function")if(n.observable)t=n.observable;else{typeof n.for=="function"?t=n.for("https://github.com/benlesh/symbol-observable"):t=n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch{}}else t="@@observable";return t}var lr;typeof self<"u"?lr=self:typeof window<"u"?lr=window:typeof global<"u"?lr=global:typeof module<"u"?lr=module:lr=Function("return this")();YI(lr);var Kd=Fe.prototype,Yd="@@observable";Kd[Yd]||(Kd[Yd]=function(){return this});var GI=Object.prototype.toString;function pg(e){return Il(e)}function Il(e,t){switch(GI.call(e)){case"[object Array]":{if(t=t||new Map,t.has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(i,s){n[s]=Il(i,t)}),n}case"[object Object]":{if(t=t||new Map,t.has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(i){r[i]=Il(e[i],t)}),r}default:return e}}function Ai(e,t,n){var r=[];e.forEach(function(i){return i[t]&&r.push(i)}),r.forEach(function(i){return i[t](n)})}function la(e,t,n){return new Fe(function(r){var i=r.next,s=r.error,o=r.complete,a=0,l=!1,c={then:function(h){return new Promise(function(p){return p(h())})}};function u(h,p){return h?function(v){++a;var b=function(){return h(v)};c=c.then(b,b).then(function(y){--a,i&&i.call(r,y),l&&f.complete()},function(y){throw--a,y}).catch(function(y){s&&s.call(r,y)})}:function(v){return p&&p.call(r,v)}}var f={next:u(t,i),error:u(n,s),complete:function(){l=!0,a||o&&o.call(r)}},d=e.subscribe(f);return function(){return d.unsubscribe()}})}var nr=typeof WeakMap=="function"&&Nt(function(){return navigator.product})!=="ReactNative",JI=typeof WeakSet=="function",mg=typeof Symbol=="function"&&typeof Symbol.for=="function",Mo=mg&&Symbol.asyncIterator;Nt(function(){return window.document.createElement});Nt(function(){return navigator.userAgent.indexOf("jsdom")>=0});function vg(e){function t(n){Object.defineProperty(e,n,{value:Fe})}return mg&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Gd(e){return e&&typeof e.then=="function"}var hi=function(e){Vt(t,e);function t(n){var r=e.call(this,function(i){return r.addObserver(i),function(){return r.removeObserver(i)}})||this;return r.observers=new Set,r.promise=new Promise(function(i,s){r.resolve=i,r.reject=s}),r.handlers={next:function(i){r.sub!==null&&(r.latest=["next",i],r.notify("next",i),Ai(r.observers,"next",i))},error:function(i){var s=r.sub;s!==null&&(s&&setTimeout(function(){return s.unsubscribe()}),r.sub=null,r.latest=["error",i],r.reject(i),r.notify("error",i),Ai(r.observers,"error",i))},complete:function(){var i=r.sub;if(i!==null){var s=r.sources.shift();s?Gd(s)?s.then(function(o){return r.sub=o.subscribe(r.handlers)}):r.sub=s.subscribe(r.handlers):(i&&setTimeout(function(){return i.unsubscribe()}),r.sub=null,r.latest&&r.latest[0]==="next"?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),Ai(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(i){r.reject(i),r.sources=[],r.handlers.complete()},r.promise.catch(function(i){}),typeof n=="function"&&(n=[new Fe(n)]),Gd(n)?n.then(function(i){return r.start(i)},r.handlers.error):r.start(n),r}return t.prototype.start=function(n){this.sub===void 0&&(this.sources=Array.from(n),this.handlers.complete())},t.prototype.deliverLastMessage=function(n){if(this.latest){var r=this.latest[0],i=n[r];i&&i.call(n,this.latest[1]),this.sub===null&&r==="next"&&n.complete&&n.complete()}},t.prototype.addObserver=function(n){this.observers.has(n)||(this.deliverLastMessage(n),this.observers.add(n))},t.prototype.removeObserver=function(n){this.observers.delete(n)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(n,r){var i=this.nextResultListeners;i.size&&(this.nextResultListeners=new Set,i.forEach(function(s){return s(n,r)}))},t.prototype.beforeNext=function(n){var r=!1;this.nextResultListeners.add(function(i,s){r||(r=!0,n(i,s))})},t}(Fe);vg(hi);function zt(e){return Array.isArray(e)&&e.length>0}function Ps(e){return e.errors&&e.errors.length>0||!1}function jo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(r){!r||Object.keys(r).forEach(function(i){var s=r[i];s!==void 0&&(n[i]=s)})}),n}var Jd=new Map;function Xd(e){var t=Jd.get(e)||1;return Jd.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function ca(e,t){return jo(e,t,t.variables&&{variables:k(k({},e&&e.variables),t.variables)})}function Zd(e){return new Fe(function(t){t.error(e)})}var Al=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r};function XI(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw new ht(26)}return e}function ZI(e,t){var n=k({},e),r=function(s){typeof s=="function"?n=k(k({},n),s(n)):n=k(k({},n),s)},i=function(){return k({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:r}),Object.defineProperty(t,"getContext",{enumerable:!1,value:i}),t}function e1(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName=typeof t.query!="string"?Tl(t.query)||void 0:""),t}function eh(e,t){return t?t(e):Fe.of()}function si(e){return typeof e=="function"?new Jr(e):e}function Ts(e){return e.request.length<=1}(function(e){Vt(t,e);function t(n,r){var i=e.call(this,n)||this;return i.link=r,i}return t})(Error);var Jr=function(){function e(t){t&&(this.request=t)}return e.empty=function(){return new e(function(){return Fe.of()})},e.from=function(t){return t.length===0?e.empty():t.map(si).reduce(function(n,r){return n.concat(r)})},e.split=function(t,n,r){var i=si(n),s=si(r||new e(eh));return Ts(i)&&Ts(s)?new e(function(o){return t(o)?i.request(o)||Fe.of():s.request(o)||Fe.of()}):new e(function(o,a){return t(o)?i.request(o,a)||Fe.of():s.request(o,a)||Fe.of()})},e.execute=function(t,n){return t.request(ZI(n.context,e1(XI(n))))||Fe.of()},e.concat=function(t,n){var r=si(t);if(Ts(r))return r;var i=si(n);return Ts(i)?new e(function(s){return r.request(s,function(o){return i.request(o)||Fe.of()})||Fe.of()}):new e(function(s,o){return r.request(s,function(a){return i.request(a,o)||Fe.of()})||Fe.of()})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(eh)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(t,n){throw new ht(21)},e.prototype.onError=function(t,n){if(n&&n.error)return n.error(t),!1;throw t},e.prototype.setOnError=function(t){return this.onError=t,this},e}(),t1=Jr.from,Nl=Jr.execute,n1="3.7.0";function r1(e){return!!e.body}function i1(e){return!!e.getReader}function s1(e){return!!(Mo&&e[Symbol.asyncIterator])}function o1(e){return!!e.stream}function a1(e){return!!e.arrayBuffer}function l1(e){return!!e.pipe}function c1(e){var t,n=e[Symbol.asyncIterator]();return t={next:function(){return n.next()}},t[Symbol.asyncIterator]=function(){return this},t}function u1(e){var t=null,n=null,r=!1,i=[],s=[];function o(f){if(!n){if(s.length){var d=s.shift();if(Array.isArray(d)&&d[0])return d[0]({value:f,done:!1})}i.push(f)}}function a(f){n=f;var d=s.slice();d.forEach(function(h){h[1](f)}),!t||t()}function l(){r=!0;var f=s.slice();f.forEach(function(d){d[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",a),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",o),e.on("error",a),e.on("end",l),e.on("finish",l),e.on("close",l);function c(){return new Promise(function(f,d){if(n)return d(n);if(i.length)return f({value:i.shift(),done:!1});if(r)return f({value:void 0,done:!0});s.push([f,d])})}var u={next:function(){return c()}};return Mo&&(u[Symbol.asyncIterator]=function(){return this}),u}function f1(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(r,i){e.then(function(s){r({value:s,done:!1})}).catch(i)}))}};return Mo&&(n[Symbol.asyncIterator]=function(){return this}),n}function th(e){var t={next:function(){return e.read()}};return Mo&&(t[Symbol.asyncIterator]=function(){return this}),t}function d1(e){var t=e;if(r1(e)&&(t=e.body),s1(t))return c1(t);if(i1(t))return th(t.getReader());if(o1(t))return th(t.stream().getReader());if(a1(t))return f1(t.arrayBuffer());if(l1(t))return u1(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var nh=Object.prototype.hasOwnProperty;function h1(e,t){var n,r,i;return yn(this,void 0,void 0,function(){var s,o,a,l,c,u,f,d,h,p,v,b,y,O,_,w,S,x,C,A;return bn(this,function(M){switch(M.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");s=new TextDecoder("utf-8"),o=(n=e.headers)===null||n===void 0?void 0:n.get("content-type"),a="boundary=",l=o!=null&&o.includes(a)?o==null?void 0:o.substring((o==null?void 0:o.indexOf(a))+a.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",c="--".concat(l),u="",f=d1(e),d=!0,M.label=1;case 1:return d?[4,f.next()]:[3,3];case 2:for(h=M.sent(),p=h.value,v=h.done,b=typeof p=="string"?p:s.decode(p),d=!v,u+=b,y=u.indexOf(c);y>-1;){if(O=void 0,A=[u.slice(0,y),u.slice(y+c.length)],O=A[0],u=A[1],O.trim()){if(_=O.indexOf(`\r +\r +`),w=p1(O.slice(0,_)),S=w["content-type"],S&&S.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");x=O.slice(_);try{C=gg(e,x.replace(`\r +`,"")),(Object.keys(C).length>1||"data"in C||"incremental"in C||"errors"in C)&&((r=t.next)===null||r===void 0||r.call(t,C))}catch(B){su(B,t)}}y=u.indexOf(c)}return[3,1];case 3:return(i=t.complete)===null||i===void 0||i.call(t),[2]}})})}function p1(e){var t={};return e.split(` +`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),s=n.slice(r+1).trim();t[i]=s}}),t}function gg(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Al(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function su(e,t){var n,r;e.name!=="AbortError"&&(e.result&&e.result.errors&&e.result.data&&((n=t.next)===null||n===void 0||n.call(t,e.result)),(r=t.error)===null||r===void 0||r.call(t,e))}function m1(e,t,n){v1(t)(e).then(function(r){var i,s;(i=n.next)===null||i===void 0||i.call(n,r),(s=n.complete)===null||s===void 0||s.call(n)}).catch(function(r){return su(r,n)})}function v1(e){return function(t){return t.text().then(function(n){return gg(t,n)}).then(function(n){return t.status>=300&&Al(t,n,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(n)&&!nh.call(n,"data")&&!nh.call(n,"errors")&&Al(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Rl=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=new ht(23);throw r.parseError=i,r}return n},g1={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},y1={accept:"*/*","content-type":"application/json"},b1={method:"POST"},_1={http:g1,headers:y1,options:b1},E1=function(e,t){return t(e)};function O1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},s={};n.forEach(function(f){i=k(k(k({},i),f.options),{headers:k(k({},i.headers),f.headers)}),f.credentials&&(i.credentials=f.credentials),s=k(k({},s),f.http)}),i.headers=w1(i.headers,s.preserveHeaderCase);var o=e.operationName,a=e.extensions,l=e.variables,c=e.query,u={operationName:o,variables:l};return s.includeExtensions&&(u.extensions=a),s.includeQuery&&(u.query=t(c,sg)),{options:i,body:u}}function w1(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(s){n[s.toLowerCase()]=e[s]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(s){r[s.toLowerCase()]={originalName:s,value:e[s]}});var i=Object.create(null);return Object.keys(r).forEach(function(s){i[r[s].originalName]=r[s].value}),i}var T1=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},S1=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function C1(e,t){var n=[],r=function(f,d){n.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Rl(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var s=void 0;try{s=Rl(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",s)}var o="",a=e,l=e.indexOf("#");l!==-1&&(o=e.substr(l),a=e.substr(0,l));var c=a.indexOf("?")===-1?"?":"&",u=a+c+n.join("&")+o;return{newURI:u}}var x1=Nt(function(){return fetch}),I1=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,s=i===void 0?E1:i,o=e.includeExtensions,a=e.preserveHeaderCase,l=e.useGETForQueries,c=e.includeUnusedVariables,u=c===void 0?!1:c,f=Nn(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]),d={http:{includeExtensions:o,preserveHeaderCase:a},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new Jr(function(h){var p=S1(h,n),v=h.getContext(),b={};if(v.clientAwareness){var y=v.clientAwareness,O=y.name,_=y.version;O&&(b["apollographql-client-name"]=O),_&&(b["apollographql-client-version"]=_)}var w=k(k({},b),v.headers),S={http:v.http,options:v.fetchOptions,credentials:v.credentials,headers:w},x=O1(h,s,_1,d,S),C=x.options,A=x.body;if(A.variables&&!u){var M=new Set(Object.keys(A.variables));Yt(h.query,{Variable:function(ee,Me,Se){Se&&Se.kind!=="VariableDefinition"&&M.delete(ee.name.value)}}),M.size&&(A.variables=k({},A.variables),M.forEach(function(ee){delete A.variables[ee]}))}var B;if(!C.signal){var z=T1(),V=z.controller,J=z.signal;B=V,B&&(C.signal=J)}var Z=function(ee){return ee.kind==="OperationDefinition"&&ee.operation==="mutation"};if(l&&!h.query.definitions.some(Z)&&(C.method="GET"),Qc(["defer"],h.query)&&(C.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),C.method==="GET"){var he=C1(p,A),ce=he.newURI,se=he.parseError;if(se)return Zd(se);p=ce}else try{C.body=Rl(A,"Payload")}catch(ee){return Zd(ee)}return new Fe(function(ee){var Me=r||Nt(function(){return fetch})||x1;return Me(p,C).then(function(Se){var je;h.setContext({response:Se});var Ce=(je=Se.headers)===null||je===void 0?void 0:je.get("content-type");return Ce!==null&&/^multipart\/mixed/i.test(Ce)?h1(Se,ee):m1(Se,h,ee)}).catch(function(Se){return su(Se,ee)}),function(){B&&B.abort()}})})},yg=function(e){Vt(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,I1(n).request)||this;return r.options=n,r}return t}(Jr),bg=Object.prototype,rh=bg.toString,A1=bg.hasOwnProperty,ih=Function.prototype.toString,kl=new Map;function at(e,t){try{return Ll(e,t)}finally{kl.clear()}}function Ll(e,t){if(e===t)return!0;var n=rh.call(e),r=rh.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(oh(e,t))return!0;var i=sh(e),s=sh(t),o=i.length;if(o!==s.length)return!1;for(var a=0;a<o;++a)if(!A1.call(t,i[a]))return!1;for(var a=0;a<o;++a){var l=i[a];if(!Ll(e[l],t[l]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e=="".concat(t);case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(oh(e,t))return!0;for(var c=e.entries(),u=n==="[object Map]";;){var f=c.next();if(f.done)break;var d=f.value,h=d[0],p=d[1];if(!t.has(h)||u&&!Ll(p,t.get(h)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{var v=e.byteLength;if(v===t.byteLength)for(;v--&&e[v]===t[v];);return v===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var b=ih.call(e);return b!==ih.call(t)?!1:!k1(b,R1)}}return!1}function sh(e){return Object.keys(e).filter(N1,e)}function N1(e){return this[e]!==void 0}var R1="{ [native code] }";function k1(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function oh(e,t){var n=kl.get(e);if(n){if(n.has(t))return!0}else kl.set(e,n=new Set);return n.add(t),!1}function L1(e){return!!e.incremental}var F1=function(){return Object.create(null)},_g=Array.prototype,P1=_g.forEach,D1=_g.slice,us=function(){function e(t,n){t===void 0&&(t=!0),n===void 0&&(n=F1),this.weakness=t,this.makeData=n}return e.prototype.lookup=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this.lookupArray(t)},e.prototype.lookupArray=function(t){var n=this;return P1.call(t,function(r){return n=n.getChildTrie(r)}),n.data||(n.data=this.makeData(D1.call(t)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&M1(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();function M1(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var rt=null,ah={},j1=1,$1=function(){return function(){function e(){this.id=["slot",j1++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var t=rt;t;t=t.parent)if(this.id in t.slots){var n=t.slots[this.id];if(n===ah)break;return t!==rt&&(rt.slots[this.id]=n),!0}return rt&&(rt.slots[this.id]=ah),!1},e.prototype.getValue=function(){if(this.hasValue())return rt.slots[this.id]},e.prototype.withValue=function(t,n,r,i){var s,o=(s={__proto__:null},s[this.id]=t,s),a=rt;rt={parent:a,slots:o};try{return n.apply(i,r)}finally{rt=a}},e.bind=function(t){var n=rt;return function(){var r=rt;try{return rt=n,t.apply(this,arguments)}finally{rt=r}}},e.noContext=function(t,n,r){if(rt){var i=rt;try{return rt=null,t.apply(r,n)}finally{rt=i}}else return t.apply(r,n)},e}()},ua="@wry/context:Slot",fa=Array,ou=fa[ua]||function(){var e=$1();try{Object.defineProperty(fa,ua,{value:fa[ua]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();ou.bind;ou.noContext;function V1(){}var U1=function(){function e(t,n){t===void 0&&(t=1/0),n===void 0&&(n=V1),this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(t){return this.map.has(t)},e.prototype.get=function(t){var n=this.getNode(t);return n&&n.value},e.prototype.getNode=function(t){var n=this.map.get(t);if(n&&n!==this.newest){var r=n.older,i=n.newer;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n},e.prototype.set=function(t,n){var r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(t){var n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1},e}(),$o=new ou,da,B1=Object.prototype.hasOwnProperty,au=(da=Array.from,da===void 0?function(e){var t=[];return e.forEach(function(n){return t.push(n)}),t}:da);function Xs(e){var t=e.unsubscribe;typeof t=="function"&&(e.unsubscribe=void 0,t())}var Ki=[],W1=100;function Ur(e,t){if(!e)throw new Error(t||"assertion failure")}function q1(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Eg(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function H1(e){return e.slice(0)}var Q1=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(this.value.length===1&&!Ln(this))return lh(this),this.value[0]},e.prototype.recompute=function(t){return Ur(!this.recomputing,"already recomputing"),lh(this),Ln(this)?z1(this,t):Eg(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Og(this),Xs(this))},e.prototype.dispose=function(){var t=this;this.setDirty(),xg(this),lu(this,function(n,r){n.setDirty(),Ig(n,t)})},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(t){t.add(this),this.deps||(this.deps=Ki.pop()||new Set),this.deps.add(t)},e.prototype.forgetDeps=function(){var t=this;this.deps&&(au(this.deps).forEach(function(n){return n.delete(t)}),this.deps.clear(),Ki.push(this.deps),this.deps=null)},e.count=0,e}();function lh(e){var t=$o.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Ln(e)?Tg(t,e):Sg(t,e),t}function z1(e,t){return xg(e),$o.withValue(e,K1,[e,t]),G1(e,t)&&Y1(e),Eg(e.value)}function K1(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function Ln(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function Y1(e){e.dirty=!1,!Ln(e)&&wg(e)}function Og(e){lu(e,Tg)}function wg(e){lu(e,Sg)}function lu(e,t){var n=e.parents.size;if(n)for(var r=au(e.parents),i=0;i<n;++i)t(r[i],e)}function Tg(e,t){Ur(e.childValues.has(t)),Ur(Ln(t));var n=!Ln(e);if(!e.dirtyChildren)e.dirtyChildren=Ki.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&Og(e)}function Sg(e,t){Ur(e.childValues.has(t)),Ur(!Ln(t));var n=e.childValues.get(t);n.length===0?e.childValues.set(t,H1(t.value)):q1(n,t.value)||e.setDirty(),Cg(e,t),!Ln(e)&&wg(e)}function Cg(e,t){var n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(Ki.length<W1&&Ki.push(n),e.dirtyChildren=null))}function xg(e){e.childValues.size>0&&e.childValues.forEach(function(t,n){Ig(e,n)}),e.forgetDeps(),Ur(e.dirtyChildren===null)}function Ig(e,t){t.parents.delete(e),e.childValues.delete(t),Cg(e,t)}function G1(e,t){if(typeof e.subscribe=="function")try{Xs(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var J1={setDirty:!0,dispose:!0,forget:!0};function Ag(e){var t=new Map,n=e&&e.subscribe;function r(i){var s=$o.getValue();if(s){var o=t.get(i);o||t.set(i,o=new Set),s.dependOn(o),typeof n=="function"&&(Xs(o),o.unsubscribe=n(i))}}return r.dirty=function(s,o){var a=t.get(s);if(a){var l=o&&B1.call(J1,o)?o:"setDirty";au(a).forEach(function(c){return c[l]()}),t.delete(s),Xs(a)}},r}function Ng(){var e=new us(typeof WeakMap=="function");return function(){return e.lookupArray(arguments)}}Ng();var ha=new Set;function Zs(e,t){t===void 0&&(t=Object.create(null));var n=new U1(t.max||Math.pow(2,16),function(c){return c.dispose()}),r=t.keyArgs,i=t.makeCacheKey||Ng(),s=function(){var c=i.apply(null,r?r.apply(null,arguments):arguments);if(c===void 0)return e.apply(null,arguments);var u=n.get(c);u||(n.set(c,u=new Q1(e)),u.subscribe=t.subscribe,u.forget=function(){return n.delete(c)});var f=u.recompute(Array.prototype.slice.call(arguments));return n.set(c,u),ha.add(n),$o.hasValue()||(ha.forEach(function(d){return d.clean()}),ha.clear()),f};Object.defineProperty(s,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1});function o(c){var u=n.get(c);u&&u.setDirty()}s.dirtyKey=o,s.dirty=function(){o(i.apply(null,arguments))};function a(c){var u=n.get(c);if(u)return u.peek()}s.peekKey=a,s.peek=function(){return a(i.apply(null,arguments))};function l(c){return n.delete(c)}return s.forgetKey=l,s.forget=function(){return l(i.apply(null,arguments))},s.makeCacheKey=i,s.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(s)}var X1=function(){function e(){this.getFragmentDoc=Zs(vI)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(k(k({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(k(k({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=Nn(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,s=t.fragmentName,o=Nn(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,s),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),s=n(i);return s==null?i:(r.writeQuery(k(k({},t),{data:s})),s)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),s=n(i);return s==null?i:(r.writeFragment(k(k({},t),{data:s})),s)}})},e}(),Rg=function(e){Vt(t,e);function t(n,r,i,s){var o,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=s,Array.isArray(a.path)){a.missing=a.message;for(var l=a.path.length-1;l>=0;--l)a.missing=(o={},o[a.path[l]]=a.missing,o)}else a.missing=a.path;return a.__proto__=t.prototype,a}return t}(Error),Ze=Object.prototype.hasOwnProperty;function oi(e){return e==null}var Je=Array.isArray;function kg(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=oi(r)?oi(i)?void 0:{_id:i}:{id:r}),oi(r)&&!oi(i)&&(r=i),!oi(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var Lg={dataIdFromObject:kg,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Z1(e){return jo(Lg,e)}function Fg(e){var t=e.canonizeResults;return t===void 0?Lg.canonizeResults:t}var Pg=/^[_a-z][_0-9a-z]*/i;function Br(e){var t=e.match(Pg);return t?t[0]:e}function Fl(e,t,n){return Ge(t)?Je(t)?t.every(function(r){return Fl(e,r,n)}):e.selections.every(function(r){if(an(r)&&Fo(r,n)){var i=$r(r);return Ze.call(t,i)&&(!r.selectionSet||Fl(r.selectionSet,t[i],n))}return!0}):!1}function hr(e){return Ge(e)&&!Pe(e)&&!Je(e)}function eA(){return new Zn}function Dg(e,t){var n=zc(Gc(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var Ds=Object.create(null),pa=function(){return Ds},ch=Object.create(null),Yi=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,s){return Pe(i)?r.get(i.__ref,s):i&&i[s]},this.canRead=function(i){return Pe(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return Tr(i);if(Pe(i))return i;var o=r.policies.identify(i)[0];if(o){var a=Tr(o);return s&&r.merge(o,i),a}}}return e.prototype.toObject=function(){return k({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),Ze.call(this.data,t)){var r=this.data[t];if(r&&Ze.call(r,n))return r[n]}if(n==="__typename"&&Ze.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof mn)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),Ze.call(this.data,t))return this.data[t];if(this instanceof mn)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;Pe(t)&&(t=t.__ref),Pe(n)&&(n=n.__ref);var s=typeof t=="string"?this.lookup(i=t):t,o=typeof n=="string"?this.lookup(i=n):n;if(!!o){Te(typeof i=="string",1);var a=new Zn(nA).merge(s,o);if(this.data[i]=a,a!==s&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);s||(l.__exists=1),Object.keys(o).forEach(function(c){if(!s||s[c]!==a[c]){l[c]=1;var u=Br(c);u!==c&&!r.policies.hasKeyArgs(a.__typename,u)&&(l[u]=1),a[c]===void 0&&!(r instanceof mn)&&delete a[c]}}),l.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===a.__typename&&delete l.__typename,Object.keys(l).forEach(function(c){return r.group.dirty(i,c)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var s=Object.create(null),o=!1,a=!0,l={DELETE:Ds,INVALIDATE:ch,isReference:Pe,toReference:this.toReference,canRead:this.canRead,readField:function(c,u){return r.policies.readField(typeof c=="string"?{fieldName:c,from:u||Tr(t)}:c,{store:r})}};if(Object.keys(i).forEach(function(c){var u=Br(c),f=i[c];if(f!==void 0){var d=typeof n=="function"?n:n[c]||n[u];if(d){var h=d===pa?Ds:d(f,k(k({},l),{fieldName:u,storeFieldName:c,storage:r.getStorage(t,c)}));h===ch?r.group.dirty(t,c):(h===Ds&&(h=void 0),h!==f&&(s[c]=h,o=!0,f=h))}f!==void 0&&(a=!1)}}),o)return this.merge(t,s),a&&(this instanceof mn?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,s=this.lookup(t);if(s){var o=this.getFieldValue(s,"__typename"),a=n&&r?this.policies.getStoreFieldName({typename:o,fieldName:n,args:r}):n;return this.modify(t,a?(i={},i[a]=pa,i):pa)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(Ze.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof mn&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){Ze.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(s){t&&Ze.call(t,s)||n.delete(s)}),t){var r=t.__META,i=Nn(t,["__META"]);Object.keys(i).forEach(function(s){n.merge(s,i[s])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof mn?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(o){Ze.call(r,o)&&(Object.keys(t.findChildRefIds(o)).forEach(n.add,n),delete r[o])});var i=Object.keys(r);if(i.length){for(var s=this;s instanceof mn;)s=s.parent;i.forEach(function(o){return s.delete(o)})}return i},e.prototype.findChildRefIds=function(t){if(!Ze.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(s){Pe(s)&&(n[s.__ref]=!0),Ge(s)&&Object.keys(s).forEach(function(o){var a=s[o];Ge(a)&&i.add(a)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Mg=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Ag():null,this.keyMaker=new us(nr)},e.prototype.depend=function(t,n){if(this.d){this.d(ma(t,n));var r=Br(n);r!==n&&this.d(ma(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(ma(t,n),n==="__exists"?"forget":"setDirty")},e}();function ma(e,t){return t+"#"+e}function uh(e,t){Ni(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){Vt(r,n);function r(i){var s=i.policies,o=i.resultCaching,a=o===void 0?!0:o,l=i.seed,c=n.call(this,s,new Mg(a))||this;return c.stump=new tA(c),c.storageTrie=new us(nr),l&&c.replace(l),c}return r.prototype.addLayer=function(i,s){return this.stump.addLayer(i,s)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(Yi||(Yi={}));var mn=function(e){Vt(t,e);function t(n,r,i,s){var o=e.call(this,r.policies,s)||this;return o.id=n,o.parent=r,o.replay=i,o.group=s,i(o),o}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var o=r.data[s],a=i.lookup(s);a?o?o!==a&&Object.keys(o).forEach(function(l){at(o[l],a[l])||r.group.dirty(s,l)}):(r.group.dirty(s,"__exists"),Object.keys(a).forEach(function(l){r.group.dirty(s,l)})):r.delete(s)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return k(k({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return Ze.call(this.data,n)?k(k({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(Yi),tA=function(e){Vt(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new Mg(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(mn);function nA(e,t,n){var r=e[n],i=t[n];return at(r,i)?r:i}function Ni(e){return!!(e instanceof Yi&&e.group.caching)}function rA(e){return Ge(e)?Je(e)?e.slice(0):k({__proto__:Object.getPrototypeOf(e)},e):e}var Pl=function(){function e(){this.known=new(JI?WeakSet:Set),this.pool=new us(nr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return Ge(t)&&this.known.has(t)},e.prototype.pass=function(t){if(Ge(t)){var n=rA(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(Ge(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var s=t.map(this.admit,this),o=this.pool.lookupArray(s);return o.array||this.known.add(o.array=s),o.array}case null:case Object.prototype:{if(this.known.has(t))return t;var a=Object.getPrototypeOf(t),l=[a],c=this.sortedKeys(t);l.push(c.json);var u=l.length;c.sorted.forEach(function(h){l.push(n.admit(t[h]))});var o=this.pool.lookupArray(l);if(!o.object){var f=o.object=Object.create(a);this.known.add(f),c.sorted.forEach(function(h,p){f[h]=l[u+p]})}return o.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),Gn=Object.assign(function(e){if(Ge(e)){Dl===void 0&&fh();var t=Dl.admit(e),n=Ml.get(t);return n===void 0&&Ml.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:fh}),Dl,Ml;function fh(){Dl=new Pl,Ml=new(nr?WeakMap:Map)}function dh(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var iA=function(){function e(t){var n=this;this.knownResults=new(nr?WeakMap:Map),this.config=jo(t,{addTypename:t.addTypename!==!1,canonizeResults:Fg(t)}),this.canon=t.canon||new Pl,this.executeSelectionSet=Zs(function(r){var i,s=r.context.canonizeResults,o=dh(r);o[3]=!s;var a=(i=n.executeSelectionSet).peek.apply(i,o);return a?s?k(k({},a),{result:n.canon.admit(a.result)}):a:(uh(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:dh,makeCacheKey:function(r,i,s,o){if(Ni(s.store))return s.store.makeCacheKey(r,Pe(i)?i.__ref:i,s.varString,o)}}),this.executeSubSelectedArray=Zs(function(r){return uh(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,s=r.array,o=r.context;if(Ni(o.store))return o.store.makeCacheKey(i,s,o.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Pl},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,s=i===void 0?"ROOT_QUERY":i,o=t.variables,a=t.returnPartialData,l=a===void 0?!0:a,c=t.canonizeResults,u=c===void 0?this.config.canonizeResults:c,f=this.config.cache.policies;o=k(k({},Xc(NI(r))),o);var d=Tr(s),h=this.executeSelectionSet({selectionSet:Jc(r).selectionSet,objectOrReference:d,enclosingRef:d,context:k({store:n,query:r,policies:f,variables:o,varString:Gn(o),canonizeResults:u},Dg(r,this.config.fragments))}),p;if(h.missing&&(p=[new Rg(sA(h.missing),h.missing,r,o)],!l))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(t,n,r,i){if(Ni(i.store)&&this.knownResults.get(t)===r){var s=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(s&&t===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,s=t.enclosingRef,o=t.context;if(Pe(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var a=o.variables,l=o.policies,c=o.store,u=c.getFieldValue(i,"__typename"),f=[],d,h=new Zn;this.config.addTypename&&typeof u=="string"&&!l.rootIdsByTypename[u]&&f.push({__typename:u});function p(_,w){var S;return _.missing&&(d=h.merge(d,(S={},S[w]=_.missing,S))),_.result}var v=new Set(r.selections);v.forEach(function(_){var w,S;if(!!Fo(_,a))if(an(_)){var x=l.readField({fieldName:_.name.value,field:_,variables:o.variables,from:i},o),C=$r(_);x===void 0?cg.added(_)||(d=h.merge(d,(w={},w[C]="Can't find field '".concat(_.name.value,"' on ").concat(Pe(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),w))):Je(x)?x=p(n.executeSubSelectedArray({field:_,array:x,enclosingRef:s,context:o}),C):_.selectionSet?x!=null&&(x=p(n.executeSelectionSet({selectionSet:_.selectionSet,objectOrReference:x,enclosingRef:Pe(x)?x:s,context:o}),C)):o.canonizeResults&&(x=n.canon.pass(x)),x!==void 0&&f.push((S={},S[C]=x,S))}else{var A=Kc(_,o.lookupFragment);if(!A&&_.kind===te.FRAGMENT_SPREAD)throw new ht(5);A&&l.fragmentMatches(A,u)&&A.selectionSet.selections.forEach(v.add,v)}});var b=eu(f),y={result:b,missing:d},O=o.canonizeResults?this.canon.admit(y):y;return O.result&&this.knownResults.set(O.result,r),O},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,s=t.enclosingRef,o=t.context,a,l=new Zn;function c(u,f){var d;return u.missing&&(a=l.merge(a,(d={},d[f]=u.missing,d))),u.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(u,f){return u===null?null:Je(u)?c(n.executeSubSelectedArray({field:r,array:u,enclosingRef:s,context:o}),f):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:u,enclosingRef:Pe(u)?u:s,context:o}),f):u}),{result:o.canonizeResults?this.canon.admit(i):i,missing:a}},e}();function sA(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}var it=null,hh={},oA=1,aA=function(){return function(){function e(){this.id=["slot",oA++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var t=it;t;t=t.parent)if(this.id in t.slots){var n=t.slots[this.id];if(n===hh)break;return t!==it&&(it.slots[this.id]=n),!0}return it&&(it.slots[this.id]=hh),!1},e.prototype.getValue=function(){if(this.hasValue())return it.slots[this.id]},e.prototype.withValue=function(t,n,r,i){var s,o=(s={__proto__:null},s[this.id]=t,s),a=it;it={parent:a,slots:o};try{return n.apply(i,r)}finally{it=a}},e.bind=function(t){var n=it;return function(){var r=it;try{return it=n,t.apply(this,arguments)}finally{it=r}}},e.noContext=function(t,n,r){if(it){var i=it;try{return it=null,t.apply(r,n)}finally{it=i}}else return t.apply(r,n)},e}()};function ph(e){try{return e()}catch{}}var va="@wry/context:Slot",lA=ph(function(){return globalThis})||ph(function(){return global})||Object.create(null),mh=lA,cu=mh[va]||Array[va]||function(e){try{Object.defineProperty(mh,va,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(aA());cu.bind;cu.noContext;var uu=new cu,vh=new WeakMap;function Ri(e){var t=vh.get(e);return t||vh.set(e,t={vars:new Set,dep:Ag()}),t}function gh(e){Ri(e).vars.forEach(function(t){return t.forgetCache(e)})}function cA(e){Ri(e).vars.forEach(function(t){return t.attachCache(e)})}function uA(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(l){Ri(l).dep.dirty(r),fA(l)});var o=Array.from(n);n.clear(),o.forEach(function(l){return l(e)})}}else{var a=uu.getValue();a&&(i(a),Ri(a).dep(r))}return e};r.onNextChange=function(s){return n.add(s),function(){n.delete(s)}};var i=r.attachCache=function(s){return t.add(s),Ri(s).vars.add(r),r};return r.forgetCache=function(s){return t.delete(s)},r}function fA(e){e.broadcastWatches&&e.broadcastWatches()}var yh=Object.create(null);function fu(e){var t=JSON.stringify(e);return yh[t]||(yh[t]=Object.create(null))}function bh(e){var t=fu(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(o,a){return r.readField(a,o)},s=r.keyObject=du(e,function(o){var a=Sr(r.storeObject,o,i);return a===void 0&&n!==r.storeObject&&Ze.call(n,o[0])&&(a=Sr(n,o,$g)),Te(a!==void 0,2),a});return"".concat(r.typename,":").concat(JSON.stringify(s))})}function _h(e){var t=fu(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,s=r.variables,o=r.fieldName,a=du(e,function(c){var u=c[0],f=u.charAt(0);if(f==="@"){if(i&&zt(i.directives)){var d=u.slice(1),h=i.directives.find(function(y){return y.name.value===d}),p=h&&Po(h,s);return p&&Sr(p,c.slice(1))}return}if(f==="$"){var v=u.slice(1);if(s&&Ze.call(s,v)){var b=c.slice(0);return b[0]=v,Sr(s,b)}return}if(n)return Sr(n,c)}),l=JSON.stringify(a);return(n||l!=="{}")&&(o+=":"+l),o})}function du(e,t){var n=new Zn;return jg(e).reduce(function(r,i){var s,o=t(i);if(o!==void 0){for(var a=i.length-1;a>=0;--a)o=(s={},s[i[a]]=o,s);r=n.merge(r,o)}return r},Object.create(null))}function jg(e){var t=fu(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,s){Je(i)?(jg(i).forEach(function(o){return n.push(r.concat(o))}),r.length=0):(r.push(i),Je(e[s+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function $g(e,t){return e[t]}function Sr(e,t,n){return n=n||$g,Vg(t.reduce(function r(i,s){return Je(i)?i.map(function(o){return r(o,s)}):i&&n(i,s)},e))}function Vg(e){return Ge(e)?Je(e)?e.map(Vg):du(Object.keys(e).sort(),function(t){return Sr(e,t)}):e}Yc.setStringify(Gn);function jl(e){return e.args!==void 0?e.args:e.field?Po(e.field,e.variables):null}var dA=function(){},Eh=function(e,t){return t.fieldName},Oh=function(e,t,n){var r=n.mergeObjects;return r(e,t)},wh=function(e,t){return t},hA=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=k({dataIdFromObject:kg},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,s=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o=n&&n.storeObject||t,a=k(k({},n),{typename:s,storeObject:o,readField:n&&n.readField||function(){var d=hu(arguments,o);return i.readField(d,{store:i.cache.data,variables:d.variables})}}),l,c=s&&this.getTypePolicy(s),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var f=u(t,a);if(Je(f))u=bh(f);else{l=f;break}}return l=l?String(l):void 0,a.keyObject?[l,a.keyObject]:[l]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,l=Nn(i,["queryType","mutationType","subscriptionType"]);s&&n.setRootTypename("Query",r),o&&n.setRootTypename("Mutation",r),a&&n.setRootTypename("Subscription",r),Ze.call(n.toBeAdded,r)?n.toBeAdded[r].push(l):n.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),s=n.keyFields,o=n.fields;function a(l,c){l.merge=typeof c=="function"?c:c===!0?Oh:c===!1?wh:l.merge}a(i,n.merge),i.keyFn=s===!1?dA:Je(s)?bh(s):typeof s=="function"?s:i.keyFn,o&&Object.keys(o).forEach(function(l){var c=r.getFieldPolicy(t,l,!0),u=o[l];if(typeof u=="function")c.read=u;else{var f=u.keyArgs,d=u.read,h=u.merge;c.keyFn=f===!1?Eh:Je(f)?_h(f):typeof f=="function"?f:c.keyFn,typeof d=="function"&&(c.read=d),a(c,h)}c.read&&c.merge&&(c.keyFn=c.keyFn||Eh)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(Te(!i||i===t,3),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var s=i.match(Pg);(!s||s[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!Ze.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);i&&i.size&&i.forEach(function(o){var a=n.getTypePolicy(o),l=a.fields,c=Nn(a,["fields"]);Object.assign(r,c),Object.assign(r.fields,l)})}var s=this.toBeAdded[t];return s&&s.length&&s.splice(0).forEach(function(o){n.updateTypePolicy(t,o)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var s=this;if(!t.typeCondition)return!0;if(!n)return!1;var o=t.typeCondition.name.value;if(n===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(n,!0),l=[a],c=function(h){var p=s.getSupertypeSet(h,!1);p&&p.size&&l.indexOf(p)<0&&l.push(p)},u=!!(r&&this.fuzzySubtypes.size),f=0;f<l.length;++f){var d=l[f];if(d.has(o))return a.has(o)||a.add(o),!0;d.forEach(c),u&&f===l.length-1&&Fl(t.selectionSet,r,i)&&(u=!1,this.fuzzySubtypes.forEach(function(h,p){var v=n.match(h);v&&v[0]===n&&c(p)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r,!1),s,o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:t.field||null,variables:t.variables},l=jl(t);o;){var c=o(l,a);if(Je(c))o=_h(c);else{s=c||r;break}}return s===void 0&&(s=t.field?xI(t.field,t.variables):Yc(r,jl(t))),s===!1?r:r===Br(s)?s:r+":"+s},e.prototype.readField=function(t,n){var r=t.from;if(!!r){var i=t.field||t.fieldName;if(!!i){if(t.typename===void 0){var s=n.store.getFieldValue(r,"__typename");s&&(t.typename=s)}var o=this.getStoreFieldName(t),a=Br(o),l=n.store.getFieldValue(r,o),c=this.getFieldPolicy(t.typename,a,!1),u=c&&c.read;if(u){var f=Th(this,r,t,n,n.store.getStorage(Pe(r)?r.__ref:r,o));return uu.withValue(this.cache,u,[l,f])}return l}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n,!1),s=i&&i.merge;return!s&&r&&(i=this.getTypePolicy(r),s=i&&i.merge),s},e.prototype.runMergeFunction=function(t,n,r,i,s){var o=r.field,a=r.typename,l=r.merge;return l===Oh?Ug(i.store)(t,n):l===wh?n:(i.overwrite&&(t=void 0),l(t,n,Th(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:i.variables},i,s||Object.create(null))))},e}();function Th(e,t,n,r,i){var s=e.getStoreFieldName(n),o=Br(s),a=n.variables||r.variables,l=r.store,c=l.toReference,u=l.canRead;return{args:jl(n),field:n.field||null,fieldName:o,storeFieldName:s,variables:a,isReference:Pe,toReference:c,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(hu(arguments,t,a),r)},mergeObjects:Ug(r.store)}}function hu(e,t,n){var r=e[0],i=e[1],s=e.length,o;return typeof r=="string"?o={fieldName:r,from:s>1?i:t}:(o=k({},r),Ze.call(o,"from")||(o.from=t)),o.variables===void 0&&(o.variables=n),o}function Ug(e){return function(n,r){if(Je(n)||Je(r))throw new ht(4);if(Ge(n)&&Ge(r)){var i=e.getFieldValue(n,"__typename"),s=e.getFieldValue(r,"__typename"),o=i&&s&&i!==s;if(o)return r;if(Pe(n)&&hr(r))return e.merge(n.__ref,r),n;if(hr(n)&&Pe(r))return e.merge(n,r.__ref),r;if(hr(n)&&hr(r))return k(k({},n),r)}return r}}function ga(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:k(k({},e),{clientOnly:t,deferred:n})),i}var pA=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,s=n.result,o=n.dataId,a=n.variables,l=n.overwrite,c=cs(i),u=eA();a=k(k({},Xc(c)),a);var f=k(k({store:t,written:Object.create(null),merge:function(h,p){return u.merge(h,p)},variables:a,varString:Gn(a)},Dg(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:s||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:f});if(!Pe(d))throw new ht(7);return f.incomingById.forEach(function(h,p){var v=h.storeObject,b=h.mergeTree;h.fieldNodeSet;var y=Tr(p);if(b&&b.map.size){var O=r.applyMerges(b,y,v,f);if(Pe(O))return;v=O}t.merge(p,v)}),t.retain(d.__ref),d},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,s=t.selectionSet,o=t.context,a=t.mergeTree,l=this.cache.policies,c=Object.create(null),u=r&&l.rootTypenamesById[r]||wl(i,s,o.fragmentMap)||r&&o.store.get(r,"__typename");typeof u=="string"&&(c.__typename=u);var f=function(){var _=hu(arguments,c,o.variables);if(Pe(_.from)){var w=o.incomingById.get(_.from.__ref);if(w){var S=l.readField(k(k({},_),{from:w.storeObject}),o);if(S!==void 0)return S}}return l.readField(_,o)},d=new Set;this.flattenFields(s,i,o,u).forEach(function(_,w){var S,x=$r(w),C=i[x];if(d.add(w),C!==void 0){var A=l.getStoreFieldName({typename:u,fieldName:w.name.value,field:w,variables:_.variables}),M=Sh(a,A),B=n.processFieldValue(C,w,w.selectionSet?ga(_,!1,!1):_,M),z=void 0;w.selectionSet&&(Pe(B)||hr(B))&&(z=f("__typename",B));var V=l.getMergeFunction(u,w.name.value,z);V?M.info={field:w,typename:u,merge:V}:Ch(a,A),c=_.merge(c,(S={},S[A]=B,S))}});try{var h=l.identify(i,{typename:u,selectionSet:s,fragmentMap:o.fragmentMap,storeObject:c,readField:f}),p=h[0],v=h[1];r=r||p,v&&(c=o.merge(c,v))}catch(_){if(!r)throw _}if(typeof r=="string"){var b=Tr(r),y=o.written[r]||(o.written[r]=[]);if(y.indexOf(s)>=0||(y.push(s),this.reader&&this.reader.isFresh(i,b,s,o)))return b;var O=o.incomingById.get(r);return O?(O.storeObject=o.merge(O.storeObject,c),O.mergeTree=$l(O.mergeTree,a),d.forEach(function(_){return O.fieldNodeSet.add(_)})):o.incomingById.set(r,{storeObject:c,mergeTree:eo(a)?void 0:a,fieldNodeSet:d}),b}return c},e.prototype.processFieldValue=function(t,n,r,i){var s=this;return!n.selectionSet||t===null?t:Je(t)?t.map(function(o,a){var l=s.processFieldValue(o,n,r,Sh(i,a));return Ch(i,a),l}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=wl(n,t,r.fragmentMap));var s=new Map,o=this.cache.policies,a=new us(!1);return function l(c,u){var f=a.lookup(c,u.clientOnly,u.deferred);f.visited||(f.visited=!0,c.selections.forEach(function(d){if(!!Fo(d,r.variables)){var h=u.clientOnly,p=u.deferred;if(!(h&&p)&&zt(d.directives)&&d.directives.forEach(function(y){var O=y.name.value;if(O==="client"&&(h=!0),O==="defer"){var _=Po(y,r.variables);(!_||_.if!==!1)&&(p=!0)}}),an(d)){var v=s.get(d);v&&(h=h&&v.clientOnly,p=p&&v.deferred),s.set(d,ga(r,h,p))}else{var b=Kc(d,r.lookupFragment);if(!b&&d.kind===te.FRAGMENT_SPREAD)throw new ht(8);b&&o.fragmentMatches(b,i,n,r.variables)&&l(b.selectionSet,ga(r,h,p))}}}))}(t,r),s},e.prototype.applyMerges=function(t,n,r,i,s){var o,a=this;if(t.map.size&&!Pe(r)){var l=!Je(r)&&(Pe(n)||hr(n))?n:void 0,c=r;l&&!s&&(s=[Pe(l)?l.__ref:l]);var u,f=function(d,h){return Je(d)?typeof h=="number"?d[h]:void 0:i.store.getFieldValue(d,String(h))};t.map.forEach(function(d,h){var p=f(l,h),v=f(c,h);if(v!==void 0){s&&s.push(h);var b=a.applyMerges(d,p,v,i,s);b!==v&&(u=u||new Map,u.set(h,b)),s&&Te(s.pop()===h)}}),u&&(r=Je(c)?c.slice(0):k({},c),u.forEach(function(d,h){r[h]=d}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,s&&(o=i.store).getStorage.apply(o,s)):r},e}(),Bg=[];function Sh(e,t){var n=e.map;return n.has(t)||n.set(t,Bg.pop()||{map:new Map}),n.get(t)}function $l(e,t){if(e===t||!t||eo(t))return e;if(!e||eo(e))return t;var n=e.info&&t.info?k(k({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,s={info:n,map:i};if(r){var o=new Set(t.map.keys());e.map.forEach(function(a,l){s.map.set(l,$l(a,t.map.get(l))),o.delete(l)}),o.forEach(function(a){s.map.set(a,$l(t.map.get(a),e.map.get(a)))})}return s}function eo(e){return!e||!(e.info||e.map.size)}function Ch(e,t){var n=e.map,r=n.get(t);r&&eo(r)&&(Bg.push(r),n.delete(t))}var mA=function(e){Vt(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=uA,r.txCount=0,r.config=Z1(n),r.addTypename=!!r.config.addTypename,r.policies=new hA({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new Yi.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,s=this.config.fragments;this.storeWriter=new pA(this,this.storeReader=new iA({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Fg(this.config),canon:n?void 0:i&&i.canon,fragments:s}),s),this.maybeBroadcastWatch=Zs(function(o,a){return r.broadcastWatch(o,a)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(o){var a=o.optimistic?r.optimisticData:r.data;if(Ni(a)){var l=o.optimistic,c=o.id,u=o.variables;return a.makeCacheKey(o.query,o.callback,Gn({optimistic:l,id:c,variables:u}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(o){return o.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(k(k({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(s){if(s instanceof Rg)return null;throw s}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(Ze.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return this.storeReader.diffQueryAgainstStore(k(k({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||cA(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&gh(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){Gn.reset();var r=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(Pe(n))return n.__ref;try{return this.policies.identify(n)[0]}catch{}},t.prototype.evict=function(n){if(!n.id){if(Ze.call(n,"id"))return!1;n=k(k({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),Gn.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),gh(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,s=n.optimistic,o=s===void 0?!0:s,a=n.removeOptimistic,l=n.onWatchUpdated,c,u=function(d){var h=r,p=h.data,v=h.optimisticData;++r.txCount,d&&(r.data=r.optimisticData=d);try{return c=i(r)}finally{--r.txCount,r.data=p,r.optimisticData=v}},f=new Set;return l&&!this.txCount&&this.broadcastWatches(k(k({},n),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof o=="string"?this.optimisticData=this.optimisticData.addLayer(o,u):o===!1?u(this.data):u(),typeof a=="string"&&(this.optimisticData=this.optimisticData.removeLayer(a)),l&&f.size?(this.broadcastWatches(k(k({},n),{onWatchUpdated:function(d,h){var p=l.call(this,d,h);return p!==!1&&f.delete(d),p}})),f.size&&f.forEach(function(d){return r.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(n),c},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){if(this.addTypename){var r=this.typenameDocumentCache.get(n);return r||(r=cg(n),this.typenameDocumentCache.set(n,r),this.typenameDocumentCache.set(r,r)),r}return n},t.prototype.transformForLink=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.broadcastWatch=function(n,r){var i=n.lastDiff,s=this.diff(n);r&&(n.optimistic&&typeof r.optimistic=="string"&&(s.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,s,i)===!1)||(!i||!at(i.result,s.result))&&n.callback(n.lastDiff=s,i)},t}(X1);function Wg(e){return e.hasOwnProperty("graphQLErrors")}var vA=function(e){var t="";if(zt(e.graphQLErrors)||zt(e.clientErrors)){var n=(e.graphQLErrors||[]).concat(e.clientErrors||[]);n.forEach(function(r){var i=r?r.message:"Error message not found.";t+="".concat(i,` +`)})}return e.networkError&&(t+="".concat(e.networkError.message,` +`)),t=t.replace(/\n$/,""),t},tn=function(e){Vt(t,e);function t(n){var r=n.graphQLErrors,i=n.clientErrors,s=n.networkError,o=n.errorMessage,a=n.extraInfo,l=e.call(this,o)||this;return l.graphQLErrors=r||[],l.clientErrors=i||[],l.networkError=s||null,l.message=o||vA(l),l.extraInfo=a,l.__proto__=t.prototype,l}return t}(Error),xe;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(xe||(xe={}));function Gi(e){return e?e<7:!1}var gA=Object.assign,Vl=function(e){Vt(t,e);function t(n){var r=n.queryManager,i=n.queryInfo,s=n.options,o=e.call(this,function(b){try{var y=b._subscription._observer;y&&!y.error&&(y.error=yA)}catch{}var O=!o.observers.size;o.observers.add(b);var _=o.last;return _&&_.error?b.error&&b.error(_.error):_&&_.result&&b.next&&b.next(_.result),O&&o.reobserve().catch(function(){}),function(){o.observers.delete(b)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=i,o.queryManager=r,o.isTornDown=!1;var a=r.defaultOptions.watchQuery,l=a===void 0?{}:a,c=l.fetchPolicy,u=c===void 0?"cache-first":c,f=s.fetchPolicy,d=f===void 0?u:f,h=s.initialFetchPolicy,p=h===void 0?d==="standby"?u:d:h;o.options=k(k({},s),{initialFetchPolicy:p,fetchPolicy:d}),o.queryId=i.queryId||r.generateQueryId();var v=cs(o.query);return o.queryName=v&&v.name&&v.name.value,o}return Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var n=this;return new Promise(function(r,i){var s={next:function(a){r(a),n.observers.delete(s),n.observers.size||n.queryManager.removeQuery(n.queryId),setTimeout(function(){o.unsubscribe()},0)},error:i},o=n.subscribe(s)})},t.prototype.getCurrentResult=function(n){n===void 0&&(n=!0);var r=this.getLastResult(!0),i=this.queryInfo.networkStatus||r&&r.networkStatus||xe.ready,s=k(k({},r),{loading:Gi(i),networkStatus:i}),o=this.options.fetchPolicy,a=o===void 0?"cache-first":o;if(!(a==="network-only"||a==="no-cache"||a==="standby"||this.queryManager.transform(this.options.query).hasForcedResolvers)){var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),at(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===xe.loading&&(a==="cache-first"||a==="cache-only")&&(s.networkStatus=xe.ready,s.loading=!1)):s.partial=!0}return n&&this.updateLastResult(s),s},t.prototype.isDifferentFromLastResult=function(n){return!this.last||!at(this.last.result,n)},t.prototype.getLast=function(n,r){var i=this.last;if(i&&i[n]&&(!r||at(i.variables,this.variables)))return i[n]},t.prototype.getLastResult=function(n){return this.getLast("result",n)},t.prototype.getLastError=function(n){return this.getLast("error",n)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(n){var r={pollInterval:0},i=this.options.fetchPolicy;return i==="cache-and-network"?r.fetchPolicy=i:i==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",n&&!at(this.options.variables,n)&&(r.variables=this.options.variables=k(k({},this.options.variables),n)),this.queryInfo.resetLastWrite(),this.reobserve(r,xe.refetch)},t.prototype.fetchMore=function(n){var r=this,i=k(k({},n.query?n:k(k(k(k({},this.options),{query:this.query}),n),{variables:k(k({},this.options.variables),n.variables)})),{fetchPolicy:"no-cache"}),s=this.queryManager.generateQueryId(),o=this.queryInfo,a=o.networkStatus;o.networkStatus=xe.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var l=new Set;return this.queryManager.fetchQuery(s,i,xe.fetchMore).then(function(c){return r.queryManager.removeQuery(s),o.networkStatus===xe.fetchMore&&(o.networkStatus=a),r.queryManager.cache.batch({update:function(u){var f=n.updateQuery;f?u.updateQuery({query:r.query,variables:r.variables,returnPartialData:!0,optimistic:!1},function(d){return f(d,{fetchMoreResult:c.data,variables:i.variables})}):u.writeQuery({query:i.query,variables:i.variables,data:c.data})},onWatchUpdated:function(u){l.add(u.query)}}),c}).finally(function(){l.has(r.query)||qg(r)})},t.prototype.subscribeToMore=function(n){var r=this,i=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:function(s){var o=n.updateQuery;o&&r.updateQuery(function(a,l){var c=l.variables;return o(a,{subscriptionData:s,variables:c})})},error:function(s){if(n.onError){n.onError(s);return}}});return this.subscriptions.add(i),function(){r.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(n){return this.reobserve(n)},t.prototype.setVariables=function(n){return at(this.variables,n)?this.observers.size?this.result():Promise.resolve():(this.options.variables=n,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},xe.setVariables):Promise.resolve())},t.prototype.updateQuery=function(n){var r=this.queryManager,i=r.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,s=n(i,{variables:this.variables});s&&(r.cache.writeQuery({query:this.options.query,data:s,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(n){this.options.pollInterval=n,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(n,r){if(r.nextFetchPolicy){var i=r.fetchPolicy,s=i===void 0?"cache-first":i,o=r.initialFetchPolicy,a=o===void 0?s:o;s==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy(s,{reason:n,options:r,observable:this,initialFetchPolicy:a}):n==="variables-changed"?r.fetchPolicy=a:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy},t.prototype.fetch=function(n,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,n,r)},t.prototype.updatePolling=function(){var n=this;if(!this.queryManager.ssrMode){var r=this,i=r.pollingInfo,s=r.options.pollInterval;if(!s){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===s)){Te(s,12);var o=i||(this.pollingInfo={});o.interval=s;var a=function(){n.pollingInfo&&(Gi(n.queryInfo.networkStatus)?l():n.reobserve({fetchPolicy:n.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},xe.poll).then(l,l))},l=function(){var c=n.pollingInfo;c&&(clearTimeout(c.timeout),c.timeout=setTimeout(a,c.interval))};l()}}},t.prototype.updateLastResult=function(n,r){return r===void 0&&(r=this.variables),this.last=k(k({},this.last),{result:this.queryManager.assumeImmutableResults?n:pg(n),variables:r}),zt(n.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(n,r){var i=this;this.isTornDown=!1;var s=r===xe.refetch||r===xe.fetchMore||r===xe.poll,o=this.options.variables,a=this.options.fetchPolicy,l=jo(this.options,n||{}),c=s?l:gA(this.options,l);s||(this.updatePolling(),n&&n.variables&&!at(n.variables,o)&&c.fetchPolicy!=="standby"&&c.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",c),r===void 0&&(r=xe.setVariables)));var u=c.variables&&k({},c.variables),f=this.fetch(c,r),d={next:function(h){i.reportResult(h,u)},error:function(h){i.reportError(h,u)}};return s||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=d),f.addObserver(d),f.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(n,r){var i=this.getLastError();(i||this.isDifferentFromLastResult(n))&&((i||!n.partial||this.options.returnPartialData)&&this.updateLastResult(n,r),Ai(this.observers,"next",n))},t.prototype.reportError=function(n,r){var i=k(k({},this.getLastResult()),{error:n,errors:n.graphQLErrors,networkStatus:xe.error,loading:!1});this.updateLastResult(i,r),Ai(this.observers,"error",this.last.error=n)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(Fe);vg(Vl);function qg(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return n==="cache-and-network"||n==="network-only"?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,typeof r=="function"?r.apply(this,arguments):n}}):e.reobserve()}function yA(e){}var Hg=function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,s=t.fragmentMatcher;this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),s&&this.setFragmentMatcher(s)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=Sl(n.resolvers,r)}):this.resolvers=Sl(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){var n=t.document,r=t.remoteResult,i=t.context,s=t.variables,o=t.onlyRunForcedResolvers,a=o===void 0?!1:o;return yn(this,void 0,void 0,function(){return bn(this,function(l){return n?[2,this.resolveDocument(n,r.data,i,s,this.fragmentMatcher,a).then(function(c){return k(k({},r),{data:c.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return Qc(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return jI(t)},e.prototype.prepareContext=function(t){var n=this.cache;return k(k({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t,n,r){return n===void 0&&(n={}),r===void 0&&(r={}),yn(this,void 0,void 0,function(){return bn(this,function(i){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,n)||{},this.prepareContext(r),n).then(function(s){return k(k({},n),s.exportedVariables)})]:[2,k({},n)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return Yt(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return Hc}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:MI(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n,r,i,s,o){return r===void 0&&(r={}),i===void 0&&(i={}),s===void 0&&(s=function(){return!0}),o===void 0&&(o=!1),yn(this,void 0,void 0,function(){var a,l,c,u,f,d,h,p,v;return bn(this,function(b){return a=Jc(t),l=Gc(t),c=zc(l),u=a.operation,f=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",d=this,h=d.cache,p=d.client,v={fragmentMap:c,context:k(k({},r),{cache:h,client:p}),variables:i,fragmentMatcher:s,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,n,v).then(function(y){return{result:y,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r){return yn(this,void 0,void 0,function(){var i,s,o,a,l,c=this;return bn(this,function(u){return i=r.fragmentMap,s=r.context,o=r.variables,a=[n],l=function(f){return yn(c,void 0,void 0,function(){var d,h;return bn(this,function(p){return Fo(f,o)?an(f)?[2,this.resolveField(f,n,r).then(function(v){var b;typeof v<"u"&&a.push((b={},b[$r(f)]=v,b))})]:(og(f)?d=f:(d=i[f.name.value],Te(d,11)),d&&d.typeCondition&&(h=d.typeCondition.name.value,r.fragmentMatcher(n,h,s))?[2,this.resolveSelectionSet(d.selectionSet,n,r).then(function(v){a.push(v)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(l)).then(function(){return eu(a)})]})})},e.prototype.resolveField=function(t,n,r){return yn(this,void 0,void 0,function(){var i,s,o,a,l,c,u,f,d,h=this;return bn(this,function(p){return i=r.variables,s=t.name.value,o=$r(t),a=s!==o,l=n[o]||n[s],c=Promise.resolve(l),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(u=n.__typename||r.defaultOperationType,f=this.resolvers&&this.resolvers[u],f&&(d=f[a?s:o],d&&(c=Promise.resolve(uu.withValue(this.cache,d,[n,Po(t,i),r.context,{field:t,fragmentMap:r.fragmentMap}]))))),[2,c.then(function(v){if(v===void 0&&(v=l),t.directives&&t.directives.forEach(function(b){b.name.value==="export"&&b.arguments&&b.arguments.forEach(function(y){y.name.value==="as"&&y.value.kind==="StringValue"&&(r.exportedVariables[y.value.value]=v)})}),!t.selectionSet||v==null)return v;if(Array.isArray(v))return h.resolveSubSelectedArray(t,v,r);if(t.selectionSet)return h.resolveSelectionSet(t.selectionSet,v,r)})]})})},e.prototype.resolveSubSelectedArray=function(t,n,r){var i=this;return Promise.all(n.map(function(s){if(s===null)return null;if(Array.isArray(s))return i.resolveSubSelectedArray(t,s,r);if(t.selectionSet)return i.resolveSelectionSet(t.selectionSet,s,r)}))},e}(),pr=new(nr?WeakMap:Map);function ya(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return pr.set(e,(pr.get(e)+1)%1e15),n.apply(this,arguments)})}function xh(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var ba=function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=t.cache;pr.has(r)||(pr.set(r,0),ya(r,"evict"),ya(r,"modify"),ya(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||xe.loading;return this.variables&&this.networkStatus!==xe.loading&&!at(this.variables,t.variables)&&(n=xe.setVariables),at(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.reset=function(){xh(this),this.dirty=!1},e.prototype.getDiff=function(t){t===void 0&&(t=this.variables);var n=this.getDiffOptions(t);if(this.lastDiff&&at(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=t);var r=this.observableQuery;if(r&&r.options.fetchPolicy==="no-cache")return{complete:!1};var i=this.cache.diff(n);return this.updateLastDiff(i,n),i},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!at(r&&r.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},e.prototype.setObservableQuery=function(t){var n=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){var r=n.getDiff();r.fromOptimisticTransaction?t.observe():qg(t)})):delete this.oqListener)},e.prototype.notify=function(){var t=this;xh(this),this.shouldNotify()&&this.listeners.forEach(function(n){return n(t)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Gi(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if(t!=="cache-only"&&t!=="cache-and-network")return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(n){return n.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=k(k({},this.getDiffOptions(t)),{watcher:this,callback:function(s){return n.setDiff(s)}});(!this.lastWatch||!at(i,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===pr.get(this.cache)&&at(n,r.variables)&&at(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var s=this,o=zt(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&zt(t.incremental)){var a=this.getDiff().result,l=new Zn;t.incremental.forEach(function(c){for(var u=c.data,f=c.path,d=c.errors,h=f.length-1;h>=0;--h){var p=f[h],v=!isNaN(+p),b=v?[]:{};b[p]=u,u=b}d&&o.push.apply(o,d),a=l.merge(a,u)}),t.data=a}this.graphQLErrors=o,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(Ul(t,r.errorPolicy)?this.cache.performTransaction(function(c){if(s.shouldWrite(t,r.variables))c.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),s.lastWrite={result:t,variables:r.variables,dmCount:pr.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){t.data=s.lastDiff.diff.result;return}var u=s.getDiffOptions(r.variables),f=c.diff(u);s.stopped||s.updateWatch(r.variables),s.updateLastDiff(f,u),f.complete&&(t.data=f.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=xe.ready},e.prototype.markError=function(t){return this.networkStatus=xe.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function Ul(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!Ps(e);return!r&&n&&e.data&&(r=!0),r}var bA=Object.prototype.hasOwnProperty,_A=function(){function e(t){var n=t.cache,r=t.link,i=t.defaultOptions,s=t.queryDeduplication,o=s===void 0?!1:s,a=t.onBroadcast,l=t.ssrMode,c=l===void 0?!1:l,u=t.clientAwareness,f=u===void 0?{}:u,d=t.localState,h=t.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(nr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=n,this.link=r,this.defaultOptions=i||Object.create(null),this.queryDeduplication=o,this.clientAwareness=f,this.localState=d||new Hg({cache:n}),this.ssrMode=c,this.assumeImmutableResults=!!h,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(new ht(13))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){var n,r,i=t.mutation,s=t.variables,o=t.optimisticResponse,a=t.updateQueries,l=t.refetchQueries,c=l===void 0?[]:l,u=t.awaitRefetchQueries,f=u===void 0?!1:u,d=t.update,h=t.onQueryUpdated,p=t.fetchPolicy,v=p===void 0?((n=this.defaultOptions.mutate)===null||n===void 0?void 0:n.fetchPolicy)||"network-only":p,b=t.errorPolicy,y=b===void 0?((r=this.defaultOptions.mutate)===null||r===void 0?void 0:r.errorPolicy)||"none":b,O=t.keepRootFields,_=t.context;return yn(this,void 0,void 0,function(){var w,S,x,C,A,M;return bn(this,function(B){switch(B.label){case 0:return Te(i,14),Te(v==="network-only"||v==="no-cache",15),w=this.generateMutationId(),S=this.transform(i),x=S.document,C=S.hasClientExports,i=this.cache.transformForLink(x),s=this.getVariables(i,s),C?[4,this.localState.addExportedVariables(i,s,_)]:[3,2];case 1:s=B.sent(),B.label=2;case 2:return A=this.mutationStore&&(this.mutationStore[w]={mutation:i,variables:s,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:w,document:i,variables:s,fetchPolicy:v,errorPolicy:y,context:_,updateQueries:a,update:d,keepRootFields:O}),this.broadcastQueries(),M=this,[2,new Promise(function(z,V){return la(M.getObservableFromLink(i,k(k({},_),{optimisticResponse:o}),s,!1),function(J){if(Ps(J)&&y==="none")throw new tn({graphQLErrors:J.errors});A&&(A.loading=!1,A.error=null);var Z=k({},J);return typeof c=="function"&&(c=c(Z)),y==="ignore"&&Ps(Z)&&delete Z.errors,M.markMutationResult({mutationId:w,result:Z,document:i,variables:s,fetchPolicy:v,errorPolicy:y,context:_,update:d,updateQueries:a,awaitRefetchQueries:f,refetchQueries:c,removeOptimistic:o?w:void 0,onQueryUpdated:h,keepRootFields:O})}).subscribe({next:function(J){M.broadcastQueries(),z(J)},error:function(J){A&&(A.loading=!1,A.error=J),o&&M.cache.removeOptimistic(w),M.broadcastQueries(),V(J instanceof tn?J:new tn({networkError:J}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,s=[],o=t.fetchPolicy==="no-cache";if(!o&&Ul(i,t.errorPolicy)){s.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables});var a=t.updateQueries;a&&this.queries.forEach(function(c,u){var f=c.observableQuery,d=f&&f.queryName;if(!(!d||!bA.call(a,d))){var h=a[d],p=r.queries.get(u),v=p.document,b=p.variables,y=n.diff({query:v,variables:b,returnPartialData:!0,optimistic:!1}),O=y.result,_=y.complete;if(_&&O){var w=h(O,{mutationResult:i,queryName:v&&Tl(v)||void 0,queryVariables:b});w&&s.push({result:w,dataId:"ROOT_QUERY",query:v,variables:b})}}})}if(s.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(c){o||s.forEach(function(d){return c.write(d)});var u=t.update;if(u){if(!o){var f=c.diff({id:"ROOT_MUTATION",query:r.transform(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});f.complete&&!L1(i)&&(i=k(k({},i),{data:f.result}))}u(c,i,{context:t.context,variables:t.variables})}!o&&!t.keepRootFields&&c.modify({id:"ROOT_MUTATION",fields:function(d,h){var p=h.fieldName,v=h.DELETE;return p==="__typename"?d:v}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(c){return l.push(c)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(l).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables):t;return this.cache.recordOptimisticTransaction(function(s){try{r.markMutationResult(k(k({},n),{result:{data:i}}),s)}catch{}},n.mutationId)},e.prototype.fetchQuery=function(t,n,r){return this.fetchQueryObservable(t,n,r).promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){var n=this.transformCache;if(!n.has(t)){var r=this.cache.transformDocument(t),i=LI(r),s=this.localState.clientQuery(r),o=i&&this.localState.serverQuery(i),a={document:r,hasClientExports:hI(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:s,serverQuery:o,defaultVars:Xc(cs(r)),asQuery:k(k({},r),{definitions:r.definitions.map(function(c){return c.kind==="OperationDefinition"&&c.operation!=="query"?k(k({},c),{operation:"query"}):c})})},l=function(c){c&&!n.has(c)&&n.set(c,a)};l(t),l(r),l(s),l(o)}return n.get(t)},e.prototype.getVariables=function(t,n){return k(k({},this.transform(t).defaultVars),n)},e.prototype.watchQuery=function(t){t=k(k({},t),{variables:this.getVariables(t.query,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var n=new ba(this),r=new Vl({queryManager:this,queryInfo:n,options:t});return this.queries.set(r.queryId,n),n.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(t,n){var r=this;return n===void 0&&(n=this.generateQueryId()),Te(t.query,16),Te(t.query.kind==="Document",17),Te(!t.returnPartialData,18),Te(!t.pollInterval,19),this.fetchQuery(n,t).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}),this.cancelPendingFetches(new ht(20)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=xe.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,s=new Set;return Array.isArray(t)&&t.forEach(function(o){typeof o=="string"?i.set(o,!1):gI(o)?i.set(n.transform(o).document,!1):Ge(o)&&o.query&&s.add(o)}),this.queries.forEach(function(o,a){var l=o.observableQuery,c=o.document;if(l){if(t==="all"){r.set(a,l);return}var u=l.queryName,f=l.options.fetchPolicy;if(f==="standby"||t==="active"&&!l.hasObservers())return;(t==="active"||u&&i.has(u)||c&&i.has(c))&&(r.set(a,l),u&&i.set(u,!0),c&&i.set(c,!0))}}),s.size&&s.forEach(function(o){var a=Xd("legacyOneTimeQuery"),l=n.getQuery(a).init({document:o.query,variables:o.variables}),c=new Vl({queryManager:n,queryInfo:l,options:k(k({},o),{fetchPolicy:"network-only"})});Te(c.queryId===a),l.setObservableQuery(c),r.set(a,c)}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,s){var o=i.options.fetchPolicy;i.resetLastResults(),(t||o!=="standby"&&o!=="cache-only")&&r.push(i.refetch()),n.getQuery(s).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.fetchPolicy,s=t.errorPolicy,o=t.variables,a=t.context,l=a===void 0?{}:a;r=this.transform(r).document,o=this.getVariables(r,o);var c=function(f){return n.getObservableFromLink(r,l,f).map(function(d){if(i!=="no-cache"&&(Ul(d,s)&&n.cache.write({query:r,result:d.data,dataId:"ROOT_SUBSCRIPTION",variables:f}),n.broadcastQueries()),Ps(d))throw new tn({graphQLErrors:d.errors});return d})};if(this.transform(r).hasClientExports){var u=this.localState.addExportedVariables(r,o,l).then(c);return new Fe(function(f){var d=null;return u.then(function(h){return d=h.subscribe(f)},f.error),function(){return d&&d.unsubscribe()}})}return c(o)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i){var s=this,o;i===void 0&&(i=(o=n==null?void 0:n.queryDeduplication)!==null&&o!==void 0?o:this.queryDeduplication);var a,l=this.transform(t).serverQuery;if(l){var c=this,u=c.inFlightLinkObservables,f=c.link,d={query:l,variables:r,operationName:Tl(l)||void 0,context:this.prepareContext(k(k({},n),{forceFetch:!i}))};if(n=d.context,i){var h=u.get(l)||new Map;u.set(l,h);var p=Gn(r);if(a=h.get(p),!a){var v=new hi([Nl(f,d)]);h.set(p,a=v),v.beforeNext(function(){h.delete(p)&&h.size<1&&u.delete(l)})}}else a=new hi([Nl(f,d)])}else a=new hi([Fe.of({data:{}})]),n=this.prepareContext(n);var b=this.transform(t).clientQuery;return b&&(a=la(a,function(y){return s.localState.runResolvers({document:b,remoteResult:y,context:n,variables:r})})),a},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId();r=pg(r);var s=this.cache.transformForLink(this.transform(t.document).document);return la(this.getObservableFromLink(s,r.context,r.variables),function(o){var a=zt(o.errors)?o.errors.slice(0):[];"incremental"in o&&zt(o.incremental)&&o.incremental.forEach(function(u){u.errors&&a.push.apply(a,u.errors)});var l=zt(a);if(i>=t.lastRequestId){if(l&&r.errorPolicy==="none")throw t.markError(new tn({graphQLErrors:a}));t.markResult(o,s,r,n),t.markReady()}var c={data:o.data,loading:!1,networkStatus:xe.ready};return l&&r.errorPolicy!=="ignore"&&(c.errors=a,c.networkStatus=xe.error),c},function(o){var a=Wg(o)?o:new tn({networkError:o});throw i>=t.lastRequestId&&t.markError(a),a})},e.prototype.fetchQueryObservable=function(t,n,r){var i=this;r===void 0&&(r=xe.loading);var s=this.transform(n.query).document,o=this.getVariables(s,n.variables),a=this.getQuery(t),l=this.defaultOptions.watchQuery,c=n.fetchPolicy,u=c===void 0?l&&l.fetchPolicy||"cache-first":c,f=n.errorPolicy,d=f===void 0?l&&l.errorPolicy||"none":f,h=n.returnPartialData,p=h===void 0?!1:h,v=n.notifyOnNetworkStatusChange,b=v===void 0?!1:v,y=n.context,O=y===void 0?{}:y,_=Object.assign({},n,{query:s,variables:o,fetchPolicy:u,errorPolicy:d,returnPartialData:p,notifyOnNetworkStatusChange:b,context:O}),w=function(C){_.variables=C;var A=i.fetchQueryByPolicy(a,_,r);return _.fetchPolicy!=="standby"&&A.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",n),A},S=function(){return i.fetchCancelFns.delete(t)};this.fetchCancelFns.set(t,function(C){S(),setTimeout(function(){return x.cancel(C)})});var x=new hi(this.transform(_.query).hasClientExports?this.localState.addExportedVariables(_.query,_.variables,_.context).then(w):w(_.variables));return x.promise.then(S,S),x},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,s=t.optimistic,o=s===void 0?!1:s,a=t.removeOptimistic,l=a===void 0?o?Xd("refetchQueries"):void 0:a,c=t.onQueryUpdated,u=new Map;i&&this.getObservableQueries(i).forEach(function(d,h){u.set(h,{oq:d,lastDiff:n.getQuery(h).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:o&&l||!1,removeOptimistic:l,onWatchUpdated:function(d,h,p){var v=d.watcher instanceof ba&&d.watcher.observableQuery;if(v){if(c){u.delete(v.queryId);var b=c(v,h,p);return b===!0&&(b=v.refetch()),b!==!1&&f.set(v,b),b}c!==null&&u.set(v.queryId,{oq:v,lastDiff:p,diff:h})}}}),u.size&&u.forEach(function(d,h){var p=d.oq,v=d.lastDiff,b=d.diff,y;if(c){if(!b){var O=p.queryInfo;O.reset(),b=O.getDiff()}y=c(p,b,v)}(!c||y===!0)&&(y=p.refetch()),y!==!1&&f.set(p,y),h.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(h)}),l&&this.cache.removeOptimistic(l),f},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,s=n.query,o=n.variables,a=n.fetchPolicy,l=n.refetchWritePolicy,c=n.errorPolicy,u=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,h=t.networkStatus;t.init({document:this.transform(s).document,variables:o,networkStatus:r});var p=function(){return t.getDiff(o)},v=function(w,S){S===void 0&&(S=t.networkStatus||xe.loading);var x=w.result,C=function(A){return Fe.of(k({data:A,loading:Gi(S),networkStatus:S},w.complete?null:{partial:!0}))};return x&&i.transform(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:x},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(A){return C(A.data||void 0)}):C(x)},b=a==="no-cache"?0:r===xe.refetch&&l!=="merge"?1:2,y=function(){return i.getResultsFromLink(t,b,{variables:o,context:f,fetchPolicy:a,errorPolicy:c})},O=d&&typeof h=="number"&&h!==r&&Gi(r);switch(a){default:case"cache-first":{var _=p();return _.complete?[v(_,t.markReady())]:u||O?[v(_),y()]:[y()]}case"cache-and-network":{var _=p();return _.complete||u||O?[v(_),y()]:[y()]}case"cache-only":return[v(p(),t.markReady())];case"network-only":return O?[v(p()),y()]:[y()];case"no-cache":return O?[v(t.getDiff()),y()]:[y()];case"standby":return[]}},e.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new ba(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return k(k({},n),{clientAwareness:this.clientAwareness})},e}(),EA=function(){function e(t){var n=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=t.uri,i=t.credentials,s=t.headers,o=t.cache,a=t.ssrMode,l=a===void 0?!1:a,c=t.ssrForceFetchDelay,u=c===void 0?0:c,f=t.connectToDevTools,d=f===void 0?typeof window=="object"&&!window.__APOLLO_CLIENT__&&!1:f,h=t.queryDeduplication,p=h===void 0?!0:h,v=t.defaultOptions,b=t.assumeImmutableResults,y=b===void 0?!1:b,O=t.resolvers,_=t.typeDefs,w=t.fragmentMatcher,S=t.name,x=t.version,C=t.link;if(C||(C=r?new yg({uri:r,credentials:i,headers:s}):Jr.empty()),!o)throw new ht(9);this.link=C,this.cache=o,this.disableNetworkFetches=l||u>0,this.queryDeduplication=p,this.defaultOptions=v||Object.create(null),this.typeDefs=_,u&&setTimeout(function(){return n.disableNetworkFetches=!1},u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),d&&typeof window=="object"&&(window.__APOLLO_CLIENT__=this),this.version=n1,this.localState=new Hg({cache:o,client:this,resolvers:O,fragmentMatcher:w}),this.queryManager=new _A({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:p,ssrMode:l,clientAwareness:{name:S,version:x},localState:this.localState,assumeImmutableResults:y,onBroadcast:d?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=ca(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=k(k({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=ca(this.defaultOptions.query,t)),Te(t.fetchPolicy!=="cache-and-network",10),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=k(k({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=ca(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){this.cache.writeQuery(t),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(t){this.cache.writeFragment(t),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return Nl(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];n.forEach(function(o,a){r.push(a),i.push(o)});var s=Promise.all(i);return s.queries=r,s.results=i,s.catch(function(o){}),s},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},e}(),Ms=new Map,Bl=new Map,Qg=!0,to=!1;function zg(e){return e.replace(/[\s,]+/g," ").trim()}function OA(e){return zg(e.source.body.substring(e.start,e.end))}function wA(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,s=OA(r.loc),o=Bl.get(i);o&&!o.has(s)?Qg&&console.warn("Warning: fragment with name "+i+` already exists. +graphql-tag enforces all fragment names across your application to be unique; read more about +this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):o||Bl.set(i,o=new Set),o.add(s),t.has(s)||(t.add(s),n.push(r))}else n.push(r)}),k(k({},e),{definitions:n})}function TA(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var s=r[i];s&&typeof s=="object"&&t.add(s)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function SA(e){var t=zg(e);if(!Ms.has(t)){var n=tI(e,{experimentalFragmentVariables:to,allowLegacyFragmentVariables:to});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");Ms.set(t,TA(wA(n)))}return Ms.get(t)}function Ji(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];typeof e=="string"&&(e=[e]);var r=e[0];return t.forEach(function(i,s){i&&i.kind==="Document"?r+=i.loc.source.body:r+=i,r+=e[s+1]}),SA(r)}function CA(){Ms.clear(),Bl.clear()}function Kg(){Qg=!1}function xA(){to=!0}function IA(){to=!1}var ai={gql:Ji,resetCaches:CA,disableFragmentWarnings:Kg,enableExperimentalFragmentVariables:xA,disableExperimentalFragmentVariables:IA};(function(e){e.gql=ai.gql,e.resetCaches=ai.resetCaches,e.disableFragmentWarnings=ai.disableFragmentWarnings,e.enableExperimentalFragmentVariables=ai.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=ai.disableExperimentalFragmentVariables})(Ji||(Ji={}));Ji.default=Ji;var _a=Math.floor(Math.random()*16777215),Ih=Ae.index=parseInt(Math.random()*16777215,10),Ah=(typeof process>"u"||typeof process.pid!="number"?Math.floor(Math.random()*1e5):process.pid)%65535,js=function(e){return!!(e!=null&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))},Yg=[];for(var Tt=0;Tt<256;Tt++)Yg[Tt]=(Tt<=15?"0":"")+Tt.toString(16);var Nh=new RegExp("^[0-9a-fA-F]{24}$"),Xi=[];Tt=0;for(;Tt<10;)Xi[48+Tt]=Tt++;for(;Tt<16;)Xi[65-10+Tt]=Xi[97-10+Tt]=Tt++;function Ae(e){if(!(this instanceof Ae))return new Ae(e);if(e&&(e instanceof Ae||e._bsontype==="ObjectID"))return e;if(this._bsontype="ObjectID",e==null||typeof e=="number"){this.id=this.generate(e);return}var t=Ae.isValid(e);if(!t&&e!=null)throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");if(t&&typeof e=="string"&&e.length===24)return Ae.createFromHexString(e);if(e!=null&&e.length===12)this.id=e;else{if(e!=null&&typeof e.toHexString=="function")return e;throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters")}}var AA=Ae;Ae.default=Ae;Ae.createFromTime=function(e){return e=parseInt(e,10)%4294967295,new Ae(RA(8,e)+"0000000000000000")};Ae.createFromHexString=function(e){if(typeof e>"u"||e!=null&&e.length!==24)throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");for(var t="",n=0;n<24;)t+=String.fromCharCode(Xi[e.charCodeAt(n++)]<<4|Xi[e.charCodeAt(n++)]);return new Ae(t)};Ae.isValid=function(e){return e==null?!1:typeof e=="number"?!0:typeof e=="string"?e.length===12||e.length===24&&Nh.test(e):e instanceof Ae||js(e)?!0:typeof e.toHexString=="function"&&(e.id instanceof _Buffer||typeof e.id=="string")?e.id.length===12||e.id.length===24&&Nh.test(e.id):!1};Ae.prototype={constructor:Ae,toHexString:function(){if(!this.id||!this.id.length)throw new Error("invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is ["+JSON.stringify(this.id)+"]");if(this.id.length===24)return this.id;if(js(this.id))return this.id.toString("hex");for(var e="",t=0;t<this.id.length;t++)e+=Yg[this.id.charCodeAt(t)];return e},equals:function(e){return e instanceof Ae?this.toString()===e.toString():typeof e=="string"&&Ae.isValid(e)&&e.length===12&&js(this.id)?e===this.id.toString("binary"):typeof e=="string"&&Ae.isValid(e)&&e.length===24?e.toLowerCase()===this.toHexString():typeof e=="string"&&Ae.isValid(e)&&e.length===12?e===this.id:e!=null&&(e instanceof Ae||e.toHexString)?e.toHexString()===this.toHexString():!1},getTimestamp:function(){var e=new Date,t;return js(this.id)?t=this.id[3]|this.id[2]<<8|this.id[1]<<16|this.id[0]<<24:t=this.id.charCodeAt(3)|this.id.charCodeAt(2)<<8|this.id.charCodeAt(1)<<16|this.id.charCodeAt(0)<<24,e.setTime(Math.floor(t)*1e3),e},generate:function(e){typeof e!="number"&&(e=~~(Date.now()/1e3)),e=parseInt(e,10)%4294967295;var t=NA();return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255,_a>>16&255,_a>>8&255,_a&255,Ah>>8&255,Ah&255,t>>16&255,t>>8&255,t&255)}};function NA(){return Ih=(Ih+1)%16777215}function RA(e,t){return t=t.toString(16),t.length===e?t:"00000000".substring(t.length,e)+t}var kA=Symbol&&Symbol.for&&Symbol.for("nodejs.util.inspect.custom")||"inspect";Ae.prototype[kA]=function(){return"ObjectID("+this+")"};Ae.prototype.toJSON=Ae.prototype.toHexString;Ae.prototype.toString=Ae.prototype.toHexString;function Wl(e,t,n,r){var i,s=!1,o=0;function a(){i&&clearTimeout(i)}function l(){a(),s=!0}typeof t!="boolean"&&(r=n,n=t,t=void 0);function c(){for(var u=arguments.length,f=new Array(u),d=0;d<u;d++)f[d]=arguments[d];var h=this,p=Date.now()-o;if(s)return;function v(){o=Date.now(),n.apply(h,f)}function b(){i=void 0}r&&!i&&v(),a(),r===void 0&&p>e?v():t!==!0&&(i=setTimeout(r?b:v,r===void 0?e-p:e))}return c.cancel=l,c}function LA(e,t,n){return n===void 0?Wl(e,t,!1):Wl(e,n,t!==!1)}var pu=Symbol("default-apollo-client"),FA=Symbol("apollo-clients");function Ea(e,t){return e?e.default:t!=null?t:void 0}function Oa(e,t){if(!e)throw new Error(`No apolloClients injection found, tried to resolve '${t}' clientId`);return e[t]}function Gg(e){let t;const n=PA;if(!qe())t=i=>i?Oa(n,i):Ea(n,n.default);else{const i=dt(FA,null),s=dt(pu,null);t=o=>{if(o){const l=Oa(i,o);return l||Oa(n,o)}const a=Ea(i,s);return a||Ea(n,n.default)}}function r(i=e){const s=t(i);if(!s)throw new Error(`Apollo client with id ${i!=null?i:"default"} not found. Use provideApolloClient() if you are outside of a component setup.`);return s}return{resolveClient:r,get client(){return r()}}}var PA={};function wa(e){return Oe(e)?e:typeof e=="function"?re(e):H(e)}function DA(e){return Oe(e)?e:typeof e=="function"?re(e):e&&_t(e)}function no(){const e=[];function t(s){return e.push(s),{off:()=>n(s)}}function n(s){const o=e.indexOf(s);o!==-1&&e.splice(o,1)}function r(s){for(const o of e)o(s)}function i(){return e.length}return{on:t,off:n,trigger:r,getCount:i}}function MA(){var e,t,n;const r=qe(),i=(n=(e=r==null?void 0:r.$root)!=null?e:r==null?void 0:r.root)!=null?n:(t=r==null?void 0:r.proxy)==null?void 0:t.$root;if(!i)throw new Error("Instance $root not found");let s;return i._apolloAppTracking?s=i._apolloAppTracking:s=i._apolloAppTracking={queries:H(0),mutations:H(0),subscriptions:H(0),components:new Map},{appTracking:s}}function jA(){const e=qe();if(!e)throw new Error("getCurrentTracking must be used during a component setup");const{appTracking:t}=MA();let n;return t.components.has(e)?n=t.components.get(e):(t.components.set(e,n={queries:H(0),mutations:H(0),subscriptions:H(0)}),cn(()=>{t.components.delete(e)})),{appTracking:t,tracking:n}}function Jg(e,t){const{appTracking:n,tracking:r}=jA();de(e,(i,s)=>{if(s!=null&&i!==s){const o=i?1:-1;r[t].value+=o,n[t].value+=o}},{immediate:!0}),ts(()=>{e.value&&(r[t].value--,n[t].value--)})}function $A(e){Jg(e,"queries")}function VA(e){Jg(e,"mutations")}function Xg(e){return e instanceof Error?Wg(e)?e:new tn({networkError:e,errorMessage:e.message}):new tn({networkError:Object.assign(new Error,{originalError:e}),errorMessage:String(e)})}function UA(e){return new tn({graphQLErrors:e,errorMessage:`GraphQL response contains errors: ${e.map(t=>t.message).join(" | ")}`})}var li=typeof window>"u";function BA(e,t,n){return Zg(e,t,n)}function Zg(e,t,n={},r=!1){var i;const s=qe(),o=H(),a=wa(e),l=wa(t),c=DA(n),u=H(),f=no(),d=H(null),h=no(),p=H(!1);s&&$A(p);const v=H();let b,y;s&&((i=Sp)==null||i(()=>{var E;if(!(!ne.value||li&&((E=o.value)==null?void 0:E.prefetch)===!1))return new Promise((m,g)=>{b=()=>{m(),b=void 0,y=void 0},y=T=>{g(T),b=void 0,y=void 0}}).then(Z).catch(Z)}));const{resolveClient:O}=Gg(),_=H();let w,S=!1;function x(){var E,m,g;if(S||!ne.value||li&&((E=o.value)==null?void 0:E.prefetch)===!1){b&&b();return}S=!0,d.value=null,p.value=!0;const T=O((m=o.value)==null?void 0:m.clientId);if(_.value=T.watchQuery({query:je,variables:Ce,...o.value,...li&&((g=o.value)==null?void 0:g.fetchPolicy)!=="no-cache"?{fetchPolicy:"network-only"}:{}}),C(),!li)for(const I of q)K(I)}function C(){w&&!w.closed||!_.value||(w=_.value.subscribe({next:A,error:B}))}function A(E){var m;d.value=null,M(E),!E.error&&((m=E.errors)==null?void 0:m.length)&&z(UA(E.errors)),b&&(b(),Z())}function M(E){u.value=E.data&&Object.keys(E.data).length===0?void 0:E.data,p.value=E.loading,v.value=E.networkStatus,f.trigger(E)}function B(E){var m,g,T,I;const L=Xg(E),j=O((m=o.value)==null?void 0:m.clientId),$=((g=o.value)==null?void 0:g.errorPolicy)||((I=(T=j.defaultOptions)==null?void 0:T.watchQuery)==null?void 0:I.errorPolicy);$&&$!=="none"&&M(_.value.getCurrentResult()),z(L),y&&(y(L),Z()),V()}function z(E){d.value=E,p.value=!1,v.value=8,h.trigger(E)}function V(){if(!_.value)return;const E=_.value.getLastError(),m=_.value.getLastResult();_.value.resetLastResults(),C(),Object.assign(_.value,{lastError:E,lastResult:m})}let J=[];function Z(){b&&b(),S&&(S=!1,p.value=!1,J.forEach(E=>E()),J=[],_.value&&(_.value.stopPolling(),_.value=null),w&&(w.unsubscribe(),w=void 0))}let he=!1;function ce(){!S||he||(he=!0,tr(()=>{S&&(Z(),x()),he=!1}))}let se,ee=!1;function Me(){var E,m;o.value?((E=o.value)!=null&&E.throttle?se=Wl(o.value.throttle,ce):(m=o.value)!=null&&m.debounce?se=LA(o.value.debounce,ce):se=ce,ee=!0):se=ce}function Se(){ee||Me(),se()}let je;de(a,E=>{je=E,Se()},{immediate:!0});let Ce,pt;de(l,(E,m)=>{const g=JSON.stringify(E);g!==pt&&(Ce=E,Se()),pt=g},{deep:!0,immediate:!0}),de(()=>Ne(c),E=>{o.value&&(o.value.throttle!==E.throttle||o.value.debounce!==E.debounce)&&Me(),o.value=E,Se()},{deep:!0,immediate:!0});function Et(E=void 0){if(_.value)return E&&(Ce=E),d.value=null,p.value=!0,_.value.refetch(E).then(m=>{var g;const T=(g=_.value)==null?void 0:g.getCurrentResult();return T&&M(T),m})}function F(E){if(_.value)return d.value=null,p.value=!0,_.value.fetchMore(E).then(m=>{var g;const T=(g=_.value)==null?void 0:g.getCurrentResult();return T&&M(T),m})}const q=[];function W(E){if(li)return;const m=wa(E);de(m,(g,T,I)=>{const L=q.findIndex($=>$.options===T);L!==-1&&q.splice(L,1);const j={options:g,unsubscribeFns:[]};q.push(j),K(j),I(()=>{j.unsubscribeFns.forEach($=>$()),j.unsubscribeFns=[]})},{immediate:!0})}function K(E){if(!S)return;if(!_.value)throw new Error("Query is not defined");const m=_.value.subscribeToMore(E.options);J.push(m),E.unsubscribeFns.push(m)}const oe=H(r),ye=re(()=>!o.value||o.value.enabled==null||o.value.enabled),ne=re(()=>ye.value&&!oe.value);return de(ne,E=>{E?x():Z()},{immediate:!0}),s&&ts(()=>{Z(),q.length=0}),{result:u,loading:p,networkStatus:v,error:d,start:x,stop:Z,restart:Se,forceDisabled:oe,document:a,variables:l,options:c,query:_,refetch:Et,fetchMore:F,subscribeToMore:W,onResult:f.on,onError:h.on}}function PR(e,t,n){const r=Zg(e,t,n,!0);function i(s,o,a){s&&(r.document.value=s),o&&(r.variables.value=o),a&&Object.assign(Oe(r.options)?r.options.value:r.options,a),r.forceDisabled.value=!1}return{...r,load:i}}function DR(e,t={}){const n=qe(),r=H(!1);n&&VA(r);const i=H(null),s=H(!1),o=no(),a=no(),{resolveClient:l}=Gg();async function c(u,f={}){let d;typeof e=="function"?d=e():Oe(e)?d=e.value:d=e;let h;typeof t=="function"?h=t():Oe(t)?h=t.value:h=t;const p=l(h.clientId);i.value=null,r.value=!0,s.value=!0;try{const v=await p.mutate({mutation:d,...h,...f,variables:(u!=null?u:h.variables)?{...h.variables,...u}:void 0});return r.value=!1,o.trigger(v),v}catch(v){const b=Xg(v);if(i.value=b,r.value=!1,a.trigger(b),h.throws==="always"||h.throws!=="never"&&!a.getCount())throw b}return null}return n&&ts(()=>{r.value=!1}),{mutate:c,loading:r,error:i,called:s,onDone:o.on,onError:a.on}}function MR(e,t,n){return console.warn(`'useResult' is deprecated and will be removed soon. Plase use a computed instead. +Before: +const items = useResult(result, [], data => data.someField.myItems) +After: +const items = computed(() => result.value?.someField.myItems ?? [])`),re(()=>{const r=e.value;if(r)if(n)try{return n(r)}catch{}else{const i=Object.keys(r);return i.length===1?r[i[0]]:r}return t})}var ey={},Wr={};const WA=sS(uI);Object.defineProperty(Wr,"__esModule",{value:!0});Wr.logErrorMessages=Wr.getErrorMessages=void 0;const qA=WA;function ty(e){const t=[],{graphQLErrors:n,networkError:r}=e,i="operation"in e?e.operation:void 0,s="stack"in e?e.stack:void 0;let o;return i&&(o=(0,qA.print)(i.query)),n&&n.forEach(({message:a,locations:l})=>{t.push(`[GraphQL error] ${a}`),i&&(t.push(QA(o,l)),Object.keys(i.variables).length&&t.push(`with variables: ${JSON.stringify(i.variables,null,2)}`))}),r&&t.push(`[Network error] ${r}`),s&&t.push(s),t}Wr.getErrorMessages=ty;function HA(e,t=!0){if(ty(e).forEach(n=>{const r=/\[([\w ]*)](.*)/.exec(n);if(r){const[,i,s]=r;console.log(`%c${i}`,"color:white;border-radius:3px;background:#ff4400;font-weight:bold;padding:2px 6px;",s)}else console.log(n)}),t){let n=new Error().stack;if(n==null)return;const r=n.indexOf(` +`);n=n.slice(n.indexOf(` +`,r+1)),console.log(`%c${n}`,"color:grey;")}}Wr.logErrorMessages=HA;function QA(e,t){const n=e.split(` +`),r=n.length,i=n.slice(),s={};for(let o=0;o<r;o++)s[o]=o;if(t)for(const{line:o,column:a}of t){const l=s[o];i.splice(l,0,"▲".padStart(a," "));for(let c=l+1;c<r;c++)s[c]++}return i.join(` +`)}(function(e){var t=fi&&fi.__createBinding||(Object.create?function(r,i,s,o){o===void 0&&(o=s);var a=Object.getOwnPropertyDescriptor(i,s);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[s]}}),Object.defineProperty(r,o,a)}:function(r,i,s,o){o===void 0&&(o=s),r[o]=i[s]}),n=fi&&fi.__exportStar||function(r,i){for(var s in r)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,r,s)};Object.defineProperty(e,"__esModule",{value:!0}),n(Wr,e)})(ey);const Xt={merge:(e,t)=>t==null||t instanceof Date?t:new Date(t)},st={merge:(e,t)=>t==null||t instanceof Rh?t:new Rh(t)},zA={Author:{fields:{id:st}},AuthorTagObject:{fields:{id:st}},BaseNotificationObject:{fields:{id:st,time:Xt}},Comment:{fields:{id:st,parent:st}},Meta:{fields:{createdAt:Xt,modifiedAt:Xt}},Mutation:{fields:{serverDate:Xt}},PVSubscription:{fields:{id:st}},Playlist:{fields:{id:st}},PlaylistContentForVideo:{fields:{id:st}},PostCommentResponse:{fields:{commentId:st}},RawTagHistoryItem:{fields:{time:Xt}},RegularTagObject:{fields:{id:st}},ReplyNotificationObject:{fields:{cid:st,id:st,repliedObj:st,time:Xt}},Subscription:{fields:{serverDate:Xt}},SystemNotificationObject:{fields:{id:st,time:Xt}},Thread:{fields:{id:st}},User:{fields:{id:st}},Video:{fields:{id:st}},VideoItem:{fields:{uploadTime:Xt}}},KA={possibleTypes:{NotificationObject:["BaseNotificationObject","ReplyNotificationObject","SystemNotificationObject"],TagObject:["AuthorTagObject","RegularTagObject"]}};Kg();class Rh extends AA{toJSON(){return this.toHexString()}}function ny(){const e=t1([new yg({uri:"https://patchyvideo.com/be/gql/graphql",credentials:"include"})]),t=i=>({read(s,{args:o}){if(!o)throw new Error("childOffsetLimitPara: args is undefined");return s&&{...s,[i]:s[i].slice(o.para.offset,o.para.offset+o.para.limit)}},merge(s,o,{args:a,mergeObjects:l}){return{...l(s,o),[i]:(()=>{const c=s?s[i].slice(0):[];if(a){const{offset:u=0}=a.para;for(let f=0;f<o[i].length;++f)c[u+f]=o[i][f]}return c})()}}}),n=new mA({possibleTypes:KA.possibleTypes,typePolicies:Sl(zA,{Query:{fields:{listPlaylist:{...t("playlists"),keyArgs:["para",["query","order","additionalConstraint"]]},listVideo:{...t("videos"),keyArgs:["para",["query","qtype","order","additionalConstraint","hidePlaceholder","lang","humanReadableTag"]]},listTagObjects:{...t("tags"),keyArgs:["para",["query","queryRegex","category","order"]]},listNotifications:{...t("notes"),keyArgs:["para",["listAll","noteType"]]},listSubscriptionVideos:{...t("videos"),keyArgs:["para",["query","queryRegex","category","order"]]}}},Playlist:{fields:{videos:{...UI()}}}})});return new EA({link:e,cache:n})}function YA(e){zn(pu,e)}function jR(){return dt(pu)||ny()}const $R=function(...t){const n=BA.apply(this,t);return n.result.value=void 0,n.loading.value=!0,n.restart(),n.onError(r=>{ey.logErrorMessages(r)}),n};var Mh,jh;window.sharedObjectKey=(jh=(Mh=window.opener)==null?void 0:Mh.sharedObjectKey)!=null?jh:Symbol("sharedObject");function VR(e){var i,s;const t=(i=e.width)!=null?i:800,n=(s=e.height)!=null?s:600,r=window.open(e.url,"_blank",`toolbar=no,location=no,status=no,menubar=no,width=${t},height=${n},left=${(window.screen.width-t)/2},top=${(window.screen.height-n)/2}`);if(!r)throw new Error("no-window");return e.sharedObject&&(r.sharedObject=e.sharedObject),{window:r}}function GA(){window.sharedObject&&zn(window.sharedObjectKey,window.sharedObject)}const JA=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t)))})};function XA(e){return Intl.getCanonicalLocales(e)}var ry=/-u(?:-[0-9a-z]{2,8})+/gi;function cr(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}function iy(e,t){for(var n=t;;){if(e.has(n))return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&n[r-2]==="-"&&(r-=2),n=n.slice(0,r)}}function ZA(e,t,n){for(var r={locale:""},i=0,s=t;i<s.length;i++){var o=s[i],a=o.replace(ry,""),l=iy(e,a);if(l)return r.locale=l,o!==a&&(r.extension=o.slice(a.length+1,o.length)),r}return r.locale=n(),r}function eN(e,t,n){var r={},i={},s={},o=new Set;e.forEach(function(v){var b=new Intl.Locale(v).minimize().toString(),y=Intl.getCanonicalLocales(v)[0]||v;r[b]=v,i[v]=v,s[y]=v,o.add(b),o.add(v),o.add(y)});for(var a,l=0,c=t;l<c.length;l++){var u=c[l];if(a)break;var f=u.replace(ry,"");if(e.has(f)){a=f;break}if(o.has(f)){a=f;break}var d=new Intl.Locale(f),h=d.maximize().toString(),p=d.minimize().toString();if(o.has(p)){a=p;break}a=iy(o,h)}return a?{locale:i[a]||s[a]||r[a]||a}:{locale:n()}}function tN(e,t){cr(t.length===2,"key must have 2 elements");var n=e.length,r="-".concat(t,"-"),i=e.indexOf(r);if(i!==-1){for(var s=i+4,o=s,a=s,l=!1;!l;){var c=e.indexOf("-",a),u=void 0;c===-1?u=n-a:u=c-a,u===2?l=!0:c===-1?(o=n,l=!0):(o=c,a=c+1)}return e.slice(s,o)}if(r="-".concat(t),i=e.indexOf(r),i!==-1&&i+3===n)return""}function nN(e,t,n,r,i,s){var o=n.localeMatcher,a;o==="lookup"?a=ZA(e,t,s):a=eN(e,t,s);for(var l=a.locale,c={locale:"",dataLocale:l},u="-u",f=0,d=r;f<d.length;f++){var h=d[f];cr(l in i,"Missing locale data for ".concat(l));var p=i[l];cr(typeof p=="object"&&p!==null,"locale data ".concat(h," must be an object"));var v=p[h];cr(Array.isArray(v),"keyLocaleData for ".concat(h," must be an array"));var b=v[0];cr(typeof b=="string"||b===null,"value must be string or null but got ".concat(typeof b," in key ").concat(h));var y="";if(a.extension){var O=tN(a.extension,h);O!==void 0&&(O!==""?~v.indexOf(O)&&(b=O,y="-".concat(h,"-").concat(b)):~O.indexOf("true")&&(b="true",y="-".concat(h)))}if(h in n){var _=n[h];cr(typeof _=="string"||typeof _>"u"||_===null,"optionsValue must be String, Undefined or Null"),~v.indexOf(_)&&_!==b&&(b=_,y="")}c[h]=b,u+=y}if(u.length>2){var w=l.indexOf("-x-");if(w===-1)l=l+u;else{var S=l.slice(0,w),x=l.slice(w,l.length);l=S+u+x}l=Intl.getCanonicalLocales(l)[0]}return c.locale=l,c}function mu(e,t,n,r){var i=t.reduce(function(s,o){return s.add(o),s},new Set);return nN(i,XA(e),{localeMatcher:(r==null?void 0:r.algorithm)||"best fit"},[],{},function(){return n}).locale}const vu=["zh-Hans-CN","en-US","yue-Hant-HK"],mr=vv("lang","",{writeDefaults:!1,listenToStorageChanges:!0}),qr=VC({legacy:!1,locale:iN()||"zh-Hans-CN",fallbackLocale:"zh-Hans-CN"}),rN=sy(qr.global.locale.value),UR=[{name:"简体中文",value:"zh-Hans-CN"},{name:"English",value:"en-US"},{name:"粵語中文",value:"yue-Hant-HK"}];function iN(){const e=[...navigator.languages];mr.value&&mr.value!=="undefined"&&mr.value!=="null"&&e.unshift(mr.value);let t;try{t=mu(e,vu,"zh-Hans-CN",{algorithm:"best fit"})}catch(n){if(t="zh-Hans-CN",!(n instanceof RangeError))throw n}return t}function BR(){const e=[...navigator.languages];let t;try{t=mu(e,vu,"zh-Hans-CN",{algorithm:"best fit"})}catch(n){if(t="zh-Hans-CN",!(n instanceof RangeError))throw n}return t}function sN(e){if(e===navigator.language){mr.value=void 0;return}mr.value=e}async function sy(e){const t=await JA(Object.assign({"./assets/en-US.yml":()=>Re(()=>import("./en-US.9ae2a7be.js"),[]),"./assets/yue-Hant-HK.yml":()=>Re(()=>import("./yue-Hant-HK.7335aecb.js"),[]),"./assets/zh-Hans-CN.yml":()=>Re(()=>import("./zh-Hans-CN.d301bc6d.js"),[])}),`./assets/${e}.yml`);return qr.global.setLocaleMessage(e,t.default),tr()}function oN(e){qr.global.locale.value=e}const oy=re({get:()=>qr.global.locale.value,set:async e=>{if(!vu.includes(e))return!1;sN(e),await sy(e),oN(e),qr.global.locale.value=e}}),aN=re(()=>[oy.value,...navigator.languages]);function ay(e){try{const t=new Intl.Locale(e);switch(t.language){case"yue":return"CHT";case"zh":{switch(t.script){case"Hans":return"CHS";case"Hant":return"CHT"}switch(t.region){case"CN":return"CHS";case"HK":case"TW":return"CHT"}return"CHS"}case"cs":return"CSY";case"en":return"ENG";case"nl":return"NLD";case"fr":return"FRA";case"de":return"DEU";case"hu":return"HUN";case"it":return"ITA";case"ja":return"JPN";case"ko":return"KOR";case"pl":return"PLK";case"ro":return"ROM";case"ru":return"RUS";case"es":return"ESP";case"tr":return"TRK";case"vi":return"VIM"}return"CHS"}catch{return"CHS"}}const lN=re(()=>ay(oy.value));re(()=>ay(navigator.language));function WR(e){const t=lN.value;for(const n of e)if(n.lang===t)return n.value;return e[0].value||"undifined"}function qR(e,t){return mu(aN.value,e,t!=null?t:e[0],{algorithm:"best fit"})}const cN=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,uN=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,fN=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function dN(e,t){if(!(e==="__proto__"||e==="constructor"))return t}function hN(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return NaN;if(n==="infinity")return 1/0;if(n!=="undefined"){if(!fN.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return cN.test(e)||uN.test(e)?JSON.parse(e,dN):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const pN=/#/g,mN=/&/g,vN=/=/g,ly=/\+/g,gN=/%5B/gi,yN=/%5D/gi,bN=/%5E/gi,_N=/%60/gi,EN=/%7B/gi,ON=/%7C/gi,wN=/%7D/gi,TN=/%20/gi;function SN(e){return encodeURI(""+e).replace(ON,"|").replace(gN,"[").replace(yN,"]")}function ql(e){return SN(e).replace(ly,"%2B").replace(TN,"+").replace(pN,"%23").replace(mN,"%26").replace(_N,"`").replace(EN,"{").replace(wN,"}").replace(bN,"^")}function Ta(e){return ql(e).replace(vN,"%3D")}function cy(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function CN(e){return cy(e.replace(ly," "))}function xN(e=""){const t={};e[0]==="?"&&(e=e.substr(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const i=cy(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=CN(r[2]||"");t[i]?Array.isArray(t[i])?t[i].push(s):t[i]=[t[i],s]:t[i]=s}return t}function IN(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ta(e)}=${ql(n)}`).join("&"):`${Ta(e)}=${ql(t)}`:Ta(e)}function AN(e){return Object.keys(e).map(t=>IN(t,e[t])).join("&")}const NN=/^\w+:(\/\/)?/,RN=/^\/\/[^/]+/;function uy(e,t=!1){return NN.test(e)||t&&RN.test(e)}const kN=/\/$|\/\?/;function Hl(e="",t=!1){return t?kN.test(e):e.endsWith("/")}function LN(e="",t=!1){if(!t)return(Hl(e)?e.slice(0,-1):e)||"/";if(!Hl(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length?`?${r.join("?")}`:"")}function FN(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Hl(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length?`?${r.join("?")}`:"")}function PN(e=""){return e.startsWith("/")}function DN(e=""){return(PN(e)?e.substr(1):e)||"/"}function MN(e,t){if($N(t)||uy(e))return e;const n=LN(t);return e.startsWith(n)?e:UN(n,e)}function jN(e,t){const n=fy(e),r={...xN(n.search),...t};return n.search=AN(r),BN(n)}function $N(e){return!e||e==="/"}function VN(e){return e&&e!=="/"}function UN(e,...t){let n=e||"";for(const r of t.filter(VN))n=n?FN(n)+DN(r):r;return n}function fy(e="",t){if(!uy(e,!0))return t?fy(t+e):kh(e);const[n="",r,i=""]=(e.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[s="",o=""]=(i.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:a,search:l,hash:c}=kh(o);return{protocol:n,auth:r?r.substr(0,r.length-1):"",host:s,pathname:a,search:l,hash:c}}function kh(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function BN(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class WN extends Error{constructor(){super(...arguments),this.name="FetchError"}}function qN(e,t,n){let r="";e&&n&&(r=`${n.status} ${n.statusText} (${e.toString()})`),t&&(r=`${t.message} (${r})`);const i=new WN(r);return Object.defineProperty(i,"request",{get(){return e}}),Object.defineProperty(i,"response",{get(){return n}}),Object.defineProperty(i,"data",{get(){return n&&n._data}}),i}const HN=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Lh(e="GET"){return HN.has(e.toUpperCase())}function QN(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const zN=new Set(["image/svg","application/xml","application/xhtml","application/html"]),KN=/^application\/(?:[\w!#$%&*`\-.^~]*\+)?json(;.+)?$/i;function YN(e=""){if(!e)return"json";const t=e.split(";").shift();return KN.test(t)?"json":zN.has(t)||t.startsWith("text/")?"text":"blob"}const GN=new Set([408,409,425,429,500,502,503,504]);function dy(e){const{fetch:t,Headers:n}=e;function r(o){const a=o.error&&o.error.name==="AbortError"||!1;if(o.options.retry!==!1&&!a){const c=typeof o.options.retry=="number"?o.options.retry:Lh(o.options.method)?0:1,u=o.response&&o.response.status||500;if(c>0&&GN.has(u))return i(o.request,{...o.options,retry:c-1})}const l=qN(o.request,o.error,o.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(a,l={}){const c={request:a,options:{...e.defaults,...l},response:void 0,error:void 0};c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=MN(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=jN(c.request,{...c.options.params,...c.options.query})),c.options.body&&Lh(c.options.method)&&QN(c.options.body)&&(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json"))),c.response=await t(c.request,c.options).catch(async f=>(c.error=f,c.options.onRequestError&&await c.options.onRequestError(c),r(c)));const u=(c.options.parseResponse?"json":c.options.responseType)||YN(c.response.headers.get("content-type")||"");if(u==="json"){const f=await c.response.text(),d=c.options.parseResponse||hN;c.response._data=d(f)}else u==="stream"?c.response._data=c.response.body:c.response._data=await c.response[u]();return c.options.onResponse&&await c.options.onResponse(c),c.response.ok||c.options.onResponseError&&await c.options.onResponseError(c),c.response.ok?c.response:r(c)},s=function(a,l){return i(a,l).then(c=>c._data)};return s.raw=i,s.create=(o={})=>dy({...e,defaults:{...e.defaults,...o}}),s}const hy=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),JN=hy.fetch||(()=>Promise.reject(new Error("[ohmyfetch] global.fetch is not supported!"))),XN=hy.Headers,ZN=dy({fetch:JN,Headers:XN}),eR=iS("auth",()=>{const e=H("loading"),t=H();async function n(){e.value="loading";const u=await ZN("https://patchyvideo.com/be/user/myprofile.do",{method:"POST",credentials:"include",body:{},onRequestError:()=>{e.value="networkError"},onResponseError:()=>{e.value="no"}}).catch(()=>{e.value="no"});(u==null?void 0:u.status)==="SUCCEED"?(t.value=u==null?void 0:u.data,e.value="yes"):t.value=void 0}n();const r=re(()=>{var u;return(u=t.value)==null?void 0:u.profile.uid}),i=re(()=>{var u;return(u=t.value)==null?void 0:u.profile.username}),s=re(()=>{var u;return(u=t.value)==null?void 0:u.profile.image}),o=re(()=>{var u;return(u=t.value)==null?void 0:u.profile.desc}),a=re(()=>{var u;return(u=t.value)==null?void 0:u.profile.email}),l=re(()=>t.value!==void 0),c=re(()=>{var u;return((u=t.value)==null?void 0:u.profile.access_control_status)==="admin"});return{status:e,uid:r,username:i,image:s,desc:o,email:a,isLogin:l,isAdmin:c,refetch:n}});const tR={sm:"576px",md:"720px",lg:"992px",xl:"1200px","2xl":"1400px","3xl":"1540px","4xl":"1860px","5xl":"2480px"},Ss=Object.entries(tR).map(([e,t])=>[e,hv(`(min-width: ${t})`)]),HR=_t({...Object.fromEntries(Ss),...Object.fromEntries(Ss.map(([e,t])=>[`<${e}`,re(()=>!t.value)])),...Object.fromEntries(Ss.map(([e,t],n)=>[`@${e}`,re(()=>{var r;return t.value&&!((r=Ss[n+1])!=null?r:[])[1].value})]))}),Cs=document.documentElement,Fh=document.querySelector('meta[name="theme-color"]'),nR=["system","light","dark"],Ph=vv("theme_preference","system",{listenToStorageChanges:!0,flush:"post",serializer:{read(e){return nR.includes(e)?e:"system"},write(e){return e}}}),rR=re(()=>Ph.value==="system"?WT().value:Ph.value==="dark");fc(()=>{rR.value?(Cs.classList.contains("dark")||Cs.classList.add("dark"),Fh.setAttribute("content","#1f2937")):(Cs.classList.contains("dark")&&Cs.classList.remove("dark"),Fh.setAttribute("content","#ffffff"))},{flush:"post"});const Hr=gv("extensions",{}),Zi=gv("extension_tweaks",[]);Zi.value=[];const Dh=[];function py(e){try{if(Dh.includes(e.name))return;e.tweaks&&Zi.value.push(...e.tweaks.filter(t=>!Zi.value.includes(t))),Dh.push(e.name)}catch{}}for(const e of Object.values(Hr.value))py(e);const my=[];addEventListener("message",e=>{try{if(typeof e.data=="object"&&"type"in e.data&&e.data.type==="__PATCHYVIDEO_PLATINUM_extension_installed"){const t=e.data;py(t),Hr.value[t.name]=t,my.push(t.name)}}catch{}});postMessage("__PATCHYVIDEO_PLATINUM_pull_extension_info","*");setTimeout(()=>{for(const e in Hr.value)my.includes(e)||delete Hr.value[e]},5e3);const iR={toString(){return"[object PatchyVideo]"},meta:{version:"0.7.0-alpha.6",commitHash:"537d33892d40e0eeca7b0586645e5b19407f6785",buildTime:"2024-02-19T22:11:06.363Z"},extension:{extensions:Hr,extensionTweaks:Zi,clear(){Hr.value={},Zi.value=[]}},settings:{list:{lang:[String,void 0],theme_preference:[String,"system"],theme_dark_cover_filter:[Boolean,!0],player_settings_volume:[Number,.5],player_settings_sync_audio:[Boolean,!1],video_tag_render_as_plain_text:[Boolean,!1]}}};window.PatchyVideo=iR;console.log(`%cPatchy%cVideo%cVer0.7.0-alpha.6%c +Built@2024-02-19T22:11:06.363Z`,"color:#9c71b2;font-size:2rem;font-family: Arial,Helvetica,sans-serif;font-weight: 700;","color:#ffb458;font-size:2rem;font-family: Arial,Helvetica,sans-serif;font-weight: 700;","color:#6a8935;font-size:0.9rem;font-family: Arial,Helvetica,sans-serif;padding: 0px 5px;","color:#c586c0;font-size:1rem;font-family: Arial,Helvetica,sans-serif;");wv();const sR=ny(),Ql=ox(),oR=$t({setup(){return YA(sR),GA(),ax(Ql),()=>Ql.alive.value==="no"?window.navigator.onLine?At(pS):At(ix):[At(yp,{},At(ZC)),At(fx),At(bx),At(XC)]}}),fs=K0(oR),aR=ZT();fs.use(aR);const gu=J_({history:h_(),strict:!0,routes:[{name:"home",path:"/",alias:["/index","/index.html"],component:()=>Re(()=>import("./Home.7de31a6a.js"),["assets/Home.7de31a6a.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"])},{name:"search-page",path:"/search-page",component:()=>Re(()=>import("./SearchPage.129983f3.js"),["assets/SearchPage.129983f3.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"])},{name:"search-result",path:"/search-result",component:()=>Re(()=>import("./SearchResult.821faf49.js"),["assets/SearchResult.821faf49.js","assets/SearchResult.27a417c5.css","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js","assets/CoverPlaceholder.83cb739d.js","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/imageUrl.5afb7f35.js","assets/backTop.a4b6f707.js","assets/biliHelper.9b20d4b7.js","assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js","assets/setSiteTitle.db0fa839.js"]),meta:{holdLoading:!0}},{name:"video-list",path:"/video-list",component:()=>Re(()=>import("./VideoList.bfb7f975.js"),["assets/VideoList.bfb7f975.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/CoverPlaceholder.83cb739d.js","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js","assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js","assets/decodeAdditionalConstraint.da833011.js","assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js","assets/setSiteTitle.db0fa839.js","assets/biliHelper.9b20d4b7.js","assets/backTop.a4b6f707.js","assets/imageUrl.5afb7f35.js"]),meta:{holdLoading:!0}},{name:"video-detail",path:"/video/:vid",component:()=>Re(()=>import("./Video.32aea3b7.js"),["assets/Video.32aea3b7.js","assets/Video.a5ebd18c.css","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/Player.74106f66.js","assets/Player.79dbd7ef.css","assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/CoverPlaceholder.83cb739d.js","assets/UserAvatarPopper.a1f280ca.js","assets/UserAvatarPopper.bac3e7a2.css","assets/setSiteTitle.db0fa839.js","assets/imageUrl.5afb7f35.js"]),meta:{holdLoading:!0,hashKey(e){return`video-${e.params.vid}`}}},{name:"video-embed",path:"/embed/:vid",component:()=>Re(()=>import("./Embed.d14e0c94.js"),["assets/Embed.d14e0c94.js","assets/Player.74106f66.js","assets/Player.79dbd7ef.css","assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"])},{name:"video-edit",path:"/edit-video/:vid",component:()=>Re(()=>import("./EditVideo.df41c9f5.js"),["assets/EditVideo.df41c9f5.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"]),meta:{holdLoading:!0}},{name:"playlist-list",path:"/playlist-list",component:()=>Re(()=>import("./PlaylistList.07f0245d.js"),["assets/PlaylistList.07f0245d.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js","assets/decodeAdditionalConstraint.da833011.js","assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js","assets/CoverPlaceholder.83cb739d.js","assets/setSiteTitle.db0fa839.js","assets/backTop.a4b6f707.js"]),meta:{holdLoading:!0}},{name:"playlist-detail",path:"/playlist/:pid",component:()=>Re(()=>import("./Playlist.a2ddeab9.js"),["assets/Playlist.a2ddeab9.js","assets/Playlist.77c78238.css","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/UserAvatarPopper.a1f280ca.js","assets/UserAvatarPopper.bac3e7a2.css","assets/setSiteTitle.db0fa839.js","assets/imageUrl.5afb7f35.js","assets/biliHelper.9b20d4b7.js"]),meta:{holdLoading:!0}},{name:"tag-author-detail",path:"/tag/author/:tid",component:()=>Re(()=>import("./Author.4c62f310.js"),["assets/Author.4c62f310.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js","assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js","assets/index.8f2b1f29.js","assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js"]),meta:{holdLoading:!0}},{name:"leaderboard",path:"/leaderboard",component:()=>Re(()=>import("./Leaderboard.755750e5.js"),["assets/Leaderboard.755750e5.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js","assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js"]),meta:{holdLoading:!0}},{name:"user-settings",path:"/user/me",component:()=>Re(()=>import("./User.538ceb29.js"),["assets/User.538ceb29.js","assets/User.acdb8796.css","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"])},{name:"user-notification",path:"/user/notification",component:()=>Re(()=>import("./Notification.9bab8373.js"),["assets/Notification.9bab8373.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js","assets/setSiteTitle.db0fa839.js"]),meta:{requireLogin:!0}},{name:"user-login",path:"/user/login",component:()=>Re(()=>import("./Login.cfbb7729.js"),["assets/Login.cfbb7729.js","assets/Login.4eedfc40.css","assets/setSiteTitle.db0fa839.js","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js"])},{name:"user-signup",path:"/user/signup",component:()=>Re(()=>import("./Signup.dfd7e427.js"),["assets/Signup.dfd7e427.js","assets/Signup.9672075d.css","assets/setSiteTitle.db0fa839.js","assets/resDataStatus.1d07d88c.js","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js"])},{name:"user-forgot-password",path:"/user/forget-password",component:()=>Re(()=>import("./ForgetPassword.d9239742.js"),["assets/ForgetPassword.d9239742.js","assets/ForgetPassword.bd463b9d.css","assets/setSiteTitle.db0fa839.js","assets/resDataStatus.1d07d88c.js","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js"])},{name:"user-reset-password",path:"/user/reset-password",component:()=>Re(()=>import("./ResetPassword.9fd402d2.js"),["assets/ResetPassword.9fd402d2.js","assets/ResetPassword.8e315e5b.css","assets/resDataStatus.1d07d88c.js","assets/setSiteTitle.db0fa839.js","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js"])},{name:"user-redirect",path:"/user/redirect",component:()=>Re(()=>import("./Redirect.dd3d17f9.js"),["assets/Redirect.dd3d17f9.js","assets/setSiteTitle.db0fa839.js"])},{name:"user-profile",path:"/user/:uid",component:()=>Re(()=>import("./Profile.81220e56.js"),["assets/Profile.81220e56.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"]),meta:{holdLoading:!0}},{name:"settings-redirect",path:"/settings",redirect:"/settings/general"},{name:"settings",path:"/settings/:catogory",component:()=>Re(()=>import("./ChangeSettings.0ee1356b.js"),["assets/ChangeSettings.0ee1356b.js","assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js","assets/LayoutDefault.5019921a.css","assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js","assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js","assets/use-controllable.d8c790f2.js","assets/setSiteTitle.db0fa839.js"])},{name:"debug-user-force-logout",path:"/debug/user/force-logout",component:$t({async setup(){const e=Z_();try{await fetch("https://patchyvideo.com/be/logout.do",{method:"POST",headers:new Headers({"Content-Type":"application/json"}),body:JSON.stringify({}),credentials:"include"})}finally{e.push("/")}return()=>[]}})},{name:"debug-error-pages-404",path:"/debug/error-pages/404",component:()=>Re(()=>import("./404.1cc6a619.js"),[])},{name:"404",path:"/:url+",component:()=>Re(()=>import("./404.1cc6a619.js"),[])}]});gu.beforeEach(async(e,t,n)=>{if(wv(),Ql.refetch(),e.meta.requireLogin){const r=eR();await mT(()=>r.status).not.toBe("loading"),r.isLogin||n({path:"/"})}n()});gu.afterEach(e=>{oS(),e.meta.holdLoading||tr(()=>{Dc()})});fs.use(gu);fs.use(qr);fs.use(Xw);rN.then(()=>fs.mount("#app"));export{Cr as $,SR as A,fc as B,AR as C,$R as D,lN as E,ze as F,Ji as G,MR as H,WR as I,Pb as J,gR as K,Oe as L,bR as M,yR as N,_R as O,Jn as P,Da as Q,_c as R,tr as S,hR as T,re as U,zn as V,At as W,dt as X,Ph as Y,xR as Z,Re as _,fR as a,vR as a0,qv as a1,qR as a2,JA as a3,mR as a4,Yr as a5,eR as a6,DR as a7,ZN as a8,FR as a9,NR as aA,Zi as aB,vT as aC,IR as aD,TR as aE,sS as aF,PR as aG,mT as aH,CR as aI,jR as aJ,BR as aK,WT as aL,qr as aa,UR as ab,ER as ac,Z_ as ad,fi as ae,LR as af,cn as ag,Hr as ah,OR as ai,lR as aj,o0 as ak,pR as al,be as am,In as an,kR as ao,wv as ap,Dc as aq,cR as ar,uR as as,oT as at,dx as au,vv as av,RR as aw,yp as ax,Gg as ay,VR as az,$e as b,_r as c,$t as d,ot as e,Ne as f,gt as g,xp as h,$p as i,Mb as j,jb as k,oy as l,H as m,iv as n,Ue as o,wR as p,de as q,_t as r,HR as s,nn as t,ls as u,dR as v,Ar as w,XT as x,co as y,Hi as z}; +//# sourceMappingURL=index.72556674.js.map diff --git a/assets/index.72556674.js.map b/assets/index.72556674.js.map new file mode 100644 index 0000000000..f75e764b68 --- /dev/null +++ b/assets/index.72556674.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"yCAAqB,UAAoB,CACrC,MAAMA,EAAU,SAAS,cAAc,MAAM,EAAE,QAC/C,GAAIA,GAAWA,EAAQ,UAAYA,EAAQ,SAAS,eAAe,EAC/D,OAEJ,UAAWC,KAAQ,SAAS,iBAAiB,2BAA2B,EACpEC,EAAeD,CAAI,EAEvB,IAAI,iBAAkBE,GAAc,CAChC,UAAWC,KAAYD,EACnB,GAAIC,EAAS,OAAS,YAGtB,UAAWC,KAAQD,EAAS,WACpBC,EAAK,UAAY,QAAUA,EAAK,MAAQ,iBACxCH,EAAeG,CAAI,CAGvC,CAAK,EAAE,QAAQ,SAAU,CAAE,UAAW,GAAM,QAAS,EAAI,CAAE,EACvD,SAASC,EAAaC,EAAQ,CAC1B,MAAMC,EAAY,GAClB,OAAID,EAAO,YACPC,EAAU,UAAYD,EAAO,WAC7BA,EAAO,iBACPC,EAAU,eAAiBD,EAAO,gBAClCA,EAAO,cAAgB,kBACvBC,EAAU,YAAc,UACnBD,EAAO,cAAgB,YAC5BC,EAAU,YAAc,OAExBA,EAAU,YAAc,cACrBA,CACV,CACD,SAASN,EAAeD,EAAM,CAC1B,GAAIA,EAAK,GAEL,OACJA,EAAK,GAAK,GAEV,MAAMO,EAAYF,EAAaL,CAAI,EACnC,MAAMA,EAAK,KAAMO,CAAS,CAC7B,CACL,ikBCnCA,SAASC,GAAQC,EAAK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,QAAS,CACP,QAAS,CACV,CACH,EACMC,GAAkB,CACtB,QAAS,CACP,QAAS,CACV,EACD,YAAa,CACX,QAAS,CACV,CACH,EAEMC,GAAM,CACV,QAAS,CACP,MAAO,EACP,QAAS,CACV,EACD,MAAO,CACL,MAAO,EACP,QAAS,CACV,CACH,EACMC,GAAa,CACjB,QAAS,CACP,MAAO,EACP,QAAS,CACV,EACD,QAAS,CACP,MAAO,EACP,QAAS,CACV,CACH,EACMC,GAAiB,CACrB,QAAS,CACP,MAAO,EACP,QAAS,CACV,EACD,YAAa,CACX,MAAO,EACP,QAAS,CACV,CACH,EAEMC,GAAW,CACf,QAAS,CACP,EAAG,KACH,OAAQ,GACR,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAkB,CACtB,QAAS,CACP,EAAG,KACH,OAAQ,GACR,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAsB,CAC1B,QAAS,CACP,EAAG,KACH,OAAQ,GACR,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAY,CAChB,QAAS,CACP,EAAG,IACH,OAAQ,IACR,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAmB,CACvB,QAAS,CACP,EAAG,IACH,OAAQ,IACR,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAuB,CAC3B,QAAS,CACP,EAAG,IACH,OAAQ,IACR,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAU,CACd,QAAS,CACP,EAAG,KACH,OAAQ,IACR,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAiB,CACrB,QAAS,CACP,EAAG,KACH,OAAQ,IACR,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAqB,CACzB,QAAS,CACP,EAAG,KACH,OAAQ,IACR,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAa,CACjB,QAAS,CACP,EAAG,IACH,OAAQ,GACR,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAoB,CACxB,QAAS,CACP,EAAG,IACH,OAAQ,GACR,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EACMC,GAAwB,CAC5B,QAAS,CACP,EAAG,IACH,OAAQ,GACR,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,OAAQ,EACR,QAAS,CACV,CACH,EAEMC,GAAY,CAChB,QAAS,CACP,EAAG,KACH,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAmB,CACvB,QAAS,CACP,EAAG,KACH,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAuB,CAC3B,QAAS,CACP,EAAG,KACH,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAa,CACjB,QAAS,CACP,EAAG,IACH,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAoB,CACxB,QAAS,CACP,EAAG,IACH,QAAS,CACV,EACD,QAAS,CACP,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAwB,CAC5B,QAAS,CACP,EAAG,IACH,QAAS,CACV,EACD,YAAa,CACX,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAW,CACf,QAAS,CACP,EAAG,KACH,QAAS,CACV,EACD,MAAO,CACL,EAAG,EACH,QAAS,CACV,CACH,EACMC,GAAkB,CACt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,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,OACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACF,ECtKaC,GAAQ,OAAO,OAAO,EAAE,EAgF9B,SAASC,GAAMpgF,EAAMqgF,EAASC,EAAchH,GAAmB,CACpE,MAAMiH,EAAgB,IAAI,IAE1B,UAAWlH,KAAQ,OAAO,OAAOQ,EAAI,EACnC0G,EAAc,IAAIlH,EAAMmH,GAAqBH,EAAShH,CAAI,CAAC,EAI7D,IAAIoH,EACAC,EAAU,MAAM,QAAQ1gF,CAAI,EAC5BE,EAAO,CAACF,CAAI,EACZiP,EAAQ,GACR0xE,EAAQ,GACR52F,EAAOiW,EACP3U,EACA8F,EACJ,MAAMkW,EAAO,GACPu5E,EAAY,GAGlB,EAAG,CACD3xE,IACA,MAAM4xE,EAAY5xE,IAAU/O,EAAK,OAC3B4gF,EAAWD,GAAaF,EAAM,SAAW,EAE/C,GAAIE,EAAW,CAKb,GAJAx1F,EAAMu1F,EAAU,SAAW,EAAI,OAAYv5E,EAAKA,EAAK,OAAS,GAC9Dtd,EAAOoH,EACPA,EAASyvF,EAAU,MAEfE,EACF,GAAIJ,EAAS,CACX32F,EAAOA,EAAK,QACZ,IAAIg3F,EAAa,EAEjB,SAAW,CAACC,EAASC,CAAS,I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,QAAQ,CACnB,eAAgB,mBACjB,EACD,KAAM,KAAK,UAAU,EAAE,EACvB,YAAa,UACd,SAEH,CACE1G,EAAO,KAAK,GAAG,CACjB,CAEA,MAAO,IAAM,EACf,EACD,CACH,EACA,CACE,KAAM,wBACN,KAAM,yBACN,UAAW,WAAM,OAAO,wBAC1B,EAGA,CACE,KAAM,MACN,KAAM,SACN,UAAW,WAAM,OAAO,wBAC1B,CACF,CACF,CAAC,EACDA,GAAO,WAAW,MAAO5oB,EAAIC,EAAMpP,IAAS,CAKtC,GAJUuxD,KAEd20D,GAAc,QAAQ,EAElB/2G,EAAG,KAAK,aAAc,CACxB,MAAMs3G,EAAO7B,KACb,MAAMhiE,GAAM,IAAM6jE,EAAK,MAAM,EAAE,IAAI,KAAK,SAAS,EAC5CA,EAAK,SACHzmH,GAAE,KAAM,IAAK,CACtB,CAEKA,GACP,CAAC,EACD+3B,GAAO,UAAW5oB,GAAO,CACZsiD,KAENtiD,EAAG,KAAK,aAEX1X,GAAS,IAAM,CACA+5D,KACd,CAEL,CAAC,EACDr+C,GAAI,IAAI4kB,EAAM,EAGd5kB,GAAI,IAAIytD,EAAI,EAGZztD,GAAI,IAAI8rC,EAAY,EAEpBohE,GAAgB,KAAK,IAAMltG,GAAI,MAAM,MAAM,CAAC","names":["relList","link","processPreload","mutations","mutation","node","getFetchOpts","script","fetchOpts","makeMap","str","expectsLowerCase","map","list","val","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","value","normalizeStyle","isArray","res","i","item","normalized","isString","parseStringStyle","key","isObject","listDelimiterRE","propertyDelimiterRE","cssText","ret","tmp","normalizeClass","name","normalizeProps","props","klass","style","toDisplayString","objectToString","isFunction","replacer","_key","isMap","entries","isSet","isPlainObject","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","onRE","isOn","isModelListener","extend","remove","arr","el","hasOwnProperty","hasOwn","toTypeString","isSymbol","isPromise","toRawType","isIntegerKey","isReservedProp","cacheStringFunction","fn","cache","camelizeRE","camelize","_","c","hyphenateRE","hyphenate","capitalize","toHandlerKey","hasChanged","oldValue","invokeArrayFns","fns","arg","def","obj","toNumber","n","_globalThis","getGlobalThis","activeEffectScope","EffectScope","detached","currentEffectScope","fromParent","l","last","effectScope","recordEffectScope","effect","scope","getCurrentScope","onScopeDispose","createDep","effects","dep","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","finalizeDepMarkers","ptr","targetMap","effectTrackDepth","maxMarkerBits","activeEffect","ITERATE_KEY","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","parent","lastShouldTrack","shouldTrack","cleanupEffect","trackStack","pauseTracking","resetTracking","track","target","type","depsMap","trackEffects","debuggerEventExtraInfo","trigger","newValue","oldTarget","triggerEffects","triggerEffect","isNonTrackableKeys","builtInSymbols","get","createGetter","shallowGet","readonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","toRaw","isReadonly","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","isRef","readonly","reactive","set","createSetter","shallowSet","isShallow","hadKey","result","deleteProperty","has","ownKeys","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","get$1","rawTarget","rawKey","wrap","toReadonly","toReactive","has$1","size","add","set$1","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","isKeyOnly","innerIterator","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations","shallowInstrumentations","readonlyInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref","triggerRefValue","newVal","r","createRef","shallowRef","rawValue","RefImpl","__v_isShallow","useDirectValue","triggerRef","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","CustomRefImpl","factory","customRef","toRefs","object","toRef","ObjectRefImpl","_object","_defaultValue","defaultValue","_a","ComputedRefImpl","getter","_setter","isSSR","self","computed","getterOrOptions","debugOptions","setter","onlyGetter","callWithErrorHandling","instance","err","handleError","callWithAsyncErrorHandling","values","throwInDev","contextVNode","cur","exposedInstance","errorInfo","errorCapturedHooks","appErrorHandler","logError","isFlushing","isFlushPending","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","nextTick","p","findInsertionIndex","id","start","end","middle","getId","queueJob","job","queueFlush","flushJobs","invalidateJob","queuePostFlushCb","cb","flushPreFlushCbs","seen","flushPostFlushCbs","deduped","a","b","comparator","diff","check","emit$1","event","rawArgs","modelArg","modifiersKey","trim","number","handlerName","handler","onceHandler","normalizeEmitsOptions","comp","appContext","asMixin","cached","hasExtends","extendEmits","normalizedFromExtend","isEmitListener","options","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","pushScopeId","popScopeId","withCtx","ctx","isNonScopedSlot","renderFnWithContext","setBlockTracking","prevInstance","renderComponentRoot","Component","propsOptions","fallthroughAttrs","vnode","proxyToUse","withProxy","normalizeVNode","render","renderCache","setupState","data","attrs","getFunctionalFallthrough","blockStack","createVNode","Comment","root","inheritAttrs","keys","shapeFlag","filterModelListeners","cloneVNode","filterSingleRoot","children","singleRoot","child","isVNode","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","prevChildren","nextProps","nextChildren","emits","component","patchFlag","hasPropsChanged","dynamicProps","emitsOptions","nextKeys","updateHOCHostEl","isSuspense","SuspenseImpl","n1","n2","container","anchor","parentComponent","parentSuspense","isSVG","slotScopeIds","rendererInternals","mountSuspense","patchSuspense","hydrateSuspense","createSuspenseBoundary","normalizeSuspenseChildren","Suspense","triggerEvent","eventListener","patch","hiddenContainer","createElement","suspense","setActiveBranch","unmount","newBranch","newFallback","pendingBranch","isSameVNodeType","isInFallback","activeBranch","isHydrating","timeout","pendingId","move","next","resume","delayEnter","hasUnresolvedAncestor","fallbackVNode","mountFallback","setupRenderEffect","isInPendingSuspense","hydratedEl","asyncSetupResult","handleSetupResult","placeholder","parentNode","doRemove","hydrateNode","isSlotChildren","normalizeSuspenseSlot","s","block","trackBlock","isBlockTreeEnabled","openBlock","currentBlock","closeBlock","queueEffectWithSuspense","branch","provide","currentInstance","provides","parentProvides","inject","treatDefaultAsFactory","watchEffect","doWatch","watchPostEffect","INITIAL_WATCHER_VALUE","watch","source","forceTrigger","isMultiSource","isShallow$1","deep","traverse","cleanup","onCleanup","baseGetter","isInSSRComponentSetup","immediate","flush","queuePostRenderEffect","instanceWatch","publicThis","createPathGetter","setCurrentInstance","unsetCurrentInstance","path","segments","useTransitionState","state","onBeforeUnmount","TransitionHookValidator","BaseTransitionImpl","getCurrentInstance","prevTransitionKey","slots","getTransitionRawChildren","rawProps","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","leavingHooks","mode","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","BaseTransition","leavingVNodes","callHook","hook","callAsyncHook","hooks","onBeforeEnter","appear","onBeforeAppear","leavingVNode","onEnter","afterHook","onAfterEnter","cancelHook","onEnterCancelled","onAppear","onAfterAppear","onAppearCancelled","called","cancelled","onBeforeLeave","onLeaveCancelled","onAfterLeave","onLeave","isKeepAlive","keepComment","parentKey","keyedFragmentCount","Fragment","defineComponent","isAsyncWrapper","defineAsyncComponent","userOnError","pendingRequest","resolvedComp","retries","retry","load","thisRequest","loader","resolve","reject","createInnerComp","onError","errorComponent","suspensible","loaded","error","delayed","delay","loadingComponent","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","current","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","prepend","createHook","lifecycle","onBeforeMount","onMounted","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","withDirectives","directives","internalInstance","getExposeProxy","bindings","dir","modifiers","invokeDirectiveHook","oldBindings","binding","COMPONENTS","DIRECTIVES","resolveComponent","maybeSelfReference","resolveAsset","NULL_DYNAMIC_COMPONENT","resolveDynamicComponent","resolveDirective","warnMissing","selfName","getComponentName","registry","renderList","renderItem","index","renderSlot","fallback","noSlotted","slot","validSlotContent","ensureValidVNode","rendered","createBlock","vnodes","getPublicInstance","isStatefulComponent","publicPropertiesMap","resolveMergedOptions","PublicInstanceProxyHandlers","normalizedProps","accessCache","shouldCacheAccess","publicGetter","cssModule","globalProperties","descriptor","applyOptions","dataOptions","computedOptions","watchOptions","provideOptions","injectOptions","resolveInjections","methods","methodHandler","opt","createWatcher","created","registerLifecycleHook","register","_hook","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","errorCaptured","renderTracked","renderTriggered","beforeUnmount","unmounted","serverPrefetch","expose","exposed","components","checkDuplicateProperties","unwrapRef","normalizeInject","h","base","extendsOptions","globalMixins","resolved","mixins","m","mergeOptions","optionMergeStrategies","to","from","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","initProps","isStateful","InternalObjectKey","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","propsToUpdate","camelizedKey","resolvePropValue","kebabKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","propsDefaults","normalizePropsOptions","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","isSameType","expectedTypes","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","normalizeVNodeSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","createAppContext","uid","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","isMounted","app","version","plugin","mixin","directive","rootContainer","isHydrate","setRef","rawRef","oldRawRef","isUnmount","refValue","owner","oldRef","refs","_isString","_isRef","doSet","existing","createRenderer","baseCreateRenderer","createHydrationFns","hostInsert","hostRemove","hostPatchProp","hostCreateElement","hostCreateText","hostCreateComment","hostSetText","hostSetElementText","hostParentNode","hostNextSibling","hostSetScopeId","hostInsertStaticContent","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","internals","moveStaticNode","nextSibling","removeStaticNode","mountElement","patchElement","vnodeHook","mountChildren","dirs","unmountChildren","invokeVNodeHook","setScopeId","needCallTransitionHooks","transition","scopeId","subTree","parentVNode","cloneIfMounted","oldProps","newProps","toggleRecurse","areChildrenSVG","dynamicChildren","patchBlockChildren","patchChildren","patchProps","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","mountComponent","updateComponent","initialVNode","createComponentInstance","setupComponent","updateComponentPreRender","componentUpdateFn","originNext","bu","nextTree","prevTree","u","isAsyncWrapperVNode","bm","hydrateSubTree","scopedInitialVNode","update","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","newLength","commonLength","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","moveType","performLeave","leave","afterLeave","delayLeave","shouldInvokeDirs","shouldInvokeVnodeHook","unmountComponent","removeFragment","performRemove","bum","um","allowed","ch1","ch2","len","arrI","isTeleport","isTeleportDisabled","isTargetSVG","resolveTarget","select","targetSelector","TeleportImpl","disabled","createText","mainAnchor","insert","querySelector","targetAnchor","mount","wasDisabled","currentContainer","currentAnchor","moveTeleport","nextTarget","hydrateTeleport","isReorder","hydrateChildren","targetNode","Teleport","disableTracking","setupBlock","createElementBlock","createBaseVNode","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","normalizeChildren","_createVNode","cloned","isClassComponent","guardReactiveProps","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","slotFlag","toMerge","incoming","emptyAppContext","uid$1","setupResult","setupStatefulComponent","setup","setupContext","createSetupContext","resolvedResult","e","finishComponentSetup","compile","skipOptions","template","componentCompilerOptions","finalCompilerOptions","compilerOptions","createAttrsProxy","includeInferred","computed$1","withAsyncContext","getAwaitable","awaitable","propsOrChildren","svgNS","doc","templateContainer","nodeOps","tag","is","selector","before","wrapper","patchClass","transitionClasses","patchStyle","isCssString","setStyle","currentDisplay","importantRE","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","isBoolean","patchDOMProp","needRemove","addEventListener","removeEventListener","patchEvent","prevValue","nextValue","invokers","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","initialValue","patchStopImmediatePropagation","originalStop","nativeOnRE","patchProp","shouldSetAsProp","useCssVars","setVars","setVarsOnVNode","ob","vars","setVarsOnNode","TRANSITION","ANIMATION","Transition","resolveTransitionProps","DOMTransitionPropsValidators","TransitionPropsValidators","hasExplicitCallback","baseProps","enterFromClass","enterActiveClass","enterToClass","durations","normalizeDuration","duration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","appearToClass","appearActiveClass","finishLeave","leaveFromClass","leaveToClass","leaveActiveClass","makeEnterHook","nextFrame","appearFromClass","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","_vtc","endId","expectedType","explicitTimeout","resolveIfNotStale","getTransitionInfo","endEvent","ended","onEnd","propCount","styles","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","d","toMs","positionMap","newPositionMap","TransitionGroupImpl","moveClass","hasCSSTransform","callPendingCbs","recordPosition","movedChildren","applyTranslation","cssTransitionProps","TransitionGroup","oldPos","newPos","dx","dy","clone","getModelAssigner","onCompositionStart","onCompositionEnd","vModelText","castToNumber","lazy","domValue","systemModifiers","modifierGuards","withModifiers","guard","keyNames","withKeys","eventKey","k","vShow","setDisplay","rendererOptions","renderer","ensureRenderer","createApp","containerOrSelector","normalizeContainer","isBrowser","isESModule","assign","applyToParams","params","newParams","noop","TRAILING_SLASH_RE","removeTrailingSlash","parseURL","parseQuery","location","currentLocation","query","searchString","hash","hashPos","searchPos","resolveRelativePath","stringifyURL","stringifyQuery","stripBase","pathname","isSameRouteLocation","aLastIndex","bLastIndex","isSameRouteRecord","isSameRouteLocationParams","isSameRouteLocationParamsValue","isEquivalentArray","fromSegments","toSegments","position","toPosition","segment","NavigationType","NavigationDirection","normalizeBase","baseEl","BEFORE_HASH_RE","createHref","getElementPosition","offset","docRect","elRect","computeScrollPosition","scrollToPosition","scrollToOptions","positionEl","isIdSelector","getScrollKey","delta","scrollPositions","saveScrollPosition","scrollPosition","getSavedScrollPosition","scroll","createBaseLocation","createCurrentLocation","slicePos","pathFromHash","search","useHistoryListeners","historyState","replace","listeners","teardowns","pauseState","popStateHandler","fromState","listener","pauseListeners","listen","teardown","beforeUnloadListener","history","destroy","buildState","back","forward","replaced","computeScroll","useHistoryStateNavigation","changeLocation","hashIndex","url","push","currentState","createWebHistory","historyNavigation","historyListeners","go","triggerListeners","routerHistory","isRouteLocation","route","isRouteName","START_LOCATION_NORMALIZED","NavigationFailureSymbol","NavigationFailureType","createRouterError","isNavigationFailure","BASE_PARAM_PATTERN","BASE_PATH_PARSER_OPTIONS","REGEX_CHARS_RE","tokensToParser","extraOptions","score","pattern","segmentScores","tokenIndex","token","subSegmentScore","re","regexp","subPattern","repeatable","optional","parse","stringify","avoidDuplicatedSlash","param","compareScoreArray","comparePathParserScore","aScore","bScore","isLastScoreNegative","ROOT_TOKEN","VALID_PARAM_RE","tokenizePath","crash","message","buffer","previousState","tokens","finalizeSegment","char","customRe","consumeBuffer","addCharToBuffer","createRouteRecordMatcher","record","parser","matcher","createRouterMatcher","routes","globalOptions","matchers","matcherMap","getRecordMatcher","addRoute","originalRecord","isRootAdd","mainNormalizedRecord","normalizeRouteRecord","normalizedRecords","aliases","alias","originalMatcher","normalizedRecord","parentPath","connectingSlash","isAliasRecord","removeRoute","insertMatcher","matcherRef","getRoutes","isRecordChildOf","paramsFromLocation","matched","parentMatcher","mergeMetaFields","normalizeRecordProps","propsObject","meta","defaults","partialOptions","HASH_RE","AMPERSAND_RE","SLASH_RE","EQUAL_RE","IM_RE","PLUS_RE","ENC_BRACKET_OPEN_RE","ENC_BRACKET_CLOSE_RE","ENC_CARET_RE","ENC_BACKTICK_RE","ENC_CURLY_OPEN_RE","ENC_PIPE_RE","ENC_CURLY_CLOSE_RE","ENC_SPACE_RE","commonEncode","encodeHash","encodeQueryValue","encodeQueryKey","encodePath","encodeParam","decode","searchParams","searchParam","eqPos","currentValue","normalizeQuery","normalizedQuery","matchedRouteKey","viewDepthKey","routerKey","routeLocationKey","routerViewLocationKey","useCallbacks","handlers","reset","guardToPromiseFn","enterCallbackArray","valid","guardReturn","guardCall","extractComponentsGuards","guardType","guards","rawComponent","isRouteComponent","componentPromise","resolvedComponent","useLink","router","currentRoute","activeRecordIndex","routeMatched","length","currentMatched","parentRecordPath","getOriginalPath","isActive","includesParams","isExactActive","navigate","guardEvent","RouterLinkImpl","elClass","getLinkClass","RouterLink","outer","inner","innerValue","outerValue","propClass","globalClass","defaultClass","RouterViewImpl","injectedRoute","routeToDisplay","injectedDepth","depth","initialDepth","matchedRoute","matchedRouteRef","viewRef","oldInstance","oldName","currentName","ViewComponent","routePropsOption","routeProps","slotContent","RouterView","createRouter","parseQuery$1","stringifyQuery$1","beforeGuards","beforeResolveGuards","afterGuards","pendingLocation","normalizeParams","paramValue","encodeParams","decodeParams","parentOrRoute","recordMatcher","routeMatcher","hasRoute","rawLocation","locationNormalized","href","matcherLocation","targetParams","fullPath","locationAsObject","checkCanceledNavigation","pushWithRedirect","handleRedirectRecord","lastMatched","newTargetLocation","redirect","redirectedFrom","targetLocation","force","shouldRedirect","toLocation","failure","handleScroll","markAsReady","triggerError","finalizeNavigation","checkCanceledNavigationAndReject","leavingRecords","updatingRecords","enteringRecords","extractChangingRecords","canceledNavigationCheck","runGuardQueue","beforeEnter","triggerAfterEach","isPush","isFirstNavigation","removeHistoryListener","setupListeners","_from","info","readyHandlers","errorHandlers","ready","isReady","scrollBehavior","started","installedApps","reactiveRoute","unmountApp","promise","recordFrom","recordTo","useRouter","useRoute","del","isClient","toString","isNumber","tryOnScopeDispose","tryOnUnmounted","unrefElement","elRef","plain","defaultWindow","useEventListener","stopWatch","stop","_global","globalKey","useIntersectionObserver","isSupported","window","root2","observer","SwipeDirection","SwipeDirection2","defaultTimestep","getCurrentTime","onNextFrame","createRenderStep","runNextFrame","toRun","toRunNextFrame","numToRun","isProcessing","flushNextFrame","toKeepAlive","step","keepAlive","addToCurrentFrame","frameData","maxElapsed","useDefaultElapsed","frame","stepsOrder","steps","acc","sync","process","startLoop","processStep","stepId","processFrame","timestamp","getFrameData","extendStatics","__extends","__","__assign","__rest","__awaiter","_arguments","P","generator","adopt","fulfilled","rejected","__generator","body","f","y","g","verb","op","__spreadArray","pack","ar","warning","invariant","clamp","min","max","safeMin","minDuration","maxDuration","minDamping","maxDamping","findSpring","envelope","derivative","dampingRatio","bounce","undampedFreq","exponentialDecay","velocity","calcAngularFreq","initialGuess","approximateRoot","stiffness","mass","rootIterations","durationKeys","physicsKeys","isSpringType","getSpringOptions","springOptions","derived","spring","resolveSpring","zero","resolveVelocity","createSpring","initialVelocity","initialDelta","damping","undampedAngularFreq","restDelta","angularFreq","dampedAngularFreq","freqForT","isResolvedFromDuration","currentVelocity","isBelowVelocityThreshold","restSpeed","isBelowDisplacementThreshold","_t","progress","toFromDifference","mix","sanitize","floatRegex","colorRegex","singleColorRegex","alpha","createUnitType","unit","percent","isColorString","testProp","splitColor","aName","bName","cName","hsla","alpha$1","hue","saturation","lightness","clampRgbUnit","rgbUnit","rgba","red","green","blue","parseHex","hex","color","colorToken","numberToken","test","_b","_c","_d","analyse","numColors","colors","numbers","createTransformer","numValues","output","tokenised","convertNumbersToZero","getAnimatableNone","parsed","complex","hueToRgb","q","hslaToRgba","mixLinearColor","fromExpo","toExpo","colorTypes","getColorType","mixColor","fromColorType","toColorType","fromColor","toColor","blended","isNum","combineFunctions","pipe","transformers","getMixer","origin","mixComplex","mixArray","blendValue","fromThis","mixObject","numNumbers","numRGB","numHSL","originStats","targetStats","mixNumber","detectMixerFactory","createMixers","ease","customMixer","mixers","mixerFactory","numMixers","mixer","easingFunction","fastInterpolate","slowInterpolate","input","inputLength","lastInputIndex","mixerIndex","foundMixerIndex","progressInRange","interpolate","isClamp","interpolator","reverseEasing","easing","mirrorEasing","createExpoIn","power","createBackIn","createAnticipate","backEasing","DEFAULT_OVERSHOOT_STRENGTH","BOUNCE_FIRST_THRESHOLD","BOUNCE_SECOND_THRESHOLD","BOUNCE_THIRD_THRESHOLD","linear","easeIn","easeOut","easeInOut","circIn","circOut","circInOut","backIn","backOut","backInOut","anticipate","ca","cc","bounceOut","p2","bounceIn","bounceInOut","defaultEasing","defaultOffset","_value","convertOffsetToTimes","o","keyframes","times","createInterpolator","decay","amplitude","ideal","modifyTarget","timeConstant","types","detectAnimationFromOptions","config","cancelSync","loopElapsed","elapsed","reverseElapsed","isForwardPlayback","hasRepeatDelayElapsed","framesync","passTimestamp","animate","repeatMax","driverControls","repeatCount","computedDuration","latest","isComplete","interpolateFromNumber","animator","animation","repeat","repeatType","repeatDelay","onRepeat","complete","onComplete","onUpdate","play","onPlay","driver","onStop","velocityPerSecond","frameDuration","inertia","currentAnimation","isOutOfBounds","boundaryNearest","startAnimation","startSpring","bounceStiffness","bounceDamping","boundary","heading","checkBoundary","a1","a2","calcBezier","getSlope","subdivisionPrecision","subdivisionMaxIterations","binarySubdivide","aX","aA","aB","mX1","mX2","currentX","currentT","newtonIterations","newtonMinSlope","newtonRaphsonIterate","aGuessT","currentSlope","kSplineTableSize","kSampleStepSize","cubicBezier","mY1","mY2","sampleValues","getTForX","intervalStart","currentSample","lastSample","dist","guessForT","initialSlope","scale","degrees","px","progressPercentage","maxDefaults","applyDefaultFilter","functionRegex","filter","functions","motionState","SubscriptionManager","isFloat","MotionValue","init","subscription","getMotionValue","useMotionValues","motionValues","destroyKey","motionValue","isKeyframesTarget","underDampedSpring","criticallyDampedSpring","overDampedSpring","linearTween","defaultTransitions","getDefaultTransition","valueKey","transitionFactory","int","valueTypes","getValueType","getValueAsType","defaultValueType","easingLookup","easingDefinitionToFunction","definition","x1","y1","x2","y2","isEasingArray","isAnimatable","hydrateKeyframes","convertTransitionToAnimationOptions","getPopmotionAnimationOptions","isTransitionDefined","getValueTransition","getAnimation","valueTransition","isTargetAnimatable","isOriginAnimatable","useMotionTransitions","useMotionControls","motionProperties","variants","_variants","isAnimating","_stopWatchAnimating","getVariantFromKey","variant","apply","variantData","leaveVariant","supportsPointerEvents","supportsTouchEvents","supportsMouseEvents","registerEventListeners","_eventListeners","_useEventListener","_stop","hovered","tapped","focused","mutableKeys","computedProperties","_stopSync","stopFn","registerLifeCycleHooks","registerVariantsSync","registerVisibilityHooks","stopObserver","isIntersecting","useMotionFeatures","toStop","stopLifeCycleHooks","stopVariantSync","stopVisibilityHooks","stopEventListeners","reactiveStyle","valueType","valueAsType","transformAxes","order","transformProps","operationKey","axesKey","transformPropSet","isTransformProp","transformOriginProps","isTransformOriginProp","splitValues","transform","useElementStyle","onInit","_cache","_target","stopInitWatch","stopSyncWatch","translateAlias","reactiveTransform","enableHardwareAcceleration","hasHardwareAcceleration","parseTransform","transforms","parseValues","transform2","transformValue","stateFromTransform","axes","axis","axisValue","useElementTransform","useMotionProperties","defaultValues","stopStyleWatchers","stopTransformWatchers","stopPropertiesWatch","target2","useMotionVariants","useMotion","stopMotionProperties","controls","stopMotionFeatures","_stopWatch","tryOnUnmounted$1","directivePropsKeys","resolveVariants","variantsRef","motionInstance","unregister","initial","_transform","_style","fade","fadeVisible","fadeVisibleOnce","pop","popVisible","popVisibleOnce","rollLeft","rollVisibleLeft","rollVisibleOnceLeft","rollRight","rollVisibleRight","rollVisibleOnceRight","rollTop","rollVisibleTop","rollVisibleOnceTop","rollBottom","rollVisibleBottom","rollVisibleOnceBottom","slideLeft","slideVisibleLeft","slideVisibleOnceLeft","slideRight","slideVisibleRight","slideVisibleOnceRight","slideTop","slideVisibleTop","slideVisibleOnceTop","slideBottom","slideVisibleBottom","slideVisibleOnceBottom","presets","slugify","string","MotionPlugin","preset","isVue2","isDef","resolveUnref","createFilterWrapper","bypassFilter","invoke","debounceFilter","ms","timer","maxTimer","throttleFilter","trailing","leading","lastExec","isLeading","pausableFilter","extendFilter","pause","promiseTimeout","throwOnTimeout","reason","identity","reactivePick","flatKeys","useThrottleFn","resolveRef","__defProp$7","__defProps$5","__getOwnPropDescs$5","__getOwnPropSymbols$9","__hasOwnProp$9","__propIsEnum$9","__defNormalProp$7","__spreadValues$7","__spreadProps$5","objectRef","toRefs$1","copy","newObject","tryOnMounted","createUntil","isNot","toMatch","condition","promises","toBe","v1","v2","toBeTruthy","toBeNull","toBeUndefined","toBeNaN","toContains","array","changed","changedTimes","count","until","useIntervalFn","interval","clean","immediateCallback","useTimeoutFn","isPending","__getOwnPropSymbols$6","__hasOwnProp$6","__propIsEnum$6","__objRest$5","exclude","watchWithFilter","eventFilter","__defProp$4","__defProps$4","__getOwnPropDescs$4","__getOwnPropSymbols$4","__hasOwnProp$4","__propIsEnum$4","__defNormalProp$4","__spreadValues$4","__spreadProps$4","__objRest$3","watchDebounced","debounce","__defProp$2","__defProps$2","__getOwnPropDescs$2","__getOwnPropSymbols$2","__hasOwnProp$2","__propIsEnum$2","__defNormalProp$2","__spreadValues$2","__spreadProps$2","__objRest$1","watchPausable","computedAsync","evaluationCallback","initialState","optionsOrRef","counter","onInvalidate","counterAtBeginning","hasFinished","evaluating","cancelCallback","defaultDocument","templateRef","_trigger","element","useSupported","useMediaQuery","mediaQuery","matches","cloneFnJSON","getSSRHandler","guessSerializerType","rawInit","__defProp$j","__getOwnPropSymbols$l","__hasOwnProp$l","__propIsEnum$l","__defNormalProp$j","__spreadValues$j","StorageSerializers","useStorage","storage","_a2","serializer","pauseWatch","resumeWatch","pausableWatch","write","listenToStorageChanges","read","writeDefaults","mergeDefaults","usePreferredDark","__getOwnPropSymbols$f","__hasOwnProp$f","__propIsEnum$f","__objRest$2","useResizeObserver","observerOptions","useElementBounding","height","bottom","left","right","top","width","x","rect","ele","windowScroll","windowResize","useRafFn","rafId","loop","useElementSize","initialSize","entry","boxSize","box","inlineSize","blockSize","functionsMap","useFullscreen","targetRef","document","isFullscreen","REQUEST","EXIT","ELEMENT","EVENT","exit","enter","toggle","autoExit","useLocalStorage","useSessionStorage","__defProp","__getOwnPropSymbols","__hasOwnProp","__propIsEnum","__defNormalProp","__spreadValues","_TransitionPresets","useVModel","emit","vm","_emit","eventName","cloneFn","getValue","passive","useVModels","activePinia","setActivePinia","pinia","piniaSymbol","MutationType","createPinia","_p","toBeInstalled","addSubscription","subscriptions","removeSubscription","idx","triggerSubscriptions","mergeReactiveObjects","patchToApply","subPatch","targetValue","skipHydrateSymbol","shouldHydrate","isComputed","createOptionsStore","hot","store","localState","actions","getters","computedGetters","createSetupStore","newState","$state","$id","isOptionsStore","optionsForPlugin","$subscribeOptions","isListening","isSyncListening","actionSubscriptions","debuggerEvents","activeListener","$patch","partialStateOrMutator","subscriptionMutation","myListenerId","$reset","$dispose","wrapAction","action","afterCallbackList","onErrorCallbackList","after","partialStore","stopWatcher","setupStore","actionValue","extender","defineStore","idOrOptions","setupOptions","isSetupStore","useStore","module","this","NProgress","Settings","bar","speed","css","barPositionCSS","work","amount","$promise","fromStart","addClass","perc","toBarPerc","spinner","removeElement","removeClass","bodyStyle","vendorPrefix","barCSS","pending","cssPrefixes","cssProps","camelCase","letter","getVendorProp","capName","vendorName","getStyleProp","applyCss","properties","hasClass","classList","oldList","newList","pendingNProgress","startProgress","stopProgress","incProcess","codeHint","fetching","setFetching","refetch","code","registerSW","wb","registration","registerPromise","sendSkipWaitingMessage","updateServiceWorker","reloadPage","__vitePreload","messageSW","Workbox","onOfflineReady","showSkipWaitingPrompt","onNeedRefresh","onRegisteredSW","onRegistered","onRegisterError","useRegisterSW","needRefresh","offlineReady","inBrowser","hasSymbol","makeSymbol","generateFormatCacheKey","locale","friendlyJSONstringify","json","isDate","isRegExp","isEmptyObject","warn","msg","escapeHtml","rawText","CompileErrorCodes","createCompileError","loc","domain","defaultOnError","createPosition","line","column","createLocation","CHAR_SP","CHAR_CR","CHAR_LF","CHAR_LS","CHAR_PS","createScanner","_buf","_index","_line","_column","_peekOffset","isCRLF","isLF","isPS","isLS","isLineEnd","peekOffset","charAt","currentChar","currentPeek","peek","resetPeek","skipToPeek","EOF","LITERAL_DELIMITER","ERROR_DOMAIN$1","createTokenizer","_scnr","currentOffset","currentPosition","_initLoc","_initOffset","_context","emitError","pos","getToken","getEndToken","eat","scnr","ch","peekSpaces","buf","skipSpaces","isIdentifierStart","isNumberStart","isNamedIdentifierStart","currentType","isListIdentifierStart","isLiteralStart","isLinkedDotStart","isLinkedModifierStart","isLinkedDelimiterStart","isLinkedReferStart","isPluralStart","detectModuloStart","spaces","isTextStart","hasSpace","detectModulo","takeChar","takeIdentifierChar","takeDigit","takeHexDigit","getDigits","num","readModulo","readText","readNamedIdentifier","readListIdentifier","readLiteral","literal","readEscapeSequence","readUnicodeEscapeSequence","unicode","digits","sequence","readInvalidIdentifier","identifiers","closure","readLinkedModifier","readLinkedRefer","detect","readPlural","plural","readTokenInPlaceholder","readTokenInLinked","validNamedIdentifier","validListIdentifier","validLiteral","readToken","isModulo","nextToken","startLoc","endLoc","ERROR_DOMAIN","KNOWN_ESCAPES","fromEscapeSequence","codePoint4","codePoint6","codePoint","createParser","tokenzer","startNode","endNode","parseText","tokenizer","parseList","parseNamed","parseLiteral","parseLinkedModifier","getTokenCaption","parseLinkedKey","parseLinked","linkedNode","nextContext","emptyLinkedKeyNode","parseMessage","startOffset","endOffset","parsePlural","msgNode","hasEmptyMessage","parseResource","ast","traverseNodes","nodes","transformer","traverseNode","createCodeGenerator","_needIndent","_newline","withBreakLine","_breakLineCode","breakLineCode","indent","withNewLine","level","deindent","newline","generateLinkedNode","helper","generateNode","generateMessageNode","needIndent","generatePluralNode","generateResource","generate","filename","sourceMap","helpers","baseCompile","assignedOptions","IntlifyDevToolsHooks","pathStateMachine","literalValueRE","isLiteral","exp","stripQuotes","getPathCharType","formatSubPath","trimmed","subPathDepth","newChar","typeMap","maybeUnescapeQuote","nextChar","resolveWithKeyValue","resolveValue","hit","DEFAULT_MODIFIER","DEFAULT_MESSAGE","DEFAULT_MESSAGE_DATA_TYPE","DEFAULT_NORMALIZE","DEFAULT_INTERPOLATE","pluralDefault","choice","choicesLength","getPluralIndex","normalizeNamed","pluralIndex","createMessageContext","pluralRule","orgPluralRule","messages","_list","_named","named","_modifier","normalize","arg1","arg2","modifier","devtools","setDevToolsHook","initI18nDevTools","i18n","translateDevTools","createDevToolsHook","payloads","CoreWarnCodes","fallbackWithSimple","fallbackWithLocaleChain","startLocale","DEFAULT_LOCALE","chain","appendBlockToChain","blocks","follow","appendLocaleToChain","appendItemToChain","VERSION","NOT_REOSLVED","MISSING_RESOLVE_VALUE","getDefaultLinkedModifiers","_compiler","registerMessageCompiler","compiler","_resolver","registerMessageResolver","resolver","_fallbacker","registerLocaleFallbacker","fallbacker","_additionalMeta","setAdditionalMeta","getAdditionalMeta","_fallbackContext","setFallbackContext","getFallbackContext","_cid","createCoreContext","fallbackLocale","datetimeFormats","numberFormats","pluralRules","missing","missingWarn","fallbackWarn","fallbackFormat","unresolving","postTranslation","processor","warnHtmlMessage","escapeParameter","messageCompiler","messageResolver","localeFallbacker","fallbackContext","onWarn","internalOptions","__datetimeFormatters","__numberFormatters","__meta","handleMissing","updateFallbackLocale","defaultOnCacheKey","compileCache","compileToFunction","occurred","inc","CoreErrorCodes","createCoreError","NOOP_MESSAGE_FUNCTION","isMessageFunction","translate","parseTranslateArgs","resolvedMessage","defaultMsgOrKey","enableDefaultMsg","escapeParams","formatScope","targetLocale","resolveMessageFormat","format","cacheBaseKey","errorDetector","compileMessageFormat","ctxOptions","getMessageContextOptions","msgContext","messaged","evaluateMessage","locales","missingRet","getCompileOptions","msgCtx","arg3","datetime","overrides","parseDateTimeArgs","part","datetimeFormat","formatter","DATETIME_FORMAT_OPTIONS_KEYS","arg4","dateTime","clearDateTimeFormat","parseNumberArgs","numberFormat","NUMBER_FORMAT_OPTIONS_KEYS","clearNumberFormat","initFeatureFlags","I18nErrorCodes","createI18nError","TransrateVNodeSymbol","DatetimePartsSymbol","NumberPartsSymbol","SetPluralRulesSymbol","InejctWithOption","handleFlatJson","subKeys","lastIndex","currentObj","getLocaleMessages","__i18n","custom","deepCopy","resource","flatJson","isNotObjectOrIsArray","src","des","getComponentOptions","adjustI18nResources","global","componentOptions","createTextNode","DEVTOOLS_META","composerID","defineCoreMissingHandler","getMetaInfo","createComposer","VueI18nLegacy","_isGlobal","__root","_inheritLocale","_locale","_fallbackLocale","_messages","_datetimeFormats","_numberFormats","_missingWarn","_fallbackWarn","_fallbackRoot","_fallbackFormat","_missing","_runtimeMissing","_postTranslation","_warnHtmlMessage","_escapeParameter","_modifiers","_pluralRules","trackReactivityValues","getPostTranslationHandler","setPostTranslationHandler","getMissingHandler","setMissingHandler","wrapWithDeps","argumentParser","warnType","fallbackSuccess","fallbackFail","successCondition","rt","transrateVNode","numberParts","datetimeParts","setPluralRules","rules","te","getLocaleMessage","resolveMessages","targetLocaleMessages","messageValue","tm","setLocaleMessage","mergeLocaleMessage","getDateTimeFormat","setDateTimeFormat","mergeDateTimeFormat","getNumberFormat","setNumberFormat","mergeNumberFormat","composer","convertComposerOptions","fallbackRoot","pluralizationRules","inheritLocale","sharedMessages","createVueI18n","vueI18n","componentInstanceCreatedListener","baseFormatProps","getInterpolateArg","getFragmentableTag","Translation","useI18n","assignedAttrs","renderFormatter","slotKeys","partFormatter","parts","NumberFormat","DatetimeFormat","getComposer$2","i18nInternal","vTDirective","_process","parsedValue","parseValue","makeParams","textContent","pluginOptions","useI18nComponentName","defineMixin","vuei18n","optionsI18n","mergeToRoot","I18nInjectionKey","createI18n","__legacyMode","__globalInjection","__allowComposition","__instances","globalScope","__global","createGlobal","symbol","__getInstance","__setInstance","__deleteInstance","injectGlobalFields","getI18nInstance","getGlobalComposer","getScope","useI18nForLegacy","getComposer","composerOptions","setupLifeCycle","legacyMode","useComponent","isLocale","_composer","warpWithDeps","globalExportProps","globalExportMethods","desc","close","motion","backendStatusKey","createBackendStatus","refetchController","provideBackendStatus","notis","now","MessageType","typeToStyle","OptionsDefaultValue","allMessageOptions","fullMessageOptions","handleCloseMessage","onClose","PvMessageTransitionDuration","PvMessage","fullOptions","genericMessage","setPrototypeOf","proto","InvariantError","_super","_this","verbosityLevels","verbosityLevel","wrapConsoleMethod","maybe","thunk","global$2","GLOBAL_KEY","getDEV","safeGlobal","needToRemove","install","devAssert","isObjectLike","LineRegExp","getLocation","lastLineStart","printLocation","printSourceLocation","sourceLocation","firstLineColumnOffset","lineIndex","lineOffset","lineNum","columnOffset","columnNum","locationStr","lines","locationLine","subLineIndex","subLineColumnNum","subLines","printPrefixedLines","subLine","existingLines","padLen","prefix","toNormalizedOptions","firstArg","GraphQLError","_this$nodes","_nodeLocations$","_ref","originalError","undefinedIfEmpty","nodeLocations","positions","originalExtensions","extensions","formattedError","syntaxError","description","Location","startToken","endToken","Token","kind","QueryDocumentKeys","kindValues","isNode","maybeNode","maybeKind","OperationTypeNode","DirectiveLocation","Kind","isWhiteSpace","isDigit","isLetter","isNameStart","isNameContinue","dedentBlockStringLines","_firstNonEmptyLine2","commonIndent","firstNonEmptyLine","lastNonEmptyLine","_firstNonEmptyLine","leadingWhitespace","printBlockString","escapedValue","isSingleLine","forceLeadingNewLine","hasTrailingTripleQuotes","hasTrailingQuote","hasTrailingSlash","forceTrailingNewline","printAsMultipleLines","skipLeadingNewLine","TokenKind","Lexer","startOfFileToken","readNextToken","isPunctuatorTokenKind","isUnicodeScalarValue","isSupplementaryCodePoint","isLeadingSurrogate","isTrailingSurrogate","printCodePointAt","lexer","createToken","col","bodyLength","readComment","readBlockString","readString","readNumber","readName","firstCode","readDigits","chunkStart","escape","readEscapedUnicodeVariableWidth","readEscapedUnicodeFixedWidth","readEscapedCharacter","point","readHexDigit","read16BitHexCode","trailingCode","lineStart","currentLine","blockLines","MAX_ARRAY_LENGTH","MAX_RECURSIVE_DEPTH","inspect","formatValue","seenValues","formatObjectValue","previouslySeenValues","isJSONable","jsonValue","formatArray","formatObject","getObjectTag","remaining","items","instanceOf","constructor","Source","locationOffset","isSource","Parser","sourceObj","hasDescription","keywordToken","operation","operationToken","nameOrAlias","isConst","hasTypeCondition","varName","innerType","operationTypes","interfaces","fields","getTokenDesc","locations","getTokenKindDesc","atToken","openKind","parseFn","closeKind","delimiterKind","maxTokens","printString","escapedRegExp","escapedReplacer","escapeSequences","BREAK","visit","visitor","visitorKeys","enterLeaveMap","getEnterLeaveForKind","stack","inArray","edits","ancestors","isLeaving","isEdited","editOffset","editKey","editValue","arrayKey","_enterLeaveMap$get","_enterLeaveMap$get2","visitFn","_node$kind","kindVisitor","print","printDocASTReducer","MAX_LINE_LENGTH","join","varDefs","variable","selections","argsLine","selectionSet","typeCondition","variableDefinitions","isBlockString","hasMultilineItems","maybeArray","separator","_maybeArray$filter$jo","maybeString","_maybeArray$some","removeTemporaryGlobals","checkDEV","DEV","shouldInclude","variables","getInclusionDirectives","ifArgument","evaledValue","hasDirectives","names","all","nameSet","uniqueCount","hasClientExports","isInclusionDirective","directiveArguments","ifValue","getFragmentQueryDocument","fragmentName","actualFragmentName","fragments","createFragmentMap","symTable","fragment","getFragmentFromSelection","selection","fragmentMap","isNonNullObject","makeReference","isReference","isDocumentNode","isStringValue","isBooleanValue","isIntValue","isFloatValue","isVariable","isObjectValue","isListValue","isEnumValue","isNullValue","valueToObjectRepresentation","argObj","nestedArgObj_1","variableValue","listValue","nestedArgArrayObj","storeKeyNameFromField","field","directivesObj","getStoreKeyName","KNOWN_DIRECTIVES","fieldName","filterKeys","filteredArgs_1","completeFieldName","stringifiedArgs","previous","stringifyReplacer","argumentsObjectFromField","argObj_1","resultKeyNameFromField","getTypenameFromResult","_i","isField","typename","isInlineFragment","checkDocument","operations","getOperationDefinition","getOperationName","getFragmentDefinitions","getQueryDefinition","queryDef","getFragmentDefinition","fragmentDef","getMainDefinition","queryDoc","fragmentDefinition","getDefaultValues","defs","filterInPlace","elem","TYPENAME_FIELD","isEmpty","nullIfDocIsEmpty","getDirectiveMatcher","removeDirectivesFromDocument","variablesInUse","variablesToRemove","fragmentSpreadsInUse","fragmentSpreadsToRemove","modifiedDoc","shouldRemoveField","getAllFragmentSpreadsFromSelectionSet","frag","removeArgumentsFromDocument","fs","removeFragmentSpreadFromDocument","addTypenameToDocument","skip","connectionRemoveConfig","willRemove","removeConnectionDirectiveFromDocument","getArgumentMatcher","argument","aConfig","argMatcher","varDef","argConfig","argMatchCount_1","allFragments","buildQueryFromSelectionSet","definitionOperation","removeClientSetsFromDocument","isTypenameOnly","mergeDeep","sources","mergeDeepArray","merger","DeepMerger","defaultReconciler","property","reconciler","sourceKey","offsetLimitPagination","keyArgs","_createForOfIteratorHelperLoose","allowArrayLike","it","_unsupportedIterableToArray","minLen","_arrayLikeToArray","arr2","_defineProperties","_createClass","Constructor","protoProps","staticProps","hasSymbols","getSymbol","SymbolIterator","SymbolObservable","SymbolSpecies","getMethod","getSpecies","Observable","isObservable","hostReportError","enqueue","cleanupSubscription","unsubscribe","closeSubscription","flushSubscription","notifySubscription","onNotify","Subscription","subscriber","subscriptionObserver","SubscriptionObserver","_proto","_proto2","_proto3","_this2","C","_this3","_this4","hasSeed","hasValue","seed","first","_this5","_len","startNext","_this6","completeIfDone","observable","_iterator","_step","_len2","_key2","symbolObservablePonyfill","Symbol","ponyfill","prototype","fakeObsSymbol","cloneDeep","cloneDeepHelper","copy_1","copy_2","iterateObserversSafely","observers","observersWithMethod","obs","asyncMap","mapFn","catchFn","activeCallbackCount","completed","promiseQueue","makeCallback","examiner","delegate","both","caught","sub","canUseWeakMap","canUseWeakSet","canUseSymbol","canUseAsyncIteratorSymbol","fixObservableSubclass","subclass","isPromiseLike","Concast","iterable","nextOrError","nextResultListeners","isNonEmptyArray","graphQLResultHasError","compact","objects","prefixCounts","makeUniqueId","fromError","errorValue","throwServerError","response","validateOperation","OPERATION_FIELDS","createOperation","starting","setContext","getContext","transformOperation","transformedOperation","passthrough","toLink","ApolloLink","isTerminating","LinkError","request","links","leftLink","rightLink","second","firstLink","nextLink","execute","isNodeResponse","isReadableStream","isAsyncIterableIterator","isStreamableBlob","isBlob","isNodeReadableStream","asyncIterator","iterator","nodeStreamIterator","stream","waiting","onData","chunk","shiftedArr","pair","getNext","promiseIterator","readerIterator","reader","responseIterator","readMultipartBody","decoder","contentType","delimiter","boundaryVal","running","bi","headers","contentType_1","_e","_f","parseHeaders","parseJsonBody","headerText","headersInit","name_1","bodyText","getResult","parseError","readJsonBody","parseAndCheckHttpResponse","serializeFetchParameter","label","serialized","defaultHttpOptions","defaultHeaders","defaultOptions","fallbackHttpConfig","defaultPrinter","printer","selectHttpOptionsAndBodyInternal","configs","http","removeDuplicateHeaders","operationName","preserveHeaderCase","normalizedHeaders_1","headerData","normalizedHeaders","createSignalIfSupported","controller","signal","selectURI","fallbackURI","contextURI","rewriteURIForGET","chosenURI","queryParams","addQueryParam","serializedVariables","serializedExtensions","preFragment","fragmentStart","queryParamsPrefix","newURI","backupFetch","createHttpLink","linkOptions","uri","preferredFetch","includeExtensions","useGETForQueries","includeUnusedVariables","requestOptions","linkConfig","clientAwarenessHeaders","contextHeaders","contextConfig","unusedNames_1","_controller","definitionIsMutation","currentFetch","ctype","HttpLink","fnToStr","previousComparisons","equal","aTag","bTag","previouslyCompared","aKeys","definedKeys","bKeys","keyCount","aIterator","aKey","aValue","aCode","endsWith","nativeCodeSuffix","isDefinedKey","full","suffix","fromIndex","bSet","isExecutionPatchIncrementalResult","defaultMakeData","forEach","slice","Trie","weakness","makeData","isObjRef","currentContext","MISSING_VALUE","idCounter","makeSlotClass","Slot","context_1","saved","host","defaultDispose","Cache","dispose","older","newer","parentEntrySlot","toArray","collection","maybeUnsubscribe","entryOrDep","emptySetPool","POOL_TARGET_SIZE","assert","optionalMessage","valueIs","valueGet","valueCopy","Entry","mightBeDirty","rememberParent","reallyRecompute","reportDirty","forgetChildren","eachParent","forgetChild","reportDirtyChild","reportCleanChild","recomputeNewValue","maybeSubscribe","setClean","reportClean","parentCount","parents","parentWasClean","childValue","removeDirtyChild","dc","EntryMethods","depsByKey","subscribe","depend","dep_1","entryMethodName","m_1","makeDefaultMakeCacheKeyFunction","keyTrie","caches","originalFunction","makeCacheKey","optimistic","dirtyKey","peekKey","forgetKey","ApolloCache","optimisticId","updateResult","transaction","MissingFieldError","isNullish","defaultDataIdFromObject","__typename","_id","defaultConfig","normalizeConfig","shouldCanonizeResults","TypeOrFieldNameRegExp","fieldNameFromStoreName","storeFieldName","selectionSetMatchesResult","storeValueIsStoreObject","makeProcessedFieldsMerger","extractFragmentContext","DELETE","delModifier","INVALIDATE","EntityStore","policies","group","objectOrReference","objOrRef","objOrIdOrRef","mergeIntoStore","dataId","storeObject","Layer","dependOnExistence","storeObjectReconciler","fieldsToDirty_1","changedFields_1","needToMerge_1","allDeleted_1","sharedDetails_1","fieldNameOrOptions","fieldValue","modify","limit","evicted","extraRootIds","newData","__META","rest_1","rootId","ids","snapshot","idsToRemove","root_1","found_1","workSet_1","CacheGroup","caching","makeDepKey","maybeDependOnExistenceOfEntity","entityId","supportsResultCaching","Root","resultCaching","Stump","layerId","replay","ownStoreObject","parentStoreObject","existingObject","incomingObject","existingValue","incomingValue","shallowCopy","isObjectOrArray","ObjectCanon","original","proto_1","array_1","firstValueIndex_1","obj_1","canonicalStringify","stringifyCanon","resetCanonicalStringify","canonical","stringifyCache","execSelectionSetKeyArgs","StoreReader","canonizeResults","peekArgs","other","returnPartialData","rootRef","execResult","firstMissing","enclosingRef","objectsToMerge","missingMerger","resultName","workSet","finalResult","frozen","childResult","tree","globalHost","cacheSlot","cacheInfoMap","getCacheInfo","forgetCache","rv","recallCache","makeVar","broadcast","oldListeners","attach","specifierInfoCache","lookupSpecifierInfo","spec","cacheKey","keyFieldsFnFromSpecifier","specifier","extract","keyObject","collectSpecifierPaths","schemaKeyPath","extracted","extractKeyPath","extractKey","keyArgsFnFromSpecifier","collected","keyPath","firstKey","firstChar","directiveName_1","directiveArgs","variableName","varKeyPath","extractor","getSpecifierPaths","paths_1","currentPath_1","reducer","argsFromFieldSpecifier","nullKeyFieldsFn","simpleKeyArgsFn","_args","mergeTrueFn","mergeObjects","mergeFalseFn","Policies","partialContext","normalizeReadFieldOptions","policy","keyFn","specifierOrId","typePolicies","queryType","mutationType","subscriptionType","keyFields","setMerge","merge","which","old","possibleTypes","supertype","subtype","policy_1","supertypes","rest","inbox","createIfMissing","fieldPolicies","supertypeSet","typenameSupertypeSet","workQueue_1","maybeEnqueue_1","needToCheckFuzzySubtypes","regExp","fuzzyString","fieldSpec","specifierOrString","nameOrField","readOptions","makeFieldFunctionOptions","parentTypename","childTypename","makeMergeObjectsFunction","toReference","canRead","readFieldArgs","argc","eType","iType","typesDiffer","getContextFlavor","clientOnly","deferred","flavored","StoreWriter","overwrite","operationDefinition","mergeTree","entityRef","applied","readField","result_1","fieldNodeSet","resultFieldKey","childTree","getChildMergeTree","maybeRecycleChildMergeTree","dataRef","sets","previous_1","mergeMergeTrees","mergeTreeIsEmpty","fieldMap","limitingTrie","flatten","inheritedContext","visitedNode","getStorageArgs","e_1","i_1","getValue_1","eVal","iVal","aVal","emptyMergeTreePool","needToMergeMaps","remainingRightKeys_1","leftTree","InMemoryCache","rootStore","resetResultIdentities","previousReader","idToRemove","newOptimisticData","removeOptimistic","onWatchUpdated","perform","layer","optimisticData","alreadyDirty","lastDiff","isApolloError","generateErrorMessage","errors","errorMessage","ApolloError","graphQLErrors","clientErrors","networkError","extraInfo","NetworkStatus","isNetworkRequestInFlight","networkStatus","ObservableQuery","queryManager","queryInfo","subObserver","defaultSubscriptionObserverErrorCallback","defaultFetchPolicy","fetchPolicy","initialFetchPolicy","opDef","saveAsLastResult","lastResult","newResult","variablesMustMatch","reobserveOptions","fetchMoreOptions","combinedOptions","qid","originalNetworkStatus","updatedQuerySet","fetchMoreResult","updateQuery","reobserveCacheFirst","subscriptionData","newOptions","pollInterval","newNetworkStatus","pollingInfo","maybeFetch","poll","useDisposableConcast","oldVariables","oldFetchPolicy","mergedOptions","concast","lastError","errorResult","obsQuery","nextFetchPolicy","LocalState","client","resolvers","fragmentMatcher","resolverGroup","remoteResult","onlyRunForcedResolvers","localResult","forceResolvers","rootValue","mainDefinition","defaultOperationType","execContext","resultsToMerge","fieldResult","fragmentResult","aliasedFieldName","aliasUsed","defaultResult","resultPromise","resolverType","resolverMap","destructiveMethodCounts","wrapDestructiveCacheMethod","methodName","cancelNotifyTimeout","QueryInfo","queryId","oq","oldDiff","lastWrite","cacheWriteBehavior","mergedData_1","merger_1","isNumericKey","parent_1","shouldWriteResult","diffOptions","errorPolicy","ignoreErrors","writeWithErrors","QueryManager","queryDeduplication","onBroadcast","ssrMode","clientAwareness","assumeImmutableResults","_info","cancel","optimisticResponse","updateQueries","refetchQueries","awaitRefetchQueries","updateWithProxyFn","onQueryUpdated","_g","keepRootFields","mutationId","_h","mutationStoreValue","_j","storeResult","cacheWrites","skipCache","updateQueries_1","observableQuery","queryName","updater","currentQueryResult","nextQueryResult","results_1","transformCache","transformed","noConnection","clientQuery","serverQuery","cacheEntry_1","include","queries","queryNamesAndDocs","legacyQueryOptions","includeStandby","observableQueryPromises","makeObservable","observablePromise_1","deduplication","inFlightLinkObservables_1","byVariables_1","varJson_1","requestId","linkDocument","incrementalResult","hasErrors","aqr","notifyOnNetworkStatusChange","fromVariables","concastSources","cleanupCancelFn","updateCache","includedQueriesById","results","refetchWritePolicy","oldNetworkStatus","readCache","resultsFromCache","fromData","resultsFromLink","shouldNotify","newContext","ApolloClient","credentials","ssrForceFetchDelay","connectToDevTools","typeDefs","clientAwarenessName","clientAwarenessVersion","payload","serializedState","newLink","docCache","fragmentSourceMap","printFragmentWarnings","experimentalFragmentVariables","cacheKeyFromLoc","processFragments","seenKeys","definitions","sourceKeySet","stripLoc","parseDocument","gql","literals","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","extras","gql_1","MACHINE_ID","ObjectID","pid","isBuffer","hexTable","checkForHexRegExp","decodeLookup","objectid","time","hexString","otherId","throttle","noTrailing","debounceMode","timeoutID","clearExistingTimeout","arguments_","exec","atBegin","DefaultApolloClient","ApolloClients","resolveDefaultClient","providedApolloClients","providedApolloClient","resolveClientWithId","clientId","useApolloClient","resolveImpl","savedCurrentClients","currentApolloClients","client2","resolveClient","paramToRef","paramToReactive","isRef2","computed2","useEventHook","on","off","getCount","getAppTracking","getCurrentInstance2","appTracking","ref2","getCurrentTracking","tracking","loading","mod","trackQuery","trackMutation","toApolloError","resultErrorsToApolloError","isServer","useQuery","useQueryImpl","getCurrentInstance3","currentOptions","ref3","documentRef","variablesRef","optionsRef","resultEvent","errorEvent","firstResolve","firstReject","isEnabled","apolloError","currentDocument","currentVariables","startQuerySubscription","subscribeToMoreItems","addSubscribeToMore","onNextResult","queryResult","processNextResult","processError","queryError","resubscribeToQuery","onStopHandlers","restarting","baseRestart","debouncedRestart","isRestartDebounceSetup","updateRestartFn","restart","watch2","currentVariablesSerialized","variables2","refetchResult","currentResult","fetchMore","options2","subscribeToMore","optionsRef2","item2","forceDisabled","enabledOption","computed3","onBeforeUnmount2","useLazyQuery","document2","isRef3","useMutation","getCurrentInstance4","ref4","doneEvent","mutate","overrideOptions","isRef4","onBeforeUnmount3","useResult","pick","computed5","errorLog","printer_1","require$$0","getErrorMessages","printedQuery","logOperation","logErrorMessages","printStack","newLineIndex","lineMap","__createBinding","k2","__exportStar","exports","dateTypePolicy","objectIdTypePolicy","scalarTypePolicies","RawObjectID","createApollo","childOffsetLimitPara","tagName","generatedIntrospection","provideClient","injectClient","vUseQuery","openWindow","win","provideSharedObject","glob","CanonicalizeLocaleList","UNICODE_EXTENSION_SEQUENCE_REGEX","Err","BestAvailableLocale","availableLocales","candidate","LookupMatcher","requestedLocales","getDefaultLocale","requestedLocales_1","noExtensionLocale","availableLocale","BestFitMatcher","minimizedAvailableLocaleMap","availableLocaleMap","canonicalizedLocaleMap","minimizedAvailableLocales","minimizedLocale","canonicalizedLocale","foundLocale","maximizedRequestedLocale","minimizedRequestedLocale","UnicodeExtensionValue","extension","searchValue","ResolveLocale","relevantExtensionKeys","localeData","supportedExtension","relevantExtensionKeys_1","foundLocaleData","keyLocaleData","supportedExtensionAddition","requestedValue","optionsValue","privateIndex","preExtension","postExtension","defaultLocale","opts","langs","lslang","getBrowserLang","loadI18nPromise","loadLocaleMessages","languageList","userLangs","getBrowserPreferredLang","setBrowserLang","lang","__variableDynamicImportRuntimeHelper","setI18nLang","userPreferredLocales","BCP47ToISO639","lo","iso639locale","behMostMatch","valueWithLang","suspectProtoRx","suspectConstructorRx","JsonSigRx","jsonParseTransform","destr","_lval","encode","decodeQueryValue","paramsStr","encodeQueryItem","_val","PROTOCOL_REGEX","PROTOCOL_RELATIVE_REGEX","hasProtocol","inputStr","acceptProtocolRelative","withoutTrailingSlash","s0","withTrailingSlash","hasLeadingSlash","withoutLeadingSlash","withBase","isEmptyURL","_base","joinURL","withQuery","mergedQuery","stringifyParsedURL","isNonEmptyURL","defaultProto","parsePath","protocol","auth","hostAndPath","fullpath","FetchError","createFetchError","fetchError","payloadMethods","isPayloadMethod","isJSONSerializable","textTypes","JSON_RE","detectResponseType","_contentType","retryStatusCodes","createFetch","isAbort","responseCode","$fetchRaw","_request","_opts","Headers","fetch","responseType","$fetch","useAuth","status","username","image","email","isLogin","isAdmin","screens","screenSizes","html","metaTag","themes","themePreference","isDark","extensionTweaks","installed","loadExtension","ext","ticked","extInfo","extName","PatchyVideo","backendStatus","provideGraphQLClient","BackendDown","BrowserOffline","AppRouterView","Notification","ReloadPrompt","user"],"sources":["../../vite/modulepreload-polyfill","../../node_modules/.pnpm/@vue+shared@3.2.41/node_modules/@vue/shared/dist/shared.esm-bundler.js","../../node_modules/.pnpm/@vue+reactivity@3.2.41/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../node_modules/.pnpm/@vue+runtime-core@3.2.41/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../node_modules/.pnpm/@vue+runtime-dom@3.2.41/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../node_modules/.pnpm/vue-router@4.1.6_vue@3.2.41/node_modules/vue-router/dist/vue-router.mjs","../../node_modules/.pnpm/vue-demi@0.12.4_vue@3.2.41/node_modules/vue-demi/lib/index.mjs","../../node_modules/.pnpm/@vueuse+shared@8.9.4_vue@3.2.41/node_modules/@vueuse/shared/index.mjs","../../node_modules/.pnpm/@vueuse+core@8.9.4_vue@3.2.41/node_modules/@vueuse/core/index.mjs","../../node_modules/.pnpm/@vueuse+shared@8.1.2_vue@3.2.41/node_modules/@vueuse/shared/index.mjs","../../node_modules/.pnpm/framesync@6.1.0/node_modules/framesync/dist/es/on-next-frame.mjs","../../node_modules/.pnpm/framesync@6.1.0/node_modules/framesync/dist/es/create-render-step.mjs","../../node_modules/.pnpm/framesync@6.1.0/node_modules/framesync/dist/es/index.mjs","../../node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.es6.js","../../node_modules/.pnpm/hey-listen@1.0.8/node_modules/hey-listen/dist/hey-listen.es.js","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/clamp.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/utils/find-spring.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/generators/spring.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/progress.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/mix.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/utils.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/numbers/index.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/numbers/units.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/color/utils.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/color/hsla.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/color/rgba.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/color/hex.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/color/index.mjs","../../node_modules/.pnpm/style-value-types@5.0.0/node_modules/style-value-types/dist/es/complex/index.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/hsla-to-rgba.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/mix-color.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/inc.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/pipe.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/mix-complex.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/interpolate.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/easing/utils.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/easing/index.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/generators/keyframes.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/generators/decay.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/utils/detect-animation-from-options.mjs","../../node_modules/.pnpm/framesync@6.0.1/node_modules/framesync/dist/es/on-next-frame.mjs","../../node_modules/.pnpm/framesync@6.0.1/node_modules/framesync/dist/es/create-render-step.mjs","../../node_modules/.pnpm/framesync@6.0.1/node_modules/framesync/dist/es/index.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/utils/elapsed.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/index.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/utils/velocity-per-second.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/animations/inertia.mjs","../../node_modules/.pnpm/popmotion@11.0.3/node_modules/popmotion/dist/es/easing/cubic-bezier.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/utils.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/numbers/index.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/numbers/units.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/color/utils.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/color/hsla.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/color/rgba.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/color/hex.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/color/index.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/complex/index.mjs","../../node_modules/.pnpm/style-value-types@5.1.0/node_modules/style-value-types/dist/es/complex/filter.mjs","../../node_modules/.pnpm/@vueuse+motion@2.0.0-beta.12_vue@3.2.41/node_modules/@vueuse/motion/dist/index.mjs","../../node_modules/.pnpm/vue-demi@0.13.11_vue@3.2.41/node_modules/vue-demi/lib/index.mjs","../../node_modules/.pnpm/@vueuse+shared@9.3.1_vue@3.2.41/node_modules/@vueuse/shared/index.mjs","../../node_modules/.pnpm/@vueuse+core@9.3.1_vue@3.2.41/node_modules/@vueuse/core/index.mjs","../../node_modules/.pnpm/pinia@2.0.23_l7r24p6nevbtlimqmqcwa3ouhu/node_modules/pinia/dist/pinia.mjs","../../node_modules/.pnpm/nprogress@0.2.0/node_modules/nprogress/nprogress.js","../../packages/nprogress/index.ts","../../packages/main/components/BackendDown.vue","../../../../../../../../@vite-plugin-pwa/virtual:pwa-register/vue","../../node_modules/.pnpm/@intlify+shared@9.2.2/node_modules/@intlify/shared/dist/shared.esm-bundler.js","../../node_modules/.pnpm/@intlify+message-compiler@9.2.2/node_modules/@intlify/message-compiler/dist/message-compiler.esm-bundler.js","../../node_modules/.pnpm/@intlify+devtools-if@9.2.2/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js","../../node_modules/.pnpm/@intlify+core-base@9.2.2/node_modules/@intlify/core-base/dist/core-base.esm-bundler.js","../../node_modules/.pnpm/vue-i18n@9.2.2_vue@3.2.41/node_modules/vue-i18n/dist/vue-i18n.esm-bundler.js","../../packages/main/components/ReloadPrompt.vue","../../packages/main/components/AppRouterView.vue","../../packages/main/components/BrowserOffline.vue","../../packages/main/libs/backendStatus.ts","../../packages/notification/index.ts","../../packages/notification/components/Notification.vue","../../packages/ui/libs/PvMessage.ts","../../node_modules/.pnpm/ts-invariant@0.10.3/node_modules/ts-invariant/lib/invariant.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/globals/maybe.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/globals/global.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/globals/DEV.js","../../node_modules/.pnpm/ts-invariant@0.10.3/node_modules/ts-invariant/process/index.js","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/devAssert.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/isObjectLike.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/invariant.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/location.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/printLocation.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/GraphQLError.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/syntaxError.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/ast.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/directiveLocation.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/kinds.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/characterClasses.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/blockString.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/tokenKind.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/lexer.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/inspect.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/instanceOf.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/source.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/parser.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/printString.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/visitor.mjs","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/printer.mjs","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/globals/fix-graphql.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/globals/index.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/graphql/directives.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/graphql/fragments.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/objects.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/graphql/storeUtils.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/graphql/getFromAST.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/filterInPlace.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/graphql/transform.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/mergeDeep.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/policies/pagination.js","../../node_modules/.pnpm/zen-observable-ts@1.2.5/node_modules/zen-observable-ts/module.js","../../node_modules/.pnpm/symbol-observable@4.0.0/node_modules/symbol-observable/es/ponyfill.js","../../node_modules/.pnpm/symbol-observable@4.0.0/node_modules/symbol-observable/es/index.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/observables/Observable.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/cloneDeep.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/observables/iteration.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/observables/asyncMap.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/canUse.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/observables/subclassing.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/observables/Concast.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/arrays.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/errorHandling.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/compact.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/makeUniqueId.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/mergeOptions.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/utils/fromError.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/utils/throwServerError.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/utils/validateOperation.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/utils/createOperation.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/utils/transformOperation.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/core/ApolloLink.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/core/from.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/core/execute.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/version.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/responseIterator.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/iterators/async.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/iterators/nodeStream.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/iterators/promise.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/iterators/reader.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/responseIterator.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/serializeFetchParameter.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/createSignalIfSupported.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/selectURI.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/rewriteURIForGET.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/createHttpLink.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/link/http/HttpLink.js","../../node_modules/.pnpm/@wry+equality@0.5.3/node_modules/@wry/equality/lib/equality.esm.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/utilities/common/incrementalResult.js","../../node_modules/.pnpm/@wry+trie@0.3.2/node_modules/@wry/trie/lib/trie.esm.js","../../node_modules/.pnpm/@wry+context@0.6.1/node_modules/@wry/context/lib/context.esm.js","../../node_modules/.pnpm/optimism@0.16.1/node_modules/optimism/lib/bundle.esm.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/core/cache.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/core/types/common.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/helpers.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/entityStore.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/object-canon.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/readFromStore.js","../../node_modules/.pnpm/@wry+context@0.7.0/node_modules/@wry/context/lib/context.esm.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/reactiveVars.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/key-extractor.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/policies.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/writeToStore.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/errors/index.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/networkStatus.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/ObservableQuery.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/LocalState.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/QueryInfo.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/QueryManager.js","../../node_modules/.pnpm/@apollo+client@3.7.0_graphql@16.6.0/node_modules/@apollo/client/core/ApolloClient.js","../../node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.6.0/node_modules/graphql-tag/lib/index.js","../../node_modules/.pnpm/bson-objectid@2.0.3/node_modules/bson-objectid/objectid.js","../../node_modules/.pnpm/throttle-debounce@3.0.1/node_modules/throttle-debounce/esm/index.js","../../node_modules/.pnpm/@vue+apollo-composable@4.0.0-beta.1_ls2tpcqt7uiefmlpigxojvry24/node_modules/@vue/apollo-composable/dist/index.esm.js","../../node_modules/.pnpm/@vue+apollo-util@4.0.0-alpha.18/node_modules/@vue/apollo-util/dist/errorLog.js","../../node_modules/.pnpm/@vue+apollo-util@4.0.0-alpha.18/node_modules/@vue/apollo-util/dist/index.js","../../packages/graphql/typePolicies.ts","../../packages/graphql/__generated__/typePolicies.ts","../../packages/graphql/__generated__/graphql.fragment.ts","../../packages/graphql/index.ts","../../packages/nested/index.ts","../../../../../../../../@vite/dynamic-import-helper","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js","../../node_modules/.pnpm/@formatjs+intl-localematcher@0.2.31/node_modules/@formatjs/intl-localematcher/lib/index.js","../../packages/locales/index.ts","../../node_modules/.pnpm/destr@1.2.0/node_modules/destr/dist/index.mjs","../../node_modules/.pnpm/ufo@0.8.6/node_modules/ufo/dist/index.mjs","../../node_modules/.pnpm/ohmyfetch@0.4.20/node_modules/ohmyfetch/dist/shared/ohmyfetch.fb8dc89e.mjs","../../node_modules/.pnpm/ohmyfetch@0.4.20/node_modules/ohmyfetch/dist/index.mjs","../../packages/user/index.ts","../../packages/css/index.ts","../../packages/darkmode/index.ts","../../packages/main/libs/extension.ts","../../packages/main/libs/pvcc.ts","../../packages/main/main.ts"],"sourcesContent":["__VITE_IS_MODERN__&&(function polyfill() {\n const relList = document.createElement('link').relList;\n if (relList && relList.supports && relList.supports('modulepreload')) {\n return;\n }\n for (const link of document.querySelectorAll('link[rel=\"modulepreload\"]')) {\n processPreload(link);\n }\n new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n if (mutation.type !== 'childList') {\n continue;\n }\n for (const node of mutation.addedNodes) {\n if (node.tagName === 'LINK' && node.rel === 'modulepreload')\n processPreload(node);\n }\n }\n }).observe(document, { childList: true, subtree: true });\n function getFetchOpts(script) {\n const fetchOpts = {};\n if (script.integrity)\n fetchOpts.integrity = script.integrity;\n if (script.referrerpolicy)\n fetchOpts.referrerPolicy = script.referrerpolicy;\n if (script.crossorigin === 'use-credentials')\n fetchOpts.credentials = 'include';\n else if (script.crossorigin === 'anonymous')\n fetchOpts.credentials = 'omit';\n else\n fetchOpts.credentials = 'same-origin';\n return fetchOpts;\n }\n function processPreload(link) {\n if (link.ep)\n // ep marker = processed\n return;\n link.ep = true;\n // prepopulate the load record\n const fetchOpts = getFetchOpts(link);\n fetch(link.href, fetchOpts);\n }\n}());","/**\n * Make a map and return a function for checking if a key\n * is in that map.\n * IMPORTANT: all calls of this function must be prefixed with\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\n * So that rollup can tree-shake them if necessary.\n */\nfunction makeMap(str, expectsLowerCase) {\n const map = Object.create(null);\n const list = str.split(',');\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\n}\n\n/**\n * dev only flag -> name mapping\n */\nconst PatchFlagNames = {\n [1 /* PatchFlags.TEXT */]: `TEXT`,\n [2 /* PatchFlags.CLASS */]: `CLASS`,\n [4 /* PatchFlags.STYLE */]: `STYLE`,\n [8 /* PatchFlags.PROPS */]: `PROPS`,\n [16 /* PatchFlags.FULL_PROPS */]: `FULL_PROPS`,\n [32 /* PatchFlags.HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\n [64 /* PatchFlags.STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\n [128 /* PatchFlags.KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\n [256 /* PatchFlags.UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\n [512 /* PatchFlags.NEED_PATCH */]: `NEED_PATCH`,\n [1024 /* PatchFlags.DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\n [2048 /* PatchFlags.DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\n [-1 /* PatchFlags.HOISTED */]: `HOISTED`,\n [-2 /* PatchFlags.BAIL */]: `BAIL`\n};\n\n/**\n * Dev only\n */\nconst slotFlagsText = {\n [1 /* SlotFlags.STABLE */]: 'STABLE',\n [2 /* SlotFlags.DYNAMIC */]: 'DYNAMIC',\n [3 /* SlotFlags.FORWARDED */]: 'FORWARDED'\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n // Split the content into individual lines but capture the newline sequence\n // that separated each line. This is important because the actual sequence is\n // needed to properly take into account the full line length for offset\n // comparison\n let lines = source.split(/(\\r?\\n)/);\n // Separate the lines and newline sequences into separate arrays for easier referencing\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count +=\n lines[i].length +\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\n const lineLength = lines[j].length;\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\n if (j === i) {\n // push underline\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\n }\n else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + '^'.repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join('\\n');\n}\n\n/**\n * On the client we only need to offer special cases for boolean attributes that\n * have different names from their corresponding dom properties:\n * - itemscope -> N/A\n * - allowfullscreen -> allowFullscreen\n * - formnovalidate -> formNoValidate\n * - ismap -> isMap\n * - nomodule -> noModule\n * - novalidate -> noValidate\n * - readonly -> readOnly\n */\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);\n/**\n * The full list is needed during SSR to produce the correct initial markup.\n */\nconst isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +\n `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +\n `loop,open,required,reversed,scoped,seamless,` +\n `checked,muted,multiple,selected`);\n/**\n * Boolean attributes should be included if the value is truthy or ''.\n * e.g. `<select multiple>` compiles to `{ multiple: '' }`\n */\nfunction includeBooleanAttr(value) {\n return !!value || value === '';\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return (attrValidationCache[name] = !isUnsafe);\n}\nconst propsToAttrMap = {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n};\n/**\n * CSS properties that accept plain numbers\n */\nconst isNoUnitNumericStyleProp = /*#__PURE__*/ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,` +\n `border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,` +\n `columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,` +\n `grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,` +\n `grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,` +\n `line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,` +\n // SVG\n `fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,` +\n `stroke-miterlimit,stroke-opacity,stroke-width`);\n/**\n * Known attributes, this is used for stringification of runtime static nodes\n * so that we don't stringify bindings that cannot be set from HTML.\n * Don't also forget to allow `data-*` and `aria-*`!\n * Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes\n */\nconst isKnownHtmlAttr = /*#__PURE__*/ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,` +\n `autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +\n `border,buffered,capture,challenge,charset,checked,cite,class,code,` +\n `codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,` +\n `coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +\n `disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +\n `formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +\n `height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +\n `ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +\n `manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +\n `open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +\n `referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,` +\n `selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,` +\n `start,step,style,summary,tabindex,target,title,translate,type,usemap,` +\n `value,width,wrap`);\n/**\n * Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute\n */\nconst isKnownSvgAttr = /*#__PURE__*/ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +\n `arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +\n `baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +\n `clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,` +\n `color-interpolation-filters,color-profile,color-rendering,` +\n `contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,` +\n `descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,` +\n `dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,` +\n `fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,` +\n `font-family,font-size,font-size-adjust,font-stretch,font-style,` +\n `font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,` +\n `glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,` +\n `gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,` +\n `horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,` +\n `k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,` +\n `lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,` +\n `marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,` +\n `mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,` +\n `name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,` +\n `overflow,overline-position,overline-thickness,panose-1,paint-order,path,` +\n `pathLength,patternContentUnits,patternTransform,patternUnits,ping,` +\n `pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,` +\n `preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,` +\n `rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,` +\n `restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,` +\n `specularConstant,specularExponent,speed,spreadMethod,startOffset,` +\n `stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,` +\n `strikethrough-position,strikethrough-thickness,string,stroke,` +\n `stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,` +\n `stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,` +\n `systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,` +\n `text-decoration,text-rendering,textLength,to,transform,transform-origin,` +\n `type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,` +\n `unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,` +\n `v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,` +\n `vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,` +\n `writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,` +\n `xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,` +\n `xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else if (isString(value)) {\n return value;\n }\n else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:(.+)/;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.split(listDelimiterRE).forEach(item => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = '';\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) ||\n (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) {\n // only render valid values\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = '';\n if (isString(value)) {\n res = value;\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + ' ';\n }\n }\n }\n else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + ' ';\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\n// These tag configs are shared between compiler-dom and runtime-dom, so they\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element\nconst HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +\n 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +\n 'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +\n 'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +\n 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +\n 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +\n 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +\n 'option,output,progress,select,textarea,details,dialog,menu,' +\n 'summary,template,blockquote,iframe,tfoot';\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element\nconst SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +\n 'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +\n 'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +\n 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +\n 'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +\n 'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +\n 'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +\n 'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +\n 'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +\n 'text,textPath,title,tspan,unknown,use,view';\nconst VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);\n/**\n * Compiler only.\n * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.\n */\nconst isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = '' + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = '';\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34: // \"\n escaped = '"';\n break;\n case 38: // &\n escaped = '&';\n break;\n case 39: // '\n escaped = ''';\n break;\n case 60: // <\n escaped = '<';\n break;\n case 62: // >\n escaped = '>';\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\n// https://www.w3.org/TR/html52/syntax.html#comments\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\nfunction escapeHtmlComment(src) {\n return src.replace(commentStripRE, '');\n}\n\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length)\n return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n /* istanbul ignore if: this if will probably never be called */\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if ((aHasKey && !bHasKey) ||\n (!aHasKey && bHasKey) ||\n !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex(item => looseEqual(item, val));\n}\n\n/**\n * For converting {{ interpolation }} values to displayed strings.\n * @private\n */\nconst toDisplayString = (val) => {\n return isString(val)\n ? val\n : val == null\n ? ''\n : isArray(val) ||\n (isObject(val) &&\n (val.toString === objectToString || !isFunction(val.toString)))\n ? JSON.stringify(val, replacer, 2)\n : String(val);\n};\nconst replacer = (_key, val) => {\n // can't use isRef here since @vue/shared has no deps\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n }\n else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => {\n entries[`${key} =>`] = val;\n return entries;\n }, {})\n };\n }\n else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()]\n };\n }\n else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\n\nconst EMPTY_OBJ = (process.env.NODE_ENV !== 'production')\n ? Object.freeze({})\n : {};\nconst EMPTY_ARR = (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];\nconst NOOP = () => { };\n/**\n * Always return false.\n */\nconst NO = () => false;\nconst onRE = /^on[^a-z]/;\nconst isOn = (key) => onRE.test(key);\nconst isModelListener = (key) => key.startsWith('onUpdate:');\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === '[object Map]';\nconst isSet = (val) => toTypeString(val) === '[object Set]';\nconst isDate = (val) => toTypeString(val) === '[object Date]';\nconst isFunction = (val) => typeof val === 'function';\nconst isString = (val) => typeof val === 'string';\nconst isSymbol = (val) => typeof val === 'symbol';\nconst isObject = (val) => val !== null && typeof val === 'object';\nconst isPromise = (val) => {\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n // extract \"RawType\" from strings like \"[object RawType]\"\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === '[object Object]';\nconst isIntegerKey = (key) => isString(key) &&\n key !== 'NaN' &&\n key[0] !== '-' &&\n '' + parseInt(key, 10) === key;\nconst isReservedProp = /*#__PURE__*/ makeMap(\n// the leading comma is intentional so empty string \"\" is also included\n',key,ref,ref_for,ref_key,' +\n 'onVnodeBeforeMount,onVnodeMounted,' +\n 'onVnodeBeforeUpdate,onVnodeUpdated,' +\n 'onVnodeBeforeUnmount,onVnodeUnmounted');\nconst isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');\nconst cacheStringFunction = (fn) => {\n const cache = Object.create(null);\n return ((str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n });\n};\nconst camelizeRE = /-(\\w)/g;\n/**\n * @private\n */\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));\n});\nconst hyphenateRE = /\\B([A-Z])/g;\n/**\n * @private\n */\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());\n/**\n * @private\n */\nconst capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));\n/**\n * @private\n */\nconst toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);\n// compare whether a value has changed, accounting for NaN.\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst toNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return (_globalThis ||\n (_globalThis =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {}));\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name)\n ? `__props.${name}`\n : `__props[${JSON.stringify(name)}]`;\n}\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isModelListener, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n run(fn) {\n if (this.active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this.active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`onScopeDispose() is called when there is no active effect scope` +\n ` to be associated with.`);\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit; // set was tracked\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n }\n else {\n deps[ptr++] = dep;\n }\n // clear bits\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = new WeakMap();\n// The number of effects currently being tracked recursively.\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\n/**\n * The bitwise track markers support at most 30 levels of recursion.\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\n * When recursion depth is greater, fall back to using a full cleanup.\n */\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = undefined;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n }\n else {\n cleanupEffect(this);\n }\n return this.fn();\n }\n finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = undefined;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n // stopped while running itself - defer the cleanup\n if (activeEffect === this) {\n this.deferStop = true;\n }\n else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect) {\n const { deps } = effect;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === undefined ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, (depsMap = new Map()));\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, (dep = createDep()));\n }\n const eventInfo = (process.env.NODE_ENV !== 'production')\n ? { effect: activeEffect, target, type, key }\n : undefined;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit; // set newly tracked\n shouldTrack = !wasTracked(dep);\n }\n }\n else {\n // Full cleanup mode.\n shouldTrack = !dep.has(activeEffect);\n }\n if (shouldTrack) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\n activeEffect.onTrack(Object.assign({ effect: activeEffect }, debuggerEventExtraInfo));\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n // never been tracked\n return;\n }\n let deps = [];\n if (type === \"clear\" /* TriggerOpTypes.CLEAR */) {\n // collection being cleared\n // trigger all effects for target\n deps = [...depsMap.values()];\n }\n else if (key === 'length' && isArray(target)) {\n depsMap.forEach((dep, key) => {\n if (key === 'length' || key >= newValue) {\n deps.push(dep);\n }\n });\n }\n else {\n // schedule runs for SET | ADD | DELETE\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n // also run for iteration key on ADD | DELETE | Map.SET\n switch (type) {\n case \"add\" /* TriggerOpTypes.ADD */:\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n else if (isIntegerKey(key)) {\n // new index added to array -> length changes\n deps.push(depsMap.get('length'));\n }\n break;\n case \"delete\" /* TriggerOpTypes.DELETE */:\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\" /* TriggerOpTypes.SET */:\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = (process.env.NODE_ENV !== 'production')\n ? { target, type, key, newValue, oldValue, oldTarget }\n : undefined;\n if (deps.length === 1) {\n if (deps[0]) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(deps[0], eventInfo);\n }\n else {\n triggerEffects(deps[0]);\n }\n }\n }\n else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(createDep(effects), eventInfo);\n }\n else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n // spread into array for stabilization\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect of effects) {\n if (effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n for (const effect of effects) {\n if (!effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect, debuggerEventExtraInfo) {\n if (effect !== activeEffect || effect.allowRecurse) {\n if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\n effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\n }\n if (effect.scheduler) {\n effect.scheduler();\n }\n else {\n effect.run();\n }\n }\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n/*#__PURE__*/\nObject.getOwnPropertyNames(Symbol)\n // ios10.x Object.getOwnPropertyNames(Symbol) can enumerate 'arguments' and 'caller'\n // but accessing them on Symbol leads to TypeError because Symbol is a strict mode\n // function\n .filter(key => key !== 'arguments' && key !== 'caller')\n .map(key => Symbol[key])\n .filter(isSymbol));\nconst get = /*#__PURE__*/ createGetter();\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\n instrumentations[key] = function (...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\" /* TrackOpTypes.GET */, i + '');\n }\n // we run the method using the original args first (which may be reactive)\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n // if that didn't work, run it again using raw values.\n return arr[key](...args.map(toRaw));\n }\n else {\n return res;\n }\n };\n });\n ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\n instrumentations[key] = function (...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction createGetter(isReadonly = false, shallow = false) {\n return function get(target, key, receiver) {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */) {\n return shallow;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */ &&\n receiver ===\n (isReadonly\n ? shallow\n ? shallowReadonlyMap\n : readonlyMap\n : shallow\n ? shallowReactiveMap\n : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly) {\n track(target, \"get\" /* TrackOpTypes.GET */, key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n // ref unwrapping - skip unwrap for Array + integer key.\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n // Convert returned value into a proxy as well. we do the isObject check\n // here to avoid invalid value warning. Also need to lazy access readonly\n // and reactive here to avoid circular dependency.\n return isReadonly ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set = /*#__PURE__*/ createSetter();\nconst shallowSet = /*#__PURE__*/ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key)\n ? Number(key) < target.length\n : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n // don't trigger if target is something up in the prototype chain of original\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.SET */, key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\" /* TriggerOpTypes.DELETE */, key, undefined, oldValue);\n }\n return result;\n}\nfunction has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\" /* TrackOpTypes.HAS */, key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\" /* TrackOpTypes.ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get,\n set,\n deleteProperty,\n has,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n },\n deleteProperty(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\n get: shallowGet,\n set: shallowSet\n});\n// Props handlers are special in the sense that it should not unwrap top-level\n// refs (in order to allow refs to be explicitly passed down), but should\n// retain the reactivity of the normal readonly object.\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\n get: shallowReadonlyGet\n});\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\n // of the value\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, key);\n }\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, rawKey);\n }\n const { has } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has.call(rawTarget, key)) {\n return wrap(target.get(key));\n }\n else if (has.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n }\n else if (target !== rawTarget) {\n // #3602 readonly(reactive(Map))\n // ensure that the nested reactive `Map` can do tracking for itself\n target.get(key);\n }\n}\nfunction has$1(key, isReadonly = false) {\n const target = this[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, key);\n }\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, rawKey);\n }\n return key === rawKey\n ? target.has(key)\n : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n !isReadonly && track(toRaw(target), \"iterate\" /* TrackOpTypes.ITERATE */, ITERATE_KEY);\n return Reflect.get(target, 'size', target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, value, value);\n }\n return this;\n}\nfunction set$1(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.SET */, key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get ? get.call(target, key) : undefined;\n // forward the operation before queueing reactions\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\" /* TriggerOpTypes.DELETE */, key, undefined, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = (process.env.NODE_ENV !== 'production')\n ? isMap(target)\n ? new Map(target)\n : new Set(target)\n : undefined;\n // forward the operation before queueing reactions\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\" /* TriggerOpTypes.CLEAR */, undefined, undefined, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, ITERATE_KEY);\n return target.forEach((value, key) => {\n // important: make sure the callback is\n // 1. invoked with the reactive map as `this` and 3rd arg\n // 2. the value received should be a corresponding reactive/readonly.\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function (...args) {\n const target = this[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\n const isKeyOnly = method === 'keys' && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly &&\n track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\n // return a wrapped iterator which returns observed versions of the\n // values emitted from the real iterator\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done\n ? { value, done }\n : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function (...args) {\n if ((process.env.NODE_ENV !== 'production')) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\n }\n return type === \"delete\" /* TriggerOpTypes.DELETE */ ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations = {\n get(key) {\n return get$1(this, key);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations = {\n get(key) {\n return get$1(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\n iteratorMethods.forEach(method => {\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\n });\n return [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n ];\n}\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow\n ? isReadonly\n ? shallowReadonlyInstrumentations\n : shallowInstrumentations\n : isReadonly\n ? readonlyInstrumentations\n : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */) {\n return target;\n }\n return Reflect.get(hasOwn(instrumentations, key) && key in target\n ? instrumentations\n : target, key, receiver);\n };\n}\nconst mutableCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\n `which can lead to inconsistencies. ` +\n `Avoid differentiating between the raw and reactive versions ` +\n `of an object and only use the reactive version if possible.`);\n }\n}\n\nconst reactiveMap = new WeakMap();\nconst shallowReactiveMap = new WeakMap();\nconst readonlyMap = new WeakMap();\nconst shallowReadonlyMap = new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case 'Object':\n case 'Array':\n return 1 /* TargetType.COMMON */;\n case 'Map':\n case 'Set':\n case 'WeakMap':\n case 'WeakSet':\n return 2 /* TargetType.COLLECTION */;\n default:\n return 0 /* TargetType.INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\" /* ReactiveFlags.SKIP */] || !Object.isExtensible(value)\n ? 0 /* TargetType.INVALID */\n : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\n}\n/**\n * Creates a readonly copy of the original object. Note the returned copy is not\n * made reactive, but `readonly` can be called on an already reactive object.\n */\nfunction readonly(target) {\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\n}\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n // target is already a Proxy, return it.\n // exception: calling readonly() on a reactive object\n if (target[\"__v_raw\" /* ReactiveFlags.RAW */] &&\n !(isReadonly && target[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */])) {\n return target;\n }\n // target already has corresponding Proxy\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n // only specific value types can be observed.\n const targetType = getTargetType(target);\n if (targetType === 0 /* TargetType.INVALID */) {\n return target;\n }\n const proxy = new Proxy(target, targetType === 2 /* TargetType.COLLECTION */ ? collectionHandlers : baseHandlers);\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref) {\n if (shouldTrack && activeEffect) {\n ref = toRaw(ref);\n if ((process.env.NODE_ENV !== 'production')) {\n trackEffects(ref.dep || (ref.dep = createDep()), {\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n trackEffects(ref.dep || (ref.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref, newVal) {\n ref = toRaw(ref);\n if (ref.dep) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(ref.dep, {\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value',\n newValue: newVal\n });\n }\n else {\n triggerEffects(ref.dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = undefined;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref) {\n triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs)\n ? objectWithRefs\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = undefined;\n this.__v_isRef = true;\n const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === undefined ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n}\nfunction toRef(object, key, defaultValue) {\n const val = object[key];\n return isRef(val)\n ? val\n : new ObjectRefImpl(object, key, defaultValue);\n}\n\nvar _a;\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = undefined;\n this.__v_isRef = true;\n this[_a] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */] = isReadonly;\n }\n get value() {\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\n_a = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = (process.env.NODE_ENV !== 'production')\n ? () => {\n console.warn('Write operation failed: computed value is readonly');\n }\n : NOOP;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if ((process.env.NODE_ENV !== 'production') && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nvar _a$1;\nconst tick = /*#__PURE__*/ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = undefined;\n this._dirty = true;\n this.__v_isRef = true;\n this[_a$1] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n }\n else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n // chained upstream computeds are notified synchronously to ensure\n // value invalidation in case of sync access; normal effects are\n // deferred to be triggered in scheduler.\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(true /* computedTrigger */);\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return (this._value = this.effect.run());\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\n return toRaw(this)._get();\n }\n}\n_a$1 = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, EffectScope, markRaw, proxyRefs, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, hasChanged, remove, isSet, isMap, isPlainObject, invokeArrayFns, isBuiltInDirective, capitalize, isGloballyWhitelisted, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, NO, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n // avoid props formatting or warn handler tracking deps that might be mutated\n // during patch, leading to infinite recursion.\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(appWarnHandler, instance, 11 /* ErrorCodes.APP_WARN_HANDLER */, [\n msg + args.join(''),\n instance && instance.proxy,\n trace\n .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\n .join('\\n'),\n trace\n ]);\n }\n else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n /* istanbul ignore if */\n if (trace.length &&\n // avoid spamming console during tests\n !false) {\n warnArgs.push(`\\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n // we can't just use the stack because it will be incomplete during updates\n // that did not start from the root. Re-construct the parent chain using\n // instance parent pointers.\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n }\n else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\n/* istanbul ignore next */\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...(i === 0 ? [] : [`\\n`]), ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\n const close = `>` + postfix;\n return vnode.props\n ? [open, ...formatProps(vnode.props), close]\n : [open + close];\n}\n/* istanbul ignore next */\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach(key => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\n/* istanbul ignore next */\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n }\n else if (typeof value === 'number' ||\n typeof value === 'boolean' ||\n value == null) {\n return raw ? value : [`${key}=${value}`];\n }\n else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n }\n else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n }\n else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\" /* LifecycleHooks.SERVER_PREFETCH */]: 'serverPrefetch hook',\n [\"bc\" /* LifecycleHooks.BEFORE_CREATE */]: 'beforeCreate hook',\n [\"c\" /* LifecycleHooks.CREATED */]: 'created hook',\n [\"bm\" /* LifecycleHooks.BEFORE_MOUNT */]: 'beforeMount hook',\n [\"m\" /* LifecycleHooks.MOUNTED */]: 'mounted hook',\n [\"bu\" /* LifecycleHooks.BEFORE_UPDATE */]: 'beforeUpdate hook',\n [\"u\" /* LifecycleHooks.UPDATED */]: 'updated',\n [\"bum\" /* LifecycleHooks.BEFORE_UNMOUNT */]: 'beforeUnmount hook',\n [\"um\" /* LifecycleHooks.UNMOUNTED */]: 'unmounted hook',\n [\"a\" /* LifecycleHooks.ACTIVATED */]: 'activated hook',\n [\"da\" /* LifecycleHooks.DEACTIVATED */]: 'deactivated hook',\n [\"ec\" /* LifecycleHooks.ERROR_CAPTURED */]: 'errorCaptured hook',\n [\"rtc\" /* LifecycleHooks.RENDER_TRACKED */]: 'renderTracked hook',\n [\"rtg\" /* LifecycleHooks.RENDER_TRIGGERED */]: 'renderTriggered hook',\n [0 /* ErrorCodes.SETUP_FUNCTION */]: 'setup function',\n [1 /* ErrorCodes.RENDER_FUNCTION */]: 'render function',\n [2 /* ErrorCodes.WATCH_GETTER */]: 'watcher getter',\n [3 /* ErrorCodes.WATCH_CALLBACK */]: 'watcher callback',\n [4 /* ErrorCodes.WATCH_CLEANUP */]: 'watcher cleanup function',\n [5 /* ErrorCodes.NATIVE_EVENT_HANDLER */]: 'native event handler',\n [6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */]: 'component event handler',\n [7 /* ErrorCodes.VNODE_HOOK */]: 'vnode hook',\n [8 /* ErrorCodes.DIRECTIVE_HOOK */]: 'directive hook',\n [9 /* ErrorCodes.TRANSITION_HOOK */]: 'transition hook',\n [10 /* ErrorCodes.APP_ERROR_HANDLER */]: 'app errorHandler',\n [11 /* ErrorCodes.APP_WARN_HANDLER */]: 'app warnHandler',\n [12 /* ErrorCodes.FUNCTION_REF */]: 'ref function',\n [13 /* ErrorCodes.ASYNC_COMPONENT_LOADER */]: 'async component loader',\n [14 /* ErrorCodes.SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\n 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n }\n catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch(err => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n // the exposed instance is the render proxy to keep it consistent with 2.x\n const exposedInstance = instance.proxy;\n // in production the hook receives only the error code\n const errorInfo = (process.env.NODE_ENV !== 'production') ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n // app-level handling\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(appErrorHandler, null, 10 /* ErrorCodes.APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if ((process.env.NODE_ENV !== 'production')) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n // crash in dev by default so it's more noticeable\n if (throwInDev) {\n throw err;\n }\n else {\n console.error(err);\n }\n }\n else {\n // recover in prod to reduce the impact on end-user\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /*#__PURE__*/ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\n// #2768\n// Use binary-search to find a suitable position in the queue,\n// so that the queue maintains the increasing order of job's id,\n// which can prevent the job from being skipped and also can avoid repeated patching.\nfunction findInsertionIndex(id) {\n // the start index should be `flushIndex + 1`\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = (start + end) >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? (start = middle + 1) : (end = middle);\n }\n return start;\n}\nfunction queueJob(job) {\n // the dedupe search uses the startIndex argument of Array.includes()\n // by default the search index includes the current job that is being run\n // so it cannot recursively trigger itself again.\n // if the job is a watch() callback, the search will start with a +1 index to\n // allow it recursively trigger itself - it is the user's responsibility to\n // ensure it doesn't end up in an infinite loop.\n if (!queue.length ||\n !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) {\n if (job.id == null) {\n queue.push(job);\n }\n else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs ||\n !activePostFlushCbs.includes(cb, cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex)) {\n pendingPostFlushCbs.push(cb);\n }\n }\n else {\n // if cb is an array, it is a component lifecycle hook which can only be\n // triggered by a job, which is already deduped in the main queue, so\n // we can skip duplicate check here to improve perf\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, \n// if currently flushing, skip the current job itself\ni = isFlushing ? flushIndex + 1 : 0) {\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if ((process.env.NODE_ENV !== 'production') && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n // #1947 already has active queue, nested flushPostFlushCbs call\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if ((process.env.NODE_ENV !== 'production') &&\n checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n // Sort queue before flush.\n // This ensures that:\n // 1. Components are updated from parent to child. (because parent is always\n // created before the child so its render effect will have smaller\n // priority number)\n // 2. If a component is unmounted during a parent component's update,\n // its update can be skipped.\n queue.sort(comparator);\n // conditional usage of checkRecursiveUpdate must be determined out of\n // try ... catch block since Rollup by default de-optimizes treeshaking\n // inside try-catch. This can leave all warning code unshaked. Although\n // they would get eventually shaken by a minifier like terser, some minifiers\n // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)\n const check = (process.env.NODE_ENV !== 'production')\n ? (job) => checkRecursiveUpdates(seen, job)\n : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if ((process.env.NODE_ENV !== 'production') && check(job)) {\n continue;\n }\n // console.log(`running:`, job.id)\n callWithErrorHandling(job, null, 14 /* ErrorCodes.SCHEDULER */);\n }\n }\n }\n finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n // some postFlushCb queued jobs!\n // keep flushing until it drains.\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n }\n else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\n `This means you have a reactive effect that is mutating its own ` +\n `dependencies and thus recursively triggering itself. Possible sources ` +\n `include component template, render function, updated hook or ` +\n `watcher source function.`);\n return true;\n }\n else {\n seen.set(fn, count + 1);\n }\n }\n}\n\n/* eslint-disable no-restricted-globals */\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = new Set();\n// Expose the HMR runtime on the global object\n// This makes it entirely tree-shakable without polluting the exports and makes\n// it easier to be used in toolings like vue-loader\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\n// to be set so that its instances can be registered / removed.\nif ((process.env.NODE_ENV !== 'production')) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n // update initial record (for not-yet-rendered component)\n record.initialDef.render = newRender;\n [...record.instances].forEach(instance => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n // this flag forces child components with slot content to update\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n // update initial def (for not-yet-rendered components)\n updateComponentDef(record.initialDef, newComp);\n // create a snapshot which avoids the set being mutated during updates\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n // 1. Update existing comp definition to match new one\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n // 2. mark definition dirty. This forces the renderer to replace the\n // component on patch.\n hmrDirtyComponents.add(oldComp);\n }\n // 3. invalidate options resolution cache\n instance.appContext.optionsCache.delete(instance.type);\n // 4. actually update\n if (instance.ceReload) {\n // custom element\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n }\n else if (instance.parent) {\n // 4. Force the parent instance to re-render. This will cause all updated\n // components to be unmounted and re-mounted. Queue the update so that we\n // don't end up forcing the same parent to re-render multiple times.\n queueJob(instance.parent.update);\n // instance is the inner component of an async custom element\n // invoke to reset styles\n if (instance.parent.type.__asyncLoader &&\n instance.parent.ceReload) {\n instance.parent.ceReload(newComp.styles);\n }\n }\n else if (instance.appContext.reload) {\n // root instance mounted via createApp() has a reload method\n instance.appContext.reload();\n }\n else if (typeof window !== 'undefined') {\n // root instance inside tree created via raw render(). Force reload.\n window.location.reload();\n }\n else {\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\n }\n }\n // 5. make sure to cleanup dirty hmr components after update\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== '__file' && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n }\n catch (e) {\n console.error(e);\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\n `Full reload required.`);\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n }\n else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n }\n else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== 'undefined' &&\n // some envs mock window but not fully\n window.HTMLElement &&\n // also exclude jsdom\n !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {\n const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n // clear buffer after 3s - the user probably doesn't have devtools installed\n // at all, and keeping the buffer will cause memory leaks (#4738)\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3000);\n }\n else {\n // non-browser env, assume not installed\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit(\"app:init\" /* DevtoolsHooks.APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit(\"app:unmount\" /* DevtoolsHooks.APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* DevtoolsHooks.COMPONENT_ADDED */);\nconst devtoolsComponentUpdated = \n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* DevtoolsHooks.COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* DevtoolsHooks.COMPONENT_REMOVED */);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools &&\n typeof devtools.cleanupBuffer === 'function' &&\n // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\n };\n}\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* DevtoolsHooks.PERFORMANCE_START */);\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* DevtoolsHooks.PERFORMANCE_END */);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit(\"component:emit\" /* DevtoolsHooks.COMPONENT_EMIT */, component.appContext.app, component, event, params);\n}\n\nfunction emit$1(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if ((process.env.NODE_ENV !== 'production')) {\n const { emitsOptions, propsOptions: [propsOptions] } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) &&\n !(false )) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\n `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\n }\n }\n else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith('update:');\n // for v-model update:xxx events, apply modifiers on args\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map(a => a.trim());\n }\n if (number) {\n args = rawArgs.map(toNumber);\n }\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\n `Note that HTML attributes are case-insensitive and you cannot use ` +\n `v-on to listen to camelCase events when using in-DOM templates. ` +\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\n }\n }\n let handlerName;\n let handler = props[(handlerName = toHandlerKey(event))] ||\n // also try camelCase event handler (#2249)\n props[(handlerName = toHandlerKey(camelize(event)))];\n // for v-model update:xxx events, also trigger kebab-case equivalent\n // for props passed via kebab-case\n if (!handler && isModelListener) {\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\n }\n if (handler) {\n callWithAsyncErrorHandling(handler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n }\n else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== undefined) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n // apply mixin/extends props\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach(key => (normalized[key] = null));\n }\n else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\n// Check if an incoming prop key is a declared emit event listener.\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\n// both considered matched listeners.\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, '');\n return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\n hasOwn(options, hyphenate(key)) ||\n hasOwn(options, key));\n}\n\n/**\n * mark the current rendering instance for asset resolution (e.g.\n * resolveComponent, resolveDirective) during render\n */\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\n/**\n * Note: rendering calls maybe nested. The function returns the parent rendering\n * instance if present, which should be restored after the render is done:\n *\n * ```js\n * const prev = setCurrentRenderingInstance(i)\n * // ...render\n * setCurrentRenderingInstance(prev)\n * ```\n */\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = (instance && instance.type.__scopeId) || null;\n return prev;\n}\n/**\n * Set scope id when creating hoisted vnodes.\n * @private compiler helper\n */\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\n/**\n * Technically we no longer need this after 3.0.8 but we need to keep the same\n * API for backwards compat w/ code generated by compilers.\n * @private\n */\nfunction popScopeId() {\n currentScopeId = null;\n}\n/**\n * Only for backwards compat\n * @private\n */\nconst withScopeId = (_id) => withCtx;\n/**\n * Wrap a slot function to memoize current rendering instance\n * @private compiler helper\n */\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\n) {\n if (!ctx)\n return fn;\n // already normalized\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n // If a user calls a compiled slot inside a template expression (#1745), it\n // can mess up block tracking, so by default we disable block tracking and\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\n // This isn't necessary if rendering a compiled `<slot>`, so we flip the\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n }\n finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n // mark normalized to avoid duplicated wrapping\n renderFnWithContext._n = true;\n // mark this as compiled by default\n // this is used in vnode.ts -> normalizeChildren() to set the slot\n // rendering flag.\n renderFnWithContext._c = true;\n // disable block tracking by default\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\n/**\n * dev only flag to track whether $attrs was used during render.\n * If $attrs was used during render then the warning for failed attrs\n * fallthrough can be suppressed.\n */\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if ((process.env.NODE_ENV !== 'production')) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */) {\n // withProxy is a proxy with a different `has` trap only for\n // runtime-compiled render functions using `with` block.\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\n fallthroughAttrs = attrs;\n }\n else {\n // functional\n const render = Component;\n // in dev, mark attrs accessed if optional props (attrs === props)\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(render.length > 1\n ? render(props, (process.env.NODE_ENV !== 'production')\n ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n }\n : { attrs, slots, emit })\n : render(props, null /* we know it doesn't need it */));\n fallthroughAttrs = Component.props\n ? attrs\n : getFunctionalFallthrough(attrs);\n }\n }\n catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1 /* ErrorCodes.RENDER_FUNCTION */);\n result = createVNode(Comment);\n }\n // attr merging\n // in dev mode, comments are preserved, and it's possible for a template\n // to have comments along side the root element which makes it a fragment\n let root = result;\n let setRoot = undefined;\n if ((process.env.NODE_ENV !== 'production') &&\n result.patchFlag > 0 &&\n result.patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 /* ShapeFlags.ELEMENT */ | 6 /* ShapeFlags.COMPONENT */)) {\n if (propsOptions && keys.some(isModelListener)) {\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\n // prop, it indicates this component expects to handle v-model and\n // it should not fallthrough.\n // related: #1543, #1643, #1989\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\n }\n root = cloneVNode(root, fallthroughAttrs);\n }\n else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n // ignore v-model handlers when they fail to fallthrough\n if (!isModelListener(key)) {\n // remove `on`, lowercase first letter to reflect event casing\n // accurately\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n }\n else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(`Extraneous non-props attributes (` +\n `${extraAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes.`);\n }\n if (eventAttrs.length) {\n warn(`Extraneous non-emits event listeners (` +\n `${eventAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes. ` +\n `If the listener is intended to be a component custom event listener only, ` +\n `declare it using the \"emits\" option.`);\n }\n }\n }\n }\n // inherit directives\n if (vnode.dirs) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Runtime directive used on component with non-element root node. ` +\n `The directives will not function as intended.`);\n }\n // clone before mutating since the root may be a hoisted vnode\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n // inherit transition data\n if (vnode.transition) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Component inside <Transition> renders non-element root node ` +\n `that cannot be animated.`);\n }\n root.transition = vnode.transition;\n }\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\n setRoot(root);\n }\n else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\n/**\n * dev only\n * In dev mode, template root level comments are rendered, which turns the\n * template into a fragment root, but we need to locate the single element\n * root for attrs and scope id processing.\n */\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, undefined];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n }\n else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n // ignore user comment\n if (child.type !== Comment || child.children === 'v-if') {\n if (singleRoot) {\n // has more than 1 non-comment child, return now\n return;\n }\n else {\n singleRoot = child;\n }\n }\n }\n else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === 'class' || key === 'style' || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return (vnode.shapeFlag & (6 /* ShapeFlags.COMPONENT */ | 1 /* ShapeFlags.ELEMENT */) ||\n vnode.type === Comment // potential v-if branch switch\n );\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n // Parent component's render function was hot-updated. Since this may have\n // caused the child component's slots content to have changed, we need to\n // force the child to update as well.\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n // force child update for runtime directive or transition on component vnode.\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024 /* PatchFlags.DYNAMIC_SLOTS */) {\n // slot content that references values that might have changed,\n // e.g. in a v-for\n return true;\n }\n if (patchFlag & 16 /* PatchFlags.FULL_PROPS */) {\n if (!prevProps) {\n return !!nextProps;\n }\n // presence of this flag indicates props are always non-null\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n else if (patchFlag & 8 /* PatchFlags.PROPS */) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] &&\n !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n }\n else {\n // this path is only taken by manually written render functions\n // so presence of any children leads to a forced update\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] &&\n !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\n) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\n// Suspense exposes a component-like API, and is treated like a component\n// in the compiler, but internally it's a special built-in type that hooks\n// directly into the renderer.\nconst SuspenseImpl = {\n name: 'Suspense',\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \n // platform-specific impl passed from renderer\n rendererInternals) {\n if (n1 == null) {\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n else {\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\n// Force-casted public typing for h and TSX props inference\nconst Suspense = (SuspenseImpl\n );\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const { p: patch, o: { createElement } } = rendererInternals;\n const hiddenContainer = createElement('div');\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\n // start mounting the content subtree in an off-dom container\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\n // now check if we have encountered any async deps\n if (suspense.deps > 0) {\n // has async\n // invoke @fallback event\n triggerEvent(vnode, 'onPending');\n triggerEvent(vnode, 'onFallback');\n // mount the fallback tree\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds);\n setActiveBranch(suspense, vnode.ssFallback);\n }\n else {\n // Suspense has no async deps. Just resolve.\n suspense.resolve();\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = (n2.suspense = n1.suspense);\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n // same root type but content may have changed.\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else if (isInFallback) {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else {\n // toggled before pending tree is resolved\n suspense.pendingId++;\n if (isHydrating) {\n // if toggled before hydration is finished, the current DOM tree is\n // no longer valid. set it as the active branch so it will be unmounted\n // when resolved\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n }\n else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n // increment pending ID. this is used to invalidate async callbacks\n // reset suspense state\n suspense.deps = 0;\n // discard effects from pending branch\n suspense.effects.length = 0;\n // discard previous container\n suspense.hiddenContainer = createElement('div');\n if (isInFallback) {\n // already in fallback state\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // toggled \"back\" to current active branch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n // force resolve\n suspense.resolve(true);\n }\n else {\n // switched to a 3rd branch\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n }\n else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // root did not change, just normal patch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newBranch);\n }\n else {\n // root node toggled\n // invoke @pending event\n triggerEvent(n2, 'onPending');\n // mount pending branch in off-dom container\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n // incoming branch has no async deps, resolve now.\n suspense.resolve();\n }\n else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n }\n else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n /* istanbul ignore if */\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\n hasWarned = true;\n // @ts-ignore `console.info` cannot be null error\n console[console.info ? 'info' : 'log'](`<Suspense> is an experimental feature and its API will likely change.`);\n }\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\n const timeout = toNumber(vnode.props && vnode.props.timeout);\n const suspense = {\n vnode,\n parent,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === 'number' ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false) {\n if ((process.env.NODE_ENV !== 'production')) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(`suspense.resolve() is called without a pending branch.`);\n }\n if (suspense.isUnmounted) {\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\n }\n }\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n }\n else if (!resume) {\n const delayEnter = activeBranch &&\n pendingBranch.transition &&\n pendingBranch.transition.mode === 'out-in';\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n };\n }\n // this is initial anchor on mount\n let { anchor } = suspense;\n // unmount current active tree\n if (activeBranch) {\n // if the fallback tree was mounted, it may have been moved\n // as part of a parent suspense. get the latest anchor for insertion\n anchor = next(activeBranch);\n unmount(activeBranch, parentComponent, suspense, true);\n }\n if (!delayEnter) {\n // move content from off-dom container to actual container\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n // flush buffered effects\n // check if there is a pending parent suspense\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n // found a pending parent suspense, merge buffered post jobs\n // into that parent\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n // no pending parent suspense, flush all jobs\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n // invoke @resolve event\n triggerEvent(vnode, 'onResolve');\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\n // invoke @fallback event\n triggerEvent(vnode, 'onFallback');\n const anchor = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n // mount the fallback tree\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n // unmount current active branch\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\n true // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container, anchor, type) {\n suspense.activeBranch &&\n move(suspense.activeBranch, container, anchor, type);\n suspense.container = container;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance\n .asyncDep.catch(err => {\n handleError(err, instance, 0 /* ErrorCodes.SETUP_FUNCTION */);\n })\n .then(asyncSetupResult => {\n // retry when the setup() promise resolves.\n // component may have been unmounted before resolve.\n if (instance.isUnmounted ||\n suspense.isUnmounted ||\n suspense.pendingId !== instance.suspenseId) {\n return;\n }\n // retry from this component\n instance.asyncResolved = true;\n const { vnode } = instance;\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(vnode);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n // vnode may have been replaced if an update happened before the\n // async dep is resolved.\n vnode.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(instance, vnode, \n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el), \n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode.el);\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n }\n // only decrease deps count if suspense is not already resolved\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\n }\n if (suspense.pendingBranch) {\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n /* eslint-disable no-restricted-globals */\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\n // there are two possible scenarios for server-rendered suspense:\n // - success: ssr content should be fully resolved\n // - failure: ssr content should be the fallback branch.\n // however, on the client we don't really know if it has failed or not\n // attempt to hydrate the DOM assuming it has succeeded, but we still\n // need to construct a suspense boundary first\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\n if (suspense.deps === 0) {\n suspense.resolve();\n }\n return result;\n /* eslint-enable no-restricted-globals */\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32 /* ShapeFlags.SLOTS_CHILDREN */;\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\n vnode.ssFallback = isSlotChildren\n ? normalizeSuspenseSlot(children.fallback)\n : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n // disableTracking: false\n // allow block tracking for compiled slots\n // (see ./componentRenderContext.ts)\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if ((process.env.NODE_ENV !== 'production') && !singleChild) {\n warn(`<Suspense> slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter(c => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n }\n else {\n suspense.effects.push(fn);\n }\n }\n else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = (vnode.el = branch.el);\n // in case suspense is the root node of a component,\n // recursively update the HOC el\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`provide() can only be used inside setup().`);\n }\n }\n else {\n let provides = currentInstance.provides;\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n // TS doesn't allow symbol as index type\n provides[key] = value;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n const instance = currentInstance || currentRenderingInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n const provides = instance.parent == null\n ? instance.vnode.appContext && instance.vnode.appContext.provides\n : instance.parent.provides;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance.proxy)\n : defaultValue;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`injection \"${String(key)}\" not found.`);\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`inject() can only be used inside setup() or functional components.`);\n }\n}\n\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nconst INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if ((process.env.NODE_ENV !== 'production') && !isFunction(cb)) {\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\n `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\n `supports \\`watch(source, cb, options?) signature.`);\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n if ((process.env.NODE_ENV !== 'production') && !cb) {\n if (immediate !== undefined) {\n warn(`watch() \"immediate\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n if (deep !== undefined) {\n warn(`watch() \"deep\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n }\n const warnInvalidSource = (s) => {\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\n `a reactive object, or an array of these types.`);\n };\n const instance = currentInstance;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n }\n else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(s => isReactive(s) || isShallow$1(s));\n getter = () => source.map(s => {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\n }\n });\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = () => callWithErrorHandling(source, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n // no cb -> simple effect\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(source, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [onCleanup]);\n };\n }\n }\n else {\n getter = NOOP;\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4 /* ErrorCodes.WATCH_CLEANUP */);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isInSSRComponentSetup) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = NOOP;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return NOOP;\n }\n let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n const newValue = effect.run();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\n : hasChanged(newValue, oldValue)) ||\n (false )) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n effect.run();\n }\n };\n // important: mark the job as a watcher callback so that scheduler knows\n // it is allowed to self-trigger (#1727)\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === 'sync') {\n scheduler = job; // the scheduler function gets called directly\n }\n else if (flush === 'post') {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n }\n else {\n // default: 'pre'\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if ((process.env.NODE_ENV !== 'production')) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n job();\n }\n else {\n oldValue = effect.run();\n }\n }\n else if (flush === 'post') {\n queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);\n }\n else {\n effect.run();\n }\n return () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n}\n// this.$watch\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source)\n ? source.includes('.')\n ? createPathGetter(publicThis, source)\n : () => publicThis[source]\n : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n }\n else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n }\n else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split('.');\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\" /* ReactiveFlags.SKIP */]) {\n return value;\n }\n seen = seen || new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n }\n else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n }\n else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n // locate first non-comment child\n for (const c of children) {\n if (c.type !== Comment) {\n if ((process.env.NODE_ENV !== 'production') && hasFound) {\n // warn more than one non-comment child\n warn('<transition> can only be used on a single element or component. ' +\n 'Use <transition-group> for lists.');\n break;\n }\n child = c;\n hasFound = true;\n if (!(process.env.NODE_ENV !== 'production'))\n break;\n }\n }\n }\n // there's no need to track reactivity for these props so use the raw\n // props for a bit better perf\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n // check mode\n if ((process.env.NODE_ENV !== 'production') &&\n mode &&\n mode !== 'in-out' &&\n mode !== 'out-in' &&\n mode !== 'default') {\n warn(`invalid <transition> mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n // in the case of <transition><keep-alive/></transition>, we need to\n // compare the type of the kept-alive children.\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === undefined) {\n prevTransitionKey = key;\n }\n else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n // handle mode\n if (oldInnerChild &&\n oldInnerChild.type !== Comment &&\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\n // update old tree's hooks in case of dynamic transition\n setTransitionHooks(oldInnerChild, leavingHooks);\n // switching between different views\n if (mode === 'out-in') {\n state.isLeaving = true;\n // return placeholder node and queue update when leave finishes\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n instance.update();\n };\n return emptyPlaceholder(child);\n }\n else if (mode === 'in-out' && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n // early removal callback\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = undefined;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\n// The transition hooks are attached to the vnode as vnode.transition\n// and will be called at appropriate timing in the renderer.\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook &&\n callWithAsyncErrorHandling(hook, instance, 9 /* ErrorCodes.TRANSITION_HOOK */, args);\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every(hook => hook.length <= 1))\n done();\n }\n else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n }\n else {\n return;\n }\n }\n // for same element (v-show)\n if (el._leaveCb) {\n el._leaveCb(true /* cancelled */);\n }\n // for toggled element with same key (v-if)\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode &&\n isSameVNodeType(vnode, leavingVNode) &&\n leavingVNode.el._leaveCb) {\n // force early removal (not cancelled)\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n }\n else {\n return;\n }\n }\n let called = false;\n const done = (el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n }\n else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = undefined;\n });\n if (hook) {\n callAsyncHook(hook, [el, done]);\n }\n else {\n done();\n }\n },\n leave(el, remove) {\n const key = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(true /* cancelled */);\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = (el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n }\n else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = undefined;\n if (leavingVNodesCache[key] === vnode) {\n delete leavingVNodesCache[key];\n }\n });\n leavingVNodesCache[key] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n }\n else {\n done();\n }\n },\n clone(vnode) {\n return resolveTransitionHooks(vnode, props, state, instance);\n }\n };\n return hooks;\n}\n// the placeholder really only handles one special case: KeepAlive\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\n// placeholder with empty content to avoid the KeepAlive instance from being\n// unmounted.\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode)\n ? vnode.children\n ? vnode.children[0]\n : undefined\n : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 /* ShapeFlags.COMPONENT */ && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n }\n else if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n }\n else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n // #5360 inherit parent key in case of <template v-for>\n const key = parentKey == null\n ? child.key\n : String(parentKey) + String(child.key != null ? child.key : i);\n // handle fragment children case, e.g. v-for\n if (child.type === Fragment) {\n if (child.patchFlag & 128 /* PatchFlags.KEYED_FRAGMENT */)\n keyedFragmentCount++;\n ret = ret.concat(getTransitionRawChildren(child.children, keepComment, key));\n }\n // comment placeholders should be skipped, e.g. v-if\n else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n // #1126 if a transition children list contains multiple sub fragments, these\n // fragments will be merged into a flat children array. Since each v-for\n // fragment may contain different static bindings inside, we need to de-op\n // these children to force full diffs to ensure correct behavior.\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2 /* PatchFlags.BAIL */;\n }\n }\n return ret;\n}\n\n// implementation, close to no-op\nfunction defineComponent(options) {\n return isFunction(options) ? { setup: options, name: options.name } : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out\n suspensible = true, onError: userOnError } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return (pendingRequest ||\n (thisRequest = pendingRequest =\n loader()\n .catch(err => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n }\n else {\n throw err;\n }\n })\n .then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if ((process.env.NODE_ENV !== 'production') && !comp) {\n warn(`Async component loader resolved to undefined. ` +\n `If you are using retry(), make sure to return its return value.`);\n }\n // interop module default\n if (comp &&\n (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\n comp = comp.default;\n }\n if ((process.env.NODE_ENV !== 'production') && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n })));\n };\n return defineComponent({\n name: 'AsyncComponentWrapper',\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n // already resolved\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(err, instance, 13 /* ErrorCodes.ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);\n };\n // suspense-controlled or SSR.\n if ((suspensible && instance.suspense) ||\n (isInSSRComponentSetup)) {\n return load()\n .then(comp => {\n return () => createInnerComp(comp, instance);\n })\n .catch(err => {\n onError(err);\n return () => errorComponent\n ? createVNode(errorComponent, {\n error: err\n })\n : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(`Async component timed out after ${timeout}ms.`);\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load()\n .then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n // parent is keep-alive, force update so the loaded component's\n // name is taken into account\n queueJob(instance.parent.update);\n }\n })\n .catch(err => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n }\n else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n }\n else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, { vnode: { ref, props, children, shapeFlag }, parent }) {\n const vnode = createVNode(comp, props, children);\n // ensure inner component inherits the async wrapper's ref owner\n vnode.ref = ref;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n // KeepAlive communicates with the instantiated renderer via the\n // ctx where the renderer passes in its internals,\n // and the KeepAlive instance exposes activate/deactivate implementations.\n // The whole point of this is to avoid importing KeepAlive directly in the\n // renderer to facilitate tree-shaking.\n const sharedContext = instance.ctx;\n // if the internal renderer is not registered, it indicates that this is server-side rendering,\n // for KeepAlive, we just need to render its children\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = new Map();\n const keys = new Set();\n let current = null;\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;\n const storageContainer = createElement('div');\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance = vnode.component;\n move(vnode, container, anchor, 0 /* MoveType.ENTER */, parentSuspense);\n // in case props have changed\n patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);\n queuePostRenderEffect(() => {\n instance.isDeactivated = false;\n if (instance.a) {\n invokeArrayFns(instance.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\n }\n }, parentSuspense);\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n // Update components tree\n devtoolsComponentAdded(instance);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance = vnode.component;\n move(vnode, storageContainer, null, 1 /* MoveType.LEAVE */, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance.da) {\n invokeArrayFns(instance.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\n }\n instance.isDeactivated = true;\n }, parentSuspense);\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n // Update components tree\n devtoolsComponentAdded(instance);\n }\n };\n function unmount(vnode) {\n // reset the shapeFlag so it can be properly unmounted\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || cached.type !== current.type) {\n unmount(cached);\n }\n else if (current) {\n // current active instance should no longer be kept-alive.\n // we can't unmount it now but it might be later, so reset its flag now.\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n // prune cache on include/exclude prop change\n watch(() => [props.include, props.exclude], ([include, exclude]) => {\n include && pruneCache(name => matches(include, name));\n exclude && pruneCache(name => !matches(exclude, name));\n }, \n // prune post-render after `current` has been updated\n { flush: 'post', deep: true });\n // cache sub tree after render\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n // fix #1621, the pendingCacheKey could be 0\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach(cached => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type) {\n // current instance will be unmounted as part of keep-alive's unmount\n resetShapeFlag(vnode);\n // but invoke its deactivated hook here\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n }\n else if (!isVNode(rawVNode) ||\n (!(rawVNode.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */) &&\n !(rawVNode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */))) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n // for async components, name check should be based in its loaded\n // inner component if available\n const name = getComponentName(isAsyncWrapper(vnode)\n ? vnode.type.__asyncResolved || {}\n : comp);\n const { include, exclude, max } = props;\n if ((include && (!name || !matches(include, name))) ||\n (exclude && name && matches(exclude, name))) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n // clone vnode if it's reused because we are going to mutate it\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n rawVNode.ssContent = vnode;\n }\n }\n // #1513 it's possible for the returned vnode to be cloned due to attr\n // fallthrough or scopeId, so the vnode here may not be the final vnode\n // that is mounted. Instead of caching it directly, we store the pending\n // key and cache `instance.subTree` (the normalized vnode) in\n // beforeMount/beforeUpdate hooks.\n pendingCacheKey = key;\n if (cachedVNode) {\n // copy over mounted state\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n // recursively update transition hooks on subTree\n setTransitionHooks(vnode, vnode.transition);\n }\n // avoid vnode being mounted as fresh\n vnode.shapeFlag |= 512 /* ShapeFlags.COMPONENT_KEPT_ALIVE */;\n // make this key the freshest\n keys.delete(key);\n keys.add(key);\n }\n else {\n keys.add(key);\n // prune oldest entry\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n // avoid vnode being unmounted\n vnode.shapeFlag |= 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n }\n else if (isString(pattern)) {\n return pattern.split(',').includes(name);\n }\n else if (pattern.test) {\n return pattern.test(name);\n }\n /* istanbul ignore next */\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\" /* LifecycleHooks.ACTIVATED */, target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\" /* LifecycleHooks.DEACTIVATED */, target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n // cache the deactivate branch check wrapper for injected hooks so the same\n // hook can be properly deduped by the scheduler. \"__wdc\" stands for \"with\n // deactivation check\".\n const wrappedHook = hook.__wdc ||\n (hook.__wdc = () => {\n // only fire the hook if the target instance is NOT in a deactivated branch.\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n // In addition to registering it on the target instance, we walk up the parent\n // chain and register it on all ancestor instances that are keep-alive roots.\n // This avoids the need to walk the entire component tree when invoking these\n // hooks, and more importantly, avoids the need to track child components in\n // arrays.\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n // injectHook wraps the original for error handling, so make sure to remove\n // the wrapped version.\n const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n let shapeFlag = vnode.shapeFlag;\n if (shapeFlag & 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */) {\n shapeFlag -= 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */;\n }\n if (shapeFlag & 512 /* ShapeFlags.COMPONENT_KEPT_ALIVE */) {\n shapeFlag -= 512 /* ShapeFlags.COMPONENT_KEPT_ALIVE */;\n }\n vnode.shapeFlag = shapeFlag;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */ ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n // cache the error handling wrapper for injected hooks so the same hook\n // can be properly deduped by the scheduler. \"__weh\" stands for \"with error\n // handling\".\n const wrappedHook = hook.__weh ||\n (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n // disable tracking inside all lifecycle hooks\n // since they can potentially be called inside effects.\n pauseTracking();\n // Set currentInstance during hook invocation.\n // This assumes the hook does not synchronously trigger other hooks, which\n // can only be false when the user does something really funky.\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n }\n else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ''));\n warn(`${apiName} is called when there is no active component instance to be ` +\n `associated with. ` +\n `Lifecycle injection APIs can only be used during execution of setup().` +\n (` If you are using async setup(), make sure to register lifecycle ` +\n `hooks before the first await statement.`\n ));\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => \n// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n(!isInSSRComponentSetup || lifecycle === \"sp\" /* LifecycleHooks.SERVER_PREFETCH */) &&\n injectHook(lifecycle, (...args) => hook(...args), target);\nconst onBeforeMount = createHook(\"bm\" /* LifecycleHooks.BEFORE_MOUNT */);\nconst onMounted = createHook(\"m\" /* LifecycleHooks.MOUNTED */);\nconst onBeforeUpdate = createHook(\"bu\" /* LifecycleHooks.BEFORE_UPDATE */);\nconst onUpdated = createHook(\"u\" /* LifecycleHooks.UPDATED */);\nconst onBeforeUnmount = createHook(\"bum\" /* LifecycleHooks.BEFORE_UNMOUNT */);\nconst onUnmounted = createHook(\"um\" /* LifecycleHooks.UNMOUNTED */);\nconst onServerPrefetch = createHook(\"sp\" /* LifecycleHooks.SERVER_PREFETCH */);\nconst onRenderTriggered = createHook(\"rtg\" /* LifecycleHooks.RENDER_TRIGGERED */);\nconst onRenderTracked = createHook(\"rtc\" /* LifecycleHooks.RENDER_TRACKED */);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\" /* LifecycleHooks.ERROR_CAPTURED */, hook, target);\n}\n\n/**\nRuntime helper for applying directives to a vnode. Example usage:\n\nconst comp = resolveComponent('comp')\nconst foo = resolveDirective('foo')\nconst bar = resolveDirective('bar')\n\nreturn withDirectives(h(comp), [\n [foo, this.x],\n [bar, this.y]\n])\n*/\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn('Do not use built-in directive ids as custom directive id: ' + name);\n }\n}\n/**\n * Adds directives to a VNode.\n */\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n (process.env.NODE_ENV !== 'production') && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) ||\n internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n // disable tracking inside all lifecycle hooks\n // since they can potentially be called inside effects.\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8 /* ErrorCodes.DIRECTIVE_HOOK */, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nconst COMPONENTS = 'components';\nconst DIRECTIVES = 'directives';\n/**\n * @private\n */\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol();\n/**\n * @private\n */\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n }\n else {\n // invalid types will fallthrough to createVNode and raise warning\n return (component || NULL_DYNAMIC_COMPONENT);\n }\n}\n/**\n * @private\n */\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\n// implementation\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n // explicit self name has highest priority\n if (type === COMPONENTS) {\n const selfName = getComponentName(Component, false /* do not include inferred name to avoid breaking existing code */);\n if (selfName &&\n (selfName === name ||\n selfName === camelize(name) ||\n selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = \n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) ||\n // global registration\n resolve(instance.appContext[type], name);\n if (!res && maybeSelfReference) {\n // fallback to implicit self-reference\n return Component;\n }\n if ((process.env.NODE_ENV !== 'production') && warnMissing && !res) {\n const extra = type === COMPONENTS\n ? `\\nIf this is a native custom element, make sure to exclude it from ` +\n `component resolution via compilerOptions.isCustomElement.`\n : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`resolve${capitalize(type.slice(0, -1))} ` +\n `can only be used in render() or setup().`);\n }\n}\nfunction resolve(registry, name) {\n return (registry &&\n (registry[name] ||\n registry[camelize(name)] ||\n registry[capitalize(camelize(name))]));\n}\n\n/**\n * Actual implementation\n */\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = (cache && cache[index]);\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, undefined, cached && cached[i]);\n }\n }\n else if (typeof source === 'number') {\n if ((process.env.NODE_ENV !== 'production') && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, undefined, cached && cached[i]);\n }\n }\n else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(source, (item, i) => renderItem(item, i, undefined, cached && cached[i]));\n }\n else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n }\n else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\n/**\n * Compiler runtime helper for creating dynamic slots object\n * @private\n */\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n // array of dynamic slot generated by <template v-for=\"...\" #[...]>\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n }\n else if (slot) {\n // conditional single slot generated by <template v-if=\"...\" #foo>\n slots[slot.name] = slot.key\n ? (...args) => {\n const res = slot.fn(...args);\n // attach branch key so each conditional branch is considered a\n // different fragment\n if (res)\n res.key = slot.key;\n return res;\n }\n : slot.fn;\n }\n }\n return slots;\n}\n\n/**\n * Compiler runtime helper for rendering `<slot/>`\n * @private\n */\nfunction renderSlot(slots, name, props = {}, \n// this is not a user-facing function, so the fallback is always generated by\n// the compiler and guaranteed to be a function returning an array\nfallback, noSlotted) {\n if (currentRenderingInstance.isCE ||\n (currentRenderingInstance.parent &&\n isAsyncWrapper(currentRenderingInstance.parent) &&\n currentRenderingInstance.parent.isCE)) {\n return createVNode('slot', name === 'default' ? null : { name }, fallback && fallback());\n }\n let slot = slots[name];\n if ((process.env.NODE_ENV !== 'production') && slot && slot.length > 1) {\n warn(`SSR-optimized slot function detected in a non-SSR-optimized render ` +\n `function. You need to mark this component with $dynamic-slots in the ` +\n `parent template.`);\n slot = () => [];\n }\n // a compiled slot disables block tracking by default to avoid manual\n // invocation interfering with template-based block tracking, but in\n // `renderSlot` we can be sure that it's template-based so we can force\n // enable it.\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(Fragment, {\n key: props.key ||\n // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n (validSlotContent && validSlotContent.key) ||\n `_${name}`\n }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 /* SlotFlags.STABLE */\n ? 64 /* PatchFlags.STABLE_FRAGMENT */\n : -2 /* PatchFlags.BAIL */);\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + '-s'];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some(child => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment &&\n !ensureValidVNode(child.children))\n return false;\n return true;\n })\n ? vnodes\n : null;\n}\n\n/**\n * For prefixing keys in v-on=\"obj\" with \"on\"\n * @private\n */\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if ((process.env.NODE_ENV !== 'production') && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key)\n ? `on:${key}`\n : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\n/**\n * #2437 In Vue 3, functional components do not have a public instance proxy but\n * they exist in the internal parent chain. For code that relies on traversing\n * public $parent chains, skip functional ones and go to the parent instead.\n */\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = \n// Move PURE marker to new line to workaround compiler discarding it\n// due to type annotation\n/*#__PURE__*/ extend(Object.create(null), {\n $: i => i,\n $el: i => i.vnode.el,\n $data: i => i.data,\n $props: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.props) : i.props),\n $attrs: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.attrs) : i.attrs),\n $slots: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.slots) : i.slots),\n $refs: i => ((process.env.NODE_ENV !== 'production') ? shallowReadonly(i.refs) : i.refs),\n $parent: i => getPublicInstance(i.parent),\n $root: i => getPublicInstance(i.root),\n $emit: i => i.emit,\n $options: i => (__VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type),\n $forceUpdate: i => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: i => (__VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP)\n});\nconst isReservedPrefix = (key) => key === '_' || key === '$';\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n // for internal formatters to know that this is a Vue instance\n if ((process.env.NODE_ENV !== 'production') && key === '__isVue') {\n return true;\n }\n // prioritize <script setup> bindings during dev.\n // this allows even properties that start with _ or $ to be used - so that\n // it aligns with the production behavior where the render fn is inlined and\n // indeed has access to all declared variables.\n if ((process.env.NODE_ENV !== 'production') &&\n setupState !== EMPTY_OBJ &&\n setupState.__isScriptSetup &&\n hasOwn(setupState, key)) {\n return setupState[key];\n }\n // data / props / ctx\n // This getter gets called for every property access on the render context\n // during render and is a major hotspot. The most expensive part of this\n // is the multiple hasOwn() calls. It's much faster to do a simple property\n // access on a plain object, so we use an accessCache object (with null\n // prototype) to memoize what access type a key corresponds to.\n let normalizedProps;\n if (key[0] !== '$') {\n const n = accessCache[key];\n if (n !== undefined) {\n switch (n) {\n case 1 /* AccessTypes.SETUP */:\n return setupState[key];\n case 2 /* AccessTypes.DATA */:\n return data[key];\n case 4 /* AccessTypes.CONTEXT */:\n return ctx[key];\n case 3 /* AccessTypes.PROPS */:\n return props[key];\n // default: just fallthrough\n }\n }\n else if (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) {\n accessCache[key] = 1 /* AccessTypes.SETUP */;\n return setupState[key];\n }\n else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* AccessTypes.DATA */;\n return data[key];\n }\n else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) &&\n hasOwn(normalizedProps, key)) {\n accessCache[key] = 3 /* AccessTypes.PROPS */;\n return props[key];\n }\n else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* AccessTypes.CONTEXT */;\n return ctx[key];\n }\n else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* AccessTypes.OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n // public $xxx properties\n if (publicGetter) {\n if (key === '$attrs') {\n track(instance, \"get\" /* TrackOpTypes.GET */, key);\n (process.env.NODE_ENV !== 'production') && markAttrsAccessed();\n }\n return publicGetter(instance);\n }\n else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) &&\n (cssModule = cssModule[key])) {\n return cssModule;\n }\n else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n // user may set custom properties to `this` that start with `$`\n accessCache[key] = 4 /* AccessTypes.CONTEXT */;\n return ctx[key];\n }\n else if (\n // global properties\n ((globalProperties = appContext.config.globalProperties),\n hasOwn(globalProperties, key))) {\n {\n return globalProperties[key];\n }\n }\n else if ((process.env.NODE_ENV !== 'production') &&\n currentRenderingInstance &&\n (!isString(key) ||\n // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf('__v') !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +\n `character (\"$\" or \"_\") and is not proxied on the render context.`);\n }\n else if (instance === currentRenderingInstance) {\n warn(`Property ${JSON.stringify(key)} was accessed during render ` +\n `but is not defined on instance.`);\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) {\n setupState[key] = value;\n return true;\n }\n else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n data[key] = value;\n return true;\n }\n else if (hasOwn(instance.props, key)) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Attempting to mutate prop \"${key}\". Props are readonly.`, instance);\n return false;\n }\n if (key[0] === '$' && key.slice(1) in instance) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Attempting to mutate public property \"${key}\". ` +\n `Properties starting with $ are reserved and readonly.`, instance);\n return false;\n }\n else {\n if ((process.env.NODE_ENV !== 'production') && key in instance.appContext.config.globalProperties) {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n value\n });\n }\n else {\n ctx[key] = value;\n }\n }\n return true;\n },\n has({ _: { data, setupState, accessCache, ctx, appContext, propsOptions } }, key) {\n let normalizedProps;\n return (!!accessCache[key] ||\n (data !== EMPTY_OBJ && hasOwn(data, key)) ||\n (setupState !== EMPTY_OBJ && hasOwn(setupState, key)) ||\n ((normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key)) ||\n hasOwn(ctx, key) ||\n hasOwn(publicPropertiesMap, key) ||\n hasOwn(appContext.config.globalProperties, key));\n },\n defineProperty(target, key, descriptor) {\n if (descriptor.get != null) {\n // invalidate key cache of a getter based property #5417\n target._.accessCache[key] = 0;\n }\n else if (hasOwn(descriptor, 'value')) {\n this.set(target, key, descriptor.value, null);\n }\n return Reflect.defineProperty(target, key, descriptor);\n }\n};\nif ((process.env.NODE_ENV !== 'production') && !false) {\n PublicInstanceProxyHandlers.ownKeys = (target) => {\n warn(`Avoid app logic that relies on enumerating keys on a component instance. ` +\n `The keys will be empty in production mode to avoid performance overhead.`);\n return Reflect.ownKeys(target);\n };\n}\nconst RuntimeCompiledPublicInstanceProxyHandlers = /*#__PURE__*/ extend({}, PublicInstanceProxyHandlers, {\n get(target, key) {\n // fast path for unscopables when using `with` block\n if (key === Symbol.unscopables) {\n return;\n }\n return PublicInstanceProxyHandlers.get(target, key, target);\n },\n has(_, key) {\n const has = key[0] !== '_' && !isGloballyWhitelisted(key);\n if ((process.env.NODE_ENV !== 'production') && !has && PublicInstanceProxyHandlers.has(_, key)) {\n warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);\n }\n return has;\n }\n});\n// dev only\n// In dev mode, the proxy target exposes the same properties as seen on `this`\n// for easier console inspection. In prod mode it will be an empty object so\n// these properties definitions can be skipped.\nfunction createDevRenderContext(instance) {\n const target = {};\n // expose internal instance for proxy handlers\n Object.defineProperty(target, `_`, {\n configurable: true,\n enumerable: false,\n get: () => instance\n });\n // expose public properties\n Object.keys(publicPropertiesMap).forEach(key => {\n Object.defineProperty(target, key, {\n configurable: true,\n enumerable: false,\n get: () => publicPropertiesMap[key](instance),\n // intercepted by the proxy so no need for implementation,\n // but needed to prevent set errors\n set: NOOP\n });\n });\n return target;\n}\n// dev only\nfunction exposePropsOnRenderContext(instance) {\n const { ctx, propsOptions: [propsOptions] } = instance;\n if (propsOptions) {\n Object.keys(propsOptions).forEach(key => {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => instance.props[key],\n set: NOOP\n });\n });\n }\n}\n// dev only\nfunction exposeSetupStateOnRenderContext(instance) {\n const { ctx, setupState } = instance;\n Object.keys(toRaw(setupState)).forEach(key => {\n if (!setupState.__isScriptSetup) {\n if (isReservedPrefix(key[0])) {\n warn(`setup() return property ${JSON.stringify(key)} should not start with \"$\" or \"_\" ` +\n `which are reserved prefixes for Vue internals.`);\n return;\n }\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => setupState[key],\n set: NOOP\n });\n }\n });\n}\n\nfunction createDuplicateChecker() {\n const cache = Object.create(null);\n return (type, key) => {\n if (cache[key]) {\n warn(`${type} property \"${key}\" is already defined in ${cache[key]}.`);\n }\n else {\n cache[key] = type;\n }\n };\n}\nlet shouldCacheAccess = true;\nfunction applyOptions(instance) {\n const options = resolveMergedOptions(instance);\n const publicThis = instance.proxy;\n const ctx = instance.ctx;\n // do not cache property access on public proxy during state initialization\n shouldCacheAccess = false;\n // call beforeCreate first before accessing other options since\n // the hook may mutate resolved options (#2791)\n if (options.beforeCreate) {\n callHook(options.beforeCreate, instance, \"bc\" /* LifecycleHooks.BEFORE_CREATE */);\n }\n const { \n // state\n data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions, \n // lifecycle\n created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch, \n // public API\n expose, inheritAttrs, \n // assets\n components, directives, filters } = options;\n const checkDuplicateProperties = (process.env.NODE_ENV !== 'production') ? createDuplicateChecker() : null;\n if ((process.env.NODE_ENV !== 'production')) {\n const [propsOptions] = instance.propsOptions;\n if (propsOptions) {\n for (const key in propsOptions) {\n checkDuplicateProperties(\"Props\" /* OptionTypes.PROPS */, key);\n }\n }\n }\n // options initialization order (to be consistent with Vue 2):\n // - props (already done outside of this function)\n // - inject\n // - methods\n // - data (deferred since it relies on `this` access)\n // - computed\n // - watch (deferred since it relies on `this` access)\n if (injectOptions) {\n resolveInjections(injectOptions, ctx, checkDuplicateProperties, instance.appContext.config.unwrapInjectedRef);\n }\n if (methods) {\n for (const key in methods) {\n const methodHandler = methods[key];\n if (isFunction(methodHandler)) {\n // In dev mode, we use the `createRenderContext` function to define\n // methods to the proxy target, and those are read-only but\n // reconfigurable, so it needs to be redefined here\n if ((process.env.NODE_ENV !== 'production')) {\n Object.defineProperty(ctx, key, {\n value: methodHandler.bind(publicThis),\n configurable: true,\n enumerable: true,\n writable: true\n });\n }\n else {\n ctx[key] = methodHandler.bind(publicThis);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n checkDuplicateProperties(\"Methods\" /* OptionTypes.METHODS */, key);\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Method \"${key}\" has type \"${typeof methodHandler}\" in the component definition. ` +\n `Did you reference the function correctly?`);\n }\n }\n }\n if (dataOptions) {\n if ((process.env.NODE_ENV !== 'production') && !isFunction(dataOptions)) {\n warn(`The data option must be a function. ` +\n `Plain object usage is no longer supported.`);\n }\n const data = dataOptions.call(publicThis, publicThis);\n if ((process.env.NODE_ENV !== 'production') && isPromise(data)) {\n warn(`data() returned a Promise - note data() cannot be async; If you ` +\n `intend to perform data fetching before component renders, use ` +\n `async setup() + <Suspense>.`);\n }\n if (!isObject(data)) {\n (process.env.NODE_ENV !== 'production') && warn(`data() should return an object.`);\n }\n else {\n instance.data = reactive(data);\n if ((process.env.NODE_ENV !== 'production')) {\n for (const key in data) {\n checkDuplicateProperties(\"Data\" /* OptionTypes.DATA */, key);\n // expose data on ctx during dev\n if (!isReservedPrefix(key[0])) {\n Object.defineProperty(ctx, key, {\n configurable: true,\n enumerable: true,\n get: () => data[key],\n set: NOOP\n });\n }\n }\n }\n }\n }\n // state initialization complete at this point - start caching access\n shouldCacheAccess = true;\n if (computedOptions) {\n for (const key in computedOptions) {\n const opt = computedOptions[key];\n const get = isFunction(opt)\n ? opt.bind(publicThis, publicThis)\n : isFunction(opt.get)\n ? opt.get.bind(publicThis, publicThis)\n : NOOP;\n if ((process.env.NODE_ENV !== 'production') && get === NOOP) {\n warn(`Computed property \"${key}\" has no getter.`);\n }\n const set = !isFunction(opt) && isFunction(opt.set)\n ? opt.set.bind(publicThis)\n : (process.env.NODE_ENV !== 'production')\n ? () => {\n warn(`Write operation failed: computed property \"${key}\" is readonly.`);\n }\n : NOOP;\n const c = computed({\n get,\n set\n });\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => c.value,\n set: v => (c.value = v)\n });\n if ((process.env.NODE_ENV !== 'production')) {\n checkDuplicateProperties(\"Computed\" /* OptionTypes.COMPUTED */, key);\n }\n }\n }\n if (watchOptions) {\n for (const key in watchOptions) {\n createWatcher(watchOptions[key], ctx, publicThis, key);\n }\n }\n if (provideOptions) {\n const provides = isFunction(provideOptions)\n ? provideOptions.call(publicThis)\n : provideOptions;\n Reflect.ownKeys(provides).forEach(key => {\n provide(key, provides[key]);\n });\n }\n if (created) {\n callHook(created, instance, \"c\" /* LifecycleHooks.CREATED */);\n }\n function registerLifecycleHook(register, hook) {\n if (isArray(hook)) {\n hook.forEach(_hook => register(_hook.bind(publicThis)));\n }\n else if (hook) {\n register(hook.bind(publicThis));\n }\n }\n registerLifecycleHook(onBeforeMount, beforeMount);\n registerLifecycleHook(onMounted, mounted);\n registerLifecycleHook(onBeforeUpdate, beforeUpdate);\n registerLifecycleHook(onUpdated, updated);\n registerLifecycleHook(onActivated, activated);\n registerLifecycleHook(onDeactivated, deactivated);\n registerLifecycleHook(onErrorCaptured, errorCaptured);\n registerLifecycleHook(onRenderTracked, renderTracked);\n registerLifecycleHook(onRenderTriggered, renderTriggered);\n registerLifecycleHook(onBeforeUnmount, beforeUnmount);\n registerLifecycleHook(onUnmounted, unmounted);\n registerLifecycleHook(onServerPrefetch, serverPrefetch);\n if (isArray(expose)) {\n if (expose.length) {\n const exposed = instance.exposed || (instance.exposed = {});\n expose.forEach(key => {\n Object.defineProperty(exposed, key, {\n get: () => publicThis[key],\n set: val => (publicThis[key] = val)\n });\n });\n }\n else if (!instance.exposed) {\n instance.exposed = {};\n }\n }\n // options that are handled when creating the instance but also need to be\n // applied from mixins\n if (render && instance.render === NOOP) {\n instance.render = render;\n }\n if (inheritAttrs != null) {\n instance.inheritAttrs = inheritAttrs;\n }\n // asset options.\n if (components)\n instance.components = components;\n if (directives)\n instance.directives = directives;\n}\nfunction resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP, unwrapRef = false) {\n if (isArray(injectOptions)) {\n injectOptions = normalizeInject(injectOptions);\n }\n for (const key in injectOptions) {\n const opt = injectOptions[key];\n let injected;\n if (isObject(opt)) {\n if ('default' in opt) {\n injected = inject(opt.from || key, opt.default, true /* treat default function as factory */);\n }\n else {\n injected = inject(opt.from || key);\n }\n }\n else {\n injected = inject(opt);\n }\n if (isRef(injected)) {\n // TODO remove the check in 3.3\n if (unwrapRef) {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => injected.value,\n set: v => (injected.value = v)\n });\n }\n else {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`injected property \"${key}\" is a ref and will be auto-unwrapped ` +\n `and no longer needs \\`.value\\` in the next minor release. ` +\n `To opt-in to the new behavior now, ` +\n `set \\`app.config.unwrapInjectedRef = true\\` (this config is ` +\n `temporary and will not be needed in the future.)`);\n }\n ctx[key] = injected;\n }\n }\n else {\n ctx[key] = injected;\n }\n if ((process.env.NODE_ENV !== 'production')) {\n checkDuplicateProperties(\"Inject\" /* OptionTypes.INJECT */, key);\n }\n }\n}\nfunction callHook(hook, instance, type) {\n callWithAsyncErrorHandling(isArray(hook)\n ? hook.map(h => h.bind(instance.proxy))\n : hook.bind(instance.proxy), instance, type);\n}\nfunction createWatcher(raw, ctx, publicThis, key) {\n const getter = key.includes('.')\n ? createPathGetter(publicThis, key)\n : () => publicThis[key];\n if (isString(raw)) {\n const handler = ctx[raw];\n if (isFunction(handler)) {\n watch(getter, handler);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Invalid watch handler specified by key \"${raw}\"`, handler);\n }\n }\n else if (isFunction(raw)) {\n watch(getter, raw.bind(publicThis));\n }\n else if (isObject(raw)) {\n if (isArray(raw)) {\n raw.forEach(r => createWatcher(r, ctx, publicThis, key));\n }\n else {\n const handler = isFunction(raw.handler)\n ? raw.handler.bind(publicThis)\n : ctx[raw.handler];\n if (isFunction(handler)) {\n watch(getter, handler, raw);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Invalid watch handler specified by key \"${raw.handler}\"`, handler);\n }\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Invalid watch option: \"${key}\"`, raw);\n }\n}\n/**\n * Resolve merged options and cache it on the component.\n * This is done only once per-component since the merging does not involve\n * instances.\n */\nfunction resolveMergedOptions(instance) {\n const base = instance.type;\n const { mixins, extends: extendsOptions } = base;\n const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;\n const cached = cache.get(base);\n let resolved;\n if (cached) {\n resolved = cached;\n }\n else if (!globalMixins.length && !mixins && !extendsOptions) {\n {\n resolved = base;\n }\n }\n else {\n resolved = {};\n if (globalMixins.length) {\n globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));\n }\n mergeOptions(resolved, base, optionMergeStrategies);\n }\n if (isObject(base)) {\n cache.set(base, resolved);\n }\n return resolved;\n}\nfunction mergeOptions(to, from, strats, asMixin = false) {\n const { mixins, extends: extendsOptions } = from;\n if (extendsOptions) {\n mergeOptions(to, extendsOptions, strats, true);\n }\n if (mixins) {\n mixins.forEach((m) => mergeOptions(to, m, strats, true));\n }\n for (const key in from) {\n if (asMixin && key === 'expose') {\n (process.env.NODE_ENV !== 'production') &&\n warn(`\"expose\" option is ignored when declared in mixins or extends. ` +\n `It should only be declared in the base component itself.`);\n }\n else {\n const strat = internalOptionMergeStrats[key] || (strats && strats[key]);\n to[key] = strat ? strat(to[key], from[key]) : from[key];\n }\n }\n return to;\n}\nconst internalOptionMergeStrats = {\n data: mergeDataFn,\n props: mergeObjectOptions,\n emits: mergeObjectOptions,\n // objects\n methods: mergeObjectOptions,\n computed: mergeObjectOptions,\n // lifecycle\n beforeCreate: mergeAsArray,\n created: mergeAsArray,\n beforeMount: mergeAsArray,\n mounted: mergeAsArray,\n beforeUpdate: mergeAsArray,\n updated: mergeAsArray,\n beforeDestroy: mergeAsArray,\n beforeUnmount: mergeAsArray,\n destroyed: mergeAsArray,\n unmounted: mergeAsArray,\n activated: mergeAsArray,\n deactivated: mergeAsArray,\n errorCaptured: mergeAsArray,\n serverPrefetch: mergeAsArray,\n // assets\n components: mergeObjectOptions,\n directives: mergeObjectOptions,\n // watch\n watch: mergeWatchOptions,\n // provide / inject\n provide: mergeDataFn,\n inject: mergeInject\n};\nfunction mergeDataFn(to, from) {\n if (!from) {\n return to;\n }\n if (!to) {\n return from;\n }\n return function mergedDataFn() {\n return (extend)(isFunction(to) ? to.call(this, this) : to, isFunction(from) ? from.call(this, this) : from);\n };\n}\nfunction mergeInject(to, from) {\n return mergeObjectOptions(normalizeInject(to), normalizeInject(from));\n}\nfunction normalizeInject(raw) {\n if (isArray(raw)) {\n const res = {};\n for (let i = 0; i < raw.length; i++) {\n res[raw[i]] = raw[i];\n }\n return res;\n }\n return raw;\n}\nfunction mergeAsArray(to, from) {\n return to ? [...new Set([].concat(to, from))] : from;\n}\nfunction mergeObjectOptions(to, from) {\n return to ? extend(extend(Object.create(null), to), from) : from;\n}\nfunction mergeWatchOptions(to, from) {\n if (!to)\n return from;\n if (!from)\n return to;\n const merged = extend(Object.create(null), to);\n for (const key in from) {\n merged[key] = mergeAsArray(to[key], from[key]);\n }\n return merged;\n}\n\nfunction initProps(instance, rawProps, isStateful, // result of bitwise flag comparison\nisSSR = false) {\n const props = {};\n const attrs = {};\n def(attrs, InternalObjectKey, 1);\n instance.propsDefaults = Object.create(null);\n setFullProps(instance, rawProps, props, attrs);\n // ensure all declared prop keys are present\n for (const key in instance.propsOptions[0]) {\n if (!(key in props)) {\n props[key] = undefined;\n }\n }\n // validation\n if ((process.env.NODE_ENV !== 'production')) {\n validateProps(rawProps || {}, props, instance);\n }\n if (isStateful) {\n // stateful\n instance.props = isSSR ? props : shallowReactive(props);\n }\n else {\n if (!instance.type.props) {\n // functional w/ optional props, props === attrs\n instance.props = attrs;\n }\n else {\n // functional w/ declared props\n instance.props = props;\n }\n }\n instance.attrs = attrs;\n}\nfunction isInHmrContext(instance) {\n while (instance) {\n if (instance.type.__hmrId)\n return true;\n instance = instance.parent;\n }\n}\nfunction updateProps(instance, rawProps, rawPrevProps, optimized) {\n const { props, attrs, vnode: { patchFlag } } = instance;\n const rawCurrentProps = toRaw(props);\n const [options] = instance.propsOptions;\n let hasAttrsChanged = false;\n if (\n // always force full diff in dev\n // - #1942 if hmr is enabled with sfc component\n // - vite#872 non-sfc component used by sfc component\n !((process.env.NODE_ENV !== 'production') && isInHmrContext(instance)) &&\n (optimized || patchFlag > 0) &&\n !(patchFlag & 16 /* PatchFlags.FULL_PROPS */)) {\n if (patchFlag & 8 /* PatchFlags.PROPS */) {\n // Compiler-generated props & no keys change, just set the updated\n // the props.\n const propsToUpdate = instance.vnode.dynamicProps;\n for (let i = 0; i < propsToUpdate.length; i++) {\n let key = propsToUpdate[i];\n // skip if the prop key is a declared emit event listener\n if (isEmitListener(instance.emitsOptions, key)) {\n continue;\n }\n // PROPS flag guarantees rawProps to be non-null\n const value = rawProps[key];\n if (options) {\n // attr / props separation was done on init and will be consistent\n // in this code path, so just check if attrs have it.\n if (hasOwn(attrs, key)) {\n if (value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n }\n else {\n const camelizedKey = camelize(key);\n props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);\n }\n }\n else {\n if (value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n }\n }\n }\n }\n else {\n // full props update.\n if (setFullProps(instance, rawProps, props, attrs)) {\n hasAttrsChanged = true;\n }\n // in case of dynamic props, check if we need to delete keys from\n // the props object\n let kebabKey;\n for (const key in rawCurrentProps) {\n if (!rawProps ||\n // for camelCase\n (!hasOwn(rawProps, key) &&\n // it's possible the original props was passed in as kebab-case\n // and converted to camelCase (#955)\n ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey)))) {\n if (options) {\n if (rawPrevProps &&\n // for camelCase\n (rawPrevProps[key] !== undefined ||\n // for kebab-case\n rawPrevProps[kebabKey] !== undefined)) {\n props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);\n }\n }\n else {\n delete props[key];\n }\n }\n }\n // in the case of functional component w/o props declaration, props and\n // attrs point to the same object so it should already have been updated.\n if (attrs !== rawCurrentProps) {\n for (const key in attrs) {\n if (!rawProps ||\n (!hasOwn(rawProps, key) &&\n (!false ))) {\n delete attrs[key];\n hasAttrsChanged = true;\n }\n }\n }\n }\n // trigger updates for $attrs in case it's used in component slots\n if (hasAttrsChanged) {\n trigger(instance, \"set\" /* TriggerOpTypes.SET */, '$attrs');\n }\n if ((process.env.NODE_ENV !== 'production')) {\n validateProps(rawProps || {}, props, instance);\n }\n}\nfunction setFullProps(instance, rawProps, props, attrs) {\n const [options, needCastKeys] = instance.propsOptions;\n let hasAttrsChanged = false;\n let rawCastValues;\n if (rawProps) {\n for (let key in rawProps) {\n // key, ref are reserved and never passed down\n if (isReservedProp(key)) {\n continue;\n }\n const value = rawProps[key];\n // prop option names are camelized during normalization, so to support\n // kebab -> camel conversion here we need to camelize the key.\n let camelKey;\n if (options && hasOwn(options, (camelKey = camelize(key)))) {\n if (!needCastKeys || !needCastKeys.includes(camelKey)) {\n props[camelKey] = value;\n }\n else {\n (rawCastValues || (rawCastValues = {}))[camelKey] = value;\n }\n }\n else if (!isEmitListener(instance.emitsOptions, key)) {\n if (!(key in attrs) || value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n }\n }\n }\n if (needCastKeys) {\n const rawCurrentProps = toRaw(props);\n const castValues = rawCastValues || EMPTY_OBJ;\n for (let i = 0; i < needCastKeys.length; i++) {\n const key = needCastKeys[i];\n props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !hasOwn(castValues, key));\n }\n }\n return hasAttrsChanged;\n}\nfunction resolvePropValue(options, props, key, value, instance, isAbsent) {\n const opt = options[key];\n if (opt != null) {\n const hasDefault = hasOwn(opt, 'default');\n // default values\n if (hasDefault && value === undefined) {\n const defaultValue = opt.default;\n if (opt.type !== Function && isFunction(defaultValue)) {\n const { propsDefaults } = instance;\n if (key in propsDefaults) {\n value = propsDefaults[key];\n }\n else {\n setCurrentInstance(instance);\n value = propsDefaults[key] = defaultValue.call(null, props);\n unsetCurrentInstance();\n }\n }\n else {\n value = defaultValue;\n }\n }\n // boolean casting\n if (opt[0 /* BooleanFlags.shouldCast */]) {\n if (isAbsent && !hasDefault) {\n value = false;\n }\n else if (opt[1 /* BooleanFlags.shouldCastTrue */] &&\n (value === '' || value === hyphenate(key))) {\n value = true;\n }\n }\n }\n return value;\n}\nfunction normalizePropsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.propsCache;\n const cached = cache.get(comp);\n if (cached) {\n return cached;\n }\n const raw = comp.props;\n const normalized = {};\n const needCastKeys = [];\n // apply mixin/extends props\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendProps = (raw) => {\n hasExtends = true;\n const [props, keys] = normalizePropsOptions(raw, appContext, true);\n extend(normalized, props);\n if (keys)\n needCastKeys.push(...keys);\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendProps);\n }\n if (comp.extends) {\n extendProps(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendProps);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, EMPTY_ARR);\n }\n return EMPTY_ARR;\n }\n if (isArray(raw)) {\n for (let i = 0; i < raw.length; i++) {\n if ((process.env.NODE_ENV !== 'production') && !isString(raw[i])) {\n warn(`props must be strings when using array syntax.`, raw[i]);\n }\n const normalizedKey = camelize(raw[i]);\n if (validatePropName(normalizedKey)) {\n normalized[normalizedKey] = EMPTY_OBJ;\n }\n }\n }\n else if (raw) {\n if ((process.env.NODE_ENV !== 'production') && !isObject(raw)) {\n warn(`invalid props options`, raw);\n }\n for (const key in raw) {\n const normalizedKey = camelize(key);\n if (validatePropName(normalizedKey)) {\n const opt = raw[key];\n const prop = (normalized[normalizedKey] =\n isArray(opt) || isFunction(opt) ? { type: opt } : opt);\n if (prop) {\n const booleanIndex = getTypeIndex(Boolean, prop.type);\n const stringIndex = getTypeIndex(String, prop.type);\n prop[0 /* BooleanFlags.shouldCast */] = booleanIndex > -1;\n prop[1 /* BooleanFlags.shouldCastTrue */] =\n stringIndex < 0 || booleanIndex < stringIndex;\n // if the prop needs boolean casting or default value\n if (booleanIndex > -1 || hasOwn(prop, 'default')) {\n needCastKeys.push(normalizedKey);\n }\n }\n }\n }\n }\n const res = [normalized, needCastKeys];\n if (isObject(comp)) {\n cache.set(comp, res);\n }\n return res;\n}\nfunction validatePropName(key) {\n if (key[0] !== '$') {\n return true;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Invalid prop name: \"${key}\" is a reserved property.`);\n }\n return false;\n}\n// use function string name to check type constructors\n// so that it works across vms / iframes.\nfunction getType(ctor) {\n const match = ctor && ctor.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ctor === null ? 'null' : '';\n}\nfunction isSameType(a, b) {\n return getType(a) === getType(b);\n}\nfunction getTypeIndex(type, expectedTypes) {\n if (isArray(expectedTypes)) {\n return expectedTypes.findIndex(t => isSameType(t, type));\n }\n else if (isFunction(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1;\n }\n return -1;\n}\n/**\n * dev only\n */\nfunction validateProps(rawProps, props, instance) {\n const resolvedValues = toRaw(props);\n const options = instance.propsOptions[0];\n for (const key in options) {\n let opt = options[key];\n if (opt == null)\n continue;\n validateProp(key, resolvedValues[key], opt, !hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key)));\n }\n}\n/**\n * dev only\n */\nfunction validateProp(name, value, prop, isAbsent) {\n const { type, required, validator } = prop;\n // required!\n if (required && isAbsent) {\n warn('Missing required prop: \"' + name + '\"');\n return;\n }\n // missing but optional\n if (value == null && !prop.required) {\n return;\n }\n // type check\n if (type != null && type !== true) {\n let isValid = false;\n const types = isArray(type) ? type : [type];\n const expectedTypes = [];\n // value is valid as long as one of the specified types match\n for (let i = 0; i < types.length && !isValid; i++) {\n const { valid, expectedType } = assertType(value, types[i]);\n expectedTypes.push(expectedType || '');\n isValid = valid;\n }\n if (!isValid) {\n warn(getInvalidTypeMessage(name, value, expectedTypes));\n return;\n }\n }\n // custom validator\n if (validator && !validator(value)) {\n warn('Invalid prop: custom validator check failed for prop \"' + name + '\".');\n }\n}\nconst isSimpleType = /*#__PURE__*/ makeMap('String,Number,Boolean,Function,Symbol,BigInt');\n/**\n * dev only\n */\nfunction assertType(value, type) {\n let valid;\n const expectedType = getType(type);\n if (isSimpleType(expectedType)) {\n const t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n }\n else if (expectedType === 'Object') {\n valid = isObject(value);\n }\n else if (expectedType === 'Array') {\n valid = isArray(value);\n }\n else if (expectedType === 'null') {\n valid = value === null;\n }\n else {\n valid = value instanceof type;\n }\n return {\n valid,\n expectedType\n };\n}\n/**\n * dev only\n */\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\n let message = `Invalid prop: type check failed for prop \"${name}\".` +\n ` Expected ${expectedTypes.map(capitalize).join(' | ')}`;\n const expectedType = expectedTypes[0];\n const receivedType = toRawType(value);\n const expectedValue = styleValue(value, expectedType);\n const receivedValue = styleValue(value, receivedType);\n // check if we need to specify expected value\n if (expectedTypes.length === 1 &&\n isExplicable(expectedType) &&\n !isBoolean(expectedType, receivedType)) {\n message += ` with value ${expectedValue}`;\n }\n message += `, got ${receivedType} `;\n // check if we need to specify received value\n if (isExplicable(receivedType)) {\n message += `with value ${receivedValue}.`;\n }\n return message;\n}\n/**\n * dev only\n */\nfunction styleValue(value, type) {\n if (type === 'String') {\n return `\"${value}\"`;\n }\n else if (type === 'Number') {\n return `${Number(value)}`;\n }\n else {\n return `${value}`;\n }\n}\n/**\n * dev only\n */\nfunction isExplicable(type) {\n const explicitTypes = ['string', 'number', 'boolean'];\n return explicitTypes.some(elem => type.toLowerCase() === elem);\n}\n/**\n * dev only\n */\nfunction isBoolean(...args) {\n return args.some(elem => elem.toLowerCase() === 'boolean');\n}\n\nconst isInternalKey = (key) => key[0] === '_' || key === '$stable';\nconst normalizeSlotValue = (value) => isArray(value)\n ? value.map(normalizeVNode)\n : [normalizeVNode(value)];\nconst normalizeSlot = (key, rawSlot, ctx) => {\n if (rawSlot._n) {\n // already normalized - #5353\n return rawSlot;\n }\n const normalized = withCtx((...args) => {\n if ((process.env.NODE_ENV !== 'production') && currentInstance) {\n warn(`Slot \"${key}\" invoked outside of the render function: ` +\n `this will not track dependencies used in the slot. ` +\n `Invoke the slot function inside the render function instead.`);\n }\n return normalizeSlotValue(rawSlot(...args));\n }, ctx);\n normalized._c = false;\n return normalized;\n};\nconst normalizeObjectSlots = (rawSlots, slots, instance) => {\n const ctx = rawSlots._ctx;\n for (const key in rawSlots) {\n if (isInternalKey(key))\n continue;\n const value = rawSlots[key];\n if (isFunction(value)) {\n slots[key] = normalizeSlot(key, value, ctx);\n }\n else if (value != null) {\n if ((process.env.NODE_ENV !== 'production') &&\n !(false )) {\n warn(`Non-function value encountered for slot \"${key}\". ` +\n `Prefer function slots for better performance.`);\n }\n const normalized = normalizeSlotValue(value);\n slots[key] = () => normalized;\n }\n }\n};\nconst normalizeVNodeSlots = (instance, children) => {\n if ((process.env.NODE_ENV !== 'production') &&\n !isKeepAlive(instance.vnode) &&\n !(false )) {\n warn(`Non-function value encountered for default slot. ` +\n `Prefer function slots for better performance.`);\n }\n const normalized = normalizeSlotValue(children);\n instance.slots.default = () => normalized;\n};\nconst initSlots = (instance, children) => {\n if (instance.vnode.shapeFlag & 32 /* ShapeFlags.SLOTS_CHILDREN */) {\n const type = children._;\n if (type) {\n // users can get the shallow readonly version of the slots object through `this.$slots`,\n // we should avoid the proxy object polluting the slots of the internal instance\n instance.slots = toRaw(children);\n // make compiler marker non-enumerable\n def(children, '_', type);\n }\n else {\n normalizeObjectSlots(children, (instance.slots = {}));\n }\n }\n else {\n instance.slots = {};\n if (children) {\n normalizeVNodeSlots(instance, children);\n }\n }\n def(instance.slots, InternalObjectKey, 1);\n};\nconst updateSlots = (instance, children, optimized) => {\n const { vnode, slots } = instance;\n let needDeletionCheck = true;\n let deletionComparisonTarget = EMPTY_OBJ;\n if (vnode.shapeFlag & 32 /* ShapeFlags.SLOTS_CHILDREN */) {\n const type = children._;\n if (type) {\n // compiled slots.\n if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\n // Parent was HMR updated so slot content may have changed.\n // force update slots and mark instance for hmr as well\n extend(slots, children);\n }\n else if (optimized && type === 1 /* SlotFlags.STABLE */) {\n // compiled AND stable.\n // no need to update, and skip stale slots removal.\n needDeletionCheck = false;\n }\n else {\n // compiled but dynamic (v-if/v-for on slots) - update slots, but skip\n // normalization.\n extend(slots, children);\n // #2893\n // when rendering the optimized slots by manually written render function,\n // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,\n // i.e. let the `renderSlot` create the bailed Fragment\n if (!optimized && type === 1 /* SlotFlags.STABLE */) {\n delete slots._;\n }\n }\n }\n else {\n needDeletionCheck = !children.$stable;\n normalizeObjectSlots(children, slots);\n }\n deletionComparisonTarget = children;\n }\n else if (children) {\n // non slot object children (direct value) passed to a component\n normalizeVNodeSlots(instance, children);\n deletionComparisonTarget = { default: 1 };\n }\n // delete stale slots\n if (needDeletionCheck) {\n for (const key in slots) {\n if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {\n delete slots[key];\n }\n }\n }\n};\n\nfunction createAppContext() {\n return {\n app: null,\n config: {\n isNativeTag: NO,\n performance: false,\n globalProperties: {},\n optionMergeStrategies: {},\n errorHandler: undefined,\n warnHandler: undefined,\n compilerOptions: {}\n },\n mixins: [],\n components: {},\n directives: {},\n provides: Object.create(null),\n optionsCache: new WeakMap(),\n propsCache: new WeakMap(),\n emitsCache: new WeakMap()\n };\n}\nlet uid = 0;\nfunction createAppAPI(render, hydrate) {\n return function createApp(rootComponent, rootProps = null) {\n if (!isFunction(rootComponent)) {\n rootComponent = Object.assign({}, rootComponent);\n }\n if (rootProps != null && !isObject(rootProps)) {\n (process.env.NODE_ENV !== 'production') && warn(`root props passed to app.mount() must be an object.`);\n rootProps = null;\n }\n const context = createAppContext();\n const installedPlugins = new Set();\n let isMounted = false;\n const app = (context.app = {\n _uid: uid++,\n _component: rootComponent,\n _props: rootProps,\n _container: null,\n _context: context,\n _instance: null,\n version,\n get config() {\n return context.config;\n },\n set config(v) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`app.config cannot be replaced. Modify individual options instead.`);\n }\n },\n use(plugin, ...options) {\n if (installedPlugins.has(plugin)) {\n (process.env.NODE_ENV !== 'production') && warn(`Plugin has already been applied to target app.`);\n }\n else if (plugin && isFunction(plugin.install)) {\n installedPlugins.add(plugin);\n plugin.install(app, ...options);\n }\n else if (isFunction(plugin)) {\n installedPlugins.add(plugin);\n plugin(app, ...options);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`A plugin must either be a function or an object with an \"install\" ` +\n `function.`);\n }\n return app;\n },\n mixin(mixin) {\n if (__VUE_OPTIONS_API__) {\n if (!context.mixins.includes(mixin)) {\n context.mixins.push(mixin);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Mixin has already been applied to target app' +\n (mixin.name ? `: ${mixin.name}` : ''));\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Mixins are only available in builds supporting Options API');\n }\n return app;\n },\n component(name, component) {\n if ((process.env.NODE_ENV !== 'production')) {\n validateComponentName(name, context.config);\n }\n if (!component) {\n return context.components[name];\n }\n if ((process.env.NODE_ENV !== 'production') && context.components[name]) {\n warn(`Component \"${name}\" has already been registered in target app.`);\n }\n context.components[name] = component;\n return app;\n },\n directive(name, directive) {\n if ((process.env.NODE_ENV !== 'production')) {\n validateDirectiveName(name);\n }\n if (!directive) {\n return context.directives[name];\n }\n if ((process.env.NODE_ENV !== 'production') && context.directives[name]) {\n warn(`Directive \"${name}\" has already been registered in target app.`);\n }\n context.directives[name] = directive;\n return app;\n },\n mount(rootContainer, isHydrate, isSVG) {\n if (!isMounted) {\n // #5571\n if ((process.env.NODE_ENV !== 'production') && rootContainer.__vue_app__) {\n warn(`There is already an app instance mounted on the host container.\\n` +\n ` If you want to mount another app on the same host container,` +\n ` you need to unmount the previous app by calling \\`app.unmount()\\` first.`);\n }\n const vnode = createVNode(rootComponent, rootProps);\n // store app context on the root VNode.\n // this will be set on the root instance on initial mount.\n vnode.appContext = context;\n // HMR root reload\n if ((process.env.NODE_ENV !== 'production')) {\n context.reload = () => {\n render(cloneVNode(vnode), rootContainer, isSVG);\n };\n }\n if (isHydrate && hydrate) {\n hydrate(vnode, rootContainer);\n }\n else {\n render(vnode, rootContainer, isSVG);\n }\n isMounted = true;\n app._container = rootContainer;\n rootContainer.__vue_app__ = app;\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n app._instance = vnode.component;\n devtoolsInitApp(app, version);\n }\n return getExposeProxy(vnode.component) || vnode.component.proxy;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`App has already been mounted.\\n` +\n `If you want to remount the same app, move your app creation logic ` +\n `into a factory function and create fresh app instances for each ` +\n `mount - e.g. \\`const createMyApp = () => createApp(App)\\``);\n }\n },\n unmount() {\n if (isMounted) {\n render(null, app._container);\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n app._instance = null;\n devtoolsUnmountApp(app);\n }\n delete app._container.__vue_app__;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`Cannot unmount an app that is not mounted.`);\n }\n },\n provide(key, value) {\n if ((process.env.NODE_ENV !== 'production') && key in context.provides) {\n warn(`App already provides property with key \"${String(key)}\". ` +\n `It will be overwritten with the new value.`);\n }\n context.provides[key] = value;\n return app;\n }\n });\n return app;\n };\n}\n\n/**\n * Function for handling a template ref\n */\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\n if (isArray(rawRef)) {\n rawRef.forEach((r, i) => setRef(r, oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));\n return;\n }\n if (isAsyncWrapper(vnode) && !isUnmount) {\n // when mounting async components, nothing needs to be done,\n // because the template ref is forwarded to inner component\n return;\n }\n const refValue = vnode.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */\n ? getExposeProxy(vnode.component) || vnode.component.proxy\n : vnode.el;\n const value = isUnmount ? null : refValue;\n const { i: owner, r: ref } = rawRef;\n if ((process.env.NODE_ENV !== 'production') && !owner) {\n warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +\n `A vnode with ref must be created inside the render function.`);\n return;\n }\n const oldRef = oldRawRef && oldRawRef.r;\n const refs = owner.refs === EMPTY_OBJ ? (owner.refs = {}) : owner.refs;\n const setupState = owner.setupState;\n // dynamic ref changed. unset old ref\n if (oldRef != null && oldRef !== ref) {\n if (isString(oldRef)) {\n refs[oldRef] = null;\n if (hasOwn(setupState, oldRef)) {\n setupState[oldRef] = null;\n }\n }\n else if (isRef(oldRef)) {\n oldRef.value = null;\n }\n }\n if (isFunction(ref)) {\n callWithErrorHandling(ref, owner, 12 /* ErrorCodes.FUNCTION_REF */, [value, refs]);\n }\n else {\n const _isString = isString(ref);\n const _isRef = isRef(ref);\n if (_isString || _isRef) {\n const doSet = () => {\n if (rawRef.f) {\n const existing = _isString\n ? hasOwn(setupState, ref)\n ? setupState[ref]\n : refs[ref]\n : ref.value;\n if (isUnmount) {\n isArray(existing) && remove(existing, refValue);\n }\n else {\n if (!isArray(existing)) {\n if (_isString) {\n refs[ref] = [refValue];\n if (hasOwn(setupState, ref)) {\n setupState[ref] = refs[ref];\n }\n }\n else {\n ref.value = [refValue];\n if (rawRef.k)\n refs[rawRef.k] = ref.value;\n }\n }\n else if (!existing.includes(refValue)) {\n existing.push(refValue);\n }\n }\n }\n else if (_isString) {\n refs[ref] = value;\n if (hasOwn(setupState, ref)) {\n setupState[ref] = value;\n }\n }\n else if (_isRef) {\n ref.value = value;\n if (rawRef.k)\n refs[rawRef.k] = value;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Invalid template ref type:', ref, `(${typeof ref})`);\n }\n };\n if (value) {\n doSet.id = -1;\n queuePostRenderEffect(doSet, parentSuspense);\n }\n else {\n doSet();\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Invalid template ref type:', ref, `(${typeof ref})`);\n }\n }\n}\n\nlet hasMismatch = false;\nconst isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';\nconst isComment = (node) => node.nodeType === 8 /* DOMNodeTypes.COMMENT */;\n// Note: hydration is DOM-specific\n// But we have to place it in core due to tight coupling with core - splitting\n// it out creates a ton of unnecessary complexity.\n// Hydration also depends on some renderer internal logic which needs to be\n// passed in via arguments.\nfunction createHydrationFunctions(rendererInternals) {\n const { mt: mountComponent, p: patch, o: { patchProp, createText, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;\n const hydrate = (vnode, container) => {\n if (!container.hasChildNodes()) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Attempting to hydrate existing markup but container is empty. ` +\n `Performing full mount instead.`);\n patch(null, vnode, container);\n flushPostFlushCbs();\n container._vnode = vnode;\n return;\n }\n hasMismatch = false;\n hydrateNode(container.firstChild, vnode, null, null, null);\n flushPostFlushCbs();\n container._vnode = vnode;\n if (hasMismatch && !false) {\n // this error should show up in production\n console.error(`Hydration completed but contains mismatches.`);\n }\n };\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\n const isFragmentStart = isComment(node) && node.data === '[';\n const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);\n const { type, ref, shapeFlag, patchFlag } = vnode;\n let domType = node.nodeType;\n vnode.el = node;\n if (patchFlag === -2 /* PatchFlags.BAIL */) {\n optimized = false;\n vnode.dynamicChildren = null;\n }\n let nextNode = null;\n switch (type) {\n case Text:\n if (domType !== 3 /* DOMNodeTypes.TEXT */) {\n // #5728 empty text node inside a slot can cause hydration failure\n // because the server rendered HTML won't contain a text node\n if (vnode.children === '') {\n insert((vnode.el = createText('')), parentNode(node), node);\n nextNode = node;\n }\n else {\n nextNode = onMismatch();\n }\n }\n else {\n if (node.data !== vnode.children) {\n hasMismatch = true;\n (process.env.NODE_ENV !== 'production') &&\n warn(`Hydration text mismatch:` +\n `\\n- Client: ${JSON.stringify(node.data)}` +\n `\\n- Server: ${JSON.stringify(vnode.children)}`);\n node.data = vnode.children;\n }\n nextNode = nextSibling(node);\n }\n break;\n case Comment:\n if (domType !== 8 /* DOMNodeTypes.COMMENT */ || isFragmentStart) {\n nextNode = onMismatch();\n }\n else {\n nextNode = nextSibling(node);\n }\n break;\n case Static:\n if (isFragmentStart) {\n // entire template is static but SSRed as a fragment\n node = nextSibling(node);\n domType = node.nodeType;\n }\n if (domType === 1 /* DOMNodeTypes.ELEMENT */ || domType === 3 /* DOMNodeTypes.TEXT */) {\n // determine anchor, adopt content\n nextNode = node;\n // if the static vnode has its content stripped during build,\n // adopt it from the server-rendered HTML.\n const needToAdoptContent = !vnode.children.length;\n for (let i = 0; i < vnode.staticCount; i++) {\n if (needToAdoptContent)\n vnode.children +=\n nextNode.nodeType === 1 /* DOMNodeTypes.ELEMENT */\n ? nextNode.outerHTML\n : nextNode.data;\n if (i === vnode.staticCount - 1) {\n vnode.anchor = nextNode;\n }\n nextNode = nextSibling(nextNode);\n }\n return isFragmentStart ? nextSibling(nextNode) : nextNode;\n }\n else {\n onMismatch();\n }\n break;\n case Fragment:\n if (!isFragmentStart) {\n nextNode = onMismatch();\n }\n else {\n nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n break;\n default:\n if (shapeFlag & 1 /* ShapeFlags.ELEMENT */) {\n if (domType !== 1 /* DOMNodeTypes.ELEMENT */ ||\n vnode.type.toLowerCase() !==\n node.tagName.toLowerCase()) {\n nextNode = onMismatch();\n }\n else {\n nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n }\n else if (shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n // when setting up the render effect, if the initial vnode already\n // has .el set, the component will perform hydration instead of mount\n // on its sub-tree.\n vnode.slotScopeIds = slotScopeIds;\n const container = parentNode(node);\n mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);\n // component may be async, so in the case of fragments we cannot rely\n // on component's rendered output to determine the end of the fragment\n // instead, we do a lookahead to find the end anchor node.\n nextNode = isFragmentStart\n ? locateClosingAsyncAnchor(node)\n : nextSibling(node);\n // #4293 teleport as component root\n if (nextNode &&\n isComment(nextNode) &&\n nextNode.data === 'teleport end') {\n nextNode = nextSibling(nextNode);\n }\n // #3787\n // if component is async, it may get moved / unmounted before its\n // inner component is loaded, so we need to give it a placeholder\n // vnode that matches its adopted DOM.\n if (isAsyncWrapper(vnode)) {\n let subTree;\n if (isFragmentStart) {\n subTree = createVNode(Fragment);\n subTree.anchor = nextNode\n ? nextNode.previousSibling\n : container.lastChild;\n }\n else {\n subTree =\n node.nodeType === 3 ? createTextVNode('') : createVNode('div');\n }\n subTree.el = node;\n vnode.component.subTree = subTree;\n }\n }\n else if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {\n if (domType !== 8 /* DOMNodeTypes.COMMENT */) {\n nextNode = onMismatch();\n }\n else {\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);\n }\n }\n else if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Invalid HostVNode type:', type, `(${typeof type})`);\n }\n }\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode);\n }\n return nextNode;\n };\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const { type, props, patchFlag, shapeFlag, dirs } = vnode;\n // #4006 for form elements with non-string v-model value bindings\n // e.g. <option :value=\"obj\">, <input type=\"checkbox\" :true-value=\"1\">\n const forcePatchValue = (type === 'input' && dirs) || type === 'option';\n // skip props & children if this is hoisted static nodes\n // #5405 in dev, always hydrate children for HMR\n if ((process.env.NODE_ENV !== 'production') || forcePatchValue || patchFlag !== -1 /* PatchFlags.HOISTED */) {\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, 'created');\n }\n // props\n if (props) {\n if (forcePatchValue ||\n !optimized ||\n patchFlag & (16 /* PatchFlags.FULL_PROPS */ | 32 /* PatchFlags.HYDRATE_EVENTS */)) {\n for (const key in props) {\n if ((forcePatchValue && key.endsWith('value')) ||\n (isOn(key) && !isReservedProp(key))) {\n patchProp(el, key, null, props[key], false, undefined, parentComponent);\n }\n }\n }\n else if (props.onClick) {\n // Fast path for click listeners (which is most often) to avoid\n // iterating through props.\n patchProp(el, 'onClick', null, props.onClick, false, undefined, parentComponent);\n }\n }\n // vnode / directive hooks\n let vnodeHooks;\n if ((vnodeHooks = props && props.onVnodeBeforeMount)) {\n invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');\n }\n if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {\n queueEffectWithSuspense(() => {\n vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');\n }, parentSuspense);\n }\n // children\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */ &&\n // skip if element has innerHTML / textContent\n !(props && (props.innerHTML || props.textContent))) {\n let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);\n let hasWarned = false;\n while (next) {\n hasMismatch = true;\n if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\n warn(`Hydration children mismatch in <${vnode.type}>: ` +\n `server rendered element contains more child nodes than client vdom.`);\n hasWarned = true;\n }\n // The SSRed DOM contains more nodes than it should. Remove them.\n const cur = next;\n next = next.nextSibling;\n remove(cur);\n }\n }\n else if (shapeFlag & 8 /* ShapeFlags.TEXT_CHILDREN */) {\n if (el.textContent !== vnode.children) {\n hasMismatch = true;\n (process.env.NODE_ENV !== 'production') &&\n warn(`Hydration text content mismatch in <${vnode.type}>:\\n` +\n `- Client: ${el.textContent}\\n` +\n `- Server: ${vnode.children}`);\n el.textContent = vnode.children;\n }\n }\n }\n return el.nextSibling;\n };\n const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!parentVNode.dynamicChildren;\n const children = parentVNode.children;\n const l = children.length;\n let hasWarned = false;\n for (let i = 0; i < l; i++) {\n const vnode = optimized\n ? children[i]\n : (children[i] = normalizeVNode(children[i]));\n if (node) {\n node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n else if (vnode.type === Text && !vnode.children) {\n continue;\n }\n else {\n hasMismatch = true;\n if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\n warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +\n `server rendered element contains fewer child nodes than client vdom.`);\n hasWarned = true;\n }\n // the SSRed DOM didn't contain enough nodes. Mount the missing ones.\n patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\n }\n }\n return node;\n };\n const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n const { slotScopeIds: fragmentSlotScopeIds } = vnode;\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds\n ? slotScopeIds.concat(fragmentSlotScopeIds)\n : fragmentSlotScopeIds;\n }\n const container = parentNode(node);\n const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);\n if (next && isComment(next) && next.data === ']') {\n return nextSibling((vnode.anchor = next));\n }\n else {\n // fragment didn't hydrate successfully, since we didn't get a end anchor\n // back. This should have led to node/children mismatch warnings.\n hasMismatch = true;\n // since the anchor is missing, we need to create one and insert it\n insert((vnode.anchor = createComment(`]`)), container, next);\n return next;\n }\n };\n const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\n hasMismatch = true;\n (process.env.NODE_ENV !== 'production') &&\n warn(`Hydration node mismatch:\\n- Client vnode:`, vnode.type, `\\n- Server rendered DOM:`, node, node.nodeType === 3 /* DOMNodeTypes.TEXT */\n ? `(text)`\n : isComment(node) && node.data === '['\n ? `(start of fragment)`\n : ``);\n vnode.el = null;\n if (isFragment) {\n // remove excessive fragment nodes\n const end = locateClosingAsyncAnchor(node);\n while (true) {\n const next = nextSibling(node);\n if (next && next !== end) {\n remove(next);\n }\n else {\n break;\n }\n }\n }\n const next = nextSibling(node);\n const container = parentNode(node);\n remove(node);\n patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\n return next;\n };\n const locateClosingAsyncAnchor = (node) => {\n let match = 0;\n while (node) {\n node = nextSibling(node);\n if (node && isComment(node)) {\n if (node.data === '[')\n match++;\n if (node.data === ']') {\n if (match === 0) {\n return nextSibling(node);\n }\n else {\n match--;\n }\n }\n }\n }\n return node;\n };\n return [hydrate, hydrateNode];\n}\n\n/* eslint-disable no-restricted-globals */\nlet supported;\nlet perf;\nfunction startMeasure(instance, type) {\n if (instance.appContext.config.performance && isSupported()) {\n perf.mark(`vue-${type}-${instance.uid}`);\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsPerfStart(instance, type, isSupported() ? perf.now() : Date.now());\n }\n}\nfunction endMeasure(instance, type) {\n if (instance.appContext.config.performance && isSupported()) {\n const startTag = `vue-${type}-${instance.uid}`;\n const endTag = startTag + `:end`;\n perf.mark(endTag);\n perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsPerfEnd(instance, type, isSupported() ? perf.now() : Date.now());\n }\n}\nfunction isSupported() {\n if (supported !== undefined) {\n return supported;\n }\n if (typeof window !== 'undefined' && window.performance) {\n supported = true;\n perf = window.performance;\n }\n else {\n supported = false;\n }\n return supported;\n}\n\n/**\n * This is only called in esm-bundler builds.\n * It is called when a renderer is created, in `baseCreateRenderer` so that\n * importing runtime-core is side-effects free.\n *\n * istanbul-ignore-next\n */\nfunction initFeatureFlags() {\n const needWarn = [];\n if (typeof __VUE_OPTIONS_API__ !== 'boolean') {\n (process.env.NODE_ENV !== 'production') && needWarn.push(`__VUE_OPTIONS_API__`);\n getGlobalThis().__VUE_OPTIONS_API__ = true;\n }\n if (typeof __VUE_PROD_DEVTOOLS__ !== 'boolean') {\n (process.env.NODE_ENV !== 'production') && needWarn.push(`__VUE_PROD_DEVTOOLS__`);\n getGlobalThis().__VUE_PROD_DEVTOOLS__ = false;\n }\n if ((process.env.NODE_ENV !== 'production') && needWarn.length) {\n const multi = needWarn.length > 1;\n console.warn(`Feature flag${multi ? `s` : ``} ${needWarn.join(', ')} ${multi ? `are` : `is`} not explicitly defined. You are running the esm-bundler build of Vue, ` +\n `which expects these compile-time feature flags to be globally injected ` +\n `via the bundler config in order to get better tree-shaking in the ` +\n `production bundle.\\n\\n` +\n `For more details, see https://link.vuejs.org/feature-flags.`);\n }\n}\n\nconst queuePostRenderEffect = queueEffectWithSuspense\n ;\n/**\n * The createRenderer function accepts two generic arguments:\n * HostNode and HostElement, corresponding to Node and Element types in the\n * host environment. For example, for runtime-dom, HostNode would be the DOM\n * `Node` interface and HostElement would be the DOM `Element` interface.\n *\n * Custom renderers can pass in the platform specific types like this:\n *\n * ``` js\n * const { render, createApp } = createRenderer<Node, Element>({\n * patchProp,\n * ...nodeOps\n * })\n * ```\n */\nfunction createRenderer(options) {\n return baseCreateRenderer(options);\n}\n// Separate API for creating hydration-enabled renderer.\n// Hydration logic is only used when calling this function, making it\n// tree-shakable.\nfunction createHydrationRenderer(options) {\n return baseCreateRenderer(options, createHydrationFunctions);\n}\n// implementation\nfunction baseCreateRenderer(options, createHydrationFns) {\n // compile-time feature flags check\n {\n initFeatureFlags();\n }\n const target = getGlobalThis();\n target.__VUE__ = true;\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);\n }\n const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = NOOP, insertStaticContent: hostInsertStaticContent } = options;\n // Note: functions inside this closure should use `const xxx = () => {}`\n // style in order to prevent being inlined by minifiers.\n const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = (process.env.NODE_ENV !== 'production') && isHmrUpdating ? false : !!n2.dynamicChildren) => {\n if (n1 === n2) {\n return;\n }\n // patching & not same type, unmount old tree\n if (n1 && !isSameVNodeType(n1, n2)) {\n anchor = getNextHostNode(n1);\n unmount(n1, parentComponent, parentSuspense, true);\n n1 = null;\n }\n if (n2.patchFlag === -2 /* PatchFlags.BAIL */) {\n optimized = false;\n n2.dynamicChildren = null;\n }\n const { type, ref, shapeFlag } = n2;\n switch (type) {\n case Text:\n processText(n1, n2, container, anchor);\n break;\n case Comment:\n processCommentNode(n1, n2, container, anchor);\n break;\n case Static:\n if (n1 == null) {\n mountStaticNode(n2, container, anchor, isSVG);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n patchStaticNode(n1, n2, container, isSVG);\n }\n break;\n case Fragment:\n processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n break;\n default:\n if (shapeFlag & 1 /* ShapeFlags.ELEMENT */) {\n processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else if (shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\n }\n else if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Invalid VNode type:', type, `(${typeof type})`);\n }\n }\n // set ref\n if (ref != null && parentComponent) {\n setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);\n }\n };\n const processText = (n1, n2, container, anchor) => {\n if (n1 == null) {\n hostInsert((n2.el = hostCreateText(n2.children)), container, anchor);\n }\n else {\n const el = (n2.el = n1.el);\n if (n2.children !== n1.children) {\n hostSetText(el, n2.children);\n }\n }\n };\n const processCommentNode = (n1, n2, container, anchor) => {\n if (n1 == null) {\n hostInsert((n2.el = hostCreateComment(n2.children || '')), container, anchor);\n }\n else {\n // there's no support for dynamic comments\n n2.el = n1.el;\n }\n };\n const mountStaticNode = (n2, container, anchor, isSVG) => {\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG, n2.el, n2.anchor);\n };\n /**\n * Dev / HMR only\n */\n const patchStaticNode = (n1, n2, container, isSVG) => {\n // static nodes are only patched during dev for HMR\n if (n2.children !== n1.children) {\n const anchor = hostNextSibling(n1.anchor);\n // remove existing\n removeStaticNode(n1);\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\n }\n else {\n n2.el = n1.el;\n n2.anchor = n1.anchor;\n }\n };\n const moveStaticNode = ({ el, anchor }, container, nextSibling) => {\n let next;\n while (el && el !== anchor) {\n next = hostNextSibling(el);\n hostInsert(el, container, nextSibling);\n el = next;\n }\n hostInsert(anchor, container, nextSibling);\n };\n const removeStaticNode = ({ el, anchor }) => {\n let next;\n while (el && el !== anchor) {\n next = hostNextSibling(el);\n hostRemove(el);\n el = next;\n }\n hostRemove(anchor);\n };\n const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n isSVG = isSVG || n2.type === 'svg';\n if (n1 == null) {\n mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else {\n patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n let el;\n let vnodeHook;\n const { type, props, shapeFlag, transition, dirs } = vnode;\n el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);\n // mount children first, since some props may rely on child content\n // being already rendered, e.g. `<select value>`\n if (shapeFlag & 8 /* ShapeFlags.TEXT_CHILDREN */) {\n hostSetElementText(el, vnode.children);\n }\n else if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n mountChildren(vnode.children, el, null, parentComponent, parentSuspense, isSVG && type !== 'foreignObject', slotScopeIds, optimized);\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, 'created');\n }\n // props\n if (props) {\n for (const key in props) {\n if (key !== 'value' && !isReservedProp(key)) {\n hostPatchProp(el, key, null, props[key], isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n /**\n * Special case for setting value on DOM elements:\n * - it can be order-sensitive (e.g. should be set *after* min/max, #2325, #4024)\n * - it needs to be forced (#1471)\n * #2353 proposes adding another renderer option to configure this, but\n * the properties affects are so finite it is worth special casing it\n * here to reduce the complexity. (Special casing it also should not\n * affect non-DOM renderers)\n */\n if ('value' in props) {\n hostPatchProp(el, 'value', null, props.value);\n }\n if ((vnodeHook = props.onVnodeBeforeMount)) {\n invokeVNodeHook(vnodeHook, parentComponent, vnode);\n }\n }\n // scopeId\n setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n Object.defineProperty(el, '__vnode', {\n value: vnode,\n enumerable: false\n });\n Object.defineProperty(el, '__vueParentComponent', {\n value: parentComponent,\n enumerable: false\n });\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');\n }\n // #1583 For inside suspense + suspense not resolved case, enter hook should call when suspense resolved\n // #1689 For inside suspense + suspense resolved case, just call it\n const needCallTransitionHooks = (!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) &&\n transition &&\n !transition.persisted;\n if (needCallTransitionHooks) {\n transition.beforeEnter(el);\n }\n hostInsert(el, container, anchor);\n if ((vnodeHook = props && props.onVnodeMounted) ||\n needCallTransitionHooks ||\n dirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\n needCallTransitionHooks && transition.enter(el);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');\n }, parentSuspense);\n }\n };\n const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {\n if (scopeId) {\n hostSetScopeId(el, scopeId);\n }\n if (slotScopeIds) {\n for (let i = 0; i < slotScopeIds.length; i++) {\n hostSetScopeId(el, slotScopeIds[i]);\n }\n }\n if (parentComponent) {\n let subTree = parentComponent.subTree;\n if ((process.env.NODE_ENV !== 'production') &&\n subTree.patchFlag > 0 &&\n subTree.patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */) {\n subTree =\n filterSingleRoot(subTree.children) || subTree;\n }\n if (vnode === subTree) {\n const parentVNode = parentComponent.vnode;\n setScopeId(el, parentVNode, parentVNode.scopeId, parentVNode.slotScopeIds, parentComponent.parent);\n }\n }\n };\n const mountChildren = (children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, start = 0) => {\n for (let i = start; i < children.length; i++) {\n const child = (children[i] = optimized\n ? cloneIfMounted(children[i])\n : normalizeVNode(children[i]));\n patch(null, child, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n const patchElement = (n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n const el = (n2.el = n1.el);\n let { patchFlag, dynamicChildren, dirs } = n2;\n // #1426 take the old vnode's patch flag into account since user may clone a\n // compiler-generated vnode, which de-opts to FULL_PROPS\n patchFlag |= n1.patchFlag & 16 /* PatchFlags.FULL_PROPS */;\n const oldProps = n1.props || EMPTY_OBJ;\n const newProps = n2.props || EMPTY_OBJ;\n let vnodeHook;\n // disable recurse in beforeUpdate hooks\n parentComponent && toggleRecurse(parentComponent, false);\n if ((vnodeHook = newProps.onVnodeBeforeUpdate)) {\n invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\n }\n if (dirs) {\n invokeDirectiveHook(n2, n1, parentComponent, 'beforeUpdate');\n }\n parentComponent && toggleRecurse(parentComponent, true);\n if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\n // HMR updated, force full diff\n patchFlag = 0;\n optimized = false;\n dynamicChildren = null;\n }\n const areChildrenSVG = isSVG && n2.type !== 'foreignObject';\n if (dynamicChildren) {\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, el, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds);\n if ((process.env.NODE_ENV !== 'production') && parentComponent && parentComponent.type.__hmrId) {\n traverseStaticChildren(n1, n2);\n }\n }\n else if (!optimized) {\n // full diff\n patchChildren(n1, n2, el, null, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds, false);\n }\n if (patchFlag > 0) {\n // the presence of a patchFlag means this element's render code was\n // generated by the compiler and can take the fast path.\n // in this path old node and new node are guaranteed to have the same shape\n // (i.e. at the exact same position in the source template)\n if (patchFlag & 16 /* PatchFlags.FULL_PROPS */) {\n // element props contain dynamic keys, full diff needed\n patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\n }\n else {\n // class\n // this flag is matched when the element has dynamic class bindings.\n if (patchFlag & 2 /* PatchFlags.CLASS */) {\n if (oldProps.class !== newProps.class) {\n hostPatchProp(el, 'class', null, newProps.class, isSVG);\n }\n }\n // style\n // this flag is matched when the element has dynamic style bindings\n if (patchFlag & 4 /* PatchFlags.STYLE */) {\n hostPatchProp(el, 'style', oldProps.style, newProps.style, isSVG);\n }\n // props\n // This flag is matched when the element has dynamic prop/attr bindings\n // other than class and style. The keys of dynamic prop/attrs are saved for\n // faster iteration.\n // Note dynamic keys like :[foo]=\"bar\" will cause this optimization to\n // bail out and go through a full diff because we need to unset the old key\n if (patchFlag & 8 /* PatchFlags.PROPS */) {\n // if the flag is present then dynamicProps must be non-null\n const propsToUpdate = n2.dynamicProps;\n for (let i = 0; i < propsToUpdate.length; i++) {\n const key = propsToUpdate[i];\n const prev = oldProps[key];\n const next = newProps[key];\n // #1471 force patch value\n if (next !== prev || key === 'value') {\n hostPatchProp(el, key, prev, next, isSVG, n1.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n }\n }\n // text\n // This flag is matched when the element has only dynamic text children.\n if (patchFlag & 1 /* PatchFlags.TEXT */) {\n if (n1.children !== n2.children) {\n hostSetElementText(el, n2.children);\n }\n }\n }\n else if (!optimized && dynamicChildren == null) {\n // unoptimized, full diff\n patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\n }\n if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\n dirs && invokeDirectiveHook(n2, n1, parentComponent, 'updated');\n }, parentSuspense);\n }\n };\n // The fast path for blocks.\n const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, isSVG, slotScopeIds) => {\n for (let i = 0; i < newChildren.length; i++) {\n const oldVNode = oldChildren[i];\n const newVNode = newChildren[i];\n // Determine the container (parent element) for the patch.\n const container = \n // oldVNode may be an errored async setup() component inside Suspense\n // which will not have a mounted element\n oldVNode.el &&\n // - In the case of a Fragment, we need to provide the actual parent\n // of the Fragment itself so it can move its children.\n (oldVNode.type === Fragment ||\n // - In the case of different nodes, there is going to be a replacement\n // which also requires the correct parent container\n !isSameVNodeType(oldVNode, newVNode) ||\n // - In the case of a component, it could contain anything.\n oldVNode.shapeFlag & (6 /* ShapeFlags.COMPONENT */ | 64 /* ShapeFlags.TELEPORT */))\n ? hostParentNode(oldVNode.el)\n : // In other cases, the parent container is not actually used so we\n // just pass the block element here to avoid a DOM parentNode call.\n fallbackContainer;\n patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true);\n }\n };\n const patchProps = (el, vnode, oldProps, newProps, parentComponent, parentSuspense, isSVG) => {\n if (oldProps !== newProps) {\n if (oldProps !== EMPTY_OBJ) {\n for (const key in oldProps) {\n if (!isReservedProp(key) && !(key in newProps)) {\n hostPatchProp(el, key, oldProps[key], null, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n }\n for (const key in newProps) {\n // empty string is not valid prop\n if (isReservedProp(key))\n continue;\n const next = newProps[key];\n const prev = oldProps[key];\n // defer patching value\n if (next !== prev && key !== 'value') {\n hostPatchProp(el, key, prev, next, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n if ('value' in newProps) {\n hostPatchProp(el, 'value', oldProps.value, newProps.value);\n }\n }\n };\n const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n const fragmentStartAnchor = (n2.el = n1 ? n1.el : hostCreateText(''));\n const fragmentEndAnchor = (n2.anchor = n1 ? n1.anchor : hostCreateText(''));\n let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;\n if ((process.env.NODE_ENV !== 'production') &&\n // #5523 dev root fragment may inherit directives\n (isHmrUpdating || patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */)) {\n // HMR updated / Dev root fragment (w/ comments), force full diff\n patchFlag = 0;\n optimized = false;\n dynamicChildren = null;\n }\n // check if this is a slot fragment with :slotted scope ids\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds\n ? slotScopeIds.concat(fragmentSlotScopeIds)\n : fragmentSlotScopeIds;\n }\n if (n1 == null) {\n hostInsert(fragmentStartAnchor, container, anchor);\n hostInsert(fragmentEndAnchor, container, anchor);\n // a fragment can only have array children\n // since they are either generated by the compiler, or implicitly created\n // from arrays.\n mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else {\n if (patchFlag > 0 &&\n patchFlag & 64 /* PatchFlags.STABLE_FRAGMENT */ &&\n dynamicChildren &&\n // #2715 the previous fragment could've been a BAILed one as a result\n // of renderSlot() with no valid children\n n1.dynamicChildren) {\n // a stable fragment (template root or <template v-for>) doesn't need to\n // patch children order, but it may contain dynamicChildren.\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);\n if ((process.env.NODE_ENV !== 'production') && parentComponent && parentComponent.type.__hmrId) {\n traverseStaticChildren(n1, n2);\n }\n else if (\n // #2080 if the stable fragment has a key, it's a <template v-for> that may\n // get moved around. Make sure all root level vnodes inherit el.\n // #2134 or if it's a component root, it may also get moved around\n // as the component is being moved.\n n2.key != null ||\n (parentComponent && n2 === parentComponent.subTree)) {\n traverseStaticChildren(n1, n2, true /* shallow */);\n }\n }\n else {\n // keyed / unkeyed, or manual fragments.\n // for keyed & unkeyed, since they are compiler generated from v-for,\n // each child is guaranteed to be a block so the fragment will never\n // have dynamicChildren.\n patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n }\n };\n const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n n2.slotScopeIds = slotScopeIds;\n if (n1 == null) {\n if (n2.shapeFlag & 512 /* ShapeFlags.COMPONENT_KEPT_ALIVE */) {\n parentComponent.ctx.activate(n2, container, anchor, isSVG, optimized);\n }\n else {\n mountComponent(n2, container, anchor, parentComponent, parentSuspense, isSVG, optimized);\n }\n }\n else {\n updateComponent(n1, n2, optimized);\n }\n };\n const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, isSVG, optimized) => {\n const instance = (initialVNode.component = createComponentInstance(initialVNode, parentComponent, parentSuspense));\n if ((process.env.NODE_ENV !== 'production') && instance.type.__hmrId) {\n registerHMR(instance);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(initialVNode);\n startMeasure(instance, `mount`);\n }\n // inject renderer internals for keepAlive\n if (isKeepAlive(initialVNode)) {\n instance.ctx.renderer = internals;\n }\n // resolve props and slots for setup context\n {\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `init`);\n }\n setupComponent(instance);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `init`);\n }\n }\n // setup() is async. This component relies on async logic to be resolved\n // before proceeding\n if (instance.asyncDep) {\n parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect);\n // Give it a placeholder if this is not hydration\n // TODO handle self-defined fallback\n if (!initialVNode.el) {\n const placeholder = (instance.subTree = createVNode(Comment));\n processCommentNode(null, placeholder, container, anchor);\n }\n return;\n }\n setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized);\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n endMeasure(instance, `mount`);\n }\n };\n const updateComponent = (n1, n2, optimized) => {\n const instance = (n2.component = n1.component);\n if (shouldUpdateComponent(n1, n2, optimized)) {\n if (instance.asyncDep &&\n !instance.asyncResolved) {\n // async & still pending - just update props and slots\n // since the component's reactive effect for render isn't set-up yet\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(n2);\n }\n updateComponentPreRender(instance, n2, optimized);\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n }\n return;\n }\n else {\n // normal update\n instance.next = n2;\n // in case the child component is also queued, remove it to avoid\n // double updating the same child component in the same flush.\n invalidateJob(instance.update);\n // instance.update is the reactive effect.\n instance.update();\n }\n }\n else {\n // no update needed. just copy over properties\n n2.el = n1.el;\n instance.vnode = n2;\n }\n };\n const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized) => {\n const componentUpdateFn = () => {\n if (!instance.isMounted) {\n let vnodeHook;\n const { el, props } = initialVNode;\n const { bm, m, parent } = instance;\n const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);\n toggleRecurse(instance, false);\n // beforeMount hook\n if (bm) {\n invokeArrayFns(bm);\n }\n // onVnodeBeforeMount\n if (!isAsyncWrapperVNode &&\n (vnodeHook = props && props.onVnodeBeforeMount)) {\n invokeVNodeHook(vnodeHook, parent, initialVNode);\n }\n toggleRecurse(instance, true);\n if (el && hydrateNode) {\n // vnode has adopted host node - perform hydration instead of mount.\n const hydrateSubTree = () => {\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `render`);\n }\n instance.subTree = renderComponentRoot(instance);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `render`);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `hydrate`);\n }\n hydrateNode(el, instance.subTree, instance, parentSuspense, null);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `hydrate`);\n }\n };\n if (isAsyncWrapperVNode) {\n initialVNode.type.__asyncLoader().then(\n // note: we are moving the render call into an async callback,\n // which means it won't track dependencies - but it's ok because\n // a server-rendered async wrapper is already in resolved state\n // and it will never need to change.\n () => !instance.isUnmounted && hydrateSubTree());\n }\n else {\n hydrateSubTree();\n }\n }\n else {\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `render`);\n }\n const subTree = (instance.subTree = renderComponentRoot(instance));\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `render`);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `patch`);\n }\n patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `patch`);\n }\n initialVNode.el = subTree.el;\n }\n // mounted hook\n if (m) {\n queuePostRenderEffect(m, parentSuspense);\n }\n // onVnodeMounted\n if (!isAsyncWrapperVNode &&\n (vnodeHook = props && props.onVnodeMounted)) {\n const scopedInitialVNode = initialVNode;\n queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);\n }\n // activated hook for keep-alive roots.\n // #1742 activated hook must be accessed after first render\n // since the hook may be injected by a child keep-alive\n if (initialVNode.shapeFlag & 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */ ||\n (parent &&\n isAsyncWrapper(parent.vnode) &&\n parent.vnode.shapeFlag & 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */)) {\n instance.a && queuePostRenderEffect(instance.a, parentSuspense);\n }\n instance.isMounted = true;\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance);\n }\n // #2458: deference mount-only object parameters to prevent memleaks\n initialVNode = container = anchor = null;\n }\n else {\n // updateComponent\n // This is triggered by mutation of component's own state (next: null)\n // OR parent calling processComponent (next: VNode)\n let { next, bu, u, parent, vnode } = instance;\n let originNext = next;\n let vnodeHook;\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(next || instance.vnode);\n }\n // Disallow component effect recursion during pre-lifecycle hooks.\n toggleRecurse(instance, false);\n if (next) {\n next.el = vnode.el;\n updateComponentPreRender(instance, next, optimized);\n }\n else {\n next = vnode;\n }\n // beforeUpdate hook\n if (bu) {\n invokeArrayFns(bu);\n }\n // onVnodeBeforeUpdate\n if ((vnodeHook = next.props && next.props.onVnodeBeforeUpdate)) {\n invokeVNodeHook(vnodeHook, parent, next, vnode);\n }\n toggleRecurse(instance, true);\n // render\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `render`);\n }\n const nextTree = renderComponentRoot(instance);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `render`);\n }\n const prevTree = instance.subTree;\n instance.subTree = nextTree;\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `patch`);\n }\n patch(prevTree, nextTree, \n // parent may have changed if it's in a teleport\n hostParentNode(prevTree.el), \n // anchor may have changed if it's in a fragment\n getNextHostNode(prevTree), instance, parentSuspense, isSVG);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `patch`);\n }\n next.el = nextTree.el;\n if (originNext === null) {\n // self-triggered update. In case of HOC, update parent component\n // vnode el. HOC is indicated by parent instance's subTree pointing\n // to child component's vnode\n updateHOCHostEl(instance, nextTree.el);\n }\n // updated hook\n if (u) {\n queuePostRenderEffect(u, parentSuspense);\n }\n // onVnodeUpdated\n if ((vnodeHook = next.props && next.props.onVnodeUpdated)) {\n queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(instance);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n }\n }\n };\n // create reactive effect for rendering\n const effect = (instance.effect = new ReactiveEffect(componentUpdateFn, () => queueJob(update), instance.scope // track it in component's effect scope\n ));\n const update = (instance.update = () => effect.run());\n update.id = instance.uid;\n // allowRecurse\n // #1801, #2043 component render effects should allow recursive updates\n toggleRecurse(instance, true);\n if ((process.env.NODE_ENV !== 'production')) {\n effect.onTrack = instance.rtc\n ? e => invokeArrayFns(instance.rtc, e)\n : void 0;\n effect.onTrigger = instance.rtg\n ? e => invokeArrayFns(instance.rtg, e)\n : void 0;\n update.ownerInstance = instance;\n }\n update();\n };\n const updateComponentPreRender = (instance, nextVNode, optimized) => {\n nextVNode.component = instance;\n const prevProps = instance.vnode.props;\n instance.vnode = nextVNode;\n instance.next = null;\n updateProps(instance, nextVNode.props, prevProps, optimized);\n updateSlots(instance, nextVNode.children, optimized);\n pauseTracking();\n // props update may have triggered pre-flush watchers.\n // flush them before the render update.\n flushPreFlushCbs();\n resetTracking();\n };\n const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {\n const c1 = n1 && n1.children;\n const prevShapeFlag = n1 ? n1.shapeFlag : 0;\n const c2 = n2.children;\n const { patchFlag, shapeFlag } = n2;\n // fast path\n if (patchFlag > 0) {\n if (patchFlag & 128 /* PatchFlags.KEYED_FRAGMENT */) {\n // this could be either fully-keyed or mixed (some keyed some not)\n // presence of patchFlag means children are guaranteed to be arrays\n patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n return;\n }\n else if (patchFlag & 256 /* PatchFlags.UNKEYED_FRAGMENT */) {\n // unkeyed\n patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n return;\n }\n }\n // children has 3 possibilities: text, array or no children.\n if (shapeFlag & 8 /* ShapeFlags.TEXT_CHILDREN */) {\n // text children fast path\n if (prevShapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n unmountChildren(c1, parentComponent, parentSuspense);\n }\n if (c2 !== c1) {\n hostSetElementText(container, c2);\n }\n }\n else {\n if (prevShapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n // prev children was array\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n // two arrays, cannot assume anything, do full diff\n patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else {\n // no new children, just unmount old\n unmountChildren(c1, parentComponent, parentSuspense, true);\n }\n }\n else {\n // prev children was text OR null\n // new children is array OR null\n if (prevShapeFlag & 8 /* ShapeFlags.TEXT_CHILDREN */) {\n hostSetElementText(container, '');\n }\n // mount new if array\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n }\n }\n };\n const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n c1 = c1 || EMPTY_ARR;\n c2 = c2 || EMPTY_ARR;\n const oldLength = c1.length;\n const newLength = c2.length;\n const commonLength = Math.min(oldLength, newLength);\n let i;\n for (i = 0; i < commonLength; i++) {\n const nextChild = (c2[i] = optimized\n ? cloneIfMounted(c2[i])\n : normalizeVNode(c2[i]));\n patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n if (oldLength > newLength) {\n // remove old\n unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);\n }\n else {\n // mount new\n mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);\n }\n };\n // can be all-keyed or mixed\n const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n let i = 0;\n const l2 = c2.length;\n let e1 = c1.length - 1; // prev ending index\n let e2 = l2 - 1; // next ending index\n // 1. sync from start\n // (a b) c\n // (a b) d e\n while (i <= e1 && i <= e2) {\n const n1 = c1[i];\n const n2 = (c2[i] = optimized\n ? cloneIfMounted(c2[i])\n : normalizeVNode(c2[i]));\n if (isSameVNodeType(n1, n2)) {\n patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else {\n break;\n }\n i++;\n }\n // 2. sync from end\n // a (b c)\n // d e (b c)\n while (i <= e1 && i <= e2) {\n const n1 = c1[e1];\n const n2 = (c2[e2] = optimized\n ? cloneIfMounted(c2[e2])\n : normalizeVNode(c2[e2]));\n if (isSameVNodeType(n1, n2)) {\n patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else {\n break;\n }\n e1--;\n e2--;\n }\n // 3. common sequence + mount\n // (a b)\n // (a b) c\n // i = 2, e1 = 1, e2 = 2\n // (a b)\n // c (a b)\n // i = 0, e1 = -1, e2 = 0\n if (i > e1) {\n if (i <= e2) {\n const nextPos = e2 + 1;\n const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;\n while (i <= e2) {\n patch(null, (c2[i] = optimized\n ? cloneIfMounted(c2[i])\n : normalizeVNode(c2[i])), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n i++;\n }\n }\n }\n // 4. common sequence + unmount\n // (a b) c\n // (a b)\n // i = 2, e1 = 2, e2 = 1\n // a (b c)\n // (b c)\n // i = 0, e1 = 0, e2 = -1\n else if (i > e2) {\n while (i <= e1) {\n unmount(c1[i], parentComponent, parentSuspense, true);\n i++;\n }\n }\n // 5. unknown sequence\n // [i ... e1 + 1]: a b [c d e] f g\n // [i ... e2 + 1]: a b [e d c h] f g\n // i = 2, e1 = 4, e2 = 5\n else {\n const s1 = i; // prev starting index\n const s2 = i; // next starting index\n // 5.1 build key:index map for newChildren\n const keyToNewIndexMap = new Map();\n for (i = s2; i <= e2; i++) {\n const nextChild = (c2[i] = optimized\n ? cloneIfMounted(c2[i])\n : normalizeVNode(c2[i]));\n if (nextChild.key != null) {\n if ((process.env.NODE_ENV !== 'production') && keyToNewIndexMap.has(nextChild.key)) {\n warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);\n }\n keyToNewIndexMap.set(nextChild.key, i);\n }\n }\n // 5.2 loop through old children left to be patched and try to patch\n // matching nodes & remove nodes that are no longer present\n let j;\n let patched = 0;\n const toBePatched = e2 - s2 + 1;\n let moved = false;\n // used to track whether any node has moved\n let maxNewIndexSoFar = 0;\n // works as Map<newIndex, oldIndex>\n // Note that oldIndex is offset by +1\n // and oldIndex = 0 is a special value indicating the new node has\n // no corresponding old node.\n // used for determining longest stable subsequence\n const newIndexToOldIndexMap = new Array(toBePatched);\n for (i = 0; i < toBePatched; i++)\n newIndexToOldIndexMap[i] = 0;\n for (i = s1; i <= e1; i++) {\n const prevChild = c1[i];\n if (patched >= toBePatched) {\n // all new children have been patched so this can only be a removal\n unmount(prevChild, parentComponent, parentSuspense, true);\n continue;\n }\n let newIndex;\n if (prevChild.key != null) {\n newIndex = keyToNewIndexMap.get(prevChild.key);\n }\n else {\n // key-less node, try to locate a key-less node of the same type\n for (j = s2; j <= e2; j++) {\n if (newIndexToOldIndexMap[j - s2] === 0 &&\n isSameVNodeType(prevChild, c2[j])) {\n newIndex = j;\n break;\n }\n }\n }\n if (newIndex === undefined) {\n unmount(prevChild, parentComponent, parentSuspense, true);\n }\n else {\n newIndexToOldIndexMap[newIndex - s2] = i + 1;\n if (newIndex >= maxNewIndexSoFar) {\n maxNewIndexSoFar = newIndex;\n }\n else {\n moved = true;\n }\n patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n patched++;\n }\n }\n // 5.3 move and mount\n // generate longest stable subsequence only when nodes have moved\n const increasingNewIndexSequence = moved\n ? getSequence(newIndexToOldIndexMap)\n : EMPTY_ARR;\n j = increasingNewIndexSequence.length - 1;\n // looping backwards so that we can use last patched node as anchor\n for (i = toBePatched - 1; i >= 0; i--) {\n const nextIndex = s2 + i;\n const nextChild = c2[nextIndex];\n const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;\n if (newIndexToOldIndexMap[i] === 0) {\n // mount new\n patch(null, nextChild, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n else if (moved) {\n // move if:\n // There is no stable subsequence (e.g. a reverse)\n // OR current node is not among the stable sequence\n if (j < 0 || i !== increasingNewIndexSequence[j]) {\n move(nextChild, container, anchor, 2 /* MoveType.REORDER */);\n }\n else {\n j--;\n }\n }\n }\n }\n };\n const move = (vnode, container, anchor, moveType, parentSuspense = null) => {\n const { el, type, transition, children, shapeFlag } = vnode;\n if (shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n move(vnode.component.subTree, container, anchor, moveType);\n return;\n }\n if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n vnode.suspense.move(container, anchor, moveType);\n return;\n }\n if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {\n type.move(vnode, container, anchor, internals);\n return;\n }\n if (type === Fragment) {\n hostInsert(el, container, anchor);\n for (let i = 0; i < children.length; i++) {\n move(children[i], container, anchor, moveType);\n }\n hostInsert(vnode.anchor, container, anchor);\n return;\n }\n if (type === Static) {\n moveStaticNode(vnode, container, anchor);\n return;\n }\n // single nodes\n const needTransition = moveType !== 2 /* MoveType.REORDER */ &&\n shapeFlag & 1 /* ShapeFlags.ELEMENT */ &&\n transition;\n if (needTransition) {\n if (moveType === 0 /* MoveType.ENTER */) {\n transition.beforeEnter(el);\n hostInsert(el, container, anchor);\n queuePostRenderEffect(() => transition.enter(el), parentSuspense);\n }\n else {\n const { leave, delayLeave, afterLeave } = transition;\n const remove = () => hostInsert(el, container, anchor);\n const performLeave = () => {\n leave(el, () => {\n remove();\n afterLeave && afterLeave();\n });\n };\n if (delayLeave) {\n delayLeave(el, remove, performLeave);\n }\n else {\n performLeave();\n }\n }\n }\n else {\n hostInsert(el, container, anchor);\n }\n };\n const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {\n const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs } = vnode;\n // unset ref\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode, true);\n }\n if (shapeFlag & 256 /* ShapeFlags.COMPONENT_SHOULD_KEEP_ALIVE */) {\n parentComponent.ctx.deactivate(vnode);\n return;\n }\n const shouldInvokeDirs = shapeFlag & 1 /* ShapeFlags.ELEMENT */ && dirs;\n const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);\n let vnodeHook;\n if (shouldInvokeVnodeHook &&\n (vnodeHook = props && props.onVnodeBeforeUnmount)) {\n invokeVNodeHook(vnodeHook, parentComponent, vnode);\n }\n if (shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n unmountComponent(vnode.component, parentSuspense, doRemove);\n }\n else {\n if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n vnode.suspense.unmount(parentSuspense, doRemove);\n return;\n }\n if (shouldInvokeDirs) {\n invokeDirectiveHook(vnode, null, parentComponent, 'beforeUnmount');\n }\n if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {\n vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);\n }\n else if (dynamicChildren &&\n // #1153: fast path should not be taken for non-stable (v-for) fragments\n (type !== Fragment ||\n (patchFlag > 0 && patchFlag & 64 /* PatchFlags.STABLE_FRAGMENT */))) {\n // fast path for block nodes: only need to unmount dynamic children.\n unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);\n }\n else if ((type === Fragment &&\n patchFlag &\n (128 /* PatchFlags.KEYED_FRAGMENT */ | 256 /* PatchFlags.UNKEYED_FRAGMENT */)) ||\n (!optimized && shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */)) {\n unmountChildren(children, parentComponent, parentSuspense);\n }\n if (doRemove) {\n remove(vnode);\n }\n }\n if ((shouldInvokeVnodeHook &&\n (vnodeHook = props && props.onVnodeUnmounted)) ||\n shouldInvokeDirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\n shouldInvokeDirs &&\n invokeDirectiveHook(vnode, null, parentComponent, 'unmounted');\n }, parentSuspense);\n }\n };\n const remove = vnode => {\n const { type, el, anchor, transition } = vnode;\n if (type === Fragment) {\n if ((process.env.NODE_ENV !== 'production') &&\n vnode.patchFlag > 0 &&\n vnode.patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */ &&\n transition &&\n !transition.persisted) {\n vnode.children.forEach(child => {\n if (child.type === Comment) {\n hostRemove(child.el);\n }\n else {\n remove(child);\n }\n });\n }\n else {\n removeFragment(el, anchor);\n }\n return;\n }\n if (type === Static) {\n removeStaticNode(vnode);\n return;\n }\n const performRemove = () => {\n hostRemove(el);\n if (transition && !transition.persisted && transition.afterLeave) {\n transition.afterLeave();\n }\n };\n if (vnode.shapeFlag & 1 /* ShapeFlags.ELEMENT */ &&\n transition &&\n !transition.persisted) {\n const { leave, delayLeave } = transition;\n const performLeave = () => leave(el, performRemove);\n if (delayLeave) {\n delayLeave(vnode.el, performRemove, performLeave);\n }\n else {\n performLeave();\n }\n }\n else {\n performRemove();\n }\n };\n const removeFragment = (cur, end) => {\n // For fragments, directly remove all contained DOM nodes.\n // (fragment child nodes cannot have transition)\n let next;\n while (cur !== end) {\n next = hostNextSibling(cur);\n hostRemove(cur);\n cur = next;\n }\n hostRemove(end);\n };\n const unmountComponent = (instance, parentSuspense, doRemove) => {\n if ((process.env.NODE_ENV !== 'production') && instance.type.__hmrId) {\n unregisterHMR(instance);\n }\n const { bum, scope, update, subTree, um } = instance;\n // beforeUnmount hook\n if (bum) {\n invokeArrayFns(bum);\n }\n // stop effects in component scope\n scope.stop();\n // update may be null if a component is unmounted before its async\n // setup has resolved.\n if (update) {\n // so that scheduler will no longer invoke it\n update.active = false;\n unmount(subTree, instance, parentSuspense, doRemove);\n }\n // unmounted hook\n if (um) {\n queuePostRenderEffect(um, parentSuspense);\n }\n queuePostRenderEffect(() => {\n instance.isUnmounted = true;\n }, parentSuspense);\n // A component with async dep inside a pending suspense is unmounted before\n // its async dep resolves. This should remove the dep from the suspense, and\n // cause the suspense to resolve immediately if that was the last dep.\n if (parentSuspense &&\n parentSuspense.pendingBranch &&\n !parentSuspense.isUnmounted &&\n instance.asyncDep &&\n !instance.asyncResolved &&\n instance.suspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0) {\n parentSuspense.resolve();\n }\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentRemoved(instance);\n }\n };\n const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {\n for (let i = start; i < children.length; i++) {\n unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);\n }\n };\n const getNextHostNode = vnode => {\n if (vnode.shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n return getNextHostNode(vnode.component.subTree);\n }\n if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n return vnode.suspense.next();\n }\n return hostNextSibling((vnode.anchor || vnode.el));\n };\n const render = (vnode, container, isSVG) => {\n if (vnode == null) {\n if (container._vnode) {\n unmount(container._vnode, null, null, true);\n }\n }\n else {\n patch(container._vnode || null, vnode, container, null, null, null, isSVG);\n }\n flushPreFlushCbs();\n flushPostFlushCbs();\n container._vnode = vnode;\n };\n const internals = {\n p: patch,\n um: unmount,\n m: move,\n r: remove,\n mt: mountComponent,\n mc: mountChildren,\n pc: patchChildren,\n pbc: patchBlockChildren,\n n: getNextHostNode,\n o: options\n };\n let hydrate;\n let hydrateNode;\n if (createHydrationFns) {\n [hydrate, hydrateNode] = createHydrationFns(internals);\n }\n return {\n render,\n hydrate,\n createApp: createAppAPI(render, hydrate)\n };\n}\nfunction toggleRecurse({ effect, update }, allowed) {\n effect.allowRecurse = update.allowRecurse = allowed;\n}\n/**\n * #1156\n * When a component is HMR-enabled, we need to make sure that all static nodes\n * inside a block also inherit the DOM element from the previous tree so that\n * HMR updates (which are full updates) can retrieve the element for patching.\n *\n * #2080\n * Inside keyed `template` fragment static children, if a fragment is moved,\n * the children will always be moved. Therefore, in order to ensure correct move\n * position, el should be inherited from previous nodes.\n */\nfunction traverseStaticChildren(n1, n2, shallow = false) {\n const ch1 = n1.children;\n const ch2 = n2.children;\n if (isArray(ch1) && isArray(ch2)) {\n for (let i = 0; i < ch1.length; i++) {\n // this is only called in the optimized path so array children are\n // guaranteed to be vnodes\n const c1 = ch1[i];\n let c2 = ch2[i];\n if (c2.shapeFlag & 1 /* ShapeFlags.ELEMENT */ && !c2.dynamicChildren) {\n if (c2.patchFlag <= 0 || c2.patchFlag === 32 /* PatchFlags.HYDRATE_EVENTS */) {\n c2 = ch2[i] = cloneIfMounted(ch2[i]);\n c2.el = c1.el;\n }\n if (!shallow)\n traverseStaticChildren(c1, c2);\n }\n // also inherit for comment nodes, but not placeholders (e.g. v-if which\n // would have received .el during block patch)\n if ((process.env.NODE_ENV !== 'production') && c2.type === Comment && !c2.el) {\n c2.el = c1.el;\n }\n }\n }\n}\n// https://en.wikipedia.org/wiki/Longest_increasing_subsequence\nfunction getSequence(arr) {\n const p = arr.slice();\n const result = [0];\n let i, j, u, v, c;\n const len = arr.length;\n for (i = 0; i < len; i++) {\n const arrI = arr[i];\n if (arrI !== 0) {\n j = result[result.length - 1];\n if (arr[j] < arrI) {\n p[i] = j;\n result.push(i);\n continue;\n }\n u = 0;\n v = result.length - 1;\n while (u < v) {\n c = (u + v) >> 1;\n if (arr[result[c]] < arrI) {\n u = c + 1;\n }\n else {\n v = c;\n }\n }\n if (arrI < arr[result[u]]) {\n if (u > 0) {\n p[i] = result[u - 1];\n }\n result[u] = i;\n }\n }\n }\n u = result.length;\n v = result[u - 1];\n while (u-- > 0) {\n result[u] = v;\n v = p[v];\n }\n return result;\n}\n\nconst isTeleport = (type) => type.__isTeleport;\nconst isTeleportDisabled = (props) => props && (props.disabled || props.disabled === '');\nconst isTargetSVG = (target) => typeof SVGElement !== 'undefined' && target instanceof SVGElement;\nconst resolveTarget = (props, select) => {\n const targetSelector = props && props.to;\n if (isString(targetSelector)) {\n if (!select) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Current renderer does not support string target for Teleports. ` +\n `(missing querySelector renderer option)`);\n return null;\n }\n else {\n const target = select(targetSelector);\n if (!target) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Failed to locate Teleport target with selector \"${targetSelector}\". ` +\n `Note the target element must exist before the component is mounted - ` +\n `i.e. the target cannot be rendered by the component itself, and ` +\n `ideally should be outside of the entire Vue component tree.`);\n }\n return target;\n }\n }\n else {\n if ((process.env.NODE_ENV !== 'production') && !targetSelector && !isTeleportDisabled(props)) {\n warn(`Invalid Teleport target: ${targetSelector}`);\n }\n return targetSelector;\n }\n};\nconst TeleportImpl = {\n __isTeleport: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {\n const { mc: mountChildren, pc: patchChildren, pbc: patchBlockChildren, o: { insert, querySelector, createText, createComment } } = internals;\n const disabled = isTeleportDisabled(n2.props);\n let { shapeFlag, children, dynamicChildren } = n2;\n // #3302\n // HMR updated, force full diff\n if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\n optimized = false;\n dynamicChildren = null;\n }\n if (n1 == null) {\n // insert anchors in the main view\n const placeholder = (n2.el = (process.env.NODE_ENV !== 'production')\n ? createComment('teleport start')\n : createText(''));\n const mainAnchor = (n2.anchor = (process.env.NODE_ENV !== 'production')\n ? createComment('teleport end')\n : createText(''));\n insert(placeholder, container, anchor);\n insert(mainAnchor, container, anchor);\n const target = (n2.target = resolveTarget(n2.props, querySelector));\n const targetAnchor = (n2.targetAnchor = createText(''));\n if (target) {\n insert(targetAnchor, target);\n // #2652 we could be teleporting from a non-SVG tree into an SVG tree\n isSVG = isSVG || isTargetSVG(target);\n }\n else if ((process.env.NODE_ENV !== 'production') && !disabled) {\n warn('Invalid Teleport target on mount:', target, `(${typeof target})`);\n }\n const mount = (container, anchor) => {\n // Teleport *always* has Array children. This is enforced in both the\n // compiler and vnode children normalization.\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n mountChildren(children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n if (disabled) {\n mount(container, mainAnchor);\n }\n else if (target) {\n mount(target, targetAnchor);\n }\n }\n else {\n // update content\n n2.el = n1.el;\n const mainAnchor = (n2.anchor = n1.anchor);\n const target = (n2.target = n1.target);\n const targetAnchor = (n2.targetAnchor = n1.targetAnchor);\n const wasDisabled = isTeleportDisabled(n1.props);\n const currentContainer = wasDisabled ? container : target;\n const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;\n isSVG = isSVG || isTargetSVG(target);\n if (dynamicChildren) {\n // fast path when the teleport happens to be a block root\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);\n // even in block tree mode we need to make sure all root-level nodes\n // in the teleport inherit previous DOM references so that they can\n // be moved in future patches.\n traverseStaticChildren(n1, n2, true);\n }\n else if (!optimized) {\n patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);\n }\n if (disabled) {\n if (!wasDisabled) {\n // enabled -> disabled\n // move into main container\n moveTeleport(n2, container, mainAnchor, internals, 1 /* TeleportMoveTypes.TOGGLE */);\n }\n }\n else {\n // target changed\n if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {\n const nextTarget = (n2.target = resolveTarget(n2.props, querySelector));\n if (nextTarget) {\n moveTeleport(n2, nextTarget, null, internals, 0 /* TeleportMoveTypes.TARGET_CHANGE */);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn('Invalid Teleport target on update:', target, `(${typeof target})`);\n }\n }\n else if (wasDisabled) {\n // disabled -> enabled\n // move into teleport target\n moveTeleport(n2, target, targetAnchor, internals, 1 /* TeleportMoveTypes.TOGGLE */);\n }\n }\n }\n },\n remove(vnode, parentComponent, parentSuspense, optimized, { um: unmount, o: { remove: hostRemove } }, doRemove) {\n const { shapeFlag, children, anchor, targetAnchor, target, props } = vnode;\n if (target) {\n hostRemove(targetAnchor);\n }\n // an unmounted teleport should always remove its children if not disabled\n if (doRemove || !isTeleportDisabled(props)) {\n hostRemove(anchor);\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n unmount(child, parentComponent, parentSuspense, true, !!child.dynamicChildren);\n }\n }\n }\n },\n move: moveTeleport,\n hydrate: hydrateTeleport\n};\nfunction moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2 /* TeleportMoveTypes.REORDER */) {\n // move target anchor if this is a target change.\n if (moveType === 0 /* TeleportMoveTypes.TARGET_CHANGE */) {\n insert(vnode.targetAnchor, container, parentAnchor);\n }\n const { el, anchor, shapeFlag, children, props } = vnode;\n const isReorder = moveType === 2 /* TeleportMoveTypes.REORDER */;\n // move main view anchor if this is a re-order.\n if (isReorder) {\n insert(el, container, parentAnchor);\n }\n // if this is a re-order and teleport is enabled (content is in target)\n // do not move children. So the opposite is: only move children if this\n // is not a reorder, or the teleport is disabled\n if (!isReorder || isTeleportDisabled(props)) {\n // Teleport has either Array children or no children.\n if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n for (let i = 0; i < children.length; i++) {\n move(children[i], container, parentAnchor, 2 /* MoveType.REORDER */);\n }\n }\n }\n // move main view anchor if this is a re-order.\n if (isReorder) {\n insert(anchor, container, parentAnchor);\n }\n}\nfunction hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector } }, hydrateChildren) {\n const target = (vnode.target = resolveTarget(vnode.props, querySelector));\n if (target) {\n // if multiple teleports rendered to the same target element, we need to\n // pick up from where the last teleport finished instead of the first node\n const targetNode = target._lpa || target.firstChild;\n if (vnode.shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n if (isTeleportDisabled(vnode.props)) {\n vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);\n vnode.targetAnchor = targetNode;\n }\n else {\n vnode.anchor = nextSibling(node);\n // lookahead until we find the target anchor\n // we cannot rely on return value of hydrateChildren() because there\n // could be nested teleports\n let targetAnchor = targetNode;\n while (targetAnchor) {\n targetAnchor = nextSibling(targetAnchor);\n if (targetAnchor &&\n targetAnchor.nodeType === 8 &&\n targetAnchor.data === 'teleport anchor') {\n vnode.targetAnchor = targetAnchor;\n target._lpa =\n vnode.targetAnchor && nextSibling(vnode.targetAnchor);\n break;\n }\n }\n hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n }\n }\n return vnode.anchor && nextSibling(vnode.anchor);\n}\n// Force-casted public typing for h and TSX props inference\nconst Teleport = TeleportImpl;\n\nconst Fragment = Symbol((process.env.NODE_ENV !== 'production') ? 'Fragment' : undefined);\nconst Text = Symbol((process.env.NODE_ENV !== 'production') ? 'Text' : undefined);\nconst Comment = Symbol((process.env.NODE_ENV !== 'production') ? 'Comment' : undefined);\nconst Static = Symbol((process.env.NODE_ENV !== 'production') ? 'Static' : undefined);\n// Since v-if and v-for are the two possible ways node structure can dynamically\n// change, once we consider v-if branches and each v-for fragment a block, we\n// can divide a template into nested blocks, and within each block the node\n// structure would be stable. This allows us to skip most children diffing\n// and only worry about the dynamic nodes (indicated by patch flags).\nconst blockStack = [];\nlet currentBlock = null;\n/**\n * Open a block.\n * This must be called before `createBlock`. It cannot be part of `createBlock`\n * because the children of the block are evaluated before `createBlock` itself\n * is called. The generated code typically looks like this:\n *\n * ```js\n * function render() {\n * return (openBlock(),createBlock('div', null, [...]))\n * }\n * ```\n * disableTracking is true when creating a v-for fragment block, since a v-for\n * fragment always diffs its children.\n *\n * @private\n */\nfunction openBlock(disableTracking = false) {\n blockStack.push((currentBlock = disableTracking ? null : []));\n}\nfunction closeBlock() {\n blockStack.pop();\n currentBlock = blockStack[blockStack.length - 1] || null;\n}\n// Whether we should be tracking dynamic child nodes inside a block.\n// Only tracks when this value is > 0\n// We are not using a simple boolean because this value may need to be\n// incremented/decremented by nested usage of v-once (see below)\nlet isBlockTreeEnabled = 1;\n/**\n * Block tracking sometimes needs to be disabled, for example during the\n * creation of a tree that needs to be cached by v-once. The compiler generates\n * code like this:\n *\n * ``` js\n * _cache[1] || (\n * setBlockTracking(-1),\n * _cache[1] = createVNode(...),\n * setBlockTracking(1),\n * _cache[1]\n * )\n * ```\n *\n * @private\n */\nfunction setBlockTracking(value) {\n isBlockTreeEnabled += value;\n}\nfunction setupBlock(vnode) {\n // save current block children on the block vnode\n vnode.dynamicChildren =\n isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null;\n // close block\n closeBlock();\n // a block is always going to be patched, so track it as a child of its\n // parent block\n if (isBlockTreeEnabled > 0 && currentBlock) {\n currentBlock.push(vnode);\n }\n return vnode;\n}\n/**\n * @private\n */\nfunction createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {\n return setupBlock(createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, true /* isBlock */));\n}\n/**\n * Create a block root vnode. Takes the same exact arguments as `createVNode`.\n * A block root keeps track of dynamic nodes within the block in the\n * `dynamicChildren` array.\n *\n * @private\n */\nfunction createBlock(type, props, children, patchFlag, dynamicProps) {\n return setupBlock(createVNode(type, props, children, patchFlag, dynamicProps, true /* isBlock: prevent a block from tracking itself */));\n}\nfunction isVNode(value) {\n return value ? value.__v_isVNode === true : false;\n}\nfunction isSameVNodeType(n1, n2) {\n if ((process.env.NODE_ENV !== 'production') &&\n n2.shapeFlag & 6 /* ShapeFlags.COMPONENT */ &&\n hmrDirtyComponents.has(n2.type)) {\n // HMR only: if the component has been hot-updated, force a reload.\n return false;\n }\n return n1.type === n2.type && n1.key === n2.key;\n}\nlet vnodeArgsTransformer;\n/**\n * Internal API for registering an arguments transform for createVNode\n * used for creating stubs in the test-utils\n * It is *internal* but needs to be exposed for test-utils to pick up proper\n * typings\n */\nfunction transformVNodeArgs(transformer) {\n vnodeArgsTransformer = transformer;\n}\nconst createVNodeWithArgsTransform = (...args) => {\n return _createVNode(...(vnodeArgsTransformer\n ? vnodeArgsTransformer(args, currentRenderingInstance)\n : args));\n};\nconst InternalObjectKey = `__vInternal`;\nconst normalizeKey = ({ key }) => key != null ? key : null;\nconst normalizeRef = ({ ref, ref_key, ref_for }) => {\n return (ref != null\n ? isString(ref) || isRef(ref) || isFunction(ref)\n ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for }\n : ref\n : null);\n};\nfunction createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1 /* ShapeFlags.ELEMENT */, isBlockNode = false, needFullChildrenNormalization = false) {\n const vnode = {\n __v_isVNode: true,\n __v_skip: true,\n type,\n props,\n key: props && normalizeKey(props),\n ref: props && normalizeRef(props),\n scopeId: currentScopeId,\n slotScopeIds: null,\n children,\n component: null,\n suspense: null,\n ssContent: null,\n ssFallback: null,\n dirs: null,\n transition: null,\n el: null,\n anchor: null,\n target: null,\n targetAnchor: null,\n staticCount: 0,\n shapeFlag,\n patchFlag,\n dynamicProps,\n dynamicChildren: null,\n appContext: null\n };\n if (needFullChildrenNormalization) {\n normalizeChildren(vnode, children);\n // normalize suspense children\n if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n type.normalize(vnode);\n }\n }\n else if (children) {\n // compiled element vnode - if children is passed, only possible types are\n // string or Array.\n vnode.shapeFlag |= isString(children)\n ? 8 /* ShapeFlags.TEXT_CHILDREN */\n : 16 /* ShapeFlags.ARRAY_CHILDREN */;\n }\n // validate key\n if ((process.env.NODE_ENV !== 'production') && vnode.key !== vnode.key) {\n warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);\n }\n // track vnode for block tree\n if (isBlockTreeEnabled > 0 &&\n // avoid a block node from tracking itself\n !isBlockNode &&\n // has current parent block\n currentBlock &&\n // presence of a patch flag indicates this node needs patching on updates.\n // component nodes also should always be patched, because even if the\n // component doesn't need to update, it needs to persist the instance on to\n // the next vnode so that it can be properly unmounted later.\n (vnode.patchFlag > 0 || shapeFlag & 6 /* ShapeFlags.COMPONENT */) &&\n // the EVENTS flag is only for hydration and if it is the only flag, the\n // vnode should not be considered dynamic due to handler caching.\n vnode.patchFlag !== 32 /* PatchFlags.HYDRATE_EVENTS */) {\n currentBlock.push(vnode);\n }\n return vnode;\n}\nconst createVNode = ((process.env.NODE_ENV !== 'production') ? createVNodeWithArgsTransform : _createVNode);\nfunction _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {\n if (!type || type === NULL_DYNAMIC_COMPONENT) {\n if ((process.env.NODE_ENV !== 'production') && !type) {\n warn(`Invalid vnode type when creating vnode: ${type}.`);\n }\n type = Comment;\n }\n if (isVNode(type)) {\n // createVNode receiving an existing vnode. This happens in cases like\n // <component :is=\"vnode\"/>\n // #2078 make sure to merge refs during the clone instead of overwriting it\n const cloned = cloneVNode(type, props, true /* mergeRef: true */);\n if (children) {\n normalizeChildren(cloned, children);\n }\n if (isBlockTreeEnabled > 0 && !isBlockNode && currentBlock) {\n if (cloned.shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n currentBlock[currentBlock.indexOf(type)] = cloned;\n }\n else {\n currentBlock.push(cloned);\n }\n }\n cloned.patchFlag |= -2 /* PatchFlags.BAIL */;\n return cloned;\n }\n // class component normalization.\n if (isClassComponent(type)) {\n type = type.__vccOpts;\n }\n // class & style normalization.\n if (props) {\n // for reactive or proxy objects, we need to clone it to enable mutation.\n props = guardReactiveProps(props);\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (isObject(style)) {\n // reactive state objects need to be cloned since they are likely to be\n // mutated\n if (isProxy(style) && !isArray(style)) {\n style = extend({}, style);\n }\n props.style = normalizeStyle(style);\n }\n }\n // encode the vnode type information into a bitmap\n const shapeFlag = isString(type)\n ? 1 /* ShapeFlags.ELEMENT */\n : isSuspense(type)\n ? 128 /* ShapeFlags.SUSPENSE */\n : isTeleport(type)\n ? 64 /* ShapeFlags.TELEPORT */\n : isObject(type)\n ? 4 /* ShapeFlags.STATEFUL_COMPONENT */\n : isFunction(type)\n ? 2 /* ShapeFlags.FUNCTIONAL_COMPONENT */\n : 0;\n if ((process.env.NODE_ENV !== 'production') && shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */ && isProxy(type)) {\n type = toRaw(type);\n warn(`Vue received a Component which was made a reactive object. This can ` +\n `lead to unnecessary performance overhead, and should be avoided by ` +\n `marking the component with \\`markRaw\\` or using \\`shallowRef\\` ` +\n `instead of \\`ref\\`.`, `\\nComponent that was made reactive: `, type);\n }\n return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);\n}\nfunction guardReactiveProps(props) {\n if (!props)\n return null;\n return isProxy(props) || InternalObjectKey in props\n ? extend({}, props)\n : props;\n}\nfunction cloneVNode(vnode, extraProps, mergeRef = false) {\n // This is intentionally NOT using spread or extend to avoid the runtime\n // key enumeration cost.\n const { props, ref, patchFlag, children } = vnode;\n const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;\n const cloned = {\n __v_isVNode: true,\n __v_skip: true,\n type: vnode.type,\n props: mergedProps,\n key: mergedProps && normalizeKey(mergedProps),\n ref: extraProps && extraProps.ref\n ? // #2078 in the case of <component :is=\"vnode\" ref=\"extra\"/>\n // if the vnode itself already has a ref, cloneVNode will need to merge\n // the refs so the single vnode can be set on multiple refs\n mergeRef && ref\n ? isArray(ref)\n ? ref.concat(normalizeRef(extraProps))\n : [ref, normalizeRef(extraProps)]\n : normalizeRef(extraProps)\n : ref,\n scopeId: vnode.scopeId,\n slotScopeIds: vnode.slotScopeIds,\n children: (process.env.NODE_ENV !== 'production') && patchFlag === -1 /* PatchFlags.HOISTED */ && isArray(children)\n ? children.map(deepCloneVNode)\n : children,\n target: vnode.target,\n targetAnchor: vnode.targetAnchor,\n staticCount: vnode.staticCount,\n shapeFlag: vnode.shapeFlag,\n // if the vnode is cloned with extra props, we can no longer assume its\n // existing patch flag to be reliable and need to add the FULL_PROPS flag.\n // note: preserve flag for fragments since they use the flag for children\n // fast paths only.\n patchFlag: extraProps && vnode.type !== Fragment\n ? patchFlag === -1 // hoisted node\n ? 16 /* PatchFlags.FULL_PROPS */\n : patchFlag | 16 /* PatchFlags.FULL_PROPS */\n : patchFlag,\n dynamicProps: vnode.dynamicProps,\n dynamicChildren: vnode.dynamicChildren,\n appContext: vnode.appContext,\n dirs: vnode.dirs,\n transition: vnode.transition,\n // These should technically only be non-null on mounted VNodes. However,\n // they *should* be copied for kept-alive vnodes. So we just always copy\n // them since them being non-null during a mount doesn't affect the logic as\n // they will simply be overwritten.\n component: vnode.component,\n suspense: vnode.suspense,\n ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),\n ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),\n el: vnode.el,\n anchor: vnode.anchor\n };\n return cloned;\n}\n/**\n * Dev only, for HMR of hoisted vnodes reused in v-for\n * https://github.com/vitejs/vite/issues/2022\n */\nfunction deepCloneVNode(vnode) {\n const cloned = cloneVNode(vnode);\n if (isArray(vnode.children)) {\n cloned.children = vnode.children.map(deepCloneVNode);\n }\n return cloned;\n}\n/**\n * @private\n */\nfunction createTextVNode(text = ' ', flag = 0) {\n return createVNode(Text, null, text, flag);\n}\n/**\n * @private\n */\nfunction createStaticVNode(content, numberOfNodes) {\n // A static vnode can contain multiple stringified elements, and the number\n // of elements is necessary for hydration.\n const vnode = createVNode(Static, null, content);\n vnode.staticCount = numberOfNodes;\n return vnode;\n}\n/**\n * @private\n */\nfunction createCommentVNode(text = '', \n// when used as the v-else branch, the comment node must be created as a\n// block to ensure correct updates.\nasBlock = false) {\n return asBlock\n ? (openBlock(), createBlock(Comment, null, text))\n : createVNode(Comment, null, text);\n}\nfunction normalizeVNode(child) {\n if (child == null || typeof child === 'boolean') {\n // empty placeholder\n return createVNode(Comment);\n }\n else if (isArray(child)) {\n // fragment\n return createVNode(Fragment, null, \n // #3666, avoid reference pollution when reusing vnode\n child.slice());\n }\n else if (typeof child === 'object') {\n // already vnode, this should be the most common since compiled templates\n // always produce all-vnode children arrays\n return cloneIfMounted(child);\n }\n else {\n // strings and numbers\n return createVNode(Text, null, String(child));\n }\n}\n// optimized normalization for template-compiled render fns\nfunction cloneIfMounted(child) {\n return (child.el === null && child.patchFlag !== -1 /* PatchFlags.HOISTED */) ||\n child.memo\n ? child\n : cloneVNode(child);\n}\nfunction normalizeChildren(vnode, children) {\n let type = 0;\n const { shapeFlag } = vnode;\n if (children == null) {\n children = null;\n }\n else if (isArray(children)) {\n type = 16 /* ShapeFlags.ARRAY_CHILDREN */;\n }\n else if (typeof children === 'object') {\n if (shapeFlag & (1 /* ShapeFlags.ELEMENT */ | 64 /* ShapeFlags.TELEPORT */)) {\n // Normalize slot to plain children for plain element and Teleport\n const slot = children.default;\n if (slot) {\n // _c marker is added by withCtx() indicating this is a compiled slot\n slot._c && (slot._d = false);\n normalizeChildren(vnode, slot());\n slot._c && (slot._d = true);\n }\n return;\n }\n else {\n type = 32 /* ShapeFlags.SLOTS_CHILDREN */;\n const slotFlag = children._;\n if (!slotFlag && !(InternalObjectKey in children)) {\n children._ctx = currentRenderingInstance;\n }\n else if (slotFlag === 3 /* SlotFlags.FORWARDED */ && currentRenderingInstance) {\n // a child component receives forwarded slots from the parent.\n // its slot type is determined by its parent's slot type.\n if (currentRenderingInstance.slots._ === 1 /* SlotFlags.STABLE */) {\n children._ = 1 /* SlotFlags.STABLE */;\n }\n else {\n children._ = 2 /* SlotFlags.DYNAMIC */;\n vnode.patchFlag |= 1024 /* PatchFlags.DYNAMIC_SLOTS */;\n }\n }\n }\n }\n else if (isFunction(children)) {\n children = { default: children, _ctx: currentRenderingInstance };\n type = 32 /* ShapeFlags.SLOTS_CHILDREN */;\n }\n else {\n children = String(children);\n // force teleport children to array so it can be moved around\n if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {\n type = 16 /* ShapeFlags.ARRAY_CHILDREN */;\n children = [createTextVNode(children)];\n }\n else {\n type = 8 /* ShapeFlags.TEXT_CHILDREN */;\n }\n }\n vnode.children = children;\n vnode.shapeFlag |= type;\n}\nfunction mergeProps(...args) {\n const ret = {};\n for (let i = 0; i < args.length; i++) {\n const toMerge = args[i];\n for (const key in toMerge) {\n if (key === 'class') {\n if (ret.class !== toMerge.class) {\n ret.class = normalizeClass([ret.class, toMerge.class]);\n }\n }\n else if (key === 'style') {\n ret.style = normalizeStyle([ret.style, toMerge.style]);\n }\n else if (isOn(key)) {\n const existing = ret[key];\n const incoming = toMerge[key];\n if (incoming &&\n existing !== incoming &&\n !(isArray(existing) && existing.includes(incoming))) {\n ret[key] = existing\n ? [].concat(existing, incoming)\n : incoming;\n }\n }\n else if (key !== '') {\n ret[key] = toMerge[key];\n }\n }\n }\n return ret;\n}\nfunction invokeVNodeHook(hook, instance, vnode, prevVNode = null) {\n callWithAsyncErrorHandling(hook, instance, 7 /* ErrorCodes.VNODE_HOOK */, [\n vnode,\n prevVNode\n ]);\n}\n\nconst emptyAppContext = createAppContext();\nlet uid$1 = 0;\nfunction createComponentInstance(vnode, parent, suspense) {\n const type = vnode.type;\n // inherit parent app context - or - if root, adopt from root vnode\n const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;\n const instance = {\n uid: uid$1++,\n vnode,\n type,\n parent,\n appContext,\n root: null,\n next: null,\n subTree: null,\n effect: null,\n update: null,\n scope: new EffectScope(true /* detached */),\n render: null,\n proxy: null,\n exposed: null,\n exposeProxy: null,\n withProxy: null,\n provides: parent ? parent.provides : Object.create(appContext.provides),\n accessCache: null,\n renderCache: [],\n // local resolved assets\n components: null,\n directives: null,\n // resolved props and emits options\n propsOptions: normalizePropsOptions(type, appContext),\n emitsOptions: normalizeEmitsOptions(type, appContext),\n // emit\n emit: null,\n emitted: null,\n // props default value\n propsDefaults: EMPTY_OBJ,\n // inheritAttrs\n inheritAttrs: type.inheritAttrs,\n // state\n ctx: EMPTY_OBJ,\n data: EMPTY_OBJ,\n props: EMPTY_OBJ,\n attrs: EMPTY_OBJ,\n slots: EMPTY_OBJ,\n refs: EMPTY_OBJ,\n setupState: EMPTY_OBJ,\n setupContext: null,\n // suspense related\n suspense,\n suspenseId: suspense ? suspense.pendingId : 0,\n asyncDep: null,\n asyncResolved: false,\n // lifecycle hooks\n // not using enums here because it results in computed properties\n isMounted: false,\n isUnmounted: false,\n isDeactivated: false,\n bc: null,\n c: null,\n bm: null,\n m: null,\n bu: null,\n u: null,\n um: null,\n bum: null,\n da: null,\n a: null,\n rtg: null,\n rtc: null,\n ec: null,\n sp: null\n };\n if ((process.env.NODE_ENV !== 'production')) {\n instance.ctx = createDevRenderContext(instance);\n }\n else {\n instance.ctx = { _: instance };\n }\n instance.root = parent ? parent.root : instance;\n instance.emit = emit$1.bind(null, instance);\n // apply custom element special handling\n if (vnode.ce) {\n vnode.ce(instance);\n }\n return instance;\n}\nlet currentInstance = null;\nconst getCurrentInstance = () => currentInstance || currentRenderingInstance;\nconst setCurrentInstance = (instance) => {\n currentInstance = instance;\n instance.scope.on();\n};\nconst unsetCurrentInstance = () => {\n currentInstance && currentInstance.scope.off();\n currentInstance = null;\n};\nconst isBuiltInTag = /*#__PURE__*/ makeMap('slot,component');\nfunction validateComponentName(name, config) {\n const appIsNativeTag = config.isNativeTag || NO;\n if (isBuiltInTag(name) || appIsNativeTag(name)) {\n warn('Do not use built-in or reserved HTML elements as component id: ' + name);\n }\n}\nfunction isStatefulComponent(instance) {\n return instance.vnode.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */;\n}\nlet isInSSRComponentSetup = false;\nfunction setupComponent(instance, isSSR = false) {\n isInSSRComponentSetup = isSSR;\n const { props, children } = instance.vnode;\n const isStateful = isStatefulComponent(instance);\n initProps(instance, props, isStateful, isSSR);\n initSlots(instance, children);\n const setupResult = isStateful\n ? setupStatefulComponent(instance, isSSR)\n : undefined;\n isInSSRComponentSetup = false;\n return setupResult;\n}\nfunction setupStatefulComponent(instance, isSSR) {\n var _a;\n const Component = instance.type;\n if ((process.env.NODE_ENV !== 'production')) {\n if (Component.name) {\n validateComponentName(Component.name, instance.appContext.config);\n }\n if (Component.components) {\n const names = Object.keys(Component.components);\n for (let i = 0; i < names.length; i++) {\n validateComponentName(names[i], instance.appContext.config);\n }\n }\n if (Component.directives) {\n const names = Object.keys(Component.directives);\n for (let i = 0; i < names.length; i++) {\n validateDirectiveName(names[i]);\n }\n }\n if (Component.compilerOptions && isRuntimeOnly()) {\n warn(`\"compilerOptions\" is only supported when using a build of Vue that ` +\n `includes the runtime compiler. Since you are using a runtime-only ` +\n `build, the options should be passed via your build tool config instead.`);\n }\n }\n // 0. create render proxy property access cache\n instance.accessCache = Object.create(null);\n // 1. create public instance / render proxy\n // also mark it raw so it's never observed\n instance.proxy = markRaw(new Proxy(instance.ctx, PublicInstanceProxyHandlers));\n if ((process.env.NODE_ENV !== 'production')) {\n exposePropsOnRenderContext(instance);\n }\n // 2. call setup()\n const { setup } = Component;\n if (setup) {\n const setupContext = (instance.setupContext =\n setup.length > 1 ? createSetupContext(instance) : null);\n setCurrentInstance(instance);\n pauseTracking();\n const setupResult = callWithErrorHandling(setup, instance, 0 /* ErrorCodes.SETUP_FUNCTION */, [(process.env.NODE_ENV !== 'production') ? shallowReadonly(instance.props) : instance.props, setupContext]);\n resetTracking();\n unsetCurrentInstance();\n if (isPromise(setupResult)) {\n setupResult.then(unsetCurrentInstance, unsetCurrentInstance);\n if (isSSR) {\n // return the promise so server-renderer can wait on it\n return setupResult\n .then((resolvedResult) => {\n handleSetupResult(instance, resolvedResult, isSSR);\n })\n .catch(e => {\n handleError(e, instance, 0 /* ErrorCodes.SETUP_FUNCTION */);\n });\n }\n else {\n // async setup returned Promise.\n // bail here and wait for re-entry.\n instance.asyncDep = setupResult;\n if ((process.env.NODE_ENV !== 'production') && !instance.suspense) {\n const name = (_a = Component.name) !== null && _a !== void 0 ? _a : 'Anonymous';\n warn(`Component <${name}>: setup function returned a promise, but no ` +\n `<Suspense> boundary was found in the parent component tree. ` +\n `A component with async setup() must be nested in a <Suspense> ` +\n `in order to be rendered.`);\n }\n }\n }\n else {\n handleSetupResult(instance, setupResult, isSSR);\n }\n }\n else {\n finishComponentSetup(instance, isSSR);\n }\n}\nfunction handleSetupResult(instance, setupResult, isSSR) {\n if (isFunction(setupResult)) {\n // setup returned an inline render function\n if (instance.type.__ssrInlineRender) {\n // when the function's name is `ssrRender` (compiled by SFC inline mode),\n // set it as ssrRender instead.\n instance.ssrRender = setupResult;\n }\n else {\n instance.render = setupResult;\n }\n }\n else if (isObject(setupResult)) {\n if ((process.env.NODE_ENV !== 'production') && isVNode(setupResult)) {\n warn(`setup() should not return VNodes directly - ` +\n `return a render function instead.`);\n }\n // setup returned bindings.\n // assuming a render function compiled from template is present.\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n instance.devtoolsRawSetupState = setupResult;\n }\n instance.setupState = proxyRefs(setupResult);\n if ((process.env.NODE_ENV !== 'production')) {\n exposeSetupStateOnRenderContext(instance);\n }\n }\n else if ((process.env.NODE_ENV !== 'production') && setupResult !== undefined) {\n warn(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);\n }\n finishComponentSetup(instance, isSSR);\n}\nlet compile;\nlet installWithProxy;\n/**\n * For runtime-dom to register the compiler.\n * Note the exported method uses any to avoid d.ts relying on the compiler types.\n */\nfunction registerRuntimeCompiler(_compile) {\n compile = _compile;\n installWithProxy = i => {\n if (i.render._rc) {\n i.withProxy = new Proxy(i.ctx, RuntimeCompiledPublicInstanceProxyHandlers);\n }\n };\n}\n// dev only\nconst isRuntimeOnly = () => !compile;\nfunction finishComponentSetup(instance, isSSR, skipOptions) {\n const Component = instance.type;\n // template / render function normalization\n // could be already set when returned from setup()\n if (!instance.render) {\n // only do on-the-fly compile if not in SSR - SSR on-the-fly compilation\n // is done by server-renderer\n if (!isSSR && compile && !Component.render) {\n const template = Component.template ||\n resolveMergedOptions(instance).template;\n if (template) {\n if ((process.env.NODE_ENV !== 'production')) {\n startMeasure(instance, `compile`);\n }\n const { isCustomElement, compilerOptions } = instance.appContext.config;\n const { delimiters, compilerOptions: componentCompilerOptions } = Component;\n const finalCompilerOptions = extend(extend({\n isCustomElement,\n delimiters\n }, compilerOptions), componentCompilerOptions);\n Component.render = compile(template, finalCompilerOptions);\n if ((process.env.NODE_ENV !== 'production')) {\n endMeasure(instance, `compile`);\n }\n }\n }\n instance.render = (Component.render || NOOP);\n // for runtime-compiled render functions using `with` blocks, the render\n // proxy used needs a different `has` handler which is more performant and\n // also only allows a whitelist of globals to fallthrough.\n if (installWithProxy) {\n installWithProxy(instance);\n }\n }\n // support for 2.x options\n if (__VUE_OPTIONS_API__ && !(false )) {\n setCurrentInstance(instance);\n pauseTracking();\n applyOptions(instance);\n resetTracking();\n unsetCurrentInstance();\n }\n // warn missing template/render\n // the runtime compilation of template in SSR is done by server-render\n if ((process.env.NODE_ENV !== 'production') && !Component.render && instance.render === NOOP && !isSSR) {\n /* istanbul ignore if */\n if (!compile && Component.template) {\n warn(`Component provided template option but ` +\n `runtime compilation is not supported in this build of Vue.` +\n (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\n ) /* should not happen */);\n }\n else {\n warn(`Component is missing template or render function.`);\n }\n }\n}\nfunction createAttrsProxy(instance) {\n return new Proxy(instance.attrs, (process.env.NODE_ENV !== 'production')\n ? {\n get(target, key) {\n markAttrsAccessed();\n track(instance, \"get\" /* TrackOpTypes.GET */, '$attrs');\n return target[key];\n },\n set() {\n warn(`setupContext.attrs is readonly.`);\n return false;\n },\n deleteProperty() {\n warn(`setupContext.attrs is readonly.`);\n return false;\n }\n }\n : {\n get(target, key) {\n track(instance, \"get\" /* TrackOpTypes.GET */, '$attrs');\n return target[key];\n }\n });\n}\nfunction createSetupContext(instance) {\n const expose = exposed => {\n if ((process.env.NODE_ENV !== 'production') && instance.exposed) {\n warn(`expose() should be called only once per setup().`);\n }\n instance.exposed = exposed || {};\n };\n let attrs;\n if ((process.env.NODE_ENV !== 'production')) {\n // We use getters in dev in case libs like test-utils overwrite instance\n // properties (overwrites should not be done in prod)\n return Object.freeze({\n get attrs() {\n return attrs || (attrs = createAttrsProxy(instance));\n },\n get slots() {\n return shallowReadonly(instance.slots);\n },\n get emit() {\n return (event, ...args) => instance.emit(event, ...args);\n },\n expose\n });\n }\n else {\n return {\n get attrs() {\n return attrs || (attrs = createAttrsProxy(instance));\n },\n slots: instance.slots,\n emit: instance.emit,\n expose\n };\n }\n}\nfunction getExposeProxy(instance) {\n if (instance.exposed) {\n return (instance.exposeProxy ||\n (instance.exposeProxy = new Proxy(proxyRefs(markRaw(instance.exposed)), {\n get(target, key) {\n if (key in target) {\n return target[key];\n }\n else if (key in publicPropertiesMap) {\n return publicPropertiesMap[key](instance);\n }\n }\n })));\n }\n}\nconst classifyRE = /(?:^|[-_])(\\w)/g;\nconst classify = (str) => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '');\nfunction getComponentName(Component, includeInferred = true) {\n return isFunction(Component)\n ? Component.displayName || Component.name\n : Component.name || (includeInferred && Component.__name);\n}\n/* istanbul ignore next */\nfunction formatComponentName(instance, Component, isRoot = false) {\n let name = getComponentName(Component);\n if (!name && Component.__file) {\n const match = Component.__file.match(/([^/\\\\]+)\\.\\w+$/);\n if (match) {\n name = match[1];\n }\n }\n if (!name && instance && instance.parent) {\n // try to infer the name based on reverse resolution\n const inferFromRegistry = (registry) => {\n for (const key in registry) {\n if (registry[key] === Component) {\n return key;\n }\n }\n };\n name =\n inferFromRegistry(instance.components ||\n instance.parent.type.components) || inferFromRegistry(instance.appContext.components);\n }\n return name ? classify(name) : isRoot ? `App` : `Anonymous`;\n}\nfunction isClassComponent(value) {\n return isFunction(value) && '__vccOpts' in value;\n}\n\nconst computed = ((getterOrOptions, debugOptions) => {\n // @ts-ignore\n return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);\n});\n\n// dev only\nconst warnRuntimeUsage = (method) => warn(`${method}() is a compiler-hint helper that is only usable inside ` +\n `<script setup> of a single file component. Its arguments should be ` +\n `compiled away and passing it at runtime has no effect.`);\n// implementation\nfunction defineProps() {\n if ((process.env.NODE_ENV !== 'production')) {\n warnRuntimeUsage(`defineProps`);\n }\n return null;\n}\n// implementation\nfunction defineEmits() {\n if ((process.env.NODE_ENV !== 'production')) {\n warnRuntimeUsage(`defineEmits`);\n }\n return null;\n}\n/**\n * Vue `<script setup>` compiler macro for declaring a component's exposed\n * instance properties when it is accessed by a parent component via template\n * refs.\n *\n * `<script setup>` components are closed by default - i.e. variables inside\n * the `<script setup>` scope is not exposed to parent unless explicitly exposed\n * via `defineExpose`.\n *\n * This is only usable inside `<script setup>`, is compiled away in the\n * output and should **not** be actually called at runtime.\n */\nfunction defineExpose(exposed) {\n if ((process.env.NODE_ENV !== 'production')) {\n warnRuntimeUsage(`defineExpose`);\n }\n}\n/**\n * Vue `<script setup>` compiler macro for providing props default values when\n * using type-based `defineProps` declaration.\n *\n * Example usage:\n * ```ts\n * withDefaults(defineProps<{\n * size?: number\n * labels?: string[]\n * }>(), {\n * size: 3,\n * labels: () => ['default label']\n * })\n * ```\n *\n * This is only usable inside `<script setup>`, is compiled away in the output\n * and should **not** be actually called at runtime.\n */\nfunction withDefaults(props, defaults) {\n if ((process.env.NODE_ENV !== 'production')) {\n warnRuntimeUsage(`withDefaults`);\n }\n return null;\n}\nfunction useSlots() {\n return getContext().slots;\n}\nfunction useAttrs() {\n return getContext().attrs;\n}\nfunction getContext() {\n const i = getCurrentInstance();\n if ((process.env.NODE_ENV !== 'production') && !i) {\n warn(`useContext() called without active instance.`);\n }\n return i.setupContext || (i.setupContext = createSetupContext(i));\n}\n/**\n * Runtime helper for merging default declarations. Imported by compiled code\n * only.\n * @internal\n */\nfunction mergeDefaults(raw, defaults) {\n const props = isArray(raw)\n ? raw.reduce((normalized, p) => ((normalized[p] = {}), normalized), {})\n : raw;\n for (const key in defaults) {\n const opt = props[key];\n if (opt) {\n if (isArray(opt) || isFunction(opt)) {\n props[key] = { type: opt, default: defaults[key] };\n }\n else {\n opt.default = defaults[key];\n }\n }\n else if (opt === null) {\n props[key] = { default: defaults[key] };\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`props default key \"${key}\" has no corresponding declaration.`);\n }\n }\n return props;\n}\n/**\n * Used to create a proxy for the rest element when destructuring props with\n * defineProps().\n * @internal\n */\nfunction createPropsRestProxy(props, excludedKeys) {\n const ret = {};\n for (const key in props) {\n if (!excludedKeys.includes(key)) {\n Object.defineProperty(ret, key, {\n enumerable: true,\n get: () => props[key]\n });\n }\n }\n return ret;\n}\n/**\n * `<script setup>` helper for persisting the current instance context over\n * async/await flows.\n *\n * `@vue/compiler-sfc` converts the following:\n *\n * ```ts\n * const x = await foo()\n * ```\n *\n * into:\n *\n * ```ts\n * let __temp, __restore\n * const x = (([__temp, __restore] = withAsyncContext(() => foo())),__temp=await __temp,__restore(),__temp)\n * ```\n * @internal\n */\nfunction withAsyncContext(getAwaitable) {\n const ctx = getCurrentInstance();\n if ((process.env.NODE_ENV !== 'production') && !ctx) {\n warn(`withAsyncContext called without active current instance. ` +\n `This is likely a bug.`);\n }\n let awaitable = getAwaitable();\n unsetCurrentInstance();\n if (isPromise(awaitable)) {\n awaitable = awaitable.catch(e => {\n setCurrentInstance(ctx);\n throw e;\n });\n }\n return [awaitable, () => setCurrentInstance(ctx)];\n}\n\n// Actual implementation\nfunction h(type, propsOrChildren, children) {\n const l = arguments.length;\n if (l === 2) {\n if (isObject(propsOrChildren) && !isArray(propsOrChildren)) {\n // single vnode without props\n if (isVNode(propsOrChildren)) {\n return createVNode(type, null, [propsOrChildren]);\n }\n // props without children\n return createVNode(type, propsOrChildren);\n }\n else {\n // omit props\n return createVNode(type, null, propsOrChildren);\n }\n }\n else {\n if (l > 3) {\n children = Array.prototype.slice.call(arguments, 2);\n }\n else if (l === 3 && isVNode(children)) {\n children = [children];\n }\n return createVNode(type, propsOrChildren, children);\n }\n}\n\nconst ssrContextKey = Symbol((process.env.NODE_ENV !== 'production') ? `ssrContext` : ``);\nconst useSSRContext = () => {\n {\n const ctx = inject(ssrContextKey);\n if (!ctx) {\n warn(`Server rendering context not provided. Make sure to only call ` +\n `useSSRContext() conditionally in the server build.`);\n }\n return ctx;\n }\n};\n\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */]);\n}\n\nfunction initCustomFormatter() {\n /* eslint-disable no-restricted-globals */\n if (!(process.env.NODE_ENV !== 'production') || typeof window === 'undefined') {\n return;\n }\n const vueStyle = { style: 'color:#3ba776' };\n const numberStyle = { style: 'color:#0b1bc9' };\n const stringStyle = { style: 'color:#b62e24' };\n const keywordStyle = { style: 'color:#9d288c' };\n // custom formatter for Chrome\n // https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html\n const formatter = {\n header(obj) {\n // TODO also format ComponentPublicInstance & ctx.slots/attrs in setup\n if (!isObject(obj)) {\n return null;\n }\n if (obj.__isVue) {\n return ['div', vueStyle, `VueInstance`];\n }\n else if (isRef(obj)) {\n return [\n 'div',\n {},\n ['span', vueStyle, genRefFlag(obj)],\n '<',\n formatValue(obj.value),\n `>`\n ];\n }\n else if (isReactive(obj)) {\n return [\n 'div',\n {},\n ['span', vueStyle, isShallow(obj) ? 'ShallowReactive' : 'Reactive'],\n '<',\n formatValue(obj),\n `>${isReadonly(obj) ? ` (readonly)` : ``}`\n ];\n }\n else if (isReadonly(obj)) {\n return [\n 'div',\n {},\n ['span', vueStyle, isShallow(obj) ? 'ShallowReadonly' : 'Readonly'],\n '<',\n formatValue(obj),\n '>'\n ];\n }\n return null;\n },\n hasBody(obj) {\n return obj && obj.__isVue;\n },\n body(obj) {\n if (obj && obj.__isVue) {\n return [\n 'div',\n {},\n ...formatInstance(obj.$)\n ];\n }\n }\n };\n function formatInstance(instance) {\n const blocks = [];\n if (instance.type.props && instance.props) {\n blocks.push(createInstanceBlock('props', toRaw(instance.props)));\n }\n if (instance.setupState !== EMPTY_OBJ) {\n blocks.push(createInstanceBlock('setup', instance.setupState));\n }\n if (instance.data !== EMPTY_OBJ) {\n blocks.push(createInstanceBlock('data', toRaw(instance.data)));\n }\n const computed = extractKeys(instance, 'computed');\n if (computed) {\n blocks.push(createInstanceBlock('computed', computed));\n }\n const injected = extractKeys(instance, 'inject');\n if (injected) {\n blocks.push(createInstanceBlock('injected', injected));\n }\n blocks.push([\n 'div',\n {},\n [\n 'span',\n {\n style: keywordStyle.style + ';opacity:0.66'\n },\n '$ (internal): '\n ],\n ['object', { object: instance }]\n ]);\n return blocks;\n }\n function createInstanceBlock(type, target) {\n target = extend({}, target);\n if (!Object.keys(target).length) {\n return ['span', {}];\n }\n return [\n 'div',\n { style: 'line-height:1.25em;margin-bottom:0.6em' },\n [\n 'div',\n {\n style: 'color:#476582'\n },\n type\n ],\n [\n 'div',\n {\n style: 'padding-left:1.25em'\n },\n ...Object.keys(target).map(key => {\n return [\n 'div',\n {},\n ['span', keywordStyle, key + ': '],\n formatValue(target[key], false)\n ];\n })\n ]\n ];\n }\n function formatValue(v, asRaw = true) {\n if (typeof v === 'number') {\n return ['span', numberStyle, v];\n }\n else if (typeof v === 'string') {\n return ['span', stringStyle, JSON.stringify(v)];\n }\n else if (typeof v === 'boolean') {\n return ['span', keywordStyle, v];\n }\n else if (isObject(v)) {\n return ['object', { object: asRaw ? toRaw(v) : v }];\n }\n else {\n return ['span', stringStyle, String(v)];\n }\n }\n function extractKeys(instance, type) {\n const Comp = instance.type;\n if (isFunction(Comp)) {\n return;\n }\n const extracted = {};\n for (const key in instance.ctx) {\n if (isKeyOfType(Comp, key, type)) {\n extracted[key] = instance.ctx[key];\n }\n }\n return extracted;\n }\n function isKeyOfType(Comp, key, type) {\n const opts = Comp[type];\n if ((isArray(opts) && opts.includes(key)) ||\n (isObject(opts) && key in opts)) {\n return true;\n }\n if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {\n return true;\n }\n if (Comp.mixins && Comp.mixins.some(m => isKeyOfType(m, key, type))) {\n return true;\n }\n }\n function genRefFlag(v) {\n if (isShallow(v)) {\n return `ShallowRef`;\n }\n if (v.effect) {\n return `ComputedRef`;\n }\n return `Ref`;\n }\n if (window.devtoolsFormatters) {\n window.devtoolsFormatters.push(formatter);\n }\n else {\n window.devtoolsFormatters = [formatter];\n }\n}\n\nfunction withMemo(memo, render, cache, index) {\n const cached = cache[index];\n if (cached && isMemoSame(cached, memo)) {\n return cached;\n }\n const ret = render();\n // shallow clone\n ret.memo = memo.slice();\n return (cache[index] = ret);\n}\nfunction isMemoSame(cached, memo) {\n const prev = cached.memo;\n if (prev.length != memo.length) {\n return false;\n }\n for (let i = 0; i < prev.length; i++) {\n if (hasChanged(prev[i], memo[i])) {\n return false;\n }\n }\n // make sure to let parent block track it when returning cached\n if (isBlockTreeEnabled > 0 && currentBlock) {\n currentBlock.push(cached);\n }\n return true;\n}\n\n// Core API ------------------------------------------------------------------\nconst version = \"3.2.41\";\nconst _ssrUtils = {\n createComponentInstance,\n setupComponent,\n renderComponentRoot,\n setCurrentRenderingInstance,\n isVNode,\n normalizeVNode\n};\n/**\n * SSR utils for \\@vue/server-renderer. Only exposed in ssr-possible builds.\n * @internal\n */\nconst ssrUtils = (_ssrUtils );\n/**\n * @internal only exposed in compat builds\n */\nconst resolveFilter = null;\n/**\n * @internal only exposed in compat builds.\n */\nconst compatUtils = (null);\n\nexport { BaseTransition, Comment, Fragment, KeepAlive, Static, Suspense, Teleport, Text, callWithAsyncErrorHandling, callWithErrorHandling, cloneVNode, compatUtils, computed, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, defineEmits, defineExpose, defineProps, devtools, getCurrentInstance, getTransitionRawChildren, guardReactiveProps, h, handleError, initCustomFormatter, inject, isMemoSame, isRuntimeOnly, isVNode, mergeDefaults, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, openBlock, popScopeId, provide, pushScopeId, queuePostFlushCb, registerRuntimeCompiler, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, ssrContextKey, ssrUtils, toHandlers, transformVNodeArgs, useAttrs, useSSRContext, useSlots, useTransitionState, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withMemo, withScopeId };\n","import { camelize, warn, callWithAsyncErrorHandling, defineComponent, nextTick, createVNode, getCurrentInstance, watchPostEffect, onMounted, onUnmounted, Fragment, Static, h, BaseTransition, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, createRenderer, isRuntimeOnly, createHydrationRenderer } from '@vue/runtime-core';\nexport * from '@vue/runtime-core';\nimport { isString, isArray, hyphenate, capitalize, isSpecialBooleanAttr, includeBooleanAttr, isOn, isModelListener, isFunction, toNumber, camelize as camelize$1, extend, EMPTY_OBJ, isObject, invokeArrayFns, looseIndexOf, isSet, looseEqual, isHTMLTag, isSVGTag } from '@vue/shared';\n\nconst svgNS = 'http://www.w3.org/2000/svg';\nconst doc = (typeof document !== 'undefined' ? document : null);\nconst templateContainer = doc && /*#__PURE__*/ doc.createElement('template');\nconst nodeOps = {\n insert: (child, parent, anchor) => {\n parent.insertBefore(child, anchor || null);\n },\n remove: child => {\n const parent = child.parentNode;\n if (parent) {\n parent.removeChild(child);\n }\n },\n createElement: (tag, isSVG, is, props) => {\n const el = isSVG\n ? doc.createElementNS(svgNS, tag)\n : doc.createElement(tag, is ? { is } : undefined);\n if (tag === 'select' && props && props.multiple != null) {\n el.setAttribute('multiple', props.multiple);\n }\n return el;\n },\n createText: text => doc.createTextNode(text),\n createComment: text => doc.createComment(text),\n setText: (node, text) => {\n node.nodeValue = text;\n },\n setElementText: (el, text) => {\n el.textContent = text;\n },\n parentNode: node => node.parentNode,\n nextSibling: node => node.nextSibling,\n querySelector: selector => doc.querySelector(selector),\n setScopeId(el, id) {\n el.setAttribute(id, '');\n },\n // __UNSAFE__\n // Reason: innerHTML.\n // Static content here can only come from compiled templates.\n // As long as the user only uses trusted templates, this is safe.\n insertStaticContent(content, parent, anchor, isSVG, start, end) {\n // <parent> before | first ... last | anchor </parent>\n const before = anchor ? anchor.previousSibling : parent.lastChild;\n // #5308 can only take cached path if:\n // - has a single root node\n // - nextSibling info is still available\n if (start && (start === end || start.nextSibling)) {\n // cached\n while (true) {\n parent.insertBefore(start.cloneNode(true), anchor);\n if (start === end || !(start = start.nextSibling))\n break;\n }\n }\n else {\n // fresh insert\n templateContainer.innerHTML = isSVG ? `<svg>${content}</svg>` : content;\n const template = templateContainer.content;\n if (isSVG) {\n // remove outer svg wrapper\n const wrapper = template.firstChild;\n while (wrapper.firstChild) {\n template.appendChild(wrapper.firstChild);\n }\n template.removeChild(wrapper);\n }\n parent.insertBefore(template, anchor);\n }\n return [\n // first\n before ? before.nextSibling : parent.firstChild,\n // last\n anchor ? anchor.previousSibling : parent.lastChild\n ];\n }\n};\n\n// compiler should normalize class + :class bindings on the same element\n// into a single binding ['staticClass', dynamic]\nfunction patchClass(el, value, isSVG) {\n // directly setting className should be faster than setAttribute in theory\n // if this is an element during a transition, take the temporary transition\n // classes into account.\n const transitionClasses = el._vtc;\n if (transitionClasses) {\n value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(' ');\n }\n if (value == null) {\n el.removeAttribute('class');\n }\n else if (isSVG) {\n el.setAttribute('class', value);\n }\n else {\n el.className = value;\n }\n}\n\nfunction patchStyle(el, prev, next) {\n const style = el.style;\n const isCssString = isString(next);\n if (next && !isCssString) {\n for (const key in next) {\n setStyle(style, key, next[key]);\n }\n if (prev && !isString(prev)) {\n for (const key in prev) {\n if (next[key] == null) {\n setStyle(style, key, '');\n }\n }\n }\n }\n else {\n const currentDisplay = style.display;\n if (isCssString) {\n if (prev !== next) {\n style.cssText = next;\n }\n }\n else if (prev) {\n el.removeAttribute('style');\n }\n // indicates that the `display` of the element is controlled by `v-show`,\n // so we always keep the current `display` value regardless of the `style`\n // value, thus handing over control to `v-show`.\n if ('_vod' in el) {\n style.display = currentDisplay;\n }\n }\n}\nconst importantRE = /\\s*!important$/;\nfunction setStyle(style, name, val) {\n if (isArray(val)) {\n val.forEach(v => setStyle(style, name, v));\n }\n else {\n if (val == null)\n val = '';\n if (name.startsWith('--')) {\n // custom property definition\n style.setProperty(name, val);\n }\n else {\n const prefixed = autoPrefix(style, name);\n if (importantRE.test(val)) {\n // !important\n style.setProperty(hyphenate(prefixed), val.replace(importantRE, ''), 'important');\n }\n else {\n style[prefixed] = val;\n }\n }\n }\n}\nconst prefixes = ['Webkit', 'Moz', 'ms'];\nconst prefixCache = {};\nfunction autoPrefix(style, rawName) {\n const cached = prefixCache[rawName];\n if (cached) {\n return cached;\n }\n let name = camelize(rawName);\n if (name !== 'filter' && name in style) {\n return (prefixCache[rawName] = name);\n }\n name = capitalize(name);\n for (let i = 0; i < prefixes.length; i++) {\n const prefixed = prefixes[i] + name;\n if (prefixed in style) {\n return (prefixCache[rawName] = prefixed);\n }\n }\n return rawName;\n}\n\nconst xlinkNS = 'http://www.w3.org/1999/xlink';\nfunction patchAttr(el, key, value, isSVG, instance) {\n if (isSVG && key.startsWith('xlink:')) {\n if (value == null) {\n el.removeAttributeNS(xlinkNS, key.slice(6, key.length));\n }\n else {\n el.setAttributeNS(xlinkNS, key, value);\n }\n }\n else {\n // note we are only checking boolean attributes that don't have a\n // corresponding dom prop of the same name here.\n const isBoolean = isSpecialBooleanAttr(key);\n if (value == null || (isBoolean && !includeBooleanAttr(value))) {\n el.removeAttribute(key);\n }\n else {\n el.setAttribute(key, isBoolean ? '' : value);\n }\n }\n}\n\n// __UNSAFE__\n// functions. The user is responsible for using them with only trusted content.\nfunction patchDOMProp(el, key, value, \n// the following args are passed only due to potential innerHTML/textContent\n// overriding existing VNodes, in which case the old tree must be properly\n// unmounted.\nprevChildren, parentComponent, parentSuspense, unmountChildren) {\n if (key === 'innerHTML' || key === 'textContent') {\n if (prevChildren) {\n unmountChildren(prevChildren, parentComponent, parentSuspense);\n }\n el[key] = value == null ? '' : value;\n return;\n }\n if (key === 'value' &&\n el.tagName !== 'PROGRESS' &&\n // custom elements may use _value internally\n !el.tagName.includes('-')) {\n // store value as _value as well since\n // non-string values will be stringified.\n el._value = value;\n const newValue = value == null ? '' : value;\n if (el.value !== newValue ||\n // #4956: always set for OPTION elements because its value falls back to\n // textContent if no value attribute is present. And setting .value for\n // OPTION has no side effect\n el.tagName === 'OPTION') {\n el.value = newValue;\n }\n if (value == null) {\n el.removeAttribute(key);\n }\n return;\n }\n let needRemove = false;\n if (value === '' || value == null) {\n const type = typeof el[key];\n if (type === 'boolean') {\n // e.g. <select multiple> compiles to { multiple: '' }\n value = includeBooleanAttr(value);\n }\n else if (value == null && type === 'string') {\n // e.g. <div :id=\"null\">\n value = '';\n needRemove = true;\n }\n else if (type === 'number') {\n // e.g. <img :width=\"null\">\n value = 0;\n needRemove = true;\n }\n }\n // some properties perform value validation and throw,\n // some properties has getter, no setter, will error in 'use strict'\n // eg. <select :type=\"null\"></select> <select :willValidate=\"null\"></select>\n try {\n el[key] = value;\n }\n catch (e) {\n // do not warn if value is auto-coerced from nullish values\n if ((process.env.NODE_ENV !== 'production') && !needRemove) {\n warn(`Failed setting prop \"${key}\" on <${el.tagName.toLowerCase()}>: ` +\n `value ${value} is invalid.`, e);\n }\n }\n needRemove && el.removeAttribute(key);\n}\n\nfunction addEventListener(el, event, handler, options) {\n el.addEventListener(event, handler, options);\n}\nfunction removeEventListener(el, event, handler, options) {\n el.removeEventListener(event, handler, options);\n}\nfunction patchEvent(el, rawName, prevValue, nextValue, instance = null) {\n // vei = vue event invokers\n const invokers = el._vei || (el._vei = {});\n const existingInvoker = invokers[rawName];\n if (nextValue && existingInvoker) {\n // patch\n existingInvoker.value = nextValue;\n }\n else {\n const [name, options] = parseName(rawName);\n if (nextValue) {\n // add\n const invoker = (invokers[rawName] = createInvoker(nextValue, instance));\n addEventListener(el, name, invoker, options);\n }\n else if (existingInvoker) {\n // remove\n removeEventListener(el, name, existingInvoker, options);\n invokers[rawName] = undefined;\n }\n }\n}\nconst optionsModifierRE = /(?:Once|Passive|Capture)$/;\nfunction parseName(name) {\n let options;\n if (optionsModifierRE.test(name)) {\n options = {};\n let m;\n while ((m = name.match(optionsModifierRE))) {\n name = name.slice(0, name.length - m[0].length);\n options[m[0].toLowerCase()] = true;\n }\n }\n const event = name[2] === ':' ? name.slice(3) : hyphenate(name.slice(2));\n return [event, options];\n}\n// To avoid the overhead of repeatedly calling Date.now(), we cache\n// and use the same timestamp for all event listeners attached in the same tick.\nlet cachedNow = 0;\nconst p = /*#__PURE__*/ Promise.resolve();\nconst getNow = () => cachedNow || (p.then(() => (cachedNow = 0)), (cachedNow = Date.now()));\nfunction createInvoker(initialValue, instance) {\n const invoker = (e) => {\n // async edge case vuejs/vue#6566\n // inner click event triggers patch, event handler\n // attached to outer element during patch, and triggered again. This\n // happens because browsers fire microtask ticks between event propagation.\n // this no longer happens for templates in Vue 3, but could still be\n // theoretically possible for hand-written render functions.\n // the solution: we save the timestamp when a handler is attached,\n // and also attach the timestamp to any event that was handled by vue\n // for the first time (to avoid inconsistent event timestamp implementations\n // or events fired from iframes, e.g. #2513)\n // The handler would only fire if the event passed to it was fired\n // AFTER it was attached.\n if (!e._vts) {\n e._vts = Date.now();\n }\n else if (e._vts <= invoker.attached) {\n return;\n }\n callWithAsyncErrorHandling(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* ErrorCodes.NATIVE_EVENT_HANDLER */, [e]);\n };\n invoker.value = initialValue;\n invoker.attached = getNow();\n return invoker;\n}\nfunction patchStopImmediatePropagation(e, value) {\n if (isArray(value)) {\n const originalStop = e.stopImmediatePropagation;\n e.stopImmediatePropagation = () => {\n originalStop.call(e);\n e._stopped = true;\n };\n return value.map(fn => (e) => !e._stopped && fn && fn(e));\n }\n else {\n return value;\n }\n}\n\nconst nativeOnRE = /^on[a-z]/;\nconst patchProp = (el, key, prevValue, nextValue, isSVG = false, prevChildren, parentComponent, parentSuspense, unmountChildren) => {\n if (key === 'class') {\n patchClass(el, nextValue, isSVG);\n }\n else if (key === 'style') {\n patchStyle(el, prevValue, nextValue);\n }\n else if (isOn(key)) {\n // ignore v-model listeners\n if (!isModelListener(key)) {\n patchEvent(el, key, prevValue, nextValue, parentComponent);\n }\n }\n else if (key[0] === '.'\n ? ((key = key.slice(1)), true)\n : key[0] === '^'\n ? ((key = key.slice(1)), false)\n : shouldSetAsProp(el, key, nextValue, isSVG)) {\n patchDOMProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);\n }\n else {\n // special case for <input v-model type=\"checkbox\"> with\n // :true-value & :false-value\n // store value as dom properties since non-string values will be\n // stringified.\n if (key === 'true-value') {\n el._trueValue = nextValue;\n }\n else if (key === 'false-value') {\n el._falseValue = nextValue;\n }\n patchAttr(el, key, nextValue, isSVG);\n }\n};\nfunction shouldSetAsProp(el, key, value, isSVG) {\n if (isSVG) {\n // most keys must be set as attribute on svg elements to work\n // ...except innerHTML & textContent\n if (key === 'innerHTML' || key === 'textContent') {\n return true;\n }\n // or native onclick with function values\n if (key in el && nativeOnRE.test(key) && isFunction(value)) {\n return true;\n }\n return false;\n }\n // these are enumerated attrs, however their corresponding DOM properties\n // are actually booleans - this leads to setting it with a string \"false\"\n // value leading it to be coerced to `true`, so we need to always treat\n // them as attributes.\n // Note that `contentEditable` doesn't have this problem: its DOM\n // property is also enumerated string values.\n if (key === 'spellcheck' || key === 'draggable' || key === 'translate') {\n return false;\n }\n // #1787, #2840 form property on form elements is readonly and must be set as\n // attribute.\n if (key === 'form') {\n return false;\n }\n // #1526 <input list> must be set as attribute\n if (key === 'list' && el.tagName === 'INPUT') {\n return false;\n }\n // #2766 <textarea type> must be set as attribute\n if (key === 'type' && el.tagName === 'TEXTAREA') {\n return false;\n }\n // native onclick with string value, must be set as attribute\n if (nativeOnRE.test(key) && isString(value)) {\n return false;\n }\n return key in el;\n}\n\nfunction defineCustomElement(options, hydrate) {\n const Comp = defineComponent(options);\n class VueCustomElement extends VueElement {\n constructor(initialProps) {\n super(Comp, initialProps, hydrate);\n }\n }\n VueCustomElement.def = Comp;\n return VueCustomElement;\n}\nconst defineSSRCustomElement = ((options) => {\n // @ts-ignore\n return defineCustomElement(options, hydrate);\n});\nconst BaseClass = (typeof HTMLElement !== 'undefined' ? HTMLElement : class {\n});\nclass VueElement extends BaseClass {\n constructor(_def, _props = {}, hydrate) {\n super();\n this._def = _def;\n this._props = _props;\n /**\n * @internal\n */\n this._instance = null;\n this._connected = false;\n this._resolved = false;\n this._numberProps = null;\n if (this.shadowRoot && hydrate) {\n hydrate(this._createVNode(), this.shadowRoot);\n }\n else {\n if ((process.env.NODE_ENV !== 'production') && this.shadowRoot) {\n warn(`Custom element has pre-rendered declarative shadow root but is not ` +\n `defined as hydratable. Use \\`defineSSRCustomElement\\`.`);\n }\n this.attachShadow({ mode: 'open' });\n }\n }\n connectedCallback() {\n this._connected = true;\n if (!this._instance) {\n this._resolveDef();\n }\n }\n disconnectedCallback() {\n this._connected = false;\n nextTick(() => {\n if (!this._connected) {\n render(null, this.shadowRoot);\n this._instance = null;\n }\n });\n }\n /**\n * resolve inner component definition (handle possible async component)\n */\n _resolveDef() {\n if (this._resolved) {\n return;\n }\n this._resolved = true;\n // set initial attrs\n for (let i = 0; i < this.attributes.length; i++) {\n this._setAttr(this.attributes[i].name);\n }\n // watch future attr changes\n new MutationObserver(mutations => {\n for (const m of mutations) {\n this._setAttr(m.attributeName);\n }\n }).observe(this, { attributes: true });\n const resolve = (def) => {\n const { props, styles } = def;\n const hasOptions = !isArray(props);\n const rawKeys = props ? (hasOptions ? Object.keys(props) : props) : [];\n // cast Number-type props set before resolve\n let numberProps;\n if (hasOptions) {\n for (const key in this._props) {\n const opt = props[key];\n if (opt === Number || (opt && opt.type === Number)) {\n this._props[key] = toNumber(this._props[key]);\n (numberProps || (numberProps = Object.create(null)))[key] = true;\n }\n }\n }\n this._numberProps = numberProps;\n // check if there are props set pre-upgrade or connect\n for (const key of Object.keys(this)) {\n if (key[0] !== '_') {\n this._setProp(key, this[key], true, false);\n }\n }\n // defining getter/setters on prototype\n for (const key of rawKeys.map(camelize$1)) {\n Object.defineProperty(this, key, {\n get() {\n return this._getProp(key);\n },\n set(val) {\n this._setProp(key, val);\n }\n });\n }\n // apply CSS\n this._applyStyles(styles);\n // initial render\n this._update();\n };\n const asyncDef = this._def.__asyncLoader;\n if (asyncDef) {\n asyncDef().then(resolve);\n }\n else {\n resolve(this._def);\n }\n }\n _setAttr(key) {\n let value = this.getAttribute(key);\n if (this._numberProps && this._numberProps[key]) {\n value = toNumber(value);\n }\n this._setProp(camelize$1(key), value, false);\n }\n /**\n * @internal\n */\n _getProp(key) {\n return this._props[key];\n }\n /**\n * @internal\n */\n _setProp(key, val, shouldReflect = true, shouldUpdate = true) {\n if (val !== this._props[key]) {\n this._props[key] = val;\n if (shouldUpdate && this._instance) {\n this._update();\n }\n // reflect\n if (shouldReflect) {\n if (val === true) {\n this.setAttribute(hyphenate(key), '');\n }\n else if (typeof val === 'string' || typeof val === 'number') {\n this.setAttribute(hyphenate(key), val + '');\n }\n else if (!val) {\n this.removeAttribute(hyphenate(key));\n }\n }\n }\n }\n _update() {\n render(this._createVNode(), this.shadowRoot);\n }\n _createVNode() {\n const vnode = createVNode(this._def, extend({}, this._props));\n if (!this._instance) {\n vnode.ce = instance => {\n this._instance = instance;\n instance.isCE = true;\n // HMR\n if ((process.env.NODE_ENV !== 'production')) {\n instance.ceReload = newStyles => {\n // always reset styles\n if (this._styles) {\n this._styles.forEach(s => this.shadowRoot.removeChild(s));\n this._styles.length = 0;\n }\n this._applyStyles(newStyles);\n // if this is an async component, ceReload is called from the inner\n // component so no need to reload the async wrapper\n if (!this._def.__asyncLoader) {\n // reload\n this._instance = null;\n this._update();\n }\n };\n }\n // intercept emit\n instance.emit = (event, ...args) => {\n this.dispatchEvent(new CustomEvent(event, {\n detail: args\n }));\n };\n // locate nearest Vue custom element parent for provide/inject\n let parent = this;\n while ((parent =\n parent && (parent.parentNode || parent.host))) {\n if (parent instanceof VueElement) {\n instance.parent = parent._instance;\n break;\n }\n }\n };\n }\n return vnode;\n }\n _applyStyles(styles) {\n if (styles) {\n styles.forEach(css => {\n const s = document.createElement('style');\n s.textContent = css;\n this.shadowRoot.appendChild(s);\n // record for HMR\n if ((process.env.NODE_ENV !== 'production')) {\n (this._styles || (this._styles = [])).push(s);\n }\n });\n }\n }\n}\n\nfunction useCssModule(name = '$style') {\n /* istanbul ignore else */\n {\n const instance = getCurrentInstance();\n if (!instance) {\n (process.env.NODE_ENV !== 'production') && warn(`useCssModule must be called inside setup()`);\n return EMPTY_OBJ;\n }\n const modules = instance.type.__cssModules;\n if (!modules) {\n (process.env.NODE_ENV !== 'production') && warn(`Current instance does not have CSS modules injected.`);\n return EMPTY_OBJ;\n }\n const mod = modules[name];\n if (!mod) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`Current instance does not have CSS module named \"${name}\".`);\n return EMPTY_OBJ;\n }\n return mod;\n }\n}\n\n/**\n * Runtime helper for SFC's CSS variable injection feature.\n * @private\n */\nfunction useCssVars(getter) {\n const instance = getCurrentInstance();\n /* istanbul ignore next */\n if (!instance) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`useCssVars is called without current active component instance.`);\n return;\n }\n const setVars = () => setVarsOnVNode(instance.subTree, getter(instance.proxy));\n watchPostEffect(setVars);\n onMounted(() => {\n const ob = new MutationObserver(setVars);\n ob.observe(instance.subTree.el.parentNode, { childList: true });\n onUnmounted(() => ob.disconnect());\n });\n}\nfunction setVarsOnVNode(vnode, vars) {\n if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n const suspense = vnode.suspense;\n vnode = suspense.activeBranch;\n if (suspense.pendingBranch && !suspense.isHydrating) {\n suspense.effects.push(() => {\n setVarsOnVNode(suspense.activeBranch, vars);\n });\n }\n }\n // drill down HOCs until it's a non-component vnode\n while (vnode.component) {\n vnode = vnode.component.subTree;\n }\n if (vnode.shapeFlag & 1 /* ShapeFlags.ELEMENT */ && vnode.el) {\n setVarsOnNode(vnode.el, vars);\n }\n else if (vnode.type === Fragment) {\n vnode.children.forEach(c => setVarsOnVNode(c, vars));\n }\n else if (vnode.type === Static) {\n let { el, anchor } = vnode;\n while (el) {\n setVarsOnNode(el, vars);\n if (el === anchor)\n break;\n el = el.nextSibling;\n }\n }\n}\nfunction setVarsOnNode(el, vars) {\n if (el.nodeType === 1) {\n const style = el.style;\n for (const key in vars) {\n style.setProperty(`--${key}`, vars[key]);\n }\n }\n}\n\nconst TRANSITION = 'transition';\nconst ANIMATION = 'animation';\n// DOM Transition is a higher-order-component based on the platform-agnostic\n// base Transition component, with DOM-specific logic.\nconst Transition = (props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots);\nTransition.displayName = 'Transition';\nconst DOMTransitionPropsValidators = {\n name: String,\n type: String,\n css: {\n type: Boolean,\n default: true\n },\n duration: [String, Number, Object],\n enterFromClass: String,\n enterActiveClass: String,\n enterToClass: String,\n appearFromClass: String,\n appearActiveClass: String,\n appearToClass: String,\n leaveFromClass: String,\n leaveActiveClass: String,\n leaveToClass: String\n};\nconst TransitionPropsValidators = (Transition.props =\n /*#__PURE__*/ extend({}, BaseTransition.props, DOMTransitionPropsValidators));\n/**\n * #3227 Incoming hooks may be merged into arrays when wrapping Transition\n * with custom HOCs.\n */\nconst callHook = (hook, args = []) => {\n if (isArray(hook)) {\n hook.forEach(h => h(...args));\n }\n else if (hook) {\n hook(...args);\n }\n};\n/**\n * Check if a hook expects a callback (2nd arg), which means the user\n * intends to explicitly control the end of the transition.\n */\nconst hasExplicitCallback = (hook) => {\n return hook\n ? isArray(hook)\n ? hook.some(h => h.length > 1)\n : hook.length > 1\n : false;\n};\nfunction resolveTransitionProps(rawProps) {\n const baseProps = {};\n for (const key in rawProps) {\n if (!(key in DOMTransitionPropsValidators)) {\n baseProps[key] = rawProps[key];\n }\n }\n if (rawProps.css === false) {\n return baseProps;\n }\n const { name = 'v', type, duration, enterFromClass = `${name}-enter-from`, enterActiveClass = `${name}-enter-active`, enterToClass = `${name}-enter-to`, appearFromClass = enterFromClass, appearActiveClass = enterActiveClass, appearToClass = enterToClass, leaveFromClass = `${name}-leave-from`, leaveActiveClass = `${name}-leave-active`, leaveToClass = `${name}-leave-to` } = rawProps;\n const durations = normalizeDuration(duration);\n const enterDuration = durations && durations[0];\n const leaveDuration = durations && durations[1];\n const { onBeforeEnter, onEnter, onEnterCancelled, onLeave, onLeaveCancelled, onBeforeAppear = onBeforeEnter, onAppear = onEnter, onAppearCancelled = onEnterCancelled } = baseProps;\n const finishEnter = (el, isAppear, done) => {\n removeTransitionClass(el, isAppear ? appearToClass : enterToClass);\n removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);\n done && done();\n };\n const finishLeave = (el, done) => {\n el._isLeaving = false;\n removeTransitionClass(el, leaveFromClass);\n removeTransitionClass(el, leaveToClass);\n removeTransitionClass(el, leaveActiveClass);\n done && done();\n };\n const makeEnterHook = (isAppear) => {\n return (el, done) => {\n const hook = isAppear ? onAppear : onEnter;\n const resolve = () => finishEnter(el, isAppear, done);\n callHook(hook, [el, resolve]);\n nextFrame(() => {\n removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);\n addTransitionClass(el, isAppear ? appearToClass : enterToClass);\n if (!hasExplicitCallback(hook)) {\n whenTransitionEnds(el, type, enterDuration, resolve);\n }\n });\n };\n };\n return extend(baseProps, {\n onBeforeEnter(el) {\n callHook(onBeforeEnter, [el]);\n addTransitionClass(el, enterFromClass);\n addTransitionClass(el, enterActiveClass);\n },\n onBeforeAppear(el) {\n callHook(onBeforeAppear, [el]);\n addTransitionClass(el, appearFromClass);\n addTransitionClass(el, appearActiveClass);\n },\n onEnter: makeEnterHook(false),\n onAppear: makeEnterHook(true),\n onLeave(el, done) {\n el._isLeaving = true;\n const resolve = () => finishLeave(el, done);\n addTransitionClass(el, leaveFromClass);\n // force reflow so *-leave-from classes immediately take effect (#2593)\n forceReflow();\n addTransitionClass(el, leaveActiveClass);\n nextFrame(() => {\n if (!el._isLeaving) {\n // cancelled\n return;\n }\n removeTransitionClass(el, leaveFromClass);\n addTransitionClass(el, leaveToClass);\n if (!hasExplicitCallback(onLeave)) {\n whenTransitionEnds(el, type, leaveDuration, resolve);\n }\n });\n callHook(onLeave, [el, resolve]);\n },\n onEnterCancelled(el) {\n finishEnter(el, false);\n callHook(onEnterCancelled, [el]);\n },\n onAppearCancelled(el) {\n finishEnter(el, true);\n callHook(onAppearCancelled, [el]);\n },\n onLeaveCancelled(el) {\n finishLeave(el);\n callHook(onLeaveCancelled, [el]);\n }\n });\n}\nfunction normalizeDuration(duration) {\n if (duration == null) {\n return null;\n }\n else if (isObject(duration)) {\n return [NumberOf(duration.enter), NumberOf(duration.leave)];\n }\n else {\n const n = NumberOf(duration);\n return [n, n];\n }\n}\nfunction NumberOf(val) {\n const res = toNumber(val);\n if ((process.env.NODE_ENV !== 'production'))\n validateDuration(res);\n return res;\n}\nfunction validateDuration(val) {\n if (typeof val !== 'number') {\n warn(`<transition> explicit duration is not a valid number - ` +\n `got ${JSON.stringify(val)}.`);\n }\n else if (isNaN(val)) {\n warn(`<transition> explicit duration is NaN - ` +\n 'the duration expression might be incorrect.');\n }\n}\nfunction addTransitionClass(el, cls) {\n cls.split(/\\s+/).forEach(c => c && el.classList.add(c));\n (el._vtc ||\n (el._vtc = new Set())).add(cls);\n}\nfunction removeTransitionClass(el, cls) {\n cls.split(/\\s+/).forEach(c => c && el.classList.remove(c));\n const { _vtc } = el;\n if (_vtc) {\n _vtc.delete(cls);\n if (!_vtc.size) {\n el._vtc = undefined;\n }\n }\n}\nfunction nextFrame(cb) {\n requestAnimationFrame(() => {\n requestAnimationFrame(cb);\n });\n}\nlet endId = 0;\nfunction whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {\n const id = (el._endId = ++endId);\n const resolveIfNotStale = () => {\n if (id === el._endId) {\n resolve();\n }\n };\n if (explicitTimeout) {\n return setTimeout(resolveIfNotStale, explicitTimeout);\n }\n const { type, timeout, propCount } = getTransitionInfo(el, expectedType);\n if (!type) {\n return resolve();\n }\n const endEvent = type + 'end';\n let ended = 0;\n const end = () => {\n el.removeEventListener(endEvent, onEnd);\n resolveIfNotStale();\n };\n const onEnd = (e) => {\n if (e.target === el && ++ended >= propCount) {\n end();\n }\n };\n setTimeout(() => {\n if (ended < propCount) {\n end();\n }\n }, timeout + 1);\n el.addEventListener(endEvent, onEnd);\n}\nfunction getTransitionInfo(el, expectedType) {\n const styles = window.getComputedStyle(el);\n // JSDOM may return undefined for transition properties\n const getStyleProperties = (key) => (styles[key] || '').split(', ');\n const transitionDelays = getStyleProperties(TRANSITION + 'Delay');\n const transitionDurations = getStyleProperties(TRANSITION + 'Duration');\n const transitionTimeout = getTimeout(transitionDelays, transitionDurations);\n const animationDelays = getStyleProperties(ANIMATION + 'Delay');\n const animationDurations = getStyleProperties(ANIMATION + 'Duration');\n const animationTimeout = getTimeout(animationDelays, animationDurations);\n let type = null;\n let timeout = 0;\n let propCount = 0;\n /* istanbul ignore if */\n if (expectedType === TRANSITION) {\n if (transitionTimeout > 0) {\n type = TRANSITION;\n timeout = transitionTimeout;\n propCount = transitionDurations.length;\n }\n }\n else if (expectedType === ANIMATION) {\n if (animationTimeout > 0) {\n type = ANIMATION;\n timeout = animationTimeout;\n propCount = animationDurations.length;\n }\n }\n else {\n timeout = Math.max(transitionTimeout, animationTimeout);\n type =\n timeout > 0\n ? transitionTimeout > animationTimeout\n ? TRANSITION\n : ANIMATION\n : null;\n propCount = type\n ? type === TRANSITION\n ? transitionDurations.length\n : animationDurations.length\n : 0;\n }\n const hasTransform = type === TRANSITION &&\n /\\b(transform|all)(,|$)/.test(styles[TRANSITION + 'Property']);\n return {\n type,\n timeout,\n propCount,\n hasTransform\n };\n}\nfunction getTimeout(delays, durations) {\n while (delays.length < durations.length) {\n delays = delays.concat(delays);\n }\n return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));\n}\n// Old versions of Chromium (below 61.0.3163.100) formats floating pointer\n// numbers in a locale-dependent way, using a comma instead of a dot.\n// If comma is not replaced with a dot, the input will be rounded down\n// (i.e. acting as a floor function) causing unexpected behaviors\nfunction toMs(s) {\n return Number(s.slice(0, -1).replace(',', '.')) * 1000;\n}\n// synchronously force layout to put elements into a certain state\nfunction forceReflow() {\n return document.body.offsetHeight;\n}\n\nconst positionMap = new WeakMap();\nconst newPositionMap = new WeakMap();\nconst TransitionGroupImpl = {\n name: 'TransitionGroup',\n props: /*#__PURE__*/ extend({}, TransitionPropsValidators, {\n tag: String,\n moveClass: String\n }),\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevChildren;\n let children;\n onUpdated(() => {\n // children is guaranteed to exist after initial render\n if (!prevChildren.length) {\n return;\n }\n const moveClass = props.moveClass || `${props.name || 'v'}-move`;\n if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {\n return;\n }\n // we divide the work into three loops to avoid mixing DOM reads and writes\n // in each iteration - which helps prevent layout thrashing.\n prevChildren.forEach(callPendingCbs);\n prevChildren.forEach(recordPosition);\n const movedChildren = prevChildren.filter(applyTranslation);\n // force reflow to put everything in position\n forceReflow();\n movedChildren.forEach(c => {\n const el = c.el;\n const style = el.style;\n addTransitionClass(el, moveClass);\n style.transform = style.webkitTransform = style.transitionDuration = '';\n const cb = (el._moveCb = (e) => {\n if (e && e.target !== el) {\n return;\n }\n if (!e || /transform$/.test(e.propertyName)) {\n el.removeEventListener('transitionend', cb);\n el._moveCb = null;\n removeTransitionClass(el, moveClass);\n }\n });\n el.addEventListener('transitionend', cb);\n });\n });\n return () => {\n const rawProps = toRaw(props);\n const cssTransitionProps = resolveTransitionProps(rawProps);\n let tag = rawProps.tag || Fragment;\n prevChildren = children;\n children = slots.default ? getTransitionRawChildren(slots.default()) : [];\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (child.key != null) {\n setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`<TransitionGroup> children must be keyed.`);\n }\n }\n if (prevChildren) {\n for (let i = 0; i < prevChildren.length; i++) {\n const child = prevChildren[i];\n setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));\n positionMap.set(child, child.el.getBoundingClientRect());\n }\n }\n return createVNode(tag, null, children);\n };\n }\n};\nconst TransitionGroup = TransitionGroupImpl;\nfunction callPendingCbs(c) {\n const el = c.el;\n if (el._moveCb) {\n el._moveCb();\n }\n if (el._enterCb) {\n el._enterCb();\n }\n}\nfunction recordPosition(c) {\n newPositionMap.set(c, c.el.getBoundingClientRect());\n}\nfunction applyTranslation(c) {\n const oldPos = positionMap.get(c);\n const newPos = newPositionMap.get(c);\n const dx = oldPos.left - newPos.left;\n const dy = oldPos.top - newPos.top;\n if (dx || dy) {\n const s = c.el.style;\n s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;\n s.transitionDuration = '0s';\n return c;\n }\n}\nfunction hasCSSTransform(el, root, moveClass) {\n // Detect whether an element with the move class applied has\n // CSS transitions. Since the element may be inside an entering\n // transition at this very moment, we make a clone of it and remove\n // all other transition classes applied to ensure only the move class\n // is applied.\n const clone = el.cloneNode();\n if (el._vtc) {\n el._vtc.forEach(cls => {\n cls.split(/\\s+/).forEach(c => c && clone.classList.remove(c));\n });\n }\n moveClass.split(/\\s+/).forEach(c => c && clone.classList.add(c));\n clone.style.display = 'none';\n const container = (root.nodeType === 1 ? root : root.parentNode);\n container.appendChild(clone);\n const { hasTransform } = getTransitionInfo(clone);\n container.removeChild(clone);\n return hasTransform;\n}\n\nconst getModelAssigner = (vnode) => {\n const fn = vnode.props['onUpdate:modelValue'] ||\n (false );\n return isArray(fn) ? value => invokeArrayFns(fn, value) : fn;\n};\nfunction onCompositionStart(e) {\n e.target.composing = true;\n}\nfunction onCompositionEnd(e) {\n const target = e.target;\n if (target.composing) {\n target.composing = false;\n target.dispatchEvent(new Event('input'));\n }\n}\n// We are exporting the v-model runtime directly as vnode hooks so that it can\n// be tree-shaken in case v-model is never used.\nconst vModelText = {\n created(el, { modifiers: { lazy, trim, number } }, vnode) {\n el._assign = getModelAssigner(vnode);\n const castToNumber = number || (vnode.props && vnode.props.type === 'number');\n addEventListener(el, lazy ? 'change' : 'input', e => {\n if (e.target.composing)\n return;\n let domValue = el.value;\n if (trim) {\n domValue = domValue.trim();\n }\n if (castToNumber) {\n domValue = toNumber(domValue);\n }\n el._assign(domValue);\n });\n if (trim) {\n addEventListener(el, 'change', () => {\n el.value = el.value.trim();\n });\n }\n if (!lazy) {\n addEventListener(el, 'compositionstart', onCompositionStart);\n addEventListener(el, 'compositionend', onCompositionEnd);\n // Safari < 10.2 & UIWebView doesn't fire compositionend when\n // switching focus before confirming composition choice\n // this also fixes the issue where some browsers e.g. iOS Chrome\n // fires \"change\" instead of \"input\" on autocomplete.\n addEventListener(el, 'change', onCompositionEnd);\n }\n },\n // set value on mounted so it's after min/max for type=\"range\"\n mounted(el, { value }) {\n el.value = value == null ? '' : value;\n },\n beforeUpdate(el, { value, modifiers: { lazy, trim, number } }, vnode) {\n el._assign = getModelAssigner(vnode);\n // avoid clearing unresolved text. #2302\n if (el.composing)\n return;\n if (document.activeElement === el && el.type !== 'range') {\n if (lazy) {\n return;\n }\n if (trim && el.value.trim() === value) {\n return;\n }\n if ((number || el.type === 'number') && toNumber(el.value) === value) {\n return;\n }\n }\n const newValue = value == null ? '' : value;\n if (el.value !== newValue) {\n el.value = newValue;\n }\n }\n};\nconst vModelCheckbox = {\n // #4096 array checkboxes need to be deep traversed\n deep: true,\n created(el, _, vnode) {\n el._assign = getModelAssigner(vnode);\n addEventListener(el, 'change', () => {\n const modelValue = el._modelValue;\n const elementValue = getValue(el);\n const checked = el.checked;\n const assign = el._assign;\n if (isArray(modelValue)) {\n const index = looseIndexOf(modelValue, elementValue);\n const found = index !== -1;\n if (checked && !found) {\n assign(modelValue.concat(elementValue));\n }\n else if (!checked && found) {\n const filtered = [...modelValue];\n filtered.splice(index, 1);\n assign(filtered);\n }\n }\n else if (isSet(modelValue)) {\n const cloned = new Set(modelValue);\n if (checked) {\n cloned.add(elementValue);\n }\n else {\n cloned.delete(elementValue);\n }\n assign(cloned);\n }\n else {\n assign(getCheckboxValue(el, checked));\n }\n });\n },\n // set initial checked on mount to wait for true-value/false-value\n mounted: setChecked,\n beforeUpdate(el, binding, vnode) {\n el._assign = getModelAssigner(vnode);\n setChecked(el, binding, vnode);\n }\n};\nfunction setChecked(el, { value, oldValue }, vnode) {\n el._modelValue = value;\n if (isArray(value)) {\n el.checked = looseIndexOf(value, vnode.props.value) > -1;\n }\n else if (isSet(value)) {\n el.checked = value.has(vnode.props.value);\n }\n else if (value !== oldValue) {\n el.checked = looseEqual(value, getCheckboxValue(el, true));\n }\n}\nconst vModelRadio = {\n created(el, { value }, vnode) {\n el.checked = looseEqual(value, vnode.props.value);\n el._assign = getModelAssigner(vnode);\n addEventListener(el, 'change', () => {\n el._assign(getValue(el));\n });\n },\n beforeUpdate(el, { value, oldValue }, vnode) {\n el._assign = getModelAssigner(vnode);\n if (value !== oldValue) {\n el.checked = looseEqual(value, vnode.props.value);\n }\n }\n};\nconst vModelSelect = {\n // <select multiple> value need to be deep traversed\n deep: true,\n created(el, { value, modifiers: { number } }, vnode) {\n const isSetModel = isSet(value);\n addEventListener(el, 'change', () => {\n const selectedVal = Array.prototype.filter\n .call(el.options, (o) => o.selected)\n .map((o) => number ? toNumber(getValue(o)) : getValue(o));\n el._assign(el.multiple\n ? isSetModel\n ? new Set(selectedVal)\n : selectedVal\n : selectedVal[0]);\n });\n el._assign = getModelAssigner(vnode);\n },\n // set value in mounted & updated because <select> relies on its children\n // <option>s.\n mounted(el, { value }) {\n setSelected(el, value);\n },\n beforeUpdate(el, _binding, vnode) {\n el._assign = getModelAssigner(vnode);\n },\n updated(el, { value }) {\n setSelected(el, value);\n }\n};\nfunction setSelected(el, value) {\n const isMultiple = el.multiple;\n if (isMultiple && !isArray(value) && !isSet(value)) {\n (process.env.NODE_ENV !== 'production') &&\n warn(`<select multiple v-model> expects an Array or Set value for its binding, ` +\n `but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);\n return;\n }\n for (let i = 0, l = el.options.length; i < l; i++) {\n const option = el.options[i];\n const optionValue = getValue(option);\n if (isMultiple) {\n if (isArray(value)) {\n option.selected = looseIndexOf(value, optionValue) > -1;\n }\n else {\n option.selected = value.has(optionValue);\n }\n }\n else {\n if (looseEqual(getValue(option), value)) {\n if (el.selectedIndex !== i)\n el.selectedIndex = i;\n return;\n }\n }\n }\n if (!isMultiple && el.selectedIndex !== -1) {\n el.selectedIndex = -1;\n }\n}\n// retrieve raw value set via :value bindings\nfunction getValue(el) {\n return '_value' in el ? el._value : el.value;\n}\n// retrieve raw value for true-value and false-value set via :true-value or :false-value bindings\nfunction getCheckboxValue(el, checked) {\n const key = checked ? '_trueValue' : '_falseValue';\n return key in el ? el[key] : checked;\n}\nconst vModelDynamic = {\n created(el, binding, vnode) {\n callModelHook(el, binding, vnode, null, 'created');\n },\n mounted(el, binding, vnode) {\n callModelHook(el, binding, vnode, null, 'mounted');\n },\n beforeUpdate(el, binding, vnode, prevVNode) {\n callModelHook(el, binding, vnode, prevVNode, 'beforeUpdate');\n },\n updated(el, binding, vnode, prevVNode) {\n callModelHook(el, binding, vnode, prevVNode, 'updated');\n }\n};\nfunction resolveDynamicModel(tagName, type) {\n switch (tagName) {\n case 'SELECT':\n return vModelSelect;\n case 'TEXTAREA':\n return vModelText;\n default:\n switch (type) {\n case 'checkbox':\n return vModelCheckbox;\n case 'radio':\n return vModelRadio;\n default:\n return vModelText;\n }\n }\n}\nfunction callModelHook(el, binding, vnode, prevVNode, hook) {\n const modelToUse = resolveDynamicModel(el.tagName, vnode.props && vnode.props.type);\n const fn = modelToUse[hook];\n fn && fn(el, binding, vnode, prevVNode);\n}\n// SSR vnode transforms, only used when user includes client-oriented render\n// function in SSR\nfunction initVModelForSSR() {\n vModelText.getSSRProps = ({ value }) => ({ value });\n vModelRadio.getSSRProps = ({ value }, vnode) => {\n if (vnode.props && looseEqual(vnode.props.value, value)) {\n return { checked: true };\n }\n };\n vModelCheckbox.getSSRProps = ({ value }, vnode) => {\n if (isArray(value)) {\n if (vnode.props && looseIndexOf(value, vnode.props.value) > -1) {\n return { checked: true };\n }\n }\n else if (isSet(value)) {\n if (vnode.props && value.has(vnode.props.value)) {\n return { checked: true };\n }\n }\n else if (value) {\n return { checked: true };\n }\n };\n vModelDynamic.getSSRProps = (binding, vnode) => {\n if (typeof vnode.type !== 'string') {\n return;\n }\n const modelToUse = resolveDynamicModel(\n // resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase\n vnode.type.toUpperCase(), vnode.props && vnode.props.type);\n if (modelToUse.getSSRProps) {\n return modelToUse.getSSRProps(binding, vnode);\n }\n };\n}\n\nconst systemModifiers = ['ctrl', 'shift', 'alt', 'meta'];\nconst modifierGuards = {\n stop: e => e.stopPropagation(),\n prevent: e => e.preventDefault(),\n self: e => e.target !== e.currentTarget,\n ctrl: e => !e.ctrlKey,\n shift: e => !e.shiftKey,\n alt: e => !e.altKey,\n meta: e => !e.metaKey,\n left: e => 'button' in e && e.button !== 0,\n middle: e => 'button' in e && e.button !== 1,\n right: e => 'button' in e && e.button !== 2,\n exact: (e, modifiers) => systemModifiers.some(m => e[`${m}Key`] && !modifiers.includes(m))\n};\n/**\n * @private\n */\nconst withModifiers = (fn, modifiers) => {\n return (event, ...args) => {\n for (let i = 0; i < modifiers.length; i++) {\n const guard = modifierGuards[modifiers[i]];\n if (guard && guard(event, modifiers))\n return;\n }\n return fn(event, ...args);\n };\n};\n// Kept for 2.x compat.\n// Note: IE11 compat for `spacebar` and `del` is removed for now.\nconst keyNames = {\n esc: 'escape',\n space: ' ',\n up: 'arrow-up',\n left: 'arrow-left',\n right: 'arrow-right',\n down: 'arrow-down',\n delete: 'backspace'\n};\n/**\n * @private\n */\nconst withKeys = (fn, modifiers) => {\n return (event) => {\n if (!('key' in event)) {\n return;\n }\n const eventKey = hyphenate(event.key);\n if (modifiers.some(k => k === eventKey || keyNames[k] === eventKey)) {\n return fn(event);\n }\n };\n};\n\nconst vShow = {\n beforeMount(el, { value }, { transition }) {\n el._vod = el.style.display === 'none' ? '' : el.style.display;\n if (transition && value) {\n transition.beforeEnter(el);\n }\n else {\n setDisplay(el, value);\n }\n },\n mounted(el, { value }, { transition }) {\n if (transition && value) {\n transition.enter(el);\n }\n },\n updated(el, { value, oldValue }, { transition }) {\n if (!value === !oldValue)\n return;\n if (transition) {\n if (value) {\n transition.beforeEnter(el);\n setDisplay(el, true);\n transition.enter(el);\n }\n else {\n transition.leave(el, () => {\n setDisplay(el, false);\n });\n }\n }\n else {\n setDisplay(el, value);\n }\n },\n beforeUnmount(el, { value }) {\n setDisplay(el, value);\n }\n};\nfunction setDisplay(el, value) {\n el.style.display = value ? el._vod : 'none';\n}\n// SSR vnode transforms, only used when user includes client-oriented render\n// function in SSR\nfunction initVShowForSSR() {\n vShow.getSSRProps = ({ value }) => {\n if (!value) {\n return { style: { display: 'none' } };\n }\n };\n}\n\nconst rendererOptions = /*#__PURE__*/ extend({ patchProp }, nodeOps);\n// lazy create the renderer - this makes core renderer logic tree-shakable\n// in case the user only imports reactivity utilities from Vue.\nlet renderer;\nlet enabledHydration = false;\nfunction ensureRenderer() {\n return (renderer ||\n (renderer = createRenderer(rendererOptions)));\n}\nfunction ensureHydrationRenderer() {\n renderer = enabledHydration\n ? renderer\n : createHydrationRenderer(rendererOptions);\n enabledHydration = true;\n return renderer;\n}\n// use explicit type casts here to avoid import() calls in rolled-up d.ts\nconst render = ((...args) => {\n ensureRenderer().render(...args);\n});\nconst hydrate = ((...args) => {\n ensureHydrationRenderer().hydrate(...args);\n});\nconst createApp = ((...args) => {\n const app = ensureRenderer().createApp(...args);\n if ((process.env.NODE_ENV !== 'production')) {\n injectNativeTagCheck(app);\n injectCompilerOptionsCheck(app);\n }\n const { mount } = app;\n app.mount = (containerOrSelector) => {\n const container = normalizeContainer(containerOrSelector);\n if (!container)\n return;\n const component = app._component;\n if (!isFunction(component) && !component.render && !component.template) {\n // __UNSAFE__\n // Reason: potential execution of JS expressions in in-DOM template.\n // The user must make sure the in-DOM template is trusted. If it's\n // rendered by the server, the template should not contain any user data.\n component.template = container.innerHTML;\n }\n // clear content before mounting\n container.innerHTML = '';\n const proxy = mount(container, false, container instanceof SVGElement);\n if (container instanceof Element) {\n container.removeAttribute('v-cloak');\n container.setAttribute('data-v-app', '');\n }\n return proxy;\n };\n return app;\n});\nconst createSSRApp = ((...args) => {\n const app = ensureHydrationRenderer().createApp(...args);\n if ((process.env.NODE_ENV !== 'production')) {\n injectNativeTagCheck(app);\n injectCompilerOptionsCheck(app);\n }\n const { mount } = app;\n app.mount = (containerOrSelector) => {\n const container = normalizeContainer(containerOrSelector);\n if (container) {\n return mount(container, true, container instanceof SVGElement);\n }\n };\n return app;\n});\nfunction injectNativeTagCheck(app) {\n // Inject `isNativeTag`\n // this is used for component name validation (dev only)\n Object.defineProperty(app.config, 'isNativeTag', {\n value: (tag) => isHTMLTag(tag) || isSVGTag(tag),\n writable: false\n });\n}\n// dev only\nfunction injectCompilerOptionsCheck(app) {\n if (isRuntimeOnly()) {\n const isCustomElement = app.config.isCustomElement;\n Object.defineProperty(app.config, 'isCustomElement', {\n get() {\n return isCustomElement;\n },\n set() {\n warn(`The \\`isCustomElement\\` config option is deprecated. Use ` +\n `\\`compilerOptions.isCustomElement\\` instead.`);\n }\n });\n const compilerOptions = app.config.compilerOptions;\n const msg = `The \\`compilerOptions\\` config option is only respected when using ` +\n `a build of Vue.js that includes the runtime compiler (aka \"full build\"). ` +\n `Since you are using the runtime-only build, \\`compilerOptions\\` ` +\n `must be passed to \\`@vue/compiler-dom\\` in the build setup instead.\\n` +\n `- For vue-loader: pass it via vue-loader's \\`compilerOptions\\` loader option.\\n` +\n `- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\\n` +\n `- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`;\n Object.defineProperty(app.config, 'compilerOptions', {\n get() {\n warn(msg);\n return compilerOptions;\n },\n set() {\n warn(msg);\n }\n });\n }\n}\nfunction normalizeContainer(container) {\n if (isString(container)) {\n const res = document.querySelector(container);\n if ((process.env.NODE_ENV !== 'production') && !res) {\n warn(`Failed to mount app: mount target selector \"${container}\" returned null.`);\n }\n return res;\n }\n if ((process.env.NODE_ENV !== 'production') &&\n window.ShadowRoot &&\n container instanceof window.ShadowRoot &&\n container.mode === 'closed') {\n warn(`mounting on a ShadowRoot with \\`{mode: \"closed\"}\\` may lead to unpredictable bugs`);\n }\n return container;\n}\nlet ssrDirectiveInitialized = false;\n/**\n * @internal\n */\nconst initDirectivesForSSR = () => {\n if (!ssrDirectiveInitialized) {\n ssrDirectiveInitialized = true;\n initVModelForSSR();\n initVShowForSSR();\n }\n }\n ;\n\nexport { Transition, TransitionGroup, VueElement, createApp, createSSRApp, defineCustomElement, defineSSRCustomElement, hydrate, initDirectivesForSSR, render, useCssModule, useCssVars, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, withKeys, withModifiers };\n","/*!\n * vue-router v4.1.6\n * (c) 2022 Eduardo San Martin Morote\n * @license MIT\n */\nimport { getCurrentInstance, inject, onUnmounted, onDeactivated, onActivated, computed, unref, watchEffect, defineComponent, reactive, h, provide, ref, watch, shallowRef, nextTick } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\nconst isBrowser = typeof window !== 'undefined';\n\nfunction isESModule(obj) {\r\n return obj.__esModule || obj[Symbol.toStringTag] === 'Module';\r\n}\r\nconst assign = Object.assign;\r\nfunction applyToParams(fn, params) {\r\n const newParams = {};\r\n for (const key in params) {\r\n const value = params[key];\r\n newParams[key] = isArray(value)\r\n ? value.map(fn)\r\n : fn(value);\r\n }\r\n return newParams;\r\n}\r\nconst noop = () => { };\r\n/**\r\n * Typesafe alternative to Array.isArray\r\n * https://github.com/microsoft/TypeScript/pull/48228\r\n */\r\nconst isArray = Array.isArray;\n\nfunction warn(msg) {\r\n // avoid using ...args as it breaks in older Edge builds\r\n const args = Array.from(arguments).slice(1);\r\n console.warn.apply(console, ['[Vue Router warn]: ' + msg].concat(args));\r\n}\n\nconst TRAILING_SLASH_RE = /\\/$/;\r\nconst removeTrailingSlash = (path) => path.replace(TRAILING_SLASH_RE, '');\r\n/**\r\n * Transforms a URI into a normalized history location\r\n *\r\n * @param parseQuery\r\n * @param location - URI to normalize\r\n * @param currentLocation - current absolute location. Allows resolving relative\r\n * paths. Must start with `/`. Defaults to `/`\r\n * @returns a normalized history location\r\n */\r\nfunction parseURL(parseQuery, location, currentLocation = '/') {\r\n let path, query = {}, searchString = '', hash = '';\r\n // Could use URL and URLSearchParams but IE 11 doesn't support it\r\n // TODO: move to new URL()\r\n const hashPos = location.indexOf('#');\r\n let searchPos = location.indexOf('?');\r\n // the hash appears before the search, so it's not part of the search string\r\n if (hashPos < searchPos && hashPos >= 0) {\r\n searchPos = -1;\r\n }\r\n if (searchPos > -1) {\r\n path = location.slice(0, searchPos);\r\n searchString = location.slice(searchPos + 1, hashPos > -1 ? hashPos : location.length);\r\n query = parseQuery(searchString);\r\n }\r\n if (hashPos > -1) {\r\n path = path || location.slice(0, hashPos);\r\n // keep the # character\r\n hash = location.slice(hashPos, location.length);\r\n }\r\n // no search and no query\r\n path = resolveRelativePath(path != null ? path : location, currentLocation);\r\n // empty path means a relative query or hash `?foo=f`, `#thing`\r\n return {\r\n fullPath: path + (searchString && '?') + searchString + hash,\r\n path,\r\n query,\r\n hash,\r\n };\r\n}\r\n/**\r\n * Stringifies a URL object\r\n *\r\n * @param stringifyQuery\r\n * @param location\r\n */\r\nfunction stringifyURL(stringifyQuery, location) {\r\n const query = location.query ? stringifyQuery(location.query) : '';\r\n return location.path + (query && '?') + query + (location.hash || '');\r\n}\r\n/**\r\n * Strips off the base from the beginning of a location.pathname in a non-case-sensitive way.\r\n *\r\n * @param pathname - location.pathname\r\n * @param base - base to strip off\r\n */\r\nfunction stripBase(pathname, base) {\r\n // no base or base is not found at the beginning\r\n if (!base || !pathname.toLowerCase().startsWith(base.toLowerCase()))\r\n return pathname;\r\n return pathname.slice(base.length) || '/';\r\n}\r\n/**\r\n * Checks if two RouteLocation are equal. This means that both locations are\r\n * pointing towards the same {@link RouteRecord} and that all `params`, `query`\r\n * parameters and `hash` are the same\r\n *\r\n * @param a - first {@link RouteLocation}\r\n * @param b - second {@link RouteLocation}\r\n */\r\nfunction isSameRouteLocation(stringifyQuery, a, b) {\r\n const aLastIndex = a.matched.length - 1;\r\n const bLastIndex = b.matched.length - 1;\r\n return (aLastIndex > -1 &&\r\n aLastIndex === bLastIndex &&\r\n isSameRouteRecord(a.matched[aLastIndex], b.matched[bLastIndex]) &&\r\n isSameRouteLocationParams(a.params, b.params) &&\r\n stringifyQuery(a.query) === stringifyQuery(b.query) &&\r\n a.hash === b.hash);\r\n}\r\n/**\r\n * Check if two `RouteRecords` are equal. Takes into account aliases: they are\r\n * considered equal to the `RouteRecord` they are aliasing.\r\n *\r\n * @param a - first {@link RouteRecord}\r\n * @param b - second {@link RouteRecord}\r\n */\r\nfunction isSameRouteRecord(a, b) {\r\n // since the original record has an undefined value for aliasOf\r\n // but all aliases point to the original record, this will always compare\r\n // the original record\r\n return (a.aliasOf || a) === (b.aliasOf || b);\r\n}\r\nfunction isSameRouteLocationParams(a, b) {\r\n if (Object.keys(a).length !== Object.keys(b).length)\r\n return false;\r\n for (const key in a) {\r\n if (!isSameRouteLocationParamsValue(a[key], b[key]))\r\n return false;\r\n }\r\n return true;\r\n}\r\nfunction isSameRouteLocationParamsValue(a, b) {\r\n return isArray(a)\r\n ? isEquivalentArray(a, b)\r\n : isArray(b)\r\n ? isEquivalentArray(b, a)\r\n : a === b;\r\n}\r\n/**\r\n * Check if two arrays are the same or if an array with one single entry is the\r\n * same as another primitive value. Used to check query and parameters\r\n *\r\n * @param a - array of values\r\n * @param b - array of values or a single value\r\n */\r\nfunction isEquivalentArray(a, b) {\r\n return isArray(b)\r\n ? a.length === b.length && a.every((value, i) => value === b[i])\r\n : a.length === 1 && a[0] === b;\r\n}\r\n/**\r\n * Resolves a relative path that starts with `.`.\r\n *\r\n * @param to - path location we are resolving\r\n * @param from - currentLocation.path, should start with `/`\r\n */\r\nfunction resolveRelativePath(to, from) {\r\n if (to.startsWith('/'))\r\n return to;\r\n if ((process.env.NODE_ENV !== 'production') && !from.startsWith('/')) {\r\n warn(`Cannot resolve a relative location without an absolute path. Trying to resolve \"${to}\" from \"${from}\". It should look like \"/${from}\".`);\r\n return to;\r\n }\r\n if (!to)\r\n return from;\r\n const fromSegments = from.split('/');\r\n const toSegments = to.split('/');\r\n let position = fromSegments.length - 1;\r\n let toPosition;\r\n let segment;\r\n for (toPosition = 0; toPosition < toSegments.length; toPosition++) {\r\n segment = toSegments[toPosition];\r\n // we stay on the same position\r\n if (segment === '.')\r\n continue;\r\n // go up in the from array\r\n if (segment === '..') {\r\n // we can't go below zero, but we still need to increment toPosition\r\n if (position > 1)\r\n position--;\r\n // continue\r\n }\r\n // we reached a non-relative path, we stop here\r\n else\r\n break;\r\n }\r\n return (fromSegments.slice(0, position).join('/') +\r\n '/' +\r\n toSegments\r\n // ensure we use at least the last element in the toSegments\r\n .slice(toPosition - (toPosition === toSegments.length ? 1 : 0))\r\n .join('/'));\r\n}\n\nvar NavigationType;\r\n(function (NavigationType) {\r\n NavigationType[\"pop\"] = \"pop\";\r\n NavigationType[\"push\"] = \"push\";\r\n})(NavigationType || (NavigationType = {}));\r\nvar NavigationDirection;\r\n(function (NavigationDirection) {\r\n NavigationDirection[\"back\"] = \"back\";\r\n NavigationDirection[\"forward\"] = \"forward\";\r\n NavigationDirection[\"unknown\"] = \"\";\r\n})(NavigationDirection || (NavigationDirection = {}));\r\n/**\r\n * Starting location for Histories\r\n */\r\nconst START = '';\r\n// Generic utils\r\n/**\r\n * Normalizes a base by removing any trailing slash and reading the base tag if\r\n * present.\r\n *\r\n * @param base - base to normalize\r\n */\r\nfunction normalizeBase(base) {\r\n if (!base) {\r\n if (isBrowser) {\r\n // respect <base> tag\r\n const baseEl = document.querySelector('base');\r\n base = (baseEl && baseEl.getAttribute('href')) || '/';\r\n // strip full URL origin\r\n base = base.replace(/^\\w+:\\/\\/[^\\/]+/, '');\r\n }\r\n else {\r\n base = '/';\r\n }\r\n }\r\n // ensure leading slash when it was removed by the regex above avoid leading\r\n // slash with hash because the file could be read from the disk like file://\r\n // and the leading slash would cause problems\r\n if (base[0] !== '/' && base[0] !== '#')\r\n base = '/' + base;\r\n // remove the trailing slash so all other method can just do `base + fullPath`\r\n // to build an href\r\n return removeTrailingSlash(base);\r\n}\r\n// remove any character before the hash\r\nconst BEFORE_HASH_RE = /^[^#]+#/;\r\nfunction createHref(base, location) {\r\n return base.replace(BEFORE_HASH_RE, '#') + location;\r\n}\n\nfunction getElementPosition(el, offset) {\r\n const docRect = document.documentElement.getBoundingClientRect();\r\n const elRect = el.getBoundingClientRect();\r\n return {\r\n behavior: offset.behavior,\r\n left: elRect.left - docRect.left - (offset.left || 0),\r\n top: elRect.top - docRect.top - (offset.top || 0),\r\n };\r\n}\r\nconst computeScrollPosition = () => ({\r\n left: window.pageXOffset,\r\n top: window.pageYOffset,\r\n});\r\nfunction scrollToPosition(position) {\r\n let scrollToOptions;\r\n if ('el' in position) {\r\n const positionEl = position.el;\r\n const isIdSelector = typeof positionEl === 'string' && positionEl.startsWith('#');\r\n /**\r\n * `id`s can accept pretty much any characters, including CSS combinators\r\n * like `>` or `~`. It's still possible to retrieve elements using\r\n * `document.getElementById('~')` but it needs to be escaped when using\r\n * `document.querySelector('#\\\\~')` for it to be valid. The only\r\n * requirements for `id`s are them to be unique on the page and to not be\r\n * empty (`id=\"\"`). Because of that, when passing an id selector, it should\r\n * be properly escaped for it to work with `querySelector`. We could check\r\n * for the id selector to be simple (no CSS combinators `+ >~`) but that\r\n * would make things inconsistent since they are valid characters for an\r\n * `id` but would need to be escaped when using `querySelector`, breaking\r\n * their usage and ending up in no selector returned. Selectors need to be\r\n * escaped:\r\n *\r\n * - `#1-thing` becomes `#\\31 -thing`\r\n * - `#with~symbols` becomes `#with\\\\~symbols`\r\n *\r\n * - More information about the topic can be found at\r\n * https://mathiasbynens.be/notes/html5-id-class.\r\n * - Practical example: https://mathiasbynens.be/demo/html5-id\r\n */\r\n if ((process.env.NODE_ENV !== 'production') && typeof position.el === 'string') {\r\n if (!isIdSelector || !document.getElementById(position.el.slice(1))) {\r\n try {\r\n const foundEl = document.querySelector(position.el);\r\n if (isIdSelector && foundEl) {\r\n warn(`The selector \"${position.el}\" should be passed as \"el: document.querySelector('${position.el}')\" because it starts with \"#\".`);\r\n // return to avoid other warnings\r\n return;\r\n }\r\n }\r\n catch (err) {\r\n warn(`The selector \"${position.el}\" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);\r\n // return to avoid other warnings\r\n return;\r\n }\r\n }\r\n }\r\n const el = typeof positionEl === 'string'\r\n ? isIdSelector\r\n ? document.getElementById(positionEl.slice(1))\r\n : document.querySelector(positionEl)\r\n : positionEl;\r\n if (!el) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Couldn't find element using selector \"${position.el}\" returned by scrollBehavior.`);\r\n return;\r\n }\r\n scrollToOptions = getElementPosition(el, position);\r\n }\r\n else {\r\n scrollToOptions = position;\r\n }\r\n if ('scrollBehavior' in document.documentElement.style)\r\n window.scrollTo(scrollToOptions);\r\n else {\r\n window.scrollTo(scrollToOptions.left != null ? scrollToOptions.left : window.pageXOffset, scrollToOptions.top != null ? scrollToOptions.top : window.pageYOffset);\r\n }\r\n}\r\nfunction getScrollKey(path, delta) {\r\n const position = history.state ? history.state.position - delta : -1;\r\n return position + path;\r\n}\r\nconst scrollPositions = new Map();\r\nfunction saveScrollPosition(key, scrollPosition) {\r\n scrollPositions.set(key, scrollPosition);\r\n}\r\nfunction getSavedScrollPosition(key) {\r\n const scroll = scrollPositions.get(key);\r\n // consume it so it's not used again\r\n scrollPositions.delete(key);\r\n return scroll;\r\n}\r\n// TODO: RFC about how to save scroll position\r\n/**\r\n * ScrollBehavior instance used by the router to compute and restore the scroll\r\n * position when navigating.\r\n */\r\n// export interface ScrollHandler<ScrollPositionEntry extends HistoryStateValue, ScrollPosition extends ScrollPositionEntry> {\r\n// // returns a scroll position that can be saved in history\r\n// compute(): ScrollPositionEntry\r\n// // can take an extended ScrollPositionEntry\r\n// scroll(position: ScrollPosition): void\r\n// }\r\n// export const scrollHandler: ScrollHandler<ScrollPosition> = {\r\n// compute: computeScroll,\r\n// scroll: scrollToPosition,\r\n// }\n\nlet createBaseLocation = () => location.protocol + '//' + location.host;\r\n/**\r\n * Creates a normalized history location from a window.location object\r\n * @param location -\r\n */\r\nfunction createCurrentLocation(base, location) {\r\n const { pathname, search, hash } = location;\r\n // allows hash bases like #, /#, #/, #!, #!/, /#!/, or even /folder#end\r\n const hashPos = base.indexOf('#');\r\n if (hashPos > -1) {\r\n let slicePos = hash.includes(base.slice(hashPos))\r\n ? base.slice(hashPos).length\r\n : 1;\r\n let pathFromHash = hash.slice(slicePos);\r\n // prepend the starting slash to hash so the url starts with /#\r\n if (pathFromHash[0] !== '/')\r\n pathFromHash = '/' + pathFromHash;\r\n return stripBase(pathFromHash, '');\r\n }\r\n const path = stripBase(pathname, base);\r\n return path + search + hash;\r\n}\r\nfunction useHistoryListeners(base, historyState, currentLocation, replace) {\r\n let listeners = [];\r\n let teardowns = [];\r\n // TODO: should it be a stack? a Dict. Check if the popstate listener\r\n // can trigger twice\r\n let pauseState = null;\r\n const popStateHandler = ({ state, }) => {\r\n const to = createCurrentLocation(base, location);\r\n const from = currentLocation.value;\r\n const fromState = historyState.value;\r\n let delta = 0;\r\n if (state) {\r\n currentLocation.value = to;\r\n historyState.value = state;\r\n // ignore the popstate and reset the pauseState\r\n if (pauseState && pauseState === from) {\r\n pauseState = null;\r\n return;\r\n }\r\n delta = fromState ? state.position - fromState.position : 0;\r\n }\r\n else {\r\n replace(to);\r\n }\r\n // console.log({ deltaFromCurrent })\r\n // Here we could also revert the navigation by calling history.go(-delta)\r\n // this listener will have to be adapted to not trigger again and to wait for the url\r\n // to be updated before triggering the listeners. Some kind of validation function would also\r\n // need to be passed to the listeners so the navigation can be accepted\r\n // call all listeners\r\n listeners.forEach(listener => {\r\n listener(currentLocation.value, from, {\r\n delta,\r\n type: NavigationType.pop,\r\n direction: delta\r\n ? delta > 0\r\n ? NavigationDirection.forward\r\n : NavigationDirection.back\r\n : NavigationDirection.unknown,\r\n });\r\n });\r\n };\r\n function pauseListeners() {\r\n pauseState = currentLocation.value;\r\n }\r\n function listen(callback) {\r\n // set up the listener and prepare teardown callbacks\r\n listeners.push(callback);\r\n const teardown = () => {\r\n const index = listeners.indexOf(callback);\r\n if (index > -1)\r\n listeners.splice(index, 1);\r\n };\r\n teardowns.push(teardown);\r\n return teardown;\r\n }\r\n function beforeUnloadListener() {\r\n const { history } = window;\r\n if (!history.state)\r\n return;\r\n history.replaceState(assign({}, history.state, { scroll: computeScrollPosition() }), '');\r\n }\r\n function destroy() {\r\n for (const teardown of teardowns)\r\n teardown();\r\n teardowns = [];\r\n window.removeEventListener('popstate', popStateHandler);\r\n window.removeEventListener('beforeunload', beforeUnloadListener);\r\n }\r\n // set up the listeners and prepare teardown callbacks\r\n window.addEventListener('popstate', popStateHandler);\r\n window.addEventListener('beforeunload', beforeUnloadListener);\r\n return {\r\n pauseListeners,\r\n listen,\r\n destroy,\r\n };\r\n}\r\n/**\r\n * Creates a state object\r\n */\r\nfunction buildState(back, current, forward, replaced = false, computeScroll = false) {\r\n return {\r\n back,\r\n current,\r\n forward,\r\n replaced,\r\n position: window.history.length,\r\n scroll: computeScroll ? computeScrollPosition() : null,\r\n };\r\n}\r\nfunction useHistoryStateNavigation(base) {\r\n const { history, location } = window;\r\n // private variables\r\n const currentLocation = {\r\n value: createCurrentLocation(base, location),\r\n };\r\n const historyState = { value: history.state };\r\n // build current history entry as this is a fresh navigation\r\n if (!historyState.value) {\r\n changeLocation(currentLocation.value, {\r\n back: null,\r\n current: currentLocation.value,\r\n forward: null,\r\n // the length is off by one, we need to decrease it\r\n position: history.length - 1,\r\n replaced: true,\r\n // don't add a scroll as the user may have an anchor, and we want\r\n // scrollBehavior to be triggered without a saved position\r\n scroll: null,\r\n }, true);\r\n }\r\n function changeLocation(to, state, replace) {\r\n /**\r\n * if a base tag is provided, and we are on a normal domain, we have to\r\n * respect the provided `base` attribute because pushState() will use it and\r\n * potentially erase anything before the `#` like at\r\n * https://github.com/vuejs/router/issues/685 where a base of\r\n * `/folder/#` but a base of `/` would erase the `/folder/` section. If\r\n * there is no host, the `<base>` tag makes no sense and if there isn't a\r\n * base tag we can just use everything after the `#`.\r\n */\r\n const hashIndex = base.indexOf('#');\r\n const url = hashIndex > -1\r\n ? (location.host && document.querySelector('base')\r\n ? base\r\n : base.slice(hashIndex)) + to\r\n : createBaseLocation() + base + to;\r\n try {\r\n // BROWSER QUIRK\r\n // NOTE: Safari throws a SecurityError when calling this function 100 times in 30 seconds\r\n history[replace ? 'replaceState' : 'pushState'](state, '', url);\r\n historyState.value = state;\r\n }\r\n catch (err) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Error with push/replace State', err);\r\n }\r\n else {\r\n console.error(err);\r\n }\r\n // Force the navigation, this also resets the call count\r\n location[replace ? 'replace' : 'assign'](url);\r\n }\r\n }\r\n function replace(to, data) {\r\n const state = assign({}, history.state, buildState(historyState.value.back, \r\n // keep back and forward entries but override current position\r\n to, historyState.value.forward, true), data, { position: historyState.value.position });\r\n changeLocation(to, state, true);\r\n currentLocation.value = to;\r\n }\r\n function push(to, data) {\r\n // Add to current entry the information of where we are going\r\n // as well as saving the current position\r\n const currentState = assign({}, \r\n // use current history state to gracefully handle a wrong call to\r\n // history.replaceState\r\n // https://github.com/vuejs/router/issues/366\r\n historyState.value, history.state, {\r\n forward: to,\r\n scroll: computeScrollPosition(),\r\n });\r\n if ((process.env.NODE_ENV !== 'production') && !history.state) {\r\n warn(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\\n\\n` +\r\n `history.replaceState(history.state, '', url)\\n\\n` +\r\n `You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`);\r\n }\r\n changeLocation(currentState.current, currentState, true);\r\n const state = assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data);\r\n changeLocation(to, state, false);\r\n currentLocation.value = to;\r\n }\r\n return {\r\n location: currentLocation,\r\n state: historyState,\r\n push,\r\n replace,\r\n };\r\n}\r\n/**\r\n * Creates an HTML5 history. Most common history for single page applications.\r\n *\r\n * @param base -\r\n */\r\nfunction createWebHistory(base) {\r\n base = normalizeBase(base);\r\n const historyNavigation = useHistoryStateNavigation(base);\r\n const historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);\r\n function go(delta, triggerListeners = true) {\r\n if (!triggerListeners)\r\n historyListeners.pauseListeners();\r\n history.go(delta);\r\n }\r\n const routerHistory = assign({\r\n // it's overridden right after\r\n location: '',\r\n base,\r\n go,\r\n createHref: createHref.bind(null, base),\r\n }, historyNavigation, historyListeners);\r\n Object.defineProperty(routerHistory, 'location', {\r\n enumerable: true,\r\n get: () => historyNavigation.location.value,\r\n });\r\n Object.defineProperty(routerHistory, 'state', {\r\n enumerable: true,\r\n get: () => historyNavigation.state.value,\r\n });\r\n return routerHistory;\r\n}\n\n/**\r\n * Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.\r\n * It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.\r\n *\r\n * @param base - Base applied to all urls, defaults to '/'\r\n * @returns a history object that can be passed to the router constructor\r\n */\r\nfunction createMemoryHistory(base = '') {\r\n let listeners = [];\r\n let queue = [START];\r\n let position = 0;\r\n base = normalizeBase(base);\r\n function setLocation(location) {\r\n position++;\r\n if (position === queue.length) {\r\n // we are at the end, we can simply append a new entry\r\n queue.push(location);\r\n }\r\n else {\r\n // we are in the middle, we remove everything from here in the queue\r\n queue.splice(position);\r\n queue.push(location);\r\n }\r\n }\r\n function triggerListeners(to, from, { direction, delta }) {\r\n const info = {\r\n direction,\r\n delta,\r\n type: NavigationType.pop,\r\n };\r\n for (const callback of listeners) {\r\n callback(to, from, info);\r\n }\r\n }\r\n const routerHistory = {\r\n // rewritten by Object.defineProperty\r\n location: START,\r\n // TODO: should be kept in queue\r\n state: {},\r\n base,\r\n createHref: createHref.bind(null, base),\r\n replace(to) {\r\n // remove current entry and decrement position\r\n queue.splice(position--, 1);\r\n setLocation(to);\r\n },\r\n push(to, data) {\r\n setLocation(to);\r\n },\r\n listen(callback) {\r\n listeners.push(callback);\r\n return () => {\r\n const index = listeners.indexOf(callback);\r\n if (index > -1)\r\n listeners.splice(index, 1);\r\n };\r\n },\r\n destroy() {\r\n listeners = [];\r\n queue = [START];\r\n position = 0;\r\n },\r\n go(delta, shouldTrigger = true) {\r\n const from = this.location;\r\n const direction = \r\n // we are considering delta === 0 going forward, but in abstract mode\r\n // using 0 for the delta doesn't make sense like it does in html5 where\r\n // it reloads the page\r\n delta < 0 ? NavigationDirection.back : NavigationDirection.forward;\r\n position = Math.max(0, Math.min(position + delta, queue.length - 1));\r\n if (shouldTrigger) {\r\n triggerListeners(this.location, from, {\r\n direction,\r\n delta,\r\n });\r\n }\r\n },\r\n };\r\n Object.defineProperty(routerHistory, 'location', {\r\n enumerable: true,\r\n get: () => queue[position],\r\n });\r\n return routerHistory;\r\n}\n\n/**\r\n * Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to\r\n * handle any URL is not possible.\r\n *\r\n * @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `<base>` tag\r\n * in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()\r\n * calls**, meaning that if you use a `<base>` tag, it's `href` value **has to match this parameter** (ignoring anything\r\n * after the `#`).\r\n *\r\n * @example\r\n * ```js\r\n * // at https://example.com/folder\r\n * createWebHashHistory() // gives a url of `https://example.com/folder#`\r\n * createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`\r\n * // if the `#` is provided in the base, it won't be added by `createWebHashHistory`\r\n * createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`\r\n * // you should avoid doing this because it changes the original url and breaks copying urls\r\n * createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`\r\n *\r\n * // at file:///usr/etc/folder/index.html\r\n * // for locations with no `host`, the base is ignored\r\n * createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`\r\n * ```\r\n */\r\nfunction createWebHashHistory(base) {\r\n // Make sure this implementation is fine in terms of encoding, specially for IE11\r\n // for `file://`, directly use the pathname and ignore the base\r\n // location.pathname contains an initial `/` even at the root: `https://example.com`\r\n base = location.host ? base || location.pathname + location.search : '';\r\n // allow the user to provide a `#` in the middle: `/base/#/app`\r\n if (!base.includes('#'))\r\n base += '#';\r\n if ((process.env.NODE_ENV !== 'production') && !base.endsWith('#/') && !base.endsWith('#')) {\r\n warn(`A hash base must end with a \"#\":\\n\"${base}\" should be \"${base.replace(/#.*$/, '#')}\".`);\r\n }\r\n return createWebHistory(base);\r\n}\n\nfunction isRouteLocation(route) {\r\n return typeof route === 'string' || (route && typeof route === 'object');\r\n}\r\nfunction isRouteName(name) {\r\n return typeof name === 'string' || typeof name === 'symbol';\r\n}\n\n/**\r\n * Initial route location where the router is. Can be used in navigation guards\r\n * to differentiate the initial navigation.\r\n *\r\n * @example\r\n * ```js\r\n * import { START_LOCATION } from 'vue-router'\r\n *\r\n * router.beforeEach((to, from) => {\r\n * if (from === START_LOCATION) {\r\n * // initial navigation\r\n * }\r\n * })\r\n * ```\r\n */\r\nconst START_LOCATION_NORMALIZED = {\r\n path: '/',\r\n name: undefined,\r\n params: {},\r\n query: {},\r\n hash: '',\r\n fullPath: '/',\r\n matched: [],\r\n meta: {},\r\n redirectedFrom: undefined,\r\n};\n\nconst NavigationFailureSymbol = Symbol((process.env.NODE_ENV !== 'production') ? 'navigation failure' : '');\r\n/**\r\n * Enumeration with all possible types for navigation failures. Can be passed to\r\n * {@link isNavigationFailure} to check for specific failures.\r\n */\r\nvar NavigationFailureType;\r\n(function (NavigationFailureType) {\r\n /**\r\n * An aborted navigation is a navigation that failed because a navigation\r\n * guard returned `false` or called `next(false)`\r\n */\r\n NavigationFailureType[NavigationFailureType[\"aborted\"] = 4] = \"aborted\";\r\n /**\r\n * A cancelled navigation is a navigation that failed because a more recent\r\n * navigation finished started (not necessarily finished).\r\n */\r\n NavigationFailureType[NavigationFailureType[\"cancelled\"] = 8] = \"cancelled\";\r\n /**\r\n * A duplicated navigation is a navigation that failed because it was\r\n * initiated while already being at the exact same location.\r\n */\r\n NavigationFailureType[NavigationFailureType[\"duplicated\"] = 16] = \"duplicated\";\r\n})(NavigationFailureType || (NavigationFailureType = {}));\r\n// DEV only debug messages\r\nconst ErrorTypeMessages = {\r\n [1 /* ErrorTypes.MATCHER_NOT_FOUND */]({ location, currentLocation }) {\r\n return `No match for\\n ${JSON.stringify(location)}${currentLocation\r\n ? '\\nwhile being at\\n' + JSON.stringify(currentLocation)\r\n : ''}`;\r\n },\r\n [2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */]({ from, to, }) {\r\n return `Redirected from \"${from.fullPath}\" to \"${stringifyRoute(to)}\" via a navigation guard.`;\r\n },\r\n [4 /* ErrorTypes.NAVIGATION_ABORTED */]({ from, to }) {\r\n return `Navigation aborted from \"${from.fullPath}\" to \"${to.fullPath}\" via a navigation guard.`;\r\n },\r\n [8 /* ErrorTypes.NAVIGATION_CANCELLED */]({ from, to }) {\r\n return `Navigation cancelled from \"${from.fullPath}\" to \"${to.fullPath}\" with a new navigation.`;\r\n },\r\n [16 /* ErrorTypes.NAVIGATION_DUPLICATED */]({ from, to }) {\r\n return `Avoided redundant navigation to current location: \"${from.fullPath}\".`;\r\n },\r\n};\r\nfunction createRouterError(type, params) {\r\n // keep full error messages in cjs versions\r\n if ((process.env.NODE_ENV !== 'production') || !true) {\r\n return assign(new Error(ErrorTypeMessages[type](params)), {\r\n type,\r\n [NavigationFailureSymbol]: true,\r\n }, params);\r\n }\r\n else {\r\n return assign(new Error(), {\r\n type,\r\n [NavigationFailureSymbol]: true,\r\n }, params);\r\n }\r\n}\r\nfunction isNavigationFailure(error, type) {\r\n return (error instanceof Error &&\r\n NavigationFailureSymbol in error &&\r\n (type == null || !!(error.type & type)));\r\n}\r\nconst propertiesToLog = ['params', 'query', 'hash'];\r\nfunction stringifyRoute(to) {\r\n if (typeof to === 'string')\r\n return to;\r\n if ('path' in to)\r\n return to.path;\r\n const location = {};\r\n for (const key of propertiesToLog) {\r\n if (key in to)\r\n location[key] = to[key];\r\n }\r\n return JSON.stringify(location, null, 2);\r\n}\n\n// default pattern for a param: non-greedy everything but /\r\nconst BASE_PARAM_PATTERN = '[^/]+?';\r\nconst BASE_PATH_PARSER_OPTIONS = {\r\n sensitive: false,\r\n strict: false,\r\n start: true,\r\n end: true,\r\n};\r\n// Special Regex characters that must be escaped in static tokens\r\nconst REGEX_CHARS_RE = /[.+*?^${}()[\\]/\\\\]/g;\r\n/**\r\n * Creates a path parser from an array of Segments (a segment is an array of Tokens)\r\n *\r\n * @param segments - array of segments returned by tokenizePath\r\n * @param extraOptions - optional options for the regexp\r\n * @returns a PathParser\r\n */\r\nfunction tokensToParser(segments, extraOptions) {\r\n const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);\r\n // the amount of scores is the same as the length of segments except for the root segment \"/\"\r\n const score = [];\r\n // the regexp as a string\r\n let pattern = options.start ? '^' : '';\r\n // extracted keys\r\n const keys = [];\r\n for (const segment of segments) {\r\n // the root segment needs special treatment\r\n const segmentScores = segment.length ? [] : [90 /* PathScore.Root */];\r\n // allow trailing slash\r\n if (options.strict && !segment.length)\r\n pattern += '/';\r\n for (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {\r\n const token = segment[tokenIndex];\r\n // resets the score if we are inside a sub-segment /:a-other-:b\r\n let subSegmentScore = 40 /* PathScore.Segment */ +\r\n (options.sensitive ? 0.25 /* PathScore.BonusCaseSensitive */ : 0);\r\n if (token.type === 0 /* TokenType.Static */) {\r\n // prepend the slash if we are starting a new segment\r\n if (!tokenIndex)\r\n pattern += '/';\r\n pattern += token.value.replace(REGEX_CHARS_RE, '\\\\$&');\r\n subSegmentScore += 40 /* PathScore.Static */;\r\n }\r\n else if (token.type === 1 /* TokenType.Param */) {\r\n const { value, repeatable, optional, regexp } = token;\r\n keys.push({\r\n name: value,\r\n repeatable,\r\n optional,\r\n });\r\n const re = regexp ? regexp : BASE_PARAM_PATTERN;\r\n // the user provided a custom regexp /:id(\\\\d+)\r\n if (re !== BASE_PARAM_PATTERN) {\r\n subSegmentScore += 10 /* PathScore.BonusCustomRegExp */;\r\n // make sure the regexp is valid before using it\r\n try {\r\n new RegExp(`(${re})`);\r\n }\r\n catch (err) {\r\n throw new Error(`Invalid custom RegExp for param \"${value}\" (${re}): ` +\r\n err.message);\r\n }\r\n }\r\n // when we repeat we must take care of the repeating leading slash\r\n let subPattern = repeatable ? `((?:${re})(?:/(?:${re}))*)` : `(${re})`;\r\n // prepend the slash if we are starting a new segment\r\n if (!tokenIndex)\r\n subPattern =\r\n // avoid an optional / if there are more segments e.g. /:p?-static\r\n // or /:p?-:p2\r\n optional && segment.length < 2\r\n ? `(?:/${subPattern})`\r\n : '/' + subPattern;\r\n if (optional)\r\n subPattern += '?';\r\n pattern += subPattern;\r\n subSegmentScore += 20 /* PathScore.Dynamic */;\r\n if (optional)\r\n subSegmentScore += -8 /* PathScore.BonusOptional */;\r\n if (repeatable)\r\n subSegmentScore += -20 /* PathScore.BonusRepeatable */;\r\n if (re === '.*')\r\n subSegmentScore += -50 /* PathScore.BonusWildcard */;\r\n }\r\n segmentScores.push(subSegmentScore);\r\n }\r\n // an empty array like /home/ -> [[{home}], []]\r\n // if (!segment.length) pattern += '/'\r\n score.push(segmentScores);\r\n }\r\n // only apply the strict bonus to the last score\r\n if (options.strict && options.end) {\r\n const i = score.length - 1;\r\n score[i][score[i].length - 1] += 0.7000000000000001 /* PathScore.BonusStrict */;\r\n }\r\n // TODO: dev only warn double trailing slash\r\n if (!options.strict)\r\n pattern += '/?';\r\n if (options.end)\r\n pattern += '$';\r\n // allow paths like /dynamic to only match dynamic or dynamic/... but not dynamic_something_else\r\n else if (options.strict)\r\n pattern += '(?:/|$)';\r\n const re = new RegExp(pattern, options.sensitive ? '' : 'i');\r\n function parse(path) {\r\n const match = path.match(re);\r\n const params = {};\r\n if (!match)\r\n return null;\r\n for (let i = 1; i < match.length; i++) {\r\n const value = match[i] || '';\r\n const key = keys[i - 1];\r\n params[key.name] = value && key.repeatable ? value.split('/') : value;\r\n }\r\n return params;\r\n }\r\n function stringify(params) {\r\n let path = '';\r\n // for optional parameters to allow to be empty\r\n let avoidDuplicatedSlash = false;\r\n for (const segment of segments) {\r\n if (!avoidDuplicatedSlash || !path.endsWith('/'))\r\n path += '/';\r\n avoidDuplicatedSlash = false;\r\n for (const token of segment) {\r\n if (token.type === 0 /* TokenType.Static */) {\r\n path += token.value;\r\n }\r\n else if (token.type === 1 /* TokenType.Param */) {\r\n const { value, repeatable, optional } = token;\r\n const param = value in params ? params[value] : '';\r\n if (isArray(param) && !repeatable) {\r\n throw new Error(`Provided param \"${value}\" is an array but it is not repeatable (* or + modifiers)`);\r\n }\r\n const text = isArray(param)\r\n ? param.join('/')\r\n : param;\r\n if (!text) {\r\n if (optional) {\r\n // if we have more than one optional param like /:a?-static we don't need to care about the optional param\r\n if (segment.length < 2) {\r\n // remove the last slash as we could be at the end\r\n if (path.endsWith('/'))\r\n path = path.slice(0, -1);\r\n // do not append a slash on the next iteration\r\n else\r\n avoidDuplicatedSlash = true;\r\n }\r\n }\r\n else\r\n throw new Error(`Missing required param \"${value}\"`);\r\n }\r\n path += text;\r\n }\r\n }\r\n }\r\n // avoid empty path when we have multiple optional params\r\n return path || '/';\r\n }\r\n return {\r\n re,\r\n score,\r\n keys,\r\n parse,\r\n stringify,\r\n };\r\n}\r\n/**\r\n * Compares an array of numbers as used in PathParser.score and returns a\r\n * number. This function can be used to `sort` an array\r\n *\r\n * @param a - first array of numbers\r\n * @param b - second array of numbers\r\n * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\r\n * should be sorted first\r\n */\r\nfunction compareScoreArray(a, b) {\r\n let i = 0;\r\n while (i < a.length && i < b.length) {\r\n const diff = b[i] - a[i];\r\n // only keep going if diff === 0\r\n if (diff)\r\n return diff;\r\n i++;\r\n }\r\n // if the last subsegment was Static, the shorter segments should be sorted first\r\n // otherwise sort the longest segment first\r\n if (a.length < b.length) {\r\n return a.length === 1 && a[0] === 40 /* PathScore.Static */ + 40 /* PathScore.Segment */\r\n ? -1\r\n : 1;\r\n }\r\n else if (a.length > b.length) {\r\n return b.length === 1 && b[0] === 40 /* PathScore.Static */ + 40 /* PathScore.Segment */\r\n ? 1\r\n : -1;\r\n }\r\n return 0;\r\n}\r\n/**\r\n * Compare function that can be used with `sort` to sort an array of PathParser\r\n *\r\n * @param a - first PathParser\r\n * @param b - second PathParser\r\n * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b\r\n */\r\nfunction comparePathParserScore(a, b) {\r\n let i = 0;\r\n const aScore = a.score;\r\n const bScore = b.score;\r\n while (i < aScore.length && i < bScore.length) {\r\n const comp = compareScoreArray(aScore[i], bScore[i]);\r\n // do not return if both are equal\r\n if (comp)\r\n return comp;\r\n i++;\r\n }\r\n if (Math.abs(bScore.length - aScore.length) === 1) {\r\n if (isLastScoreNegative(aScore))\r\n return 1;\r\n if (isLastScoreNegative(bScore))\r\n return -1;\r\n }\r\n // if a and b share the same score entries but b has more, sort b first\r\n return bScore.length - aScore.length;\r\n // this is the ternary version\r\n // return aScore.length < bScore.length\r\n // ? 1\r\n // : aScore.length > bScore.length\r\n // ? -1\r\n // : 0\r\n}\r\n/**\r\n * This allows detecting splats at the end of a path: /home/:id(.*)*\r\n *\r\n * @param score - score to check\r\n * @returns true if the last entry is negative\r\n */\r\nfunction isLastScoreNegative(score) {\r\n const last = score[score.length - 1];\r\n return score.length > 0 && last[last.length - 1] < 0;\r\n}\n\nconst ROOT_TOKEN = {\r\n type: 0 /* TokenType.Static */,\r\n value: '',\r\n};\r\nconst VALID_PARAM_RE = /[a-zA-Z0-9_]/;\r\n// After some profiling, the cache seems to be unnecessary because tokenizePath\r\n// (the slowest part of adding a route) is very fast\r\n// const tokenCache = new Map<string, Token[][]>()\r\nfunction tokenizePath(path) {\r\n if (!path)\r\n return [[]];\r\n if (path === '/')\r\n return [[ROOT_TOKEN]];\r\n if (!path.startsWith('/')) {\r\n throw new Error((process.env.NODE_ENV !== 'production')\r\n ? `Route paths should start with a \"/\": \"${path}\" should be \"/${path}\".`\r\n : `Invalid path \"${path}\"`);\r\n }\r\n // if (tokenCache.has(path)) return tokenCache.get(path)!\r\n function crash(message) {\r\n throw new Error(`ERR (${state})/\"${buffer}\": ${message}`);\r\n }\r\n let state = 0 /* TokenizerState.Static */;\r\n let previousState = state;\r\n const tokens = [];\r\n // the segment will always be valid because we get into the initial state\r\n // with the leading /\r\n let segment;\r\n function finalizeSegment() {\r\n if (segment)\r\n tokens.push(segment);\r\n segment = [];\r\n }\r\n // index on the path\r\n let i = 0;\r\n // char at index\r\n let char;\r\n // buffer of the value read\r\n let buffer = '';\r\n // custom regexp for a param\r\n let customRe = '';\r\n function consumeBuffer() {\r\n if (!buffer)\r\n return;\r\n if (state === 0 /* TokenizerState.Static */) {\r\n segment.push({\r\n type: 0 /* TokenType.Static */,\r\n value: buffer,\r\n });\r\n }\r\n else if (state === 1 /* TokenizerState.Param */ ||\r\n state === 2 /* TokenizerState.ParamRegExp */ ||\r\n state === 3 /* TokenizerState.ParamRegExpEnd */) {\r\n if (segment.length > 1 && (char === '*' || char === '+'))\r\n crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);\r\n segment.push({\r\n type: 1 /* TokenType.Param */,\r\n value: buffer,\r\n regexp: customRe,\r\n repeatable: char === '*' || char === '+',\r\n optional: char === '*' || char === '?',\r\n });\r\n }\r\n else {\r\n crash('Invalid state to consume buffer');\r\n }\r\n buffer = '';\r\n }\r\n function addCharToBuffer() {\r\n buffer += char;\r\n }\r\n while (i < path.length) {\r\n char = path[i++];\r\n if (char === '\\\\' && state !== 2 /* TokenizerState.ParamRegExp */) {\r\n previousState = state;\r\n state = 4 /* TokenizerState.EscapeNext */;\r\n continue;\r\n }\r\n switch (state) {\r\n case 0 /* TokenizerState.Static */:\r\n if (char === '/') {\r\n if (buffer) {\r\n consumeBuffer();\r\n }\r\n finalizeSegment();\r\n }\r\n else if (char === ':') {\r\n consumeBuffer();\r\n state = 1 /* TokenizerState.Param */;\r\n }\r\n else {\r\n addCharToBuffer();\r\n }\r\n break;\r\n case 4 /* TokenizerState.EscapeNext */:\r\n addCharToBuffer();\r\n state = previousState;\r\n break;\r\n case 1 /* TokenizerState.Param */:\r\n if (char === '(') {\r\n state = 2 /* TokenizerState.ParamRegExp */;\r\n }\r\n else if (VALID_PARAM_RE.test(char)) {\r\n addCharToBuffer();\r\n }\r\n else {\r\n consumeBuffer();\r\n state = 0 /* TokenizerState.Static */;\r\n // go back one character if we were not modifying\r\n if (char !== '*' && char !== '?' && char !== '+')\r\n i--;\r\n }\r\n break;\r\n case 2 /* TokenizerState.ParamRegExp */:\r\n // TODO: is it worth handling nested regexp? like :p(?:prefix_([^/]+)_suffix)\r\n // it already works by escaping the closing )\r\n // https://paths.esm.dev/?p=AAMeJbiAwQEcDKbAoAAkP60PG2R6QAvgNaA6AFACM2ABuQBB#\r\n // is this really something people need since you can also write\r\n // /prefix_:p()_suffix\r\n if (char === ')') {\r\n // handle the escaped )\r\n if (customRe[customRe.length - 1] == '\\\\')\r\n customRe = customRe.slice(0, -1) + char;\r\n else\r\n state = 3 /* TokenizerState.ParamRegExpEnd */;\r\n }\r\n else {\r\n customRe += char;\r\n }\r\n break;\r\n case 3 /* TokenizerState.ParamRegExpEnd */:\r\n // same as finalizing a param\r\n consumeBuffer();\r\n state = 0 /* TokenizerState.Static */;\r\n // go back one character if we were not modifying\r\n if (char !== '*' && char !== '?' && char !== '+')\r\n i--;\r\n customRe = '';\r\n break;\r\n default:\r\n crash('Unknown state');\r\n break;\r\n }\r\n }\r\n if (state === 2 /* TokenizerState.ParamRegExp */)\r\n crash(`Unfinished custom RegExp for param \"${buffer}\"`);\r\n consumeBuffer();\r\n finalizeSegment();\r\n // tokenCache.set(path, tokens)\r\n return tokens;\r\n}\n\nfunction createRouteRecordMatcher(record, parent, options) {\r\n const parser = tokensToParser(tokenizePath(record.path), options);\r\n // warn against params with the same name\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const existingKeys = new Set();\r\n for (const key of parser.keys) {\r\n if (existingKeys.has(key.name))\r\n warn(`Found duplicated params with name \"${key.name}\" for path \"${record.path}\". Only the last one will be available on \"$route.params\".`);\r\n existingKeys.add(key.name);\r\n }\r\n }\r\n const matcher = assign(parser, {\r\n record,\r\n parent,\r\n // these needs to be populated by the parent\r\n children: [],\r\n alias: [],\r\n });\r\n if (parent) {\r\n // both are aliases or both are not aliases\r\n // we don't want to mix them because the order is used when\r\n // passing originalRecord in Matcher.addRoute\r\n if (!matcher.record.aliasOf === !parent.record.aliasOf)\r\n parent.children.push(matcher);\r\n }\r\n return matcher;\r\n}\n\n/**\r\n * Creates a Router Matcher.\r\n *\r\n * @internal\r\n * @param routes - array of initial routes\r\n * @param globalOptions - global route options\r\n */\r\nfunction createRouterMatcher(routes, globalOptions) {\r\n // normalized ordered array of matchers\r\n const matchers = [];\r\n const matcherMap = new Map();\r\n globalOptions = mergeOptions({ strict: false, end: true, sensitive: false }, globalOptions);\r\n function getRecordMatcher(name) {\r\n return matcherMap.get(name);\r\n }\r\n function addRoute(record, parent, originalRecord) {\r\n // used later on to remove by name\r\n const isRootAdd = !originalRecord;\r\n const mainNormalizedRecord = normalizeRouteRecord(record);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent);\r\n }\r\n // we might be the child of an alias\r\n mainNormalizedRecord.aliasOf = originalRecord && originalRecord.record;\r\n const options = mergeOptions(globalOptions, record);\r\n // generate an array of records to correctly handle aliases\r\n const normalizedRecords = [\r\n mainNormalizedRecord,\r\n ];\r\n if ('alias' in record) {\r\n const aliases = typeof record.alias === 'string' ? [record.alias] : record.alias;\r\n for (const alias of aliases) {\r\n normalizedRecords.push(assign({}, mainNormalizedRecord, {\r\n // this allows us to hold a copy of the `components` option\r\n // so that async components cache is hold on the original record\r\n components: originalRecord\r\n ? originalRecord.record.components\r\n : mainNormalizedRecord.components,\r\n path: alias,\r\n // we might be the child of an alias\r\n aliasOf: originalRecord\r\n ? originalRecord.record\r\n : mainNormalizedRecord,\r\n // the aliases are always of the same kind as the original since they\r\n // are defined on the same record\r\n }));\r\n }\r\n }\r\n let matcher;\r\n let originalMatcher;\r\n for (const normalizedRecord of normalizedRecords) {\r\n const { path } = normalizedRecord;\r\n // Build up the path for nested routes if the child isn't an absolute\r\n // route. Only add the / delimiter if the child path isn't empty and if the\r\n // parent path doesn't have a trailing slash\r\n if (parent && path[0] !== '/') {\r\n const parentPath = parent.record.path;\r\n const connectingSlash = parentPath[parentPath.length - 1] === '/' ? '' : '/';\r\n normalizedRecord.path =\r\n parent.record.path + (path && connectingSlash + path);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && normalizedRecord.path === '*') {\r\n throw new Error('Catch all routes (\"*\") must now be defined using a param with a custom regexp.\\n' +\r\n 'See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.');\r\n }\r\n // create the object beforehand, so it can be passed to children\r\n matcher = createRouteRecordMatcher(normalizedRecord, parent, options);\r\n if ((process.env.NODE_ENV !== 'production') && parent && path[0] === '/')\r\n checkMissingParamsInAbsolutePath(matcher, parent);\r\n // if we are an alias we must tell the original record that we exist,\r\n // so we can be removed\r\n if (originalRecord) {\r\n originalRecord.alias.push(matcher);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkSameParams(originalRecord, matcher);\r\n }\r\n }\r\n else {\r\n // otherwise, the first record is the original and others are aliases\r\n originalMatcher = originalMatcher || matcher;\r\n if (originalMatcher !== matcher)\r\n originalMatcher.alias.push(matcher);\r\n // remove the route if named and only for the top record (avoid in nested calls)\r\n // this works because the original record is the first one\r\n if (isRootAdd && record.name && !isAliasRecord(matcher))\r\n removeRoute(record.name);\r\n }\r\n if (mainNormalizedRecord.children) {\r\n const children = mainNormalizedRecord.children;\r\n for (let i = 0; i < children.length; i++) {\r\n addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);\r\n }\r\n }\r\n // if there was no original record, then the first one was not an alias and all\r\n // other aliases (if any) need to reference this record when adding children\r\n originalRecord = originalRecord || matcher;\r\n // TODO: add normalized records for more flexibility\r\n // if (parent && isAliasRecord(originalRecord)) {\r\n // parent.children.push(originalRecord)\r\n // }\r\n // Avoid adding a record that doesn't display anything. This allows passing through records without a component to\r\n // not be reached and pass through the catch all route\r\n if ((matcher.record.components &&\r\n Object.keys(matcher.record.components).length) ||\r\n matcher.record.name ||\r\n matcher.record.redirect) {\r\n insertMatcher(matcher);\r\n }\r\n }\r\n return originalMatcher\r\n ? () => {\r\n // since other matchers are aliases, they should be removed by the original matcher\r\n removeRoute(originalMatcher);\r\n }\r\n : noop;\r\n }\r\n function removeRoute(matcherRef) {\r\n if (isRouteName(matcherRef)) {\r\n const matcher = matcherMap.get(matcherRef);\r\n if (matcher) {\r\n matcherMap.delete(matcherRef);\r\n matchers.splice(matchers.indexOf(matcher), 1);\r\n matcher.children.forEach(removeRoute);\r\n matcher.alias.forEach(removeRoute);\r\n }\r\n }\r\n else {\r\n const index = matchers.indexOf(matcherRef);\r\n if (index > -1) {\r\n matchers.splice(index, 1);\r\n if (matcherRef.record.name)\r\n matcherMap.delete(matcherRef.record.name);\r\n matcherRef.children.forEach(removeRoute);\r\n matcherRef.alias.forEach(removeRoute);\r\n }\r\n }\r\n }\r\n function getRoutes() {\r\n return matchers;\r\n }\r\n function insertMatcher(matcher) {\r\n let i = 0;\r\n while (i < matchers.length &&\r\n comparePathParserScore(matcher, matchers[i]) >= 0 &&\r\n // Adding children with empty path should still appear before the parent\r\n // https://github.com/vuejs/router/issues/1124\r\n (matcher.record.path !== matchers[i].record.path ||\r\n !isRecordChildOf(matcher, matchers[i])))\r\n i++;\r\n matchers.splice(i, 0, matcher);\r\n // only add the original record to the name map\r\n if (matcher.record.name && !isAliasRecord(matcher))\r\n matcherMap.set(matcher.record.name, matcher);\r\n }\r\n function resolve(location, currentLocation) {\r\n let matcher;\r\n let params = {};\r\n let path;\r\n let name;\r\n if ('name' in location && location.name) {\r\n matcher = matcherMap.get(location.name);\r\n if (!matcher)\r\n throw createRouterError(1 /* ErrorTypes.MATCHER_NOT_FOUND */, {\r\n location,\r\n });\r\n // warn if the user is passing invalid params so they can debug it better when they get removed\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const invalidParams = Object.keys(location.params || {}).filter(paramName => !matcher.keys.find(k => k.name === paramName));\r\n if (invalidParams.length) {\r\n warn(`Discarded invalid param(s) \"${invalidParams.join('\", \"')}\" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);\r\n }\r\n }\r\n name = matcher.record.name;\r\n params = assign(\r\n // paramsFromLocation is a new object\r\n paramsFromLocation(currentLocation.params, \r\n // only keep params that exist in the resolved location\r\n // TODO: only keep optional params coming from a parent record\r\n matcher.keys.filter(k => !k.optional).map(k => k.name)), \r\n // discard any existing params in the current location that do not exist here\r\n // #1497 this ensures better active/exact matching\r\n location.params &&\r\n paramsFromLocation(location.params, matcher.keys.map(k => k.name)));\r\n // throws if cannot be stringified\r\n path = matcher.stringify(params);\r\n }\r\n else if ('path' in location) {\r\n // no need to resolve the path with the matcher as it was provided\r\n // this also allows the user to control the encoding\r\n path = location.path;\r\n if ((process.env.NODE_ENV !== 'production') && !path.startsWith('/')) {\r\n warn(`The Matcher cannot resolve relative paths but received \"${path}\". Unless you directly called \\`matcher.resolve(\"${path}\")\\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/router.`);\r\n }\r\n matcher = matchers.find(m => m.re.test(path));\r\n // matcher should have a value after the loop\r\n if (matcher) {\r\n // we know the matcher works because we tested the regexp\r\n params = matcher.parse(path);\r\n name = matcher.record.name;\r\n }\r\n // location is a relative path\r\n }\r\n else {\r\n // match by name or path of current route\r\n matcher = currentLocation.name\r\n ? matcherMap.get(currentLocation.name)\r\n : matchers.find(m => m.re.test(currentLocation.path));\r\n if (!matcher)\r\n throw createRouterError(1 /* ErrorTypes.MATCHER_NOT_FOUND */, {\r\n location,\r\n currentLocation,\r\n });\r\n name = matcher.record.name;\r\n // since we are navigating to the same location, we don't need to pick the\r\n // params like when `name` is provided\r\n params = assign({}, currentLocation.params, location.params);\r\n path = matcher.stringify(params);\r\n }\r\n const matched = [];\r\n let parentMatcher = matcher;\r\n while (parentMatcher) {\r\n // reversed order so parents are at the beginning\r\n matched.unshift(parentMatcher.record);\r\n parentMatcher = parentMatcher.parent;\r\n }\r\n return {\r\n name,\r\n path,\r\n params,\r\n matched,\r\n meta: mergeMetaFields(matched),\r\n };\r\n }\r\n // add initial routes\r\n routes.forEach(route => addRoute(route));\r\n return { addRoute, resolve, removeRoute, getRoutes, getRecordMatcher };\r\n}\r\nfunction paramsFromLocation(params, keys) {\r\n const newParams = {};\r\n for (const key of keys) {\r\n if (key in params)\r\n newParams[key] = params[key];\r\n }\r\n return newParams;\r\n}\r\n/**\r\n * Normalizes a RouteRecordRaw. Creates a copy\r\n *\r\n * @param record\r\n * @returns the normalized version\r\n */\r\nfunction normalizeRouteRecord(record) {\r\n return {\r\n path: record.path,\r\n redirect: record.redirect,\r\n name: record.name,\r\n meta: record.meta || {},\r\n aliasOf: undefined,\r\n beforeEnter: record.beforeEnter,\r\n props: normalizeRecordProps(record),\r\n children: record.children || [],\r\n instances: {},\r\n leaveGuards: new Set(),\r\n updateGuards: new Set(),\r\n enterCallbacks: {},\r\n components: 'components' in record\r\n ? record.components || null\r\n : record.component && { default: record.component },\r\n };\r\n}\r\n/**\r\n * Normalize the optional `props` in a record to always be an object similar to\r\n * components. Also accept a boolean for components.\r\n * @param record\r\n */\r\nfunction normalizeRecordProps(record) {\r\n const propsObject = {};\r\n // props does not exist on redirect records, but we can set false directly\r\n const props = record.props || false;\r\n if ('component' in record) {\r\n propsObject.default = props;\r\n }\r\n else {\r\n // NOTE: we could also allow a function to be applied to every component.\r\n // Would need user feedback for use cases\r\n for (const name in record.components)\r\n propsObject[name] = typeof props === 'boolean' ? props : props[name];\r\n }\r\n return propsObject;\r\n}\r\n/**\r\n * Checks if a record or any of its parent is an alias\r\n * @param record\r\n */\r\nfunction isAliasRecord(record) {\r\n while (record) {\r\n if (record.record.aliasOf)\r\n return true;\r\n record = record.parent;\r\n }\r\n return false;\r\n}\r\n/**\r\n * Merge meta fields of an array of records\r\n *\r\n * @param matched - array of matched records\r\n */\r\nfunction mergeMetaFields(matched) {\r\n return matched.reduce((meta, record) => assign(meta, record.meta), {});\r\n}\r\nfunction mergeOptions(defaults, partialOptions) {\r\n const options = {};\r\n for (const key in defaults) {\r\n options[key] = key in partialOptions ? partialOptions[key] : defaults[key];\r\n }\r\n return options;\r\n}\r\nfunction isSameParam(a, b) {\r\n return (a.name === b.name &&\r\n a.optional === b.optional &&\r\n a.repeatable === b.repeatable);\r\n}\r\n/**\r\n * Check if a path and its alias have the same required params\r\n *\r\n * @param a - original record\r\n * @param b - alias record\r\n */\r\nfunction checkSameParams(a, b) {\r\n for (const key of a.keys) {\r\n if (!key.optional && !b.keys.find(isSameParam.bind(null, key)))\r\n return warn(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\r\n }\r\n for (const key of b.keys) {\r\n if (!key.optional && !a.keys.find(isSameParam.bind(null, key)))\r\n return warn(`Alias \"${b.record.path}\" and the original record: \"${a.record.path}\" must have the exact same param named \"${key.name}\"`);\r\n }\r\n}\r\n/**\r\n * A route with a name and a child with an empty path without a name should warn when adding the route\r\n *\r\n * @param mainNormalizedRecord - RouteRecordNormalized\r\n * @param parent - RouteRecordMatcher\r\n */\r\nfunction checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent) {\r\n if (parent &&\r\n parent.record.name &&\r\n !mainNormalizedRecord.name &&\r\n !mainNormalizedRecord.path) {\r\n warn(`The route named \"${String(parent.record.name)}\" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);\r\n }\r\n}\r\nfunction checkMissingParamsInAbsolutePath(record, parent) {\r\n for (const key of parent.keys) {\r\n if (!record.keys.find(isSameParam.bind(null, key)))\r\n return warn(`Absolute path \"${record.record.path}\" must have the exact same param named \"${key.name}\" as its parent \"${parent.record.path}\".`);\r\n }\r\n}\r\nfunction isRecordChildOf(record, parent) {\r\n return parent.children.some(child => child === record || isRecordChildOf(record, child));\r\n}\n\n/**\r\n * Encoding Rules ␣ = Space Path: ␣ \" < > # ? { } Query: ␣ \" < > # & = Hash: ␣ \"\r\n * < > `\r\n *\r\n * On top of that, the RFC3986 (https://tools.ietf.org/html/rfc3986#section-2.2)\r\n * defines some extra characters to be encoded. Most browsers do not encode them\r\n * in encodeURI https://github.com/whatwg/url/issues/369, so it may be safer to\r\n * also encode `!'()*`. Leaving un-encoded only ASCII alphanumeric(`a-zA-Z0-9`)\r\n * plus `-._~`. This extra safety should be applied to query by patching the\r\n * string returned by encodeURIComponent encodeURI also encodes `[\\]^`. `\\`\r\n * should be encoded to avoid ambiguity. Browsers (IE, FF, C) transform a `\\`\r\n * into a `/` if directly typed in. The _backtick_ (`````) should also be\r\n * encoded everywhere because some browsers like FF encode it when directly\r\n * written while others don't. Safari and IE don't encode ``\"<>{}``` in hash.\r\n */\r\n// const EXTRA_RESERVED_RE = /[!'()*]/g\r\n// const encodeReservedReplacer = (c: string) => '%' + c.charCodeAt(0).toString(16)\r\nconst HASH_RE = /#/g; // %23\r\nconst AMPERSAND_RE = /&/g; // %26\r\nconst SLASH_RE = /\\//g; // %2F\r\nconst EQUAL_RE = /=/g; // %3D\r\nconst IM_RE = /\\?/g; // %3F\r\nconst PLUS_RE = /\\+/g; // %2B\r\n/**\r\n * NOTE: It's not clear to me if we should encode the + symbol in queries, it\r\n * seems to be less flexible than not doing so and I can't find out the legacy\r\n * systems requiring this for regular requests like text/html. In the standard,\r\n * the encoding of the plus character is only mentioned for\r\n * application/x-www-form-urlencoded\r\n * (https://url.spec.whatwg.org/#urlencoded-parsing) and most browsers seems lo\r\n * leave the plus character as is in queries. To be more flexible, we allow the\r\n * plus character on the query, but it can also be manually encoded by the user.\r\n *\r\n * Resources:\r\n * - https://url.spec.whatwg.org/#urlencoded-parsing\r\n * - https://stackoverflow.com/questions/1634271/url-encoding-the-space-character-or-20\r\n */\r\nconst ENC_BRACKET_OPEN_RE = /%5B/g; // [\r\nconst ENC_BRACKET_CLOSE_RE = /%5D/g; // ]\r\nconst ENC_CARET_RE = /%5E/g; // ^\r\nconst ENC_BACKTICK_RE = /%60/g; // `\r\nconst ENC_CURLY_OPEN_RE = /%7B/g; // {\r\nconst ENC_PIPE_RE = /%7C/g; // |\r\nconst ENC_CURLY_CLOSE_RE = /%7D/g; // }\r\nconst ENC_SPACE_RE = /%20/g; // }\r\n/**\r\n * Encode characters that need to be encoded on the path, search and hash\r\n * sections of the URL.\r\n *\r\n * @internal\r\n * @param text - string to encode\r\n * @returns encoded string\r\n */\r\nfunction commonEncode(text) {\r\n return encodeURI('' + text)\r\n .replace(ENC_PIPE_RE, '|')\r\n .replace(ENC_BRACKET_OPEN_RE, '[')\r\n .replace(ENC_BRACKET_CLOSE_RE, ']');\r\n}\r\n/**\r\n * Encode characters that need to be encoded on the hash section of the URL.\r\n *\r\n * @param text - string to encode\r\n * @returns encoded string\r\n */\r\nfunction encodeHash(text) {\r\n return commonEncode(text)\r\n .replace(ENC_CURLY_OPEN_RE, '{')\r\n .replace(ENC_CURLY_CLOSE_RE, '}')\r\n .replace(ENC_CARET_RE, '^');\r\n}\r\n/**\r\n * Encode characters that need to be encoded query values on the query\r\n * section of the URL.\r\n *\r\n * @param text - string to encode\r\n * @returns encoded string\r\n */\r\nfunction encodeQueryValue(text) {\r\n return (commonEncode(text)\r\n // Encode the space as +, encode the + to differentiate it from the space\r\n .replace(PLUS_RE, '%2B')\r\n .replace(ENC_SPACE_RE, '+')\r\n .replace(HASH_RE, '%23')\r\n .replace(AMPERSAND_RE, '%26')\r\n .replace(ENC_BACKTICK_RE, '`')\r\n .replace(ENC_CURLY_OPEN_RE, '{')\r\n .replace(ENC_CURLY_CLOSE_RE, '}')\r\n .replace(ENC_CARET_RE, '^'));\r\n}\r\n/**\r\n * Like `encodeQueryValue` but also encodes the `=` character.\r\n *\r\n * @param text - string to encode\r\n */\r\nfunction encodeQueryKey(text) {\r\n return encodeQueryValue(text).replace(EQUAL_RE, '%3D');\r\n}\r\n/**\r\n * Encode characters that need to be encoded on the path section of the URL.\r\n *\r\n * @param text - string to encode\r\n * @returns encoded string\r\n */\r\nfunction encodePath(text) {\r\n return commonEncode(text).replace(HASH_RE, '%23').replace(IM_RE, '%3F');\r\n}\r\n/**\r\n * Encode characters that need to be encoded on the path section of the URL as a\r\n * param. This function encodes everything {@link encodePath} does plus the\r\n * slash (`/`) character. If `text` is `null` or `undefined`, returns an empty\r\n * string instead.\r\n *\r\n * @param text - string to encode\r\n * @returns encoded string\r\n */\r\nfunction encodeParam(text) {\r\n return text == null ? '' : encodePath(text).replace(SLASH_RE, '%2F');\r\n}\r\n/**\r\n * Decode text using `decodeURIComponent`. Returns the original text if it\r\n * fails.\r\n *\r\n * @param text - string to decode\r\n * @returns decoded string\r\n */\r\nfunction decode(text) {\r\n try {\r\n return decodeURIComponent('' + text);\r\n }\r\n catch (err) {\r\n (process.env.NODE_ENV !== 'production') && warn(`Error decoding \"${text}\". Using original value`);\r\n }\r\n return '' + text;\r\n}\n\n/**\r\n * Transforms a queryString into a {@link LocationQuery} object. Accept both, a\r\n * version with the leading `?` and without Should work as URLSearchParams\r\n\n * @internal\r\n *\r\n * @param search - search string to parse\r\n * @returns a query object\r\n */\r\nfunction parseQuery(search) {\r\n const query = {};\r\n // avoid creating an object with an empty key and empty value\r\n // because of split('&')\r\n if (search === '' || search === '?')\r\n return query;\r\n const hasLeadingIM = search[0] === '?';\r\n const searchParams = (hasLeadingIM ? search.slice(1) : search).split('&');\r\n for (let i = 0; i < searchParams.length; ++i) {\r\n // pre decode the + into space\r\n const searchParam = searchParams[i].replace(PLUS_RE, ' ');\r\n // allow the = character\r\n const eqPos = searchParam.indexOf('=');\r\n const key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));\r\n const value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));\r\n if (key in query) {\r\n // an extra variable for ts types\r\n let currentValue = query[key];\r\n if (!isArray(currentValue)) {\r\n currentValue = query[key] = [currentValue];\r\n }\r\n currentValue.push(value);\r\n }\r\n else {\r\n query[key] = value;\r\n }\r\n }\r\n return query;\r\n}\r\n/**\r\n * Stringifies a {@link LocationQueryRaw} object. Like `URLSearchParams`, it\r\n * doesn't prepend a `?`\r\n *\r\n * @internal\r\n *\r\n * @param query - query object to stringify\r\n * @returns string version of the query without the leading `?`\r\n */\r\nfunction stringifyQuery(query) {\r\n let search = '';\r\n for (let key in query) {\r\n const value = query[key];\r\n key = encodeQueryKey(key);\r\n if (value == null) {\r\n // only null adds the value\r\n if (value !== undefined) {\r\n search += (search.length ? '&' : '') + key;\r\n }\r\n continue;\r\n }\r\n // keep null values\r\n const values = isArray(value)\r\n ? value.map(v => v && encodeQueryValue(v))\r\n : [value && encodeQueryValue(value)];\r\n values.forEach(value => {\r\n // skip undefined values in arrays as if they were not present\r\n // smaller code than using filter\r\n if (value !== undefined) {\r\n // only append & with non-empty search\r\n search += (search.length ? '&' : '') + key;\r\n if (value != null)\r\n search += '=' + value;\r\n }\r\n });\r\n }\r\n return search;\r\n}\r\n/**\r\n * Transforms a {@link LocationQueryRaw} into a {@link LocationQuery} by casting\r\n * numbers into strings, removing keys with an undefined value and replacing\r\n * undefined with null in arrays\r\n *\r\n * @param query - query object to normalize\r\n * @returns a normalized query object\r\n */\r\nfunction normalizeQuery(query) {\r\n const normalizedQuery = {};\r\n for (const key in query) {\r\n const value = query[key];\r\n if (value !== undefined) {\r\n normalizedQuery[key] = isArray(value)\r\n ? value.map(v => (v == null ? null : '' + v))\r\n : value == null\r\n ? value\r\n : '' + value;\r\n }\r\n }\r\n return normalizedQuery;\r\n}\n\n/**\r\n * RouteRecord being rendered by the closest ancestor Router View. Used for\r\n * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View\r\n * Location Matched\r\n *\r\n * @internal\r\n */\r\nconst matchedRouteKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view location matched' : '');\r\n/**\r\n * Allows overriding the router view depth to control which component in\r\n * `matched` is rendered. rvd stands for Router View Depth\r\n *\r\n * @internal\r\n */\r\nconst viewDepthKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view depth' : '');\r\n/**\r\n * Allows overriding the router instance returned by `useRouter` in tests. r\r\n * stands for router\r\n *\r\n * @internal\r\n */\r\nconst routerKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router' : '');\r\n/**\r\n * Allows overriding the current route returned by `useRoute` in tests. rl\r\n * stands for route location\r\n *\r\n * @internal\r\n */\r\nconst routeLocationKey = Symbol((process.env.NODE_ENV !== 'production') ? 'route location' : '');\r\n/**\r\n * Allows overriding the current route used by router-view. Internally this is\r\n * used when the `route` prop is passed.\r\n *\r\n * @internal\r\n */\r\nconst routerViewLocationKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router view location' : '');\n\n/**\r\n * Create a list of callbacks that can be reset. Used to create before and after navigation guards list\r\n */\r\nfunction useCallbacks() {\r\n let handlers = [];\r\n function add(handler) {\r\n handlers.push(handler);\r\n return () => {\r\n const i = handlers.indexOf(handler);\r\n if (i > -1)\r\n handlers.splice(i, 1);\r\n };\r\n }\r\n function reset() {\r\n handlers = [];\r\n }\r\n return {\r\n add,\r\n list: () => handlers,\r\n reset,\r\n };\r\n}\n\nfunction registerGuard(record, name, guard) {\r\n const removeFromList = () => {\r\n record[name].delete(guard);\r\n };\r\n onUnmounted(removeFromList);\r\n onDeactivated(removeFromList);\r\n onActivated(() => {\r\n record[name].add(guard);\r\n });\r\n record[name].add(guard);\r\n}\r\n/**\r\n * Add a navigation guard that triggers whenever the component for the current\r\n * location is about to be left. Similar to {@link beforeRouteLeave} but can be\r\n * used in any component. The guard is removed when the component is unmounted.\r\n *\r\n * @param leaveGuard - {@link NavigationGuard}\r\n */\r\nfunction onBeforeRouteLeave(leaveGuard) {\r\n if ((process.env.NODE_ENV !== 'production') && !getCurrentInstance()) {\r\n warn('getCurrentInstance() returned null. onBeforeRouteLeave() must be called at the top of a setup function');\r\n return;\r\n }\r\n const activeRecord = inject(matchedRouteKey, \r\n // to avoid warning\r\n {}).value;\r\n if (!activeRecord) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn('No active route record was found when calling `onBeforeRouteLeave()`. Make sure you call this function inside a component child of <router-view>. Maybe you called it inside of App.vue?');\r\n return;\r\n }\r\n registerGuard(activeRecord, 'leaveGuards', leaveGuard);\r\n}\r\n/**\r\n * Add a navigation guard that triggers whenever the current location is about\r\n * to be updated. Similar to {@link beforeRouteUpdate} but can be used in any\r\n * component. The guard is removed when the component is unmounted.\r\n *\r\n * @param updateGuard - {@link NavigationGuard}\r\n */\r\nfunction onBeforeRouteUpdate(updateGuard) {\r\n if ((process.env.NODE_ENV !== 'production') && !getCurrentInstance()) {\r\n warn('getCurrentInstance() returned null. onBeforeRouteUpdate() must be called at the top of a setup function');\r\n return;\r\n }\r\n const activeRecord = inject(matchedRouteKey, \r\n // to avoid warning\r\n {}).value;\r\n if (!activeRecord) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn('No active route record was found when calling `onBeforeRouteUpdate()`. Make sure you call this function inside a component child of <router-view>. Maybe you called it inside of App.vue?');\r\n return;\r\n }\r\n registerGuard(activeRecord, 'updateGuards', updateGuard);\r\n}\r\nfunction guardToPromiseFn(guard, to, from, record, name) {\r\n // keep a reference to the enterCallbackArray to prevent pushing callbacks if a new navigation took place\r\n const enterCallbackArray = record &&\r\n // name is defined if record is because of the function overload\r\n (record.enterCallbacks[name] = record.enterCallbacks[name] || []);\r\n return () => new Promise((resolve, reject) => {\r\n const next = (valid) => {\r\n if (valid === false) {\r\n reject(createRouterError(4 /* ErrorTypes.NAVIGATION_ABORTED */, {\r\n from,\r\n to,\r\n }));\r\n }\r\n else if (valid instanceof Error) {\r\n reject(valid);\r\n }\r\n else if (isRouteLocation(valid)) {\r\n reject(createRouterError(2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */, {\r\n from: to,\r\n to: valid,\r\n }));\r\n }\r\n else {\r\n if (enterCallbackArray &&\r\n // since enterCallbackArray is truthy, both record and name also are\r\n record.enterCallbacks[name] === enterCallbackArray &&\r\n typeof valid === 'function') {\r\n enterCallbackArray.push(valid);\r\n }\r\n resolve();\r\n }\r\n };\r\n // wrapping with Promise.resolve allows it to work with both async and sync guards\r\n const guardReturn = guard.call(record && record.instances[name], to, from, (process.env.NODE_ENV !== 'production') ? canOnlyBeCalledOnce(next, to, from) : next);\r\n let guardCall = Promise.resolve(guardReturn);\r\n if (guard.length < 3)\r\n guardCall = guardCall.then(next);\r\n if ((process.env.NODE_ENV !== 'production') && guard.length > 2) {\r\n const message = `The \"next\" callback was never called inside of ${guard.name ? '\"' + guard.name + '\"' : ''}:\\n${guard.toString()}\\n. If you are returning a value instead of calling \"next\", make sure to remove the \"next\" parameter from your function.`;\r\n if (typeof guardReturn === 'object' && 'then' in guardReturn) {\r\n guardCall = guardCall.then(resolvedValue => {\r\n // @ts-expect-error: _called is added at canOnlyBeCalledOnce\r\n if (!next._called) {\r\n warn(message);\r\n return Promise.reject(new Error('Invalid navigation guard'));\r\n }\r\n return resolvedValue;\r\n });\r\n }\r\n else if (guardReturn !== undefined) {\r\n // @ts-expect-error: _called is added at canOnlyBeCalledOnce\r\n if (!next._called) {\r\n warn(message);\r\n reject(new Error('Invalid navigation guard'));\r\n return;\r\n }\r\n }\r\n }\r\n guardCall.catch(err => reject(err));\r\n });\r\n}\r\nfunction canOnlyBeCalledOnce(next, to, from) {\r\n let called = 0;\r\n return function () {\r\n if (called++ === 1)\r\n warn(`The \"next\" callback was called more than once in one navigation guard when going from \"${from.fullPath}\" to \"${to.fullPath}\". It should be called exactly one time in each navigation guard. This will fail in production.`);\r\n // @ts-expect-error: we put it in the original one because it's easier to check\r\n next._called = true;\r\n if (called === 1)\r\n next.apply(null, arguments);\r\n };\r\n}\r\nfunction extractComponentsGuards(matched, guardType, to, from) {\r\n const guards = [];\r\n for (const record of matched) {\r\n if ((process.env.NODE_ENV !== 'production') && !record.components && !record.children.length) {\r\n warn(`Record with path \"${record.path}\" is either missing a \"component(s)\"` +\r\n ` or \"children\" property.`);\r\n }\r\n for (const name in record.components) {\r\n let rawComponent = record.components[name];\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (!rawComponent ||\r\n (typeof rawComponent !== 'object' &&\r\n typeof rawComponent !== 'function')) {\r\n warn(`Component \"${name}\" in record with path \"${record.path}\" is not` +\r\n ` a valid component. Received \"${String(rawComponent)}\".`);\r\n // throw to ensure we stop here but warn to ensure the message isn't\r\n // missed by the user\r\n throw new Error('Invalid route component');\r\n }\r\n else if ('then' in rawComponent) {\r\n // warn if user wrote import('/component.vue') instead of () =>\r\n // import('./component.vue')\r\n warn(`Component \"${name}\" in record with path \"${record.path}\" is a ` +\r\n `Promise instead of a function that returns a Promise. Did you ` +\r\n `write \"import('./MyPage.vue')\" instead of ` +\r\n `\"() => import('./MyPage.vue')\" ? This will break in ` +\r\n `production if not fixed.`);\r\n const promise = rawComponent;\r\n rawComponent = () => promise;\r\n }\r\n else if (rawComponent.__asyncLoader &&\r\n // warn only once per component\r\n !rawComponent.__warnedDefineAsync) {\r\n rawComponent.__warnedDefineAsync = true;\r\n warn(`Component \"${name}\" in record with path \"${record.path}\" is defined ` +\r\n `using \"defineAsyncComponent()\". ` +\r\n `Write \"() => import('./MyPage.vue')\" instead of ` +\r\n `\"defineAsyncComponent(() => import('./MyPage.vue'))\".`);\r\n }\r\n }\r\n // skip update and leave guards if the route component is not mounted\r\n if (guardType !== 'beforeRouteEnter' && !record.instances[name])\r\n continue;\r\n if (isRouteComponent(rawComponent)) {\r\n // __vccOpts is added by vue-class-component and contain the regular options\r\n const options = rawComponent.__vccOpts || rawComponent;\r\n const guard = options[guardType];\r\n guard && guards.push(guardToPromiseFn(guard, to, from, record, name));\r\n }\r\n else {\r\n // start requesting the chunk already\r\n let componentPromise = rawComponent();\r\n if ((process.env.NODE_ENV !== 'production') && !('catch' in componentPromise)) {\r\n warn(`Component \"${name}\" in record with path \"${record.path}\" is a function that does not return a Promise. If you were passing a functional component, make sure to add a \"displayName\" to the component. This will break in production if not fixed.`);\r\n componentPromise = Promise.resolve(componentPromise);\r\n }\r\n guards.push(() => componentPromise.then(resolved => {\r\n if (!resolved)\r\n return Promise.reject(new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\"`));\r\n const resolvedComponent = isESModule(resolved)\r\n ? resolved.default\r\n : resolved;\r\n // replace the function with the resolved component\r\n // cannot be null or undefined because we went into the for loop\r\n record.components[name] = resolvedComponent;\r\n // __vccOpts is added by vue-class-component and contain the regular options\r\n const options = resolvedComponent.__vccOpts || resolvedComponent;\r\n const guard = options[guardType];\r\n return guard && guardToPromiseFn(guard, to, from, record, name)();\r\n }));\r\n }\r\n }\r\n }\r\n return guards;\r\n}\r\n/**\r\n * Allows differentiating lazy components from functional components and vue-class-component\r\n * @internal\r\n *\r\n * @param component\r\n */\r\nfunction isRouteComponent(component) {\r\n return (typeof component === 'object' ||\r\n 'displayName' in component ||\r\n 'props' in component ||\r\n '__vccOpts' in component);\r\n}\r\n/**\r\n * Ensures a route is loaded, so it can be passed as o prop to `<RouterView>`.\r\n *\r\n * @param route - resolved route to load\r\n */\r\nfunction loadRouteLocation(route) {\r\n return route.matched.every(record => record.redirect)\r\n ? Promise.reject(new Error('Cannot load a route that redirects.'))\r\n : Promise.all(route.matched.map(record => record.components &&\r\n Promise.all(Object.keys(record.components).reduce((promises, name) => {\r\n const rawComponent = record.components[name];\r\n if (typeof rawComponent === 'function' &&\r\n !('displayName' in rawComponent)) {\r\n promises.push(rawComponent().then(resolved => {\r\n if (!resolved)\r\n return Promise.reject(new Error(`Couldn't resolve component \"${name}\" at \"${record.path}\". Ensure you passed a function that returns a promise.`));\r\n const resolvedComponent = isESModule(resolved)\r\n ? resolved.default\r\n : resolved;\r\n // replace the function with the resolved component\r\n // cannot be null or undefined because we went into the for loop\r\n record.components[name] = resolvedComponent;\r\n return;\r\n }));\r\n }\r\n return promises;\r\n }, [])))).then(() => route);\r\n}\n\n// TODO: we could allow currentRoute as a prop to expose `isActive` and\r\n// `isExactActive` behavior should go through an RFC\r\nfunction useLink(props) {\r\n const router = inject(routerKey);\r\n const currentRoute = inject(routeLocationKey);\r\n const route = computed(() => router.resolve(unref(props.to)));\r\n const activeRecordIndex = computed(() => {\r\n const { matched } = route.value;\r\n const { length } = matched;\r\n const routeMatched = matched[length - 1];\r\n const currentMatched = currentRoute.matched;\r\n if (!routeMatched || !currentMatched.length)\r\n return -1;\r\n const index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));\r\n if (index > -1)\r\n return index;\r\n // possible parent record\r\n const parentRecordPath = getOriginalPath(matched[length - 2]);\r\n return (\r\n // we are dealing with nested routes\r\n length > 1 &&\r\n // if the parent and matched route have the same path, this link is\r\n // referring to the empty child. Or we currently are on a different\r\n // child of the same parent\r\n getOriginalPath(routeMatched) === parentRecordPath &&\r\n // avoid comparing the child with its parent\r\n currentMatched[currentMatched.length - 1].path !== parentRecordPath\r\n ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2]))\r\n : index);\r\n });\r\n const isActive = computed(() => activeRecordIndex.value > -1 &&\r\n includesParams(currentRoute.params, route.value.params));\r\n const isExactActive = computed(() => activeRecordIndex.value > -1 &&\r\n activeRecordIndex.value === currentRoute.matched.length - 1 &&\r\n isSameRouteLocationParams(currentRoute.params, route.value.params));\r\n function navigate(e = {}) {\r\n if (guardEvent(e)) {\r\n return router[unref(props.replace) ? 'replace' : 'push'](unref(props.to)\r\n // avoid uncaught errors are they are logged anyway\r\n ).catch(noop);\r\n }\r\n return Promise.resolve();\r\n }\r\n // devtools only\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && isBrowser) {\r\n const instance = getCurrentInstance();\r\n if (instance) {\r\n const linkContextDevtools = {\r\n route: route.value,\r\n isActive: isActive.value,\r\n isExactActive: isExactActive.value,\r\n };\r\n // @ts-expect-error: this is internal\r\n instance.__vrl_devtools = instance.__vrl_devtools || [];\r\n // @ts-expect-error: this is internal\r\n instance.__vrl_devtools.push(linkContextDevtools);\r\n watchEffect(() => {\r\n linkContextDevtools.route = route.value;\r\n linkContextDevtools.isActive = isActive.value;\r\n linkContextDevtools.isExactActive = isExactActive.value;\r\n }, { flush: 'post' });\r\n }\r\n }\r\n /**\r\n * NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this\r\n */\r\n return {\r\n route,\r\n href: computed(() => route.value.href),\r\n isActive,\r\n isExactActive,\r\n navigate,\r\n };\r\n}\r\nconst RouterLinkImpl = /*#__PURE__*/ defineComponent({\r\n name: 'RouterLink',\r\n compatConfig: { MODE: 3 },\r\n props: {\r\n to: {\r\n type: [String, Object],\r\n required: true,\r\n },\r\n replace: Boolean,\r\n activeClass: String,\r\n // inactiveClass: String,\r\n exactActiveClass: String,\r\n custom: Boolean,\r\n ariaCurrentValue: {\r\n type: String,\r\n default: 'page',\r\n },\r\n },\r\n useLink,\r\n setup(props, { slots }) {\r\n const link = reactive(useLink(props));\r\n const { options } = inject(routerKey);\r\n const elClass = computed(() => ({\r\n [getLinkClass(props.activeClass, options.linkActiveClass, 'router-link-active')]: link.isActive,\r\n // [getLinkClass(\r\n // props.inactiveClass,\r\n // options.linkInactiveClass,\r\n // 'router-link-inactive'\r\n // )]: !link.isExactActive,\r\n [getLinkClass(props.exactActiveClass, options.linkExactActiveClass, 'router-link-exact-active')]: link.isExactActive,\r\n }));\r\n return () => {\r\n const children = slots.default && slots.default(link);\r\n return props.custom\r\n ? children\r\n : h('a', {\r\n 'aria-current': link.isExactActive\r\n ? props.ariaCurrentValue\r\n : null,\r\n href: link.href,\r\n // this would override user added attrs but Vue will still add\r\n // the listener, so we end up triggering both\r\n onClick: link.navigate,\r\n class: elClass.value,\r\n }, children);\r\n };\r\n },\r\n});\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\n/**\r\n * Component to render a link that triggers a navigation on click.\r\n */\r\nconst RouterLink = RouterLinkImpl;\r\nfunction guardEvent(e) {\r\n // don't redirect with control keys\r\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)\r\n return;\r\n // don't redirect when preventDefault called\r\n if (e.defaultPrevented)\r\n return;\r\n // don't redirect on right click\r\n if (e.button !== undefined && e.button !== 0)\r\n return;\r\n // don't redirect if `target=\"_blank\"`\r\n // @ts-expect-error getAttribute does exist\r\n if (e.currentTarget && e.currentTarget.getAttribute) {\r\n // @ts-expect-error getAttribute exists\r\n const target = e.currentTarget.getAttribute('target');\r\n if (/\\b_blank\\b/i.test(target))\r\n return;\r\n }\r\n // this may be a Weex event which doesn't have this method\r\n if (e.preventDefault)\r\n e.preventDefault();\r\n return true;\r\n}\r\nfunction includesParams(outer, inner) {\r\n for (const key in inner) {\r\n const innerValue = inner[key];\r\n const outerValue = outer[key];\r\n if (typeof innerValue === 'string') {\r\n if (innerValue !== outerValue)\r\n return false;\r\n }\r\n else {\r\n if (!isArray(outerValue) ||\r\n outerValue.length !== innerValue.length ||\r\n innerValue.some((value, i) => value !== outerValue[i]))\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\n/**\r\n * Get the original path value of a record by following its aliasOf\r\n * @param record\r\n */\r\nfunction getOriginalPath(record) {\r\n return record ? (record.aliasOf ? record.aliasOf.path : record.path) : '';\r\n}\r\n/**\r\n * Utility class to get the active class based on defaults.\r\n * @param propClass\r\n * @param globalClass\r\n * @param defaultClass\r\n */\r\nconst getLinkClass = (propClass, globalClass, defaultClass) => propClass != null\r\n ? propClass\r\n : globalClass != null\r\n ? globalClass\r\n : defaultClass;\n\nconst RouterViewImpl = /*#__PURE__*/ defineComponent({\r\n name: 'RouterView',\r\n // #674 we manually inherit them\r\n inheritAttrs: false,\r\n props: {\r\n name: {\r\n type: String,\r\n default: 'default',\r\n },\r\n route: Object,\r\n },\r\n // Better compat for @vue/compat users\r\n // https://github.com/vuejs/router/issues/1315\r\n compatConfig: { MODE: 3 },\r\n setup(props, { attrs, slots }) {\r\n (process.env.NODE_ENV !== 'production') && warnDeprecatedUsage();\r\n const injectedRoute = inject(routerViewLocationKey);\r\n const routeToDisplay = computed(() => props.route || injectedRoute.value);\r\n const injectedDepth = inject(viewDepthKey, 0);\r\n // The depth changes based on empty components option, which allows passthrough routes e.g. routes with children\r\n // that are used to reuse the `path` property\r\n const depth = computed(() => {\r\n let initialDepth = unref(injectedDepth);\r\n const { matched } = routeToDisplay.value;\r\n let matchedRoute;\r\n while ((matchedRoute = matched[initialDepth]) &&\r\n !matchedRoute.components) {\r\n initialDepth++;\r\n }\r\n return initialDepth;\r\n });\r\n const matchedRouteRef = computed(() => routeToDisplay.value.matched[depth.value]);\r\n provide(viewDepthKey, computed(() => depth.value + 1));\r\n provide(matchedRouteKey, matchedRouteRef);\r\n provide(routerViewLocationKey, routeToDisplay);\r\n const viewRef = ref();\r\n // watch at the same time the component instance, the route record we are\r\n // rendering, and the name\r\n watch(() => [viewRef.value, matchedRouteRef.value, props.name], ([instance, to, name], [oldInstance, from, oldName]) => {\r\n // copy reused instances\r\n if (to) {\r\n // this will update the instance for new instances as well as reused\r\n // instances when navigating to a new route\r\n to.instances[name] = instance;\r\n // the component instance is reused for a different route or name, so\r\n // we copy any saved update or leave guards. With async setup, the\r\n // mounting component will mount before the matchedRoute changes,\r\n // making instance === oldInstance, so we check if guards have been\r\n // added before. This works because we remove guards when\r\n // unmounting/deactivating components\r\n if (from && from !== to && instance && instance === oldInstance) {\r\n if (!to.leaveGuards.size) {\r\n to.leaveGuards = from.leaveGuards;\r\n }\r\n if (!to.updateGuards.size) {\r\n to.updateGuards = from.updateGuards;\r\n }\r\n }\r\n }\r\n // trigger beforeRouteEnter next callbacks\r\n if (instance &&\r\n to &&\r\n // if there is no instance but to and from are the same this might be\r\n // the first visit\r\n (!from || !isSameRouteRecord(to, from) || !oldInstance)) {\r\n (to.enterCallbacks[name] || []).forEach(callback => callback(instance));\r\n }\r\n }, { flush: 'post' });\r\n return () => {\r\n const route = routeToDisplay.value;\r\n // we need the value at the time we render because when we unmount, we\r\n // navigated to a different location so the value is different\r\n const currentName = props.name;\r\n const matchedRoute = matchedRouteRef.value;\r\n const ViewComponent = matchedRoute && matchedRoute.components[currentName];\r\n if (!ViewComponent) {\r\n return normalizeSlot(slots.default, { Component: ViewComponent, route });\r\n }\r\n // props from route configuration\r\n const routePropsOption = matchedRoute.props[currentName];\r\n const routeProps = routePropsOption\r\n ? routePropsOption === true\r\n ? route.params\r\n : typeof routePropsOption === 'function'\r\n ? routePropsOption(route)\r\n : routePropsOption\r\n : null;\r\n const onVnodeUnmounted = vnode => {\r\n // remove the instance reference to prevent leak\r\n if (vnode.component.isUnmounted) {\r\n matchedRoute.instances[currentName] = null;\r\n }\r\n };\r\n const component = h(ViewComponent, assign({}, routeProps, attrs, {\r\n onVnodeUnmounted,\r\n ref: viewRef,\r\n }));\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n isBrowser &&\r\n component.ref) {\r\n // TODO: can display if it's an alias, its props\r\n const info = {\r\n depth: depth.value,\r\n name: matchedRoute.name,\r\n path: matchedRoute.path,\r\n meta: matchedRoute.meta,\r\n };\r\n const internalInstances = isArray(component.ref)\r\n ? component.ref.map(r => r.i)\r\n : [component.ref.i];\r\n internalInstances.forEach(instance => {\r\n // @ts-expect-error\r\n instance.__vrv_devtools = info;\r\n });\r\n }\r\n return (\r\n // pass the vnode to the slot as a prop.\r\n // h and <component :is=\"...\"> both accept vnodes\r\n normalizeSlot(slots.default, { Component: component, route }) ||\r\n component);\r\n };\r\n },\r\n});\r\nfunction normalizeSlot(slot, data) {\r\n if (!slot)\r\n return null;\r\n const slotContent = slot(data);\r\n return slotContent.length === 1 ? slotContent[0] : slotContent;\r\n}\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\n/**\r\n * Component to display the current route the user is at.\r\n */\r\nconst RouterView = RouterViewImpl;\r\n// warn against deprecated usage with <transition> & <keep-alive>\r\n// due to functional component being no longer eager in Vue 3\r\nfunction warnDeprecatedUsage() {\r\n const instance = getCurrentInstance();\r\n const parentName = instance.parent && instance.parent.type.name;\r\n if (parentName &&\r\n (parentName === 'KeepAlive' || parentName.includes('Transition'))) {\r\n const comp = parentName === 'KeepAlive' ? 'keep-alive' : 'transition';\r\n warn(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.\\n` +\r\n `Use slot props instead:\\n\\n` +\r\n `<router-view v-slot=\"{ Component }\">\\n` +\r\n ` <${comp}>\\n` +\r\n ` <component :is=\"Component\" />\\n` +\r\n ` </${comp}>\\n` +\r\n `</router-view>`);\r\n }\r\n}\n\n/**\r\n * Copies a route location and removes any problematic properties that cannot be shown in devtools (e.g. Vue instances).\r\n *\r\n * @param routeLocation - routeLocation to format\r\n * @param tooltip - optional tooltip\r\n * @returns a copy of the routeLocation\r\n */\r\nfunction formatRouteLocation(routeLocation, tooltip) {\r\n const copy = assign({}, routeLocation, {\r\n // remove variables that can contain vue instances\r\n matched: routeLocation.matched.map(matched => omit(matched, ['instances', 'children', 'aliasOf'])),\r\n });\r\n return {\r\n _custom: {\r\n type: null,\r\n readOnly: true,\r\n display: routeLocation.fullPath,\r\n tooltip,\r\n value: copy,\r\n },\r\n };\r\n}\r\nfunction formatDisplay(display) {\r\n return {\r\n _custom: {\r\n display,\r\n },\r\n };\r\n}\r\n// to support multiple router instances\r\nlet routerId = 0;\r\nfunction addDevtools(app, router, matcher) {\r\n // Take over router.beforeEach and afterEach\r\n // make sure we are not registering the devtool twice\r\n if (router.__hasDevtools)\r\n return;\r\n router.__hasDevtools = true;\r\n // increment to support multiple router instances\r\n const id = routerId++;\r\n setupDevtoolsPlugin({\r\n id: 'org.vuejs.router' + (id ? '.' + id : ''),\r\n label: 'Vue Router',\r\n packageName: 'vue-router',\r\n homepage: 'https://router.vuejs.org',\r\n logo: 'https://router.vuejs.org/logo.png',\r\n componentStateTypes: ['Routing'],\r\n app,\r\n }, api => {\r\n if (typeof api.now !== 'function') {\r\n console.warn('[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.');\r\n }\r\n // display state added by the router\r\n api.on.inspectComponent((payload, ctx) => {\r\n if (payload.instanceData) {\r\n payload.instanceData.state.push({\r\n type: 'Routing',\r\n key: '$route',\r\n editable: false,\r\n value: formatRouteLocation(router.currentRoute.value, 'Current Route'),\r\n });\r\n }\r\n });\r\n // mark router-link as active and display tags on router views\r\n api.on.visitComponentTree(({ treeNode: node, componentInstance }) => {\r\n if (componentInstance.__vrv_devtools) {\r\n const info = componentInstance.__vrv_devtools;\r\n node.tags.push({\r\n label: (info.name ? `${info.name.toString()}: ` : '') + info.path,\r\n textColor: 0,\r\n tooltip: 'This component is rendered by <router-view>',\r\n backgroundColor: PINK_500,\r\n });\r\n }\r\n // if multiple useLink are used\r\n if (isArray(componentInstance.__vrl_devtools)) {\r\n componentInstance.__devtoolsApi = api;\r\n componentInstance.__vrl_devtools.forEach(devtoolsData => {\r\n let backgroundColor = ORANGE_400;\r\n let tooltip = '';\r\n if (devtoolsData.isExactActive) {\r\n backgroundColor = LIME_500;\r\n tooltip = 'This is exactly active';\r\n }\r\n else if (devtoolsData.isActive) {\r\n backgroundColor = BLUE_600;\r\n tooltip = 'This link is active';\r\n }\r\n node.tags.push({\r\n label: devtoolsData.route.path,\r\n textColor: 0,\r\n tooltip,\r\n backgroundColor,\r\n });\r\n });\r\n }\r\n });\r\n watch(router.currentRoute, () => {\r\n // refresh active state\r\n refreshRoutesView();\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(routerInspectorId);\r\n api.sendInspectorState(routerInspectorId);\r\n });\r\n const navigationsLayerId = 'router:navigations:' + id;\r\n api.addTimelineLayer({\r\n id: navigationsLayerId,\r\n label: `Router${id ? ' ' + id : ''} Navigations`,\r\n color: 0x40a8c4,\r\n });\r\n // const errorsLayerId = 'router:errors'\r\n // api.addTimelineLayer({\r\n // id: errorsLayerId,\r\n // label: 'Router Errors',\r\n // color: 0xea5455,\r\n // })\r\n router.onError((error, to) => {\r\n api.addTimelineEvent({\r\n layerId: navigationsLayerId,\r\n event: {\r\n title: 'Error during Navigation',\r\n subtitle: to.fullPath,\r\n logType: 'error',\r\n time: api.now(),\r\n data: { error },\r\n groupId: to.meta.__navigationId,\r\n },\r\n });\r\n });\r\n // attached to `meta` and used to group events\r\n let navigationId = 0;\r\n router.beforeEach((to, from) => {\r\n const data = {\r\n guard: formatDisplay('beforeEach'),\r\n from: formatRouteLocation(from, 'Current Location during this navigation'),\r\n to: formatRouteLocation(to, 'Target location'),\r\n };\r\n // Used to group navigations together, hide from devtools\r\n Object.defineProperty(to.meta, '__navigationId', {\r\n value: navigationId++,\r\n });\r\n api.addTimelineEvent({\r\n layerId: navigationsLayerId,\r\n event: {\r\n time: api.now(),\r\n title: 'Start of navigation',\r\n subtitle: to.fullPath,\r\n data,\r\n groupId: to.meta.__navigationId,\r\n },\r\n });\r\n });\r\n router.afterEach((to, from, failure) => {\r\n const data = {\r\n guard: formatDisplay('afterEach'),\r\n };\r\n if (failure) {\r\n data.failure = {\r\n _custom: {\r\n type: Error,\r\n readOnly: true,\r\n display: failure ? failure.message : '',\r\n tooltip: 'Navigation Failure',\r\n value: failure,\r\n },\r\n };\r\n data.status = formatDisplay('❌');\r\n }\r\n else {\r\n data.status = formatDisplay('✅');\r\n }\r\n // we set here to have the right order\r\n data.from = formatRouteLocation(from, 'Current Location during this navigation');\r\n data.to = formatRouteLocation(to, 'Target location');\r\n api.addTimelineEvent({\r\n layerId: navigationsLayerId,\r\n event: {\r\n title: 'End of navigation',\r\n subtitle: to.fullPath,\r\n time: api.now(),\r\n data,\r\n logType: failure ? 'warning' : 'default',\r\n groupId: to.meta.__navigationId,\r\n },\r\n });\r\n });\r\n /**\r\n * Inspector of Existing routes\r\n */\r\n const routerInspectorId = 'router-inspector:' + id;\r\n api.addInspector({\r\n id: routerInspectorId,\r\n label: 'Routes' + (id ? ' ' + id : ''),\r\n icon: 'book',\r\n treeFilterPlaceholder: 'Search routes',\r\n });\r\n function refreshRoutesView() {\r\n // the routes view isn't active\r\n if (!activeRoutesPayload)\r\n return;\r\n const payload = activeRoutesPayload;\r\n // children routes will appear as nested\r\n let routes = matcher.getRoutes().filter(route => !route.parent);\r\n // reset match state to false\r\n routes.forEach(resetMatchStateOnRouteRecord);\r\n // apply a match state if there is a payload\r\n if (payload.filter) {\r\n routes = routes.filter(route => \r\n // save matches state based on the payload\r\n isRouteMatching(route, payload.filter.toLowerCase()));\r\n }\r\n // mark active routes\r\n routes.forEach(route => markRouteRecordActive(route, router.currentRoute.value));\r\n payload.rootNodes = routes.map(formatRouteRecordForInspector);\r\n }\r\n let activeRoutesPayload;\r\n api.on.getInspectorTree(payload => {\r\n activeRoutesPayload = payload;\r\n if (payload.app === app && payload.inspectorId === routerInspectorId) {\r\n refreshRoutesView();\r\n }\r\n });\r\n /**\r\n * Display information about the currently selected route record\r\n */\r\n api.on.getInspectorState(payload => {\r\n if (payload.app === app && payload.inspectorId === routerInspectorId) {\r\n const routes = matcher.getRoutes();\r\n const route = routes.find(route => route.record.__vd_id === payload.nodeId);\r\n if (route) {\r\n payload.state = {\r\n options: formatRouteRecordMatcherForStateInspector(route),\r\n };\r\n }\r\n }\r\n });\r\n api.sendInspectorTree(routerInspectorId);\r\n api.sendInspectorState(routerInspectorId);\r\n });\r\n}\r\nfunction modifierForKey(key) {\r\n if (key.optional) {\r\n return key.repeatable ? '*' : '?';\r\n }\r\n else {\r\n return key.repeatable ? '+' : '';\r\n }\r\n}\r\nfunction formatRouteRecordMatcherForStateInspector(route) {\r\n const { record } = route;\r\n const fields = [\r\n { editable: false, key: 'path', value: record.path },\r\n ];\r\n if (record.name != null) {\r\n fields.push({\r\n editable: false,\r\n key: 'name',\r\n value: record.name,\r\n });\r\n }\r\n fields.push({ editable: false, key: 'regexp', value: route.re });\r\n if (route.keys.length) {\r\n fields.push({\r\n editable: false,\r\n key: 'keys',\r\n value: {\r\n _custom: {\r\n type: null,\r\n readOnly: true,\r\n display: route.keys\r\n .map(key => `${key.name}${modifierForKey(key)}`)\r\n .join(' '),\r\n tooltip: 'Param keys',\r\n value: route.keys,\r\n },\r\n },\r\n });\r\n }\r\n if (record.redirect != null) {\r\n fields.push({\r\n editable: false,\r\n key: 'redirect',\r\n value: record.redirect,\r\n });\r\n }\r\n if (route.alias.length) {\r\n fields.push({\r\n editable: false,\r\n key: 'aliases',\r\n value: route.alias.map(alias => alias.record.path),\r\n });\r\n }\r\n if (Object.keys(route.record.meta).length) {\r\n fields.push({\r\n editable: false,\r\n key: 'meta',\r\n value: route.record.meta,\r\n });\r\n }\r\n fields.push({\r\n key: 'score',\r\n editable: false,\r\n value: {\r\n _custom: {\r\n type: null,\r\n readOnly: true,\r\n display: route.score.map(score => score.join(', ')).join(' | '),\r\n tooltip: 'Score used to sort routes',\r\n value: route.score,\r\n },\r\n },\r\n });\r\n return fields;\r\n}\r\n/**\r\n * Extracted from tailwind palette\r\n */\r\nconst PINK_500 = 0xec4899;\r\nconst BLUE_600 = 0x2563eb;\r\nconst LIME_500 = 0x84cc16;\r\nconst CYAN_400 = 0x22d3ee;\r\nconst ORANGE_400 = 0xfb923c;\r\n// const GRAY_100 = 0xf4f4f5\r\nconst DARK = 0x666666;\r\nfunction formatRouteRecordForInspector(route) {\r\n const tags = [];\r\n const { record } = route;\r\n if (record.name != null) {\r\n tags.push({\r\n label: String(record.name),\r\n textColor: 0,\r\n backgroundColor: CYAN_400,\r\n });\r\n }\r\n if (record.aliasOf) {\r\n tags.push({\r\n label: 'alias',\r\n textColor: 0,\r\n backgroundColor: ORANGE_400,\r\n });\r\n }\r\n if (route.__vd_match) {\r\n tags.push({\r\n label: 'matches',\r\n textColor: 0,\r\n backgroundColor: PINK_500,\r\n });\r\n }\r\n if (route.__vd_exactActive) {\r\n tags.push({\r\n label: 'exact',\r\n textColor: 0,\r\n backgroundColor: LIME_500,\r\n });\r\n }\r\n if (route.__vd_active) {\r\n tags.push({\r\n label: 'active',\r\n textColor: 0,\r\n backgroundColor: BLUE_600,\r\n });\r\n }\r\n if (record.redirect) {\r\n tags.push({\r\n label: typeof record.redirect === 'string'\r\n ? `redirect: ${record.redirect}`\r\n : 'redirects',\r\n textColor: 0xffffff,\r\n backgroundColor: DARK,\r\n });\r\n }\r\n // add an id to be able to select it. Using the `path` is not possible because\r\n // empty path children would collide with their parents\r\n let id = record.__vd_id;\r\n if (id == null) {\r\n id = String(routeRecordId++);\r\n record.__vd_id = id;\r\n }\r\n return {\r\n id,\r\n label: record.path,\r\n tags,\r\n children: route.children.map(formatRouteRecordForInspector),\r\n };\r\n}\r\n// incremental id for route records and inspector state\r\nlet routeRecordId = 0;\r\nconst EXTRACT_REGEXP_RE = /^\\/(.*)\\/([a-z]*)$/;\r\nfunction markRouteRecordActive(route, currentRoute) {\r\n // no route will be active if matched is empty\r\n // reset the matching state\r\n const isExactActive = currentRoute.matched.length &&\r\n isSameRouteRecord(currentRoute.matched[currentRoute.matched.length - 1], route.record);\r\n route.__vd_exactActive = route.__vd_active = isExactActive;\r\n if (!isExactActive) {\r\n route.__vd_active = currentRoute.matched.some(match => isSameRouteRecord(match, route.record));\r\n }\r\n route.children.forEach(childRoute => markRouteRecordActive(childRoute, currentRoute));\r\n}\r\nfunction resetMatchStateOnRouteRecord(route) {\r\n route.__vd_match = false;\r\n route.children.forEach(resetMatchStateOnRouteRecord);\r\n}\r\nfunction isRouteMatching(route, filter) {\r\n const found = String(route.re).match(EXTRACT_REGEXP_RE);\r\n route.__vd_match = false;\r\n if (!found || found.length < 3) {\r\n return false;\r\n }\r\n // use a regexp without $ at the end to match nested routes better\r\n const nonEndingRE = new RegExp(found[1].replace(/\\$$/, ''), found[2]);\r\n if (nonEndingRE.test(filter)) {\r\n // mark children as matches\r\n route.children.forEach(child => isRouteMatching(child, filter));\r\n // exception case: `/`\r\n if (route.record.path !== '/' || filter === '/') {\r\n route.__vd_match = route.re.test(filter);\r\n return true;\r\n }\r\n // hide the / route\r\n return false;\r\n }\r\n const path = route.record.path.toLowerCase();\r\n const decodedPath = decode(path);\r\n // also allow partial matching on the path\r\n if (!filter.startsWith('/') &&\r\n (decodedPath.includes(filter) || path.includes(filter)))\r\n return true;\r\n if (decodedPath.startsWith(filter) || path.startsWith(filter))\r\n return true;\r\n if (route.record.name && String(route.record.name).includes(filter))\r\n return true;\r\n return route.children.some(child => isRouteMatching(child, filter));\r\n}\r\nfunction omit(obj, keys) {\r\n const ret = {};\r\n for (const key in obj) {\r\n if (!keys.includes(key)) {\r\n // @ts-expect-error\r\n ret[key] = obj[key];\r\n }\r\n }\r\n return ret;\r\n}\n\n/**\r\n * Creates a Router instance that can be used by a Vue app.\r\n *\r\n * @param options - {@link RouterOptions}\r\n */\r\nfunction createRouter(options) {\r\n const matcher = createRouterMatcher(options.routes, options);\r\n const parseQuery$1 = options.parseQuery || parseQuery;\r\n const stringifyQuery$1 = options.stringifyQuery || stringifyQuery;\r\n const routerHistory = options.history;\r\n if ((process.env.NODE_ENV !== 'production') && !routerHistory)\r\n throw new Error('Provide the \"history\" option when calling \"createRouter()\":' +\r\n ' https://next.router.vuejs.org/api/#history.');\r\n const beforeGuards = useCallbacks();\r\n const beforeResolveGuards = useCallbacks();\r\n const afterGuards = useCallbacks();\r\n const currentRoute = shallowRef(START_LOCATION_NORMALIZED);\r\n let pendingLocation = START_LOCATION_NORMALIZED;\r\n // leave the scrollRestoration if no scrollBehavior is provided\r\n if (isBrowser && options.scrollBehavior && 'scrollRestoration' in history) {\r\n history.scrollRestoration = 'manual';\r\n }\r\n const normalizeParams = applyToParams.bind(null, paramValue => '' + paramValue);\r\n const encodeParams = applyToParams.bind(null, encodeParam);\r\n const decodeParams = \r\n // @ts-expect-error: intentionally avoid the type check\r\n applyToParams.bind(null, decode);\r\n function addRoute(parentOrRoute, route) {\r\n let parent;\r\n let record;\r\n if (isRouteName(parentOrRoute)) {\r\n parent = matcher.getRecordMatcher(parentOrRoute);\r\n record = route;\r\n }\r\n else {\r\n record = parentOrRoute;\r\n }\r\n return matcher.addRoute(record, parent);\r\n }\r\n function removeRoute(name) {\r\n const recordMatcher = matcher.getRecordMatcher(name);\r\n if (recordMatcher) {\r\n matcher.removeRoute(recordMatcher);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Cannot remove non-existent route \"${String(name)}\"`);\r\n }\r\n }\r\n function getRoutes() {\r\n return matcher.getRoutes().map(routeMatcher => routeMatcher.record);\r\n }\r\n function hasRoute(name) {\r\n return !!matcher.getRecordMatcher(name);\r\n }\r\n function resolve(rawLocation, currentLocation) {\r\n // const objectLocation = routerLocationAsObject(rawLocation)\r\n // we create a copy to modify it later\r\n currentLocation = assign({}, currentLocation || currentRoute.value);\r\n if (typeof rawLocation === 'string') {\r\n const locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);\r\n const matchedRoute = matcher.resolve({ path: locationNormalized.path }, currentLocation);\r\n const href = routerHistory.createHref(locationNormalized.fullPath);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (href.startsWith('//'))\r\n warn(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\r\n else if (!matchedRoute.matched.length) {\r\n warn(`No match found for location with path \"${rawLocation}\"`);\r\n }\r\n }\r\n // locationNormalized is always a new object\r\n return assign(locationNormalized, matchedRoute, {\r\n params: decodeParams(matchedRoute.params),\r\n hash: decode(locationNormalized.hash),\r\n redirectedFrom: undefined,\r\n href,\r\n });\r\n }\r\n let matcherLocation;\r\n // path could be relative in object as well\r\n if ('path' in rawLocation) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n 'params' in rawLocation &&\r\n !('name' in rawLocation) &&\r\n // @ts-expect-error: the type is never\r\n Object.keys(rawLocation.params).length) {\r\n warn(`Path \"${\r\n // @ts-expect-error: the type is never\r\n rawLocation.path}\" was passed with params but they will be ignored. Use a named route alongside params instead.`);\r\n }\r\n matcherLocation = assign({}, rawLocation, {\r\n path: parseURL(parseQuery$1, rawLocation.path, currentLocation.path).path,\r\n });\r\n }\r\n else {\r\n // remove any nullish param\r\n const targetParams = assign({}, rawLocation.params);\r\n for (const key in targetParams) {\r\n if (targetParams[key] == null) {\r\n delete targetParams[key];\r\n }\r\n }\r\n // pass encoded values to the matcher, so it can produce encoded path and fullPath\r\n matcherLocation = assign({}, rawLocation, {\r\n params: encodeParams(rawLocation.params),\r\n });\r\n // current location params are decoded, we need to encode them in case the\r\n // matcher merges the params\r\n currentLocation.params = encodeParams(currentLocation.params);\r\n }\r\n const matchedRoute = matcher.resolve(matcherLocation, currentLocation);\r\n const hash = rawLocation.hash || '';\r\n if ((process.env.NODE_ENV !== 'production') && hash && !hash.startsWith('#')) {\r\n warn(`A \\`hash\\` should always start with the character \"#\". Replace \"${hash}\" with \"#${hash}\".`);\r\n }\r\n // the matcher might have merged current location params, so\r\n // we need to run the decoding again\r\n matchedRoute.params = normalizeParams(decodeParams(matchedRoute.params));\r\n const fullPath = stringifyURL(stringifyQuery$1, assign({}, rawLocation, {\r\n hash: encodeHash(hash),\r\n path: matchedRoute.path,\r\n }));\r\n const href = routerHistory.createHref(fullPath);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (href.startsWith('//')) {\r\n warn(`Location \"${rawLocation}\" resolved to \"${href}\". A resolved location cannot start with multiple slashes.`);\r\n }\r\n else if (!matchedRoute.matched.length) {\r\n warn(`No match found for location with path \"${'path' in rawLocation ? rawLocation.path : rawLocation}\"`);\r\n }\r\n }\r\n return assign({\r\n fullPath,\r\n // keep the hash encoded so fullPath is effectively path + encodedQuery +\r\n // hash\r\n hash,\r\n query: \r\n // if the user is using a custom query lib like qs, we might have\r\n // nested objects, so we keep the query as is, meaning it can contain\r\n // numbers at `$route.query`, but at the point, the user will have to\r\n // use their own type anyway.\r\n // https://github.com/vuejs/router/issues/328#issuecomment-649481567\r\n stringifyQuery$1 === stringifyQuery\r\n ? normalizeQuery(rawLocation.query)\r\n : (rawLocation.query || {}),\r\n }, matchedRoute, {\r\n redirectedFrom: undefined,\r\n href,\r\n });\r\n }\r\n function locationAsObject(to) {\r\n return typeof to === 'string'\r\n ? parseURL(parseQuery$1, to, currentRoute.value.path)\r\n : assign({}, to);\r\n }\r\n function checkCanceledNavigation(to, from) {\r\n if (pendingLocation !== to) {\r\n return createRouterError(8 /* ErrorTypes.NAVIGATION_CANCELLED */, {\r\n from,\r\n to,\r\n });\r\n }\r\n }\r\n function push(to) {\r\n return pushWithRedirect(to);\r\n }\r\n function replace(to) {\r\n return push(assign(locationAsObject(to), { replace: true }));\r\n }\r\n function handleRedirectRecord(to) {\r\n const lastMatched = to.matched[to.matched.length - 1];\r\n if (lastMatched && lastMatched.redirect) {\r\n const { redirect } = lastMatched;\r\n let newTargetLocation = typeof redirect === 'function' ? redirect(to) : redirect;\r\n if (typeof newTargetLocation === 'string') {\r\n newTargetLocation =\r\n newTargetLocation.includes('?') || newTargetLocation.includes('#')\r\n ? (newTargetLocation = locationAsObject(newTargetLocation))\r\n : // force empty params\r\n { path: newTargetLocation };\r\n // @ts-expect-error: force empty params when a string is passed to let\r\n // the router parse them again\r\n newTargetLocation.params = {};\r\n }\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n !('path' in newTargetLocation) &&\r\n !('name' in newTargetLocation)) {\r\n warn(`Invalid redirect found:\\n${JSON.stringify(newTargetLocation, null, 2)}\\n when navigating to \"${to.fullPath}\". A redirect must contain a name or path. This will break in production.`);\r\n throw new Error('Invalid redirect');\r\n }\r\n return assign({\r\n query: to.query,\r\n hash: to.hash,\r\n // avoid transferring params if the redirect has a path\r\n params: 'path' in newTargetLocation ? {} : to.params,\r\n }, newTargetLocation);\r\n }\r\n }\r\n function pushWithRedirect(to, redirectedFrom) {\r\n const targetLocation = (pendingLocation = resolve(to));\r\n const from = currentRoute.value;\r\n const data = to.state;\r\n const force = to.force;\r\n // to could be a string where `replace` is a function\r\n const replace = to.replace === true;\r\n const shouldRedirect = handleRedirectRecord(targetLocation);\r\n if (shouldRedirect)\r\n return pushWithRedirect(assign(locationAsObject(shouldRedirect), {\r\n state: typeof shouldRedirect === 'object'\r\n ? assign({}, data, shouldRedirect.state)\r\n : data,\r\n force,\r\n replace,\r\n }), \r\n // keep original redirectedFrom if it exists\r\n redirectedFrom || targetLocation);\r\n // if it was a redirect we already called `pushWithRedirect` above\r\n const toLocation = targetLocation;\r\n toLocation.redirectedFrom = redirectedFrom;\r\n let failure;\r\n if (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {\r\n failure = createRouterError(16 /* ErrorTypes.NAVIGATION_DUPLICATED */, { to: toLocation, from });\r\n // trigger scroll to allow scrolling to the same anchor\r\n handleScroll(from, from, \r\n // this is a push, the only way for it to be triggered from a\r\n // history.listen is with a redirect, which makes it become a push\r\n true, \r\n // This cannot be the first navigation because the initial location\r\n // cannot be manually navigated to\r\n false);\r\n }\r\n return (failure ? Promise.resolve(failure) : navigate(toLocation, from))\r\n .catch((error) => isNavigationFailure(error)\r\n ? // navigation redirects still mark the router as ready\r\n isNavigationFailure(error, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)\r\n ? error\r\n : markAsReady(error) // also returns the error\r\n : // reject any unknown error\r\n triggerError(error, toLocation, from))\r\n .then((failure) => {\r\n if (failure) {\r\n if (isNavigationFailure(failure, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n // we are redirecting to the same location we were already at\r\n isSameRouteLocation(stringifyQuery$1, resolve(failure.to), toLocation) &&\r\n // and we have done it a couple of times\r\n redirectedFrom &&\r\n // @ts-expect-error: added only in dev\r\n (redirectedFrom._count = redirectedFrom._count\r\n ? // @ts-expect-error\r\n redirectedFrom._count + 1\r\n : 1) > 10) {\r\n warn(`Detected an infinite redirection in a navigation guard when going from \"${from.fullPath}\" to \"${toLocation.fullPath}\". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`);\r\n return Promise.reject(new Error('Infinite redirect in navigation guard'));\r\n }\r\n return pushWithRedirect(\r\n // keep options\r\n assign({\r\n // preserve an existing replacement but allow the redirect to override it\r\n replace,\r\n }, locationAsObject(failure.to), {\r\n state: typeof failure.to === 'object'\r\n ? assign({}, data, failure.to.state)\r\n : data,\r\n force,\r\n }), \r\n // preserve the original redirectedFrom if any\r\n redirectedFrom || toLocation);\r\n }\r\n }\r\n else {\r\n // if we fail we don't finalize the navigation\r\n failure = finalizeNavigation(toLocation, from, true, replace, data);\r\n }\r\n triggerAfterEach(toLocation, from, failure);\r\n return failure;\r\n });\r\n }\r\n /**\r\n * Helper to reject and skip all navigation guards if a new navigation happened\r\n * @param to\r\n * @param from\r\n */\r\n function checkCanceledNavigationAndReject(to, from) {\r\n const error = checkCanceledNavigation(to, from);\r\n return error ? Promise.reject(error) : Promise.resolve();\r\n }\r\n // TODO: refactor the whole before guards by internally using router.beforeEach\r\n function navigate(to, from) {\r\n let guards;\r\n const [leavingRecords, updatingRecords, enteringRecords] = extractChangingRecords(to, from);\r\n // all components here have been resolved once because we are leaving\r\n guards = extractComponentsGuards(leavingRecords.reverse(), 'beforeRouteLeave', to, from);\r\n // leavingRecords is already reversed\r\n for (const record of leavingRecords) {\r\n record.leaveGuards.forEach(guard => {\r\n guards.push(guardToPromiseFn(guard, to, from));\r\n });\r\n }\r\n const canceledNavigationCheck = checkCanceledNavigationAndReject.bind(null, to, from);\r\n guards.push(canceledNavigationCheck);\r\n // run the queue of per route beforeRouteLeave guards\r\n return (runGuardQueue(guards)\r\n .then(() => {\r\n // check global guards beforeEach\r\n guards = [];\r\n for (const guard of beforeGuards.list()) {\r\n guards.push(guardToPromiseFn(guard, to, from));\r\n }\r\n guards.push(canceledNavigationCheck);\r\n return runGuardQueue(guards);\r\n })\r\n .then(() => {\r\n // check in components beforeRouteUpdate\r\n guards = extractComponentsGuards(updatingRecords, 'beforeRouteUpdate', to, from);\r\n for (const record of updatingRecords) {\r\n record.updateGuards.forEach(guard => {\r\n guards.push(guardToPromiseFn(guard, to, from));\r\n });\r\n }\r\n guards.push(canceledNavigationCheck);\r\n // run the queue of per route beforeEnter guards\r\n return runGuardQueue(guards);\r\n })\r\n .then(() => {\r\n // check the route beforeEnter\r\n guards = [];\r\n for (const record of to.matched) {\r\n // do not trigger beforeEnter on reused views\r\n if (record.beforeEnter && !from.matched.includes(record)) {\r\n if (isArray(record.beforeEnter)) {\r\n for (const beforeEnter of record.beforeEnter)\r\n guards.push(guardToPromiseFn(beforeEnter, to, from));\r\n }\r\n else {\r\n guards.push(guardToPromiseFn(record.beforeEnter, to, from));\r\n }\r\n }\r\n }\r\n guards.push(canceledNavigationCheck);\r\n // run the queue of per route beforeEnter guards\r\n return runGuardQueue(guards);\r\n })\r\n .then(() => {\r\n // NOTE: at this point to.matched is normalized and does not contain any () => Promise<Component>\r\n // clear existing enterCallbacks, these are added by extractComponentsGuards\r\n to.matched.forEach(record => (record.enterCallbacks = {}));\r\n // check in-component beforeRouteEnter\r\n guards = extractComponentsGuards(enteringRecords, 'beforeRouteEnter', to, from);\r\n guards.push(canceledNavigationCheck);\r\n // run the queue of per route beforeEnter guards\r\n return runGuardQueue(guards);\r\n })\r\n .then(() => {\r\n // check global guards beforeResolve\r\n guards = [];\r\n for (const guard of beforeResolveGuards.list()) {\r\n guards.push(guardToPromiseFn(guard, to, from));\r\n }\r\n guards.push(canceledNavigationCheck);\r\n return runGuardQueue(guards);\r\n })\r\n // catch any navigation canceled\r\n .catch(err => isNavigationFailure(err, 8 /* ErrorTypes.NAVIGATION_CANCELLED */)\r\n ? err\r\n : Promise.reject(err)));\r\n }\r\n function triggerAfterEach(to, from, failure) {\r\n // navigation is confirmed, call afterGuards\r\n // TODO: wrap with error handlers\r\n for (const guard of afterGuards.list())\r\n guard(to, from, failure);\r\n }\r\n /**\r\n * - Cleans up any navigation guards\r\n * - Changes the url if necessary\r\n * - Calls the scrollBehavior\r\n */\r\n function finalizeNavigation(toLocation, from, isPush, replace, data) {\r\n // a more recent navigation took place\r\n const error = checkCanceledNavigation(toLocation, from);\r\n if (error)\r\n return error;\r\n // only consider as push if it's not the first navigation\r\n const isFirstNavigation = from === START_LOCATION_NORMALIZED;\r\n const state = !isBrowser ? {} : history.state;\r\n // change URL only if the user did a push/replace and if it's not the initial navigation because\r\n // it's just reflecting the url\r\n if (isPush) {\r\n // on the initial navigation, we want to reuse the scroll position from\r\n // history state if it exists\r\n if (replace || isFirstNavigation)\r\n routerHistory.replace(toLocation.fullPath, assign({\r\n scroll: isFirstNavigation && state && state.scroll,\r\n }, data));\r\n else\r\n routerHistory.push(toLocation.fullPath, data);\r\n }\r\n // accept current navigation\r\n currentRoute.value = toLocation;\r\n handleScroll(toLocation, from, isPush, isFirstNavigation);\r\n markAsReady();\r\n }\r\n let removeHistoryListener;\r\n // attach listener to history to trigger navigations\r\n function setupListeners() {\r\n // avoid setting up listeners twice due to an invalid first navigation\r\n if (removeHistoryListener)\r\n return;\r\n removeHistoryListener = routerHistory.listen((to, _from, info) => {\r\n if (!router.listening)\r\n return;\r\n // cannot be a redirect route because it was in history\r\n const toLocation = resolve(to);\r\n // due to dynamic routing, and to hash history with manual navigation\r\n // (manually changing the url or calling history.hash = '#/somewhere'),\r\n // there could be a redirect record in history\r\n const shouldRedirect = handleRedirectRecord(toLocation);\r\n if (shouldRedirect) {\r\n pushWithRedirect(assign(shouldRedirect, { replace: true }), toLocation).catch(noop);\r\n return;\r\n }\r\n pendingLocation = toLocation;\r\n const from = currentRoute.value;\r\n // TODO: should be moved to web history?\r\n if (isBrowser) {\r\n saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());\r\n }\r\n navigate(toLocation, from)\r\n .catch((error) => {\r\n if (isNavigationFailure(error, 4 /* ErrorTypes.NAVIGATION_ABORTED */ | 8 /* ErrorTypes.NAVIGATION_CANCELLED */)) {\r\n return error;\r\n }\r\n if (isNavigationFailure(error, 2 /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */)) {\r\n // Here we could call if (info.delta) routerHistory.go(-info.delta,\r\n // false) but this is bug prone as we have no way to wait the\r\n // navigation to be finished before calling pushWithRedirect. Using\r\n // a setTimeout of 16ms seems to work but there is no guarantee for\r\n // it to work on every browser. So instead we do not restore the\r\n // history entry and trigger a new navigation as requested by the\r\n // navigation guard.\r\n // the error is already handled by router.push we just want to avoid\r\n // logging the error\r\n pushWithRedirect(error.to, toLocation\r\n // avoid an uncaught rejection, let push call triggerError\r\n )\r\n .then(failure => {\r\n // manual change in hash history #916 ending up in the URL not\r\n // changing, but it was changed by the manual url change, so we\r\n // need to manually change it ourselves\r\n if (isNavigationFailure(failure, 4 /* ErrorTypes.NAVIGATION_ABORTED */ |\r\n 16 /* ErrorTypes.NAVIGATION_DUPLICATED */) &&\r\n !info.delta &&\r\n info.type === NavigationType.pop) {\r\n routerHistory.go(-1, false);\r\n }\r\n })\r\n .catch(noop);\r\n // avoid the then branch\r\n return Promise.reject();\r\n }\r\n // do not restore history on unknown direction\r\n if (info.delta) {\r\n routerHistory.go(-info.delta, false);\r\n }\r\n // unrecognized error, transfer to the global handler\r\n return triggerError(error, toLocation, from);\r\n })\r\n .then((failure) => {\r\n failure =\r\n failure ||\r\n finalizeNavigation(\r\n // after navigation, all matched components are resolved\r\n toLocation, from, false);\r\n // revert the navigation\r\n if (failure) {\r\n if (info.delta &&\r\n // a new navigation has been triggered, so we do not want to revert, that will change the current history\r\n // entry while a different route is displayed\r\n !isNavigationFailure(failure, 8 /* ErrorTypes.NAVIGATION_CANCELLED */)) {\r\n routerHistory.go(-info.delta, false);\r\n }\r\n else if (info.type === NavigationType.pop &&\r\n isNavigationFailure(failure, 4 /* ErrorTypes.NAVIGATION_ABORTED */ | 16 /* ErrorTypes.NAVIGATION_DUPLICATED */)) {\r\n // manual change in hash history #916\r\n // it's like a push but lacks the information of the direction\r\n routerHistory.go(-1, false);\r\n }\r\n }\r\n triggerAfterEach(toLocation, from, failure);\r\n })\r\n .catch(noop);\r\n });\r\n }\r\n // Initialization and Errors\r\n let readyHandlers = useCallbacks();\r\n let errorHandlers = useCallbacks();\r\n let ready;\r\n /**\r\n * Trigger errorHandlers added via onError and throws the error as well\r\n *\r\n * @param error - error to throw\r\n * @param to - location we were navigating to when the error happened\r\n * @param from - location we were navigating from when the error happened\r\n * @returns the error as a rejected promise\r\n */\r\n function triggerError(error, to, from) {\r\n markAsReady(error);\r\n const list = errorHandlers.list();\r\n if (list.length) {\r\n list.forEach(handler => handler(error, to, from));\r\n }\r\n else {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn('uncaught error during route navigation:');\r\n }\r\n console.error(error);\r\n }\r\n return Promise.reject(error);\r\n }\r\n function isReady() {\r\n if (ready && currentRoute.value !== START_LOCATION_NORMALIZED)\r\n return Promise.resolve();\r\n return new Promise((resolve, reject) => {\r\n readyHandlers.add([resolve, reject]);\r\n });\r\n }\r\n function markAsReady(err) {\r\n if (!ready) {\r\n // still not ready if an error happened\r\n ready = !err;\r\n setupListeners();\r\n readyHandlers\r\n .list()\r\n .forEach(([resolve, reject]) => (err ? reject(err) : resolve()));\r\n readyHandlers.reset();\r\n }\r\n return err;\r\n }\r\n // Scroll behavior\r\n function handleScroll(to, from, isPush, isFirstNavigation) {\r\n const { scrollBehavior } = options;\r\n if (!isBrowser || !scrollBehavior)\r\n return Promise.resolve();\r\n const scrollPosition = (!isPush && getSavedScrollPosition(getScrollKey(to.fullPath, 0))) ||\r\n ((isFirstNavigation || !isPush) &&\r\n history.state &&\r\n history.state.scroll) ||\r\n null;\r\n return nextTick()\r\n .then(() => scrollBehavior(to, from, scrollPosition))\r\n .then(position => position && scrollToPosition(position))\r\n .catch(err => triggerError(err, to, from));\r\n }\r\n const go = (delta) => routerHistory.go(delta);\r\n let started;\r\n const installedApps = new Set();\r\n const router = {\r\n currentRoute,\r\n listening: true,\r\n addRoute,\r\n removeRoute,\r\n hasRoute,\r\n getRoutes,\r\n resolve,\r\n options,\r\n push,\r\n replace,\r\n go,\r\n back: () => go(-1),\r\n forward: () => go(1),\r\n beforeEach: beforeGuards.add,\r\n beforeResolve: beforeResolveGuards.add,\r\n afterEach: afterGuards.add,\r\n onError: errorHandlers.add,\r\n isReady,\r\n install(app) {\r\n const router = this;\r\n app.component('RouterLink', RouterLink);\r\n app.component('RouterView', RouterView);\r\n app.config.globalProperties.$router = router;\r\n Object.defineProperty(app.config.globalProperties, '$route', {\r\n enumerable: true,\r\n get: () => unref(currentRoute),\r\n });\r\n // this initial navigation is only necessary on client, on server it doesn't\r\n // make sense because it will create an extra unnecessary navigation and could\r\n // lead to problems\r\n if (isBrowser &&\r\n // used for the initial navigation client side to avoid pushing\r\n // multiple times when the router is used in multiple apps\r\n !started &&\r\n currentRoute.value === START_LOCATION_NORMALIZED) {\r\n // see above\r\n started = true;\r\n push(routerHistory.location).catch(err => {\r\n if ((process.env.NODE_ENV !== 'production'))\r\n warn('Unexpected error when starting the router:', err);\r\n });\r\n }\r\n const reactiveRoute = {};\r\n for (const key in START_LOCATION_NORMALIZED) {\r\n // @ts-expect-error: the key matches\r\n reactiveRoute[key] = computed(() => currentRoute.value[key]);\r\n }\r\n app.provide(routerKey, router);\r\n app.provide(routeLocationKey, reactive(reactiveRoute));\r\n app.provide(routerViewLocationKey, currentRoute);\r\n const unmountApp = app.unmount;\r\n installedApps.add(app);\r\n app.unmount = function () {\r\n installedApps.delete(app);\r\n // the router is not attached to an app anymore\r\n if (installedApps.size < 1) {\r\n // invalidate the current navigation\r\n pendingLocation = START_LOCATION_NORMALIZED;\r\n removeHistoryListener && removeHistoryListener();\r\n removeHistoryListener = null;\r\n currentRoute.value = START_LOCATION_NORMALIZED;\r\n started = false;\r\n ready = false;\r\n }\r\n unmountApp();\r\n };\r\n // TODO: this probably needs to be updated so it can be used by vue-termui\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && isBrowser) {\r\n addDevtools(app, router, matcher);\r\n }\r\n },\r\n };\r\n return router;\r\n}\r\nfunction runGuardQueue(guards) {\r\n return guards.reduce((promise, guard) => promise.then(() => guard()), Promise.resolve());\r\n}\r\nfunction extractChangingRecords(to, from) {\r\n const leavingRecords = [];\r\n const updatingRecords = [];\r\n const enteringRecords = [];\r\n const len = Math.max(from.matched.length, to.matched.length);\r\n for (let i = 0; i < len; i++) {\r\n const recordFrom = from.matched[i];\r\n if (recordFrom) {\r\n if (to.matched.find(record => isSameRouteRecord(record, recordFrom)))\r\n updatingRecords.push(recordFrom);\r\n else\r\n leavingRecords.push(recordFrom);\r\n }\r\n const recordTo = to.matched[i];\r\n if (recordTo) {\r\n // the type doesn't matter because we are comparing per reference\r\n if (!from.matched.find(record => isSameRouteRecord(record, recordTo))) {\r\n enteringRecords.push(recordTo);\r\n }\r\n }\r\n }\r\n return [leavingRecords, updatingRecords, enteringRecords];\r\n}\n\n/**\r\n * Returns the router instance. Equivalent to using `$router` inside\r\n * templates.\r\n */\r\nfunction useRouter() {\r\n return inject(routerKey);\r\n}\r\n/**\r\n * Returns the current route location. Equivalent to using `$route` inside\r\n * templates.\r\n */\r\nfunction useRoute() {\r\n return inject(routeLocationKey);\r\n}\n\nexport { NavigationFailureType, RouterLink, RouterView, START_LOCATION_NORMALIZED as START_LOCATION, createMemoryHistory, createRouter, createRouterMatcher, createWebHashHistory, createWebHistory, isNavigationFailure, loadRouteLocation, matchedRouteKey, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, routeLocationKey, routerKey, routerViewLocationKey, stringifyQuery, useLink, useRoute, useRouter, viewDepthKey };\n","import * as Vue from 'vue'\n\nvar isVue2 = false\nvar isVue3 = true\nvar Vue2 = undefined\n\nfunction install() {}\n\nexport function set(target, key, val) {\n if (Array.isArray(target)) {\n target.length = Math.max(target.length, key)\n target.splice(key, 1, val)\n return val\n }\n target[key] = val\n return val\n}\n\nexport function del(target, key) {\n if (Array.isArray(target)) {\n target.splice(key, 1)\n return\n }\n delete target[key]\n}\n\nexport * from 'vue'\nexport {\n Vue,\n Vue2,\n isVue2,\n isVue3,\n install,\n}\n","import { shallowRef, watchEffect, readonly, ref, unref, isVue3, watch, customRef, effectScope, provide, inject, getCurrentScope, onScopeDispose, isRef, computed, reactive, toRefs as toRefs$1, toRef, isVue2, set as set$1, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive } from 'vue-demi';\n\nvar __defProp$9 = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, __spreadProps$6(__spreadValues$9({}, options), {\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n }));\n return readonly(result);\n}\n\nvar _a;\nconst isClient = typeof window !== \"undefined\";\nconst isDef = (val) => typeof val !== \"undefined\";\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isString = (val) => typeof val === \"string\";\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst isWindow = (val) => typeof window !== \"undefined\" && toString.call(val) === \"[object Window]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n filter(() => fn.apply(this, args), { fn, thisArg: this, args });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n const filter = (invoke) => {\n const duration = unref(ms);\n const maxDuration = unref(options.maxWait);\n if (timer)\n clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n clearTimeout(maxTimer);\n maxTimer = null;\n }\n return invoke();\n }\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n clearTimeout(timer);\n maxTimer = null;\n invoke();\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n clearTimeout(maxTimer);\n maxTimer = null;\n invoke();\n }, duration);\n };\n return filter;\n}\nfunction throttleFilter(ms, trailing = true, leading = true) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n };\n const filter = (invoke) => {\n const duration = unref(ms);\n const elapsed = Date.now() - lastExec;\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n clear();\n invoke();\n }, duration);\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive, pause, resume, eventFilter };\n}\n\nfunction __onlyVue3(name = \"this function\") {\n if (isVue3)\n return;\n throw new Error(`[VueUse] ${name} is only works on Vue 3.`);\n}\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?[0-9]+\\.?[0-9]*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n watch(source, update, { flush: \"sync\" });\n const get = isFunction(fn) ? fn : fn.get;\n const set = isFunction(fn) ? void 0 : fn.set;\n const result = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction createEventHook() {\n const fns = [];\n const off = (fn) => {\n const index = fns.indexOf(fn);\n if (index !== -1)\n fns.splice(index, 1);\n };\n const on = (fn) => {\n fns.push(fn);\n return {\n off: () => off(fn)\n };\n };\n const trigger = (param) => {\n fns.forEach((fn) => fn(param));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return () => {\n if (!initialized) {\n state = scope.run(stateFactory);\n initialized = true;\n }\n return state;\n };\n}\n\nfunction createInjectionState(composable) {\n const key = Symbol(\"InjectionState\");\n const useProvidingState = (...args) => {\n provide(key, composable(...args));\n };\n const useInjectedState = () => inject(key);\n return [useProvidingState, useInjectedState];\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n __onlyVue3();\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nfunction logicAnd(...args) {\n return computed(() => args.every((i) => unref(i)));\n}\n\nfunction logicNot(v) {\n return computed(() => !unref(v));\n}\n\nfunction logicOr(...args) {\n return computed(() => args.some((i) => unref(i)));\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = __spreadValues$8({}, obj);\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction reactify(fn) {\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unref(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj)) : value\n ];\n }));\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactiveComputed(() => Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactive(Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = defaultValue;\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = defaultValue;\n trigger();\n }, unref(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(debounceFilter(ms, options), fn);\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n if (ms <= 0)\n return value;\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = true, leading = true) {\n return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(ref, {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n }, { enumerable: true });\n}\nconst controlledRef = refWithControl;\n\nfunction resolveRef(r) {\n return typeof r === \"function\" ? computed(r) : ref(r);\n}\n\nfunction resolveUnref(r) {\n return typeof r === \"function\" ? r() : unref(r);\n}\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction syncRef(left, right, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\"\n } = options;\n let stop1, stop2;\n if (direction === \"both\" || direction === \"ltr\") {\n stop1 = watch(left, (newValue) => right.value = newValue, { flush, deep, immediate });\n }\n if (direction === \"both\" || direction === \"rtl\") {\n stop2 = watch(right, (newValue) => left.value = newValue, { flush, deep, immediate });\n }\n return () => {\n stop1 == null ? void 0 : stop1();\n stop2 == null ? void 0 : stop2();\n };\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(source, (newValue) => targets.forEach((target) => target.value = newValue), { flush, deep, immediate });\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction toRefs(objectRef) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? new Array(objectRef.value.length) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = __spreadProps$5(__spreadValues$7({}, objectRef.value), { [key]: v });\n Object.setPrototypeOf(newObject, objectRef.value);\n objectRef.value = newObject;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true) {\n if (getCurrentInstance())\n onBeforeMount(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn) {\n if (getCurrentInstance())\n onBeforeUnmount(fn);\n}\n\nfunction tryOnMounted(fn, sync = true) {\n if (getCurrentInstance())\n onMounted(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn) {\n if (getCurrentInstance())\n onUnmounted(fn);\n}\n\nfunction until(r) {\n let isNot = false;\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(r, (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => unref(r)).finally(() => stop == null ? void 0 : stop()));\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch([r, value], ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => unref(r)).finally(() => {\n stop == null ? void 0 : stop();\n return unref(r);\n }));\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(unref(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(unref(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n isNot = !isNot;\n return this;\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n isNot = !isNot;\n return this;\n }\n };\n return instance;\n }\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n const count = ref(initialValue);\n const {\n max = Infinity,\n min = -Infinity\n } = options;\n const inc = (delta = 1) => count.value = Math.min(max, count.value + delta);\n const dec = (delta = 1) => count.value = Math.max(min, count.value - delta);\n const get = () => count.value;\n const set = (val) => count.value = val;\n const reset = (val = initialValue) => {\n initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/;\nconst REGEX_FORMAT = /\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nconst formatDate = (date, formatStr) => {\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const matches = {\n YY: String(years).slice(-2),\n YYYY: years,\n M: month + 1,\n MM: `${month + 1}`.padStart(2, \"0\"),\n D: String(days),\n DD: `${days}`.padStart(2, \"0\"),\n H: String(hours),\n HH: `${hours}`.padStart(2, \"0\"),\n h: `${hours % 12 || 12}`.padStart(1, \"0\"),\n hh: `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: String(minutes),\n mm: `${minutes}`.padStart(2, \"0\"),\n s: String(seconds),\n ss: `${seconds}`.padStart(2, \"0\"),\n SSS: `${milliseconds}`.padStart(3, \"0\"),\n d: day\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => $1 || matches[match]);\n};\nconst normalizeDate = (date) => {\n if (date === null)\n return new Date(NaN);\n if (date === void 0)\n return new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n};\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\") {\n return computed(() => formatDate(normalizeDate(unref(date)), unref(formatStr)));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n if (unref(interval) <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, unref(interval));\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval)) {\n const stopWatch = watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true\n } = options;\n const counter = ref(0);\n const controls = useIntervalFn(() => counter.value += 1, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$6({\n counter\n }, controls);\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(source, () => ms.value = timestamp(), options);\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, unref(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending,\n start,\n stop\n };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false\n } = options;\n const controls = useTimeoutFn(noop, interval, options);\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return __spreadValues$5({\n ready\n }, controls);\n } else {\n return ready;\n }\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = isRef(initialValue);\n const innerValue = ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n innerValue.value = value;\n return innerValue.value;\n } else {\n innerValue.value = innerValue.value === unref(truthyValue) ? unref(falsyValue) : unref(truthyValue);\n return innerValue.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [innerValue, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [\n ...source instanceof Function ? source() : Array.isArray(source) ? source : unref(source)\n ];\n return watch(source, (newList, _, onCleanup) => {\n const oldListRemains = new Array(oldList.length);\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __objRest$5 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchWithFilter(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$5(_a, [\n \"eventFilter\"\n ]);\n return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);\n}\n\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __objRest$4 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchAtMost(source, cb, options) {\n const _a = options, {\n count\n } = _a, watchOptions = __objRest$4(_a, [\n \"count\"\n ]);\n const current = ref(0);\n const stop = watchWithFilter(source, (...args) => {\n current.value += 1;\n if (current.value >= unref(count))\n nextTick(() => stop());\n cb(...args);\n }, watchOptions);\n return { count: current, stop };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nvar __objRest$3 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchDebounced(source, cb, options = {}) {\n const _a = options, {\n debounce = 0,\n maxWait = void 0\n } = _a, watchOptions = __objRest$3(_a, [\n \"debounce\",\n \"maxWait\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$4(__spreadValues$4({}, watchOptions), {\n eventFilter: debounceFilter(debounce, { maxWait })\n }));\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchIgnorable(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$2(_a, [\n \"eventFilter\"\n ]);\n const filteredCb = createFilterWrapper(eventFilter, cb);\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(source, (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n }, watchOptions);\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(watch(source, () => {\n syncCounter.value++;\n }, __spreadProps$3(__spreadValues$3({}, watchOptions), { flush: \"sync\" })));\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(watch(source, (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n }, watchOptions));\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchPausable(source, cb, options = {}) {\n const _a = options, {\n eventFilter: filter\n } = _a, watchOptions = __objRest$1(_a, [\n \"eventFilter\"\n ]);\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(source, cb, __spreadProps$2(__spreadValues$2({}, watchOptions), {\n eventFilter\n }));\n return { stop, pause, resume, isActive };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchThrottled(source, cb, options = {}) {\n const _a = options, {\n throttle = 0,\n trailing = true,\n leading = true\n } = _a, watchOptions = __objRest(_a, [\n \"throttle\",\n \"trailing\",\n \"leading\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$1(__spreadValues$1({}, watchOptions), {\n eventFilter: throttleFilter(throttle, trailing, leading)\n }));\n}\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return __spreadProps(__spreadValues({}, res), {\n trigger\n });\n}\nfunction getWatchSources(sources) {\n if (isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => getOneWatchSource(item));\n return getOneWatchSource(sources);\n}\nfunction getOneWatchSource(source) {\n return typeof source === \"function\" ? source() : unref(source);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n return watch(source, (v, ov, onInvalidate) => {\n if (v)\n cb(v, ov, onInvalidate);\n }, options);\n}\n\nexport { __onlyVue3, logicAnd as and, assert, refAutoReset as autoResetRef, bypassFilter, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, identity, watchIgnorable as ignorableWatch, increaseWithUnit, invoke, isBoolean, isClient, isDef, isDefined, isFunction, isIOS, isNumber, isObject, isString, isWindow, logicAnd, logicNot, logicOr, makeDestructurable, noop, normalizeDate, logicNot as not, now, objectPick, logicOr as or, pausableFilter, watchPausable as pausableWatch, promiseTimeout, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToggle, watchArray, watchAtMost, watchDebounced, watchIgnorable, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };\n","import { noop, isClient, isString, tryOnScopeDispose, tryOnMounted, promiseTimeout, tryOnBeforeMount, increaseWithUnit, clamp, useTimeoutFn, pausableWatch, createEventHook, isFunction, timestamp, pausableFilter, watchIgnorable, debounceFilter, createFilterWrapper, bypassFilter, createSingletonPromise, toRefs, containsProp, until, isDef, throttleFilter, useDebounceFn, useThrottleFn, isObject, isNumber, useIntervalFn, syncRef, objectPick, tryOnUnmounted, isIOS, watchWithFilter, identity } from '@vueuse/shared';\nexport * from '@vueuse/shared';\nimport { isRef, ref, watchEffect, computed, inject, unref, watch, getCurrentInstance, customRef, onUpdated, reactive, shallowRef, onMounted, markRaw, getCurrentScope, readonly, nextTick, isVue2, set, del, onBeforeUpdate } from 'vue-demi';\n\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n let options;\n if (isRef(optionsOrRef)) {\n options = {\n evaluating: optionsOrRef\n };\n } else {\n options = optionsOrRef || {};\n }\n const {\n lazy = false,\n evaluating = void 0,\n onError = noop\n } = options;\n const started = ref(!lazy);\n const current = ref(initialState);\n let counter = 0;\n watchEffect(async (onInvalidate) => {\n if (!started.value)\n return;\n counter++;\n const counterAtBeginning = counter;\n let hasFinished = false;\n if (evaluating) {\n Promise.resolve().then(() => {\n evaluating.value = true;\n });\n }\n try {\n const result = await evaluationCallback((cancelCallback) => {\n onInvalidate(() => {\n if (evaluating)\n evaluating.value = false;\n if (!hasFinished)\n cancelCallback();\n });\n });\n if (counterAtBeginning === counter)\n current.value = result;\n } catch (e) {\n onError(e);\n } finally {\n if (evaluating && counterAtBeginning === counter)\n evaluating.value = false;\n hasFinished = true;\n }\n });\n if (lazy) {\n return computed(() => {\n started.value = true;\n return current.value;\n });\n } else {\n return current;\n }\n}\n\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n let source = inject(key);\n if (defaultSource)\n source = inject(key, defaultSource);\n if (treatDefaultAsFactory)\n source = inject(key, defaultSource, treatDefaultAsFactory);\n if (typeof options === \"function\") {\n return computed((ctx) => options(source, ctx));\n } else {\n return computed({\n get: (ctx) => options.get(source, ctx),\n set: options.set\n });\n }\n}\n\nconst createUnrefFn = (fn) => {\n return function(...args) {\n return fn.apply(this, args.map((i) => unref(i)));\n };\n};\n\nfunction unrefElement(elRef) {\n var _a;\n const plain = unref(elRef);\n return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;\n}\n\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\nfunction useEventListener(...args) {\n let target;\n let event;\n let listener;\n let options;\n if (isString(args[0])) {\n [event, listener, options] = args;\n target = defaultWindow;\n } else {\n [target, event, listener, options] = args;\n }\n if (!target)\n return noop;\n let cleanup = noop;\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (!el)\n return;\n el.addEventListener(event, listener, options);\n cleanup = () => {\n el.removeEventListener(event, listener, options);\n cleanup = noop;\n };\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n stopWatch();\n cleanup();\n };\n tryOnScopeDispose(stop);\n return stop;\n}\n\nfunction onClickOutside(target, handler, options = {}) {\n const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;\n if (!window)\n return;\n const shouldListen = ref(true);\n let fallback;\n const listener = (event) => {\n window.clearTimeout(fallback);\n const el = unrefElement(target);\n const composedPath = event.composedPath();\n if (!el || el === event.target || composedPath.includes(el) || !shouldListen.value)\n return;\n if (ignore && ignore.length > 0) {\n if (ignore.some((target2) => {\n const el2 = unrefElement(target2);\n return el2 && (event.target === el2 || composedPath.includes(el2));\n }))\n return;\n }\n handler(event);\n };\n const cleanup = [\n useEventListener(window, \"click\", listener, { passive: true, capture }),\n useEventListener(window, \"pointerdown\", (e) => {\n const el = unrefElement(target);\n shouldListen.value = !!el && !e.composedPath().includes(el);\n }, { passive: true }),\n useEventListener(window, \"pointerup\", (e) => {\n if (e.button === 0) {\n const path = e.composedPath();\n e.composedPath = () => path;\n fallback = window.setTimeout(() => listener(e), 50);\n }\n }, { passive: true }),\n detectIframe && useEventListener(window, \"blur\", (event) => {\n var _a;\n const el = unrefElement(target);\n if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === \"IFRAME\" && !(el == null ? void 0 : el.contains(document.activeElement)))\n handler(event);\n })\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nvar __defProp$j = Object.defineProperty;\nvar __defProps$8 = Object.defineProperties;\nvar __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$l = Object.getOwnPropertySymbols;\nvar __hasOwnProp$l = Object.prototype.hasOwnProperty;\nvar __propIsEnum$l = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$j = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n if (__getOwnPropSymbols$l)\n for (var prop of __getOwnPropSymbols$l(b)) {\n if (__propIsEnum$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));\nconst createKeyPredicate = (keyFilter) => {\n if (typeof keyFilter === \"function\")\n return keyFilter;\n else if (typeof keyFilter === \"string\")\n return (event) => event.key === keyFilter;\n else if (Array.isArray(keyFilter))\n return (event) => keyFilter.includes(event.key);\n else if (keyFilter)\n return () => true;\n else\n return () => false;\n};\nfunction onKeyStroke(key, handler, options = {}) {\n const { target = defaultWindow, eventName = \"keydown\", passive = false } = options;\n const predicate = createKeyPredicate(key);\n const listener = (e) => {\n if (predicate(e))\n handler(e);\n };\n return useEventListener(target, eventName, listener, passive);\n}\nfunction onKeyDown(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$8(__spreadValues$j({}, options), { eventName: \"keydown\" }));\n}\nfunction onKeyPressed(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$8(__spreadValues$j({}, options), { eventName: \"keypress\" }));\n}\nfunction onKeyUp(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$8(__spreadValues$j({}, options), { eventName: \"keyup\" }));\n}\n\nconst DEFAULT_DELAY = 500;\nfunction onLongPress(target, handler, options) {\n var _a, _b;\n const elementRef = computed(() => unrefElement(target));\n let timeout = null;\n function clear() {\n if (timeout != null) {\n clearTimeout(timeout);\n timeout = null;\n }\n }\n function onDown(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n clear();\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n timeout = setTimeout(() => handler(ev), (_d = options == null ? void 0 : options.delay) != null ? _d : DEFAULT_DELAY);\n }\n const listenerOptions = {\n capture: (_a = options == null ? void 0 : options.modifiers) == null ? void 0 : _a.capture,\n once: (_b = options == null ? void 0 : options.modifiers) == null ? void 0 : _b.once\n };\n useEventListener(elementRef, \"pointerdown\", onDown, listenerOptions);\n useEventListener(elementRef, \"pointerup\", clear, listenerOptions);\n useEventListener(elementRef, \"pointerleave\", clear, listenerOptions);\n}\n\nconst isFocusedElementEditable = () => {\n const { activeElement, body } = document;\n if (!activeElement)\n return false;\n if (activeElement === body)\n return false;\n switch (activeElement.tagName) {\n case \"INPUT\":\n case \"TEXTAREA\":\n return true;\n }\n return activeElement.hasAttribute(\"contenteditable\");\n};\nconst isTypedCharValid = ({\n keyCode,\n metaKey,\n ctrlKey,\n altKey\n}) => {\n if (metaKey || ctrlKey || altKey)\n return false;\n if (keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105)\n return true;\n if (keyCode >= 65 && keyCode <= 90)\n return true;\n return false;\n};\nfunction onStartTyping(callback, options = {}) {\n const { document: document2 = defaultDocument } = options;\n const keydown = (event) => {\n !isFocusedElementEditable() && isTypedCharValid(event) && callback(event);\n };\n if (document2)\n useEventListener(document2, \"keydown\", keydown, { passive: true });\n}\n\nfunction templateRef(key, initialValue = null) {\n const instance = getCurrentInstance();\n let _trigger = () => {\n };\n const element = customRef((track, trigger) => {\n _trigger = trigger;\n return {\n get() {\n var _a, _b;\n track();\n return (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$refs[key]) != null ? _b : initialValue;\n },\n set() {\n }\n };\n });\n tryOnMounted(_trigger);\n onUpdated(_trigger);\n return element;\n}\n\nfunction useActiveElement(options = {}) {\n const { window = defaultWindow } = options;\n const counter = ref(0);\n if (window) {\n useEventListener(window, \"blur\", () => counter.value += 1, true);\n useEventListener(window, \"focus\", () => counter.value += 1, true);\n }\n return computed(() => {\n counter.value;\n return window == null ? void 0 : window.document.activeElement;\n });\n}\n\nfunction useAsyncQueue(tasks, options = {}) {\n const {\n interrupt = true,\n onError = noop,\n onFinished = noop\n } = options;\n const promiseState = {\n pending: \"pending\",\n rejected: \"rejected\",\n fulfilled: \"fulfilled\"\n };\n const initialResult = Array.from(new Array(tasks.length), () => ({ state: promiseState.pending, data: null }));\n const result = reactive(initialResult);\n const activeIndex = ref(-1);\n if (!tasks || tasks.length === 0) {\n onFinished();\n return {\n activeIndex,\n result\n };\n }\n function updateResult(state, res) {\n activeIndex.value++;\n result[activeIndex.value].data = res;\n result[activeIndex.value].state = state;\n }\n tasks.reduce((prev, curr) => {\n return prev.then((prevRes) => {\n var _a;\n if (((_a = result[activeIndex.value]) == null ? void 0 : _a.state) === promiseState.rejected && interrupt) {\n onFinished();\n return;\n }\n return curr(prevRes).then((currentRes) => {\n updateResult(promiseState.fulfilled, currentRes);\n activeIndex.value === tasks.length - 1 && onFinished();\n return currentRes;\n });\n }).catch((e) => {\n updateResult(promiseState.rejected, e);\n onError();\n return e;\n });\n }, Promise.resolve());\n return {\n activeIndex,\n result\n };\n}\n\nfunction useAsyncState(promise, initialState, options) {\n const {\n immediate = true,\n delay = 0,\n onError = noop,\n resetOnExecute = true,\n shallow = true\n } = options != null ? options : {};\n const state = shallow ? shallowRef(initialState) : ref(initialState);\n const isReady = ref(false);\n const isLoading = ref(false);\n const error = ref(void 0);\n async function execute(delay2 = 0, ...args) {\n if (resetOnExecute)\n state.value = initialState;\n error.value = void 0;\n isReady.value = false;\n isLoading.value = true;\n if (delay2 > 0)\n await promiseTimeout(delay2);\n const _promise = typeof promise === \"function\" ? promise(...args) : promise;\n try {\n const data = await _promise;\n state.value = data;\n isReady.value = true;\n } catch (e) {\n error.value = e;\n onError(e);\n } finally {\n isLoading.value = false;\n }\n return state.value;\n }\n if (immediate)\n execute(delay);\n return {\n state,\n isReady,\n isLoading,\n error,\n execute\n };\n}\n\nconst defaults = {\n array: (v) => JSON.stringify(v),\n object: (v) => JSON.stringify(v),\n set: (v) => JSON.stringify(Array.from(v)),\n map: (v) => JSON.stringify(Object.fromEntries(v)),\n null: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n if (!target)\n return defaults.null;\n if (target instanceof Map)\n return defaults.map;\n else if (target instanceof Set)\n return defaults.set;\n else if (Array.isArray(target))\n return defaults.array;\n else\n return defaults.object;\n}\n\nfunction useBase64(target, options) {\n const base64 = ref(\"\");\n const promise = ref();\n function execute() {\n if (!isClient)\n return;\n promise.value = new Promise((resolve, reject) => {\n try {\n const _target = unref(target);\n if (_target == null) {\n resolve(\"\");\n } else if (typeof _target === \"string\") {\n resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n } else if (_target instanceof Blob) {\n resolve(blobToBase64(_target));\n } else if (_target instanceof ArrayBuffer) {\n resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n } else if (_target instanceof HTMLCanvasElement) {\n resolve(_target.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n } else if (_target instanceof HTMLImageElement) {\n const img = _target.cloneNode(false);\n img.crossOrigin = \"Anonymous\";\n imgLoaded(img).then(() => {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n canvas.width = img.width;\n canvas.height = img.height;\n ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n resolve(canvas.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n }).catch(reject);\n } else if (typeof _target === \"object\") {\n const _serializeFn = (options == null ? void 0 : options.serializer) || getDefaultSerialization(_target);\n const serialized = _serializeFn(_target);\n return resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n } else {\n reject(new Error(\"target is unsupported types\"));\n }\n } catch (error) {\n reject(error);\n }\n });\n promise.value.then((res) => base64.value = res);\n return promise.value;\n }\n if (isRef(target))\n watch(target, execute, { immediate: true });\n else\n execute();\n return {\n base64,\n promise,\n execute\n };\n}\nfunction imgLoaded(img) {\n return new Promise((resolve, reject) => {\n if (!img.complete) {\n img.onload = () => {\n resolve();\n };\n img.onerror = reject;\n } else {\n resolve();\n }\n });\n}\nfunction blobToBase64(blob) {\n return new Promise((resolve, reject) => {\n const fr = new FileReader();\n fr.onload = (e) => {\n resolve(e.target.result);\n };\n fr.onerror = reject;\n fr.readAsDataURL(blob);\n });\n}\n\nfunction useBattery({ navigator = defaultNavigator } = {}) {\n const events = [\"chargingchange\", \"chargingtimechange\", \"dischargingtimechange\", \"levelchange\"];\n const isSupported = navigator && \"getBattery\" in navigator;\n const charging = ref(false);\n const chargingTime = ref(0);\n const dischargingTime = ref(0);\n const level = ref(1);\n let battery;\n function updateBatteryInfo() {\n charging.value = this.charging;\n chargingTime.value = this.chargingTime || 0;\n dischargingTime.value = this.dischargingTime || 0;\n level.value = this.level;\n }\n if (isSupported) {\n navigator.getBattery().then((_battery) => {\n battery = _battery;\n updateBatteryInfo.call(battery);\n for (const event of events)\n useEventListener(battery, event, updateBatteryInfo, { passive: true });\n });\n }\n return {\n isSupported,\n charging,\n chargingTime,\n dischargingTime,\n level\n };\n}\n\nfunction useBluetooth(options) {\n let {\n acceptAllDevices = false\n } = options || {};\n const {\n filters = void 0,\n optionalServices = void 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = navigator && \"bluetooth\" in navigator;\n const device = ref(void 0);\n const error = ref(null);\n watch(device, () => {\n connectToBluetoothGATTServer();\n });\n async function requestDevice() {\n if (!isSupported)\n return;\n error.value = null;\n if (filters && filters.length > 0)\n acceptAllDevices = false;\n try {\n device.value = await (navigator == null ? void 0 : navigator.bluetooth.requestDevice({\n acceptAllDevices,\n filters,\n optionalServices\n }));\n } catch (err) {\n error.value = err;\n }\n }\n const server = ref();\n const isConnected = computed(() => {\n var _a;\n return ((_a = server.value) == null ? void 0 : _a.connected) || false;\n });\n async function connectToBluetoothGATTServer() {\n error.value = null;\n if (device.value && device.value.gatt) {\n device.value.addEventListener(\"gattserverdisconnected\", () => {\n });\n try {\n server.value = await device.value.gatt.connect();\n } catch (err) {\n error.value = err;\n }\n }\n }\n tryOnMounted(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.connect();\n });\n tryOnScopeDispose(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.disconnect();\n });\n return {\n isSupported,\n isConnected,\n device,\n requestDevice,\n server,\n error\n };\n}\n\nfunction useMediaQuery(query, options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = Boolean(window && \"matchMedia\" in window && typeof window.matchMedia === \"function\");\n let mediaQuery;\n const matches = ref(false);\n const update = () => {\n if (!isSupported)\n return;\n if (!mediaQuery)\n mediaQuery = window.matchMedia(query);\n matches.value = mediaQuery.matches;\n };\n tryOnBeforeMount(() => {\n update();\n if (!mediaQuery)\n return;\n if (\"addEventListener\" in mediaQuery)\n mediaQuery.addEventListener(\"change\", update);\n else\n mediaQuery.addListener(update);\n tryOnScopeDispose(() => {\n if (\"removeEventListener\" in mediaQuery)\n mediaQuery.removeEventListener(\"change\", update);\n else\n mediaQuery.removeListener(update);\n });\n });\n return matches;\n}\n\nconst breakpointsTailwind = {\n \"sm\": 640,\n \"md\": 768,\n \"lg\": 1024,\n \"xl\": 1280,\n \"2xl\": 1536\n};\nconst breakpointsBootstrapV5 = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400\n};\nconst breakpointsVuetify = {\n xs: 600,\n sm: 960,\n md: 1264,\n lg: 1904\n};\nconst breakpointsAntDesign = {\n xs: 480,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1600\n};\nconst breakpointsQuasar = {\n xs: 600,\n sm: 1024,\n md: 1440,\n lg: 1920\n};\nconst breakpointsSematic = {\n mobileS: 320,\n mobileM: 375,\n mobileL: 425,\n tablet: 768,\n laptop: 1024,\n laptopL: 1440,\n desktop4K: 2560\n};\n\nvar __defProp$i = Object.defineProperty;\nvar __getOwnPropSymbols$k = Object.getOwnPropertySymbols;\nvar __hasOwnProp$k = Object.prototype.hasOwnProperty;\nvar __propIsEnum$k = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$i = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n if (__getOwnPropSymbols$k)\n for (var prop of __getOwnPropSymbols$k(b)) {\n if (__propIsEnum$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n }\n return a;\n};\nfunction useBreakpoints(breakpoints, options = {}) {\n function getValue(k, delta) {\n let v = breakpoints[k];\n if (delta != null)\n v = increaseWithUnit(v, delta);\n if (typeof v === \"number\")\n v = `${v}px`;\n return v;\n }\n const { window = defaultWindow } = options;\n function match(query) {\n if (!window)\n return false;\n return window.matchMedia(query).matches;\n }\n const greater = (k) => {\n return useMediaQuery(`(min-width: ${getValue(k)})`, options);\n };\n const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n Object.defineProperty(shortcuts, k, {\n get: () => greater(k),\n enumerable: true,\n configurable: true\n });\n return shortcuts;\n }, {});\n return __spreadValues$i({\n greater,\n smaller(k) {\n return useMediaQuery(`(max-width: ${getValue(k, -0.1)})`, options);\n },\n between(a, b) {\n return useMediaQuery(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);\n },\n isGreater(k) {\n return match(`(min-width: ${getValue(k)})`);\n },\n isSmaller(k) {\n return match(`(max-width: ${getValue(k, -0.1)})`);\n },\n isInBetween(a, b) {\n return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);\n }\n }, shortcutMethods);\n}\n\nconst useBroadcastChannel = (options) => {\n const {\n name,\n window = defaultWindow\n } = options;\n const isSupported = window && \"BroadcastChannel\" in window;\n const isClosed = ref(false);\n const channel = ref();\n const data = ref();\n const error = ref(null);\n const post = (data2) => {\n if (channel.value)\n channel.value.postMessage(data2);\n };\n const close = () => {\n if (channel.value)\n channel.value.close();\n isClosed.value = true;\n };\n if (isSupported) {\n tryOnMounted(() => {\n error.value = null;\n channel.value = new BroadcastChannel(name);\n channel.value.addEventListener(\"message\", (e) => {\n data.value = e.data;\n }, { passive: true });\n channel.value.addEventListener(\"messageerror\", (e) => {\n error.value = e;\n }, { passive: true });\n channel.value.addEventListener(\"close\", () => {\n isClosed.value = true;\n });\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n isSupported,\n channel,\n data,\n post,\n close,\n error,\n isClosed\n };\n};\n\nfunction useBrowserLocation({ window = defaultWindow } = {}) {\n const buildState = (trigger) => {\n const { state: state2, length } = (window == null ? void 0 : window.history) || {};\n const { hash, host, hostname, href, origin, pathname, port, protocol, search } = (window == null ? void 0 : window.location) || {};\n return {\n trigger,\n state: state2,\n length,\n hash,\n host,\n hostname,\n href,\n origin,\n pathname,\n port,\n protocol,\n search\n };\n };\n const state = ref(buildState(\"load\"));\n if (window) {\n useEventListener(window, \"popstate\", () => state.value = buildState(\"popstate\"), { passive: true });\n useEventListener(window, \"hashchange\", () => state.value = buildState(\"hashchange\"), { passive: true });\n }\n return state;\n}\n\nfunction useCached(refValue, comparator = (a, b) => a === b, watchOptions) {\n const cachedValue = ref(refValue.value);\n watch(() => refValue.value, (value) => {\n if (!comparator(value, cachedValue.value))\n cachedValue.value = value;\n }, watchOptions);\n return cachedValue;\n}\n\nfunction useClamp(value, min, max) {\n const _value = ref(value);\n return computed({\n get() {\n return _value.value = clamp(_value.value, unref(min), unref(max));\n },\n set(value2) {\n _value.value = clamp(value2, unref(min), unref(max));\n }\n });\n}\n\nfunction useClipboard(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500\n } = options;\n const events = [\"copy\", \"cut\"];\n const isSupported = Boolean(navigator && \"clipboard\" in navigator);\n const text = ref(\"\");\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateText() {\n navigator.clipboard.readText().then((value) => {\n text.value = value;\n });\n }\n if (isSupported && read) {\n for (const event of events)\n useEventListener(event, updateText);\n }\n async function copy(value = unref(source)) {\n if (isSupported && value != null) {\n await navigator.clipboard.writeText(value);\n text.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n return {\n isSupported,\n text,\n copied,\n copy\n };\n}\n\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\n_global[globalKey] = _global[globalKey] || {};\nconst handlers = _global[globalKey];\nfunction getSSRHandler(key, fallback) {\n return handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n handlers[key] = fn;\n}\n\nfunction guessSerializerType(rawInit) {\n return rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : Array.isArray(rawInit) ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\nconst StorageSerializers = {\n boolean: {\n read: (v) => v === \"true\",\n write: (v) => String(v)\n },\n object: {\n read: (v) => JSON.parse(v),\n write: (v) => JSON.stringify(v)\n },\n number: {\n read: (v) => Number.parseFloat(v),\n write: (v) => String(v)\n },\n any: {\n read: (v) => v,\n write: (v) => String(v)\n },\n string: {\n read: (v) => v,\n write: (v) => String(v)\n },\n map: {\n read: (v) => new Map(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v.entries()))\n },\n set: {\n read: (v) => new Set(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v))\n },\n date: {\n read: (v) => new Date(v),\n write: (v) => v.toISOString()\n }\n};\nfunction useStorage(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const data = (shallow ? shallowRef : ref)(initialValue);\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n if (!storage)\n return data;\n const rawInit = unref(initialValue);\n const type = guessSerializerType(rawInit);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(data, () => write(data.value), { flush, deep, eventFilter });\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", update);\n update();\n return data;\n function write(v) {\n try {\n if (v == null)\n storage.removeItem(key);\n else\n storage.setItem(key, serializer.write(v));\n } catch (e) {\n onError(e);\n }\n }\n function read(event) {\n if (event && event.key !== key)\n return;\n pauseWatch();\n try {\n const rawValue = event ? event.newValue : storage.getItem(key);\n if (rawValue == null) {\n if (writeDefaults && rawInit !== null)\n storage.setItem(key, serializer.write(rawInit));\n return rawInit;\n } else if (typeof rawValue !== \"string\") {\n return rawValue;\n } else {\n return serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n } finally {\n resumeWatch();\n }\n }\n function update(event) {\n if (event && event.key !== key)\n return;\n data.value = read(event);\n }\n}\n\nfunction usePreferredDark(options) {\n return useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\nvar __defProp$h = Object.defineProperty;\nvar __getOwnPropSymbols$j = Object.getOwnPropertySymbols;\nvar __hasOwnProp$j = Object.prototype.hasOwnProperty;\nvar __propIsEnum$j = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$h = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n if (__getOwnPropSymbols$j)\n for (var prop of __getOwnPropSymbols$j(b)) {\n if (__propIsEnum$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n }\n return a;\n};\nfunction useColorMode(options = {}) {\n const {\n selector = \"html\",\n attribute = \"class\",\n window = defaultWindow,\n storage,\n storageKey = \"vueuse-color-scheme\",\n listenToStorageChanges = true,\n storageRef,\n emitAuto\n } = options;\n const modes = __spreadValues$h({\n auto: \"\",\n light: \"light\",\n dark: \"dark\"\n }, options.modes || {});\n const preferredDark = usePreferredDark({ window });\n const preferredMode = computed(() => preferredDark.value ? \"dark\" : \"light\");\n const store = storageRef || (storageKey == null ? ref(\"auto\") : useStorage(storageKey, \"auto\", storage, { window, listenToStorageChanges }));\n const state = computed({\n get() {\n return store.value === \"auto\" && !emitAuto ? preferredMode.value : store.value;\n },\n set(v) {\n store.value = v;\n }\n });\n const updateHTMLAttrs = getSSRHandler(\"updateHTMLAttrs\", (selector2, attribute2, value) => {\n const el = window == null ? void 0 : window.document.querySelector(selector2);\n if (!el)\n return;\n if (attribute2 === \"class\") {\n const current = value.split(/\\s/g);\n Object.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n if (current.includes(v))\n el.classList.add(v);\n else\n el.classList.remove(v);\n });\n } else {\n el.setAttribute(attribute2, value);\n }\n });\n function defaultOnChanged(mode) {\n var _a;\n const resolvedMode = mode === \"auto\" ? preferredMode.value : mode;\n updateHTMLAttrs(selector, attribute, (_a = modes[resolvedMode]) != null ? _a : resolvedMode);\n }\n function onChanged(mode) {\n if (options.onChanged)\n options.onChanged(mode, defaultOnChanged);\n else\n defaultOnChanged(mode);\n }\n watch(state, onChanged, { flush: \"post\", immediate: true });\n tryOnMounted(() => onChanged(state.value));\n return state;\n}\n\nfunction useConfirmDialog(revealed = ref(false)) {\n const confirmHook = createEventHook();\n const cancelHook = createEventHook();\n const revealHook = createEventHook();\n let _resolve = noop;\n const reveal = (data) => {\n revealHook.trigger(data);\n revealed.value = true;\n return new Promise((resolve) => {\n _resolve = resolve;\n });\n };\n const confirm = (data) => {\n revealed.value = false;\n confirmHook.trigger(data);\n _resolve({ data, isCanceled: false });\n };\n const cancel = (data) => {\n revealed.value = false;\n cancelHook.trigger(data);\n _resolve({ data, isCanceled: true });\n };\n return {\n isRevealed: computed(() => revealed.value),\n reveal,\n confirm,\n cancel,\n onReveal: revealHook.on,\n onConfirm: confirmHook.on,\n onCancel: cancelHook.on\n };\n}\n\nfunction useCssVar(prop, target, { window = defaultWindow, initialValue = \"\" } = {}) {\n const variable = ref(initialValue);\n const elRef = computed(() => {\n var _a;\n return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);\n });\n watch([elRef, () => unref(prop)], ([el, prop2]) => {\n var _a;\n if (el && window) {\n const value = (_a = window.getComputedStyle(el).getPropertyValue(prop2)) == null ? void 0 : _a.trim();\n variable.value = value || initialValue;\n }\n }, { immediate: true });\n watch(variable, (val) => {\n var _a;\n if ((_a = elRef.value) == null ? void 0 : _a.style)\n elRef.value.style.setProperty(unref(prop), val);\n });\n return variable;\n}\n\nfunction useCurrentElement() {\n const vm = getCurrentInstance();\n const count = ref(0);\n onUpdated(() => {\n count.value += 1;\n });\n onMounted(() => {\n count.value += 1;\n });\n return computed(() => {\n count.value;\n return vm.proxy.$el;\n });\n}\n\nfunction useCycleList(list, options) {\n var _a;\n const state = shallowRef((_a = options == null ? void 0 : options.initialValue) != null ? _a : list[0]);\n const index = computed({\n get() {\n var _a2;\n let index2 = (options == null ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, list) : list.indexOf(state.value);\n if (index2 < 0)\n index2 = (_a2 = options == null ? void 0 : options.fallbackIndex) != null ? _a2 : 0;\n return index2;\n },\n set(v) {\n set(v);\n }\n });\n function set(i) {\n const length = list.length;\n const index2 = (i % length + length) % length;\n const value = list[index2];\n state.value = value;\n return value;\n }\n function shift(delta = 1) {\n return set(index.value + delta);\n }\n function next(n = 1) {\n return shift(n);\n }\n function prev(n = 1) {\n return shift(-n);\n }\n return {\n state,\n index,\n next,\n prev\n };\n}\n\nvar __defProp$g = Object.defineProperty;\nvar __defProps$7 = Object.defineProperties;\nvar __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$i = Object.getOwnPropertySymbols;\nvar __hasOwnProp$i = Object.prototype.hasOwnProperty;\nvar __propIsEnum$i = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$g = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n if (__getOwnPropSymbols$i)\n for (var prop of __getOwnPropSymbols$i(b)) {\n if (__propIsEnum$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));\nfunction useDark(options = {}) {\n const {\n valueDark = \"dark\",\n valueLight = \"\",\n window = defaultWindow\n } = options;\n const mode = useColorMode(__spreadProps$7(__spreadValues$g({}, options), {\n onChanged: (mode2, defaultHandler) => {\n var _a;\n if (options.onChanged)\n (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === \"dark\");\n else\n defaultHandler(mode2);\n },\n modes: {\n dark: valueDark,\n light: valueLight\n }\n }));\n const preferredDark = usePreferredDark({ window });\n const isDark = computed({\n get() {\n return mode.value === \"dark\";\n },\n set(v) {\n if (v === preferredDark.value)\n mode.value = \"auto\";\n else\n mode.value = v ? \"dark\" : \"light\";\n }\n });\n return isDark;\n}\n\nconst fnClone = (v) => JSON.parse(JSON.stringify(v));\nconst fnBypass = (v) => v;\nconst fnSetSource = (source, value) => source.value = value;\nfunction defaultDump(clone) {\n return clone ? isFunction(clone) ? clone : fnClone : fnBypass;\n}\nfunction defaultParse(clone) {\n return clone ? isFunction(clone) ? clone : fnClone : fnBypass;\n}\nfunction useManualRefHistory(source, options = {}) {\n const {\n clone = false,\n dump = defaultDump(clone),\n parse = defaultParse(clone),\n setSource = fnSetSource\n } = options;\n function _createHistoryRecord() {\n return markRaw({\n snapshot: dump(source.value),\n timestamp: timestamp()\n });\n }\n const last = ref(_createHistoryRecord());\n const undoStack = ref([]);\n const redoStack = ref([]);\n const _setSource = (record) => {\n setSource(source, parse(record.snapshot));\n last.value = record;\n };\n const commit = () => {\n undoStack.value.unshift(last.value);\n last.value = _createHistoryRecord();\n if (options.capacity && undoStack.value.length > options.capacity)\n undoStack.value.splice(options.capacity, Infinity);\n if (redoStack.value.length)\n redoStack.value.splice(0, redoStack.value.length);\n };\n const clear = () => {\n undoStack.value.splice(0, undoStack.value.length);\n redoStack.value.splice(0, redoStack.value.length);\n };\n const undo = () => {\n const state = undoStack.value.shift();\n if (state) {\n redoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const redo = () => {\n const state = redoStack.value.shift();\n if (state) {\n undoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const reset = () => {\n _setSource(last.value);\n };\n const history = computed(() => [last.value, ...undoStack.value]);\n const canUndo = computed(() => undoStack.value.length > 0);\n const canRedo = computed(() => redoStack.value.length > 0);\n return {\n source,\n undoStack,\n redoStack,\n last,\n history,\n canUndo,\n canRedo,\n clear,\n commit,\n reset,\n undo,\n redo\n };\n}\n\nvar __defProp$f = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$h = Object.getOwnPropertySymbols;\nvar __hasOwnProp$h = Object.prototype.hasOwnProperty;\nvar __propIsEnum$h = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$f = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n if (__getOwnPropSymbols$h)\n for (var prop of __getOwnPropSymbols$h(b)) {\n if (__propIsEnum$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction useRefHistory(source, options = {}) {\n const {\n deep = false,\n flush = \"pre\",\n eventFilter\n } = options;\n const {\n eventFilter: composedFilter,\n pause,\n resume: resumeTracking,\n isActive: isTracking\n } = pausableFilter(eventFilter);\n const {\n ignoreUpdates,\n ignorePrevAsyncUpdates,\n stop\n } = watchIgnorable(source, commit, { deep, flush, eventFilter: composedFilter });\n function setSource(source2, value) {\n ignorePrevAsyncUpdates();\n ignoreUpdates(() => {\n source2.value = value;\n });\n }\n const manualHistory = useManualRefHistory(source, __spreadProps$6(__spreadValues$f({}, options), { clone: options.clone || deep, setSource }));\n const { clear, commit: manualCommit } = manualHistory;\n function commit() {\n ignorePrevAsyncUpdates();\n manualCommit();\n }\n function resume(commitNow) {\n resumeTracking();\n if (commitNow)\n commit();\n }\n function batch(fn) {\n let canceled = false;\n const cancel = () => canceled = true;\n ignoreUpdates(() => {\n fn(cancel);\n });\n if (!canceled)\n commit();\n }\n function dispose() {\n stop();\n clear();\n }\n return __spreadProps$6(__spreadValues$f({}, manualHistory), {\n isTracking,\n pause,\n resume,\n commit,\n batch,\n dispose\n });\n}\n\nvar __defProp$e = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$g = Object.getOwnPropertySymbols;\nvar __hasOwnProp$g = Object.prototype.hasOwnProperty;\nvar __propIsEnum$g = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$e = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$g.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n if (__getOwnPropSymbols$g)\n for (var prop of __getOwnPropSymbols$g(b)) {\n if (__propIsEnum$g.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction useDebouncedRefHistory(source, options = {}) {\n const filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n const history = useRefHistory(source, __spreadProps$5(__spreadValues$e({}, options), { eventFilter: filter }));\n return __spreadValues$e({}, history);\n}\n\nfunction useDeviceMotion(options = {}) {\n const {\n window = defaultWindow,\n eventFilter = bypassFilter\n } = options;\n const acceleration = ref({ x: null, y: null, z: null });\n const rotationRate = ref({ alpha: null, beta: null, gamma: null });\n const interval = ref(0);\n const accelerationIncludingGravity = ref({\n x: null,\n y: null,\n z: null\n });\n if (window) {\n const onDeviceMotion = createFilterWrapper(eventFilter, (event) => {\n acceleration.value = event.acceleration;\n accelerationIncludingGravity.value = event.accelerationIncludingGravity;\n rotationRate.value = event.rotationRate;\n interval.value = event.interval;\n });\n useEventListener(window, \"devicemotion\", onDeviceMotion);\n }\n return {\n acceleration,\n accelerationIncludingGravity,\n rotationRate,\n interval\n };\n}\n\nfunction useDeviceOrientation(options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = Boolean(window && \"DeviceOrientationEvent\" in window);\n const isAbsolute = ref(false);\n const alpha = ref(null);\n const beta = ref(null);\n const gamma = ref(null);\n if (window && isSupported) {\n useEventListener(window, \"deviceorientation\", (event) => {\n isAbsolute.value = event.absolute;\n alpha.value = event.alpha;\n beta.value = event.beta;\n gamma.value = event.gamma;\n });\n }\n return {\n isSupported,\n isAbsolute,\n alpha,\n beta,\n gamma\n };\n}\n\nconst DEVICE_PIXEL_RATIO_SCALES = [\n 1,\n 1.325,\n 1.4,\n 1.5,\n 1.8,\n 2,\n 2.4,\n 2.5,\n 2.75,\n 3,\n 3.5,\n 4\n];\nfunction useDevicePixelRatio({\n window = defaultWindow\n} = {}) {\n if (!window) {\n return {\n pixelRatio: ref(1)\n };\n }\n const pixelRatio = ref(window.devicePixelRatio);\n const handleDevicePixelRatio = () => {\n pixelRatio.value = window.devicePixelRatio;\n };\n useEventListener(window, \"resize\", handleDevicePixelRatio, { passive: true });\n DEVICE_PIXEL_RATIO_SCALES.forEach((dppx) => {\n const mqlMin = useMediaQuery(`screen and (min-resolution: ${dppx}dppx)`);\n const mqlMax = useMediaQuery(`screen and (max-resolution: ${dppx}dppx)`);\n watch([mqlMin, mqlMax], handleDevicePixelRatio);\n });\n return { pixelRatio };\n}\n\nfunction usePermission(permissionDesc, options = {}) {\n const {\n controls = false,\n navigator = defaultNavigator\n } = options;\n const isSupported = Boolean(navigator && \"permissions\" in navigator);\n let permissionStatus;\n const desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n const state = ref();\n const onChange = () => {\n if (permissionStatus)\n state.value = permissionStatus.state;\n };\n const query = createSingletonPromise(async () => {\n if (!isSupported)\n return;\n if (!permissionStatus) {\n try {\n permissionStatus = await navigator.permissions.query(desc);\n useEventListener(permissionStatus, \"change\", onChange);\n onChange();\n } catch (e) {\n state.value = \"prompt\";\n }\n }\n return permissionStatus;\n });\n query();\n if (controls) {\n return {\n state,\n isSupported,\n query\n };\n } else {\n return state;\n }\n}\n\nfunction useDevicesList(options = {}) {\n const {\n navigator = defaultNavigator,\n requestPermissions = false,\n constraints = { audio: true, video: true },\n onUpdated\n } = options;\n const devices = ref([]);\n const videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n const audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n const audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n let isSupported = false;\n const permissionGranted = ref(false);\n async function update() {\n if (!isSupported)\n return;\n devices.value = await navigator.mediaDevices.enumerateDevices();\n onUpdated == null ? void 0 : onUpdated(devices.value);\n }\n async function ensurePermissions() {\n if (!isSupported)\n return false;\n if (permissionGranted.value)\n return true;\n const { state, query } = usePermission(\"camera\", { controls: true });\n await query();\n if (state.value !== \"granted\") {\n const stream = await navigator.mediaDevices.getUserMedia(constraints);\n stream.getTracks().forEach((t) => t.stop());\n update();\n permissionGranted.value = true;\n } else {\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n }\n if (navigator) {\n isSupported = Boolean(navigator.mediaDevices && navigator.mediaDevices.enumerateDevices);\n if (isSupported) {\n if (requestPermissions)\n ensurePermissions();\n useEventListener(navigator.mediaDevices, \"devicechange\", update);\n update();\n }\n }\n return {\n devices,\n ensurePermissions,\n permissionGranted,\n videoInputs,\n audioInputs,\n audioOutputs,\n isSupported\n };\n}\n\nfunction useDisplayMedia(options = {}) {\n var _a, _b;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const video = options.video;\n const audio = options.audio;\n const { navigator = defaultNavigator } = options;\n const isSupported = Boolean((_b = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _b.getDisplayMedia);\n const constraint = { audio, video };\n const stream = shallowRef();\n async function _start() {\n if (!isSupported || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getDisplayMedia(constraint);\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n enabled\n };\n}\n\nfunction useDocumentVisibility({ document = defaultDocument } = {}) {\n if (!document)\n return ref(\"visible\");\n const visibility = ref(document.visibilityState);\n useEventListener(document, \"visibilitychange\", () => {\n visibility.value = document.visibilityState;\n });\n return visibility;\n}\n\nvar __defProp$d = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$f = Object.getOwnPropertySymbols;\nvar __hasOwnProp$f = Object.prototype.hasOwnProperty;\nvar __propIsEnum$f = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$d = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$f.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n if (__getOwnPropSymbols$f)\n for (var prop of __getOwnPropSymbols$f(b)) {\n if (__propIsEnum$f.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nfunction useDraggable(target, options = {}) {\n var _a, _b;\n const draggingElement = (_a = options.draggingElement) != null ? _a : defaultWindow;\n const position = ref((_b = options.initialValue) != null ? _b : { x: 0, y: 0 });\n const pressedDelta = ref();\n const filterEvent = (e) => {\n if (options.pointerTypes)\n return options.pointerTypes.includes(e.pointerType);\n return true;\n };\n const handleEvent = (e) => {\n if (unref(options.preventDefault))\n e.preventDefault();\n if (unref(options.stopPropagation))\n e.stopPropagation();\n };\n const start = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (unref(options.exact) && e.target !== unref(target))\n return;\n const rect = unref(target).getBoundingClientRect();\n const pos = {\n x: e.pageX - rect.left,\n y: e.pageY - rect.top\n };\n if (((_a2 = options.onStart) == null ? void 0 : _a2.call(options, pos, e)) === false)\n return;\n pressedDelta.value = pos;\n handleEvent(e);\n };\n const move = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n position.value = {\n x: e.pageX - pressedDelta.value.x,\n y: e.pageY - pressedDelta.value.y\n };\n (_a2 = options.onMove) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n const end = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n pressedDelta.value = void 0;\n (_a2 = options.onEnd) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n if (isClient) {\n useEventListener(target, \"pointerdown\", start, true);\n useEventListener(draggingElement, \"pointermove\", move, true);\n useEventListener(draggingElement, \"pointerup\", end, true);\n }\n return __spreadProps$4(__spreadValues$d({}, toRefs(position)), {\n position,\n isDragging: computed(() => !!pressedDelta.value),\n style: computed(() => `left:${position.value.x}px;top:${position.value.y}px;`)\n });\n}\n\nfunction useDropZone(target, onDrop) {\n const isOverDropZone = ref(false);\n let counter = 0;\n if (isClient) {\n useEventListener(target, \"dragenter\", (event) => {\n event.preventDefault();\n counter += 1;\n isOverDropZone.value = true;\n });\n useEventListener(target, \"dragover\", (event) => {\n event.preventDefault();\n });\n useEventListener(target, \"dragleave\", (event) => {\n event.preventDefault();\n counter -= 1;\n if (counter === 0)\n isOverDropZone.value = false;\n });\n useEventListener(target, \"drop\", (event) => {\n var _a, _b;\n event.preventDefault();\n counter = 0;\n isOverDropZone.value = false;\n const files = Array.from((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) != null ? _b : []);\n if (files.length === 0) {\n onDrop(null);\n return;\n }\n onDrop(files);\n });\n }\n return {\n isOverDropZone\n };\n}\n\nvar __getOwnPropSymbols$e = Object.getOwnPropertySymbols;\nvar __hasOwnProp$e = Object.prototype.hasOwnProperty;\nvar __propIsEnum$e = Object.prototype.propertyIsEnumerable;\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$e)\n for (var prop of __getOwnPropSymbols$e(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useResizeObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, [\"window\"]);\n let observer;\n const isSupported = window && \"ResizeObserver\" in window;\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported && window && el) {\n observer = new ResizeObserver(callback);\n observer.observe(el, observerOptions);\n }\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nfunction useElementBounding(target, options = {}) {\n const {\n reset = true,\n windowResize = true,\n windowScroll = true,\n immediate = true\n } = options;\n const height = ref(0);\n const bottom = ref(0);\n const left = ref(0);\n const right = ref(0);\n const top = ref(0);\n const width = ref(0);\n const x = ref(0);\n const y = ref(0);\n function update() {\n const el = unrefElement(target);\n if (!el) {\n if (reset) {\n height.value = 0;\n bottom.value = 0;\n left.value = 0;\n right.value = 0;\n top.value = 0;\n width.value = 0;\n x.value = 0;\n y.value = 0;\n }\n return;\n }\n const rect = el.getBoundingClientRect();\n height.value = rect.height;\n bottom.value = rect.bottom;\n left.value = rect.left;\n right.value = rect.right;\n top.value = rect.top;\n width.value = rect.width;\n x.value = rect.x;\n y.value = rect.y;\n }\n useResizeObserver(target, update);\n watch(() => unrefElement(target), (ele) => !ele && update());\n if (windowScroll)\n useEventListener(\"scroll\", update, { passive: true });\n if (windowResize)\n useEventListener(\"resize\", update, { passive: true });\n tryOnMounted(() => {\n if (immediate)\n update();\n });\n return {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n update\n };\n}\n\nfunction useRafFn(fn, options = {}) {\n const {\n immediate = true,\n window = defaultWindow\n } = options;\n const isActive = ref(false);\n let rafId = null;\n function loop() {\n if (!isActive.value || !window)\n return;\n fn();\n rafId = window.requestAnimationFrame(loop);\n }\n function resume() {\n if (!isActive.value && window) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n if (rafId != null && window) {\n window.cancelAnimationFrame(rafId);\n rafId = null;\n }\n }\n if (immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$c = Object.defineProperty;\nvar __getOwnPropSymbols$d = Object.getOwnPropertySymbols;\nvar __hasOwnProp$d = Object.prototype.hasOwnProperty;\nvar __propIsEnum$d = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$c = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n if (__getOwnPropSymbols$d)\n for (var prop of __getOwnPropSymbols$d(b)) {\n if (__propIsEnum$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n }\n return a;\n};\nfunction useElementByPoint(options) {\n const element = ref(null);\n const { x, y } = options;\n const controls = useRafFn(() => {\n element.value = document.elementFromPoint(unref(x), unref(y));\n });\n return __spreadValues$c({\n element\n }, controls);\n}\n\nfunction useElementHover(el) {\n const isHovered = ref(false);\n useEventListener(el, \"mouseenter\", () => isHovered.value = true);\n useEventListener(el, \"mouseleave\", () => isHovered.value = false);\n return isHovered;\n}\n\nfunction useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {\n const width = ref(initialSize.width);\n const height = ref(initialSize.height);\n useResizeObserver(target, ([entry]) => {\n width.value = entry.contentRect.width;\n height.value = entry.contentRect.height;\n }, options);\n watch(() => unrefElement(target), (ele) => {\n width.value = ele ? initialSize.width : 0;\n height.value = ele ? initialSize.height : 0;\n });\n return {\n width,\n height\n };\n}\n\nfunction useElementVisibility(element, { window = defaultWindow, scrollTarget } = {}) {\n const elementIsVisible = ref(false);\n const testBounding = () => {\n if (!window)\n return;\n const document = window.document;\n if (!unref(element)) {\n elementIsVisible.value = false;\n } else {\n const rect = unref(element).getBoundingClientRect();\n elementIsVisible.value = rect.top <= (window.innerHeight || document.documentElement.clientHeight) && rect.left <= (window.innerWidth || document.documentElement.clientWidth) && rect.bottom >= 0 && rect.right >= 0;\n }\n };\n tryOnMounted(testBounding);\n if (window)\n tryOnMounted(() => useEventListener(unref(scrollTarget) || window, \"scroll\", testBounding, { capture: false, passive: true }));\n return elementIsVisible;\n}\n\nconst events = new Map();\n\nfunction useEventBus(key) {\n const scope = getCurrentScope();\n function on(listener) {\n var _a;\n const listeners = events.get(key) || [];\n listeners.push(listener);\n events.set(key, listeners);\n const _off = () => off(listener);\n (_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);\n return _off;\n }\n function once(listener) {\n function _listener(...args) {\n off(_listener);\n listener(...args);\n }\n return on(_listener);\n }\n function off(listener) {\n const listeners = events.get(key);\n if (!listeners)\n return;\n const index = listeners.indexOf(listener);\n if (index > -1)\n listeners.splice(index, 1);\n if (!listeners.length)\n events.delete(key);\n }\n function reset() {\n events.delete(key);\n }\n function emit(event, payload) {\n var _a;\n (_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));\n }\n return { on, once, off, emit, reset };\n}\n\nfunction useEventSource(url, events = [], options = {}) {\n const event = ref(null);\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const eventSource = ref(null);\n const error = ref(null);\n const {\n withCredentials = false\n } = options;\n const close = () => {\n if (eventSource.value) {\n eventSource.value.close();\n eventSource.value = null;\n status.value = \"CLOSED\";\n }\n };\n const es = new EventSource(url, { withCredentials });\n eventSource.value = es;\n es.onopen = () => {\n status.value = \"OPEN\";\n error.value = null;\n };\n es.onerror = (e) => {\n status.value = \"CLOSED\";\n error.value = e;\n };\n es.onmessage = (e) => {\n event.value = null;\n data.value = e.data;\n };\n for (const event_name of events) {\n useEventListener(es, event_name, (e) => {\n event.value = event_name;\n data.value = e.data || null;\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n eventSource,\n event,\n data,\n status,\n error,\n close\n };\n}\n\nfunction useEyeDropper(options = {}) {\n const { initialValue = \"\" } = options;\n const isSupported = Boolean(typeof window !== \"undefined\" && \"EyeDropper\" in window);\n const sRGBHex = ref(initialValue);\n async function open(openOptions) {\n if (!isSupported)\n return;\n const eyeDropper = new window.EyeDropper();\n const result = await eyeDropper.open(openOptions);\n sRGBHex.value = result.sRGBHex;\n return result;\n }\n return { isSupported, sRGBHex, open };\n}\n\nfunction useFavicon(newIcon = null, options = {}) {\n const {\n baseUrl = \"\",\n rel = \"icon\",\n document = defaultDocument\n } = options;\n const favicon = isRef(newIcon) ? newIcon : ref(newIcon);\n const applyIcon = (icon) => {\n document == null ? void 0 : document.head.querySelectorAll(`link[rel*=\"${rel}\"]`).forEach((el) => el.href = `${baseUrl}${icon}`);\n };\n watch(favicon, (i, o) => {\n if (isString(i) && i !== o)\n applyIcon(i);\n }, { immediate: true });\n return favicon;\n}\n\nvar __defProp$b = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$c = Object.getOwnPropertySymbols;\nvar __hasOwnProp$c = Object.prototype.hasOwnProperty;\nvar __propIsEnum$c = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$b = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n if (__getOwnPropSymbols$c)\n for (var prop of __getOwnPropSymbols$c(b)) {\n if (__propIsEnum$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nconst payloadMapping = {\n json: \"application/json\",\n text: \"text/plain\",\n formData: \"multipart/form-data\"\n};\nfunction isFetchOptions(obj) {\n return containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\");\n}\nfunction headersToObject(headers) {\n if (typeof Headers !== \"undefined\" && headers instanceof Headers)\n return Object.fromEntries([...headers.entries()]);\n return headers;\n}\nfunction createFetch(config = {}) {\n const _options = config.options || {};\n const _fetchOptions = config.fetchOptions || {};\n function useFactoryFetch(url, ...args) {\n const computedUrl = computed(() => config.baseUrl ? joinPaths(unref(config.baseUrl), unref(url)) : unref(url));\n let options = _options;\n let fetchOptions = _fetchOptions;\n if (args.length > 0) {\n if (isFetchOptions(args[0])) {\n options = __spreadValues$b(__spreadValues$b({}, options), args[0]);\n } else {\n fetchOptions = __spreadProps$3(__spreadValues$b(__spreadValues$b({}, fetchOptions), args[0]), {\n headers: __spreadValues$b(__spreadValues$b({}, headersToObject(fetchOptions.headers) || {}), headersToObject(args[0].headers) || {})\n });\n }\n }\n if (args.length > 1 && isFetchOptions(args[1]))\n options = __spreadValues$b(__spreadValues$b({}, options), args[1]);\n return useFetch(computedUrl, fetchOptions, options);\n }\n return useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n var _a;\n const supportsAbort = typeof AbortController === \"function\";\n let fetchOptions = {};\n let options = { immediate: true, refetch: false, timeout: 0 };\n const config = {\n method: \"GET\",\n type: \"text\",\n payload: void 0\n };\n if (args.length > 0) {\n if (isFetchOptions(args[0]))\n options = __spreadValues$b(__spreadValues$b({}, options), args[0]);\n else\n fetchOptions = args[0];\n }\n if (args.length > 1) {\n if (isFetchOptions(args[1]))\n options = __spreadValues$b(__spreadValues$b({}, options), args[1]);\n }\n const {\n fetch = (_a = defaultWindow) == null ? void 0 : _a.fetch,\n initialData,\n timeout\n } = options;\n const responseEvent = createEventHook();\n const errorEvent = createEventHook();\n const finallyEvent = createEventHook();\n const isFinished = ref(false);\n const isFetching = ref(false);\n const aborted = ref(false);\n const statusCode = ref(null);\n const response = shallowRef(null);\n const error = shallowRef(null);\n const data = shallowRef(initialData);\n const canAbort = computed(() => supportsAbort && isFetching.value);\n let controller;\n let timer;\n const abort = () => {\n if (supportsAbort && controller)\n controller.abort();\n };\n const loading = (isLoading) => {\n isFetching.value = isLoading;\n isFinished.value = !isLoading;\n };\n if (timeout)\n timer = useTimeoutFn(abort, timeout, { immediate: false });\n const execute = async (throwOnFailed = false) => {\n var _a2;\n loading(true);\n error.value = null;\n statusCode.value = null;\n aborted.value = false;\n controller = void 0;\n if (supportsAbort) {\n controller = new AbortController();\n controller.signal.onabort = () => aborted.value = true;\n fetchOptions = __spreadProps$3(__spreadValues$b({}, fetchOptions), {\n signal: controller.signal\n });\n }\n const defaultFetchOptions = {\n method: config.method,\n headers: {}\n };\n if (config.payload) {\n const headers = headersToObject(defaultFetchOptions.headers);\n if (config.payloadType)\n headers[\"Content-Type\"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;\n defaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(unref(config.payload)) : unref(config.payload);\n }\n let isCanceled = false;\n const context = { url: unref(url), options: __spreadValues$b(__spreadValues$b({}, defaultFetchOptions), fetchOptions), cancel: () => {\n isCanceled = true;\n } };\n if (options.beforeFetch)\n Object.assign(context, await options.beforeFetch(context));\n if (isCanceled || !fetch) {\n loading(false);\n return Promise.resolve(null);\n }\n let responseData = null;\n if (timer)\n timer.start();\n return new Promise((resolve, reject) => {\n var _a3;\n fetch(context.url, __spreadProps$3(__spreadValues$b(__spreadValues$b({}, defaultFetchOptions), context.options), {\n headers: __spreadValues$b(__spreadValues$b({}, headersToObject(defaultFetchOptions.headers)), headersToObject((_a3 = context.options) == null ? void 0 : _a3.headers))\n })).then(async (fetchResponse) => {\n response.value = fetchResponse;\n statusCode.value = fetchResponse.status;\n responseData = await fetchResponse[config.type]();\n if (options.afterFetch && statusCode.value >= 200 && statusCode.value < 300)\n ({ data: responseData } = await options.afterFetch({ data: responseData, response: fetchResponse }));\n data.value = responseData;\n if (!fetchResponse.ok)\n throw new Error(fetchResponse.statusText);\n responseEvent.trigger(fetchResponse);\n return resolve(fetchResponse);\n }).catch(async (fetchError) => {\n let errorData = fetchError.message || fetchError.name;\n if (options.onFetchError)\n ({ data: responseData, error: errorData } = await options.onFetchError({ data: responseData, error: fetchError, response: response.value }));\n data.value = responseData;\n error.value = errorData;\n errorEvent.trigger(fetchError);\n if (throwOnFailed)\n return reject(fetchError);\n return resolve(null);\n }).finally(() => {\n loading(false);\n if (timer)\n timer.stop();\n finallyEvent.trigger(null);\n });\n });\n };\n watch(() => [\n unref(url),\n unref(options.refetch)\n ], () => unref(options.refetch) && execute(), { deep: true });\n const shell = {\n isFinished,\n statusCode,\n response,\n error,\n data,\n isFetching,\n canAbort,\n aborted,\n abort,\n execute,\n onFetchResponse: responseEvent.on,\n onFetchError: errorEvent.on,\n onFetchFinally: finallyEvent.on,\n get: setMethod(\"GET\"),\n put: setMethod(\"PUT\"),\n post: setMethod(\"POST\"),\n delete: setMethod(\"DELETE\"),\n patch: setMethod(\"PATCH\"),\n head: setMethod(\"HEAD\"),\n options: setMethod(\"OPTIONS\"),\n json: setType(\"json\"),\n text: setType(\"text\"),\n blob: setType(\"blob\"),\n arrayBuffer: setType(\"arrayBuffer\"),\n formData: setType(\"formData\")\n };\n function setMethod(method) {\n return (payload, payloadType) => {\n if (!isFetching.value) {\n config.method = method;\n config.payload = payload;\n config.payloadType = payloadType;\n if (isRef(config.payload)) {\n watch(() => [\n unref(config.payload),\n unref(options.refetch)\n ], () => unref(options.refetch) && execute(), { deep: true });\n }\n if (!payloadType && unref(payload) && Object.getPrototypeOf(unref(payload)) === Object.prototype)\n config.payloadType = \"json\";\n return __spreadProps$3(__spreadValues$b({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n function waitUntilFinished() {\n return new Promise((resolve, reject) => {\n until(isFinished).toBe(true).then(() => resolve(shell)).catch((error2) => reject(error2));\n });\n }\n function setType(type) {\n return () => {\n if (!isFetching.value) {\n config.type = type;\n return __spreadProps$3(__spreadValues$b({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n if (options.immediate)\n setTimeout(execute, 0);\n return __spreadProps$3(__spreadValues$b({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n}\nfunction joinPaths(start, end) {\n if (!start.endsWith(\"/\") && !end.startsWith(\"/\"))\n return `${start}/${end}`;\n return `${start}${end}`;\n}\n\nvar __defProp$a = Object.defineProperty;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$a = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n }\n return a;\n};\nconst DEFAULT_OPTIONS = {\n multiple: true,\n accept: \"*\"\n};\nfunction useFileDialog(options = {}) {\n const {\n document = defaultDocument\n } = options;\n const files = ref(null);\n let input;\n if (document) {\n input = document.createElement(\"input\");\n input.type = \"file\";\n input.onchange = (event) => {\n const result = event.target;\n files.value = result.files;\n };\n }\n const open = (localOptions) => {\n if (!input)\n return;\n const _options = __spreadValues$a(__spreadValues$a(__spreadValues$a({}, DEFAULT_OPTIONS), options), localOptions);\n input.multiple = _options.multiple;\n input.accept = _options.accept;\n input.capture = _options.capture;\n input.click();\n };\n const reset = () => {\n files.value = null;\n if (input)\n input.value = \"\";\n };\n return {\n files: readonly(files),\n open,\n reset\n };\n}\n\nvar __defProp$9 = Object.defineProperty;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nfunction useFileSystemAccess(options = {}) {\n const {\n window: _window = defaultWindow,\n dataType = \"Text\"\n } = unref(options);\n const window = _window;\n const isSupported = Boolean(window && \"showSaveFilePicker\" in window && \"showOpenFilePicker\" in window);\n const fileHandle = ref();\n const data = ref();\n const file = ref();\n const fileName = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.name) != null ? _b : \"\";\n });\n const fileMIME = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.type) != null ? _b : \"\";\n });\n const fileSize = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.size) != null ? _b : 0;\n });\n const fileLastModified = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.lastModified) != null ? _b : 0;\n });\n async function open(_options = {}) {\n if (!isSupported)\n return;\n const [handle] = await window.showOpenFilePicker(__spreadValues$9(__spreadValues$9({}, unref(options)), _options));\n fileHandle.value = handle;\n await updateFile();\n await updateData();\n }\n async function create(_options = {}) {\n if (!isSupported)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$9(__spreadValues$9({}, unref(options)), _options));\n data.value = void 0;\n await updateFile();\n await updateData();\n }\n async function save(_options = {}) {\n if (!isSupported)\n return;\n if (!fileHandle.value)\n return saveAs(_options);\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function saveAs(_options = {}) {\n if (!isSupported)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$9(__spreadValues$9({}, unref(options)), _options));\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function updateFile() {\n var _a;\n file.value = await ((_a = fileHandle.value) == null ? void 0 : _a.getFile());\n }\n async function updateData() {\n var _a, _b;\n if (unref(dataType) === \"Text\")\n data.value = await ((_a = file.value) == null ? void 0 : _a.text());\n if (unref(dataType) === \"ArrayBuffer\")\n data.value = await ((_b = file.value) == null ? void 0 : _b.arrayBuffer());\n if (unref(dataType) === \"Blob\")\n data.value = file.value;\n }\n watch(() => unref(dataType), updateData);\n return {\n isSupported,\n data,\n file,\n fileName,\n fileMIME,\n fileSize,\n fileLastModified,\n open,\n create,\n save,\n saveAs,\n updateData\n };\n}\n\nfunction useFocus(target, options = {}) {\n const { initialValue = false } = options;\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed({\n get() {\n return isDef(activeElement.value) && isDef(targetElement.value) && activeElement.value === targetElement.value;\n },\n set(value) {\n var _a, _b;\n if (!value && focused.value)\n (_a = targetElement.value) == null ? void 0 : _a.blur();\n if (value && !focused.value)\n (_b = targetElement.value) == null ? void 0 : _b.focus();\n }\n });\n watch(targetElement, () => {\n focused.value = initialValue;\n }, { immediate: true, flush: \"post\" });\n return { focused };\n}\n\nfunction useFocusWithin(target, options = {}) {\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed(() => targetElement.value && activeElement.value ? targetElement.value.contains(activeElement.value) : false);\n return { focused };\n}\n\nfunction useFps(options) {\n var _a;\n const fps = ref(0);\n if (typeof performance === \"undefined\")\n return fps;\n const every = (_a = options == null ? void 0 : options.every) != null ? _a : 10;\n let last = performance.now();\n let ticks = 0;\n useRafFn(() => {\n ticks += 1;\n if (ticks >= every) {\n const now = performance.now();\n const diff = now - last;\n fps.value = Math.round(1e3 / (diff / ticks));\n last = now;\n ticks = 0;\n }\n });\n return fps;\n}\n\nconst functionsMap = [\n [\n \"requestFullscreen\",\n \"exitFullscreen\",\n \"fullscreenElement\",\n \"fullscreenEnabled\",\n \"fullscreenchange\",\n \"fullscreenerror\"\n ],\n [\n \"webkitRequestFullscreen\",\n \"webkitExitFullscreen\",\n \"webkitFullscreenElement\",\n \"webkitFullscreenEnabled\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"webkitRequestFullScreen\",\n \"webkitCancelFullScreen\",\n \"webkitCurrentFullScreenElement\",\n \"webkitCancelFullScreen\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"mozRequestFullScreen\",\n \"mozCancelFullScreen\",\n \"mozFullScreenElement\",\n \"mozFullScreenEnabled\",\n \"mozfullscreenchange\",\n \"mozfullscreenerror\"\n ],\n [\n \"msRequestFullscreen\",\n \"msExitFullscreen\",\n \"msFullscreenElement\",\n \"msFullscreenEnabled\",\n \"MSFullscreenChange\",\n \"MSFullscreenError\"\n ]\n];\nfunction useFullscreen(target, options = {}) {\n const { document = defaultDocument, autoExit = false } = options;\n const targetRef = target || (document == null ? void 0 : document.querySelector(\"html\"));\n const isFullscreen = ref(false);\n let isSupported = false;\n let map = functionsMap[0];\n if (!document) {\n isSupported = false;\n } else {\n for (const m of functionsMap) {\n if (m[1] in document) {\n map = m;\n isSupported = true;\n break;\n }\n }\n }\n const [REQUEST, EXIT, ELEMENT, , EVENT] = map;\n async function exit() {\n if (!isSupported)\n return;\n if (document == null ? void 0 : document[ELEMENT])\n await document[EXIT]();\n isFullscreen.value = false;\n }\n async function enter() {\n if (!isSupported)\n return;\n await exit();\n const target2 = unrefElement(targetRef);\n if (target2) {\n await target2[REQUEST]();\n isFullscreen.value = true;\n }\n }\n async function toggle() {\n if (isFullscreen.value)\n await exit();\n else\n await enter();\n }\n if (document) {\n useEventListener(document, EVENT, () => {\n isFullscreen.value = !!(document == null ? void 0 : document[ELEMENT]);\n }, false);\n }\n if (autoExit)\n tryOnScopeDispose(exit);\n return {\n isSupported,\n isFullscreen,\n enter,\n exit,\n toggle\n };\n}\n\nfunction mapGamepadToXbox360Controller(gamepad) {\n return computed(() => {\n if (gamepad.value) {\n return {\n buttons: {\n a: gamepad.value.buttons[0],\n b: gamepad.value.buttons[1],\n x: gamepad.value.buttons[2],\n y: gamepad.value.buttons[3]\n },\n bumper: {\n left: gamepad.value.buttons[4],\n right: gamepad.value.buttons[5]\n },\n triggers: {\n left: gamepad.value.buttons[6],\n right: gamepad.value.buttons[7]\n },\n stick: {\n left: {\n horizontal: gamepad.value.axes[0],\n vertical: gamepad.value.axes[1],\n button: gamepad.value.buttons[10]\n },\n right: {\n horizontal: gamepad.value.axes[2],\n vertical: gamepad.value.axes[3],\n button: gamepad.value.buttons[11]\n }\n },\n dpad: {\n up: gamepad.value.buttons[12],\n down: gamepad.value.buttons[13],\n left: gamepad.value.buttons[14],\n right: gamepad.value.buttons[15]\n },\n back: gamepad.value.buttons[8],\n start: gamepad.value.buttons[9]\n };\n }\n return null;\n });\n}\nfunction useGamepad(options = {}) {\n const {\n navigator = defaultNavigator\n } = options;\n const isSupported = navigator && \"getGamepads\" in navigator;\n const gamepads = ref([]);\n const onConnectedHook = createEventHook();\n const onDisconnectedHook = createEventHook();\n const stateFromGamepad = (gamepad) => {\n const hapticActuators = [];\n const vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n if (vibrationActuator)\n hapticActuators.push(vibrationActuator);\n if (gamepad.hapticActuators)\n hapticActuators.push(...gamepad.hapticActuators);\n return {\n id: gamepad.id,\n hapticActuators,\n index: gamepad.index,\n mapping: gamepad.mapping,\n connected: gamepad.connected,\n timestamp: gamepad.timestamp,\n axes: gamepad.axes.map((axes) => axes),\n buttons: gamepad.buttons.map((button) => ({ pressed: button.pressed, touched: button.touched, value: button.value }))\n };\n };\n const updateGamepadState = () => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad) {\n const index = gamepads.value.findIndex(({ index: index2 }) => index2 === gamepad.index);\n if (index > -1)\n gamepads.value[index] = stateFromGamepad(gamepad);\n }\n }\n };\n const { isActive, pause, resume } = useRafFn(updateGamepadState);\n const onGamepadConnected = (gamepad) => {\n if (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n gamepads.value.push(stateFromGamepad(gamepad));\n onConnectedHook.trigger(gamepad.index);\n }\n resume();\n };\n const onGamepadDisconnected = (gamepad) => {\n gamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n onDisconnectedHook.trigger(gamepad.index);\n };\n useEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad));\n useEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad));\n tryOnMounted(() => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n if (_gamepads) {\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad)\n onGamepadConnected(gamepad);\n }\n }\n });\n pause();\n return {\n isSupported,\n onConnected: onConnectedHook.on,\n onDisconnected: onDisconnectedHook.on,\n gamepads,\n pause,\n resume,\n isActive\n };\n}\n\nfunction useGeolocation(options = {}) {\n const {\n enableHighAccuracy = true,\n maximumAge = 3e4,\n timeout = 27e3,\n navigator = defaultNavigator\n } = options;\n const isSupported = navigator && \"geolocation\" in navigator;\n const locatedAt = ref(null);\n const error = ref(null);\n const coords = ref({\n accuracy: 0,\n latitude: Infinity,\n longitude: Infinity,\n altitude: null,\n altitudeAccuracy: null,\n heading: null,\n speed: null\n });\n function updatePosition(position) {\n locatedAt.value = position.timestamp;\n coords.value = position.coords;\n error.value = null;\n }\n let watcher;\n if (isSupported) {\n watcher = navigator.geolocation.watchPosition(updatePosition, (err) => error.value = err, {\n enableHighAccuracy,\n maximumAge,\n timeout\n });\n }\n tryOnScopeDispose(() => {\n if (watcher && navigator)\n navigator.geolocation.clearWatch(watcher);\n });\n return {\n isSupported,\n coords,\n locatedAt,\n error\n };\n}\n\nconst defaultEvents$1 = [\"mousemove\", \"mousedown\", \"resize\", \"keydown\", \"touchstart\", \"wheel\"];\nconst oneMinute = 6e4;\nfunction useIdle(timeout = oneMinute, options = {}) {\n const {\n initialState = false,\n listenForVisibilityChange = true,\n events = defaultEvents$1,\n window = defaultWindow,\n eventFilter = throttleFilter(50)\n } = options;\n const idle = ref(initialState);\n const lastActive = ref(timestamp());\n let timer;\n const onEvent = createFilterWrapper(eventFilter, () => {\n idle.value = false;\n lastActive.value = timestamp();\n clearTimeout(timer);\n timer = setTimeout(() => idle.value = true, timeout);\n });\n if (window) {\n const document = window.document;\n for (const event of events)\n useEventListener(window, event, onEvent, { passive: true });\n if (listenForVisibilityChange) {\n useEventListener(document, \"visibilitychange\", () => {\n if (!document.hidden)\n onEvent();\n });\n }\n }\n timer = setTimeout(() => idle.value = true, timeout);\n return { idle, lastActive };\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nasync function loadImage(options) {\n return new Promise((resolve, reject) => {\n const img = new Image();\n const { src, srcset, sizes } = options;\n img.src = src;\n if (srcset)\n img.srcset = srcset;\n if (sizes)\n img.sizes = sizes;\n img.onload = () => resolve(img);\n img.onerror = reject;\n });\n}\nconst useImage = (options, asyncStateOptions = {}) => {\n const state = useAsyncState(() => loadImage(unref(options)), void 0, __spreadValues$8({\n resetOnExecute: true\n }, asyncStateOptions));\n watch(() => unref(options), () => state.execute(asyncStateOptions.delay), { deep: true });\n return state;\n};\n\nfunction useScroll(element, options = {}) {\n const {\n throttle = 0,\n idle = 200,\n onStop = noop,\n onScroll = noop,\n offset = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n },\n eventListenerOptions = {\n capture: false,\n passive: true\n }\n } = options;\n const x = ref(0);\n const y = ref(0);\n const isScrolling = ref(false);\n const arrivedState = reactive({\n left: true,\n right: false,\n top: true,\n bottom: false\n });\n const directions = reactive({\n left: false,\n right: false,\n top: false,\n bottom: false\n });\n if (element) {\n const onScrollEnd = useDebounceFn((e) => {\n isScrolling.value = false;\n directions.left = false;\n directions.right = false;\n directions.top = false;\n directions.bottom = false;\n onStop(e);\n }, throttle + idle);\n const onScrollHandler = (e) => {\n const eventTarget = e.target === document ? e.target.documentElement : e.target;\n const scrollLeft = eventTarget.scrollLeft;\n directions.left = scrollLeft < x.value;\n directions.right = scrollLeft > x.value;\n arrivedState.left = scrollLeft <= 0 + (offset.left || 0);\n arrivedState.right = scrollLeft + eventTarget.clientWidth >= eventTarget.scrollWidth - (offset.right || 0);\n x.value = scrollLeft;\n let scrollTop = eventTarget.scrollTop;\n if (e.target === document && !scrollTop)\n scrollTop = document.body.scrollTop;\n directions.top = scrollTop < y.value;\n directions.bottom = scrollTop > y.value;\n arrivedState.top = scrollTop <= 0 + (offset.top || 0);\n arrivedState.bottom = scrollTop + eventTarget.clientHeight >= eventTarget.scrollHeight - (offset.bottom || 0);\n y.value = scrollTop;\n isScrolling.value = true;\n onScrollEnd(e);\n onScroll(e);\n };\n useEventListener(element, \"scroll\", throttle ? useThrottleFn(onScrollHandler, throttle) : onScrollHandler, eventListenerOptions);\n }\n return {\n x,\n y,\n isScrolling,\n arrivedState,\n directions\n };\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n var _a, _b;\n const direction = (_a = options.direction) != null ? _a : \"bottom\";\n const state = reactive(useScroll(element, __spreadProps$2(__spreadValues$7({}, options), {\n offset: __spreadValues$7({\n [direction]: (_b = options.distance) != null ? _b : 0\n }, options.offset)\n })));\n watch(() => state.arrivedState[direction], async (v) => {\n var _a2, _b2;\n if (v) {\n const elem = unref(element);\n const previous = {\n height: (_a2 = elem == null ? void 0 : elem.scrollHeight) != null ? _a2 : 0,\n width: (_b2 = elem == null ? void 0 : elem.scrollWidth) != null ? _b2 : 0\n };\n await onLoadMore(state);\n if (options.preserveScrollPosition && elem) {\n nextTick(() => {\n elem.scrollTo({\n top: elem.scrollHeight - previous.height,\n left: elem.scrollWidth - previous.width\n });\n });\n }\n }\n });\n}\n\nfunction useIntersectionObserver(target, callback, options = {}) {\n const {\n root,\n rootMargin = \"0px\",\n threshold = 0.1,\n window = defaultWindow\n } = options;\n const isSupported = window && \"IntersectionObserver\" in window;\n let cleanup = noop;\n const stopWatch = isSupported ? watch(() => ({\n el: unrefElement(target),\n root: unrefElement(root)\n }), ({ el, root: root2 }) => {\n cleanup();\n if (!el)\n return;\n const observer = new IntersectionObserver(callback, {\n root: root2,\n rootMargin,\n threshold\n });\n observer.observe(el);\n cleanup = () => {\n observer.disconnect();\n cleanup = noop;\n };\n }, { immediate: true, flush: \"post\" }) : noop;\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst defaultEvents = [\"mousedown\", \"mouseup\", \"keydown\", \"keyup\"];\nfunction useKeyModifier(modifier, options = {}) {\n const {\n events = defaultEvents,\n document = defaultDocument,\n initial = null\n } = options;\n const state = ref(initial);\n if (document) {\n events.forEach((listenerEvent) => {\n useEventListener(document, listenerEvent, (evt) => {\n if (typeof evt.getModifierState === \"function\")\n state.value = evt.getModifierState(modifier);\n });\n });\n }\n return state;\n}\n\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);\n}\n\nconst DefaultMagicKeysAliasMap = {\n ctrl: \"control\",\n command: \"meta\",\n cmd: \"meta\",\n option: \"alt\",\n up: \"arrowup\",\n down: \"arrowdown\",\n left: \"arrowleft\",\n right: \"arrowright\"\n};\n\nfunction useMagicKeys(options = {}) {\n const {\n reactive: useReactive = false,\n target = defaultWindow,\n aliasMap = DefaultMagicKeysAliasMap,\n passive = true,\n onEventFired = noop\n } = options;\n const current = reactive(new Set());\n const obj = { toJSON() {\n return {};\n }, current };\n const refs = useReactive ? reactive(obj) : obj;\n const metaDeps = new Set();\n const usedKeys = new Set();\n function setRefs(key, value) {\n if (key in refs) {\n if (useReactive)\n refs[key] = value;\n else\n refs[key].value = value;\n }\n }\n function reset() {\n for (const key of usedKeys)\n setRefs(key, false);\n }\n function updateRefs(e, value) {\n var _a, _b;\n const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();\n const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();\n const values = [code, key].filter(Boolean);\n if (code) {\n if (value)\n current.add(e.code);\n else\n current.delete(e.code);\n }\n for (const key2 of values) {\n usedKeys.add(key2);\n setRefs(key2, value);\n }\n if (key === \"meta\" && !value) {\n metaDeps.forEach((key2) => {\n current.delete(key2);\n setRefs(key2, false);\n });\n metaDeps.clear();\n } else if (typeof e.getModifierState === \"function\" && e.getModifierState(\"Meta\") && value) {\n [...current, ...values].forEach((key2) => metaDeps.add(key2));\n }\n }\n if (target) {\n useEventListener(target, \"keydown\", (e) => {\n updateRefs(e, true);\n return onEventFired(e);\n }, { passive });\n useEventListener(target, \"keyup\", (e) => {\n updateRefs(e, false);\n return onEventFired(e);\n }, { passive });\n useEventListener(\"blur\", reset, { passive: true });\n useEventListener(\"focus\", reset, { passive: true });\n }\n const proxy = new Proxy(refs, {\n get(target2, prop, rec) {\n if (typeof prop !== \"string\")\n return Reflect.get(target2, prop, rec);\n prop = prop.toLowerCase();\n if (prop in aliasMap)\n prop = aliasMap[prop];\n if (!(prop in refs)) {\n if (/[+_-]/.test(prop)) {\n const keys = prop.split(/[+_-]/g).map((i) => i.trim());\n refs[prop] = computed(() => keys.every((key) => unref(proxy[key])));\n } else {\n refs[prop] = ref(false);\n }\n }\n const r = Reflect.get(target2, prop, rec);\n return useReactive ? unref(r) : r;\n }\n });\n return proxy;\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nfunction usingElRef(source, cb) {\n if (unref(source))\n cb(unref(source));\n}\nfunction timeRangeToArray(timeRanges) {\n let ranges = [];\n for (let i = 0; i < timeRanges.length; ++i)\n ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n return ranges;\n}\nfunction tracksToArray(tracks) {\n return Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({ id, label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }));\n}\nconst defaultOptions = {\n src: \"\",\n tracks: []\n};\nfunction useMediaControls(target, options = {}) {\n options = __spreadValues$6(__spreadValues$6({}, defaultOptions), options);\n const {\n document = defaultDocument\n } = options;\n const currentTime = ref(0);\n const duration = ref(0);\n const seeking = ref(false);\n const volume = ref(1);\n const waiting = ref(false);\n const ended = ref(false);\n const playing = ref(false);\n const rate = ref(1);\n const stalled = ref(false);\n const buffered = ref([]);\n const tracks = ref([]);\n const selectedTrack = ref(-1);\n const isPictureInPicture = ref(false);\n const muted = ref(false);\n const supportsPictureInPicture = document && \"pictureInPictureEnabled\" in document;\n const sourceErrorEvent = createEventHook();\n const disableTrack = (track) => {\n usingElRef(target, (el) => {\n if (track) {\n const id = isNumber(track) ? track : track.id;\n el.textTracks[id].mode = \"disabled\";\n } else {\n for (let i = 0; i < el.textTracks.length; ++i)\n el.textTracks[i].mode = \"disabled\";\n }\n selectedTrack.value = -1;\n });\n };\n const enableTrack = (track, disableTracks = true) => {\n usingElRef(target, (el) => {\n const id = isNumber(track) ? track : track.id;\n if (disableTracks)\n disableTrack();\n el.textTracks[id].mode = \"showing\";\n selectedTrack.value = id;\n });\n };\n const togglePictureInPicture = () => {\n return new Promise((resolve, reject) => {\n usingElRef(target, async (el) => {\n if (supportsPictureInPicture) {\n if (!isPictureInPicture.value) {\n el.requestPictureInPicture().then(resolve).catch(reject);\n } else {\n document.exitPictureInPicture().then(resolve).catch(reject);\n }\n }\n });\n });\n };\n watchEffect(() => {\n if (!document)\n return;\n const el = unref(target);\n if (!el)\n return;\n const src = unref(options.src);\n let sources = [];\n if (!src)\n return;\n if (isString(src))\n sources = [{ src }];\n else if (Array.isArray(src))\n sources = src;\n else if (isObject(src))\n sources = [src];\n el.querySelectorAll(\"source\").forEach((e) => {\n e.removeEventListener(\"error\", sourceErrorEvent.trigger);\n e.remove();\n });\n sources.forEach(({ src: src2, type }) => {\n const source = document.createElement(\"source\");\n source.setAttribute(\"src\", src2);\n source.setAttribute(\"type\", type || \"\");\n source.addEventListener(\"error\", sourceErrorEvent.trigger);\n el.appendChild(source);\n });\n el.load();\n });\n tryOnScopeDispose(() => {\n const el = unref(target);\n if (!el)\n return;\n el.querySelectorAll(\"source\").forEach((e) => e.removeEventListener(\"error\", sourceErrorEvent.trigger));\n });\n watch(volume, (vol) => {\n const el = unref(target);\n if (!el)\n return;\n el.volume = vol;\n });\n watch(muted, (mute) => {\n const el = unref(target);\n if (!el)\n return;\n el.muted = mute;\n });\n watch(rate, (rate2) => {\n const el = unref(target);\n if (!el)\n return;\n el.playbackRate = rate2;\n });\n watchEffect(() => {\n if (!document)\n return;\n const textTracks = unref(options.tracks);\n const el = unref(target);\n if (!textTracks || !textTracks.length || !el)\n return;\n el.querySelectorAll(\"track\").forEach((e) => e.remove());\n textTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n const track = document.createElement(\"track\");\n track.default = isDefault || false;\n track.kind = kind;\n track.label = label;\n track.src = src;\n track.srclang = srcLang;\n if (track.default)\n selectedTrack.value = i;\n el.appendChild(track);\n });\n });\n const { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n const el = unref(target);\n if (!el)\n return;\n el.currentTime = time;\n });\n const { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n const el = unref(target);\n if (!el)\n return;\n isPlaying ? el.play() : el.pause();\n });\n useEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = unref(target).currentTime));\n useEventListener(target, \"durationchange\", () => duration.value = unref(target).duration);\n useEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(unref(target).buffered));\n useEventListener(target, \"seeking\", () => seeking.value = true);\n useEventListener(target, \"seeked\", () => seeking.value = false);\n useEventListener(target, \"waiting\", () => waiting.value = true);\n useEventListener(target, \"playing\", () => waiting.value = false);\n useEventListener(target, \"ratechange\", () => rate.value = unref(target).playbackRate);\n useEventListener(target, \"stalled\", () => stalled.value = true);\n useEventListener(target, \"ended\", () => ended.value = true);\n useEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false));\n useEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true));\n useEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true);\n useEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false);\n useEventListener(target, \"volumechange\", () => {\n const el = unref(target);\n if (!el)\n return;\n volume.value = el.volume;\n muted.value = el.muted;\n });\n const listeners = [];\n const stop = watch([target], () => {\n const el = unref(target);\n if (!el)\n return;\n stop();\n listeners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks));\n });\n tryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n return {\n currentTime,\n duration,\n waiting,\n seeking,\n ended,\n stalled,\n buffered,\n playing,\n rate,\n volume,\n muted,\n tracks,\n selectedTrack,\n enableTrack,\n disableTrack,\n supportsPictureInPicture,\n togglePictureInPicture,\n isPictureInPicture,\n onSourceError: sourceErrorEvent.on\n };\n}\n\nconst getMapVue2Compat = () => {\n const data = reactive({});\n return {\n get: (key) => data[key],\n set: (key, value) => set(data, key, value),\n has: (key) => Object.prototype.hasOwnProperty.call(data, key),\n delete: (key) => del(data, key),\n clear: () => {\n Object.keys(data).forEach((key) => {\n del(data, key);\n });\n }\n };\n};\nfunction useMemoize(resolver, options) {\n const initCache = () => {\n if (options == null ? void 0 : options.cache)\n return reactive(options.cache);\n if (isVue2)\n return getMapVue2Compat();\n return reactive(new Map());\n };\n const cache = initCache();\n const generateKey = (...args) => (options == null ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n const _loadData = (key, ...args) => {\n cache.set(key, resolver(...args));\n return cache.get(key);\n };\n const loadData = (...args) => _loadData(generateKey(...args), ...args);\n const deleteData = (...args) => {\n cache.delete(generateKey(...args));\n };\n const clearData = () => {\n cache.clear();\n };\n const memoized = (...args) => {\n const key = generateKey(...args);\n if (cache.has(key))\n return cache.get(key);\n return _loadData(key, ...args);\n };\n memoized.load = loadData;\n memoized.delete = deleteData;\n memoized.clear = clearData;\n memoized.generateKey = generateKey;\n memoized.cache = cache;\n return memoized;\n}\n\nfunction useMemory(options = {}) {\n const memory = ref();\n const isSupported = typeof performance !== \"undefined\" && \"memory\" in performance;\n if (isSupported) {\n const { interval = 1e3 } = options;\n useIntervalFn(() => {\n memory.value = performance.memory;\n }, interval, { immediate: options.immediate, immediateCallback: options.immediateCallback });\n }\n return { isSupported, memory };\n}\n\nfunction useMounted() {\n const isMounted = ref(false);\n onMounted(() => {\n isMounted.value = true;\n });\n return isMounted;\n}\n\nfunction useMouse(options = {}) {\n const {\n type = \"page\",\n touch = true,\n resetOnTouchEnds = false,\n initialValue = { x: 0, y: 0 },\n window = defaultWindow,\n eventFilter\n } = options;\n const x = ref(initialValue.x);\n const y = ref(initialValue.y);\n const sourceType = ref(null);\n const mouseHandler = (event) => {\n if (type === \"page\") {\n x.value = event.pageX;\n y.value = event.pageY;\n } else if (type === \"client\") {\n x.value = event.clientX;\n y.value = event.clientY;\n }\n sourceType.value = \"mouse\";\n };\n const reset = () => {\n x.value = initialValue.x;\n y.value = initialValue.y;\n };\n const touchHandler = (event) => {\n if (event.touches.length > 0) {\n const touch2 = event.touches[0];\n if (type === \"page\") {\n x.value = touch2.pageX;\n y.value = touch2.pageY;\n } else if (type === \"client\") {\n x.value = touch2.clientX;\n y.value = touch2.clientY;\n }\n sourceType.value = \"touch\";\n }\n };\n const mouseHandlerWrapper = (event) => {\n return eventFilter === void 0 ? mouseHandler(event) : eventFilter(() => mouseHandler(event), {});\n };\n const touchHandlerWrapper = (event) => {\n return eventFilter === void 0 ? touchHandler(event) : eventFilter(() => touchHandler(event), {});\n };\n if (window) {\n useEventListener(window, \"mousemove\", mouseHandlerWrapper, { passive: true });\n useEventListener(window, \"dragover\", mouseHandlerWrapper, { passive: true });\n if (touch) {\n useEventListener(window, \"touchstart\", touchHandlerWrapper, { passive: true });\n useEventListener(window, \"touchmove\", touchHandlerWrapper, { passive: true });\n if (resetOnTouchEnds)\n useEventListener(window, \"touchend\", reset, { passive: true });\n }\n }\n return {\n x,\n y,\n sourceType\n };\n}\n\nfunction useMouseInElement(target, options = {}) {\n const {\n handleOutside = true,\n window = defaultWindow\n } = options;\n const { x, y, sourceType } = useMouse(options);\n const targetRef = ref(target != null ? target : window == null ? void 0 : window.document.body);\n const elementX = ref(0);\n const elementY = ref(0);\n const elementPositionX = ref(0);\n const elementPositionY = ref(0);\n const elementHeight = ref(0);\n const elementWidth = ref(0);\n const isOutside = ref(true);\n let stop = () => {\n };\n if (window) {\n stop = watch([targetRef, x, y], () => {\n const el = unrefElement(targetRef);\n if (!el)\n return;\n const {\n left,\n top,\n width,\n height\n } = el.getBoundingClientRect();\n elementPositionX.value = left + window.pageXOffset;\n elementPositionY.value = top + window.pageYOffset;\n elementHeight.value = height;\n elementWidth.value = width;\n const elX = x.value - elementPositionX.value;\n const elY = y.value - elementPositionY.value;\n isOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n if (handleOutside || !isOutside.value) {\n elementX.value = elX;\n elementY.value = elY;\n }\n }, { immediate: true });\n }\n return {\n x,\n y,\n sourceType,\n elementX,\n elementY,\n elementPositionX,\n elementPositionY,\n elementHeight,\n elementWidth,\n isOutside,\n stop\n };\n}\n\nfunction useMousePressed(options = {}) {\n const {\n touch = true,\n drag = true,\n initialValue = false,\n window = defaultWindow\n } = options;\n const pressed = ref(initialValue);\n const sourceType = ref(null);\n if (!window) {\n return {\n pressed,\n sourceType\n };\n }\n const onPressed = (srcType) => () => {\n pressed.value = true;\n sourceType.value = srcType;\n };\n const onReleased = () => {\n pressed.value = false;\n sourceType.value = null;\n };\n const target = computed(() => unrefElement(options.target) || window);\n useEventListener(target, \"mousedown\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"mouseleave\", onReleased, { passive: true });\n useEventListener(window, \"mouseup\", onReleased, { passive: true });\n if (drag) {\n useEventListener(target, \"dragstart\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"drop\", onReleased, { passive: true });\n useEventListener(window, \"dragend\", onReleased, { passive: true });\n }\n if (touch) {\n useEventListener(target, \"touchstart\", onPressed(\"touch\"), { passive: true });\n useEventListener(window, \"touchend\", onReleased, { passive: true });\n useEventListener(window, \"touchcancel\", onReleased, { passive: true });\n }\n return {\n pressed,\n sourceType\n };\n}\n\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useMutationObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, mutationOptions = __objRest$1(_a, [\"window\"]);\n let observer;\n const isSupported = window && \"MutationObserver\" in window;\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported && window && el) {\n observer = new MutationObserver(callback);\n observer.observe(el, mutationOptions);\n }\n }, { immediate: true });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst useNavigatorLanguage = (options = {}) => {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = Boolean(navigator && \"language\" in navigator);\n const language = ref(navigator == null ? void 0 : navigator.language);\n useEventListener(window, \"languagechange\", () => {\n if (navigator)\n language.value = navigator.language;\n });\n return {\n isSupported,\n language\n };\n};\n\nfunction useNetwork(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = Boolean(navigator && \"connection\" in navigator);\n const isOnline = ref(true);\n const saveData = ref(false);\n const offlineAt = ref(void 0);\n const onlineAt = ref(void 0);\n const downlink = ref(void 0);\n const downlinkMax = ref(void 0);\n const rtt = ref(void 0);\n const effectiveType = ref(void 0);\n const type = ref(\"unknown\");\n const connection = isSupported && navigator.connection;\n function updateNetworkInformation() {\n if (!navigator)\n return;\n isOnline.value = navigator.onLine;\n offlineAt.value = isOnline.value ? void 0 : Date.now();\n onlineAt.value = isOnline.value ? Date.now() : void 0;\n if (connection) {\n downlink.value = connection.downlink;\n downlinkMax.value = connection.downlinkMax;\n effectiveType.value = connection.effectiveType;\n rtt.value = connection.rtt;\n saveData.value = connection.saveData;\n type.value = connection.type;\n }\n }\n if (window) {\n useEventListener(window, \"offline\", () => {\n isOnline.value = false;\n offlineAt.value = Date.now();\n });\n useEventListener(window, \"online\", () => {\n isOnline.value = true;\n onlineAt.value = Date.now();\n });\n }\n if (connection)\n useEventListener(connection, \"change\", updateNetworkInformation, false);\n updateNetworkInformation();\n return {\n isSupported,\n isOnline,\n saveData,\n offlineAt,\n onlineAt,\n downlink,\n downlinkMax,\n effectiveType,\n rtt,\n type\n };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(b)) {\n if (__propIsEnum$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useNow(options = {}) {\n const {\n controls: exposeControls = false,\n interval = \"requestAnimationFrame\"\n } = options;\n const now = ref(new Date());\n const update = () => now.value = new Date();\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate: true }) : useIntervalFn(update, interval, { immediate: true });\n if (exposeControls) {\n return __spreadValues$5({\n now\n }, controls);\n } else {\n return now;\n }\n}\n\nfunction useObjectUrl(object) {\n const url = ref();\n const release = () => {\n if (url.value)\n URL.revokeObjectURL(url.value);\n url.value = void 0;\n };\n watch(() => unref(object), (newObject) => {\n release();\n if (newObject)\n url.value = URL.createObjectURL(newObject);\n }, { immediate: true });\n tryOnScopeDispose(release);\n return readonly(url);\n}\n\nfunction useOffsetPagination(options) {\n const {\n total = Infinity,\n pageSize = 10,\n page = 1,\n onPageChange = noop,\n onPageSizeChange = noop,\n onPageCountChange = noop\n } = options;\n const currentPageSize = useClamp(pageSize, 1, Infinity);\n const pageCount = computed(() => Math.ceil(unref(total) / unref(currentPageSize)));\n const currentPage = useClamp(page, 1, pageCount);\n const isFirstPage = computed(() => currentPage.value === 1);\n const isLastPage = computed(() => currentPage.value === pageCount.value);\n if (isRef(page))\n syncRef(page, currentPage);\n if (isRef(pageSize))\n syncRef(pageSize, currentPageSize);\n function prev() {\n currentPage.value--;\n }\n function next() {\n currentPage.value++;\n }\n const returnValue = {\n currentPage,\n currentPageSize,\n pageCount,\n isFirstPage,\n isLastPage,\n prev,\n next\n };\n watch(currentPage, () => {\n onPageChange(reactive(returnValue));\n });\n watch(currentPageSize, () => {\n onPageSizeChange(reactive(returnValue));\n });\n watch(pageCount, () => {\n onPageCountChange(reactive(returnValue));\n });\n return returnValue;\n}\n\nfunction useOnline(options = {}) {\n const { isOnline } = useNetwork(options);\n return isOnline;\n}\n\nfunction usePageLeave(options = {}) {\n const { window = defaultWindow } = options;\n const isLeft = ref(false);\n const handler = (event) => {\n if (!window)\n return;\n event = event || window.event;\n const from = event.relatedTarget || event.toElement;\n isLeft.value = !from;\n };\n if (window) {\n useEventListener(window, \"mouseout\", handler, { passive: true });\n useEventListener(window.document, \"mouseleave\", handler, { passive: true });\n useEventListener(window.document, \"mouseenter\", handler, { passive: true });\n }\n return isLeft;\n}\n\nfunction useParallax(target, options = {}) {\n const {\n deviceOrientationTiltAdjust = (i) => i,\n deviceOrientationRollAdjust = (i) => i,\n mouseTiltAdjust = (i) => i,\n mouseRollAdjust = (i) => i,\n window = defaultWindow\n } = options;\n const orientation = reactive(useDeviceOrientation({ window }));\n const {\n elementX: x,\n elementY: y,\n elementWidth: width,\n elementHeight: height\n } = useMouseInElement(target, { handleOutside: false, window });\n const source = computed(() => {\n if (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0))\n return \"deviceOrientation\";\n return \"mouse\";\n });\n const roll = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = -orientation.beta / 90;\n return deviceOrientationRollAdjust(value);\n } else {\n const value = -(y.value - height.value / 2) / height.value;\n return mouseRollAdjust(value);\n }\n });\n const tilt = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = orientation.gamma / 90;\n return deviceOrientationTiltAdjust(value);\n } else {\n const value = (x.value - width.value / 2) / width.value;\n return mouseTiltAdjust(value);\n }\n });\n return { roll, tilt, source };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nconst defaultState = {\n x: 0,\n y: 0,\n pointerId: 0,\n pressure: 0,\n tiltX: 0,\n tiltY: 0,\n width: 0,\n height: 0,\n twist: 0,\n pointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\nfunction usePointer(options = {}) {\n const {\n target = defaultWindow\n } = options;\n const isInside = ref(false);\n const state = ref(options.initialValue || {});\n Object.assign(state.value, defaultState, state.value);\n const handler = (event) => {\n isInside.value = true;\n if (options.pointerTypes && !options.pointerTypes.includes(event.pointerType))\n return;\n state.value = objectPick(event, keys, false);\n };\n if (target) {\n useEventListener(target, \"pointerdown\", handler, { passive: true });\n useEventListener(target, \"pointermove\", handler, { passive: true });\n useEventListener(target, \"pointerleave\", () => isInside.value = false, { passive: true });\n }\n return __spreadProps$1(__spreadValues$4({}, toRefs(state)), {\n isInside\n });\n}\n\nvar SwipeDirection;\n(function(SwipeDirection2) {\n SwipeDirection2[\"UP\"] = \"UP\";\n SwipeDirection2[\"RIGHT\"] = \"RIGHT\";\n SwipeDirection2[\"DOWN\"] = \"DOWN\";\n SwipeDirection2[\"LEFT\"] = \"LEFT\";\n SwipeDirection2[\"NONE\"] = \"NONE\";\n})(SwipeDirection || (SwipeDirection = {}));\nfunction useSwipe(target, options = {}) {\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n passive = true,\n window = defaultWindow\n } = options;\n const coordsStart = reactive({ x: 0, y: 0 });\n const coordsEnd = reactive({ x: 0, y: 0 });\n const diffX = computed(() => coordsStart.x - coordsEnd.x);\n const diffY = computed(() => coordsStart.y - coordsEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(diffX.value), abs(diffY.value)) >= threshold);\n const isSwiping = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(diffX.value) > abs(diffY.value)) {\n return diffX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return diffY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const getTouchEventCoords = (e) => [e.touches[0].clientX, e.touches[0].clientY];\n const updateCoordsStart = (x, y) => {\n coordsStart.x = x;\n coordsStart.y = y;\n };\n const updateCoordsEnd = (x, y) => {\n coordsEnd.x = x;\n coordsEnd.y = y;\n };\n let listenerOptions;\n const isPassiveEventSupported = checkPassiveEventSupport(window == null ? void 0 : window.document);\n if (!passive)\n listenerOptions = isPassiveEventSupported ? { passive: false, capture: true } : { capture: true };\n else\n listenerOptions = isPassiveEventSupported ? { passive: true } : { capture: false };\n const onTouchEnd = (e) => {\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isSwiping.value = false;\n };\n const stops = [\n useEventListener(target, \"touchstart\", (e) => {\n if (listenerOptions.capture && !listenerOptions.passive)\n e.preventDefault();\n const [x, y] = getTouchEventCoords(e);\n updateCoordsStart(x, y);\n updateCoordsEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }, listenerOptions),\n useEventListener(target, \"touchmove\", (e) => {\n const [x, y] = getTouchEventCoords(e);\n updateCoordsEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }, listenerOptions),\n useEventListener(target, \"touchend\", onTouchEnd, listenerOptions),\n useEventListener(target, \"touchcancel\", onTouchEnd, listenerOptions)\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isPassiveEventSupported,\n isSwiping,\n direction,\n coordsStart,\n coordsEnd,\n lengthX: diffX,\n lengthY: diffY,\n stop\n };\n}\nfunction checkPassiveEventSupport(document) {\n if (!document)\n return false;\n let supportsPassive = false;\n const optionsBlock = {\n get passive() {\n supportsPassive = true;\n return false;\n }\n };\n document.addEventListener(\"x\", noop, optionsBlock);\n document.removeEventListener(\"x\", noop);\n return supportsPassive;\n}\n\nfunction usePointerSwipe(target, options = {}) {\n const targetRef = ref(target);\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart\n } = options;\n const posStart = reactive({ x: 0, y: 0 });\n const updatePosStart = (x, y) => {\n posStart.x = x;\n posStart.y = y;\n };\n const posEnd = reactive({ x: 0, y: 0 });\n const updatePosEnd = (x, y) => {\n posEnd.x = x;\n posEnd.y = y;\n };\n const distanceX = computed(() => posStart.x - posEnd.x);\n const distanceY = computed(() => posStart.y - posEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n const isSwiping = ref(false);\n const isPointerDown = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(distanceX.value) > abs(distanceY.value)) {\n return distanceX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return distanceY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const filterEvent = (e) => {\n if (options.pointerTypes)\n return options.pointerTypes.includes(e.pointerType);\n return true;\n };\n const stops = [\n useEventListener(target, \"pointerdown\", (e) => {\n var _a, _b;\n if (!filterEvent(e))\n return;\n isPointerDown.value = true;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"none\");\n const eventTarget = e.target;\n eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);\n const { clientX: x, clientY: y } = e;\n updatePosStart(x, y);\n updatePosEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }),\n useEventListener(target, \"pointermove\", (e) => {\n if (!filterEvent(e))\n return;\n if (!isPointerDown.value)\n return;\n const { clientX: x, clientY: y } = e;\n updatePosEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }),\n useEventListener(target, \"pointerup\", (e) => {\n var _a, _b;\n if (!filterEvent(e))\n return;\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isPointerDown.value = false;\n isSwiping.value = false;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"initial\");\n })\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isSwiping: readonly(isSwiping),\n direction: readonly(direction),\n posStart: readonly(posStart),\n posEnd: readonly(posEnd),\n distanceX,\n distanceY,\n stop\n };\n}\n\nfunction usePreferredColorScheme(options) {\n const isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n const isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n return computed(() => {\n if (isDark.value)\n return \"dark\";\n if (isLight.value)\n return \"light\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredLanguages(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref([\"en\"]);\n const navigator = window.navigator;\n const value = ref(navigator.languages);\n useEventListener(window, \"languagechange\", () => {\n value.value = navigator.languages;\n });\n return value;\n}\n\nconst useScreenOrientation = (options = {}) => {\n const {\n window = defaultWindow\n } = options;\n const isSupported = !!(window && \"screen\" in window && \"orientation\" in window.screen);\n const screenOrientation = isSupported ? window.screen.orientation : {};\n const orientation = ref(screenOrientation.type);\n const angle = ref(screenOrientation.angle || 0);\n if (isSupported) {\n useEventListener(window, \"orientationchange\", () => {\n orientation.value = screenOrientation.type;\n angle.value = screenOrientation.angle;\n });\n }\n const lockOrientation = (type) => {\n if (!isSupported)\n return Promise.reject(new Error(\"Not supported\"));\n return screenOrientation.lock(type);\n };\n const unlockOrientation = () => {\n if (isSupported)\n screenOrientation.unlock();\n };\n return {\n isSupported,\n orientation,\n angle,\n lockOrientation,\n unlockOrientation\n };\n};\n\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\nfunction useScreenSafeArea() {\n const top = ref(\"\");\n const right = ref(\"\");\n const bottom = ref(\"\");\n const left = ref(\"\");\n if (isClient) {\n const topCssVar = useCssVar(topVarName);\n const rightCssVar = useCssVar(rightVarName);\n const bottomCssVar = useCssVar(bottomVarName);\n const leftCssVar = useCssVar(leftVarName);\n topCssVar.value = \"env(safe-area-inset-top, 0px)\";\n rightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n bottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n leftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n update();\n useEventListener(\"resize\", useDebounceFn(update));\n }\n function update() {\n top.value = getValue(topVarName);\n right.value = getValue(rightVarName);\n bottom.value = getValue(bottomVarName);\n left.value = getValue(leftVarName);\n }\n return {\n top,\n right,\n bottom,\n left,\n update\n };\n}\nfunction getValue(position) {\n return getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n const {\n immediate = true,\n manual = false,\n type = \"text/javascript\",\n async = true,\n crossOrigin,\n referrerPolicy,\n noModule,\n defer,\n document = defaultDocument,\n attrs = {}\n } = options;\n const scriptTag = ref(null);\n let _promise = null;\n const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {\n const resolveWithElement = (el2) => {\n scriptTag.value = el2;\n resolve(el2);\n return el2;\n };\n if (!document) {\n resolve(false);\n return;\n }\n let shouldAppend = false;\n let el = document.querySelector(`script[src=\"${src}\"]`);\n if (!el) {\n el = document.createElement(\"script\");\n el.type = type;\n el.async = async;\n el.src = unref(src);\n if (defer)\n el.defer = defer;\n if (crossOrigin)\n el.crossOrigin = crossOrigin;\n if (noModule)\n el.noModule = noModule;\n if (referrerPolicy)\n el.referrerPolicy = referrerPolicy;\n Object.entries(attrs).forEach(([name, value]) => el == null ? void 0 : el.setAttribute(name, value));\n shouldAppend = true;\n } else if (el.hasAttribute(\"data-loaded\")) {\n resolveWithElement(el);\n }\n el.addEventListener(\"error\", (event) => reject(event));\n el.addEventListener(\"abort\", (event) => reject(event));\n el.addEventListener(\"load\", () => {\n el.setAttribute(\"data-loaded\", \"true\");\n onLoaded(el);\n resolveWithElement(el);\n });\n if (shouldAppend)\n el = document.head.appendChild(el);\n if (!waitForScriptLoad)\n resolveWithElement(el);\n });\n const load = (waitForScriptLoad = true) => {\n if (!_promise)\n _promise = loadScript(waitForScriptLoad);\n return _promise;\n };\n const unload = () => {\n if (!document)\n return;\n _promise = null;\n if (scriptTag.value)\n scriptTag.value = null;\n const el = document.querySelector(`script[src=\"${src}\"]`);\n if (el)\n document.head.removeChild(el);\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnUnmounted(unload);\n return { scriptTag, load, unload };\n}\n\nfunction preventDefault(rawEvent) {\n const e = rawEvent || window.event;\n if (e.touches.length > 1)\n return true;\n if (e.preventDefault)\n e.preventDefault();\n return false;\n}\nfunction useScrollLock(element, initialState = false) {\n const isLocked = ref(initialState);\n let stopTouchMoveListener = null;\n let initialOverflow;\n watch(() => unref(element), (el) => {\n if (el) {\n const ele = el;\n initialOverflow = ele.style.overflow;\n if (isLocked.value)\n ele.style.overflow = \"hidden\";\n }\n }, {\n immediate: true\n });\n const lock = () => {\n const ele = unref(element);\n if (!ele || isLocked.value)\n return;\n if (isIOS) {\n stopTouchMoveListener = useEventListener(ele, \"touchmove\", preventDefault, { passive: false });\n }\n ele.style.overflow = \"hidden\";\n isLocked.value = true;\n };\n const unlock = () => {\n const ele = unref(element);\n if (!ele || !isLocked.value)\n return;\n isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());\n ele.style.overflow = initialOverflow;\n isLocked.value = false;\n };\n tryOnScopeDispose(unlock);\n return computed({\n get() {\n return isLocked.value;\n },\n set(v) {\n if (v)\n lock();\n else\n unlock();\n }\n });\n}\n\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.sessionStorage, options);\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nfunction useShare(shareOptions = {}, options = {}) {\n const { navigator = defaultNavigator } = options;\n const _navigator = navigator;\n const isSupported = _navigator && \"canShare\" in _navigator;\n const share = async (overrideOptions = {}) => {\n if (isSupported) {\n const data = __spreadValues$3(__spreadValues$3({}, unref(shareOptions)), unref(overrideOptions));\n let granted = true;\n if (data.files && _navigator.canShare)\n granted = _navigator.canShare({ files: data.files });\n if (granted)\n return _navigator.share(data);\n }\n };\n return {\n isSupported,\n share\n };\n}\n\nfunction useSpeechRecognition(options = {}) {\n const {\n interimResults = true,\n continuous = true,\n window = defaultWindow\n } = options;\n const lang = ref(options.lang || \"en-US\");\n const isListening = ref(false);\n const isFinal = ref(false);\n const result = ref(\"\");\n const error = shallowRef(void 0);\n const toggle = (value = !isListening.value) => {\n isListening.value = value;\n };\n const start = () => {\n isListening.value = true;\n };\n const stop = () => {\n isListening.value = false;\n };\n const SpeechRecognition = window && (window.SpeechRecognition || window.webkitSpeechRecognition);\n const isSupported = Boolean(SpeechRecognition);\n let recognition;\n if (isSupported) {\n recognition = new SpeechRecognition();\n recognition.continuous = continuous;\n recognition.interimResults = interimResults;\n recognition.lang = unref(lang);\n recognition.onstart = () => {\n isFinal.value = false;\n };\n watch(lang, (lang2) => {\n if (recognition && !isListening.value)\n recognition.lang = lang2;\n });\n recognition.onresult = (event) => {\n const transcript = Array.from(event.results).map((result2) => {\n isFinal.value = result2.isFinal;\n return result2[0];\n }).map((result2) => result2.transcript).join(\"\");\n result.value = transcript;\n error.value = void 0;\n };\n recognition.onerror = (event) => {\n error.value = event;\n };\n recognition.onend = () => {\n isListening.value = false;\n recognition.lang = unref(lang);\n };\n watch(isListening, () => {\n if (isListening.value)\n recognition.start();\n else\n recognition.stop();\n });\n }\n tryOnScopeDispose(() => {\n isListening.value = false;\n });\n return {\n isSupported,\n isListening,\n isFinal,\n recognition,\n result,\n error,\n toggle,\n start,\n stop\n };\n}\n\nfunction useSpeechSynthesis(text, options = {}) {\n var _a, _b;\n const {\n pitch = 1,\n rate = 1,\n volume = 1,\n window = defaultWindow\n } = options;\n const synth = window && window.speechSynthesis;\n const isSupported = Boolean(synth);\n const isPlaying = ref(false);\n const status = ref(\"init\");\n const voiceInfo = {\n lang: ((_a = options.voice) == null ? void 0 : _a.lang) || \"default\",\n name: ((_b = options.voice) == null ? void 0 : _b.name) || \"\"\n };\n const spokenText = ref(text || \"\");\n const lang = ref(options.lang || \"en-US\");\n const error = shallowRef(void 0);\n const toggle = (value = !isPlaying.value) => {\n isPlaying.value = value;\n };\n const bindEventsForUtterance = (utterance2) => {\n utterance2.lang = unref(lang);\n options.voice && (utterance2.voice = options.voice);\n utterance2.pitch = pitch;\n utterance2.rate = rate;\n utterance2.volume = volume;\n utterance2.onstart = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onpause = () => {\n isPlaying.value = false;\n status.value = \"pause\";\n };\n utterance2.onresume = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n status.value = \"end\";\n };\n utterance2.onerror = (event) => {\n error.value = event;\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n utterance2.lang = unref(lang);\n };\n };\n const utterance = computed(() => {\n isPlaying.value = false;\n status.value = \"init\";\n const newUtterance = new SpeechSynthesisUtterance(spokenText.value);\n bindEventsForUtterance(newUtterance);\n return newUtterance;\n });\n const speak = () => {\n synth.cancel();\n utterance && synth.speak(utterance.value);\n };\n if (isSupported) {\n bindEventsForUtterance(utterance.value);\n watch(lang, (lang2) => {\n if (utterance.value && !isPlaying.value)\n utterance.value.lang = lang2;\n });\n watch(isPlaying, () => {\n if (isPlaying.value)\n synth.resume();\n else\n synth.pause();\n });\n }\n tryOnScopeDispose(() => {\n isPlaying.value = false;\n });\n return {\n isSupported,\n isPlaying,\n status,\n voiceInfo,\n utterance,\n error,\n toggle,\n speak\n };\n}\n\nfunction useStepper(steps, initialStep) {\n const stepsRef = ref(steps);\n const stepNames = computed(() => Array.isArray(stepsRef.value) ? stepsRef.value : Object.keys(stepsRef.value));\n const index = ref(stepNames.value.indexOf(initialStep != null ? initialStep : stepNames.value[0]));\n const current = computed(() => at(index.value));\n const isFirst = computed(() => index.value === 0);\n const isLast = computed(() => index.value === stepNames.value.length - 1);\n const next = computed(() => stepNames.value[index.value + 1]);\n const previous = computed(() => stepNames.value[index.value - 1]);\n function at(index2) {\n if (Array.isArray(stepsRef.value))\n return stepsRef.value[index2];\n return stepsRef.value[stepNames.value[index2]];\n }\n function get(step) {\n if (!stepNames.value.includes(step))\n return;\n return at(stepNames.value.indexOf(step));\n }\n function goTo(step) {\n if (stepNames.value.includes(step))\n index.value = stepNames.value.indexOf(step);\n }\n function goToNext() {\n if (isLast.value)\n return;\n index.value++;\n }\n function goToPrevious() {\n if (isFirst.value)\n return;\n index.value--;\n }\n function goBackTo(step) {\n if (isAfter(step))\n goTo(step);\n }\n function isNext(step) {\n return stepNames.value.indexOf(step) === index.value + 1;\n }\n function isPrevious(step) {\n return stepNames.value.indexOf(step) === index.value - 1;\n }\n function isCurrent(step) {\n return stepNames.value.indexOf(step) === index.value;\n }\n function isBefore(step) {\n return index.value < stepNames.value.indexOf(step);\n }\n function isAfter(step) {\n return index.value > stepNames.value.indexOf(step);\n }\n return {\n steps: stepsRef,\n stepNames,\n index,\n current,\n next,\n previous,\n isFirst,\n isLast,\n at,\n get,\n goTo,\n goToNext,\n goToPrevious,\n goBackTo,\n isNext,\n isPrevious,\n isCurrent,\n isBefore,\n isAfter\n };\n}\n\nfunction useStorageAsync(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const rawInit = unref(initialValue);\n const type = guessSerializerType(rawInit);\n const data = (shallow ? shallowRef : ref)(initialValue);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n async function read(event) {\n if (!storage || event && event.key !== key)\n return;\n try {\n const rawValue = event ? event.newValue : await storage.getItem(key);\n if (rawValue == null) {\n data.value = rawInit;\n if (writeDefaults && rawInit !== null)\n await storage.setItem(key, await serializer.write(rawInit));\n } else {\n data.value = await serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n }\n }\n read();\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", (e) => setTimeout(() => read(e), 0));\n if (storage) {\n watchWithFilter(data, async () => {\n try {\n if (data.value == null)\n await storage.removeItem(key);\n else\n await storage.setItem(key, await serializer.write(data.value));\n } catch (e) {\n onError(e);\n }\n }, {\n flush,\n deep,\n eventFilter\n });\n }\n return data;\n}\n\nlet _id = 0;\nfunction useStyleTag(css, options = {}) {\n const isLoaded = ref(false);\n const {\n document = defaultDocument,\n immediate = true,\n manual = false,\n id = `vueuse_styletag_${++_id}`\n } = options;\n const cssRef = ref(css);\n let stop = () => {\n };\n const load = () => {\n if (!document)\n return;\n const el = document.getElementById(id) || document.createElement(\"style\");\n el.type = \"text/css\";\n el.id = id;\n if (options.media)\n el.media = options.media;\n document.head.appendChild(el);\n if (isLoaded.value)\n return;\n stop = watch(cssRef, (value) => {\n el.innerText = value;\n }, { immediate: true });\n isLoaded.value = true;\n };\n const unload = () => {\n if (!document || !isLoaded.value)\n return;\n stop();\n document.head.removeChild(document.getElementById(id));\n isLoaded.value = false;\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnScopeDispose(unload);\n return {\n id,\n css: cssRef,\n unload,\n load,\n isLoaded: readonly(isLoaded)\n };\n}\n\nfunction useTemplateRefsList() {\n const refs = ref([]);\n refs.value.set = (el) => {\n if (el)\n refs.value.push(el);\n };\n onBeforeUpdate(() => {\n refs.value.length = 0;\n });\n return refs;\n}\n\nfunction getRangesFromSelection(selection) {\n var _a;\n const rangeCount = (_a = selection.rangeCount) != null ? _a : 0;\n const ranges = new Array(rangeCount);\n for (let i = 0; i < rangeCount; i++) {\n const range = selection.getRangeAt(i);\n ranges[i] = range;\n }\n return ranges;\n}\nfunction useTextSelection(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const selection = ref(null);\n const text = computed(() => {\n var _a, _b;\n return (_b = (_a = selection.value) == null ? void 0 : _a.toString()) != null ? _b : \"\";\n });\n const ranges = computed(() => selection.value ? getRangesFromSelection(selection.value) : []);\n const rects = computed(() => ranges.value.map((range) => range.getBoundingClientRect()));\n function onSelectionChange() {\n selection.value = null;\n if (window)\n selection.value = window.getSelection();\n }\n if (window)\n useEventListener(window.document, \"selectionchange\", onSelectionChange);\n return {\n text,\n rects,\n ranges,\n selection\n };\n}\n\nfunction useTextareaAutosize(options) {\n const textarea = ref(options == null ? void 0 : options.element);\n const input = ref(options == null ? void 0 : options.input);\n function triggerResize() {\n var _a, _b;\n if (!textarea.value)\n return;\n textarea.value.style.height = \"1px\";\n textarea.value.style.height = `${(_a = textarea.value) == null ? void 0 : _a.scrollHeight}px`;\n (_b = options == null ? void 0 : options.onResize) == null ? void 0 : _b.call(options);\n }\n watch([input, textarea], triggerResize, { immediate: true });\n if (options == null ? void 0 : options.watch)\n watch(options.watch, triggerResize, { immediate: true, deep: true });\n return {\n textarea,\n input,\n triggerResize\n };\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction useThrottledRefHistory(source, options = {}) {\n const { throttle = 200, trailing = true } = options;\n const filter = throttleFilter(throttle, trailing);\n const history = useRefHistory(source, __spreadProps(__spreadValues$2({}, options), { eventFilter: filter }));\n return __spreadValues$2({}, history);\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst UNITS = [\n { max: 6e4, value: 1e3, name: \"second\" },\n { max: 276e4, value: 6e4, name: \"minute\" },\n { max: 72e6, value: 36e5, name: \"hour\" },\n { max: 5184e5, value: 864e5, name: \"day\" },\n { max: 24192e5, value: 6048e5, name: \"week\" },\n { max: 28512e6, value: 2592e6, name: \"month\" },\n { max: Infinity, value: 31536e6, name: \"year\" }\n];\nconst DEFAULT_MESSAGES = {\n justNow: \"just now\",\n past: (n) => n.match(/\\d/) ? `${n} ago` : n,\n future: (n) => n.match(/\\d/) ? `in ${n}` : n,\n month: (n, past) => n === 1 ? past ? \"last month\" : \"next month\" : `${n} month${n > 1 ? \"s\" : \"\"}`,\n year: (n, past) => n === 1 ? past ? \"last year\" : \"next year\" : `${n} year${n > 1 ? \"s\" : \"\"}`,\n day: (n, past) => n === 1 ? past ? \"yesterday\" : \"tomorrow\" : `${n} day${n > 1 ? \"s\" : \"\"}`,\n week: (n, past) => n === 1 ? past ? \"last week\" : \"next week\" : `${n} week${n > 1 ? \"s\" : \"\"}`,\n hour: (n) => `${n} hour${n > 1 ? \"s\" : \"\"}`,\n minute: (n) => `${n} minute${n > 1 ? \"s\" : \"\"}`,\n second: (n) => `${n} second${n > 1 ? \"s\" : \"\"}`\n};\nconst DEFAULT_FORMATTER = (date) => date.toISOString().slice(0, 10);\nfunction useTimeAgo(time, options = {}) {\n const {\n controls: exposeControls = false,\n max,\n updateInterval = 3e4,\n messages = DEFAULT_MESSAGES,\n fullDateFormatter = DEFAULT_FORMATTER\n } = options;\n const { abs, round } = Math;\n const _a = useNow({ interval: updateInterval, controls: true }), { now } = _a, controls = __objRest(_a, [\"now\"]);\n function getTimeago(from, now2) {\n var _a2;\n const diff = +now2 - +from;\n const absDiff = abs(diff);\n if (absDiff < 6e4)\n return messages.justNow;\n if (typeof max === \"number\" && absDiff > max)\n return fullDateFormatter(new Date(from));\n if (typeof max === \"string\") {\n const unitMax = (_a2 = UNITS.find((i) => i.name === max)) == null ? void 0 : _a2.max;\n if (unitMax && absDiff > unitMax)\n return fullDateFormatter(new Date(from));\n }\n for (const unit of UNITS) {\n if (absDiff < unit.max)\n return format(diff, unit);\n }\n }\n function applyFormat(name, val, isPast) {\n const formatter = messages[name];\n if (typeof formatter === \"function\")\n return formatter(val, isPast);\n return formatter.replace(\"{0}\", val.toString());\n }\n function format(diff, unit) {\n const val = round(abs(diff) / unit.value);\n const past = diff > 0;\n const str = applyFormat(unit.name, val, past);\n return applyFormat(past ? \"past\" : \"future\", str, past);\n }\n const timeAgo = computed(() => getTimeago(new Date(unref(time)), unref(now.value)));\n if (exposeControls) {\n return __spreadValues$1({\n timeAgo\n }, controls);\n } else {\n return timeAgo;\n }\n}\n\nfunction useTimeoutPoll(fn, interval, timeoutPollOptions) {\n const { start } = useTimeoutFn(loop, interval);\n const isActive = ref(false);\n async function loop() {\n if (!isActive.value)\n return;\n await fn();\n start();\n }\n function resume() {\n if (!isActive.value) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n }\n if (timeoutPollOptions == null ? void 0 : timeoutPollOptions.immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimestamp(options = {}) {\n const {\n controls: exposeControls = false,\n offset = 0,\n immediate = true,\n interval = \"requestAnimationFrame\"\n } = options;\n const ts = ref(timestamp() + offset);\n const update = () => ts.value = timestamp() + offset;\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate }) : useIntervalFn(update, interval, { immediate });\n if (exposeControls) {\n return __spreadValues({\n timestamp: ts\n }, controls);\n } else {\n return ts;\n }\n}\n\nfunction useTitle(newTitle = null, options = {}) {\n var _a, _b;\n const {\n document = defaultDocument,\n observe = false,\n titleTemplate = \"%s\"\n } = options;\n const title = ref((_a = newTitle != null ? newTitle : document == null ? void 0 : document.title) != null ? _a : null);\n watch(title, (t, o) => {\n if (isString(t) && t !== o && document)\n document.title = titleTemplate.replace(\"%s\", t);\n }, { immediate: true });\n if (observe && document) {\n useMutationObserver((_b = document.head) == null ? void 0 : _b.querySelector(\"title\"), () => {\n if (document && document.title !== title.value)\n title.value = titleTemplate.replace(\"%s\", document.title);\n }, { childList: true });\n }\n return title;\n}\n\nconst TransitionPresets = {\n linear: identity,\n easeInSine: [0.12, 0, 0.39, 0],\n easeOutSine: [0.61, 1, 0.88, 1],\n easeInOutSine: [0.37, 0, 0.63, 1],\n easeInQuad: [0.11, 0, 0.5, 0],\n easeOutQuad: [0.5, 1, 0.89, 1],\n easeInOutQuad: [0.45, 0, 0.55, 1],\n easeInCubic: [0.32, 0, 0.67, 0],\n easeOutCubic: [0.33, 1, 0.68, 1],\n easeInOutCubic: [0.65, 0, 0.35, 1],\n easeInQuart: [0.5, 0, 0.75, 0],\n easeOutQuart: [0.25, 1, 0.5, 1],\n easeInOutQuart: [0.76, 0, 0.24, 1],\n easeInQuint: [0.64, 0, 0.78, 0],\n easeOutQuint: [0.22, 1, 0.36, 1],\n easeInOutQuint: [0.83, 0, 0.17, 1],\n easeInExpo: [0.7, 0, 0.84, 0],\n easeOutExpo: [0.16, 1, 0.3, 1],\n easeInOutExpo: [0.87, 0, 0.13, 1],\n easeInCirc: [0.55, 0, 1, 0.45],\n easeOutCirc: [0, 0.55, 0.45, 1],\n easeInOutCirc: [0.85, 0, 0.15, 1],\n easeInBack: [0.36, 0, 0.66, -0.56],\n easeOutBack: [0.34, 1.56, 0.64, 1],\n easeInOutBack: [0.68, -0.6, 0.32, 1.6]\n};\nfunction createEasingFunction([p0, p1, p2, p3]) {\n const a = (a1, a2) => 1 - 3 * a2 + 3 * a1;\n const b = (a1, a2) => 3 * a2 - 6 * a1;\n const c = (a1) => 3 * a1;\n const calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\n const getSlope = (t, a1, a2) => 3 * a(a1, a2) * t * t + 2 * b(a1, a2) * t + c(a1);\n const getTforX = (x) => {\n let aGuessT = x;\n for (let i = 0; i < 4; ++i) {\n const currentSlope = getSlope(aGuessT, p0, p2);\n if (currentSlope === 0)\n return aGuessT;\n const currentX = calcBezier(aGuessT, p0, p2) - x;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n };\n return (x) => p0 === p1 && p2 === p3 ? x : calcBezier(getTforX(x), p1, p3);\n}\nfunction useTransition(source, options = {}) {\n const {\n delay = 0,\n disabled = false,\n duration = 1e3,\n onFinished = noop,\n onStarted = noop,\n transition = identity\n } = options;\n const currentTransition = computed(() => {\n const t = unref(transition);\n return isFunction(t) ? t : createEasingFunction(t);\n });\n const sourceValue = computed(() => {\n const s = unref(source);\n return isNumber(s) ? s : s.map(unref);\n });\n const sourceVector = computed(() => isNumber(sourceValue.value) ? [sourceValue.value] : sourceValue.value);\n const outputVector = ref(sourceVector.value.slice(0));\n let currentDuration;\n let diffVector;\n let endAt;\n let startAt;\n let startVector;\n const { resume, pause } = useRafFn(() => {\n const now = Date.now();\n const progress = clamp(1 - (endAt - now) / currentDuration, 0, 1);\n outputVector.value = startVector.map((val, i) => {\n var _a;\n return val + ((_a = diffVector[i]) != null ? _a : 0) * currentTransition.value(progress);\n });\n if (progress >= 1) {\n pause();\n onFinished();\n }\n }, { immediate: false });\n const start = () => {\n pause();\n currentDuration = unref(duration);\n diffVector = outputVector.value.map((n, i) => {\n var _a, _b;\n return ((_a = sourceVector.value[i]) != null ? _a : 0) - ((_b = outputVector.value[i]) != null ? _b : 0);\n });\n startVector = outputVector.value.slice(0);\n startAt = Date.now();\n endAt = startAt + currentDuration;\n resume();\n onStarted();\n };\n const timeout = useTimeoutFn(start, delay, { immediate: false });\n watch(sourceVector, () => {\n if (unref(disabled)) {\n outputVector.value = sourceVector.value.slice(0);\n } else {\n if (unref(delay) <= 0)\n start();\n else\n timeout.start();\n }\n }, { deep: true });\n return computed(() => {\n const targetVector = unref(disabled) ? sourceVector : outputVector;\n return isNumber(sourceValue.value) ? targetVector.value[0] : targetVector.value;\n });\n}\n\nfunction useUrlSearchParams(mode = \"history\", options = {}) {\n const {\n initialValue = {},\n removeNullishValues = true,\n removeFalsyValues = false,\n window = defaultWindow\n } = options;\n if (!window)\n return reactive(initialValue);\n const state = reactive({});\n function getRawParams() {\n if (mode === \"history\") {\n return window.location.search || \"\";\n } else if (mode === \"hash\") {\n const hash = window.location.hash || \"\";\n const index = hash.indexOf(\"?\");\n return index > 0 ? hash.slice(index) : \"\";\n } else {\n return (window.location.hash || \"\").replace(/^#/, \"\");\n }\n }\n function constructQuery(params) {\n const stringified = params.toString();\n if (mode === \"history\")\n return `${stringified ? `?${stringified}` : \"\"}${location.hash || \"\"}`;\n if (mode === \"hash-params\")\n return `${location.search || \"\"}${stringified ? `#${stringified}` : \"\"}`;\n const hash = window.location.hash || \"#\";\n const index = hash.indexOf(\"?\");\n if (index > 0)\n return `${hash.slice(0, index)}${stringified ? `?${stringified}` : \"\"}`;\n return `${hash}${stringified ? `?${stringified}` : \"\"}`;\n }\n function read() {\n return new URLSearchParams(getRawParams());\n }\n function updateState(params) {\n const unusedKeys = new Set(Object.keys(state));\n for (const key of params.keys()) {\n const paramsForKey = params.getAll(key);\n state[key] = paramsForKey.length > 1 ? paramsForKey : params.get(key) || \"\";\n unusedKeys.delete(key);\n }\n Array.from(unusedKeys).forEach((key) => delete state[key]);\n }\n const { pause, resume } = pausableWatch(state, () => {\n const params = new URLSearchParams(\"\");\n Object.keys(state).forEach((key) => {\n const mapEntry = state[key];\n if (Array.isArray(mapEntry))\n mapEntry.forEach((value) => params.append(key, value));\n else if (removeNullishValues && mapEntry == null)\n params.delete(key);\n else if (removeFalsyValues && !mapEntry)\n params.delete(key);\n else\n params.set(key, mapEntry);\n });\n write(params);\n }, { deep: true });\n function write(params, shouldUpdate) {\n pause();\n if (shouldUpdate)\n updateState(params);\n window.history.replaceState(window.history.state, window.document.title, window.location.pathname + constructQuery(params));\n resume();\n }\n function onChanged() {\n write(read(), true);\n }\n useEventListener(window, \"popstate\", onChanged, false);\n if (mode !== \"history\")\n useEventListener(window, \"hashchange\", onChanged, false);\n const initial = read();\n if (initial.keys().next().value)\n updateState(initial);\n else\n Object.assign(state, initialValue);\n return state;\n}\n\nfunction useUserMedia(options = {}) {\n var _a, _b, _c;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const autoSwitch = ref((_b = options.autoSwitch) != null ? _b : true);\n const videoDeviceId = ref(options.videoDeviceId);\n const audioDeviceId = ref(options.audioDeviceId);\n const { navigator = defaultNavigator } = options;\n const isSupported = Boolean((_c = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _c.getUserMedia);\n const stream = shallowRef();\n function getDeviceOptions(device) {\n if (device.value === \"none\" || device.value === false)\n return false;\n if (device.value == null)\n return true;\n return {\n deviceId: device.value\n };\n }\n async function _start() {\n if (!isSupported || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getUserMedia({\n video: getDeviceOptions(videoDeviceId),\n audio: getDeviceOptions(audioDeviceId)\n });\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n async function restart() {\n _stop();\n return await start();\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n watch([videoDeviceId, audioDeviceId], () => {\n if (autoSwitch.value && stream.value)\n restart();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n restart,\n videoDeviceId,\n audioDeviceId,\n enabled,\n autoSwitch\n };\n}\n\nfunction useVModel(props, key, emit, options = {}) {\n var _a, _b, _c, _d, _e;\n const {\n passive = false,\n eventName,\n deep = false,\n defaultValue\n } = options;\n const vm = getCurrentInstance();\n const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));\n let event = eventName;\n if (!key) {\n if (isVue2) {\n const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;\n key = (modelOptions == null ? void 0 : modelOptions.value) || \"value\";\n if (!eventName)\n event = (modelOptions == null ? void 0 : modelOptions.event) || \"input\";\n } else {\n key = \"modelValue\";\n }\n }\n event = eventName || event || `update:${key.toString()}`;\n const getValue = () => isDef(props[key]) ? props[key] : defaultValue;\n if (passive) {\n const proxy = ref(getValue());\n watch(() => props[key], (v) => proxy.value = v);\n watch(proxy, (v) => {\n if (v !== props[key] || deep)\n _emit(event, v);\n }, {\n deep\n });\n return proxy;\n } else {\n return computed({\n get() {\n return getValue();\n },\n set(value) {\n _emit(event, value);\n }\n });\n }\n}\n\nfunction useVModels(props, emit, options = {}) {\n const ret = {};\n for (const key in props)\n ret[key] = useVModel(props, key, emit, options);\n return ret;\n}\n\nfunction useVibrate(options) {\n const {\n pattern = [],\n interval = 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = typeof navigator !== \"undefined\" && \"vibrate\" in navigator;\n const patternRef = ref(pattern);\n let intervalControls;\n const vibrate = (pattern2 = patternRef.value) => {\n if (isSupported)\n navigator.vibrate(pattern2);\n };\n const stop = () => {\n if (isSupported)\n navigator.vibrate(0);\n intervalControls == null ? void 0 : intervalControls.pause();\n };\n if (interval > 0) {\n intervalControls = useIntervalFn(vibrate, interval, {\n immediate: false,\n immediateCallback: false\n });\n }\n return {\n isSupported,\n pattern,\n intervalControls,\n vibrate,\n stop\n };\n}\n\nfunction useVirtualList(list, options) {\n const containerRef = ref();\n const size = useElementSize(containerRef);\n const currentList = ref([]);\n const source = shallowRef(list);\n const state = ref({ start: 0, end: 10 });\n const { itemHeight, overscan = 5 } = options;\n const getViewCapacity = (containerHeight) => {\n if (typeof itemHeight === \"number\")\n return Math.ceil(containerHeight / itemHeight);\n const { start = 0 } = state.value;\n let sum = 0;\n let capacity = 0;\n for (let i = start; i < source.value.length; i++) {\n const height = itemHeight(i);\n sum += height;\n if (sum >= containerHeight) {\n capacity = i;\n break;\n }\n }\n return capacity - start;\n };\n const getOffset = (scrollTop) => {\n if (typeof itemHeight === \"number\")\n return Math.floor(scrollTop / itemHeight) + 1;\n let sum = 0;\n let offset = 0;\n for (let i = 0; i < source.value.length; i++) {\n const height = itemHeight(i);\n sum += height;\n if (sum >= scrollTop) {\n offset = i;\n break;\n }\n }\n return offset + 1;\n };\n const calculateRange = () => {\n const element = containerRef.value;\n if (element) {\n const offset = getOffset(element.scrollTop);\n const viewCapacity = getViewCapacity(element.clientHeight);\n const from = offset - overscan;\n const to = offset + viewCapacity + overscan;\n state.value = {\n start: from < 0 ? 0 : from,\n end: to > source.value.length ? source.value.length : to\n };\n currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({\n data: ele,\n index: index + state.value.start\n }));\n }\n };\n watch([size.width, size.height, list], () => {\n calculateRange();\n });\n const totalHeight = computed(() => {\n if (typeof itemHeight === \"number\")\n return source.value.length * itemHeight;\n return source.value.reduce((sum, _, index) => sum + itemHeight(index), 0);\n });\n const getDistanceTop = (index) => {\n if (typeof itemHeight === \"number\") {\n const height2 = index * itemHeight;\n return height2;\n }\n const height = source.value.slice(0, index).reduce((sum, _, i) => sum + itemHeight(i), 0);\n return height;\n };\n const scrollTo = (index) => {\n if (containerRef.value) {\n containerRef.value.scrollTop = getDistanceTop(index);\n calculateRange();\n }\n };\n const offsetTop = computed(() => getDistanceTop(state.value.start));\n const wrapperProps = computed(() => {\n return {\n style: {\n width: \"100%\",\n height: `${totalHeight.value - offsetTop.value}px`,\n marginTop: `${offsetTop.value}px`\n }\n };\n });\n const containerStyle = { overflowY: \"auto\" };\n return {\n list: currentList,\n scrollTo,\n containerProps: {\n ref: containerRef,\n onScroll: () => {\n calculateRange();\n },\n style: containerStyle\n },\n wrapperProps\n };\n}\n\nconst useWakeLock = (options = {}) => {\n const {\n navigator = defaultNavigator,\n document = defaultDocument\n } = options;\n let wakeLock;\n const isSupported = navigator && \"wakeLock\" in navigator;\n const isActive = ref(false);\n async function onVisibilityChange() {\n if (!isSupported || !wakeLock)\n return;\n if (document && document.visibilityState === \"visible\")\n wakeLock = await navigator.wakeLock.request(\"screen\");\n isActive.value = !wakeLock.released;\n }\n if (document)\n useEventListener(document, \"visibilitychange\", onVisibilityChange, { passive: true });\n async function request(type) {\n if (!isSupported)\n return;\n wakeLock = await navigator.wakeLock.request(type);\n isActive.value = !wakeLock.released;\n }\n async function release() {\n if (!isSupported || !wakeLock)\n return;\n await wakeLock.release();\n isActive.value = !wakeLock.released;\n wakeLock = null;\n }\n return {\n isSupported,\n isActive,\n request,\n release\n };\n};\n\nconst useWebNotification = (defaultOptions = {}) => {\n const {\n window = defaultWindow\n } = defaultOptions;\n const isSupported = !!window && \"Notification\" in window;\n const notification = ref(null);\n const requestPermission = async () => {\n if (!isSupported)\n return;\n if (\"permission\" in Notification && Notification.permission !== \"denied\")\n await Notification.requestPermission();\n };\n const onClick = createEventHook();\n const onShow = createEventHook();\n const onError = createEventHook();\n const onClose = createEventHook();\n const show = async (overrides) => {\n if (!isSupported)\n return;\n await requestPermission();\n const options = Object.assign({}, defaultOptions, overrides);\n notification.value = new Notification(options.title || \"\", options);\n notification.value.onclick = (event) => onClick.trigger(event);\n notification.value.onshow = (event) => onShow.trigger(event);\n notification.value.onerror = (event) => onError.trigger(event);\n notification.value.onclose = (event) => onClose.trigger(event);\n return notification.value;\n };\n const close = () => {\n if (notification.value)\n notification.value.close();\n notification.value = null;\n };\n tryOnMounted(async () => {\n if (isSupported)\n await requestPermission();\n });\n tryOnScopeDispose(close);\n if (isSupported && window) {\n const document = window.document;\n useEventListener(document, \"visibilitychange\", (e) => {\n e.preventDefault();\n if (document.visibilityState === \"visible\") {\n close();\n }\n });\n }\n return {\n isSupported,\n notification,\n show,\n close,\n onClick,\n onShow,\n onError,\n onClose\n };\n};\n\nfunction resolveNestedOptions(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useWebSocket(url, options = {}) {\n const {\n onConnected,\n onDisconnected,\n onError,\n onMessage,\n immediate = true,\n autoClose = true,\n protocols = []\n } = options;\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const wsRef = ref();\n let heartbeatPause;\n let heartbeatResume;\n let explicitlyClosed = false;\n let retried = 0;\n let bufferedData = [];\n const close = (code = 1e3, reason) => {\n if (!wsRef.value)\n return;\n explicitlyClosed = true;\n heartbeatPause == null ? void 0 : heartbeatPause();\n wsRef.value.close(code, reason);\n };\n const _sendBuffer = () => {\n if (bufferedData.length && wsRef.value && status.value === \"OPEN\") {\n for (const buffer of bufferedData)\n wsRef.value.send(buffer);\n bufferedData = [];\n }\n };\n const send = (data2, useBuffer = true) => {\n if (!wsRef.value || status.value !== \"OPEN\") {\n if (useBuffer)\n bufferedData.push(data2);\n return false;\n }\n _sendBuffer();\n wsRef.value.send(data2);\n return true;\n };\n const _init = () => {\n const ws = new WebSocket(url, protocols);\n wsRef.value = ws;\n status.value = \"CONNECTING\";\n explicitlyClosed = false;\n ws.onopen = () => {\n status.value = \"OPEN\";\n onConnected == null ? void 0 : onConnected(ws);\n heartbeatResume == null ? void 0 : heartbeatResume();\n _sendBuffer();\n };\n ws.onclose = (ev) => {\n status.value = \"CLOSED\";\n wsRef.value = void 0;\n onDisconnected == null ? void 0 : onDisconnected(ws, ev);\n if (!explicitlyClosed && options.autoReconnect) {\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n ws.onerror = (e) => {\n onError == null ? void 0 : onError(ws, e);\n };\n ws.onmessage = (e) => {\n data.value = e.data;\n onMessage == null ? void 0 : onMessage(ws, e);\n };\n };\n if (options.heartbeat) {\n const {\n message = \"ping\",\n interval = 1e3\n } = resolveNestedOptions(options.heartbeat);\n const { pause, resume } = useIntervalFn(() => send(message, false), interval, { immediate: false });\n heartbeatPause = pause;\n heartbeatResume = resume;\n }\n if (immediate)\n _init();\n if (autoClose) {\n useEventListener(window, \"beforeunload\", () => close());\n tryOnScopeDispose(close);\n }\n const open = () => {\n close();\n retried = 0;\n _init();\n };\n return {\n data,\n status,\n close,\n send,\n open,\n ws: wsRef\n };\n}\n\nfunction useWebWorker(url, workerOptions, options = {}) {\n const {\n window = defaultWindow\n } = options;\n const data = ref(null);\n const worker = shallowRef();\n const post = function post2(val) {\n if (!worker.value)\n return;\n worker.value.postMessage(val);\n };\n const terminate = function terminate2() {\n if (!worker.value)\n return;\n worker.value.terminate();\n };\n if (window) {\n worker.value = new Worker(url, workerOptions);\n worker.value.onmessage = (e) => {\n data.value = e.data;\n };\n tryOnScopeDispose(() => {\n if (worker.value)\n worker.value.terminate();\n });\n }\n return {\n data,\n post,\n terminate,\n worker\n };\n}\n\nconst jobRunner = (userFunc) => (e) => {\n const userFuncArgs = e.data[0];\n return Promise.resolve(userFunc.apply(void 0, userFuncArgs)).then((result) => {\n postMessage([\"SUCCESS\", result]);\n }).catch((error) => {\n postMessage([\"ERROR\", error]);\n });\n};\n\nconst depsParser = (deps) => {\n if (deps.length === 0)\n return \"\";\n const depsString = deps.map((dep) => `'${dep}'`).toString();\n return `importScripts(${depsString})`;\n};\n\nconst createWorkerBlobUrl = (fn, deps) => {\n const blobCode = `${depsParser(deps)}; onmessage=(${jobRunner})(${fn})`;\n const blob = new Blob([blobCode], { type: \"text/javascript\" });\n const url = URL.createObjectURL(blob);\n return url;\n};\n\nconst useWebWorkerFn = (fn, options = {}) => {\n const {\n dependencies = [],\n timeout,\n window = defaultWindow\n } = options;\n const worker = ref();\n const workerStatus = ref(\"PENDING\");\n const promise = ref({});\n const timeoutId = ref();\n const workerTerminate = (status = \"PENDING\") => {\n if (worker.value && worker.value._url && window) {\n worker.value.terminate();\n URL.revokeObjectURL(worker.value._url);\n promise.value = {};\n worker.value = void 0;\n window.clearTimeout(timeoutId.value);\n workerStatus.value = status;\n }\n };\n workerTerminate();\n tryOnScopeDispose(workerTerminate);\n const generateWorker = () => {\n const blobUrl = createWorkerBlobUrl(fn, dependencies);\n const newWorker = new Worker(blobUrl);\n newWorker._url = blobUrl;\n newWorker.onmessage = (e) => {\n const { resolve = () => {\n }, reject = () => {\n } } = promise.value;\n const [status, result] = e.data;\n switch (status) {\n case \"SUCCESS\":\n resolve(result);\n workerTerminate(status);\n break;\n default:\n reject(result);\n workerTerminate(\"ERROR\");\n break;\n }\n };\n newWorker.onerror = (e) => {\n const { reject = () => {\n } } = promise.value;\n reject(e);\n workerTerminate(\"ERROR\");\n };\n if (timeout) {\n timeoutId.value = setTimeout(() => workerTerminate(\"TIMEOUT_EXPIRED\"), timeout);\n }\n return newWorker;\n };\n const callWorker = (...fnArgs) => new Promise((resolve, reject) => {\n promise.value = {\n resolve,\n reject\n };\n worker.value && worker.value.postMessage([[...fnArgs]]);\n workerStatus.value = \"RUNNING\";\n });\n const workerFn = (...fnArgs) => {\n if (workerStatus.value === \"RUNNING\") {\n console.error(\"[useWebWorkerFn] You can only run one instance of the worker at a time.\");\n return Promise.reject();\n }\n worker.value = generateWorker();\n return callWorker(...fnArgs);\n };\n return {\n workerFn,\n workerStatus,\n workerTerminate\n };\n};\n\nfunction useWindowFocus({ window = defaultWindow } = {}) {\n if (!window)\n return ref(false);\n const focused = ref(window.document.hasFocus());\n useEventListener(window, \"blur\", () => {\n focused.value = false;\n });\n useEventListener(window, \"focus\", () => {\n focused.value = true;\n });\n return focused;\n}\n\nfunction useWindowScroll({ window = defaultWindow } = {}) {\n if (!window) {\n return {\n x: ref(0),\n y: ref(0)\n };\n }\n const x = ref(window.pageXOffset);\n const y = ref(window.pageYOffset);\n useEventListener(\"scroll\", () => {\n x.value = window.pageXOffset;\n y.value = window.pageYOffset;\n }, {\n capture: false,\n passive: true\n });\n return { x, y };\n}\n\nfunction useWindowSize(options = {}) {\n const {\n window = defaultWindow,\n initialWidth = Infinity,\n initialHeight = Infinity,\n listenOrientation = true\n } = options;\n const width = ref(initialWidth);\n const height = ref(initialHeight);\n const update = () => {\n if (window) {\n width.value = window.innerWidth;\n height.value = window.innerHeight;\n }\n };\n update();\n tryOnMounted(update);\n useEventListener(\"resize\", update, { passive: true });\n if (listenOrientation)\n useEventListener(\"orientationchange\", update, { passive: true });\n return { width, height };\n}\n\nexport { DefaultMagicKeysAliasMap, StorageSerializers, SwipeDirection, TransitionPresets, computedAsync as asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, computedAsync, computedInject, createFetch, createUnrefFn, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, getSSRHandler, mapGamepadToXbox360Controller, onClickOutside, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClamp, useClipboard, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, usePermission, usePointer, usePointerSwipe, usePreferredColorScheme, usePreferredDark, usePreferredLanguages, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSwipe, useTemplateRefsList, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize };\n","import { shallowRef, watchEffect, readonly, ref, watch, customRef, effectScope, getCurrentScope, onScopeDispose, isVue3, isRef, unref, computed, reactive, toRefs as toRefs$1, toRef, isVue2, set as set$1, getCurrentInstance, onBeforeUnmount, onMounted, nextTick, onUnmounted } from 'vue-demi';\n\nvar __defProp$8 = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, __spreadProps$5(__spreadValues$8({}, options), {\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n }));\n return readonly(result);\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n watch(source, () => {\n dirty.value = true;\n trigger();\n }, { flush: \"sync\" });\n return customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = fn();\n dirty.value = false;\n }\n track();\n return v;\n },\n set() {\n }\n };\n });\n}\n\nfunction createEventHook() {\n const fns = [];\n const off = (fn) => {\n const index = fns.indexOf(fn);\n if (index !== -1)\n fns.splice(index, 1);\n };\n const on = (fn) => {\n fns.push(fn);\n return {\n off: () => off(fn)\n };\n };\n const trigger = (param) => {\n fns.forEach((fn) => fn(param));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return () => {\n if (!initialized) {\n state = scope.run(stateFactory);\n initialized = true;\n }\n return state;\n };\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction __onlyVue3(name = \"this function\") {\n if (isVue3)\n return;\n throw new Error(`[VueUse] ${name} is only works on Vue 3.`);\n}\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n __onlyVue3();\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nfunction logicAnd(...args) {\n return computed(() => args.every((i) => unref(i)));\n}\n\nfunction logicNot(v) {\n return computed(() => !unref(v));\n}\n\nfunction logicOr(...args) {\n return computed(() => args.some((i) => unref(i)));\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = __spreadValues$7({}, obj);\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction reactify(fn) {\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unref(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj)) : value\n ];\n }));\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n return reactiveComputed(() => Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !keys.includes(e[0]))));\n}\n\nfunction reactivePick(obj, ...keys) {\n return reactive(Object.fromEntries(keys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = defaultValue;\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = defaultValue;\n trigger();\n }, unref(afterMs));\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nconst isClient = typeof window !== \"undefined\";\nconst isDef = (val) => typeof val !== \"undefined\";\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isString = (val) => typeof val === \"string\";\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst isWindow = (val) => typeof window !== \"undefined\" && toString.call(val) === \"[object Window]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n filter(() => fn.apply(this, args), { fn, thisArg: this, args });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n const filter = (invoke) => {\n const duration = unref(ms);\n const maxDuration = unref(options.maxWait);\n if (timer)\n clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n clearTimeout(maxTimer);\n maxTimer = null;\n }\n return invoke();\n }\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n clearTimeout(timer);\n maxTimer = null;\n invoke();\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n clearTimeout(maxTimer);\n maxTimer = null;\n invoke();\n }, duration);\n };\n return filter;\n}\nfunction throttleFilter(ms, trailing = true, leading = true) {\n let lastExec = 0;\n let timer;\n let preventLeading = !leading;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n };\n const filter = (invoke) => {\n const duration = unref(ms);\n const elapsed = Date.now() - lastExec;\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration) {\n lastExec = Date.now();\n if (preventLeading)\n preventLeading = false;\n else\n invoke();\n }\n if (trailing) {\n timer = setTimeout(() => {\n lastExec = Date.now();\n if (!leading)\n preventLeading = true;\n clear();\n invoke();\n }, duration);\n }\n if (!leading && !timer)\n timer = setTimeout(() => preventLeading = true, duration);\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive, pause, resume, eventFilter };\n}\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?[0-9]+\\.?[0-9]*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || !obj[k] === void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(debounceFilter(ms, options), fn);\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n if (ms <= 0)\n return value;\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = true, leading = true) {\n return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(ref, {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n }, { enumerable: true });\n}\nconst controlledRef = refWithControl;\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction syncRef(left, right, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\"\n } = options;\n let stop1, stop2;\n if (direction === \"both\" || direction === \"ltr\") {\n stop1 = watch(left, (newValue) => right.value = newValue, { flush, deep, immediate });\n }\n if (direction === \"both\" || direction === \"rtl\") {\n stop2 = watch(right, (newValue) => left.value = newValue, { flush, deep, immediate });\n }\n return () => {\n stop1 == null ? void 0 : stop1();\n stop2 == null ? void 0 : stop2();\n };\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(source, (newValue) => targets.forEach((target) => target.value = newValue), { flush, deep, immediate });\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nfunction toRefs(objectRef) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? new Array(objectRef.value.length) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n objectRef.value = __spreadProps$4(__spreadValues$6({}, objectRef.value), { [key]: v });\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeUnmount(fn) {\n if (getCurrentInstance())\n onBeforeUnmount(fn);\n}\n\nfunction tryOnMounted(fn, sync = true) {\n if (getCurrentInstance())\n onMounted(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn) {\n if (getCurrentInstance())\n onUnmounted(fn);\n}\n\nfunction until(r) {\n let isNot = false;\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(r, (v) => {\n if (condition(v) === !isNot) {\n stop == null ? void 0 : stop();\n resolve();\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).finally(() => {\n stop == null ? void 0 : stop();\n }));\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n return toMatch((v) => v === unref(value), options);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(unref(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(unref(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n isNot = !isNot;\n return this;\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n isNot = !isNot;\n return this;\n }\n };\n return instance;\n }\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n const count = ref(initialValue);\n const {\n max = Infinity,\n min = -Infinity\n } = options;\n const inc = (delta = 1) => count.value = Math.min(max, count.value + delta);\n const dec = (delta = 1) => count.value = Math.max(min, count.value - delta);\n const get = () => count.value;\n const set = (val) => count.value = val;\n const reset = (val = initialValue) => {\n initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/;\nconst REGEX_FORMAT = /\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nconst formatDate = (date, formatStr) => {\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const matches = {\n YY: String(years).slice(-2),\n YYYY: years,\n M: month + 1,\n MM: `${month + 1}`.padStart(2, \"0\"),\n D: String(days),\n DD: `${days}`.padStart(2, \"0\"),\n H: String(hours),\n HH: `${hours}`.padStart(2, \"0\"),\n h: `${hours % 12 || 12}`.padStart(1, \"0\"),\n hh: `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: String(minutes),\n mm: `${minutes}`.padStart(2, \"0\"),\n s: String(seconds),\n ss: `${seconds}`.padStart(2, \"0\"),\n SSS: `${milliseconds}`.padStart(3, \"0\")\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => $1 || matches[match]);\n};\nconst normalizeDate = (date) => {\n if (date === null)\n return new Date(NaN);\n if (date === void 0)\n return new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n};\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\") {\n return computed(() => formatDate(normalizeDate(unref(date)), unref(formatStr)));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n if (interval <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, unref(interval));\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval)) {\n const stopWatch = watch(interval, () => {\n if (immediate && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true\n } = options;\n const counter = ref(0);\n const controls = useIntervalFn(() => counter.value += 1, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$5({\n counter\n }, controls);\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(source, () => ms.value = timestamp(), options);\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, unref(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending,\n start,\n stop\n };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$6.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(b)) {\n if (__propIsEnum$6.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false\n } = options;\n const controls = useTimeoutFn(noop, interval, options);\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return __spreadValues$4({\n ready\n }, controls);\n } else {\n return ready;\n }\n}\n\nfunction useToggle(initialValue = false) {\n if (isRef(initialValue)) {\n return (value) => {\n initialValue.value = typeof value === \"boolean\" ? value : !initialValue.value;\n return initialValue.value;\n };\n } else {\n const boolean = ref(initialValue);\n const toggle = (value) => {\n boolean.value = typeof value === \"boolean\" ? value : !boolean.value;\n return boolean.value;\n };\n return [boolean, toggle];\n }\n}\n\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __objRest$5 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchWithFilter(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$5(_a, [\n \"eventFilter\"\n ]);\n return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);\n}\n\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __objRest$4 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchAtMost(source, cb, options) {\n const _a = options, {\n count\n } = _a, watchOptions = __objRest$4(_a, [\n \"count\"\n ]);\n const current = ref(0);\n const stop = watchWithFilter(source, (...args) => {\n current.value += 1;\n if (current.value >= unref(count))\n nextTick(() => stop());\n cb(...args);\n }, watchOptions);\n return { count: current, stop };\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nvar __objRest$3 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchDebounced(source, cb, options = {}) {\n const _a = options, {\n debounce = 0\n } = _a, watchOptions = __objRest$3(_a, [\n \"debounce\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$3(__spreadValues$3({}, watchOptions), {\n eventFilter: debounceFilter(debounce)\n }));\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchIgnorable(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$2(_a, [\n \"eventFilter\"\n ]);\n const filteredCb = createFilterWrapper(eventFilter, cb);\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(source, (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n }, watchOptions);\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(watch(source, () => {\n syncCounter.value++;\n }, __spreadProps$2(__spreadValues$2({}, watchOptions), { flush: \"sync\" })));\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(watch(source, (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n }, watchOptions));\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchPausable(source, cb, options = {}) {\n const _a = options, {\n eventFilter: filter\n } = _a, watchOptions = __objRest$1(_a, [\n \"eventFilter\"\n ]);\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(source, cb, __spreadProps$1(__spreadValues$1({}, watchOptions), {\n eventFilter\n }));\n return { stop, pause, resume, isActive };\n}\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchThrottled(source, cb, options = {}) {\n const _a = options, {\n throttle = 0,\n trailing = true,\n leading = true\n } = _a, watchOptions = __objRest(_a, [\n \"throttle\",\n \"trailing\",\n \"leading\"\n ]);\n return watchWithFilter(source, cb, __spreadProps(__spreadValues({}, watchOptions), {\n eventFilter: throttleFilter(throttle, trailing, leading)\n }));\n}\n\nfunction whenever(source, cb, options) {\n return watch(source, (v, ov, onInvalidate) => {\n if (v)\n cb(v, ov, onInvalidate);\n }, options);\n}\n\nexport { __onlyVue3, logicAnd as and, assert, refAutoReset as autoResetRef, bypassFilter, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, identity, watchIgnorable as ignorableWatch, increaseWithUnit, invoke, isBoolean, isClient, isDef, isDefined, isFunction, isNumber, isObject, isString, isWindow, logicAnd, logicNot, logicOr, makeDestructurable, noop, normalizeDate, logicNot as not, now, objectPick, logicOr as or, pausableFilter, watchPausable as pausableWatch, promiseTimeout, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRefs, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToggle, watchAtMost, watchDebounced, watchIgnorable, watchOnce, watchPausable, watchThrottled, watchWithFilter, whenever };\n","const defaultTimestep = (1 / 60) * 1000;\nconst getCurrentTime = typeof performance !== \"undefined\"\n ? () => performance.now()\n : () => Date.now();\nconst onNextFrame = typeof window !== \"undefined\"\n ? (callback) => window.requestAnimationFrame(callback)\n : (callback) => setTimeout(() => callback(getCurrentTime()), defaultTimestep);\n\nexport { defaultTimestep, onNextFrame };\n","function createRenderStep(runNextFrame) {\n let toRun = [];\n let toRunNextFrame = [];\n let numToRun = 0;\n let isProcessing = false;\n let flushNextFrame = false;\n const toKeepAlive = new WeakSet();\n const step = {\n schedule: (callback, keepAlive = false, immediate = false) => {\n const addToCurrentFrame = immediate && isProcessing;\n const buffer = addToCurrentFrame ? toRun : toRunNextFrame;\n if (keepAlive)\n toKeepAlive.add(callback);\n if (buffer.indexOf(callback) === -1) {\n buffer.push(callback);\n if (addToCurrentFrame && isProcessing)\n numToRun = toRun.length;\n }\n return callback;\n },\n cancel: (callback) => {\n const index = toRunNextFrame.indexOf(callback);\n if (index !== -1)\n toRunNextFrame.splice(index, 1);\n toKeepAlive.delete(callback);\n },\n process: (frameData) => {\n if (isProcessing) {\n flushNextFrame = true;\n return;\n }\n isProcessing = true;\n [toRun, toRunNextFrame] = [toRunNextFrame, toRun];\n toRunNextFrame.length = 0;\n numToRun = toRun.length;\n if (numToRun) {\n for (let i = 0; i < numToRun; i++) {\n const callback = toRun[i];\n callback(frameData);\n if (toKeepAlive.has(callback)) {\n step.schedule(callback);\n runNextFrame();\n }\n }\n }\n isProcessing = false;\n if (flushNextFrame) {\n flushNextFrame = false;\n step.process(frameData);\n }\n },\n };\n return step;\n}\n\nexport { createRenderStep };\n","import { onNextFrame, defaultTimestep } from './on-next-frame.mjs';\nimport { createRenderStep } from './create-render-step.mjs';\n\nconst maxElapsed = 40;\nlet useDefaultElapsed = true;\nlet runNextFrame = false;\nlet isProcessing = false;\nconst frame = {\n delta: 0,\n timestamp: 0,\n};\nconst stepsOrder = [\n \"read\",\n \"update\",\n \"preRender\",\n \"render\",\n \"postRender\",\n];\nconst steps = stepsOrder.reduce((acc, key) => {\n acc[key] = createRenderStep(() => (runNextFrame = true));\n return acc;\n}, {});\nconst sync = stepsOrder.reduce((acc, key) => {\n const step = steps[key];\n acc[key] = (process, keepAlive = false, immediate = false) => {\n if (!runNextFrame)\n startLoop();\n return step.schedule(process, keepAlive, immediate);\n };\n return acc;\n}, {});\nconst cancelSync = stepsOrder.reduce((acc, key) => {\n acc[key] = steps[key].cancel;\n return acc;\n}, {});\nconst flushSync = stepsOrder.reduce((acc, key) => {\n acc[key] = () => steps[key].process(frame);\n return acc;\n}, {});\nconst processStep = (stepId) => steps[stepId].process(frame);\nconst processFrame = (timestamp) => {\n runNextFrame = false;\n frame.delta = useDefaultElapsed\n ? defaultTimestep\n : Math.max(Math.min(timestamp - frame.timestamp, maxElapsed), 1);\n frame.timestamp = timestamp;\n isProcessing = true;\n stepsOrder.forEach(processStep);\n isProcessing = false;\n if (runNextFrame) {\n useDefaultElapsed = false;\n onNextFrame(processFrame);\n }\n};\nconst startLoop = () => {\n runNextFrame = true;\n useDefaultElapsed = true;\n if (!isProcessing)\n onNextFrame(processFrame);\n};\nconst getFrameData = () => frame;\n\nexport default sync;\nexport { cancelSync, flushSync, getFrameData };\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","var warning = function () { };\r\nvar invariant = function () { };\r\nif (process.env.NODE_ENV !== 'production') {\r\n warning = function (check, message) {\r\n if (!check && typeof console !== 'undefined') {\r\n console.warn(message);\r\n }\r\n };\r\n invariant = function (check, message) {\r\n if (!check) {\r\n throw new Error(message);\r\n }\r\n };\r\n}\n\nexport { invariant, warning };\n","const clamp = (min, max, v) => Math.min(Math.max(v, min), max);\n\nexport { clamp };\n","import { warning } from 'hey-listen';\nimport { clamp } from '../../utils/clamp.mjs';\n\nconst safeMin = 0.001;\nconst minDuration = 0.01;\nconst maxDuration = 10.0;\nconst minDamping = 0.05;\nconst maxDamping = 1;\nfunction findSpring({ duration = 800, bounce = 0.25, velocity = 0, mass = 1, }) {\n let envelope;\n let derivative;\n warning(duration <= maxDuration * 1000, \"Spring duration must be 10 seconds or less\");\n let dampingRatio = 1 - bounce;\n dampingRatio = clamp(minDamping, maxDamping, dampingRatio);\n duration = clamp(minDuration, maxDuration, duration / 1000);\n if (dampingRatio < 1) {\n envelope = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const a = exponentialDecay - velocity;\n const b = calcAngularFreq(undampedFreq, dampingRatio);\n const c = Math.exp(-delta);\n return safeMin - (a / b) * c;\n };\n derivative = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const d = delta * velocity + velocity;\n const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;\n const f = Math.exp(-delta);\n const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);\n const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;\n return (factor * ((d - e) * f)) / g;\n };\n }\n else {\n envelope = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (undampedFreq - velocity) * duration + 1;\n return -safeMin + a * b;\n };\n derivative = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (velocity - undampedFreq) * (duration * duration);\n return a * b;\n };\n }\n const initialGuess = 5 / duration;\n const undampedFreq = approximateRoot(envelope, derivative, initialGuess);\n duration = duration * 1000;\n if (isNaN(undampedFreq)) {\n return {\n stiffness: 100,\n damping: 10,\n duration,\n };\n }\n else {\n const stiffness = Math.pow(undampedFreq, 2) * mass;\n return {\n stiffness,\n damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),\n duration,\n };\n }\n}\nconst rootIterations = 12;\nfunction approximateRoot(envelope, derivative, initialGuess) {\n let result = initialGuess;\n for (let i = 1; i < rootIterations; i++) {\n result = result - envelope(result) / derivative(result);\n }\n return result;\n}\nfunction calcAngularFreq(undampedFreq, dampingRatio) {\n return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);\n}\n\nexport { calcAngularFreq, findSpring, maxDamping, maxDuration, minDamping, minDuration };\n","import { __rest } from 'tslib';\nimport { findSpring, calcAngularFreq } from '../utils/find-spring.mjs';\n\nconst durationKeys = [\"duration\", \"bounce\"];\nconst physicsKeys = [\"stiffness\", \"damping\", \"mass\"];\nfunction isSpringType(options, keys) {\n return keys.some((key) => options[key] !== undefined);\n}\nfunction getSpringOptions(options) {\n let springOptions = Object.assign({ velocity: 0.0, stiffness: 100, damping: 10, mass: 1.0, isResolvedFromDuration: false }, options);\n if (!isSpringType(options, physicsKeys) &&\n isSpringType(options, durationKeys)) {\n const derived = findSpring(options);\n springOptions = Object.assign(Object.assign(Object.assign({}, springOptions), derived), { velocity: 0.0, mass: 1.0 });\n springOptions.isResolvedFromDuration = true;\n }\n return springOptions;\n}\nfunction spring(_a) {\n var { from = 0.0, to = 1.0, restSpeed = 2, restDelta } = _a, options = __rest(_a, [\"from\", \"to\", \"restSpeed\", \"restDelta\"]);\n const state = { done: false, value: from };\n let { stiffness, damping, mass, velocity, duration, isResolvedFromDuration, } = getSpringOptions(options);\n let resolveSpring = zero;\n let resolveVelocity = zero;\n function createSpring() {\n const initialVelocity = velocity ? -(velocity / 1000) : 0.0;\n const initialDelta = to - from;\n const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));\n const undampedAngularFreq = Math.sqrt(stiffness / mass) / 1000;\n if (restDelta === undefined) {\n restDelta = Math.min(Math.abs(to - from) / 100, 0.4);\n }\n if (dampingRatio < 1) {\n const angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (to -\n envelope *\n (((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) /\n angularFreq) *\n Math.sin(angularFreq * t) +\n initialDelta * Math.cos(angularFreq * t)));\n };\n resolveVelocity = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (dampingRatio *\n undampedAngularFreq *\n envelope *\n ((Math.sin(angularFreq * t) *\n (initialVelocity +\n dampingRatio *\n undampedAngularFreq *\n initialDelta)) /\n angularFreq +\n initialDelta * Math.cos(angularFreq * t)) -\n envelope *\n (Math.cos(angularFreq * t) *\n (initialVelocity +\n dampingRatio *\n undampedAngularFreq *\n initialDelta) -\n angularFreq *\n initialDelta *\n Math.sin(angularFreq * t)));\n };\n }\n else if (dampingRatio === 1) {\n resolveSpring = (t) => to -\n Math.exp(-undampedAngularFreq * t) *\n (initialDelta +\n (initialVelocity + undampedAngularFreq * initialDelta) *\n t);\n }\n else {\n const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n const freqForT = Math.min(dampedAngularFreq * t, 300);\n return (to -\n (envelope *\n ((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) *\n Math.sinh(freqForT) +\n dampedAngularFreq *\n initialDelta *\n Math.cosh(freqForT))) /\n dampedAngularFreq);\n };\n }\n }\n createSpring();\n return {\n next: (t) => {\n const current = resolveSpring(t);\n if (!isResolvedFromDuration) {\n const currentVelocity = resolveVelocity(t) * 1000;\n const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;\n const isBelowDisplacementThreshold = Math.abs(to - current) <= restDelta;\n state.done =\n isBelowVelocityThreshold && isBelowDisplacementThreshold;\n }\n else {\n state.done = t >= duration;\n }\n state.value = state.done ? to : current;\n return state;\n },\n flipTarget: () => {\n velocity = -velocity;\n [from, to] = [to, from];\n createSpring();\n },\n };\n}\nspring.needsInterpolation = (a, b) => typeof a === \"string\" || typeof b === \"string\";\nconst zero = (_t) => 0;\n\nexport { spring };\n","const progress = (from, to, value) => {\n const toFromDifference = to - from;\n return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;\n};\n\nexport { progress };\n","const mix = (from, to, progress) => -progress * from + progress * to + from;\n\nexport { mix };\n","const clamp = (min, max) => (v) => Math.max(Math.min(v, max), min);\nconst sanitize = (v) => (v % 1 ? Number(v.toFixed(5)) : v);\nconst floatRegex = /(-)?([\\d]*\\.?[\\d])+/g;\nconst colorRegex = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))/gi;\nconst singleColorRegex = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))$/i;\nfunction isString(v) {\n return typeof v === 'string';\n}\n\nexport { clamp, colorRegex, floatRegex, isString, sanitize, singleColorRegex };\n","import { clamp } from '../utils.mjs';\n\nconst number = {\n test: (v) => typeof v === 'number',\n parse: parseFloat,\n transform: (v) => v,\n};\nconst alpha = Object.assign(Object.assign({}, number), { transform: clamp(0, 1) });\nconst scale = Object.assign(Object.assign({}, number), { default: 1 });\n\nexport { alpha, number, scale };\n","import { isString } from '../utils.mjs';\n\nconst createUnitType = (unit) => ({\n test: (v) => isString(v) && v.endsWith(unit) && v.split(' ').length === 1,\n parse: parseFloat,\n transform: (v) => `${v}${unit}`,\n});\nconst degrees = createUnitType('deg');\nconst percent = createUnitType('%');\nconst px = createUnitType('px');\nconst vh = createUnitType('vh');\nconst vw = createUnitType('vw');\nconst progressPercentage = Object.assign(Object.assign({}, percent), { parse: (v) => percent.parse(v) / 100, transform: (v) => percent.transform(v * 100) });\n\nexport { degrees, percent, progressPercentage, px, vh, vw };\n","import { isString, singleColorRegex, floatRegex } from '../utils.mjs';\n\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((isString(v) && singleColorRegex.test(v) && v.startsWith(type)) ||\n (testProp && Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (!isString(v))\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n","import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst hsla = {\n test: isColorString('hsl', 'hue'),\n parse: splitColor('hue', 'saturation', 'lightness'),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return ('hsla(' +\n Math.round(hue) +\n ', ' +\n percent.transform(sanitize(saturation)) +\n ', ' +\n percent.transform(sanitize(lightness)) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')');\n },\n};\n\nexport { hsla };\n","import { number, alpha } from '../numbers/index.mjs';\nimport { sanitize, clamp } from '../utils.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst clampRgbUnit = clamp(0, 255);\nconst rgbUnit = Object.assign(Object.assign({}, number), { transform: (v) => Math.round(clampRgbUnit(v)) });\nconst rgba = {\n test: isColorString('rgb', 'red'),\n parse: splitColor('red', 'green', 'blue'),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => 'rgba(' +\n rgbUnit.transform(red) +\n ', ' +\n rgbUnit.transform(green) +\n ', ' +\n rgbUnit.transform(blue) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')',\n};\n\nexport { rgbUnit, rgba };\n","import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = '';\n let g = '';\n let b = '';\n let a = '';\n if (v.length > 5) {\n r = v.substr(1, 2);\n g = v.substr(3, 2);\n b = v.substr(5, 2);\n a = v.substr(7, 2);\n }\n else {\n r = v.substr(1, 1);\n g = v.substr(2, 1);\n b = v.substr(3, 1);\n a = v.substr(4, 1);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: isColorString('#'),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n","import { isString } from '../utils.mjs';\nimport { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return isString(v)\n ? v\n : v.hasOwnProperty('red')\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n};\n\nexport { color };\n","import { color } from '../color/index.mjs';\nimport { number } from '../numbers/index.mjs';\nimport { isString, floatRegex, colorRegex, sanitize } from '../utils.mjs';\n\nconst colorToken = '${c}';\nconst numberToken = '${n}';\nfunction test(v) {\n var _a, _b, _c, _d;\n return (isNaN(v) &&\n isString(v) &&\n ((_b = (_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) + ((_d = (_c = v.match(colorRegex)) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0);\n}\nfunction analyse(v) {\n if (typeof v === 'number')\n v = `${v}`;\n const values = [];\n let numColors = 0;\n const colors = v.match(colorRegex);\n if (colors) {\n numColors = colors.length;\n v = v.replace(colorRegex, colorToken);\n values.push(...colors.map(color.parse));\n }\n const numbers = v.match(floatRegex);\n if (numbers) {\n v = v.replace(floatRegex, numberToken);\n values.push(...numbers.map(number.parse));\n }\n return { values, numColors, tokenised: v };\n}\nfunction parse(v) {\n return analyse(v).values;\n}\nfunction createTransformer(v) {\n const { values, numColors, tokenised } = analyse(v);\n const numValues = values.length;\n return (v) => {\n let output = tokenised;\n for (let i = 0; i < numValues; i++) {\n output = output.replace(i < numColors ? colorToken : numberToken, i < numColors ? color.transform(v[i]) : sanitize(v[i]));\n }\n return output;\n };\n}\nconst convertNumbersToZero = (v) => typeof v === 'number' ? 0 : v;\nfunction getAnimatableNone(v) {\n const parsed = parse(v);\n const transformer = createTransformer(v);\n return transformer(parsed.map(convertNumbersToZero));\n}\nconst complex = { test, parse, createTransformer, getAnimatableNone };\n\nexport { complex };\n","function hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nexport { hslaToRgba };\n","import { mix } from './mix.mjs';\nimport { hsla, rgba, hex } from 'style-value-types';\nimport { invariant } from 'hey-listen';\nimport { hslaToRgba } from './hsla-to-rgba.mjs';\n\nconst mixLinearColor = (from, to, v) => {\n const fromExpo = from * from;\n const toExpo = to * to;\n return Math.sqrt(Math.max(0, v * (toExpo - fromExpo) + fromExpo));\n};\nconst colorTypes = [hex, rgba, hsla];\nconst getColorType = (v) => colorTypes.find((type) => type.test(v));\nconst notAnimatable = (color) => `'${color}' is not an animatable color. Use the equivalent color code instead.`;\nconst mixColor = (from, to) => {\n let fromColorType = getColorType(from);\n let toColorType = getColorType(to);\n invariant(!!fromColorType, notAnimatable(from));\n invariant(!!toColorType, notAnimatable(to));\n let fromColor = fromColorType.parse(from);\n let toColor = toColorType.parse(to);\n if (fromColorType === hsla) {\n fromColor = hslaToRgba(fromColor);\n fromColorType = rgba;\n }\n if (toColorType === hsla) {\n toColor = hslaToRgba(toColor);\n toColorType = rgba;\n }\n const blended = Object.assign({}, fromColor);\n return (v) => {\n for (const key in blended) {\n if (key !== \"alpha\") {\n blended[key] = mixLinearColor(fromColor[key], toColor[key], v);\n }\n }\n blended.alpha = mix(fromColor.alpha, toColor.alpha, v);\n return fromColorType.transform(blended);\n };\n};\n\nexport { mixColor, mixLinearColor };\n","const zeroPoint = {\n x: 0,\n y: 0,\n z: 0\n};\nconst isNum = (v) => typeof v === 'number';\n\nexport { isNum, zeroPoint };\n","const combineFunctions = (a, b) => (v) => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\n\nexport { pipe };\n","import { complex, color } from 'style-value-types';\nimport { mix } from './mix.mjs';\nimport { mixColor } from './mix-color.mjs';\nimport { isNum } from './inc.mjs';\nimport { pipe } from './pipe.mjs';\nimport { warning } from 'hey-listen';\n\nfunction getMixer(origin, target) {\n if (isNum(origin)) {\n return (v) => mix(origin, target, v);\n }\n else if (color.test(origin)) {\n return mixColor(origin, target);\n }\n else {\n return mixComplex(origin, target);\n }\n}\nconst mixArray = (from, to) => {\n const output = [...from];\n const numValues = output.length;\n const blendValue = from.map((fromThis, i) => getMixer(fromThis, to[i]));\n return (v) => {\n for (let i = 0; i < numValues; i++) {\n output[i] = blendValue[i](v);\n }\n return output;\n };\n};\nconst mixObject = (origin, target) => {\n const output = Object.assign(Object.assign({}, origin), target);\n const blendValue = {};\n for (const key in output) {\n if (origin[key] !== undefined && target[key] !== undefined) {\n blendValue[key] = getMixer(origin[key], target[key]);\n }\n }\n return (v) => {\n for (const key in blendValue) {\n output[key] = blendValue[key](v);\n }\n return output;\n };\n};\nfunction analyse(value) {\n const parsed = complex.parse(value);\n const numValues = parsed.length;\n let numNumbers = 0;\n let numRGB = 0;\n let numHSL = 0;\n for (let i = 0; i < numValues; i++) {\n if (numNumbers || typeof parsed[i] === \"number\") {\n numNumbers++;\n }\n else {\n if (parsed[i].hue !== undefined) {\n numHSL++;\n }\n else {\n numRGB++;\n }\n }\n }\n return { parsed, numNumbers, numRGB, numHSL };\n}\nconst mixComplex = (origin, target) => {\n const template = complex.createTransformer(target);\n const originStats = analyse(origin);\n const targetStats = analyse(target);\n const canInterpolate = originStats.numHSL === targetStats.numHSL &&\n originStats.numRGB === targetStats.numRGB &&\n originStats.numNumbers >= targetStats.numNumbers;\n if (canInterpolate) {\n return pipe(mixArray(originStats.parsed, targetStats.parsed), template);\n }\n else {\n warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);\n return (p) => `${p > 0 ? target : origin}`;\n }\n};\n\nexport { mixArray, mixComplex, mixObject };\n","import { progress } from './progress.mjs';\nimport { mix } from './mix.mjs';\nimport { mixColor } from './mix-color.mjs';\nimport { mixComplex, mixArray, mixObject } from './mix-complex.mjs';\nimport { color } from 'style-value-types';\nimport { clamp } from './clamp.mjs';\nimport { pipe } from './pipe.mjs';\nimport { invariant } from 'hey-listen';\n\nconst mixNumber = (from, to) => (p) => mix(from, to, p);\nfunction detectMixerFactory(v) {\n if (typeof v === 'number') {\n return mixNumber;\n }\n else if (typeof v === 'string') {\n if (color.test(v)) {\n return mixColor;\n }\n else {\n return mixComplex;\n }\n }\n else if (Array.isArray(v)) {\n return mixArray;\n }\n else if (typeof v === 'object') {\n return mixObject;\n }\n}\nfunction createMixers(output, ease, customMixer) {\n const mixers = [];\n const mixerFactory = customMixer || detectMixerFactory(output[0]);\n const numMixers = output.length - 1;\n for (let i = 0; i < numMixers; i++) {\n let mixer = mixerFactory(output[i], output[i + 1]);\n if (ease) {\n const easingFunction = Array.isArray(ease) ? ease[i] : ease;\n mixer = pipe(easingFunction, mixer);\n }\n mixers.push(mixer);\n }\n return mixers;\n}\nfunction fastInterpolate([from, to], [mixer]) {\n return (v) => mixer(progress(from, to, v));\n}\nfunction slowInterpolate(input, mixers) {\n const inputLength = input.length;\n const lastInputIndex = inputLength - 1;\n return (v) => {\n let mixerIndex = 0;\n let foundMixerIndex = false;\n if (v <= input[0]) {\n foundMixerIndex = true;\n }\n else if (v >= input[lastInputIndex]) {\n mixerIndex = lastInputIndex - 1;\n foundMixerIndex = true;\n }\n if (!foundMixerIndex) {\n let i = 1;\n for (; i < inputLength; i++) {\n if (input[i] > v || i === lastInputIndex) {\n break;\n }\n }\n mixerIndex = i - 1;\n }\n const progressInRange = progress(input[mixerIndex], input[mixerIndex + 1], v);\n return mixers[mixerIndex](progressInRange);\n };\n}\nfunction interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {}) {\n const inputLength = input.length;\n invariant(inputLength === output.length, 'Both input and output ranges must be the same length');\n invariant(!ease || !Array.isArray(ease) || ease.length === inputLength - 1, 'Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values.');\n if (input[0] > input[inputLength - 1]) {\n input = [].concat(input);\n output = [].concat(output);\n input.reverse();\n output.reverse();\n }\n const mixers = createMixers(output, ease, mixer);\n const interpolator = inputLength === 2\n ? fastInterpolate(input, mixers)\n : slowInterpolate(input, mixers);\n return isClamp\n ? (v) => interpolator(clamp(input[0], input[inputLength - 1], v))\n : interpolator;\n}\n\nexport { interpolate };\n","const reverseEasing = easing => p => 1 - easing(1 - p);\nconst mirrorEasing = easing => p => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\nconst createExpoIn = (power) => p => Math.pow(p, power);\nconst createBackIn = (power) => p => p * p * ((power + 1) * p - power);\nconst createAnticipate = (power) => {\n const backEasing = createBackIn(power);\n return p => (p *= 2) < 1\n ? 0.5 * backEasing(p)\n : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));\n};\n\nexport { createAnticipate, createBackIn, createExpoIn, mirrorEasing, reverseEasing };\n","import { createExpoIn, reverseEasing, mirrorEasing, createBackIn, createAnticipate } from './utils.mjs';\n\nconst DEFAULT_OVERSHOOT_STRENGTH = 1.525;\nconst BOUNCE_FIRST_THRESHOLD = 4.0 / 11.0;\nconst BOUNCE_SECOND_THRESHOLD = 8.0 / 11.0;\nconst BOUNCE_THIRD_THRESHOLD = 9.0 / 10.0;\nconst linear = p => p;\nconst easeIn = createExpoIn(2);\nconst easeOut = reverseEasing(easeIn);\nconst easeInOut = mirrorEasing(easeIn);\nconst circIn = p => 1 - Math.sin(Math.acos(p));\nconst circOut = reverseEasing(circIn);\nconst circInOut = mirrorEasing(circOut);\nconst backIn = createBackIn(DEFAULT_OVERSHOOT_STRENGTH);\nconst backOut = reverseEasing(backIn);\nconst backInOut = mirrorEasing(backIn);\nconst anticipate = createAnticipate(DEFAULT_OVERSHOOT_STRENGTH);\nconst ca = 4356.0 / 361.0;\nconst cb = 35442.0 / 1805.0;\nconst cc = 16061.0 / 1805.0;\nconst bounceOut = (p) => {\n if (p === 1 || p === 0)\n return p;\n const p2 = p * p;\n return p < BOUNCE_FIRST_THRESHOLD\n ? 7.5625 * p2\n : p < BOUNCE_SECOND_THRESHOLD\n ? 9.075 * p2 - 9.9 * p + 3.4\n : p < BOUNCE_THIRD_THRESHOLD\n ? ca * p2 - cb * p + cc\n : 10.8 * p * p - 20.52 * p + 10.72;\n};\nconst bounceIn = reverseEasing(bounceOut);\nconst bounceInOut = (p) => p < 0.5\n ? 0.5 * (1.0 - bounceOut(1.0 - p * 2.0))\n : 0.5 * bounceOut(p * 2.0 - 1.0) + 0.5;\n\nexport { anticipate, backIn, backInOut, backOut, bounceIn, bounceInOut, bounceOut, circIn, circInOut, circOut, easeIn, easeInOut, easeOut, linear };\n","import { interpolate } from '../../utils/interpolate.mjs';\nimport { easeInOut } from '../../easing/index.mjs';\n\nfunction defaultEasing(values, easing) {\n return values.map(() => easing || easeInOut).splice(0, values.length - 1);\n}\nfunction defaultOffset(values) {\n const numValues = values.length;\n return values.map((_value, i) => i !== 0 ? i / (numValues - 1) : 0);\n}\nfunction convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\nfunction keyframes({ from = 0, to = 1, ease, offset, duration = 300, }) {\n const state = { done: false, value: from };\n const values = Array.isArray(to) ? to : [from, to];\n const times = convertOffsetToTimes(offset && offset.length === values.length\n ? offset\n : defaultOffset(values), duration);\n function createInterpolator() {\n return interpolate(times, values, {\n ease: Array.isArray(ease) ? ease : defaultEasing(values, ease),\n });\n }\n let interpolator = createInterpolator();\n return {\n next: (t) => {\n state.value = interpolator(t);\n state.done = t >= duration;\n return state;\n },\n flipTarget: () => {\n values.reverse();\n interpolator = createInterpolator();\n },\n };\n}\n\nexport { convertOffsetToTimes, defaultEasing, defaultOffset, keyframes };\n","function decay({ velocity = 0, from = 0, power = 0.8, timeConstant = 350, restDelta = 0.5, modifyTarget, }) {\n const state = { done: false, value: from };\n let amplitude = power * velocity;\n const ideal = from + amplitude;\n const target = modifyTarget === undefined ? ideal : modifyTarget(ideal);\n if (target !== ideal)\n amplitude = target - from;\n return {\n next: (t) => {\n const delta = -amplitude * Math.exp(-t / timeConstant);\n state.done = !(delta > restDelta || delta < -restDelta);\n state.value = state.done ? target : target + delta;\n return state;\n },\n flipTarget: () => { },\n };\n}\n\nexport { decay };\n","import { spring } from '../generators/spring.mjs';\nimport { keyframes } from '../generators/keyframes.mjs';\nimport { decay } from '../generators/decay.mjs';\n\nconst types = { keyframes, spring, decay };\nfunction detectAnimationFromOptions(config) {\n if (Array.isArray(config.to)) {\n return keyframes;\n }\n else if (types[config.type]) {\n return types[config.type];\n }\n const keys = new Set(Object.keys(config));\n if (keys.has(\"ease\") ||\n (keys.has(\"duration\") && !keys.has(\"dampingRatio\"))) {\n return keyframes;\n }\n else if (keys.has(\"dampingRatio\") ||\n keys.has(\"stiffness\") ||\n keys.has(\"mass\") ||\n keys.has(\"damping\") ||\n keys.has(\"restSpeed\") ||\n keys.has(\"restDelta\")) {\n return spring;\n }\n return keyframes;\n}\n\nexport { detectAnimationFromOptions };\n","const defaultTimestep = (1 / 60) * 1000;\nconst getCurrentTime = typeof performance !== \"undefined\"\n ? () => performance.now()\n : () => Date.now();\nconst onNextFrame = typeof window !== \"undefined\"\n ? (callback) => window.requestAnimationFrame(callback)\n : (callback) => setTimeout(() => callback(getCurrentTime()), defaultTimestep);\n\nexport { defaultTimestep, onNextFrame };\n","function createRenderStep(runNextFrame) {\n let toRun = [];\n let toRunNextFrame = [];\n let numToRun = 0;\n let isProcessing = false;\n let flushNextFrame = false;\n const toKeepAlive = new WeakSet();\n const step = {\n schedule: (callback, keepAlive = false, immediate = false) => {\n const addToCurrentFrame = immediate && isProcessing;\n const buffer = addToCurrentFrame ? toRun : toRunNextFrame;\n if (keepAlive)\n toKeepAlive.add(callback);\n if (buffer.indexOf(callback) === -1) {\n buffer.push(callback);\n if (addToCurrentFrame && isProcessing)\n numToRun = toRun.length;\n }\n return callback;\n },\n cancel: (callback) => {\n const index = toRunNextFrame.indexOf(callback);\n if (index !== -1)\n toRunNextFrame.splice(index, 1);\n toKeepAlive.delete(callback);\n },\n process: (frameData) => {\n if (isProcessing) {\n flushNextFrame = true;\n return;\n }\n isProcessing = true;\n [toRun, toRunNextFrame] = [toRunNextFrame, toRun];\n toRunNextFrame.length = 0;\n numToRun = toRun.length;\n if (numToRun) {\n for (let i = 0; i < numToRun; i++) {\n const callback = toRun[i];\n callback(frameData);\n if (toKeepAlive.has(callback)) {\n step.schedule(callback);\n runNextFrame();\n }\n }\n }\n isProcessing = false;\n if (flushNextFrame) {\n flushNextFrame = false;\n step.process(frameData);\n }\n },\n };\n return step;\n}\n\nexport { createRenderStep };\n","import { onNextFrame, defaultTimestep } from './on-next-frame.mjs';\nimport { createRenderStep } from './create-render-step.mjs';\n\nconst maxElapsed = 40;\nlet useDefaultElapsed = true;\nlet runNextFrame = false;\nlet isProcessing = false;\nconst frame = {\n delta: 0,\n timestamp: 0,\n};\nconst stepsOrder = [\n \"read\",\n \"update\",\n \"preRender\",\n \"render\",\n \"postRender\",\n];\nconst steps = stepsOrder.reduce((acc, key) => {\n acc[key] = createRenderStep(() => (runNextFrame = true));\n return acc;\n}, {});\nconst sync = stepsOrder.reduce((acc, key) => {\n const step = steps[key];\n acc[key] = (process, keepAlive = false, immediate = false) => {\n if (!runNextFrame)\n startLoop();\n return step.schedule(process, keepAlive, immediate);\n };\n return acc;\n}, {});\nconst cancelSync = stepsOrder.reduce((acc, key) => {\n acc[key] = steps[key].cancel;\n return acc;\n}, {});\nconst flushSync = stepsOrder.reduce((acc, key) => {\n acc[key] = () => steps[key].process(frame);\n return acc;\n}, {});\nconst processStep = (stepId) => steps[stepId].process(frame);\nconst processFrame = (timestamp) => {\n runNextFrame = false;\n frame.delta = useDefaultElapsed\n ? defaultTimestep\n : Math.max(Math.min(timestamp - frame.timestamp, maxElapsed), 1);\n frame.timestamp = timestamp;\n isProcessing = true;\n stepsOrder.forEach(processStep);\n isProcessing = false;\n if (runNextFrame) {\n useDefaultElapsed = false;\n onNextFrame(processFrame);\n }\n};\nconst startLoop = () => {\n runNextFrame = true;\n useDefaultElapsed = true;\n if (!isProcessing)\n onNextFrame(processFrame);\n};\nconst getFrameData = () => frame;\n\nexport default sync;\nexport { cancelSync, flushSync, getFrameData };\n","function loopElapsed(elapsed, duration, delay = 0) {\n return elapsed - duration - delay;\n}\nfunction reverseElapsed(elapsed, duration, delay = 0, isForwardPlayback = true) {\n return isForwardPlayback\n ? loopElapsed(duration + -elapsed, duration, delay)\n : duration - (elapsed - duration) + delay;\n}\nfunction hasRepeatDelayElapsed(elapsed, duration, delay, isForwardPlayback) {\n return isForwardPlayback ? elapsed >= duration + delay : elapsed <= -delay;\n}\n\nexport { hasRepeatDelayElapsed, loopElapsed, reverseElapsed };\n","import { __rest } from 'tslib';\nimport { detectAnimationFromOptions } from './utils/detect-animation-from-options.mjs';\nimport sync, { cancelSync } from 'framesync';\nimport { interpolate } from '../utils/interpolate.mjs';\nimport { hasRepeatDelayElapsed, reverseElapsed, loopElapsed } from './utils/elapsed.mjs';\n\nconst framesync = (update) => {\n const passTimestamp = ({ delta }) => update(delta);\n return {\n start: () => sync.update(passTimestamp, true),\n stop: () => cancelSync.update(passTimestamp),\n };\n};\nfunction animate(_a) {\n var _b, _c;\n var { from, autoplay = true, driver = framesync, elapsed = 0, repeat: repeatMax = 0, repeatType = \"loop\", repeatDelay = 0, onPlay, onStop, onComplete, onRepeat, onUpdate } = _a, options = __rest(_a, [\"from\", \"autoplay\", \"driver\", \"elapsed\", \"repeat\", \"repeatType\", \"repeatDelay\", \"onPlay\", \"onStop\", \"onComplete\", \"onRepeat\", \"onUpdate\"]);\n let { to } = options;\n let driverControls;\n let repeatCount = 0;\n let computedDuration = options.duration;\n let latest;\n let isComplete = false;\n let isForwardPlayback = true;\n let interpolateFromNumber;\n const animator = detectAnimationFromOptions(options);\n if ((_c = (_b = animator).needsInterpolation) === null || _c === void 0 ? void 0 : _c.call(_b, from, to)) {\n interpolateFromNumber = interpolate([0, 100], [from, to], {\n clamp: false,\n });\n from = 0;\n to = 100;\n }\n const animation = animator(Object.assign(Object.assign({}, options), { from, to }));\n function repeat() {\n repeatCount++;\n if (repeatType === \"reverse\") {\n isForwardPlayback = repeatCount % 2 === 0;\n elapsed = reverseElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback);\n }\n else {\n elapsed = loopElapsed(elapsed, computedDuration, repeatDelay);\n if (repeatType === \"mirror\")\n animation.flipTarget();\n }\n isComplete = false;\n onRepeat && onRepeat();\n }\n function complete() {\n driverControls.stop();\n onComplete && onComplete();\n }\n function update(delta) {\n if (!isForwardPlayback)\n delta = -delta;\n elapsed += delta;\n if (!isComplete) {\n const state = animation.next(Math.max(0, elapsed));\n latest = state.value;\n if (interpolateFromNumber)\n latest = interpolateFromNumber(latest);\n isComplete = isForwardPlayback ? state.done : elapsed <= 0;\n }\n onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(latest);\n if (isComplete) {\n if (repeatCount === 0)\n computedDuration !== null && computedDuration !== void 0 ? computedDuration : (computedDuration = elapsed);\n if (repeatCount < repeatMax) {\n hasRepeatDelayElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback) && repeat();\n }\n else {\n complete();\n }\n }\n }\n function play() {\n onPlay === null || onPlay === void 0 ? void 0 : onPlay();\n driverControls = driver(update);\n driverControls.start();\n }\n autoplay && play();\n return {\n stop: () => {\n onStop === null || onStop === void 0 ? void 0 : onStop();\n driverControls.stop();\n },\n };\n}\n\nexport { animate };\n","function velocityPerSecond(velocity, frameDuration) {\n return frameDuration ? velocity * (1000 / frameDuration) : 0;\n}\n\nexport { velocityPerSecond };\n","import { animate } from './index.mjs';\nimport { velocityPerSecond } from '../utils/velocity-per-second.mjs';\nimport { getFrameData } from 'framesync';\n\nfunction inertia({ from = 0, velocity = 0, min, max, power = 0.8, timeConstant = 750, bounceStiffness = 500, bounceDamping = 10, restDelta = 1, modifyTarget, driver, onUpdate, onComplete, onStop, }) {\n let currentAnimation;\n function isOutOfBounds(v) {\n return (min !== undefined && v < min) || (max !== undefined && v > max);\n }\n function boundaryNearest(v) {\n if (min === undefined)\n return max;\n if (max === undefined)\n return min;\n return Math.abs(min - v) < Math.abs(max - v) ? min : max;\n }\n function startAnimation(options) {\n currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop();\n currentAnimation = animate(Object.assign(Object.assign({}, options), { driver, onUpdate: (v) => {\n var _a;\n onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(v);\n (_a = options.onUpdate) === null || _a === void 0 ? void 0 : _a.call(options, v);\n }, onComplete,\n onStop }));\n }\n function startSpring(options) {\n startAnimation(Object.assign({ type: \"spring\", stiffness: bounceStiffness, damping: bounceDamping, restDelta }, options));\n }\n if (isOutOfBounds(from)) {\n startSpring({ from, velocity, to: boundaryNearest(from) });\n }\n else {\n let target = power * velocity + from;\n if (typeof modifyTarget !== \"undefined\")\n target = modifyTarget(target);\n const boundary = boundaryNearest(target);\n const heading = boundary === min ? -1 : 1;\n let prev;\n let current;\n const checkBoundary = (v) => {\n prev = current;\n current = v;\n velocity = velocityPerSecond(v - prev, getFrameData().delta);\n if ((heading === 1 && v > boundary) ||\n (heading === -1 && v < boundary)) {\n startSpring({ from: v, to: boundary, velocity });\n }\n };\n startAnimation({\n type: \"decay\",\n from,\n velocity,\n timeConstant,\n power,\n restDelta,\n modifyTarget,\n onUpdate: isOutOfBounds(target) ? checkBoundary : undefined,\n });\n }\n return {\n stop: () => currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop(),\n };\n}\n\nexport { inertia };\n","import { linear } from './index.mjs';\n\nconst a = (a1, a2) => 1.0 - 3.0 * a2 + 3.0 * a1;\nconst b = (a1, a2) => 3.0 * a2 - 6.0 * a1;\nconst c = (a1) => 3.0 * a1;\nconst calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\nconst getSlope = (t, a1, a2) => 3.0 * a(a1, a2) * t * t + 2.0 * b(a1, a2) * t + c(a1);\nconst subdivisionPrecision = 0.0000001;\nconst subdivisionMaxIterations = 10;\nfunction binarySubdivide(aX, aA, aB, mX1, mX2) {\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n }\n else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > subdivisionPrecision &&\n ++i < subdivisionMaxIterations);\n return currentT;\n}\nconst newtonIterations = 8;\nconst newtonMinSlope = 0.001;\nfunction newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (let i = 0; i < newtonIterations; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\nfunction cubicBezier(mX1, mY1, mX2, mY2) {\n if (mX1 === mY1 && mX2 === mY2)\n return linear;\n const sampleValues = new Float32Array(kSplineTableSize);\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n function getTForX(aX) {\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n const dist = (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= newtonMinSlope) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n }\n else if (initialSlope === 0.0) {\n return guessForT;\n }\n else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);\n}\n\nexport { cubicBezier };\n","const clamp = (min, max) => (v) => Math.max(Math.min(v, max), min);\nconst sanitize = (v) => (v % 1 ? Number(v.toFixed(5)) : v);\nconst floatRegex = /(-)?([\\d]*\\.?[\\d])+/g;\nconst colorRegex = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))/gi;\nconst singleColorRegex = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\\((-?[\\d\\.]+%?[,\\s]+){2,3}\\s*\\/*\\s*[\\d\\.]+%?\\))$/i;\nfunction isString(v) {\n return typeof v === 'string';\n}\n\nexport { clamp, colorRegex, floatRegex, isString, sanitize, singleColorRegex };\n","import { clamp } from '../utils.mjs';\n\nconst number = {\n test: (v) => typeof v === 'number',\n parse: parseFloat,\n transform: (v) => v,\n};\nconst alpha = Object.assign(Object.assign({}, number), { transform: clamp(0, 1) });\nconst scale = Object.assign(Object.assign({}, number), { default: 1 });\n\nexport { alpha, number, scale };\n","import { isString } from '../utils.mjs';\n\nconst createUnitType = (unit) => ({\n test: (v) => isString(v) && v.endsWith(unit) && v.split(' ').length === 1,\n parse: parseFloat,\n transform: (v) => `${v}${unit}`,\n});\nconst degrees = createUnitType('deg');\nconst percent = createUnitType('%');\nconst px = createUnitType('px');\nconst vh = createUnitType('vh');\nconst vw = createUnitType('vw');\nconst progressPercentage = Object.assign(Object.assign({}, percent), { parse: (v) => percent.parse(v) / 100, transform: (v) => percent.transform(v * 100) });\n\nexport { degrees, percent, progressPercentage, px, vh, vw };\n","import { isString, singleColorRegex, floatRegex } from '../utils.mjs';\n\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((isString(v) && singleColorRegex.test(v) && v.startsWith(type)) ||\n (testProp && Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (!isString(v))\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n","import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst hsla = {\n test: isColorString('hsl', 'hue'),\n parse: splitColor('hue', 'saturation', 'lightness'),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return ('hsla(' +\n Math.round(hue) +\n ', ' +\n percent.transform(sanitize(saturation)) +\n ', ' +\n percent.transform(sanitize(lightness)) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')');\n },\n};\n\nexport { hsla };\n","import { number, alpha } from '../numbers/index.mjs';\nimport { sanitize, clamp } from '../utils.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst clampRgbUnit = clamp(0, 255);\nconst rgbUnit = Object.assign(Object.assign({}, number), { transform: (v) => Math.round(clampRgbUnit(v)) });\nconst rgba = {\n test: isColorString('rgb', 'red'),\n parse: splitColor('red', 'green', 'blue'),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => 'rgba(' +\n rgbUnit.transform(red) +\n ', ' +\n rgbUnit.transform(green) +\n ', ' +\n rgbUnit.transform(blue) +\n ', ' +\n sanitize(alpha.transform(alpha$1)) +\n ')',\n};\n\nexport { rgbUnit, rgba };\n","import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = '';\n let g = '';\n let b = '';\n let a = '';\n if (v.length > 5) {\n r = v.substr(1, 2);\n g = v.substr(3, 2);\n b = v.substr(5, 2);\n a = v.substr(7, 2);\n }\n else {\n r = v.substr(1, 1);\n g = v.substr(2, 1);\n b = v.substr(3, 1);\n a = v.substr(4, 1);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: isColorString('#'),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n","import { isString } from '../utils.mjs';\nimport { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return isString(v)\n ? v\n : v.hasOwnProperty('red')\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n};\n\nexport { color };\n","import { color } from '../color/index.mjs';\nimport { number } from '../numbers/index.mjs';\nimport { isString, floatRegex, colorRegex, sanitize } from '../utils.mjs';\n\nconst colorToken = '${c}';\nconst numberToken = '${n}';\nfunction test(v) {\n var _a, _b, _c, _d;\n return (isNaN(v) &&\n isString(v) &&\n ((_b = (_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) + ((_d = (_c = v.match(colorRegex)) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0);\n}\nfunction analyse(v) {\n if (typeof v === 'number')\n v = `${v}`;\n const values = [];\n let numColors = 0;\n const colors = v.match(colorRegex);\n if (colors) {\n numColors = colors.length;\n v = v.replace(colorRegex, colorToken);\n values.push(...colors.map(color.parse));\n }\n const numbers = v.match(floatRegex);\n if (numbers) {\n v = v.replace(floatRegex, numberToken);\n values.push(...numbers.map(number.parse));\n }\n return { values, numColors, tokenised: v };\n}\nfunction parse(v) {\n return analyse(v).values;\n}\nfunction createTransformer(v) {\n const { values, numColors, tokenised } = analyse(v);\n const numValues = values.length;\n return (v) => {\n let output = tokenised;\n for (let i = 0; i < numValues; i++) {\n output = output.replace(i < numColors ? colorToken : numberToken, i < numColors ? color.transform(v[i]) : sanitize(v[i]));\n }\n return output;\n };\n}\nconst convertNumbersToZero = (v) => typeof v === 'number' ? 0 : v;\nfunction getAnimatableNone(v) {\n const parsed = parse(v);\n const transformer = createTransformer(v);\n return transformer(parsed.map(convertNumbersToZero));\n}\nconst complex = { test, parse, createTransformer, getAnimatableNone };\n\nexport { complex };\n","import { complex } from './index.mjs';\nimport { floatRegex } from '../utils.mjs';\n\nconst maxDefaults = new Set(['brightness', 'contrast', 'saturate', 'opacity']);\nfunction applyDefaultFilter(v) {\n let [name, value] = v.slice(0, -1).split('(');\n if (name === 'drop-shadow')\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, '');\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + '(' + defaultValue + unit + ')';\n}\nconst functionRegex = /([a-z-]*)\\(.*?\\)/g;\nconst filter = Object.assign(Object.assign({}, complex), { getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(' ') : v;\n } });\n\nexport { filter };\n","import { ref, set, del, unref, watch, computed, reactive, isRef } from 'vue-demi';\nimport { isObject, useEventListener, noop, useIntersectionObserver, tryOnUnmounted as tryOnUnmounted$1, unrefElement, isNumber, useMediaQuery } from '@vueuse/core';\nimport { tryOnUnmounted, isFunction } from '@vueuse/shared';\nimport sync, { getFrameData } from 'framesync';\nimport { velocityPerSecond, inertia, animate, cubicBezier, linear, easeIn, easeInOut, easeOut, circIn, circInOut, circOut, backIn, backInOut, backOut, anticipate, bounceIn, bounceInOut, bounceOut } from 'popmotion';\nimport { number, color, px, degrees, scale, alpha, progressPercentage, filter, complex } from 'style-value-types';\n\nconst motionState = {};\n\nclass SubscriptionManager {\n constructor() {\n this.subscriptions = /* @__PURE__ */ new Set();\n }\n add(handler) {\n this.subscriptions.add(handler);\n return () => this.subscriptions.delete(handler);\n }\n notify(a, b, c) {\n if (!this.subscriptions.size)\n return;\n for (const handler of this.subscriptions)\n handler(a, b, c);\n }\n clear() {\n this.subscriptions.clear();\n }\n}\n\nconst isFloat = (value) => {\n return !isNaN(parseFloat(value));\n};\nclass MotionValue {\n constructor(init) {\n this.timeDelta = 0;\n this.lastUpdated = 0;\n this.updateSubscribers = new SubscriptionManager();\n this.canTrackVelocity = false;\n this.updateAndNotify = (v) => {\n this.prev = this.current;\n this.current = v;\n const { delta, timestamp } = getFrameData();\n if (this.lastUpdated !== timestamp) {\n this.timeDelta = delta;\n this.lastUpdated = timestamp;\n }\n sync.postRender(this.scheduleVelocityCheck);\n this.updateSubscribers.notify(this.current);\n };\n this.scheduleVelocityCheck = () => sync.postRender(this.velocityCheck);\n this.velocityCheck = ({ timestamp }) => {\n if (!this.canTrackVelocity)\n this.canTrackVelocity = isFloat(this.current);\n if (timestamp !== this.lastUpdated)\n this.prev = this.current;\n };\n this.prev = this.current = init;\n this.canTrackVelocity = isFloat(this.current);\n }\n onChange(subscription) {\n return this.updateSubscribers.add(subscription);\n }\n clearListeners() {\n this.updateSubscribers.clear();\n }\n set(v) {\n this.updateAndNotify(v);\n }\n get() {\n return this.current;\n }\n getPrevious() {\n return this.prev;\n }\n getVelocity() {\n return this.canTrackVelocity ? velocityPerSecond(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta) : 0;\n }\n start(animation) {\n this.stop();\n return new Promise((resolve) => {\n const { stop } = animation(resolve);\n this.stopAnimation = stop;\n }).then(() => this.clearAnimation());\n }\n stop() {\n if (this.stopAnimation)\n this.stopAnimation();\n this.clearAnimation();\n }\n isAnimating() {\n return !!this.stopAnimation;\n }\n clearAnimation() {\n this.stopAnimation = null;\n }\n destroy() {\n this.updateSubscribers.clear();\n this.stop();\n }\n}\nfunction getMotionValue(init) {\n return new MotionValue(init);\n}\n\nconst { isArray } = Array;\nfunction useMotionValues() {\n const motionValues = ref({});\n const stop = (keys) => {\n const destroyKey = (key) => {\n if (!motionValues.value[key])\n return;\n motionValues.value[key].stop();\n motionValues.value[key].destroy();\n del(motionValues.value, key);\n };\n if (keys) {\n if (isArray(keys)) {\n keys.forEach(destroyKey);\n } else {\n destroyKey(keys);\n }\n } else {\n Object.keys(motionValues.value).forEach(destroyKey);\n }\n };\n const get = (key, from, target) => {\n if (motionValues.value[key])\n return motionValues.value[key];\n const motionValue = getMotionValue(from);\n motionValue.onChange((v) => {\n set(target, key, v);\n });\n set(motionValues.value, key, motionValue);\n return motionValue;\n };\n tryOnUnmounted(stop);\n return {\n motionValues,\n get,\n stop\n };\n}\n\nconst isKeyframesTarget = (v) => {\n return Array.isArray(v);\n};\nconst underDampedSpring = () => ({\n type: \"spring\",\n stiffness: 500,\n damping: 25,\n restDelta: 0.5,\n restSpeed: 10\n});\nconst criticallyDampedSpring = (to) => ({\n type: \"spring\",\n stiffness: 550,\n damping: to === 0 ? 2 * Math.sqrt(550) : 30,\n restDelta: 0.01,\n restSpeed: 10\n});\nconst overDampedSpring = (to) => ({\n type: \"spring\",\n stiffness: 550,\n damping: to === 0 ? 100 : 30,\n restDelta: 0.01,\n restSpeed: 10\n});\nconst linearTween = () => ({\n type: \"keyframes\",\n ease: \"linear\",\n duration: 300\n});\nconst keyframes = (values) => ({\n type: \"keyframes\",\n duration: 800,\n values\n});\nconst defaultTransitions = {\n default: overDampedSpring,\n x: underDampedSpring,\n y: underDampedSpring,\n z: underDampedSpring,\n rotate: underDampedSpring,\n rotateX: underDampedSpring,\n rotateY: underDampedSpring,\n rotateZ: underDampedSpring,\n scaleX: criticallyDampedSpring,\n scaleY: criticallyDampedSpring,\n scale: criticallyDampedSpring,\n backgroundColor: linearTween,\n color: linearTween,\n opacity: linearTween\n};\nconst getDefaultTransition = (valueKey, to) => {\n let transitionFactory;\n if (isKeyframesTarget(to)) {\n transitionFactory = keyframes;\n } else {\n transitionFactory = defaultTransitions[valueKey] || defaultTransitions.default;\n }\n return { to, ...transitionFactory(to) };\n};\n\nconst int = {\n ...number,\n transform: Math.round\n};\nconst valueTypes = {\n color,\n backgroundColor: color,\n outlineColor: color,\n fill: color,\n stroke: color,\n borderColor: color,\n borderTopColor: color,\n borderRightColor: color,\n borderBottomColor: color,\n borderLeftColor: color,\n borderWidth: px,\n borderTopWidth: px,\n borderRightWidth: px,\n borderBottomWidth: px,\n borderLeftWidth: px,\n borderRadius: px,\n radius: px,\n borderTopLeftRadius: px,\n borderTopRightRadius: px,\n borderBottomRightRadius: px,\n borderBottomLeftRadius: px,\n width: px,\n maxWidth: px,\n height: px,\n maxHeight: px,\n size: px,\n top: px,\n right: px,\n bottom: px,\n left: px,\n padding: px,\n paddingTop: px,\n paddingRight: px,\n paddingBottom: px,\n paddingLeft: px,\n margin: px,\n marginTop: px,\n marginRight: px,\n marginBottom: px,\n marginLeft: px,\n rotate: degrees,\n rotateX: degrees,\n rotateY: degrees,\n rotateZ: degrees,\n scale,\n scaleX: scale,\n scaleY: scale,\n scaleZ: scale,\n skew: degrees,\n skewX: degrees,\n skewY: degrees,\n distance: px,\n translateX: px,\n translateY: px,\n translateZ: px,\n x: px,\n y: px,\n z: px,\n perspective: px,\n transformPerspective: px,\n opacity: alpha,\n originX: progressPercentage,\n originY: progressPercentage,\n originZ: px,\n zIndex: int,\n filter,\n WebkitFilter: filter,\n fillOpacity: alpha,\n strokeOpacity: alpha,\n numOctaves: int\n};\nconst getValueType = (key) => valueTypes[key];\nconst getValueAsType = (value, type) => {\n return type && typeof value === \"number\" && type.transform ? type.transform(value) : value;\n};\nfunction getAnimatableNone(key, value) {\n let defaultValueType = getValueType(key);\n if (defaultValueType !== filter)\n defaultValueType = complex;\n return defaultValueType.getAnimatableNone ? defaultValueType.getAnimatableNone(value) : void 0;\n}\n\nconst easingLookup = {\n linear,\n easeIn,\n easeInOut,\n easeOut,\n circIn,\n circInOut,\n circOut,\n backIn,\n backInOut,\n backOut,\n anticipate,\n bounceIn,\n bounceInOut,\n bounceOut\n};\nconst easingDefinitionToFunction = (definition) => {\n if (Array.isArray(definition)) {\n const [x1, y1, x2, y2] = definition;\n return cubicBezier(x1, y1, x2, y2);\n } else if (typeof definition === \"string\") {\n return easingLookup[definition];\n }\n return definition;\n};\nconst isEasingArray = (ease) => {\n return Array.isArray(ease) && typeof ease[0] !== \"number\";\n};\nconst isAnimatable = (key, value) => {\n if (key === \"zIndex\")\n return false;\n if (typeof value === \"number\" || Array.isArray(value))\n return true;\n if (typeof value === \"string\" && complex.test(value) && !value.startsWith(\"url(\"))\n return true;\n return false;\n};\nfunction hydrateKeyframes(options) {\n if (Array.isArray(options.to) && options.to[0] === null) {\n options.to = [...options.to];\n options.to[0] = options.from;\n }\n return options;\n}\nfunction convertTransitionToAnimationOptions({\n ease,\n times,\n delay,\n ...transition\n}) {\n const options = { ...transition };\n if (times)\n options.offset = times;\n if (ease) {\n options.ease = isEasingArray(ease) ? ease.map(easingDefinitionToFunction) : easingDefinitionToFunction(ease);\n }\n if (delay)\n options.elapsed = -delay;\n return options;\n}\nfunction getPopmotionAnimationOptions(transition, options, key) {\n if (Array.isArray(options.to)) {\n if (!transition.duration)\n transition.duration = 800;\n }\n hydrateKeyframes(options);\n if (!isTransitionDefined(transition)) {\n transition = {\n ...transition,\n ...getDefaultTransition(key, options.to)\n };\n }\n return {\n ...options,\n ...convertTransitionToAnimationOptions(transition)\n };\n}\nfunction isTransitionDefined({\n delay,\n repeat,\n repeatType,\n repeatDelay,\n from,\n ...transition\n}) {\n return !!Object.keys(transition).length;\n}\nfunction getValueTransition(transition, key) {\n return transition[key] || transition.default || transition;\n}\nfunction getAnimation(key, value, target, transition, onComplete) {\n const valueTransition = getValueTransition(transition, key);\n let origin = valueTransition.from === null || valueTransition.from === void 0 ? value.get() : valueTransition.from;\n const isTargetAnimatable = isAnimatable(key, target);\n if (origin === \"none\" && isTargetAnimatable && typeof target === \"string\")\n origin = getAnimatableNone(key, target);\n const isOriginAnimatable = isAnimatable(key, origin);\n function start(complete) {\n const options = {\n from: origin,\n to: target,\n velocity: transition.velocity ? transition.velocity : value.getVelocity(),\n onUpdate: (v) => value.set(v)\n };\n return valueTransition.type === \"inertia\" || valueTransition.type === \"decay\" ? inertia({ ...options, ...valueTransition }) : animate({\n ...getPopmotionAnimationOptions(valueTransition, options, key),\n onUpdate: (v) => {\n options.onUpdate(v);\n if (valueTransition.onUpdate)\n valueTransition.onUpdate(v);\n },\n onComplete: () => {\n if (transition.onComplete)\n transition.onComplete();\n if (onComplete)\n onComplete();\n if (complete)\n complete();\n }\n });\n }\n function set(complete) {\n value.set(target);\n if (transition.onComplete)\n transition.onComplete();\n if (onComplete)\n onComplete();\n if (complete)\n complete();\n return { stop: () => {\n } };\n }\n return !isOriginAnimatable || !isTargetAnimatable || valueTransition.type === false ? set : start;\n}\n\nfunction useMotionTransitions() {\n const { motionValues, stop, get } = useMotionValues();\n const push = (key, value, target, transition = {}, onComplete) => {\n const from = target[key];\n const motionValue = get(key, from, target);\n if (transition && transition.immediate) {\n motionValue.set(value);\n return;\n }\n const animation = getAnimation(key, motionValue, value, transition, onComplete);\n motionValue.start(animation);\n };\n return { motionValues, stop, push };\n}\n\nfunction useMotionControls(motionProperties, variants = {}, { motionValues, push, stop } = useMotionTransitions()) {\n const _variants = unref(variants);\n const isAnimating = ref(false);\n const _stopWatchAnimating = watch(motionValues, (newVal) => {\n isAnimating.value = Object.values(newVal).filter((value) => value.isAnimating()).length > 0;\n }, {\n immediate: true,\n deep: true\n });\n const getVariantFromKey = (variant) => {\n if (!_variants || !_variants[variant])\n throw new Error(`The variant ${variant} does not exist.`);\n return _variants[variant];\n };\n const apply = (variant) => {\n if (typeof variant === \"string\")\n variant = getVariantFromKey(variant);\n return Promise.all(Object.entries(variant).map(([key, value]) => {\n if (key === \"transition\")\n return void 0;\n return new Promise((resolve) => {\n push(key, value, motionProperties, variant.transition || getDefaultTransition(key, variant[key]), resolve);\n });\n }).filter(Boolean));\n };\n const set = (variant) => {\n const variantData = isObject(variant) ? variant : getVariantFromKey(variant);\n Object.entries(variantData).forEach(([key, value]) => {\n if (key === \"transition\")\n return;\n push(key, value, motionProperties, {\n immediate: true\n });\n });\n };\n const leave = async (done) => {\n let leaveVariant;\n if (_variants) {\n if (_variants.leave)\n leaveVariant = _variants.leave;\n if (!_variants.leave && _variants.initial)\n leaveVariant = _variants.initial;\n }\n if (!leaveVariant) {\n done();\n return;\n }\n await apply(leaveVariant);\n done();\n };\n return {\n isAnimating,\n apply,\n set,\n stopTransitions: () => {\n _stopWatchAnimating();\n stop();\n },\n leave\n };\n}\n\nconst isBrowser = typeof window !== \"undefined\";\nconst supportsPointerEvents = () => isBrowser && window.onpointerdown === null;\nconst supportsTouchEvents = () => isBrowser && window.ontouchstart === null;\nconst supportsMouseEvents = () => isBrowser && window.onmousedown === null;\n\nfunction registerEventListeners({\n target,\n state,\n variants,\n apply\n}) {\n const _variants = unref(variants);\n const _eventListeners = [];\n const _useEventListener = (...args) => {\n const _stop = useEventListener.apply(null, args);\n _eventListeners.push(_stop);\n return _stop;\n };\n const hovered = ref(false);\n const tapped = ref(false);\n const focused = ref(false);\n const mutableKeys = computed(() => {\n let result = [];\n if (!_variants)\n return result;\n if (_variants.hovered)\n result = [...result, ...Object.keys(_variants.hovered)];\n if (_variants.tapped)\n result = [...result, ...Object.keys(_variants.tapped)];\n if (_variants.focused)\n result = [...result, ...Object.keys(_variants.focused)];\n return result;\n });\n const computedProperties = computed(() => {\n const result = {};\n Object.assign(result, state.value);\n if (hovered.value && _variants.hovered)\n Object.assign(result, _variants.hovered);\n if (tapped.value && _variants.tapped)\n Object.assign(result, _variants.tapped);\n if (focused.value && _variants.focused)\n Object.assign(result, _variants.focused);\n for (const key in result)\n if (!mutableKeys.value.includes(key))\n delete result[key];\n return result;\n });\n if (_variants.hovered) {\n _useEventListener(target, \"mouseenter\", () => {\n hovered.value = true;\n });\n _useEventListener(target, \"mouseleave\", () => {\n hovered.value = false;\n tapped.value = false;\n });\n _useEventListener(target, \"mouseout\", () => {\n hovered.value = false;\n tapped.value = false;\n });\n }\n if (_variants.tapped) {\n if (supportsMouseEvents()) {\n _useEventListener(target, \"mousedown\", () => {\n tapped.value = true;\n });\n _useEventListener(target, \"mouseup\", () => {\n tapped.value = false;\n });\n }\n if (supportsPointerEvents()) {\n _useEventListener(target, \"pointerdown\", () => {\n tapped.value = true;\n });\n _useEventListener(target, \"pointerup\", () => {\n tapped.value = false;\n });\n }\n if (supportsTouchEvents()) {\n _useEventListener(target, \"touchstart\", () => {\n tapped.value = true;\n });\n _useEventListener(target, \"touchend\", () => {\n tapped.value = false;\n });\n }\n }\n if (_variants.focused) {\n _useEventListener(target, \"focus\", () => {\n focused.value = true;\n });\n _useEventListener(target, \"blur\", () => {\n focused.value = false;\n });\n }\n const _stopSync = watch(computedProperties, apply);\n const stop = () => {\n _eventListeners.forEach((stopFn) => stopFn());\n _stopSync();\n };\n return { stop };\n}\n\nfunction registerLifeCycleHooks({\n set,\n target,\n variants,\n variant\n}) {\n const _variants = unref(variants);\n const stop = watch(() => target, () => {\n if (!_variants)\n return;\n if (_variants.initial)\n set(\"initial\");\n if (_variants.enter)\n variant.value = \"enter\";\n }, {\n immediate: true,\n flush: \"pre\"\n });\n return { stop };\n}\n\nfunction registerVariantsSync({\n state,\n apply\n}) {\n const stop = watch(state, (newVal) => {\n if (newVal)\n apply(newVal);\n }, {\n immediate: true\n });\n return { stop };\n}\n\nfunction registerVisibilityHooks({\n target,\n variants,\n variant\n}) {\n const _variants = unref(variants);\n let stop = noop;\n if (_variants && (_variants.visible || _variants.visibleOnce)) {\n const { stop: stopObserver } = useIntersectionObserver(target, ([{ isIntersecting }]) => {\n if (_variants.visible) {\n if (isIntersecting)\n variant.value = \"visible\";\n else\n variant.value = \"initial\";\n } else if (_variants.visibleOnce) {\n if (isIntersecting) {\n if (variant.value !== \"visibleOnce\")\n variant.value = \"visibleOnce\";\n } else {\n if (!variant.value)\n variant.value = \"initial\";\n }\n }\n });\n stop = stopObserver;\n }\n return {\n stop\n };\n}\n\nfunction useMotionFeatures(instance, options = {\n syncVariants: true,\n lifeCycleHooks: true,\n visibilityHooks: true,\n eventListeners: true\n}) {\n const toStop = ref([]);\n if (options.lifeCycleHooks) {\n const { stop: stopLifeCycleHooks } = registerLifeCycleHooks(instance);\n toStop.value.push(stopLifeCycleHooks);\n }\n if (options.syncVariants) {\n const { stop: stopVariantSync } = registerVariantsSync(instance);\n toStop.value.push(stopVariantSync);\n }\n if (options.visibilityHooks) {\n const { stop: stopVisibilityHooks } = registerVisibilityHooks(instance);\n toStop.value.push(stopVisibilityHooks);\n }\n if (options.eventListeners) {\n const { stop: stopEventListeners } = registerEventListeners(instance);\n toStop.value.push(stopEventListeners);\n }\n const stop = () => toStop.value.forEach((_stop) => _stop());\n tryOnUnmounted$1(stop);\n return { stop };\n}\n\nfunction reactiveStyle(props = {}) {\n const state = reactive({\n ...props\n });\n const style = ref({});\n watch(state, () => {\n const result = {};\n for (const [key, value] of Object.entries(state)) {\n const valueType = getValueType(key);\n const valueAsType = getValueAsType(value, valueType);\n result[key] = valueAsType;\n }\n style.value = result;\n }, {\n immediate: true,\n deep: true\n });\n return {\n state,\n style\n };\n}\n\nconst transformAxes = [\"\", \"X\", \"Y\", \"Z\"];\nconst order = [\"perspective\", \"translate\", \"scale\", \"rotate\", \"skew\"];\nconst transformProps = [\"transformPerspective\", \"x\", \"y\", \"z\"];\norder.forEach((operationKey) => {\n transformAxes.forEach((axesKey) => {\n const key = operationKey + axesKey;\n transformProps.push(key);\n });\n});\nconst transformPropSet = new Set(transformProps);\nfunction isTransformProp(key) {\n return transformPropSet.has(key);\n}\nconst transformOriginProps = /* @__PURE__ */ new Set([\"originX\", \"originY\", \"originZ\"]);\nfunction isTransformOriginProp(key) {\n return transformOriginProps.has(key);\n}\nfunction splitValues(variant) {\n const transform = {};\n const style = {};\n Object.entries(variant).forEach(([key, value]) => {\n if (isTransformProp(key) || isTransformOriginProp(key))\n transform[key] = value;\n else\n style[key] = value;\n });\n return { transform, style };\n}\n\nfunction useElementStyle(target, onInit) {\n let _cache;\n let _target;\n const { state, style } = reactiveStyle();\n const stopInitWatch = watch(() => unrefElement(target), (el) => {\n if (!el)\n return;\n _target = el;\n for (const key of Object.keys(valueTypes)) {\n if (el.style[key] === null || el.style[key] === \"\" || isTransformProp(key) || isTransformOriginProp(key))\n continue;\n set(state, key, el.style[key]);\n }\n if (_cache) {\n Object.entries(_cache).forEach(([key, value]) => set(el.style, key, value));\n }\n if (onInit)\n onInit(state);\n }, {\n immediate: true\n });\n const stopSyncWatch = watch(style, (newVal) => {\n if (!_target) {\n _cache = newVal;\n return;\n }\n for (const key in newVal)\n set(_target.style, key, newVal[key]);\n }, {\n immediate: true\n });\n const stop = () => {\n _target = void 0;\n _cache = void 0;\n stopInitWatch();\n stopSyncWatch();\n };\n return {\n style: state,\n stop\n };\n}\n\nconst translateAlias = {\n x: \"translateX\",\n y: \"translateY\",\n z: \"translateZ\"\n};\nfunction reactiveTransform(props = {}, enableHardwareAcceleration = true) {\n const state = reactive({ ...props });\n const transform = ref(\"\");\n watch(state, (newVal) => {\n let result = \"\";\n let hasHardwareAcceleration = false;\n if (enableHardwareAcceleration && (newVal.x || newVal.y || newVal.z)) {\n const str = [newVal.x || 0, newVal.y || 0, newVal.z || 0].map(px.transform).join(\",\");\n result += `translate3d(${str}) `;\n hasHardwareAcceleration = true;\n }\n for (const [key, value] of Object.entries(newVal)) {\n if (enableHardwareAcceleration && (key === \"x\" || key === \"y\" || key === \"z\"))\n continue;\n const valueType = getValueType(key);\n const valueAsType = getValueAsType(value, valueType);\n result += `${translateAlias[key] || key}(${valueAsType}) `;\n }\n if (enableHardwareAcceleration && !hasHardwareAcceleration)\n result += \"translateZ(0px) \";\n transform.value = result.trim();\n }, {\n immediate: true,\n deep: true\n });\n return {\n state,\n transform\n };\n}\n\nfunction parseTransform(transform) {\n const transforms = transform.trim().split(/\\) |\\)/);\n if (transforms.length === 1)\n return {};\n const parseValues = (value) => {\n if (value.endsWith(\"px\") || value.endsWith(\"deg\"))\n return parseFloat(value);\n if (isNaN(Number(value)))\n return Number(value);\n return value;\n };\n return transforms.reduce((acc, transform2) => {\n if (!transform2)\n return acc;\n const [name, transformValue] = transform2.split(\"(\");\n const valueArray = transformValue.split(\",\");\n const values = valueArray.map((val) => {\n return parseValues(val.endsWith(\")\") ? val.replace(\")\", \"\") : val.trim());\n });\n const value = values.length === 1 ? values[0] : values;\n return {\n ...acc,\n [name]: value\n };\n }, {});\n}\nfunction stateFromTransform(state, transform) {\n Object.entries(parseTransform(transform)).forEach(([key, value]) => {\n value = parseFloat(value);\n const axes = [\"x\", \"y\", \"z\"];\n if (key === \"translate3d\") {\n if (value === 0) {\n axes.forEach((axis) => {\n set(state, axis, 0);\n });\n return;\n }\n value.forEach((axisValue, index) => {\n set(state, axes[index], axisValue);\n });\n return;\n }\n if (key === \"translateX\") {\n set(state, \"x\", value);\n return;\n }\n if (key === \"translateY\") {\n set(state, \"y\", value);\n return;\n }\n if (key === \"translateZ\") {\n set(state, \"z\", value);\n return;\n }\n set(state, key, value);\n });\n}\n\nfunction useElementTransform(target, onInit) {\n let _cache;\n let _target;\n const { state, transform } = reactiveTransform();\n const stopInitWatch = watch(() => unrefElement(target), (el) => {\n if (!el)\n return;\n _target = el;\n if (el.style.transform)\n stateFromTransform(state, el.style.transform);\n if (_cache)\n el.style.transform = _cache;\n if (onInit)\n onInit(state);\n }, {\n immediate: true\n });\n const stopSyncWatch = watch(transform, (newValue) => {\n if (!_target) {\n _cache = newValue;\n return;\n }\n _target.style.transform = newValue;\n }, {\n immediate: true\n });\n const stop = () => {\n _cache = void 0;\n _target = void 0;\n stopInitWatch();\n stopSyncWatch();\n };\n return {\n transform: state,\n stop\n };\n}\n\nfunction useMotionProperties(target, defaultValues) {\n const motionProperties = reactive({});\n const apply = (values) => {\n Object.entries(values).forEach(([key, value]) => {\n set(motionProperties, key, value);\n });\n };\n const { style, stop: stopStyleWatchers } = useElementStyle(target, apply);\n const { transform, stop: stopTransformWatchers } = useElementTransform(target, apply);\n const stopPropertiesWatch = watch(motionProperties, (newVal) => {\n Object.entries(newVal).forEach(([key, value]) => {\n const target2 = isTransformProp(key) ? transform : style;\n if (target2[key] && target2[key] === value)\n return;\n set(target2, key, value);\n });\n }, {\n immediate: true,\n deep: true\n });\n const stopInitWatch = watch(() => unrefElement(target), (el) => {\n if (!el)\n return;\n if (defaultValues)\n apply(defaultValues);\n }, {\n immediate: true\n });\n const stop = () => {\n stopStyleWatchers();\n stopTransformWatchers();\n stopPropertiesWatch();\n stopInitWatch();\n };\n return {\n motionProperties,\n style,\n transform,\n stop\n };\n}\n\nfunction useMotionVariants(variants = {}) {\n const _variants = unref(variants);\n const variant = ref();\n const state = computed(() => {\n if (!variant.value)\n return;\n return _variants[variant.value];\n });\n return {\n state,\n variant\n };\n}\n\nfunction useMotion(target, variants = {}, options) {\n const { motionProperties, stop: stopMotionProperties } = useMotionProperties(target);\n const { variant, state } = useMotionVariants(variants);\n const controls = useMotionControls(motionProperties, variants);\n const instance = {\n target,\n variant,\n variants,\n state,\n motionProperties,\n ...controls,\n stop: (force = false) => {\n }\n };\n const { stop: stopMotionFeatures } = useMotionFeatures(instance, options);\n instance.stop = (force = false) => {\n const _stop = () => {\n instance.stopTransitions();\n stopMotionProperties();\n stopMotionFeatures();\n };\n if (!force && variants.value && variants.value.leave) {\n const _stopWatch = watch(instance.isAnimating, (newVal) => {\n if (!newVal) {\n _stopWatch();\n _stop();\n }\n });\n } else {\n _stop();\n }\n };\n tryOnUnmounted$1(() => instance.stop());\n return instance;\n}\n\nconst directivePropsKeys = [\n \"initial\",\n \"enter\",\n \"leave\",\n \"visible\",\n \"visible-once\",\n \"hovered\",\n \"tapped\",\n \"focused\",\n \"delay\"\n];\nconst resolveVariants = (node, variantsRef) => {\n const target = node.props ? node.props : node.data && node.data.attrs ? node.data.attrs : {};\n if (target) {\n if (target.variants && isObject(target.variants)) {\n variantsRef.value = {\n ...variantsRef.value,\n ...target.variants\n };\n }\n directivePropsKeys.forEach((key) => {\n if (key === \"delay\") {\n if (target && target[key] && isNumber(target[key])) {\n const delay = target[key];\n if (variantsRef && variantsRef.value) {\n if (variantsRef.value.enter) {\n if (!variantsRef.value.enter.transition)\n variantsRef.value.enter.transition = {};\n variantsRef.value.enter.transition = {\n ...variantsRef.value.enter.transition,\n delay\n };\n }\n if (variantsRef.value.visible) {\n if (!variantsRef.value.visible.transition)\n variantsRef.value.visible.transition = {};\n variantsRef.value.visible.transition = {\n ...variantsRef.value.visible.transition,\n delay\n };\n }\n if (variantsRef.value.visibleOnce) {\n if (!variantsRef.value.visibleOnce.transition)\n variantsRef.value.visibleOnce.transition = {};\n variantsRef.value.visibleOnce.transition = {\n ...variantsRef.value.visibleOnce.transition,\n delay\n };\n }\n }\n }\n return;\n }\n if (key === \"visible-once\")\n key = \"visibleOnce\";\n if (target && target[key] && isObject(target[key]))\n variantsRef.value[key] = target[key];\n });\n }\n};\n\nconst directive = (variants) => {\n const register = (el, binding, node) => {\n const key = binding.value && typeof binding.value === \"string\" ? binding.value : node.key;\n if (key && motionState[key])\n motionState[key].stop();\n const variantsRef = ref(variants || {});\n if (typeof binding.value === \"object\")\n variantsRef.value = binding.value;\n resolveVariants(node, variantsRef);\n const motionInstance = useMotion(el, variantsRef);\n el.motionInstance = motionInstance;\n if (key)\n set(motionState, key, motionInstance);\n };\n const unregister = (el) => {\n if (el.motionInstance)\n el.motionInstance.stop();\n };\n return {\n created: register,\n unmounted: unregister,\n bind: register,\n unbind: unregister,\n getSSRProps(binding, el) {\n const { initial } = binding.value || el.props || {};\n if (!initial || Object.keys(initial).length === 0)\n return;\n const { transform: _transform, style: _style } = splitValues(initial);\n const { transform } = reactiveTransform(_transform);\n const { style } = reactiveStyle(_style);\n if (transform.value)\n style.value.transform = transform.value;\n return {\n style: style.value\n };\n }\n };\n};\n\nconst fade = {\n initial: {\n opacity: 0\n },\n enter: {\n opacity: 1\n }\n};\nconst fadeVisible = {\n initial: {\n opacity: 0\n },\n visible: {\n opacity: 1\n }\n};\nconst fadeVisibleOnce = {\n initial: {\n opacity: 0\n },\n visibleOnce: {\n opacity: 1\n }\n};\n\nconst pop = {\n initial: {\n scale: 0,\n opacity: 0\n },\n enter: {\n scale: 1,\n opacity: 1\n }\n};\nconst popVisible = {\n initial: {\n scale: 0,\n opacity: 0\n },\n visible: {\n scale: 1,\n opacity: 1\n }\n};\nconst popVisibleOnce = {\n initial: {\n scale: 0,\n opacity: 0\n },\n visibleOnce: {\n scale: 1,\n opacity: 1\n }\n};\n\nconst rollLeft = {\n initial: {\n x: -100,\n rotate: 90,\n opacity: 0\n },\n enter: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleLeft = {\n initial: {\n x: -100,\n rotate: 90,\n opacity: 0\n },\n visible: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleOnceLeft = {\n initial: {\n x: -100,\n rotate: 90,\n opacity: 0\n },\n visibleOnce: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollRight = {\n initial: {\n x: 100,\n rotate: -90,\n opacity: 0\n },\n enter: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleRight = {\n initial: {\n x: 100,\n rotate: -90,\n opacity: 0\n },\n visible: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleOnceRight = {\n initial: {\n x: 100,\n rotate: -90,\n opacity: 0\n },\n visibleOnce: {\n x: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollTop = {\n initial: {\n y: -100,\n rotate: -90,\n opacity: 0\n },\n enter: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleTop = {\n initial: {\n y: -100,\n rotate: -90,\n opacity: 0\n },\n visible: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleOnceTop = {\n initial: {\n y: -100,\n rotate: -90,\n opacity: 0\n },\n visibleOnce: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollBottom = {\n initial: {\n y: 100,\n rotate: 90,\n opacity: 0\n },\n enter: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleBottom = {\n initial: {\n y: 100,\n rotate: 90,\n opacity: 0\n },\n visible: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\nconst rollVisibleOnceBottom = {\n initial: {\n y: 100,\n rotate: 90,\n opacity: 0\n },\n visibleOnce: {\n y: 0,\n rotate: 0,\n opacity: 1\n }\n};\n\nconst slideLeft = {\n initial: {\n x: -100,\n opacity: 0\n },\n enter: {\n x: 0,\n opacity: 1\n }\n};\nconst slideVisibleLeft = {\n initial: {\n x: -100,\n opacity: 0\n },\n visible: {\n x: 0,\n opacity: 1\n }\n};\nconst slideVisibleOnceLeft = {\n initial: {\n x: -100,\n opacity: 0\n },\n visibleOnce: {\n x: 0,\n opacity: 1\n }\n};\nconst slideRight = {\n initial: {\n x: 100,\n opacity: 0\n },\n enter: {\n x: 0,\n opacity: 1\n }\n};\nconst slideVisibleRight = {\n initial: {\n x: 100,\n opacity: 0\n },\n visible: {\n x: 0,\n opacity: 1\n }\n};\nconst slideVisibleOnceRight = {\n initial: {\n x: 100,\n opacity: 0\n },\n visibleOnce: {\n x: 0,\n opacity: 1\n }\n};\nconst slideTop = {\n initial: {\n y: -100,\n opacity: 0\n },\n enter: {\n y: 0,\n opacity: 1\n }\n};\nconst slideVisibleTop = {\n initial: {\n y: -100,\n opacity: 0\n },\n visible: {\n y: 0,\n opacity: 1\n }\n};\nconst slideVisibleOnceTop = {\n initial: {\n y: -100,\n opacity: 0\n },\n visibleOnce: {\n y: 0,\n opacity: 1\n }\n};\nconst slideBottom = {\n initial: {\n y: 100,\n opacity: 0\n },\n enter: {\n y: 0,\n opacity: 1\n }\n};\nconst slideVisibleBottom = {\n initial: {\n y: 100,\n opacity: 0\n },\n visible: {\n y: 0,\n opacity: 1\n }\n};\nconst slideVisibleOnceBottom = {\n initial: {\n y: 100,\n opacity: 0\n },\n visibleOnce: {\n y: 0,\n opacity: 1\n }\n};\n\nconst presets = {\n __proto__: null,\n fade: fade,\n fadeVisible: fadeVisible,\n fadeVisibleOnce: fadeVisibleOnce,\n pop: pop,\n popVisible: popVisible,\n popVisibleOnce: popVisibleOnce,\n rollBottom: rollBottom,\n rollLeft: rollLeft,\n rollRight: rollRight,\n rollTop: rollTop,\n rollVisibleBottom: rollVisibleBottom,\n rollVisibleLeft: rollVisibleLeft,\n rollVisibleRight: rollVisibleRight,\n rollVisibleTop: rollVisibleTop,\n rollVisibleOnceBottom: rollVisibleOnceBottom,\n rollVisibleOnceLeft: rollVisibleOnceLeft,\n rollVisibleOnceRight: rollVisibleOnceRight,\n rollVisibleOnceTop: rollVisibleOnceTop,\n slideBottom: slideBottom,\n slideLeft: slideLeft,\n slideRight: slideRight,\n slideTop: slideTop,\n slideVisibleBottom: slideVisibleBottom,\n slideVisibleLeft: slideVisibleLeft,\n slideVisibleRight: slideVisibleRight,\n slideVisibleTop: slideVisibleTop,\n slideVisibleOnceBottom: slideVisibleOnceBottom,\n slideVisibleOnceLeft: slideVisibleOnceLeft,\n slideVisibleOnceRight: slideVisibleOnceRight,\n slideVisibleOnceTop: slideVisibleOnceTop\n};\n\nfunction slugify(string) {\n const a = \"\\xE0\\xE1\\xE2\\xE4\\xE6\\xE3\\xE5\\u0101\\u0103\\u0105\\xE7\\u0107\\u010D\\u0111\\u010F\\xE8\\xE9\\xEA\\xEB\\u0113\\u0117\\u0119\\u011B\\u011F\\u01F5\\u1E27\\xEE\\xEF\\xED\\u012B\\u012F\\xEC\\u0142\\u1E3F\\xF1\\u0144\\u01F9\\u0148\\xF4\\xF6\\xF2\\xF3\\u0153\\xF8\\u014D\\xF5\\u0151\\u1E55\\u0155\\u0159\\xDF\\u015B\\u0161\\u015F\\u0219\\u0165\\u021B\\xFB\\xFC\\xF9\\xFA\\u016B\\u01D8\\u016F\\u0171\\u0173\\u1E83\\u1E8D\\xFF\\xFD\\u017E\\u017A\\u017C\\xB7/_,:;\";\n const b = \"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------\";\n const p = new RegExp(a.split(\"\").join(\"|\"), \"g\");\n return string.toString().replace(/[A-Z]/g, (s) => `-${s}`).toLowerCase().replace(/\\s+/g, \"-\").replace(p, (c) => b.charAt(a.indexOf(c))).replace(/&/g, \"-and-\").replace(/[^\\w\\-]+/g, \"\").replace(/\\-\\-+/g, \"-\").replace(/^-+/, \"\").replace(/-+$/, \"\");\n}\n\nconst MotionPlugin = {\n install(app, options) {\n app.directive(\"motion\", directive());\n if (!options || options && !options.excludePresets) {\n for (const key in presets) {\n const preset = presets[key];\n app.directive(`motion-${slugify(key)}`, directive(preset));\n }\n }\n if (options && options.directives) {\n for (const key in options.directives) {\n const variants = options.directives[key];\n if (!variants.initial && __DEV__) {\n console.warn(`Your directive v-motion-${key} is missing initial variant!`);\n }\n app.directive(`motion-${key}`, directive(variants));\n }\n }\n }\n};\n\nfunction useMotions() {\n return motionState;\n}\n\nfunction useSpring(values, spring) {\n const { stop, get } = useMotionValues();\n return {\n values,\n stop,\n set: (properties) => Promise.all(Object.entries(properties).map(([key, value]) => {\n const motionValue = get(key, values[key], values);\n return motionValue.start((onComplete) => {\n const options = {\n type: \"spring\",\n ...spring || getDefaultTransition(key, value)\n };\n return animate({\n from: motionValue.get(),\n to: value,\n velocity: motionValue.getVelocity(),\n onUpdate: (v) => motionValue.set(v),\n onComplete,\n ...options\n });\n });\n }))\n };\n}\n\nfunction isMotionInstance(obj) {\n const _obj = obj;\n return _obj.apply !== void 0 && isFunction(_obj.apply) && _obj.set !== void 0 && isFunction(_obj.set) && _obj.stopTransitions !== void 0 && isFunction(_obj.stopTransitions) && _obj.target !== void 0 && isRef(_obj.target);\n}\n\nfunction useReducedMotion(options = {}) {\n return useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n}\n\nexport { directive as MotionDirective, MotionPlugin, fade, fadeVisible, fadeVisibleOnce, isMotionInstance, pop, popVisible, popVisibleOnce, reactiveStyle, reactiveTransform, rollBottom, rollLeft, rollRight, rollTop, rollVisibleBottom, rollVisibleLeft, rollVisibleOnceBottom, rollVisibleOnceLeft, rollVisibleOnceRight, rollVisibleOnceTop, rollVisibleRight, rollVisibleTop, slideBottom, slideLeft, slideRight, slideTop, slideVisibleBottom, slideVisibleLeft, slideVisibleOnceBottom, slideVisibleOnceLeft, slideVisibleOnceRight, slideVisibleOnceTop, slideVisibleRight, slideVisibleTop, slugify, useElementStyle, useElementTransform, useMotion, useMotionControls, useMotionProperties, useMotionTransitions, useMotionVariants, useMotions, useReducedMotion, useSpring };\n","import * as Vue from 'vue'\n\nvar isVue2 = false\nvar isVue3 = true\nvar Vue2 = undefined\n\nfunction install() {}\n\nexport function set(target, key, val) {\n if (Array.isArray(target)) {\n target.length = Math.max(target.length, key)\n target.splice(key, 1, val)\n return val\n }\n target[key] = val\n return val\n}\n\nexport function del(target, key) {\n if (Array.isArray(target)) {\n target.splice(key, 1)\n return\n }\n delete target[key]\n}\n\nexport * from 'vue'\nexport {\n Vue,\n Vue2,\n isVue2,\n isVue3,\n install,\n}\n","import { shallowRef, watchEffect, readonly, unref, ref, isVue3, watch, customRef, effectScope, provide, inject, getCurrentScope, onScopeDispose, isRef, computed, reactive, toRefs as toRefs$1, toRef, isVue2, set as set$1, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive } from 'vue-demi';\n\nvar __defProp$9 = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction computedEager(fn, options) {\n var _a;\n const result = shallowRef();\n watchEffect(() => {\n result.value = fn();\n }, __spreadProps$6(__spreadValues$9({}, options), {\n flush: (_a = options == null ? void 0 : options.flush) != null ? _a : \"sync\"\n }));\n return readonly(result);\n}\n\nvar _a;\nconst isClient = typeof window !== \"undefined\";\nconst isDef = (val) => typeof val !== \"undefined\";\nconst assert = (condition, ...infos) => {\n if (!condition)\n console.warn(...infos);\n};\nconst toString = Object.prototype.toString;\nconst isBoolean = (val) => typeof val === \"boolean\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isNumber = (val) => typeof val === \"number\";\nconst isString = (val) => typeof val === \"string\";\nconst isObject = (val) => toString.call(val) === \"[object Object]\";\nconst isWindow = (val) => typeof window !== \"undefined\" && toString.call(val) === \"[object Window]\";\nconst now = () => Date.now();\nconst timestamp = () => +Date.now();\nconst clamp = (n, min, max) => Math.min(max, Math.max(min, n));\nconst noop = () => {\n};\nconst rand = (min, max) => {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\nconst isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);\nconst hasOwn = (val, key) => Object.prototype.hasOwnProperty.call(val, key);\n\nfunction resolveUnref(r) {\n return typeof r === \"function\" ? r() : unref(r);\n}\n\nfunction createFilterWrapper(filter, fn) {\n function wrapper(...args) {\n filter(() => fn.apply(this, args), { fn, thisArg: this, args });\n }\n return wrapper;\n}\nconst bypassFilter = (invoke) => {\n return invoke();\n};\nfunction debounceFilter(ms, options = {}) {\n let timer;\n let maxTimer;\n const filter = (invoke) => {\n const duration = resolveUnref(ms);\n const maxDuration = resolveUnref(options.maxWait);\n if (timer)\n clearTimeout(timer);\n if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {\n if (maxTimer) {\n clearTimeout(maxTimer);\n maxTimer = null;\n }\n return invoke();\n }\n if (maxDuration && !maxTimer) {\n maxTimer = setTimeout(() => {\n if (timer)\n clearTimeout(timer);\n maxTimer = null;\n invoke();\n }, maxDuration);\n }\n timer = setTimeout(() => {\n if (maxTimer)\n clearTimeout(maxTimer);\n maxTimer = null;\n invoke();\n }, duration);\n };\n return filter;\n}\nfunction throttleFilter(ms, trailing = true, leading = true) {\n let lastExec = 0;\n let timer;\n let isLeading = true;\n const clear = () => {\n if (timer) {\n clearTimeout(timer);\n timer = void 0;\n }\n };\n const filter = (invoke) => {\n const duration = resolveUnref(ms);\n const elapsed = Date.now() - lastExec;\n clear();\n if (duration <= 0) {\n lastExec = Date.now();\n return invoke();\n }\n if (elapsed > duration && (leading || !isLeading)) {\n lastExec = Date.now();\n invoke();\n } else if (trailing) {\n timer = setTimeout(() => {\n lastExec = Date.now();\n isLeading = true;\n clear();\n invoke();\n }, duration);\n }\n if (!leading && !timer)\n timer = setTimeout(() => isLeading = true, duration);\n isLeading = false;\n };\n return filter;\n}\nfunction pausableFilter(extendFilter = bypassFilter) {\n const isActive = ref(true);\n function pause() {\n isActive.value = false;\n }\n function resume() {\n isActive.value = true;\n }\n const eventFilter = (...args) => {\n if (isActive.value)\n extendFilter(...args);\n };\n return { isActive, pause, resume, eventFilter };\n}\n\nfunction __onlyVue3(name = \"this function\") {\n if (isVue3)\n return;\n throw new Error(`[VueUse] ${name} is only works on Vue 3.`);\n}\nconst directiveHooks = {\n mounted: isVue3 ? \"mounted\" : \"inserted\",\n updated: isVue3 ? \"updated\" : \"componentUpdated\",\n unmounted: isVue3 ? \"unmounted\" : \"unbind\"\n};\n\nfunction promiseTimeout(ms, throwOnTimeout = false, reason = \"Timeout\") {\n return new Promise((resolve, reject) => {\n if (throwOnTimeout)\n setTimeout(() => reject(reason), ms);\n else\n setTimeout(resolve, ms);\n });\n}\nfunction identity(arg) {\n return arg;\n}\nfunction createSingletonPromise(fn) {\n let _promise;\n function wrapper() {\n if (!_promise)\n _promise = fn();\n return _promise;\n }\n wrapper.reset = async () => {\n const _prev = _promise;\n _promise = void 0;\n if (_prev)\n await _prev;\n };\n return wrapper;\n}\nfunction invoke(fn) {\n return fn();\n}\nfunction containsProp(obj, ...props) {\n return props.some((k) => k in obj);\n}\nfunction increaseWithUnit(target, delta) {\n var _a;\n if (typeof target === \"number\")\n return target + delta;\n const value = ((_a = target.match(/^-?[0-9]+\\.?[0-9]*/)) == null ? void 0 : _a[0]) || \"\";\n const unit = target.slice(value.length);\n const result = parseFloat(value) + delta;\n if (Number.isNaN(result))\n return target;\n return result + unit;\n}\nfunction objectPick(obj, keys, omitUndefined = false) {\n return keys.reduce((n, k) => {\n if (k in obj) {\n if (!omitUndefined || obj[k] !== void 0)\n n[k] = obj[k];\n }\n return n;\n }, {});\n}\n\nfunction computedWithControl(source, fn) {\n let v = void 0;\n let track;\n let trigger;\n const dirty = ref(true);\n const update = () => {\n dirty.value = true;\n trigger();\n };\n watch(source, update, { flush: \"sync\" });\n const get = isFunction(fn) ? fn : fn.get;\n const set = isFunction(fn) ? void 0 : fn.set;\n const result = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n if (dirty.value) {\n v = get();\n dirty.value = false;\n }\n track();\n return v;\n },\n set(v2) {\n set == null ? void 0 : set(v2);\n }\n };\n });\n if (Object.isExtensible(result))\n result.trigger = update;\n return result;\n}\n\nfunction createEventHook() {\n const fns = [];\n const off = (fn) => {\n const index = fns.indexOf(fn);\n if (index !== -1)\n fns.splice(index, 1);\n };\n const on = (fn) => {\n fns.push(fn);\n return {\n off: () => off(fn)\n };\n };\n const trigger = (param) => {\n fns.forEach((fn) => fn(param));\n };\n return {\n on,\n off,\n trigger\n };\n}\n\nfunction createGlobalState(stateFactory) {\n let initialized = false;\n let state;\n const scope = effectScope(true);\n return () => {\n if (!initialized) {\n state = scope.run(stateFactory);\n initialized = true;\n }\n return state;\n };\n}\n\nfunction createInjectionState(composable) {\n const key = Symbol(\"InjectionState\");\n const useProvidingState = (...args) => {\n provide(key, composable(...args));\n };\n const useInjectedState = () => inject(key);\n return [useProvidingState, useInjectedState];\n}\n\nfunction tryOnScopeDispose(fn) {\n if (getCurrentScope()) {\n onScopeDispose(fn);\n return true;\n }\n return false;\n}\n\nfunction createSharedComposable(composable) {\n let subscribers = 0;\n let state;\n let scope;\n const dispose = () => {\n subscribers -= 1;\n if (scope && subscribers <= 0) {\n scope.stop();\n state = void 0;\n scope = void 0;\n }\n };\n return (...args) => {\n subscribers += 1;\n if (!state) {\n scope = effectScope(true);\n state = scope.run(() => composable(...args));\n }\n tryOnScopeDispose(dispose);\n return state;\n };\n}\n\nfunction extendRef(ref, extend, { enumerable = false, unwrap = true } = {}) {\n __onlyVue3();\n for (const [key, value] of Object.entries(extend)) {\n if (key === \"value\")\n continue;\n if (isRef(value) && unwrap) {\n Object.defineProperty(ref, key, {\n get() {\n return value.value;\n },\n set(v) {\n value.value = v;\n },\n enumerable\n });\n } else {\n Object.defineProperty(ref, key, { value, enumerable });\n }\n }\n return ref;\n}\n\nfunction get(obj, key) {\n if (key == null)\n return unref(obj);\n return unref(obj)[key];\n}\n\nfunction isDefined(v) {\n return unref(v) != null;\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nfunction makeDestructurable(obj, arr) {\n if (typeof Symbol !== \"undefined\") {\n const clone = __spreadValues$8({}, obj);\n Object.defineProperty(clone, Symbol.iterator, {\n enumerable: false,\n value() {\n let index = 0;\n return {\n next: () => ({\n value: arr[index++],\n done: index > arr.length\n })\n };\n }\n });\n return clone;\n } else {\n return Object.assign([...arr], obj);\n }\n}\n\nfunction reactify(fn, options) {\n const unrefFn = (options == null ? void 0 : options.computedGetter) === false ? unref : resolveUnref;\n return function(...args) {\n return computed(() => fn.apply(this, args.map((i) => unrefFn(i))));\n };\n}\n\nfunction reactifyObject(obj, optionsOrKeys = {}) {\n let keys = [];\n let options;\n if (Array.isArray(optionsOrKeys)) {\n keys = optionsOrKeys;\n } else {\n options = optionsOrKeys;\n const { includeOwnProperties = true } = optionsOrKeys;\n keys.push(...Object.keys(obj));\n if (includeOwnProperties)\n keys.push(...Object.getOwnPropertyNames(obj));\n }\n return Object.fromEntries(keys.map((key) => {\n const value = obj[key];\n return [\n key,\n typeof value === \"function\" ? reactify(value.bind(obj), options) : value\n ];\n }));\n}\n\nfunction toReactive(objectRef) {\n if (!isRef(objectRef))\n return reactive(objectRef);\n const proxy = new Proxy({}, {\n get(_, p, receiver) {\n return unref(Reflect.get(objectRef.value, p, receiver));\n },\n set(_, p, value) {\n if (isRef(objectRef.value[p]) && !isRef(value))\n objectRef.value[p].value = value;\n else\n objectRef.value[p] = value;\n return true;\n },\n deleteProperty(_, p) {\n return Reflect.deleteProperty(objectRef.value, p);\n },\n has(_, p) {\n return Reflect.has(objectRef.value, p);\n },\n ownKeys() {\n return Object.keys(objectRef.value);\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n }\n });\n return reactive(proxy);\n}\n\nfunction reactiveComputed(fn) {\n return toReactive(computed(fn));\n}\n\nfunction reactiveOmit(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactiveComputed(() => Object.fromEntries(Object.entries(toRefs$1(obj)).filter((e) => !flatKeys.includes(e[0]))));\n}\n\nfunction reactivePick(obj, ...keys) {\n const flatKeys = keys.flat();\n return reactive(Object.fromEntries(flatKeys.map((k) => [k, toRef(obj, k)])));\n}\n\nfunction refAutoReset(defaultValue, afterMs = 1e4) {\n return customRef((track, trigger) => {\n let value = defaultValue;\n let timer;\n const resetAfter = () => setTimeout(() => {\n value = defaultValue;\n trigger();\n }, resolveUnref(afterMs));\n tryOnScopeDispose(() => {\n clearTimeout(timer);\n });\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n value = newValue;\n trigger();\n clearTimeout(timer);\n timer = resetAfter();\n }\n };\n });\n}\n\nfunction useDebounceFn(fn, ms = 200, options = {}) {\n return createFilterWrapper(debounceFilter(ms, options), fn);\n}\n\nfunction refDebounced(value, ms = 200, options = {}) {\n if (ms <= 0)\n return value;\n const debounced = ref(value.value);\n const updater = useDebounceFn(() => {\n debounced.value = value.value;\n }, ms, options);\n watch(value, () => updater());\n return debounced;\n}\n\nfunction refDefault(source, defaultValue) {\n return computed({\n get() {\n var _a;\n return (_a = source.value) != null ? _a : defaultValue;\n },\n set(value) {\n source.value = value;\n }\n });\n}\n\nfunction useThrottleFn(fn, ms = 200, trailing = false, leading = true) {\n return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);\n}\n\nfunction refThrottled(value, delay = 200, trailing = true, leading = true) {\n if (delay <= 0)\n return value;\n const throttled = ref(value.value);\n const updater = useThrottleFn(() => {\n throttled.value = value.value;\n }, delay, trailing, leading);\n watch(value, () => updater());\n return throttled;\n}\n\nfunction refWithControl(initial, options = {}) {\n let source = initial;\n let track;\n let trigger;\n const ref = customRef((_track, _trigger) => {\n track = _track;\n trigger = _trigger;\n return {\n get() {\n return get();\n },\n set(v) {\n set(v);\n }\n };\n });\n function get(tracking = true) {\n if (tracking)\n track();\n return source;\n }\n function set(value, triggering = true) {\n var _a, _b;\n if (value === source)\n return;\n const old = source;\n if (((_a = options.onBeforeChange) == null ? void 0 : _a.call(options, value, old)) === false)\n return;\n source = value;\n (_b = options.onChanged) == null ? void 0 : _b.call(options, value, old);\n if (triggering)\n trigger();\n }\n const untrackedGet = () => get(false);\n const silentSet = (v) => set(v, false);\n const peek = () => get(false);\n const lay = (v) => set(v, false);\n return extendRef(ref, {\n get,\n set,\n untrackedGet,\n silentSet,\n peek,\n lay\n }, { enumerable: true });\n}\nconst controlledRef = refWithControl;\n\nfunction resolveRef(r) {\n return typeof r === \"function\" ? computed(r) : ref(r);\n}\n\nfunction set(...args) {\n if (args.length === 2) {\n const [ref, value] = args;\n ref.value = value;\n }\n if (args.length === 3) {\n if (isVue2) {\n set$1(...args);\n } else {\n const [target, key, value] = args;\n target[key] = value;\n }\n }\n}\n\nfunction syncRef(left, right, options = {}) {\n var _a, _b;\n const {\n flush = \"sync\",\n deep = false,\n immediate = true,\n direction = \"both\",\n transform = {}\n } = options;\n let watchLeft;\n let watchRight;\n const transformLTR = (_a = transform.ltr) != null ? _a : (v) => v;\n const transformRTL = (_b = transform.rtl) != null ? _b : (v) => v;\n if (direction === \"both\" || direction === \"ltr\") {\n watchLeft = watch(left, (newValue) => right.value = transformLTR(newValue), { flush, deep, immediate });\n }\n if (direction === \"both\" || direction === \"rtl\") {\n watchRight = watch(right, (newValue) => left.value = transformRTL(newValue), { flush, deep, immediate });\n }\n return () => {\n watchLeft == null ? void 0 : watchLeft();\n watchRight == null ? void 0 : watchRight();\n };\n}\n\nfunction syncRefs(source, targets, options = {}) {\n const {\n flush = \"sync\",\n deep = false,\n immediate = true\n } = options;\n if (!Array.isArray(targets))\n targets = [targets];\n return watch(source, (newValue) => targets.forEach((target) => target.value = newValue), { flush, deep, immediate });\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction toRefs(objectRef) {\n if (!isRef(objectRef))\n return toRefs$1(objectRef);\n const result = Array.isArray(objectRef.value) ? new Array(objectRef.value.length) : {};\n for (const key in objectRef.value) {\n result[key] = customRef(() => ({\n get() {\n return objectRef.value[key];\n },\n set(v) {\n if (Array.isArray(objectRef.value)) {\n const copy = [...objectRef.value];\n copy[key] = v;\n objectRef.value = copy;\n } else {\n const newObject = __spreadProps$5(__spreadValues$7({}, objectRef.value), { [key]: v });\n Object.setPrototypeOf(newObject, objectRef.value);\n objectRef.value = newObject;\n }\n }\n }));\n }\n return result;\n}\n\nfunction tryOnBeforeMount(fn, sync = true) {\n if (getCurrentInstance())\n onBeforeMount(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnBeforeUnmount(fn) {\n if (getCurrentInstance())\n onBeforeUnmount(fn);\n}\n\nfunction tryOnMounted(fn, sync = true) {\n if (getCurrentInstance())\n onMounted(fn);\n else if (sync)\n fn();\n else\n nextTick(fn);\n}\n\nfunction tryOnUnmounted(fn) {\n if (getCurrentInstance())\n onUnmounted(fn);\n}\n\nfunction createUntil(r, isNot = false) {\n function toMatch(condition, { flush = \"sync\", deep = false, timeout, throwOnTimeout } = {}) {\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch(r, (v) => {\n if (condition(v) !== isNot) {\n stop == null ? void 0 : stop();\n resolve(v);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => resolveUnref(r)).finally(() => stop == null ? void 0 : stop()));\n }\n return Promise.race(promises);\n }\n function toBe(value, options) {\n if (!isRef(value))\n return toMatch((v) => v === value, options);\n const { flush = \"sync\", deep = false, timeout, throwOnTimeout } = options != null ? options : {};\n let stop = null;\n const watcher = new Promise((resolve) => {\n stop = watch([r, value], ([v1, v2]) => {\n if (isNot !== (v1 === v2)) {\n stop == null ? void 0 : stop();\n resolve(v1);\n }\n }, {\n flush,\n deep,\n immediate: true\n });\n });\n const promises = [watcher];\n if (timeout != null) {\n promises.push(promiseTimeout(timeout, throwOnTimeout).then(() => resolveUnref(r)).finally(() => {\n stop == null ? void 0 : stop();\n return resolveUnref(r);\n }));\n }\n return Promise.race(promises);\n }\n function toBeTruthy(options) {\n return toMatch((v) => Boolean(v), options);\n }\n function toBeNull(options) {\n return toBe(null, options);\n }\n function toBeUndefined(options) {\n return toBe(void 0, options);\n }\n function toBeNaN(options) {\n return toMatch(Number.isNaN, options);\n }\n function toContains(value, options) {\n return toMatch((v) => {\n const array = Array.from(v);\n return array.includes(value) || array.includes(resolveUnref(value));\n }, options);\n }\n function changed(options) {\n return changedTimes(1, options);\n }\n function changedTimes(n = 1, options) {\n let count = -1;\n return toMatch(() => {\n count += 1;\n return count >= n;\n }, options);\n }\n if (Array.isArray(resolveUnref(r))) {\n const instance = {\n toMatch,\n toContains,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n } else {\n const instance = {\n toMatch,\n toBe,\n toBeTruthy,\n toBeNull,\n toBeNaN,\n toBeUndefined,\n changed,\n changedTimes,\n get not() {\n return createUntil(r, !isNot);\n }\n };\n return instance;\n }\n}\nfunction until(r) {\n return createUntil(r);\n}\n\nfunction useArrayEvery(list, fn) {\n return computed(() => resolveUnref(list).every((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction useArrayFilter(list, fn) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).filter(fn));\n}\n\nfunction useArrayFind(list, fn) {\n return computed(() => resolveUnref(resolveUnref(list).find((element, index, array) => fn(resolveUnref(element), index, array))));\n}\n\nfunction useArrayFindIndex(list, fn) {\n return computed(() => resolveUnref(list).findIndex((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction useArrayJoin(list, separator) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).join(resolveUnref(separator)));\n}\n\nfunction useArrayMap(list, fn) {\n return computed(() => resolveUnref(list).map((i) => resolveUnref(i)).map(fn));\n}\n\nfunction useArrayReduce(list, reducer, ...args) {\n const reduceCallback = (sum, value, index) => reducer(resolveUnref(sum), resolveUnref(value), index);\n return computed(() => {\n const resolved = resolveUnref(list);\n return args.length ? resolved.reduce(reduceCallback, resolveUnref(args[0])) : resolved.reduce(reduceCallback);\n });\n}\n\nfunction useArraySome(list, fn) {\n return computed(() => resolveUnref(list).some((element, index, array) => fn(resolveUnref(element), index, array)));\n}\n\nfunction useCounter(initialValue = 0, options = {}) {\n const count = ref(initialValue);\n const {\n max = Infinity,\n min = -Infinity\n } = options;\n const inc = (delta = 1) => count.value = Math.min(max, count.value + delta);\n const dec = (delta = 1) => count.value = Math.max(min, count.value - delta);\n const get = () => count.value;\n const set = (val) => count.value = val;\n const reset = (val = initialValue) => {\n initialValue = val;\n return set(val);\n };\n return { count, inc, dec, get, set, reset };\n}\n\nconst REGEX_PARSE = /^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/;\nconst REGEX_FORMAT = /\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;\nconst defaultMeridiem = (hours, minutes, isLowercase, hasPeriod) => {\n let m = hours < 12 ? \"AM\" : \"PM\";\n if (hasPeriod)\n m = m.split(\"\").reduce((acc, curr) => acc += `${curr}.`, \"\");\n return isLowercase ? m.toLowerCase() : m;\n};\nconst formatDate = (date, formatStr, options = {}) => {\n var _a;\n const years = date.getFullYear();\n const month = date.getMonth();\n const days = date.getDate();\n const hours = date.getHours();\n const minutes = date.getMinutes();\n const seconds = date.getSeconds();\n const milliseconds = date.getMilliseconds();\n const day = date.getDay();\n const meridiem = (_a = options.customMeridiem) != null ? _a : defaultMeridiem;\n const matches = {\n YY: () => String(years).slice(-2),\n YYYY: () => years,\n M: () => month + 1,\n MM: () => `${month + 1}`.padStart(2, \"0\"),\n MMM: () => date.toLocaleDateString(options.locales, { month: \"short\" }),\n MMMM: () => date.toLocaleDateString(options.locales, { month: \"long\" }),\n D: () => String(days),\n DD: () => `${days}`.padStart(2, \"0\"),\n H: () => String(hours),\n HH: () => `${hours}`.padStart(2, \"0\"),\n h: () => `${hours % 12 || 12}`.padStart(1, \"0\"),\n hh: () => `${hours % 12 || 12}`.padStart(2, \"0\"),\n m: () => String(minutes),\n mm: () => `${minutes}`.padStart(2, \"0\"),\n s: () => String(seconds),\n ss: () => `${seconds}`.padStart(2, \"0\"),\n SSS: () => `${milliseconds}`.padStart(3, \"0\"),\n d: () => day,\n dd: () => date.toLocaleDateString(options.locales, { weekday: \"narrow\" }),\n ddd: () => date.toLocaleDateString(options.locales, { weekday: \"short\" }),\n dddd: () => date.toLocaleDateString(options.locales, { weekday: \"long\" }),\n A: () => meridiem(hours, minutes),\n AA: () => meridiem(hours, minutes, false, true),\n a: () => meridiem(hours, minutes, true),\n aa: () => meridiem(hours, minutes, true, true)\n };\n return formatStr.replace(REGEX_FORMAT, (match, $1) => $1 || matches[match]());\n};\nconst normalizeDate = (date) => {\n if (date === null)\n return new Date(NaN);\n if (date === void 0)\n return new Date();\n if (date instanceof Date)\n return new Date(date);\n if (typeof date === \"string\" && !/Z$/i.test(date)) {\n const d = date.match(REGEX_PARSE);\n if (d) {\n const m = d[2] - 1 || 0;\n const ms = (d[7] || \"0\").substring(0, 3);\n return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);\n }\n }\n return new Date(date);\n};\nfunction useDateFormat(date, formatStr = \"HH:mm:ss\", options = {}) {\n return computed(() => formatDate(normalizeDate(resolveUnref(date)), resolveUnref(formatStr), options));\n}\n\nfunction useIntervalFn(cb, interval = 1e3, options = {}) {\n const {\n immediate = true,\n immediateCallback = false\n } = options;\n let timer = null;\n const isActive = ref(false);\n function clean() {\n if (timer) {\n clearInterval(timer);\n timer = null;\n }\n }\n function pause() {\n isActive.value = false;\n clean();\n }\n function resume() {\n if (unref(interval) <= 0)\n return;\n isActive.value = true;\n if (immediateCallback)\n cb();\n clean();\n timer = setInterval(cb, resolveUnref(interval));\n }\n if (immediate && isClient)\n resume();\n if (isRef(interval)) {\n const stopWatch = watch(interval, () => {\n if (isActive.value && isClient)\n resume();\n });\n tryOnScopeDispose(stopWatch);\n }\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nfunction useInterval(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n immediate = true,\n callback\n } = options;\n const counter = ref(0);\n const update = () => counter.value += 1;\n const controls = useIntervalFn(callback ? () => {\n update();\n callback(counter.value);\n } : update, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$6({\n counter\n }, controls);\n } else {\n return counter;\n }\n}\n\nfunction useLastChanged(source, options = {}) {\n var _a;\n const ms = ref((_a = options.initialValue) != null ? _a : null);\n watch(source, () => ms.value = timestamp(), options);\n return ms;\n}\n\nfunction useTimeoutFn(cb, interval, options = {}) {\n const {\n immediate = true\n } = options;\n const isPending = ref(false);\n let timer = null;\n function clear() {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n }\n function stop() {\n isPending.value = false;\n clear();\n }\n function start(...args) {\n clear();\n isPending.value = true;\n timer = setTimeout(() => {\n isPending.value = false;\n timer = null;\n cb(...args);\n }, resolveUnref(interval));\n }\n if (immediate) {\n isPending.value = true;\n if (isClient)\n start();\n }\n tryOnScopeDispose(stop);\n return {\n isPending,\n start,\n stop\n };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(b)) {\n if (__propIsEnum$7.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimeout(interval = 1e3, options = {}) {\n const {\n controls: exposeControls = false,\n callback\n } = options;\n const controls = useTimeoutFn(callback != null ? callback : noop, interval, options);\n const ready = computed(() => !controls.isPending.value);\n if (exposeControls) {\n return __spreadValues$5({\n ready\n }, controls);\n } else {\n return ready;\n }\n}\n\nfunction useToNumber(value, options = {}) {\n const {\n method = \"parseFloat\",\n radix,\n nanToZero\n } = options;\n return computed(() => {\n let resolved = resolveUnref(value);\n if (typeof resolved === \"string\")\n resolved = Number[method](resolved, radix);\n if (nanToZero && isNaN(resolved))\n resolved = 0;\n return resolved;\n });\n}\n\nfunction useToString(value) {\n return computed(() => `${resolveUnref(value)}`);\n}\n\nfunction useToggle(initialValue = false, options = {}) {\n const {\n truthyValue = true,\n falsyValue = false\n } = options;\n const valueIsRef = isRef(initialValue);\n const _value = ref(initialValue);\n function toggle(value) {\n if (arguments.length) {\n _value.value = value;\n return _value.value;\n } else {\n const truthy = resolveUnref(truthyValue);\n _value.value = _value.value === truthy ? resolveUnref(falsyValue) : truthy;\n return _value.value;\n }\n }\n if (valueIsRef)\n return toggle;\n else\n return [_value, toggle];\n}\n\nfunction watchArray(source, cb, options) {\n let oldList = (options == null ? void 0 : options.immediate) ? [] : [\n ...source instanceof Function ? source() : Array.isArray(source) ? source : unref(source)\n ];\n return watch(source, (newList, _, onCleanup) => {\n const oldListRemains = new Array(oldList.length);\n const added = [];\n for (const obj of newList) {\n let found = false;\n for (let i = 0; i < oldList.length; i++) {\n if (!oldListRemains[i] && obj === oldList[i]) {\n oldListRemains[i] = true;\n found = true;\n break;\n }\n }\n if (!found)\n added.push(obj);\n }\n const removed = oldList.filter((_2, i) => !oldListRemains[i]);\n cb(newList, oldList, added, removed, onCleanup);\n oldList = [...newList];\n }, options);\n}\n\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __objRest$5 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchWithFilter(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$5(_a, [\n \"eventFilter\"\n ]);\n return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);\n}\n\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __objRest$4 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchAtMost(source, cb, options) {\n const _a = options, {\n count\n } = _a, watchOptions = __objRest$4(_a, [\n \"count\"\n ]);\n const current = ref(0);\n const stop = watchWithFilter(source, (...args) => {\n current.value += 1;\n if (current.value >= resolveUnref(count))\n nextTick(() => stop());\n cb(...args);\n }, watchOptions);\n return { count: current, stop };\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nvar __objRest$3 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchDebounced(source, cb, options = {}) {\n const _a = options, {\n debounce = 0,\n maxWait = void 0\n } = _a, watchOptions = __objRest$3(_a, [\n \"debounce\",\n \"maxWait\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$4(__spreadValues$4({}, watchOptions), {\n eventFilter: debounceFilter(debounce, { maxWait })\n }));\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchIgnorable(source, cb, options = {}) {\n const _a = options, {\n eventFilter = bypassFilter\n } = _a, watchOptions = __objRest$2(_a, [\n \"eventFilter\"\n ]);\n const filteredCb = createFilterWrapper(eventFilter, cb);\n let ignoreUpdates;\n let ignorePrevAsyncUpdates;\n let stop;\n if (watchOptions.flush === \"sync\") {\n const ignore = ref(false);\n ignorePrevAsyncUpdates = () => {\n };\n ignoreUpdates = (updater) => {\n ignore.value = true;\n updater();\n ignore.value = false;\n };\n stop = watch(source, (...args) => {\n if (!ignore.value)\n filteredCb(...args);\n }, watchOptions);\n } else {\n const disposables = [];\n const ignoreCounter = ref(0);\n const syncCounter = ref(0);\n ignorePrevAsyncUpdates = () => {\n ignoreCounter.value = syncCounter.value;\n };\n disposables.push(watch(source, () => {\n syncCounter.value++;\n }, __spreadProps$3(__spreadValues$3({}, watchOptions), { flush: \"sync\" })));\n ignoreUpdates = (updater) => {\n const syncCounterPrev = syncCounter.value;\n updater();\n ignoreCounter.value += syncCounter.value - syncCounterPrev;\n };\n disposables.push(watch(source, (...args) => {\n const ignore = ignoreCounter.value > 0 && ignoreCounter.value === syncCounter.value;\n ignoreCounter.value = 0;\n syncCounter.value = 0;\n if (ignore)\n return;\n filteredCb(...args);\n }, watchOptions));\n stop = () => {\n disposables.forEach((fn) => fn());\n };\n }\n return { stop, ignoreUpdates, ignorePrevAsyncUpdates };\n}\n\nfunction watchOnce(source, cb, options) {\n const stop = watch(source, (...args) => {\n nextTick(() => stop());\n return cb(...args);\n }, options);\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchPausable(source, cb, options = {}) {\n const _a = options, {\n eventFilter: filter\n } = _a, watchOptions = __objRest$1(_a, [\n \"eventFilter\"\n ]);\n const { eventFilter, pause, resume, isActive } = pausableFilter(filter);\n const stop = watchWithFilter(source, cb, __spreadProps$2(__spreadValues$2({}, watchOptions), {\n eventFilter\n }));\n return { stop, pause, resume, isActive };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction watchThrottled(source, cb, options = {}) {\n const _a = options, {\n throttle = 0,\n trailing = true,\n leading = true\n } = _a, watchOptions = __objRest(_a, [\n \"throttle\",\n \"trailing\",\n \"leading\"\n ]);\n return watchWithFilter(source, cb, __spreadProps$1(__spreadValues$1({}, watchOptions), {\n eventFilter: throttleFilter(throttle, trailing, leading)\n }));\n}\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction watchTriggerable(source, cb, options = {}) {\n let cleanupFn;\n function onEffect() {\n if (!cleanupFn)\n return;\n const fn = cleanupFn;\n cleanupFn = void 0;\n fn();\n }\n function onCleanup(callback) {\n cleanupFn = callback;\n }\n const _cb = (value, oldValue) => {\n onEffect();\n return cb(value, oldValue, onCleanup);\n };\n const res = watchIgnorable(source, _cb, options);\n const { ignoreUpdates } = res;\n const trigger = () => {\n let res2;\n ignoreUpdates(() => {\n res2 = _cb(getWatchSources(source), getOldValue(source));\n });\n return res2;\n };\n return __spreadProps(__spreadValues({}, res), {\n trigger\n });\n}\nfunction getWatchSources(sources) {\n if (isReactive(sources))\n return sources;\n if (Array.isArray(sources))\n return sources.map((item) => getOneWatchSource(item));\n return getOneWatchSource(sources);\n}\nfunction getOneWatchSource(source) {\n return typeof source === \"function\" ? source() : unref(source);\n}\nfunction getOldValue(source) {\n return Array.isArray(source) ? source.map(() => void 0) : void 0;\n}\n\nfunction whenever(source, cb, options) {\n return watch(source, (v, ov, onInvalidate) => {\n if (v)\n cb(v, ov, onInvalidate);\n }, options);\n}\n\nexport { __onlyVue3, assert, refAutoReset as autoResetRef, bypassFilter, clamp, computedEager, computedWithControl, containsProp, computedWithControl as controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, reactify as createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, refDebounced as debouncedRef, watchDebounced as debouncedWatch, directiveHooks, computedEager as eagerComputed, extendRef, formatDate, get, hasOwn, identity, watchIgnorable as ignorableWatch, increaseWithUnit, invoke, isBoolean, isClient, isDef, isDefined, isFunction, isIOS, isNumber, isObject, isString, isWindow, makeDestructurable, noop, normalizeDate, now, objectPick, pausableFilter, watchPausable as pausableWatch, promiseTimeout, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, refThrottled as throttledRef, watchThrottled as throttledWatch, timestamp, toReactive, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, until, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useCounter, useDateFormat, refDebounced as useDebounce, useDebounceFn, useInterval, useIntervalFn, useLastChanged, refThrottled as useThrottle, useThrottleFn, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchIgnorable, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever };\n","import { noop, resolveUnref, isClient, isString, tryOnScopeDispose, tryOnMounted, computedWithControl, promiseTimeout, isFunction, resolveRef, increaseWithUnit, useTimeoutFn, pausableWatch, createEventHook, timestamp, pausableFilter, watchIgnorable, debounceFilter, createFilterWrapper, bypassFilter, createSingletonPromise, toRefs, containsProp, until, hasOwn, isDef, throttleFilter, useDebounceFn, useThrottleFn, isObject, isNumber, useIntervalFn, clamp, syncRef, objectPick, tryOnUnmounted, isIOS, watchWithFilter, identity } from '@vueuse/shared';\nexport * from '@vueuse/shared';\nimport { isRef, ref, watchEffect, computed, inject, unref, watch, getCurrentInstance, customRef, onUpdated, reactive, shallowRef, onMounted, markRaw, getCurrentScope, readonly, nextTick, isVue2, set, del, onBeforeUpdate } from 'vue-demi';\n\nfunction computedAsync(evaluationCallback, initialState, optionsOrRef) {\n let options;\n if (isRef(optionsOrRef)) {\n options = {\n evaluating: optionsOrRef\n };\n } else {\n options = optionsOrRef || {};\n }\n const {\n lazy = false,\n evaluating = void 0,\n onError = noop\n } = options;\n const started = ref(!lazy);\n const current = ref(initialState);\n let counter = 0;\n watchEffect(async (onInvalidate) => {\n if (!started.value)\n return;\n counter++;\n const counterAtBeginning = counter;\n let hasFinished = false;\n if (evaluating) {\n Promise.resolve().then(() => {\n evaluating.value = true;\n });\n }\n try {\n const result = await evaluationCallback((cancelCallback) => {\n onInvalidate(() => {\n if (evaluating)\n evaluating.value = false;\n if (!hasFinished)\n cancelCallback();\n });\n });\n if (counterAtBeginning === counter)\n current.value = result;\n } catch (e) {\n onError(e);\n } finally {\n if (evaluating && counterAtBeginning === counter)\n evaluating.value = false;\n hasFinished = true;\n }\n });\n if (lazy) {\n return computed(() => {\n started.value = true;\n return current.value;\n });\n } else {\n return current;\n }\n}\n\nfunction computedInject(key, options, defaultSource, treatDefaultAsFactory) {\n let source = inject(key);\n if (defaultSource)\n source = inject(key, defaultSource);\n if (treatDefaultAsFactory)\n source = inject(key, defaultSource, treatDefaultAsFactory);\n if (typeof options === \"function\") {\n return computed((ctx) => options(source, ctx));\n } else {\n return computed({\n get: (ctx) => options.get(source, ctx),\n set: options.set\n });\n }\n}\n\nconst createUnrefFn = (fn) => {\n return function(...args) {\n return fn.apply(this, args.map((i) => unref(i)));\n };\n};\n\nfunction unrefElement(elRef) {\n var _a;\n const plain = resolveUnref(elRef);\n return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;\n}\n\nconst defaultWindow = isClient ? window : void 0;\nconst defaultDocument = isClient ? window.document : void 0;\nconst defaultNavigator = isClient ? window.navigator : void 0;\nconst defaultLocation = isClient ? window.location : void 0;\n\nfunction useEventListener(...args) {\n let target;\n let event;\n let listener;\n let options;\n if (isString(args[0])) {\n [event, listener, options] = args;\n target = defaultWindow;\n } else {\n [target, event, listener, options] = args;\n }\n if (!target)\n return noop;\n let cleanup = noop;\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (!el)\n return;\n el.addEventListener(event, listener, options);\n cleanup = () => {\n el.removeEventListener(event, listener, options);\n cleanup = noop;\n };\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n stopWatch();\n cleanup();\n };\n tryOnScopeDispose(stop);\n return stop;\n}\n\nfunction onClickOutside(target, handler, options = {}) {\n const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;\n if (!window)\n return;\n const shouldListen = ref(true);\n let fallback;\n const listener = (event) => {\n window.clearTimeout(fallback);\n const el = unrefElement(target);\n if (!el || el === event.target || event.composedPath().includes(el) || !shouldListen.value)\n return;\n handler(event);\n };\n const shouldIgnore = (event) => {\n return ignore && ignore.some((target2) => {\n const el = unrefElement(target2);\n return el && (event.target === el || event.composedPath().includes(el));\n });\n };\n const cleanup = [\n useEventListener(window, \"click\", listener, { passive: true, capture }),\n useEventListener(window, \"pointerdown\", (e) => {\n const el = unrefElement(target);\n shouldListen.value = !!el && !e.composedPath().includes(el) && !shouldIgnore(e);\n }, { passive: true }),\n useEventListener(window, \"pointerup\", (e) => {\n if (e.button === 0) {\n const path = e.composedPath();\n e.composedPath = () => path;\n fallback = window.setTimeout(() => listener(e), 50);\n }\n }, { passive: true }),\n detectIframe && useEventListener(window, \"blur\", (event) => {\n var _a;\n const el = unrefElement(target);\n if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === \"IFRAME\" && !(el == null ? void 0 : el.contains(document.activeElement)))\n handler(event);\n })\n ].filter(Boolean);\n const stop = () => cleanup.forEach((fn) => fn());\n return stop;\n}\n\nvar __defProp$m = Object.defineProperty;\nvar __defProps$9 = Object.defineProperties;\nvar __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$o = Object.getOwnPropertySymbols;\nvar __hasOwnProp$o = Object.prototype.hasOwnProperty;\nvar __propIsEnum$o = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$m = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$o.call(b, prop))\n __defNormalProp$m(a, prop, b[prop]);\n if (__getOwnPropSymbols$o)\n for (var prop of __getOwnPropSymbols$o(b)) {\n if (__propIsEnum$o.call(b, prop))\n __defNormalProp$m(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));\nconst createKeyPredicate = (keyFilter) => {\n if (typeof keyFilter === \"function\")\n return keyFilter;\n else if (typeof keyFilter === \"string\")\n return (event) => event.key === keyFilter;\n else if (Array.isArray(keyFilter))\n return (event) => keyFilter.includes(event.key);\n return () => true;\n};\nfunction onKeyStroke(...args) {\n let key;\n let handler;\n let options = {};\n if (args.length === 3) {\n key = args[0];\n handler = args[1];\n options = args[2];\n } else if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n key = true;\n handler = args[0];\n options = args[1];\n } else {\n key = args[0];\n handler = args[1];\n }\n } else {\n key = true;\n handler = args[0];\n }\n const { target = defaultWindow, eventName = \"keydown\", passive = false } = options;\n const predicate = createKeyPredicate(key);\n const listener = (e) => {\n if (predicate(e))\n handler(e);\n };\n return useEventListener(target, eventName, listener, passive);\n}\nfunction onKeyDown(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$m({}, options), { eventName: \"keydown\" }));\n}\nfunction onKeyPressed(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$m({}, options), { eventName: \"keypress\" }));\n}\nfunction onKeyUp(key, handler, options = {}) {\n return onKeyStroke(key, handler, __spreadProps$9(__spreadValues$m({}, options), { eventName: \"keyup\" }));\n}\n\nconst DEFAULT_DELAY = 500;\nfunction onLongPress(target, handler, options) {\n var _a, _b;\n const elementRef = computed(() => unrefElement(target));\n let timeout;\n function clear() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = void 0;\n }\n }\n function onDown(ev) {\n var _a2, _b2, _c, _d;\n if (((_a2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _a2.self) && ev.target !== elementRef.value)\n return;\n clear();\n if ((_b2 = options == null ? void 0 : options.modifiers) == null ? void 0 : _b2.prevent)\n ev.preventDefault();\n if ((_c = options == null ? void 0 : options.modifiers) == null ? void 0 : _c.stop)\n ev.stopPropagation();\n timeout = setTimeout(() => handler(ev), (_d = options == null ? void 0 : options.delay) != null ? _d : DEFAULT_DELAY);\n }\n const listenerOptions = {\n capture: (_a = options == null ? void 0 : options.modifiers) == null ? void 0 : _a.capture,\n once: (_b = options == null ? void 0 : options.modifiers) == null ? void 0 : _b.once\n };\n useEventListener(elementRef, \"pointerdown\", onDown, listenerOptions);\n useEventListener(elementRef, \"pointerup\", clear, listenerOptions);\n useEventListener(elementRef, \"pointerleave\", clear, listenerOptions);\n}\n\nconst isFocusedElementEditable = () => {\n const { activeElement, body } = document;\n if (!activeElement)\n return false;\n if (activeElement === body)\n return false;\n switch (activeElement.tagName) {\n case \"INPUT\":\n case \"TEXTAREA\":\n return true;\n }\n return activeElement.hasAttribute(\"contenteditable\");\n};\nconst isTypedCharValid = ({\n keyCode,\n metaKey,\n ctrlKey,\n altKey\n}) => {\n if (metaKey || ctrlKey || altKey)\n return false;\n if (keyCode >= 48 && keyCode <= 57 || keyCode >= 96 && keyCode <= 105)\n return true;\n if (keyCode >= 65 && keyCode <= 90)\n return true;\n return false;\n};\nfunction onStartTyping(callback, options = {}) {\n const { document: document2 = defaultDocument } = options;\n const keydown = (event) => {\n !isFocusedElementEditable() && isTypedCharValid(event) && callback(event);\n };\n if (document2)\n useEventListener(document2, \"keydown\", keydown, { passive: true });\n}\n\nfunction templateRef(key, initialValue = null) {\n const instance = getCurrentInstance();\n let _trigger = () => {\n };\n const element = customRef((track, trigger) => {\n _trigger = trigger;\n return {\n get() {\n var _a, _b;\n track();\n return (_b = (_a = instance == null ? void 0 : instance.proxy) == null ? void 0 : _a.$refs[key]) != null ? _b : initialValue;\n },\n set() {\n }\n };\n });\n tryOnMounted(_trigger);\n onUpdated(_trigger);\n return element;\n}\n\nfunction useActiveElement(options = {}) {\n const { window = defaultWindow } = options;\n const activeElement = computedWithControl(() => null, () => window == null ? void 0 : window.document.activeElement);\n if (window) {\n useEventListener(window, \"blur\", activeElement.trigger, true);\n useEventListener(window, \"focus\", activeElement.trigger, true);\n }\n return activeElement;\n}\n\nfunction useAsyncQueue(tasks, options = {}) {\n const {\n interrupt = true,\n onError = noop,\n onFinished = noop\n } = options;\n const promiseState = {\n pending: \"pending\",\n rejected: \"rejected\",\n fulfilled: \"fulfilled\"\n };\n const initialResult = Array.from(new Array(tasks.length), () => ({ state: promiseState.pending, data: null }));\n const result = reactive(initialResult);\n const activeIndex = ref(-1);\n if (!tasks || tasks.length === 0) {\n onFinished();\n return {\n activeIndex,\n result\n };\n }\n function updateResult(state, res) {\n activeIndex.value++;\n result[activeIndex.value].data = res;\n result[activeIndex.value].state = state;\n }\n tasks.reduce((prev, curr) => {\n return prev.then((prevRes) => {\n var _a;\n if (((_a = result[activeIndex.value]) == null ? void 0 : _a.state) === promiseState.rejected && interrupt) {\n onFinished();\n return;\n }\n return curr(prevRes).then((currentRes) => {\n updateResult(promiseState.fulfilled, currentRes);\n activeIndex.value === tasks.length - 1 && onFinished();\n return currentRes;\n });\n }).catch((e) => {\n updateResult(promiseState.rejected, e);\n onError();\n return e;\n });\n }, Promise.resolve());\n return {\n activeIndex,\n result\n };\n}\n\nfunction useAsyncState(promise, initialState, options) {\n const {\n immediate = true,\n delay = 0,\n onError = noop,\n resetOnExecute = true,\n shallow = true,\n throwError\n } = options != null ? options : {};\n const state = shallow ? shallowRef(initialState) : ref(initialState);\n const isReady = ref(false);\n const isLoading = ref(false);\n const error = ref(void 0);\n async function execute(delay2 = 0, ...args) {\n if (resetOnExecute)\n state.value = initialState;\n error.value = void 0;\n isReady.value = false;\n isLoading.value = true;\n if (delay2 > 0)\n await promiseTimeout(delay2);\n const _promise = typeof promise === \"function\" ? promise(...args) : promise;\n try {\n const data = await _promise;\n state.value = data;\n isReady.value = true;\n } catch (e) {\n error.value = e;\n onError(e);\n if (throwError)\n throw error;\n } finally {\n isLoading.value = false;\n }\n return state.value;\n }\n if (immediate)\n execute(delay);\n return {\n state,\n isReady,\n isLoading,\n error,\n execute\n };\n}\n\nconst defaults = {\n array: (v) => JSON.stringify(v),\n object: (v) => JSON.stringify(v),\n set: (v) => JSON.stringify(Array.from(v)),\n map: (v) => JSON.stringify(Object.fromEntries(v)),\n null: () => \"\"\n};\nfunction getDefaultSerialization(target) {\n if (!target)\n return defaults.null;\n if (target instanceof Map)\n return defaults.map;\n else if (target instanceof Set)\n return defaults.set;\n else if (Array.isArray(target))\n return defaults.array;\n else\n return defaults.object;\n}\n\nfunction useBase64(target, options) {\n const base64 = ref(\"\");\n const promise = ref();\n function execute() {\n if (!isClient)\n return;\n promise.value = new Promise((resolve, reject) => {\n try {\n const _target = resolveUnref(target);\n if (_target == null) {\n resolve(\"\");\n } else if (typeof _target === \"string\") {\n resolve(blobToBase64(new Blob([_target], { type: \"text/plain\" })));\n } else if (_target instanceof Blob) {\n resolve(blobToBase64(_target));\n } else if (_target instanceof ArrayBuffer) {\n resolve(window.btoa(String.fromCharCode(...new Uint8Array(_target))));\n } else if (_target instanceof HTMLCanvasElement) {\n resolve(_target.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n } else if (_target instanceof HTMLImageElement) {\n const img = _target.cloneNode(false);\n img.crossOrigin = \"Anonymous\";\n imgLoaded(img).then(() => {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n canvas.width = img.width;\n canvas.height = img.height;\n ctx.drawImage(img, 0, 0, canvas.width, canvas.height);\n resolve(canvas.toDataURL(options == null ? void 0 : options.type, options == null ? void 0 : options.quality));\n }).catch(reject);\n } else if (typeof _target === \"object\") {\n const _serializeFn = (options == null ? void 0 : options.serializer) || getDefaultSerialization(_target);\n const serialized = _serializeFn(_target);\n return resolve(blobToBase64(new Blob([serialized], { type: \"application/json\" })));\n } else {\n reject(new Error(\"target is unsupported types\"));\n }\n } catch (error) {\n reject(error);\n }\n });\n promise.value.then((res) => base64.value = res);\n return promise.value;\n }\n if (isRef(target) || isFunction(target))\n watch(target, execute, { immediate: true });\n else\n execute();\n return {\n base64,\n promise,\n execute\n };\n}\nfunction imgLoaded(img) {\n return new Promise((resolve, reject) => {\n if (!img.complete) {\n img.onload = () => {\n resolve();\n };\n img.onerror = reject;\n } else {\n resolve();\n }\n });\n}\nfunction blobToBase64(blob) {\n return new Promise((resolve, reject) => {\n const fr = new FileReader();\n fr.onload = (e) => {\n resolve(e.target.result);\n };\n fr.onerror = reject;\n fr.readAsDataURL(blob);\n });\n}\n\nfunction useSupported(callback, sync = false) {\n const isSupported = ref();\n const update = () => isSupported.value = Boolean(callback());\n update();\n tryOnMounted(update, sync);\n return isSupported;\n}\n\nfunction useBattery({ navigator = defaultNavigator } = {}) {\n const events = [\"chargingchange\", \"chargingtimechange\", \"dischargingtimechange\", \"levelchange\"];\n const isSupported = useSupported(() => navigator && \"getBattery\" in navigator);\n const charging = ref(false);\n const chargingTime = ref(0);\n const dischargingTime = ref(0);\n const level = ref(1);\n let battery;\n function updateBatteryInfo() {\n charging.value = this.charging;\n chargingTime.value = this.chargingTime || 0;\n dischargingTime.value = this.dischargingTime || 0;\n level.value = this.level;\n }\n if (isSupported.value) {\n navigator.getBattery().then((_battery) => {\n battery = _battery;\n updateBatteryInfo.call(battery);\n for (const event of events)\n useEventListener(battery, event, updateBatteryInfo, { passive: true });\n });\n }\n return {\n isSupported,\n charging,\n chargingTime,\n dischargingTime,\n level\n };\n}\n\nfunction useBluetooth(options) {\n let {\n acceptAllDevices = false\n } = options || {};\n const {\n filters = void 0,\n optionalServices = void 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => navigator && \"bluetooth\" in navigator);\n const device = shallowRef(void 0);\n const error = shallowRef(null);\n watch(device, () => {\n connectToBluetoothGATTServer();\n });\n async function requestDevice() {\n if (!isSupported.value)\n return;\n error.value = null;\n if (filters && filters.length > 0)\n acceptAllDevices = false;\n try {\n device.value = await (navigator == null ? void 0 : navigator.bluetooth.requestDevice({\n acceptAllDevices,\n filters,\n optionalServices\n }));\n } catch (err) {\n error.value = err;\n }\n }\n const server = ref();\n const isConnected = computed(() => {\n var _a;\n return ((_a = server.value) == null ? void 0 : _a.connected) || false;\n });\n async function connectToBluetoothGATTServer() {\n error.value = null;\n if (device.value && device.value.gatt) {\n device.value.addEventListener(\"gattserverdisconnected\", () => {\n });\n try {\n server.value = await device.value.gatt.connect();\n } catch (err) {\n error.value = err;\n }\n }\n }\n tryOnMounted(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.connect();\n });\n tryOnScopeDispose(() => {\n var _a;\n if (device.value)\n (_a = device.value.gatt) == null ? void 0 : _a.disconnect();\n });\n return {\n isSupported,\n isConnected,\n device,\n requestDevice,\n server,\n error\n };\n}\n\nfunction useMediaQuery(query, options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"matchMedia\" in window && typeof window.matchMedia === \"function\");\n let mediaQuery;\n const matches = ref(false);\n const cleanup = () => {\n if (!mediaQuery)\n return;\n if (\"removeEventListener\" in mediaQuery)\n mediaQuery.removeEventListener(\"change\", update);\n else\n mediaQuery.removeListener(update);\n };\n const update = () => {\n if (!isSupported.value)\n return;\n cleanup();\n mediaQuery = window.matchMedia(resolveRef(query).value);\n matches.value = mediaQuery.matches;\n if (\"addEventListener\" in mediaQuery)\n mediaQuery.addEventListener(\"change\", update);\n else\n mediaQuery.addListener(update);\n };\n watchEffect(update);\n tryOnScopeDispose(() => cleanup());\n return matches;\n}\n\nconst breakpointsTailwind = {\n \"sm\": 640,\n \"md\": 768,\n \"lg\": 1024,\n \"xl\": 1280,\n \"2xl\": 1536\n};\nconst breakpointsBootstrapV5 = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1400\n};\nconst breakpointsVuetify = {\n xs: 600,\n sm: 960,\n md: 1264,\n lg: 1904\n};\nconst breakpointsAntDesign = {\n xs: 480,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1600\n};\nconst breakpointsQuasar = {\n xs: 600,\n sm: 1024,\n md: 1440,\n lg: 1920\n};\nconst breakpointsSematic = {\n mobileS: 320,\n mobileM: 375,\n mobileL: 425,\n tablet: 768,\n laptop: 1024,\n laptopL: 1440,\n desktop4K: 2560\n};\n\nvar __defProp$l = Object.defineProperty;\nvar __getOwnPropSymbols$n = Object.getOwnPropertySymbols;\nvar __hasOwnProp$n = Object.prototype.hasOwnProperty;\nvar __propIsEnum$n = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$l = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$n.call(b, prop))\n __defNormalProp$l(a, prop, b[prop]);\n if (__getOwnPropSymbols$n)\n for (var prop of __getOwnPropSymbols$n(b)) {\n if (__propIsEnum$n.call(b, prop))\n __defNormalProp$l(a, prop, b[prop]);\n }\n return a;\n};\nfunction useBreakpoints(breakpoints, options = {}) {\n function getValue(k, delta) {\n let v = breakpoints[k];\n if (delta != null)\n v = increaseWithUnit(v, delta);\n if (typeof v === \"number\")\n v = `${v}px`;\n return v;\n }\n const { window = defaultWindow } = options;\n function match(query) {\n if (!window)\n return false;\n return window.matchMedia(query).matches;\n }\n const greaterOrEqual = (k) => {\n return useMediaQuery(`(min-width: ${getValue(k)})`, options);\n };\n const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {\n Object.defineProperty(shortcuts, k, {\n get: () => greaterOrEqual(k),\n enumerable: true,\n configurable: true\n });\n return shortcuts;\n }, {});\n return __spreadValues$l({\n greater(k) {\n return useMediaQuery(`(min-width: ${getValue(k, 0.1)})`, options);\n },\n greaterOrEqual,\n smaller(k) {\n return useMediaQuery(`(max-width: ${getValue(k, -0.1)})`, options);\n },\n smallerOrEqual(k) {\n return useMediaQuery(`(max-width: ${getValue(k)})`, options);\n },\n between(a, b) {\n return useMediaQuery(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);\n },\n isGreater(k) {\n return match(`(min-width: ${getValue(k, 0.1)})`);\n },\n isGreaterOrEqual(k) {\n return match(`(min-width: ${getValue(k)})`);\n },\n isSmaller(k) {\n return match(`(max-width: ${getValue(k, -0.1)})`);\n },\n isSmallerOrEqual(k) {\n return match(`(max-width: ${getValue(k)})`);\n },\n isInBetween(a, b) {\n return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);\n }\n }, shortcutMethods);\n}\n\nconst useBroadcastChannel = (options) => {\n const {\n name,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"BroadcastChannel\" in window);\n const isClosed = ref(false);\n const channel = ref();\n const data = ref();\n const error = ref(null);\n const post = (data2) => {\n if (channel.value)\n channel.value.postMessage(data2);\n };\n const close = () => {\n if (channel.value)\n channel.value.close();\n isClosed.value = true;\n };\n if (isSupported.value) {\n tryOnMounted(() => {\n error.value = null;\n channel.value = new BroadcastChannel(name);\n channel.value.addEventListener(\"message\", (e) => {\n data.value = e.data;\n }, { passive: true });\n channel.value.addEventListener(\"messageerror\", (e) => {\n error.value = e;\n }, { passive: true });\n channel.value.addEventListener(\"close\", () => {\n isClosed.value = true;\n });\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n isSupported,\n channel,\n data,\n post,\n close,\n error,\n isClosed\n };\n};\n\nfunction useBrowserLocation({ window = defaultWindow } = {}) {\n const buildState = (trigger) => {\n const { state: state2, length } = (window == null ? void 0 : window.history) || {};\n const { hash, host, hostname, href, origin, pathname, port, protocol, search } = (window == null ? void 0 : window.location) || {};\n return {\n trigger,\n state: state2,\n length,\n hash,\n host,\n hostname,\n href,\n origin,\n pathname,\n port,\n protocol,\n search\n };\n };\n const state = ref(buildState(\"load\"));\n if (window) {\n useEventListener(window, \"popstate\", () => state.value = buildState(\"popstate\"), { passive: true });\n useEventListener(window, \"hashchange\", () => state.value = buildState(\"hashchange\"), { passive: true });\n }\n return state;\n}\n\nfunction useCached(refValue, comparator = (a, b) => a === b, watchOptions) {\n const cachedValue = ref(refValue.value);\n watch(() => refValue.value, (value) => {\n if (!comparator(value, cachedValue.value))\n cachedValue.value = value;\n }, watchOptions);\n return cachedValue;\n}\n\nfunction useClipboard(options = {}) {\n const {\n navigator = defaultNavigator,\n read = false,\n source,\n copiedDuring = 1500\n } = options;\n const events = [\"copy\", \"cut\"];\n const isSupported = useSupported(() => navigator && \"clipboard\" in navigator);\n const text = ref(\"\");\n const copied = ref(false);\n const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);\n function updateText() {\n navigator.clipboard.readText().then((value) => {\n text.value = value;\n });\n }\n if (isSupported.value && read) {\n for (const event of events)\n useEventListener(event, updateText);\n }\n async function copy(value = resolveUnref(source)) {\n if (isSupported.value && value != null) {\n await navigator.clipboard.writeText(value);\n text.value = value;\n copied.value = true;\n timeout.start();\n }\n }\n return {\n isSupported,\n text,\n copied,\n copy\n };\n}\n\nvar __defProp$k = Object.defineProperty;\nvar __defProps$8 = Object.defineProperties;\nvar __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$m = Object.getOwnPropertySymbols;\nvar __hasOwnProp$m = Object.prototype.hasOwnProperty;\nvar __propIsEnum$m = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$k = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$m.call(b, prop))\n __defNormalProp$k(a, prop, b[prop]);\n if (__getOwnPropSymbols$m)\n for (var prop of __getOwnPropSymbols$m(b)) {\n if (__propIsEnum$m.call(b, prop))\n __defNormalProp$k(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));\nfunction cloneFnJSON(source) {\n return JSON.parse(JSON.stringify(source));\n}\nfunction useCloned(source, options = {}) {\n const cloned = ref({});\n const {\n manual,\n clone = cloneFnJSON,\n deep = true,\n immediate = true\n } = options;\n function sync() {\n cloned.value = clone(unref(source));\n }\n if (!manual && isRef(source)) {\n watch(source, sync, __spreadProps$8(__spreadValues$k({}, options), {\n deep,\n immediate\n }));\n } else {\n sync();\n }\n return { cloned, sync };\n}\n\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : {};\nconst globalKey = \"__vueuse_ssr_handlers__\";\n_global[globalKey] = _global[globalKey] || {};\nconst handlers = _global[globalKey];\nfunction getSSRHandler(key, fallback) {\n return handlers[key] || fallback;\n}\nfunction setSSRHandler(key, fn) {\n handlers[key] = fn;\n}\n\nfunction guessSerializerType(rawInit) {\n return rawInit == null ? \"any\" : rawInit instanceof Set ? \"set\" : rawInit instanceof Map ? \"map\" : rawInit instanceof Date ? \"date\" : typeof rawInit === \"boolean\" ? \"boolean\" : typeof rawInit === \"string\" ? \"string\" : typeof rawInit === \"object\" ? \"object\" : Array.isArray(rawInit) ? \"object\" : !Number.isNaN(rawInit) ? \"number\" : \"any\";\n}\n\nvar __defProp$j = Object.defineProperty;\nvar __getOwnPropSymbols$l = Object.getOwnPropertySymbols;\nvar __hasOwnProp$l = Object.prototype.hasOwnProperty;\nvar __propIsEnum$l = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$j = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n if (__getOwnPropSymbols$l)\n for (var prop of __getOwnPropSymbols$l(b)) {\n if (__propIsEnum$l.call(b, prop))\n __defNormalProp$j(a, prop, b[prop]);\n }\n return a;\n};\nconst StorageSerializers = {\n boolean: {\n read: (v) => v === \"true\",\n write: (v) => String(v)\n },\n object: {\n read: (v) => JSON.parse(v),\n write: (v) => JSON.stringify(v)\n },\n number: {\n read: (v) => Number.parseFloat(v),\n write: (v) => String(v)\n },\n any: {\n read: (v) => v,\n write: (v) => String(v)\n },\n string: {\n read: (v) => v,\n write: (v) => String(v)\n },\n map: {\n read: (v) => new Map(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v.entries()))\n },\n set: {\n read: (v) => new Set(JSON.parse(v)),\n write: (v) => JSON.stringify(Array.from(v))\n },\n date: {\n read: (v) => new Date(v),\n write: (v) => v.toISOString()\n }\n};\nfunction useStorage(key, defaults, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n mergeDefaults = false,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const data = (shallow ? shallowRef : ref)(defaults);\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n if (!storage)\n return data;\n const rawInit = resolveUnref(defaults);\n const type = guessSerializerType(rawInit);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n const { pause: pauseWatch, resume: resumeWatch } = pausableWatch(data, () => write(data.value), { flush, deep, eventFilter });\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", update);\n update();\n return data;\n function write(v) {\n try {\n if (v == null)\n storage.removeItem(key);\n else\n storage.setItem(key, serializer.write(v));\n } catch (e) {\n onError(e);\n }\n }\n function read(event) {\n pauseWatch();\n try {\n const rawValue = event ? event.newValue : storage.getItem(key);\n if (rawValue == null) {\n if (writeDefaults && rawInit !== null)\n storage.setItem(key, serializer.write(rawInit));\n return rawInit;\n } else if (!event && mergeDefaults) {\n const value = serializer.read(rawValue);\n if (isFunction(mergeDefaults))\n return mergeDefaults(value, rawInit);\n else if (type === \"object\" && !Array.isArray(value))\n return __spreadValues$j(__spreadValues$j({}, rawInit), value);\n return value;\n } else if (typeof rawValue !== \"string\") {\n return rawValue;\n } else {\n return serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n } finally {\n resumeWatch();\n }\n }\n function update(event) {\n if (event && event.storageArea !== storage)\n return;\n if (event && event.key === null) {\n data.value = rawInit;\n return;\n }\n if (event && event.key !== key)\n return;\n data.value = read(event);\n }\n}\n\nfunction usePreferredDark(options) {\n return useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n}\n\nvar __defProp$i = Object.defineProperty;\nvar __getOwnPropSymbols$k = Object.getOwnPropertySymbols;\nvar __hasOwnProp$k = Object.prototype.hasOwnProperty;\nvar __propIsEnum$k = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$i = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n if (__getOwnPropSymbols$k)\n for (var prop of __getOwnPropSymbols$k(b)) {\n if (__propIsEnum$k.call(b, prop))\n __defNormalProp$i(a, prop, b[prop]);\n }\n return a;\n};\nfunction useColorMode(options = {}) {\n const {\n selector = \"html\",\n attribute = \"class\",\n initialValue = \"auto\",\n window = defaultWindow,\n storage,\n storageKey = \"vueuse-color-scheme\",\n listenToStorageChanges = true,\n storageRef,\n emitAuto\n } = options;\n const modes = __spreadValues$i({\n auto: \"\",\n light: \"light\",\n dark: \"dark\"\n }, options.modes || {});\n const preferredDark = usePreferredDark({ window });\n const preferredMode = computed(() => preferredDark.value ? \"dark\" : \"light\");\n const store = storageRef || (storageKey == null ? ref(initialValue) : useStorage(storageKey, initialValue, storage, { window, listenToStorageChanges }));\n const state = computed({\n get() {\n return store.value === \"auto\" && !emitAuto ? preferredMode.value : store.value;\n },\n set(v) {\n store.value = v;\n }\n });\n const updateHTMLAttrs = getSSRHandler(\"updateHTMLAttrs\", (selector2, attribute2, value) => {\n const el = window == null ? void 0 : window.document.querySelector(selector2);\n if (!el)\n return;\n if (attribute2 === \"class\") {\n const current = value.split(/\\s/g);\n Object.values(modes).flatMap((i) => (i || \"\").split(/\\s/g)).filter(Boolean).forEach((v) => {\n if (current.includes(v))\n el.classList.add(v);\n else\n el.classList.remove(v);\n });\n } else {\n el.setAttribute(attribute2, value);\n }\n });\n function defaultOnChanged(mode) {\n var _a;\n const resolvedMode = mode === \"auto\" ? preferredMode.value : mode;\n updateHTMLAttrs(selector, attribute, (_a = modes[resolvedMode]) != null ? _a : resolvedMode);\n }\n function onChanged(mode) {\n if (options.onChanged)\n options.onChanged(mode, defaultOnChanged);\n else\n defaultOnChanged(mode);\n }\n watch(state, onChanged, { flush: \"post\", immediate: true });\n if (emitAuto)\n watch(preferredMode, () => onChanged(state.value), { flush: \"post\" });\n tryOnMounted(() => onChanged(state.value));\n return state;\n}\n\nfunction useConfirmDialog(revealed = ref(false)) {\n const confirmHook = createEventHook();\n const cancelHook = createEventHook();\n const revealHook = createEventHook();\n let _resolve = noop;\n const reveal = (data) => {\n revealHook.trigger(data);\n revealed.value = true;\n return new Promise((resolve) => {\n _resolve = resolve;\n });\n };\n const confirm = (data) => {\n revealed.value = false;\n confirmHook.trigger(data);\n _resolve({ data, isCanceled: false });\n };\n const cancel = (data) => {\n revealed.value = false;\n cancelHook.trigger(data);\n _resolve({ data, isCanceled: true });\n };\n return {\n isRevealed: computed(() => revealed.value),\n reveal,\n confirm,\n cancel,\n onReveal: revealHook.on,\n onConfirm: confirmHook.on,\n onCancel: cancelHook.on\n };\n}\n\nfunction useCssVar(prop, target, { window = defaultWindow, initialValue = \"\" } = {}) {\n const variable = ref(initialValue);\n const elRef = computed(() => {\n var _a;\n return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);\n });\n watch([elRef, () => resolveUnref(prop)], ([el, prop2]) => {\n var _a;\n if (el && window) {\n const value = (_a = window.getComputedStyle(el).getPropertyValue(prop2)) == null ? void 0 : _a.trim();\n variable.value = value || initialValue;\n }\n }, { immediate: true });\n watch(variable, (val) => {\n var _a;\n if ((_a = elRef.value) == null ? void 0 : _a.style)\n elRef.value.style.setProperty(resolveUnref(prop), val);\n });\n return variable;\n}\n\nfunction useCurrentElement() {\n const vm = getCurrentInstance();\n const currentElement = computedWithControl(() => null, () => vm.proxy.$el);\n onUpdated(currentElement.trigger);\n onMounted(currentElement.trigger);\n return currentElement;\n}\n\nfunction useCycleList(list, options) {\n var _a;\n const state = shallowRef((_a = options == null ? void 0 : options.initialValue) != null ? _a : list[0]);\n const index = computed({\n get() {\n var _a2;\n let index2 = (options == null ? void 0 : options.getIndexOf) ? options.getIndexOf(state.value, list) : list.indexOf(state.value);\n if (index2 < 0)\n index2 = (_a2 = options == null ? void 0 : options.fallbackIndex) != null ? _a2 : 0;\n return index2;\n },\n set(v) {\n set(v);\n }\n });\n function set(i) {\n const length = list.length;\n const index2 = (i % length + length) % length;\n const value = list[index2];\n state.value = value;\n return value;\n }\n function shift(delta = 1) {\n return set(index.value + delta);\n }\n function next(n = 1) {\n return shift(n);\n }\n function prev(n = 1) {\n return shift(-n);\n }\n return {\n state,\n index,\n next,\n prev\n };\n}\n\nvar __defProp$h = Object.defineProperty;\nvar __defProps$7 = Object.defineProperties;\nvar __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$j = Object.getOwnPropertySymbols;\nvar __hasOwnProp$j = Object.prototype.hasOwnProperty;\nvar __propIsEnum$j = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$h = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n if (__getOwnPropSymbols$j)\n for (var prop of __getOwnPropSymbols$j(b)) {\n if (__propIsEnum$j.call(b, prop))\n __defNormalProp$h(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));\nfunction useDark(options = {}) {\n const {\n valueDark = \"dark\",\n valueLight = \"\",\n window = defaultWindow\n } = options;\n const mode = useColorMode(__spreadProps$7(__spreadValues$h({}, options), {\n onChanged: (mode2, defaultHandler) => {\n var _a;\n if (options.onChanged)\n (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === \"dark\");\n else\n defaultHandler(mode2);\n },\n modes: {\n dark: valueDark,\n light: valueLight\n }\n }));\n const preferredDark = usePreferredDark({ window });\n const isDark = computed({\n get() {\n return mode.value === \"dark\";\n },\n set(v) {\n if (v === preferredDark.value)\n mode.value = \"auto\";\n else\n mode.value = v ? \"dark\" : \"light\";\n }\n });\n return isDark;\n}\n\nconst fnBypass = (v) => v;\nconst fnSetSource = (source, value) => source.value = value;\nfunction defaultDump(clone) {\n return clone ? isFunction(clone) ? clone : cloneFnJSON : fnBypass;\n}\nfunction defaultParse(clone) {\n return clone ? isFunction(clone) ? clone : cloneFnJSON : fnBypass;\n}\nfunction useManualRefHistory(source, options = {}) {\n const {\n clone = false,\n dump = defaultDump(clone),\n parse = defaultParse(clone),\n setSource = fnSetSource\n } = options;\n function _createHistoryRecord() {\n return markRaw({\n snapshot: dump(source.value),\n timestamp: timestamp()\n });\n }\n const last = ref(_createHistoryRecord());\n const undoStack = ref([]);\n const redoStack = ref([]);\n const _setSource = (record) => {\n setSource(source, parse(record.snapshot));\n last.value = record;\n };\n const commit = () => {\n undoStack.value.unshift(last.value);\n last.value = _createHistoryRecord();\n if (options.capacity && undoStack.value.length > options.capacity)\n undoStack.value.splice(options.capacity, Infinity);\n if (redoStack.value.length)\n redoStack.value.splice(0, redoStack.value.length);\n };\n const clear = () => {\n undoStack.value.splice(0, undoStack.value.length);\n redoStack.value.splice(0, redoStack.value.length);\n };\n const undo = () => {\n const state = undoStack.value.shift();\n if (state) {\n redoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const redo = () => {\n const state = redoStack.value.shift();\n if (state) {\n undoStack.value.unshift(last.value);\n _setSource(state);\n }\n };\n const reset = () => {\n _setSource(last.value);\n };\n const history = computed(() => [last.value, ...undoStack.value]);\n const canUndo = computed(() => undoStack.value.length > 0);\n const canRedo = computed(() => redoStack.value.length > 0);\n return {\n source,\n undoStack,\n redoStack,\n last,\n history,\n canUndo,\n canRedo,\n clear,\n commit,\n reset,\n undo,\n redo\n };\n}\n\nvar __defProp$g = Object.defineProperty;\nvar __defProps$6 = Object.defineProperties;\nvar __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$i = Object.getOwnPropertySymbols;\nvar __hasOwnProp$i = Object.prototype.hasOwnProperty;\nvar __propIsEnum$i = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$g = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n if (__getOwnPropSymbols$i)\n for (var prop of __getOwnPropSymbols$i(b)) {\n if (__propIsEnum$i.call(b, prop))\n __defNormalProp$g(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));\nfunction useRefHistory(source, options = {}) {\n const {\n deep = false,\n flush = \"pre\",\n eventFilter\n } = options;\n const {\n eventFilter: composedFilter,\n pause,\n resume: resumeTracking,\n isActive: isTracking\n } = pausableFilter(eventFilter);\n const {\n ignoreUpdates,\n ignorePrevAsyncUpdates,\n stop\n } = watchIgnorable(source, commit, { deep, flush, eventFilter: composedFilter });\n function setSource(source2, value) {\n ignorePrevAsyncUpdates();\n ignoreUpdates(() => {\n source2.value = value;\n });\n }\n const manualHistory = useManualRefHistory(source, __spreadProps$6(__spreadValues$g({}, options), { clone: options.clone || deep, setSource }));\n const { clear, commit: manualCommit } = manualHistory;\n function commit() {\n ignorePrevAsyncUpdates();\n manualCommit();\n }\n function resume(commitNow) {\n resumeTracking();\n if (commitNow)\n commit();\n }\n function batch(fn) {\n let canceled = false;\n const cancel = () => canceled = true;\n ignoreUpdates(() => {\n fn(cancel);\n });\n if (!canceled)\n commit();\n }\n function dispose() {\n stop();\n clear();\n }\n return __spreadProps$6(__spreadValues$g({}, manualHistory), {\n isTracking,\n pause,\n resume,\n commit,\n batch,\n dispose\n });\n}\n\nvar __defProp$f = Object.defineProperty;\nvar __defProps$5 = Object.defineProperties;\nvar __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$h = Object.getOwnPropertySymbols;\nvar __hasOwnProp$h = Object.prototype.hasOwnProperty;\nvar __propIsEnum$h = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$f = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n if (__getOwnPropSymbols$h)\n for (var prop of __getOwnPropSymbols$h(b)) {\n if (__propIsEnum$h.call(b, prop))\n __defNormalProp$f(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));\nfunction useDebouncedRefHistory(source, options = {}) {\n const filter = options.debounce ? debounceFilter(options.debounce) : void 0;\n const history = useRefHistory(source, __spreadProps$5(__spreadValues$f({}, options), { eventFilter: filter }));\n return __spreadValues$f({}, history);\n}\n\nfunction useDeviceMotion(options = {}) {\n const {\n window = defaultWindow,\n eventFilter = bypassFilter\n } = options;\n const acceleration = ref({ x: null, y: null, z: null });\n const rotationRate = ref({ alpha: null, beta: null, gamma: null });\n const interval = ref(0);\n const accelerationIncludingGravity = ref({\n x: null,\n y: null,\n z: null\n });\n if (window) {\n const onDeviceMotion = createFilterWrapper(eventFilter, (event) => {\n acceleration.value = event.acceleration;\n accelerationIncludingGravity.value = event.accelerationIncludingGravity;\n rotationRate.value = event.rotationRate;\n interval.value = event.interval;\n });\n useEventListener(window, \"devicemotion\", onDeviceMotion);\n }\n return {\n acceleration,\n accelerationIncludingGravity,\n rotationRate,\n interval\n };\n}\n\nfunction useDeviceOrientation(options = {}) {\n const { window = defaultWindow } = options;\n const isSupported = useSupported(() => window && \"DeviceOrientationEvent\" in window);\n const isAbsolute = ref(false);\n const alpha = ref(null);\n const beta = ref(null);\n const gamma = ref(null);\n if (window && isSupported.value) {\n useEventListener(window, \"deviceorientation\", (event) => {\n isAbsolute.value = event.absolute;\n alpha.value = event.alpha;\n beta.value = event.beta;\n gamma.value = event.gamma;\n });\n }\n return {\n isSupported,\n isAbsolute,\n alpha,\n beta,\n gamma\n };\n}\n\nfunction useDevicePixelRatio({\n window = defaultWindow\n} = {}) {\n if (!window) {\n return {\n pixelRatio: ref(1)\n };\n }\n const pixelRatio = ref(1);\n const cleanups = [];\n const cleanup = () => {\n cleanups.map((i) => i());\n cleanups.length = 0;\n };\n const observe = () => {\n pixelRatio.value = window.devicePixelRatio;\n cleanup();\n const media = window.matchMedia(`(resolution: ${pixelRatio.value}dppx)`);\n media.addEventListener(\"change\", observe, { once: true });\n cleanups.push(() => {\n media.removeEventListener(\"change\", observe);\n });\n };\n observe();\n tryOnScopeDispose(cleanup);\n return { pixelRatio };\n}\n\nfunction usePermission(permissionDesc, options = {}) {\n const {\n controls = false,\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"permissions\" in navigator);\n let permissionStatus;\n const desc = typeof permissionDesc === \"string\" ? { name: permissionDesc } : permissionDesc;\n const state = ref();\n const onChange = () => {\n if (permissionStatus)\n state.value = permissionStatus.state;\n };\n const query = createSingletonPromise(async () => {\n if (!isSupported.value)\n return;\n if (!permissionStatus) {\n try {\n permissionStatus = await navigator.permissions.query(desc);\n useEventListener(permissionStatus, \"change\", onChange);\n onChange();\n } catch (e) {\n state.value = \"prompt\";\n }\n }\n return permissionStatus;\n });\n query();\n if (controls) {\n return {\n state,\n isSupported,\n query\n };\n } else {\n return state;\n }\n}\n\nfunction useDevicesList(options = {}) {\n const {\n navigator = defaultNavigator,\n requestPermissions = false,\n constraints = { audio: true, video: true },\n onUpdated\n } = options;\n const devices = ref([]);\n const videoInputs = computed(() => devices.value.filter((i) => i.kind === \"videoinput\"));\n const audioInputs = computed(() => devices.value.filter((i) => i.kind === \"audioinput\"));\n const audioOutputs = computed(() => devices.value.filter((i) => i.kind === \"audiooutput\"));\n const isSupported = useSupported(() => navigator && navigator.mediaDevices && navigator.mediaDevices.enumerateDevices);\n const permissionGranted = ref(false);\n async function update() {\n if (!isSupported.value)\n return;\n devices.value = await navigator.mediaDevices.enumerateDevices();\n onUpdated == null ? void 0 : onUpdated(devices.value);\n }\n async function ensurePermissions() {\n if (!isSupported.value)\n return false;\n if (permissionGranted.value)\n return true;\n const { state, query } = usePermission(\"camera\", { controls: true });\n await query();\n if (state.value !== \"granted\") {\n const stream = await navigator.mediaDevices.getUserMedia(constraints);\n stream.getTracks().forEach((t) => t.stop());\n update();\n permissionGranted.value = true;\n } else {\n permissionGranted.value = true;\n }\n return permissionGranted.value;\n }\n if (isSupported.value) {\n if (requestPermissions)\n ensurePermissions();\n useEventListener(navigator.mediaDevices, \"devicechange\", update);\n update();\n }\n return {\n devices,\n ensurePermissions,\n permissionGranted,\n videoInputs,\n audioInputs,\n audioOutputs,\n isSupported\n };\n}\n\nfunction useDisplayMedia(options = {}) {\n var _a;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const video = options.video;\n const audio = options.audio;\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getDisplayMedia;\n });\n const constraint = { audio, video };\n const stream = shallowRef();\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getDisplayMedia(constraint);\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n enabled\n };\n}\n\nfunction useDocumentVisibility({ document = defaultDocument } = {}) {\n if (!document)\n return ref(\"visible\");\n const visibility = ref(document.visibilityState);\n useEventListener(document, \"visibilitychange\", () => {\n visibility.value = document.visibilityState;\n });\n return visibility;\n}\n\nvar __defProp$e = Object.defineProperty;\nvar __defProps$4 = Object.defineProperties;\nvar __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$g = Object.getOwnPropertySymbols;\nvar __hasOwnProp$g = Object.prototype.hasOwnProperty;\nvar __propIsEnum$g = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$e = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$g.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n if (__getOwnPropSymbols$g)\n for (var prop of __getOwnPropSymbols$g(b)) {\n if (__propIsEnum$g.call(b, prop))\n __defNormalProp$e(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));\nfunction useDraggable(target, options = {}) {\n var _a, _b, _c;\n const draggingElement = (_a = options.draggingElement) != null ? _a : defaultWindow;\n const draggingHandle = (_b = options.handle) != null ? _b : target;\n const position = ref((_c = resolveUnref(options.initialValue)) != null ? _c : { x: 0, y: 0 });\n const pressedDelta = ref();\n const filterEvent = (e) => {\n if (options.pointerTypes)\n return options.pointerTypes.includes(e.pointerType);\n return true;\n };\n const handleEvent = (e) => {\n if (resolveUnref(options.preventDefault))\n e.preventDefault();\n if (resolveUnref(options.stopPropagation))\n e.stopPropagation();\n };\n const start = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (resolveUnref(options.exact) && e.target !== resolveUnref(target))\n return;\n const rect = resolveUnref(target).getBoundingClientRect();\n const pos = {\n x: e.pageX - rect.left,\n y: e.pageY - rect.top\n };\n if (((_a2 = options.onStart) == null ? void 0 : _a2.call(options, pos, e)) === false)\n return;\n pressedDelta.value = pos;\n handleEvent(e);\n };\n const move = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n position.value = {\n x: e.pageX - pressedDelta.value.x,\n y: e.pageY - pressedDelta.value.y\n };\n (_a2 = options.onMove) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n const end = (e) => {\n var _a2;\n if (!filterEvent(e))\n return;\n if (!pressedDelta.value)\n return;\n pressedDelta.value = void 0;\n (_a2 = options.onEnd) == null ? void 0 : _a2.call(options, position.value, e);\n handleEvent(e);\n };\n if (isClient) {\n useEventListener(draggingHandle, \"pointerdown\", start, true);\n useEventListener(draggingElement, \"pointermove\", move, true);\n useEventListener(draggingElement, \"pointerup\", end, true);\n }\n return __spreadProps$4(__spreadValues$e({}, toRefs(position)), {\n position,\n isDragging: computed(() => !!pressedDelta.value),\n style: computed(() => `left:${position.value.x}px;top:${position.value.y}px;`)\n });\n}\n\nfunction useDropZone(target, onDrop) {\n const isOverDropZone = ref(false);\n let counter = 0;\n if (isClient) {\n useEventListener(target, \"dragenter\", (event) => {\n event.preventDefault();\n counter += 1;\n isOverDropZone.value = true;\n });\n useEventListener(target, \"dragover\", (event) => {\n event.preventDefault();\n });\n useEventListener(target, \"dragleave\", (event) => {\n event.preventDefault();\n counter -= 1;\n if (counter === 0)\n isOverDropZone.value = false;\n });\n useEventListener(target, \"drop\", (event) => {\n var _a, _b;\n event.preventDefault();\n counter = 0;\n isOverDropZone.value = false;\n const files = Array.from((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) != null ? _b : []);\n onDrop == null ? void 0 : onDrop(files.length === 0 ? null : files);\n });\n }\n return {\n isOverDropZone\n };\n}\n\nvar __getOwnPropSymbols$f = Object.getOwnPropertySymbols;\nvar __hasOwnProp$f = Object.prototype.hasOwnProperty;\nvar __propIsEnum$f = Object.prototype.propertyIsEnumerable;\nvar __objRest$2 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$f)\n for (var prop of __getOwnPropSymbols$f(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useResizeObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, [\"window\"]);\n let observer;\n const isSupported = useSupported(() => window && \"ResizeObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported.value && window && el) {\n observer = new ResizeObserver(callback);\n observer.observe(el, observerOptions);\n }\n }, { immediate: true, flush: \"post\" });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nfunction useElementBounding(target, options = {}) {\n const {\n reset = true,\n windowResize = true,\n windowScroll = true,\n immediate = true\n } = options;\n const height = ref(0);\n const bottom = ref(0);\n const left = ref(0);\n const right = ref(0);\n const top = ref(0);\n const width = ref(0);\n const x = ref(0);\n const y = ref(0);\n function update() {\n const el = unrefElement(target);\n if (!el) {\n if (reset) {\n height.value = 0;\n bottom.value = 0;\n left.value = 0;\n right.value = 0;\n top.value = 0;\n width.value = 0;\n x.value = 0;\n y.value = 0;\n }\n return;\n }\n const rect = el.getBoundingClientRect();\n height.value = rect.height;\n bottom.value = rect.bottom;\n left.value = rect.left;\n right.value = rect.right;\n top.value = rect.top;\n width.value = rect.width;\n x.value = rect.x;\n y.value = rect.y;\n }\n useResizeObserver(target, update);\n watch(() => unrefElement(target), (ele) => !ele && update());\n if (windowScroll)\n useEventListener(\"scroll\", update, { passive: true });\n if (windowResize)\n useEventListener(\"resize\", update, { passive: true });\n tryOnMounted(() => {\n if (immediate)\n update();\n });\n return {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n update\n };\n}\n\nfunction useRafFn(fn, options = {}) {\n const {\n immediate = true,\n window = defaultWindow\n } = options;\n const isActive = ref(false);\n let rafId = null;\n function loop() {\n if (!isActive.value || !window)\n return;\n fn();\n rafId = window.requestAnimationFrame(loop);\n }\n function resume() {\n if (!isActive.value && window) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n if (rafId != null && window) {\n window.cancelAnimationFrame(rafId);\n rafId = null;\n }\n }\n if (immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$d = Object.defineProperty;\nvar __getOwnPropSymbols$e = Object.getOwnPropertySymbols;\nvar __hasOwnProp$e = Object.prototype.hasOwnProperty;\nvar __propIsEnum$e = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$d = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$e.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n if (__getOwnPropSymbols$e)\n for (var prop of __getOwnPropSymbols$e(b)) {\n if (__propIsEnum$e.call(b, prop))\n __defNormalProp$d(a, prop, b[prop]);\n }\n return a;\n};\nfunction useElementByPoint(options) {\n const element = ref(null);\n const { x, y } = options;\n const controls = useRafFn(() => {\n element.value = document.elementFromPoint(resolveUnref(x), resolveUnref(y));\n });\n return __spreadValues$d({\n element\n }, controls);\n}\n\nfunction useElementHover(el) {\n const isHovered = ref(false);\n useEventListener(el, \"mouseenter\", () => isHovered.value = true);\n useEventListener(el, \"mouseleave\", () => isHovered.value = false);\n return isHovered;\n}\n\nfunction useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {\n const { box = \"content-box\" } = options;\n const width = ref(initialSize.width);\n const height = ref(initialSize.height);\n useResizeObserver(target, ([entry]) => {\n const boxSize = box === \"border-box\" ? entry.borderBoxSize : box === \"content-box\" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;\n if (boxSize) {\n width.value = boxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);\n height.value = boxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);\n } else {\n width.value = entry.contentRect.width;\n height.value = entry.contentRect.height;\n }\n }, options);\n watch(() => unrefElement(target), (ele) => {\n width.value = ele ? initialSize.width : 0;\n height.value = ele ? initialSize.height : 0;\n });\n return {\n width,\n height\n };\n}\n\nfunction useElementVisibility(element, { window = defaultWindow, scrollTarget } = {}) {\n const elementIsVisible = ref(false);\n const testBounding = () => {\n if (!window)\n return;\n const document = window.document;\n const el = unrefElement(element);\n if (!el) {\n elementIsVisible.value = false;\n } else {\n const rect = el.getBoundingClientRect();\n elementIsVisible.value = rect.top <= (window.innerHeight || document.documentElement.clientHeight) && rect.left <= (window.innerWidth || document.documentElement.clientWidth) && rect.bottom >= 0 && rect.right >= 0;\n }\n };\n watch(() => unrefElement(element), () => testBounding(), { immediate: true, flush: \"post\" });\n if (window) {\n useEventListener(scrollTarget || window, \"scroll\", testBounding, {\n capture: false,\n passive: true\n });\n }\n return elementIsVisible;\n}\n\nconst events = new Map();\n\nfunction useEventBus(key) {\n const scope = getCurrentScope();\n function on(listener) {\n var _a;\n const listeners = events.get(key) || [];\n listeners.push(listener);\n events.set(key, listeners);\n const _off = () => off(listener);\n (_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);\n return _off;\n }\n function once(listener) {\n function _listener(...args) {\n off(_listener);\n listener(...args);\n }\n return on(_listener);\n }\n function off(listener) {\n const listeners = events.get(key);\n if (!listeners)\n return;\n const index = listeners.indexOf(listener);\n if (index > -1)\n listeners.splice(index, 1);\n if (!listeners.length)\n events.delete(key);\n }\n function reset() {\n events.delete(key);\n }\n function emit(event, payload) {\n var _a;\n (_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));\n }\n return { on, once, off, emit, reset };\n}\n\nfunction useEventSource(url, events = [], options = {}) {\n const event = ref(null);\n const data = ref(null);\n const status = ref(\"CONNECTING\");\n const eventSource = ref(null);\n const error = ref(null);\n const {\n withCredentials = false\n } = options;\n const close = () => {\n if (eventSource.value) {\n eventSource.value.close();\n eventSource.value = null;\n status.value = \"CLOSED\";\n }\n };\n const es = new EventSource(url, { withCredentials });\n eventSource.value = es;\n es.onopen = () => {\n status.value = \"OPEN\";\n error.value = null;\n };\n es.onerror = (e) => {\n status.value = \"CLOSED\";\n error.value = e;\n };\n es.onmessage = (e) => {\n event.value = null;\n data.value = e.data;\n };\n for (const event_name of events) {\n useEventListener(es, event_name, (e) => {\n event.value = event_name;\n data.value = e.data || null;\n });\n }\n tryOnScopeDispose(() => {\n close();\n });\n return {\n eventSource,\n event,\n data,\n status,\n error,\n close\n };\n}\n\nfunction useEyeDropper(options = {}) {\n const { initialValue = \"\" } = options;\n const isSupported = useSupported(() => typeof window !== \"undefined\" && \"EyeDropper\" in window);\n const sRGBHex = ref(initialValue);\n async function open(openOptions) {\n if (!isSupported.value)\n return;\n const eyeDropper = new window.EyeDropper();\n const result = await eyeDropper.open(openOptions);\n sRGBHex.value = result.sRGBHex;\n return result;\n }\n return { isSupported, sRGBHex, open };\n}\n\nfunction useFavicon(newIcon = null, options = {}) {\n const {\n baseUrl = \"\",\n rel = \"icon\",\n document = defaultDocument\n } = options;\n const favicon = resolveRef(newIcon);\n const applyIcon = (icon) => {\n document == null ? void 0 : document.head.querySelectorAll(`link[rel*=\"${rel}\"]`).forEach((el) => el.href = `${baseUrl}${icon}`);\n };\n watch(favicon, (i, o) => {\n if (isString(i) && i !== o)\n applyIcon(i);\n }, { immediate: true });\n return favicon;\n}\n\nvar __defProp$c = Object.defineProperty;\nvar __defProps$3 = Object.defineProperties;\nvar __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$d = Object.getOwnPropertySymbols;\nvar __hasOwnProp$d = Object.prototype.hasOwnProperty;\nvar __propIsEnum$d = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$c = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n if (__getOwnPropSymbols$d)\n for (var prop of __getOwnPropSymbols$d(b)) {\n if (__propIsEnum$d.call(b, prop))\n __defNormalProp$c(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));\nconst payloadMapping = {\n json: \"application/json\",\n text: \"text/plain\",\n formData: \"multipart/form-data\"\n};\nfunction isFetchOptions(obj) {\n return containsProp(obj, \"immediate\", \"refetch\", \"initialData\", \"timeout\", \"beforeFetch\", \"afterFetch\", \"onFetchError\", \"fetch\");\n}\nfunction headersToObject(headers) {\n if (typeof Headers !== \"undefined\" && headers instanceof Headers)\n return Object.fromEntries([...headers.entries()]);\n return headers;\n}\nfunction chainCallbacks(...callbacks) {\n return async (ctx) => {\n await callbacks.reduce((prevCallback, callback) => prevCallback.then(async () => {\n if (callback)\n ctx = __spreadValues$c(__spreadValues$c({}, ctx), await callback(ctx));\n }), Promise.resolve());\n return ctx;\n };\n}\nfunction createFetch(config = {}) {\n const _options = config.options || {};\n const _fetchOptions = config.fetchOptions || {};\n function useFactoryFetch(url, ...args) {\n const computedUrl = computed(() => config.baseUrl ? joinPaths(resolveUnref(config.baseUrl), resolveUnref(url)) : resolveUnref(url));\n let options = _options;\n let fetchOptions = _fetchOptions;\n if (args.length > 0) {\n if (isFetchOptions(args[0])) {\n options = __spreadProps$3(__spreadValues$c(__spreadValues$c({}, options), args[0]), {\n beforeFetch: chainCallbacks(_options.beforeFetch, args[0].beforeFetch),\n afterFetch: chainCallbacks(_options.afterFetch, args[0].afterFetch),\n onFetchError: chainCallbacks(_options.onFetchError, args[0].onFetchError)\n });\n } else {\n fetchOptions = __spreadProps$3(__spreadValues$c(__spreadValues$c({}, fetchOptions), args[0]), {\n headers: __spreadValues$c(__spreadValues$c({}, headersToObject(fetchOptions.headers) || {}), headersToObject(args[0].headers) || {})\n });\n }\n }\n if (args.length > 1 && isFetchOptions(args[1])) {\n options = __spreadProps$3(__spreadValues$c(__spreadValues$c({}, options), args[1]), {\n beforeFetch: chainCallbacks(_options.beforeFetch, args[1].beforeFetch),\n afterFetch: chainCallbacks(_options.afterFetch, args[1].afterFetch),\n onFetchError: chainCallbacks(_options.onFetchError, args[1].onFetchError)\n });\n }\n return useFetch(computedUrl, fetchOptions, options);\n }\n return useFactoryFetch;\n}\nfunction useFetch(url, ...args) {\n var _a;\n const supportsAbort = typeof AbortController === \"function\";\n let fetchOptions = {};\n let options = { immediate: true, refetch: false, timeout: 0 };\n const config = {\n method: \"GET\",\n type: \"text\",\n payload: void 0\n };\n if (args.length > 0) {\n if (isFetchOptions(args[0]))\n options = __spreadValues$c(__spreadValues$c({}, options), args[0]);\n else\n fetchOptions = args[0];\n }\n if (args.length > 1) {\n if (isFetchOptions(args[1]))\n options = __spreadValues$c(__spreadValues$c({}, options), args[1]);\n }\n const {\n fetch = (_a = defaultWindow) == null ? void 0 : _a.fetch,\n initialData,\n timeout\n } = options;\n const responseEvent = createEventHook();\n const errorEvent = createEventHook();\n const finallyEvent = createEventHook();\n const isFinished = ref(false);\n const isFetching = ref(false);\n const aborted = ref(false);\n const statusCode = ref(null);\n const response = shallowRef(null);\n const error = shallowRef(null);\n const data = shallowRef(initialData);\n const canAbort = computed(() => supportsAbort && isFetching.value);\n let controller;\n let timer;\n const abort = () => {\n if (supportsAbort && controller)\n controller.abort();\n };\n const loading = (isLoading) => {\n isFetching.value = isLoading;\n isFinished.value = !isLoading;\n };\n if (timeout)\n timer = useTimeoutFn(abort, timeout, { immediate: false });\n const execute = async (throwOnFailed = false) => {\n var _a2;\n loading(true);\n error.value = null;\n statusCode.value = null;\n aborted.value = false;\n controller = void 0;\n if (supportsAbort) {\n controller = new AbortController();\n controller.signal.onabort = () => aborted.value = true;\n fetchOptions = __spreadProps$3(__spreadValues$c({}, fetchOptions), {\n signal: controller.signal\n });\n }\n const defaultFetchOptions = {\n method: config.method,\n headers: {}\n };\n if (config.payload) {\n const headers = headersToObject(defaultFetchOptions.headers);\n if (config.payloadType)\n headers[\"Content-Type\"] = (_a2 = payloadMapping[config.payloadType]) != null ? _a2 : config.payloadType;\n const payload = resolveUnref(config.payload);\n defaultFetchOptions.body = config.payloadType === \"json\" ? JSON.stringify(payload) : payload;\n }\n let isCanceled = false;\n const context = { url: resolveUnref(url), options: __spreadValues$c(__spreadValues$c({}, defaultFetchOptions), fetchOptions), cancel: () => {\n isCanceled = true;\n } };\n if (options.beforeFetch)\n Object.assign(context, await options.beforeFetch(context));\n if (isCanceled || !fetch) {\n loading(false);\n return Promise.resolve(null);\n }\n let responseData = null;\n if (timer)\n timer.start();\n return new Promise((resolve, reject) => {\n var _a3;\n fetch(context.url, __spreadProps$3(__spreadValues$c(__spreadValues$c({}, defaultFetchOptions), context.options), {\n headers: __spreadValues$c(__spreadValues$c({}, headersToObject(defaultFetchOptions.headers)), headersToObject((_a3 = context.options) == null ? void 0 : _a3.headers))\n })).then(async (fetchResponse) => {\n response.value = fetchResponse;\n statusCode.value = fetchResponse.status;\n responseData = await fetchResponse[config.type]();\n if (options.afterFetch && statusCode.value >= 200 && statusCode.value < 300)\n ({ data: responseData } = await options.afterFetch({ data: responseData, response: fetchResponse }));\n data.value = responseData;\n if (!fetchResponse.ok)\n throw new Error(fetchResponse.statusText);\n responseEvent.trigger(fetchResponse);\n return resolve(fetchResponse);\n }).catch(async (fetchError) => {\n let errorData = fetchError.message || fetchError.name;\n if (options.onFetchError)\n ({ data: responseData, error: errorData } = await options.onFetchError({ data: responseData, error: fetchError, response: response.value }));\n data.value = responseData;\n error.value = errorData;\n errorEvent.trigger(fetchError);\n if (throwOnFailed)\n return reject(fetchError);\n return resolve(null);\n }).finally(() => {\n loading(false);\n if (timer)\n timer.stop();\n finallyEvent.trigger(null);\n });\n });\n };\n const refetch = resolveRef(options.refetch);\n watch([\n refetch,\n resolveRef(url)\n ], ([refetch2]) => refetch2 && execute(), { deep: true });\n const shell = {\n isFinished,\n statusCode,\n response,\n error,\n data,\n isFetching,\n canAbort,\n aborted,\n abort,\n execute,\n onFetchResponse: responseEvent.on,\n onFetchError: errorEvent.on,\n onFetchFinally: finallyEvent.on,\n get: setMethod(\"GET\"),\n put: setMethod(\"PUT\"),\n post: setMethod(\"POST\"),\n delete: setMethod(\"DELETE\"),\n patch: setMethod(\"PATCH\"),\n head: setMethod(\"HEAD\"),\n options: setMethod(\"OPTIONS\"),\n json: setType(\"json\"),\n text: setType(\"text\"),\n blob: setType(\"blob\"),\n arrayBuffer: setType(\"arrayBuffer\"),\n formData: setType(\"formData\")\n };\n function setMethod(method) {\n return (payload, payloadType) => {\n if (!isFetching.value) {\n config.method = method;\n config.payload = payload;\n config.payloadType = payloadType;\n if (isRef(config.payload)) {\n watch([\n refetch,\n resolveRef(config.payload)\n ], ([refetch2]) => refetch2 && execute(), { deep: true });\n }\n const rawPayload = resolveUnref(config.payload);\n if (!payloadType && rawPayload && Object.getPrototypeOf(rawPayload) === Object.prototype)\n config.payloadType = \"json\";\n return __spreadProps$3(__spreadValues$c({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n function waitUntilFinished() {\n return new Promise((resolve, reject) => {\n until(isFinished).toBe(true).then(() => resolve(shell)).catch((error2) => reject(error2));\n });\n }\n function setType(type) {\n return () => {\n if (!isFetching.value) {\n config.type = type;\n return __spreadProps$3(__spreadValues$c({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n }\n return void 0;\n };\n }\n if (options.immediate)\n setTimeout(execute, 0);\n return __spreadProps$3(__spreadValues$c({}, shell), {\n then(onFulfilled, onRejected) {\n return waitUntilFinished().then(onFulfilled, onRejected);\n }\n });\n}\nfunction joinPaths(start, end) {\n if (!start.endsWith(\"/\") && !end.startsWith(\"/\"))\n return `${start}/${end}`;\n return `${start}${end}`;\n}\n\nvar __defProp$b = Object.defineProperty;\nvar __getOwnPropSymbols$c = Object.getOwnPropertySymbols;\nvar __hasOwnProp$c = Object.prototype.hasOwnProperty;\nvar __propIsEnum$c = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$b = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n if (__getOwnPropSymbols$c)\n for (var prop of __getOwnPropSymbols$c(b)) {\n if (__propIsEnum$c.call(b, prop))\n __defNormalProp$b(a, prop, b[prop]);\n }\n return a;\n};\nconst DEFAULT_OPTIONS = {\n multiple: true,\n accept: \"*\"\n};\nfunction useFileDialog(options = {}) {\n const {\n document = defaultDocument\n } = options;\n const files = ref(null);\n let input;\n if (document) {\n input = document.createElement(\"input\");\n input.type = \"file\";\n input.onchange = (event) => {\n const result = event.target;\n files.value = result.files;\n };\n }\n const open = (localOptions) => {\n if (!input)\n return;\n const _options = __spreadValues$b(__spreadValues$b(__spreadValues$b({}, DEFAULT_OPTIONS), options), localOptions);\n input.multiple = _options.multiple;\n input.accept = _options.accept;\n if (hasOwn(_options, \"capture\"))\n input.capture = _options.capture;\n input.click();\n };\n const reset = () => {\n files.value = null;\n if (input)\n input.value = \"\";\n };\n return {\n files: readonly(files),\n open,\n reset\n };\n}\n\nvar __defProp$a = Object.defineProperty;\nvar __getOwnPropSymbols$b = Object.getOwnPropertySymbols;\nvar __hasOwnProp$b = Object.prototype.hasOwnProperty;\nvar __propIsEnum$b = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$a = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n if (__getOwnPropSymbols$b)\n for (var prop of __getOwnPropSymbols$b(b)) {\n if (__propIsEnum$b.call(b, prop))\n __defNormalProp$a(a, prop, b[prop]);\n }\n return a;\n};\nfunction useFileSystemAccess(options = {}) {\n const {\n window: _window = defaultWindow,\n dataType = \"Text\"\n } = unref(options);\n const window = _window;\n const isSupported = useSupported(() => window && \"showSaveFilePicker\" in window && \"showOpenFilePicker\" in window);\n const fileHandle = ref();\n const data = ref();\n const file = ref();\n const fileName = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.name) != null ? _b : \"\";\n });\n const fileMIME = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.type) != null ? _b : \"\";\n });\n const fileSize = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.size) != null ? _b : 0;\n });\n const fileLastModified = computed(() => {\n var _a, _b;\n return (_b = (_a = file.value) == null ? void 0 : _a.lastModified) != null ? _b : 0;\n });\n async function open(_options = {}) {\n if (!isSupported.value)\n return;\n const [handle] = await window.showOpenFilePicker(__spreadValues$a(__spreadValues$a({}, unref(options)), _options));\n fileHandle.value = handle;\n await updateFile();\n await updateData();\n }\n async function create(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$a(__spreadValues$a({}, unref(options)), _options));\n data.value = void 0;\n await updateFile();\n await updateData();\n }\n async function save(_options = {}) {\n if (!isSupported.value)\n return;\n if (!fileHandle.value)\n return saveAs(_options);\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function saveAs(_options = {}) {\n if (!isSupported.value)\n return;\n fileHandle.value = await window.showSaveFilePicker(__spreadValues$a(__spreadValues$a({}, unref(options)), _options));\n if (data.value) {\n const writableStream = await fileHandle.value.createWritable();\n await writableStream.write(data.value);\n await writableStream.close();\n }\n await updateFile();\n }\n async function updateFile() {\n var _a;\n file.value = await ((_a = fileHandle.value) == null ? void 0 : _a.getFile());\n }\n async function updateData() {\n var _a, _b;\n if (unref(dataType) === \"Text\")\n data.value = await ((_a = file.value) == null ? void 0 : _a.text());\n if (unref(dataType) === \"ArrayBuffer\")\n data.value = await ((_b = file.value) == null ? void 0 : _b.arrayBuffer());\n if (unref(dataType) === \"Blob\")\n data.value = file.value;\n }\n watch(() => unref(dataType), updateData);\n return {\n isSupported,\n data,\n file,\n fileName,\n fileMIME,\n fileSize,\n fileLastModified,\n open,\n create,\n save,\n saveAs,\n updateData\n };\n}\n\nfunction useFocus(target, options = {}) {\n const { initialValue = false } = options;\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed({\n get() {\n return isDef(activeElement.value) && isDef(targetElement.value) && activeElement.value === targetElement.value;\n },\n set(value) {\n var _a, _b;\n if (!value && focused.value)\n (_a = targetElement.value) == null ? void 0 : _a.blur();\n if (value && !focused.value)\n (_b = targetElement.value) == null ? void 0 : _b.focus();\n }\n });\n watch(targetElement, () => {\n focused.value = initialValue;\n }, { immediate: true, flush: \"post\" });\n return { focused };\n}\n\nfunction useFocusWithin(target, options = {}) {\n const activeElement = useActiveElement(options);\n const targetElement = computed(() => unrefElement(target));\n const focused = computed(() => targetElement.value && activeElement.value ? targetElement.value.contains(activeElement.value) : false);\n return { focused };\n}\n\nfunction useFps(options) {\n var _a;\n const fps = ref(0);\n if (typeof performance === \"undefined\")\n return fps;\n const every = (_a = options == null ? void 0 : options.every) != null ? _a : 10;\n let last = performance.now();\n let ticks = 0;\n useRafFn(() => {\n ticks += 1;\n if (ticks >= every) {\n const now = performance.now();\n const diff = now - last;\n fps.value = Math.round(1e3 / (diff / ticks));\n last = now;\n ticks = 0;\n }\n });\n return fps;\n}\n\nconst functionsMap = [\n [\n \"requestFullscreen\",\n \"exitFullscreen\",\n \"fullscreenElement\",\n \"fullscreenEnabled\",\n \"fullscreenchange\",\n \"fullscreenerror\"\n ],\n [\n \"webkitRequestFullscreen\",\n \"webkitExitFullscreen\",\n \"webkitFullscreenElement\",\n \"webkitFullscreenEnabled\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"webkitRequestFullScreen\",\n \"webkitCancelFullScreen\",\n \"webkitCurrentFullScreenElement\",\n \"webkitCancelFullScreen\",\n \"webkitfullscreenchange\",\n \"webkitfullscreenerror\"\n ],\n [\n \"mozRequestFullScreen\",\n \"mozCancelFullScreen\",\n \"mozFullScreenElement\",\n \"mozFullScreenEnabled\",\n \"mozfullscreenchange\",\n \"mozfullscreenerror\"\n ],\n [\n \"msRequestFullscreen\",\n \"msExitFullscreen\",\n \"msFullscreenElement\",\n \"msFullscreenEnabled\",\n \"MSFullscreenChange\",\n \"MSFullscreenError\"\n ]\n];\nfunction useFullscreen(target, options = {}) {\n const { document = defaultDocument, autoExit = false } = options;\n const targetRef = target || (document == null ? void 0 : document.querySelector(\"html\"));\n const isFullscreen = ref(false);\n let map = functionsMap[0];\n const isSupported = useSupported(() => {\n if (!document) {\n return false;\n } else {\n for (const m of functionsMap) {\n if (m[1] in document) {\n map = m;\n return true;\n }\n }\n }\n return false;\n });\n const [REQUEST, EXIT, ELEMENT, , EVENT] = map;\n async function exit() {\n if (!isSupported.value)\n return;\n if (document == null ? void 0 : document[ELEMENT])\n await document[EXIT]();\n isFullscreen.value = false;\n }\n async function enter() {\n if (!isSupported.value)\n return;\n await exit();\n const target2 = unrefElement(targetRef);\n if (target2) {\n await target2[REQUEST]();\n isFullscreen.value = true;\n }\n }\n async function toggle() {\n if (isFullscreen.value)\n await exit();\n else\n await enter();\n }\n if (document) {\n useEventListener(document, EVENT, () => {\n isFullscreen.value = !!(document == null ? void 0 : document[ELEMENT]);\n }, false);\n }\n if (autoExit)\n tryOnScopeDispose(exit);\n return {\n isSupported,\n isFullscreen,\n enter,\n exit,\n toggle\n };\n}\n\nfunction mapGamepadToXbox360Controller(gamepad) {\n return computed(() => {\n if (gamepad.value) {\n return {\n buttons: {\n a: gamepad.value.buttons[0],\n b: gamepad.value.buttons[1],\n x: gamepad.value.buttons[2],\n y: gamepad.value.buttons[3]\n },\n bumper: {\n left: gamepad.value.buttons[4],\n right: gamepad.value.buttons[5]\n },\n triggers: {\n left: gamepad.value.buttons[6],\n right: gamepad.value.buttons[7]\n },\n stick: {\n left: {\n horizontal: gamepad.value.axes[0],\n vertical: gamepad.value.axes[1],\n button: gamepad.value.buttons[10]\n },\n right: {\n horizontal: gamepad.value.axes[2],\n vertical: gamepad.value.axes[3],\n button: gamepad.value.buttons[11]\n }\n },\n dpad: {\n up: gamepad.value.buttons[12],\n down: gamepad.value.buttons[13],\n left: gamepad.value.buttons[14],\n right: gamepad.value.buttons[15]\n },\n back: gamepad.value.buttons[8],\n start: gamepad.value.buttons[9]\n };\n }\n return null;\n });\n}\nfunction useGamepad(options = {}) {\n const {\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"getGamepads\" in navigator);\n const gamepads = ref([]);\n const onConnectedHook = createEventHook();\n const onDisconnectedHook = createEventHook();\n const stateFromGamepad = (gamepad) => {\n const hapticActuators = [];\n const vibrationActuator = \"vibrationActuator\" in gamepad ? gamepad.vibrationActuator : null;\n if (vibrationActuator)\n hapticActuators.push(vibrationActuator);\n if (gamepad.hapticActuators)\n hapticActuators.push(...gamepad.hapticActuators);\n return {\n id: gamepad.id,\n hapticActuators,\n index: gamepad.index,\n mapping: gamepad.mapping,\n connected: gamepad.connected,\n timestamp: gamepad.timestamp,\n axes: gamepad.axes.map((axes) => axes),\n buttons: gamepad.buttons.map((button) => ({ pressed: button.pressed, touched: button.touched, value: button.value }))\n };\n };\n const updateGamepadState = () => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad) {\n const index = gamepads.value.findIndex(({ index: index2 }) => index2 === gamepad.index);\n if (index > -1)\n gamepads.value[index] = stateFromGamepad(gamepad);\n }\n }\n };\n const { isActive, pause, resume } = useRafFn(updateGamepadState);\n const onGamepadConnected = (gamepad) => {\n if (!gamepads.value.some(({ index }) => index === gamepad.index)) {\n gamepads.value.push(stateFromGamepad(gamepad));\n onConnectedHook.trigger(gamepad.index);\n }\n resume();\n };\n const onGamepadDisconnected = (gamepad) => {\n gamepads.value = gamepads.value.filter((x) => x.index !== gamepad.index);\n onDisconnectedHook.trigger(gamepad.index);\n };\n useEventListener(\"gamepadconnected\", (e) => onGamepadConnected(e.gamepad));\n useEventListener(\"gamepaddisconnected\", (e) => onGamepadDisconnected(e.gamepad));\n tryOnMounted(() => {\n const _gamepads = (navigator == null ? void 0 : navigator.getGamepads()) || [];\n if (_gamepads) {\n for (let i = 0; i < _gamepads.length; ++i) {\n const gamepad = _gamepads[i];\n if (gamepad)\n onGamepadConnected(gamepad);\n }\n }\n });\n pause();\n return {\n isSupported,\n onConnected: onConnectedHook.on,\n onDisconnected: onDisconnectedHook.on,\n gamepads,\n pause,\n resume,\n isActive\n };\n}\n\nfunction useGeolocation(options = {}) {\n const {\n enableHighAccuracy = true,\n maximumAge = 3e4,\n timeout = 27e3,\n navigator = defaultNavigator\n } = options;\n const isSupported = useSupported(() => navigator && \"geolocation\" in navigator);\n const locatedAt = ref(null);\n const error = ref(null);\n const coords = ref({\n accuracy: 0,\n latitude: Infinity,\n longitude: Infinity,\n altitude: null,\n altitudeAccuracy: null,\n heading: null,\n speed: null\n });\n function updatePosition(position) {\n locatedAt.value = position.timestamp;\n coords.value = position.coords;\n error.value = null;\n }\n let watcher;\n if (isSupported.value) {\n watcher = navigator.geolocation.watchPosition(updatePosition, (err) => error.value = err, {\n enableHighAccuracy,\n maximumAge,\n timeout\n });\n }\n tryOnScopeDispose(() => {\n if (watcher && navigator)\n navigator.geolocation.clearWatch(watcher);\n });\n return {\n isSupported,\n coords,\n locatedAt,\n error\n };\n}\n\nconst defaultEvents$1 = [\"mousemove\", \"mousedown\", \"resize\", \"keydown\", \"touchstart\", \"wheel\"];\nconst oneMinute = 6e4;\nfunction useIdle(timeout = oneMinute, options = {}) {\n const {\n initialState = false,\n listenForVisibilityChange = true,\n events = defaultEvents$1,\n window = defaultWindow,\n eventFilter = throttleFilter(50)\n } = options;\n const idle = ref(initialState);\n const lastActive = ref(timestamp());\n let timer;\n const onEvent = createFilterWrapper(eventFilter, () => {\n idle.value = false;\n lastActive.value = timestamp();\n clearTimeout(timer);\n timer = setTimeout(() => idle.value = true, timeout);\n });\n if (window) {\n const document = window.document;\n for (const event of events)\n useEventListener(window, event, onEvent, { passive: true });\n if (listenForVisibilityChange) {\n useEventListener(document, \"visibilitychange\", () => {\n if (!document.hidden)\n onEvent();\n });\n }\n }\n timer = setTimeout(() => idle.value = true, timeout);\n return { idle, lastActive };\n}\n\nvar __defProp$9 = Object.defineProperty;\nvar __getOwnPropSymbols$a = Object.getOwnPropertySymbols;\nvar __hasOwnProp$a = Object.prototype.hasOwnProperty;\nvar __propIsEnum$a = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$9 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n if (__getOwnPropSymbols$a)\n for (var prop of __getOwnPropSymbols$a(b)) {\n if (__propIsEnum$a.call(b, prop))\n __defNormalProp$9(a, prop, b[prop]);\n }\n return a;\n};\nasync function loadImage(options) {\n return new Promise((resolve, reject) => {\n const img = new Image();\n const { src, srcset, sizes } = options;\n img.src = src;\n if (srcset)\n img.srcset = srcset;\n if (sizes)\n img.sizes = sizes;\n img.onload = () => resolve(img);\n img.onerror = reject;\n });\n}\nconst useImage = (options, asyncStateOptions = {}) => {\n const state = useAsyncState(() => loadImage(resolveUnref(options)), void 0, __spreadValues$9({\n resetOnExecute: true\n }, asyncStateOptions));\n watch(() => resolveUnref(options), () => state.execute(asyncStateOptions.delay), { deep: true });\n return state;\n};\n\nconst ARRIVED_STATE_THRESHOLD_PIXELS = 1;\nfunction useScroll(element, options = {}) {\n const {\n throttle = 0,\n idle = 200,\n onStop = noop,\n onScroll = noop,\n offset = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n },\n eventListenerOptions = {\n capture: false,\n passive: true\n },\n behavior = \"auto\"\n } = options;\n const internalX = ref(0);\n const internalY = ref(0);\n const x = computed({\n get() {\n return internalX.value;\n },\n set(x2) {\n scrollTo(x2, void 0);\n }\n });\n const y = computed({\n get() {\n return internalY.value;\n },\n set(y2) {\n scrollTo(void 0, y2);\n }\n });\n function scrollTo(_x, _y) {\n var _a, _b, _c;\n const _element = resolveUnref(element);\n if (!_element)\n return;\n (_c = _element instanceof Document ? document.body : _element) == null ? void 0 : _c.scrollTo({\n top: (_a = resolveUnref(_y)) != null ? _a : y.value,\n left: (_b = resolveUnref(_x)) != null ? _b : x.value,\n behavior: resolveUnref(behavior)\n });\n }\n const isScrolling = ref(false);\n const arrivedState = reactive({\n left: true,\n right: false,\n top: true,\n bottom: false\n });\n const directions = reactive({\n left: false,\n right: false,\n top: false,\n bottom: false\n });\n const onScrollEnd = useDebounceFn((e) => {\n isScrolling.value = false;\n directions.left = false;\n directions.right = false;\n directions.top = false;\n directions.bottom = false;\n onStop(e);\n }, throttle + idle);\n const onScrollHandler = (e) => {\n const eventTarget = e.target === document ? e.target.documentElement : e.target;\n const scrollLeft = eventTarget.scrollLeft;\n directions.left = scrollLeft < internalX.value;\n directions.right = scrollLeft > internalY.value;\n arrivedState.left = scrollLeft <= 0 + (offset.left || 0);\n arrivedState.right = scrollLeft + eventTarget.clientWidth >= eventTarget.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n internalX.value = scrollLeft;\n let scrollTop = eventTarget.scrollTop;\n if (e.target === document && !scrollTop)\n scrollTop = document.body.scrollTop;\n directions.top = scrollTop < internalY.value;\n directions.bottom = scrollTop > internalY.value;\n arrivedState.top = scrollTop <= 0 + (offset.top || 0);\n arrivedState.bottom = scrollTop + eventTarget.clientHeight >= eventTarget.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;\n internalY.value = scrollTop;\n isScrolling.value = true;\n onScrollEnd(e);\n onScroll(e);\n };\n useEventListener(element, \"scroll\", throttle ? useThrottleFn(onScrollHandler, throttle) : onScrollHandler, eventListenerOptions);\n return {\n x,\n y,\n isScrolling,\n arrivedState,\n directions\n };\n}\n\nvar __defProp$8 = Object.defineProperty;\nvar __defProps$2 = Object.defineProperties;\nvar __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$9 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$9 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$8 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n if (__getOwnPropSymbols$9)\n for (var prop of __getOwnPropSymbols$9(b)) {\n if (__propIsEnum$9.call(b, prop))\n __defNormalProp$8(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));\nfunction useInfiniteScroll(element, onLoadMore, options = {}) {\n var _a, _b;\n const direction = (_a = options.direction) != null ? _a : \"bottom\";\n const state = reactive(useScroll(element, __spreadProps$2(__spreadValues$8({}, options), {\n offset: __spreadValues$8({\n [direction]: (_b = options.distance) != null ? _b : 0\n }, options.offset)\n })));\n watch(() => state.arrivedState[direction], async (v) => {\n var _a2, _b2;\n if (v) {\n const elem = resolveUnref(element);\n const previous = {\n height: (_a2 = elem == null ? void 0 : elem.scrollHeight) != null ? _a2 : 0,\n width: (_b2 = elem == null ? void 0 : elem.scrollWidth) != null ? _b2 : 0\n };\n await onLoadMore(state);\n if (options.preserveScrollPosition && elem) {\n nextTick(() => {\n elem.scrollTo({\n top: elem.scrollHeight - previous.height,\n left: elem.scrollWidth - previous.width\n });\n });\n }\n }\n });\n}\n\nfunction useIntersectionObserver(target, callback, options = {}) {\n const {\n root,\n rootMargin = \"0px\",\n threshold = 0.1,\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"IntersectionObserver\" in window);\n let cleanup = noop;\n const stopWatch = isSupported.value ? watch(() => ({\n el: unrefElement(target),\n root: unrefElement(root)\n }), ({ el, root: root2 }) => {\n cleanup();\n if (!el)\n return;\n const observer = new IntersectionObserver(callback, {\n root: root2,\n rootMargin,\n threshold\n });\n observer.observe(el);\n cleanup = () => {\n observer.disconnect();\n cleanup = noop;\n };\n }, { immediate: true, flush: \"post\" }) : noop;\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst defaultEvents = [\"mousedown\", \"mouseup\", \"keydown\", \"keyup\"];\nfunction useKeyModifier(modifier, options = {}) {\n const {\n events = defaultEvents,\n document = defaultDocument,\n initial = null\n } = options;\n const state = ref(initial);\n if (document) {\n events.forEach((listenerEvent) => {\n useEventListener(document, listenerEvent, (evt) => {\n if (typeof evt.getModifierState === \"function\")\n state.value = evt.getModifierState(modifier);\n });\n });\n }\n return state;\n}\n\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);\n}\n\nconst DefaultMagicKeysAliasMap = {\n ctrl: \"control\",\n command: \"meta\",\n cmd: \"meta\",\n option: \"alt\",\n up: \"arrowup\",\n down: \"arrowdown\",\n left: \"arrowleft\",\n right: \"arrowright\"\n};\n\nfunction useMagicKeys(options = {}) {\n const {\n reactive: useReactive = false,\n target = defaultWindow,\n aliasMap = DefaultMagicKeysAliasMap,\n passive = true,\n onEventFired = noop\n } = options;\n const current = reactive(new Set());\n const obj = { toJSON() {\n return {};\n }, current };\n const refs = useReactive ? reactive(obj) : obj;\n const metaDeps = new Set();\n const usedKeys = new Set();\n function setRefs(key, value) {\n if (key in refs) {\n if (useReactive)\n refs[key] = value;\n else\n refs[key].value = value;\n }\n }\n function reset() {\n for (const key of usedKeys)\n setRefs(key, false);\n }\n function updateRefs(e, value) {\n var _a, _b;\n const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();\n const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();\n const values = [code, key].filter(Boolean);\n if (key) {\n if (value)\n current.add(key);\n else\n current.delete(key);\n }\n for (const key2 of values) {\n usedKeys.add(key2);\n setRefs(key2, value);\n }\n if (key === \"meta\" && !value) {\n metaDeps.forEach((key2) => {\n current.delete(key2);\n setRefs(key2, false);\n });\n metaDeps.clear();\n } else if (typeof e.getModifierState === \"function\" && e.getModifierState(\"Meta\") && value) {\n [...current, ...values].forEach((key2) => metaDeps.add(key2));\n }\n }\n useEventListener(target, \"keydown\", (e) => {\n updateRefs(e, true);\n return onEventFired(e);\n }, { passive });\n useEventListener(target, \"keyup\", (e) => {\n updateRefs(e, false);\n return onEventFired(e);\n }, { passive });\n useEventListener(\"blur\", reset, { passive: true });\n useEventListener(\"focus\", reset, { passive: true });\n const proxy = new Proxy(refs, {\n get(target2, prop, rec) {\n if (typeof prop !== \"string\")\n return Reflect.get(target2, prop, rec);\n prop = prop.toLowerCase();\n if (prop in aliasMap)\n prop = aliasMap[prop];\n if (!(prop in refs)) {\n if (/[+_-]/.test(prop)) {\n const keys = prop.split(/[+_-]/g).map((i) => i.trim());\n refs[prop] = computed(() => keys.every((key) => unref(proxy[key])));\n } else {\n refs[prop] = ref(false);\n }\n }\n const r = Reflect.get(target2, prop, rec);\n return useReactive ? unref(r) : r;\n }\n });\n return proxy;\n}\n\nvar __defProp$7 = Object.defineProperty;\nvar __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$8 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$8 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$7 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$8.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n if (__getOwnPropSymbols$8)\n for (var prop of __getOwnPropSymbols$8(b)) {\n if (__propIsEnum$8.call(b, prop))\n __defNormalProp$7(a, prop, b[prop]);\n }\n return a;\n};\nfunction usingElRef(source, cb) {\n if (resolveUnref(source))\n cb(resolveUnref(source));\n}\nfunction timeRangeToArray(timeRanges) {\n let ranges = [];\n for (let i = 0; i < timeRanges.length; ++i)\n ranges = [...ranges, [timeRanges.start(i), timeRanges.end(i)]];\n return ranges;\n}\nfunction tracksToArray(tracks) {\n return Array.from(tracks).map(({ label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }, id) => ({ id, label, kind, language, mode, activeCues, cues, inBandMetadataTrackDispatchType }));\n}\nconst defaultOptions = {\n src: \"\",\n tracks: []\n};\nfunction useMediaControls(target, options = {}) {\n options = __spreadValues$7(__spreadValues$7({}, defaultOptions), options);\n const {\n document = defaultDocument\n } = options;\n const currentTime = ref(0);\n const duration = ref(0);\n const seeking = ref(false);\n const volume = ref(1);\n const waiting = ref(false);\n const ended = ref(false);\n const playing = ref(false);\n const rate = ref(1);\n const stalled = ref(false);\n const buffered = ref([]);\n const tracks = ref([]);\n const selectedTrack = ref(-1);\n const isPictureInPicture = ref(false);\n const muted = ref(false);\n const supportsPictureInPicture = document && \"pictureInPictureEnabled\" in document;\n const sourceErrorEvent = createEventHook();\n const disableTrack = (track) => {\n usingElRef(target, (el) => {\n if (track) {\n const id = isNumber(track) ? track : track.id;\n el.textTracks[id].mode = \"disabled\";\n } else {\n for (let i = 0; i < el.textTracks.length; ++i)\n el.textTracks[i].mode = \"disabled\";\n }\n selectedTrack.value = -1;\n });\n };\n const enableTrack = (track, disableTracks = true) => {\n usingElRef(target, (el) => {\n const id = isNumber(track) ? track : track.id;\n if (disableTracks)\n disableTrack();\n el.textTracks[id].mode = \"showing\";\n selectedTrack.value = id;\n });\n };\n const togglePictureInPicture = () => {\n return new Promise((resolve, reject) => {\n usingElRef(target, async (el) => {\n if (supportsPictureInPicture) {\n if (!isPictureInPicture.value) {\n el.requestPictureInPicture().then(resolve).catch(reject);\n } else {\n document.exitPictureInPicture().then(resolve).catch(reject);\n }\n }\n });\n });\n };\n watchEffect(() => {\n if (!document)\n return;\n const el = resolveUnref(target);\n if (!el)\n return;\n const src = resolveUnref(options.src);\n let sources = [];\n if (!src)\n return;\n if (isString(src))\n sources = [{ src }];\n else if (Array.isArray(src))\n sources = src;\n else if (isObject(src))\n sources = [src];\n el.querySelectorAll(\"source\").forEach((e) => {\n e.removeEventListener(\"error\", sourceErrorEvent.trigger);\n e.remove();\n });\n sources.forEach(({ src: src2, type }) => {\n const source = document.createElement(\"source\");\n source.setAttribute(\"src\", src2);\n source.setAttribute(\"type\", type || \"\");\n source.addEventListener(\"error\", sourceErrorEvent.trigger);\n el.appendChild(source);\n });\n el.load();\n });\n tryOnScopeDispose(() => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.querySelectorAll(\"source\").forEach((e) => e.removeEventListener(\"error\", sourceErrorEvent.trigger));\n });\n watch(volume, (vol) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.volume = vol;\n });\n watch(muted, (mute) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.muted = mute;\n });\n watch(rate, (rate2) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.playbackRate = rate2;\n });\n watchEffect(() => {\n if (!document)\n return;\n const textTracks = resolveUnref(options.tracks);\n const el = resolveUnref(target);\n if (!textTracks || !textTracks.length || !el)\n return;\n el.querySelectorAll(\"track\").forEach((e) => e.remove());\n textTracks.forEach(({ default: isDefault, kind, label, src, srcLang }, i) => {\n const track = document.createElement(\"track\");\n track.default = isDefault || false;\n track.kind = kind;\n track.label = label;\n track.src = src;\n track.srclang = srcLang;\n if (track.default)\n selectedTrack.value = i;\n el.appendChild(track);\n });\n });\n const { ignoreUpdates: ignoreCurrentTimeUpdates } = watchIgnorable(currentTime, (time) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n el.currentTime = time;\n });\n const { ignoreUpdates: ignorePlayingUpdates } = watchIgnorable(playing, (isPlaying) => {\n const el = resolveUnref(target);\n if (!el)\n return;\n isPlaying ? el.play() : el.pause();\n });\n useEventListener(target, \"timeupdate\", () => ignoreCurrentTimeUpdates(() => currentTime.value = resolveUnref(target).currentTime));\n useEventListener(target, \"durationchange\", () => duration.value = resolveUnref(target).duration);\n useEventListener(target, \"progress\", () => buffered.value = timeRangeToArray(resolveUnref(target).buffered));\n useEventListener(target, \"seeking\", () => seeking.value = true);\n useEventListener(target, \"seeked\", () => seeking.value = false);\n useEventListener(target, \"waiting\", () => waiting.value = true);\n useEventListener(target, \"playing\", () => waiting.value = false);\n useEventListener(target, \"ratechange\", () => rate.value = resolveUnref(target).playbackRate);\n useEventListener(target, \"stalled\", () => stalled.value = true);\n useEventListener(target, \"ended\", () => ended.value = true);\n useEventListener(target, \"pause\", () => ignorePlayingUpdates(() => playing.value = false));\n useEventListener(target, \"play\", () => ignorePlayingUpdates(() => playing.value = true));\n useEventListener(target, \"enterpictureinpicture\", () => isPictureInPicture.value = true);\n useEventListener(target, \"leavepictureinpicture\", () => isPictureInPicture.value = false);\n useEventListener(target, \"volumechange\", () => {\n const el = resolveUnref(target);\n if (!el)\n return;\n volume.value = el.volume;\n muted.value = el.muted;\n });\n const listeners = [];\n const stop = watch([target], () => {\n const el = resolveUnref(target);\n if (!el)\n return;\n stop();\n listeners[0] = useEventListener(el.textTracks, \"addtrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[1] = useEventListener(el.textTracks, \"removetrack\", () => tracks.value = tracksToArray(el.textTracks));\n listeners[2] = useEventListener(el.textTracks, \"change\", () => tracks.value = tracksToArray(el.textTracks));\n });\n tryOnScopeDispose(() => listeners.forEach((listener) => listener()));\n return {\n currentTime,\n duration,\n waiting,\n seeking,\n ended,\n stalled,\n buffered,\n playing,\n rate,\n volume,\n muted,\n tracks,\n selectedTrack,\n enableTrack,\n disableTrack,\n supportsPictureInPicture,\n togglePictureInPicture,\n isPictureInPicture,\n onSourceError: sourceErrorEvent.on\n };\n}\n\nconst getMapVue2Compat = () => {\n const data = reactive({});\n return {\n get: (key) => data[key],\n set: (key, value) => set(data, key, value),\n has: (key) => hasOwn(data, key),\n delete: (key) => del(data, key),\n clear: () => {\n Object.keys(data).forEach((key) => {\n del(data, key);\n });\n }\n };\n};\nfunction useMemoize(resolver, options) {\n const initCache = () => {\n if (options == null ? void 0 : options.cache)\n return reactive(options.cache);\n if (isVue2)\n return getMapVue2Compat();\n return reactive(new Map());\n };\n const cache = initCache();\n const generateKey = (...args) => (options == null ? void 0 : options.getKey) ? options.getKey(...args) : JSON.stringify(args);\n const _loadData = (key, ...args) => {\n cache.set(key, resolver(...args));\n return cache.get(key);\n };\n const loadData = (...args) => _loadData(generateKey(...args), ...args);\n const deleteData = (...args) => {\n cache.delete(generateKey(...args));\n };\n const clearData = () => {\n cache.clear();\n };\n const memoized = (...args) => {\n const key = generateKey(...args);\n if (cache.has(key))\n return cache.get(key);\n return _loadData(key, ...args);\n };\n memoized.load = loadData;\n memoized.delete = deleteData;\n memoized.clear = clearData;\n memoized.generateKey = generateKey;\n memoized.cache = cache;\n return memoized;\n}\n\nfunction useMemory(options = {}) {\n const memory = ref();\n const isSupported = useSupported(() => typeof performance !== \"undefined\" && \"memory\" in performance);\n if (isSupported.value) {\n const { interval = 1e3 } = options;\n useIntervalFn(() => {\n memory.value = performance.memory;\n }, interval, { immediate: options.immediate, immediateCallback: options.immediateCallback });\n }\n return { isSupported, memory };\n}\n\nfunction useMounted() {\n const isMounted = ref(false);\n onMounted(() => {\n isMounted.value = true;\n });\n return isMounted;\n}\n\nfunction useMouse(options = {}) {\n const {\n type = \"page\",\n touch = true,\n resetOnTouchEnds = false,\n initialValue = { x: 0, y: 0 },\n window = defaultWindow,\n eventFilter\n } = options;\n const x = ref(initialValue.x);\n const y = ref(initialValue.y);\n const sourceType = ref(null);\n const mouseHandler = (event) => {\n if (type === \"page\") {\n x.value = event.pageX;\n y.value = event.pageY;\n } else if (type === \"client\") {\n x.value = event.clientX;\n y.value = event.clientY;\n }\n sourceType.value = \"mouse\";\n };\n const reset = () => {\n x.value = initialValue.x;\n y.value = initialValue.y;\n };\n const touchHandler = (event) => {\n if (event.touches.length > 0) {\n const touch2 = event.touches[0];\n if (type === \"page\") {\n x.value = touch2.pageX;\n y.value = touch2.pageY;\n } else if (type === \"client\") {\n x.value = touch2.clientX;\n y.value = touch2.clientY;\n }\n sourceType.value = \"touch\";\n }\n };\n const mouseHandlerWrapper = (event) => {\n return eventFilter === void 0 ? mouseHandler(event) : eventFilter(() => mouseHandler(event), {});\n };\n const touchHandlerWrapper = (event) => {\n return eventFilter === void 0 ? touchHandler(event) : eventFilter(() => touchHandler(event), {});\n };\n if (window) {\n useEventListener(window, \"mousemove\", mouseHandlerWrapper, { passive: true });\n useEventListener(window, \"dragover\", mouseHandlerWrapper, { passive: true });\n if (touch) {\n useEventListener(window, \"touchstart\", touchHandlerWrapper, { passive: true });\n useEventListener(window, \"touchmove\", touchHandlerWrapper, { passive: true });\n if (resetOnTouchEnds)\n useEventListener(window, \"touchend\", reset, { passive: true });\n }\n }\n return {\n x,\n y,\n sourceType\n };\n}\n\nfunction useMouseInElement(target, options = {}) {\n const {\n handleOutside = true,\n window = defaultWindow\n } = options;\n const { x, y, sourceType } = useMouse(options);\n const targetRef = ref(target != null ? target : window == null ? void 0 : window.document.body);\n const elementX = ref(0);\n const elementY = ref(0);\n const elementPositionX = ref(0);\n const elementPositionY = ref(0);\n const elementHeight = ref(0);\n const elementWidth = ref(0);\n const isOutside = ref(true);\n let stop = () => {\n };\n if (window) {\n stop = watch([targetRef, x, y], () => {\n const el = unrefElement(targetRef);\n if (!el)\n return;\n const {\n left,\n top,\n width,\n height\n } = el.getBoundingClientRect();\n elementPositionX.value = left + window.pageXOffset;\n elementPositionY.value = top + window.pageYOffset;\n elementHeight.value = height;\n elementWidth.value = width;\n const elX = x.value - elementPositionX.value;\n const elY = y.value - elementPositionY.value;\n isOutside.value = width === 0 || height === 0 || elX < 0 || elY < 0 || elX > width || elY > height;\n if (handleOutside || !isOutside.value) {\n elementX.value = elX;\n elementY.value = elY;\n }\n }, { immediate: true });\n }\n return {\n x,\n y,\n sourceType,\n elementX,\n elementY,\n elementPositionX,\n elementPositionY,\n elementHeight,\n elementWidth,\n isOutside,\n stop\n };\n}\n\nfunction useMousePressed(options = {}) {\n const {\n touch = true,\n drag = true,\n initialValue = false,\n window = defaultWindow\n } = options;\n const pressed = ref(initialValue);\n const sourceType = ref(null);\n if (!window) {\n return {\n pressed,\n sourceType\n };\n }\n const onPressed = (srcType) => () => {\n pressed.value = true;\n sourceType.value = srcType;\n };\n const onReleased = () => {\n pressed.value = false;\n sourceType.value = null;\n };\n const target = computed(() => unrefElement(options.target) || window);\n useEventListener(target, \"mousedown\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"mouseleave\", onReleased, { passive: true });\n useEventListener(window, \"mouseup\", onReleased, { passive: true });\n if (drag) {\n useEventListener(target, \"dragstart\", onPressed(\"mouse\"), { passive: true });\n useEventListener(window, \"drop\", onReleased, { passive: true });\n useEventListener(window, \"dragend\", onReleased, { passive: true });\n }\n if (touch) {\n useEventListener(target, \"touchstart\", onPressed(\"touch\"), { passive: true });\n useEventListener(window, \"touchend\", onReleased, { passive: true });\n useEventListener(window, \"touchcancel\", onReleased, { passive: true });\n }\n return {\n pressed,\n sourceType\n };\n}\n\nvar __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$7 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$7 = Object.prototype.propertyIsEnumerable;\nvar __objRest$1 = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$7)\n for (var prop of __getOwnPropSymbols$7(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nfunction useMutationObserver(target, callback, options = {}) {\n const _a = options, { window = defaultWindow } = _a, mutationOptions = __objRest$1(_a, [\"window\"]);\n let observer;\n const isSupported = useSupported(() => window && \"MutationObserver\" in window);\n const cleanup = () => {\n if (observer) {\n observer.disconnect();\n observer = void 0;\n }\n };\n const stopWatch = watch(() => unrefElement(target), (el) => {\n cleanup();\n if (isSupported.value && window && el) {\n observer = new MutationObserver(callback);\n observer.observe(el, mutationOptions);\n }\n }, { immediate: true });\n const stop = () => {\n cleanup();\n stopWatch();\n };\n tryOnScopeDispose(stop);\n return {\n isSupported,\n stop\n };\n}\n\nconst useNavigatorLanguage = (options = {}) => {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"language\" in navigator);\n const language = ref(navigator == null ? void 0 : navigator.language);\n useEventListener(window, \"languagechange\", () => {\n if (navigator)\n language.value = navigator.language;\n });\n return {\n isSupported,\n language\n };\n};\n\nfunction useNetwork(options = {}) {\n const { window = defaultWindow } = options;\n const navigator = window == null ? void 0 : window.navigator;\n const isSupported = useSupported(() => navigator && \"connection\" in navigator);\n const isOnline = ref(true);\n const saveData = ref(false);\n const offlineAt = ref(void 0);\n const onlineAt = ref(void 0);\n const downlink = ref(void 0);\n const downlinkMax = ref(void 0);\n const rtt = ref(void 0);\n const effectiveType = ref(void 0);\n const type = ref(\"unknown\");\n const connection = isSupported.value && navigator.connection;\n function updateNetworkInformation() {\n if (!navigator)\n return;\n isOnline.value = navigator.onLine;\n offlineAt.value = isOnline.value ? void 0 : Date.now();\n onlineAt.value = isOnline.value ? Date.now() : void 0;\n if (connection) {\n downlink.value = connection.downlink;\n downlinkMax.value = connection.downlinkMax;\n effectiveType.value = connection.effectiveType;\n rtt.value = connection.rtt;\n saveData.value = connection.saveData;\n type.value = connection.type;\n }\n }\n if (window) {\n useEventListener(window, \"offline\", () => {\n isOnline.value = false;\n offlineAt.value = Date.now();\n });\n useEventListener(window, \"online\", () => {\n isOnline.value = true;\n onlineAt.value = Date.now();\n });\n }\n if (connection)\n useEventListener(connection, \"change\", updateNetworkInformation, false);\n updateNetworkInformation();\n return {\n isSupported,\n isOnline,\n saveData,\n offlineAt,\n onlineAt,\n downlink,\n downlinkMax,\n effectiveType,\n rtt,\n type\n };\n}\n\nvar __defProp$6 = Object.defineProperty;\nvar __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$6 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$6 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$6 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$6.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n if (__getOwnPropSymbols$6)\n for (var prop of __getOwnPropSymbols$6(b)) {\n if (__propIsEnum$6.call(b, prop))\n __defNormalProp$6(a, prop, b[prop]);\n }\n return a;\n};\nfunction useNow(options = {}) {\n const {\n controls: exposeControls = false,\n interval = \"requestAnimationFrame\"\n } = options;\n const now = ref(new Date());\n const update = () => now.value = new Date();\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(update, { immediate: true }) : useIntervalFn(update, interval, { immediate: true });\n if (exposeControls) {\n return __spreadValues$6({\n now\n }, controls);\n } else {\n return now;\n }\n}\n\nfunction useObjectUrl(object) {\n const url = ref();\n const release = () => {\n if (url.value)\n URL.revokeObjectURL(url.value);\n url.value = void 0;\n };\n watch(() => unref(object), (newObject) => {\n release();\n if (newObject)\n url.value = URL.createObjectURL(newObject);\n }, { immediate: true });\n tryOnScopeDispose(release);\n return readonly(url);\n}\n\nfunction useClamp(value, min, max) {\n const _value = ref(value);\n return computed({\n get() {\n return _value.value = clamp(_value.value, resolveUnref(min), resolveUnref(max));\n },\n set(value2) {\n _value.value = clamp(value2, resolveUnref(min), resolveUnref(max));\n }\n });\n}\n\nfunction useOffsetPagination(options) {\n const {\n total = Infinity,\n pageSize = 10,\n page = 1,\n onPageChange = noop,\n onPageSizeChange = noop,\n onPageCountChange = noop\n } = options;\n const currentPageSize = useClamp(pageSize, 1, Infinity);\n const pageCount = computed(() => Math.max(1, Math.ceil(unref(total) / unref(currentPageSize))));\n const currentPage = useClamp(page, 1, pageCount);\n const isFirstPage = computed(() => currentPage.value === 1);\n const isLastPage = computed(() => currentPage.value === pageCount.value);\n if (isRef(page))\n syncRef(page, currentPage);\n if (isRef(pageSize))\n syncRef(pageSize, currentPageSize);\n function prev() {\n currentPage.value--;\n }\n function next() {\n currentPage.value++;\n }\n const returnValue = {\n currentPage,\n currentPageSize,\n pageCount,\n isFirstPage,\n isLastPage,\n prev,\n next\n };\n watch(currentPage, () => {\n onPageChange(reactive(returnValue));\n });\n watch(currentPageSize, () => {\n onPageSizeChange(reactive(returnValue));\n });\n watch(pageCount, () => {\n onPageCountChange(reactive(returnValue));\n });\n return returnValue;\n}\n\nfunction useOnline(options = {}) {\n const { isOnline } = useNetwork(options);\n return isOnline;\n}\n\nfunction usePageLeave(options = {}) {\n const { window = defaultWindow } = options;\n const isLeft = ref(false);\n const handler = (event) => {\n if (!window)\n return;\n event = event || window.event;\n const from = event.relatedTarget || event.toElement;\n isLeft.value = !from;\n };\n if (window) {\n useEventListener(window, \"mouseout\", handler, { passive: true });\n useEventListener(window.document, \"mouseleave\", handler, { passive: true });\n useEventListener(window.document, \"mouseenter\", handler, { passive: true });\n }\n return isLeft;\n}\n\nfunction useParallax(target, options = {}) {\n const {\n deviceOrientationTiltAdjust = (i) => i,\n deviceOrientationRollAdjust = (i) => i,\n mouseTiltAdjust = (i) => i,\n mouseRollAdjust = (i) => i,\n window = defaultWindow\n } = options;\n const orientation = reactive(useDeviceOrientation({ window }));\n const {\n elementX: x,\n elementY: y,\n elementWidth: width,\n elementHeight: height\n } = useMouseInElement(target, { handleOutside: false, window });\n const source = computed(() => {\n if (orientation.isSupported && (orientation.alpha != null && orientation.alpha !== 0 || orientation.gamma != null && orientation.gamma !== 0))\n return \"deviceOrientation\";\n return \"mouse\";\n });\n const roll = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = -orientation.beta / 90;\n return deviceOrientationRollAdjust(value);\n } else {\n const value = -(y.value - height.value / 2) / height.value;\n return mouseRollAdjust(value);\n }\n });\n const tilt = computed(() => {\n if (source.value === \"deviceOrientation\") {\n const value = orientation.gamma / 90;\n return deviceOrientationTiltAdjust(value);\n } else {\n const value = (x.value - width.value / 2) / width.value;\n return mouseTiltAdjust(value);\n }\n });\n return { roll, tilt, source };\n}\n\nvar __defProp$5 = Object.defineProperty;\nvar __defProps$1 = Object.defineProperties;\nvar __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$5 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$5 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$5 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n if (__getOwnPropSymbols$5)\n for (var prop of __getOwnPropSymbols$5(b)) {\n if (__propIsEnum$5.call(b, prop))\n __defNormalProp$5(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));\nconst defaultState = {\n x: 0,\n y: 0,\n pointerId: 0,\n pressure: 0,\n tiltX: 0,\n tiltY: 0,\n width: 0,\n height: 0,\n twist: 0,\n pointerType: null\n};\nconst keys = /* @__PURE__ */ Object.keys(defaultState);\nfunction usePointer(options = {}) {\n const {\n target = defaultWindow\n } = options;\n const isInside = ref(false);\n const state = ref(options.initialValue || {});\n Object.assign(state.value, defaultState, state.value);\n const handler = (event) => {\n isInside.value = true;\n if (options.pointerTypes && !options.pointerTypes.includes(event.pointerType))\n return;\n state.value = objectPick(event, keys, false);\n };\n if (target) {\n useEventListener(target, \"pointerdown\", handler, { passive: true });\n useEventListener(target, \"pointermove\", handler, { passive: true });\n useEventListener(target, \"pointerleave\", () => isInside.value = false, { passive: true });\n }\n return __spreadProps$1(__spreadValues$5({}, toRefs(state)), {\n isInside\n });\n}\n\nvar SwipeDirection;\n(function(SwipeDirection2) {\n SwipeDirection2[\"UP\"] = \"UP\";\n SwipeDirection2[\"RIGHT\"] = \"RIGHT\";\n SwipeDirection2[\"DOWN\"] = \"DOWN\";\n SwipeDirection2[\"LEFT\"] = \"LEFT\";\n SwipeDirection2[\"NONE\"] = \"NONE\";\n})(SwipeDirection || (SwipeDirection = {}));\nfunction useSwipe(target, options = {}) {\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart,\n passive = true,\n window = defaultWindow\n } = options;\n const coordsStart = reactive({ x: 0, y: 0 });\n const coordsEnd = reactive({ x: 0, y: 0 });\n const diffX = computed(() => coordsStart.x - coordsEnd.x);\n const diffY = computed(() => coordsStart.y - coordsEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(diffX.value), abs(diffY.value)) >= threshold);\n const isSwiping = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(diffX.value) > abs(diffY.value)) {\n return diffX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return diffY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const getTouchEventCoords = (e) => [e.touches[0].clientX, e.touches[0].clientY];\n const updateCoordsStart = (x, y) => {\n coordsStart.x = x;\n coordsStart.y = y;\n };\n const updateCoordsEnd = (x, y) => {\n coordsEnd.x = x;\n coordsEnd.y = y;\n };\n let listenerOptions;\n const isPassiveEventSupported = checkPassiveEventSupport(window == null ? void 0 : window.document);\n if (!passive)\n listenerOptions = isPassiveEventSupported ? { passive: false, capture: true } : { capture: true };\n else\n listenerOptions = isPassiveEventSupported ? { passive: true } : { capture: false };\n const onTouchEnd = (e) => {\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isSwiping.value = false;\n };\n const stops = [\n useEventListener(target, \"touchstart\", (e) => {\n if (listenerOptions.capture && !listenerOptions.passive)\n e.preventDefault();\n const [x, y] = getTouchEventCoords(e);\n updateCoordsStart(x, y);\n updateCoordsEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }, listenerOptions),\n useEventListener(target, \"touchmove\", (e) => {\n const [x, y] = getTouchEventCoords(e);\n updateCoordsEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }, listenerOptions),\n useEventListener(target, \"touchend\", onTouchEnd, listenerOptions),\n useEventListener(target, \"touchcancel\", onTouchEnd, listenerOptions)\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isPassiveEventSupported,\n isSwiping,\n direction,\n coordsStart,\n coordsEnd,\n lengthX: diffX,\n lengthY: diffY,\n stop\n };\n}\nfunction checkPassiveEventSupport(document) {\n if (!document)\n return false;\n let supportsPassive = false;\n const optionsBlock = {\n get passive() {\n supportsPassive = true;\n return false;\n }\n };\n document.addEventListener(\"x\", noop, optionsBlock);\n document.removeEventListener(\"x\", noop);\n return supportsPassive;\n}\n\nfunction usePointerSwipe(target, options = {}) {\n const targetRef = resolveRef(target);\n const {\n threshold = 50,\n onSwipe,\n onSwipeEnd,\n onSwipeStart\n } = options;\n const posStart = reactive({ x: 0, y: 0 });\n const updatePosStart = (x, y) => {\n posStart.x = x;\n posStart.y = y;\n };\n const posEnd = reactive({ x: 0, y: 0 });\n const updatePosEnd = (x, y) => {\n posEnd.x = x;\n posEnd.y = y;\n };\n const distanceX = computed(() => posStart.x - posEnd.x);\n const distanceY = computed(() => posStart.y - posEnd.y);\n const { max, abs } = Math;\n const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);\n const isSwiping = ref(false);\n const isPointerDown = ref(false);\n const direction = computed(() => {\n if (!isThresholdExceeded.value)\n return SwipeDirection.NONE;\n if (abs(distanceX.value) > abs(distanceY.value)) {\n return distanceX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;\n } else {\n return distanceY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;\n }\n });\n const filterEvent = (e) => {\n if (options.pointerTypes)\n return options.pointerTypes.includes(e.pointerType);\n return true;\n };\n const stops = [\n useEventListener(target, \"pointerdown\", (e) => {\n var _a, _b;\n if (!filterEvent(e))\n return;\n isPointerDown.value = true;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"none\");\n const eventTarget = e.target;\n eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);\n const { clientX: x, clientY: y } = e;\n updatePosStart(x, y);\n updatePosEnd(x, y);\n onSwipeStart == null ? void 0 : onSwipeStart(e);\n }),\n useEventListener(target, \"pointermove\", (e) => {\n if (!filterEvent(e))\n return;\n if (!isPointerDown.value)\n return;\n const { clientX: x, clientY: y } = e;\n updatePosEnd(x, y);\n if (!isSwiping.value && isThresholdExceeded.value)\n isSwiping.value = true;\n if (isSwiping.value)\n onSwipe == null ? void 0 : onSwipe(e);\n }),\n useEventListener(target, \"pointerup\", (e) => {\n var _a, _b;\n if (!filterEvent(e))\n return;\n if (isSwiping.value)\n onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);\n isPointerDown.value = false;\n isSwiping.value = false;\n (_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty(\"touch-action\", \"initial\");\n })\n ];\n const stop = () => stops.forEach((s) => s());\n return {\n isSwiping: readonly(isSwiping),\n direction: readonly(direction),\n posStart: readonly(posStart),\n posEnd: readonly(posEnd),\n distanceX,\n distanceY,\n stop\n };\n}\n\nfunction usePreferredColorScheme(options) {\n const isLight = useMediaQuery(\"(prefers-color-scheme: light)\", options);\n const isDark = useMediaQuery(\"(prefers-color-scheme: dark)\", options);\n return computed(() => {\n if (isDark.value)\n return \"dark\";\n if (isLight.value)\n return \"light\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredContrast(options) {\n const isMore = useMediaQuery(\"(prefers-contrast: more)\", options);\n const isLess = useMediaQuery(\"(prefers-contrast: less)\", options);\n const isCustom = useMediaQuery(\"(prefers-contrast: custom)\", options);\n return computed(() => {\n if (isMore.value)\n return \"more\";\n if (isLess.value)\n return \"less\";\n if (isCustom.value)\n return \"custom\";\n return \"no-preference\";\n });\n}\n\nfunction usePreferredLanguages(options = {}) {\n const { window = defaultWindow } = options;\n if (!window)\n return ref([\"en\"]);\n const navigator = window.navigator;\n const value = ref(navigator.languages);\n useEventListener(window, \"languagechange\", () => {\n value.value = navigator.languages;\n });\n return value;\n}\n\nfunction usePreferredReducedMotion(options) {\n const isReduced = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return computed(() => {\n if (isReduced.value)\n return \"reduce\";\n return \"no-preference\";\n });\n}\n\nconst useScreenOrientation = (options = {}) => {\n const {\n window = defaultWindow\n } = options;\n const isSupported = useSupported(() => window && \"screen\" in window && \"orientation\" in window.screen);\n const screenOrientation = isSupported.value ? window.screen.orientation : {};\n const orientation = ref(screenOrientation.type);\n const angle = ref(screenOrientation.angle || 0);\n if (isSupported.value) {\n useEventListener(window, \"orientationchange\", () => {\n orientation.value = screenOrientation.type;\n angle.value = screenOrientation.angle;\n });\n }\n const lockOrientation = (type) => {\n if (!isSupported.value)\n return Promise.reject(new Error(\"Not supported\"));\n return screenOrientation.lock(type);\n };\n const unlockOrientation = () => {\n if (isSupported.value)\n screenOrientation.unlock();\n };\n return {\n isSupported,\n orientation,\n angle,\n lockOrientation,\n unlockOrientation\n };\n};\n\nconst topVarName = \"--vueuse-safe-area-top\";\nconst rightVarName = \"--vueuse-safe-area-right\";\nconst bottomVarName = \"--vueuse-safe-area-bottom\";\nconst leftVarName = \"--vueuse-safe-area-left\";\nfunction useScreenSafeArea() {\n const top = ref(\"\");\n const right = ref(\"\");\n const bottom = ref(\"\");\n const left = ref(\"\");\n if (isClient) {\n const topCssVar = useCssVar(topVarName);\n const rightCssVar = useCssVar(rightVarName);\n const bottomCssVar = useCssVar(bottomVarName);\n const leftCssVar = useCssVar(leftVarName);\n topCssVar.value = \"env(safe-area-inset-top, 0px)\";\n rightCssVar.value = \"env(safe-area-inset-right, 0px)\";\n bottomCssVar.value = \"env(safe-area-inset-bottom, 0px)\";\n leftCssVar.value = \"env(safe-area-inset-left, 0px)\";\n update();\n useEventListener(\"resize\", useDebounceFn(update));\n }\n function update() {\n top.value = getValue(topVarName);\n right.value = getValue(rightVarName);\n bottom.value = getValue(bottomVarName);\n left.value = getValue(leftVarName);\n }\n return {\n top,\n right,\n bottom,\n left,\n update\n };\n}\nfunction getValue(position) {\n return getComputedStyle(document.documentElement).getPropertyValue(position);\n}\n\nfunction useScriptTag(src, onLoaded = noop, options = {}) {\n const {\n immediate = true,\n manual = false,\n type = \"text/javascript\",\n async = true,\n crossOrigin,\n referrerPolicy,\n noModule,\n defer,\n document = defaultDocument,\n attrs = {}\n } = options;\n const scriptTag = ref(null);\n let _promise = null;\n const loadScript = (waitForScriptLoad) => new Promise((resolve, reject) => {\n const resolveWithElement = (el2) => {\n scriptTag.value = el2;\n resolve(el2);\n return el2;\n };\n if (!document) {\n resolve(false);\n return;\n }\n let shouldAppend = false;\n let el = document.querySelector(`script[src=\"${resolveUnref(src)}\"]`);\n if (!el) {\n el = document.createElement(\"script\");\n el.type = type;\n el.async = async;\n el.src = resolveUnref(src);\n if (defer)\n el.defer = defer;\n if (crossOrigin)\n el.crossOrigin = crossOrigin;\n if (noModule)\n el.noModule = noModule;\n if (referrerPolicy)\n el.referrerPolicy = referrerPolicy;\n Object.entries(attrs).forEach(([name, value]) => el == null ? void 0 : el.setAttribute(name, value));\n shouldAppend = true;\n } else if (el.hasAttribute(\"data-loaded\")) {\n resolveWithElement(el);\n }\n el.addEventListener(\"error\", (event) => reject(event));\n el.addEventListener(\"abort\", (event) => reject(event));\n el.addEventListener(\"load\", () => {\n el.setAttribute(\"data-loaded\", \"true\");\n onLoaded(el);\n resolveWithElement(el);\n });\n if (shouldAppend)\n el = document.head.appendChild(el);\n if (!waitForScriptLoad)\n resolveWithElement(el);\n });\n const load = (waitForScriptLoad = true) => {\n if (!_promise)\n _promise = loadScript(waitForScriptLoad);\n return _promise;\n };\n const unload = () => {\n if (!document)\n return;\n _promise = null;\n if (scriptTag.value)\n scriptTag.value = null;\n const el = document.querySelector(`script[src=\"${resolveUnref(src)}\"]`);\n if (el)\n document.head.removeChild(el);\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnUnmounted(unload);\n return { scriptTag, load, unload };\n}\n\nfunction preventDefault(rawEvent) {\n const e = rawEvent || window.event;\n if (e.touches.length > 1)\n return true;\n if (e.preventDefault)\n e.preventDefault();\n return false;\n}\nfunction useScrollLock(element, initialState = false) {\n const isLocked = ref(initialState);\n let stopTouchMoveListener = null;\n let initialOverflow;\n watch(resolveRef(element), (el) => {\n if (el) {\n const ele = el;\n initialOverflow = ele.style.overflow;\n if (isLocked.value)\n ele.style.overflow = \"hidden\";\n }\n }, {\n immediate: true\n });\n const lock = () => {\n const ele = resolveUnref(element);\n if (!ele || isLocked.value)\n return;\n if (isIOS) {\n stopTouchMoveListener = useEventListener(ele, \"touchmove\", preventDefault, { passive: false });\n }\n ele.style.overflow = \"hidden\";\n isLocked.value = true;\n };\n const unlock = () => {\n const ele = resolveUnref(element);\n if (!ele || !isLocked.value)\n return;\n isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());\n ele.style.overflow = initialOverflow;\n isLocked.value = false;\n };\n tryOnScopeDispose(unlock);\n return computed({\n get() {\n return isLocked.value;\n },\n set(v) {\n if (v)\n lock();\n else\n unlock();\n }\n });\n}\n\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { window = defaultWindow } = options;\n return useStorage(key, initialValue, window == null ? void 0 : window.sessionStorage, options);\n}\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$4 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$4 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$4 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n if (__getOwnPropSymbols$4)\n for (var prop of __getOwnPropSymbols$4(b)) {\n if (__propIsEnum$4.call(b, prop))\n __defNormalProp$4(a, prop, b[prop]);\n }\n return a;\n};\nfunction useShare(shareOptions = {}, options = {}) {\n const { navigator = defaultNavigator } = options;\n const _navigator = navigator;\n const isSupported = useSupported(() => _navigator && \"canShare\" in _navigator);\n const share = async (overrideOptions = {}) => {\n if (isSupported.value) {\n const data = __spreadValues$4(__spreadValues$4({}, resolveUnref(shareOptions)), resolveUnref(overrideOptions));\n let granted = true;\n if (data.files && _navigator.canShare)\n granted = _navigator.canShare({ files: data.files });\n if (granted)\n return _navigator.share(data);\n }\n };\n return {\n isSupported,\n share\n };\n}\n\nconst defaultSortFn = (source, compareFn) => source.sort(compareFn);\nconst defaultCompare = (a, b) => a - b;\nfunction useSorted(...args) {\n var _a, _b, _c, _d;\n const [source] = args;\n let compareFn = defaultCompare;\n let options = {};\n if (args.length === 2) {\n if (typeof args[1] === \"object\") {\n options = args[1];\n compareFn = (_a = options.compareFn) != null ? _a : defaultCompare;\n } else {\n compareFn = (_b = args[1]) != null ? _b : defaultCompare;\n }\n } else if (args.length > 2) {\n compareFn = (_c = args[1]) != null ? _c : defaultCompare;\n options = (_d = args[2]) != null ? _d : {};\n }\n const {\n dirty = false,\n sortFn = defaultSortFn\n } = options;\n if (!dirty)\n return computed(() => sortFn([...unref(source)], compareFn));\n watchEffect(() => {\n const result = sortFn(unref(source), compareFn);\n if (isRef(source))\n source.value = result;\n else\n source.splice(0, source.length, ...result);\n });\n return source;\n}\n\nfunction useSpeechRecognition(options = {}) {\n const {\n interimResults = true,\n continuous = true,\n window = defaultWindow\n } = options;\n const lang = resolveRef(options.lang || \"en-US\");\n const isListening = ref(false);\n const isFinal = ref(false);\n const result = ref(\"\");\n const error = shallowRef(void 0);\n const toggle = (value = !isListening.value) => {\n isListening.value = value;\n };\n const start = () => {\n isListening.value = true;\n };\n const stop = () => {\n isListening.value = false;\n };\n const SpeechRecognition = window && (window.SpeechRecognition || window.webkitSpeechRecognition);\n const isSupported = useSupported(() => SpeechRecognition);\n let recognition;\n if (isSupported.value) {\n recognition = new SpeechRecognition();\n recognition.continuous = continuous;\n recognition.interimResults = interimResults;\n recognition.lang = unref(lang);\n recognition.onstart = () => {\n isFinal.value = false;\n };\n watch(lang, (lang2) => {\n if (recognition && !isListening.value)\n recognition.lang = lang2;\n });\n recognition.onresult = (event) => {\n const transcript = Array.from(event.results).map((result2) => {\n isFinal.value = result2.isFinal;\n return result2[0];\n }).map((result2) => result2.transcript).join(\"\");\n result.value = transcript;\n error.value = void 0;\n };\n recognition.onerror = (event) => {\n error.value = event;\n };\n recognition.onend = () => {\n isListening.value = false;\n recognition.lang = unref(lang);\n };\n watch(isListening, () => {\n if (isListening.value)\n recognition.start();\n else\n recognition.stop();\n });\n }\n tryOnScopeDispose(() => {\n isListening.value = false;\n });\n return {\n isSupported,\n isListening,\n isFinal,\n recognition,\n result,\n error,\n toggle,\n start,\n stop\n };\n}\n\nfunction useSpeechSynthesis(text, options = {}) {\n const {\n pitch = 1,\n rate = 1,\n volume = 1,\n window = defaultWindow\n } = options;\n const synth = window && window.speechSynthesis;\n const isSupported = useSupported(() => synth);\n const isPlaying = ref(false);\n const status = ref(\"init\");\n const spokenText = resolveRef(text || \"\");\n const lang = resolveRef(options.lang || \"en-US\");\n const error = shallowRef(void 0);\n const toggle = (value = !isPlaying.value) => {\n isPlaying.value = value;\n };\n const bindEventsForUtterance = (utterance2) => {\n utterance2.lang = unref(lang);\n utterance2.voice = unref(options.voice) || null;\n utterance2.pitch = pitch;\n utterance2.rate = rate;\n utterance2.volume = volume;\n utterance2.onstart = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onpause = () => {\n isPlaying.value = false;\n status.value = \"pause\";\n };\n utterance2.onresume = () => {\n isPlaying.value = true;\n status.value = \"play\";\n };\n utterance2.onend = () => {\n isPlaying.value = false;\n status.value = \"end\";\n };\n utterance2.onerror = (event) => {\n error.value = event;\n };\n };\n const utterance = computed(() => {\n isPlaying.value = false;\n status.value = \"init\";\n const newUtterance = new SpeechSynthesisUtterance(spokenText.value);\n bindEventsForUtterance(newUtterance);\n return newUtterance;\n });\n const speak = () => {\n synth.cancel();\n utterance && synth.speak(utterance.value);\n };\n if (isSupported.value) {\n bindEventsForUtterance(utterance.value);\n watch(lang, (lang2) => {\n if (utterance.value && !isPlaying.value)\n utterance.value.lang = lang2;\n });\n if (options.voice) {\n watch(options.voice, () => {\n synth.cancel();\n });\n }\n watch(isPlaying, () => {\n if (isPlaying.value)\n synth.resume();\n else\n synth.pause();\n });\n }\n tryOnScopeDispose(() => {\n isPlaying.value = false;\n });\n return {\n isSupported,\n isPlaying,\n status,\n utterance,\n error,\n toggle,\n speak\n };\n}\n\nfunction useStepper(steps, initialStep) {\n const stepsRef = ref(steps);\n const stepNames = computed(() => Array.isArray(stepsRef.value) ? stepsRef.value : Object.keys(stepsRef.value));\n const index = ref(stepNames.value.indexOf(initialStep != null ? initialStep : stepNames.value[0]));\n const current = computed(() => at(index.value));\n const isFirst = computed(() => index.value === 0);\n const isLast = computed(() => index.value === stepNames.value.length - 1);\n const next = computed(() => stepNames.value[index.value + 1]);\n const previous = computed(() => stepNames.value[index.value - 1]);\n function at(index2) {\n if (Array.isArray(stepsRef.value))\n return stepsRef.value[index2];\n return stepsRef.value[stepNames.value[index2]];\n }\n function get(step) {\n if (!stepNames.value.includes(step))\n return;\n return at(stepNames.value.indexOf(step));\n }\n function goTo(step) {\n if (stepNames.value.includes(step))\n index.value = stepNames.value.indexOf(step);\n }\n function goToNext() {\n if (isLast.value)\n return;\n index.value++;\n }\n function goToPrevious() {\n if (isFirst.value)\n return;\n index.value--;\n }\n function goBackTo(step) {\n if (isAfter(step))\n goTo(step);\n }\n function isNext(step) {\n return stepNames.value.indexOf(step) === index.value + 1;\n }\n function isPrevious(step) {\n return stepNames.value.indexOf(step) === index.value - 1;\n }\n function isCurrent(step) {\n return stepNames.value.indexOf(step) === index.value;\n }\n function isBefore(step) {\n return index.value < stepNames.value.indexOf(step);\n }\n function isAfter(step) {\n return index.value > stepNames.value.indexOf(step);\n }\n return {\n steps: stepsRef,\n stepNames,\n index,\n current,\n next,\n previous,\n isFirst,\n isLast,\n at,\n get,\n goTo,\n goToNext,\n goToPrevious,\n goBackTo,\n isNext,\n isPrevious,\n isCurrent,\n isBefore,\n isAfter\n };\n}\n\nfunction useStorageAsync(key, initialValue, storage, options = {}) {\n var _a;\n const {\n flush = \"pre\",\n deep = true,\n listenToStorageChanges = true,\n writeDefaults = true,\n shallow,\n window = defaultWindow,\n eventFilter,\n onError = (e) => {\n console.error(e);\n }\n } = options;\n const rawInit = resolveUnref(initialValue);\n const type = guessSerializerType(rawInit);\n const data = (shallow ? shallowRef : ref)(initialValue);\n const serializer = (_a = options.serializer) != null ? _a : StorageSerializers[type];\n if (!storage) {\n try {\n storage = getSSRHandler(\"getDefaultStorage\", () => {\n var _a2;\n return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;\n })();\n } catch (e) {\n onError(e);\n }\n }\n async function read(event) {\n if (!storage || event && event.key !== key)\n return;\n try {\n const rawValue = event ? event.newValue : await storage.getItem(key);\n if (rawValue == null) {\n data.value = rawInit;\n if (writeDefaults && rawInit !== null)\n await storage.setItem(key, await serializer.write(rawInit));\n } else {\n data.value = await serializer.read(rawValue);\n }\n } catch (e) {\n onError(e);\n }\n }\n read();\n if (window && listenToStorageChanges)\n useEventListener(window, \"storage\", (e) => setTimeout(() => read(e), 0));\n if (storage) {\n watchWithFilter(data, async () => {\n try {\n if (data.value == null)\n await storage.removeItem(key);\n else\n await storage.setItem(key, await serializer.write(data.value));\n } catch (e) {\n onError(e);\n }\n }, {\n flush,\n deep,\n eventFilter\n });\n }\n return data;\n}\n\nlet _id = 0;\nfunction useStyleTag(css, options = {}) {\n const isLoaded = ref(false);\n const {\n document = defaultDocument,\n immediate = true,\n manual = false,\n id = `vueuse_styletag_${++_id}`\n } = options;\n const cssRef = ref(css);\n let stop = () => {\n };\n const load = () => {\n if (!document)\n return;\n const el = document.getElementById(id) || document.createElement(\"style\");\n el.type = \"text/css\";\n el.id = id;\n if (options.media)\n el.media = options.media;\n document.head.appendChild(el);\n if (isLoaded.value)\n return;\n stop = watch(cssRef, (value) => {\n el.innerText = value;\n }, { immediate: true });\n isLoaded.value = true;\n };\n const unload = () => {\n if (!document || !isLoaded.value)\n return;\n stop();\n document.head.removeChild(document.getElementById(id));\n isLoaded.value = false;\n };\n if (immediate && !manual)\n tryOnMounted(load);\n if (!manual)\n tryOnScopeDispose(unload);\n return {\n id,\n css: cssRef,\n unload,\n load,\n isLoaded: readonly(isLoaded)\n };\n}\n\nfunction useTemplateRefsList() {\n const refs = ref([]);\n refs.value.set = (el) => {\n if (el)\n refs.value.push(el);\n };\n onBeforeUpdate(() => {\n refs.value.length = 0;\n });\n return refs;\n}\n\nfunction useTextDirection(options = {}) {\n const {\n document = defaultDocument,\n selector = \"html\",\n observe = false,\n initialValue = \"ltr\"\n } = options;\n function getValue() {\n var _a, _b;\n return (_b = (_a = document == null ? void 0 : document.querySelector(selector)) == null ? void 0 : _a.getAttribute(\"dir\")) != null ? _b : initialValue;\n }\n const dir = ref(getValue());\n tryOnMounted(() => dir.value = getValue());\n if (observe && document) {\n useMutationObserver(document.querySelector(selector), () => dir.value = getValue(), { attributes: true });\n }\n return computed({\n get() {\n return dir.value;\n },\n set(v) {\n var _a, _b;\n dir.value = v;\n if (!document)\n return;\n if (dir.value)\n (_a = document.querySelector(selector)) == null ? void 0 : _a.setAttribute(\"dir\", dir.value);\n else\n (_b = document.querySelector(selector)) == null ? void 0 : _b.removeAttribute(\"dir\");\n }\n });\n}\n\nfunction getRangesFromSelection(selection) {\n var _a;\n const rangeCount = (_a = selection.rangeCount) != null ? _a : 0;\n const ranges = new Array(rangeCount);\n for (let i = 0; i < rangeCount; i++) {\n const range = selection.getRangeAt(i);\n ranges[i] = range;\n }\n return ranges;\n}\nfunction useTextSelection(options = {}) {\n const {\n window = defaultWindow\n } = options;\n const selection = ref(null);\n const text = computed(() => {\n var _a, _b;\n return (_b = (_a = selection.value) == null ? void 0 : _a.toString()) != null ? _b : \"\";\n });\n const ranges = computed(() => selection.value ? getRangesFromSelection(selection.value) : []);\n const rects = computed(() => ranges.value.map((range) => range.getBoundingClientRect()));\n function onSelectionChange() {\n selection.value = null;\n if (window)\n selection.value = window.getSelection();\n }\n if (window)\n useEventListener(window.document, \"selectionchange\", onSelectionChange);\n return {\n text,\n rects,\n ranges,\n selection\n };\n}\n\nfunction useTextareaAutosize(options) {\n const textarea = ref(options == null ? void 0 : options.element);\n const input = ref(options == null ? void 0 : options.input);\n function triggerResize() {\n var _a, _b;\n if (!textarea.value)\n return;\n textarea.value.style.height = \"1px\";\n textarea.value.style.height = `${(_a = textarea.value) == null ? void 0 : _a.scrollHeight}px`;\n (_b = options == null ? void 0 : options.onResize) == null ? void 0 : _b.call(options);\n }\n watch([input, textarea], triggerResize, { immediate: true });\n if (options == null ? void 0 : options.watch)\n watch(options.watch, triggerResize, { immediate: true, deep: true });\n return {\n textarea,\n input,\n triggerResize\n };\n}\n\nvar __defProp$3 = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$3 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$3 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$3 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n if (__getOwnPropSymbols$3)\n for (var prop of __getOwnPropSymbols$3(b)) {\n if (__propIsEnum$3.call(b, prop))\n __defNormalProp$3(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nfunction useThrottledRefHistory(source, options = {}) {\n const { throttle = 200, trailing = true } = options;\n const filter = throttleFilter(throttle, trailing);\n const history = useRefHistory(source, __spreadProps(__spreadValues$3({}, options), { eventFilter: filter }));\n return __spreadValues$3({}, history);\n}\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$2 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n if (__getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(b)) {\n if (__propIsEnum$2.call(b, prop))\n __defNormalProp$2(a, prop, b[prop]);\n }\n return a;\n};\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols$2)\n for (var prop of __getOwnPropSymbols$2(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst UNITS = [\n { max: 6e4, value: 1e3, name: \"second\" },\n { max: 276e4, value: 6e4, name: \"minute\" },\n { max: 72e6, value: 36e5, name: \"hour\" },\n { max: 5184e5, value: 864e5, name: \"day\" },\n { max: 24192e5, value: 6048e5, name: \"week\" },\n { max: 28512e6, value: 2592e6, name: \"month\" },\n { max: Infinity, value: 31536e6, name: \"year\" }\n];\nconst DEFAULT_MESSAGES = {\n justNow: \"just now\",\n past: (n) => n.match(/\\d/) ? `${n} ago` : n,\n future: (n) => n.match(/\\d/) ? `in ${n}` : n,\n month: (n, past) => n === 1 ? past ? \"last month\" : \"next month\" : `${n} month${n > 1 ? \"s\" : \"\"}`,\n year: (n, past) => n === 1 ? past ? \"last year\" : \"next year\" : `${n} year${n > 1 ? \"s\" : \"\"}`,\n day: (n, past) => n === 1 ? past ? \"yesterday\" : \"tomorrow\" : `${n} day${n > 1 ? \"s\" : \"\"}`,\n week: (n, past) => n === 1 ? past ? \"last week\" : \"next week\" : `${n} week${n > 1 ? \"s\" : \"\"}`,\n hour: (n) => `${n} hour${n > 1 ? \"s\" : \"\"}`,\n minute: (n) => `${n} minute${n > 1 ? \"s\" : \"\"}`,\n second: (n) => `${n} second${n > 1 ? \"s\" : \"\"}`\n};\nconst DEFAULT_FORMATTER = (date) => date.toISOString().slice(0, 10);\nfunction useTimeAgo(time, options = {}) {\n const {\n controls: exposeControls = false,\n max,\n updateInterval = 3e4,\n messages = DEFAULT_MESSAGES,\n fullDateFormatter = DEFAULT_FORMATTER,\n showSecond = false\n } = options;\n const { abs, round } = Math;\n const _a = useNow({ interval: updateInterval, controls: true }), { now } = _a, controls = __objRest(_a, [\"now\"]);\n function getTimeago(from, now2) {\n var _a2;\n const diff = +now2 - +from;\n const absDiff = abs(diff);\n if (absDiff < 6e4 && !showSecond)\n return messages.justNow;\n if (typeof max === \"number\" && absDiff > max)\n return fullDateFormatter(new Date(from));\n if (typeof max === \"string\") {\n const unitMax = (_a2 = UNITS.find((i) => i.name === max)) == null ? void 0 : _a2.max;\n if (unitMax && absDiff > unitMax)\n return fullDateFormatter(new Date(from));\n }\n for (const unit of UNITS) {\n if (absDiff < unit.max)\n return format(diff, unit);\n }\n }\n function applyFormat(name, val, isPast) {\n const formatter = messages[name];\n if (typeof formatter === \"function\")\n return formatter(val, isPast);\n return formatter.replace(\"{0}\", val.toString());\n }\n function format(diff, unit) {\n const val = round(abs(diff) / unit.value);\n const past = diff > 0;\n const str = applyFormat(unit.name, val, past);\n return applyFormat(past ? \"past\" : \"future\", str, past);\n }\n const timeAgo = computed(() => getTimeago(new Date(resolveUnref(time)), unref(now.value)));\n if (exposeControls) {\n return __spreadValues$2({\n timeAgo\n }, controls);\n } else {\n return timeAgo;\n }\n}\n\nfunction useTimeoutPoll(fn, interval, timeoutPollOptions) {\n const { start } = useTimeoutFn(loop, interval);\n const isActive = ref(false);\n async function loop() {\n if (!isActive.value)\n return;\n await fn();\n start();\n }\n function resume() {\n if (!isActive.value) {\n isActive.value = true;\n loop();\n }\n }\n function pause() {\n isActive.value = false;\n }\n if (timeoutPollOptions == null ? void 0 : timeoutPollOptions.immediate)\n resume();\n tryOnScopeDispose(pause);\n return {\n isActive,\n pause,\n resume\n };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;\nvar __hasOwnProp$1 = Object.prototype.hasOwnProperty;\nvar __propIsEnum$1 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues$1 = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n if (__getOwnPropSymbols$1)\n for (var prop of __getOwnPropSymbols$1(b)) {\n if (__propIsEnum$1.call(b, prop))\n __defNormalProp$1(a, prop, b[prop]);\n }\n return a;\n};\nfunction useTimestamp(options = {}) {\n const {\n controls: exposeControls = false,\n offset = 0,\n immediate = true,\n interval = \"requestAnimationFrame\",\n callback\n } = options;\n const ts = ref(timestamp() + offset);\n const update = () => ts.value = timestamp() + offset;\n const cb = callback ? () => {\n update();\n callback(ts.value);\n } : update;\n const controls = interval === \"requestAnimationFrame\" ? useRafFn(cb, { immediate }) : useIntervalFn(cb, interval, { immediate });\n if (exposeControls) {\n return __spreadValues$1({\n timestamp: ts\n }, controls);\n } else {\n return ts;\n }\n}\n\nfunction useTitle(newTitle = null, options = {}) {\n var _a, _b;\n const {\n document = defaultDocument\n } = options;\n const title = resolveRef((_a = newTitle != null ? newTitle : document == null ? void 0 : document.title) != null ? _a : null);\n const isReadonly = newTitle && isFunction(newTitle);\n function format(t) {\n if (!(\"titleTemplate\" in options))\n return t;\n const template = options.titleTemplate || \"%s\";\n return isFunction(template) ? template(t) : unref(template).replace(/%s/g, t);\n }\n watch(title, (t, o) => {\n if (t !== o && document)\n document.title = format(isString(t) ? t : \"\");\n }, { immediate: true });\n if (options.observe && !options.titleTemplate && document && !isReadonly) {\n useMutationObserver((_b = document.head) == null ? void 0 : _b.querySelector(\"title\"), () => {\n if (document && document.title !== title.value)\n title.value = format(document.title);\n }, { childList: true });\n }\n return title;\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nconst _TransitionPresets = {\n easeInSine: [0.12, 0, 0.39, 0],\n easeOutSine: [0.61, 1, 0.88, 1],\n easeInOutSine: [0.37, 0, 0.63, 1],\n easeInQuad: [0.11, 0, 0.5, 0],\n easeOutQuad: [0.5, 1, 0.89, 1],\n easeInOutQuad: [0.45, 0, 0.55, 1],\n easeInCubic: [0.32, 0, 0.67, 0],\n easeOutCubic: [0.33, 1, 0.68, 1],\n easeInOutCubic: [0.65, 0, 0.35, 1],\n easeInQuart: [0.5, 0, 0.75, 0],\n easeOutQuart: [0.25, 1, 0.5, 1],\n easeInOutQuart: [0.76, 0, 0.24, 1],\n easeInQuint: [0.64, 0, 0.78, 0],\n easeOutQuint: [0.22, 1, 0.36, 1],\n easeInOutQuint: [0.83, 0, 0.17, 1],\n easeInExpo: [0.7, 0, 0.84, 0],\n easeOutExpo: [0.16, 1, 0.3, 1],\n easeInOutExpo: [0.87, 0, 0.13, 1],\n easeInCirc: [0.55, 0, 1, 0.45],\n easeOutCirc: [0, 0.55, 0.45, 1],\n easeInOutCirc: [0.85, 0, 0.15, 1],\n easeInBack: [0.36, 0, 0.66, -0.56],\n easeOutBack: [0.34, 1.56, 0.64, 1],\n easeInOutBack: [0.68, -0.6, 0.32, 1.6]\n};\nconst TransitionPresets = __spreadValues({\n linear: identity\n}, _TransitionPresets);\nfunction createEasingFunction([p0, p1, p2, p3]) {\n const a = (a1, a2) => 1 - 3 * a2 + 3 * a1;\n const b = (a1, a2) => 3 * a2 - 6 * a1;\n const c = (a1) => 3 * a1;\n const calcBezier = (t, a1, a2) => ((a(a1, a2) * t + b(a1, a2)) * t + c(a1)) * t;\n const getSlope = (t, a1, a2) => 3 * a(a1, a2) * t * t + 2 * b(a1, a2) * t + c(a1);\n const getTforX = (x) => {\n let aGuessT = x;\n for (let i = 0; i < 4; ++i) {\n const currentSlope = getSlope(aGuessT, p0, p2);\n if (currentSlope === 0)\n return aGuessT;\n const currentX = calcBezier(aGuessT, p0, p2) - x;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n };\n return (x) => p0 === p1 && p2 === p3 ? x : calcBezier(getTforX(x), p1, p3);\n}\nfunction useTransition(source, options = {}) {\n const {\n delay = 0,\n disabled = false,\n duration = 1e3,\n onFinished = noop,\n onStarted = noop,\n transition = identity\n } = options;\n const currentTransition = computed(() => {\n const t = unref(transition);\n return isFunction(t) ? t : createEasingFunction(t);\n });\n const sourceValue = computed(() => {\n const s = unref(source);\n return isNumber(s) ? s : s.map(unref);\n });\n const sourceVector = computed(() => isNumber(sourceValue.value) ? [sourceValue.value] : sourceValue.value);\n const outputVector = ref(sourceVector.value.slice(0));\n let currentDuration;\n let diffVector;\n let endAt;\n let startAt;\n let startVector;\n const { resume, pause } = useRafFn(() => {\n const now = Date.now();\n const progress = clamp(1 - (endAt - now) / currentDuration, 0, 1);\n outputVector.value = startVector.map((val, i) => {\n var _a;\n return val + ((_a = diffVector[i]) != null ? _a : 0) * currentTransition.value(progress);\n });\n if (progress >= 1) {\n pause();\n onFinished();\n }\n }, { immediate: false });\n const start = () => {\n pause();\n currentDuration = unref(duration);\n diffVector = outputVector.value.map((n, i) => {\n var _a, _b;\n return ((_a = sourceVector.value[i]) != null ? _a : 0) - ((_b = outputVector.value[i]) != null ? _b : 0);\n });\n startVector = outputVector.value.slice(0);\n startAt = Date.now();\n endAt = startAt + currentDuration;\n resume();\n onStarted();\n };\n const timeout = useTimeoutFn(start, delay, { immediate: false });\n watch(sourceVector, () => {\n if (unref(disabled)) {\n outputVector.value = sourceVector.value.slice(0);\n } else {\n if (unref(delay) <= 0)\n start();\n else\n timeout.start();\n }\n }, { deep: true });\n return computed(() => {\n const targetVector = unref(disabled) ? sourceVector : outputVector;\n return isNumber(sourceValue.value) ? targetVector.value[0] : targetVector.value;\n });\n}\n\nfunction useUrlSearchParams(mode = \"history\", options = {}) {\n const {\n initialValue = {},\n removeNullishValues = true,\n removeFalsyValues = false,\n write: enableWrite = true,\n window = defaultWindow\n } = options;\n if (!window)\n return reactive(initialValue);\n const state = reactive({});\n function getRawParams() {\n if (mode === \"history\") {\n return window.location.search || \"\";\n } else if (mode === \"hash\") {\n const hash = window.location.hash || \"\";\n const index = hash.indexOf(\"?\");\n return index > 0 ? hash.slice(index) : \"\";\n } else {\n return (window.location.hash || \"\").replace(/^#/, \"\");\n }\n }\n function constructQuery(params) {\n const stringified = params.toString();\n if (mode === \"history\")\n return `${stringified ? `?${stringified}` : \"\"}${window.location.hash || \"\"}`;\n if (mode === \"hash-params\")\n return `${window.location.search || \"\"}${stringified ? `#${stringified}` : \"\"}`;\n const hash = window.location.hash || \"#\";\n const index = hash.indexOf(\"?\");\n if (index > 0)\n return `${hash.slice(0, index)}${stringified ? `?${stringified}` : \"\"}`;\n return `${hash}${stringified ? `?${stringified}` : \"\"}`;\n }\n function read() {\n return new URLSearchParams(getRawParams());\n }\n function updateState(params) {\n const unusedKeys = new Set(Object.keys(state));\n for (const key of params.keys()) {\n const paramsForKey = params.getAll(key);\n state[key] = paramsForKey.length > 1 ? paramsForKey : params.get(key) || \"\";\n unusedKeys.delete(key);\n }\n Array.from(unusedKeys).forEach((key) => delete state[key]);\n }\n const { pause, resume } = pausableWatch(state, () => {\n const params = new URLSearchParams(\"\");\n Object.keys(state).forEach((key) => {\n const mapEntry = state[key];\n if (Array.isArray(mapEntry))\n mapEntry.forEach((value) => params.append(key, value));\n else if (removeNullishValues && mapEntry == null)\n params.delete(key);\n else if (removeFalsyValues && !mapEntry)\n params.delete(key);\n else\n params.set(key, mapEntry);\n });\n write(params);\n }, { deep: true });\n function write(params, shouldUpdate) {\n pause();\n if (shouldUpdate)\n updateState(params);\n window.history.replaceState(window.history.state, window.document.title, window.location.pathname + constructQuery(params));\n resume();\n }\n function onChanged() {\n if (!enableWrite)\n return;\n write(read(), true);\n }\n useEventListener(window, \"popstate\", onChanged, false);\n if (mode !== \"history\")\n useEventListener(window, \"hashchange\", onChanged, false);\n const initial = read();\n if (initial.keys().next().value)\n updateState(initial);\n else\n Object.assign(state, initialValue);\n return state;\n}\n\nfunction useUserMedia(options = {}) {\n var _a, _b;\n const enabled = ref((_a = options.enabled) != null ? _a : false);\n const autoSwitch = ref((_b = options.autoSwitch) != null ? _b : true);\n const videoDeviceId = ref(options.videoDeviceId);\n const audioDeviceId = ref(options.audioDeviceId);\n const { navigator = defaultNavigator } = options;\n const isSupported = useSupported(() => {\n var _a2;\n return (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.getUserMedia;\n });\n const stream = shallowRef();\n function getDeviceOptions(device) {\n if (device.value === \"none\" || device.value === false)\n return false;\n if (device.value == null)\n return true;\n return {\n deviceId: device.value\n };\n }\n async function _start() {\n if (!isSupported.value || stream.value)\n return;\n stream.value = await navigator.mediaDevices.getUserMedia({\n video: getDeviceOptions(videoDeviceId),\n audio: getDeviceOptions(audioDeviceId)\n });\n return stream.value;\n }\n async function _stop() {\n var _a2;\n (_a2 = stream.value) == null ? void 0 : _a2.getTracks().forEach((t) => t.stop());\n stream.value = void 0;\n }\n function stop() {\n _stop();\n enabled.value = false;\n }\n async function start() {\n await _start();\n if (stream.value)\n enabled.value = true;\n return stream.value;\n }\n async function restart() {\n _stop();\n return await start();\n }\n watch(enabled, (v) => {\n if (v)\n _start();\n else\n _stop();\n }, { immediate: true });\n watch([videoDeviceId, audioDeviceId], () => {\n if (autoSwitch.value && stream.value)\n restart();\n }, { immediate: true });\n return {\n isSupported,\n stream,\n start,\n stop,\n restart,\n videoDeviceId,\n audioDeviceId,\n enabled,\n autoSwitch\n };\n}\n\nfunction useVModel(props, key, emit, options = {}) {\n var _a, _b, _c, _d, _e;\n const {\n clone = false,\n passive = false,\n eventName,\n deep = false,\n defaultValue\n } = options;\n const vm = getCurrentInstance();\n const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));\n let event = eventName;\n if (!key) {\n if (isVue2) {\n const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;\n key = (modelOptions == null ? void 0 : modelOptions.value) || \"value\";\n if (!eventName)\n event = (modelOptions == null ? void 0 : modelOptions.event) || \"input\";\n } else {\n key = \"modelValue\";\n }\n }\n event = eventName || event || `update:${key.toString()}`;\n const cloneFn = (val) => !clone ? val : isFunction(clone) ? clone(val) : cloneFnJSON(val);\n const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;\n if (passive) {\n const initialValue = getValue();\n const proxy = ref(initialValue);\n watch(() => props[key], (v) => proxy.value = cloneFn(v));\n watch(proxy, (v) => {\n if (v !== props[key] || deep)\n _emit(event, v);\n }, { deep });\n return proxy;\n } else {\n return computed({\n get() {\n return getValue();\n },\n set(value) {\n _emit(event, value);\n }\n });\n }\n}\n\nfunction useVModels(props, emit, options = {}) {\n const ret = {};\n for (const key in props)\n ret[key] = useVModel(props, key, emit, options);\n return ret;\n}\n\nfunction useVibrate(options) {\n const {\n pattern = [],\n interval = 0,\n navigator = defaultNavigator\n } = options || {};\n const isSupported = useSupported(() => typeof navigator !== \"undefined\" && \"vibrate\" in navigator);\n const patternRef = resolveRef(pattern);\n let intervalControls;\n const vibrate = (pattern2 = patternRef.value) => {\n if (isSupported.value)\n navigator.vibrate(pattern2);\n };\n const stop = () => {\n if (isSupported.value)\n navigator.vibrate(0);\n intervalControls == null ? void 0 : intervalControls.pause();\n };\n if (interval > 0) {\n intervalControls = useIntervalFn(vibrate, interval, {\n immediate: false,\n immediateCallback: false\n });\n }\n return {\n isSupported,\n pattern,\n intervalControls,\n vibrate,\n stop\n };\n}\n\nfunction useVirtualList(list, options) {\n const containerRef = ref();\n const size = useElementSize(containerRef);\n const currentList = ref([]);\n const source = shallowRef(list);\n const state = ref({ start: 0, end: 10 });\n const { itemHeight, overscan = 5 } = options;\n const getViewCapacity = (containerHeight) => {\n if (typeof itemHeight === \"number\")\n return Math.ceil(containerHeight / itemHeight);\n const { start = 0 } = state.value;\n let sum = 0;\n let capacity = 0;\n for (let i = start; i < source.value.length; i++) {\n const height = itemHeight(i);\n sum += height;\n if (sum >= containerHeight) {\n capacity = i;\n break;\n }\n }\n return capacity - start;\n };\n const getOffset = (scrollTop) => {\n if (typeof itemHeight === \"number\")\n return Math.floor(scrollTop / itemHeight) + 1;\n let sum = 0;\n let offset = 0;\n for (let i = 0; i < source.value.length; i++) {\n const height = itemHeight(i);\n sum += height;\n if (sum >= scrollTop) {\n offset = i;\n break;\n }\n }\n return offset + 1;\n };\n const calculateRange = () => {\n const element = containerRef.value;\n if (element) {\n const offset = getOffset(element.scrollTop);\n const viewCapacity = getViewCapacity(element.clientHeight);\n const from = offset - overscan;\n const to = offset + viewCapacity + overscan;\n state.value = {\n start: from < 0 ? 0 : from,\n end: to > source.value.length ? source.value.length : to\n };\n currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({\n data: ele,\n index: index + state.value.start\n }));\n }\n };\n watch([size.width, size.height, list], () => {\n calculateRange();\n });\n const totalHeight = computed(() => {\n if (typeof itemHeight === \"number\")\n return source.value.length * itemHeight;\n return source.value.reduce((sum, _, index) => sum + itemHeight(index), 0);\n });\n const getDistanceTop = (index) => {\n if (typeof itemHeight === \"number\") {\n const height2 = index * itemHeight;\n return height2;\n }\n const height = source.value.slice(0, index).reduce((sum, _, i) => sum + itemHeight(i), 0);\n return height;\n };\n const scrollTo = (index) => {\n if (containerRef.value) {\n containerRef.value.scrollTop = getDistanceTop(index);\n calculateRange();\n }\n };\n const offsetTop = computed(() => getDistanceTop(state.value.start));\n const wrapperProps = computed(() => {\n return {\n style: {\n width: \"100%\",\n height: `${totalHeight.value - offsetTop.value}px`,\n marginTop: `${offsetTop.value}px`\n }\n };\n });\n const containerStyle = { overflowY: \"auto\" };\n return {\n list: currentList,\n scrollTo,\n containerProps: {\n ref: containerRef,\n onScroll: () => {\n calculateRange();\n },\n style: containerStyle\n },\n wrapperProps\n };\n}\n\nconst useWakeLock = (options = {}) => {\n const {\n navigator = defaultNavigator,\n document = defaultDocument\n } = options;\n let wakeLock;\n const isSupported = useSupported(() => navigator && \"wakeLock\" in navigator);\n const isActive = ref(false);\n async function onVisibilityChange() {\n if (!isSupported.value || !wakeLock)\n return;\n if (document && document.visibilityState === \"visible\")\n wakeLock = await navigator.wakeLock.request(\"screen\");\n isActive.value = !wakeLock.released;\n }\n if (document)\n useEventListener(document, \"visibilitychange\", onVisibilityChange, { passive: true });\n async function request(type) {\n if (!isSupported.value)\n return;\n wakeLock = await navigator.wakeLock.request(type);\n isActive.value = !wakeLock.released;\n }\n async function release() {\n if (!isSupported.value || !wakeLock)\n return;\n await wakeLock.release();\n isActive.value = !wakeLock.released;\n wakeLock = null;\n }\n return {\n isSupported,\n isActive,\n request,\n release\n };\n};\n\nconst useWebNotification = (defaultOptions = {}) => {\n const {\n window = defaultWindow\n } = defaultOptions;\n const isSupported = useSupported(() => !!window && \"Notification\" in window);\n const notification = ref(null);\n const requestPermission = async () => {\n if (!isSupported.value)\n return;\n if (\"permission\" in Notification && Notification.permission !== \"denied\")\n await Notification.requestPermission();\n };\n const onClick = createEventHook();\n const onShow = createEventHook();\n const onError = createEventHook();\n const onClose = createEventHook();\n const show = async (overrides) => {\n if (!isSupported.value)\n return;\n await requestPermission();\n const options = Object.assign({}, defaultOptions, overrides);\n notification.value = new Notification(options.title || \"\", options);\n notification.value.onclick = (event) => onClick.trigger(event);\n notification.value.onshow = (event) => onShow.trigger(event);\n notification.value.onerror = (event) => onError.trigger(event);\n notification.value.onclose = (event) => onClose.trigger(event);\n return notification.value;\n };\n const close = () => {\n if (notification.value)\n notification.value.close();\n notification.value = null;\n };\n tryOnMounted(async () => {\n if (isSupported.value)\n await requestPermission();\n });\n tryOnScopeDispose(close);\n if (isSupported.value && window) {\n const document = window.document;\n useEventListener(document, \"visibilitychange\", (e) => {\n e.preventDefault();\n if (document.visibilityState === \"visible\") {\n close();\n }\n });\n }\n return {\n isSupported,\n notification,\n show,\n close,\n onClick,\n onShow,\n onError,\n onClose\n };\n};\n\nconst DEFAULT_PING_MESSAGE = \"ping\";\nfunction resolveNestedOptions(options) {\n if (options === true)\n return {};\n return options;\n}\nfunction useWebSocket(url, options = {}) {\n const {\n onConnected,\n onDisconnected,\n onError,\n onMessage,\n immediate = true,\n autoClose = true,\n protocols = []\n } = options;\n const data = ref(null);\n const status = ref(\"CLOSED\");\n const wsRef = ref();\n let heartbeatPause;\n let heartbeatResume;\n let explicitlyClosed = false;\n let retried = 0;\n let bufferedData = [];\n let pongTimeoutWait;\n const close = (code = 1e3, reason) => {\n if (!wsRef.value)\n return;\n explicitlyClosed = true;\n heartbeatPause == null ? void 0 : heartbeatPause();\n wsRef.value.close(code, reason);\n };\n const _sendBuffer = () => {\n if (bufferedData.length && wsRef.value && status.value === \"OPEN\") {\n for (const buffer of bufferedData)\n wsRef.value.send(buffer);\n bufferedData = [];\n }\n };\n const resetHeartbeat = () => {\n clearTimeout(pongTimeoutWait);\n };\n const send = (data2, useBuffer = true) => {\n if (!wsRef.value || status.value !== \"OPEN\") {\n if (useBuffer)\n bufferedData.push(data2);\n return false;\n }\n _sendBuffer();\n wsRef.value.send(data2);\n return true;\n };\n const _init = () => {\n const ws = new WebSocket(url, protocols);\n wsRef.value = ws;\n status.value = \"CONNECTING\";\n explicitlyClosed = false;\n ws.onopen = () => {\n status.value = \"OPEN\";\n onConnected == null ? void 0 : onConnected(ws);\n heartbeatResume == null ? void 0 : heartbeatResume();\n _sendBuffer();\n };\n ws.onclose = (ev) => {\n status.value = \"CLOSED\";\n wsRef.value = void 0;\n onDisconnected == null ? void 0 : onDisconnected(ws, ev);\n if (!explicitlyClosed && options.autoReconnect) {\n const {\n retries = -1,\n delay = 1e3,\n onFailed\n } = resolveNestedOptions(options.autoReconnect);\n retried += 1;\n if (typeof retries === \"number\" && (retries < 0 || retried < retries))\n setTimeout(_init, delay);\n else if (typeof retries === \"function\" && retries())\n setTimeout(_init, delay);\n else\n onFailed == null ? void 0 : onFailed();\n }\n };\n ws.onerror = (e) => {\n onError == null ? void 0 : onError(ws, e);\n };\n ws.onmessage = (e) => {\n resetHeartbeat();\n if (options.heartbeat) {\n const {\n message = DEFAULT_PING_MESSAGE\n } = resolveNestedOptions(options.heartbeat);\n if (e.data === message)\n return;\n }\n data.value = e.data;\n onMessage == null ? void 0 : onMessage(ws, e);\n };\n };\n if (options.heartbeat) {\n const {\n message = DEFAULT_PING_MESSAGE,\n interval = 1e3,\n pongTimeout = 1e3\n } = resolveNestedOptions(options.heartbeat);\n const { pause, resume } = useIntervalFn(() => {\n send(message, false);\n pongTimeoutWait = setTimeout(() => {\n close();\n }, pongTimeout);\n }, interval, { immediate: false });\n heartbeatPause = pause;\n heartbeatResume = resume;\n }\n if (immediate)\n _init();\n if (autoClose) {\n useEventListener(window, \"beforeunload\", () => close());\n tryOnScopeDispose(close);\n }\n const open = () => {\n close();\n retried = 0;\n _init();\n };\n return {\n data,\n status,\n close,\n send,\n open,\n ws: wsRef\n };\n}\n\nfunction useWebWorker(url, workerOptions, options = {}) {\n const {\n window = defaultWindow\n } = options;\n const data = ref(null);\n const worker = shallowRef();\n const post = function post2(val) {\n if (!worker.value)\n return;\n worker.value.postMessage(val);\n };\n const terminate = function terminate2() {\n if (!worker.value)\n return;\n worker.value.terminate();\n };\n if (window) {\n worker.value = new Worker(url, workerOptions);\n worker.value.onmessage = (e) => {\n data.value = e.data;\n };\n tryOnScopeDispose(() => {\n if (worker.value)\n worker.value.terminate();\n });\n }\n return {\n data,\n post,\n terminate,\n worker\n };\n}\n\nconst jobRunner = (userFunc) => (e) => {\n const userFuncArgs = e.data[0];\n return Promise.resolve(userFunc.apply(void 0, userFuncArgs)).then((result) => {\n postMessage([\"SUCCESS\", result]);\n }).catch((error) => {\n postMessage([\"ERROR\", error]);\n });\n};\n\nconst depsParser = (deps) => {\n if (deps.length === 0)\n return \"\";\n const depsString = deps.map((dep) => `'${dep}'`).toString();\n return `importScripts(${depsString})`;\n};\n\nconst createWorkerBlobUrl = (fn, deps) => {\n const blobCode = `${depsParser(deps)}; onmessage=(${jobRunner})(${fn})`;\n const blob = new Blob([blobCode], { type: \"text/javascript\" });\n const url = URL.createObjectURL(blob);\n return url;\n};\n\nconst useWebWorkerFn = (fn, options = {}) => {\n const {\n dependencies = [],\n timeout,\n window = defaultWindow\n } = options;\n const worker = ref();\n const workerStatus = ref(\"PENDING\");\n const promise = ref({});\n const timeoutId = ref();\n const workerTerminate = (status = \"PENDING\") => {\n if (worker.value && worker.value._url && window) {\n worker.value.terminate();\n URL.revokeObjectURL(worker.value._url);\n promise.value = {};\n worker.value = void 0;\n window.clearTimeout(timeoutId.value);\n workerStatus.value = status;\n }\n };\n workerTerminate();\n tryOnScopeDispose(workerTerminate);\n const generateWorker = () => {\n const blobUrl = createWorkerBlobUrl(fn, dependencies);\n const newWorker = new Worker(blobUrl);\n newWorker._url = blobUrl;\n newWorker.onmessage = (e) => {\n const { resolve = () => {\n }, reject = () => {\n } } = promise.value;\n const [status, result] = e.data;\n switch (status) {\n case \"SUCCESS\":\n resolve(result);\n workerTerminate(status);\n break;\n default:\n reject(result);\n workerTerminate(\"ERROR\");\n break;\n }\n };\n newWorker.onerror = (e) => {\n const { reject = () => {\n } } = promise.value;\n reject(e);\n workerTerminate(\"ERROR\");\n };\n if (timeout) {\n timeoutId.value = setTimeout(() => workerTerminate(\"TIMEOUT_EXPIRED\"), timeout);\n }\n return newWorker;\n };\n const callWorker = (...fnArgs) => new Promise((resolve, reject) => {\n promise.value = {\n resolve,\n reject\n };\n worker.value && worker.value.postMessage([[...fnArgs]]);\n workerStatus.value = \"RUNNING\";\n });\n const workerFn = (...fnArgs) => {\n if (workerStatus.value === \"RUNNING\") {\n console.error(\"[useWebWorkerFn] You can only run one instance of the worker at a time.\");\n return Promise.reject();\n }\n worker.value = generateWorker();\n return callWorker(...fnArgs);\n };\n return {\n workerFn,\n workerStatus,\n workerTerminate\n };\n};\n\nfunction useWindowFocus({ window = defaultWindow } = {}) {\n if (!window)\n return ref(false);\n const focused = ref(window.document.hasFocus());\n useEventListener(window, \"blur\", () => {\n focused.value = false;\n });\n useEventListener(window, \"focus\", () => {\n focused.value = true;\n });\n return focused;\n}\n\nfunction useWindowScroll({ window = defaultWindow } = {}) {\n if (!window) {\n return {\n x: ref(0),\n y: ref(0)\n };\n }\n const x = ref(window.pageXOffset);\n const y = ref(window.pageYOffset);\n useEventListener(\"scroll\", () => {\n x.value = window.pageXOffset;\n y.value = window.pageYOffset;\n }, {\n capture: false,\n passive: true\n });\n return { x, y };\n}\n\nfunction useWindowSize(options = {}) {\n const {\n window = defaultWindow,\n initialWidth = Infinity,\n initialHeight = Infinity,\n listenOrientation = true,\n includeScrollbar = true\n } = options;\n const width = ref(initialWidth);\n const height = ref(initialHeight);\n const update = () => {\n if (window) {\n if (includeScrollbar) {\n width.value = window.innerWidth;\n height.value = window.innerHeight;\n } else {\n width.value = window.document.documentElement.clientWidth;\n height.value = window.document.documentElement.clientHeight;\n }\n }\n };\n update();\n tryOnMounted(update);\n useEventListener(\"resize\", update, { passive: true });\n if (listenOrientation)\n useEventListener(\"orientationchange\", update, { passive: true });\n return { width, height };\n}\n\nexport { DefaultMagicKeysAliasMap, StorageSerializers, SwipeDirection, TransitionPresets, computedAsync as asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, cloneFnJSON, computedAsync, computedInject, createFetch, createUnrefFn, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, getSSRHandler, mapGamepadToXbox360Controller, onClickOutside, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useCloned, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, usePermission, usePointer, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize };\n","/*!\n * pinia v2.0.23\n * (c) 2022 Eduardo San Martin Morote\n * @license MIT\n */\nimport { getCurrentInstance, inject, toRaw, watch, unref, markRaw, effectScope, ref, isVue2, isRef, isReactive, set, onUnmounted, reactive, toRef, del, nextTick, computed, toRefs } from 'vue-demi';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\n\n/**\r\n * setActivePinia must be called to handle SSR at the top of functions like\r\n * `fetch`, `setup`, `serverPrefetch` and others\r\n */\r\nlet activePinia;\r\n/**\r\n * Sets or unsets the active pinia. Used in SSR and internally when calling\r\n * actions and getters\r\n *\r\n * @param pinia - Pinia instance\r\n */\r\nconst setActivePinia = (pinia) => (activePinia = pinia);\r\n/**\r\n * Get the currently active pinia if there is any.\r\n */\r\nconst getActivePinia = () => (getCurrentInstance() && inject(piniaSymbol)) || activePinia;\r\nconst piniaSymbol = ((process.env.NODE_ENV !== 'production') ? Symbol('pinia') : /* istanbul ignore next */ Symbol());\n\nfunction isPlainObject(\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\no) {\r\n return (o &&\r\n typeof o === 'object' &&\r\n Object.prototype.toString.call(o) === '[object Object]' &&\r\n typeof o.toJSON !== 'function');\r\n}\r\n// type DeepReadonly<T> = { readonly [P in keyof T]: DeepReadonly<T[P]> }\r\n// TODO: can we change these to numbers?\r\n/**\r\n * Possible types for SubscriptionCallback\r\n */\r\nvar MutationType;\r\n(function (MutationType) {\r\n /**\r\n * Direct mutation of the state:\r\n *\r\n * - `store.name = 'new name'`\r\n * - `store.$state.name = 'new name'`\r\n * - `store.list.push('new item')`\r\n */\r\n MutationType[\"direct\"] = \"direct\";\r\n /**\r\n * Mutated the state with `$patch` and an object\r\n *\r\n * - `store.$patch({ name: 'newName' })`\r\n */\r\n MutationType[\"patchObject\"] = \"patch object\";\r\n /**\r\n * Mutated the state with `$patch` and a function\r\n *\r\n * - `store.$patch(state => state.name = 'newName')`\r\n */\r\n MutationType[\"patchFunction\"] = \"patch function\";\r\n // maybe reset? for $state = {} and $reset\r\n})(MutationType || (MutationType = {}));\n\nconst IS_CLIENT = typeof window !== 'undefined';\r\n/**\r\n * Should we add the devtools plugins.\r\n * - only if dev mode or forced through the prod devtools flag\r\n * - not in test\r\n * - only if window exists (could change in the future)\r\n */\r\nconst USE_DEVTOOLS = ((process.env.NODE_ENV !== 'production') || (typeof __VUE_PROD_DEVTOOLS__ !== 'undefined' && __VUE_PROD_DEVTOOLS__)) && !(process.env.NODE_ENV === 'test') && IS_CLIENT;\n\n/*\r\n * FileSaver.js A saveAs() FileSaver implementation.\r\n *\r\n * Originally by Eli Grey, adapted as an ESM module by Eduardo San Martin\r\n * Morote.\r\n *\r\n * License : MIT\r\n */\r\n// The one and only way of getting global scope in all environments\r\n// https://stackoverflow.com/q/3277182/1008999\r\nconst _global = /*#__PURE__*/ (() => typeof window === 'object' && window.window === window\r\n ? window\r\n : typeof self === 'object' && self.self === self\r\n ? self\r\n : typeof global === 'object' && global.global === global\r\n ? global\r\n : typeof globalThis === 'object'\r\n ? globalThis\r\n : { HTMLElement: null })();\r\nfunction bom(blob, { autoBom = false } = {}) {\r\n // prepend BOM for UTF-8 XML and text/* types (including HTML)\r\n // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\r\n if (autoBom &&\r\n /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\r\n return new Blob([String.fromCharCode(0xfeff), blob], { type: blob.type });\r\n }\r\n return blob;\r\n}\r\nfunction download(url, name, opts) {\r\n const xhr = new XMLHttpRequest();\r\n xhr.open('GET', url);\r\n xhr.responseType = 'blob';\r\n xhr.onload = function () {\r\n saveAs(xhr.response, name, opts);\r\n };\r\n xhr.onerror = function () {\r\n console.error('could not download file');\r\n };\r\n xhr.send();\r\n}\r\nfunction corsEnabled(url) {\r\n const xhr = new XMLHttpRequest();\r\n // use sync to avoid popup blocker\r\n xhr.open('HEAD', url, false);\r\n try {\r\n xhr.send();\r\n }\r\n catch (e) { }\r\n return xhr.status >= 200 && xhr.status <= 299;\r\n}\r\n// `a.click()` doesn't work for all browsers (#465)\r\nfunction click(node) {\r\n try {\r\n node.dispatchEvent(new MouseEvent('click'));\r\n }\r\n catch (e) {\r\n const evt = document.createEvent('MouseEvents');\r\n evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\r\n node.dispatchEvent(evt);\r\n }\r\n}\r\nconst _navigator = \r\n typeof navigator === 'object' ? navigator : { userAgent: '' };\r\n// Detect WebView inside a native macOS app by ruling out all browsers\r\n// We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\r\n// https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\r\nconst isMacOSWebView = /*#__PURE__*/ (() => /Macintosh/.test(_navigator.userAgent) &&\r\n /AppleWebKit/.test(_navigator.userAgent) &&\r\n !/Safari/.test(_navigator.userAgent))();\r\nconst saveAs = !IS_CLIENT\r\n ? () => { } // noop\r\n : // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program\r\n typeof HTMLAnchorElement !== 'undefined' &&\r\n 'download' in HTMLAnchorElement.prototype &&\r\n !isMacOSWebView\r\n ? downloadSaveAs\r\n : // Use msSaveOrOpenBlob as a second approach\r\n 'msSaveOrOpenBlob' in _navigator\r\n ? msSaveAs\r\n : // Fallback to using FileReader and a popup\r\n fileSaverSaveAs;\r\nfunction downloadSaveAs(blob, name = 'download', opts) {\r\n const a = document.createElement('a');\r\n a.download = name;\r\n a.rel = 'noopener'; // tabnabbing\r\n // TODO: detect chrome extensions & packaged apps\r\n // a.target = '_blank'\r\n if (typeof blob === 'string') {\r\n // Support regular links\r\n a.href = blob;\r\n if (a.origin !== location.origin) {\r\n if (corsEnabled(a.href)) {\r\n download(blob, name, opts);\r\n }\r\n else {\r\n a.target = '_blank';\r\n click(a);\r\n }\r\n }\r\n else {\r\n click(a);\r\n }\r\n }\r\n else {\r\n // Support blobs\r\n a.href = URL.createObjectURL(blob);\r\n setTimeout(function () {\r\n URL.revokeObjectURL(a.href);\r\n }, 4e4); // 40s\r\n setTimeout(function () {\r\n click(a);\r\n }, 0);\r\n }\r\n}\r\nfunction msSaveAs(blob, name = 'download', opts) {\r\n if (typeof blob === 'string') {\r\n if (corsEnabled(blob)) {\r\n download(blob, name, opts);\r\n }\r\n else {\r\n const a = document.createElement('a');\r\n a.href = blob;\r\n a.target = '_blank';\r\n setTimeout(function () {\r\n click(a);\r\n });\r\n }\r\n }\r\n else {\r\n // @ts-ignore: works on windows\r\n navigator.msSaveOrOpenBlob(bom(blob, opts), name);\r\n }\r\n}\r\nfunction fileSaverSaveAs(blob, name, opts, popup) {\r\n // Open a popup immediately do go around popup blocker\r\n // Mostly only available on user interaction and the fileReader is async so...\r\n popup = popup || open('', '_blank');\r\n if (popup) {\r\n popup.document.title = popup.document.body.innerText = 'downloading...';\r\n }\r\n if (typeof blob === 'string')\r\n return download(blob, name, opts);\r\n const force = blob.type === 'application/octet-stream';\r\n const isSafari = /constructor/i.test(String(_global.HTMLElement)) || 'safari' in _global;\r\n const isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\r\n if ((isChromeIOS || (force && isSafari) || isMacOSWebView) &&\r\n typeof FileReader !== 'undefined') {\r\n // Safari doesn't allow downloading of blob URLs\r\n const reader = new FileReader();\r\n reader.onloadend = function () {\r\n let url = reader.result;\r\n if (typeof url !== 'string') {\r\n popup = null;\r\n throw new Error('Wrong reader.result type');\r\n }\r\n url = isChromeIOS\r\n ? url\r\n : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\r\n if (popup) {\r\n popup.location.href = url;\r\n }\r\n else {\r\n location.assign(url);\r\n }\r\n popup = null; // reverse-tabnabbing #460\r\n };\r\n reader.readAsDataURL(blob);\r\n }\r\n else {\r\n const url = URL.createObjectURL(blob);\r\n if (popup)\r\n popup.location.assign(url);\r\n else\r\n location.href = url;\r\n popup = null; // reverse-tabnabbing #460\r\n setTimeout(function () {\r\n URL.revokeObjectURL(url);\r\n }, 4e4); // 40s\r\n }\r\n}\n\n/**\r\n * Shows a toast or console.log\r\n *\r\n * @param message - message to log\r\n * @param type - different color of the tooltip\r\n */\r\nfunction toastMessage(message, type) {\r\n const piniaMessage = '🍍 ' + message;\r\n if (typeof __VUE_DEVTOOLS_TOAST__ === 'function') {\r\n __VUE_DEVTOOLS_TOAST__(piniaMessage, type);\r\n }\r\n else if (type === 'error') {\r\n console.error(piniaMessage);\r\n }\r\n else if (type === 'warn') {\r\n console.warn(piniaMessage);\r\n }\r\n else {\r\n console.log(piniaMessage);\r\n }\r\n}\r\nfunction isPinia(o) {\r\n return '_a' in o && 'install' in o;\r\n}\n\nfunction checkClipboardAccess() {\r\n if (!('clipboard' in navigator)) {\r\n toastMessage(`Your browser doesn't support the Clipboard API`, 'error');\r\n return true;\r\n }\r\n}\r\nfunction checkNotFocusedError(error) {\r\n if (error instanceof Error &&\r\n error.message.toLowerCase().includes('document is not focused')) {\r\n toastMessage('You need to activate the \"Emulate a focused page\" setting in the \"Rendering\" panel of devtools.', 'warn');\r\n return true;\r\n }\r\n return false;\r\n}\r\nasync function actionGlobalCopyState(pinia) {\r\n if (checkClipboardAccess())\r\n return;\r\n try {\r\n await navigator.clipboard.writeText(JSON.stringify(pinia.state.value));\r\n toastMessage('Global state copied to clipboard.');\r\n }\r\n catch (error) {\r\n if (checkNotFocusedError(error))\r\n return;\r\n toastMessage(`Failed to serialize the state. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nasync function actionGlobalPasteState(pinia) {\r\n if (checkClipboardAccess())\r\n return;\r\n try {\r\n pinia.state.value = JSON.parse(await navigator.clipboard.readText());\r\n toastMessage('Global state pasted from clipboard.');\r\n }\r\n catch (error) {\r\n if (checkNotFocusedError(error))\r\n return;\r\n toastMessage(`Failed to deserialize the state from clipboard. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nasync function actionGlobalSaveState(pinia) {\r\n try {\r\n saveAs(new Blob([JSON.stringify(pinia.state.value)], {\r\n type: 'text/plain;charset=utf-8',\r\n }), 'pinia-state.json');\r\n }\r\n catch (error) {\r\n toastMessage(`Failed to export the state as JSON. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\r\nlet fileInput;\r\nfunction getFileOpener() {\r\n if (!fileInput) {\r\n fileInput = document.createElement('input');\r\n fileInput.type = 'file';\r\n fileInput.accept = '.json';\r\n }\r\n function openFile() {\r\n return new Promise((resolve, reject) => {\r\n fileInput.onchange = async () => {\r\n const files = fileInput.files;\r\n if (!files)\r\n return resolve(null);\r\n const file = files.item(0);\r\n if (!file)\r\n return resolve(null);\r\n return resolve({ text: await file.text(), file });\r\n };\r\n // @ts-ignore: TODO: changed from 4.3 to 4.4\r\n fileInput.oncancel = () => resolve(null);\r\n fileInput.onerror = reject;\r\n fileInput.click();\r\n });\r\n }\r\n return openFile;\r\n}\r\nasync function actionGlobalOpenStateFile(pinia) {\r\n try {\r\n const open = await getFileOpener();\r\n const result = await open();\r\n if (!result)\r\n return;\r\n const { text, file } = result;\r\n pinia.state.value = JSON.parse(text);\r\n toastMessage(`Global state imported from \"${file.name}\".`);\r\n }\r\n catch (error) {\r\n toastMessage(`Failed to export the state as JSON. Check the console for more details.`, 'error');\r\n console.error(error);\r\n }\r\n}\n\nfunction formatDisplay(display) {\r\n return {\r\n _custom: {\r\n display,\r\n },\r\n };\r\n}\r\nconst PINIA_ROOT_LABEL = '🍍 Pinia (root)';\r\nconst PINIA_ROOT_ID = '_root';\r\nfunction formatStoreForInspectorTree(store) {\r\n return isPinia(store)\r\n ? {\r\n id: PINIA_ROOT_ID,\r\n label: PINIA_ROOT_LABEL,\r\n }\r\n : {\r\n id: store.$id,\r\n label: store.$id,\r\n };\r\n}\r\nfunction formatStoreForInspectorState(store) {\r\n if (isPinia(store)) {\r\n const storeNames = Array.from(store._s.keys());\r\n const storeMap = store._s;\r\n const state = {\r\n state: storeNames.map((storeId) => ({\r\n editable: true,\r\n key: storeId,\r\n value: store.state.value[storeId],\r\n })),\r\n getters: storeNames\r\n .filter((id) => storeMap.get(id)._getters)\r\n .map((id) => {\r\n const store = storeMap.get(id);\r\n return {\r\n editable: false,\r\n key: id,\r\n value: store._getters.reduce((getters, key) => {\r\n getters[key] = store[key];\r\n return getters;\r\n }, {}),\r\n };\r\n }),\r\n };\r\n return state;\r\n }\r\n const state = {\r\n state: Object.keys(store.$state).map((key) => ({\r\n editable: true,\r\n key,\r\n value: store.$state[key],\r\n })),\r\n };\r\n // avoid adding empty getters\r\n if (store._getters && store._getters.length) {\r\n state.getters = store._getters.map((getterName) => ({\r\n editable: false,\r\n key: getterName,\r\n value: store[getterName],\r\n }));\r\n }\r\n if (store._customProperties.size) {\r\n state.customProperties = Array.from(store._customProperties).map((key) => ({\r\n editable: true,\r\n key,\r\n value: store[key],\r\n }));\r\n }\r\n return state;\r\n}\r\nfunction formatEventData(events) {\r\n if (!events)\r\n return {};\r\n if (Array.isArray(events)) {\r\n // TODO: handle add and delete for arrays and objects\r\n return events.reduce((data, event) => {\r\n data.keys.push(event.key);\r\n data.operations.push(event.type);\r\n data.oldValue[event.key] = event.oldValue;\r\n data.newValue[event.key] = event.newValue;\r\n return data;\r\n }, {\r\n oldValue: {},\r\n keys: [],\r\n operations: [],\r\n newValue: {},\r\n });\r\n }\r\n else {\r\n return {\r\n operation: formatDisplay(events.type),\r\n key: formatDisplay(events.key),\r\n oldValue: events.oldValue,\r\n newValue: events.newValue,\r\n };\r\n }\r\n}\r\nfunction formatMutationType(type) {\r\n switch (type) {\r\n case MutationType.direct:\r\n return 'mutation';\r\n case MutationType.patchFunction:\r\n return '$patch';\r\n case MutationType.patchObject:\r\n return '$patch';\r\n default:\r\n return 'unknown';\r\n }\r\n}\n\n// timeline can be paused when directly changing the state\r\nlet isTimelineActive = true;\r\nconst componentStateTypes = [];\r\nconst MUTATIONS_LAYER_ID = 'pinia:mutations';\r\nconst INSPECTOR_ID = 'pinia';\r\n/**\r\n * Gets the displayed name of a store in devtools\r\n *\r\n * @param id - id of the store\r\n * @returns a formatted string\r\n */\r\nconst getStoreType = (id) => '🍍 ' + id;\r\n/**\r\n * Add the pinia plugin without any store. Allows displaying a Pinia plugin tab\r\n * as soon as it is added to the application.\r\n *\r\n * @param app - Vue application\r\n * @param pinia - pinia instance\r\n */\r\nfunction registerPiniaDevtools(app, pinia) {\r\n setupDevtoolsPlugin({\r\n id: 'dev.esm.pinia',\r\n label: 'Pinia 🍍',\r\n logo: 'https://pinia.vuejs.org/logo.svg',\r\n packageName: 'pinia',\r\n homepage: 'https://pinia.vuejs.org',\r\n componentStateTypes,\r\n app,\r\n }, (api) => {\r\n if (typeof api.now !== 'function') {\r\n toastMessage('You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.');\r\n }\r\n api.addTimelineLayer({\r\n id: MUTATIONS_LAYER_ID,\r\n label: `Pinia 🍍`,\r\n color: 0xe5df88,\r\n });\r\n api.addInspector({\r\n id: INSPECTOR_ID,\r\n label: 'Pinia 🍍',\r\n icon: 'storage',\r\n treeFilterPlaceholder: 'Search stores',\r\n actions: [\r\n {\r\n icon: 'content_copy',\r\n action: () => {\r\n actionGlobalCopyState(pinia);\r\n },\r\n tooltip: 'Serialize and copy the state',\r\n },\r\n {\r\n icon: 'content_paste',\r\n action: async () => {\r\n await actionGlobalPasteState(pinia);\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n },\r\n tooltip: 'Replace the state with the content of your clipboard',\r\n },\r\n {\r\n icon: 'save',\r\n action: () => {\r\n actionGlobalSaveState(pinia);\r\n },\r\n tooltip: 'Save the state as a JSON file',\r\n },\r\n {\r\n icon: 'folder_open',\r\n action: async () => {\r\n await actionGlobalOpenStateFile(pinia);\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n },\r\n tooltip: 'Import the state from a JSON file',\r\n },\r\n ],\r\n nodeActions: [\r\n {\r\n icon: 'restore',\r\n tooltip: 'Reset the state (option store only)',\r\n action: (nodeId) => {\r\n const store = pinia._s.get(nodeId);\r\n if (!store) {\r\n toastMessage(`Cannot reset \"${nodeId}\" store because it wasn't found.`, 'warn');\r\n }\r\n else if (!store._isOptionsAPI) {\r\n toastMessage(`Cannot reset \"${nodeId}\" store because it's a setup store.`, 'warn');\r\n }\r\n else {\r\n store.$reset();\r\n toastMessage(`Store \"${nodeId}\" reset.`);\r\n }\r\n },\r\n },\r\n ],\r\n });\r\n api.on.inspectComponent((payload, ctx) => {\r\n const proxy = (payload.componentInstance &&\r\n payload.componentInstance.proxy);\r\n if (proxy && proxy._pStores) {\r\n const piniaStores = payload.componentInstance.proxy._pStores;\r\n Object.values(piniaStores).forEach((store) => {\r\n payload.instanceData.state.push({\r\n type: getStoreType(store.$id),\r\n key: 'state',\r\n editable: true,\r\n value: store._isOptionsAPI\r\n ? {\r\n _custom: {\r\n value: toRaw(store.$state),\r\n actions: [\r\n {\r\n icon: 'restore',\r\n tooltip: 'Reset the state of this store',\r\n action: () => store.$reset(),\r\n },\r\n ],\r\n },\r\n }\r\n : // NOTE: workaround to unwrap transferred refs\r\n Object.keys(store.$state).reduce((state, key) => {\r\n state[key] = store.$state[key];\r\n return state;\r\n }, {}),\r\n });\r\n if (store._getters && store._getters.length) {\r\n payload.instanceData.state.push({\r\n type: getStoreType(store.$id),\r\n key: 'getters',\r\n editable: false,\r\n value: store._getters.reduce((getters, key) => {\r\n try {\r\n getters[key] = store[key];\r\n }\r\n catch (error) {\r\n // @ts-expect-error: we just want to show it in devtools\r\n getters[key] = error;\r\n }\r\n return getters;\r\n }, {}),\r\n });\r\n }\r\n });\r\n }\r\n });\r\n api.on.getInspectorTree((payload) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n let stores = [pinia];\r\n stores = stores.concat(Array.from(pinia._s.values()));\r\n payload.rootNodes = (payload.filter\r\n ? stores.filter((store) => '$id' in store\r\n ? store.$id\r\n .toLowerCase()\r\n .includes(payload.filter.toLowerCase())\r\n : PINIA_ROOT_LABEL.toLowerCase().includes(payload.filter.toLowerCase()))\r\n : stores).map(formatStoreForInspectorTree);\r\n }\r\n });\r\n api.on.getInspectorState((payload) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n const inspectedStore = payload.nodeId === PINIA_ROOT_ID\r\n ? pinia\r\n : pinia._s.get(payload.nodeId);\r\n if (!inspectedStore) {\r\n // this could be the selected store restored for a different project\r\n // so it's better not to say anything here\r\n return;\r\n }\r\n if (inspectedStore) {\r\n payload.state = formatStoreForInspectorState(inspectedStore);\r\n }\r\n }\r\n });\r\n api.on.editInspectorState((payload, ctx) => {\r\n if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {\r\n const inspectedStore = payload.nodeId === PINIA_ROOT_ID\r\n ? pinia\r\n : pinia._s.get(payload.nodeId);\r\n if (!inspectedStore) {\r\n return toastMessage(`store \"${payload.nodeId}\" not found`, 'error');\r\n }\r\n const { path } = payload;\r\n if (!isPinia(inspectedStore)) {\r\n // access only the state\r\n if (path.length !== 1 ||\r\n !inspectedStore._customProperties.has(path[0]) ||\r\n path[0] in inspectedStore.$state) {\r\n path.unshift('$state');\r\n }\r\n }\r\n else {\r\n // Root access, we can omit the `.value` because the devtools API does it for us\r\n path.unshift('state');\r\n }\r\n isTimelineActive = false;\r\n payload.set(inspectedStore, path, payload.state.value);\r\n isTimelineActive = true;\r\n }\r\n });\r\n api.on.editComponentState((payload) => {\r\n if (payload.type.startsWith('🍍')) {\r\n const storeId = payload.type.replace(/^🍍\\s*/, '');\r\n const store = pinia._s.get(storeId);\r\n if (!store) {\r\n return toastMessage(`store \"${storeId}\" not found`, 'error');\r\n }\r\n const { path } = payload;\r\n if (path[0] !== 'state') {\r\n return toastMessage(`Invalid path for store \"${storeId}\":\\n${path}\\nOnly state can be modified.`);\r\n }\r\n // rewrite the first entry to be able to directly set the state as\r\n // well as any other path\r\n path[0] = '$state';\r\n isTimelineActive = false;\r\n payload.set(store, path, payload.state.value);\r\n isTimelineActive = true;\r\n }\r\n });\r\n });\r\n}\r\nfunction addStoreToDevtools(app, store) {\r\n if (!componentStateTypes.includes(getStoreType(store.$id))) {\r\n componentStateTypes.push(getStoreType(store.$id));\r\n }\r\n setupDevtoolsPlugin({\r\n id: 'dev.esm.pinia',\r\n label: 'Pinia 🍍',\r\n logo: 'https://pinia.vuejs.org/logo.svg',\r\n packageName: 'pinia',\r\n homepage: 'https://pinia.vuejs.org',\r\n componentStateTypes,\r\n app,\r\n settings: {\r\n logStoreChanges: {\r\n label: 'Notify about new/deleted stores',\r\n type: 'boolean',\r\n defaultValue: true,\r\n },\r\n // useEmojis: {\r\n // label: 'Use emojis in messages ⚡️',\r\n // type: 'boolean',\r\n // defaultValue: true,\r\n // },\r\n },\r\n }, (api) => {\r\n // gracefully handle errors\r\n const now = typeof api.now === 'function' ? api.now.bind(api) : Date.now;\r\n store.$onAction(({ after, onError, name, args }) => {\r\n const groupId = runningActionId++;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '🛫 ' + name,\r\n subtitle: 'start',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n },\r\n groupId,\r\n },\r\n });\r\n after((result) => {\r\n activeAction = undefined;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '🛬 ' + name,\r\n subtitle: 'end',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n result,\r\n },\r\n groupId,\r\n },\r\n });\r\n });\r\n onError((error) => {\r\n activeAction = undefined;\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n logType: 'error',\r\n title: '💥 ' + name,\r\n subtitle: 'end',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n action: formatDisplay(name),\r\n args,\r\n error,\r\n },\r\n groupId,\r\n },\r\n });\r\n });\r\n }, true);\r\n store._customProperties.forEach((name) => {\r\n watch(() => unref(store[name]), (newValue, oldValue) => {\r\n api.notifyComponentUpdate();\r\n api.sendInspectorState(INSPECTOR_ID);\r\n if (isTimelineActive) {\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: 'Change',\r\n subtitle: name,\r\n data: {\r\n newValue,\r\n oldValue,\r\n },\r\n groupId: activeAction,\r\n },\r\n });\r\n }\r\n }, { deep: true });\r\n });\r\n store.$subscribe(({ events, type }, state) => {\r\n api.notifyComponentUpdate();\r\n api.sendInspectorState(INSPECTOR_ID);\r\n if (!isTimelineActive)\r\n return;\r\n // rootStore.state[store.id] = state\r\n const eventData = {\r\n time: now(),\r\n title: formatMutationType(type),\r\n data: {\r\n store: formatDisplay(store.$id),\r\n ...formatEventData(events),\r\n },\r\n groupId: activeAction,\r\n };\r\n // reset for the next mutation\r\n activeAction = undefined;\r\n if (type === MutationType.patchFunction) {\r\n eventData.subtitle = '⤵️';\r\n }\r\n else if (type === MutationType.patchObject) {\r\n eventData.subtitle = '🧩';\r\n }\r\n else if (events && !Array.isArray(events)) {\r\n eventData.subtitle = events.type;\r\n }\r\n if (events) {\r\n eventData.data['rawEvent(s)'] = {\r\n _custom: {\r\n display: 'DebuggerEvent',\r\n type: 'object',\r\n tooltip: 'raw DebuggerEvent[]',\r\n value: events,\r\n },\r\n };\r\n }\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: eventData,\r\n });\r\n }, { detached: true, flush: 'sync' });\r\n const hotUpdate = store._hotUpdate;\r\n store._hotUpdate = markRaw((newStore) => {\r\n hotUpdate(newStore);\r\n api.addTimelineEvent({\r\n layerId: MUTATIONS_LAYER_ID,\r\n event: {\r\n time: now(),\r\n title: '🔥 ' + store.$id,\r\n subtitle: 'HMR update',\r\n data: {\r\n store: formatDisplay(store.$id),\r\n info: formatDisplay(`HMR update`),\r\n },\r\n },\r\n });\r\n // update the devtools too\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n });\r\n const { $dispose } = store;\r\n store.$dispose = () => {\r\n $dispose();\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n api.getSettings().logStoreChanges &&\r\n toastMessage(`Disposed \"${store.$id}\" store 🗑`);\r\n };\r\n // trigger an update so it can display new registered stores\r\n api.notifyComponentUpdate();\r\n api.sendInspectorTree(INSPECTOR_ID);\r\n api.sendInspectorState(INSPECTOR_ID);\r\n api.getSettings().logStoreChanges &&\r\n toastMessage(`\"${store.$id}\" store installed 🆕`);\r\n });\r\n}\r\nlet runningActionId = 0;\r\nlet activeAction;\r\n/**\r\n * Patches a store to enable action grouping in devtools by wrapping the store with a Proxy that is passed as the\r\n * context of all actions, allowing us to set `runningAction` on each access and effectively associating any state\r\n * mutation to the action.\r\n *\r\n * @param store - store to patch\r\n * @param actionNames - list of actionst to patch\r\n */\r\nfunction patchActionForGrouping(store, actionNames) {\r\n // original actions of the store as they are given by pinia. We are going to override them\r\n const actions = actionNames.reduce((storeActions, actionName) => {\r\n // use toRaw to avoid tracking #541\r\n storeActions[actionName] = toRaw(store)[actionName];\r\n return storeActions;\r\n }, {});\r\n for (const actionName in actions) {\r\n store[actionName] = function () {\r\n // setActivePinia(store._p)\r\n // the running action id is incremented in a before action hook\r\n const _actionId = runningActionId;\r\n const trackedStore = new Proxy(store, {\r\n get(...args) {\r\n activeAction = _actionId;\r\n return Reflect.get(...args);\r\n },\r\n set(...args) {\r\n activeAction = _actionId;\r\n return Reflect.set(...args);\r\n },\r\n });\r\n return actions[actionName].apply(trackedStore, arguments);\r\n };\r\n }\r\n}\r\n/**\r\n * pinia.use(devtoolsPlugin)\r\n */\r\nfunction devtoolsPlugin({ app, store, options }) {\r\n // HMR module\r\n if (store.$id.startsWith('__hot:')) {\r\n return;\r\n }\r\n // detect option api vs setup api\r\n if (options.state) {\r\n store._isOptionsAPI = true;\r\n }\r\n // only wrap actions in option-defined stores as this technique relies on\r\n // wrapping the context of the action with a proxy\r\n if (typeof options.state === 'function') {\r\n patchActionForGrouping(\r\n // @ts-expect-error: can cast the store...\r\n store, Object.keys(options.actions));\r\n const originalHotUpdate = store._hotUpdate;\r\n // Upgrade the HMR to also update the new actions\r\n toRaw(store)._hotUpdate = function (newStore) {\r\n originalHotUpdate.apply(this, arguments);\r\n patchActionForGrouping(store, Object.keys(newStore._hmrPayload.actions));\r\n };\r\n }\r\n addStoreToDevtools(app, \r\n // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?\r\n store);\r\n}\n\n/**\r\n * Creates a Pinia instance to be used by the application\r\n */\r\nfunction createPinia() {\r\n const scope = effectScope(true);\r\n // NOTE: here we could check the window object for a state and directly set it\r\n // if there is anything like it with Vue 3 SSR\r\n const state = scope.run(() => ref({}));\r\n let _p = [];\r\n // plugins added before calling app.use(pinia)\r\n let toBeInstalled = [];\r\n const pinia = markRaw({\r\n install(app) {\r\n // this allows calling useStore() outside of a component setup after\r\n // installing pinia's plugin\r\n setActivePinia(pinia);\r\n if (!isVue2) {\r\n pinia._a = app;\r\n app.provide(piniaSymbol, pinia);\r\n app.config.globalProperties.$pinia = pinia;\r\n /* istanbul ignore else */\r\n if (USE_DEVTOOLS) {\r\n registerPiniaDevtools(app, pinia);\r\n }\r\n toBeInstalled.forEach((plugin) => _p.push(plugin));\r\n toBeInstalled = [];\r\n }\r\n },\r\n use(plugin) {\r\n if (!this._a && !isVue2) {\r\n toBeInstalled.push(plugin);\r\n }\r\n else {\r\n _p.push(plugin);\r\n }\r\n return this;\r\n },\r\n _p,\r\n // it's actually undefined here\r\n // @ts-expect-error\r\n _a: null,\r\n _e: scope,\r\n _s: new Map(),\r\n state,\r\n });\r\n // pinia devtools rely on dev only features so they cannot be forced unless\r\n // the dev build of Vue is used. Avoid old browsers like IE11.\r\n if (USE_DEVTOOLS && typeof Proxy !== 'undefined') {\r\n pinia.use(devtoolsPlugin);\r\n }\r\n return pinia;\r\n}\n\n/**\r\n * Checks if a function is a `StoreDefinition`.\r\n *\r\n * @param fn - object to test\r\n * @returns true if `fn` is a StoreDefinition\r\n */\r\nconst isUseStore = (fn) => {\r\n return typeof fn === 'function' && typeof fn.$id === 'string';\r\n};\r\n/**\r\n * Mutates in place `newState` with `oldState` to _hot update_ it. It will\r\n * remove any key not existing in `newState` and recursively merge plain\r\n * objects.\r\n *\r\n * @param newState - new state object to be patched\r\n * @param oldState - old state that should be used to patch newState\r\n * @returns - newState\r\n */\r\nfunction patchObject(newState, oldState) {\r\n // no need to go through symbols because they cannot be serialized anyway\r\n for (const key in oldState) {\r\n const subPatch = oldState[key];\r\n // skip the whole sub tree\r\n if (!(key in newState)) {\r\n continue;\r\n }\r\n const targetValue = newState[key];\r\n if (isPlainObject(targetValue) &&\r\n isPlainObject(subPatch) &&\r\n !isRef(subPatch) &&\r\n !isReactive(subPatch)) {\r\n newState[key] = patchObject(targetValue, subPatch);\r\n }\r\n else {\r\n // objects are either a bit more complex (e.g. refs) or primitives, so we\r\n // just set the whole thing\r\n if (isVue2) {\r\n set(newState, key, subPatch);\r\n }\r\n else {\r\n newState[key] = subPatch;\r\n }\r\n }\r\n }\r\n return newState;\r\n}\r\n/**\r\n * Creates an _accept_ function to pass to `import.meta.hot` in Vite applications.\r\n *\r\n * @example\r\n * ```js\r\n * const useUser = defineStore(...)\r\n * if (import.meta.hot) {\r\n * import.meta.hot.accept(acceptHMRUpdate(useUser, import.meta.hot))\r\n * }\r\n * ```\r\n *\r\n * @param initialUseStore - return of the defineStore to hot update\r\n * @param hot - `import.meta.hot`\r\n */\r\nfunction acceptHMRUpdate(initialUseStore, hot) {\r\n // strip as much as possible from iife.prod\r\n if (!(process.env.NODE_ENV !== 'production')) {\r\n return () => { };\r\n }\r\n return (newModule) => {\r\n const pinia = hot.data.pinia || initialUseStore._pinia;\r\n if (!pinia) {\r\n // this store is still not used\r\n return;\r\n }\r\n // preserve the pinia instance across loads\r\n hot.data.pinia = pinia;\r\n // console.log('got data', newStore)\r\n for (const exportName in newModule) {\r\n const useStore = newModule[exportName];\r\n // console.log('checking for', exportName)\r\n if (isUseStore(useStore) && pinia._s.has(useStore.$id)) {\r\n // console.log('Accepting update for', useStore.$id)\r\n const id = useStore.$id;\r\n if (id !== initialUseStore.$id) {\r\n console.warn(`The id of the store changed from \"${initialUseStore.$id}\" to \"${id}\". Reloading.`);\r\n // return import.meta.hot.invalidate()\r\n return hot.invalidate();\r\n }\r\n const existingStore = pinia._s.get(id);\r\n if (!existingStore) {\r\n console.log(`[Pinia]: skipping hmr because store doesn't exist yet`);\r\n return;\r\n }\r\n useStore(pinia, existingStore);\r\n }\r\n }\r\n };\r\n}\n\nconst noop = () => { };\r\nfunction addSubscription(subscriptions, callback, detached, onCleanup = noop) {\r\n subscriptions.push(callback);\r\n const removeSubscription = () => {\r\n const idx = subscriptions.indexOf(callback);\r\n if (idx > -1) {\r\n subscriptions.splice(idx, 1);\r\n onCleanup();\r\n }\r\n };\r\n if (!detached && getCurrentInstance()) {\r\n onUnmounted(removeSubscription);\r\n }\r\n return removeSubscription;\r\n}\r\nfunction triggerSubscriptions(subscriptions, ...args) {\r\n subscriptions.slice().forEach((callback) => {\r\n callback(...args);\r\n });\r\n}\n\nfunction mergeReactiveObjects(target, patchToApply) {\r\n // Handle Map instances\r\n if (target instanceof Map && patchToApply instanceof Map) {\r\n patchToApply.forEach((value, key) => target.set(key, value));\r\n }\r\n // Handle Set instances\r\n if (target instanceof Set && patchToApply instanceof Set) {\r\n patchToApply.forEach(target.add, target);\r\n }\r\n // no need to go through symbols because they cannot be serialized anyway\r\n for (const key in patchToApply) {\r\n if (!patchToApply.hasOwnProperty(key))\r\n continue;\r\n const subPatch = patchToApply[key];\r\n const targetValue = target[key];\r\n if (isPlainObject(targetValue) &&\r\n isPlainObject(subPatch) &&\r\n target.hasOwnProperty(key) &&\r\n !isRef(subPatch) &&\r\n !isReactive(subPatch)) {\r\n // NOTE: here I wanted to warn about inconsistent types but it's not possible because in setup stores one might\r\n // start the value of a property as a certain type e.g. a Map, and then for some reason, during SSR, change that\r\n // to `undefined`. When trying to hydrate, we want to override the Map with `undefined`.\r\n target[key] = mergeReactiveObjects(targetValue, subPatch);\r\n }\r\n else {\r\n // @ts-expect-error: subPatch is a valid value\r\n target[key] = subPatch;\r\n }\r\n }\r\n return target;\r\n}\r\nconst skipHydrateSymbol = (process.env.NODE_ENV !== 'production')\r\n ? Symbol('pinia:skipHydration')\r\n : /* istanbul ignore next */ Symbol();\r\nconst skipHydrateMap = /*#__PURE__*/ new WeakMap();\r\n/**\r\n * Tells Pinia to skip the hydration process of a given object. This is useful in setup stores (only) when you return a\r\n * stateful object in the store but it isn't really state. e.g. returning a router instance in a setup store.\r\n *\r\n * @param obj - target object\r\n * @returns obj\r\n */\r\nfunction skipHydrate(obj) {\r\n return isVue2\r\n ? // in @vue/composition-api, the refs are sealed so defineProperty doesn't work...\r\n /* istanbul ignore next */ skipHydrateMap.set(obj, 1) && obj\r\n : Object.defineProperty(obj, skipHydrateSymbol, {});\r\n}\r\n/**\r\n * Returns whether a value should be hydrated\r\n *\r\n * @param obj - target variable\r\n * @returns true if `obj` should be hydrated\r\n */\r\nfunction shouldHydrate(obj) {\r\n return isVue2\r\n ? /* istanbul ignore next */ !skipHydrateMap.has(obj)\r\n : !isPlainObject(obj) || !obj.hasOwnProperty(skipHydrateSymbol);\r\n}\r\nconst { assign } = Object;\r\nfunction isComputed(o) {\r\n return !!(isRef(o) && o.effect);\r\n}\r\nfunction createOptionsStore(id, options, pinia, hot) {\r\n const { state, actions, getters } = options;\r\n const initialState = pinia.state.value[id];\r\n let store;\r\n function setup() {\r\n if (!initialState && (!(process.env.NODE_ENV !== 'production') || !hot)) {\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n set(pinia.state.value, id, state ? state() : {});\r\n }\r\n else {\r\n pinia.state.value[id] = state ? state() : {};\r\n }\r\n }\r\n // avoid creating a state in pinia.state.value\r\n const localState = (process.env.NODE_ENV !== 'production') && hot\r\n ? // use ref() to unwrap refs inside state TODO: check if this is still necessary\r\n toRefs(ref(state ? state() : {}).value)\r\n : toRefs(pinia.state.value[id]);\r\n return assign(localState, actions, Object.keys(getters || {}).reduce((computedGetters, name) => {\r\n if ((process.env.NODE_ENV !== 'production') && name in localState) {\r\n console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with \"${name}\" in store \"${id}\".`);\r\n }\r\n computedGetters[name] = markRaw(computed(() => {\r\n setActivePinia(pinia);\r\n // it was created just before\r\n const store = pinia._s.get(id);\r\n // allow cross using stores\r\n /* istanbul ignore next */\r\n if (isVue2 && !store._r)\r\n return;\r\n // @ts-expect-error\r\n // return getters![name].call(context, context)\r\n // TODO: avoid reading the getter while assigning with a global variable\r\n return getters[name].call(store, store);\r\n }));\r\n return computedGetters;\r\n }, {}));\r\n }\r\n store = createSetupStore(id, setup, options, pinia, hot, true);\r\n store.$reset = function $reset() {\r\n const newState = state ? state() : {};\r\n // we use a patch to group all changes into one single subscription\r\n this.$patch(($state) => {\r\n assign($state, newState);\r\n });\r\n };\r\n return store;\r\n}\r\nfunction createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore) {\r\n let scope;\r\n const optionsForPlugin = assign({ actions: {} }, options);\r\n /* istanbul ignore if */\r\n // @ts-expect-error: active is an internal property\r\n if ((process.env.NODE_ENV !== 'production') && !pinia._e.active) {\r\n throw new Error('Pinia destroyed');\r\n }\r\n // watcher options for $subscribe\r\n const $subscribeOptions = {\r\n deep: true,\r\n // flush: 'post',\r\n };\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production') && !isVue2) {\r\n $subscribeOptions.onTrigger = (event) => {\r\n /* istanbul ignore else */\r\n if (isListening) {\r\n debuggerEvents = event;\r\n // avoid triggering this while the store is being built and the state is being set in pinia\r\n }\r\n else if (isListening == false && !store._hotUpdating) {\r\n // let patch send all the events together later\r\n /* istanbul ignore else */\r\n if (Array.isArray(debuggerEvents)) {\r\n debuggerEvents.push(event);\r\n }\r\n else {\r\n console.error('🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug.');\r\n }\r\n }\r\n };\r\n }\r\n // internal state\r\n let isListening; // set to true at the end\r\n let isSyncListening; // set to true at the end\r\n let subscriptions = markRaw([]);\r\n let actionSubscriptions = markRaw([]);\r\n let debuggerEvents;\r\n const initialState = pinia.state.value[$id];\r\n // avoid setting the state for option stores if it is set\r\n // by the setup\r\n if (!isOptionsStore && !initialState && (!(process.env.NODE_ENV !== 'production') || !hot)) {\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n set(pinia.state.value, $id, {});\r\n }\r\n else {\r\n pinia.state.value[$id] = {};\r\n }\r\n }\r\n const hotState = ref({});\r\n // avoid triggering too many listeners\r\n // https://github.com/vuejs/pinia/issues/1129\r\n let activeListener;\r\n function $patch(partialStateOrMutator) {\r\n let subscriptionMutation;\r\n isListening = isSyncListening = false;\r\n // reset the debugger events since patches are sync\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n debuggerEvents = [];\r\n }\r\n if (typeof partialStateOrMutator === 'function') {\r\n partialStateOrMutator(pinia.state.value[$id]);\r\n subscriptionMutation = {\r\n type: MutationType.patchFunction,\r\n storeId: $id,\r\n events: debuggerEvents,\r\n };\r\n }\r\n else {\r\n mergeReactiveObjects(pinia.state.value[$id], partialStateOrMutator);\r\n subscriptionMutation = {\r\n type: MutationType.patchObject,\r\n payload: partialStateOrMutator,\r\n storeId: $id,\r\n events: debuggerEvents,\r\n };\r\n }\r\n const myListenerId = (activeListener = Symbol());\r\n nextTick().then(() => {\r\n if (activeListener === myListenerId) {\r\n isListening = true;\r\n }\r\n });\r\n isSyncListening = true;\r\n // because we paused the watcher, we need to manually call the subscriptions\r\n triggerSubscriptions(subscriptions, subscriptionMutation, pinia.state.value[$id]);\r\n }\r\n /* istanbul ignore next */\r\n const $reset = (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n throw new Error(`🍍: Store \"${$id}\" is built using the setup syntax and does not implement $reset().`);\r\n }\r\n : noop;\r\n function $dispose() {\r\n scope.stop();\r\n subscriptions = [];\r\n actionSubscriptions = [];\r\n pinia._s.delete($id);\r\n }\r\n /**\r\n * Wraps an action to handle subscriptions.\r\n *\r\n * @param name - name of the action\r\n * @param action - action to wrap\r\n * @returns a wrapped action to handle subscriptions\r\n */\r\n function wrapAction(name, action) {\r\n return function () {\r\n setActivePinia(pinia);\r\n const args = Array.from(arguments);\r\n const afterCallbackList = [];\r\n const onErrorCallbackList = [];\r\n function after(callback) {\r\n afterCallbackList.push(callback);\r\n }\r\n function onError(callback) {\r\n onErrorCallbackList.push(callback);\r\n }\r\n // @ts-expect-error\r\n triggerSubscriptions(actionSubscriptions, {\r\n args,\r\n name,\r\n store,\r\n after,\r\n onError,\r\n });\r\n let ret;\r\n try {\r\n ret = action.apply(this && this.$id === $id ? this : store, args);\r\n // handle sync errors\r\n }\r\n catch (error) {\r\n triggerSubscriptions(onErrorCallbackList, error);\r\n throw error;\r\n }\r\n if (ret instanceof Promise) {\r\n return ret\r\n .then((value) => {\r\n triggerSubscriptions(afterCallbackList, value);\r\n return value;\r\n })\r\n .catch((error) => {\r\n triggerSubscriptions(onErrorCallbackList, error);\r\n return Promise.reject(error);\r\n });\r\n }\r\n // allow the afterCallback to override the return value\r\n triggerSubscriptions(afterCallbackList, ret);\r\n return ret;\r\n };\r\n }\r\n const _hmrPayload = /*#__PURE__*/ markRaw({\r\n actions: {},\r\n getters: {},\r\n state: [],\r\n hotState,\r\n });\r\n const partialStore = {\r\n _p: pinia,\r\n // _s: scope,\r\n $id,\r\n $onAction: addSubscription.bind(null, actionSubscriptions),\r\n $patch,\r\n $reset,\r\n $subscribe(callback, options = {}) {\r\n const removeSubscription = addSubscription(subscriptions, callback, options.detached, () => stopWatcher());\r\n const stopWatcher = scope.run(() => watch(() => pinia.state.value[$id], (state) => {\r\n if (options.flush === 'sync' ? isSyncListening : isListening) {\r\n callback({\r\n storeId: $id,\r\n type: MutationType.direct,\r\n events: debuggerEvents,\r\n }, state);\r\n }\r\n }, assign({}, $subscribeOptions, options)));\r\n return removeSubscription;\r\n },\r\n $dispose,\r\n };\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n // start as non ready\r\n partialStore._r = false;\r\n }\r\n const store = reactive((process.env.NODE_ENV !== 'production') || USE_DEVTOOLS\r\n ? assign({\r\n _hmrPayload,\r\n _customProperties: markRaw(new Set()), // devtools custom properties\r\n }, partialStore\r\n // must be added later\r\n // setupStore\r\n )\r\n : partialStore);\r\n // store the partial store now so the setup of stores can instantiate each other before they are finished without\r\n // creating infinite loops.\r\n pinia._s.set($id, store);\r\n // TODO: idea create skipSerialize that marks properties as non serializable and they are skipped\r\n const setupStore = pinia._e.run(() => {\r\n scope = effectScope();\r\n return scope.run(() => setup());\r\n });\r\n // overwrite existing actions to support $onAction\r\n for (const key in setupStore) {\r\n const prop = setupStore[key];\r\n if ((isRef(prop) && !isComputed(prop)) || isReactive(prop)) {\r\n // mark it as a piece of state to be serialized\r\n if ((process.env.NODE_ENV !== 'production') && hot) {\r\n set(hotState.value, key, toRef(setupStore, key));\r\n // createOptionStore directly sets the state in pinia.state.value so we\r\n // can just skip that\r\n }\r\n else if (!isOptionsStore) {\r\n // in setup stores we must hydrate the state and sync pinia state tree with the refs the user just created\r\n if (initialState && shouldHydrate(prop)) {\r\n if (isRef(prop)) {\r\n prop.value = initialState[key];\r\n }\r\n else {\r\n // probably a reactive object, lets recursively assign\r\n // @ts-expect-error: prop is unknown\r\n mergeReactiveObjects(prop, initialState[key]);\r\n }\r\n }\r\n // transfer the ref to the pinia state to keep everything in sync\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n set(pinia.state.value[$id], key, prop);\r\n }\r\n else {\r\n pinia.state.value[$id][key] = prop;\r\n }\r\n }\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n _hmrPayload.state.push(key);\r\n }\r\n // action\r\n }\r\n else if (typeof prop === 'function') {\r\n // @ts-expect-error: we are overriding the function we avoid wrapping if\r\n const actionValue = (process.env.NODE_ENV !== 'production') && hot ? prop : wrapAction(key, prop);\r\n // this a hot module replacement store because the hotUpdate method needs\r\n // to do it with the right context\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n set(setupStore, key, actionValue);\r\n }\r\n else {\r\n // @ts-expect-error\r\n setupStore[key] = actionValue;\r\n }\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n _hmrPayload.actions[key] = prop;\r\n }\r\n // list actions so they can be used in plugins\r\n // @ts-expect-error\r\n optionsForPlugin.actions[key] = prop;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n // add getters for devtools\r\n if (isComputed(prop)) {\r\n _hmrPayload.getters[key] = isOptionsStore\r\n ? // @ts-expect-error\r\n options.getters[key]\r\n : prop;\r\n if (IS_CLIENT) {\r\n const getters = setupStore._getters ||\r\n // @ts-expect-error: same\r\n (setupStore._getters = markRaw([]));\r\n getters.push(key);\r\n }\r\n }\r\n }\r\n }\r\n // add the state, getters, and action properties\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n Object.keys(setupStore).forEach((key) => {\r\n set(store, key, setupStore[key]);\r\n });\r\n }\r\n else {\r\n assign(store, setupStore);\r\n // allows retrieving reactive objects with `storeToRefs()`. Must be called after assigning to the reactive object.\r\n // Make `storeToRefs()` work with `reactive()` #799\r\n assign(toRaw(store), setupStore);\r\n }\r\n // use this instead of a computed with setter to be able to create it anywhere\r\n // without linking the computed lifespan to wherever the store is first\r\n // created.\r\n Object.defineProperty(store, '$state', {\r\n get: () => ((process.env.NODE_ENV !== 'production') && hot ? hotState.value : pinia.state.value[$id]),\r\n set: (state) => {\r\n /* istanbul ignore if */\r\n if ((process.env.NODE_ENV !== 'production') && hot) {\r\n throw new Error('cannot set hotState');\r\n }\r\n $patch(($state) => {\r\n assign($state, state);\r\n });\r\n },\r\n });\r\n // add the hotUpdate before plugins to allow them to override it\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n store._hotUpdate = markRaw((newStore) => {\r\n store._hotUpdating = true;\r\n newStore._hmrPayload.state.forEach((stateKey) => {\r\n if (stateKey in store.$state) {\r\n const newStateTarget = newStore.$state[stateKey];\r\n const oldStateSource = store.$state[stateKey];\r\n if (typeof newStateTarget === 'object' &&\r\n isPlainObject(newStateTarget) &&\r\n isPlainObject(oldStateSource)) {\r\n patchObject(newStateTarget, oldStateSource);\r\n }\r\n else {\r\n // transfer the ref\r\n newStore.$state[stateKey] = oldStateSource;\r\n }\r\n }\r\n // patch direct access properties to allow store.stateProperty to work as\r\n // store.$state.stateProperty\r\n set(store, stateKey, toRef(newStore.$state, stateKey));\r\n });\r\n // remove deleted state properties\r\n Object.keys(store.$state).forEach((stateKey) => {\r\n if (!(stateKey in newStore.$state)) {\r\n del(store, stateKey);\r\n }\r\n });\r\n // avoid devtools logging this as a mutation\r\n isListening = false;\r\n isSyncListening = false;\r\n pinia.state.value[$id] = toRef(newStore._hmrPayload, 'hotState');\r\n isSyncListening = true;\r\n nextTick().then(() => {\r\n isListening = true;\r\n });\r\n for (const actionName in newStore._hmrPayload.actions) {\r\n const action = newStore[actionName];\r\n set(store, actionName, wrapAction(actionName, action));\r\n }\r\n // TODO: does this work in both setup and option store?\r\n for (const getterName in newStore._hmrPayload.getters) {\r\n const getter = newStore._hmrPayload.getters[getterName];\r\n const getterValue = isOptionsStore\r\n ? // special handling of options api\r\n computed(() => {\r\n setActivePinia(pinia);\r\n return getter.call(store, store);\r\n })\r\n : getter;\r\n set(store, getterName, getterValue);\r\n }\r\n // remove deleted getters\r\n Object.keys(store._hmrPayload.getters).forEach((key) => {\r\n if (!(key in newStore._hmrPayload.getters)) {\r\n del(store, key);\r\n }\r\n });\r\n // remove old actions\r\n Object.keys(store._hmrPayload.actions).forEach((key) => {\r\n if (!(key in newStore._hmrPayload.actions)) {\r\n del(store, key);\r\n }\r\n });\r\n // update the values used in devtools and to allow deleting new properties later on\r\n store._hmrPayload = newStore._hmrPayload;\r\n store._getters = newStore._getters;\r\n store._hotUpdating = false;\r\n });\r\n }\r\n if (USE_DEVTOOLS) {\r\n const nonEnumerable = {\r\n writable: true,\r\n configurable: true,\r\n // avoid warning on devtools trying to display this property\r\n enumerable: false,\r\n };\r\n ['_p', '_hmrPayload', '_getters', '_customProperties'].forEach((p) => {\r\n Object.defineProperty(store, p, {\r\n value: store[p],\r\n ...nonEnumerable,\r\n });\r\n });\r\n }\r\n /* istanbul ignore if */\r\n if (isVue2) {\r\n // mark the store as ready before plugins\r\n store._r = true;\r\n }\r\n // apply all plugins\r\n pinia._p.forEach((extender) => {\r\n /* istanbul ignore else */\r\n if (USE_DEVTOOLS) {\r\n const extensions = scope.run(() => extender({\r\n store,\r\n app: pinia._a,\r\n pinia,\r\n options: optionsForPlugin,\r\n }));\r\n Object.keys(extensions || {}).forEach((key) => store._customProperties.add(key));\r\n assign(store, extensions);\r\n }\r\n else {\r\n assign(store, scope.run(() => extender({\r\n store,\r\n app: pinia._a,\r\n pinia,\r\n options: optionsForPlugin,\r\n })));\r\n }\r\n });\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n store.$state &&\r\n typeof store.$state === 'object' &&\r\n typeof store.$state.constructor === 'function' &&\r\n !store.$state.constructor.toString().includes('[native code]')) {\r\n console.warn(`[🍍]: The \"state\" must be a plain object. It cannot be\\n` +\r\n `\\tstate: () => new MyClass()\\n` +\r\n `Found in store \"${store.$id}\".`);\r\n }\r\n // only apply hydrate to option stores with an initial state in pinia\r\n if (initialState &&\r\n isOptionsStore &&\r\n options.hydrate) {\r\n options.hydrate(store.$state, initialState);\r\n }\r\n isListening = true;\r\n isSyncListening = true;\r\n return store;\r\n}\r\nfunction defineStore(\r\n// TODO: add proper types from above\r\nidOrOptions, setup, setupOptions) {\r\n let id;\r\n let options;\r\n const isSetupStore = typeof setup === 'function';\r\n if (typeof idOrOptions === 'string') {\r\n id = idOrOptions;\r\n // the option store setup will contain the actual options in this case\r\n options = isSetupStore ? setupOptions : setup;\r\n }\r\n else {\r\n options = idOrOptions;\r\n id = idOrOptions.id;\r\n }\r\n function useStore(pinia, hot) {\r\n const currentInstance = getCurrentInstance();\r\n pinia =\r\n // in test mode, ignore the argument provided as we can always retrieve a\r\n // pinia instance with getActivePinia()\r\n ((process.env.NODE_ENV === 'test') && activePinia && activePinia._testing ? null : pinia) ||\r\n (currentInstance && inject(piniaSymbol));\r\n if (pinia)\r\n setActivePinia(pinia);\r\n if ((process.env.NODE_ENV !== 'production') && !activePinia) {\r\n throw new Error(`[🍍]: getActivePinia was called with no active Pinia. Did you forget to install pinia?\\n` +\r\n `\\tconst pinia = createPinia()\\n` +\r\n `\\tapp.use(pinia)\\n` +\r\n `This will fail in production.`);\r\n }\r\n pinia = activePinia;\r\n if (!pinia._s.has(id)) {\r\n // creating the store registers it in `pinia._s`\r\n if (isSetupStore) {\r\n createSetupStore(id, setup, options, pinia);\r\n }\r\n else {\r\n createOptionsStore(id, options, pinia);\r\n }\r\n /* istanbul ignore else */\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n // @ts-expect-error: not the right inferred type\r\n useStore._pinia = pinia;\r\n }\r\n }\r\n const store = pinia._s.get(id);\r\n if ((process.env.NODE_ENV !== 'production') && hot) {\r\n const hotId = '__hot:' + id;\r\n const newStore = isSetupStore\r\n ? createSetupStore(hotId, setup, options, pinia, true)\r\n : createOptionsStore(hotId, assign({}, options), pinia, true);\r\n hot._hotUpdate(newStore);\r\n // cleanup the state properties and the store from the cache\r\n delete pinia.state.value[hotId];\r\n pinia._s.delete(hotId);\r\n }\r\n // save stores in instances to access them devtools\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n IS_CLIENT &&\r\n currentInstance &&\r\n currentInstance.proxy &&\r\n // avoid adding stores that are just built for hot module replacement\r\n !hot) {\r\n const vm = currentInstance.proxy;\r\n const cache = '_pStores' in vm ? vm._pStores : (vm._pStores = {});\r\n cache[id] = store;\r\n }\r\n // StoreGeneric cannot be casted towards Store\r\n return store;\r\n }\r\n useStore.$id = id;\r\n return useStore;\r\n}\n\nlet mapStoreSuffix = 'Store';\r\n/**\r\n * Changes the suffix added by `mapStores()`. Can be set to an empty string.\r\n * Defaults to `\"Store\"`. Make sure to extend the MapStoresCustomization\r\n * interface if you are using TypeScript.\r\n *\r\n * @param suffix - new suffix\r\n */\r\nfunction setMapStoreSuffix(suffix // could be 'Store' but that would be annoying for JS\r\n) {\r\n mapStoreSuffix = suffix;\r\n}\r\n/**\r\n * Allows using stores without the composition API (`setup()`) by generating an\r\n * object to be spread in the `computed` field of a component. It accepts a list\r\n * of store definitions.\r\n *\r\n * @example\r\n * ```js\r\n * export default {\r\n * computed: {\r\n * // other computed properties\r\n * ...mapStores(useUserStore, useCartStore)\r\n * },\r\n *\r\n * created() {\r\n * this.userStore // store with id \"user\"\r\n * this.cartStore // store with id \"cart\"\r\n * }\r\n * }\r\n * ```\r\n *\r\n * @param stores - list of stores to map to an object\r\n */\r\nfunction mapStores(...stores) {\r\n if ((process.env.NODE_ENV !== 'production') && Array.isArray(stores[0])) {\r\n console.warn(`[🍍]: Directly pass all stores to \"mapStores()\" without putting them in an array:\\n` +\r\n `Replace\\n` +\r\n `\\tmapStores([useAuthStore, useCartStore])\\n` +\r\n `with\\n` +\r\n `\\tmapStores(useAuthStore, useCartStore)\\n` +\r\n `This will fail in production if not fixed.`);\r\n stores = stores[0];\r\n }\r\n return stores.reduce((reduced, useStore) => {\r\n // @ts-expect-error: $id is added by defineStore\r\n reduced[useStore.$id + mapStoreSuffix] = function () {\r\n return useStore(this.$pinia);\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Allows using state and getters from one store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `computed` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapState(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n reduced[key] = function () {\r\n return useStore(this.$pinia)[key];\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function () {\r\n const store = useStore(this.$pinia);\r\n const storeKey = keysOrMapper[key];\r\n // for some reason TS is unable to infer the type of storeKey to be a\r\n // function\r\n return typeof storeKey === 'function'\r\n ? storeKey.call(this, store)\r\n : store[storeKey];\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Alias for `mapState()`. You should use `mapState()` instead.\r\n * @deprecated use `mapState()` instead.\r\n */\r\nconst mapGetters = mapState;\r\n/**\r\n * Allows directly using actions from your store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `methods` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapActions(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function (...args) {\r\n return useStore(this.$pinia)[key](...args);\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-expect-error\r\n reduced[key] = function (...args) {\r\n return useStore(this.$pinia)[keysOrMapper[key]](...args);\r\n };\r\n return reduced;\r\n }, {});\r\n}\r\n/**\r\n * Allows using state and getters from one store without using the composition\r\n * API (`setup()`) by generating an object to be spread in the `computed` field\r\n * of a component.\r\n *\r\n * @param useStore - store to map from\r\n * @param keysOrMapper - array or object\r\n */\r\nfunction mapWritableState(useStore, keysOrMapper) {\r\n return Array.isArray(keysOrMapper)\r\n ? keysOrMapper.reduce((reduced, key) => {\r\n // @ts-ignore\r\n reduced[key] = {\r\n get() {\r\n return useStore(this.$pinia)[key];\r\n },\r\n set(value) {\r\n // it's easier to type it here as any\r\n return (useStore(this.$pinia)[key] = value);\r\n },\r\n };\r\n return reduced;\r\n }, {})\r\n : Object.keys(keysOrMapper).reduce((reduced, key) => {\r\n // @ts-ignore\r\n reduced[key] = {\r\n get() {\r\n return useStore(this.$pinia)[keysOrMapper[key]];\r\n },\r\n set(value) {\r\n // it's easier to type it here as any\r\n return (useStore(this.$pinia)[keysOrMapper[key]] = value);\r\n },\r\n };\r\n return reduced;\r\n }, {});\r\n}\n\n/**\r\n * Creates an object of references with all the state, getters, and plugin-added\r\n * state properties of the store. Similar to `toRefs()` but specifically\r\n * designed for Pinia stores so methods and non reactive properties are\r\n * completely ignored.\r\n *\r\n * @param store - store to extract the refs from\r\n */\r\nfunction storeToRefs(store) {\r\n // See https://github.com/vuejs/pinia/issues/852\r\n // It's easier to just use toRefs() even if it includes more stuff\r\n if (isVue2) {\r\n // @ts-expect-error: toRefs include methods and others\r\n return toRefs(store);\r\n }\r\n else {\r\n store = toRaw(store);\r\n const refs = {};\r\n for (const key in store) {\r\n const value = store[key];\r\n if (isRef(value) || isReactive(value)) {\r\n // @ts-expect-error: the key is state or getter\r\n refs[key] =\r\n // ---\r\n toRef(store, key);\r\n }\r\n }\r\n return refs;\r\n }\r\n}\n\n/**\r\n * Vue 2 Plugin that must be installed for pinia to work. Note **you don't need\r\n * this plugin if you are using Nuxt.js**. Use the `buildModule` instead:\r\n * https://pinia.vuejs.org/ssr/nuxt.html.\r\n *\r\n * @example\r\n * ```js\r\n * import Vue from 'vue'\r\n * import { PiniaVuePlugin, createPinia } from 'pinia'\r\n *\r\n * Vue.use(PiniaVuePlugin)\r\n * const pinia = createPinia()\r\n *\r\n * new Vue({\r\n * el: '#app',\r\n * // ...\r\n * pinia,\r\n * })\r\n * ```\r\n *\r\n * @param _Vue - `Vue` imported from 'vue'.\r\n */\r\nconst PiniaVuePlugin = function (_Vue) {\r\n // Equivalent of\r\n // app.config.globalProperties.$pinia = pinia\r\n _Vue.mixin({\r\n beforeCreate() {\r\n const options = this.$options;\r\n if (options.pinia) {\r\n const pinia = options.pinia;\r\n // HACK: taken from provide(): https://github.com/vuejs/composition-api/blob/main/src/apis/inject.ts#L31\r\n /* istanbul ignore else */\r\n if (!this._provided) {\r\n const provideCache = {};\r\n Object.defineProperty(this, '_provided', {\r\n get: () => provideCache,\r\n set: (v) => Object.assign(provideCache, v),\r\n });\r\n }\r\n this._provided[piniaSymbol] = pinia;\r\n // propagate the pinia instance in an SSR friendly way\r\n // avoid adding it to nuxt twice\r\n /* istanbul ignore else */\r\n if (!this.$pinia) {\r\n this.$pinia = pinia;\r\n }\r\n pinia._a = this;\r\n if (IS_CLIENT) {\r\n // this allows calling useStore() outside of a component setup after\r\n // installing pinia's plugin\r\n setActivePinia(pinia);\r\n }\r\n if (USE_DEVTOOLS) {\r\n registerPiniaDevtools(pinia._a, pinia);\r\n }\r\n }\r\n else if (!this.$pinia && options.parent && options.parent.$pinia) {\r\n this.$pinia = options.parent.$pinia;\r\n }\r\n },\r\n destroyed() {\r\n delete this._pStores;\r\n },\r\n });\r\n};\n\nexport { MutationType, PiniaVuePlugin, acceptHMRUpdate, createPinia, defineStore, getActivePinia, mapActions, mapGetters, mapState, mapStores, mapWritableState, setActivePinia, setMapStoreSuffix, skipHydrate, storeToRefs };\n","/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress\n * @license MIT */\n\n;(function(root, factory) {\n\n if (typeof define === 'function' && define.amd) {\n define(factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.NProgress = factory();\n }\n\n})(this, function() {\n var NProgress = {};\n\n NProgress.version = '0.2.0';\n\n var Settings = NProgress.settings = {\n minimum: 0.08,\n easing: 'ease',\n positionUsing: '',\n speed: 200,\n trickle: true,\n trickleRate: 0.02,\n trickleSpeed: 800,\n showSpinner: true,\n barSelector: '[role=\"bar\"]',\n spinnerSelector: '[role=\"spinner\"]',\n parent: 'body',\n template: '<div class=\"bar\" role=\"bar\"><div class=\"peg\"></div></div><div class=\"spinner\" role=\"spinner\"><div class=\"spinner-icon\"></div></div>'\n };\n\n /**\n * Updates configuration.\n *\n * NProgress.configure({\n * minimum: 0.1\n * });\n */\n NProgress.configure = function(options) {\n var key, value;\n for (key in options) {\n value = options[key];\n if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;\n }\n\n return this;\n };\n\n /**\n * Last number.\n */\n\n NProgress.status = null;\n\n /**\n * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.\n *\n * NProgress.set(0.4);\n * NProgress.set(1.0);\n */\n\n NProgress.set = function(n) {\n var started = NProgress.isStarted();\n\n n = clamp(n, Settings.minimum, 1);\n NProgress.status = (n === 1 ? null : n);\n\n var progress = NProgress.render(!started),\n bar = progress.querySelector(Settings.barSelector),\n speed = Settings.speed,\n ease = Settings.easing;\n\n progress.offsetWidth; /* Repaint */\n\n queue(function(next) {\n // Set positionUsing if it hasn't already been set\n if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();\n\n // Add transition\n css(bar, barPositionCSS(n, speed, ease));\n\n if (n === 1) {\n // Fade out\n css(progress, { \n transition: 'none', \n opacity: 1 \n });\n progress.offsetWidth; /* Repaint */\n\n setTimeout(function() {\n css(progress, { \n transition: 'all ' + speed + 'ms linear', \n opacity: 0 \n });\n setTimeout(function() {\n NProgress.remove();\n next();\n }, speed);\n }, speed);\n } else {\n setTimeout(next, speed);\n }\n });\n\n return this;\n };\n\n NProgress.isStarted = function() {\n return typeof NProgress.status === 'number';\n };\n\n /**\n * Shows the progress bar.\n * This is the same as setting the status to 0%, except that it doesn't go backwards.\n *\n * NProgress.start();\n *\n */\n NProgress.start = function() {\n if (!NProgress.status) NProgress.set(0);\n\n var work = function() {\n setTimeout(function() {\n if (!NProgress.status) return;\n NProgress.trickle();\n work();\n }, Settings.trickleSpeed);\n };\n\n if (Settings.trickle) work();\n\n return this;\n };\n\n /**\n * Hides the progress bar.\n * This is the *sort of* the same as setting the status to 100%, with the\n * difference being `done()` makes some placebo effect of some realistic motion.\n *\n * NProgress.done();\n *\n * If `true` is passed, it will show the progress bar even if its hidden.\n *\n * NProgress.done(true);\n */\n\n NProgress.done = function(force) {\n if (!force && !NProgress.status) return this;\n\n return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);\n };\n\n /**\n * Increments by a random amount.\n */\n\n NProgress.inc = function(amount) {\n var n = NProgress.status;\n\n if (!n) {\n return NProgress.start();\n } else {\n if (typeof amount !== 'number') {\n amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);\n }\n\n n = clamp(n + amount, 0, 0.994);\n return NProgress.set(n);\n }\n };\n\n NProgress.trickle = function() {\n return NProgress.inc(Math.random() * Settings.trickleRate);\n };\n\n /**\n * Waits for all supplied jQuery promises and\n * increases the progress as the promises resolve.\n *\n * @param $promise jQUery Promise\n */\n (function() {\n var initial = 0, current = 0;\n\n NProgress.promise = function($promise) {\n if (!$promise || $promise.state() === \"resolved\") {\n return this;\n }\n\n if (current === 0) {\n NProgress.start();\n }\n\n initial++;\n current++;\n\n $promise.always(function() {\n current--;\n if (current === 0) {\n initial = 0;\n NProgress.done();\n } else {\n NProgress.set((initial - current) / initial);\n }\n });\n\n return this;\n };\n\n })();\n\n /**\n * (Internal) renders the progress bar markup based on the `template`\n * setting.\n */\n\n NProgress.render = function(fromStart) {\n if (NProgress.isRendered()) return document.getElementById('nprogress');\n\n addClass(document.documentElement, 'nprogress-busy');\n \n var progress = document.createElement('div');\n progress.id = 'nprogress';\n progress.innerHTML = Settings.template;\n\n var bar = progress.querySelector(Settings.barSelector),\n perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),\n parent = document.querySelector(Settings.parent),\n spinner;\n \n css(bar, {\n transition: 'all 0 linear',\n transform: 'translate3d(' + perc + '%,0,0)'\n });\n\n if (!Settings.showSpinner) {\n spinner = progress.querySelector(Settings.spinnerSelector);\n spinner && removeElement(spinner);\n }\n\n if (parent != document.body) {\n addClass(parent, 'nprogress-custom-parent');\n }\n\n parent.appendChild(progress);\n return progress;\n };\n\n /**\n * Removes the element. Opposite of render().\n */\n\n NProgress.remove = function() {\n removeClass(document.documentElement, 'nprogress-busy');\n removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');\n var progress = document.getElementById('nprogress');\n progress && removeElement(progress);\n };\n\n /**\n * Checks if the progress bar is rendered.\n */\n\n NProgress.isRendered = function() {\n return !!document.getElementById('nprogress');\n };\n\n /**\n * Determine which positioning CSS rule to use.\n */\n\n NProgress.getPositioningCSS = function() {\n // Sniff on document.body.style\n var bodyStyle = document.body.style;\n\n // Sniff prefixes\n var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :\n ('MozTransform' in bodyStyle) ? 'Moz' :\n ('msTransform' in bodyStyle) ? 'ms' :\n ('OTransform' in bodyStyle) ? 'O' : '';\n\n if (vendorPrefix + 'Perspective' in bodyStyle) {\n // Modern browsers with 3D support, e.g. Webkit, IE10\n return 'translate3d';\n } else if (vendorPrefix + 'Transform' in bodyStyle) {\n // Browsers without 3D support, e.g. IE9\n return 'translate';\n } else {\n // Browsers without translate() support, e.g. IE7-8\n return 'margin';\n }\n };\n\n /**\n * Helpers\n */\n\n function clamp(n, min, max) {\n if (n < min) return min;\n if (n > max) return max;\n return n;\n }\n\n /**\n * (Internal) converts a percentage (`0..1`) to a bar translateX\n * percentage (`-100%..0%`).\n */\n\n function toBarPerc(n) {\n return (-1 + n) * 100;\n }\n\n\n /**\n * (Internal) returns the correct CSS for changing the bar's\n * position given an n percentage, and speed and ease from Settings\n */\n\n function barPositionCSS(n, speed, ease) {\n var barCSS;\n\n if (Settings.positionUsing === 'translate3d') {\n barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };\n } else if (Settings.positionUsing === 'translate') {\n barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };\n } else {\n barCSS = { 'margin-left': toBarPerc(n)+'%' };\n }\n\n barCSS.transition = 'all '+speed+'ms '+ease;\n\n return barCSS;\n }\n\n /**\n * (Internal) Queues a function to be executed.\n */\n\n var queue = (function() {\n var pending = [];\n \n function next() {\n var fn = pending.shift();\n if (fn) {\n fn(next);\n }\n }\n\n return function(fn) {\n pending.push(fn);\n if (pending.length == 1) next();\n };\n })();\n\n /**\n * (Internal) Applies css properties to an element, similar to the jQuery \n * css method.\n *\n * While this helper does assist with vendor prefixed property names, it \n * does not perform any manipulation of values prior to setting styles.\n */\n\n var css = (function() {\n var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],\n cssProps = {};\n\n function camelCase(string) {\n return string.replace(/^-ms-/, 'ms-').replace(/-([\\da-z])/gi, function(match, letter) {\n return letter.toUpperCase();\n });\n }\n\n function getVendorProp(name) {\n var style = document.body.style;\n if (name in style) return name;\n\n var i = cssPrefixes.length,\n capName = name.charAt(0).toUpperCase() + name.slice(1),\n vendorName;\n while (i--) {\n vendorName = cssPrefixes[i] + capName;\n if (vendorName in style) return vendorName;\n }\n\n return name;\n }\n\n function getStyleProp(name) {\n name = camelCase(name);\n return cssProps[name] || (cssProps[name] = getVendorProp(name));\n }\n\n function applyCss(element, prop, value) {\n prop = getStyleProp(prop);\n element.style[prop] = value;\n }\n\n return function(element, properties) {\n var args = arguments,\n prop, \n value;\n\n if (args.length == 2) {\n for (prop in properties) {\n value = properties[prop];\n if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);\n }\n } else {\n applyCss(element, args[1], args[2]);\n }\n }\n })();\n\n /**\n * (Internal) Determines if an element or space separated list of class names contains a class name.\n */\n\n function hasClass(element, name) {\n var list = typeof element == 'string' ? element : classList(element);\n return list.indexOf(' ' + name + ' ') >= 0;\n }\n\n /**\n * (Internal) Adds a class to an element.\n */\n\n function addClass(element, name) {\n var oldList = classList(element),\n newList = oldList + name;\n\n if (hasClass(oldList, name)) return; \n\n // Trim the opening space.\n element.className = newList.substring(1);\n }\n\n /**\n * (Internal) Removes a class from an element.\n */\n\n function removeClass(element, name) {\n var oldList = classList(element),\n newList;\n\n if (!hasClass(element, name)) return;\n\n // Replace the class name.\n newList = oldList.replace(' ' + name + ' ', ' ');\n\n // Trim the opening and closing spaces.\n element.className = newList.substring(1, newList.length - 1);\n }\n\n /**\n * (Internal) Gets a space separated list of the class names on the element. \n * The list is wrapped with a single space on each end to facilitate finding \n * matches within the list.\n */\n\n function classList(element) {\n return (' ' + (element.className || '') + ' ').replace(/\\s+/gi, ' ');\n }\n\n /**\n * (Internal) Removes an element from the DOM.\n */\n\n function removeElement(element) {\n element && element.parentNode && element.parentNode.removeChild(element);\n }\n\n return NProgress;\n});\n\n","import NProgress from 'nprogress'\n\nlet pendingNProgress: number | undefined\nexport function startProgress() {\n if (pendingNProgress === undefined) {\n // @ts-expect-error node\n pendingNProgress = setTimeout(() => {\n if (!NProgress.isStarted())\n NProgress.start()\n pendingNProgress = undefined\n }, 150)\n }\n}\n\nexport function stopProgress() {\n if (pendingNProgress !== undefined) {\n clearTimeout(pendingNProgress)\n pendingNProgress = undefined\n }\n if (NProgress.isStarted())\n NProgress.done()\n}\n\nexport function incProcess() {\n if (NProgress.isStarted())\n NProgress.inc()\n}\n","<template>\n <div class=\"background absolute w-full h-full grid place-content-center bg-gray-800\">\n <div class=\"my-auto text-white text-center\">\n <div class=\"relative\">\n <h1 class=\"sm:text-xl lg:text-3xl\" v-text=\"codeHint\" />\n <span class=\"text-xs lg:text-base text-gray-200\"><template v-if=\"fetching\">Fetching\n <div class=\"i-uil:spinner inline animate-spin\" /></template><template v-else>Last fetched at {{ last.toLocaleTimeString('en-US') }}</template></span>\n </div>\n <p class=\"mt-2 text-xs lg:text-sm text-left whitespace-pre text-gray-400\" v-text=\"text\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport { useIntervalFn, useThrottleFn } from '@vueuse/core'\nimport { stopProgress } from '@/nprogress'\n\nstopProgress()\n\nconst code = ref(0)\nconst text = ref('')\n\nconst codeHint = computed<string>(() => {\n switch (code.value) {\n case 502:\n return '巴瓦鲁魔法服务器正在跃迁中'\n case 500:\n return '巴瓦鲁魔法服务器哮喘犯了'\n case 503:\n return '巴瓦鲁魔法服务器正在睡觉'\n case 403:\n return '你被帕秋莉禁止进入巴瓦鲁魔法服务器'\n default:\n return '巴瓦鲁魔法服务器被隙间了'\n }\n})\n\nconst fetching = ref(true)\nconst last = ref(new Date())\nconst setFetching = useThrottleFn((v: boolean) => {\n fetching.value = v\n}, 600, true)\n\nconst refetch = async () => {\n last.value = new Date()\n setFetching(true)\n try {\n const res = await fetch('https://patchyvideo.com/be/alive.txt')\n if (res.ok) {\n window.location.reload()\n return\n }\n code.value = res.status\n text.value = res.statusText\n }\n catch (e) {\n code.value = 502\n text.value = e instanceof Error ? e.stack ?? e.message : String(e)\n }\n finally {\n setFetching(false)\n }\n}\n\nuseIntervalFn(refetch, 5000)\nrefetch()\n</script>\n","// src/client/build/vue.ts\nimport { ref } from \"vue\";\n\n// src/client/build/register.ts\nvar autoUpdateMode = \"false\";\nvar selfDestroying = \"false\";\nvar auto = autoUpdateMode === \"true\";\nvar autoDestroy = selfDestroying === \"true\";\nfunction registerSW(options = {}) {\n const {\n immediate = false,\n onNeedRefresh,\n onOfflineReady,\n onRegistered,\n onRegisteredSW,\n onRegisterError\n } = options;\n let wb;\n let registration;\n let registerPromise;\n let sendSkipWaitingMessage;\n const updateServiceWorker = async (reloadPage = true) => {\n await registerPromise;\n if (!auto) {\n if (reloadPage) {\n wb == null ? void 0 : wb.addEventListener(\"controlling\", (event) => {\n if (event.isUpdate)\n window.location.reload();\n });\n }\n await (sendSkipWaitingMessage == null ? void 0 : sendSkipWaitingMessage());\n }\n };\n async function register() {\n if (\"serviceWorker\" in navigator) {\n const { Workbox, messageSW } = await import(\"workbox-window\");\n sendSkipWaitingMessage = async () => {\n if (registration && registration.waiting) {\n await messageSW(registration.waiting, { type: \"SKIP_WAITING\" });\n }\n };\n wb = new Workbox(\"/sw.js\", { scope: \"/\", type: \"classic\" });\n wb.addEventListener(\"activated\", (event) => {\n if (event.isUpdate)\n auto && window.location.reload();\n else if (!autoDestroy)\n onOfflineReady == null ? void 0 : onOfflineReady();\n });\n if (!auto) {\n const showSkipWaitingPrompt = () => {\n onNeedRefresh == null ? void 0 : onNeedRefresh();\n };\n wb.addEventListener(\"waiting\", showSkipWaitingPrompt);\n wb.addEventListener(\"externalwaiting\", showSkipWaitingPrompt);\n }\n wb.register({ immediate }).then((r) => {\n registration = r;\n if (onRegisteredSW)\n onRegisteredSW(\"/sw.js\", r);\n else\n onRegistered == null ? void 0 : onRegistered(r);\n }).catch((e) => {\n onRegisterError == null ? void 0 : onRegisterError(e);\n });\n }\n }\n registerPromise = register();\n return updateServiceWorker;\n}\n\n// src/client/build/vue.ts\nfunction useRegisterSW(options = {}) {\n const {\n immediate = true,\n onNeedRefresh,\n onOfflineReady,\n onRegistered,\n onRegisteredSW,\n onRegisterError\n } = options;\n const needRefresh = ref(false);\n const offlineReady = ref(false);\n const updateServiceWorker = registerSW({\n immediate,\n onNeedRefresh() {\n needRefresh.value = true;\n onNeedRefresh == null ? void 0 : onNeedRefresh();\n },\n onOfflineReady() {\n offlineReady.value = true;\n onOfflineReady == null ? void 0 : onOfflineReady();\n },\n onRegistered,\n onRegisteredSW,\n onRegisterError\n });\n return {\n updateServiceWorker,\n offlineReady,\n needRefresh\n };\n}\nexport {\n useRegisterSW\n};\n","/*!\n * shared v9.2.2\n * (c) 2022 kazuya kawaguchi\n * Released under the MIT License.\n */\n/**\r\n * Original Utilities\r\n * written by kazuya kawaguchi\r\n */\r\nconst inBrowser = typeof window !== 'undefined';\r\nlet mark;\r\nlet measure;\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n const perf = inBrowser && window.performance;\r\n if (perf &&\r\n perf.mark &&\r\n perf.measure &&\r\n perf.clearMarks &&\r\n perf.clearMeasures) {\r\n mark = (tag) => perf.mark(tag);\r\n measure = (name, startTag, endTag) => {\r\n perf.measure(name, startTag, endTag);\r\n perf.clearMarks(startTag);\r\n perf.clearMarks(endTag);\r\n };\r\n }\r\n}\r\nconst RE_ARGS = /\\{([0-9a-zA-Z]+)\\}/g;\r\n/* eslint-disable */\r\nfunction format(message, ...args) {\r\n if (args.length === 1 && isObject(args[0])) {\r\n args = args[0];\r\n }\r\n if (!args || !args.hasOwnProperty) {\r\n args = {};\r\n }\r\n return message.replace(RE_ARGS, (match, identifier) => {\r\n return args.hasOwnProperty(identifier) ? args[identifier] : '';\r\n });\r\n}\r\nconst hasSymbol = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\r\nconst makeSymbol = (name) => hasSymbol ? Symbol(name) : name;\r\nconst generateFormatCacheKey = (locale, key, source) => friendlyJSONstringify({ l: locale, k: key, s: source });\r\nconst friendlyJSONstringify = (json) => JSON.stringify(json)\r\n .replace(/\\u2028/g, '\\\\u2028')\r\n .replace(/\\u2029/g, '\\\\u2029')\r\n .replace(/\\u0027/g, '\\\\u0027');\r\nconst isNumber = (val) => typeof val === 'number' && isFinite(val);\r\nconst isDate = (val) => toTypeString(val) === '[object Date]';\r\nconst isRegExp = (val) => toTypeString(val) === '[object RegExp]';\r\nconst isEmptyObject = (val) => isPlainObject(val) && Object.keys(val).length === 0;\r\nfunction warn(msg, err) {\r\n if (typeof console !== 'undefined') {\r\n console.warn(`[intlify] ` + msg);\r\n /* istanbul ignore if */\r\n if (err) {\r\n console.warn(err.stack);\r\n }\r\n }\r\n}\r\nconst assign = Object.assign;\r\nlet _globalThis;\r\nconst getGlobalThis = () => {\r\n // prettier-ignore\r\n return (_globalThis ||\r\n (_globalThis =\r\n typeof globalThis !== 'undefined'\r\n ? globalThis\r\n : typeof self !== 'undefined'\r\n ? self\r\n : typeof window !== 'undefined'\r\n ? window\r\n : typeof global !== 'undefined'\r\n ? global\r\n : {}));\r\n};\r\nfunction escapeHtml(rawText) {\r\n return rawText\r\n .replace(/</g, '<')\r\n .replace(/>/g, '>')\r\n .replace(/\"/g, '"')\r\n .replace(/'/g, ''');\r\n}\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\r\nfunction hasOwn(obj, key) {\r\n return hasOwnProperty.call(obj, key);\r\n}\r\n/* eslint-enable */\r\n/**\r\n * Useful Utilities By Evan you\r\n * Modified by kazuya kawaguchi\r\n * MIT License\r\n * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/index.ts\r\n * https://github.com/vuejs/vue-next/blob/master/packages/shared/src/codeframe.ts\r\n */\r\nconst isArray = Array.isArray;\r\nconst isFunction = (val) => typeof val === 'function';\r\nconst isString = (val) => typeof val === 'string';\r\nconst isBoolean = (val) => typeof val === 'boolean';\r\nconst isSymbol = (val) => typeof val === 'symbol';\r\nconst isObject = (val) => // eslint-disable-line\r\n val !== null && typeof val === 'object';\r\nconst isPromise = (val) => {\r\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\r\n};\r\nconst objectToString = Object.prototype.toString;\r\nconst toTypeString = (value) => objectToString.call(value);\r\nconst isPlainObject = (val) => toTypeString(val) === '[object Object]';\r\n// for converting list and named values to displayed strings.\r\nconst toDisplayString = (val) => {\r\n return val == null\r\n ? ''\r\n : isArray(val) || (isPlainObject(val) && val.toString === objectToString)\r\n ? JSON.stringify(val, null, 2)\r\n : String(val);\r\n};\r\nconst RANGE = 2;\r\nfunction generateCodeFrame(source, start = 0, end = source.length) {\r\n const lines = source.split(/\\r?\\n/);\r\n let count = 0;\r\n const res = [];\r\n for (let i = 0; i < lines.length; i++) {\r\n count += lines[i].length + 1;\r\n if (count >= start) {\r\n for (let j = i - RANGE; j <= i + RANGE || end > count; j++) {\r\n if (j < 0 || j >= lines.length)\r\n continue;\r\n const line = j + 1;\r\n res.push(`${line}${' '.repeat(3 - String(line).length)}| ${lines[j]}`);\r\n const lineLength = lines[j].length;\r\n if (j === i) {\r\n // push underline\r\n const pad = start - (count - lineLength) + 1;\r\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\r\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\r\n }\r\n else if (j > i) {\r\n if (end > count) {\r\n const length = Math.max(Math.min(end - count, lineLength), 1);\r\n res.push(` | ` + '^'.repeat(length));\r\n }\r\n count += lineLength + 1;\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n return res.join('\\n');\r\n}\n\n/**\r\n * Event emitter, forked from the below:\r\n * - original repository url: https://github.com/developit/mitt\r\n * - code url: https://github.com/developit/mitt/blob/master/src/index.ts\r\n * - author: Jason Miller (https://github.com/developit)\r\n * - license: MIT\r\n */\r\n/**\r\n * Create a event emitter\r\n *\r\n * @returns An event emitter\r\n */\r\nfunction createEmitter() {\r\n const events = new Map();\r\n const emitter = {\r\n events,\r\n on(event, handler) {\r\n const handlers = events.get(event);\r\n const added = handlers && handlers.push(handler);\r\n if (!added) {\r\n events.set(event, [handler]);\r\n }\r\n },\r\n off(event, handler) {\r\n const handlers = events.get(event);\r\n if (handlers) {\r\n handlers.splice(handlers.indexOf(handler) >>> 0, 1);\r\n }\r\n },\r\n emit(event, payload) {\r\n (events.get(event) || [])\r\n .slice()\r\n .map(handler => handler(payload));\r\n (events.get('*') || [])\r\n .slice()\r\n .map(handler => handler(event, payload));\r\n }\r\n };\r\n return emitter;\r\n}\n\nexport { assign, createEmitter, escapeHtml, format, friendlyJSONstringify, generateCodeFrame, generateFormatCacheKey, getGlobalThis, hasOwn, inBrowser, isArray, isBoolean, isDate, isEmptyObject, isFunction, isNumber, isObject, isPlainObject, isPromise, isRegExp, isString, isSymbol, makeSymbol, mark, measure, objectToString, toDisplayString, toTypeString, warn };\n","/*!\n * message-compiler v9.2.2\n * (c) 2022 kazuya kawaguchi\n * Released under the MIT License.\n */\nimport { format, assign, isString } from '@intlify/shared';\n\nconst CompileErrorCodes = {\r\n // tokenizer error codes\r\n EXPECTED_TOKEN: 1,\r\n INVALID_TOKEN_IN_PLACEHOLDER: 2,\r\n UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,\r\n UNKNOWN_ESCAPE_SEQUENCE: 4,\r\n INVALID_UNICODE_ESCAPE_SEQUENCE: 5,\r\n UNBALANCED_CLOSING_BRACE: 6,\r\n UNTERMINATED_CLOSING_BRACE: 7,\r\n EMPTY_PLACEHOLDER: 8,\r\n NOT_ALLOW_NEST_PLACEHOLDER: 9,\r\n INVALID_LINKED_FORMAT: 10,\r\n // parser error codes\r\n MUST_HAVE_MESSAGES_IN_PLURAL: 11,\r\n UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,\r\n UNEXPECTED_EMPTY_LINKED_KEY: 13,\r\n UNEXPECTED_LEXICAL_ANALYSIS: 14,\r\n // Special value for higher-order compilers to pick up the last code\r\n // to avoid collision of error codes. This should always be kept as the last\r\n // item.\r\n __EXTEND_POINT__: 15\r\n};\r\n/** @internal */\r\nconst errorMessages = {\r\n // tokenizer error messages\r\n [CompileErrorCodes.EXPECTED_TOKEN]: `Expected token: '{0}'`,\r\n [CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER]: `Invalid token in placeholder: '{0}'`,\r\n [CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: `Unterminated single quote in placeholder`,\r\n [CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE]: `Unknown escape sequence: \\\\{0}`,\r\n [CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE]: `Invalid unicode escape sequence: {0}`,\r\n [CompileErrorCodes.UNBALANCED_CLOSING_BRACE]: `Unbalanced closing brace`,\r\n [CompileErrorCodes.UNTERMINATED_CLOSING_BRACE]: `Unterminated closing brace`,\r\n [CompileErrorCodes.EMPTY_PLACEHOLDER]: `Empty placeholder`,\r\n [CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER]: `Not allowed nest placeholder`,\r\n [CompileErrorCodes.INVALID_LINKED_FORMAT]: `Invalid linked format`,\r\n // parser error messages\r\n [CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL]: `Plural must have messages`,\r\n [CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER]: `Unexpected empty linked modifier`,\r\n [CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY]: `Unexpected empty linked key`,\r\n [CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS]: `Unexpected lexical analysis in token: '{0}'`\r\n};\r\nfunction createCompileError(code, loc, options = {}) {\r\n const { domain, messages, args } = options;\r\n const msg = (process.env.NODE_ENV !== 'production')\r\n ? format((messages || errorMessages)[code] || '', ...(args || []))\r\n : code;\r\n const error = new SyntaxError(String(msg));\r\n error.code = code;\r\n if (loc) {\r\n error.location = loc;\r\n }\r\n error.domain = domain;\r\n return error;\r\n}\r\n/** @internal */\r\nfunction defaultOnError(error) {\r\n throw error;\r\n}\n\nconst LocationStub = {\r\n start: { line: 1, column: 1, offset: 0 },\r\n end: { line: 1, column: 1, offset: 0 }\r\n};\r\nfunction createPosition(line, column, offset) {\r\n return { line, column, offset };\r\n}\r\nfunction createLocation(start, end, source) {\r\n const loc = { start, end };\r\n if (source != null) {\r\n loc.source = source;\r\n }\r\n return loc;\r\n}\n\nconst CHAR_SP = ' ';\r\nconst CHAR_CR = '\\r';\r\nconst CHAR_LF = '\\n';\r\nconst CHAR_LS = String.fromCharCode(0x2028);\r\nconst CHAR_PS = String.fromCharCode(0x2029);\r\nfunction createScanner(str) {\r\n const _buf = str;\r\n let _index = 0;\r\n let _line = 1;\r\n let _column = 1;\r\n let _peekOffset = 0;\r\n const isCRLF = (index) => _buf[index] === CHAR_CR && _buf[index + 1] === CHAR_LF;\r\n const isLF = (index) => _buf[index] === CHAR_LF;\r\n const isPS = (index) => _buf[index] === CHAR_PS;\r\n const isLS = (index) => _buf[index] === CHAR_LS;\r\n const isLineEnd = (index) => isCRLF(index) || isLF(index) || isPS(index) || isLS(index);\r\n const index = () => _index;\r\n const line = () => _line;\r\n const column = () => _column;\r\n const peekOffset = () => _peekOffset;\r\n const charAt = (offset) => isCRLF(offset) || isPS(offset) || isLS(offset) ? CHAR_LF : _buf[offset];\r\n const currentChar = () => charAt(_index);\r\n const currentPeek = () => charAt(_index + _peekOffset);\r\n function next() {\r\n _peekOffset = 0;\r\n if (isLineEnd(_index)) {\r\n _line++;\r\n _column = 0;\r\n }\r\n if (isCRLF(_index)) {\r\n _index++;\r\n }\r\n _index++;\r\n _column++;\r\n return _buf[_index];\r\n }\r\n function peek() {\r\n if (isCRLF(_index + _peekOffset)) {\r\n _peekOffset++;\r\n }\r\n _peekOffset++;\r\n return _buf[_index + _peekOffset];\r\n }\r\n function reset() {\r\n _index = 0;\r\n _line = 1;\r\n _column = 1;\r\n _peekOffset = 0;\r\n }\r\n function resetPeek(offset = 0) {\r\n _peekOffset = offset;\r\n }\r\n function skipToPeek() {\r\n const target = _index + _peekOffset;\r\n // eslint-disable-next-line no-unmodified-loop-condition\r\n while (target !== _index) {\r\n next();\r\n }\r\n _peekOffset = 0;\r\n }\r\n return {\r\n index,\r\n line,\r\n column,\r\n peekOffset,\r\n charAt,\r\n currentChar,\r\n currentPeek,\r\n next,\r\n peek,\r\n reset,\r\n resetPeek,\r\n skipToPeek\r\n };\r\n}\n\nconst EOF = undefined;\r\nconst LITERAL_DELIMITER = \"'\";\r\nconst ERROR_DOMAIN$1 = 'tokenizer';\r\nfunction createTokenizer(source, options = {}) {\r\n const location = options.location !== false;\r\n const _scnr = createScanner(source);\r\n const currentOffset = () => _scnr.index();\r\n const currentPosition = () => createPosition(_scnr.line(), _scnr.column(), _scnr.index());\r\n const _initLoc = currentPosition();\r\n const _initOffset = currentOffset();\r\n const _context = {\r\n currentType: 14 /* EOF */,\r\n offset: _initOffset,\r\n startLoc: _initLoc,\r\n endLoc: _initLoc,\r\n lastType: 14 /* EOF */,\r\n lastOffset: _initOffset,\r\n lastStartLoc: _initLoc,\r\n lastEndLoc: _initLoc,\r\n braceNest: 0,\r\n inLinked: false,\r\n text: ''\r\n };\r\n const context = () => _context;\r\n const { onError } = options;\r\n function emitError(code, pos, offset, ...args) {\r\n const ctx = context();\r\n pos.column += offset;\r\n pos.offset += offset;\r\n if (onError) {\r\n const loc = createLocation(ctx.startLoc, pos);\r\n const err = createCompileError(code, loc, {\r\n domain: ERROR_DOMAIN$1,\r\n args\r\n });\r\n onError(err);\r\n }\r\n }\r\n function getToken(context, type, value) {\r\n context.endLoc = currentPosition();\r\n context.currentType = type;\r\n const token = { type };\r\n if (location) {\r\n token.loc = createLocation(context.startLoc, context.endLoc);\r\n }\r\n if (value != null) {\r\n token.value = value;\r\n }\r\n return token;\r\n }\r\n const getEndToken = (context) => getToken(context, 14 /* EOF */);\r\n function eat(scnr, ch) {\r\n if (scnr.currentChar() === ch) {\r\n scnr.next();\r\n return ch;\r\n }\r\n else {\r\n emitError(CompileErrorCodes.EXPECTED_TOKEN, currentPosition(), 0, ch);\r\n return '';\r\n }\r\n }\r\n function peekSpaces(scnr) {\r\n let buf = '';\r\n while (scnr.currentPeek() === CHAR_SP || scnr.currentPeek() === CHAR_LF) {\r\n buf += scnr.currentPeek();\r\n scnr.peek();\r\n }\r\n return buf;\r\n }\r\n function skipSpaces(scnr) {\r\n const buf = peekSpaces(scnr);\r\n scnr.skipToPeek();\r\n return buf;\r\n }\r\n function isIdentifierStart(ch) {\r\n if (ch === EOF) {\r\n return false;\r\n }\r\n const cc = ch.charCodeAt(0);\r\n return ((cc >= 97 && cc <= 122) || // a-z\r\n (cc >= 65 && cc <= 90) || // A-Z\r\n cc === 95 // _\r\n );\r\n }\r\n function isNumberStart(ch) {\r\n if (ch === EOF) {\r\n return false;\r\n }\r\n const cc = ch.charCodeAt(0);\r\n return cc >= 48 && cc <= 57; // 0-9\r\n }\r\n function isNamedIdentifierStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 2 /* BraceLeft */) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ret = isIdentifierStart(scnr.currentPeek());\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isListIdentifierStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 2 /* BraceLeft */) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ch = scnr.currentPeek() === '-' ? scnr.peek() : scnr.currentPeek();\r\n const ret = isNumberStart(ch);\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isLiteralStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 2 /* BraceLeft */) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ret = scnr.currentPeek() === LITERAL_DELIMITER;\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isLinkedDotStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 8 /* LinkedAlias */) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ret = scnr.currentPeek() === \".\" /* LinkedDot */;\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isLinkedModifierStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 9 /* LinkedDot */) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ret = isIdentifierStart(scnr.currentPeek());\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isLinkedDelimiterStart(scnr, context) {\r\n const { currentType } = context;\r\n if (!(currentType === 8 /* LinkedAlias */ ||\r\n currentType === 12 /* LinkedModifier */)) {\r\n return false;\r\n }\r\n peekSpaces(scnr);\r\n const ret = scnr.currentPeek() === \":\" /* LinkedDelimiter */;\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isLinkedReferStart(scnr, context) {\r\n const { currentType } = context;\r\n if (currentType !== 10 /* LinkedDelimiter */) {\r\n return false;\r\n }\r\n const fn = () => {\r\n const ch = scnr.currentPeek();\r\n if (ch === \"{\" /* BraceLeft */) {\r\n return isIdentifierStart(scnr.peek());\r\n }\r\n else if (ch === \"@\" /* LinkedAlias */ ||\r\n ch === \"%\" /* Modulo */ ||\r\n ch === \"|\" /* Pipe */ ||\r\n ch === \":\" /* LinkedDelimiter */ ||\r\n ch === \".\" /* LinkedDot */ ||\r\n ch === CHAR_SP ||\r\n !ch) {\r\n return false;\r\n }\r\n else if (ch === CHAR_LF) {\r\n scnr.peek();\r\n return fn();\r\n }\r\n else {\r\n // other characters\r\n return isIdentifierStart(ch);\r\n }\r\n };\r\n const ret = fn();\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function isPluralStart(scnr) {\r\n peekSpaces(scnr);\r\n const ret = scnr.currentPeek() === \"|\" /* Pipe */;\r\n scnr.resetPeek();\r\n return ret;\r\n }\r\n function detectModuloStart(scnr) {\r\n const spaces = peekSpaces(scnr);\r\n const ret = scnr.currentPeek() === \"%\" /* Modulo */ &&\r\n scnr.peek() === \"{\" /* BraceLeft */;\r\n scnr.resetPeek();\r\n return {\r\n isModulo: ret,\r\n hasSpace: spaces.length > 0\r\n };\r\n }\r\n function isTextStart(scnr, reset = true) {\r\n const fn = (hasSpace = false, prev = '', detectModulo = false) => {\r\n const ch = scnr.currentPeek();\r\n if (ch === \"{\" /* BraceLeft */) {\r\n return prev === \"%\" /* Modulo */ ? false : hasSpace;\r\n }\r\n else if (ch === \"@\" /* LinkedAlias */ || !ch) {\r\n return prev === \"%\" /* Modulo */ ? true : hasSpace;\r\n }\r\n else if (ch === \"%\" /* Modulo */) {\r\n scnr.peek();\r\n return fn(hasSpace, \"%\" /* Modulo */, true);\r\n }\r\n else if (ch === \"|\" /* Pipe */) {\r\n return prev === \"%\" /* Modulo */ || detectModulo\r\n ? true\r\n : !(prev === CHAR_SP || prev === CHAR_LF);\r\n }\r\n else if (ch === CHAR_SP) {\r\n scnr.peek();\r\n return fn(true, CHAR_SP, detectModulo);\r\n }\r\n else if (ch === CHAR_LF) {\r\n scnr.peek();\r\n return fn(true, CHAR_LF, detectModulo);\r\n }\r\n else {\r\n return true;\r\n }\r\n };\r\n const ret = fn();\r\n reset && scnr.resetPeek();\r\n return ret;\r\n }\r\n function takeChar(scnr, fn) {\r\n const ch = scnr.currentChar();\r\n if (ch === EOF) {\r\n return EOF;\r\n }\r\n if (fn(ch)) {\r\n scnr.next();\r\n return ch;\r\n }\r\n return null;\r\n }\r\n function takeIdentifierChar(scnr) {\r\n const closure = (ch) => {\r\n const cc = ch.charCodeAt(0);\r\n return ((cc >= 97 && cc <= 122) || // a-z\r\n (cc >= 65 && cc <= 90) || // A-Z\r\n (cc >= 48 && cc <= 57) || // 0-9\r\n cc === 95 || // _\r\n cc === 36 // $\r\n );\r\n };\r\n return takeChar(scnr, closure);\r\n }\r\n function takeDigit(scnr) {\r\n const closure = (ch) => {\r\n const cc = ch.charCodeAt(0);\r\n return cc >= 48 && cc <= 57; // 0-9\r\n };\r\n return takeChar(scnr, closure);\r\n }\r\n function takeHexDigit(scnr) {\r\n const closure = (ch) => {\r\n const cc = ch.charCodeAt(0);\r\n return ((cc >= 48 && cc <= 57) || // 0-9\r\n (cc >= 65 && cc <= 70) || // A-F\r\n (cc >= 97 && cc <= 102)); // a-f\r\n };\r\n return takeChar(scnr, closure);\r\n }\r\n function getDigits(scnr) {\r\n let ch = '';\r\n let num = '';\r\n while ((ch = takeDigit(scnr))) {\r\n num += ch;\r\n }\r\n return num;\r\n }\r\n function readModulo(scnr) {\r\n skipSpaces(scnr);\r\n const ch = scnr.currentChar();\r\n if (ch !== \"%\" /* Modulo */) {\r\n emitError(CompileErrorCodes.EXPECTED_TOKEN, currentPosition(), 0, ch);\r\n }\r\n scnr.next();\r\n return \"%\" /* Modulo */;\r\n }\r\n function readText(scnr) {\r\n let buf = '';\r\n while (true) {\r\n const ch = scnr.currentChar();\r\n if (ch === \"{\" /* BraceLeft */ ||\r\n ch === \"}\" /* BraceRight */ ||\r\n ch === \"@\" /* LinkedAlias */ ||\r\n ch === \"|\" /* Pipe */ ||\r\n !ch) {\r\n break;\r\n }\r\n else if (ch === \"%\" /* Modulo */) {\r\n if (isTextStart(scnr)) {\r\n buf += ch;\r\n scnr.next();\r\n }\r\n else {\r\n break;\r\n }\r\n }\r\n else if (ch === CHAR_SP || ch === CHAR_LF) {\r\n if (isTextStart(scnr)) {\r\n buf += ch;\r\n scnr.next();\r\n }\r\n else if (isPluralStart(scnr)) {\r\n break;\r\n }\r\n else {\r\n buf += ch;\r\n scnr.next();\r\n }\r\n }\r\n else {\r\n buf += ch;\r\n scnr.next();\r\n }\r\n }\r\n return buf;\r\n }\r\n function readNamedIdentifier(scnr) {\r\n skipSpaces(scnr);\r\n let ch = '';\r\n let name = '';\r\n while ((ch = takeIdentifierChar(scnr))) {\r\n name += ch;\r\n }\r\n if (scnr.currentChar() === EOF) {\r\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\r\n }\r\n return name;\r\n }\r\n function readListIdentifier(scnr) {\r\n skipSpaces(scnr);\r\n let value = '';\r\n if (scnr.currentChar() === '-') {\r\n scnr.next();\r\n value += `-${getDigits(scnr)}`;\r\n }\r\n else {\r\n value += getDigits(scnr);\r\n }\r\n if (scnr.currentChar() === EOF) {\r\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\r\n }\r\n return value;\r\n }\r\n function readLiteral(scnr) {\r\n skipSpaces(scnr);\r\n eat(scnr, `\\'`);\r\n let ch = '';\r\n let literal = '';\r\n const fn = (x) => x !== LITERAL_DELIMITER && x !== CHAR_LF;\r\n while ((ch = takeChar(scnr, fn))) {\r\n if (ch === '\\\\') {\r\n literal += readEscapeSequence(scnr);\r\n }\r\n else {\r\n literal += ch;\r\n }\r\n }\r\n const current = scnr.currentChar();\r\n if (current === CHAR_LF || current === EOF) {\r\n emitError(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, currentPosition(), 0);\r\n // TODO: Is it correct really?\r\n if (current === CHAR_LF) {\r\n scnr.next();\r\n eat(scnr, `\\'`);\r\n }\r\n return literal;\r\n }\r\n eat(scnr, `\\'`);\r\n return literal;\r\n }\r\n function readEscapeSequence(scnr) {\r\n const ch = scnr.currentChar();\r\n switch (ch) {\r\n case '\\\\':\r\n case `\\'`:\r\n scnr.next();\r\n return `\\\\${ch}`;\r\n case 'u':\r\n return readUnicodeEscapeSequence(scnr, ch, 4);\r\n case 'U':\r\n return readUnicodeEscapeSequence(scnr, ch, 6);\r\n default:\r\n emitError(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE, currentPosition(), 0, ch);\r\n return '';\r\n }\r\n }\r\n function readUnicodeEscapeSequence(scnr, unicode, digits) {\r\n eat(scnr, unicode);\r\n let sequence = '';\r\n for (let i = 0; i < digits; i++) {\r\n const ch = takeHexDigit(scnr);\r\n if (!ch) {\r\n emitError(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE, currentPosition(), 0, `\\\\${unicode}${sequence}${scnr.currentChar()}`);\r\n break;\r\n }\r\n sequence += ch;\r\n }\r\n return `\\\\${unicode}${sequence}`;\r\n }\r\n function readInvalidIdentifier(scnr) {\r\n skipSpaces(scnr);\r\n let ch = '';\r\n let identifiers = '';\r\n const closure = (ch) => ch !== \"{\" /* BraceLeft */ &&\r\n ch !== \"}\" /* BraceRight */ &&\r\n ch !== CHAR_SP &&\r\n ch !== CHAR_LF;\r\n while ((ch = takeChar(scnr, closure))) {\r\n identifiers += ch;\r\n }\r\n return identifiers;\r\n }\r\n function readLinkedModifier(scnr) {\r\n let ch = '';\r\n let name = '';\r\n while ((ch = takeIdentifierChar(scnr))) {\r\n name += ch;\r\n }\r\n return name;\r\n }\r\n function readLinkedRefer(scnr) {\r\n const fn = (detect = false, buf) => {\r\n const ch = scnr.currentChar();\r\n if (ch === \"{\" /* BraceLeft */ ||\r\n ch === \"%\" /* Modulo */ ||\r\n ch === \"@\" /* LinkedAlias */ ||\r\n ch === \"|\" /* Pipe */ ||\r\n !ch) {\r\n return buf;\r\n }\r\n else if (ch === CHAR_SP) {\r\n return buf;\r\n }\r\n else if (ch === CHAR_LF) {\r\n buf += ch;\r\n scnr.next();\r\n return fn(detect, buf);\r\n }\r\n else {\r\n buf += ch;\r\n scnr.next();\r\n return fn(true, buf);\r\n }\r\n };\r\n return fn(false, '');\r\n }\r\n function readPlural(scnr) {\r\n skipSpaces(scnr);\r\n const plural = eat(scnr, \"|\" /* Pipe */);\r\n skipSpaces(scnr);\r\n return plural;\r\n }\r\n // TODO: We need refactoring of token parsing ...\r\n function readTokenInPlaceholder(scnr, context) {\r\n let token = null;\r\n const ch = scnr.currentChar();\r\n switch (ch) {\r\n case \"{\" /* BraceLeft */:\r\n if (context.braceNest >= 1) {\r\n emitError(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER, currentPosition(), 0);\r\n }\r\n scnr.next();\r\n token = getToken(context, 2 /* BraceLeft */, \"{\" /* BraceLeft */);\r\n skipSpaces(scnr);\r\n context.braceNest++;\r\n return token;\r\n case \"}\" /* BraceRight */:\r\n if (context.braceNest > 0 &&\r\n context.currentType === 2 /* BraceLeft */) {\r\n emitError(CompileErrorCodes.EMPTY_PLACEHOLDER, currentPosition(), 0);\r\n }\r\n scnr.next();\r\n token = getToken(context, 3 /* BraceRight */, \"}\" /* BraceRight */);\r\n context.braceNest--;\r\n context.braceNest > 0 && skipSpaces(scnr);\r\n if (context.inLinked && context.braceNest === 0) {\r\n context.inLinked = false;\r\n }\r\n return token;\r\n case \"@\" /* LinkedAlias */:\r\n if (context.braceNest > 0) {\r\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\r\n }\r\n token = readTokenInLinked(scnr, context) || getEndToken(context);\r\n context.braceNest = 0;\r\n return token;\r\n default:\r\n let validNamedIdentifier = true;\r\n let validListIdentifier = true;\r\n let validLiteral = true;\r\n if (isPluralStart(scnr)) {\r\n if (context.braceNest > 0) {\r\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\r\n }\r\n token = getToken(context, 1 /* Pipe */, readPlural(scnr));\r\n // reset\r\n context.braceNest = 0;\r\n context.inLinked = false;\r\n return token;\r\n }\r\n if (context.braceNest > 0 &&\r\n (context.currentType === 5 /* Named */ ||\r\n context.currentType === 6 /* List */ ||\r\n context.currentType === 7 /* Literal */)) {\r\n emitError(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, currentPosition(), 0);\r\n context.braceNest = 0;\r\n return readToken(scnr, context);\r\n }\r\n if ((validNamedIdentifier = isNamedIdentifierStart(scnr, context))) {\r\n token = getToken(context, 5 /* Named */, readNamedIdentifier(scnr));\r\n skipSpaces(scnr);\r\n return token;\r\n }\r\n if ((validListIdentifier = isListIdentifierStart(scnr, context))) {\r\n token = getToken(context, 6 /* List */, readListIdentifier(scnr));\r\n skipSpaces(scnr);\r\n return token;\r\n }\r\n if ((validLiteral = isLiteralStart(scnr, context))) {\r\n token = getToken(context, 7 /* Literal */, readLiteral(scnr));\r\n skipSpaces(scnr);\r\n return token;\r\n }\r\n if (!validNamedIdentifier && !validListIdentifier && !validLiteral) {\r\n // TODO: we should be re-designed invalid cases, when we will extend message syntax near the future ...\r\n token = getToken(context, 13 /* InvalidPlace */, readInvalidIdentifier(scnr));\r\n emitError(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER, currentPosition(), 0, token.value);\r\n skipSpaces(scnr);\r\n return token;\r\n }\r\n break;\r\n }\r\n return token;\r\n }\r\n // TODO: We need refactoring of token parsing ...\r\n function readTokenInLinked(scnr, context) {\r\n const { currentType } = context;\r\n let token = null;\r\n const ch = scnr.currentChar();\r\n if ((currentType === 8 /* LinkedAlias */ ||\r\n currentType === 9 /* LinkedDot */ ||\r\n currentType === 12 /* LinkedModifier */ ||\r\n currentType === 10 /* LinkedDelimiter */) &&\r\n (ch === CHAR_LF || ch === CHAR_SP)) {\r\n emitError(CompileErrorCodes.INVALID_LINKED_FORMAT, currentPosition(), 0);\r\n }\r\n switch (ch) {\r\n case \"@\" /* LinkedAlias */:\r\n scnr.next();\r\n token = getToken(context, 8 /* LinkedAlias */, \"@\" /* LinkedAlias */);\r\n context.inLinked = true;\r\n return token;\r\n case \".\" /* LinkedDot */:\r\n skipSpaces(scnr);\r\n scnr.next();\r\n return getToken(context, 9 /* LinkedDot */, \".\" /* LinkedDot */);\r\n case \":\" /* LinkedDelimiter */:\r\n skipSpaces(scnr);\r\n scnr.next();\r\n return getToken(context, 10 /* LinkedDelimiter */, \":\" /* LinkedDelimiter */);\r\n default:\r\n if (isPluralStart(scnr)) {\r\n token = getToken(context, 1 /* Pipe */, readPlural(scnr));\r\n // reset\r\n context.braceNest = 0;\r\n context.inLinked = false;\r\n return token;\r\n }\r\n if (isLinkedDotStart(scnr, context) ||\r\n isLinkedDelimiterStart(scnr, context)) {\r\n skipSpaces(scnr);\r\n return readTokenInLinked(scnr, context);\r\n }\r\n if (isLinkedModifierStart(scnr, context)) {\r\n skipSpaces(scnr);\r\n return getToken(context, 12 /* LinkedModifier */, readLinkedModifier(scnr));\r\n }\r\n if (isLinkedReferStart(scnr, context)) {\r\n skipSpaces(scnr);\r\n if (ch === \"{\" /* BraceLeft */) {\r\n // scan the placeholder\r\n return readTokenInPlaceholder(scnr, context) || token;\r\n }\r\n else {\r\n return getToken(context, 11 /* LinkedKey */, readLinkedRefer(scnr));\r\n }\r\n }\r\n if (currentType === 8 /* LinkedAlias */) {\r\n emitError(CompileErrorCodes.INVALID_LINKED_FORMAT, currentPosition(), 0);\r\n }\r\n context.braceNest = 0;\r\n context.inLinked = false;\r\n return readToken(scnr, context);\r\n }\r\n }\r\n // TODO: We need refactoring of token parsing ...\r\n function readToken(scnr, context) {\r\n let token = { type: 14 /* EOF */ };\r\n if (context.braceNest > 0) {\r\n return readTokenInPlaceholder(scnr, context) || getEndToken(context);\r\n }\r\n if (context.inLinked) {\r\n return readTokenInLinked(scnr, context) || getEndToken(context);\r\n }\r\n const ch = scnr.currentChar();\r\n switch (ch) {\r\n case \"{\" /* BraceLeft */:\r\n return readTokenInPlaceholder(scnr, context) || getEndToken(context);\r\n case \"}\" /* BraceRight */:\r\n emitError(CompileErrorCodes.UNBALANCED_CLOSING_BRACE, currentPosition(), 0);\r\n scnr.next();\r\n return getToken(context, 3 /* BraceRight */, \"}\" /* BraceRight */);\r\n case \"@\" /* LinkedAlias */:\r\n return readTokenInLinked(scnr, context) || getEndToken(context);\r\n default:\r\n if (isPluralStart(scnr)) {\r\n token = getToken(context, 1 /* Pipe */, readPlural(scnr));\r\n // reset\r\n context.braceNest = 0;\r\n context.inLinked = false;\r\n return token;\r\n }\r\n const { isModulo, hasSpace } = detectModuloStart(scnr);\r\n if (isModulo) {\r\n return hasSpace\r\n ? getToken(context, 0 /* Text */, readText(scnr))\r\n : getToken(context, 4 /* Modulo */, readModulo(scnr));\r\n }\r\n if (isTextStart(scnr)) {\r\n return getToken(context, 0 /* Text */, readText(scnr));\r\n }\r\n break;\r\n }\r\n return token;\r\n }\r\n function nextToken() {\r\n const { currentType, offset, startLoc, endLoc } = _context;\r\n _context.lastType = currentType;\r\n _context.lastOffset = offset;\r\n _context.lastStartLoc = startLoc;\r\n _context.lastEndLoc = endLoc;\r\n _context.offset = currentOffset();\r\n _context.startLoc = currentPosition();\r\n if (_scnr.currentChar() === EOF) {\r\n return getToken(_context, 14 /* EOF */);\r\n }\r\n return readToken(_scnr, _context);\r\n }\r\n return {\r\n nextToken,\r\n currentOffset,\r\n currentPosition,\r\n context\r\n };\r\n}\n\nconst ERROR_DOMAIN = 'parser';\r\n// Backslash backslash, backslash quote, uHHHH, UHHHHHH.\r\nconst KNOWN_ESCAPES = /(?:\\\\\\\\|\\\\'|\\\\u([0-9a-fA-F]{4})|\\\\U([0-9a-fA-F]{6}))/g;\r\nfunction fromEscapeSequence(match, codePoint4, codePoint6) {\r\n switch (match) {\r\n case `\\\\\\\\`:\r\n return `\\\\`;\r\n case `\\\\\\'`:\r\n return `\\'`;\r\n default: {\r\n const codePoint = parseInt(codePoint4 || codePoint6, 16);\r\n if (codePoint <= 0xd7ff || codePoint >= 0xe000) {\r\n return String.fromCodePoint(codePoint);\r\n }\r\n // invalid ...\r\n // Replace them with U+FFFD REPLACEMENT CHARACTER.\r\n return '�';\r\n }\r\n }\r\n}\r\nfunction createParser(options = {}) {\r\n const location = options.location !== false;\r\n const { onError } = options;\r\n function emitError(tokenzer, code, start, offset, ...args) {\r\n const end = tokenzer.currentPosition();\r\n end.offset += offset;\r\n end.column += offset;\r\n if (onError) {\r\n const loc = createLocation(start, end);\r\n const err = createCompileError(code, loc, {\r\n domain: ERROR_DOMAIN,\r\n args\r\n });\r\n onError(err);\r\n }\r\n }\r\n function startNode(type, offset, loc) {\r\n const node = {\r\n type,\r\n start: offset,\r\n end: offset\r\n };\r\n if (location) {\r\n node.loc = { start: loc, end: loc };\r\n }\r\n return node;\r\n }\r\n function endNode(node, offset, pos, type) {\r\n node.end = offset;\r\n if (type) {\r\n node.type = type;\r\n }\r\n if (location && node.loc) {\r\n node.loc.end = pos;\r\n }\r\n }\r\n function parseText(tokenizer, value) {\r\n const context = tokenizer.context();\r\n const node = startNode(3 /* Text */, context.offset, context.startLoc);\r\n node.value = value;\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseList(tokenizer, index) {\r\n const context = tokenizer.context();\r\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\r\n const node = startNode(5 /* List */, offset, loc);\r\n node.index = parseInt(index, 10);\r\n tokenizer.nextToken(); // skip brach right\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseNamed(tokenizer, key) {\r\n const context = tokenizer.context();\r\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\r\n const node = startNode(4 /* Named */, offset, loc);\r\n node.key = key;\r\n tokenizer.nextToken(); // skip brach right\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseLiteral(tokenizer, value) {\r\n const context = tokenizer.context();\r\n const { lastOffset: offset, lastStartLoc: loc } = context; // get brace left loc\r\n const node = startNode(9 /* Literal */, offset, loc);\r\n node.value = value.replace(KNOWN_ESCAPES, fromEscapeSequence);\r\n tokenizer.nextToken(); // skip brach right\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseLinkedModifier(tokenizer) {\r\n const token = tokenizer.nextToken();\r\n const context = tokenizer.context();\r\n const { lastOffset: offset, lastStartLoc: loc } = context; // get linked dot loc\r\n const node = startNode(8 /* LinkedModifier */, offset, loc);\r\n if (token.type !== 12 /* LinkedModifier */) {\r\n // empty modifier\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER, context.lastStartLoc, 0);\r\n node.value = '';\r\n endNode(node, offset, loc);\r\n return {\r\n nextConsumeToken: token,\r\n node\r\n };\r\n }\r\n // check token\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n node.value = token.value || '';\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return {\r\n node\r\n };\r\n }\r\n function parseLinkedKey(tokenizer, value) {\r\n const context = tokenizer.context();\r\n const node = startNode(7 /* LinkedKey */, context.offset, context.startLoc);\r\n node.value = value;\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseLinked(tokenizer) {\r\n const context = tokenizer.context();\r\n const linkedNode = startNode(6 /* Linked */, context.offset, context.startLoc);\r\n let token = tokenizer.nextToken();\r\n if (token.type === 9 /* LinkedDot */) {\r\n const parsed = parseLinkedModifier(tokenizer);\r\n linkedNode.modifier = parsed.node;\r\n token = parsed.nextConsumeToken || tokenizer.nextToken();\r\n }\r\n // asset check token\r\n if (token.type !== 10 /* LinkedDelimiter */) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n token = tokenizer.nextToken();\r\n // skip brace left\r\n if (token.type === 2 /* BraceLeft */) {\r\n token = tokenizer.nextToken();\r\n }\r\n switch (token.type) {\r\n case 11 /* LinkedKey */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n linkedNode.key = parseLinkedKey(tokenizer, token.value || '');\r\n break;\r\n case 5 /* Named */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n linkedNode.key = parseNamed(tokenizer, token.value || '');\r\n break;\r\n case 6 /* List */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n linkedNode.key = parseList(tokenizer, token.value || '');\r\n break;\r\n case 7 /* Literal */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n linkedNode.key = parseLiteral(tokenizer, token.value || '');\r\n break;\r\n default:\r\n // empty key\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY, context.lastStartLoc, 0);\r\n const nextContext = tokenizer.context();\r\n const emptyLinkedKeyNode = startNode(7 /* LinkedKey */, nextContext.offset, nextContext.startLoc);\r\n emptyLinkedKeyNode.value = '';\r\n endNode(emptyLinkedKeyNode, nextContext.offset, nextContext.startLoc);\r\n linkedNode.key = emptyLinkedKeyNode;\r\n endNode(linkedNode, nextContext.offset, nextContext.startLoc);\r\n return {\r\n nextConsumeToken: token,\r\n node: linkedNode\r\n };\r\n }\r\n endNode(linkedNode, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return {\r\n node: linkedNode\r\n };\r\n }\r\n function parseMessage(tokenizer) {\r\n const context = tokenizer.context();\r\n const startOffset = context.currentType === 1 /* Pipe */\r\n ? tokenizer.currentOffset()\r\n : context.offset;\r\n const startLoc = context.currentType === 1 /* Pipe */\r\n ? context.endLoc\r\n : context.startLoc;\r\n const node = startNode(2 /* Message */, startOffset, startLoc);\r\n node.items = [];\r\n let nextToken = null;\r\n do {\r\n const token = nextToken || tokenizer.nextToken();\r\n nextToken = null;\r\n switch (token.type) {\r\n case 0 /* Text */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n node.items.push(parseText(tokenizer, token.value || ''));\r\n break;\r\n case 6 /* List */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n node.items.push(parseList(tokenizer, token.value || ''));\r\n break;\r\n case 5 /* Named */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n node.items.push(parseNamed(tokenizer, token.value || ''));\r\n break;\r\n case 7 /* Literal */:\r\n if (token.value == null) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, getTokenCaption(token));\r\n }\r\n node.items.push(parseLiteral(tokenizer, token.value || ''));\r\n break;\r\n case 8 /* LinkedAlias */:\r\n const parsed = parseLinked(tokenizer);\r\n node.items.push(parsed.node);\r\n nextToken = parsed.nextConsumeToken || null;\r\n break;\r\n }\r\n } while (context.currentType !== 14 /* EOF */ &&\r\n context.currentType !== 1 /* Pipe */);\r\n // adjust message node loc\r\n const endOffset = context.currentType === 1 /* Pipe */\r\n ? context.lastOffset\r\n : tokenizer.currentOffset();\r\n const endLoc = context.currentType === 1 /* Pipe */\r\n ? context.lastEndLoc\r\n : tokenizer.currentPosition();\r\n endNode(node, endOffset, endLoc);\r\n return node;\r\n }\r\n function parsePlural(tokenizer, offset, loc, msgNode) {\r\n const context = tokenizer.context();\r\n let hasEmptyMessage = msgNode.items.length === 0;\r\n const node = startNode(1 /* Plural */, offset, loc);\r\n node.cases = [];\r\n node.cases.push(msgNode);\r\n do {\r\n const msg = parseMessage(tokenizer);\r\n if (!hasEmptyMessage) {\r\n hasEmptyMessage = msg.items.length === 0;\r\n }\r\n node.cases.push(msg);\r\n } while (context.currentType !== 14 /* EOF */);\r\n if (hasEmptyMessage) {\r\n emitError(tokenizer, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, loc, 0);\r\n }\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n function parseResource(tokenizer) {\r\n const context = tokenizer.context();\r\n const { offset, startLoc } = context;\r\n const msgNode = parseMessage(tokenizer);\r\n if (context.currentType === 14 /* EOF */) {\r\n return msgNode;\r\n }\r\n else {\r\n return parsePlural(tokenizer, offset, startLoc, msgNode);\r\n }\r\n }\r\n function parse(source) {\r\n const tokenizer = createTokenizer(source, assign({}, options));\r\n const context = tokenizer.context();\r\n const node = startNode(0 /* Resource */, context.offset, context.startLoc);\r\n if (location && node.loc) {\r\n node.loc.source = source;\r\n }\r\n node.body = parseResource(tokenizer);\r\n // assert whether achieved to EOF\r\n if (context.currentType !== 14 /* EOF */) {\r\n emitError(tokenizer, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, context.lastStartLoc, 0, source[context.offset] || '');\r\n }\r\n endNode(node, tokenizer.currentOffset(), tokenizer.currentPosition());\r\n return node;\r\n }\r\n return { parse };\r\n}\r\nfunction getTokenCaption(token) {\r\n if (token.type === 14 /* EOF */) {\r\n return 'EOF';\r\n }\r\n const name = (token.value || '').replace(/\\r?\\n/gu, '\\\\n');\r\n return name.length > 10 ? name.slice(0, 9) + '…' : name;\r\n}\n\nfunction createTransformer(ast, options = {} // eslint-disable-line\r\n) {\r\n const _context = {\r\n ast,\r\n helpers: new Set()\r\n };\r\n const context = () => _context;\r\n const helper = (name) => {\r\n _context.helpers.add(name);\r\n return name;\r\n };\r\n return { context, helper };\r\n}\r\nfunction traverseNodes(nodes, transformer) {\r\n for (let i = 0; i < nodes.length; i++) {\r\n traverseNode(nodes[i], transformer);\r\n }\r\n}\r\nfunction traverseNode(node, transformer) {\r\n // TODO: if we need pre-hook of transform, should be implemented to here\r\n switch (node.type) {\r\n case 1 /* Plural */:\r\n traverseNodes(node.cases, transformer);\r\n transformer.helper(\"plural\" /* PLURAL */);\r\n break;\r\n case 2 /* Message */:\r\n traverseNodes(node.items, transformer);\r\n break;\r\n case 6 /* Linked */:\r\n const linked = node;\r\n traverseNode(linked.key, transformer);\r\n transformer.helper(\"linked\" /* LINKED */);\r\n transformer.helper(\"type\" /* TYPE */);\r\n break;\r\n case 5 /* List */:\r\n transformer.helper(\"interpolate\" /* INTERPOLATE */);\r\n transformer.helper(\"list\" /* LIST */);\r\n break;\r\n case 4 /* Named */:\r\n transformer.helper(\"interpolate\" /* INTERPOLATE */);\r\n transformer.helper(\"named\" /* NAMED */);\r\n break;\r\n }\r\n // TODO: if we need post-hook of transform, should be implemented to here\r\n}\r\n// transform AST\r\nfunction transform(ast, options = {} // eslint-disable-line\r\n) {\r\n const transformer = createTransformer(ast);\r\n transformer.helper(\"normalize\" /* NORMALIZE */);\r\n // traverse\r\n ast.body && traverseNode(ast.body, transformer);\r\n // set meta information\r\n const context = transformer.context();\r\n ast.helpers = Array.from(context.helpers);\r\n}\n\nfunction createCodeGenerator(ast, options) {\r\n const { sourceMap, filename, breakLineCode, needIndent: _needIndent } = options;\r\n const _context = {\r\n source: ast.loc.source,\r\n filename,\r\n code: '',\r\n column: 1,\r\n line: 1,\r\n offset: 0,\r\n map: undefined,\r\n breakLineCode,\r\n needIndent: _needIndent,\r\n indentLevel: 0\r\n };\r\n const context = () => _context;\r\n function push(code, node) {\r\n _context.code += code;\r\n }\r\n function _newline(n, withBreakLine = true) {\r\n const _breakLineCode = withBreakLine ? breakLineCode : '';\r\n push(_needIndent ? _breakLineCode + ` `.repeat(n) : _breakLineCode);\r\n }\r\n function indent(withNewLine = true) {\r\n const level = ++_context.indentLevel;\r\n withNewLine && _newline(level);\r\n }\r\n function deindent(withNewLine = true) {\r\n const level = --_context.indentLevel;\r\n withNewLine && _newline(level);\r\n }\r\n function newline() {\r\n _newline(_context.indentLevel);\r\n }\r\n const helper = (key) => `_${key}`;\r\n const needIndent = () => _context.needIndent;\r\n return {\r\n context,\r\n push,\r\n indent,\r\n deindent,\r\n newline,\r\n helper,\r\n needIndent\r\n };\r\n}\r\nfunction generateLinkedNode(generator, node) {\r\n const { helper } = generator;\r\n generator.push(`${helper(\"linked\" /* LINKED */)}(`);\r\n generateNode(generator, node.key);\r\n if (node.modifier) {\r\n generator.push(`, `);\r\n generateNode(generator, node.modifier);\r\n generator.push(`, _type`);\r\n }\r\n else {\r\n generator.push(`, undefined, _type`);\r\n }\r\n generator.push(`)`);\r\n}\r\nfunction generateMessageNode(generator, node) {\r\n const { helper, needIndent } = generator;\r\n generator.push(`${helper(\"normalize\" /* NORMALIZE */)}([`);\r\n generator.indent(needIndent());\r\n const length = node.items.length;\r\n for (let i = 0; i < length; i++) {\r\n generateNode(generator, node.items[i]);\r\n if (i === length - 1) {\r\n break;\r\n }\r\n generator.push(', ');\r\n }\r\n generator.deindent(needIndent());\r\n generator.push('])');\r\n}\r\nfunction generatePluralNode(generator, node) {\r\n const { helper, needIndent } = generator;\r\n if (node.cases.length > 1) {\r\n generator.push(`${helper(\"plural\" /* PLURAL */)}([`);\r\n generator.indent(needIndent());\r\n const length = node.cases.length;\r\n for (let i = 0; i < length; i++) {\r\n generateNode(generator, node.cases[i]);\r\n if (i === length - 1) {\r\n break;\r\n }\r\n generator.push(', ');\r\n }\r\n generator.deindent(needIndent());\r\n generator.push(`])`);\r\n }\r\n}\r\nfunction generateResource(generator, node) {\r\n if (node.body) {\r\n generateNode(generator, node.body);\r\n }\r\n else {\r\n generator.push('null');\r\n }\r\n}\r\nfunction generateNode(generator, node) {\r\n const { helper } = generator;\r\n switch (node.type) {\r\n case 0 /* Resource */:\r\n generateResource(generator, node);\r\n break;\r\n case 1 /* Plural */:\r\n generatePluralNode(generator, node);\r\n break;\r\n case 2 /* Message */:\r\n generateMessageNode(generator, node);\r\n break;\r\n case 6 /* Linked */:\r\n generateLinkedNode(generator, node);\r\n break;\r\n case 8 /* LinkedModifier */:\r\n generator.push(JSON.stringify(node.value), node);\r\n break;\r\n case 7 /* LinkedKey */:\r\n generator.push(JSON.stringify(node.value), node);\r\n break;\r\n case 5 /* List */:\r\n generator.push(`${helper(\"interpolate\" /* INTERPOLATE */)}(${helper(\"list\" /* LIST */)}(${node.index}))`, node);\r\n break;\r\n case 4 /* Named */:\r\n generator.push(`${helper(\"interpolate\" /* INTERPOLATE */)}(${helper(\"named\" /* NAMED */)}(${JSON.stringify(node.key)}))`, node);\r\n break;\r\n case 9 /* Literal */:\r\n generator.push(JSON.stringify(node.value), node);\r\n break;\r\n case 3 /* Text */:\r\n generator.push(JSON.stringify(node.value), node);\r\n break;\r\n default:\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n throw new Error(`unhandled codegen node type: ${node.type}`);\r\n }\r\n }\r\n}\r\n// generate code from AST\r\nconst generate = (ast, options = {} // eslint-disable-line\r\n) => {\r\n const mode = isString(options.mode) ? options.mode : 'normal';\r\n const filename = isString(options.filename)\r\n ? options.filename\r\n : 'message.intl';\r\n const sourceMap = !!options.sourceMap;\r\n // prettier-ignore\r\n const breakLineCode = options.breakLineCode != null\r\n ? options.breakLineCode\r\n : mode === 'arrow'\r\n ? ';'\r\n : '\\n';\r\n const needIndent = options.needIndent ? options.needIndent : mode !== 'arrow';\r\n const helpers = ast.helpers || [];\r\n const generator = createCodeGenerator(ast, {\r\n mode,\r\n filename,\r\n sourceMap,\r\n breakLineCode,\r\n needIndent\r\n });\r\n generator.push(mode === 'normal' ? `function __msg__ (ctx) {` : `(ctx) => {`);\r\n generator.indent(needIndent);\r\n if (helpers.length > 0) {\r\n generator.push(`const { ${helpers.map(s => `${s}: _${s}`).join(', ')} } = ctx`);\r\n generator.newline();\r\n }\r\n generator.push(`return `);\r\n generateNode(generator, ast);\r\n generator.deindent(needIndent);\r\n generator.push(`}`);\r\n const { code, map } = generator.context();\r\n return {\r\n ast,\r\n code,\r\n map: map ? map.toJSON() : undefined // eslint-disable-line @typescript-eslint/no-explicit-any\r\n };\r\n};\n\nfunction baseCompile(source, options = {}) {\r\n const assignedOptions = assign({}, options);\r\n // parse source codes\r\n const parser = createParser(assignedOptions);\r\n const ast = parser.parse(source);\r\n // transform ASTs\r\n transform(ast, assignedOptions);\r\n // generate javascript codes\r\n return generate(ast, assignedOptions);\r\n}\n\nexport { CompileErrorCodes, ERROR_DOMAIN, LocationStub, baseCompile, createCompileError, createLocation, createParser, createPosition, defaultOnError, errorMessages };\n","/*!\n * devtools-if v9.2.2\n * (c) 2022 kazuya kawaguchi\n * Released under the MIT License.\n */\nconst IntlifyDevToolsHooks = {\r\n I18nInit: 'i18n:init',\r\n FunctionTranslate: 'function:translate'\r\n};\n\nexport { IntlifyDevToolsHooks };\n","/*!\n * core-base v9.2.2\n * (c) 2022 kazuya kawaguchi\n * Released under the MIT License.\n */\nimport { isObject, isString, isFunction, isNumber, isPlainObject, toDisplayString, isArray, format, isBoolean, assign, isRegExp, warn, escapeHtml, inBrowser, mark, measure, isEmptyObject, generateCodeFrame, generateFormatCacheKey, isDate, getGlobalThis } from '@intlify/shared';\nimport { defaultOnError, baseCompile, CompileErrorCodes, createCompileError } from '@intlify/message-compiler';\nexport { CompileErrorCodes, createCompileError } from '@intlify/message-compiler';\nimport { IntlifyDevToolsHooks } from '@intlify/devtools-if';\n\nconst pathStateMachine = [];\r\npathStateMachine[0 /* BEFORE_PATH */] = {\r\n [\"w\" /* WORKSPACE */]: [0 /* BEFORE_PATH */],\r\n [\"i\" /* IDENT */]: [3 /* IN_IDENT */, 0 /* APPEND */],\r\n [\"[\" /* LEFT_BRACKET */]: [4 /* IN_SUB_PATH */],\r\n [\"o\" /* END_OF_FAIL */]: [7 /* AFTER_PATH */]\r\n};\r\npathStateMachine[1 /* IN_PATH */] = {\r\n [\"w\" /* WORKSPACE */]: [1 /* IN_PATH */],\r\n [\".\" /* DOT */]: [2 /* BEFORE_IDENT */],\r\n [\"[\" /* LEFT_BRACKET */]: [4 /* IN_SUB_PATH */],\r\n [\"o\" /* END_OF_FAIL */]: [7 /* AFTER_PATH */]\r\n};\r\npathStateMachine[2 /* BEFORE_IDENT */] = {\r\n [\"w\" /* WORKSPACE */]: [2 /* BEFORE_IDENT */],\r\n [\"i\" /* IDENT */]: [3 /* IN_IDENT */, 0 /* APPEND */],\r\n [\"0\" /* ZERO */]: [3 /* IN_IDENT */, 0 /* APPEND */]\r\n};\r\npathStateMachine[3 /* IN_IDENT */] = {\r\n [\"i\" /* IDENT */]: [3 /* IN_IDENT */, 0 /* APPEND */],\r\n [\"0\" /* ZERO */]: [3 /* IN_IDENT */, 0 /* APPEND */],\r\n [\"w\" /* WORKSPACE */]: [1 /* IN_PATH */, 1 /* PUSH */],\r\n [\".\" /* DOT */]: [2 /* BEFORE_IDENT */, 1 /* PUSH */],\r\n [\"[\" /* LEFT_BRACKET */]: [4 /* IN_SUB_PATH */, 1 /* PUSH */],\r\n [\"o\" /* END_OF_FAIL */]: [7 /* AFTER_PATH */, 1 /* PUSH */]\r\n};\r\npathStateMachine[4 /* IN_SUB_PATH */] = {\r\n [\"'\" /* SINGLE_QUOTE */]: [5 /* IN_SINGLE_QUOTE */, 0 /* APPEND */],\r\n [\"\\\"\" /* DOUBLE_QUOTE */]: [6 /* IN_DOUBLE_QUOTE */, 0 /* APPEND */],\r\n [\"[\" /* LEFT_BRACKET */]: [\r\n 4 /* IN_SUB_PATH */,\r\n 2 /* INC_SUB_PATH_DEPTH */\r\n ],\r\n [\"]\" /* RIGHT_BRACKET */]: [1 /* IN_PATH */, 3 /* PUSH_SUB_PATH */],\r\n [\"o\" /* END_OF_FAIL */]: 8 /* ERROR */,\r\n [\"l\" /* ELSE */]: [4 /* IN_SUB_PATH */, 0 /* APPEND */]\r\n};\r\npathStateMachine[5 /* IN_SINGLE_QUOTE */] = {\r\n [\"'\" /* SINGLE_QUOTE */]: [4 /* IN_SUB_PATH */, 0 /* APPEND */],\r\n [\"o\" /* END_OF_FAIL */]: 8 /* ERROR */,\r\n [\"l\" /* ELSE */]: [5 /* IN_SINGLE_QUOTE */, 0 /* APPEND */]\r\n};\r\npathStateMachine[6 /* IN_DOUBLE_QUOTE */] = {\r\n [\"\\\"\" /* DOUBLE_QUOTE */]: [4 /* IN_SUB_PATH */, 0 /* APPEND */],\r\n [\"o\" /* END_OF_FAIL */]: 8 /* ERROR */,\r\n [\"l\" /* ELSE */]: [6 /* IN_DOUBLE_QUOTE */, 0 /* APPEND */]\r\n};\r\n/**\r\n * Check if an expression is a literal value.\r\n */\r\nconst literalValueRE = /^\\s?(?:true|false|-?[\\d.]+|'[^']*'|\"[^\"]*\")\\s?$/;\r\nfunction isLiteral(exp) {\r\n return literalValueRE.test(exp);\r\n}\r\n/**\r\n * Strip quotes from a string\r\n */\r\nfunction stripQuotes(str) {\r\n const a = str.charCodeAt(0);\r\n const b = str.charCodeAt(str.length - 1);\r\n return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;\r\n}\r\n/**\r\n * Determine the type of a character in a keypath.\r\n */\r\nfunction getPathCharType(ch) {\r\n if (ch === undefined || ch === null) {\r\n return \"o\" /* END_OF_FAIL */;\r\n }\r\n const code = ch.charCodeAt(0);\r\n switch (code) {\r\n case 0x5b: // [\r\n case 0x5d: // ]\r\n case 0x2e: // .\r\n case 0x22: // \"\r\n case 0x27: // '\r\n return ch;\r\n case 0x5f: // _\r\n case 0x24: // $\r\n case 0x2d: // -\r\n return \"i\" /* IDENT */;\r\n case 0x09: // Tab (HT)\r\n case 0x0a: // Newline (LF)\r\n case 0x0d: // Return (CR)\r\n case 0xa0: // No-break space (NBSP)\r\n case 0xfeff: // Byte Order Mark (BOM)\r\n case 0x2028: // Line Separator (LS)\r\n case 0x2029: // Paragraph Separator (PS)\r\n return \"w\" /* WORKSPACE */;\r\n }\r\n return \"i\" /* IDENT */;\r\n}\r\n/**\r\n * Format a subPath, return its plain form if it is\r\n * a literal string or number. Otherwise prepend the\r\n * dynamic indicator (*).\r\n */\r\nfunction formatSubPath(path) {\r\n const trimmed = path.trim();\r\n // invalid leading 0\r\n if (path.charAt(0) === '0' && isNaN(parseInt(path))) {\r\n return false;\r\n }\r\n return isLiteral(trimmed)\r\n ? stripQuotes(trimmed)\r\n : \"*\" /* ASTARISK */ + trimmed;\r\n}\r\n/**\r\n * Parse a string path into an array of segments\r\n */\r\nfunction parse(path) {\r\n const keys = [];\r\n let index = -1;\r\n let mode = 0 /* BEFORE_PATH */;\r\n let subPathDepth = 0;\r\n let c;\r\n let key; // eslint-disable-line\r\n let newChar;\r\n let type;\r\n let transition;\r\n let action;\r\n let typeMap;\r\n const actions = [];\r\n actions[0 /* APPEND */] = () => {\r\n if (key === undefined) {\r\n key = newChar;\r\n }\r\n else {\r\n key += newChar;\r\n }\r\n };\r\n actions[1 /* PUSH */] = () => {\r\n if (key !== undefined) {\r\n keys.push(key);\r\n key = undefined;\r\n }\r\n };\r\n actions[2 /* INC_SUB_PATH_DEPTH */] = () => {\r\n actions[0 /* APPEND */]();\r\n subPathDepth++;\r\n };\r\n actions[3 /* PUSH_SUB_PATH */] = () => {\r\n if (subPathDepth > 0) {\r\n subPathDepth--;\r\n mode = 4 /* IN_SUB_PATH */;\r\n actions[0 /* APPEND */]();\r\n }\r\n else {\r\n subPathDepth = 0;\r\n if (key === undefined) {\r\n return false;\r\n }\r\n key = formatSubPath(key);\r\n if (key === false) {\r\n return false;\r\n }\r\n else {\r\n actions[1 /* PUSH */]();\r\n }\r\n }\r\n };\r\n function maybeUnescapeQuote() {\r\n const nextChar = path[index + 1];\r\n if ((mode === 5 /* IN_SINGLE_QUOTE */ &&\r\n nextChar === \"'\" /* SINGLE_QUOTE */) ||\r\n (mode === 6 /* IN_DOUBLE_QUOTE */ &&\r\n nextChar === \"\\\"\" /* DOUBLE_QUOTE */)) {\r\n index++;\r\n newChar = '\\\\' + nextChar;\r\n actions[0 /* APPEND */]();\r\n return true;\r\n }\r\n }\r\n while (mode !== null) {\r\n index++;\r\n c = path[index];\r\n if (c === '\\\\' && maybeUnescapeQuote()) {\r\n continue;\r\n }\r\n type = getPathCharType(c);\r\n typeMap = pathStateMachine[mode];\r\n transition = typeMap[type] || typeMap[\"l\" /* ELSE */] || 8 /* ERROR */;\r\n // check parse error\r\n if (transition === 8 /* ERROR */) {\r\n return;\r\n }\r\n mode = transition[0];\r\n if (transition[1] !== undefined) {\r\n action = actions[transition[1]];\r\n if (action) {\r\n newChar = c;\r\n if (action() === false) {\r\n return;\r\n }\r\n }\r\n }\r\n // check parse finish\r\n if (mode === 7 /* AFTER_PATH */) {\r\n return keys;\r\n }\r\n }\r\n}\r\n// path token cache\r\nconst cache = new Map();\r\n/**\r\n * key-value message resolver\r\n *\r\n * @remarks\r\n * Resolves messages with the key-value structure. Note that messages with a hierarchical structure such as objects cannot be resolved\r\n *\r\n * @param obj - A target object to be resolved with path\r\n * @param path - A {@link Path | path} to resolve the value of message\r\n *\r\n * @returns A resolved {@link PathValue | path value}\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction resolveWithKeyValue(obj, path) {\r\n return isObject(obj) ? obj[path] : null;\r\n}\r\n/**\r\n * message resolver\r\n *\r\n * @remarks\r\n * Resolves messages. messages with a hierarchical structure such as objects can be resolved. This resolver is used in VueI18n as default.\r\n *\r\n * @param obj - A target object to be resolved with path\r\n * @param path - A {@link Path | path} to resolve the value of message\r\n *\r\n * @returns A resolved {@link PathValue | path value}\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction resolveValue(obj, path) {\r\n // check object\r\n if (!isObject(obj)) {\r\n return null;\r\n }\r\n // parse path\r\n let hit = cache.get(path);\r\n if (!hit) {\r\n hit = parse(path);\r\n if (hit) {\r\n cache.set(path, hit);\r\n }\r\n }\r\n // check hit\r\n if (!hit) {\r\n return null;\r\n }\r\n // resolve path value\r\n const len = hit.length;\r\n let last = obj;\r\n let i = 0;\r\n while (i < len) {\r\n const val = last[hit[i]];\r\n if (val === undefined) {\r\n return null;\r\n }\r\n last = val;\r\n i++;\r\n }\r\n return last;\r\n}\n\nconst DEFAULT_MODIFIER = (str) => str;\r\nconst DEFAULT_MESSAGE = (ctx) => ''; // eslint-disable-line\r\nconst DEFAULT_MESSAGE_DATA_TYPE = 'text';\r\nconst DEFAULT_NORMALIZE = (values) => values.length === 0 ? '' : values.join('');\r\nconst DEFAULT_INTERPOLATE = toDisplayString;\r\nfunction pluralDefault(choice, choicesLength) {\r\n choice = Math.abs(choice);\r\n if (choicesLength === 2) {\r\n // prettier-ignore\r\n return choice\r\n ? choice > 1\r\n ? 1\r\n : 0\r\n : 1;\r\n }\r\n return choice ? Math.min(choice, 2) : 0;\r\n}\r\nfunction getPluralIndex(options) {\r\n // prettier-ignore\r\n const index = isNumber(options.pluralIndex)\r\n ? options.pluralIndex\r\n : -1;\r\n // prettier-ignore\r\n return options.named && (isNumber(options.named.count) || isNumber(options.named.n))\r\n ? isNumber(options.named.count)\r\n ? options.named.count\r\n : isNumber(options.named.n)\r\n ? options.named.n\r\n : index\r\n : index;\r\n}\r\nfunction normalizeNamed(pluralIndex, props) {\r\n if (!props.count) {\r\n props.count = pluralIndex;\r\n }\r\n if (!props.n) {\r\n props.n = pluralIndex;\r\n }\r\n}\r\nfunction createMessageContext(options = {}) {\r\n const locale = options.locale;\r\n const pluralIndex = getPluralIndex(options);\r\n const pluralRule = isObject(options.pluralRules) &&\r\n isString(locale) &&\r\n isFunction(options.pluralRules[locale])\r\n ? options.pluralRules[locale]\r\n : pluralDefault;\r\n const orgPluralRule = isObject(options.pluralRules) &&\r\n isString(locale) &&\r\n isFunction(options.pluralRules[locale])\r\n ? pluralDefault\r\n : undefined;\r\n const plural = (messages) => {\r\n return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];\r\n };\r\n const _list = options.list || [];\r\n const list = (index) => _list[index];\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const _named = options.named || {};\r\n isNumber(options.pluralIndex) && normalizeNamed(pluralIndex, _named);\r\n const named = (key) => _named[key];\r\n function message(key) {\r\n // prettier-ignore\r\n const msg = isFunction(options.messages)\r\n ? options.messages(key)\r\n : isObject(options.messages)\r\n ? options.messages[key]\r\n : false;\r\n return !msg\r\n ? options.parent\r\n ? options.parent.message(key) // resolve from parent messages\r\n : DEFAULT_MESSAGE\r\n : msg;\r\n }\r\n const _modifier = (name) => options.modifiers\r\n ? options.modifiers[name]\r\n : DEFAULT_MODIFIER;\r\n const normalize = isPlainObject(options.processor) && isFunction(options.processor.normalize)\r\n ? options.processor.normalize\r\n : DEFAULT_NORMALIZE;\r\n const interpolate = isPlainObject(options.processor) &&\r\n isFunction(options.processor.interpolate)\r\n ? options.processor.interpolate\r\n : DEFAULT_INTERPOLATE;\r\n const type = isPlainObject(options.processor) && isString(options.processor.type)\r\n ? options.processor.type\r\n : DEFAULT_MESSAGE_DATA_TYPE;\r\n const linked = (key, ...args) => {\r\n const [arg1, arg2] = args;\r\n let type = 'text';\r\n let modifier = '';\r\n if (args.length === 1) {\r\n if (isObject(arg1)) {\r\n modifier = arg1.modifier || modifier;\r\n type = arg1.type || type;\r\n }\r\n else if (isString(arg1)) {\r\n modifier = arg1 || modifier;\r\n }\r\n }\r\n else if (args.length === 2) {\r\n if (isString(arg1)) {\r\n modifier = arg1 || modifier;\r\n }\r\n if (isString(arg2)) {\r\n type = arg2 || type;\r\n }\r\n }\r\n let msg = message(key)(ctx);\r\n // The message in vnode resolved with linked are returned as an array by processor.nomalize\r\n if (type === 'vnode' && isArray(msg) && modifier) {\r\n msg = msg[0];\r\n }\r\n return modifier ? _modifier(modifier)(msg, type) : msg;\r\n };\r\n const ctx = {\r\n [\"list\" /* LIST */]: list,\r\n [\"named\" /* NAMED */]: named,\r\n [\"plural\" /* PLURAL */]: plural,\r\n [\"linked\" /* LINKED */]: linked,\r\n [\"message\" /* MESSAGE */]: message,\r\n [\"type\" /* TYPE */]: type,\r\n [\"interpolate\" /* INTERPOLATE */]: interpolate,\r\n [\"normalize\" /* NORMALIZE */]: normalize\r\n };\r\n return ctx;\r\n}\n\nlet devtools = null;\r\nfunction setDevToolsHook(hook) {\r\n devtools = hook;\r\n}\r\nfunction getDevToolsHook() {\r\n return devtools;\r\n}\r\nfunction initI18nDevTools(i18n, version, meta) {\r\n // TODO: queue if devtools is undefined\r\n devtools &&\r\n devtools.emit(IntlifyDevToolsHooks.I18nInit, {\r\n timestamp: Date.now(),\r\n i18n,\r\n version,\r\n meta\r\n });\r\n}\r\nconst translateDevTools = /* #__PURE__*/ createDevToolsHook(IntlifyDevToolsHooks.FunctionTranslate);\r\nfunction createDevToolsHook(hook) {\r\n return (payloads) => devtools && devtools.emit(hook, payloads);\r\n}\n\nconst CoreWarnCodes = {\r\n NOT_FOUND_KEY: 1,\r\n FALLBACK_TO_TRANSLATE: 2,\r\n CANNOT_FORMAT_NUMBER: 3,\r\n FALLBACK_TO_NUMBER_FORMAT: 4,\r\n CANNOT_FORMAT_DATE: 5,\r\n FALLBACK_TO_DATE_FORMAT: 6,\r\n __EXTEND_POINT__: 7\r\n};\r\n/** @internal */\r\nconst warnMessages = {\r\n [CoreWarnCodes.NOT_FOUND_KEY]: `Not found '{key}' key in '{locale}' locale messages.`,\r\n [CoreWarnCodes.FALLBACK_TO_TRANSLATE]: `Fall back to translate '{key}' key with '{target}' locale.`,\r\n [CoreWarnCodes.CANNOT_FORMAT_NUMBER]: `Cannot format a number value due to not supported Intl.NumberFormat.`,\r\n [CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT]: `Fall back to number format '{key}' key with '{target}' locale.`,\r\n [CoreWarnCodes.CANNOT_FORMAT_DATE]: `Cannot format a date value due to not supported Intl.DateTimeFormat.`,\r\n [CoreWarnCodes.FALLBACK_TO_DATE_FORMAT]: `Fall back to datetime format '{key}' key with '{target}' locale.`\r\n};\r\nfunction getWarnMessage(code, ...args) {\r\n return format(warnMessages[code], ...args);\r\n}\n\n/**\r\n * Fallback with simple implemenation\r\n *\r\n * @remarks\r\n * A fallback locale function implemented with a simple fallback algorithm.\r\n *\r\n * Basically, it returns the value as specified in the `fallbackLocale` props, and is processed with the fallback inside intlify.\r\n *\r\n * @param ctx - A {@link CoreContext | context}\r\n * @param fallback - A {@link FallbackLocale | fallback locale}\r\n * @param start - A starting {@link Locale | locale}\r\n *\r\n * @returns Fallback locales\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction fallbackWithSimple(ctx, fallback, start // eslint-disable-line @typescript-eslint/no-unused-vars\r\n) {\r\n // prettier-ignore\r\n return [...new Set([\r\n start,\r\n ...(isArray(fallback)\r\n ? fallback\r\n : isObject(fallback)\r\n ? Object.keys(fallback)\r\n : isString(fallback)\r\n ? [fallback]\r\n : [start])\r\n ])];\r\n}\r\n/**\r\n * Fallback with locale chain\r\n *\r\n * @remarks\r\n * A fallback locale function implemented with a fallback chain algorithm. It's used in VueI18n as default.\r\n *\r\n * @param ctx - A {@link CoreContext | context}\r\n * @param fallback - A {@link FallbackLocale | fallback locale}\r\n * @param start - A starting {@link Locale | locale}\r\n *\r\n * @returns Fallback locales\r\n *\r\n * @VueI18nSee [Fallbacking](../guide/essentials/fallback)\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction fallbackWithLocaleChain(ctx, fallback, start) {\r\n const startLocale = isString(start) ? start : DEFAULT_LOCALE;\r\n const context = ctx;\r\n if (!context.__localeChainCache) {\r\n context.__localeChainCache = new Map();\r\n }\r\n let chain = context.__localeChainCache.get(startLocale);\r\n if (!chain) {\r\n chain = [];\r\n // first block defined by start\r\n let block = [start];\r\n // while any intervening block found\r\n while (isArray(block)) {\r\n block = appendBlockToChain(chain, block, fallback);\r\n }\r\n // prettier-ignore\r\n // last block defined by default\r\n const defaults = isArray(fallback) || !isPlainObject(fallback)\r\n ? fallback\r\n : fallback['default']\r\n ? fallback['default']\r\n : null;\r\n // convert defaults to array\r\n block = isString(defaults) ? [defaults] : defaults;\r\n if (isArray(block)) {\r\n appendBlockToChain(chain, block, false);\r\n }\r\n context.__localeChainCache.set(startLocale, chain);\r\n }\r\n return chain;\r\n}\r\nfunction appendBlockToChain(chain, block, blocks) {\r\n let follow = true;\r\n for (let i = 0; i < block.length && isBoolean(follow); i++) {\r\n const locale = block[i];\r\n if (isString(locale)) {\r\n follow = appendLocaleToChain(chain, block[i], blocks);\r\n }\r\n }\r\n return follow;\r\n}\r\nfunction appendLocaleToChain(chain, locale, blocks) {\r\n let follow;\r\n const tokens = locale.split('-');\r\n do {\r\n const target = tokens.join('-');\r\n follow = appendItemToChain(chain, target, blocks);\r\n tokens.splice(-1, 1);\r\n } while (tokens.length && follow === true);\r\n return follow;\r\n}\r\nfunction appendItemToChain(chain, target, blocks) {\r\n let follow = false;\r\n if (!chain.includes(target)) {\r\n follow = true;\r\n if (target) {\r\n follow = target[target.length - 1] !== '!';\r\n const locale = target.replace(/!/g, '');\r\n chain.push(locale);\r\n if ((isArray(blocks) || isPlainObject(blocks)) &&\r\n blocks[locale] // eslint-disable-line @typescript-eslint/no-explicit-any\r\n ) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n follow = blocks[locale];\r\n }\r\n }\r\n }\r\n return follow;\r\n}\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\n/**\r\n * Intlify core-base version\r\n * @internal\r\n */\r\nconst VERSION = '9.2.2';\r\nconst NOT_REOSLVED = -1;\r\nconst DEFAULT_LOCALE = 'en-US';\r\nconst MISSING_RESOLVE_VALUE = '';\r\nconst capitalize = (str) => `${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;\r\nfunction getDefaultLinkedModifiers() {\r\n return {\r\n upper: (val, type) => {\r\n // prettier-ignore\r\n return type === 'text' && isString(val)\r\n ? val.toUpperCase()\r\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\r\n ? val.children.toUpperCase()\r\n : val;\r\n },\r\n lower: (val, type) => {\r\n // prettier-ignore\r\n return type === 'text' && isString(val)\r\n ? val.toLowerCase()\r\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\r\n ? val.children.toLowerCase()\r\n : val;\r\n },\r\n capitalize: (val, type) => {\r\n // prettier-ignore\r\n return (type === 'text' && isString(val)\r\n ? capitalize(val)\r\n : type === 'vnode' && isObject(val) && '__v_isVNode' in val\r\n ? capitalize(val.children)\r\n : val);\r\n }\r\n };\r\n}\r\nlet _compiler;\r\nfunction registerMessageCompiler(compiler) {\r\n _compiler = compiler;\r\n}\r\nlet _resolver;\r\n/**\r\n * Register the message resolver\r\n *\r\n * @param resolver - A {@link MessageResolver} function\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction registerMessageResolver(resolver) {\r\n _resolver = resolver;\r\n}\r\nlet _fallbacker;\r\n/**\r\n * Register the locale fallbacker\r\n *\r\n * @param fallbacker - A {@link LocaleFallbacker} function\r\n *\r\n * @VueI18nGeneral\r\n */\r\nfunction registerLocaleFallbacker(fallbacker) {\r\n _fallbacker = fallbacker;\r\n}\r\n// Additional Meta for Intlify DevTools\r\nlet _additionalMeta = null;\r\nconst setAdditionalMeta = (meta) => {\r\n _additionalMeta = meta;\r\n};\r\nconst getAdditionalMeta = () => _additionalMeta;\r\nlet _fallbackContext = null;\r\nconst setFallbackContext = (context) => {\r\n _fallbackContext = context;\r\n};\r\nconst getFallbackContext = () => _fallbackContext;\r\n// ID for CoreContext\r\nlet _cid = 0;\r\nfunction createCoreContext(options = {}) {\r\n // setup options\r\n const version = isString(options.version) ? options.version : VERSION;\r\n const locale = isString(options.locale) ? options.locale : DEFAULT_LOCALE;\r\n const fallbackLocale = isArray(options.fallbackLocale) ||\r\n isPlainObject(options.fallbackLocale) ||\r\n isString(options.fallbackLocale) ||\r\n options.fallbackLocale === false\r\n ? options.fallbackLocale\r\n : locale;\r\n const messages = isPlainObject(options.messages)\r\n ? options.messages\r\n : { [locale]: {} };\r\n const datetimeFormats = isPlainObject(options.datetimeFormats)\r\n ? options.datetimeFormats\r\n : { [locale]: {} }\r\n ;\r\n const numberFormats = isPlainObject(options.numberFormats)\r\n ? options.numberFormats\r\n : { [locale]: {} }\r\n ;\r\n const modifiers = assign({}, options.modifiers || {}, getDefaultLinkedModifiers());\r\n const pluralRules = options.pluralRules || {};\r\n const missing = isFunction(options.missing) ? options.missing : null;\r\n const missingWarn = isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\r\n ? options.missingWarn\r\n : true;\r\n const fallbackWarn = isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : true;\r\n const fallbackFormat = !!options.fallbackFormat;\r\n const unresolving = !!options.unresolving;\r\n const postTranslation = isFunction(options.postTranslation)\r\n ? options.postTranslation\r\n : null;\r\n const processor = isPlainObject(options.processor) ? options.processor : null;\r\n const warnHtmlMessage = isBoolean(options.warnHtmlMessage)\r\n ? options.warnHtmlMessage\r\n : true;\r\n const escapeParameter = !!options.escapeParameter;\r\n const messageCompiler = isFunction(options.messageCompiler)\r\n ? options.messageCompiler\r\n : _compiler;\r\n const messageResolver = isFunction(options.messageResolver)\r\n ? options.messageResolver\r\n : _resolver || resolveWithKeyValue;\r\n const localeFallbacker = isFunction(options.localeFallbacker)\r\n ? options.localeFallbacker\r\n : _fallbacker || fallbackWithSimple;\r\n const fallbackContext = isObject(options.fallbackContext)\r\n ? options.fallbackContext\r\n : undefined;\r\n const onWarn = isFunction(options.onWarn) ? options.onWarn : warn;\r\n // setup internal options\r\n const internalOptions = options;\r\n const __datetimeFormatters = isObject(internalOptions.__datetimeFormatters)\r\n ? internalOptions.__datetimeFormatters\r\n : new Map()\r\n ;\r\n const __numberFormatters = isObject(internalOptions.__numberFormatters)\r\n ? internalOptions.__numberFormatters\r\n : new Map()\r\n ;\r\n const __meta = isObject(internalOptions.__meta) ? internalOptions.__meta : {};\r\n _cid++;\r\n const context = {\r\n version,\r\n cid: _cid,\r\n locale,\r\n fallbackLocale,\r\n messages,\r\n modifiers,\r\n pluralRules,\r\n missing,\r\n missingWarn,\r\n fallbackWarn,\r\n fallbackFormat,\r\n unresolving,\r\n postTranslation,\r\n processor,\r\n warnHtmlMessage,\r\n escapeParameter,\r\n messageCompiler,\r\n messageResolver,\r\n localeFallbacker,\r\n fallbackContext,\r\n onWarn,\r\n __meta\r\n };\r\n {\r\n context.datetimeFormats = datetimeFormats;\r\n context.numberFormats = numberFormats;\r\n context.__datetimeFormatters = __datetimeFormatters;\r\n context.__numberFormatters = __numberFormatters;\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n context.__v_emitter =\r\n internalOptions.__v_emitter != null\r\n ? internalOptions.__v_emitter\r\n : undefined;\r\n }\r\n // NOTE: experimental !!\r\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\r\n initI18nDevTools(context, version, __meta);\r\n }\r\n return context;\r\n}\r\n/** @internal */\r\nfunction isTranslateFallbackWarn(fallback, key) {\r\n return fallback instanceof RegExp ? fallback.test(key) : fallback;\r\n}\r\n/** @internal */\r\nfunction isTranslateMissingWarn(missing, key) {\r\n return missing instanceof RegExp ? missing.test(key) : missing;\r\n}\r\n/** @internal */\r\nfunction handleMissing(context, key, locale, missingWarn, type) {\r\n const { missing, onWarn } = context;\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const emitter = context.__v_emitter;\r\n if (emitter) {\r\n emitter.emit(\"missing\" /* MISSING */, {\r\n locale,\r\n key,\r\n type,\r\n groupId: `${type}:${key}`\r\n });\r\n }\r\n }\r\n if (missing !== null) {\r\n const ret = missing(context, locale, key, type);\r\n return isString(ret) ? ret : key;\r\n }\r\n else {\r\n if ((process.env.NODE_ENV !== 'production') && isTranslateMissingWarn(missingWarn, key)) {\r\n onWarn(getWarnMessage(CoreWarnCodes.NOT_FOUND_KEY, { key, locale }));\r\n }\r\n return key;\r\n }\r\n}\r\n/** @internal */\r\nfunction updateFallbackLocale(ctx, locale, fallback) {\r\n const context = ctx;\r\n context.__localeChainCache = new Map();\r\n ctx.localeFallbacker(ctx, fallback, locale);\r\n}\r\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nconst RE_HTML_TAG = /<\\/?[\\w\\s=\"/.':;#-\\/]+>/;\r\nconst WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;\r\nfunction checkHtmlMessage(source, options) {\r\n const warnHtmlMessage = isBoolean(options.warnHtmlMessage)\r\n ? options.warnHtmlMessage\r\n : true;\r\n if (warnHtmlMessage && RE_HTML_TAG.test(source)) {\r\n warn(format(WARN_MESSAGE, { source }));\r\n }\r\n}\r\nconst defaultOnCacheKey = (source) => source;\r\nlet compileCache = Object.create(null);\r\nfunction clearCompileCache() {\r\n compileCache = Object.create(null);\r\n}\r\nfunction compileToFunction(source, options = {}) {\r\n {\r\n // check HTML message\r\n (process.env.NODE_ENV !== 'production') && checkHtmlMessage(source, options);\r\n // check caches\r\n const onCacheKey = options.onCacheKey || defaultOnCacheKey;\r\n const key = onCacheKey(source);\r\n const cached = compileCache[key];\r\n if (cached) {\r\n return cached;\r\n }\r\n // compile error detecting\r\n let occurred = false;\r\n const onError = options.onError || defaultOnError;\r\n options.onError = (err) => {\r\n occurred = true;\r\n onError(err);\r\n };\r\n // compile\r\n const { code } = baseCompile(source, options);\r\n // evaluate function\r\n const msg = new Function(`return ${code}`)();\r\n // if occurred compile error, don't cache\r\n return !occurred ? (compileCache[key] = msg) : msg;\r\n }\r\n}\n\nlet code = CompileErrorCodes.__EXTEND_POINT__;\r\nconst inc = () => ++code;\r\nconst CoreErrorCodes = {\r\n INVALID_ARGUMENT: code,\r\n INVALID_DATE_ARGUMENT: inc(),\r\n INVALID_ISO_DATE_ARGUMENT: inc(),\r\n __EXTEND_POINT__: inc() // 18\r\n};\r\nfunction createCoreError(code) {\r\n return createCompileError(code, null, (process.env.NODE_ENV !== 'production') ? { messages: errorMessages } : undefined);\r\n}\r\n/** @internal */\r\nconst errorMessages = {\r\n [CoreErrorCodes.INVALID_ARGUMENT]: 'Invalid arguments',\r\n [CoreErrorCodes.INVALID_DATE_ARGUMENT]: 'The date provided is an invalid Date object.' +\r\n 'Make sure your Date represents a valid date.',\r\n [CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT]: 'The argument provided is not a valid ISO date string'\r\n};\n\nconst NOOP_MESSAGE_FUNCTION = () => '';\r\nconst isMessageFunction = (val) => isFunction(val);\r\n// implementation of `translate` function\r\nfunction translate(context, ...args) {\r\n const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;\r\n const [key, options] = parseTranslateArgs(...args);\r\n const missingWarn = isBoolean(options.missingWarn)\r\n ? options.missingWarn\r\n : context.missingWarn;\r\n const fallbackWarn = isBoolean(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : context.fallbackWarn;\r\n const escapeParameter = isBoolean(options.escapeParameter)\r\n ? options.escapeParameter\r\n : context.escapeParameter;\r\n const resolvedMessage = !!options.resolvedMessage;\r\n // prettier-ignore\r\n const defaultMsgOrKey = isString(options.default) || isBoolean(options.default) // default by function option\r\n ? !isBoolean(options.default)\r\n ? options.default\r\n : (!messageCompiler ? () => key : key)\r\n : fallbackFormat // default by `fallbackFormat` option\r\n ? (!messageCompiler ? () => key : key)\r\n : '';\r\n const enableDefaultMsg = fallbackFormat || defaultMsgOrKey !== '';\r\n const locale = isString(options.locale) ? options.locale : context.locale;\r\n // escape params\r\n escapeParameter && escapeParams(options);\r\n // resolve message format\r\n // eslint-disable-next-line prefer-const\r\n let [formatScope, targetLocale, message] = !resolvedMessage\r\n ? resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn)\r\n : [\r\n key,\r\n locale,\r\n messages[locale] || {}\r\n ];\r\n // NOTE:\r\n // Fix to work around `ssrTransfrom` bug in Vite.\r\n // https://github.com/vitejs/vite/issues/4306\r\n // To get around this, use temporary variables.\r\n // https://github.com/nuxt/framework/issues/1461#issuecomment-954606243\r\n let format = formatScope;\r\n // if you use default message, set it as message format!\r\n let cacheBaseKey = key;\r\n if (!resolvedMessage &&\r\n !(isString(format) || isMessageFunction(format))) {\r\n if (enableDefaultMsg) {\r\n format = defaultMsgOrKey;\r\n cacheBaseKey = format;\r\n }\r\n }\r\n // checking message format and target locale\r\n if (!resolvedMessage &&\r\n (!(isString(format) || isMessageFunction(format)) ||\r\n !isString(targetLocale))) {\r\n return unresolving ? NOT_REOSLVED : key;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && isString(format) && context.messageCompiler == null) {\r\n warn(`The message format compilation is not supported in this build. ` +\r\n `Because message compiler isn't included. ` +\r\n `You need to pre-compilation all message format. ` +\r\n `So translate function return '${key}'.`);\r\n return key;\r\n }\r\n // setup compile error detecting\r\n let occurred = false;\r\n const errorDetector = () => {\r\n occurred = true;\r\n };\r\n // compile message format\r\n const msg = !isMessageFunction(format)\r\n ? compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, errorDetector)\r\n : format;\r\n // if occurred compile error, return the message format\r\n if (occurred) {\r\n return format;\r\n }\r\n // evaluate message with context\r\n const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);\r\n const msgContext = createMessageContext(ctxOptions);\r\n const messaged = evaluateMessage(context, msg, msgContext);\r\n // if use post translation option, proceed it with handler\r\n const ret = postTranslation\r\n ? postTranslation(messaged, key)\r\n : messaged;\r\n // NOTE: experimental !!\r\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\r\n // prettier-ignore\r\n const payloads = {\r\n timestamp: Date.now(),\r\n key: isString(key)\r\n ? key\r\n : isMessageFunction(format)\r\n ? format.key\r\n : '',\r\n locale: targetLocale || (isMessageFunction(format)\r\n ? format.locale\r\n : ''),\r\n format: isString(format)\r\n ? format\r\n : isMessageFunction(format)\r\n ? format.source\r\n : '',\r\n message: ret\r\n };\r\n payloads.meta = assign({}, context.__meta, getAdditionalMeta() || {});\r\n translateDevTools(payloads);\r\n }\r\n return ret;\r\n}\r\nfunction escapeParams(options) {\r\n if (isArray(options.list)) {\r\n options.list = options.list.map(item => isString(item) ? escapeHtml(item) : item);\r\n }\r\n else if (isObject(options.named)) {\r\n Object.keys(options.named).forEach(key => {\r\n if (isString(options.named[key])) {\r\n options.named[key] = escapeHtml(options.named[key]);\r\n }\r\n });\r\n }\r\n}\r\nfunction resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn) {\r\n const { messages, onWarn, messageResolver: resolveValue, localeFallbacker } = context;\r\n const locales = localeFallbacker(context, fallbackLocale, locale); // eslint-disable-line @typescript-eslint/no-explicit-any\r\n let message = {};\r\n let targetLocale;\r\n let format = null;\r\n let from = locale;\r\n let to = null;\r\n const type = 'translate';\r\n for (let i = 0; i < locales.length; i++) {\r\n targetLocale = to = locales[i];\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n locale !== targetLocale &&\r\n isTranslateFallbackWarn(fallbackWarn, key)) {\r\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {\r\n key,\r\n target: targetLocale\r\n }));\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\r\n const emitter = context.__v_emitter;\r\n if (emitter) {\r\n emitter.emit(\"fallback\" /* FALBACK */, {\r\n type,\r\n key,\r\n from,\r\n to,\r\n groupId: `${type}:${key}`\r\n });\r\n }\r\n }\r\n message =\r\n messages[targetLocale] || {};\r\n // for vue-devtools timeline event\r\n let start = null;\r\n let startTag;\r\n let endTag;\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n start = window.performance.now();\r\n startTag = 'intlify-message-resolve-start';\r\n endTag = 'intlify-message-resolve-end';\r\n mark && mark(startTag);\r\n }\r\n if ((format = resolveValue(message, key)) === null) {\r\n // if null, resolve with object key path\r\n format = message[key]; // eslint-disable-line @typescript-eslint/no-explicit-any\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n const end = window.performance.now();\r\n const emitter = context.__v_emitter;\r\n if (emitter && start && format) {\r\n emitter.emit(\"message-resolve\" /* MESSAGE_RESOLVE */, {\r\n type: \"message-resolve\" /* MESSAGE_RESOLVE */,\r\n key,\r\n message: format,\r\n time: end - start,\r\n groupId: `${type}:${key}`\r\n });\r\n }\r\n if (startTag && endTag && mark && measure) {\r\n mark(endTag);\r\n measure('intlify message resolve', startTag, endTag);\r\n }\r\n }\r\n if (isString(format) || isFunction(format))\r\n break;\r\n const missingRet = handleMissing(context, // eslint-disable-line @typescript-eslint/no-explicit-any\r\n key, targetLocale, missingWarn, type);\r\n if (missingRet !== key) {\r\n format = missingRet;\r\n }\r\n from = to;\r\n }\r\n return [format, targetLocale, message];\r\n}\r\nfunction compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, errorDetector) {\r\n const { messageCompiler, warnHtmlMessage } = context;\r\n if (isMessageFunction(format)) {\r\n const msg = format;\r\n msg.locale = msg.locale || targetLocale;\r\n msg.key = msg.key || key;\r\n return msg;\r\n }\r\n if (messageCompiler == null) {\r\n const msg = (() => format);\r\n msg.locale = targetLocale;\r\n msg.key = key;\r\n return msg;\r\n }\r\n // for vue-devtools timeline event\r\n let start = null;\r\n let startTag;\r\n let endTag;\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n start = window.performance.now();\r\n startTag = 'intlify-message-compilation-start';\r\n endTag = 'intlify-message-compilation-end';\r\n mark && mark(startTag);\r\n }\r\n const msg = messageCompiler(format, getCompileOptions(context, targetLocale, cacheBaseKey, format, warnHtmlMessage, errorDetector));\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n const end = window.performance.now();\r\n const emitter = context.__v_emitter;\r\n if (emitter && start) {\r\n emitter.emit(\"message-compilation\" /* MESSAGE_COMPILATION */, {\r\n type: \"message-compilation\" /* MESSAGE_COMPILATION */,\r\n message: format,\r\n time: end - start,\r\n groupId: `${'translate'}:${key}`\r\n });\r\n }\r\n if (startTag && endTag && mark && measure) {\r\n mark(endTag);\r\n measure('intlify message compilation', startTag, endTag);\r\n }\r\n }\r\n msg.locale = targetLocale;\r\n msg.key = key;\r\n msg.source = format;\r\n return msg;\r\n}\r\nfunction evaluateMessage(context, msg, msgCtx) {\r\n // for vue-devtools timeline event\r\n let start = null;\r\n let startTag;\r\n let endTag;\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n start = window.performance.now();\r\n startTag = 'intlify-message-evaluation-start';\r\n endTag = 'intlify-message-evaluation-end';\r\n mark && mark(startTag);\r\n }\r\n const messaged = msg(msgCtx);\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && inBrowser) {\r\n const end = window.performance.now();\r\n const emitter = context.__v_emitter;\r\n if (emitter && start) {\r\n emitter.emit(\"message-evaluation\" /* MESSAGE_EVALUATION */, {\r\n type: \"message-evaluation\" /* MESSAGE_EVALUATION */,\r\n value: messaged,\r\n time: end - start,\r\n groupId: `${'translate'}:${msg.key}`\r\n });\r\n }\r\n if (startTag && endTag && mark && measure) {\r\n mark(endTag);\r\n measure('intlify message evaluation', startTag, endTag);\r\n }\r\n }\r\n return messaged;\r\n}\r\n/** @internal */\r\nfunction parseTranslateArgs(...args) {\r\n const [arg1, arg2, arg3] = args;\r\n const options = {};\r\n if (!isString(arg1) && !isNumber(arg1) && !isMessageFunction(arg1)) {\r\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\r\n }\r\n // prettier-ignore\r\n const key = isNumber(arg1)\r\n ? String(arg1)\r\n : isMessageFunction(arg1)\r\n ? arg1\r\n : arg1;\r\n if (isNumber(arg2)) {\r\n options.plural = arg2;\r\n }\r\n else if (isString(arg2)) {\r\n options.default = arg2;\r\n }\r\n else if (isPlainObject(arg2) && !isEmptyObject(arg2)) {\r\n options.named = arg2;\r\n }\r\n else if (isArray(arg2)) {\r\n options.list = arg2;\r\n }\r\n if (isNumber(arg3)) {\r\n options.plural = arg3;\r\n }\r\n else if (isString(arg3)) {\r\n options.default = arg3;\r\n }\r\n else if (isPlainObject(arg3)) {\r\n assign(options, arg3);\r\n }\r\n return [key, options];\r\n}\r\nfunction getCompileOptions(context, locale, key, source, warnHtmlMessage, errorDetector) {\r\n return {\r\n warnHtmlMessage,\r\n onError: (err) => {\r\n errorDetector && errorDetector(err);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const message = `Message compilation error: ${err.message}`;\r\n const codeFrame = err.location &&\r\n generateCodeFrame(source, err.location.start.offset, err.location.end.offset);\r\n const emitter = context.__v_emitter;\r\n if (emitter) {\r\n emitter.emit(\"compile-error\" /* COMPILE_ERROR */, {\r\n message: source,\r\n error: err.message,\r\n start: err.location && err.location.start.offset,\r\n end: err.location && err.location.end.offset,\r\n groupId: `${'translate'}:${key}`\r\n });\r\n }\r\n console.error(codeFrame ? `${message}\\n${codeFrame}` : message);\r\n }\r\n else {\r\n throw err;\r\n }\r\n },\r\n onCacheKey: (source) => generateFormatCacheKey(locale, key, source)\r\n };\r\n}\r\nfunction getMessageContextOptions(context, locale, message, options) {\r\n const { modifiers, pluralRules, messageResolver: resolveValue, fallbackLocale, fallbackWarn, missingWarn, fallbackContext } = context;\r\n const resolveMessage = (key) => {\r\n let val = resolveValue(message, key);\r\n // fallback to root context\r\n if (val == null && fallbackContext) {\r\n const [, , message] = resolveMessageFormat(fallbackContext, key, locale, fallbackLocale, fallbackWarn, missingWarn);\r\n val = resolveValue(message, key);\r\n }\r\n if (isString(val)) {\r\n let occurred = false;\r\n const errorDetector = () => {\r\n occurred = true;\r\n };\r\n const msg = compileMessageFormat(context, key, locale, val, key, errorDetector);\r\n return !occurred\r\n ? msg\r\n : NOOP_MESSAGE_FUNCTION;\r\n }\r\n else if (isMessageFunction(val)) {\r\n return val;\r\n }\r\n else {\r\n // TODO: should be implemented warning message\r\n return NOOP_MESSAGE_FUNCTION;\r\n }\r\n };\r\n const ctxOptions = {\r\n locale,\r\n modifiers,\r\n pluralRules,\r\n messages: resolveMessage\r\n };\r\n if (context.processor) {\r\n ctxOptions.processor = context.processor;\r\n }\r\n if (options.list) {\r\n ctxOptions.list = options.list;\r\n }\r\n if (options.named) {\r\n ctxOptions.named = options.named;\r\n }\r\n if (isNumber(options.plural)) {\r\n ctxOptions.pluralIndex = options.plural;\r\n }\r\n return ctxOptions;\r\n}\n\nconst intlDefined = typeof Intl !== 'undefined';\r\nconst Availabilities = {\r\n dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',\r\n numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'\r\n};\n\n// implementation of `datetime` function\r\nfunction datetime(context, ...args) {\r\n const { datetimeFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;\r\n const { __datetimeFormatters } = context;\r\n if ((process.env.NODE_ENV !== 'production') && !Availabilities.dateTimeFormat) {\r\n onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_DATE));\r\n return MISSING_RESOLVE_VALUE;\r\n }\r\n const [key, value, options, overrides] = parseDateTimeArgs(...args);\r\n const missingWarn = isBoolean(options.missingWarn)\r\n ? options.missingWarn\r\n : context.missingWarn;\r\n const fallbackWarn = isBoolean(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : context.fallbackWarn;\r\n const part = !!options.part;\r\n const locale = isString(options.locale) ? options.locale : context.locale;\r\n const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any\r\n fallbackLocale, locale);\r\n if (!isString(key) || key === '') {\r\n return new Intl.DateTimeFormat(locale, overrides).format(value);\r\n }\r\n // resolve format\r\n let datetimeFormat = {};\r\n let targetLocale;\r\n let format = null;\r\n let from = locale;\r\n let to = null;\r\n const type = 'datetime format';\r\n for (let i = 0; i < locales.length; i++) {\r\n targetLocale = to = locales[i];\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n locale !== targetLocale &&\r\n isTranslateFallbackWarn(fallbackWarn, key)) {\r\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {\r\n key,\r\n target: targetLocale\r\n }));\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\r\n const emitter = context.__v_emitter;\r\n if (emitter) {\r\n emitter.emit(\"fallback\" /* FALBACK */, {\r\n type,\r\n key,\r\n from,\r\n to,\r\n groupId: `${type}:${key}`\r\n });\r\n }\r\n }\r\n datetimeFormat =\r\n datetimeFormats[targetLocale] || {};\r\n format = datetimeFormat[key];\r\n if (isPlainObject(format))\r\n break;\r\n handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any\r\n from = to;\r\n }\r\n // checking format and target locale\r\n if (!isPlainObject(format) || !isString(targetLocale)) {\r\n return unresolving ? NOT_REOSLVED : key;\r\n }\r\n let id = `${targetLocale}__${key}`;\r\n if (!isEmptyObject(overrides)) {\r\n id = `${id}__${JSON.stringify(overrides)}`;\r\n }\r\n let formatter = __datetimeFormatters.get(id);\r\n if (!formatter) {\r\n formatter = new Intl.DateTimeFormat(targetLocale, assign({}, format, overrides));\r\n __datetimeFormatters.set(id, formatter);\r\n }\r\n return !part ? formatter.format(value) : formatter.formatToParts(value);\r\n}\r\n/** @internal */\r\nconst DATETIME_FORMAT_OPTIONS_KEYS = [\r\n 'localeMatcher',\r\n 'weekday',\r\n 'era',\r\n 'year',\r\n 'month',\r\n 'day',\r\n 'hour',\r\n 'minute',\r\n 'second',\r\n 'timeZoneName',\r\n 'formatMatcher',\r\n 'hour12',\r\n 'timeZone',\r\n 'dateStyle',\r\n 'timeStyle',\r\n 'calendar',\r\n 'dayPeriod',\r\n 'numberingSystem',\r\n 'hourCycle',\r\n 'fractionalSecondDigits'\r\n];\r\n/** @internal */\r\nfunction parseDateTimeArgs(...args) {\r\n const [arg1, arg2, arg3, arg4] = args;\r\n const options = {};\r\n let overrides = {};\r\n let value;\r\n if (isString(arg1)) {\r\n // Only allow ISO strings - other date formats are often supported,\r\n // but may cause different results in different browsers.\r\n const matches = arg1.match(/(\\d{4}-\\d{2}-\\d{2})(T|\\s)?(.*)/);\r\n if (!matches) {\r\n throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);\r\n }\r\n // Some browsers can not parse the iso datetime separated by space,\r\n // this is a compromise solution by replace the 'T'/' ' with 'T'\r\n const dateTime = matches[3]\r\n ? matches[3].trim().startsWith('T')\r\n ? `${matches[1].trim()}${matches[3].trim()}`\r\n : `${matches[1].trim()}T${matches[3].trim()}`\r\n : matches[1].trim();\r\n value = new Date(dateTime);\r\n try {\r\n // This will fail if the date is not valid\r\n value.toISOString();\r\n }\r\n catch (e) {\r\n throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);\r\n }\r\n }\r\n else if (isDate(arg1)) {\r\n if (isNaN(arg1.getTime())) {\r\n throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);\r\n }\r\n value = arg1;\r\n }\r\n else if (isNumber(arg1)) {\r\n value = arg1;\r\n }\r\n else {\r\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\r\n }\r\n if (isString(arg2)) {\r\n options.key = arg2;\r\n }\r\n else if (isPlainObject(arg2)) {\r\n Object.keys(arg2).forEach(key => {\r\n if (DATETIME_FORMAT_OPTIONS_KEYS.includes(key)) {\r\n overrides[key] = arg2[key];\r\n }\r\n else {\r\n options[key] = arg2[key];\r\n }\r\n });\r\n }\r\n if (isString(arg3)) {\r\n options.locale = arg3;\r\n }\r\n else if (isPlainObject(arg3)) {\r\n overrides = arg3;\r\n }\r\n if (isPlainObject(arg4)) {\r\n overrides = arg4;\r\n }\r\n return [options.key || '', value, options, overrides];\r\n}\r\n/** @internal */\r\nfunction clearDateTimeFormat(ctx, locale, format) {\r\n const context = ctx;\r\n for (const key in format) {\r\n const id = `${locale}__${key}`;\r\n if (!context.__datetimeFormatters.has(id)) {\r\n continue;\r\n }\r\n context.__datetimeFormatters.delete(id);\r\n }\r\n}\n\n// implementation of `number` function\r\nfunction number(context, ...args) {\r\n const { numberFormats, unresolving, fallbackLocale, onWarn, localeFallbacker } = context;\r\n const { __numberFormatters } = context;\r\n if ((process.env.NODE_ENV !== 'production') && !Availabilities.numberFormat) {\r\n onWarn(getWarnMessage(CoreWarnCodes.CANNOT_FORMAT_NUMBER));\r\n return MISSING_RESOLVE_VALUE;\r\n }\r\n const [key, value, options, overrides] = parseNumberArgs(...args);\r\n const missingWarn = isBoolean(options.missingWarn)\r\n ? options.missingWarn\r\n : context.missingWarn;\r\n const fallbackWarn = isBoolean(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : context.fallbackWarn;\r\n const part = !!options.part;\r\n const locale = isString(options.locale) ? options.locale : context.locale;\r\n const locales = localeFallbacker(context, // eslint-disable-line @typescript-eslint/no-explicit-any\r\n fallbackLocale, locale);\r\n if (!isString(key) || key === '') {\r\n return new Intl.NumberFormat(locale, overrides).format(value);\r\n }\r\n // resolve format\r\n let numberFormat = {};\r\n let targetLocale;\r\n let format = null;\r\n let from = locale;\r\n let to = null;\r\n const type = 'number format';\r\n for (let i = 0; i < locales.length; i++) {\r\n targetLocale = to = locales[i];\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n locale !== targetLocale &&\r\n isTranslateFallbackWarn(fallbackWarn, key)) {\r\n onWarn(getWarnMessage(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {\r\n key,\r\n target: targetLocale\r\n }));\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production') && locale !== targetLocale) {\r\n const emitter = context.__v_emitter;\r\n if (emitter) {\r\n emitter.emit(\"fallback\" /* FALBACK */, {\r\n type,\r\n key,\r\n from,\r\n to,\r\n groupId: `${type}:${key}`\r\n });\r\n }\r\n }\r\n numberFormat =\r\n numberFormats[targetLocale] || {};\r\n format = numberFormat[key];\r\n if (isPlainObject(format))\r\n break;\r\n handleMissing(context, key, targetLocale, missingWarn, type); // eslint-disable-line @typescript-eslint/no-explicit-any\r\n from = to;\r\n }\r\n // checking format and target locale\r\n if (!isPlainObject(format) || !isString(targetLocale)) {\r\n return unresolving ? NOT_REOSLVED : key;\r\n }\r\n let id = `${targetLocale}__${key}`;\r\n if (!isEmptyObject(overrides)) {\r\n id = `${id}__${JSON.stringify(overrides)}`;\r\n }\r\n let formatter = __numberFormatters.get(id);\r\n if (!formatter) {\r\n formatter = new Intl.NumberFormat(targetLocale, assign({}, format, overrides));\r\n __numberFormatters.set(id, formatter);\r\n }\r\n return !part ? formatter.format(value) : formatter.formatToParts(value);\r\n}\r\n/** @internal */\r\nconst NUMBER_FORMAT_OPTIONS_KEYS = [\r\n 'localeMatcher',\r\n 'style',\r\n 'currency',\r\n 'currencyDisplay',\r\n 'currencySign',\r\n 'useGrouping',\r\n 'minimumIntegerDigits',\r\n 'minimumFractionDigits',\r\n 'maximumFractionDigits',\r\n 'minimumSignificantDigits',\r\n 'maximumSignificantDigits',\r\n 'compactDisplay',\r\n 'notation',\r\n 'signDisplay',\r\n 'unit',\r\n 'unitDisplay',\r\n 'roundingMode',\r\n 'roundingPriority',\r\n 'roundingIncrement',\r\n 'trailingZeroDisplay'\r\n];\r\n/** @internal */\r\nfunction parseNumberArgs(...args) {\r\n const [arg1, arg2, arg3, arg4] = args;\r\n const options = {};\r\n let overrides = {};\r\n if (!isNumber(arg1)) {\r\n throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);\r\n }\r\n const value = arg1;\r\n if (isString(arg2)) {\r\n options.key = arg2;\r\n }\r\n else if (isPlainObject(arg2)) {\r\n Object.keys(arg2).forEach(key => {\r\n if (NUMBER_FORMAT_OPTIONS_KEYS.includes(key)) {\r\n overrides[key] = arg2[key];\r\n }\r\n else {\r\n options[key] = arg2[key];\r\n }\r\n });\r\n }\r\n if (isString(arg3)) {\r\n options.locale = arg3;\r\n }\r\n else if (isPlainObject(arg3)) {\r\n overrides = arg3;\r\n }\r\n if (isPlainObject(arg4)) {\r\n overrides = arg4;\r\n }\r\n return [options.key || '', value, options, overrides];\r\n}\r\n/** @internal */\r\nfunction clearNumberFormat(ctx, locale, format) {\r\n const context = ctx;\r\n for (const key in format) {\r\n const id = `${locale}__${key}`;\r\n if (!context.__numberFormatters.has(id)) {\r\n continue;\r\n }\r\n context.__numberFormatters.delete(id);\r\n }\r\n}\n\n// TODO: we could not exports for Node native ES Moudles yet...\r\n{\r\n if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {\r\n getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;\r\n }\r\n}\n\nexport { CoreErrorCodes, CoreWarnCodes, DATETIME_FORMAT_OPTIONS_KEYS, DEFAULT_LOCALE, DEFAULT_MESSAGE_DATA_TYPE, MISSING_RESOLVE_VALUE, NOT_REOSLVED, NUMBER_FORMAT_OPTIONS_KEYS, VERSION, clearCompileCache, clearDateTimeFormat, clearNumberFormat, compileToFunction, createCoreContext, createCoreError, createMessageContext, datetime, fallbackWithLocaleChain, fallbackWithSimple, getAdditionalMeta, getDevToolsHook, getFallbackContext, getWarnMessage, handleMissing, initI18nDevTools, isMessageFunction, isTranslateFallbackWarn, isTranslateMissingWarn, number, parse, parseDateTimeArgs, parseNumberArgs, parseTranslateArgs, registerLocaleFallbacker, registerMessageCompiler, registerMessageResolver, resolveValue, resolveWithKeyValue, setAdditionalMeta, setDevToolsHook, setFallbackContext, translate, translateDevTools, updateFallbackLocale };\n","/*!\n * vue-i18n v9.2.2\n * (c) 2022 kazuya kawaguchi\n * Released under the MIT License.\n */\nimport { getGlobalThis, format, makeSymbol, isPlainObject, isArray, isString, hasOwn, isObject, isBoolean, isRegExp, isFunction, inBrowser, assign, isNumber, warn, createEmitter, isEmptyObject } from '@intlify/shared';\nimport { CoreWarnCodes, CompileErrorCodes, createCompileError, DEFAULT_LOCALE, updateFallbackLocale, setFallbackContext, createCoreContext, clearDateTimeFormat, clearNumberFormat, setAdditionalMeta, getFallbackContext, NOT_REOSLVED, isTranslateFallbackWarn, isTranslateMissingWarn, parseTranslateArgs, translate, MISSING_RESOLVE_VALUE, parseDateTimeArgs, datetime, parseNumberArgs, number, fallbackWithLocaleChain, NUMBER_FORMAT_OPTIONS_KEYS, DATETIME_FORMAT_OPTIONS_KEYS, registerMessageCompiler, compileToFunction, registerMessageResolver, resolveValue, registerLocaleFallbacker, setDevToolsHook } from '@intlify/core-base';\nimport { createVNode, Text, ref, computed, watch, getCurrentInstance, Fragment, h, effectScope, inject, onMounted, onUnmounted, shallowRef, onBeforeMount, isRef } from 'vue';\nimport { setupDevtoolsPlugin } from '@vue/devtools-api';\nimport { VueDevToolsLabels, VueDevToolsPlaceholders, VueDevToolsTimelineColors } from '@intlify/vue-devtools';\n\n/**\r\n * Vue I18n Version\r\n *\r\n * @remarks\r\n * Semver format. Same format as the package.json `version` field.\r\n *\r\n * @VueI18nGeneral\r\n */\r\nconst VERSION = '9.2.2';\r\n/**\r\n * This is only called in esm-bundler builds.\r\n * istanbul-ignore-next\r\n */\r\nfunction initFeatureFlags() {\r\n let needWarn = false;\r\n if (typeof __VUE_I18N_FULL_INSTALL__ !== 'boolean') {\r\n needWarn = true;\r\n getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;\r\n }\r\n if (typeof __VUE_I18N_LEGACY_API__ !== 'boolean') {\r\n needWarn = true;\r\n getGlobalThis().__VUE_I18N_LEGACY_API__ = true;\r\n }\r\n if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {\r\n getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && needWarn) {\r\n console.warn(`You are running the esm-bundler build of vue-i18n. It is recommended to ` +\r\n `configure your bundler to explicitly replace feature flag globals ` +\r\n `with boolean literals to get proper tree-shaking in the final bundle.`);\r\n }\r\n}\n\nlet code$1 = CoreWarnCodes.__EXTEND_POINT__;\r\nconst inc$1 = () => ++code$1;\r\nconst I18nWarnCodes = {\r\n FALLBACK_TO_ROOT: code$1,\r\n NOT_SUPPORTED_PRESERVE: inc$1(),\r\n NOT_SUPPORTED_FORMATTER: inc$1(),\r\n NOT_SUPPORTED_PRESERVE_DIRECTIVE: inc$1(),\r\n NOT_SUPPORTED_GET_CHOICE_INDEX: inc$1(),\r\n COMPONENT_NAME_LEGACY_COMPATIBLE: inc$1(),\r\n NOT_FOUND_PARENT_SCOPE: inc$1() // 13\r\n};\r\nconst warnMessages = {\r\n [I18nWarnCodes.FALLBACK_TO_ROOT]: `Fall back to {type} '{key}' with root locale.`,\r\n [I18nWarnCodes.NOT_SUPPORTED_PRESERVE]: `Not supported 'preserve'.`,\r\n [I18nWarnCodes.NOT_SUPPORTED_FORMATTER]: `Not supported 'formatter'.`,\r\n [I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: `Not supported 'preserveDirectiveContent'.`,\r\n [I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]: `Not supported 'getChoiceIndex'.`,\r\n [I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]: `Component name legacy compatible: '{name}' -> 'i18n'`,\r\n [I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]: `Not found parent scope. use the global scope.`\r\n};\r\nfunction getWarnMessage(code, ...args) {\r\n return format(warnMessages[code], ...args);\r\n}\n\nlet code = CompileErrorCodes.__EXTEND_POINT__;\r\nconst inc = () => ++code;\r\nconst I18nErrorCodes = {\r\n // composer module errors\r\n UNEXPECTED_RETURN_TYPE: code,\r\n // legacy module errors\r\n INVALID_ARGUMENT: inc(),\r\n // i18n module errors\r\n MUST_BE_CALL_SETUP_TOP: inc(),\r\n NOT_INSLALLED: inc(),\r\n NOT_AVAILABLE_IN_LEGACY_MODE: inc(),\r\n // directive module errors\r\n REQUIRED_VALUE: inc(),\r\n INVALID_VALUE: inc(),\r\n // vue-devtools errors\r\n CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: inc(),\r\n NOT_INSLALLED_WITH_PROVIDE: inc(),\r\n // unexpected error\r\n UNEXPECTED_ERROR: inc(),\r\n // not compatible legacy vue-i18n constructor\r\n NOT_COMPATIBLE_LEGACY_VUE_I18N: inc(),\r\n // bridge support vue 2.x only\r\n BRIDGE_SUPPORT_VUE_2_ONLY: inc(),\r\n // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``\r\n MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: inc(),\r\n // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly\r\n NOT_AVAILABLE_COMPOSITION_IN_LEGACY: inc(),\r\n // for enhancement\r\n __EXTEND_POINT__: inc() // 29\r\n};\r\nfunction createI18nError(code, ...args) {\r\n return createCompileError(code, null, (process.env.NODE_ENV !== 'production') ? { messages: errorMessages, args } : undefined);\r\n}\r\nconst errorMessages = {\r\n [I18nErrorCodes.UNEXPECTED_RETURN_TYPE]: 'Unexpected return type in composer',\r\n [I18nErrorCodes.INVALID_ARGUMENT]: 'Invalid argument',\r\n [I18nErrorCodes.MUST_BE_CALL_SETUP_TOP]: 'Must be called at the top of a `setup` function',\r\n [I18nErrorCodes.NOT_INSLALLED]: 'Need to install with `app.use` function',\r\n [I18nErrorCodes.UNEXPECTED_ERROR]: 'Unexpected error',\r\n [I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE]: 'Not available in legacy mode',\r\n [I18nErrorCodes.REQUIRED_VALUE]: `Required in value: {0}`,\r\n [I18nErrorCodes.INVALID_VALUE]: `Invalid value`,\r\n [I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: `Cannot setup vue-devtools plugin`,\r\n [I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE]: 'Need to install with `provide` function',\r\n [I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N]: 'Not compatible legacy VueI18n.',\r\n [I18nErrorCodes.BRIDGE_SUPPORT_VUE_2_ONLY]: 'vue-i18n-bridge support Vue 2.x only',\r\n [I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: 'Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode',\r\n [I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: 'Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly'\r\n};\n\nconst TransrateVNodeSymbol = \r\n/* #__PURE__*/ makeSymbol('__transrateVNode');\r\nconst DatetimePartsSymbol = /* #__PURE__*/ makeSymbol('__datetimeParts');\r\nconst NumberPartsSymbol = /* #__PURE__*/ makeSymbol('__numberParts');\r\nconst EnableEmitter = /* #__PURE__*/ makeSymbol('__enableEmitter');\r\nconst DisableEmitter = /* #__PURE__*/ makeSymbol('__disableEmitter');\r\nconst SetPluralRulesSymbol = makeSymbol('__setPluralRules');\r\nmakeSymbol('__intlifyMeta');\r\nconst InejctWithOption = /* #__PURE__*/ makeSymbol('__injectWithOption');\r\nconst __VUE_I18N_BRIDGE__ = '__VUE_I18N_BRIDGE__';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\n/**\r\n * Transform flat json in obj to normal json in obj\r\n */\r\nfunction handleFlatJson(obj) {\r\n // check obj\r\n if (!isObject(obj)) {\r\n return obj;\r\n }\r\n for (const key in obj) {\r\n // check key\r\n if (!hasOwn(obj, key)) {\r\n continue;\r\n }\r\n // handle for normal json\r\n if (!key.includes('.')) {\r\n // recursive process value if value is also a object\r\n if (isObject(obj[key])) {\r\n handleFlatJson(obj[key]);\r\n }\r\n }\r\n // handle for flat json, transform to normal json\r\n else {\r\n // go to the last object\r\n const subKeys = key.split('.');\r\n const lastIndex = subKeys.length - 1;\r\n let currentObj = obj;\r\n for (let i = 0; i < lastIndex; i++) {\r\n if (!(subKeys[i] in currentObj)) {\r\n currentObj[subKeys[i]] = {};\r\n }\r\n currentObj = currentObj[subKeys[i]];\r\n }\r\n // update last object value, delete old property\r\n currentObj[subKeys[lastIndex]] = obj[key];\r\n delete obj[key];\r\n // recursive process value if value is also a object\r\n if (isObject(currentObj[subKeys[lastIndex]])) {\r\n handleFlatJson(currentObj[subKeys[lastIndex]]);\r\n }\r\n }\r\n }\r\n return obj;\r\n}\r\nfunction getLocaleMessages(locale, options) {\r\n const { messages, __i18n, messageResolver, flatJson } = options;\r\n // prettier-ignore\r\n const ret = isPlainObject(messages)\r\n ? messages\r\n : isArray(__i18n)\r\n ? {}\r\n : { [locale]: {} };\r\n // merge locale messages of i18n custom block\r\n if (isArray(__i18n)) {\r\n __i18n.forEach(custom => {\r\n if ('locale' in custom && 'resource' in custom) {\r\n const { locale, resource } = custom;\r\n if (locale) {\r\n ret[locale] = ret[locale] || {};\r\n deepCopy(resource, ret[locale]);\r\n }\r\n else {\r\n deepCopy(resource, ret);\r\n }\r\n }\r\n else {\r\n isString(custom) && deepCopy(JSON.parse(custom), ret);\r\n }\r\n });\r\n }\r\n // handle messages for flat json\r\n if (messageResolver == null && flatJson) {\r\n for (const key in ret) {\r\n if (hasOwn(ret, key)) {\r\n handleFlatJson(ret[key]);\r\n }\r\n }\r\n }\r\n return ret;\r\n}\r\nconst isNotObjectOrIsArray = (val) => !isObject(val) || isArray(val);\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\r\nfunction deepCopy(src, des) {\r\n // src and des should both be objects, and non of then can be a array\r\n if (isNotObjectOrIsArray(src) || isNotObjectOrIsArray(des)) {\r\n throw createI18nError(I18nErrorCodes.INVALID_VALUE);\r\n }\r\n for (const key in src) {\r\n if (hasOwn(src, key)) {\r\n if (isNotObjectOrIsArray(src[key]) || isNotObjectOrIsArray(des[key])) {\r\n // replace with src[key] when:\r\n // src[key] or des[key] is not a object, or\r\n // src[key] or des[key] is a array\r\n des[key] = src[key];\r\n }\r\n else {\r\n // src[key] and des[key] are both object, merge them\r\n deepCopy(src[key], des[key]);\r\n }\r\n }\r\n }\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getComponentOptions(instance) {\r\n return instance.type ;\r\n}\r\nfunction adjustI18nResources(global, options, componentOptions // eslint-disable-line @typescript-eslint/no-explicit-any\r\n) {\r\n let messages = isObject(options.messages) ? options.messages : {};\r\n if ('__i18nGlobal' in componentOptions) {\r\n messages = getLocaleMessages(global.locale.value, {\r\n messages,\r\n __i18n: componentOptions.__i18nGlobal\r\n });\r\n }\r\n // merge locale messages\r\n const locales = Object.keys(messages);\r\n if (locales.length) {\r\n locales.forEach(locale => {\r\n global.mergeLocaleMessage(locale, messages[locale]);\r\n });\r\n }\r\n {\r\n // merge datetime formats\r\n if (isObject(options.datetimeFormats)) {\r\n const locales = Object.keys(options.datetimeFormats);\r\n if (locales.length) {\r\n locales.forEach(locale => {\r\n global.mergeDateTimeFormat(locale, options.datetimeFormats[locale]);\r\n });\r\n }\r\n }\r\n // merge number formats\r\n if (isObject(options.numberFormats)) {\r\n const locales = Object.keys(options.numberFormats);\r\n if (locales.length) {\r\n locales.forEach(locale => {\r\n global.mergeNumberFormat(locale, options.numberFormats[locale]);\r\n });\r\n }\r\n }\r\n }\r\n}\r\nfunction createTextNode(key) {\r\n return createVNode(Text, null, key, 0)\r\n ;\r\n}\r\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\n// extend VNode interface\r\nconst DEVTOOLS_META = '__INTLIFY_META__';\r\nlet composerID = 0;\r\nfunction defineCoreMissingHandler(missing) {\r\n return ((ctx, locale, key, type) => {\r\n return missing(locale, key, getCurrentInstance() || undefined, type);\r\n });\r\n}\r\n// for Intlify DevTools\r\nconst getMetaInfo = () => {\r\n const instance = getCurrentInstance();\r\n let meta = null; // eslint-disable-line @typescript-eslint/no-explicit-any\r\n return instance && (meta = getComponentOptions(instance)[DEVTOOLS_META])\r\n ? { [DEVTOOLS_META]: meta } // eslint-disable-line @typescript-eslint/no-explicit-any\r\n : null;\r\n};\r\n/**\r\n * Create composer interface factory\r\n *\r\n * @internal\r\n */\r\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\r\nfunction createComposer(options = {}, VueI18nLegacy) {\r\n const { __root } = options;\r\n const _isGlobal = __root === undefined;\r\n let _inheritLocale = isBoolean(options.inheritLocale)\r\n ? options.inheritLocale\r\n : true;\r\n const _locale = ref(\r\n // prettier-ignore\r\n __root && _inheritLocale\r\n ? __root.locale.value\r\n : isString(options.locale)\r\n ? options.locale\r\n : DEFAULT_LOCALE);\r\n const _fallbackLocale = ref(\r\n // prettier-ignore\r\n __root && _inheritLocale\r\n ? __root.fallbackLocale.value\r\n : isString(options.fallbackLocale) ||\r\n isArray(options.fallbackLocale) ||\r\n isPlainObject(options.fallbackLocale) ||\r\n options.fallbackLocale === false\r\n ? options.fallbackLocale\r\n : _locale.value);\r\n const _messages = ref(getLocaleMessages(_locale.value, options));\r\n // prettier-ignore\r\n const _datetimeFormats = ref(isPlainObject(options.datetimeFormats)\r\n ? options.datetimeFormats\r\n : { [_locale.value]: {} })\r\n ;\r\n // prettier-ignore\r\n const _numberFormats = ref(isPlainObject(options.numberFormats)\r\n ? options.numberFormats\r\n : { [_locale.value]: {} })\r\n ;\r\n // warning suppress options\r\n // prettier-ignore\r\n let _missingWarn = __root\r\n ? __root.missingWarn\r\n : isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\r\n ? options.missingWarn\r\n : true;\r\n // prettier-ignore\r\n let _fallbackWarn = __root\r\n ? __root.fallbackWarn\r\n : isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : true;\r\n // prettier-ignore\r\n let _fallbackRoot = __root\r\n ? __root.fallbackRoot\r\n : isBoolean(options.fallbackRoot)\r\n ? options.fallbackRoot\r\n : true;\r\n // configure fall back to root\r\n let _fallbackFormat = !!options.fallbackFormat;\r\n // runtime missing\r\n let _missing = isFunction(options.missing) ? options.missing : null;\r\n let _runtimeMissing = isFunction(options.missing)\r\n ? defineCoreMissingHandler(options.missing)\r\n : null;\r\n // postTranslation handler\r\n let _postTranslation = isFunction(options.postTranslation)\r\n ? options.postTranslation\r\n : null;\r\n // prettier-ignore\r\n let _warnHtmlMessage = __root\r\n ? __root.warnHtmlMessage\r\n : isBoolean(options.warnHtmlMessage)\r\n ? options.warnHtmlMessage\r\n : true;\r\n let _escapeParameter = !!options.escapeParameter;\r\n // custom linked modifiers\r\n // prettier-ignore\r\n const _modifiers = __root\r\n ? __root.modifiers\r\n : isPlainObject(options.modifiers)\r\n ? options.modifiers\r\n : {};\r\n // pluralRules\r\n let _pluralRules = options.pluralRules || (__root && __root.pluralRules);\r\n // runtime context\r\n // eslint-disable-next-line prefer-const\r\n let _context;\r\n const getCoreContext = () => {\r\n _isGlobal && setFallbackContext(null);\r\n const ctxOptions = {\r\n version: VERSION,\r\n locale: _locale.value,\r\n fallbackLocale: _fallbackLocale.value,\r\n messages: _messages.value,\r\n modifiers: _modifiers,\r\n pluralRules: _pluralRules,\r\n missing: _runtimeMissing === null ? undefined : _runtimeMissing,\r\n missingWarn: _missingWarn,\r\n fallbackWarn: _fallbackWarn,\r\n fallbackFormat: _fallbackFormat,\r\n unresolving: true,\r\n postTranslation: _postTranslation === null ? undefined : _postTranslation,\r\n warnHtmlMessage: _warnHtmlMessage,\r\n escapeParameter: _escapeParameter,\r\n messageResolver: options.messageResolver,\r\n __meta: { framework: 'vue' }\r\n };\r\n {\r\n ctxOptions.datetimeFormats = _datetimeFormats.value;\r\n ctxOptions.numberFormats = _numberFormats.value;\r\n ctxOptions.__datetimeFormatters = isPlainObject(_context)\r\n ? _context.__datetimeFormatters\r\n : undefined;\r\n ctxOptions.__numberFormatters = isPlainObject(_context)\r\n ? _context.__numberFormatters\r\n : undefined;\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n ctxOptions.__v_emitter = isPlainObject(_context)\r\n ? _context.__v_emitter\r\n : undefined;\r\n }\r\n const ctx = createCoreContext(ctxOptions);\r\n _isGlobal && setFallbackContext(ctx);\r\n return ctx;\r\n };\r\n _context = getCoreContext();\r\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\r\n // track reactivity\r\n function trackReactivityValues() {\r\n return [\r\n _locale.value,\r\n _fallbackLocale.value,\r\n _messages.value,\r\n _datetimeFormats.value,\r\n _numberFormats.value\r\n ]\r\n ;\r\n }\r\n // locale\r\n const locale = computed({\r\n get: () => _locale.value,\r\n set: val => {\r\n _locale.value = val;\r\n _context.locale = _locale.value;\r\n }\r\n });\r\n // fallbackLocale\r\n const fallbackLocale = computed({\r\n get: () => _fallbackLocale.value,\r\n set: val => {\r\n _fallbackLocale.value = val;\r\n _context.fallbackLocale = _fallbackLocale.value;\r\n updateFallbackLocale(_context, _locale.value, val);\r\n }\r\n });\r\n // messages\r\n const messages = computed(() => _messages.value);\r\n // datetimeFormats\r\n const datetimeFormats = /* #__PURE__*/ computed(() => _datetimeFormats.value);\r\n // numberFormats\r\n const numberFormats = /* #__PURE__*/ computed(() => _numberFormats.value);\r\n // getPostTranslationHandler\r\n function getPostTranslationHandler() {\r\n return isFunction(_postTranslation) ? _postTranslation : null;\r\n }\r\n // setPostTranslationHandler\r\n function setPostTranslationHandler(handler) {\r\n _postTranslation = handler;\r\n _context.postTranslation = handler;\r\n }\r\n // getMissingHandler\r\n function getMissingHandler() {\r\n return _missing;\r\n }\r\n // setMissingHandler\r\n function setMissingHandler(handler) {\r\n if (handler !== null) {\r\n _runtimeMissing = defineCoreMissingHandler(handler);\r\n }\r\n _missing = handler;\r\n _context.missing = _runtimeMissing;\r\n }\r\n function isResolvedTranslateMessage(type, arg // eslint-disable-line @typescript-eslint/no-explicit-any\r\n ) {\r\n return type !== 'translate' || !arg.resolvedMessage;\r\n }\r\n const wrapWithDeps = (fn, argumentParser, warnType, fallbackSuccess, fallbackFail, successCondition) => {\r\n trackReactivityValues(); // track reactive dependency\r\n // NOTE: experimental !!\r\n let ret;\r\n if ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\r\n try {\r\n setAdditionalMeta(getMetaInfo());\r\n if (!_isGlobal) {\r\n _context.fallbackContext = __root\r\n ? getFallbackContext()\r\n : undefined;\r\n }\r\n ret = fn(_context);\r\n }\r\n finally {\r\n setAdditionalMeta(null);\r\n if (!_isGlobal) {\r\n _context.fallbackContext = undefined;\r\n }\r\n }\r\n }\r\n else {\r\n ret = fn(_context);\r\n }\r\n if (isNumber(ret) && ret === NOT_REOSLVED) {\r\n const [key, arg2] = argumentParser();\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n __root &&\r\n isString(key) &&\r\n isResolvedTranslateMessage(warnType, arg2)) {\r\n if (_fallbackRoot &&\r\n (isTranslateFallbackWarn(_fallbackWarn, key) ||\r\n isTranslateMissingWarn(_missingWarn, key))) {\r\n warn(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {\r\n key,\r\n type: warnType\r\n }));\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const { __v_emitter: emitter } = _context;\r\n if (emitter && _fallbackRoot) {\r\n emitter.emit(\"fallback\" /* FALBACK */, {\r\n type: warnType,\r\n key,\r\n to: 'global',\r\n groupId: `${warnType}:${key}`\r\n });\r\n }\r\n }\r\n }\r\n return __root && _fallbackRoot\r\n ? fallbackSuccess(__root)\r\n : fallbackFail(key);\r\n }\r\n else if (successCondition(ret)) {\r\n return ret;\r\n }\r\n else {\r\n /* istanbul ignore next */\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE);\r\n }\r\n };\r\n // t\r\n function t(...args) {\r\n return wrapWithDeps(context => Reflect.apply(translate, null, [context, ...args]), () => parseTranslateArgs(...args), 'translate', root => Reflect.apply(root.t, root, [...args]), key => key, val => isString(val));\r\n }\r\n // rt\r\n function rt(...args) {\r\n const [arg1, arg2, arg3] = args;\r\n if (arg3 && !isObject(arg3)) {\r\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\r\n }\r\n return t(...[arg1, arg2, assign({ resolvedMessage: true }, arg3 || {})]);\r\n }\r\n // d\r\n function d(...args) {\r\n return wrapWithDeps(context => Reflect.apply(datetime, null, [context, ...args]), () => parseDateTimeArgs(...args), 'datetime format', root => Reflect.apply(root.d, root, [...args]), () => MISSING_RESOLVE_VALUE, val => isString(val));\r\n }\r\n // n\r\n function n(...args) {\r\n return wrapWithDeps(context => Reflect.apply(number, null, [context, ...args]), () => parseNumberArgs(...args), 'number format', root => Reflect.apply(root.n, root, [...args]), () => MISSING_RESOLVE_VALUE, val => isString(val));\r\n }\r\n // for custom processor\r\n function normalize(values) {\r\n return values.map(val => isString(val) || isNumber(val) || isBoolean(val)\r\n ? createTextNode(String(val))\r\n : val);\r\n }\r\n const interpolate = (val) => val;\r\n const processor = {\r\n normalize,\r\n interpolate,\r\n type: 'vnode'\r\n };\r\n // transrateVNode, using for `i18n-t` component\r\n function transrateVNode(...args) {\r\n return wrapWithDeps(context => {\r\n let ret;\r\n const _context = context;\r\n try {\r\n _context.processor = processor;\r\n ret = Reflect.apply(translate, null, [_context, ...args]);\r\n }\r\n finally {\r\n _context.processor = null;\r\n }\r\n return ret;\r\n }, () => parseTranslateArgs(...args), 'translate', \r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n root => root[TransrateVNodeSymbol](...args), key => [createTextNode(key)], val => isArray(val));\r\n }\r\n // numberParts, using for `i18n-n` component\r\n function numberParts(...args) {\r\n return wrapWithDeps(context => Reflect.apply(number, null, [context, ...args]), () => parseNumberArgs(...args), 'number format', \r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n root => root[NumberPartsSymbol](...args), () => [], val => isString(val) || isArray(val));\r\n }\r\n // datetimeParts, using for `i18n-d` component\r\n function datetimeParts(...args) {\r\n return wrapWithDeps(context => Reflect.apply(datetime, null, [context, ...args]), () => parseDateTimeArgs(...args), 'datetime format', \r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n root => root[DatetimePartsSymbol](...args), () => [], val => isString(val) || isArray(val));\r\n }\r\n function setPluralRules(rules) {\r\n _pluralRules = rules;\r\n _context.pluralRules = _pluralRules;\r\n }\r\n // te\r\n function te(key, locale) {\r\n const targetLocale = isString(locale) ? locale : _locale.value;\r\n const message = getLocaleMessage(targetLocale);\r\n return _context.messageResolver(message, key) !== null;\r\n }\r\n function resolveMessages(key) {\r\n let messages = null;\r\n const locales = fallbackWithLocaleChain(_context, _fallbackLocale.value, _locale.value);\r\n for (let i = 0; i < locales.length; i++) {\r\n const targetLocaleMessages = _messages.value[locales[i]] || {};\r\n const messageValue = _context.messageResolver(targetLocaleMessages, key);\r\n if (messageValue != null) {\r\n messages = messageValue;\r\n break;\r\n }\r\n }\r\n return messages;\r\n }\r\n // tm\r\n function tm(key) {\r\n const messages = resolveMessages(key);\r\n // prettier-ignore\r\n return messages != null\r\n ? messages\r\n : __root\r\n ? __root.tm(key) || {}\r\n : {};\r\n }\r\n // getLocaleMessage\r\n function getLocaleMessage(locale) {\r\n return (_messages.value[locale] || {});\r\n }\r\n // setLocaleMessage\r\n function setLocaleMessage(locale, message) {\r\n _messages.value[locale] = message;\r\n _context.messages = _messages.value;\r\n }\r\n // mergeLocaleMessage\r\n function mergeLocaleMessage(locale, message) {\r\n _messages.value[locale] = _messages.value[locale] || {};\r\n deepCopy(message, _messages.value[locale]);\r\n _context.messages = _messages.value;\r\n }\r\n // getDateTimeFormat\r\n function getDateTimeFormat(locale) {\r\n return _datetimeFormats.value[locale] || {};\r\n }\r\n // setDateTimeFormat\r\n function setDateTimeFormat(locale, format) {\r\n _datetimeFormats.value[locale] = format;\r\n _context.datetimeFormats = _datetimeFormats.value;\r\n clearDateTimeFormat(_context, locale, format);\r\n }\r\n // mergeDateTimeFormat\r\n function mergeDateTimeFormat(locale, format) {\r\n _datetimeFormats.value[locale] = assign(_datetimeFormats.value[locale] || {}, format);\r\n _context.datetimeFormats = _datetimeFormats.value;\r\n clearDateTimeFormat(_context, locale, format);\r\n }\r\n // getNumberFormat\r\n function getNumberFormat(locale) {\r\n return _numberFormats.value[locale] || {};\r\n }\r\n // setNumberFormat\r\n function setNumberFormat(locale, format) {\r\n _numberFormats.value[locale] = format;\r\n _context.numberFormats = _numberFormats.value;\r\n clearNumberFormat(_context, locale, format);\r\n }\r\n // mergeNumberFormat\r\n function mergeNumberFormat(locale, format) {\r\n _numberFormats.value[locale] = assign(_numberFormats.value[locale] || {}, format);\r\n _context.numberFormats = _numberFormats.value;\r\n clearNumberFormat(_context, locale, format);\r\n }\r\n // for debug\r\n composerID++;\r\n // watch root locale & fallbackLocale\r\n if (__root && inBrowser) {\r\n watch(__root.locale, (val) => {\r\n if (_inheritLocale) {\r\n _locale.value = val;\r\n _context.locale = val;\r\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\r\n }\r\n });\r\n watch(__root.fallbackLocale, (val) => {\r\n if (_inheritLocale) {\r\n _fallbackLocale.value = val;\r\n _context.fallbackLocale = val;\r\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\r\n }\r\n });\r\n }\r\n // define basic composition API!\r\n const composer = {\r\n id: composerID,\r\n locale,\r\n fallbackLocale,\r\n get inheritLocale() {\r\n return _inheritLocale;\r\n },\r\n set inheritLocale(val) {\r\n _inheritLocale = val;\r\n if (val && __root) {\r\n _locale.value = __root.locale.value;\r\n _fallbackLocale.value = __root.fallbackLocale.value;\r\n updateFallbackLocale(_context, _locale.value, _fallbackLocale.value);\r\n }\r\n },\r\n get availableLocales() {\r\n return Object.keys(_messages.value).sort();\r\n },\r\n messages,\r\n get modifiers() {\r\n return _modifiers;\r\n },\r\n get pluralRules() {\r\n return _pluralRules || {};\r\n },\r\n get isGlobal() {\r\n return _isGlobal;\r\n },\r\n get missingWarn() {\r\n return _missingWarn;\r\n },\r\n set missingWarn(val) {\r\n _missingWarn = val;\r\n _context.missingWarn = _missingWarn;\r\n },\r\n get fallbackWarn() {\r\n return _fallbackWarn;\r\n },\r\n set fallbackWarn(val) {\r\n _fallbackWarn = val;\r\n _context.fallbackWarn = _fallbackWarn;\r\n },\r\n get fallbackRoot() {\r\n return _fallbackRoot;\r\n },\r\n set fallbackRoot(val) {\r\n _fallbackRoot = val;\r\n },\r\n get fallbackFormat() {\r\n return _fallbackFormat;\r\n },\r\n set fallbackFormat(val) {\r\n _fallbackFormat = val;\r\n _context.fallbackFormat = _fallbackFormat;\r\n },\r\n get warnHtmlMessage() {\r\n return _warnHtmlMessage;\r\n },\r\n set warnHtmlMessage(val) {\r\n _warnHtmlMessage = val;\r\n _context.warnHtmlMessage = val;\r\n },\r\n get escapeParameter() {\r\n return _escapeParameter;\r\n },\r\n set escapeParameter(val) {\r\n _escapeParameter = val;\r\n _context.escapeParameter = val;\r\n },\r\n t,\r\n getLocaleMessage,\r\n setLocaleMessage,\r\n mergeLocaleMessage,\r\n getPostTranslationHandler,\r\n setPostTranslationHandler,\r\n getMissingHandler,\r\n setMissingHandler,\r\n [SetPluralRulesSymbol]: setPluralRules\r\n };\r\n {\r\n composer.datetimeFormats = datetimeFormats;\r\n composer.numberFormats = numberFormats;\r\n composer.rt = rt;\r\n composer.te = te;\r\n composer.tm = tm;\r\n composer.d = d;\r\n composer.n = n;\r\n composer.getDateTimeFormat = getDateTimeFormat;\r\n composer.setDateTimeFormat = setDateTimeFormat;\r\n composer.mergeDateTimeFormat = mergeDateTimeFormat;\r\n composer.getNumberFormat = getNumberFormat;\r\n composer.setNumberFormat = setNumberFormat;\r\n composer.mergeNumberFormat = mergeNumberFormat;\r\n composer[InejctWithOption] = options.__injectWithOption;\r\n composer[TransrateVNodeSymbol] = transrateVNode;\r\n composer[DatetimePartsSymbol] = datetimeParts;\r\n composer[NumberPartsSymbol] = numberParts;\r\n }\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n composer[EnableEmitter] = (emitter) => {\r\n _context.__v_emitter = emitter;\r\n };\r\n composer[DisableEmitter] = () => {\r\n _context.__v_emitter = undefined;\r\n };\r\n }\r\n return composer;\r\n}\r\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\n/**\r\n * Convert to I18n Composer Options from VueI18n Options\r\n *\r\n * @internal\r\n */\r\nfunction convertComposerOptions(options) {\r\n const locale = isString(options.locale) ? options.locale : DEFAULT_LOCALE;\r\n const fallbackLocale = isString(options.fallbackLocale) ||\r\n isArray(options.fallbackLocale) ||\r\n isPlainObject(options.fallbackLocale) ||\r\n options.fallbackLocale === false\r\n ? options.fallbackLocale\r\n : locale;\r\n const missing = isFunction(options.missing) ? options.missing : undefined;\r\n const missingWarn = isBoolean(options.silentTranslationWarn) ||\r\n isRegExp(options.silentTranslationWarn)\r\n ? !options.silentTranslationWarn\r\n : true;\r\n const fallbackWarn = isBoolean(options.silentFallbackWarn) ||\r\n isRegExp(options.silentFallbackWarn)\r\n ? !options.silentFallbackWarn\r\n : true;\r\n const fallbackRoot = isBoolean(options.fallbackRoot)\r\n ? options.fallbackRoot\r\n : true;\r\n const fallbackFormat = !!options.formatFallbackMessages;\r\n const modifiers = isPlainObject(options.modifiers) ? options.modifiers : {};\r\n const pluralizationRules = options.pluralizationRules;\r\n const postTranslation = isFunction(options.postTranslation)\r\n ? options.postTranslation\r\n : undefined;\r\n const warnHtmlMessage = isString(options.warnHtmlInMessage)\r\n ? options.warnHtmlInMessage !== 'off'\r\n : true;\r\n const escapeParameter = !!options.escapeParameterHtml;\r\n const inheritLocale = isBoolean(options.sync) ? options.sync : true;\r\n if ((process.env.NODE_ENV !== 'production') && options.formatter) {\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && options.preserveDirectiveContent) {\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\r\n }\r\n let messages = options.messages;\r\n if (isPlainObject(options.sharedMessages)) {\r\n const sharedMessages = options.sharedMessages;\r\n const locales = Object.keys(sharedMessages);\r\n messages = locales.reduce((messages, locale) => {\r\n const message = messages[locale] || (messages[locale] = {});\r\n assign(message, sharedMessages[locale]);\r\n return messages;\r\n }, (messages || {}));\r\n }\r\n const { __i18n, __root, __injectWithOption } = options;\r\n const datetimeFormats = options.datetimeFormats;\r\n const numberFormats = options.numberFormats;\r\n const flatJson = options.flatJson;\r\n return {\r\n locale,\r\n fallbackLocale,\r\n messages,\r\n flatJson,\r\n datetimeFormats,\r\n numberFormats,\r\n missing,\r\n missingWarn,\r\n fallbackWarn,\r\n fallbackRoot,\r\n fallbackFormat,\r\n modifiers,\r\n pluralRules: pluralizationRules,\r\n postTranslation,\r\n warnHtmlMessage,\r\n escapeParameter,\r\n messageResolver: options.messageResolver,\r\n inheritLocale,\r\n __i18n,\r\n __root,\r\n __injectWithOption\r\n };\r\n}\r\n/**\r\n * create VueI18n interface factory\r\n *\r\n * @internal\r\n */\r\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\r\nfunction createVueI18n(options = {}, VueI18nLegacy) {\r\n {\r\n const composer = createComposer(convertComposerOptions(options));\r\n // defines VueI18n\r\n const vueI18n = {\r\n // id\r\n id: composer.id,\r\n // locale\r\n get locale() {\r\n return composer.locale.value;\r\n },\r\n set locale(val) {\r\n composer.locale.value = val;\r\n },\r\n // fallbackLocale\r\n get fallbackLocale() {\r\n return composer.fallbackLocale.value;\r\n },\r\n set fallbackLocale(val) {\r\n composer.fallbackLocale.value = val;\r\n },\r\n // messages\r\n get messages() {\r\n return composer.messages.value;\r\n },\r\n // datetimeFormats\r\n get datetimeFormats() {\r\n return composer.datetimeFormats.value;\r\n },\r\n // numberFormats\r\n get numberFormats() {\r\n return composer.numberFormats.value;\r\n },\r\n // availableLocales\r\n get availableLocales() {\r\n return composer.availableLocales;\r\n },\r\n // formatter\r\n get formatter() {\r\n (process.env.NODE_ENV !== 'production') && warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\r\n // dummy\r\n return {\r\n interpolate() {\r\n return [];\r\n }\r\n };\r\n },\r\n set formatter(val) {\r\n (process.env.NODE_ENV !== 'production') && warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER));\r\n },\r\n // missing\r\n get missing() {\r\n return composer.getMissingHandler();\r\n },\r\n set missing(handler) {\r\n composer.setMissingHandler(handler);\r\n },\r\n // silentTranslationWarn\r\n get silentTranslationWarn() {\r\n return isBoolean(composer.missingWarn)\r\n ? !composer.missingWarn\r\n : composer.missingWarn;\r\n },\r\n set silentTranslationWarn(val) {\r\n composer.missingWarn = isBoolean(val) ? !val : val;\r\n },\r\n // silentFallbackWarn\r\n get silentFallbackWarn() {\r\n return isBoolean(composer.fallbackWarn)\r\n ? !composer.fallbackWarn\r\n : composer.fallbackWarn;\r\n },\r\n set silentFallbackWarn(val) {\r\n composer.fallbackWarn = isBoolean(val) ? !val : val;\r\n },\r\n // modifiers\r\n get modifiers() {\r\n return composer.modifiers;\r\n },\r\n // formatFallbackMessages\r\n get formatFallbackMessages() {\r\n return composer.fallbackFormat;\r\n },\r\n set formatFallbackMessages(val) {\r\n composer.fallbackFormat = val;\r\n },\r\n // postTranslation\r\n get postTranslation() {\r\n return composer.getPostTranslationHandler();\r\n },\r\n set postTranslation(handler) {\r\n composer.setPostTranslationHandler(handler);\r\n },\r\n // sync\r\n get sync() {\r\n return composer.inheritLocale;\r\n },\r\n set sync(val) {\r\n composer.inheritLocale = val;\r\n },\r\n // warnInHtmlMessage\r\n get warnHtmlInMessage() {\r\n return composer.warnHtmlMessage ? 'warn' : 'off';\r\n },\r\n set warnHtmlInMessage(val) {\r\n composer.warnHtmlMessage = val !== 'off';\r\n },\r\n // escapeParameterHtml\r\n get escapeParameterHtml() {\r\n return composer.escapeParameter;\r\n },\r\n set escapeParameterHtml(val) {\r\n composer.escapeParameter = val;\r\n },\r\n // preserveDirectiveContent\r\n get preserveDirectiveContent() {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\r\n return true;\r\n },\r\n set preserveDirectiveContent(val) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));\r\n },\r\n // pluralizationRules\r\n get pluralizationRules() {\r\n return composer.pluralRules || {};\r\n },\r\n // for internal\r\n __composer: composer,\r\n // t\r\n t(...args) {\r\n const [arg1, arg2, arg3] = args;\r\n const options = {};\r\n let list = null;\r\n let named = null;\r\n if (!isString(arg1)) {\r\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\r\n }\r\n const key = arg1;\r\n if (isString(arg2)) {\r\n options.locale = arg2;\r\n }\r\n else if (isArray(arg2)) {\r\n list = arg2;\r\n }\r\n else if (isPlainObject(arg2)) {\r\n named = arg2;\r\n }\r\n if (isArray(arg3)) {\r\n list = arg3;\r\n }\r\n else if (isPlainObject(arg3)) {\r\n named = arg3;\r\n }\r\n // return composer.t(key, (list || named || {}) as any, options)\r\n return Reflect.apply(composer.t, composer, [\r\n key,\r\n (list || named || {}),\r\n options\r\n ]);\r\n },\r\n rt(...args) {\r\n return Reflect.apply(composer.rt, composer, [...args]);\r\n },\r\n // tc\r\n tc(...args) {\r\n const [arg1, arg2, arg3] = args;\r\n const options = { plural: 1 };\r\n let list = null;\r\n let named = null;\r\n if (!isString(arg1)) {\r\n throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);\r\n }\r\n const key = arg1;\r\n if (isString(arg2)) {\r\n options.locale = arg2;\r\n }\r\n else if (isNumber(arg2)) {\r\n options.plural = arg2;\r\n }\r\n else if (isArray(arg2)) {\r\n list = arg2;\r\n }\r\n else if (isPlainObject(arg2)) {\r\n named = arg2;\r\n }\r\n if (isString(arg3)) {\r\n options.locale = arg3;\r\n }\r\n else if (isArray(arg3)) {\r\n list = arg3;\r\n }\r\n else if (isPlainObject(arg3)) {\r\n named = arg3;\r\n }\r\n // return composer.t(key, (list || named || {}) as any, options)\r\n return Reflect.apply(composer.t, composer, [\r\n key,\r\n (list || named || {}),\r\n options\r\n ]);\r\n },\r\n // te\r\n te(key, locale) {\r\n return composer.te(key, locale);\r\n },\r\n // tm\r\n tm(key) {\r\n return composer.tm(key);\r\n },\r\n // getLocaleMessage\r\n getLocaleMessage(locale) {\r\n return composer.getLocaleMessage(locale);\r\n },\r\n // setLocaleMessage\r\n setLocaleMessage(locale, message) {\r\n composer.setLocaleMessage(locale, message);\r\n },\r\n // mergeLocaleMessage\r\n mergeLocaleMessage(locale, message) {\r\n composer.mergeLocaleMessage(locale, message);\r\n },\r\n // d\r\n d(...args) {\r\n return Reflect.apply(composer.d, composer, [...args]);\r\n },\r\n // getDateTimeFormat\r\n getDateTimeFormat(locale) {\r\n return composer.getDateTimeFormat(locale);\r\n },\r\n // setDateTimeFormat\r\n setDateTimeFormat(locale, format) {\r\n composer.setDateTimeFormat(locale, format);\r\n },\r\n // mergeDateTimeFormat\r\n mergeDateTimeFormat(locale, format) {\r\n composer.mergeDateTimeFormat(locale, format);\r\n },\r\n // n\r\n n(...args) {\r\n return Reflect.apply(composer.n, composer, [...args]);\r\n },\r\n // getNumberFormat\r\n getNumberFormat(locale) {\r\n return composer.getNumberFormat(locale);\r\n },\r\n // setNumberFormat\r\n setNumberFormat(locale, format) {\r\n composer.setNumberFormat(locale, format);\r\n },\r\n // mergeNumberFormat\r\n mergeNumberFormat(locale, format) {\r\n composer.mergeNumberFormat(locale, format);\r\n },\r\n // getChoiceIndex\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n getChoiceIndex(choice, choicesLength) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX));\r\n return -1;\r\n },\r\n // for internal\r\n __onComponentInstanceCreated(target) {\r\n const { componentInstanceCreatedListener } = options;\r\n if (componentInstanceCreatedListener) {\r\n componentInstanceCreatedListener(target, vueI18n);\r\n }\r\n }\r\n };\r\n // for vue-devtools timeline event\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n vueI18n.__enableEmitter = (emitter) => {\r\n const __composer = composer;\r\n __composer[EnableEmitter] && __composer[EnableEmitter](emitter);\r\n };\r\n vueI18n.__disableEmitter = () => {\r\n const __composer = composer;\r\n __composer[DisableEmitter] && __composer[DisableEmitter]();\r\n };\r\n }\r\n return vueI18n;\r\n }\r\n}\r\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nconst baseFormatProps = {\r\n tag: {\r\n type: [String, Object]\r\n },\r\n locale: {\r\n type: String\r\n },\r\n scope: {\r\n type: String,\r\n // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050\r\n validator: (val /* ComponetI18nScope */) => val === 'parent' || val === 'global',\r\n default: 'parent' /* ComponetI18nScope */\r\n },\r\n i18n: {\r\n type: Object\r\n }\r\n};\n\nfunction getInterpolateArg(\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n{ slots }, // SetupContext,\r\nkeys) {\r\n if (keys.length === 1 && keys[0] === 'default') {\r\n // default slot with list\r\n const ret = slots.default ? slots.default() : [];\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n return ret.reduce((slot, current) => {\r\n return (slot = [\r\n ...slot,\r\n ...(isArray(current.children) ? current.children : [current])\r\n ]);\r\n }, []);\r\n }\r\n else {\r\n // named slots\r\n return keys.reduce((arg, key) => {\r\n const slot = slots[key];\r\n if (slot) {\r\n arg[key] = slot();\r\n }\r\n return arg;\r\n }, {});\r\n }\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getFragmentableTag(tag) {\r\n return Fragment ;\r\n}\n\n/**\r\n * Translation Component\r\n *\r\n * @remarks\r\n * See the following items for property about details\r\n *\r\n * @VueI18nSee [TranslationProps](component#translationprops)\r\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\r\n * @VueI18nSee [Component Interpolation](../guide/advanced/component)\r\n *\r\n * @example\r\n * ```html\r\n * <div id=\"app\">\r\n * <!-- ... -->\r\n * <i18n path=\"term\" tag=\"label\" for=\"tos\">\r\n * <a :href=\"url\" target=\"_blank\">{{ $t('tos') }}</a>\r\n * </i18n>\r\n * <!-- ... -->\r\n * </div>\r\n * ```\r\n * ```js\r\n * import { createApp } from 'vue'\r\n * import { createI18n } from 'vue-i18n'\r\n *\r\n * const messages = {\r\n * en: {\r\n * tos: 'Term of Service',\r\n * term: 'I accept xxx {0}.'\r\n * },\r\n * ja: {\r\n * tos: '利用規約',\r\n * term: '私は xxx の{0}に同意します。'\r\n * }\r\n * }\r\n *\r\n * const i18n = createI18n({\r\n * locale: 'en',\r\n * messages\r\n * })\r\n *\r\n * const app = createApp({\r\n * data: {\r\n * url: '/term'\r\n * }\r\n * }).use(i18n).mount('#app')\r\n * ```\r\n *\r\n * @VueI18nComponent\r\n */\r\nconst Translation = /* defineComponent */ {\r\n /* eslint-disable */\r\n name: 'i18n-t',\r\n props: assign({\r\n keypath: {\r\n type: String,\r\n required: true\r\n },\r\n plural: {\r\n type: [Number, String],\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n validator: (val) => isNumber(val) || !isNaN(val)\r\n }\r\n }, baseFormatProps),\r\n /* eslint-enable */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n setup(props, context) {\r\n const { slots, attrs } = context;\r\n // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050\r\n const i18n = props.i18n ||\r\n useI18n({\r\n useScope: props.scope,\r\n __useComponent: true\r\n });\r\n return () => {\r\n const keys = Object.keys(slots).filter(key => key !== '_');\r\n const options = {};\r\n if (props.locale) {\r\n options.locale = props.locale;\r\n }\r\n if (props.plural !== undefined) {\r\n options.plural = isString(props.plural) ? +props.plural : props.plural;\r\n }\r\n const arg = getInterpolateArg(context, keys);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const children = i18n[TransrateVNodeSymbol](props.keypath, arg, options);\r\n const assignedAttrs = assign({}, attrs);\r\n const tag = isString(props.tag) || isObject(props.tag)\r\n ? props.tag\r\n : getFragmentableTag();\r\n return h(tag, assignedAttrs, children);\r\n };\r\n }\r\n};\n\nfunction isVNode(target) {\r\n return isArray(target) && !isString(target[0]);\r\n}\r\nfunction renderFormatter(props, context, slotKeys, partFormatter) {\r\n const { slots, attrs } = context;\r\n return () => {\r\n const options = { part: true };\r\n let overrides = {};\r\n if (props.locale) {\r\n options.locale = props.locale;\r\n }\r\n if (isString(props.format)) {\r\n options.key = props.format;\r\n }\r\n else if (isObject(props.format)) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n if (isString(props.format.key)) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n options.key = props.format.key;\r\n }\r\n // Filter out number format options only\r\n overrides = Object.keys(props.format).reduce((options, prop) => {\r\n return slotKeys.includes(prop)\r\n ? assign({}, options, { [prop]: props.format[prop] }) // eslint-disable-line @typescript-eslint/no-explicit-any\r\n : options;\r\n }, {});\r\n }\r\n const parts = partFormatter(...[props.value, options, overrides]);\r\n let children = [options.key];\r\n if (isArray(parts)) {\r\n children = parts.map((part, index) => {\r\n const slot = slots[part.type];\r\n const node = slot\r\n ? slot({ [part.type]: part.value, index, parts })\r\n : [part.value];\r\n if (isVNode(node)) {\r\n node[0].key = `${part.type}-${index}`;\r\n }\r\n return node;\r\n });\r\n }\r\n else if (isString(parts)) {\r\n children = [parts];\r\n }\r\n const assignedAttrs = assign({}, attrs);\r\n const tag = isString(props.tag) || isObject(props.tag)\r\n ? props.tag\r\n : getFragmentableTag();\r\n return h(tag, assignedAttrs, children);\r\n };\r\n}\n\n/**\r\n * Number Format Component\r\n *\r\n * @remarks\r\n * See the following items for property about details\r\n *\r\n * @VueI18nSee [FormattableProps](component#formattableprops)\r\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\r\n * @VueI18nSee [Custom Formatting](../guide/essentials/number#custom-formatting)\r\n *\r\n * @VueI18nDanger\r\n * Not supported IE, due to no support `Intl.NumberFormat#formatToParts` in [IE](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatToParts)\r\n *\r\n * If you want to use it, you need to use [polyfill](https://github.com/formatjs/formatjs/tree/main/packages/intl-numberformat)\r\n *\r\n * @VueI18nComponent\r\n */\r\nconst NumberFormat = /* defineComponent */ {\r\n /* eslint-disable */\r\n name: 'i18n-n',\r\n props: assign({\r\n value: {\r\n type: Number,\r\n required: true\r\n },\r\n format: {\r\n type: [String, Object]\r\n }\r\n }, baseFormatProps),\r\n /* eslint-enable */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n setup(props, context) {\r\n const i18n = props.i18n ||\r\n useI18n({ useScope: 'parent', __useComponent: true });\r\n return renderFormatter(props, context, NUMBER_FORMAT_OPTIONS_KEYS, (...args) => \r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n i18n[NumberPartsSymbol](...args));\r\n }\r\n};\n\n/**\r\n * Datetime Format Component\r\n *\r\n * @remarks\r\n * See the following items for property about details\r\n *\r\n * @VueI18nSee [FormattableProps](component#formattableprops)\r\n * @VueI18nSee [BaseFormatProps](component#baseformatprops)\r\n * @VueI18nSee [Custom Formatting](../guide/essentials/datetime#custom-formatting)\r\n *\r\n * @VueI18nDanger\r\n * Not supported IE, due to no support `Intl.DateTimeFormat#formatToParts` in [IE](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts)\r\n *\r\n * If you want to use it, you need to use [polyfill](https://github.com/formatjs/formatjs/tree/main/packages/intl-datetimeformat)\r\n *\r\n * @VueI18nComponent\r\n */\r\nconst DatetimeFormat = /*defineComponent */ {\r\n /* eslint-disable */\r\n name: 'i18n-d',\r\n props: assign({\r\n value: {\r\n type: [Number, Date],\r\n required: true\r\n },\r\n format: {\r\n type: [String, Object]\r\n }\r\n }, baseFormatProps),\r\n /* eslint-enable */\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n setup(props, context) {\r\n const i18n = props.i18n ||\r\n useI18n({ useScope: 'parent', __useComponent: true });\r\n return renderFormatter(props, context, DATETIME_FORMAT_OPTIONS_KEYS, (...args) => \r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n i18n[DatetimePartsSymbol](...args));\r\n }\r\n};\n\nfunction getComposer$2(i18n, instance) {\r\n const i18nInternal = i18n;\r\n if (i18n.mode === 'composition') {\r\n return (i18nInternal.__getInstance(instance) || i18n.global);\r\n }\r\n else {\r\n const vueI18n = i18nInternal.__getInstance(instance);\r\n return vueI18n != null\r\n ? vueI18n.__composer\r\n : i18n.global.__composer;\r\n }\r\n}\r\nfunction vTDirective(i18n) {\r\n const _process = (binding) => {\r\n const { instance, modifiers, value } = binding;\r\n /* istanbul ignore if */\r\n if (!instance || !instance.$) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n const composer = getComposer$2(i18n, instance.$);\r\n if ((process.env.NODE_ENV !== 'production') && modifiers.preserve) {\r\n warn(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE));\r\n }\r\n const parsedValue = parseValue(value);\r\n return [\r\n Reflect.apply(composer.t, composer, [...makeParams(parsedValue)]),\r\n composer\r\n ];\r\n };\r\n const register = (el, binding) => {\r\n const [textContent, composer] = _process(binding);\r\n if (inBrowser && i18n.global === composer) {\r\n // global scope only\r\n el.__i18nWatcher = watch(composer.locale, () => {\r\n binding.instance && binding.instance.$forceUpdate();\r\n });\r\n }\r\n el.__composer = composer;\r\n el.textContent = textContent;\r\n };\r\n const unregister = (el) => {\r\n if (inBrowser && el.__i18nWatcher) {\r\n el.__i18nWatcher();\r\n el.__i18nWatcher = undefined;\r\n delete el.__i18nWatcher;\r\n }\r\n if (el.__composer) {\r\n el.__composer = undefined;\r\n delete el.__composer;\r\n }\r\n };\r\n const update = (el, { value }) => {\r\n if (el.__composer) {\r\n const composer = el.__composer;\r\n const parsedValue = parseValue(value);\r\n el.textContent = Reflect.apply(composer.t, composer, [\r\n ...makeParams(parsedValue)\r\n ]);\r\n }\r\n };\r\n const getSSRProps = (binding) => {\r\n const [textContent] = _process(binding);\r\n return { textContent };\r\n };\r\n return {\r\n created: register,\r\n unmounted: unregister,\r\n beforeUpdate: update,\r\n getSSRProps\r\n };\r\n}\r\nfunction parseValue(value) {\r\n if (isString(value)) {\r\n return { path: value };\r\n }\r\n else if (isPlainObject(value)) {\r\n if (!('path' in value)) {\r\n throw createI18nError(I18nErrorCodes.REQUIRED_VALUE, 'path');\r\n }\r\n return value;\r\n }\r\n else {\r\n throw createI18nError(I18nErrorCodes.INVALID_VALUE);\r\n }\r\n}\r\nfunction makeParams(value) {\r\n const { path, locale, args, choice, plural } = value;\r\n const options = {};\r\n const named = args || {};\r\n if (isString(locale)) {\r\n options.locale = locale;\r\n }\r\n if (isNumber(choice)) {\r\n options.plural = choice;\r\n }\r\n if (isNumber(plural)) {\r\n options.plural = plural;\r\n }\r\n return [path, named, options];\r\n}\n\nfunction apply(app, i18n, ...options) {\r\n const pluginOptions = isPlainObject(options[0])\r\n ? options[0]\r\n : {};\r\n const useI18nComponentName = !!pluginOptions.useI18nComponentName;\r\n const globalInstall = isBoolean(pluginOptions.globalInstall)\r\n ? pluginOptions.globalInstall\r\n : true;\r\n if ((process.env.NODE_ENV !== 'production') && globalInstall && useI18nComponentName) {\r\n warn(getWarnMessage(I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE, {\r\n name: Translation.name\r\n }));\r\n }\r\n if (globalInstall) {\r\n // install components\r\n app.component(!useI18nComponentName ? Translation.name : 'i18n', Translation);\r\n app.component(NumberFormat.name, NumberFormat);\r\n app.component(DatetimeFormat.name, DatetimeFormat);\r\n }\r\n // install directive\r\n {\r\n app.directive('t', vTDirective(i18n));\r\n }\r\n}\n\nconst VUE_I18N_COMPONENT_TYPES = 'vue-i18n: composer properties';\r\nlet devtoolsApi;\r\nasync function enableDevTools(app, i18n) {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n setupDevtoolsPlugin({\r\n id: \"vue-devtools-plugin-vue-i18n\" /* PLUGIN */,\r\n label: VueDevToolsLabels[\"vue-devtools-plugin-vue-i18n\" /* PLUGIN */],\r\n packageName: 'vue-i18n',\r\n homepage: 'https://vue-i18n.intlify.dev',\r\n logo: 'https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png',\r\n componentStateTypes: [VUE_I18N_COMPONENT_TYPES],\r\n app: app // eslint-disable-line @typescript-eslint/no-explicit-any\r\n }, api => {\r\n devtoolsApi = api;\r\n api.on.visitComponentTree(({ componentInstance, treeNode }) => {\r\n updateComponentTreeTags(componentInstance, treeNode, i18n);\r\n });\r\n api.on.inspectComponent(({ componentInstance, instanceData }) => {\r\n if (componentInstance.vnode.el &&\r\n componentInstance.vnode.el.__VUE_I18N__ &&\r\n instanceData) {\r\n if (i18n.mode === 'legacy') {\r\n // ignore global scope on legacy mode\r\n if (componentInstance.vnode.el.__VUE_I18N__ !==\r\n i18n.global.__composer) {\r\n inspectComposer(instanceData, componentInstance.vnode.el.__VUE_I18N__);\r\n }\r\n }\r\n else {\r\n inspectComposer(instanceData, componentInstance.vnode.el.__VUE_I18N__);\r\n }\r\n }\r\n });\r\n api.addInspector({\r\n id: \"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */,\r\n label: VueDevToolsLabels[\"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */],\r\n icon: 'language',\r\n treeFilterPlaceholder: VueDevToolsPlaceholders[\"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */]\r\n });\r\n api.on.getInspectorTree(payload => {\r\n if (payload.app === app &&\r\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */) {\r\n registerScope(payload, i18n);\r\n }\r\n });\r\n const roots = new Map();\r\n api.on.getInspectorState(async (payload) => {\r\n if (payload.app === app &&\r\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */) {\r\n api.unhighlightElement();\r\n inspectScope(payload, i18n);\r\n if (payload.nodeId === 'global') {\r\n if (!roots.has(payload.app)) {\r\n const [root] = await api.getComponentInstances(payload.app);\r\n roots.set(payload.app, root);\r\n }\r\n api.highlightElement(roots.get(payload.app));\r\n }\r\n else {\r\n const instance = getComponentInstance(payload.nodeId, i18n);\r\n instance && api.highlightElement(instance);\r\n }\r\n }\r\n });\r\n api.on.editInspectorState(payload => {\r\n if (payload.app === app &&\r\n payload.inspectorId === \"vue-i18n-resource-inspector\" /* CUSTOM_INSPECTOR */) {\r\n editScope(payload, i18n);\r\n }\r\n });\r\n api.addTimelineLayer({\r\n id: \"vue-i18n-timeline\" /* TIMELINE */,\r\n label: VueDevToolsLabels[\"vue-i18n-timeline\" /* TIMELINE */],\r\n color: VueDevToolsTimelineColors[\"vue-i18n-timeline\" /* TIMELINE */]\r\n });\r\n resolve(true);\r\n });\r\n }\r\n catch (e) {\r\n console.error(e);\r\n reject(false);\r\n }\r\n });\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getI18nScopeLable(instance) {\r\n return (instance.type.name ||\r\n instance.type.displayName ||\r\n instance.type.__file ||\r\n 'Anonymous');\r\n}\r\nfunction updateComponentTreeTags(instance, // eslint-disable-line @typescript-eslint/no-explicit-any\r\ntreeNode, i18n) {\r\n // prettier-ignore\r\n const global = i18n.mode === 'composition'\r\n ? i18n.global\r\n : i18n.global.__composer;\r\n if (instance && instance.vnode.el && instance.vnode.el.__VUE_I18N__) {\r\n // add custom tags local scope only\r\n if (instance.vnode.el.__VUE_I18N__ !== global) {\r\n const tag = {\r\n label: `i18n (${getI18nScopeLable(instance)} Scope)`,\r\n textColor: 0x000000,\r\n backgroundColor: 0xffcd19\r\n };\r\n treeNode.tags.push(tag);\r\n }\r\n }\r\n}\r\nfunction inspectComposer(instanceData, composer) {\r\n const type = VUE_I18N_COMPONENT_TYPES;\r\n instanceData.state.push({\r\n type,\r\n key: 'locale',\r\n editable: true,\r\n value: composer.locale.value\r\n });\r\n instanceData.state.push({\r\n type,\r\n key: 'availableLocales',\r\n editable: false,\r\n value: composer.availableLocales\r\n });\r\n instanceData.state.push({\r\n type,\r\n key: 'fallbackLocale',\r\n editable: true,\r\n value: composer.fallbackLocale.value\r\n });\r\n instanceData.state.push({\r\n type,\r\n key: 'inheritLocale',\r\n editable: true,\r\n value: composer.inheritLocale\r\n });\r\n instanceData.state.push({\r\n type,\r\n key: 'messages',\r\n editable: false,\r\n value: getLocaleMessageValue(composer.messages.value)\r\n });\r\n {\r\n instanceData.state.push({\r\n type,\r\n key: 'datetimeFormats',\r\n editable: false,\r\n value: composer.datetimeFormats.value\r\n });\r\n instanceData.state.push({\r\n type,\r\n key: 'numberFormats',\r\n editable: false,\r\n value: composer.numberFormats.value\r\n });\r\n }\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getLocaleMessageValue(messages) {\r\n const value = {};\r\n Object.keys(messages).forEach((key) => {\r\n const v = messages[key];\r\n if (isFunction(v) && 'source' in v) {\r\n value[key] = getMessageFunctionDetails(v);\r\n }\r\n else if (isObject(v)) {\r\n value[key] = getLocaleMessageValue(v);\r\n }\r\n else {\r\n value[key] = v;\r\n }\r\n });\r\n return value;\r\n}\r\nconst ESC = {\r\n '<': '<',\r\n '>': '>',\r\n '\"': '"',\r\n '&': '&'\r\n};\r\nfunction escape(s) {\r\n return s.replace(/[<>\"&]/g, escapeChar);\r\n}\r\nfunction escapeChar(a) {\r\n return ESC[a] || a;\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getMessageFunctionDetails(func) {\r\n const argString = func.source ? `(\"${escape(func.source)}\")` : `(?)`;\r\n return {\r\n _custom: {\r\n type: 'function',\r\n display: `<span>ƒ</span> ${argString}`\r\n }\r\n };\r\n}\r\nfunction registerScope(payload, i18n) {\r\n payload.rootNodes.push({\r\n id: 'global',\r\n label: 'Global Scope'\r\n });\r\n // prettier-ignore\r\n const global = i18n.mode === 'composition'\r\n ? i18n.global\r\n : i18n.global.__composer;\r\n for (const [keyInstance, instance] of i18n.__instances) {\r\n // prettier-ignore\r\n const composer = i18n.mode === 'composition'\r\n ? instance\r\n : instance.__composer;\r\n if (global === composer) {\r\n continue;\r\n }\r\n payload.rootNodes.push({\r\n id: composer.id.toString(),\r\n label: `${getI18nScopeLable(keyInstance)} Scope`\r\n });\r\n }\r\n}\r\nfunction getComponentInstance(nodeId, i18n) {\r\n let instance = null;\r\n if (nodeId !== 'global') {\r\n for (const [component, composer] of i18n.__instances.entries()) {\r\n if (composer.id.toString() === nodeId) {\r\n instance = component;\r\n break;\r\n }\r\n }\r\n }\r\n return instance;\r\n}\r\nfunction getComposer$1(nodeId, i18n) {\r\n if (nodeId === 'global') {\r\n return i18n.mode === 'composition'\r\n ? i18n.global\r\n : i18n.global.__composer;\r\n }\r\n else {\r\n const instance = Array.from(i18n.__instances.values()).find(item => item.id.toString() === nodeId);\r\n if (instance) {\r\n return i18n.mode === 'composition'\r\n ? instance\r\n : instance.__composer;\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n}\r\nfunction inspectScope(payload, i18n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n) {\r\n const composer = getComposer$1(payload.nodeId, i18n);\r\n if (composer) {\r\n // TODO:\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n payload.state = makeScopeInspectState(composer);\r\n }\r\n return null;\r\n}\r\nfunction makeScopeInspectState(composer) {\r\n const state = {};\r\n const localeType = 'Locale related info';\r\n const localeStates = [\r\n {\r\n type: localeType,\r\n key: 'locale',\r\n editable: true,\r\n value: composer.locale.value\r\n },\r\n {\r\n type: localeType,\r\n key: 'fallbackLocale',\r\n editable: true,\r\n value: composer.fallbackLocale.value\r\n },\r\n {\r\n type: localeType,\r\n key: 'availableLocales',\r\n editable: false,\r\n value: composer.availableLocales\r\n },\r\n {\r\n type: localeType,\r\n key: 'inheritLocale',\r\n editable: true,\r\n value: composer.inheritLocale\r\n }\r\n ];\r\n state[localeType] = localeStates;\r\n const localeMessagesType = 'Locale messages info';\r\n const localeMessagesStates = [\r\n {\r\n type: localeMessagesType,\r\n key: 'messages',\r\n editable: false,\r\n value: getLocaleMessageValue(composer.messages.value)\r\n }\r\n ];\r\n state[localeMessagesType] = localeMessagesStates;\r\n {\r\n const datetimeFormatsType = 'Datetime formats info';\r\n const datetimeFormatsStates = [\r\n {\r\n type: datetimeFormatsType,\r\n key: 'datetimeFormats',\r\n editable: false,\r\n value: composer.datetimeFormats.value\r\n }\r\n ];\r\n state[datetimeFormatsType] = datetimeFormatsStates;\r\n const numberFormatsType = 'Datetime formats info';\r\n const numberFormatsStates = [\r\n {\r\n type: numberFormatsType,\r\n key: 'numberFormats',\r\n editable: false,\r\n value: composer.numberFormats.value\r\n }\r\n ];\r\n state[numberFormatsType] = numberFormatsStates;\r\n }\r\n return state;\r\n}\r\nfunction addTimelineEvent(event, payload) {\r\n if (devtoolsApi) {\r\n let groupId;\r\n if (payload && 'groupId' in payload) {\r\n groupId = payload.groupId;\r\n delete payload.groupId;\r\n }\r\n devtoolsApi.addTimelineEvent({\r\n layerId: \"vue-i18n-timeline\" /* TIMELINE */,\r\n event: {\r\n title: event,\r\n groupId,\r\n time: Date.now(),\r\n meta: {},\r\n data: payload || {},\r\n logType: event === \"compile-error\" /* COMPILE_ERROR */\r\n ? 'error'\r\n : event === \"fallback\" /* FALBACK */ ||\r\n event === \"missing\" /* MISSING */\r\n ? 'warning'\r\n : 'default'\r\n }\r\n });\r\n }\r\n}\r\nfunction editScope(payload, i18n) {\r\n const composer = getComposer$1(payload.nodeId, i18n);\r\n if (composer) {\r\n const [field] = payload.path;\r\n if (field === 'locale' && isString(payload.state.value)) {\r\n composer.locale.value = payload.state.value;\r\n }\r\n else if (field === 'fallbackLocale' &&\r\n (isString(payload.state.value) ||\r\n isArray(payload.state.value) ||\r\n isObject(payload.state.value))) {\r\n composer.fallbackLocale.value = payload.state.value;\r\n }\r\n else if (field === 'inheritLocale' && isBoolean(payload.state.value)) {\r\n composer.inheritLocale = payload.state.value;\r\n }\r\n }\r\n}\n\n/**\r\n * Supports compatibility for legacy vue-i18n APIs\r\n * This mixin is used when we use vue-i18n@v9.x or later\r\n */\r\nfunction defineMixin(vuei18n, composer, i18n) {\r\n return {\r\n beforeCreate() {\r\n const instance = getCurrentInstance();\r\n /* istanbul ignore if */\r\n if (!instance) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n const options = this.$options;\r\n if (options.i18n) {\r\n const optionsI18n = options.i18n;\r\n if (options.__i18n) {\r\n optionsI18n.__i18n = options.__i18n;\r\n }\r\n optionsI18n.__root = composer;\r\n if (this === this.$root) {\r\n this.$i18n = mergeToRoot(vuei18n, optionsI18n);\r\n }\r\n else {\r\n optionsI18n.__injectWithOption = true;\r\n this.$i18n = createVueI18n(optionsI18n);\r\n }\r\n }\r\n else if (options.__i18n) {\r\n if (this === this.$root) {\r\n this.$i18n = mergeToRoot(vuei18n, options);\r\n }\r\n else {\r\n this.$i18n = createVueI18n({\r\n __i18n: options.__i18n,\r\n __injectWithOption: true,\r\n __root: composer\r\n });\r\n }\r\n }\r\n else {\r\n // set global\r\n this.$i18n = vuei18n;\r\n }\r\n if (options.__i18nGlobal) {\r\n adjustI18nResources(composer, options, options);\r\n }\r\n vuei18n.__onComponentInstanceCreated(this.$i18n);\r\n i18n.__setInstance(instance, this.$i18n);\r\n // defines vue-i18n legacy APIs\r\n this.$t = (...args) => this.$i18n.t(...args);\r\n this.$rt = (...args) => this.$i18n.rt(...args);\r\n this.$tc = (...args) => this.$i18n.tc(...args);\r\n this.$te = (key, locale) => this.$i18n.te(key, locale);\r\n this.$d = (...args) => this.$i18n.d(...args);\r\n this.$n = (...args) => this.$i18n.n(...args);\r\n this.$tm = (key) => this.$i18n.tm(key);\r\n },\r\n mounted() {\r\n /* istanbul ignore if */\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n !false &&\r\n this.$el &&\r\n this.$i18n) {\r\n this.$el.__VUE_I18N__ = this.$i18n.__composer;\r\n const emitter = (this.__v_emitter =\r\n createEmitter());\r\n const _vueI18n = this.$i18n;\r\n _vueI18n.__enableEmitter && _vueI18n.__enableEmitter(emitter);\r\n emitter.on('*', addTimelineEvent);\r\n }\r\n },\r\n unmounted() {\r\n const instance = getCurrentInstance();\r\n /* istanbul ignore if */\r\n if (!instance) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n /* istanbul ignore if */\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n !false &&\r\n this.$el &&\r\n this.$el.__VUE_I18N__) {\r\n if (this.__v_emitter) {\r\n this.__v_emitter.off('*', addTimelineEvent);\r\n delete this.__v_emitter;\r\n }\r\n if (this.$i18n) {\r\n const _vueI18n = this.$i18n;\r\n _vueI18n.__disableEmitter && _vueI18n.__disableEmitter();\r\n delete this.$el.__VUE_I18N__;\r\n }\r\n }\r\n delete this.$t;\r\n delete this.$rt;\r\n delete this.$tc;\r\n delete this.$te;\r\n delete this.$d;\r\n delete this.$n;\r\n delete this.$tm;\r\n i18n.__deleteInstance(instance);\r\n delete this.$i18n;\r\n }\r\n };\r\n}\r\nfunction mergeToRoot(root, options) {\r\n root.locale = options.locale || root.locale;\r\n root.fallbackLocale = options.fallbackLocale || root.fallbackLocale;\r\n root.missing = options.missing || root.missing;\r\n root.silentTranslationWarn =\r\n options.silentTranslationWarn || root.silentFallbackWarn;\r\n root.silentFallbackWarn =\r\n options.silentFallbackWarn || root.silentFallbackWarn;\r\n root.formatFallbackMessages =\r\n options.formatFallbackMessages || root.formatFallbackMessages;\r\n root.postTranslation = options.postTranslation || root.postTranslation;\r\n root.warnHtmlInMessage = options.warnHtmlInMessage || root.warnHtmlInMessage;\r\n root.escapeParameterHtml =\r\n options.escapeParameterHtml || root.escapeParameterHtml;\r\n root.sync = options.sync || root.sync;\r\n root.__composer[SetPluralRulesSymbol](options.pluralizationRules || root.pluralizationRules);\r\n const messages = getLocaleMessages(root.locale, {\r\n messages: options.messages,\r\n __i18n: options.__i18n\r\n });\r\n Object.keys(messages).forEach(locale => root.mergeLocaleMessage(locale, messages[locale]));\r\n if (options.datetimeFormats) {\r\n Object.keys(options.datetimeFormats).forEach(locale => root.mergeDateTimeFormat(locale, options.datetimeFormats[locale]));\r\n }\r\n if (options.numberFormats) {\r\n Object.keys(options.numberFormats).forEach(locale => root.mergeNumberFormat(locale, options.numberFormats[locale]));\r\n }\r\n return root;\r\n}\n\n/**\r\n * Injection key for {@link useI18n}\r\n *\r\n * @remarks\r\n * The global injection key for I18n instances with `useI18n`. this injection key is used in Web Components.\r\n * Specify the i18n instance created by {@link createI18n} together with `provide` function.\r\n *\r\n * @VueI18nGeneral\r\n */\r\nconst I18nInjectionKey = \r\n/* #__PURE__*/ makeSymbol('global-vue-i18n');\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\r\nfunction createI18n(options = {}, VueI18nLegacy) {\r\n // prettier-ignore\r\n const __legacyMode = __VUE_I18N_LEGACY_API__ && isBoolean(options.legacy)\r\n ? options.legacy\r\n : __VUE_I18N_LEGACY_API__;\r\n // prettier-ignore\r\n const __globalInjection = isBoolean(options.globalInjection)\r\n ? options.globalInjection\r\n : true;\r\n // prettier-ignore\r\n const __allowComposition = __VUE_I18N_LEGACY_API__ && __legacyMode\r\n ? !!options.allowComposition\r\n : true;\r\n const __instances = new Map();\r\n const [globalScope, __global] = createGlobal(options, __legacyMode);\r\n const symbol = makeSymbol((process.env.NODE_ENV !== 'production') ? 'vue-i18n' : '');\r\n function __getInstance(component) {\r\n return __instances.get(component) || null;\r\n }\r\n function __setInstance(component, instance) {\r\n __instances.set(component, instance);\r\n }\r\n function __deleteInstance(component) {\r\n __instances.delete(component);\r\n }\r\n {\r\n const i18n = {\r\n // mode\r\n get mode() {\r\n return __VUE_I18N_LEGACY_API__ && __legacyMode\r\n ? 'legacy'\r\n : 'composition';\r\n },\r\n // allowComposition\r\n get allowComposition() {\r\n return __allowComposition;\r\n },\r\n // install plugin\r\n async install(app, ...options) {\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n !false) {\r\n app.__VUE_I18N__ = i18n;\r\n }\r\n // setup global provider\r\n app.__VUE_I18N_SYMBOL__ = symbol;\r\n app.provide(app.__VUE_I18N_SYMBOL__, i18n);\r\n // global method and properties injection for Composition API\r\n if (!__legacyMode && __globalInjection) {\r\n injectGlobalFields(app, i18n.global);\r\n }\r\n // install built-in components and directive\r\n if (__VUE_I18N_FULL_INSTALL__) {\r\n apply(app, i18n, ...options);\r\n }\r\n // setup mixin for Legacy API\r\n if (__VUE_I18N_LEGACY_API__ && __legacyMode) {\r\n app.mixin(defineMixin(__global, __global.__composer, i18n));\r\n }\r\n // release global scope\r\n const unmountApp = app.unmount;\r\n app.unmount = () => {\r\n i18n.dispose();\r\n unmountApp();\r\n };\r\n // setup vue-devtools plugin\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) && !false) {\r\n const ret = await enableDevTools(app, i18n);\r\n if (!ret) {\r\n throw createI18nError(I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);\r\n }\r\n const emitter = createEmitter();\r\n if (__legacyMode) {\r\n const _vueI18n = __global;\r\n _vueI18n.__enableEmitter && _vueI18n.__enableEmitter(emitter);\r\n }\r\n else {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const _composer = __global;\r\n _composer[EnableEmitter] && _composer[EnableEmitter](emitter);\r\n }\r\n emitter.on('*', addTimelineEvent);\r\n }\r\n },\r\n // global accessor\r\n get global() {\r\n return __global;\r\n },\r\n dispose() {\r\n globalScope.stop();\r\n },\r\n // @internal\r\n __instances,\r\n // @internal\r\n __getInstance,\r\n // @internal\r\n __setInstance,\r\n // @internal\r\n __deleteInstance\r\n };\r\n return i18n;\r\n }\r\n}\r\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\r\nfunction useI18n(options = {}) {\r\n const instance = getCurrentInstance();\r\n if (instance == null) {\r\n throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);\r\n }\r\n if (!instance.isCE &&\r\n instance.appContext.app != null &&\r\n !instance.appContext.app.__VUE_I18N_SYMBOL__) {\r\n throw createI18nError(I18nErrorCodes.NOT_INSLALLED);\r\n }\r\n const i18n = getI18nInstance(instance);\r\n const global = getGlobalComposer(i18n);\r\n const componentOptions = getComponentOptions(instance);\r\n const scope = getScope(options, componentOptions);\r\n if (__VUE_I18N_LEGACY_API__) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n if (i18n.mode === 'legacy' && !options.__useComponent) {\r\n if (!i18n.allowComposition) {\r\n throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE);\r\n }\r\n return useI18nForLegacy(instance, scope, global, options);\r\n }\r\n }\r\n if (scope === 'global') {\r\n adjustI18nResources(global, options, componentOptions);\r\n return global;\r\n }\r\n if (scope === 'parent') {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n let composer = getComposer(i18n, instance, options.__useComponent);\r\n if (composer == null) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(getWarnMessage(I18nWarnCodes.NOT_FOUND_PARENT_SCOPE));\r\n }\r\n composer = global;\r\n }\r\n return composer;\r\n }\r\n const i18nInternal = i18n;\r\n let composer = i18nInternal.__getInstance(instance);\r\n if (composer == null) {\r\n const composerOptions = assign({}, options);\r\n if ('__i18n' in componentOptions) {\r\n composerOptions.__i18n = componentOptions.__i18n;\r\n }\r\n if (global) {\r\n composerOptions.__root = global;\r\n }\r\n composer = createComposer(composerOptions);\r\n setupLifeCycle(i18nInternal, instance, composer);\r\n i18nInternal.__setInstance(instance, composer);\r\n }\r\n return composer;\r\n}\r\n/**\r\n * Cast to VueI18n legacy compatible type\r\n *\r\n * @remarks\r\n * This API is provided only with [vue-i18n-bridge](https://vue-i18n.intlify.dev/guide/migration/ways.html#what-is-vue-i18n-bridge).\r\n *\r\n * The purpose of this function is to convert an {@link I18n} instance created with {@link createI18n | createI18n(legacy: true)} into a `vue-i18n@v8.x` compatible instance of `new VueI18n` in a TypeScript environment.\r\n *\r\n * @param i18n - An instance of {@link I18n}\r\n * @returns A i18n instance which is casted to {@link VueI18n} type\r\n *\r\n * @VueI18nTip\r\n * :new: provided by **vue-i18n-bridge only**\r\n *\r\n * @VueI18nGeneral\r\n */\r\nconst castToVueI18n = (i18n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n) => {\r\n if (!(__VUE_I18N_BRIDGE__ in i18n)) {\r\n throw createI18nError(I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N);\r\n }\r\n return i18n;\r\n};\r\nfunction createGlobal(options, legacyMode, VueI18nLegacy // eslint-disable-line @typescript-eslint/no-explicit-any\r\n) {\r\n const scope = effectScope();\r\n {\r\n const obj = __VUE_I18N_LEGACY_API__ && legacyMode\r\n ? scope.run(() => createVueI18n(options))\r\n : scope.run(() => createComposer(options));\r\n if (obj == null) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n return [scope, obj];\r\n }\r\n}\r\nfunction getI18nInstance(instance) {\r\n {\r\n const i18n = inject(!instance.isCE\r\n ? instance.appContext.app.__VUE_I18N_SYMBOL__\r\n : I18nInjectionKey);\r\n /* istanbul ignore if */\r\n if (!i18n) {\r\n throw createI18nError(!instance.isCE\r\n ? I18nErrorCodes.UNEXPECTED_ERROR\r\n : I18nErrorCodes.NOT_INSLALLED_WITH_PROVIDE);\r\n }\r\n return i18n;\r\n }\r\n}\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction getScope(options, componentOptions) {\r\n // prettier-ignore\r\n return isEmptyObject(options)\r\n ? ('__i18n' in componentOptions)\r\n ? 'local'\r\n : 'global'\r\n : !options.useScope\r\n ? 'local'\r\n : options.useScope;\r\n}\r\nfunction getGlobalComposer(i18n) {\r\n // prettier-ignore\r\n return i18n.mode === 'composition'\r\n ? i18n.global\r\n : i18n.global.__composer\r\n ;\r\n}\r\nfunction getComposer(i18n, target, useComponent = false) {\r\n let composer = null;\r\n const root = target.root;\r\n let current = target.parent;\r\n while (current != null) {\r\n const i18nInternal = i18n;\r\n if (i18n.mode === 'composition') {\r\n composer = i18nInternal.__getInstance(current);\r\n }\r\n else {\r\n if (__VUE_I18N_LEGACY_API__) {\r\n const vueI18n = i18nInternal.__getInstance(current);\r\n if (vueI18n != null) {\r\n composer = vueI18n\r\n .__composer;\r\n if (useComponent &&\r\n composer &&\r\n !composer[InejctWithOption] // eslint-disable-line @typescript-eslint/no-explicit-any\r\n ) {\r\n composer = null;\r\n }\r\n }\r\n }\r\n }\r\n if (composer != null) {\r\n break;\r\n }\r\n if (root === current) {\r\n break;\r\n }\r\n current = current.parent;\r\n }\r\n return composer;\r\n}\r\nfunction setupLifeCycle(i18n, target, composer) {\r\n let emitter = null;\r\n {\r\n onMounted(() => {\r\n // inject composer instance to DOM for intlify-devtools\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n !false &&\r\n target.vnode.el) {\r\n target.vnode.el.__VUE_I18N__ = composer;\r\n emitter = createEmitter();\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const _composer = composer;\r\n _composer[EnableEmitter] && _composer[EnableEmitter](emitter);\r\n emitter.on('*', addTimelineEvent);\r\n }\r\n }, target);\r\n onUnmounted(() => {\r\n // remove composer instance from DOM for intlify-devtools\r\n if (((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) &&\r\n !false &&\r\n target.vnode.el &&\r\n target.vnode.el.__VUE_I18N__) {\r\n emitter && emitter.off('*', addTimelineEvent);\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const _composer = composer;\r\n _composer[DisableEmitter] && _composer[DisableEmitter]();\r\n delete target.vnode.el.__VUE_I18N__;\r\n }\r\n i18n.__deleteInstance(target);\r\n }, target);\r\n }\r\n}\r\nfunction useI18nForLegacy(instance, scope, root, options = {} // eslint-disable-line @typescript-eslint/no-explicit-any\r\n) {\r\n const isLocale = scope === 'local';\r\n const _composer = shallowRef(null);\r\n if (isLocale &&\r\n instance.proxy &&\r\n !(instance.proxy.$options.i18n || instance.proxy.$options.__i18n)) {\r\n throw createI18nError(I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);\r\n }\r\n const _inheritLocale = isBoolean(options.inheritLocale)\r\n ? options.inheritLocale\r\n : true;\r\n const _locale = ref(\r\n // prettier-ignore\r\n isLocale && _inheritLocale\r\n ? root.locale.value\r\n : isString(options.locale)\r\n ? options.locale\r\n : DEFAULT_LOCALE);\r\n const _fallbackLocale = ref(\r\n // prettier-ignore\r\n isLocale && _inheritLocale\r\n ? root.fallbackLocale.value\r\n : isString(options.fallbackLocale) ||\r\n isArray(options.fallbackLocale) ||\r\n isPlainObject(options.fallbackLocale) ||\r\n options.fallbackLocale === false\r\n ? options.fallbackLocale\r\n : _locale.value);\r\n const _messages = ref(getLocaleMessages(_locale.value, options));\r\n // prettier-ignore\r\n const _datetimeFormats = ref(isPlainObject(options.datetimeFormats)\r\n ? options.datetimeFormats\r\n : { [_locale.value]: {} });\r\n // prettier-ignore\r\n const _numberFormats = ref(isPlainObject(options.numberFormats)\r\n ? options.numberFormats\r\n : { [_locale.value]: {} });\r\n // prettier-ignore\r\n const _missingWarn = isLocale\r\n ? root.missingWarn\r\n : isBoolean(options.missingWarn) || isRegExp(options.missingWarn)\r\n ? options.missingWarn\r\n : true;\r\n // prettier-ignore\r\n const _fallbackWarn = isLocale\r\n ? root.fallbackWarn\r\n : isBoolean(options.fallbackWarn) || isRegExp(options.fallbackWarn)\r\n ? options.fallbackWarn\r\n : true;\r\n // prettier-ignore\r\n const _fallbackRoot = isLocale\r\n ? root.fallbackRoot\r\n : isBoolean(options.fallbackRoot)\r\n ? options.fallbackRoot\r\n : true;\r\n // configure fall back to root\r\n const _fallbackFormat = !!options.fallbackFormat;\r\n // runtime missing\r\n const _missing = isFunction(options.missing) ? options.missing : null;\r\n // postTranslation handler\r\n const _postTranslation = isFunction(options.postTranslation)\r\n ? options.postTranslation\r\n : null;\r\n // prettier-ignore\r\n const _warnHtmlMessage = isLocale\r\n ? root.warnHtmlMessage\r\n : isBoolean(options.warnHtmlMessage)\r\n ? options.warnHtmlMessage\r\n : true;\r\n const _escapeParameter = !!options.escapeParameter;\r\n // prettier-ignore\r\n const _modifiers = isLocale\r\n ? root.modifiers\r\n : isPlainObject(options.modifiers)\r\n ? options.modifiers\r\n : {};\r\n // pluralRules\r\n const _pluralRules = options.pluralRules || (isLocale && root.pluralRules);\r\n // track reactivity\r\n function trackReactivityValues() {\r\n return [\r\n _locale.value,\r\n _fallbackLocale.value,\r\n _messages.value,\r\n _datetimeFormats.value,\r\n _numberFormats.value\r\n ];\r\n }\r\n // locale\r\n const locale = computed({\r\n get: () => {\r\n return _composer.value ? _composer.value.locale.value : _locale.value;\r\n },\r\n set: val => {\r\n if (_composer.value) {\r\n _composer.value.locale.value = val;\r\n }\r\n _locale.value = val;\r\n }\r\n });\r\n // fallbackLocale\r\n const fallbackLocale = computed({\r\n get: () => {\r\n return _composer.value\r\n ? _composer.value.fallbackLocale.value\r\n : _fallbackLocale.value;\r\n },\r\n set: val => {\r\n if (_composer.value) {\r\n _composer.value.fallbackLocale.value = val;\r\n }\r\n _fallbackLocale.value = val;\r\n }\r\n });\r\n // messages\r\n const messages = computed(() => {\r\n if (_composer.value) {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n return _composer.value.messages.value;\r\n }\r\n else {\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n return _messages.value;\r\n }\r\n });\r\n const datetimeFormats = computed(() => _datetimeFormats.value);\r\n const numberFormats = computed(() => _numberFormats.value);\r\n function getPostTranslationHandler() {\r\n return _composer.value\r\n ? _composer.value.getPostTranslationHandler()\r\n : _postTranslation;\r\n }\r\n function setPostTranslationHandler(handler) {\r\n if (_composer.value) {\r\n _composer.value.setPostTranslationHandler(handler);\r\n }\r\n }\r\n function getMissingHandler() {\r\n return _composer.value ? _composer.value.getMissingHandler() : _missing;\r\n }\r\n function setMissingHandler(handler) {\r\n if (_composer.value) {\r\n _composer.value.setMissingHandler(handler);\r\n }\r\n }\r\n function warpWithDeps(fn) {\r\n trackReactivityValues();\r\n return fn();\r\n }\r\n function t(...args) {\r\n return _composer.value\r\n ? warpWithDeps(() => Reflect.apply(_composer.value.t, null, [...args]))\r\n : warpWithDeps(() => '');\r\n }\r\n function rt(...args) {\r\n return _composer.value\r\n ? Reflect.apply(_composer.value.rt, null, [...args])\r\n : '';\r\n }\r\n function d(...args) {\r\n return _composer.value\r\n ? warpWithDeps(() => Reflect.apply(_composer.value.d, null, [...args]))\r\n : warpWithDeps(() => '');\r\n }\r\n function n(...args) {\r\n return _composer.value\r\n ? warpWithDeps(() => Reflect.apply(_composer.value.n, null, [...args]))\r\n : warpWithDeps(() => '');\r\n }\r\n function tm(key) {\r\n return _composer.value ? _composer.value.tm(key) : {};\r\n }\r\n function te(key, locale) {\r\n return _composer.value ? _composer.value.te(key, locale) : false;\r\n }\r\n function getLocaleMessage(locale) {\r\n return _composer.value ? _composer.value.getLocaleMessage(locale) : {};\r\n }\r\n function setLocaleMessage(locale, message) {\r\n if (_composer.value) {\r\n _composer.value.setLocaleMessage(locale, message);\r\n _messages.value[locale] = message;\r\n }\r\n }\r\n function mergeLocaleMessage(locale, message) {\r\n if (_composer.value) {\r\n _composer.value.mergeLocaleMessage(locale, message);\r\n }\r\n }\r\n function getDateTimeFormat(locale) {\r\n return _composer.value ? _composer.value.getDateTimeFormat(locale) : {};\r\n }\r\n function setDateTimeFormat(locale, format) {\r\n if (_composer.value) {\r\n _composer.value.setDateTimeFormat(locale, format);\r\n _datetimeFormats.value[locale] = format;\r\n }\r\n }\r\n function mergeDateTimeFormat(locale, format) {\r\n if (_composer.value) {\r\n _composer.value.mergeDateTimeFormat(locale, format);\r\n }\r\n }\r\n function getNumberFormat(locale) {\r\n return _composer.value ? _composer.value.getNumberFormat(locale) : {};\r\n }\r\n function setNumberFormat(locale, format) {\r\n if (_composer.value) {\r\n _composer.value.setNumberFormat(locale, format);\r\n _numberFormats.value[locale] = format;\r\n }\r\n }\r\n function mergeNumberFormat(locale, format) {\r\n if (_composer.value) {\r\n _composer.value.mergeNumberFormat(locale, format);\r\n }\r\n }\r\n const wrapper = {\r\n get id() {\r\n return _composer.value ? _composer.value.id : -1;\r\n },\r\n locale,\r\n fallbackLocale,\r\n messages,\r\n datetimeFormats,\r\n numberFormats,\r\n get inheritLocale() {\r\n return _composer.value ? _composer.value.inheritLocale : _inheritLocale;\r\n },\r\n set inheritLocale(val) {\r\n if (_composer.value) {\r\n _composer.value.inheritLocale = val;\r\n }\r\n },\r\n get availableLocales() {\r\n return _composer.value\r\n ? _composer.value.availableLocales\r\n : Object.keys(_messages.value);\r\n },\r\n get modifiers() {\r\n return (_composer.value ? _composer.value.modifiers : _modifiers);\r\n },\r\n get pluralRules() {\r\n return (_composer.value ? _composer.value.pluralRules : _pluralRules);\r\n },\r\n get isGlobal() {\r\n return _composer.value ? _composer.value.isGlobal : false;\r\n },\r\n get missingWarn() {\r\n return _composer.value ? _composer.value.missingWarn : _missingWarn;\r\n },\r\n set missingWarn(val) {\r\n if (_composer.value) {\r\n _composer.value.missingWarn = val;\r\n }\r\n },\r\n get fallbackWarn() {\r\n return _composer.value ? _composer.value.fallbackWarn : _fallbackWarn;\r\n },\r\n set fallbackWarn(val) {\r\n if (_composer.value) {\r\n _composer.value.missingWarn = val;\r\n }\r\n },\r\n get fallbackRoot() {\r\n return _composer.value ? _composer.value.fallbackRoot : _fallbackRoot;\r\n },\r\n set fallbackRoot(val) {\r\n if (_composer.value) {\r\n _composer.value.fallbackRoot = val;\r\n }\r\n },\r\n get fallbackFormat() {\r\n return _composer.value ? _composer.value.fallbackFormat : _fallbackFormat;\r\n },\r\n set fallbackFormat(val) {\r\n if (_composer.value) {\r\n _composer.value.fallbackFormat = val;\r\n }\r\n },\r\n get warnHtmlMessage() {\r\n return _composer.value\r\n ? _composer.value.warnHtmlMessage\r\n : _warnHtmlMessage;\r\n },\r\n set warnHtmlMessage(val) {\r\n if (_composer.value) {\r\n _composer.value.warnHtmlMessage = val;\r\n }\r\n },\r\n get escapeParameter() {\r\n return _composer.value\r\n ? _composer.value.escapeParameter\r\n : _escapeParameter;\r\n },\r\n set escapeParameter(val) {\r\n if (_composer.value) {\r\n _composer.value.escapeParameter = val;\r\n }\r\n },\r\n t,\r\n getPostTranslationHandler,\r\n setPostTranslationHandler,\r\n getMissingHandler,\r\n setMissingHandler,\r\n rt,\r\n d,\r\n n,\r\n tm,\r\n te,\r\n getLocaleMessage,\r\n setLocaleMessage,\r\n mergeLocaleMessage,\r\n getDateTimeFormat,\r\n setDateTimeFormat,\r\n mergeDateTimeFormat,\r\n getNumberFormat,\r\n setNumberFormat,\r\n mergeNumberFormat\r\n };\r\n function sync(composer) {\r\n composer.locale.value = _locale.value;\r\n composer.fallbackLocale.value = _fallbackLocale.value;\r\n Object.keys(_messages.value).forEach(locale => {\r\n composer.mergeLocaleMessage(locale, _messages.value[locale]);\r\n });\r\n Object.keys(_datetimeFormats.value).forEach(locale => {\r\n composer.mergeDateTimeFormat(locale, _datetimeFormats.value[locale]);\r\n });\r\n Object.keys(_numberFormats.value).forEach(locale => {\r\n composer.mergeNumberFormat(locale, _numberFormats.value[locale]);\r\n });\r\n composer.escapeParameter = _escapeParameter;\r\n composer.fallbackFormat = _fallbackFormat;\r\n composer.fallbackRoot = _fallbackRoot;\r\n composer.fallbackWarn = _fallbackWarn;\r\n composer.missingWarn = _missingWarn;\r\n composer.warnHtmlMessage = _warnHtmlMessage;\r\n }\r\n onBeforeMount(() => {\r\n if (instance.proxy == null || instance.proxy.$i18n == null) {\r\n throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);\r\n }\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const composer = (_composer.value = instance.proxy.$i18n\r\n .__composer);\r\n if (scope === 'global') {\r\n _locale.value = composer.locale.value;\r\n _fallbackLocale.value = composer.fallbackLocale.value;\r\n _messages.value = composer.messages.value;\r\n _datetimeFormats.value = composer.datetimeFormats.value;\r\n _numberFormats.value = composer.numberFormats.value;\r\n }\r\n else if (isLocale) {\r\n sync(composer);\r\n }\r\n });\r\n return wrapper;\r\n}\r\nconst globalExportProps = [\r\n 'locale',\r\n 'fallbackLocale',\r\n 'availableLocales'\r\n];\r\nconst globalExportMethods = ['t', 'rt', 'd', 'n', 'tm'] ;\r\nfunction injectGlobalFields(app, composer) {\r\n const i18n = Object.create(null);\r\n globalExportProps.forEach(prop => {\r\n const desc = Object.getOwnPropertyDescriptor(composer, prop);\r\n if (!desc) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n const wrap = isRef(desc.value) // check computed props\r\n ? {\r\n get() {\r\n return desc.value.value;\r\n },\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n set(val) {\r\n desc.value.value = val;\r\n }\r\n }\r\n : {\r\n get() {\r\n return desc.get && desc.get();\r\n }\r\n };\r\n Object.defineProperty(i18n, prop, wrap);\r\n });\r\n app.config.globalProperties.$i18n = i18n;\r\n globalExportMethods.forEach(method => {\r\n const desc = Object.getOwnPropertyDescriptor(composer, method);\r\n if (!desc || !desc.value) {\r\n throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);\r\n }\r\n Object.defineProperty(app.config.globalProperties, `$${method}`, desc);\r\n });\r\n}\n\n// register message compiler at vue-i18n\r\nregisterMessageCompiler(compileToFunction);\r\n// register message resolver at vue-i18n\r\nregisterMessageResolver(resolveValue);\r\n// register fallback locale at vue-i18n\r\nregisterLocaleFallbacker(fallbackWithLocaleChain);\r\n{\r\n initFeatureFlags();\r\n}\r\n// NOTE: experimental !!\r\nif ((process.env.NODE_ENV !== 'production') || __INTLIFY_PROD_DEVTOOLS__) {\r\n const target = getGlobalThis();\r\n target.__INTLIFY__ = true;\r\n setDevToolsHook(target.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);\r\n}\r\nif ((process.env.NODE_ENV !== 'production')) ;\n\nexport { DatetimeFormat, I18nInjectionKey, NumberFormat, Translation, VERSION, castToVueI18n, createI18n, useI18n, vTDirective };\n","<template>\n <Transition :css=\"false\" @leave=\"(_, done) => motion.leave(done)\">\n <div\n v-if=\"needRefresh\"\n ref=\"el\"\n v-motion\n :initial=\"{ y: 100 }\"\n :enter=\"{ y: 0 }\"\n class=\"z-10000 fixed bottom-0 right-0 left-0 sm:bottom-4 sm:right-3 sm:left-auto px-3 py-2 sm:px-6 sm:py-4 rounded-md bg-white dark:bg-gray-900 border border-purple-300 dark:border-purple-800 shadow-lg\"\n >\n <div class=\"font-light\">\n {{ t('main.reload-prompt.tips') }}\n </div>\n <button class=\"font-light border-b border-blue-600 dark:border-blue-400\" @click=\"() => updateServiceWorker()\">\n {{ t('main.reload-prompt.reload') }}\n </button>\n <button class=\"font-light ml-2 border-b border-purple-600 dark:border-purple-400\" @click=\"close\">\n {{ t('main.reload-prompt.dismiss') }}\n </button>\n </div>\n </Transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { shallowRef } from 'vue'\nimport { useRegisterSW } from 'virtual:pwa-register/vue'\nimport { useMotion } from '@vueuse/motion'\nimport { useI18n } from 'vue-i18n'\n\nconst { t } = useI18n()\n\nconst { needRefresh, updateServiceWorker } = useRegisterSW()\n\nconst close = () => {\n needRefresh.value = false\n}\n\nconst el = shallowRef<HTMLElement | null>(null)\nconst motion = useMotion(el, {\n initial: { y: 100 },\n enter: { y: 0 },\n})\n</script>\n","<template>\n <RouterView v-slot=\"{ Component, route }\">\n <Suspense>\n <Component :is=\"Component\" :key=\"computeKey(route)\" />\n </Suspense>\n </RouterView>\n</template>\n\n<script lang=\"ts\" setup>\nimport type { RouteLocationNormalizedLoaded } from 'vue-router'\n\nconst computeKey = (route: RouteLocationNormalizedLoaded) => {\n if (route.meta.hashKey)\n return route.meta.hashKey(route)\n}\n</script>\n","<template>\n <div class=\"background absolute w-full h-full grid place-content-center bg-gray-800\">\n <div class=\"my-auto text-white text-center\">\n <div class=\"relative\">\n <h1 class=\"sm:text-lg lg:text-2xl\">\n {{ t('main.browser-offline') }}\n </h1>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useI18n } from 'vue-i18n'\nimport { useEventListener } from '@vueuse/core'\nimport { stopProgress } from '@/nprogress'\n\nstopProgress()\n\nconst { t } = useI18n()\n\nuseEventListener('online', () => {\n window.location.reload()\n})\n</script>\n","import { computedAsync } from '@vueuse/core'\nimport type { Ref } from 'vue'\nimport { inject, provide, ref, triggerRef } from 'vue'\n\nconst backendStatusKey = Symbol('backendStatus')\n\ninterface ProvidedBackendStatus {\n alive: Ref<'yes' | 'no' | 'loading'>\n refetch: () => void\n}\n\nexport const createBackendStatus = () => {\n const refetchController = ref()\n const refetch = () => {\n triggerRef(refetchController)\n }\n\n const alive = computedAsync(\n async () => {\n // eslint-disable-next-line no-unused-expressions\n refetchController.value\n try {\n const res = await fetch('https://patchyvideo.com/be/alive.txt')\n return res.ok ? 'yes' : 'no'\n }\n catch (e) {\n return 'no'\n }\n },\n 'loading',\n )\n\n const data = {\n alive,\n refetch,\n }\n\n return data\n}\n\nexport const provideBackendStatus = (data: ProvidedBackendStatus) =>\n provide<ProvidedBackendStatus>(backendStatusKey, data)\n\nexport const useBackendStatus = () => {\n const backendStatus = inject<ProvidedBackendStatus>(backendStatusKey)\n if (!backendStatus)\n throw new Error('useBackendStatus: There is no backendStatus provided in the current vue instance.')\n return backendStatus\n}\n\nexport const useBackendAlive = () => useBackendStatus().alive\n","import { reactive } from 'vue'\n\ninterface VNotification {\n type: 'info' | 'warn' | 'error'\n message: string\n timeout?: number\n endtime?: Date\n}\nexport const notis = reactive<Record<number, VNotification>>({})\nlet totalCount = -1\n\nexport function notify(type: 'info' | 'warn' | 'error', message: string, timeout = 15000): number {\n const id = totalCount++\n if (timeout <= 0) {\n notis[id] = {\n type,\n message,\n }\n }\n else {\n notis[id] = {\n type,\n message,\n timeout: window.setTimeout(() => {\n delete notis[id]\n }, timeout),\n endtime: new Date(Date.now() + timeout),\n }\n }\n return id\n}\n\nexport function updateNotification(\n id: number,\n newInfo: {\n message?: string\n timeout?: number\n },\n): void {\n if (notis[id]) {\n if (newInfo.message)\n notis[id].message = newInfo.message\n if (newInfo.timeout) {\n if (notis[id].timeout) {\n clearTimeout(notis[id].timeout)\n delete notis[id].timeout\n delete notis[id].endtime\n }\n if (newInfo.timeout > 0) {\n notis[id].timeout = window.setTimeout(() => {\n delete notis[id]\n }, newInfo.timeout)\n notis[id].endtime = new Date(Date.now() + newInfo.timeout)\n }\n }\n }\n}\n\nexport function deleteNotification(id: number): void {\n if (notis[id]) {\n if (notis[id].timeout)\n clearTimeout(notis[id].timeout)\n delete notis[id]\n }\n}\n","<template>\n <div class=\"fixed text-center min-w-70 md:min-w-100 top-0 right-0 z-10000\">\n <transition-group name=\"notiList\" tag=\"div\">\n <div\n v-for=\"(noti, index) of notis\"\n :key=\"index\"\n class=\"border rounded-lg p-5 m-2 transition transition-all duration-200 \" :class=\"{\n 'border-blue-600 bg-blue-50': noti.type === 'info',\n 'border-yellow-600 bg-yellow-50': noti.type === 'warn',\n 'border-red-600 bg-red-50': noti.type === 'error',\n }\"\n >\n {{ noti.message }}\n <!-- <span v-if=\"noti.endtime\">({{ Math.round((+noti.endtime - now) / 100) / 10 }}s)</span> -->\n </div>\n </transition-group>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { onMounted, onUnmounted, ref } from 'vue'\nimport { notis } from '../index'\n\nconst now = ref(Date.now())\n\nlet interval = 0\nonMounted(() => {\n interval = window.setInterval(() => {\n now.value = Date.now()\n }, 100)\n})\nonUnmounted(() => {\n if (interval)\n clearInterval(interval)\n})\n</script>\n\n<style lang=\"postcss\" scoped>\n.notiList-enter,\n.notiList-leave-to {\n @apply opacity-0 -translate-x-2;\n}\n</style>\n","import type { VNode } from 'vue'\nimport { reactive, ref, shallowReactive } from 'vue'\n\nexport enum MessageType {\n success = 'success',\n warning = 'warning',\n info = 'info',\n error = 'error',\n}\n\nexport const PvMessageTransitionDuration = ref(400)\nconst typeToStyle: Record<MessageType, OtherOptions> = {\n [MessageType.success]: {\n color: '#67C23A',\n bgColor: '#f0f9eb',\n borderColor: '#e1f3d8',\n icon: 'i-uil:check-circle',\n },\n [MessageType.warning]: {\n color: '#e6a23c',\n bgColor: '#fdf6ec',\n borderColor: '#faecd8',\n icon: 'i-uil:exclamation-triangle',\n },\n [MessageType.info]: {\n color: '#909399',\n bgColor: '#edf2fc',\n borderColor: '#ebeef5',\n icon: 'i-uil:info-circle',\n },\n [MessageType.error]: {\n color: '#f56c6c',\n bgColor: '#fef0f0',\n borderColor: '#fde2e2',\n icon: 'i-uil:times-circle',\n },\n}\nconst OptionsDefaultValue: Options = {\n message: '',\n type: MessageType.info,\n dangerouslyUseHTMLString: false,\n showClose: false,\n duration: 3000,\n offset: 20,\n center: false,\n}\n\nconst allMessageOptions = reactive<Array<Options>>([])\nexport const fullMessageOptions = shallowReactive<Array<FullOptions>>([])\n\nexport const handleCloseMessage = (options: FullOptions): void => {\n const { id, onClose } = options\n for (let i = 0, l = fullMessageOptions.length; i < l; i++) {\n if (fullMessageOptions[i].id === id) {\n allMessageOptions.splice(i, 1)\n fullMessageOptions.splice(i, 1)\n break\n }\n }\n setTimeout(() => {\n if (onClose)\n onClose()\n }, PvMessageTransitionDuration.value)\n}\n\nexport const PvMessage = (options: string | Options): void => {\n if (typeof options === 'string') {\n options = {\n message: options,\n }\n }\n /* 默认值赋值 */\n options = {\n ...OptionsDefaultValue,\n ...options,\n }\n allMessageOptions.push(options)\n const fullOptions = Object.assign({}, options, typeToStyle[options.type as MessageType], {\n id: Math.round(Math.random() * 10000000),\n })\n fullMessageOptions.push(fullOptions)\n\n /* 设置延时关闭 */\n const { duration } = fullOptions\n if ((duration as number) > 0) {\n setTimeout(() => {\n handleCloseMessage(fullOptions)\n }, duration)\n }\n}\n\n/**\n * Options\n * @选项参考:https://element.eleme.cn/#/zh-CN/component/message#options\n * */\nexport interface Options {\n message: string | VNode\n type?: MessageType\n dangerouslyUseHTMLString?: boolean\n duration?: number\n showClose?: boolean\n center?: boolean\n /**\n * 回调无参数!\n * */\n onClose?: () => void\n offset?: number\n}\nexport interface OtherOptions {\n color: string\n bgColor: string\n borderColor: string\n icon: string\n}\nexport interface FullOptions extends Options, OtherOptions {\n id: number\n}\n","import { __extends } from \"tslib\";\nvar genericMessage = \"Invariant Violation\";\nvar _a = Object.setPrototypeOf, setPrototypeOf = _a === void 0 ? function (obj, proto) {\n obj.__proto__ = proto;\n return obj;\n} : _a;\nvar InvariantError = /** @class */ (function (_super) {\n __extends(InvariantError, _super);\n function InvariantError(message) {\n if (message === void 0) { message = genericMessage; }\n var _this = _super.call(this, typeof message === \"number\"\n ? genericMessage + \": \" + message + \" (see https://github.com/apollographql/invariant-packages)\"\n : message) || this;\n _this.framesToPop = 1;\n _this.name = genericMessage;\n setPrototypeOf(_this, InvariantError.prototype);\n return _this;\n }\n return InvariantError;\n}(Error));\nexport { InvariantError };\nexport function invariant(condition, message) {\n if (!condition) {\n throw new InvariantError(message);\n }\n}\nvar verbosityLevels = [\"debug\", \"log\", \"warn\", \"error\", \"silent\"];\nvar verbosityLevel = verbosityLevels.indexOf(\"log\");\nfunction wrapConsoleMethod(name) {\n return function () {\n if (verbosityLevels.indexOf(name) >= verbosityLevel) {\n // Default to console.log if this host environment happens not to provide\n // all the console.* methods we need.\n var method = console[name] || console.log;\n return method.apply(console, arguments);\n }\n };\n}\n(function (invariant) {\n invariant.debug = wrapConsoleMethod(\"debug\");\n invariant.log = wrapConsoleMethod(\"log\");\n invariant.warn = wrapConsoleMethod(\"warn\");\n invariant.error = wrapConsoleMethod(\"error\");\n})(invariant || (invariant = {}));\nexport function setVerbosity(level) {\n var old = verbosityLevels[verbosityLevel];\n verbosityLevel = Math.max(0, verbosityLevels.indexOf(level));\n return old;\n}\nexport default invariant;\n//# sourceMappingURL=invariant.js.map","export function maybe(thunk) {\n try {\n return thunk();\n }\n catch (_a) { }\n}\n//# sourceMappingURL=maybe.js.map","import { maybe } from \"./maybe.js\";\nexport default (maybe(function () { return globalThis; }) ||\n maybe(function () { return window; }) ||\n maybe(function () { return self; }) ||\n maybe(function () { return global; }) || maybe(function () { return maybe.constructor(\"return this\")(); }));\n//# sourceMappingURL=global.js.map","import global from \"./global.js\";\nimport { maybe } from \"./maybe.js\";\nvar __ = \"__\";\nvar GLOBAL_KEY = [__, __].join(\"DEV\");\nfunction getDEV() {\n try {\n return Boolean(__DEV__);\n }\n catch (_a) {\n Object.defineProperty(global, GLOBAL_KEY, {\n value: maybe(function () { return process.env.NODE_ENV; }) !== \"production\",\n enumerable: false,\n configurable: true,\n writable: true,\n });\n return global[GLOBAL_KEY];\n }\n}\nexport default getDEV();\n//# sourceMappingURL=DEV.js.map","function maybe(thunk) {\n try { return thunk() } catch (_) {}\n}\n\nvar safeGlobal = (\n maybe(function() { return globalThis }) ||\n maybe(function() { return window }) ||\n maybe(function() { return self }) ||\n maybe(function() { return global }) ||\n // We don't expect the Function constructor ever to be invoked at runtime, as\n // long as at least one of globalThis, window, self, or global is defined, so\n // we are under no obligation to make it easy for static analysis tools to\n // detect syntactic usage of the Function constructor. If you think you can\n // improve your static analysis to detect this obfuscation, think again. This\n // is an arms race you cannot win, at least not in JavaScript.\n maybe(function() { return maybe.constructor(\"return this\")() })\n);\n\nvar needToRemove = false;\n\nexport function install() {\n if (safeGlobal &&\n !maybe(function() { return process.env.NODE_ENV }) &&\n !maybe(function() { return process })) {\n Object.defineProperty(safeGlobal, \"process\", {\n value: {\n env: {\n // This default needs to be \"production\" instead of \"development\", to\n // avoid the problem https://github.com/graphql/graphql-js/pull/2894\n // will eventually solve, once merged and released.\n NODE_ENV: \"production\",\n },\n },\n // Let anyone else change global.process as they see fit, but hide it from\n // Object.keys(global) enumeration.\n configurable: true,\n enumerable: false,\n writable: true,\n });\n needToRemove = true;\n }\n}\n\n// Call install() at least once, when this module is imported.\ninstall();\n\nexport function remove() {\n if (needToRemove) {\n delete safeGlobal.process;\n needToRemove = false;\n }\n}\n","export function devAssert(condition, message) {\n const booleanCondition = Boolean(condition);\n\n if (!booleanCondition) {\n throw new Error(message);\n }\n}\n","/**\n * Return true if `value` is object-like. A value is object-like if it's not\n * `null` and has a `typeof` result of \"object\".\n */\nexport function isObjectLike(value) {\n return typeof value == 'object' && value !== null;\n}\n","export function invariant(condition, message) {\n const booleanCondition = Boolean(condition);\n\n if (!booleanCondition) {\n throw new Error(\n message != null ? message : 'Unexpected invariant triggered.',\n );\n }\n}\n","import { invariant } from '../jsutils/invariant.mjs';\nconst LineRegExp = /\\r\\n|[\\n\\r]/g;\n/**\n * Represents a location in a Source.\n */\n\n/**\n * Takes a Source and a UTF-8 character offset, and returns the corresponding\n * line and column as a SourceLocation.\n */\nexport function getLocation(source, position) {\n let lastLineStart = 0;\n let line = 1;\n\n for (const match of source.body.matchAll(LineRegExp)) {\n typeof match.index === 'number' || invariant(false);\n\n if (match.index >= position) {\n break;\n }\n\n lastLineStart = match.index + match[0].length;\n line += 1;\n }\n\n return {\n line,\n column: position + 1 - lastLineStart,\n };\n}\n","import { getLocation } from './location.mjs';\n\n/**\n * Render a helpful description of the location in the GraphQL Source document.\n */\nexport function printLocation(location) {\n return printSourceLocation(\n location.source,\n getLocation(location.source, location.start),\n );\n}\n/**\n * Render a helpful description of the location in the GraphQL Source document.\n */\n\nexport function printSourceLocation(source, sourceLocation) {\n const firstLineColumnOffset = source.locationOffset.column - 1;\n const body = ''.padStart(firstLineColumnOffset) + source.body;\n const lineIndex = sourceLocation.line - 1;\n const lineOffset = source.locationOffset.line - 1;\n const lineNum = sourceLocation.line + lineOffset;\n const columnOffset = sourceLocation.line === 1 ? firstLineColumnOffset : 0;\n const columnNum = sourceLocation.column + columnOffset;\n const locationStr = `${source.name}:${lineNum}:${columnNum}\\n`;\n const lines = body.split(/\\r\\n|[\\n\\r]/g);\n const locationLine = lines[lineIndex]; // Special case for minified documents\n\n if (locationLine.length > 120) {\n const subLineIndex = Math.floor(columnNum / 80);\n const subLineColumnNum = columnNum % 80;\n const subLines = [];\n\n for (let i = 0; i < locationLine.length; i += 80) {\n subLines.push(locationLine.slice(i, i + 80));\n }\n\n return (\n locationStr +\n printPrefixedLines([\n [`${lineNum} |`, subLines[0]],\n ...subLines.slice(1, subLineIndex + 1).map((subLine) => ['|', subLine]),\n ['|', '^'.padStart(subLineColumnNum)],\n ['|', subLines[subLineIndex + 1]],\n ])\n );\n }\n\n return (\n locationStr +\n printPrefixedLines([\n // Lines specified like this: [\"prefix\", \"string\"],\n [`${lineNum - 1} |`, lines[lineIndex - 1]],\n [`${lineNum} |`, locationLine],\n ['|', '^'.padStart(columnNum)],\n [`${lineNum + 1} |`, lines[lineIndex + 1]],\n ])\n );\n}\n\nfunction printPrefixedLines(lines) {\n const existingLines = lines.filter(([_, line]) => line !== undefined);\n const padLen = Math.max(...existingLines.map(([prefix]) => prefix.length));\n return existingLines\n .map(([prefix, line]) => prefix.padStart(padLen) + (line ? ' ' + line : ''))\n .join('\\n');\n}\n","import { isObjectLike } from '../jsutils/isObjectLike.mjs';\nimport { getLocation } from '../language/location.mjs';\nimport {\n printLocation,\n printSourceLocation,\n} from '../language/printLocation.mjs';\n\nfunction toNormalizedOptions(args) {\n const firstArg = args[0];\n\n if (firstArg == null || 'kind' in firstArg || 'length' in firstArg) {\n return {\n nodes: firstArg,\n source: args[1],\n positions: args[2],\n path: args[3],\n originalError: args[4],\n extensions: args[5],\n };\n }\n\n return firstArg;\n}\n/**\n * A GraphQLError describes an Error found during the parse, validate, or\n * execute phases of performing a GraphQL operation. In addition to a message\n * and stack trace, it also includes information about the locations in a\n * GraphQL document and/or execution result that correspond to the Error.\n */\n\nexport class GraphQLError extends Error {\n /**\n * An array of `{ line, column }` locations within the source GraphQL document\n * which correspond to this error.\n *\n * Errors during validation often contain multiple locations, for example to\n * point out two things with the same name. Errors during execution include a\n * single location, the field which produced the error.\n *\n * Enumerable, and appears in the result of JSON.stringify().\n */\n\n /**\n * An array describing the JSON-path into the execution response which\n * corresponds to this error. Only included for errors during execution.\n *\n * Enumerable, and appears in the result of JSON.stringify().\n */\n\n /**\n * An array of GraphQL AST Nodes corresponding to this error.\n */\n\n /**\n * The source GraphQL document for the first location of this error.\n *\n * Note that if this Error represents more than one node, the source may not\n * represent nodes after the first node.\n */\n\n /**\n * An array of character offsets within the source GraphQL document\n * which correspond to this error.\n */\n\n /**\n * The original error thrown from a field resolver during execution.\n */\n\n /**\n * Extension fields to add to the formatted error.\n */\n\n /**\n * @deprecated Please use the `GraphQLErrorOptions` constructor overload instead.\n */\n constructor(message, ...rawArgs) {\n var _this$nodes, _nodeLocations$, _ref;\n\n const { nodes, source, positions, path, originalError, extensions } =\n toNormalizedOptions(rawArgs);\n super(message);\n this.name = 'GraphQLError';\n this.path = path !== null && path !== void 0 ? path : undefined;\n this.originalError =\n originalError !== null && originalError !== void 0\n ? originalError\n : undefined; // Compute list of blame nodes.\n\n this.nodes = undefinedIfEmpty(\n Array.isArray(nodes) ? nodes : nodes ? [nodes] : undefined,\n );\n const nodeLocations = undefinedIfEmpty(\n (_this$nodes = this.nodes) === null || _this$nodes === void 0\n ? void 0\n : _this$nodes.map((node) => node.loc).filter((loc) => loc != null),\n ); // Compute locations in the source for the given nodes/positions.\n\n this.source =\n source !== null && source !== void 0\n ? source\n : nodeLocations === null || nodeLocations === void 0\n ? void 0\n : (_nodeLocations$ = nodeLocations[0]) === null ||\n _nodeLocations$ === void 0\n ? void 0\n : _nodeLocations$.source;\n this.positions =\n positions !== null && positions !== void 0\n ? positions\n : nodeLocations === null || nodeLocations === void 0\n ? void 0\n : nodeLocations.map((loc) => loc.start);\n this.locations =\n positions && source\n ? positions.map((pos) => getLocation(source, pos))\n : nodeLocations === null || nodeLocations === void 0\n ? void 0\n : nodeLocations.map((loc) => getLocation(loc.source, loc.start));\n const originalExtensions = isObjectLike(\n originalError === null || originalError === void 0\n ? void 0\n : originalError.extensions,\n )\n ? originalError === null || originalError === void 0\n ? void 0\n : originalError.extensions\n : undefined;\n this.extensions =\n (_ref =\n extensions !== null && extensions !== void 0\n ? extensions\n : originalExtensions) !== null && _ref !== void 0\n ? _ref\n : Object.create(null); // Only properties prescribed by the spec should be enumerable.\n // Keep the rest as non-enumerable.\n\n Object.defineProperties(this, {\n message: {\n writable: true,\n enumerable: true,\n },\n name: {\n enumerable: false,\n },\n nodes: {\n enumerable: false,\n },\n source: {\n enumerable: false,\n },\n positions: {\n enumerable: false,\n },\n originalError: {\n enumerable: false,\n },\n }); // Include (non-enumerable) stack trace.\n\n /* c8 ignore start */\n // FIXME: https://github.com/graphql/graphql-js/issues/2317\n\n if (\n originalError !== null &&\n originalError !== void 0 &&\n originalError.stack\n ) {\n Object.defineProperty(this, 'stack', {\n value: originalError.stack,\n writable: true,\n configurable: true,\n });\n } else if (Error.captureStackTrace) {\n Error.captureStackTrace(this, GraphQLError);\n } else {\n Object.defineProperty(this, 'stack', {\n value: Error().stack,\n writable: true,\n configurable: true,\n });\n }\n /* c8 ignore stop */\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLError';\n }\n\n toString() {\n let output = this.message;\n\n if (this.nodes) {\n for (const node of this.nodes) {\n if (node.loc) {\n output += '\\n\\n' + printLocation(node.loc);\n }\n }\n } else if (this.source && this.locations) {\n for (const location of this.locations) {\n output += '\\n\\n' + printSourceLocation(this.source, location);\n }\n }\n\n return output;\n }\n\n toJSON() {\n const formattedError = {\n message: this.message,\n };\n\n if (this.locations != null) {\n formattedError.locations = this.locations;\n }\n\n if (this.path != null) {\n formattedError.path = this.path;\n }\n\n if (this.extensions != null && Object.keys(this.extensions).length > 0) {\n formattedError.extensions = this.extensions;\n }\n\n return formattedError;\n }\n}\n\nfunction undefinedIfEmpty(array) {\n return array === undefined || array.length === 0 ? undefined : array;\n}\n/**\n * See: https://spec.graphql.org/draft/#sec-Errors\n */\n\n/**\n * Prints a GraphQLError to a string, representing useful location information\n * about the error's position in the source.\n *\n * @deprecated Please use `error.toString` instead. Will be removed in v17\n */\nexport function printError(error) {\n return error.toString();\n}\n/**\n * Given a GraphQLError, format it according to the rules described by the\n * Response Format, Errors section of the GraphQL Specification.\n *\n * @deprecated Please use `error.toJSON` instead. Will be removed in v17\n */\n\nexport function formatError(error) {\n return error.toJSON();\n}\n","import { GraphQLError } from './GraphQLError.mjs';\n/**\n * Produces a GraphQLError representing a syntax error, containing useful\n * descriptive information about the syntax error's position in the source.\n */\n\nexport function syntaxError(source, position, description) {\n return new GraphQLError(`Syntax Error: ${description}`, {\n source,\n positions: [position],\n });\n}\n","/**\n * Contains a range of UTF-8 character offsets and token references that\n * identify the region of the source from which the AST derived.\n */\nexport class Location {\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The Token at which this Node begins.\n */\n\n /**\n * The Token at which this Node ends.\n */\n\n /**\n * The Source document the AST represents.\n */\n constructor(startToken, endToken, source) {\n this.start = startToken.start;\n this.end = endToken.end;\n this.startToken = startToken;\n this.endToken = endToken;\n this.source = source;\n }\n\n get [Symbol.toStringTag]() {\n return 'Location';\n }\n\n toJSON() {\n return {\n start: this.start,\n end: this.end,\n };\n }\n}\n/**\n * Represents a range of characters represented by a lexical token\n * within a Source.\n */\n\nexport class Token {\n /**\n * The kind of Token.\n */\n\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The 1-indexed line number on which this Token appears.\n */\n\n /**\n * The 1-indexed column number at which this Token begins.\n */\n\n /**\n * For non-punctuation tokens, represents the interpreted value of the token.\n *\n * Note: is undefined for punctuation tokens, but typed as string for\n * convenience in the parser.\n */\n\n /**\n * Tokens exist as nodes in a double-linked-list amongst all tokens\n * including ignored tokens. <SOF> is always the first node and <EOF>\n * the last.\n */\n constructor(kind, start, end, line, column, value) {\n this.kind = kind;\n this.start = start;\n this.end = end;\n this.line = line;\n this.column = column; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n\n this.value = value;\n this.prev = null;\n this.next = null;\n }\n\n get [Symbol.toStringTag]() {\n return 'Token';\n }\n\n toJSON() {\n return {\n kind: this.kind,\n value: this.value,\n line: this.line,\n column: this.column,\n };\n }\n}\n/**\n * The list of all possible AST node types.\n */\n\n/**\n * @internal\n */\nexport const QueryDocumentKeys = {\n Name: [],\n Document: ['definitions'],\n OperationDefinition: [\n 'name',\n 'variableDefinitions',\n 'directives',\n 'selectionSet',\n ],\n VariableDefinition: ['variable', 'type', 'defaultValue', 'directives'],\n Variable: ['name'],\n SelectionSet: ['selections'],\n Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],\n Argument: ['name', 'value'],\n FragmentSpread: ['name', 'directives'],\n InlineFragment: ['typeCondition', 'directives', 'selectionSet'],\n FragmentDefinition: [\n 'name', // Note: fragment variable definitions are deprecated and will removed in v17.0.0\n 'variableDefinitions',\n 'typeCondition',\n 'directives',\n 'selectionSet',\n ],\n IntValue: [],\n FloatValue: [],\n StringValue: [],\n BooleanValue: [],\n NullValue: [],\n EnumValue: [],\n ListValue: ['values'],\n ObjectValue: ['fields'],\n ObjectField: ['name', 'value'],\n Directive: ['name', 'arguments'],\n NamedType: ['name'],\n ListType: ['type'],\n NonNullType: ['type'],\n SchemaDefinition: ['description', 'directives', 'operationTypes'],\n OperationTypeDefinition: ['type'],\n ScalarTypeDefinition: ['description', 'name', 'directives'],\n ObjectTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'],\n InputValueDefinition: [\n 'description',\n 'name',\n 'type',\n 'defaultValue',\n 'directives',\n ],\n InterfaceTypeDefinition: [\n 'description',\n 'name',\n 'interfaces',\n 'directives',\n 'fields',\n ],\n UnionTypeDefinition: ['description', 'name', 'directives', 'types'],\n EnumTypeDefinition: ['description', 'name', 'directives', 'values'],\n EnumValueDefinition: ['description', 'name', 'directives'],\n InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'],\n DirectiveDefinition: ['description', 'name', 'arguments', 'locations'],\n SchemaExtension: ['directives', 'operationTypes'],\n ScalarTypeExtension: ['name', 'directives'],\n ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n InterfaceTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n UnionTypeExtension: ['name', 'directives', 'types'],\n EnumTypeExtension: ['name', 'directives', 'values'],\n InputObjectTypeExtension: ['name', 'directives', 'fields'],\n};\nconst kindValues = new Set(Object.keys(QueryDocumentKeys));\n/**\n * @internal\n */\n\nexport function isNode(maybeNode) {\n const maybeKind =\n maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;\n return typeof maybeKind === 'string' && kindValues.has(maybeKind);\n}\n/** Name */\n\nvar OperationTypeNode;\n\n(function (OperationTypeNode) {\n OperationTypeNode['QUERY'] = 'query';\n OperationTypeNode['MUTATION'] = 'mutation';\n OperationTypeNode['SUBSCRIPTION'] = 'subscription';\n})(OperationTypeNode || (OperationTypeNode = {}));\n\nexport { OperationTypeNode };\n","/**\n * The set of allowed directive location values.\n */\nvar DirectiveLocation;\n\n(function (DirectiveLocation) {\n DirectiveLocation['QUERY'] = 'QUERY';\n DirectiveLocation['MUTATION'] = 'MUTATION';\n DirectiveLocation['SUBSCRIPTION'] = 'SUBSCRIPTION';\n DirectiveLocation['FIELD'] = 'FIELD';\n DirectiveLocation['FRAGMENT_DEFINITION'] = 'FRAGMENT_DEFINITION';\n DirectiveLocation['FRAGMENT_SPREAD'] = 'FRAGMENT_SPREAD';\n DirectiveLocation['INLINE_FRAGMENT'] = 'INLINE_FRAGMENT';\n DirectiveLocation['VARIABLE_DEFINITION'] = 'VARIABLE_DEFINITION';\n DirectiveLocation['SCHEMA'] = 'SCHEMA';\n DirectiveLocation['SCALAR'] = 'SCALAR';\n DirectiveLocation['OBJECT'] = 'OBJECT';\n DirectiveLocation['FIELD_DEFINITION'] = 'FIELD_DEFINITION';\n DirectiveLocation['ARGUMENT_DEFINITION'] = 'ARGUMENT_DEFINITION';\n DirectiveLocation['INTERFACE'] = 'INTERFACE';\n DirectiveLocation['UNION'] = 'UNION';\n DirectiveLocation['ENUM'] = 'ENUM';\n DirectiveLocation['ENUM_VALUE'] = 'ENUM_VALUE';\n DirectiveLocation['INPUT_OBJECT'] = 'INPUT_OBJECT';\n DirectiveLocation['INPUT_FIELD_DEFINITION'] = 'INPUT_FIELD_DEFINITION';\n})(DirectiveLocation || (DirectiveLocation = {}));\n\nexport { DirectiveLocation };\n/**\n * The enum type representing the directive location values.\n *\n * @deprecated Please use `DirectiveLocation`. Will be remove in v17.\n */\n","/**\n * The set of allowed kind values for AST nodes.\n */\nvar Kind;\n\n(function (Kind) {\n Kind['NAME'] = 'Name';\n Kind['DOCUMENT'] = 'Document';\n Kind['OPERATION_DEFINITION'] = 'OperationDefinition';\n Kind['VARIABLE_DEFINITION'] = 'VariableDefinition';\n Kind['SELECTION_SET'] = 'SelectionSet';\n Kind['FIELD'] = 'Field';\n Kind['ARGUMENT'] = 'Argument';\n Kind['FRAGMENT_SPREAD'] = 'FragmentSpread';\n Kind['INLINE_FRAGMENT'] = 'InlineFragment';\n Kind['FRAGMENT_DEFINITION'] = 'FragmentDefinition';\n Kind['VARIABLE'] = 'Variable';\n Kind['INT'] = 'IntValue';\n Kind['FLOAT'] = 'FloatValue';\n Kind['STRING'] = 'StringValue';\n Kind['BOOLEAN'] = 'BooleanValue';\n Kind['NULL'] = 'NullValue';\n Kind['ENUM'] = 'EnumValue';\n Kind['LIST'] = 'ListValue';\n Kind['OBJECT'] = 'ObjectValue';\n Kind['OBJECT_FIELD'] = 'ObjectField';\n Kind['DIRECTIVE'] = 'Directive';\n Kind['NAMED_TYPE'] = 'NamedType';\n Kind['LIST_TYPE'] = 'ListType';\n Kind['NON_NULL_TYPE'] = 'NonNullType';\n Kind['SCHEMA_DEFINITION'] = 'SchemaDefinition';\n Kind['OPERATION_TYPE_DEFINITION'] = 'OperationTypeDefinition';\n Kind['SCALAR_TYPE_DEFINITION'] = 'ScalarTypeDefinition';\n Kind['OBJECT_TYPE_DEFINITION'] = 'ObjectTypeDefinition';\n Kind['FIELD_DEFINITION'] = 'FieldDefinition';\n Kind['INPUT_VALUE_DEFINITION'] = 'InputValueDefinition';\n Kind['INTERFACE_TYPE_DEFINITION'] = 'InterfaceTypeDefinition';\n Kind['UNION_TYPE_DEFINITION'] = 'UnionTypeDefinition';\n Kind['ENUM_TYPE_DEFINITION'] = 'EnumTypeDefinition';\n Kind['ENUM_VALUE_DEFINITION'] = 'EnumValueDefinition';\n Kind['INPUT_OBJECT_TYPE_DEFINITION'] = 'InputObjectTypeDefinition';\n Kind['DIRECTIVE_DEFINITION'] = 'DirectiveDefinition';\n Kind['SCHEMA_EXTENSION'] = 'SchemaExtension';\n Kind['SCALAR_TYPE_EXTENSION'] = 'ScalarTypeExtension';\n Kind['OBJECT_TYPE_EXTENSION'] = 'ObjectTypeExtension';\n Kind['INTERFACE_TYPE_EXTENSION'] = 'InterfaceTypeExtension';\n Kind['UNION_TYPE_EXTENSION'] = 'UnionTypeExtension';\n Kind['ENUM_TYPE_EXTENSION'] = 'EnumTypeExtension';\n Kind['INPUT_OBJECT_TYPE_EXTENSION'] = 'InputObjectTypeExtension';\n})(Kind || (Kind = {}));\n\nexport { Kind };\n/**\n * The enum type representing the possible kind values of AST nodes.\n *\n * @deprecated Please use `Kind`. Will be remove in v17.\n */\n","/**\n * ```\n * WhiteSpace ::\n * - \"Horizontal Tab (U+0009)\"\n * - \"Space (U+0020)\"\n * ```\n * @internal\n */\nexport function isWhiteSpace(code) {\n return code === 0x0009 || code === 0x0020;\n}\n/**\n * ```\n * Digit :: one of\n * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`\n * ```\n * @internal\n */\n\nexport function isDigit(code) {\n return code >= 0x0030 && code <= 0x0039;\n}\n/**\n * ```\n * Letter :: one of\n * - `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`\n * - `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`\n * - `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`\n * - `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`\n * ```\n * @internal\n */\n\nexport function isLetter(code) {\n return (\n (code >= 0x0061 && code <= 0x007a) || // A-Z\n (code >= 0x0041 && code <= 0x005a) // a-z\n );\n}\n/**\n * ```\n * NameStart ::\n * - Letter\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameStart(code) {\n return isLetter(code) || code === 0x005f;\n}\n/**\n * ```\n * NameContinue ::\n * - Letter\n * - Digit\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameContinue(code) {\n return isLetter(code) || isDigit(code) || code === 0x005f;\n}\n","import { isWhiteSpace } from './characterClasses.mjs';\n/**\n * Produces the value of a block string from its parsed raw value, similar to\n * CoffeeScript's block string, Python's docstring trim or Ruby's strip_heredoc.\n *\n * This implements the GraphQL spec's BlockStringValue() static algorithm.\n *\n * @internal\n */\n\nexport function dedentBlockStringLines(lines) {\n var _firstNonEmptyLine2;\n\n let commonIndent = Number.MAX_SAFE_INTEGER;\n let firstNonEmptyLine = null;\n let lastNonEmptyLine = -1;\n\n for (let i = 0; i < lines.length; ++i) {\n var _firstNonEmptyLine;\n\n const line = lines[i];\n const indent = leadingWhitespace(line);\n\n if (indent === line.length) {\n continue; // skip empty lines\n }\n\n firstNonEmptyLine =\n (_firstNonEmptyLine = firstNonEmptyLine) !== null &&\n _firstNonEmptyLine !== void 0\n ? _firstNonEmptyLine\n : i;\n lastNonEmptyLine = i;\n\n if (i !== 0 && indent < commonIndent) {\n commonIndent = indent;\n }\n }\n\n return lines // Remove common indentation from all lines but first.\n .map((line, i) => (i === 0 ? line : line.slice(commonIndent))) // Remove leading and trailing blank lines.\n .slice(\n (_firstNonEmptyLine2 = firstNonEmptyLine) !== null &&\n _firstNonEmptyLine2 !== void 0\n ? _firstNonEmptyLine2\n : 0,\n lastNonEmptyLine + 1,\n );\n}\n\nfunction leadingWhitespace(str) {\n let i = 0;\n\n while (i < str.length && isWhiteSpace(str.charCodeAt(i))) {\n ++i;\n }\n\n return i;\n}\n/**\n * @internal\n */\n\nexport function isPrintableAsBlockString(value) {\n if (value === '') {\n return true; // empty string is printable\n }\n\n let isEmptyLine = true;\n let hasIndent = false;\n let hasCommonIndent = true;\n let seenNonEmptyLine = false;\n\n for (let i = 0; i < value.length; ++i) {\n switch (value.codePointAt(i)) {\n case 0x0000:\n case 0x0001:\n case 0x0002:\n case 0x0003:\n case 0x0004:\n case 0x0005:\n case 0x0006:\n case 0x0007:\n case 0x0008:\n case 0x000b:\n case 0x000c:\n case 0x000e:\n case 0x000f:\n return false;\n // Has non-printable characters\n\n case 0x000d:\n // \\r\n return false;\n // Has \\r or \\r\\n which will be replaced as \\n\n\n case 10:\n // \\n\n if (isEmptyLine && !seenNonEmptyLine) {\n return false; // Has leading new line\n }\n\n seenNonEmptyLine = true;\n isEmptyLine = true;\n hasIndent = false;\n break;\n\n case 9: // \\t\n\n case 32:\n // <space>\n hasIndent || (hasIndent = isEmptyLine);\n break;\n\n default:\n hasCommonIndent && (hasCommonIndent = hasIndent);\n isEmptyLine = false;\n }\n }\n\n if (isEmptyLine) {\n return false; // Has trailing empty lines\n }\n\n if (hasCommonIndent && seenNonEmptyLine) {\n return false; // Has internal indent\n }\n\n return true;\n}\n/**\n * Print a block string in the indented block form by adding a leading and\n * trailing blank line. However, if a block string starts with whitespace and is\n * a single-line, adding a leading blank line would strip that whitespace.\n *\n * @internal\n */\n\nexport function printBlockString(value, options) {\n const escapedValue = value.replace(/\"\"\"/g, '\\\\\"\"\"'); // Expand a block string's raw value into independent lines.\n\n const lines = escapedValue.split(/\\r\\n|[\\n\\r]/g);\n const isSingleLine = lines.length === 1; // If common indentation is found we can fix some of those cases by adding leading new line\n\n const forceLeadingNewLine =\n lines.length > 1 &&\n lines\n .slice(1)\n .every((line) => line.length === 0 || isWhiteSpace(line.charCodeAt(0))); // Trailing triple quotes just looks confusing but doesn't force trailing new line\n\n const hasTrailingTripleQuotes = escapedValue.endsWith('\\\\\"\"\"'); // Trailing quote (single or double) or slash forces trailing new line\n\n const hasTrailingQuote = value.endsWith('\"') && !hasTrailingTripleQuotes;\n const hasTrailingSlash = value.endsWith('\\\\');\n const forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;\n const printAsMultipleLines =\n !(options !== null && options !== void 0 && options.minimize) && // add leading and trailing new lines only if it improves readability\n (!isSingleLine ||\n value.length > 70 ||\n forceTrailingNewline ||\n forceLeadingNewLine ||\n hasTrailingTripleQuotes);\n let result = ''; // Format a multi-line block quote to account for leading space.\n\n const skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));\n\n if ((printAsMultipleLines && !skipLeadingNewLine) || forceLeadingNewLine) {\n result += '\\n';\n }\n\n result += escapedValue;\n\n if (printAsMultipleLines || forceTrailingNewline) {\n result += '\\n';\n }\n\n return '\"\"\"' + result + '\"\"\"';\n}\n","/**\n * An exported enum describing the different kinds of tokens that the\n * lexer emits.\n */\nvar TokenKind;\n\n(function (TokenKind) {\n TokenKind['SOF'] = '<SOF>';\n TokenKind['EOF'] = '<EOF>';\n TokenKind['BANG'] = '!';\n TokenKind['DOLLAR'] = '$';\n TokenKind['AMP'] = '&';\n TokenKind['PAREN_L'] = '(';\n TokenKind['PAREN_R'] = ')';\n TokenKind['SPREAD'] = '...';\n TokenKind['COLON'] = ':';\n TokenKind['EQUALS'] = '=';\n TokenKind['AT'] = '@';\n TokenKind['BRACKET_L'] = '[';\n TokenKind['BRACKET_R'] = ']';\n TokenKind['BRACE_L'] = '{';\n TokenKind['PIPE'] = '|';\n TokenKind['BRACE_R'] = '}';\n TokenKind['NAME'] = 'Name';\n TokenKind['INT'] = 'Int';\n TokenKind['FLOAT'] = 'Float';\n TokenKind['STRING'] = 'String';\n TokenKind['BLOCK_STRING'] = 'BlockString';\n TokenKind['COMMENT'] = 'Comment';\n})(TokenKind || (TokenKind = {}));\n\nexport { TokenKind };\n/**\n * The enum type representing the token kinds values.\n *\n * @deprecated Please use `TokenKind`. Will be remove in v17.\n */\n","import { syntaxError } from '../error/syntaxError.mjs';\nimport { Token } from './ast.mjs';\nimport { dedentBlockStringLines } from './blockString.mjs';\nimport { isDigit, isNameContinue, isNameStart } from './characterClasses.mjs';\nimport { TokenKind } from './tokenKind.mjs';\n/**\n * Given a Source object, creates a Lexer for that source.\n * A Lexer is a stateful stream generator in that every time\n * it is advanced, it returns the next token in the Source. Assuming the\n * source lexes, the final Token emitted by the lexer will be of kind\n * EOF, after which the lexer will repeatedly return the same EOF token\n * whenever called.\n */\n\nexport class Lexer {\n /**\n * The previously focused non-ignored token.\n */\n\n /**\n * The currently focused non-ignored token.\n */\n\n /**\n * The (1-indexed) line containing the current token.\n */\n\n /**\n * The character offset at which the current line begins.\n */\n constructor(source) {\n const startOfFileToken = new Token(TokenKind.SOF, 0, 0, 0, 0);\n this.source = source;\n this.lastToken = startOfFileToken;\n this.token = startOfFileToken;\n this.line = 1;\n this.lineStart = 0;\n }\n\n get [Symbol.toStringTag]() {\n return 'Lexer';\n }\n /**\n * Advances the token stream to the next non-ignored token.\n */\n\n advance() {\n this.lastToken = this.token;\n const token = (this.token = this.lookahead());\n return token;\n }\n /**\n * Looks ahead and returns the next non-ignored token, but does not change\n * the state of Lexer.\n */\n\n lookahead() {\n let token = this.token;\n\n if (token.kind !== TokenKind.EOF) {\n do {\n if (token.next) {\n token = token.next;\n } else {\n // Read the next token and form a link in the token linked-list.\n const nextToken = readNextToken(this, token.end); // @ts-expect-error next is only mutable during parsing.\n\n token.next = nextToken; // @ts-expect-error prev is only mutable during parsing.\n\n nextToken.prev = token;\n token = nextToken;\n }\n } while (token.kind === TokenKind.COMMENT);\n }\n\n return token;\n }\n}\n/**\n * @internal\n */\n\nexport function isPunctuatorTokenKind(kind) {\n return (\n kind === TokenKind.BANG ||\n kind === TokenKind.DOLLAR ||\n kind === TokenKind.AMP ||\n kind === TokenKind.PAREN_L ||\n kind === TokenKind.PAREN_R ||\n kind === TokenKind.SPREAD ||\n kind === TokenKind.COLON ||\n kind === TokenKind.EQUALS ||\n kind === TokenKind.AT ||\n kind === TokenKind.BRACKET_L ||\n kind === TokenKind.BRACKET_R ||\n kind === TokenKind.BRACE_L ||\n kind === TokenKind.PIPE ||\n kind === TokenKind.BRACE_R\n );\n}\n/**\n * A Unicode scalar value is any Unicode code point except surrogate code\n * points. In other words, the inclusive ranges of values 0x0000 to 0xD7FF and\n * 0xE000 to 0x10FFFF.\n *\n * SourceCharacter ::\n * - \"Any Unicode scalar value\"\n */\n\nfunction isUnicodeScalarValue(code) {\n return (\n (code >= 0x0000 && code <= 0xd7ff) || (code >= 0xe000 && code <= 0x10ffff)\n );\n}\n/**\n * The GraphQL specification defines source text as a sequence of unicode scalar\n * values (which Unicode defines to exclude surrogate code points). However\n * JavaScript defines strings as a sequence of UTF-16 code units which may\n * include surrogates. A surrogate pair is a valid source character as it\n * encodes a supplementary code point (above U+FFFF), but unpaired surrogate\n * code points are not valid source characters.\n */\n\nfunction isSupplementaryCodePoint(body, location) {\n return (\n isLeadingSurrogate(body.charCodeAt(location)) &&\n isTrailingSurrogate(body.charCodeAt(location + 1))\n );\n}\n\nfunction isLeadingSurrogate(code) {\n return code >= 0xd800 && code <= 0xdbff;\n}\n\nfunction isTrailingSurrogate(code) {\n return code >= 0xdc00 && code <= 0xdfff;\n}\n/**\n * Prints the code point (or end of file reference) at a given location in a\n * source for use in error messages.\n *\n * Printable ASCII is printed quoted, while other points are printed in Unicode\n * code point form (ie. U+1234).\n */\n\nfunction printCodePointAt(lexer, location) {\n const code = lexer.source.body.codePointAt(location);\n\n if (code === undefined) {\n return TokenKind.EOF;\n } else if (code >= 0x0020 && code <= 0x007e) {\n // Printable ASCII\n const char = String.fromCodePoint(code);\n return char === '\"' ? \"'\\\"'\" : `\"${char}\"`;\n } // Unicode code point\n\n return 'U+' + code.toString(16).toUpperCase().padStart(4, '0');\n}\n/**\n * Create a token with line and column location information.\n */\n\nfunction createToken(lexer, kind, start, end, value) {\n const line = lexer.line;\n const col = 1 + start - lexer.lineStart;\n return new Token(kind, start, end, line, col, value);\n}\n/**\n * Gets the next token from the source starting at the given position.\n *\n * This skips over whitespace until it finds the next lexable token, then lexes\n * punctuators immediately or calls the appropriate helper function for more\n * complicated tokens.\n */\n\nfunction readNextToken(lexer, start) {\n const body = lexer.source.body;\n const bodyLength = body.length;\n let position = start;\n\n while (position < bodyLength) {\n const code = body.charCodeAt(position); // SourceCharacter\n\n switch (code) {\n // Ignored ::\n // - UnicodeBOM\n // - WhiteSpace\n // - LineTerminator\n // - Comment\n // - Comma\n //\n // UnicodeBOM :: \"Byte Order Mark (U+FEFF)\"\n //\n // WhiteSpace ::\n // - \"Horizontal Tab (U+0009)\"\n // - \"Space (U+0020)\"\n //\n // Comma :: ,\n case 0xfeff: // <BOM>\n\n case 0x0009: // \\t\n\n case 0x0020: // <space>\n\n case 0x002c:\n // ,\n ++position;\n continue;\n // LineTerminator ::\n // - \"New Line (U+000A)\"\n // - \"Carriage Return (U+000D)\" [lookahead != \"New Line (U+000A)\"]\n // - \"Carriage Return (U+000D)\" \"New Line (U+000A)\"\n\n case 0x000a:\n // \\n\n ++position;\n ++lexer.line;\n lexer.lineStart = position;\n continue;\n\n case 0x000d:\n // \\r\n if (body.charCodeAt(position + 1) === 0x000a) {\n position += 2;\n } else {\n ++position;\n }\n\n ++lexer.line;\n lexer.lineStart = position;\n continue;\n // Comment\n\n case 0x0023:\n // #\n return readComment(lexer, position);\n // Token ::\n // - Punctuator\n // - Name\n // - IntValue\n // - FloatValue\n // - StringValue\n //\n // Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | }\n\n case 0x0021:\n // !\n return createToken(lexer, TokenKind.BANG, position, position + 1);\n\n case 0x0024:\n // $\n return createToken(lexer, TokenKind.DOLLAR, position, position + 1);\n\n case 0x0026:\n // &\n return createToken(lexer, TokenKind.AMP, position, position + 1);\n\n case 0x0028:\n // (\n return createToken(lexer, TokenKind.PAREN_L, position, position + 1);\n\n case 0x0029:\n // )\n return createToken(lexer, TokenKind.PAREN_R, position, position + 1);\n\n case 0x002e:\n // .\n if (\n body.charCodeAt(position + 1) === 0x002e &&\n body.charCodeAt(position + 2) === 0x002e\n ) {\n return createToken(lexer, TokenKind.SPREAD, position, position + 3);\n }\n\n break;\n\n case 0x003a:\n // :\n return createToken(lexer, TokenKind.COLON, position, position + 1);\n\n case 0x003d:\n // =\n return createToken(lexer, TokenKind.EQUALS, position, position + 1);\n\n case 0x0040:\n // @\n return createToken(lexer, TokenKind.AT, position, position + 1);\n\n case 0x005b:\n // [\n return createToken(lexer, TokenKind.BRACKET_L, position, position + 1);\n\n case 0x005d:\n // ]\n return createToken(lexer, TokenKind.BRACKET_R, position, position + 1);\n\n case 0x007b:\n // {\n return createToken(lexer, TokenKind.BRACE_L, position, position + 1);\n\n case 0x007c:\n // |\n return createToken(lexer, TokenKind.PIPE, position, position + 1);\n\n case 0x007d:\n // }\n return createToken(lexer, TokenKind.BRACE_R, position, position + 1);\n // StringValue\n\n case 0x0022:\n // \"\n if (\n body.charCodeAt(position + 1) === 0x0022 &&\n body.charCodeAt(position + 2) === 0x0022\n ) {\n return readBlockString(lexer, position);\n }\n\n return readString(lexer, position);\n } // IntValue | FloatValue (Digit | -)\n\n if (isDigit(code) || code === 0x002d) {\n return readNumber(lexer, position, code);\n } // Name\n\n if (isNameStart(code)) {\n return readName(lexer, position);\n }\n\n throw syntaxError(\n lexer.source,\n position,\n code === 0x0027\n ? 'Unexpected single quote character (\\'), did you mean to use a double quote (\")?'\n : isUnicodeScalarValue(code) || isSupplementaryCodePoint(body, position)\n ? `Unexpected character: ${printCodePointAt(lexer, position)}.`\n : `Invalid character: ${printCodePointAt(lexer, position)}.`,\n );\n }\n\n return createToken(lexer, TokenKind.EOF, bodyLength, bodyLength);\n}\n/**\n * Reads a comment token from the source file.\n *\n * ```\n * Comment :: # CommentChar* [lookahead != CommentChar]\n *\n * CommentChar :: SourceCharacter but not LineTerminator\n * ```\n */\n\nfunction readComment(lexer, start) {\n const body = lexer.source.body;\n const bodyLength = body.length;\n let position = start + 1;\n\n while (position < bodyLength) {\n const code = body.charCodeAt(position); // LineTerminator (\\n | \\r)\n\n if (code === 0x000a || code === 0x000d) {\n break;\n } // SourceCharacter\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n break;\n }\n }\n\n return createToken(\n lexer,\n TokenKind.COMMENT,\n start,\n position,\n body.slice(start + 1, position),\n );\n}\n/**\n * Reads a number token from the source file, either a FloatValue or an IntValue\n * depending on whether a FractionalPart or ExponentPart is encountered.\n *\n * ```\n * IntValue :: IntegerPart [lookahead != {Digit, `.`, NameStart}]\n *\n * IntegerPart ::\n * - NegativeSign? 0\n * - NegativeSign? NonZeroDigit Digit*\n *\n * NegativeSign :: -\n *\n * NonZeroDigit :: Digit but not `0`\n *\n * FloatValue ::\n * - IntegerPart FractionalPart ExponentPart [lookahead != {Digit, `.`, NameStart}]\n * - IntegerPart FractionalPart [lookahead != {Digit, `.`, NameStart}]\n * - IntegerPart ExponentPart [lookahead != {Digit, `.`, NameStart}]\n *\n * FractionalPart :: . Digit+\n *\n * ExponentPart :: ExponentIndicator Sign? Digit+\n *\n * ExponentIndicator :: one of `e` `E`\n *\n * Sign :: one of + -\n * ```\n */\n\nfunction readNumber(lexer, start, firstCode) {\n const body = lexer.source.body;\n let position = start;\n let code = firstCode;\n let isFloat = false; // NegativeSign (-)\n\n if (code === 0x002d) {\n code = body.charCodeAt(++position);\n } // Zero (0)\n\n if (code === 0x0030) {\n code = body.charCodeAt(++position);\n\n if (isDigit(code)) {\n throw syntaxError(\n lexer.source,\n position,\n `Invalid number, unexpected digit after 0: ${printCodePointAt(\n lexer,\n position,\n )}.`,\n );\n }\n } else {\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // Full stop (.)\n\n if (code === 0x002e) {\n isFloat = true;\n code = body.charCodeAt(++position);\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // E e\n\n if (code === 0x0045 || code === 0x0065) {\n isFloat = true;\n code = body.charCodeAt(++position); // + -\n\n if (code === 0x002b || code === 0x002d) {\n code = body.charCodeAt(++position);\n }\n\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // Numbers cannot be followed by . or NameStart\n\n if (code === 0x002e || isNameStart(code)) {\n throw syntaxError(\n lexer.source,\n position,\n `Invalid number, expected digit but got: ${printCodePointAt(\n lexer,\n position,\n )}.`,\n );\n }\n\n return createToken(\n lexer,\n isFloat ? TokenKind.FLOAT : TokenKind.INT,\n start,\n position,\n body.slice(start, position),\n );\n}\n/**\n * Returns the new position in the source after reading one or more digits.\n */\n\nfunction readDigits(lexer, start, firstCode) {\n if (!isDigit(firstCode)) {\n throw syntaxError(\n lexer.source,\n start,\n `Invalid number, expected digit but got: ${printCodePointAt(\n lexer,\n start,\n )}.`,\n );\n }\n\n const body = lexer.source.body;\n let position = start + 1; // +1 to skip first firstCode\n\n while (isDigit(body.charCodeAt(position))) {\n ++position;\n }\n\n return position;\n}\n/**\n * Reads a single-quote string token from the source file.\n *\n * ```\n * StringValue ::\n * - `\"\"` [lookahead != `\"`]\n * - `\"` StringCharacter+ `\"`\n *\n * StringCharacter ::\n * - SourceCharacter but not `\"` or `\\` or LineTerminator\n * - `\\u` EscapedUnicode\n * - `\\` EscapedCharacter\n *\n * EscapedUnicode ::\n * - `{` HexDigit+ `}`\n * - HexDigit HexDigit HexDigit HexDigit\n *\n * EscapedCharacter :: one of `\"` `\\` `/` `b` `f` `n` `r` `t`\n * ```\n */\n\nfunction readString(lexer, start) {\n const body = lexer.source.body;\n const bodyLength = body.length;\n let position = start + 1;\n let chunkStart = position;\n let value = '';\n\n while (position < bodyLength) {\n const code = body.charCodeAt(position); // Closing Quote (\")\n\n if (code === 0x0022) {\n value += body.slice(chunkStart, position);\n return createToken(lexer, TokenKind.STRING, start, position + 1, value);\n } // Escape Sequence (\\)\n\n if (code === 0x005c) {\n value += body.slice(chunkStart, position);\n const escape =\n body.charCodeAt(position + 1) === 0x0075 // u\n ? body.charCodeAt(position + 2) === 0x007b // {\n ? readEscapedUnicodeVariableWidth(lexer, position)\n : readEscapedUnicodeFixedWidth(lexer, position)\n : readEscapedCharacter(lexer, position);\n value += escape.value;\n position += escape.size;\n chunkStart = position;\n continue;\n } // LineTerminator (\\n | \\r)\n\n if (code === 0x000a || code === 0x000d) {\n break;\n } // SourceCharacter\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n throw syntaxError(\n lexer.source,\n position,\n `Invalid character within String: ${printCodePointAt(\n lexer,\n position,\n )}.`,\n );\n }\n }\n\n throw syntaxError(lexer.source, position, 'Unterminated string.');\n} // The string value and lexed size of an escape sequence.\n\nfunction readEscapedUnicodeVariableWidth(lexer, position) {\n const body = lexer.source.body;\n let point = 0;\n let size = 3; // Cannot be larger than 12 chars (\\u{00000000}).\n\n while (size < 12) {\n const code = body.charCodeAt(position + size++); // Closing Brace (})\n\n if (code === 0x007d) {\n // Must be at least 5 chars (\\u{0}) and encode a Unicode scalar value.\n if (size < 5 || !isUnicodeScalarValue(point)) {\n break;\n }\n\n return {\n value: String.fromCodePoint(point),\n size,\n };\n } // Append this hex digit to the code point.\n\n point = (point << 4) | readHexDigit(code);\n\n if (point < 0) {\n break;\n }\n }\n\n throw syntaxError(\n lexer.source,\n position,\n `Invalid Unicode escape sequence: \"${body.slice(\n position,\n position + size,\n )}\".`,\n );\n}\n\nfunction readEscapedUnicodeFixedWidth(lexer, position) {\n const body = lexer.source.body;\n const code = read16BitHexCode(body, position + 2);\n\n if (isUnicodeScalarValue(code)) {\n return {\n value: String.fromCodePoint(code),\n size: 6,\n };\n } // GraphQL allows JSON-style surrogate pair escape sequences, but only when\n // a valid pair is formed.\n\n if (isLeadingSurrogate(code)) {\n // \\u\n if (\n body.charCodeAt(position + 6) === 0x005c &&\n body.charCodeAt(position + 7) === 0x0075\n ) {\n const trailingCode = read16BitHexCode(body, position + 8);\n\n if (isTrailingSurrogate(trailingCode)) {\n // JavaScript defines strings as a sequence of UTF-16 code units and\n // encodes Unicode code points above U+FFFF using a surrogate pair of\n // code units. Since this is a surrogate pair escape sequence, just\n // include both codes into the JavaScript string value. Had JavaScript\n // not been internally based on UTF-16, then this surrogate pair would\n // be decoded to retrieve the supplementary code point.\n return {\n value: String.fromCodePoint(code, trailingCode),\n size: 12,\n };\n }\n }\n }\n\n throw syntaxError(\n lexer.source,\n position,\n `Invalid Unicode escape sequence: \"${body.slice(position, position + 6)}\".`,\n );\n}\n/**\n * Reads four hexadecimal characters and returns the positive integer that 16bit\n * hexadecimal string represents. For example, \"000f\" will return 15, and \"dead\"\n * will return 57005.\n *\n * Returns a negative number if any char was not a valid hexadecimal digit.\n */\n\nfunction read16BitHexCode(body, position) {\n // readHexDigit() returns -1 on error. ORing a negative value with any other\n // value always produces a negative value.\n return (\n (readHexDigit(body.charCodeAt(position)) << 12) |\n (readHexDigit(body.charCodeAt(position + 1)) << 8) |\n (readHexDigit(body.charCodeAt(position + 2)) << 4) |\n readHexDigit(body.charCodeAt(position + 3))\n );\n}\n/**\n * Reads a hexadecimal character and returns its positive integer value (0-15).\n *\n * '0' becomes 0, '9' becomes 9\n * 'A' becomes 10, 'F' becomes 15\n * 'a' becomes 10, 'f' becomes 15\n *\n * Returns -1 if the provided character code was not a valid hexadecimal digit.\n *\n * HexDigit :: one of\n * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`\n * - `A` `B` `C` `D` `E` `F`\n * - `a` `b` `c` `d` `e` `f`\n */\n\nfunction readHexDigit(code) {\n return code >= 0x0030 && code <= 0x0039 // 0-9\n ? code - 0x0030\n : code >= 0x0041 && code <= 0x0046 // A-F\n ? code - 0x0037\n : code >= 0x0061 && code <= 0x0066 // a-f\n ? code - 0x0057\n : -1;\n}\n/**\n * | Escaped Character | Code Point | Character Name |\n * | ----------------- | ---------- | ---------------------------- |\n * | `\"` | U+0022 | double quote |\n * | `\\` | U+005C | reverse solidus (back slash) |\n * | `/` | U+002F | solidus (forward slash) |\n * | `b` | U+0008 | backspace |\n * | `f` | U+000C | form feed |\n * | `n` | U+000A | line feed (new line) |\n * | `r` | U+000D | carriage return |\n * | `t` | U+0009 | horizontal tab |\n */\n\nfunction readEscapedCharacter(lexer, position) {\n const body = lexer.source.body;\n const code = body.charCodeAt(position + 1);\n\n switch (code) {\n case 0x0022:\n // \"\n return {\n value: '\\u0022',\n size: 2,\n };\n\n case 0x005c:\n // \\\n return {\n value: '\\u005c',\n size: 2,\n };\n\n case 0x002f:\n // /\n return {\n value: '\\u002f',\n size: 2,\n };\n\n case 0x0062:\n // b\n return {\n value: '\\u0008',\n size: 2,\n };\n\n case 0x0066:\n // f\n return {\n value: '\\u000c',\n size: 2,\n };\n\n case 0x006e:\n // n\n return {\n value: '\\u000a',\n size: 2,\n };\n\n case 0x0072:\n // r\n return {\n value: '\\u000d',\n size: 2,\n };\n\n case 0x0074:\n // t\n return {\n value: '\\u0009',\n size: 2,\n };\n }\n\n throw syntaxError(\n lexer.source,\n position,\n `Invalid character escape sequence: \"${body.slice(\n position,\n position + 2,\n )}\".`,\n );\n}\n/**\n * Reads a block string token from the source file.\n *\n * ```\n * StringValue ::\n * - `\"\"\"` BlockStringCharacter* `\"\"\"`\n *\n * BlockStringCharacter ::\n * - SourceCharacter but not `\"\"\"` or `\\\"\"\"`\n * - `\\\"\"\"`\n * ```\n */\n\nfunction readBlockString(lexer, start) {\n const body = lexer.source.body;\n const bodyLength = body.length;\n let lineStart = lexer.lineStart;\n let position = start + 3;\n let chunkStart = position;\n let currentLine = '';\n const blockLines = [];\n\n while (position < bodyLength) {\n const code = body.charCodeAt(position); // Closing Triple-Quote (\"\"\")\n\n if (\n code === 0x0022 &&\n body.charCodeAt(position + 1) === 0x0022 &&\n body.charCodeAt(position + 2) === 0x0022\n ) {\n currentLine += body.slice(chunkStart, position);\n blockLines.push(currentLine);\n const token = createToken(\n lexer,\n TokenKind.BLOCK_STRING,\n start,\n position + 3, // Return a string of the lines joined with U+000A.\n dedentBlockStringLines(blockLines).join('\\n'),\n );\n lexer.line += blockLines.length - 1;\n lexer.lineStart = lineStart;\n return token;\n } // Escaped Triple-Quote (\\\"\"\")\n\n if (\n code === 0x005c &&\n body.charCodeAt(position + 1) === 0x0022 &&\n body.charCodeAt(position + 2) === 0x0022 &&\n body.charCodeAt(position + 3) === 0x0022\n ) {\n currentLine += body.slice(chunkStart, position);\n chunkStart = position + 1; // skip only slash\n\n position += 4;\n continue;\n } // LineTerminator\n\n if (code === 0x000a || code === 0x000d) {\n currentLine += body.slice(chunkStart, position);\n blockLines.push(currentLine);\n\n if (code === 0x000d && body.charCodeAt(position + 1) === 0x000a) {\n position += 2;\n } else {\n ++position;\n }\n\n currentLine = '';\n chunkStart = position;\n lineStart = position;\n continue;\n } // SourceCharacter\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n throw syntaxError(\n lexer.source,\n position,\n `Invalid character within String: ${printCodePointAt(\n lexer,\n position,\n )}.`,\n );\n }\n }\n\n throw syntaxError(lexer.source, position, 'Unterminated string.');\n}\n/**\n * Reads an alphanumeric + underscore name from the source.\n *\n * ```\n * Name ::\n * - NameStart NameContinue* [lookahead != NameContinue]\n * ```\n */\n\nfunction readName(lexer, start) {\n const body = lexer.source.body;\n const bodyLength = body.length;\n let position = start + 1;\n\n while (position < bodyLength) {\n const code = body.charCodeAt(position);\n\n if (isNameContinue(code)) {\n ++position;\n } else {\n break;\n }\n }\n\n return createToken(\n lexer,\n TokenKind.NAME,\n start,\n position,\n body.slice(start, position),\n );\n}\n","const MAX_ARRAY_LENGTH = 10;\nconst MAX_RECURSIVE_DEPTH = 2;\n/**\n * Used to print values in error messages.\n */\n\nexport function inspect(value) {\n return formatValue(value, []);\n}\n\nfunction formatValue(value, seenValues) {\n switch (typeof value) {\n case 'string':\n return JSON.stringify(value);\n\n case 'function':\n return value.name ? `[function ${value.name}]` : '[function]';\n\n case 'object':\n return formatObjectValue(value, seenValues);\n\n default:\n return String(value);\n }\n}\n\nfunction formatObjectValue(value, previouslySeenValues) {\n if (value === null) {\n return 'null';\n }\n\n if (previouslySeenValues.includes(value)) {\n return '[Circular]';\n }\n\n const seenValues = [...previouslySeenValues, value];\n\n if (isJSONable(value)) {\n const jsonValue = value.toJSON(); // check for infinite recursion\n\n if (jsonValue !== value) {\n return typeof jsonValue === 'string'\n ? jsonValue\n : formatValue(jsonValue, seenValues);\n }\n } else if (Array.isArray(value)) {\n return formatArray(value, seenValues);\n }\n\n return formatObject(value, seenValues);\n}\n\nfunction isJSONable(value) {\n return typeof value.toJSON === 'function';\n}\n\nfunction formatObject(object, seenValues) {\n const entries = Object.entries(object);\n\n if (entries.length === 0) {\n return '{}';\n }\n\n if (seenValues.length > MAX_RECURSIVE_DEPTH) {\n return '[' + getObjectTag(object) + ']';\n }\n\n const properties = entries.map(\n ([key, value]) => key + ': ' + formatValue(value, seenValues),\n );\n return '{ ' + properties.join(', ') + ' }';\n}\n\nfunction formatArray(array, seenValues) {\n if (array.length === 0) {\n return '[]';\n }\n\n if (seenValues.length > MAX_RECURSIVE_DEPTH) {\n return '[Array]';\n }\n\n const len = Math.min(MAX_ARRAY_LENGTH, array.length);\n const remaining = array.length - len;\n const items = [];\n\n for (let i = 0; i < len; ++i) {\n items.push(formatValue(array[i], seenValues));\n }\n\n if (remaining === 1) {\n items.push('... 1 more item');\n } else if (remaining > 1) {\n items.push(`... ${remaining} more items`);\n }\n\n return '[' + items.join(', ') + ']';\n}\n\nfunction getObjectTag(object) {\n const tag = Object.prototype.toString\n .call(object)\n .replace(/^\\[object /, '')\n .replace(/]$/, '');\n\n if (tag === 'Object' && typeof object.constructor === 'function') {\n const name = object.constructor.name;\n\n if (typeof name === 'string' && name !== '') {\n return name;\n }\n }\n\n return tag;\n}\n","import { inspect } from './inspect.mjs';\n/**\n * A replacement for instanceof which includes an error warning when multi-realm\n * constructors are detected.\n * See: https://expressjs.com/en/advanced/best-practice-performance.html#set-node_env-to-production\n * See: https://webpack.js.org/guides/production/\n */\n\nexport const instanceOf =\n /* c8 ignore next 6 */\n // FIXME: https://github.com/graphql/graphql-js/issues/2317\n // eslint-disable-next-line no-undef\n process.env.NODE_ENV === 'production'\n ? function instanceOf(value, constructor) {\n return value instanceof constructor;\n }\n : function instanceOf(value, constructor) {\n if (value instanceof constructor) {\n return true;\n }\n\n if (typeof value === 'object' && value !== null) {\n var _value$constructor;\n\n // Prefer Symbol.toStringTag since it is immune to minification.\n const className = constructor.prototype[Symbol.toStringTag];\n const valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.\n Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009\n ? value[Symbol.toStringTag]\n : (_value$constructor = value.constructor) === null ||\n _value$constructor === void 0\n ? void 0\n : _value$constructor.name;\n\n if (className === valueClassName) {\n const stringifiedValue = inspect(value);\n throw new Error(`Cannot use ${className} \"${stringifiedValue}\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`);\n }\n }\n\n return false;\n };\n","import { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { instanceOf } from '../jsutils/instanceOf.mjs';\n\n/**\n * A representation of source input to GraphQL. The `name` and `locationOffset` parameters are\n * optional, but they are useful for clients who store GraphQL documents in source files.\n * For example, if the GraphQL input starts at line 40 in a file named `Foo.graphql`, it might\n * be useful for `name` to be `\"Foo.graphql\"` and location to be `{ line: 40, column: 1 }`.\n * The `line` and `column` properties in `locationOffset` are 1-indexed.\n */\nexport class Source {\n constructor(\n body,\n name = 'GraphQL request',\n locationOffset = {\n line: 1,\n column: 1,\n },\n ) {\n typeof body === 'string' ||\n devAssert(false, `Body must be a string. Received: ${inspect(body)}.`);\n this.body = body;\n this.name = name;\n this.locationOffset = locationOffset;\n this.locationOffset.line > 0 ||\n devAssert(\n false,\n 'line in locationOffset is 1-indexed and must be positive.',\n );\n this.locationOffset.column > 0 ||\n devAssert(\n false,\n 'column in locationOffset is 1-indexed and must be positive.',\n );\n }\n\n get [Symbol.toStringTag]() {\n return 'Source';\n }\n}\n/**\n * Test if the given value is a Source object.\n *\n * @internal\n */\n\nexport function isSource(source) {\n return instanceOf(source, Source);\n}\n","import { syntaxError } from '../error/syntaxError.mjs';\nimport { Location, OperationTypeNode } from './ast.mjs';\nimport { DirectiveLocation } from './directiveLocation.mjs';\nimport { Kind } from './kinds.mjs';\nimport { isPunctuatorTokenKind, Lexer } from './lexer.mjs';\nimport { isSource, Source } from './source.mjs';\nimport { TokenKind } from './tokenKind.mjs';\n/**\n * Configuration options to control parser behavior\n */\n\n/**\n * Given a GraphQL source, parses it into a Document.\n * Throws GraphQLError if a syntax error is encountered.\n */\nexport function parse(source, options) {\n const parser = new Parser(source, options);\n return parser.parseDocument();\n}\n/**\n * Given a string containing a GraphQL value (ex. `[42]`), parse the AST for\n * that value.\n * Throws GraphQLError if a syntax error is encountered.\n *\n * This is useful within tools that operate upon GraphQL Values directly and\n * in isolation of complete GraphQL documents.\n *\n * Consider providing the results to the utility function: valueFromAST().\n */\n\nexport function parseValue(source, options) {\n const parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n const value = parser.parseValueLiteral(false);\n parser.expectToken(TokenKind.EOF);\n return value;\n}\n/**\n * Similar to parseValue(), but raises a parse error if it encounters a\n * variable. The return type will be a constant value.\n */\n\nexport function parseConstValue(source, options) {\n const parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n const value = parser.parseConstValueLiteral();\n parser.expectToken(TokenKind.EOF);\n return value;\n}\n/**\n * Given a string containing a GraphQL Type (ex. `[Int!]`), parse the AST for\n * that type.\n * Throws GraphQLError if a syntax error is encountered.\n *\n * This is useful within tools that operate upon GraphQL Types directly and\n * in isolation of complete GraphQL documents.\n *\n * Consider providing the results to the utility function: typeFromAST().\n */\n\nexport function parseType(source, options) {\n const parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n const type = parser.parseTypeReference();\n parser.expectToken(TokenKind.EOF);\n return type;\n}\n/**\n * This class is exported only to assist people in implementing their own parsers\n * without duplicating too much code and should be used only as last resort for cases\n * such as experimental syntax or if certain features could not be contributed upstream.\n *\n * It is still part of the internal API and is versioned, so any changes to it are never\n * considered breaking changes. If you still need to support multiple versions of the\n * library, please use the `versionInfo` variable for version detection.\n *\n * @internal\n */\n\nexport class Parser {\n constructor(source, options = {}) {\n const sourceObj = isSource(source) ? source : new Source(source);\n this._lexer = new Lexer(sourceObj);\n this._options = options;\n this._tokenCounter = 0;\n }\n /**\n * Converts a name lex token into a name parse node.\n */\n\n parseName() {\n const token = this.expectToken(TokenKind.NAME);\n return this.node(token, {\n kind: Kind.NAME,\n value: token.value,\n });\n } // Implements the parsing rules in the Document section.\n\n /**\n * Document : Definition+\n */\n\n parseDocument() {\n return this.node(this._lexer.token, {\n kind: Kind.DOCUMENT,\n definitions: this.many(\n TokenKind.SOF,\n this.parseDefinition,\n TokenKind.EOF,\n ),\n });\n }\n /**\n * Definition :\n * - ExecutableDefinition\n * - TypeSystemDefinition\n * - TypeSystemExtension\n *\n * ExecutableDefinition :\n * - OperationDefinition\n * - FragmentDefinition\n *\n * TypeSystemDefinition :\n * - SchemaDefinition\n * - TypeDefinition\n * - DirectiveDefinition\n *\n * TypeDefinition :\n * - ScalarTypeDefinition\n * - ObjectTypeDefinition\n * - InterfaceTypeDefinition\n * - UnionTypeDefinition\n * - EnumTypeDefinition\n * - InputObjectTypeDefinition\n */\n\n parseDefinition() {\n if (this.peek(TokenKind.BRACE_L)) {\n return this.parseOperationDefinition();\n } // Many definitions begin with a description and require a lookahead.\n\n const hasDescription = this.peekDescription();\n const keywordToken = hasDescription\n ? this._lexer.lookahead()\n : this._lexer.token;\n\n if (keywordToken.kind === TokenKind.NAME) {\n switch (keywordToken.value) {\n case 'schema':\n return this.parseSchemaDefinition();\n\n case 'scalar':\n return this.parseScalarTypeDefinition();\n\n case 'type':\n return this.parseObjectTypeDefinition();\n\n case 'interface':\n return this.parseInterfaceTypeDefinition();\n\n case 'union':\n return this.parseUnionTypeDefinition();\n\n case 'enum':\n return this.parseEnumTypeDefinition();\n\n case 'input':\n return this.parseInputObjectTypeDefinition();\n\n case 'directive':\n return this.parseDirectiveDefinition();\n }\n\n if (hasDescription) {\n throw syntaxError(\n this._lexer.source,\n this._lexer.token.start,\n 'Unexpected description, descriptions are supported only on type definitions.',\n );\n }\n\n switch (keywordToken.value) {\n case 'query':\n case 'mutation':\n case 'subscription':\n return this.parseOperationDefinition();\n\n case 'fragment':\n return this.parseFragmentDefinition();\n\n case 'extend':\n return this.parseTypeSystemExtension();\n }\n }\n\n throw this.unexpected(keywordToken);\n } // Implements the parsing rules in the Operations section.\n\n /**\n * OperationDefinition :\n * - SelectionSet\n * - OperationType Name? VariableDefinitions? Directives? SelectionSet\n */\n\n parseOperationDefinition() {\n const start = this._lexer.token;\n\n if (this.peek(TokenKind.BRACE_L)) {\n return this.node(start, {\n kind: Kind.OPERATION_DEFINITION,\n operation: OperationTypeNode.QUERY,\n name: undefined,\n variableDefinitions: [],\n directives: [],\n selectionSet: this.parseSelectionSet(),\n });\n }\n\n const operation = this.parseOperationType();\n let name;\n\n if (this.peek(TokenKind.NAME)) {\n name = this.parseName();\n }\n\n return this.node(start, {\n kind: Kind.OPERATION_DEFINITION,\n operation,\n name,\n variableDefinitions: this.parseVariableDefinitions(),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet(),\n });\n }\n /**\n * OperationType : one of query mutation subscription\n */\n\n parseOperationType() {\n const operationToken = this.expectToken(TokenKind.NAME);\n\n switch (operationToken.value) {\n case 'query':\n return OperationTypeNode.QUERY;\n\n case 'mutation':\n return OperationTypeNode.MUTATION;\n\n case 'subscription':\n return OperationTypeNode.SUBSCRIPTION;\n }\n\n throw this.unexpected(operationToken);\n }\n /**\n * VariableDefinitions : ( VariableDefinition+ )\n */\n\n parseVariableDefinitions() {\n return this.optionalMany(\n TokenKind.PAREN_L,\n this.parseVariableDefinition,\n TokenKind.PAREN_R,\n );\n }\n /**\n * VariableDefinition : Variable : Type DefaultValue? Directives[Const]?\n */\n\n parseVariableDefinition() {\n return this.node(this._lexer.token, {\n kind: Kind.VARIABLE_DEFINITION,\n variable: this.parseVariable(),\n type: (this.expectToken(TokenKind.COLON), this.parseTypeReference()),\n defaultValue: this.expectOptionalToken(TokenKind.EQUALS)\n ? this.parseConstValueLiteral()\n : undefined,\n directives: this.parseConstDirectives(),\n });\n }\n /**\n * Variable : $ Name\n */\n\n parseVariable() {\n const start = this._lexer.token;\n this.expectToken(TokenKind.DOLLAR);\n return this.node(start, {\n kind: Kind.VARIABLE,\n name: this.parseName(),\n });\n }\n /**\n * ```\n * SelectionSet : { Selection+ }\n * ```\n */\n\n parseSelectionSet() {\n return this.node(this._lexer.token, {\n kind: Kind.SELECTION_SET,\n selections: this.many(\n TokenKind.BRACE_L,\n this.parseSelection,\n TokenKind.BRACE_R,\n ),\n });\n }\n /**\n * Selection :\n * - Field\n * - FragmentSpread\n * - InlineFragment\n */\n\n parseSelection() {\n return this.peek(TokenKind.SPREAD)\n ? this.parseFragment()\n : this.parseField();\n }\n /**\n * Field : Alias? Name Arguments? Directives? SelectionSet?\n *\n * Alias : Name :\n */\n\n parseField() {\n const start = this._lexer.token;\n const nameOrAlias = this.parseName();\n let alias;\n let name;\n\n if (this.expectOptionalToken(TokenKind.COLON)) {\n alias = nameOrAlias;\n name = this.parseName();\n } else {\n name = nameOrAlias;\n }\n\n return this.node(start, {\n kind: Kind.FIELD,\n alias,\n name,\n arguments: this.parseArguments(false),\n directives: this.parseDirectives(false),\n selectionSet: this.peek(TokenKind.BRACE_L)\n ? this.parseSelectionSet()\n : undefined,\n });\n }\n /**\n * Arguments[Const] : ( Argument[?Const]+ )\n */\n\n parseArguments(isConst) {\n const item = isConst ? this.parseConstArgument : this.parseArgument;\n return this.optionalMany(TokenKind.PAREN_L, item, TokenKind.PAREN_R);\n }\n /**\n * Argument[Const] : Name : Value[?Const]\n */\n\n parseArgument(isConst = false) {\n const start = this._lexer.token;\n const name = this.parseName();\n this.expectToken(TokenKind.COLON);\n return this.node(start, {\n kind: Kind.ARGUMENT,\n name,\n value: this.parseValueLiteral(isConst),\n });\n }\n\n parseConstArgument() {\n return this.parseArgument(true);\n } // Implements the parsing rules in the Fragments section.\n\n /**\n * Corresponds to both FragmentSpread and InlineFragment in the spec.\n *\n * FragmentSpread : ... FragmentName Directives?\n *\n * InlineFragment : ... TypeCondition? Directives? SelectionSet\n */\n\n parseFragment() {\n const start = this._lexer.token;\n this.expectToken(TokenKind.SPREAD);\n const hasTypeCondition = this.expectOptionalKeyword('on');\n\n if (!hasTypeCondition && this.peek(TokenKind.NAME)) {\n return this.node(start, {\n kind: Kind.FRAGMENT_SPREAD,\n name: this.parseFragmentName(),\n directives: this.parseDirectives(false),\n });\n }\n\n return this.node(start, {\n kind: Kind.INLINE_FRAGMENT,\n typeCondition: hasTypeCondition ? this.parseNamedType() : undefined,\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet(),\n });\n }\n /**\n * FragmentDefinition :\n * - fragment FragmentName on TypeCondition Directives? SelectionSet\n *\n * TypeCondition : NamedType\n */\n\n parseFragmentDefinition() {\n const start = this._lexer.token;\n this.expectKeyword('fragment'); // Legacy support for defining variables within fragments changes\n // the grammar of FragmentDefinition:\n // - fragment FragmentName VariableDefinitions? on TypeCondition Directives? SelectionSet\n\n if (this._options.allowLegacyFragmentVariables === true) {\n return this.node(start, {\n kind: Kind.FRAGMENT_DEFINITION,\n name: this.parseFragmentName(),\n variableDefinitions: this.parseVariableDefinitions(),\n typeCondition: (this.expectKeyword('on'), this.parseNamedType()),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet(),\n });\n }\n\n return this.node(start, {\n kind: Kind.FRAGMENT_DEFINITION,\n name: this.parseFragmentName(),\n typeCondition: (this.expectKeyword('on'), this.parseNamedType()),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet(),\n });\n }\n /**\n * FragmentName : Name but not `on`\n */\n\n parseFragmentName() {\n if (this._lexer.token.value === 'on') {\n throw this.unexpected();\n }\n\n return this.parseName();\n } // Implements the parsing rules in the Values section.\n\n /**\n * Value[Const] :\n * - [~Const] Variable\n * - IntValue\n * - FloatValue\n * - StringValue\n * - BooleanValue\n * - NullValue\n * - EnumValue\n * - ListValue[?Const]\n * - ObjectValue[?Const]\n *\n * BooleanValue : one of `true` `false`\n *\n * NullValue : `null`\n *\n * EnumValue : Name but not `true`, `false` or `null`\n */\n\n parseValueLiteral(isConst) {\n const token = this._lexer.token;\n\n switch (token.kind) {\n case TokenKind.BRACKET_L:\n return this.parseList(isConst);\n\n case TokenKind.BRACE_L:\n return this.parseObject(isConst);\n\n case TokenKind.INT:\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.INT,\n value: token.value,\n });\n\n case TokenKind.FLOAT:\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.FLOAT,\n value: token.value,\n });\n\n case TokenKind.STRING:\n case TokenKind.BLOCK_STRING:\n return this.parseStringLiteral();\n\n case TokenKind.NAME:\n this.advanceLexer();\n\n switch (token.value) {\n case 'true':\n return this.node(token, {\n kind: Kind.BOOLEAN,\n value: true,\n });\n\n case 'false':\n return this.node(token, {\n kind: Kind.BOOLEAN,\n value: false,\n });\n\n case 'null':\n return this.node(token, {\n kind: Kind.NULL,\n });\n\n default:\n return this.node(token, {\n kind: Kind.ENUM,\n value: token.value,\n });\n }\n\n case TokenKind.DOLLAR:\n if (isConst) {\n this.expectToken(TokenKind.DOLLAR);\n\n if (this._lexer.token.kind === TokenKind.NAME) {\n const varName = this._lexer.token.value;\n throw syntaxError(\n this._lexer.source,\n token.start,\n `Unexpected variable \"$${varName}\" in constant value.`,\n );\n } else {\n throw this.unexpected(token);\n }\n }\n\n return this.parseVariable();\n\n default:\n throw this.unexpected();\n }\n }\n\n parseConstValueLiteral() {\n return this.parseValueLiteral(true);\n }\n\n parseStringLiteral() {\n const token = this._lexer.token;\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.STRING,\n value: token.value,\n block: token.kind === TokenKind.BLOCK_STRING,\n });\n }\n /**\n * ListValue[Const] :\n * - [ ]\n * - [ Value[?Const]+ ]\n */\n\n parseList(isConst) {\n const item = () => this.parseValueLiteral(isConst);\n\n return this.node(this._lexer.token, {\n kind: Kind.LIST,\n values: this.any(TokenKind.BRACKET_L, item, TokenKind.BRACKET_R),\n });\n }\n /**\n * ```\n * ObjectValue[Const] :\n * - { }\n * - { ObjectField[?Const]+ }\n * ```\n */\n\n parseObject(isConst) {\n const item = () => this.parseObjectField(isConst);\n\n return this.node(this._lexer.token, {\n kind: Kind.OBJECT,\n fields: this.any(TokenKind.BRACE_L, item, TokenKind.BRACE_R),\n });\n }\n /**\n * ObjectField[Const] : Name : Value[?Const]\n */\n\n parseObjectField(isConst) {\n const start = this._lexer.token;\n const name = this.parseName();\n this.expectToken(TokenKind.COLON);\n return this.node(start, {\n kind: Kind.OBJECT_FIELD,\n name,\n value: this.parseValueLiteral(isConst),\n });\n } // Implements the parsing rules in the Directives section.\n\n /**\n * Directives[Const] : Directive[?Const]+\n */\n\n parseDirectives(isConst) {\n const directives = [];\n\n while (this.peek(TokenKind.AT)) {\n directives.push(this.parseDirective(isConst));\n }\n\n return directives;\n }\n\n parseConstDirectives() {\n return this.parseDirectives(true);\n }\n /**\n * ```\n * Directive[Const] : @ Name Arguments[?Const]?\n * ```\n */\n\n parseDirective(isConst) {\n const start = this._lexer.token;\n this.expectToken(TokenKind.AT);\n return this.node(start, {\n kind: Kind.DIRECTIVE,\n name: this.parseName(),\n arguments: this.parseArguments(isConst),\n });\n } // Implements the parsing rules in the Types section.\n\n /**\n * Type :\n * - NamedType\n * - ListType\n * - NonNullType\n */\n\n parseTypeReference() {\n const start = this._lexer.token;\n let type;\n\n if (this.expectOptionalToken(TokenKind.BRACKET_L)) {\n const innerType = this.parseTypeReference();\n this.expectToken(TokenKind.BRACKET_R);\n type = this.node(start, {\n kind: Kind.LIST_TYPE,\n type: innerType,\n });\n } else {\n type = this.parseNamedType();\n }\n\n if (this.expectOptionalToken(TokenKind.BANG)) {\n return this.node(start, {\n kind: Kind.NON_NULL_TYPE,\n type,\n });\n }\n\n return type;\n }\n /**\n * NamedType : Name\n */\n\n parseNamedType() {\n return this.node(this._lexer.token, {\n kind: Kind.NAMED_TYPE,\n name: this.parseName(),\n });\n } // Implements the parsing rules in the Type Definition section.\n\n peekDescription() {\n return this.peek(TokenKind.STRING) || this.peek(TokenKind.BLOCK_STRING);\n }\n /**\n * Description : StringValue\n */\n\n parseDescription() {\n if (this.peekDescription()) {\n return this.parseStringLiteral();\n }\n }\n /**\n * ```\n * SchemaDefinition : Description? schema Directives[Const]? { OperationTypeDefinition+ }\n * ```\n */\n\n parseSchemaDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('schema');\n const directives = this.parseConstDirectives();\n const operationTypes = this.many(\n TokenKind.BRACE_L,\n this.parseOperationTypeDefinition,\n TokenKind.BRACE_R,\n );\n return this.node(start, {\n kind: Kind.SCHEMA_DEFINITION,\n description,\n directives,\n operationTypes,\n });\n }\n /**\n * OperationTypeDefinition : OperationType : NamedType\n */\n\n parseOperationTypeDefinition() {\n const start = this._lexer.token;\n const operation = this.parseOperationType();\n this.expectToken(TokenKind.COLON);\n const type = this.parseNamedType();\n return this.node(start, {\n kind: Kind.OPERATION_TYPE_DEFINITION,\n operation,\n type,\n });\n }\n /**\n * ScalarTypeDefinition : Description? scalar Name Directives[Const]?\n */\n\n parseScalarTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('scalar');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.SCALAR_TYPE_DEFINITION,\n description,\n name,\n directives,\n });\n }\n /**\n * ObjectTypeDefinition :\n * Description?\n * type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition?\n */\n\n parseObjectTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('type');\n const name = this.parseName();\n const interfaces = this.parseImplementsInterfaces();\n const directives = this.parseConstDirectives();\n const fields = this.parseFieldsDefinition();\n return this.node(start, {\n kind: Kind.OBJECT_TYPE_DEFINITION,\n description,\n name,\n interfaces,\n directives,\n fields,\n });\n }\n /**\n * ImplementsInterfaces :\n * - implements `&`? NamedType\n * - ImplementsInterfaces & NamedType\n */\n\n parseImplementsInterfaces() {\n return this.expectOptionalKeyword('implements')\n ? this.delimitedMany(TokenKind.AMP, this.parseNamedType)\n : [];\n }\n /**\n * ```\n * FieldsDefinition : { FieldDefinition+ }\n * ```\n */\n\n parseFieldsDefinition() {\n return this.optionalMany(\n TokenKind.BRACE_L,\n this.parseFieldDefinition,\n TokenKind.BRACE_R,\n );\n }\n /**\n * FieldDefinition :\n * - Description? Name ArgumentsDefinition? : Type Directives[Const]?\n */\n\n parseFieldDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n const name = this.parseName();\n const args = this.parseArgumentDefs();\n this.expectToken(TokenKind.COLON);\n const type = this.parseTypeReference();\n const directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.FIELD_DEFINITION,\n description,\n name,\n arguments: args,\n type,\n directives,\n });\n }\n /**\n * ArgumentsDefinition : ( InputValueDefinition+ )\n */\n\n parseArgumentDefs() {\n return this.optionalMany(\n TokenKind.PAREN_L,\n this.parseInputValueDef,\n TokenKind.PAREN_R,\n );\n }\n /**\n * InputValueDefinition :\n * - Description? Name : Type DefaultValue? Directives[Const]?\n */\n\n parseInputValueDef() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n const name = this.parseName();\n this.expectToken(TokenKind.COLON);\n const type = this.parseTypeReference();\n let defaultValue;\n\n if (this.expectOptionalToken(TokenKind.EQUALS)) {\n defaultValue = this.parseConstValueLiteral();\n }\n\n const directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.INPUT_VALUE_DEFINITION,\n description,\n name,\n type,\n defaultValue,\n directives,\n });\n }\n /**\n * InterfaceTypeDefinition :\n * - Description? interface Name Directives[Const]? FieldsDefinition?\n */\n\n parseInterfaceTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('interface');\n const name = this.parseName();\n const interfaces = this.parseImplementsInterfaces();\n const directives = this.parseConstDirectives();\n const fields = this.parseFieldsDefinition();\n return this.node(start, {\n kind: Kind.INTERFACE_TYPE_DEFINITION,\n description,\n name,\n interfaces,\n directives,\n fields,\n });\n }\n /**\n * UnionTypeDefinition :\n * - Description? union Name Directives[Const]? UnionMemberTypes?\n */\n\n parseUnionTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('union');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const types = this.parseUnionMemberTypes();\n return this.node(start, {\n kind: Kind.UNION_TYPE_DEFINITION,\n description,\n name,\n directives,\n types,\n });\n }\n /**\n * UnionMemberTypes :\n * - = `|`? NamedType\n * - UnionMemberTypes | NamedType\n */\n\n parseUnionMemberTypes() {\n return this.expectOptionalToken(TokenKind.EQUALS)\n ? this.delimitedMany(TokenKind.PIPE, this.parseNamedType)\n : [];\n }\n /**\n * EnumTypeDefinition :\n * - Description? enum Name Directives[Const]? EnumValuesDefinition?\n */\n\n parseEnumTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('enum');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const values = this.parseEnumValuesDefinition();\n return this.node(start, {\n kind: Kind.ENUM_TYPE_DEFINITION,\n description,\n name,\n directives,\n values,\n });\n }\n /**\n * ```\n * EnumValuesDefinition : { EnumValueDefinition+ }\n * ```\n */\n\n parseEnumValuesDefinition() {\n return this.optionalMany(\n TokenKind.BRACE_L,\n this.parseEnumValueDefinition,\n TokenKind.BRACE_R,\n );\n }\n /**\n * EnumValueDefinition : Description? EnumValue Directives[Const]?\n */\n\n parseEnumValueDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n const name = this.parseEnumValueName();\n const directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.ENUM_VALUE_DEFINITION,\n description,\n name,\n directives,\n });\n }\n /**\n * EnumValue : Name but not `true`, `false` or `null`\n */\n\n parseEnumValueName() {\n if (\n this._lexer.token.value === 'true' ||\n this._lexer.token.value === 'false' ||\n this._lexer.token.value === 'null'\n ) {\n throw syntaxError(\n this._lexer.source,\n this._lexer.token.start,\n `${getTokenDesc(\n this._lexer.token,\n )} is reserved and cannot be used for an enum value.`,\n );\n }\n\n return this.parseName();\n }\n /**\n * InputObjectTypeDefinition :\n * - Description? input Name Directives[Const]? InputFieldsDefinition?\n */\n\n parseInputObjectTypeDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('input');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const fields = this.parseInputFieldsDefinition();\n return this.node(start, {\n kind: Kind.INPUT_OBJECT_TYPE_DEFINITION,\n description,\n name,\n directives,\n fields,\n });\n }\n /**\n * ```\n * InputFieldsDefinition : { InputValueDefinition+ }\n * ```\n */\n\n parseInputFieldsDefinition() {\n return this.optionalMany(\n TokenKind.BRACE_L,\n this.parseInputValueDef,\n TokenKind.BRACE_R,\n );\n }\n /**\n * TypeSystemExtension :\n * - SchemaExtension\n * - TypeExtension\n *\n * TypeExtension :\n * - ScalarTypeExtension\n * - ObjectTypeExtension\n * - InterfaceTypeExtension\n * - UnionTypeExtension\n * - EnumTypeExtension\n * - InputObjectTypeDefinition\n */\n\n parseTypeSystemExtension() {\n const keywordToken = this._lexer.lookahead();\n\n if (keywordToken.kind === TokenKind.NAME) {\n switch (keywordToken.value) {\n case 'schema':\n return this.parseSchemaExtension();\n\n case 'scalar':\n return this.parseScalarTypeExtension();\n\n case 'type':\n return this.parseObjectTypeExtension();\n\n case 'interface':\n return this.parseInterfaceTypeExtension();\n\n case 'union':\n return this.parseUnionTypeExtension();\n\n case 'enum':\n return this.parseEnumTypeExtension();\n\n case 'input':\n return this.parseInputObjectTypeExtension();\n }\n }\n\n throw this.unexpected(keywordToken);\n }\n /**\n * ```\n * SchemaExtension :\n * - extend schema Directives[Const]? { OperationTypeDefinition+ }\n * - extend schema Directives[Const]\n * ```\n */\n\n parseSchemaExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('schema');\n const directives = this.parseConstDirectives();\n const operationTypes = this.optionalMany(\n TokenKind.BRACE_L,\n this.parseOperationTypeDefinition,\n TokenKind.BRACE_R,\n );\n\n if (directives.length === 0 && operationTypes.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.SCHEMA_EXTENSION,\n directives,\n operationTypes,\n });\n }\n /**\n * ScalarTypeExtension :\n * - extend scalar Name Directives[Const]\n */\n\n parseScalarTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('scalar');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n\n if (directives.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.SCALAR_TYPE_EXTENSION,\n name,\n directives,\n });\n }\n /**\n * ObjectTypeExtension :\n * - extend type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition\n * - extend type Name ImplementsInterfaces? Directives[Const]\n * - extend type Name ImplementsInterfaces\n */\n\n parseObjectTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('type');\n const name = this.parseName();\n const interfaces = this.parseImplementsInterfaces();\n const directives = this.parseConstDirectives();\n const fields = this.parseFieldsDefinition();\n\n if (\n interfaces.length === 0 &&\n directives.length === 0 &&\n fields.length === 0\n ) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.OBJECT_TYPE_EXTENSION,\n name,\n interfaces,\n directives,\n fields,\n });\n }\n /**\n * InterfaceTypeExtension :\n * - extend interface Name ImplementsInterfaces? Directives[Const]? FieldsDefinition\n * - extend interface Name ImplementsInterfaces? Directives[Const]\n * - extend interface Name ImplementsInterfaces\n */\n\n parseInterfaceTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('interface');\n const name = this.parseName();\n const interfaces = this.parseImplementsInterfaces();\n const directives = this.parseConstDirectives();\n const fields = this.parseFieldsDefinition();\n\n if (\n interfaces.length === 0 &&\n directives.length === 0 &&\n fields.length === 0\n ) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.INTERFACE_TYPE_EXTENSION,\n name,\n interfaces,\n directives,\n fields,\n });\n }\n /**\n * UnionTypeExtension :\n * - extend union Name Directives[Const]? UnionMemberTypes\n * - extend union Name Directives[Const]\n */\n\n parseUnionTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('union');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const types = this.parseUnionMemberTypes();\n\n if (directives.length === 0 && types.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.UNION_TYPE_EXTENSION,\n name,\n directives,\n types,\n });\n }\n /**\n * EnumTypeExtension :\n * - extend enum Name Directives[Const]? EnumValuesDefinition\n * - extend enum Name Directives[Const]\n */\n\n parseEnumTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('enum');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const values = this.parseEnumValuesDefinition();\n\n if (directives.length === 0 && values.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.ENUM_TYPE_EXTENSION,\n name,\n directives,\n values,\n });\n }\n /**\n * InputObjectTypeExtension :\n * - extend input Name Directives[Const]? InputFieldsDefinition\n * - extend input Name Directives[Const]\n */\n\n parseInputObjectTypeExtension() {\n const start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('input');\n const name = this.parseName();\n const directives = this.parseConstDirectives();\n const fields = this.parseInputFieldsDefinition();\n\n if (directives.length === 0 && fields.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.INPUT_OBJECT_TYPE_EXTENSION,\n name,\n directives,\n fields,\n });\n }\n /**\n * ```\n * DirectiveDefinition :\n * - Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations\n * ```\n */\n\n parseDirectiveDefinition() {\n const start = this._lexer.token;\n const description = this.parseDescription();\n this.expectKeyword('directive');\n this.expectToken(TokenKind.AT);\n const name = this.parseName();\n const args = this.parseArgumentDefs();\n const repeatable = this.expectOptionalKeyword('repeatable');\n this.expectKeyword('on');\n const locations = this.parseDirectiveLocations();\n return this.node(start, {\n kind: Kind.DIRECTIVE_DEFINITION,\n description,\n name,\n arguments: args,\n repeatable,\n locations,\n });\n }\n /**\n * DirectiveLocations :\n * - `|`? DirectiveLocation\n * - DirectiveLocations | DirectiveLocation\n */\n\n parseDirectiveLocations() {\n return this.delimitedMany(TokenKind.PIPE, this.parseDirectiveLocation);\n }\n /*\n * DirectiveLocation :\n * - ExecutableDirectiveLocation\n * - TypeSystemDirectiveLocation\n *\n * ExecutableDirectiveLocation : one of\n * `QUERY`\n * `MUTATION`\n * `SUBSCRIPTION`\n * `FIELD`\n * `FRAGMENT_DEFINITION`\n * `FRAGMENT_SPREAD`\n * `INLINE_FRAGMENT`\n *\n * TypeSystemDirectiveLocation : one of\n * `SCHEMA`\n * `SCALAR`\n * `OBJECT`\n * `FIELD_DEFINITION`\n * `ARGUMENT_DEFINITION`\n * `INTERFACE`\n * `UNION`\n * `ENUM`\n * `ENUM_VALUE`\n * `INPUT_OBJECT`\n * `INPUT_FIELD_DEFINITION`\n */\n\n parseDirectiveLocation() {\n const start = this._lexer.token;\n const name = this.parseName();\n\n if (Object.prototype.hasOwnProperty.call(DirectiveLocation, name.value)) {\n return name;\n }\n\n throw this.unexpected(start);\n } // Core parsing utility functions\n\n /**\n * Returns a node that, if configured to do so, sets a \"loc\" field as a\n * location object, used to identify the place in the source that created a\n * given parsed object.\n */\n\n node(startToken, node) {\n if (this._options.noLocation !== true) {\n node.loc = new Location(\n startToken,\n this._lexer.lastToken,\n this._lexer.source,\n );\n }\n\n return node;\n }\n /**\n * Determines if the next token is of a given kind\n */\n\n peek(kind) {\n return this._lexer.token.kind === kind;\n }\n /**\n * If the next token is of the given kind, return that token after advancing the lexer.\n * Otherwise, do not change the parser state and throw an error.\n */\n\n expectToken(kind) {\n const token = this._lexer.token;\n\n if (token.kind === kind) {\n this.advanceLexer();\n return token;\n }\n\n throw syntaxError(\n this._lexer.source,\n token.start,\n `Expected ${getTokenKindDesc(kind)}, found ${getTokenDesc(token)}.`,\n );\n }\n /**\n * If the next token is of the given kind, return \"true\" after advancing the lexer.\n * Otherwise, do not change the parser state and return \"false\".\n */\n\n expectOptionalToken(kind) {\n const token = this._lexer.token;\n\n if (token.kind === kind) {\n this.advanceLexer();\n return true;\n }\n\n return false;\n }\n /**\n * If the next token is a given keyword, advance the lexer.\n * Otherwise, do not change the parser state and throw an error.\n */\n\n expectKeyword(value) {\n const token = this._lexer.token;\n\n if (token.kind === TokenKind.NAME && token.value === value) {\n this.advanceLexer();\n } else {\n throw syntaxError(\n this._lexer.source,\n token.start,\n `Expected \"${value}\", found ${getTokenDesc(token)}.`,\n );\n }\n }\n /**\n * If the next token is a given keyword, return \"true\" after advancing the lexer.\n * Otherwise, do not change the parser state and return \"false\".\n */\n\n expectOptionalKeyword(value) {\n const token = this._lexer.token;\n\n if (token.kind === TokenKind.NAME && token.value === value) {\n this.advanceLexer();\n return true;\n }\n\n return false;\n }\n /**\n * Helper function for creating an error when an unexpected lexed token is encountered.\n */\n\n unexpected(atToken) {\n const token =\n atToken !== null && atToken !== void 0 ? atToken : this._lexer.token;\n return syntaxError(\n this._lexer.source,\n token.start,\n `Unexpected ${getTokenDesc(token)}.`,\n );\n }\n /**\n * Returns a possibly empty list of parse nodes, determined by the parseFn.\n * This list begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n any(openKind, parseFn, closeKind) {\n this.expectToken(openKind);\n const nodes = [];\n\n while (!this.expectOptionalToken(closeKind)) {\n nodes.push(parseFn.call(this));\n }\n\n return nodes;\n }\n /**\n * Returns a list of parse nodes, determined by the parseFn.\n * It can be empty only if open token is missing otherwise it will always return non-empty list\n * that begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n optionalMany(openKind, parseFn, closeKind) {\n if (this.expectOptionalToken(openKind)) {\n const nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (!this.expectOptionalToken(closeKind));\n\n return nodes;\n }\n\n return [];\n }\n /**\n * Returns a non-empty list of parse nodes, determined by the parseFn.\n * This list begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n many(openKind, parseFn, closeKind) {\n this.expectToken(openKind);\n const nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (!this.expectOptionalToken(closeKind));\n\n return nodes;\n }\n /**\n * Returns a non-empty list of parse nodes, determined by the parseFn.\n * This list may begin with a lex token of delimiterKind followed by items separated by lex tokens of tokenKind.\n * Advances the parser to the next lex token after last item in the list.\n */\n\n delimitedMany(delimiterKind, parseFn) {\n this.expectOptionalToken(delimiterKind);\n const nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (this.expectOptionalToken(delimiterKind));\n\n return nodes;\n }\n\n advanceLexer() {\n const { maxTokens } = this._options;\n\n const token = this._lexer.advance();\n\n if (maxTokens !== undefined && token.kind !== TokenKind.EOF) {\n ++this._tokenCounter;\n\n if (this._tokenCounter > maxTokens) {\n throw syntaxError(\n this._lexer.source,\n token.start,\n `Document contains more that ${maxTokens} tokens. Parsing aborted.`,\n );\n }\n }\n }\n}\n/**\n * A helper function to describe a token as a string for debugging.\n */\n\nfunction getTokenDesc(token) {\n const value = token.value;\n return getTokenKindDesc(token.kind) + (value != null ? ` \"${value}\"` : '');\n}\n/**\n * A helper function to describe a token kind as a string for debugging.\n */\n\nfunction getTokenKindDesc(kind) {\n return isPunctuatorTokenKind(kind) ? `\"${kind}\"` : kind;\n}\n","/**\n * Prints a string as a GraphQL StringValue literal. Replaces control characters\n * and excluded characters (\" U+0022 and \\\\ U+005C) with escape sequences.\n */\nexport function printString(str) {\n return `\"${str.replace(escapedRegExp, escapedReplacer)}\"`;\n} // eslint-disable-next-line no-control-regex\n\nconst escapedRegExp = /[\\x00-\\x1f\\x22\\x5c\\x7f-\\x9f]/g;\n\nfunction escapedReplacer(str) {\n return escapeSequences[str.charCodeAt(0)];\n} // prettier-ignore\n\nconst escapeSequences = [\n '\\\\u0000',\n '\\\\u0001',\n '\\\\u0002',\n '\\\\u0003',\n '\\\\u0004',\n '\\\\u0005',\n '\\\\u0006',\n '\\\\u0007',\n '\\\\b',\n '\\\\t',\n '\\\\n',\n '\\\\u000B',\n '\\\\f',\n '\\\\r',\n '\\\\u000E',\n '\\\\u000F',\n '\\\\u0010',\n '\\\\u0011',\n '\\\\u0012',\n '\\\\u0013',\n '\\\\u0014',\n '\\\\u0015',\n '\\\\u0016',\n '\\\\u0017',\n '\\\\u0018',\n '\\\\u0019',\n '\\\\u001A',\n '\\\\u001B',\n '\\\\u001C',\n '\\\\u001D',\n '\\\\u001E',\n '\\\\u001F',\n '',\n '',\n '\\\\\"',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '', // 2F\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '', // 3F\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '', // 4F\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '\\\\\\\\',\n '',\n '',\n '', // 5F\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '', // 6F\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '\\\\u007F',\n '\\\\u0080',\n '\\\\u0081',\n '\\\\u0082',\n '\\\\u0083',\n '\\\\u0084',\n '\\\\u0085',\n '\\\\u0086',\n '\\\\u0087',\n '\\\\u0088',\n '\\\\u0089',\n '\\\\u008A',\n '\\\\u008B',\n '\\\\u008C',\n '\\\\u008D',\n '\\\\u008E',\n '\\\\u008F',\n '\\\\u0090',\n '\\\\u0091',\n '\\\\u0092',\n '\\\\u0093',\n '\\\\u0094',\n '\\\\u0095',\n '\\\\u0096',\n '\\\\u0097',\n '\\\\u0098',\n '\\\\u0099',\n '\\\\u009A',\n '\\\\u009B',\n '\\\\u009C',\n '\\\\u009D',\n '\\\\u009E',\n '\\\\u009F',\n];\n","import { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { isNode, QueryDocumentKeys } from './ast.mjs';\nimport { Kind } from './kinds.mjs';\n/**\n * A visitor is provided to visit, it contains the collection of\n * relevant functions to be called during the visitor's traversal.\n */\n\nexport const BREAK = Object.freeze({});\n/**\n * visit() will walk through an AST using a depth-first traversal, calling\n * the visitor's enter function at each node in the traversal, and calling the\n * leave function after visiting that node and all of its child nodes.\n *\n * By returning different values from the enter and leave functions, the\n * behavior of the visitor can be altered, including skipping over a sub-tree of\n * the AST (by returning false), editing the AST by returning a value or null\n * to remove the value, or to stop the whole traversal by returning BREAK.\n *\n * When using visit() to edit an AST, the original AST will not be modified, and\n * a new version of the AST with the changes applied will be returned from the\n * visit function.\n *\n * ```ts\n * const editedAST = visit(ast, {\n * enter(node, key, parent, path, ancestors) {\n * // @return\n * // undefined: no action\n * // false: skip visiting this node\n * // visitor.BREAK: stop visiting altogether\n * // null: delete this node\n * // any value: replace this node with the returned value\n * },\n * leave(node, key, parent, path, ancestors) {\n * // @return\n * // undefined: no action\n * // false: no action\n * // visitor.BREAK: stop visiting altogether\n * // null: delete this node\n * // any value: replace this node with the returned value\n * }\n * });\n * ```\n *\n * Alternatively to providing enter() and leave() functions, a visitor can\n * instead provide functions named the same as the kinds of AST nodes, or\n * enter/leave visitors at a named key, leading to three permutations of the\n * visitor API:\n *\n * 1) Named visitors triggered when entering a node of a specific kind.\n *\n * ```ts\n * visit(ast, {\n * Kind(node) {\n * // enter the \"Kind\" node\n * }\n * })\n * ```\n *\n * 2) Named visitors that trigger upon entering and leaving a node of a specific kind.\n *\n * ```ts\n * visit(ast, {\n * Kind: {\n * enter(node) {\n * // enter the \"Kind\" node\n * }\n * leave(node) {\n * // leave the \"Kind\" node\n * }\n * }\n * })\n * ```\n *\n * 3) Generic visitors that trigger upon entering and leaving any node.\n *\n * ```ts\n * visit(ast, {\n * enter(node) {\n * // enter any node\n * },\n * leave(node) {\n * // leave any node\n * }\n * })\n * ```\n */\n\nexport function visit(root, visitor, visitorKeys = QueryDocumentKeys) {\n const enterLeaveMap = new Map();\n\n for (const kind of Object.values(Kind)) {\n enterLeaveMap.set(kind, getEnterLeaveForKind(visitor, kind));\n }\n /* eslint-disable no-undef-init */\n\n let stack = undefined;\n let inArray = Array.isArray(root);\n let keys = [root];\n let index = -1;\n let edits = [];\n let node = root;\n let key = undefined;\n let parent = undefined;\n const path = [];\n const ancestors = [];\n /* eslint-enable no-undef-init */\n\n do {\n index++;\n const isLeaving = index === keys.length;\n const isEdited = isLeaving && edits.length !== 0;\n\n if (isLeaving) {\n key = ancestors.length === 0 ? undefined : path[path.length - 1];\n node = parent;\n parent = ancestors.pop();\n\n if (isEdited) {\n if (inArray) {\n node = node.slice();\n let editOffset = 0;\n\n for (const [editKey, editValue] of edits) {\n const arrayKey = editKey - editOffset;\n\n if (editValue === null) {\n node.splice(arrayKey, 1);\n editOffset++;\n } else {\n node[arrayKey] = editValue;\n }\n }\n } else {\n node = Object.defineProperties(\n {},\n Object.getOwnPropertyDescriptors(node),\n );\n\n for (const [editKey, editValue] of edits) {\n node[editKey] = editValue;\n }\n }\n }\n\n index = stack.index;\n keys = stack.keys;\n edits = stack.edits;\n inArray = stack.inArray;\n stack = stack.prev;\n } else if (parent) {\n key = inArray ? index : keys[index];\n node = parent[key];\n\n if (node === null || node === undefined) {\n continue;\n }\n\n path.push(key);\n }\n\n let result;\n\n if (!Array.isArray(node)) {\n var _enterLeaveMap$get, _enterLeaveMap$get2;\n\n isNode(node) || devAssert(false, `Invalid AST Node: ${inspect(node)}.`);\n const visitFn = isLeaving\n ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null ||\n _enterLeaveMap$get === void 0\n ? void 0\n : _enterLeaveMap$get.leave\n : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null ||\n _enterLeaveMap$get2 === void 0\n ? void 0\n : _enterLeaveMap$get2.enter;\n result =\n visitFn === null || visitFn === void 0\n ? void 0\n : visitFn.call(visitor, node, key, parent, path, ancestors);\n\n if (result === BREAK) {\n break;\n }\n\n if (result === false) {\n if (!isLeaving) {\n path.pop();\n continue;\n }\n } else if (result !== undefined) {\n edits.push([key, result]);\n\n if (!isLeaving) {\n if (isNode(result)) {\n node = result;\n } else {\n path.pop();\n continue;\n }\n }\n }\n }\n\n if (result === undefined && isEdited) {\n edits.push([key, node]);\n }\n\n if (isLeaving) {\n path.pop();\n } else {\n var _node$kind;\n\n stack = {\n inArray,\n index,\n keys,\n edits,\n prev: stack,\n };\n inArray = Array.isArray(node);\n keys = inArray\n ? node\n : (_node$kind = visitorKeys[node.kind]) !== null &&\n _node$kind !== void 0\n ? _node$kind\n : [];\n index = -1;\n edits = [];\n\n if (parent) {\n ancestors.push(parent);\n }\n\n parent = node;\n }\n } while (stack !== undefined);\n\n if (edits.length !== 0) {\n // New root\n return edits[edits.length - 1][1];\n }\n\n return root;\n}\n/**\n * Creates a new visitor instance which delegates to many visitors to run in\n * parallel. Each visitor will be visited for each node before moving on.\n *\n * If a prior visitor edits a node, no following visitors will see that node.\n */\n\nexport function visitInParallel(visitors) {\n const skipping = new Array(visitors.length).fill(null);\n const mergedVisitor = Object.create(null);\n\n for (const kind of Object.values(Kind)) {\n let hasVisitor = false;\n const enterList = new Array(visitors.length).fill(undefined);\n const leaveList = new Array(visitors.length).fill(undefined);\n\n for (let i = 0; i < visitors.length; ++i) {\n const { enter, leave } = getEnterLeaveForKind(visitors[i], kind);\n hasVisitor || (hasVisitor = enter != null || leave != null);\n enterList[i] = enter;\n leaveList[i] = leave;\n }\n\n if (!hasVisitor) {\n continue;\n }\n\n const mergedEnterLeave = {\n enter(...args) {\n const node = args[0];\n\n for (let i = 0; i < visitors.length; i++) {\n if (skipping[i] === null) {\n var _enterList$i;\n\n const result =\n (_enterList$i = enterList[i]) === null || _enterList$i === void 0\n ? void 0\n : _enterList$i.apply(visitors[i], args);\n\n if (result === false) {\n skipping[i] = node;\n } else if (result === BREAK) {\n skipping[i] = BREAK;\n } else if (result !== undefined) {\n return result;\n }\n }\n }\n },\n\n leave(...args) {\n const node = args[0];\n\n for (let i = 0; i < visitors.length; i++) {\n if (skipping[i] === null) {\n var _leaveList$i;\n\n const result =\n (_leaveList$i = leaveList[i]) === null || _leaveList$i === void 0\n ? void 0\n : _leaveList$i.apply(visitors[i], args);\n\n if (result === BREAK) {\n skipping[i] = BREAK;\n } else if (result !== undefined && result !== false) {\n return result;\n }\n } else if (skipping[i] === node) {\n skipping[i] = null;\n }\n }\n },\n };\n mergedVisitor[kind] = mergedEnterLeave;\n }\n\n return mergedVisitor;\n}\n/**\n * Given a visitor instance and a node kind, return EnterLeaveVisitor for that kind.\n */\n\nexport function getEnterLeaveForKind(visitor, kind) {\n const kindVisitor = visitor[kind];\n\n if (typeof kindVisitor === 'object') {\n // { Kind: { enter() {}, leave() {} } }\n return kindVisitor;\n } else if (typeof kindVisitor === 'function') {\n // { Kind() {} }\n return {\n enter: kindVisitor,\n leave: undefined,\n };\n } // { enter() {}, leave() {} }\n\n return {\n enter: visitor.enter,\n leave: visitor.leave,\n };\n}\n/**\n * Given a visitor instance, if it is leaving or not, and a node kind, return\n * the function the visitor runtime should call.\n *\n * @deprecated Please use `getEnterLeaveForKind` instead. Will be removed in v17\n */\n\n/* c8 ignore next 8 */\n\nexport function getVisitFn(visitor, kind, isLeaving) {\n const { enter, leave } = getEnterLeaveForKind(visitor, kind);\n return isLeaving ? leave : enter;\n}\n","import { printBlockString } from './blockString.mjs';\nimport { printString } from './printString.mjs';\nimport { visit } from './visitor.mjs';\n/**\n * Converts an AST into a string, using one set of reasonable\n * formatting rules.\n */\n\nexport function print(ast) {\n return visit(ast, printDocASTReducer);\n}\nconst MAX_LINE_LENGTH = 80;\nconst printDocASTReducer = {\n Name: {\n leave: (node) => node.value,\n },\n Variable: {\n leave: (node) => '$' + node.name,\n },\n // Document\n Document: {\n leave: (node) => join(node.definitions, '\\n\\n'),\n },\n OperationDefinition: {\n leave(node) {\n const varDefs = wrap('(', join(node.variableDefinitions, ', '), ')');\n const prefix = join(\n [\n node.operation,\n join([node.name, varDefs]),\n join(node.directives, ' '),\n ],\n ' ',\n ); // Anonymous queries with no directives or variable definitions can use\n // the query short form.\n\n return (prefix === 'query' ? '' : prefix + ' ') + node.selectionSet;\n },\n },\n VariableDefinition: {\n leave: ({ variable, type, defaultValue, directives }) =>\n variable +\n ': ' +\n type +\n wrap(' = ', defaultValue) +\n wrap(' ', join(directives, ' ')),\n },\n SelectionSet: {\n leave: ({ selections }) => block(selections),\n },\n Field: {\n leave({ alias, name, arguments: args, directives, selectionSet }) {\n const prefix = wrap('', alias, ': ') + name;\n let argsLine = prefix + wrap('(', join(args, ', '), ')');\n\n if (argsLine.length > MAX_LINE_LENGTH) {\n argsLine = prefix + wrap('(\\n', indent(join(args, '\\n')), '\\n)');\n }\n\n return join([argsLine, join(directives, ' '), selectionSet], ' ');\n },\n },\n Argument: {\n leave: ({ name, value }) => name + ': ' + value,\n },\n // Fragments\n FragmentSpread: {\n leave: ({ name, directives }) =>\n '...' + name + wrap(' ', join(directives, ' ')),\n },\n InlineFragment: {\n leave: ({ typeCondition, directives, selectionSet }) =>\n join(\n [\n '...',\n wrap('on ', typeCondition),\n join(directives, ' '),\n selectionSet,\n ],\n ' ',\n ),\n },\n FragmentDefinition: {\n leave: (\n { name, typeCondition, variableDefinitions, directives, selectionSet }, // Note: fragment variable definitions are experimental and may be changed\n ) =>\n // or removed in the future.\n `fragment ${name}${wrap('(', join(variableDefinitions, ', '), ')')} ` +\n `on ${typeCondition} ${wrap('', join(directives, ' '), ' ')}` +\n selectionSet,\n },\n // Value\n IntValue: {\n leave: ({ value }) => value,\n },\n FloatValue: {\n leave: ({ value }) => value,\n },\n StringValue: {\n leave: ({ value, block: isBlockString }) =>\n isBlockString ? printBlockString(value) : printString(value),\n },\n BooleanValue: {\n leave: ({ value }) => (value ? 'true' : 'false'),\n },\n NullValue: {\n leave: () => 'null',\n },\n EnumValue: {\n leave: ({ value }) => value,\n },\n ListValue: {\n leave: ({ values }) => '[' + join(values, ', ') + ']',\n },\n ObjectValue: {\n leave: ({ fields }) => '{' + join(fields, ', ') + '}',\n },\n ObjectField: {\n leave: ({ name, value }) => name + ': ' + value,\n },\n // Directive\n Directive: {\n leave: ({ name, arguments: args }) =>\n '@' + name + wrap('(', join(args, ', '), ')'),\n },\n // Type\n NamedType: {\n leave: ({ name }) => name,\n },\n ListType: {\n leave: ({ type }) => '[' + type + ']',\n },\n NonNullType: {\n leave: ({ type }) => type + '!',\n },\n // Type System Definitions\n SchemaDefinition: {\n leave: ({ description, directives, operationTypes }) =>\n wrap('', description, '\\n') +\n join(['schema', join(directives, ' '), block(operationTypes)], ' '),\n },\n OperationTypeDefinition: {\n leave: ({ operation, type }) => operation + ': ' + type,\n },\n ScalarTypeDefinition: {\n leave: ({ description, name, directives }) =>\n wrap('', description, '\\n') +\n join(['scalar', name, join(directives, ' ')], ' '),\n },\n ObjectTypeDefinition: {\n leave: ({ description, name, interfaces, directives, fields }) =>\n wrap('', description, '\\n') +\n join(\n [\n 'type',\n name,\n wrap('implements ', join(interfaces, ' & ')),\n join(directives, ' '),\n block(fields),\n ],\n ' ',\n ),\n },\n FieldDefinition: {\n leave: ({ description, name, arguments: args, type, directives }) =>\n wrap('', description, '\\n') +\n name +\n (hasMultilineItems(args)\n ? wrap('(\\n', indent(join(args, '\\n')), '\\n)')\n : wrap('(', join(args, ', '), ')')) +\n ': ' +\n type +\n wrap(' ', join(directives, ' ')),\n },\n InputValueDefinition: {\n leave: ({ description, name, type, defaultValue, directives }) =>\n wrap('', description, '\\n') +\n join(\n [name + ': ' + type, wrap('= ', defaultValue), join(directives, ' ')],\n ' ',\n ),\n },\n InterfaceTypeDefinition: {\n leave: ({ description, name, interfaces, directives, fields }) =>\n wrap('', description, '\\n') +\n join(\n [\n 'interface',\n name,\n wrap('implements ', join(interfaces, ' & ')),\n join(directives, ' '),\n block(fields),\n ],\n ' ',\n ),\n },\n UnionTypeDefinition: {\n leave: ({ description, name, directives, types }) =>\n wrap('', description, '\\n') +\n join(\n ['union', name, join(directives, ' '), wrap('= ', join(types, ' | '))],\n ' ',\n ),\n },\n EnumTypeDefinition: {\n leave: ({ description, name, directives, values }) =>\n wrap('', description, '\\n') +\n join(['enum', name, join(directives, ' '), block(values)], ' '),\n },\n EnumValueDefinition: {\n leave: ({ description, name, directives }) =>\n wrap('', description, '\\n') + join([name, join(directives, ' ')], ' '),\n },\n InputObjectTypeDefinition: {\n leave: ({ description, name, directives, fields }) =>\n wrap('', description, '\\n') +\n join(['input', name, join(directives, ' '), block(fields)], ' '),\n },\n DirectiveDefinition: {\n leave: ({ description, name, arguments: args, repeatable, locations }) =>\n wrap('', description, '\\n') +\n 'directive @' +\n name +\n (hasMultilineItems(args)\n ? wrap('(\\n', indent(join(args, '\\n')), '\\n)')\n : wrap('(', join(args, ', '), ')')) +\n (repeatable ? ' repeatable' : '') +\n ' on ' +\n join(locations, ' | '),\n },\n SchemaExtension: {\n leave: ({ directives, operationTypes }) =>\n join(\n ['extend schema', join(directives, ' '), block(operationTypes)],\n ' ',\n ),\n },\n ScalarTypeExtension: {\n leave: ({ name, directives }) =>\n join(['extend scalar', name, join(directives, ' ')], ' '),\n },\n ObjectTypeExtension: {\n leave: ({ name, interfaces, directives, fields }) =>\n join(\n [\n 'extend type',\n name,\n wrap('implements ', join(interfaces, ' & ')),\n join(directives, ' '),\n block(fields),\n ],\n ' ',\n ),\n },\n InterfaceTypeExtension: {\n leave: ({ name, interfaces, directives, fields }) =>\n join(\n [\n 'extend interface',\n name,\n wrap('implements ', join(interfaces, ' & ')),\n join(directives, ' '),\n block(fields),\n ],\n ' ',\n ),\n },\n UnionTypeExtension: {\n leave: ({ name, directives, types }) =>\n join(\n [\n 'extend union',\n name,\n join(directives, ' '),\n wrap('= ', join(types, ' | ')),\n ],\n ' ',\n ),\n },\n EnumTypeExtension: {\n leave: ({ name, directives, values }) =>\n join(['extend enum', name, join(directives, ' '), block(values)], ' '),\n },\n InputObjectTypeExtension: {\n leave: ({ name, directives, fields }) =>\n join(['extend input', name, join(directives, ' '), block(fields)], ' '),\n },\n};\n/**\n * Given maybeArray, print an empty string if it is null or empty, otherwise\n * print all items together separated by separator if provided\n */\n\nfunction join(maybeArray, separator = '') {\n var _maybeArray$filter$jo;\n\n return (_maybeArray$filter$jo =\n maybeArray === null || maybeArray === void 0\n ? void 0\n : maybeArray.filter((x) => x).join(separator)) !== null &&\n _maybeArray$filter$jo !== void 0\n ? _maybeArray$filter$jo\n : '';\n}\n/**\n * Given array, print each item on its own line, wrapped in an indented `{ }` block.\n */\n\nfunction block(array) {\n return wrap('{\\n', indent(join(array, '\\n')), '\\n}');\n}\n/**\n * If maybeString is not null or empty, then wrap with start and end, otherwise print an empty string.\n */\n\nfunction wrap(start, maybeString, end = '') {\n return maybeString != null && maybeString !== ''\n ? start + maybeString + end\n : '';\n}\n\nfunction indent(str) {\n return wrap(' ', str.replace(/\\n/g, '\\n '));\n}\n\nfunction hasMultilineItems(maybeArray) {\n var _maybeArray$some;\n\n // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n return (_maybeArray$some =\n maybeArray === null || maybeArray === void 0\n ? void 0\n : maybeArray.some((str) => str.includes('\\n'))) !== null &&\n _maybeArray$some !== void 0\n ? _maybeArray$some\n : false;\n}\n","import { remove } from \"ts-invariant/process/index.js\";\nimport { Source } from 'graphql';\nexport function removeTemporaryGlobals() {\n return typeof Source === \"function\" ? remove() : remove();\n}\n//# sourceMappingURL=fix-graphql.js.map","import { invariant, InvariantError } from \"ts-invariant\";\nimport DEV from \"./DEV.js\";\nexport { DEV };\nexport function checkDEV() {\n __DEV__ ? invariant(\"boolean\" === typeof DEV, DEV) : invariant(\"boolean\" === typeof DEV, 38);\n}\nimport { removeTemporaryGlobals } from \"./fix-graphql.js\";\nremoveTemporaryGlobals();\nexport { maybe } from \"./maybe.js\";\nexport { default as global } from \"./global.js\";\nexport { invariant, InvariantError };\ncheckDEV();\n//# sourceMappingURL=index.js.map","import { invariant } from \"../globals/index.js\";\nimport { visit, BREAK, } from 'graphql';\nexport function shouldInclude(_a, variables) {\n var directives = _a.directives;\n if (!directives || !directives.length) {\n return true;\n }\n return getInclusionDirectives(directives).every(function (_a) {\n var directive = _a.directive, ifArgument = _a.ifArgument;\n var evaledValue = false;\n if (ifArgument.value.kind === 'Variable') {\n evaledValue = variables && variables[ifArgument.value.name.value];\n __DEV__ ? invariant(evaledValue !== void 0, \"Invalid variable referenced in @\".concat(directive.name.value, \" directive.\")) : invariant(evaledValue !== void 0, 39);\n }\n else {\n evaledValue = ifArgument.value.value;\n }\n return directive.name.value === 'skip' ? !evaledValue : evaledValue;\n });\n}\nexport function getDirectiveNames(root) {\n var names = [];\n visit(root, {\n Directive: function (node) {\n names.push(node.name.value);\n },\n });\n return names;\n}\nexport var hasAnyDirectives = function (names, root) { return hasDirectives(names, root, false); };\nexport var hasAllDirectives = function (names, root) { return hasDirectives(names, root, true); };\nexport function hasDirectives(names, root, all) {\n var nameSet = new Set(names);\n var uniqueCount = nameSet.size;\n visit(root, {\n Directive: function (node) {\n if (nameSet.delete(node.name.value) &&\n (!all || !nameSet.size)) {\n return BREAK;\n }\n },\n });\n return all ? !nameSet.size : nameSet.size < uniqueCount;\n}\nexport function hasClientExports(document) {\n return document && hasDirectives(['client', 'export'], document, true);\n}\nfunction isInclusionDirective(_a) {\n var value = _a.name.value;\n return value === 'skip' || value === 'include';\n}\nexport function getInclusionDirectives(directives) {\n var result = [];\n if (directives && directives.length) {\n directives.forEach(function (directive) {\n if (!isInclusionDirective(directive))\n return;\n var directiveArguments = directive.arguments;\n var directiveName = directive.name.value;\n __DEV__ ? invariant(directiveArguments && directiveArguments.length === 1, \"Incorrect number of arguments for the @\".concat(directiveName, \" directive.\")) : invariant(directiveArguments && directiveArguments.length === 1, 40);\n var ifArgument = directiveArguments[0];\n __DEV__ ? invariant(ifArgument.name && ifArgument.name.value === 'if', \"Invalid argument for the @\".concat(directiveName, \" directive.\")) : invariant(ifArgument.name && ifArgument.name.value === 'if', 41);\n var ifValue = ifArgument.value;\n __DEV__ ? invariant(ifValue &&\n (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue'), \"Argument for the @\".concat(directiveName, \" directive must be a variable or a boolean value.\")) : invariant(ifValue &&\n (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue'), 42);\n result.push({ directive: directive, ifArgument: ifArgument });\n });\n }\n return result;\n}\n//# sourceMappingURL=directives.js.map","import { __assign, __spreadArray } from \"tslib\";\nimport { invariant, InvariantError } from \"../globals/index.js\";\nexport function getFragmentQueryDocument(document, fragmentName) {\n var actualFragmentName = fragmentName;\n var fragments = [];\n document.definitions.forEach(function (definition) {\n if (definition.kind === 'OperationDefinition') {\n throw __DEV__ ? new InvariantError(\"Found a \".concat(definition.operation, \" operation\").concat(definition.name ? \" named '\".concat(definition.name.value, \"'\") : '', \". \") +\n 'No operations are allowed when using a fragment as a query. Only fragments are allowed.') : new InvariantError(43);\n }\n if (definition.kind === 'FragmentDefinition') {\n fragments.push(definition);\n }\n });\n if (typeof actualFragmentName === 'undefined') {\n __DEV__ ? invariant(fragments.length === 1, \"Found \".concat(fragments.length, \" fragments. `fragmentName` must be provided when there is not exactly 1 fragment.\")) : invariant(fragments.length === 1, 44);\n actualFragmentName = fragments[0].name.value;\n }\n var query = __assign(__assign({}, document), { definitions: __spreadArray([\n {\n kind: 'OperationDefinition',\n operation: 'query',\n selectionSet: {\n kind: 'SelectionSet',\n selections: [\n {\n kind: 'FragmentSpread',\n name: {\n kind: 'Name',\n value: actualFragmentName,\n },\n },\n ],\n },\n }\n ], document.definitions, true) });\n return query;\n}\nexport function createFragmentMap(fragments) {\n if (fragments === void 0) { fragments = []; }\n var symTable = {};\n fragments.forEach(function (fragment) {\n symTable[fragment.name.value] = fragment;\n });\n return symTable;\n}\nexport function getFragmentFromSelection(selection, fragmentMap) {\n switch (selection.kind) {\n case 'InlineFragment':\n return selection;\n case 'FragmentSpread': {\n var fragmentName = selection.name.value;\n if (typeof fragmentMap === \"function\") {\n return fragmentMap(fragmentName);\n }\n var fragment = fragmentMap && fragmentMap[fragmentName];\n __DEV__ ? invariant(fragment, \"No fragment named \".concat(fragmentName)) : invariant(fragment, 45);\n return fragment || null;\n }\n default:\n return null;\n }\n}\n//# sourceMappingURL=fragments.js.map","export function isNonNullObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n//# sourceMappingURL=objects.js.map","import { InvariantError } from \"../globals/index.js\";\nimport { isNonNullObject } from \"../common/objects.js\";\nimport { getFragmentFromSelection } from \"./fragments.js\";\nexport function makeReference(id) {\n return { __ref: String(id) };\n}\nexport function isReference(obj) {\n return Boolean(obj && typeof obj === 'object' && typeof obj.__ref === 'string');\n}\nexport function isDocumentNode(value) {\n return (isNonNullObject(value) &&\n value.kind === \"Document\" &&\n Array.isArray(value.definitions));\n}\nfunction isStringValue(value) {\n return value.kind === 'StringValue';\n}\nfunction isBooleanValue(value) {\n return value.kind === 'BooleanValue';\n}\nfunction isIntValue(value) {\n return value.kind === 'IntValue';\n}\nfunction isFloatValue(value) {\n return value.kind === 'FloatValue';\n}\nfunction isVariable(value) {\n return value.kind === 'Variable';\n}\nfunction isObjectValue(value) {\n return value.kind === 'ObjectValue';\n}\nfunction isListValue(value) {\n return value.kind === 'ListValue';\n}\nfunction isEnumValue(value) {\n return value.kind === 'EnumValue';\n}\nfunction isNullValue(value) {\n return value.kind === 'NullValue';\n}\nexport function valueToObjectRepresentation(argObj, name, value, variables) {\n if (isIntValue(value) || isFloatValue(value)) {\n argObj[name.value] = Number(value.value);\n }\n else if (isBooleanValue(value) || isStringValue(value)) {\n argObj[name.value] = value.value;\n }\n else if (isObjectValue(value)) {\n var nestedArgObj_1 = {};\n value.fields.map(function (obj) {\n return valueToObjectRepresentation(nestedArgObj_1, obj.name, obj.value, variables);\n });\n argObj[name.value] = nestedArgObj_1;\n }\n else if (isVariable(value)) {\n var variableValue = (variables || {})[value.name.value];\n argObj[name.value] = variableValue;\n }\n else if (isListValue(value)) {\n argObj[name.value] = value.values.map(function (listValue) {\n var nestedArgArrayObj = {};\n valueToObjectRepresentation(nestedArgArrayObj, name, listValue, variables);\n return nestedArgArrayObj[name.value];\n });\n }\n else if (isEnumValue(value)) {\n argObj[name.value] = value.value;\n }\n else if (isNullValue(value)) {\n argObj[name.value] = null;\n }\n else {\n throw __DEV__ ? new InvariantError(\"The inline argument \\\"\".concat(name.value, \"\\\" of kind \\\"\").concat(value.kind, \"\\\"\") +\n 'is not supported. Use variables instead of inline arguments to ' +\n 'overcome this limitation.') : new InvariantError(54);\n }\n}\nexport function storeKeyNameFromField(field, variables) {\n var directivesObj = null;\n if (field.directives) {\n directivesObj = {};\n field.directives.forEach(function (directive) {\n directivesObj[directive.name.value] = {};\n if (directive.arguments) {\n directive.arguments.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n return valueToObjectRepresentation(directivesObj[directive.name.value], name, value, variables);\n });\n }\n });\n }\n var argObj = null;\n if (field.arguments && field.arguments.length) {\n argObj = {};\n field.arguments.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n return valueToObjectRepresentation(argObj, name, value, variables);\n });\n }\n return getStoreKeyName(field.name.value, argObj, directivesObj);\n}\nvar KNOWN_DIRECTIVES = [\n 'connection',\n 'include',\n 'skip',\n 'client',\n 'rest',\n 'export',\n];\nexport var getStoreKeyName = Object.assign(function (fieldName, args, directives) {\n if (args &&\n directives &&\n directives['connection'] &&\n directives['connection']['key']) {\n if (directives['connection']['filter'] &&\n directives['connection']['filter'].length > 0) {\n var filterKeys = directives['connection']['filter']\n ? directives['connection']['filter']\n : [];\n filterKeys.sort();\n var filteredArgs_1 = {};\n filterKeys.forEach(function (key) {\n filteredArgs_1[key] = args[key];\n });\n return \"\".concat(directives['connection']['key'], \"(\").concat(stringify(filteredArgs_1), \")\");\n }\n else {\n return directives['connection']['key'];\n }\n }\n var completeFieldName = fieldName;\n if (args) {\n var stringifiedArgs = stringify(args);\n completeFieldName += \"(\".concat(stringifiedArgs, \")\");\n }\n if (directives) {\n Object.keys(directives).forEach(function (key) {\n if (KNOWN_DIRECTIVES.indexOf(key) !== -1)\n return;\n if (directives[key] && Object.keys(directives[key]).length) {\n completeFieldName += \"@\".concat(key, \"(\").concat(stringify(directives[key]), \")\");\n }\n else {\n completeFieldName += \"@\".concat(key);\n }\n });\n }\n return completeFieldName;\n}, {\n setStringify: function (s) {\n var previous = stringify;\n stringify = s;\n return previous;\n },\n});\nvar stringify = function defaultStringify(value) {\n return JSON.stringify(value, stringifyReplacer);\n};\nfunction stringifyReplacer(_key, value) {\n if (isNonNullObject(value) && !Array.isArray(value)) {\n value = Object.keys(value).sort().reduce(function (copy, key) {\n copy[key] = value[key];\n return copy;\n }, {});\n }\n return value;\n}\nexport function argumentsObjectFromField(field, variables) {\n if (field.arguments && field.arguments.length) {\n var argObj_1 = {};\n field.arguments.forEach(function (_a) {\n var name = _a.name, value = _a.value;\n return valueToObjectRepresentation(argObj_1, name, value, variables);\n });\n return argObj_1;\n }\n return null;\n}\nexport function resultKeyNameFromField(field) {\n return field.alias ? field.alias.value : field.name.value;\n}\nexport function getTypenameFromResult(result, selectionSet, fragmentMap) {\n if (typeof result.__typename === 'string') {\n return result.__typename;\n }\n for (var _i = 0, _a = selectionSet.selections; _i < _a.length; _i++) {\n var selection = _a[_i];\n if (isField(selection)) {\n if (selection.name.value === '__typename') {\n return result[resultKeyNameFromField(selection)];\n }\n }\n else {\n var typename = getTypenameFromResult(result, getFragmentFromSelection(selection, fragmentMap).selectionSet, fragmentMap);\n if (typeof typename === 'string') {\n return typename;\n }\n }\n }\n}\nexport function isField(selection) {\n return selection.kind === 'Field';\n}\nexport function isInlineFragment(selection) {\n return selection.kind === 'InlineFragment';\n}\n//# sourceMappingURL=storeUtils.js.map","import { invariant, InvariantError } from \"../globals/index.js\";\nimport { valueToObjectRepresentation } from \"./storeUtils.js\";\nexport function checkDocument(doc) {\n __DEV__ ? invariant(doc && doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\") : invariant(doc && doc.kind === 'Document', 46);\n var operations = doc.definitions\n .filter(function (d) { return d.kind !== 'FragmentDefinition'; })\n .map(function (definition) {\n if (definition.kind !== 'OperationDefinition') {\n throw __DEV__ ? new InvariantError(\"Schema type definitions not allowed in queries. Found: \\\"\".concat(definition.kind, \"\\\"\")) : new InvariantError(47);\n }\n return definition;\n });\n __DEV__ ? invariant(operations.length <= 1, \"Ambiguous GraphQL document: contains \".concat(operations.length, \" operations\")) : invariant(operations.length <= 1, 48);\n return doc;\n}\nexport function getOperationDefinition(doc) {\n checkDocument(doc);\n return doc.definitions.filter(function (definition) { return definition.kind === 'OperationDefinition'; })[0];\n}\nexport function getOperationName(doc) {\n return (doc.definitions\n .filter(function (definition) {\n return definition.kind === 'OperationDefinition' && definition.name;\n })\n .map(function (x) { return x.name.value; })[0] || null);\n}\nexport function getFragmentDefinitions(doc) {\n return doc.definitions.filter(function (definition) { return definition.kind === 'FragmentDefinition'; });\n}\nexport function getQueryDefinition(doc) {\n var queryDef = getOperationDefinition(doc);\n __DEV__ ? invariant(queryDef && queryDef.operation === 'query', 'Must contain a query definition.') : invariant(queryDef && queryDef.operation === 'query', 49);\n return queryDef;\n}\nexport function getFragmentDefinition(doc) {\n __DEV__ ? invariant(doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\") : invariant(doc.kind === 'Document', 50);\n __DEV__ ? invariant(doc.definitions.length <= 1, 'Fragment must have exactly one definition.') : invariant(doc.definitions.length <= 1, 51);\n var fragmentDef = doc.definitions[0];\n __DEV__ ? invariant(fragmentDef.kind === 'FragmentDefinition', 'Must be a fragment definition.') : invariant(fragmentDef.kind === 'FragmentDefinition', 52);\n return fragmentDef;\n}\nexport function getMainDefinition(queryDoc) {\n checkDocument(queryDoc);\n var fragmentDefinition;\n for (var _i = 0, _a = queryDoc.definitions; _i < _a.length; _i++) {\n var definition = _a[_i];\n if (definition.kind === 'OperationDefinition') {\n var operation = definition.operation;\n if (operation === 'query' ||\n operation === 'mutation' ||\n operation === 'subscription') {\n return definition;\n }\n }\n if (definition.kind === 'FragmentDefinition' && !fragmentDefinition) {\n fragmentDefinition = definition;\n }\n }\n if (fragmentDefinition) {\n return fragmentDefinition;\n }\n throw __DEV__ ? new InvariantError('Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.') : new InvariantError(53);\n}\nexport function getDefaultValues(definition) {\n var defaultValues = Object.create(null);\n var defs = definition && definition.variableDefinitions;\n if (defs && defs.length) {\n defs.forEach(function (def) {\n if (def.defaultValue) {\n valueToObjectRepresentation(defaultValues, def.variable.name, def.defaultValue);\n }\n });\n }\n return defaultValues;\n}\n//# sourceMappingURL=getFromAST.js.map","export function filterInPlace(array, test, context) {\n var target = 0;\n array.forEach(function (elem, i) {\n if (test.call(this, elem, i, array)) {\n array[target++] = elem;\n }\n }, context);\n array.length = target;\n return array;\n}\n//# sourceMappingURL=filterInPlace.js.map","import { __assign, __spreadArray } from \"tslib\";\nimport { invariant } from \"../globals/index.js\";\nimport { visit, } from 'graphql';\nimport { checkDocument, getOperationDefinition, getFragmentDefinition, getFragmentDefinitions, getMainDefinition, } from \"./getFromAST.js\";\nimport { filterInPlace } from \"../common/filterInPlace.js\";\nimport { isField, isInlineFragment } from \"./storeUtils.js\";\nimport { createFragmentMap, } from \"./fragments.js\";\nvar TYPENAME_FIELD = {\n kind: 'Field',\n name: {\n kind: 'Name',\n value: '__typename',\n },\n};\nfunction isEmpty(op, fragmentMap) {\n return !op || op.selectionSet.selections.every(function (selection) { return selection.kind === 'FragmentSpread' &&\n isEmpty(fragmentMap[selection.name.value], fragmentMap); });\n}\nfunction nullIfDocIsEmpty(doc) {\n return isEmpty(getOperationDefinition(doc) || getFragmentDefinition(doc), createFragmentMap(getFragmentDefinitions(doc)))\n ? null\n : doc;\n}\nfunction getDirectiveMatcher(directives) {\n return function directiveMatcher(directive) {\n return directives.some(function (dir) {\n return (dir.name && dir.name === directive.name.value) ||\n (dir.test && dir.test(directive));\n });\n };\n}\nexport function removeDirectivesFromDocument(directives, doc) {\n var variablesInUse = Object.create(null);\n var variablesToRemove = [];\n var fragmentSpreadsInUse = Object.create(null);\n var fragmentSpreadsToRemove = [];\n var modifiedDoc = nullIfDocIsEmpty(visit(doc, {\n Variable: {\n enter: function (node, _key, parent) {\n if (parent.kind !== 'VariableDefinition') {\n variablesInUse[node.name.value] = true;\n }\n },\n },\n Field: {\n enter: function (node) {\n if (directives && node.directives) {\n var shouldRemoveField = directives.some(function (directive) { return directive.remove; });\n if (shouldRemoveField &&\n node.directives &&\n node.directives.some(getDirectiveMatcher(directives))) {\n if (node.arguments) {\n node.arguments.forEach(function (arg) {\n if (arg.value.kind === 'Variable') {\n variablesToRemove.push({\n name: arg.value.name.value,\n });\n }\n });\n }\n if (node.selectionSet) {\n getAllFragmentSpreadsFromSelectionSet(node.selectionSet).forEach(function (frag) {\n fragmentSpreadsToRemove.push({\n name: frag.name.value,\n });\n });\n }\n return null;\n }\n }\n },\n },\n FragmentSpread: {\n enter: function (node) {\n fragmentSpreadsInUse[node.name.value] = true;\n },\n },\n Directive: {\n enter: function (node) {\n if (getDirectiveMatcher(directives)(node)) {\n return null;\n }\n },\n },\n }));\n if (modifiedDoc &&\n filterInPlace(variablesToRemove, function (v) { return !!v.name && !variablesInUse[v.name]; }).length) {\n modifiedDoc = removeArgumentsFromDocument(variablesToRemove, modifiedDoc);\n }\n if (modifiedDoc &&\n filterInPlace(fragmentSpreadsToRemove, function (fs) { return !!fs.name && !fragmentSpreadsInUse[fs.name]; })\n .length) {\n modifiedDoc = removeFragmentSpreadFromDocument(fragmentSpreadsToRemove, modifiedDoc);\n }\n return modifiedDoc;\n}\nexport var addTypenameToDocument = Object.assign(function (doc) {\n return visit(doc, {\n SelectionSet: {\n enter: function (node, _key, parent) {\n if (parent &&\n parent.kind === 'OperationDefinition') {\n return;\n }\n var selections = node.selections;\n if (!selections) {\n return;\n }\n var skip = selections.some(function (selection) {\n return (isField(selection) &&\n (selection.name.value === '__typename' ||\n selection.name.value.lastIndexOf('__', 0) === 0));\n });\n if (skip) {\n return;\n }\n var field = parent;\n if (isField(field) &&\n field.directives &&\n field.directives.some(function (d) { return d.name.value === 'export'; })) {\n return;\n }\n return __assign(__assign({}, node), { selections: __spreadArray(__spreadArray([], selections, true), [TYPENAME_FIELD], false) });\n },\n },\n });\n}, {\n added: function (field) {\n return field === TYPENAME_FIELD;\n },\n});\nvar connectionRemoveConfig = {\n test: function (directive) {\n var willRemove = directive.name.value === 'connection';\n if (willRemove) {\n if (!directive.arguments ||\n !directive.arguments.some(function (arg) { return arg.name.value === 'key'; })) {\n __DEV__ && invariant.warn('Removing an @connection directive even though it does not have a key. ' +\n 'You may want to use the key parameter to specify a store key.');\n }\n }\n return willRemove;\n },\n};\nexport function removeConnectionDirectiveFromDocument(doc) {\n return removeDirectivesFromDocument([connectionRemoveConfig], checkDocument(doc));\n}\nfunction hasDirectivesInSelectionSet(directives, selectionSet, nestedCheck) {\n if (nestedCheck === void 0) { nestedCheck = true; }\n return (!!selectionSet &&\n selectionSet.selections &&\n selectionSet.selections.some(function (selection) {\n return hasDirectivesInSelection(directives, selection, nestedCheck);\n }));\n}\nfunction hasDirectivesInSelection(directives, selection, nestedCheck) {\n if (nestedCheck === void 0) { nestedCheck = true; }\n if (!isField(selection)) {\n return true;\n }\n if (!selection.directives) {\n return false;\n }\n return (selection.directives.some(getDirectiveMatcher(directives)) ||\n (nestedCheck &&\n hasDirectivesInSelectionSet(directives, selection.selectionSet, nestedCheck)));\n}\nfunction getArgumentMatcher(config) {\n return function argumentMatcher(argument) {\n return config.some(function (aConfig) {\n return argument.value &&\n argument.value.kind === 'Variable' &&\n argument.value.name &&\n (aConfig.name === argument.value.name.value ||\n (aConfig.test && aConfig.test(argument)));\n });\n };\n}\nexport function removeArgumentsFromDocument(config, doc) {\n var argMatcher = getArgumentMatcher(config);\n return nullIfDocIsEmpty(visit(doc, {\n OperationDefinition: {\n enter: function (node) {\n return __assign(__assign({}, node), { variableDefinitions: node.variableDefinitions ? node.variableDefinitions.filter(function (varDef) {\n return !config.some(function (arg) { return arg.name === varDef.variable.name.value; });\n }) : [] });\n },\n },\n Field: {\n enter: function (node) {\n var shouldRemoveField = config.some(function (argConfig) { return argConfig.remove; });\n if (shouldRemoveField) {\n var argMatchCount_1 = 0;\n if (node.arguments) {\n node.arguments.forEach(function (arg) {\n if (argMatcher(arg)) {\n argMatchCount_1 += 1;\n }\n });\n }\n if (argMatchCount_1 === 1) {\n return null;\n }\n }\n },\n },\n Argument: {\n enter: function (node) {\n if (argMatcher(node)) {\n return null;\n }\n },\n },\n }));\n}\nexport function removeFragmentSpreadFromDocument(config, doc) {\n function enter(node) {\n if (config.some(function (def) { return def.name === node.name.value; })) {\n return null;\n }\n }\n return nullIfDocIsEmpty(visit(doc, {\n FragmentSpread: { enter: enter },\n FragmentDefinition: { enter: enter },\n }));\n}\nfunction getAllFragmentSpreadsFromSelectionSet(selectionSet) {\n var allFragments = [];\n selectionSet.selections.forEach(function (selection) {\n if ((isField(selection) || isInlineFragment(selection)) &&\n selection.selectionSet) {\n getAllFragmentSpreadsFromSelectionSet(selection.selectionSet).forEach(function (frag) { return allFragments.push(frag); });\n }\n else if (selection.kind === 'FragmentSpread') {\n allFragments.push(selection);\n }\n });\n return allFragments;\n}\nexport function buildQueryFromSelectionSet(document) {\n var definition = getMainDefinition(document);\n var definitionOperation = definition.operation;\n if (definitionOperation === 'query') {\n return document;\n }\n var modifiedDoc = visit(document, {\n OperationDefinition: {\n enter: function (node) {\n return __assign(__assign({}, node), { operation: 'query' });\n },\n },\n });\n return modifiedDoc;\n}\nexport function removeClientSetsFromDocument(document) {\n checkDocument(document);\n var modifiedDoc = removeDirectivesFromDocument([\n {\n test: function (directive) { return directive.name.value === 'client'; },\n remove: true,\n },\n ], document);\n if (modifiedDoc) {\n modifiedDoc = visit(modifiedDoc, {\n FragmentDefinition: {\n enter: function (node) {\n if (node.selectionSet) {\n var isTypenameOnly = node.selectionSet.selections.every(function (selection) {\n return isField(selection) && selection.name.value === '__typename';\n });\n if (isTypenameOnly) {\n return null;\n }\n }\n },\n },\n });\n }\n return modifiedDoc;\n}\n//# sourceMappingURL=transform.js.map","import { __assign, __spreadArray } from \"tslib\";\nimport { isNonNullObject } from \"./objects.js\";\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport function mergeDeep() {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return mergeDeepArray(sources);\n}\nexport function mergeDeepArray(sources) {\n var target = sources[0] || {};\n var count = sources.length;\n if (count > 1) {\n var merger = new DeepMerger();\n for (var i = 1; i < count; ++i) {\n target = merger.merge(target, sources[i]);\n }\n }\n return target;\n}\nvar defaultReconciler = function (target, source, property) {\n return this.merge(target[property], source[property]);\n};\nvar DeepMerger = (function () {\n function DeepMerger(reconciler) {\n if (reconciler === void 0) { reconciler = defaultReconciler; }\n this.reconciler = reconciler;\n this.isObject = isNonNullObject;\n this.pastCopies = new Set();\n }\n DeepMerger.prototype.merge = function (target, source) {\n var _this = this;\n var context = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n context[_i - 2] = arguments[_i];\n }\n if (isNonNullObject(source) && isNonNullObject(target)) {\n Object.keys(source).forEach(function (sourceKey) {\n if (hasOwnProperty.call(target, sourceKey)) {\n var targetValue = target[sourceKey];\n if (source[sourceKey] !== targetValue) {\n var result = _this.reconciler.apply(_this, __spreadArray([target, source, sourceKey], context, false));\n if (result !== targetValue) {\n target = _this.shallowCopyForMerge(target);\n target[sourceKey] = result;\n }\n }\n }\n else {\n target = _this.shallowCopyForMerge(target);\n target[sourceKey] = source[sourceKey];\n }\n });\n return target;\n }\n return source;\n };\n DeepMerger.prototype.shallowCopyForMerge = function (value) {\n if (isNonNullObject(value)) {\n if (!this.pastCopies.has(value)) {\n if (Array.isArray(value)) {\n value = value.slice(0);\n }\n else {\n value = __assign({ __proto__: Object.getPrototypeOf(value) }, value);\n }\n this.pastCopies.add(value);\n }\n }\n return value;\n };\n return DeepMerger;\n}());\nexport { DeepMerger };\n//# sourceMappingURL=mergeDeep.js.map","import { __assign, __rest as __rest_1, __spreadArray } from \"tslib\";\nimport { __rest } from \"tslib\";\nimport { mergeDeep } from \"../common/mergeDeep.js\";\nexport function concatPagination(keyArgs) {\n if (keyArgs === void 0) { keyArgs = false; }\n return {\n keyArgs: keyArgs,\n merge: function (existing, incoming) {\n return existing ? __spreadArray(__spreadArray([], existing, true), incoming, true) : incoming;\n },\n };\n}\nexport function offsetLimitPagination(keyArgs) {\n if (keyArgs === void 0) { keyArgs = false; }\n return {\n keyArgs: keyArgs,\n merge: function (existing, incoming, _a) {\n var args = _a.args;\n var merged = existing ? existing.slice(0) : [];\n if (incoming) {\n if (args) {\n var _b = args.offset, offset = _b === void 0 ? 0 : _b;\n for (var i = 0; i < incoming.length; ++i) {\n merged[offset + i] = incoming[i];\n }\n }\n else {\n merged.push.apply(merged, incoming);\n }\n }\n return merged;\n },\n };\n}\nexport function relayStylePagination(keyArgs) {\n if (keyArgs === void 0) { keyArgs = false; }\n return {\n keyArgs: keyArgs,\n read: function (existing, _a) {\n var canRead = _a.canRead, readField = _a.readField;\n if (!existing)\n return existing;\n var edges = [];\n var firstEdgeCursor = \"\";\n var lastEdgeCursor = \"\";\n existing.edges.forEach(function (edge) {\n if (canRead(readField(\"node\", edge))) {\n edges.push(edge);\n if (edge.cursor) {\n firstEdgeCursor = firstEdgeCursor || edge.cursor || \"\";\n lastEdgeCursor = edge.cursor || lastEdgeCursor;\n }\n }\n });\n var _b = existing.pageInfo || {}, startCursor = _b.startCursor, endCursor = _b.endCursor;\n return __assign(__assign({}, getExtras(existing)), { edges: edges, pageInfo: __assign(__assign({}, existing.pageInfo), { startCursor: startCursor || firstEdgeCursor, endCursor: endCursor || lastEdgeCursor }) });\n },\n merge: function (existing, incoming, _a) {\n var args = _a.args, isReference = _a.isReference, readField = _a.readField;\n if (!existing) {\n existing = makeEmptyData();\n }\n if (!incoming) {\n return existing;\n }\n var incomingEdges = incoming.edges ? incoming.edges.map(function (edge) {\n if (isReference(edge = __assign({}, edge))) {\n edge.cursor = readField(\"cursor\", edge);\n }\n return edge;\n }) : [];\n if (incoming.pageInfo) {\n var pageInfo_1 = incoming.pageInfo;\n var startCursor = pageInfo_1.startCursor, endCursor = pageInfo_1.endCursor;\n var firstEdge = incomingEdges[0];\n var lastEdge = incomingEdges[incomingEdges.length - 1];\n if (firstEdge && startCursor) {\n firstEdge.cursor = startCursor;\n }\n if (lastEdge && endCursor) {\n lastEdge.cursor = endCursor;\n }\n var firstCursor = firstEdge && firstEdge.cursor;\n if (firstCursor && !startCursor) {\n incoming = mergeDeep(incoming, {\n pageInfo: {\n startCursor: firstCursor,\n },\n });\n }\n var lastCursor = lastEdge && lastEdge.cursor;\n if (lastCursor && !endCursor) {\n incoming = mergeDeep(incoming, {\n pageInfo: {\n endCursor: lastCursor,\n },\n });\n }\n }\n var prefix = existing.edges;\n var suffix = [];\n if (args && args.after) {\n var index = prefix.findIndex(function (edge) { return edge.cursor === args.after; });\n if (index >= 0) {\n prefix = prefix.slice(0, index + 1);\n }\n }\n else if (args && args.before) {\n var index = prefix.findIndex(function (edge) { return edge.cursor === args.before; });\n suffix = index < 0 ? prefix : prefix.slice(index);\n prefix = [];\n }\n else if (incoming.edges) {\n prefix = [];\n }\n var edges = __spreadArray(__spreadArray(__spreadArray([], prefix, true), incomingEdges, true), suffix, true);\n var pageInfo = __assign(__assign({}, incoming.pageInfo), existing.pageInfo);\n if (incoming.pageInfo) {\n var _b = incoming.pageInfo, hasPreviousPage = _b.hasPreviousPage, hasNextPage = _b.hasNextPage, startCursor = _b.startCursor, endCursor = _b.endCursor, extras = __rest_1(_b, [\"hasPreviousPage\", \"hasNextPage\", \"startCursor\", \"endCursor\"]);\n Object.assign(pageInfo, extras);\n if (!prefix.length) {\n if (void 0 !== hasPreviousPage)\n pageInfo.hasPreviousPage = hasPreviousPage;\n if (void 0 !== startCursor)\n pageInfo.startCursor = startCursor;\n }\n if (!suffix.length) {\n if (void 0 !== hasNextPage)\n pageInfo.hasNextPage = hasNextPage;\n if (void 0 !== endCursor)\n pageInfo.endCursor = endCursor;\n }\n }\n return __assign(__assign(__assign({}, getExtras(existing)), getExtras(incoming)), { edges: edges, pageInfo: pageInfo });\n },\n };\n}\nvar getExtras = function (obj) { return __rest(obj, notExtras); };\nvar notExtras = [\"edges\", \"pageInfo\"];\nfunction makeEmptyData() {\n return {\n edges: [],\n pageInfo: {\n hasPreviousPage: false,\n hasNextPage: true,\n startCursor: \"\",\n endCursor: \"\",\n },\n };\n}\n//# sourceMappingURL=pagination.js.map","function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\n// === Symbol Support ===\nvar hasSymbols = function () {\n return typeof Symbol === 'function';\n};\n\nvar hasSymbol = function (name) {\n return hasSymbols() && Boolean(Symbol[name]);\n};\n\nvar getSymbol = function (name) {\n return hasSymbol(name) ? Symbol[name] : '@@' + name;\n};\n\nif (hasSymbols() && !hasSymbol('observable')) {\n Symbol.observable = Symbol('observable');\n}\n\nvar SymbolIterator = getSymbol('iterator');\nvar SymbolObservable = getSymbol('observable');\nvar SymbolSpecies = getSymbol('species'); // === Abstract Operations ===\n\nfunction getMethod(obj, key) {\n var value = obj[key];\n if (value == null) return undefined;\n if (typeof value !== 'function') throw new TypeError(value + ' is not a function');\n return value;\n}\n\nfunction getSpecies(obj) {\n var ctor = obj.constructor;\n\n if (ctor !== undefined) {\n ctor = ctor[SymbolSpecies];\n\n if (ctor === null) {\n ctor = undefined;\n }\n }\n\n return ctor !== undefined ? ctor : Observable;\n}\n\nfunction isObservable(x) {\n return x instanceof Observable; // SPEC: Brand check\n}\n\nfunction hostReportError(e) {\n if (hostReportError.log) {\n hostReportError.log(e);\n } else {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction enqueue(fn) {\n Promise.resolve().then(function () {\n try {\n fn();\n } catch (e) {\n hostReportError(e);\n }\n });\n}\n\nfunction cleanupSubscription(subscription) {\n var cleanup = subscription._cleanup;\n if (cleanup === undefined) return;\n subscription._cleanup = undefined;\n\n if (!cleanup) {\n return;\n }\n\n try {\n if (typeof cleanup === 'function') {\n cleanup();\n } else {\n var unsubscribe = getMethod(cleanup, 'unsubscribe');\n\n if (unsubscribe) {\n unsubscribe.call(cleanup);\n }\n }\n } catch (e) {\n hostReportError(e);\n }\n}\n\nfunction closeSubscription(subscription) {\n subscription._observer = undefined;\n subscription._queue = undefined;\n subscription._state = 'closed';\n}\n\nfunction flushSubscription(subscription) {\n var queue = subscription._queue;\n\n if (!queue) {\n return;\n }\n\n subscription._queue = undefined;\n subscription._state = 'ready';\n\n for (var i = 0; i < queue.length; ++i) {\n notifySubscription(subscription, queue[i].type, queue[i].value);\n if (subscription._state === 'closed') break;\n }\n}\n\nfunction notifySubscription(subscription, type, value) {\n subscription._state = 'running';\n var observer = subscription._observer;\n\n try {\n var m = getMethod(observer, type);\n\n switch (type) {\n case 'next':\n if (m) m.call(observer, value);\n break;\n\n case 'error':\n closeSubscription(subscription);\n if (m) m.call(observer, value);else throw value;\n break;\n\n case 'complete':\n closeSubscription(subscription);\n if (m) m.call(observer);\n break;\n }\n } catch (e) {\n hostReportError(e);\n }\n\n if (subscription._state === 'closed') cleanupSubscription(subscription);else if (subscription._state === 'running') subscription._state = 'ready';\n}\n\nfunction onNotify(subscription, type, value) {\n if (subscription._state === 'closed') return;\n\n if (subscription._state === 'buffering') {\n subscription._queue.push({\n type: type,\n value: value\n });\n\n return;\n }\n\n if (subscription._state !== 'ready') {\n subscription._state = 'buffering';\n subscription._queue = [{\n type: type,\n value: value\n }];\n enqueue(function () {\n return flushSubscription(subscription);\n });\n return;\n }\n\n notifySubscription(subscription, type, value);\n}\n\nvar Subscription = /*#__PURE__*/function () {\n function Subscription(observer, subscriber) {\n // ASSERT: observer is an object\n // ASSERT: subscriber is callable\n this._cleanup = undefined;\n this._observer = observer;\n this._queue = undefined;\n this._state = 'initializing';\n var subscriptionObserver = new SubscriptionObserver(this);\n\n try {\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\n } catch (e) {\n subscriptionObserver.error(e);\n }\n\n if (this._state === 'initializing') this._state = 'ready';\n }\n\n var _proto = Subscription.prototype;\n\n _proto.unsubscribe = function unsubscribe() {\n if (this._state !== 'closed') {\n closeSubscription(this);\n cleanupSubscription(this);\n }\n };\n\n _createClass(Subscription, [{\n key: \"closed\",\n get: function () {\n return this._state === 'closed';\n }\n }]);\n\n return Subscription;\n}();\n\nvar SubscriptionObserver = /*#__PURE__*/function () {\n function SubscriptionObserver(subscription) {\n this._subscription = subscription;\n }\n\n var _proto2 = SubscriptionObserver.prototype;\n\n _proto2.next = function next(value) {\n onNotify(this._subscription, 'next', value);\n };\n\n _proto2.error = function error(value) {\n onNotify(this._subscription, 'error', value);\n };\n\n _proto2.complete = function complete() {\n onNotify(this._subscription, 'complete');\n };\n\n _createClass(SubscriptionObserver, [{\n key: \"closed\",\n get: function () {\n return this._subscription._state === 'closed';\n }\n }]);\n\n return SubscriptionObserver;\n}();\n\nvar Observable = /*#__PURE__*/function () {\n function Observable(subscriber) {\n if (!(this instanceof Observable)) throw new TypeError('Observable cannot be called as a function');\n if (typeof subscriber !== 'function') throw new TypeError('Observable initializer must be a function');\n this._subscriber = subscriber;\n }\n\n var _proto3 = Observable.prototype;\n\n _proto3.subscribe = function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n observer = {\n next: observer,\n error: arguments[1],\n complete: arguments[2]\n };\n }\n\n return new Subscription(observer, this._subscriber);\n };\n\n _proto3.forEach = function forEach(fn) {\n var _this = this;\n\n return new Promise(function (resolve, reject) {\n if (typeof fn !== 'function') {\n reject(new TypeError(fn + ' is not a function'));\n return;\n }\n\n function done() {\n subscription.unsubscribe();\n resolve();\n }\n\n var subscription = _this.subscribe({\n next: function (value) {\n try {\n fn(value, done);\n } catch (e) {\n reject(e);\n subscription.unsubscribe();\n }\n },\n error: reject,\n complete: resolve\n });\n });\n };\n\n _proto3.map = function map(fn) {\n var _this2 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this2.subscribe({\n next: function (value) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n observer.complete();\n }\n });\n });\n };\n\n _proto3.filter = function filter(fn) {\n var _this3 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this3.subscribe({\n next: function (value) {\n try {\n if (!fn(value)) return;\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n observer.complete();\n }\n });\n });\n };\n\n _proto3.reduce = function reduce(fn) {\n var _this4 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n var hasSeed = arguments.length > 1;\n var hasValue = false;\n var seed = arguments[1];\n var acc = seed;\n return new C(function (observer) {\n return _this4.subscribe({\n next: function (value) {\n var first = !hasValue;\n hasValue = true;\n\n if (!first || hasSeed) {\n try {\n acc = fn(acc, value);\n } catch (e) {\n return observer.error(e);\n }\n } else {\n acc = value;\n }\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n if (!hasValue && !hasSeed) return observer.error(new TypeError('Cannot reduce an empty sequence'));\n observer.next(acc);\n observer.complete();\n }\n });\n });\n };\n\n _proto3.concat = function concat() {\n var _this5 = this;\n\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscription;\n var index = 0;\n\n function startNext(next) {\n subscription = next.subscribe({\n next: function (v) {\n observer.next(v);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n if (index === sources.length) {\n subscription = undefined;\n observer.complete();\n } else {\n startNext(C.from(sources[index++]));\n }\n }\n });\n }\n\n startNext(_this5);\n return function () {\n if (subscription) {\n subscription.unsubscribe();\n subscription = undefined;\n }\n };\n });\n };\n\n _proto3.flatMap = function flatMap(fn) {\n var _this6 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscriptions = [];\n\n var outer = _this6.subscribe({\n next: function (value) {\n if (fn) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n }\n\n var inner = C.from(value).subscribe({\n next: function (value) {\n observer.next(value);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n var i = subscriptions.indexOf(inner);\n if (i >= 0) subscriptions.splice(i, 1);\n completeIfDone();\n }\n });\n subscriptions.push(inner);\n },\n error: function (e) {\n observer.error(e);\n },\n complete: function () {\n completeIfDone();\n }\n });\n\n function completeIfDone() {\n if (outer.closed && subscriptions.length === 0) observer.complete();\n }\n\n return function () {\n subscriptions.forEach(function (s) {\n return s.unsubscribe();\n });\n outer.unsubscribe();\n };\n });\n };\n\n _proto3[SymbolObservable] = function () {\n return this;\n };\n\n Observable.from = function from(x) {\n var C = typeof this === 'function' ? this : Observable;\n if (x == null) throw new TypeError(x + ' is not an object');\n var method = getMethod(x, SymbolObservable);\n\n if (method) {\n var observable = method.call(x);\n if (Object(observable) !== observable) throw new TypeError(observable + ' is not an object');\n if (isObservable(observable) && observable.constructor === C) return observable;\n return new C(function (observer) {\n return observable.subscribe(observer);\n });\n }\n\n if (hasSymbol('iterator')) {\n method = getMethod(x, SymbolIterator);\n\n if (method) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var _iterator = _createForOfIteratorHelperLoose(method.call(x)), _step; !(_step = _iterator()).done;) {\n var item = _step.value;\n observer.next(item);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n }\n\n if (Array.isArray(x)) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < x.length; ++i) {\n observer.next(x[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n\n throw new TypeError(x + ' is not observable');\n };\n\n Observable.of = function of() {\n for (var _len2 = arguments.length, items = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n items[_key2] = arguments[_key2];\n }\n\n var C = typeof this === 'function' ? this : Observable;\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < items.length; ++i) {\n observer.next(items[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n };\n\n _createClass(Observable, null, [{\n key: SymbolSpecies,\n get: function () {\n return this;\n }\n }]);\n\n return Observable;\n}();\n\nif (hasSymbols()) {\n Object.defineProperty(Observable, Symbol('extensions'), {\n value: {\n symbol: SymbolObservable,\n hostReportError: hostReportError\n },\n configurable: true\n });\n}\n\nexport { Observable };\n","export default function symbolObservablePonyfill(root) {\n\tvar result;\n\tvar Symbol = root.Symbol;\n\n\tif (typeof Symbol === 'function') {\n\t\tif (Symbol.observable) {\n\t\t\tresult = Symbol.observable;\n\t\t} else {\n\n\t\t\tif (typeof Symbol.for === 'function') {\n\t\t\t\t// This just needs to be something that won't trample other user's Symbol.for use\n\t\t\t\t// It also will guide people to the source of their issues, if this is problematic.\n\t\t\t\t// META: It's a resource locator!\n\t\t\t\tresult = Symbol.for('https://github.com/benlesh/symbol-observable');\n\t\t\t} else {\n\t\t\t\t// Symbol.for didn't exist! The best we can do at this point is a totally \n\t\t\t\t// unique symbol. Note that the string argument here is a descriptor, not\n\t\t\t\t// an identifier. This symbol is unique.\n\t\t\t\tresult = Symbol('https://github.com/benlesh/symbol-observable');\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tSymbol.observable = result;\n\t\t\t} catch (err) {\n\t\t\t\t// Do nothing. In some environments, users have frozen `Symbol` for security reasons,\n\t\t\t\t// if it is frozen assigning to it will throw. In this case, we don't care, because\n\t\t\t\t// they will need to use the returned value from the ponyfill.\n\t\t\t}\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n","/* global window */\nimport ponyfill from './ponyfill.js';\n\nvar root;\n\nif (typeof self !== 'undefined') {\n root = self;\n} else if (typeof window !== 'undefined') {\n root = window;\n} else if (typeof global !== 'undefined') {\n root = global;\n} else if (typeof module !== 'undefined') {\n root = module;\n} else {\n root = Function('return this')();\n}\n\nvar result = ponyfill(root);\nexport default result;\n","import { Observable, } from 'zen-observable-ts';\nimport 'symbol-observable';\nvar prototype = Observable.prototype;\nvar fakeObsSymbol = '@@observable';\nif (!prototype[fakeObsSymbol]) {\n prototype[fakeObsSymbol] = function () { return this; };\n}\nexport { Observable };\n//# sourceMappingURL=Observable.js.map","var toString = Object.prototype.toString;\nexport function cloneDeep(value) {\n return cloneDeepHelper(value);\n}\nfunction cloneDeepHelper(val, seen) {\n switch (toString.call(val)) {\n case \"[object Array]\": {\n seen = seen || new Map;\n if (seen.has(val))\n return seen.get(val);\n var copy_1 = val.slice(0);\n seen.set(val, copy_1);\n copy_1.forEach(function (child, i) {\n copy_1[i] = cloneDeepHelper(child, seen);\n });\n return copy_1;\n }\n case \"[object Object]\": {\n seen = seen || new Map;\n if (seen.has(val))\n return seen.get(val);\n var copy_2 = Object.create(Object.getPrototypeOf(val));\n seen.set(val, copy_2);\n Object.keys(val).forEach(function (key) {\n copy_2[key] = cloneDeepHelper(val[key], seen);\n });\n return copy_2;\n }\n default:\n return val;\n }\n}\n//# sourceMappingURL=cloneDeep.js.map","export function iterateObserversSafely(observers, method, argument) {\n var observersWithMethod = [];\n observers.forEach(function (obs) { return obs[method] && observersWithMethod.push(obs); });\n observersWithMethod.forEach(function (obs) { return obs[method](argument); });\n}\n//# sourceMappingURL=iteration.js.map","import { Observable } from \"./Observable.js\";\nexport function asyncMap(observable, mapFn, catchFn) {\n return new Observable(function (observer) {\n var next = observer.next, error = observer.error, complete = observer.complete;\n var activeCallbackCount = 0;\n var completed = false;\n var promiseQueue = {\n then: function (callback) {\n return new Promise(function (resolve) { return resolve(callback()); });\n },\n };\n function makeCallback(examiner, delegate) {\n if (examiner) {\n return function (arg) {\n ++activeCallbackCount;\n var both = function () { return examiner(arg); };\n promiseQueue = promiseQueue.then(both, both).then(function (result) {\n --activeCallbackCount;\n next && next.call(observer, result);\n if (completed) {\n handler.complete();\n }\n }, function (error) {\n --activeCallbackCount;\n throw error;\n }).catch(function (caught) {\n error && error.call(observer, caught);\n });\n };\n }\n else {\n return function (arg) { return delegate && delegate.call(observer, arg); };\n }\n }\n var handler = {\n next: makeCallback(mapFn, next),\n error: makeCallback(catchFn, error),\n complete: function () {\n completed = true;\n if (!activeCallbackCount) {\n complete && complete.call(observer);\n }\n },\n };\n var sub = observable.subscribe(handler);\n return function () { return sub.unsubscribe(); };\n });\n}\n//# sourceMappingURL=asyncMap.js.map","import { maybe } from \"../globals/index.js\";\nexport var canUseWeakMap = typeof WeakMap === 'function' &&\n maybe(function () { return navigator.product; }) !== 'ReactNative';\nexport var canUseWeakSet = typeof WeakSet === 'function';\nexport var canUseSymbol = typeof Symbol === 'function' &&\n typeof Symbol.for === 'function';\nexport var canUseAsyncIteratorSymbol = canUseSymbol && Symbol.asyncIterator;\nexport var canUseDOM = typeof maybe(function () { return window.document.createElement; }) === \"function\";\nvar usingJSDOM = maybe(function () { return navigator.userAgent.indexOf(\"jsdom\") >= 0; }) || false;\nexport var canUseLayoutEffect = canUseDOM && !usingJSDOM;\n//# sourceMappingURL=canUse.js.map","import { Observable } from \"./Observable.js\";\nimport { canUseSymbol } from \"../common/canUse.js\";\nexport function fixObservableSubclass(subclass) {\n function set(key) {\n Object.defineProperty(subclass, key, { value: Observable });\n }\n if (canUseSymbol && Symbol.species) {\n set(Symbol.species);\n }\n set(\"@@species\");\n return subclass;\n}\n//# sourceMappingURL=subclassing.js.map","import { __extends } from \"tslib\";\nimport { Observable } from \"./Observable.js\";\nimport { iterateObserversSafely } from \"./iteration.js\";\nimport { fixObservableSubclass } from \"./subclassing.js\";\nfunction isPromiseLike(value) {\n return value && typeof value.then === \"function\";\n}\nvar Concast = (function (_super) {\n __extends(Concast, _super);\n function Concast(sources) {\n var _this = _super.call(this, function (observer) {\n _this.addObserver(observer);\n return function () { return _this.removeObserver(observer); };\n }) || this;\n _this.observers = new Set();\n _this.promise = new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n });\n _this.handlers = {\n next: function (result) {\n if (_this.sub !== null) {\n _this.latest = [\"next\", result];\n _this.notify(\"next\", result);\n iterateObserversSafely(_this.observers, \"next\", result);\n }\n },\n error: function (error) {\n var sub = _this.sub;\n if (sub !== null) {\n if (sub)\n setTimeout(function () { return sub.unsubscribe(); });\n _this.sub = null;\n _this.latest = [\"error\", error];\n _this.reject(error);\n _this.notify(\"error\", error);\n iterateObserversSafely(_this.observers, \"error\", error);\n }\n },\n complete: function () {\n var sub = _this.sub;\n if (sub !== null) {\n var value = _this.sources.shift();\n if (!value) {\n if (sub)\n setTimeout(function () { return sub.unsubscribe(); });\n _this.sub = null;\n if (_this.latest &&\n _this.latest[0] === \"next\") {\n _this.resolve(_this.latest[1]);\n }\n else {\n _this.resolve();\n }\n _this.notify(\"complete\");\n iterateObserversSafely(_this.observers, \"complete\");\n }\n else if (isPromiseLike(value)) {\n value.then(function (obs) { return _this.sub = obs.subscribe(_this.handlers); });\n }\n else {\n _this.sub = value.subscribe(_this.handlers);\n }\n }\n },\n };\n _this.nextResultListeners = new Set();\n _this.cancel = function (reason) {\n _this.reject(reason);\n _this.sources = [];\n _this.handlers.complete();\n };\n _this.promise.catch(function (_) { });\n if (typeof sources === \"function\") {\n sources = [new Observable(sources)];\n }\n if (isPromiseLike(sources)) {\n sources.then(function (iterable) { return _this.start(iterable); }, _this.handlers.error);\n }\n else {\n _this.start(sources);\n }\n return _this;\n }\n Concast.prototype.start = function (sources) {\n if (this.sub !== void 0)\n return;\n this.sources = Array.from(sources);\n this.handlers.complete();\n };\n Concast.prototype.deliverLastMessage = function (observer) {\n if (this.latest) {\n var nextOrError = this.latest[0];\n var method = observer[nextOrError];\n if (method) {\n method.call(observer, this.latest[1]);\n }\n if (this.sub === null &&\n nextOrError === \"next\" &&\n observer.complete) {\n observer.complete();\n }\n }\n };\n Concast.prototype.addObserver = function (observer) {\n if (!this.observers.has(observer)) {\n this.deliverLastMessage(observer);\n this.observers.add(observer);\n }\n };\n Concast.prototype.removeObserver = function (observer) {\n if (this.observers.delete(observer) &&\n this.observers.size < 1) {\n this.handlers.complete();\n }\n };\n Concast.prototype.notify = function (method, arg) {\n var nextResultListeners = this.nextResultListeners;\n if (nextResultListeners.size) {\n this.nextResultListeners = new Set;\n nextResultListeners.forEach(function (listener) { return listener(method, arg); });\n }\n };\n Concast.prototype.beforeNext = function (callback) {\n var called = false;\n this.nextResultListeners.add(function (method, arg) {\n if (!called) {\n called = true;\n callback(method, arg);\n }\n });\n };\n return Concast;\n}(Observable));\nexport { Concast };\nfixObservableSubclass(Concast);\n//# sourceMappingURL=Concast.js.map","export function isNonEmptyArray(value) {\n return Array.isArray(value) && value.length > 0;\n}\n//# sourceMappingURL=arrays.js.map","export function graphQLResultHasError(result) {\n return (result.errors && result.errors.length > 0) || false;\n}\n//# sourceMappingURL=errorHandling.js.map","export function compact() {\n var objects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n objects[_i] = arguments[_i];\n }\n var result = Object.create(null);\n objects.forEach(function (obj) {\n if (!obj)\n return;\n Object.keys(obj).forEach(function (key) {\n var value = obj[key];\n if (value !== void 0) {\n result[key] = value;\n }\n });\n });\n return result;\n}\n//# sourceMappingURL=compact.js.map","var prefixCounts = new Map();\nexport function makeUniqueId(prefix) {\n var count = prefixCounts.get(prefix) || 1;\n prefixCounts.set(prefix, count + 1);\n return \"\".concat(prefix, \":\").concat(count, \":\").concat(Math.random().toString(36).slice(2));\n}\n//# sourceMappingURL=makeUniqueId.js.map","import { __assign } from \"tslib\";\nimport { compact } from \"./compact.js\";\nexport function mergeOptions(defaults, options) {\n return compact(defaults, options, options.variables && {\n variables: __assign(__assign({}, (defaults && defaults.variables)), options.variables),\n });\n}\n//# sourceMappingURL=mergeOptions.js.map","import { Observable } from \"../../utilities/index.js\";\nexport function fromError(errorValue) {\n return new Observable(function (observer) {\n observer.error(errorValue);\n });\n}\n//# sourceMappingURL=fromError.js.map","export var throwServerError = function (response, result, message) {\n var error = new Error(message);\n error.name = 'ServerError';\n error.response = response;\n error.statusCode = response.status;\n error.result = result;\n throw error;\n};\n//# sourceMappingURL=throwServerError.js.map","import { InvariantError } from \"../../utilities/globals/index.js\";\nexport function validateOperation(operation) {\n var OPERATION_FIELDS = [\n 'query',\n 'operationName',\n 'variables',\n 'extensions',\n 'context',\n ];\n for (var _i = 0, _a = Object.keys(operation); _i < _a.length; _i++) {\n var key = _a[_i];\n if (OPERATION_FIELDS.indexOf(key) < 0) {\n throw __DEV__ ? new InvariantError(\"illegal argument: \".concat(key)) : new InvariantError(26);\n }\n }\n return operation;\n}\n//# sourceMappingURL=validateOperation.js.map","import { __assign } from \"tslib\";\nexport function createOperation(starting, operation) {\n var context = __assign({}, starting);\n var setContext = function (next) {\n if (typeof next === 'function') {\n context = __assign(__assign({}, context), next(context));\n }\n else {\n context = __assign(__assign({}, context), next);\n }\n };\n var getContext = function () { return (__assign({}, context)); };\n Object.defineProperty(operation, 'setContext', {\n enumerable: false,\n value: setContext,\n });\n Object.defineProperty(operation, 'getContext', {\n enumerable: false,\n value: getContext,\n });\n return operation;\n}\n//# sourceMappingURL=createOperation.js.map","import { getOperationName } from \"../../utilities/index.js\";\nexport function transformOperation(operation) {\n var transformedOperation = {\n variables: operation.variables || {},\n extensions: operation.extensions || {},\n operationName: operation.operationName,\n query: operation.query,\n };\n if (!transformedOperation.operationName) {\n transformedOperation.operationName =\n typeof transformedOperation.query !== 'string'\n ? getOperationName(transformedOperation.query) || undefined\n : '';\n }\n return transformedOperation;\n}\n//# sourceMappingURL=transformOperation.js.map","import { __extends } from \"tslib\";\nimport { InvariantError, invariant } from \"../../utilities/globals/index.js\";\nimport { Observable } from \"../../utilities/index.js\";\nimport { validateOperation, createOperation, transformOperation, } from \"../utils/index.js\";\nfunction passthrough(op, forward) {\n return (forward ? forward(op) : Observable.of());\n}\nfunction toLink(handler) {\n return typeof handler === 'function' ? new ApolloLink(handler) : handler;\n}\nfunction isTerminating(link) {\n return link.request.length <= 1;\n}\nvar LinkError = (function (_super) {\n __extends(LinkError, _super);\n function LinkError(message, link) {\n var _this = _super.call(this, message) || this;\n _this.link = link;\n return _this;\n }\n return LinkError;\n}(Error));\nvar ApolloLink = (function () {\n function ApolloLink(request) {\n if (request)\n this.request = request;\n }\n ApolloLink.empty = function () {\n return new ApolloLink(function () { return Observable.of(); });\n };\n ApolloLink.from = function (links) {\n if (links.length === 0)\n return ApolloLink.empty();\n return links.map(toLink).reduce(function (x, y) { return x.concat(y); });\n };\n ApolloLink.split = function (test, left, right) {\n var leftLink = toLink(left);\n var rightLink = toLink(right || new ApolloLink(passthrough));\n if (isTerminating(leftLink) && isTerminating(rightLink)) {\n return new ApolloLink(function (operation) {\n return test(operation)\n ? leftLink.request(operation) || Observable.of()\n : rightLink.request(operation) || Observable.of();\n });\n }\n else {\n return new ApolloLink(function (operation, forward) {\n return test(operation)\n ? leftLink.request(operation, forward) || Observable.of()\n : rightLink.request(operation, forward) || Observable.of();\n });\n }\n };\n ApolloLink.execute = function (link, operation) {\n return (link.request(createOperation(operation.context, transformOperation(validateOperation(operation)))) || Observable.of());\n };\n ApolloLink.concat = function (first, second) {\n var firstLink = toLink(first);\n if (isTerminating(firstLink)) {\n __DEV__ && invariant.warn(new LinkError(\"You are calling concat on a terminating link, which will have no effect\", firstLink));\n return firstLink;\n }\n var nextLink = toLink(second);\n if (isTerminating(nextLink)) {\n return new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) { return nextLink.request(op) || Observable.of(); }) || Observable.of();\n });\n }\n else {\n return new ApolloLink(function (operation, forward) {\n return (firstLink.request(operation, function (op) {\n return nextLink.request(op, forward) || Observable.of();\n }) || Observable.of());\n });\n }\n };\n ApolloLink.prototype.split = function (test, left, right) {\n return this.concat(ApolloLink.split(test, left, right || new ApolloLink(passthrough)));\n };\n ApolloLink.prototype.concat = function (next) {\n return ApolloLink.concat(this, next);\n };\n ApolloLink.prototype.request = function (operation, forward) {\n throw __DEV__ ? new InvariantError('request is not implemented') : new InvariantError(21);\n };\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n return false;\n }\n throw error;\n };\n ApolloLink.prototype.setOnError = function (fn) {\n this.onError = fn;\n return this;\n };\n return ApolloLink;\n}());\nexport { ApolloLink };\n//# sourceMappingURL=ApolloLink.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var from = ApolloLink.from;\n//# sourceMappingURL=from.js.map","import { ApolloLink } from \"./ApolloLink.js\";\nexport var execute = ApolloLink.execute;\n//# sourceMappingURL=execute.js.map","export var version = '3.7.0';\n//# sourceMappingURL=version.js.map","import { canUseAsyncIteratorSymbol } from \"./canUse.js\";\nexport function isNodeResponse(value) {\n return !!value.body;\n}\nexport function isReadableStream(value) {\n return !!value.getReader;\n}\nexport function isAsyncIterableIterator(value) {\n return !!(canUseAsyncIteratorSymbol &&\n value[Symbol.asyncIterator]);\n}\nexport function isStreamableBlob(value) {\n return !!value.stream;\n}\nexport function isBlob(value) {\n return !!value.arrayBuffer;\n}\nexport function isNodeReadableStream(value) {\n return !!value.pipe;\n}\n//# sourceMappingURL=responseIterator.js.map","export default function asyncIterator(source) {\n var _a;\n var iterator = source[Symbol.asyncIterator]();\n return _a = {\n next: function () {\n return iterator.next();\n }\n },\n _a[Symbol.asyncIterator] = function () {\n return this;\n },\n _a;\n}\n//# sourceMappingURL=async.js.map","import { canUseAsyncIteratorSymbol } from \"../../../utilities/index.js\";\nexport default function nodeStreamIterator(stream) {\n var cleanup = null;\n var error = null;\n var done = false;\n var data = [];\n var waiting = [];\n function onData(chunk) {\n if (error)\n return;\n if (waiting.length) {\n var shiftedArr = waiting.shift();\n if (Array.isArray(shiftedArr) && shiftedArr[0]) {\n return shiftedArr[0]({ value: chunk, done: false });\n }\n }\n data.push(chunk);\n }\n function onError(err) {\n error = err;\n var all = waiting.slice();\n all.forEach(function (pair) {\n pair[1](err);\n });\n !cleanup || cleanup();\n }\n function onEnd() {\n done = true;\n var all = waiting.slice();\n all.forEach(function (pair) {\n pair[0]({ value: undefined, done: true });\n });\n !cleanup || cleanup();\n }\n cleanup = function () {\n cleanup = null;\n stream.removeListener(\"data\", onData);\n stream.removeListener(\"error\", onError);\n stream.removeListener(\"end\", onEnd);\n stream.removeListener(\"finish\", onEnd);\n stream.removeListener(\"close\", onEnd);\n };\n stream.on(\"data\", onData);\n stream.on(\"error\", onError);\n stream.on(\"end\", onEnd);\n stream.on(\"finish\", onEnd);\n stream.on(\"close\", onEnd);\n function getNext() {\n return new Promise(function (resolve, reject) {\n if (error)\n return reject(error);\n if (data.length)\n return resolve({ value: data.shift(), done: false });\n if (done)\n return resolve({ value: undefined, done: true });\n waiting.push([resolve, reject]);\n });\n }\n var iterator = {\n next: function () {\n return getNext();\n },\n };\n if (canUseAsyncIteratorSymbol) {\n iterator[Symbol.asyncIterator] = function () {\n return this;\n };\n }\n return iterator;\n}\n//# sourceMappingURL=nodeStream.js.map","import { canUseAsyncIteratorSymbol } from \"../../../utilities/index.js\";\nexport default function promiseIterator(promise) {\n var resolved = false;\n var iterator = {\n next: function () {\n if (resolved)\n return Promise.resolve({\n value: undefined,\n done: true,\n });\n resolved = true;\n return new Promise(function (resolve, reject) {\n promise\n .then(function (value) {\n resolve({ value: value, done: false });\n })\n .catch(reject);\n });\n },\n };\n if (canUseAsyncIteratorSymbol) {\n iterator[Symbol.asyncIterator] = function () {\n return this;\n };\n }\n return iterator;\n}\n//# sourceMappingURL=promise.js.map","import { canUseAsyncIteratorSymbol } from \"../../../utilities/index.js\";\nexport default function readerIterator(reader) {\n var iterator = {\n next: function () {\n return reader.read();\n },\n };\n if (canUseAsyncIteratorSymbol) {\n iterator[Symbol.asyncIterator] = function () {\n return this;\n };\n }\n return iterator;\n}\n//# sourceMappingURL=reader.js.map","import { isAsyncIterableIterator, isBlob, isNodeResponse, isNodeReadableStream, isReadableStream, isStreamableBlob, } from \"../../utilities/common/responseIterator.js\";\nimport asyncIterator from \"./iterators/async.js\";\nimport nodeStreamIterator from \"./iterators/nodeStream.js\";\nimport promiseIterator from \"./iterators/promise.js\";\nimport readerIterator from \"./iterators/reader.js\";\nexport function responseIterator(response) {\n var body = response;\n if (isNodeResponse(response))\n body = response.body;\n if (isAsyncIterableIterator(body))\n return asyncIterator(body);\n if (isReadableStream(body))\n return readerIterator(body.getReader());\n if (isStreamableBlob(body)) {\n return readerIterator(body.stream().getReader());\n }\n if (isBlob(body))\n return promiseIterator(body.arrayBuffer());\n if (isNodeReadableStream(body))\n return nodeStreamIterator(body);\n throw new Error(\"Unknown body type for responseIterator. Please pass a streamable response.\");\n}\n//# sourceMappingURL=responseIterator.js.map","import { __awaiter, __generator } from \"tslib\";\nimport { responseIterator } from \"./responseIterator.js\";\nimport { throwServerError } from \"../utils/index.js\";\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport function readMultipartBody(response, observer) {\n var _a, _b, _c;\n return __awaiter(this, void 0, void 0, function () {\n var decoder, contentType, delimiter, boundaryVal, boundary, buffer, iterator, running, _d, value, done, chunk, bi, message, i, headers, contentType_1, body, result;\n var _e;\n return __generator(this, function (_f) {\n switch (_f.label) {\n case 0:\n if (TextDecoder === undefined) {\n throw new Error(\"TextDecoder must be defined in the environment: please import a polyfill.\");\n }\n decoder = new TextDecoder(\"utf-8\");\n contentType = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.get('content-type');\n delimiter = \"boundary=\";\n boundaryVal = (contentType === null || contentType === void 0 ? void 0 : contentType.includes(delimiter))\n ? contentType === null || contentType === void 0 ? void 0 : contentType.substring((contentType === null || contentType === void 0 ? void 0 : contentType.indexOf(delimiter)) + delimiter.length).replace(/['\"]/g, \"\").replace(/\\;(.*)/gm, \"\").trim()\n : \"-\";\n boundary = \"--\".concat(boundaryVal);\n buffer = \"\";\n iterator = responseIterator(response);\n running = true;\n _f.label = 1;\n case 1:\n if (!running) return [3, 3];\n return [4, iterator.next()];\n case 2:\n _d = _f.sent(), value = _d.value, done = _d.done;\n chunk = typeof value === \"string\" ? value : decoder.decode(value);\n running = !done;\n buffer += chunk;\n bi = buffer.indexOf(boundary);\n while (bi > -1) {\n message = void 0;\n _e = [\n buffer.slice(0, bi),\n buffer.slice(bi + boundary.length),\n ], message = _e[0], buffer = _e[1];\n if (message.trim()) {\n i = message.indexOf(\"\\r\\n\\r\\n\");\n headers = parseHeaders(message.slice(0, i));\n contentType_1 = headers[\"content-type\"];\n if (contentType_1 &&\n contentType_1.toLowerCase().indexOf(\"application/json\") === -1) {\n throw new Error(\"Unsupported patch content type: application/json is required.\");\n }\n body = message.slice(i);\n try {\n result = parseJsonBody(response, body.replace(\"\\r\\n\", \"\"));\n if (Object.keys(result).length > 1 ||\n \"data\" in result ||\n \"incremental\" in result ||\n \"errors\" in result) {\n (_b = observer.next) === null || _b === void 0 ? void 0 : _b.call(observer, result);\n }\n }\n catch (err) {\n handleError(err, observer);\n }\n }\n bi = buffer.indexOf(boundary);\n }\n return [3, 1];\n case 3:\n (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.call(observer);\n return [2];\n }\n });\n });\n}\nexport function parseHeaders(headerText) {\n var headersInit = {};\n headerText.split(\"\\n\").forEach(function (line) {\n var i = line.indexOf(\":\");\n if (i > -1) {\n var name_1 = line.slice(0, i).trim().toLowerCase();\n var value = line.slice(i + 1).trim();\n headersInit[name_1] = value;\n }\n });\n return headersInit;\n}\nexport function parseJsonBody(response, bodyText) {\n if (response.status >= 300) {\n var getResult = function () {\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n return bodyText;\n }\n };\n throwServerError(response, getResult(), \"Response not successful: Received status code \".concat(response.status));\n }\n try {\n return JSON.parse(bodyText);\n }\n catch (err) {\n var parseError = err;\n parseError.name = \"ServerParseError\";\n parseError.response = response;\n parseError.statusCode = response.status;\n parseError.bodyText = bodyText;\n throw parseError;\n }\n}\nexport function handleError(err, observer) {\n var _a, _b;\n if (err.name === \"AbortError\")\n return;\n if (err.result && err.result.errors && err.result.data) {\n (_a = observer.next) === null || _a === void 0 ? void 0 : _a.call(observer, err.result);\n }\n (_b = observer.error) === null || _b === void 0 ? void 0 : _b.call(observer, err);\n}\nexport function readJsonBody(response, operation, observer) {\n parseAndCheckHttpResponse(operation)(response)\n .then(function (result) {\n var _a, _b;\n (_a = observer.next) === null || _a === void 0 ? void 0 : _a.call(observer, result);\n (_b = observer.complete) === null || _b === void 0 ? void 0 : _b.call(observer);\n })\n .catch(function (err) { return handleError(err, observer); });\n}\nexport function parseAndCheckHttpResponse(operations) {\n return function (response) {\n return response\n .text()\n .then(function (bodyText) { return parseJsonBody(response, bodyText); })\n .then(function (result) {\n if (response.status >= 300) {\n throwServerError(response, result, \"Response not successful: Received status code \".concat(response.status));\n }\n if (!Array.isArray(result) &&\n !hasOwnProperty.call(result, \"data\") &&\n !hasOwnProperty.call(result, \"errors\")) {\n throwServerError(response, result, \"Server response was missing for query '\".concat(Array.isArray(operations)\n ? operations.map(function (op) { return op.operationName; })\n : operations.operationName, \"'.\"));\n }\n return result;\n });\n };\n}\n//# sourceMappingURL=parseAndCheckHttpResponse.js.map","import { InvariantError } from \"../../utilities/globals/index.js\";\nexport var serializeFetchParameter = function (p, label) {\n var serialized;\n try {\n serialized = JSON.stringify(p);\n }\n catch (e) {\n var parseError = __DEV__ ? new InvariantError(\"Network request failed. \".concat(label, \" is not serializable: \").concat(e.message)) : new InvariantError(23);\n parseError.parseError = e;\n throw parseError;\n }\n return serialized;\n};\n//# sourceMappingURL=serializeFetchParameter.js.map","import { __assign, __spreadArray } from \"tslib\";\nimport { print } from 'graphql';\n;\nvar defaultHttpOptions = {\n includeQuery: true,\n includeExtensions: false,\n preserveHeaderCase: false,\n};\nvar defaultHeaders = {\n accept: '*/*',\n 'content-type': 'application/json',\n};\nvar defaultOptions = {\n method: 'POST',\n};\nexport var fallbackHttpConfig = {\n http: defaultHttpOptions,\n headers: defaultHeaders,\n options: defaultOptions,\n};\nexport var defaultPrinter = function (ast, printer) { return printer(ast); };\nexport function selectHttpOptionsAndBody(operation, fallbackConfig) {\n var configs = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n configs[_i - 2] = arguments[_i];\n }\n configs.unshift(fallbackConfig);\n return selectHttpOptionsAndBodyInternal.apply(void 0, __spreadArray([operation,\n defaultPrinter], configs, false));\n}\nexport function selectHttpOptionsAndBodyInternal(operation, printer) {\n var configs = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n configs[_i - 2] = arguments[_i];\n }\n var options = {};\n var http = {};\n configs.forEach(function (config) {\n options = __assign(__assign(__assign({}, options), config.options), { headers: __assign(__assign({}, options.headers), config.headers) });\n if (config.credentials) {\n options.credentials = config.credentials;\n }\n http = __assign(__assign({}, http), config.http);\n });\n options.headers = removeDuplicateHeaders(options.headers, http.preserveHeaderCase);\n var operationName = operation.operationName, extensions = operation.extensions, variables = operation.variables, query = operation.query;\n var body = { operationName: operationName, variables: variables };\n if (http.includeExtensions)\n body.extensions = extensions;\n if (http.includeQuery)\n body.query = printer(query, print);\n return {\n options: options,\n body: body,\n };\n}\n;\nfunction removeDuplicateHeaders(headers, preserveHeaderCase) {\n if (!preserveHeaderCase) {\n var normalizedHeaders_1 = Object.create(null);\n Object.keys(Object(headers)).forEach(function (name) {\n normalizedHeaders_1[name.toLowerCase()] = headers[name];\n });\n return normalizedHeaders_1;\n }\n var headerData = Object.create(null);\n Object.keys(Object(headers)).forEach(function (name) {\n headerData[name.toLowerCase()] = { originalName: name, value: headers[name] };\n });\n var normalizedHeaders = Object.create(null);\n Object.keys(headerData).forEach(function (name) {\n normalizedHeaders[headerData[name].originalName] = headerData[name].value;\n });\n return normalizedHeaders;\n}\n//# sourceMappingURL=selectHttpOptionsAndBody.js.map","export var createSignalIfSupported = function () {\n if (typeof AbortController === 'undefined')\n return { controller: false, signal: false };\n var controller = new AbortController();\n var signal = controller.signal;\n return { controller: controller, signal: signal };\n};\n//# sourceMappingURL=createSignalIfSupported.js.map","export var selectURI = function (operation, fallbackURI) {\n var context = operation.getContext();\n var contextURI = context.uri;\n if (contextURI) {\n return contextURI;\n }\n else if (typeof fallbackURI === 'function') {\n return fallbackURI(operation);\n }\n else {\n return fallbackURI || '/graphql';\n }\n};\n//# sourceMappingURL=selectURI.js.map","import { serializeFetchParameter } from \"./serializeFetchParameter.js\";\nexport function rewriteURIForGET(chosenURI, body) {\n var queryParams = [];\n var addQueryParam = function (key, value) {\n queryParams.push(\"\".concat(key, \"=\").concat(encodeURIComponent(value)));\n };\n if ('query' in body) {\n addQueryParam('query', body.query);\n }\n if (body.operationName) {\n addQueryParam('operationName', body.operationName);\n }\n if (body.variables) {\n var serializedVariables = void 0;\n try {\n serializedVariables = serializeFetchParameter(body.variables, 'Variables map');\n }\n catch (parseError) {\n return { parseError: parseError };\n }\n addQueryParam('variables', serializedVariables);\n }\n if (body.extensions) {\n var serializedExtensions = void 0;\n try {\n serializedExtensions = serializeFetchParameter(body.extensions, 'Extensions map');\n }\n catch (parseError) {\n return { parseError: parseError };\n }\n addQueryParam('extensions', serializedExtensions);\n }\n var fragment = '', preFragment = chosenURI;\n var fragmentStart = chosenURI.indexOf('#');\n if (fragmentStart !== -1) {\n fragment = chosenURI.substr(fragmentStart);\n preFragment = chosenURI.substr(0, fragmentStart);\n }\n var queryParamsPrefix = preFragment.indexOf('?') === -1 ? '?' : '&';\n var newURI = preFragment + queryParamsPrefix + queryParams.join('&') + fragment;\n return { newURI: newURI };\n}\n//# sourceMappingURL=rewriteURIForGET.js.map","import { __assign, __rest } from \"tslib\";\nimport \"../../utilities/globals/index.js\";\nimport { visit } from 'graphql';\nimport { ApolloLink } from \"../core/index.js\";\nimport { Observable, hasDirectives } from \"../../utilities/index.js\";\nimport { serializeFetchParameter } from \"./serializeFetchParameter.js\";\nimport { selectURI } from \"./selectURI.js\";\nimport { handleError, readMultipartBody, readJsonBody } from \"./parseAndCheckHttpResponse.js\";\nimport { checkFetcher } from \"./checkFetcher.js\";\nimport { selectHttpOptionsAndBodyInternal, defaultPrinter, fallbackHttpConfig } from \"./selectHttpOptionsAndBody.js\";\nimport { createSignalIfSupported } from \"./createSignalIfSupported.js\";\nimport { rewriteURIForGET } from \"./rewriteURIForGET.js\";\nimport { fromError } from \"../utils/index.js\";\nimport { maybe } from \"../../utilities/index.js\";\nvar backupFetch = maybe(function () { return fetch; });\nexport var createHttpLink = function (linkOptions) {\n if (linkOptions === void 0) { linkOptions = {}; }\n var _a = linkOptions.uri, uri = _a === void 0 ? '/graphql' : _a, preferredFetch = linkOptions.fetch, _b = linkOptions.print, print = _b === void 0 ? defaultPrinter : _b, includeExtensions = linkOptions.includeExtensions, preserveHeaderCase = linkOptions.preserveHeaderCase, useGETForQueries = linkOptions.useGETForQueries, _c = linkOptions.includeUnusedVariables, includeUnusedVariables = _c === void 0 ? false : _c, requestOptions = __rest(linkOptions, [\"uri\", \"fetch\", \"print\", \"includeExtensions\", \"preserveHeaderCase\", \"useGETForQueries\", \"includeUnusedVariables\"]);\n if (__DEV__) {\n checkFetcher(preferredFetch || backupFetch);\n }\n var linkConfig = {\n http: { includeExtensions: includeExtensions, preserveHeaderCase: preserveHeaderCase },\n options: requestOptions.fetchOptions,\n credentials: requestOptions.credentials,\n headers: requestOptions.headers,\n };\n return new ApolloLink(function (operation) {\n var chosenURI = selectURI(operation, uri);\n var context = operation.getContext();\n var clientAwarenessHeaders = {};\n if (context.clientAwareness) {\n var _a = context.clientAwareness, name_1 = _a.name, version = _a.version;\n if (name_1) {\n clientAwarenessHeaders['apollographql-client-name'] = name_1;\n }\n if (version) {\n clientAwarenessHeaders['apollographql-client-version'] = version;\n }\n }\n var contextHeaders = __assign(__assign({}, clientAwarenessHeaders), context.headers);\n var contextConfig = {\n http: context.http,\n options: context.fetchOptions,\n credentials: context.credentials,\n headers: contextHeaders,\n };\n var _b = selectHttpOptionsAndBodyInternal(operation, print, fallbackHttpConfig, linkConfig, contextConfig), options = _b.options, body = _b.body;\n if (body.variables && !includeUnusedVariables) {\n var unusedNames_1 = new Set(Object.keys(body.variables));\n visit(operation.query, {\n Variable: function (node, _key, parent) {\n if (parent && parent.kind !== 'VariableDefinition') {\n unusedNames_1.delete(node.name.value);\n }\n },\n });\n if (unusedNames_1.size) {\n body.variables = __assign({}, body.variables);\n unusedNames_1.forEach(function (name) {\n delete body.variables[name];\n });\n }\n }\n var controller;\n if (!options.signal) {\n var _c = createSignalIfSupported(), _controller = _c.controller, signal = _c.signal;\n controller = _controller;\n if (controller)\n options.signal = signal;\n }\n var definitionIsMutation = function (d) {\n return d.kind === 'OperationDefinition' && d.operation === 'mutation';\n };\n if (useGETForQueries &&\n !operation.query.definitions.some(definitionIsMutation)) {\n options.method = 'GET';\n }\n if (hasDirectives(['defer'], operation.query)) {\n options.headers.accept = \"multipart/mixed; deferSpec=20220824, application/json\";\n }\n if (options.method === 'GET') {\n var _d = rewriteURIForGET(chosenURI, body), newURI = _d.newURI, parseError = _d.parseError;\n if (parseError) {\n return fromError(parseError);\n }\n chosenURI = newURI;\n }\n else {\n try {\n options.body = serializeFetchParameter(body, 'Payload');\n }\n catch (parseError) {\n return fromError(parseError);\n }\n }\n return new Observable(function (observer) {\n var currentFetch = preferredFetch || maybe(function () { return fetch; }) || backupFetch;\n currentFetch(chosenURI, options)\n .then(function (response) {\n var _a;\n operation.setContext({ response: response });\n var ctype = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.get('content-type');\n if (ctype !== null && /^multipart\\/mixed/i.test(ctype)) {\n return readMultipartBody(response, observer);\n }\n else {\n return readJsonBody(response, operation, observer);\n }\n })\n .catch(function (err) { return handleError(err, observer); });\n return function () {\n if (controller)\n controller.abort();\n };\n });\n });\n};\n//# sourceMappingURL=createHttpLink.js.map","import { __extends } from \"tslib\";\nimport { ApolloLink } from \"../core/index.js\";\nimport { createHttpLink } from \"./createHttpLink.js\";\nvar HttpLink = (function (_super) {\n __extends(HttpLink, _super);\n function HttpLink(options) {\n if (options === void 0) { options = {}; }\n var _this = _super.call(this, createHttpLink(options).request) || this;\n _this.options = options;\n return _this;\n }\n return HttpLink;\n}(ApolloLink));\nexport { HttpLink };\n//# sourceMappingURL=HttpLink.js.map","var _a = Object.prototype, toString = _a.toString, hasOwnProperty = _a.hasOwnProperty;\r\nvar fnToStr = Function.prototype.toString;\r\nvar previousComparisons = new Map();\r\n/**\r\n * Performs a deep equality check on two JavaScript values, tolerating cycles.\r\n */\r\nfunction equal(a, b) {\r\n try {\r\n return check(a, b);\r\n }\r\n finally {\r\n previousComparisons.clear();\r\n }\r\n}\r\nfunction check(a, b) {\r\n // If the two values are strictly equal, our job is easy.\r\n if (a === b) {\r\n return true;\r\n }\r\n // Object.prototype.toString returns a representation of the runtime type of\r\n // the given value that is considerably more precise than typeof.\r\n var aTag = toString.call(a);\r\n var bTag = toString.call(b);\r\n // If the runtime types of a and b are different, they could maybe be equal\r\n // under some interpretation of equality, but for simplicity and performance\r\n // we just return false instead.\r\n if (aTag !== bTag) {\r\n return false;\r\n }\r\n switch (aTag) {\r\n case '[object Array]':\r\n // Arrays are a lot like other objects, but we can cheaply compare their\r\n // lengths as a short-cut before comparing their elements.\r\n if (a.length !== b.length)\r\n return false;\r\n // Fall through to object case...\r\n case '[object Object]': {\r\n if (previouslyCompared(a, b))\r\n return true;\r\n var aKeys = definedKeys(a);\r\n var bKeys = definedKeys(b);\r\n // If `a` and `b` have a different number of enumerable keys, they\r\n // must be different.\r\n var keyCount = aKeys.length;\r\n if (keyCount !== bKeys.length)\r\n return false;\r\n // Now make sure they have the same keys.\r\n for (var k = 0; k < keyCount; ++k) {\r\n if (!hasOwnProperty.call(b, aKeys[k])) {\r\n return false;\r\n }\r\n }\r\n // Finally, check deep equality of all child properties.\r\n for (var k = 0; k < keyCount; ++k) {\r\n var key = aKeys[k];\r\n if (!check(a[key], b[key])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n case '[object Error]':\r\n return a.name === b.name && a.message === b.message;\r\n case '[object Number]':\r\n // Handle NaN, which is !== itself.\r\n if (a !== a)\r\n return b !== b;\r\n // Fall through to shared +a === +b case...\r\n case '[object Boolean]':\r\n case '[object Date]':\r\n return +a === +b;\r\n case '[object RegExp]':\r\n case '[object String]':\r\n return a == \"\".concat(b);\r\n case '[object Map]':\r\n case '[object Set]': {\r\n if (a.size !== b.size)\r\n return false;\r\n if (previouslyCompared(a, b))\r\n return true;\r\n var aIterator = a.entries();\r\n var isMap = aTag === '[object Map]';\r\n while (true) {\r\n var info = aIterator.next();\r\n if (info.done)\r\n break;\r\n // If a instanceof Set, aValue === aKey.\r\n var _a = info.value, aKey = _a[0], aValue = _a[1];\r\n // So this works the same way for both Set and Map.\r\n if (!b.has(aKey)) {\r\n return false;\r\n }\r\n // However, we care about deep equality of values only when dealing\r\n // with Map structures.\r\n if (isMap && !check(aValue, b.get(aKey))) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n case '[object Uint16Array]':\r\n case '[object Uint8Array]': // Buffer, in Node.js.\r\n case '[object Uint32Array]':\r\n case '[object Int32Array]':\r\n case '[object Int8Array]':\r\n case '[object Int16Array]':\r\n case '[object ArrayBuffer]':\r\n // DataView doesn't need these conversions, but the equality check is\r\n // otherwise the same.\r\n a = new Uint8Array(a);\r\n b = new Uint8Array(b);\r\n // Fall through...\r\n case '[object DataView]': {\r\n var len = a.byteLength;\r\n if (len === b.byteLength) {\r\n while (len-- && a[len] === b[len]) {\r\n // Keep looping as long as the bytes are equal.\r\n }\r\n }\r\n return len === -1;\r\n }\r\n case '[object AsyncFunction]':\r\n case '[object GeneratorFunction]':\r\n case '[object AsyncGeneratorFunction]':\r\n case '[object Function]': {\r\n var aCode = fnToStr.call(a);\r\n if (aCode !== fnToStr.call(b)) {\r\n return false;\r\n }\r\n // We consider non-native functions equal if they have the same code\r\n // (native functions require === because their code is censored).\r\n // Note that this behavior is not entirely sound, since !== function\r\n // objects with the same code can behave differently depending on\r\n // their closure scope. However, any function can behave differently\r\n // depending on the values of its input arguments (including this)\r\n // and its calling context (including its closure scope), even\r\n // though the function object is === to itself; and it is entirely\r\n // possible for functions that are not === to behave exactly the\r\n // same under all conceivable circumstances. Because none of these\r\n // factors are statically decidable in JavaScript, JS function\r\n // equality is not well-defined. This ambiguity allows us to\r\n // consider the best possible heuristic among various imperfect\r\n // options, and equating non-native functions that have the same\r\n // code has enormous practical benefits, such as when comparing\r\n // functions that are repeatedly passed as fresh function\r\n // expressions within objects that are otherwise deeply equal. Since\r\n // any function created from the same syntactic expression (in the\r\n // same code location) will always stringify to the same code\r\n // according to fnToStr.call, we can reasonably expect these\r\n // repeatedly passed function expressions to have the same code, and\r\n // thus behave \"the same\" (with all the caveats mentioned above),\r\n // even though the runtime function objects are !== to one another.\r\n return !endsWith(aCode, nativeCodeSuffix);\r\n }\r\n }\r\n // Otherwise the values are not equal.\r\n return false;\r\n}\r\nfunction definedKeys(obj) {\r\n // Remember that the second argument to Array.prototype.filter will be\r\n // used as `this` within the callback function.\r\n return Object.keys(obj).filter(isDefinedKey, obj);\r\n}\r\nfunction isDefinedKey(key) {\r\n return this[key] !== void 0;\r\n}\r\nvar nativeCodeSuffix = \"{ [native code] }\";\r\nfunction endsWith(full, suffix) {\r\n var fromIndex = full.length - suffix.length;\r\n return fromIndex >= 0 &&\r\n full.indexOf(suffix, fromIndex) === fromIndex;\r\n}\r\nfunction previouslyCompared(a, b) {\r\n // Though cyclic references can make an object graph appear infinite from the\r\n // perspective of a depth-first traversal, the graph still contains a finite\r\n // number of distinct object references. We use the previousComparisons cache\r\n // to avoid comparing the same pair of object references more than once, which\r\n // guarantees termination (even if we end up comparing every object in one\r\n // graph to every object in the other graph, which is extremely unlikely),\r\n // while still allowing weird isomorphic structures (like rings with different\r\n // lengths) a chance to pass the equality test.\r\n var bSet = previousComparisons.get(a);\r\n if (bSet) {\r\n // Return true here because we can be sure false will be returned somewhere\r\n // else if the objects are not equivalent.\r\n if (bSet.has(b))\r\n return true;\r\n }\r\n else {\r\n previousComparisons.set(a, bSet = new Set);\r\n }\r\n bSet.add(b);\r\n return false;\r\n}\n\nexport { equal as default, equal };\n//# sourceMappingURL=equality.esm.js.map\n","export function isExecutionPatchIncrementalResult(value) {\n return !!value.incremental;\n}\n//# sourceMappingURL=incrementalResult.js.map","// A [trie](https://en.wikipedia.org/wiki/Trie) data structure that holds\r\n// object keys weakly, yet can also hold non-object keys, unlike the\r\n// native `WeakMap`.\r\n// If no makeData function is supplied, the looked-up data will be an empty,\r\n// null-prototype Object.\r\nvar defaultMakeData = function () { return Object.create(null); };\r\n// Useful for processing arguments objects as well as arrays.\r\nvar _a = Array.prototype, forEach = _a.forEach, slice = _a.slice;\r\nvar Trie = /** @class */ (function () {\r\n function Trie(weakness, makeData) {\r\n if (weakness === void 0) { weakness = true; }\r\n if (makeData === void 0) { makeData = defaultMakeData; }\r\n this.weakness = weakness;\r\n this.makeData = makeData;\r\n }\r\n Trie.prototype.lookup = function () {\r\n var array = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n array[_i] = arguments[_i];\r\n }\r\n return this.lookupArray(array);\r\n };\r\n Trie.prototype.lookupArray = function (array) {\r\n var node = this;\r\n forEach.call(array, function (key) { return node = node.getChildTrie(key); });\r\n return node.data || (node.data = this.makeData(slice.call(array)));\r\n };\r\n Trie.prototype.getChildTrie = function (key) {\r\n var map = this.weakness && isObjRef(key)\r\n ? this.weak || (this.weak = new WeakMap())\r\n : this.strong || (this.strong = new Map());\r\n var child = map.get(key);\r\n if (!child)\r\n map.set(key, child = new Trie(this.weakness, this.makeData));\r\n return child;\r\n };\r\n return Trie;\r\n}());\r\nfunction isObjRef(value) {\r\n switch (typeof value) {\r\n case \"object\":\r\n if (value === null)\r\n break;\r\n // Fall through to return true...\r\n case \"function\":\r\n return true;\r\n }\r\n return false;\r\n}\n\nexport { Trie };\n//# sourceMappingURL=trie.esm.js.map\n","// This currentContext variable will only be used if the makeSlotClass\r\n// function is called, which happens only if this is the first copy of the\r\n// @wry/context package to be imported.\r\nvar currentContext = null;\r\n// This unique internal object is used to denote the absence of a value\r\n// for a given Slot, and is never exposed to outside code.\r\nvar MISSING_VALUE = {};\r\nvar idCounter = 1;\r\n// Although we can't do anything about the cost of duplicated code from\r\n// accidentally bundling multiple copies of the @wry/context package, we can\r\n// avoid creating the Slot class more than once using makeSlotClass.\r\nvar makeSlotClass = function () { return /** @class */ (function () {\r\n function Slot() {\r\n // If you have a Slot object, you can find out its slot.id, but you cannot\r\n // guess the slot.id of a Slot you don't have access to, thanks to the\r\n // randomized suffix.\r\n this.id = [\r\n \"slot\",\r\n idCounter++,\r\n Date.now(),\r\n Math.random().toString(36).slice(2),\r\n ].join(\":\");\r\n }\r\n Slot.prototype.hasValue = function () {\r\n for (var context_1 = currentContext; context_1; context_1 = context_1.parent) {\r\n // We use the Slot object iself as a key to its value, which means the\r\n // value cannot be obtained without a reference to the Slot object.\r\n if (this.id in context_1.slots) {\r\n var value = context_1.slots[this.id];\r\n if (value === MISSING_VALUE)\r\n break;\r\n if (context_1 !== currentContext) {\r\n // Cache the value in currentContext.slots so the next lookup will\r\n // be faster. This caching is safe because the tree of contexts and\r\n // the values of the slots are logically immutable.\r\n currentContext.slots[this.id] = value;\r\n }\r\n return true;\r\n }\r\n }\r\n if (currentContext) {\r\n // If a value was not found for this Slot, it's never going to be found\r\n // no matter how many times we look it up, so we might as well cache\r\n // the absence of the value, too.\r\n currentContext.slots[this.id] = MISSING_VALUE;\r\n }\r\n return false;\r\n };\r\n Slot.prototype.getValue = function () {\r\n if (this.hasValue()) {\r\n return currentContext.slots[this.id];\r\n }\r\n };\r\n Slot.prototype.withValue = function (value, callback, \r\n // Given the prevalence of arrow functions, specifying arguments is likely\r\n // to be much more common than specifying `this`, hence this ordering:\r\n args, thisArg) {\r\n var _a;\r\n var slots = (_a = {\r\n __proto__: null\r\n },\r\n _a[this.id] = value,\r\n _a);\r\n var parent = currentContext;\r\n currentContext = { parent: parent, slots: slots };\r\n try {\r\n // Function.prototype.apply allows the arguments array argument to be\r\n // omitted or undefined, so args! is fine here.\r\n return callback.apply(thisArg, args);\r\n }\r\n finally {\r\n currentContext = parent;\r\n }\r\n };\r\n // Capture the current context and wrap a callback function so that it\r\n // reestablishes the captured context when called.\r\n Slot.bind = function (callback) {\r\n var context = currentContext;\r\n return function () {\r\n var saved = currentContext;\r\n try {\r\n currentContext = context;\r\n return callback.apply(this, arguments);\r\n }\r\n finally {\r\n currentContext = saved;\r\n }\r\n };\r\n };\r\n // Immediately run a callback function without any captured context.\r\n Slot.noContext = function (callback, \r\n // Given the prevalence of arrow functions, specifying arguments is likely\r\n // to be much more common than specifying `this`, hence this ordering:\r\n args, thisArg) {\r\n if (currentContext) {\r\n var saved = currentContext;\r\n try {\r\n currentContext = null;\r\n // Function.prototype.apply allows the arguments array argument to be\r\n // omitted or undefined, so args! is fine here.\r\n return callback.apply(thisArg, args);\r\n }\r\n finally {\r\n currentContext = saved;\r\n }\r\n }\r\n else {\r\n return callback.apply(thisArg, args);\r\n }\r\n };\r\n return Slot;\r\n}()); };\r\n// We store a single global implementation of the Slot class as a permanent\r\n// non-enumerable symbol property of the Array constructor. This obfuscation\r\n// does nothing to prevent access to the Slot class, but at least it ensures\r\n// the implementation (i.e. currentContext) cannot be tampered with, and all\r\n// copies of the @wry/context package (hopefully just one) will share the\r\n// same Slot implementation. Since the first copy of the @wry/context package\r\n// to be imported wins, this technique imposes a very high cost for any\r\n// future breaking changes to the Slot class.\r\nvar globalKey = \"@wry/context:Slot\";\r\nvar host = Array;\r\nvar Slot = host[globalKey] || function () {\r\n var Slot = makeSlotClass();\r\n try {\r\n Object.defineProperty(host, globalKey, {\r\n value: host[globalKey] = Slot,\r\n enumerable: false,\r\n writable: false,\r\n configurable: false,\r\n });\r\n }\r\n finally {\r\n return Slot;\r\n }\r\n}();\n\nvar bind = Slot.bind, noContext = Slot.noContext;\r\nfunction setTimeoutWithContext(callback, delay) {\r\n return setTimeout(bind(callback), delay);\r\n}\r\n// Turn any generator function into an async function (using yield instead\r\n// of await), with context automatically preserved across yields.\r\nfunction asyncFromGen(genFn) {\r\n return function () {\r\n var gen = genFn.apply(this, arguments);\r\n var boundNext = bind(gen.next);\r\n var boundThrow = bind(gen.throw);\r\n return new Promise(function (resolve, reject) {\r\n function invoke(method, argument) {\r\n try {\r\n var result = method.call(gen, argument);\r\n }\r\n catch (error) {\r\n return reject(error);\r\n }\r\n var next = result.done ? resolve : invokeNext;\r\n if (isPromiseLike(result.value)) {\r\n result.value.then(next, result.done ? reject : invokeThrow);\r\n }\r\n else {\r\n next(result.value);\r\n }\r\n }\r\n var invokeNext = function (value) { return invoke(boundNext, value); };\r\n var invokeThrow = function (error) { return invoke(boundThrow, error); };\r\n invokeNext();\r\n });\r\n };\r\n}\r\nfunction isPromiseLike(value) {\r\n return value && typeof value.then === \"function\";\r\n}\r\n// If you use the fibers npm package to implement coroutines in Node.js,\r\n// you should call this function at least once to ensure context management\r\n// remains coherent across any yields.\r\nvar wrappedFibers = [];\r\nfunction wrapYieldingFiberMethods(Fiber) {\r\n // There can be only one implementation of Fiber per process, so this array\r\n // should never grow longer than one element.\r\n if (wrappedFibers.indexOf(Fiber) < 0) {\r\n var wrap = function (obj, method) {\r\n var fn = obj[method];\r\n obj[method] = function () {\r\n return noContext(fn, arguments, this);\r\n };\r\n };\r\n // These methods can yield, according to\r\n // https://github.com/laverdet/node-fibers/blob/ddebed9b8ae3883e57f822e2108e6943e5c8d2a8/fibers.js#L97-L100\r\n wrap(Fiber, \"yield\");\r\n wrap(Fiber.prototype, \"run\");\r\n wrap(Fiber.prototype, \"throwInto\");\r\n wrappedFibers.push(Fiber);\r\n }\r\n return Fiber;\r\n}\n\nexport { Slot, asyncFromGen, bind, noContext, setTimeoutWithContext as setTimeout, wrapYieldingFiberMethods };\n//# sourceMappingURL=context.esm.js.map\n","import { Trie } from '@wry/trie';\nexport { Trie as KeyTrie } from '@wry/trie';\nimport { Slot } from '@wry/context';\nexport { asyncFromGen, bind as bindContext, noContext, setTimeout } from '@wry/context';\n\nfunction defaultDispose() { }\r\nvar Cache = /** @class */ (function () {\r\n function Cache(max, dispose) {\r\n if (max === void 0) { max = Infinity; }\r\n if (dispose === void 0) { dispose = defaultDispose; }\r\n this.max = max;\r\n this.dispose = dispose;\r\n this.map = new Map();\r\n this.newest = null;\r\n this.oldest = null;\r\n }\r\n Cache.prototype.has = function (key) {\r\n return this.map.has(key);\r\n };\r\n Cache.prototype.get = function (key) {\r\n var node = this.getNode(key);\r\n return node && node.value;\r\n };\r\n Cache.prototype.getNode = function (key) {\r\n var node = this.map.get(key);\r\n if (node && node !== this.newest) {\r\n var older = node.older, newer = node.newer;\r\n if (newer) {\r\n newer.older = older;\r\n }\r\n if (older) {\r\n older.newer = newer;\r\n }\r\n node.older = this.newest;\r\n node.older.newer = node;\r\n node.newer = null;\r\n this.newest = node;\r\n if (node === this.oldest) {\r\n this.oldest = newer;\r\n }\r\n }\r\n return node;\r\n };\r\n Cache.prototype.set = function (key, value) {\r\n var node = this.getNode(key);\r\n if (node) {\r\n return node.value = value;\r\n }\r\n node = {\r\n key: key,\r\n value: value,\r\n newer: null,\r\n older: this.newest\r\n };\r\n if (this.newest) {\r\n this.newest.newer = node;\r\n }\r\n this.newest = node;\r\n this.oldest = this.oldest || node;\r\n this.map.set(key, node);\r\n return node.value;\r\n };\r\n Cache.prototype.clean = function () {\r\n while (this.oldest && this.map.size > this.max) {\r\n this.delete(this.oldest.key);\r\n }\r\n };\r\n Cache.prototype.delete = function (key) {\r\n var node = this.map.get(key);\r\n if (node) {\r\n if (node === this.newest) {\r\n this.newest = node.older;\r\n }\r\n if (node === this.oldest) {\r\n this.oldest = node.newer;\r\n }\r\n if (node.newer) {\r\n node.newer.older = node.older;\r\n }\r\n if (node.older) {\r\n node.older.newer = node.newer;\r\n }\r\n this.map.delete(key);\r\n this.dispose(node.value, key);\r\n return true;\r\n }\r\n return false;\r\n };\r\n return Cache;\r\n}());\n\nvar parentEntrySlot = new Slot();\n\nvar _a;\r\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\r\nvar \r\n// This Array.from polyfill is restricted to working with Set<any> for now,\r\n// but we can improve the polyfill and add other input types, as needed. Note\r\n// that this fallback implementation will only be used if the host environment\r\n// does not support a native Array.from function. In most modern JS runtimes,\r\n// the toArray function exported here will be === Array.from.\r\ntoArray = (_a = Array.from, _a === void 0 ? function (collection) {\r\n var array = [];\r\n collection.forEach(function (item) { return array.push(item); });\r\n return array;\r\n} : _a);\r\nfunction maybeUnsubscribe(entryOrDep) {\r\n var unsubscribe = entryOrDep.unsubscribe;\r\n if (typeof unsubscribe === \"function\") {\r\n entryOrDep.unsubscribe = void 0;\r\n unsubscribe();\r\n }\r\n}\n\nvar emptySetPool = [];\r\nvar POOL_TARGET_SIZE = 100;\r\n// Since this package might be used browsers, we should avoid using the\r\n// Node built-in assert module.\r\nfunction assert(condition, optionalMessage) {\r\n if (!condition) {\r\n throw new Error(optionalMessage || \"assertion failure\");\r\n }\r\n}\r\nfunction valueIs(a, b) {\r\n var len = a.length;\r\n return (\r\n // Unknown values are not equal to each other.\r\n len > 0 &&\r\n // Both values must be ordinary (or both exceptional) to be equal.\r\n len === b.length &&\r\n // The underlying value or exception must be the same.\r\n a[len - 1] === b[len - 1]);\r\n}\r\nfunction valueGet(value) {\r\n switch (value.length) {\r\n case 0: throw new Error(\"unknown value\");\r\n case 1: return value[0];\r\n case 2: throw value[1];\r\n }\r\n}\r\nfunction valueCopy(value) {\r\n return value.slice(0);\r\n}\r\nvar Entry = /** @class */ (function () {\r\n function Entry(fn) {\r\n this.fn = fn;\r\n this.parents = new Set();\r\n this.childValues = new Map();\r\n // When this Entry has children that are dirty, this property becomes\r\n // a Set containing other Entry objects, borrowed from emptySetPool.\r\n // When the set becomes empty, it gets recycled back to emptySetPool.\r\n this.dirtyChildren = null;\r\n this.dirty = true;\r\n this.recomputing = false;\r\n this.value = [];\r\n this.deps = null;\r\n ++Entry.count;\r\n }\r\n Entry.prototype.peek = function () {\r\n if (this.value.length === 1 && !mightBeDirty(this)) {\r\n rememberParent(this);\r\n return this.value[0];\r\n }\r\n };\r\n // This is the most important method of the Entry API, because it\r\n // determines whether the cached this.value can be returned immediately,\r\n // or must be recomputed. The overall performance of the caching system\r\n // depends on the truth of the following observations: (1) this.dirty is\r\n // usually false, (2) this.dirtyChildren is usually null/empty, and thus\r\n // (3) valueGet(this.value) is usually returned without recomputation.\r\n Entry.prototype.recompute = function (args) {\r\n assert(!this.recomputing, \"already recomputing\");\r\n rememberParent(this);\r\n return mightBeDirty(this)\r\n ? reallyRecompute(this, args)\r\n : valueGet(this.value);\r\n };\r\n Entry.prototype.setDirty = function () {\r\n if (this.dirty)\r\n return;\r\n this.dirty = true;\r\n this.value.length = 0;\r\n reportDirty(this);\r\n // We can go ahead and unsubscribe here, since any further dirty\r\n // notifications we receive will be redundant, and unsubscribing may\r\n // free up some resources, e.g. file watchers.\r\n maybeUnsubscribe(this);\r\n };\r\n Entry.prototype.dispose = function () {\r\n var _this = this;\r\n this.setDirty();\r\n // Sever any dependency relationships with our own children, so those\r\n // children don't retain this parent Entry in their child.parents sets,\r\n // thereby preventing it from being fully garbage collected.\r\n forgetChildren(this);\r\n // Because this entry has been kicked out of the cache (in index.js),\r\n // we've lost the ability to find out if/when this entry becomes dirty,\r\n // whether that happens through a subscription, because of a direct call\r\n // to entry.setDirty(), or because one of its children becomes dirty.\r\n // Because of this loss of future information, we have to assume the\r\n // worst (that this entry might have become dirty very soon), so we must\r\n // immediately mark this entry's parents as dirty. Normally we could\r\n // just call entry.setDirty() rather than calling parent.setDirty() for\r\n // each parent, but that would leave this entry in parent.childValues\r\n // and parent.dirtyChildren, which would prevent the child from being\r\n // truly forgotten.\r\n eachParent(this, function (parent, child) {\r\n parent.setDirty();\r\n forgetChild(parent, _this);\r\n });\r\n };\r\n Entry.prototype.forget = function () {\r\n // The code that creates Entry objects in index.ts will replace this method\r\n // with one that actually removes the Entry from the cache, which will also\r\n // trigger the entry.dispose method.\r\n this.dispose();\r\n };\r\n Entry.prototype.dependOn = function (dep) {\r\n dep.add(this);\r\n if (!this.deps) {\r\n this.deps = emptySetPool.pop() || new Set();\r\n }\r\n this.deps.add(dep);\r\n };\r\n Entry.prototype.forgetDeps = function () {\r\n var _this = this;\r\n if (this.deps) {\r\n toArray(this.deps).forEach(function (dep) { return dep.delete(_this); });\r\n this.deps.clear();\r\n emptySetPool.push(this.deps);\r\n this.deps = null;\r\n }\r\n };\r\n Entry.count = 0;\r\n return Entry;\r\n}());\r\nfunction rememberParent(child) {\r\n var parent = parentEntrySlot.getValue();\r\n if (parent) {\r\n child.parents.add(parent);\r\n if (!parent.childValues.has(child)) {\r\n parent.childValues.set(child, []);\r\n }\r\n if (mightBeDirty(child)) {\r\n reportDirtyChild(parent, child);\r\n }\r\n else {\r\n reportCleanChild(parent, child);\r\n }\r\n return parent;\r\n }\r\n}\r\nfunction reallyRecompute(entry, args) {\r\n forgetChildren(entry);\r\n // Set entry as the parent entry while calling recomputeNewValue(entry).\r\n parentEntrySlot.withValue(entry, recomputeNewValue, [entry, args]);\r\n if (maybeSubscribe(entry, args)) {\r\n // If we successfully recomputed entry.value and did not fail to\r\n // (re)subscribe, then this Entry is no longer explicitly dirty.\r\n setClean(entry);\r\n }\r\n return valueGet(entry.value);\r\n}\r\nfunction recomputeNewValue(entry, args) {\r\n entry.recomputing = true;\r\n // Set entry.value as unknown.\r\n entry.value.length = 0;\r\n try {\r\n // If entry.fn succeeds, entry.value will become a normal Value.\r\n entry.value[0] = entry.fn.apply(null, args);\r\n }\r\n catch (e) {\r\n // If entry.fn throws, entry.value will become exceptional.\r\n entry.value[1] = e;\r\n }\r\n // Either way, this line is always reached.\r\n entry.recomputing = false;\r\n}\r\nfunction mightBeDirty(entry) {\r\n return entry.dirty || !!(entry.dirtyChildren && entry.dirtyChildren.size);\r\n}\r\nfunction setClean(entry) {\r\n entry.dirty = false;\r\n if (mightBeDirty(entry)) {\r\n // This Entry may still have dirty children, in which case we can't\r\n // let our parents know we're clean just yet.\r\n return;\r\n }\r\n reportClean(entry);\r\n}\r\nfunction reportDirty(child) {\r\n eachParent(child, reportDirtyChild);\r\n}\r\nfunction reportClean(child) {\r\n eachParent(child, reportCleanChild);\r\n}\r\nfunction eachParent(child, callback) {\r\n var parentCount = child.parents.size;\r\n if (parentCount) {\r\n var parents = toArray(child.parents);\r\n for (var i = 0; i < parentCount; ++i) {\r\n callback(parents[i], child);\r\n }\r\n }\r\n}\r\n// Let a parent Entry know that one of its children may be dirty.\r\nfunction reportDirtyChild(parent, child) {\r\n // Must have called rememberParent(child) before calling\r\n // reportDirtyChild(parent, child).\r\n assert(parent.childValues.has(child));\r\n assert(mightBeDirty(child));\r\n var parentWasClean = !mightBeDirty(parent);\r\n if (!parent.dirtyChildren) {\r\n parent.dirtyChildren = emptySetPool.pop() || new Set;\r\n }\r\n else if (parent.dirtyChildren.has(child)) {\r\n // If we already know this child is dirty, then we must have already\r\n // informed our own parents that we are dirty, so we can terminate\r\n // the recursion early.\r\n return;\r\n }\r\n parent.dirtyChildren.add(child);\r\n // If parent was clean before, it just became (possibly) dirty (according to\r\n // mightBeDirty), since we just added child to parent.dirtyChildren.\r\n if (parentWasClean) {\r\n reportDirty(parent);\r\n }\r\n}\r\n// Let a parent Entry know that one of its children is no longer dirty.\r\nfunction reportCleanChild(parent, child) {\r\n // Must have called rememberChild(child) before calling\r\n // reportCleanChild(parent, child).\r\n assert(parent.childValues.has(child));\r\n assert(!mightBeDirty(child));\r\n var childValue = parent.childValues.get(child);\r\n if (childValue.length === 0) {\r\n parent.childValues.set(child, valueCopy(child.value));\r\n }\r\n else if (!valueIs(childValue, child.value)) {\r\n parent.setDirty();\r\n }\r\n removeDirtyChild(parent, child);\r\n if (mightBeDirty(parent)) {\r\n return;\r\n }\r\n reportClean(parent);\r\n}\r\nfunction removeDirtyChild(parent, child) {\r\n var dc = parent.dirtyChildren;\r\n if (dc) {\r\n dc.delete(child);\r\n if (dc.size === 0) {\r\n if (emptySetPool.length < POOL_TARGET_SIZE) {\r\n emptySetPool.push(dc);\r\n }\r\n parent.dirtyChildren = null;\r\n }\r\n }\r\n}\r\n// Removes all children from this entry and returns an array of the\r\n// removed children.\r\nfunction forgetChildren(parent) {\r\n if (parent.childValues.size > 0) {\r\n parent.childValues.forEach(function (_value, child) {\r\n forgetChild(parent, child);\r\n });\r\n }\r\n // Remove this parent Entry from any sets to which it was added by the\r\n // addToSet method.\r\n parent.forgetDeps();\r\n // After we forget all our children, this.dirtyChildren must be empty\r\n // and therefore must have been reset to null.\r\n assert(parent.dirtyChildren === null);\r\n}\r\nfunction forgetChild(parent, child) {\r\n child.parents.delete(parent);\r\n parent.childValues.delete(child);\r\n removeDirtyChild(parent, child);\r\n}\r\nfunction maybeSubscribe(entry, args) {\r\n if (typeof entry.subscribe === \"function\") {\r\n try {\r\n maybeUnsubscribe(entry); // Prevent double subscriptions.\r\n entry.unsubscribe = entry.subscribe.apply(null, args);\r\n }\r\n catch (e) {\r\n // If this Entry has a subscribe function and it threw an exception\r\n // (or an unsubscribe function it previously returned now throws),\r\n // return false to indicate that we were not able to subscribe (or\r\n // unsubscribe), and this Entry should remain dirty.\r\n entry.setDirty();\r\n return false;\r\n }\r\n }\r\n // Returning true indicates either that there was no entry.subscribe\r\n // function or that it succeeded.\r\n return true;\r\n}\n\nvar EntryMethods = {\r\n setDirty: true,\r\n dispose: true,\r\n forget: true,\r\n};\r\nfunction dep(options) {\r\n var depsByKey = new Map();\r\n var subscribe = options && options.subscribe;\r\n function depend(key) {\r\n var parent = parentEntrySlot.getValue();\r\n if (parent) {\r\n var dep_1 = depsByKey.get(key);\r\n if (!dep_1) {\r\n depsByKey.set(key, dep_1 = new Set);\r\n }\r\n parent.dependOn(dep_1);\r\n if (typeof subscribe === \"function\") {\r\n maybeUnsubscribe(dep_1);\r\n dep_1.unsubscribe = subscribe(key);\r\n }\r\n }\r\n }\r\n depend.dirty = function dirty(key, entryMethodName) {\r\n var dep = depsByKey.get(key);\r\n if (dep) {\r\n var m_1 = (entryMethodName &&\r\n hasOwnProperty.call(EntryMethods, entryMethodName)) ? entryMethodName : \"setDirty\";\r\n // We have to use toArray(dep).forEach instead of dep.forEach, because\r\n // modifying a Set while iterating over it can cause elements in the Set\r\n // to be removed from the Set before they've been iterated over.\r\n toArray(dep).forEach(function (entry) { return entry[m_1](); });\r\n depsByKey.delete(key);\r\n maybeUnsubscribe(dep);\r\n }\r\n };\r\n return depend;\r\n}\n\nfunction makeDefaultMakeCacheKeyFunction() {\r\n var keyTrie = new Trie(typeof WeakMap === \"function\");\r\n return function () {\r\n return keyTrie.lookupArray(arguments);\r\n };\r\n}\r\n// The defaultMakeCacheKey function is remarkably powerful, because it gives\r\n// a unique object for any shallow-identical list of arguments. If you need\r\n// to implement a custom makeCacheKey function, you may find it helpful to\r\n// delegate the final work to defaultMakeCacheKey, which is why we export it\r\n// here. However, you may want to avoid defaultMakeCacheKey if your runtime\r\n// does not support WeakMap, or you have the ability to return a string key.\r\n// In those cases, just write your own custom makeCacheKey functions.\r\nvar defaultMakeCacheKey = makeDefaultMakeCacheKeyFunction();\r\nvar caches = new Set();\r\nfunction wrap(originalFunction, options) {\r\n if (options === void 0) { options = Object.create(null); }\r\n var cache = new Cache(options.max || Math.pow(2, 16), function (entry) { return entry.dispose(); });\r\n var keyArgs = options.keyArgs;\r\n var makeCacheKey = options.makeCacheKey ||\r\n makeDefaultMakeCacheKeyFunction();\r\n var optimistic = function () {\r\n var key = makeCacheKey.apply(null, keyArgs ? keyArgs.apply(null, arguments) : arguments);\r\n if (key === void 0) {\r\n return originalFunction.apply(null, arguments);\r\n }\r\n var entry = cache.get(key);\r\n if (!entry) {\r\n cache.set(key, entry = new Entry(originalFunction));\r\n entry.subscribe = options.subscribe;\r\n // Give the Entry the ability to trigger cache.delete(key), even though\r\n // the Entry itself does not know about key or cache.\r\n entry.forget = function () { return cache.delete(key); };\r\n }\r\n var value = entry.recompute(Array.prototype.slice.call(arguments));\r\n // Move this entry to the front of the least-recently used queue,\r\n // since we just finished computing its value.\r\n cache.set(key, entry);\r\n caches.add(cache);\r\n // Clean up any excess entries in the cache, but only if there is no\r\n // active parent entry, meaning we're not in the middle of a larger\r\n // computation that might be flummoxed by the cleaning.\r\n if (!parentEntrySlot.hasValue()) {\r\n caches.forEach(function (cache) { return cache.clean(); });\r\n caches.clear();\r\n }\r\n return value;\r\n };\r\n Object.defineProperty(optimistic, \"size\", {\r\n get: function () {\r\n return cache[\"map\"].size;\r\n },\r\n configurable: false,\r\n enumerable: false,\r\n });\r\n function dirtyKey(key) {\r\n var entry = cache.get(key);\r\n if (entry) {\r\n entry.setDirty();\r\n }\r\n }\r\n optimistic.dirtyKey = dirtyKey;\r\n optimistic.dirty = function dirty() {\r\n dirtyKey(makeCacheKey.apply(null, arguments));\r\n };\r\n function peekKey(key) {\r\n var entry = cache.get(key);\r\n if (entry) {\r\n return entry.peek();\r\n }\r\n }\r\n optimistic.peekKey = peekKey;\r\n optimistic.peek = function peek() {\r\n return peekKey(makeCacheKey.apply(null, arguments));\r\n };\r\n function forgetKey(key) {\r\n return cache.delete(key);\r\n }\r\n optimistic.forgetKey = forgetKey;\r\n optimistic.forget = function forget() {\r\n return forgetKey(makeCacheKey.apply(null, arguments));\r\n };\r\n optimistic.makeCacheKey = makeCacheKey;\r\n optimistic.getKey = keyArgs ? function getKey() {\r\n return makeCacheKey.apply(null, keyArgs.apply(null, arguments));\r\n } : makeCacheKey;\r\n return Object.freeze(optimistic);\r\n}\n\nexport { defaultMakeCacheKey, dep, wrap };\n//# sourceMappingURL=bundle.esm.js.map\n","import { __assign, __rest } from \"tslib\";\nimport { wrap } from 'optimism';\nimport { getFragmentQueryDocument, } from \"../../utilities/index.js\";\nvar ApolloCache = (function () {\n function ApolloCache() {\n this.getFragmentDoc = wrap(getFragmentQueryDocument);\n }\n ApolloCache.prototype.batch = function (options) {\n var _this = this;\n var optimisticId = typeof options.optimistic === \"string\" ? options.optimistic :\n options.optimistic === false ? null : void 0;\n var updateResult;\n this.performTransaction(function () { return updateResult = options.update(_this); }, optimisticId);\n return updateResult;\n };\n ApolloCache.prototype.recordOptimisticTransaction = function (transaction, optimisticId) {\n this.performTransaction(transaction, optimisticId);\n };\n ApolloCache.prototype.transformDocument = function (document) {\n return document;\n };\n ApolloCache.prototype.transformForLink = function (document) {\n return document;\n };\n ApolloCache.prototype.identify = function (object) {\n return;\n };\n ApolloCache.prototype.gc = function () {\n return [];\n };\n ApolloCache.prototype.modify = function (options) {\n return false;\n };\n ApolloCache.prototype.readQuery = function (options, optimistic) {\n if (optimistic === void 0) { optimistic = !!options.optimistic; }\n return this.read(__assign(__assign({}, options), { rootId: options.id || 'ROOT_QUERY', optimistic: optimistic }));\n };\n ApolloCache.prototype.readFragment = function (options, optimistic) {\n if (optimistic === void 0) { optimistic = !!options.optimistic; }\n return this.read(__assign(__assign({}, options), { query: this.getFragmentDoc(options.fragment, options.fragmentName), rootId: options.id, optimistic: optimistic }));\n };\n ApolloCache.prototype.writeQuery = function (_a) {\n var id = _a.id, data = _a.data, options = __rest(_a, [\"id\", \"data\"]);\n return this.write(Object.assign(options, {\n dataId: id || 'ROOT_QUERY',\n result: data,\n }));\n };\n ApolloCache.prototype.writeFragment = function (_a) {\n var id = _a.id, data = _a.data, fragment = _a.fragment, fragmentName = _a.fragmentName, options = __rest(_a, [\"id\", \"data\", \"fragment\", \"fragmentName\"]);\n return this.write(Object.assign(options, {\n query: this.getFragmentDoc(fragment, fragmentName),\n dataId: id,\n result: data,\n }));\n };\n ApolloCache.prototype.updateQuery = function (options, update) {\n return this.batch({\n update: function (cache) {\n var value = cache.readQuery(options);\n var data = update(value);\n if (data === void 0 || data === null)\n return value;\n cache.writeQuery(__assign(__assign({}, options), { data: data }));\n return data;\n },\n });\n };\n ApolloCache.prototype.updateFragment = function (options, update) {\n return this.batch({\n update: function (cache) {\n var value = cache.readFragment(options);\n var data = update(value);\n if (data === void 0 || data === null)\n return value;\n cache.writeFragment(__assign(__assign({}, options), { data: data }));\n return data;\n },\n });\n };\n return ApolloCache;\n}());\nexport { ApolloCache };\n//# sourceMappingURL=cache.js.map","import { __extends } from \"tslib\";\nvar MissingFieldError = (function (_super) {\n __extends(MissingFieldError, _super);\n function MissingFieldError(message, path, query, variables) {\n var _a;\n var _this = _super.call(this, message) || this;\n _this.message = message;\n _this.path = path;\n _this.query = query;\n _this.variables = variables;\n if (Array.isArray(_this.path)) {\n _this.missing = _this.message;\n for (var i = _this.path.length - 1; i >= 0; --i) {\n _this.missing = (_a = {}, _a[_this.path[i]] = _this.missing, _a);\n }\n }\n else {\n _this.missing = _this.path;\n }\n _this.__proto__ = MissingFieldError.prototype;\n return _this;\n }\n return MissingFieldError;\n}(Error));\nexport { MissingFieldError };\n//# sourceMappingURL=common.js.map","import { isReference, isField, DeepMerger, resultKeyNameFromField, shouldInclude, isNonNullObject, compact, createFragmentMap, getFragmentDefinitions, } from \"../../utilities/index.js\";\nexport var hasOwn = Object.prototype.hasOwnProperty;\nexport function isNullish(value) {\n return value === null || value === void 0;\n}\nexport var isArray = Array.isArray;\nexport function defaultDataIdFromObject(_a, context) {\n var __typename = _a.__typename, id = _a.id, _id = _a._id;\n if (typeof __typename === \"string\") {\n if (context) {\n context.keyObject =\n !isNullish(id) ? { id: id } :\n !isNullish(_id) ? { _id: _id } :\n void 0;\n }\n if (isNullish(id) && !isNullish(_id)) {\n id = _id;\n }\n if (!isNullish(id)) {\n return \"\".concat(__typename, \":\").concat((typeof id === \"number\" ||\n typeof id === \"string\") ? id : JSON.stringify(id));\n }\n }\n}\nvar defaultConfig = {\n dataIdFromObject: defaultDataIdFromObject,\n addTypename: true,\n resultCaching: true,\n canonizeResults: false,\n};\nexport function normalizeConfig(config) {\n return compact(defaultConfig, config);\n}\nexport function shouldCanonizeResults(config) {\n var value = config.canonizeResults;\n return value === void 0 ? defaultConfig.canonizeResults : value;\n}\nexport function getTypenameFromStoreObject(store, objectOrReference) {\n return isReference(objectOrReference)\n ? store.get(objectOrReference.__ref, \"__typename\")\n : objectOrReference && objectOrReference.__typename;\n}\nexport var TypeOrFieldNameRegExp = /^[_a-z][_0-9a-z]*/i;\nexport function fieldNameFromStoreName(storeFieldName) {\n var match = storeFieldName.match(TypeOrFieldNameRegExp);\n return match ? match[0] : storeFieldName;\n}\nexport function selectionSetMatchesResult(selectionSet, result, variables) {\n if (isNonNullObject(result)) {\n return isArray(result)\n ? result.every(function (item) { return selectionSetMatchesResult(selectionSet, item, variables); })\n : selectionSet.selections.every(function (field) {\n if (isField(field) && shouldInclude(field, variables)) {\n var key = resultKeyNameFromField(field);\n return hasOwn.call(result, key) &&\n (!field.selectionSet ||\n selectionSetMatchesResult(field.selectionSet, result[key], variables));\n }\n return true;\n });\n }\n return false;\n}\nexport function storeValueIsStoreObject(value) {\n return isNonNullObject(value) &&\n !isReference(value) &&\n !isArray(value);\n}\nexport function makeProcessedFieldsMerger() {\n return new DeepMerger;\n}\nexport function extractFragmentContext(document, fragments) {\n var fragmentMap = createFragmentMap(getFragmentDefinitions(document));\n return {\n fragmentMap: fragmentMap,\n lookupFragment: function (name) {\n var def = fragmentMap[name];\n if (!def && fragments) {\n def = fragments.lookup(name);\n }\n return def || null;\n },\n };\n}\n//# sourceMappingURL=helpers.js.map","import { __assign, __extends, __rest } from \"tslib\";\nimport { invariant } from \"../../utilities/globals/index.js\";\nimport { dep } from 'optimism';\nimport { equal } from '@wry/equality';\nimport { Trie } from '@wry/trie';\nimport { isReference, makeReference, DeepMerger, maybeDeepFreeze, canUseWeakMap, isNonNullObject, } from \"../../utilities/index.js\";\nimport { hasOwn, fieldNameFromStoreName } from \"./helpers.js\";\nvar DELETE = Object.create(null);\nvar delModifier = function () { return DELETE; };\nvar INVALIDATE = Object.create(null);\nvar EntityStore = (function () {\n function EntityStore(policies, group) {\n var _this = this;\n this.policies = policies;\n this.group = group;\n this.data = Object.create(null);\n this.rootIds = Object.create(null);\n this.refs = Object.create(null);\n this.getFieldValue = function (objectOrReference, storeFieldName) { return maybeDeepFreeze(isReference(objectOrReference)\n ? _this.get(objectOrReference.__ref, storeFieldName)\n : objectOrReference && objectOrReference[storeFieldName]); };\n this.canRead = function (objOrRef) {\n return isReference(objOrRef)\n ? _this.has(objOrRef.__ref)\n : typeof objOrRef === \"object\";\n };\n this.toReference = function (objOrIdOrRef, mergeIntoStore) {\n if (typeof objOrIdOrRef === \"string\") {\n return makeReference(objOrIdOrRef);\n }\n if (isReference(objOrIdOrRef)) {\n return objOrIdOrRef;\n }\n var id = _this.policies.identify(objOrIdOrRef)[0];\n if (id) {\n var ref = makeReference(id);\n if (mergeIntoStore) {\n _this.merge(id, objOrIdOrRef);\n }\n return ref;\n }\n };\n }\n EntityStore.prototype.toObject = function () {\n return __assign({}, this.data);\n };\n EntityStore.prototype.has = function (dataId) {\n return this.lookup(dataId, true) !== void 0;\n };\n EntityStore.prototype.get = function (dataId, fieldName) {\n this.group.depend(dataId, fieldName);\n if (hasOwn.call(this.data, dataId)) {\n var storeObject = this.data[dataId];\n if (storeObject && hasOwn.call(storeObject, fieldName)) {\n return storeObject[fieldName];\n }\n }\n if (fieldName === \"__typename\" &&\n hasOwn.call(this.policies.rootTypenamesById, dataId)) {\n return this.policies.rootTypenamesById[dataId];\n }\n if (this instanceof Layer) {\n return this.parent.get(dataId, fieldName);\n }\n };\n EntityStore.prototype.lookup = function (dataId, dependOnExistence) {\n if (dependOnExistence)\n this.group.depend(dataId, \"__exists\");\n if (hasOwn.call(this.data, dataId)) {\n return this.data[dataId];\n }\n if (this instanceof Layer) {\n return this.parent.lookup(dataId, dependOnExistence);\n }\n if (this.policies.rootTypenamesById[dataId]) {\n return Object.create(null);\n }\n };\n EntityStore.prototype.merge = function (older, newer) {\n var _this = this;\n var dataId;\n if (isReference(older))\n older = older.__ref;\n if (isReference(newer))\n newer = newer.__ref;\n var existing = typeof older === \"string\"\n ? this.lookup(dataId = older)\n : older;\n var incoming = typeof newer === \"string\"\n ? this.lookup(dataId = newer)\n : newer;\n if (!incoming)\n return;\n __DEV__ ? invariant(typeof dataId === \"string\", \"store.merge expects a string ID\") : invariant(typeof dataId === \"string\", 1);\n var merged = new DeepMerger(storeObjectReconciler).merge(existing, incoming);\n this.data[dataId] = merged;\n if (merged !== existing) {\n delete this.refs[dataId];\n if (this.group.caching) {\n var fieldsToDirty_1 = Object.create(null);\n if (!existing)\n fieldsToDirty_1.__exists = 1;\n Object.keys(incoming).forEach(function (storeFieldName) {\n if (!existing || existing[storeFieldName] !== merged[storeFieldName]) {\n fieldsToDirty_1[storeFieldName] = 1;\n var fieldName = fieldNameFromStoreName(storeFieldName);\n if (fieldName !== storeFieldName &&\n !_this.policies.hasKeyArgs(merged.__typename, fieldName)) {\n fieldsToDirty_1[fieldName] = 1;\n }\n if (merged[storeFieldName] === void 0 && !(_this instanceof Layer)) {\n delete merged[storeFieldName];\n }\n }\n });\n if (fieldsToDirty_1.__typename &&\n !(existing && existing.__typename) &&\n this.policies.rootTypenamesById[dataId] === merged.__typename) {\n delete fieldsToDirty_1.__typename;\n }\n Object.keys(fieldsToDirty_1).forEach(function (fieldName) { return _this.group.dirty(dataId, fieldName); });\n }\n }\n };\n EntityStore.prototype.modify = function (dataId, fields) {\n var _this = this;\n var storeObject = this.lookup(dataId);\n if (storeObject) {\n var changedFields_1 = Object.create(null);\n var needToMerge_1 = false;\n var allDeleted_1 = true;\n var sharedDetails_1 = {\n DELETE: DELETE,\n INVALIDATE: INVALIDATE,\n isReference: isReference,\n toReference: this.toReference,\n canRead: this.canRead,\n readField: function (fieldNameOrOptions, from) { return _this.policies.readField(typeof fieldNameOrOptions === \"string\" ? {\n fieldName: fieldNameOrOptions,\n from: from || makeReference(dataId),\n } : fieldNameOrOptions, { store: _this }); },\n };\n Object.keys(storeObject).forEach(function (storeFieldName) {\n var fieldName = fieldNameFromStoreName(storeFieldName);\n var fieldValue = storeObject[storeFieldName];\n if (fieldValue === void 0)\n return;\n var modify = typeof fields === \"function\"\n ? fields\n : fields[storeFieldName] || fields[fieldName];\n if (modify) {\n var newValue = modify === delModifier ? DELETE :\n modify(maybeDeepFreeze(fieldValue), __assign(__assign({}, sharedDetails_1), { fieldName: fieldName, storeFieldName: storeFieldName, storage: _this.getStorage(dataId, storeFieldName) }));\n if (newValue === INVALIDATE) {\n _this.group.dirty(dataId, storeFieldName);\n }\n else {\n if (newValue === DELETE)\n newValue = void 0;\n if (newValue !== fieldValue) {\n changedFields_1[storeFieldName] = newValue;\n needToMerge_1 = true;\n fieldValue = newValue;\n }\n }\n }\n if (fieldValue !== void 0) {\n allDeleted_1 = false;\n }\n });\n if (needToMerge_1) {\n this.merge(dataId, changedFields_1);\n if (allDeleted_1) {\n if (this instanceof Layer) {\n this.data[dataId] = void 0;\n }\n else {\n delete this.data[dataId];\n }\n this.group.dirty(dataId, \"__exists\");\n }\n return true;\n }\n }\n return false;\n };\n EntityStore.prototype.delete = function (dataId, fieldName, args) {\n var _a;\n var storeObject = this.lookup(dataId);\n if (storeObject) {\n var typename = this.getFieldValue(storeObject, \"__typename\");\n var storeFieldName = fieldName && args\n ? this.policies.getStoreFieldName({ typename: typename, fieldName: fieldName, args: args })\n : fieldName;\n return this.modify(dataId, storeFieldName ? (_a = {},\n _a[storeFieldName] = delModifier,\n _a) : delModifier);\n }\n return false;\n };\n EntityStore.prototype.evict = function (options, limit) {\n var evicted = false;\n if (options.id) {\n if (hasOwn.call(this.data, options.id)) {\n evicted = this.delete(options.id, options.fieldName, options.args);\n }\n if (this instanceof Layer && this !== limit) {\n evicted = this.parent.evict(options, limit) || evicted;\n }\n if (options.fieldName || evicted) {\n this.group.dirty(options.id, options.fieldName || \"__exists\");\n }\n }\n return evicted;\n };\n EntityStore.prototype.clear = function () {\n this.replace(null);\n };\n EntityStore.prototype.extract = function () {\n var _this = this;\n var obj = this.toObject();\n var extraRootIds = [];\n this.getRootIdSet().forEach(function (id) {\n if (!hasOwn.call(_this.policies.rootTypenamesById, id)) {\n extraRootIds.push(id);\n }\n });\n if (extraRootIds.length) {\n obj.__META = { extraRootIds: extraRootIds.sort() };\n }\n return obj;\n };\n EntityStore.prototype.replace = function (newData) {\n var _this = this;\n Object.keys(this.data).forEach(function (dataId) {\n if (!(newData && hasOwn.call(newData, dataId))) {\n _this.delete(dataId);\n }\n });\n if (newData) {\n var __META = newData.__META, rest_1 = __rest(newData, [\"__META\"]);\n Object.keys(rest_1).forEach(function (dataId) {\n _this.merge(dataId, rest_1[dataId]);\n });\n if (__META) {\n __META.extraRootIds.forEach(this.retain, this);\n }\n }\n };\n EntityStore.prototype.retain = function (rootId) {\n return this.rootIds[rootId] = (this.rootIds[rootId] || 0) + 1;\n };\n EntityStore.prototype.release = function (rootId) {\n if (this.rootIds[rootId] > 0) {\n var count = --this.rootIds[rootId];\n if (!count)\n delete this.rootIds[rootId];\n return count;\n }\n return 0;\n };\n EntityStore.prototype.getRootIdSet = function (ids) {\n if (ids === void 0) { ids = new Set(); }\n Object.keys(this.rootIds).forEach(ids.add, ids);\n if (this instanceof Layer) {\n this.parent.getRootIdSet(ids);\n }\n else {\n Object.keys(this.policies.rootTypenamesById).forEach(ids.add, ids);\n }\n return ids;\n };\n EntityStore.prototype.gc = function () {\n var _this = this;\n var ids = this.getRootIdSet();\n var snapshot = this.toObject();\n ids.forEach(function (id) {\n if (hasOwn.call(snapshot, id)) {\n Object.keys(_this.findChildRefIds(id)).forEach(ids.add, ids);\n delete snapshot[id];\n }\n });\n var idsToRemove = Object.keys(snapshot);\n if (idsToRemove.length) {\n var root_1 = this;\n while (root_1 instanceof Layer)\n root_1 = root_1.parent;\n idsToRemove.forEach(function (id) { return root_1.delete(id); });\n }\n return idsToRemove;\n };\n EntityStore.prototype.findChildRefIds = function (dataId) {\n if (!hasOwn.call(this.refs, dataId)) {\n var found_1 = this.refs[dataId] = Object.create(null);\n var root = this.data[dataId];\n if (!root)\n return found_1;\n var workSet_1 = new Set([root]);\n workSet_1.forEach(function (obj) {\n if (isReference(obj)) {\n found_1[obj.__ref] = true;\n }\n if (isNonNullObject(obj)) {\n Object.keys(obj).forEach(function (key) {\n var child = obj[key];\n if (isNonNullObject(child)) {\n workSet_1.add(child);\n }\n });\n }\n });\n }\n return this.refs[dataId];\n };\n EntityStore.prototype.makeCacheKey = function () {\n return this.group.keyMaker.lookupArray(arguments);\n };\n return EntityStore;\n}());\nexport { EntityStore };\nvar CacheGroup = (function () {\n function CacheGroup(caching, parent) {\n if (parent === void 0) { parent = null; }\n this.caching = caching;\n this.parent = parent;\n this.d = null;\n this.resetCaching();\n }\n CacheGroup.prototype.resetCaching = function () {\n this.d = this.caching ? dep() : null;\n this.keyMaker = new Trie(canUseWeakMap);\n };\n CacheGroup.prototype.depend = function (dataId, storeFieldName) {\n if (this.d) {\n this.d(makeDepKey(dataId, storeFieldName));\n var fieldName = fieldNameFromStoreName(storeFieldName);\n if (fieldName !== storeFieldName) {\n this.d(makeDepKey(dataId, fieldName));\n }\n if (this.parent) {\n this.parent.depend(dataId, storeFieldName);\n }\n }\n };\n CacheGroup.prototype.dirty = function (dataId, storeFieldName) {\n if (this.d) {\n this.d.dirty(makeDepKey(dataId, storeFieldName), storeFieldName === \"__exists\" ? \"forget\" : \"setDirty\");\n }\n };\n return CacheGroup;\n}());\nfunction makeDepKey(dataId, storeFieldName) {\n return storeFieldName + '#' + dataId;\n}\nexport function maybeDependOnExistenceOfEntity(store, entityId) {\n if (supportsResultCaching(store)) {\n store.group.depend(entityId, \"__exists\");\n }\n}\n(function (EntityStore) {\n var Root = (function (_super) {\n __extends(Root, _super);\n function Root(_a) {\n var policies = _a.policies, _b = _a.resultCaching, resultCaching = _b === void 0 ? true : _b, seed = _a.seed;\n var _this = _super.call(this, policies, new CacheGroup(resultCaching)) || this;\n _this.stump = new Stump(_this);\n _this.storageTrie = new Trie(canUseWeakMap);\n if (seed)\n _this.replace(seed);\n return _this;\n }\n Root.prototype.addLayer = function (layerId, replay) {\n return this.stump.addLayer(layerId, replay);\n };\n Root.prototype.removeLayer = function () {\n return this;\n };\n Root.prototype.getStorage = function () {\n return this.storageTrie.lookupArray(arguments);\n };\n return Root;\n }(EntityStore));\n EntityStore.Root = Root;\n})(EntityStore || (EntityStore = {}));\nvar Layer = (function (_super) {\n __extends(Layer, _super);\n function Layer(id, parent, replay, group) {\n var _this = _super.call(this, parent.policies, group) || this;\n _this.id = id;\n _this.parent = parent;\n _this.replay = replay;\n _this.group = group;\n replay(_this);\n return _this;\n }\n Layer.prototype.addLayer = function (layerId, replay) {\n return new Layer(layerId, this, replay, this.group);\n };\n Layer.prototype.removeLayer = function (layerId) {\n var _this = this;\n var parent = this.parent.removeLayer(layerId);\n if (layerId === this.id) {\n if (this.group.caching) {\n Object.keys(this.data).forEach(function (dataId) {\n var ownStoreObject = _this.data[dataId];\n var parentStoreObject = parent[\"lookup\"](dataId);\n if (!parentStoreObject) {\n _this.delete(dataId);\n }\n else if (!ownStoreObject) {\n _this.group.dirty(dataId, \"__exists\");\n Object.keys(parentStoreObject).forEach(function (storeFieldName) {\n _this.group.dirty(dataId, storeFieldName);\n });\n }\n else if (ownStoreObject !== parentStoreObject) {\n Object.keys(ownStoreObject).forEach(function (storeFieldName) {\n if (!equal(ownStoreObject[storeFieldName], parentStoreObject[storeFieldName])) {\n _this.group.dirty(dataId, storeFieldName);\n }\n });\n }\n });\n }\n return parent;\n }\n if (parent === this.parent)\n return this;\n return parent.addLayer(this.id, this.replay);\n };\n Layer.prototype.toObject = function () {\n return __assign(__assign({}, this.parent.toObject()), this.data);\n };\n Layer.prototype.findChildRefIds = function (dataId) {\n var fromParent = this.parent.findChildRefIds(dataId);\n return hasOwn.call(this.data, dataId) ? __assign(__assign({}, fromParent), _super.prototype.findChildRefIds.call(this, dataId)) : fromParent;\n };\n Layer.prototype.getStorage = function () {\n var p = this.parent;\n while (p.parent)\n p = p.parent;\n return p.getStorage.apply(p, arguments);\n };\n return Layer;\n}(EntityStore));\nvar Stump = (function (_super) {\n __extends(Stump, _super);\n function Stump(root) {\n return _super.call(this, \"EntityStore.Stump\", root, function () { }, new CacheGroup(root.group.caching, root.group)) || this;\n }\n Stump.prototype.removeLayer = function () {\n return this;\n };\n Stump.prototype.merge = function () {\n return this.parent.merge.apply(this.parent, arguments);\n };\n return Stump;\n}(Layer));\nfunction storeObjectReconciler(existingObject, incomingObject, property) {\n var existingValue = existingObject[property];\n var incomingValue = incomingObject[property];\n return equal(existingValue, incomingValue) ? existingValue : incomingValue;\n}\nexport function supportsResultCaching(store) {\n return !!(store instanceof EntityStore && store.group.caching);\n}\n//# sourceMappingURL=entityStore.js.map","import { __assign } from \"tslib\";\nimport \"../../utilities/globals/index.js\";\nimport { Trie } from \"@wry/trie\";\nimport { canUseWeakMap, canUseWeakSet, isNonNullObject as isObjectOrArray, } from \"../../utilities/index.js\";\nimport { isArray } from \"./helpers.js\";\nfunction shallowCopy(value) {\n if (isObjectOrArray(value)) {\n return isArray(value)\n ? value.slice(0)\n : __assign({ __proto__: Object.getPrototypeOf(value) }, value);\n }\n return value;\n}\nvar ObjectCanon = (function () {\n function ObjectCanon() {\n this.known = new (canUseWeakSet ? WeakSet : Set)();\n this.pool = new Trie(canUseWeakMap);\n this.passes = new WeakMap();\n this.keysByJSON = new Map();\n this.empty = this.admit({});\n }\n ObjectCanon.prototype.isKnown = function (value) {\n return isObjectOrArray(value) && this.known.has(value);\n };\n ObjectCanon.prototype.pass = function (value) {\n if (isObjectOrArray(value)) {\n var copy = shallowCopy(value);\n this.passes.set(copy, value);\n return copy;\n }\n return value;\n };\n ObjectCanon.prototype.admit = function (value) {\n var _this = this;\n if (isObjectOrArray(value)) {\n var original = this.passes.get(value);\n if (original)\n return original;\n var proto = Object.getPrototypeOf(value);\n switch (proto) {\n case Array.prototype: {\n if (this.known.has(value))\n return value;\n var array = value.map(this.admit, this);\n var node = this.pool.lookupArray(array);\n if (!node.array) {\n this.known.add(node.array = array);\n if (__DEV__) {\n Object.freeze(array);\n }\n }\n return node.array;\n }\n case null:\n case Object.prototype: {\n if (this.known.has(value))\n return value;\n var proto_1 = Object.getPrototypeOf(value);\n var array_1 = [proto_1];\n var keys = this.sortedKeys(value);\n array_1.push(keys.json);\n var firstValueIndex_1 = array_1.length;\n keys.sorted.forEach(function (key) {\n array_1.push(_this.admit(value[key]));\n });\n var node = this.pool.lookupArray(array_1);\n if (!node.object) {\n var obj_1 = node.object = Object.create(proto_1);\n this.known.add(obj_1);\n keys.sorted.forEach(function (key, i) {\n obj_1[key] = array_1[firstValueIndex_1 + i];\n });\n if (__DEV__) {\n Object.freeze(obj_1);\n }\n }\n return node.object;\n }\n }\n }\n return value;\n };\n ObjectCanon.prototype.sortedKeys = function (obj) {\n var keys = Object.keys(obj);\n var node = this.pool.lookupArray(keys);\n if (!node.keys) {\n keys.sort();\n var json = JSON.stringify(keys);\n if (!(node.keys = this.keysByJSON.get(json))) {\n this.keysByJSON.set(json, node.keys = { sorted: keys, json: json });\n }\n }\n return node.keys;\n };\n return ObjectCanon;\n}());\nexport { ObjectCanon };\nexport var canonicalStringify = Object.assign(function (value) {\n if (isObjectOrArray(value)) {\n if (stringifyCanon === void 0) {\n resetCanonicalStringify();\n }\n var canonical = stringifyCanon.admit(value);\n var json = stringifyCache.get(canonical);\n if (json === void 0) {\n stringifyCache.set(canonical, json = JSON.stringify(canonical));\n }\n return json;\n }\n return JSON.stringify(value);\n}, {\n reset: resetCanonicalStringify,\n});\nvar stringifyCanon;\nvar stringifyCache;\nfunction resetCanonicalStringify() {\n stringifyCanon = new ObjectCanon;\n stringifyCache = new (canUseWeakMap ? WeakMap : Map)();\n}\n//# sourceMappingURL=object-canon.js.map","import { __assign } from \"tslib\";\nimport { invariant, InvariantError } from \"../../utilities/globals/index.js\";\nimport { Kind, } from 'graphql';\nimport { wrap } from 'optimism';\nimport { isField, resultKeyNameFromField, isReference, makeReference, shouldInclude, addTypenameToDocument, getDefaultValues, getMainDefinition, getQueryDefinition, getFragmentFromSelection, maybeDeepFreeze, mergeDeepArray, DeepMerger, isNonNullObject, canUseWeakMap, compact, } from \"../../utilities/index.js\";\nimport { maybeDependOnExistenceOfEntity, supportsResultCaching } from \"./entityStore.js\";\nimport { isArray, extractFragmentContext, getTypenameFromStoreObject, shouldCanonizeResults } from \"./helpers.js\";\nimport { MissingFieldError } from \"../core/types/common.js\";\nimport { canonicalStringify, ObjectCanon } from \"./object-canon.js\";\n;\nfunction execSelectionSetKeyArgs(options) {\n return [\n options.selectionSet,\n options.objectOrReference,\n options.context,\n options.context.canonizeResults,\n ];\n}\nvar StoreReader = (function () {\n function StoreReader(config) {\n var _this = this;\n this.knownResults = new (canUseWeakMap ? WeakMap : Map)();\n this.config = compact(config, {\n addTypename: config.addTypename !== false,\n canonizeResults: shouldCanonizeResults(config),\n });\n this.canon = config.canon || new ObjectCanon;\n this.executeSelectionSet = wrap(function (options) {\n var _a;\n var canonizeResults = options.context.canonizeResults;\n var peekArgs = execSelectionSetKeyArgs(options);\n peekArgs[3] = !canonizeResults;\n var other = (_a = _this.executeSelectionSet).peek.apply(_a, peekArgs);\n if (other) {\n if (canonizeResults) {\n return __assign(__assign({}, other), { result: _this.canon.admit(other.result) });\n }\n return other;\n }\n maybeDependOnExistenceOfEntity(options.context.store, options.enclosingRef.__ref);\n return _this.execSelectionSetImpl(options);\n }, {\n max: this.config.resultCacheMaxSize,\n keyArgs: execSelectionSetKeyArgs,\n makeCacheKey: function (selectionSet, parent, context, canonizeResults) {\n if (supportsResultCaching(context.store)) {\n return context.store.makeCacheKey(selectionSet, isReference(parent) ? parent.__ref : parent, context.varString, canonizeResults);\n }\n }\n });\n this.executeSubSelectedArray = wrap(function (options) {\n maybeDependOnExistenceOfEntity(options.context.store, options.enclosingRef.__ref);\n return _this.execSubSelectedArrayImpl(options);\n }, {\n max: this.config.resultCacheMaxSize,\n makeCacheKey: function (_a) {\n var field = _a.field, array = _a.array, context = _a.context;\n if (supportsResultCaching(context.store)) {\n return context.store.makeCacheKey(field, array, context.varString);\n }\n }\n });\n }\n StoreReader.prototype.resetCanon = function () {\n this.canon = new ObjectCanon;\n };\n StoreReader.prototype.diffQueryAgainstStore = function (_a) {\n var store = _a.store, query = _a.query, _b = _a.rootId, rootId = _b === void 0 ? 'ROOT_QUERY' : _b, variables = _a.variables, _c = _a.returnPartialData, returnPartialData = _c === void 0 ? true : _c, _d = _a.canonizeResults, canonizeResults = _d === void 0 ? this.config.canonizeResults : _d;\n var policies = this.config.cache.policies;\n variables = __assign(__assign({}, getDefaultValues(getQueryDefinition(query))), variables);\n var rootRef = makeReference(rootId);\n var execResult = this.executeSelectionSet({\n selectionSet: getMainDefinition(query).selectionSet,\n objectOrReference: rootRef,\n enclosingRef: rootRef,\n context: __assign({ store: store, query: query, policies: policies, variables: variables, varString: canonicalStringify(variables), canonizeResults: canonizeResults }, extractFragmentContext(query, this.config.fragments)),\n });\n var missing;\n if (execResult.missing) {\n missing = [new MissingFieldError(firstMissing(execResult.missing), execResult.missing, query, variables)];\n if (!returnPartialData) {\n throw missing[0];\n }\n }\n return {\n result: execResult.result,\n complete: !missing,\n missing: missing,\n };\n };\n StoreReader.prototype.isFresh = function (result, parent, selectionSet, context) {\n if (supportsResultCaching(context.store) &&\n this.knownResults.get(result) === selectionSet) {\n var latest = this.executeSelectionSet.peek(selectionSet, parent, context, this.canon.isKnown(result));\n if (latest && result === latest.result) {\n return true;\n }\n }\n return false;\n };\n StoreReader.prototype.execSelectionSetImpl = function (_a) {\n var _this = this;\n var selectionSet = _a.selectionSet, objectOrReference = _a.objectOrReference, enclosingRef = _a.enclosingRef, context = _a.context;\n if (isReference(objectOrReference) &&\n !context.policies.rootTypenamesById[objectOrReference.__ref] &&\n !context.store.has(objectOrReference.__ref)) {\n return {\n result: this.canon.empty,\n missing: \"Dangling reference to missing \".concat(objectOrReference.__ref, \" object\"),\n };\n }\n var variables = context.variables, policies = context.policies, store = context.store;\n var typename = store.getFieldValue(objectOrReference, \"__typename\");\n var objectsToMerge = [];\n var missing;\n var missingMerger = new DeepMerger();\n if (this.config.addTypename &&\n typeof typename === \"string\" &&\n !policies.rootIdsByTypename[typename]) {\n objectsToMerge.push({ __typename: typename });\n }\n function handleMissing(result, resultName) {\n var _a;\n if (result.missing) {\n missing = missingMerger.merge(missing, (_a = {}, _a[resultName] = result.missing, _a));\n }\n return result.result;\n }\n var workSet = new Set(selectionSet.selections);\n workSet.forEach(function (selection) {\n var _a, _b;\n if (!shouldInclude(selection, variables))\n return;\n if (isField(selection)) {\n var fieldValue = policies.readField({\n fieldName: selection.name.value,\n field: selection,\n variables: context.variables,\n from: objectOrReference,\n }, context);\n var resultName = resultKeyNameFromField(selection);\n if (fieldValue === void 0) {\n if (!addTypenameToDocument.added(selection)) {\n missing = missingMerger.merge(missing, (_a = {},\n _a[resultName] = \"Can't find field '\".concat(selection.name.value, \"' on \").concat(isReference(objectOrReference)\n ? objectOrReference.__ref + \" object\"\n : \"object \" + JSON.stringify(objectOrReference, null, 2)),\n _a));\n }\n }\n else if (isArray(fieldValue)) {\n fieldValue = handleMissing(_this.executeSubSelectedArray({\n field: selection,\n array: fieldValue,\n enclosingRef: enclosingRef,\n context: context,\n }), resultName);\n }\n else if (!selection.selectionSet) {\n if (context.canonizeResults) {\n fieldValue = _this.canon.pass(fieldValue);\n }\n }\n else if (fieldValue != null) {\n fieldValue = handleMissing(_this.executeSelectionSet({\n selectionSet: selection.selectionSet,\n objectOrReference: fieldValue,\n enclosingRef: isReference(fieldValue) ? fieldValue : enclosingRef,\n context: context,\n }), resultName);\n }\n if (fieldValue !== void 0) {\n objectsToMerge.push((_b = {}, _b[resultName] = fieldValue, _b));\n }\n }\n else {\n var fragment = getFragmentFromSelection(selection, context.lookupFragment);\n if (!fragment && selection.kind === Kind.FRAGMENT_SPREAD) {\n throw __DEV__ ? new InvariantError(\"No fragment named \".concat(selection.name.value)) : new InvariantError(5);\n }\n if (fragment && policies.fragmentMatches(fragment, typename)) {\n fragment.selectionSet.selections.forEach(workSet.add, workSet);\n }\n }\n });\n var result = mergeDeepArray(objectsToMerge);\n var finalResult = { result: result, missing: missing };\n var frozen = context.canonizeResults\n ? this.canon.admit(finalResult)\n : maybeDeepFreeze(finalResult);\n if (frozen.result) {\n this.knownResults.set(frozen.result, selectionSet);\n }\n return frozen;\n };\n StoreReader.prototype.execSubSelectedArrayImpl = function (_a) {\n var _this = this;\n var field = _a.field, array = _a.array, enclosingRef = _a.enclosingRef, context = _a.context;\n var missing;\n var missingMerger = new DeepMerger();\n function handleMissing(childResult, i) {\n var _a;\n if (childResult.missing) {\n missing = missingMerger.merge(missing, (_a = {}, _a[i] = childResult.missing, _a));\n }\n return childResult.result;\n }\n if (field.selectionSet) {\n array = array.filter(context.store.canRead);\n }\n array = array.map(function (item, i) {\n if (item === null) {\n return null;\n }\n if (isArray(item)) {\n return handleMissing(_this.executeSubSelectedArray({\n field: field,\n array: item,\n enclosingRef: enclosingRef,\n context: context,\n }), i);\n }\n if (field.selectionSet) {\n return handleMissing(_this.executeSelectionSet({\n selectionSet: field.selectionSet,\n objectOrReference: item,\n enclosingRef: isReference(item) ? item : enclosingRef,\n context: context,\n }), i);\n }\n if (__DEV__) {\n assertSelectionSetForIdValue(context.store, field, item);\n }\n return item;\n });\n return {\n result: context.canonizeResults ? this.canon.admit(array) : array,\n missing: missing,\n };\n };\n return StoreReader;\n}());\nexport { StoreReader };\nfunction firstMissing(tree) {\n try {\n JSON.stringify(tree, function (_, value) {\n if (typeof value === \"string\")\n throw value;\n return value;\n });\n }\n catch (result) {\n return result;\n }\n}\nfunction assertSelectionSetForIdValue(store, field, fieldValue) {\n if (!field.selectionSet) {\n var workSet_1 = new Set([fieldValue]);\n workSet_1.forEach(function (value) {\n if (isNonNullObject(value)) {\n __DEV__ ? invariant(!isReference(value), \"Missing selection set for object of type \".concat(getTypenameFromStoreObject(store, value), \" returned for query field \").concat(field.name.value)) : invariant(!isReference(value), 6);\n Object.values(value).forEach(workSet_1.add, workSet_1);\n }\n });\n }\n}\n//# sourceMappingURL=readFromStore.js.map","// This currentContext variable will only be used if the makeSlotClass\r\n// function is called, which happens only if this is the first copy of the\r\n// @wry/context package to be imported.\r\nvar currentContext = null;\r\n// This unique internal object is used to denote the absence of a value\r\n// for a given Slot, and is never exposed to outside code.\r\nvar MISSING_VALUE = {};\r\nvar idCounter = 1;\r\n// Although we can't do anything about the cost of duplicated code from\r\n// accidentally bundling multiple copies of the @wry/context package, we can\r\n// avoid creating the Slot class more than once using makeSlotClass.\r\nvar makeSlotClass = function () { return /** @class */ (function () {\r\n function Slot() {\r\n // If you have a Slot object, you can find out its slot.id, but you cannot\r\n // guess the slot.id of a Slot you don't have access to, thanks to the\r\n // randomized suffix.\r\n this.id = [\r\n \"slot\",\r\n idCounter++,\r\n Date.now(),\r\n Math.random().toString(36).slice(2),\r\n ].join(\":\");\r\n }\r\n Slot.prototype.hasValue = function () {\r\n for (var context_1 = currentContext; context_1; context_1 = context_1.parent) {\r\n // We use the Slot object iself as a key to its value, which means the\r\n // value cannot be obtained without a reference to the Slot object.\r\n if (this.id in context_1.slots) {\r\n var value = context_1.slots[this.id];\r\n if (value === MISSING_VALUE)\r\n break;\r\n if (context_1 !== currentContext) {\r\n // Cache the value in currentContext.slots so the next lookup will\r\n // be faster. This caching is safe because the tree of contexts and\r\n // the values of the slots are logically immutable.\r\n currentContext.slots[this.id] = value;\r\n }\r\n return true;\r\n }\r\n }\r\n if (currentContext) {\r\n // If a value was not found for this Slot, it's never going to be found\r\n // no matter how many times we look it up, so we might as well cache\r\n // the absence of the value, too.\r\n currentContext.slots[this.id] = MISSING_VALUE;\r\n }\r\n return false;\r\n };\r\n Slot.prototype.getValue = function () {\r\n if (this.hasValue()) {\r\n return currentContext.slots[this.id];\r\n }\r\n };\r\n Slot.prototype.withValue = function (value, callback, \r\n // Given the prevalence of arrow functions, specifying arguments is likely\r\n // to be much more common than specifying `this`, hence this ordering:\r\n args, thisArg) {\r\n var _a;\r\n var slots = (_a = {\r\n __proto__: null\r\n },\r\n _a[this.id] = value,\r\n _a);\r\n var parent = currentContext;\r\n currentContext = { parent: parent, slots: slots };\r\n try {\r\n // Function.prototype.apply allows the arguments array argument to be\r\n // omitted or undefined, so args! is fine here.\r\n return callback.apply(thisArg, args);\r\n }\r\n finally {\r\n currentContext = parent;\r\n }\r\n };\r\n // Capture the current context and wrap a callback function so that it\r\n // reestablishes the captured context when called.\r\n Slot.bind = function (callback) {\r\n var context = currentContext;\r\n return function () {\r\n var saved = currentContext;\r\n try {\r\n currentContext = context;\r\n return callback.apply(this, arguments);\r\n }\r\n finally {\r\n currentContext = saved;\r\n }\r\n };\r\n };\r\n // Immediately run a callback function without any captured context.\r\n Slot.noContext = function (callback, \r\n // Given the prevalence of arrow functions, specifying arguments is likely\r\n // to be much more common than specifying `this`, hence this ordering:\r\n args, thisArg) {\r\n if (currentContext) {\r\n var saved = currentContext;\r\n try {\r\n currentContext = null;\r\n // Function.prototype.apply allows the arguments array argument to be\r\n // omitted or undefined, so args! is fine here.\r\n return callback.apply(thisArg, args);\r\n }\r\n finally {\r\n currentContext = saved;\r\n }\r\n }\r\n else {\r\n return callback.apply(thisArg, args);\r\n }\r\n };\r\n return Slot;\r\n}()); };\r\nfunction maybe(fn) {\r\n try {\r\n return fn();\r\n }\r\n catch (ignored) { }\r\n}\r\n// We store a single global implementation of the Slot class as a permanent\r\n// non-enumerable property of the globalThis object. This obfuscation does\r\n// nothing to prevent access to the Slot class, but at least it ensures the\r\n// implementation (i.e. currentContext) cannot be tampered with, and all copies\r\n// of the @wry/context package (hopefully just one) will share the same Slot\r\n// implementation. Since the first copy of the @wry/context package to be\r\n// imported wins, this technique imposes a steep cost for any future breaking\r\n// changes to the Slot class.\r\nvar globalKey = \"@wry/context:Slot\";\r\nvar host = \r\n// Prefer globalThis when available.\r\n// https://github.com/benjamn/wryware/issues/347\r\nmaybe(function () { return globalThis; }) ||\r\n // Fall back to global, which works in Node.js and may be converted by some\r\n // bundlers to the appropriate identifier (window, self, ...) depending on the\r\n // bundling target. https://github.com/endojs/endo/issues/576#issuecomment-1178515224\r\n maybe(function () { return global; }) ||\r\n // Otherwise, use a dummy host that's local to this module. We used to fall\r\n // back to using the Array constructor as a namespace, but that was flagged in\r\n // https://github.com/benjamn/wryware/issues/347, and can be avoided.\r\n Object.create(null);\r\n// Whichever globalHost we're using, make TypeScript happy about the additional\r\n// globalKey property.\r\nvar globalHost = host;\r\nvar Slot = globalHost[globalKey] ||\r\n // Earlier versions of this package stored the globalKey property on the Array\r\n // constructor, so we check there as well, to prevent Slot class duplication.\r\n Array[globalKey] ||\r\n (function (Slot) {\r\n try {\r\n Object.defineProperty(globalHost, globalKey, {\r\n value: Slot,\r\n enumerable: false,\r\n writable: false,\r\n // When it was possible for globalHost to be the Array constructor (a\r\n // legacy Slot dedup strategy), it was important for the property to be\r\n // configurable:true so it could be deleted. That does not seem to be as\r\n // important when globalHost is the global object, but I don't want to\r\n // cause similar problems again, and configurable:true seems safest.\r\n // https://github.com/endojs/endo/issues/576#issuecomment-1178274008\r\n configurable: true\r\n });\r\n }\r\n finally {\r\n return Slot;\r\n }\r\n })(makeSlotClass());\n\nvar bind = Slot.bind, noContext = Slot.noContext;\r\nfunction setTimeoutWithContext(callback, delay) {\r\n return setTimeout(bind(callback), delay);\r\n}\r\n// Turn any generator function into an async function (using yield instead\r\n// of await), with context automatically preserved across yields.\r\nfunction asyncFromGen(genFn) {\r\n return function () {\r\n var gen = genFn.apply(this, arguments);\r\n var boundNext = bind(gen.next);\r\n var boundThrow = bind(gen.throw);\r\n return new Promise(function (resolve, reject) {\r\n function invoke(method, argument) {\r\n try {\r\n var result = method.call(gen, argument);\r\n }\r\n catch (error) {\r\n return reject(error);\r\n }\r\n var next = result.done ? resolve : invokeNext;\r\n if (isPromiseLike(result.value)) {\r\n result.value.then(next, result.done ? reject : invokeThrow);\r\n }\r\n else {\r\n next(result.value);\r\n }\r\n }\r\n var invokeNext = function (value) { return invoke(boundNext, value); };\r\n var invokeThrow = function (error) { return invoke(boundThrow, error); };\r\n invokeNext();\r\n });\r\n };\r\n}\r\nfunction isPromiseLike(value) {\r\n return value && typeof value.then === \"function\";\r\n}\r\n// If you use the fibers npm package to implement coroutines in Node.js,\r\n// you should call this function at least once to ensure context management\r\n// remains coherent across any yields.\r\nvar wrappedFibers = [];\r\nfunction wrapYieldingFiberMethods(Fiber) {\r\n // There can be only one implementation of Fiber per process, so this array\r\n // should never grow longer than one element.\r\n if (wrappedFibers.indexOf(Fiber) < 0) {\r\n var wrap = function (obj, method) {\r\n var fn = obj[method];\r\n obj[method] = function () {\r\n return noContext(fn, arguments, this);\r\n };\r\n };\r\n // These methods can yield, according to\r\n // https://github.com/laverdet/node-fibers/blob/ddebed9b8ae3883e57f822e2108e6943e5c8d2a8/fibers.js#L97-L100\r\n wrap(Fiber, \"yield\");\r\n wrap(Fiber.prototype, \"run\");\r\n wrap(Fiber.prototype, \"throwInto\");\r\n wrappedFibers.push(Fiber);\r\n }\r\n return Fiber;\r\n}\n\nexport { Slot, asyncFromGen, bind, noContext, setTimeoutWithContext as setTimeout, wrapYieldingFiberMethods };\n//# sourceMappingURL=context.esm.js.map\n","import { dep } from \"optimism\";\nimport { Slot } from \"@wry/context\";\nexport var cacheSlot = new Slot();\nvar cacheInfoMap = new WeakMap();\nfunction getCacheInfo(cache) {\n var info = cacheInfoMap.get(cache);\n if (!info) {\n cacheInfoMap.set(cache, info = {\n vars: new Set,\n dep: dep(),\n });\n }\n return info;\n}\nexport function forgetCache(cache) {\n getCacheInfo(cache).vars.forEach(function (rv) { return rv.forgetCache(cache); });\n}\nexport function recallCache(cache) {\n getCacheInfo(cache).vars.forEach(function (rv) { return rv.attachCache(cache); });\n}\nexport function makeVar(value) {\n var caches = new Set();\n var listeners = new Set();\n var rv = function (newValue) {\n if (arguments.length > 0) {\n if (value !== newValue) {\n value = newValue;\n caches.forEach(function (cache) {\n getCacheInfo(cache).dep.dirty(rv);\n broadcast(cache);\n });\n var oldListeners = Array.from(listeners);\n listeners.clear();\n oldListeners.forEach(function (listener) { return listener(value); });\n }\n }\n else {\n var cache = cacheSlot.getValue();\n if (cache) {\n attach(cache);\n getCacheInfo(cache).dep(rv);\n }\n }\n return value;\n };\n rv.onNextChange = function (listener) {\n listeners.add(listener);\n return function () {\n listeners.delete(listener);\n };\n };\n var attach = rv.attachCache = function (cache) {\n caches.add(cache);\n getCacheInfo(cache).vars.add(rv);\n return rv;\n };\n rv.forgetCache = function (cache) { return caches.delete(cache); };\n return rv;\n}\nfunction broadcast(cache) {\n if (cache.broadcastWatches) {\n cache.broadcastWatches();\n }\n}\n//# sourceMappingURL=reactiveVars.js.map","import { invariant } from \"../../utilities/globals/index.js\";\nimport { argumentsObjectFromField, DeepMerger, isNonEmptyArray, isNonNullObject, } from \"../../utilities/index.js\";\nimport { hasOwn, isArray } from \"./helpers.js\";\nvar specifierInfoCache = Object.create(null);\nfunction lookupSpecifierInfo(spec) {\n var cacheKey = JSON.stringify(spec);\n return specifierInfoCache[cacheKey] ||\n (specifierInfoCache[cacheKey] = Object.create(null));\n}\nexport function keyFieldsFnFromSpecifier(specifier) {\n var info = lookupSpecifierInfo(specifier);\n return info.keyFieldsFn || (info.keyFieldsFn = function (object, context) {\n var extract = function (from, key) { return context.readField(key, from); };\n var keyObject = context.keyObject = collectSpecifierPaths(specifier, function (schemaKeyPath) {\n var extracted = extractKeyPath(context.storeObject, schemaKeyPath, extract);\n if (extracted === void 0 &&\n object !== context.storeObject &&\n hasOwn.call(object, schemaKeyPath[0])) {\n extracted = extractKeyPath(object, schemaKeyPath, extractKey);\n }\n __DEV__ ? invariant(extracted !== void 0, \"Missing field '\".concat(schemaKeyPath.join('.'), \"' while extracting keyFields from \").concat(JSON.stringify(object))) : invariant(extracted !== void 0, 2);\n return extracted;\n });\n return \"\".concat(context.typename, \":\").concat(JSON.stringify(keyObject));\n });\n}\nexport function keyArgsFnFromSpecifier(specifier) {\n var info = lookupSpecifierInfo(specifier);\n return info.keyArgsFn || (info.keyArgsFn = function (args, _a) {\n var field = _a.field, variables = _a.variables, fieldName = _a.fieldName;\n var collected = collectSpecifierPaths(specifier, function (keyPath) {\n var firstKey = keyPath[0];\n var firstChar = firstKey.charAt(0);\n if (firstChar === \"@\") {\n if (field && isNonEmptyArray(field.directives)) {\n var directiveName_1 = firstKey.slice(1);\n var d = field.directives.find(function (d) { return d.name.value === directiveName_1; });\n var directiveArgs = d && argumentsObjectFromField(d, variables);\n return directiveArgs && extractKeyPath(directiveArgs, keyPath.slice(1));\n }\n return;\n }\n if (firstChar === \"$\") {\n var variableName = firstKey.slice(1);\n if (variables && hasOwn.call(variables, variableName)) {\n var varKeyPath = keyPath.slice(0);\n varKeyPath[0] = variableName;\n return extractKeyPath(variables, varKeyPath);\n }\n return;\n }\n if (args) {\n return extractKeyPath(args, keyPath);\n }\n });\n var suffix = JSON.stringify(collected);\n if (args || suffix !== \"{}\") {\n fieldName += \":\" + suffix;\n }\n return fieldName;\n });\n}\nexport function collectSpecifierPaths(specifier, extractor) {\n var merger = new DeepMerger;\n return getSpecifierPaths(specifier).reduce(function (collected, path) {\n var _a;\n var toMerge = extractor(path);\n if (toMerge !== void 0) {\n for (var i = path.length - 1; i >= 0; --i) {\n toMerge = (_a = {}, _a[path[i]] = toMerge, _a);\n }\n collected = merger.merge(collected, toMerge);\n }\n return collected;\n }, Object.create(null));\n}\nexport function getSpecifierPaths(spec) {\n var info = lookupSpecifierInfo(spec);\n if (!info.paths) {\n var paths_1 = info.paths = [];\n var currentPath_1 = [];\n spec.forEach(function (s, i) {\n if (isArray(s)) {\n getSpecifierPaths(s).forEach(function (p) { return paths_1.push(currentPath_1.concat(p)); });\n currentPath_1.length = 0;\n }\n else {\n currentPath_1.push(s);\n if (!isArray(spec[i + 1])) {\n paths_1.push(currentPath_1.slice(0));\n currentPath_1.length = 0;\n }\n }\n });\n }\n return info.paths;\n}\nfunction extractKey(object, key) {\n return object[key];\n}\nexport function extractKeyPath(object, path, extract) {\n extract = extract || extractKey;\n return normalize(path.reduce(function reducer(obj, key) {\n return isArray(obj)\n ? obj.map(function (child) { return reducer(child, key); })\n : obj && extract(obj, key);\n }, object));\n}\nfunction normalize(value) {\n if (isNonNullObject(value)) {\n if (isArray(value)) {\n return value.map(normalize);\n }\n return collectSpecifierPaths(Object.keys(value).sort(), function (path) { return extractKeyPath(value, path); });\n }\n return value;\n}\n//# sourceMappingURL=key-extractor.js.map","import { __assign, __rest } from \"tslib\";\nimport { invariant, InvariantError } from \"../../utilities/globals/index.js\";\nimport { storeKeyNameFromField, argumentsObjectFromField, isReference, getStoreKeyName, isNonNullObject, stringifyForDisplay, } from \"../../utilities/index.js\";\nimport { hasOwn, fieldNameFromStoreName, storeValueIsStoreObject, selectionSetMatchesResult, TypeOrFieldNameRegExp, defaultDataIdFromObject, isArray, } from \"./helpers.js\";\nimport { cacheSlot } from \"./reactiveVars.js\";\nimport { canonicalStringify } from \"./object-canon.js\";\nimport { keyArgsFnFromSpecifier, keyFieldsFnFromSpecifier } from \"./key-extractor.js\";\ngetStoreKeyName.setStringify(canonicalStringify);\nfunction argsFromFieldSpecifier(spec) {\n return spec.args !== void 0 ? spec.args :\n spec.field ? argumentsObjectFromField(spec.field, spec.variables) : null;\n}\nvar nullKeyFieldsFn = function () { return void 0; };\nvar simpleKeyArgsFn = function (_args, context) { return context.fieldName; };\nvar mergeTrueFn = function (existing, incoming, _a) {\n var mergeObjects = _a.mergeObjects;\n return mergeObjects(existing, incoming);\n};\nvar mergeFalseFn = function (_, incoming) { return incoming; };\nvar Policies = (function () {\n function Policies(config) {\n this.config = config;\n this.typePolicies = Object.create(null);\n this.toBeAdded = Object.create(null);\n this.supertypeMap = new Map();\n this.fuzzySubtypes = new Map();\n this.rootIdsByTypename = Object.create(null);\n this.rootTypenamesById = Object.create(null);\n this.usingPossibleTypes = false;\n this.config = __assign({ dataIdFromObject: defaultDataIdFromObject }, config);\n this.cache = this.config.cache;\n this.setRootTypename(\"Query\");\n this.setRootTypename(\"Mutation\");\n this.setRootTypename(\"Subscription\");\n if (config.possibleTypes) {\n this.addPossibleTypes(config.possibleTypes);\n }\n if (config.typePolicies) {\n this.addTypePolicies(config.typePolicies);\n }\n }\n Policies.prototype.identify = function (object, partialContext) {\n var _a;\n var policies = this;\n var typename = partialContext && (partialContext.typename ||\n ((_a = partialContext.storeObject) === null || _a === void 0 ? void 0 : _a.__typename)) || object.__typename;\n if (typename === this.rootTypenamesById.ROOT_QUERY) {\n return [\"ROOT_QUERY\"];\n }\n var storeObject = partialContext && partialContext.storeObject || object;\n var context = __assign(__assign({}, partialContext), { typename: typename, storeObject: storeObject, readField: partialContext && partialContext.readField || function () {\n var options = normalizeReadFieldOptions(arguments, storeObject);\n return policies.readField(options, {\n store: policies.cache[\"data\"],\n variables: options.variables,\n });\n } });\n var id;\n var policy = typename && this.getTypePolicy(typename);\n var keyFn = policy && policy.keyFn || this.config.dataIdFromObject;\n while (keyFn) {\n var specifierOrId = keyFn(object, context);\n if (isArray(specifierOrId)) {\n keyFn = keyFieldsFnFromSpecifier(specifierOrId);\n }\n else {\n id = specifierOrId;\n break;\n }\n }\n id = id ? String(id) : void 0;\n return context.keyObject ? [id, context.keyObject] : [id];\n };\n Policies.prototype.addTypePolicies = function (typePolicies) {\n var _this = this;\n Object.keys(typePolicies).forEach(function (typename) {\n var _a = typePolicies[typename], queryType = _a.queryType, mutationType = _a.mutationType, subscriptionType = _a.subscriptionType, incoming = __rest(_a, [\"queryType\", \"mutationType\", \"subscriptionType\"]);\n if (queryType)\n _this.setRootTypename(\"Query\", typename);\n if (mutationType)\n _this.setRootTypename(\"Mutation\", typename);\n if (subscriptionType)\n _this.setRootTypename(\"Subscription\", typename);\n if (hasOwn.call(_this.toBeAdded, typename)) {\n _this.toBeAdded[typename].push(incoming);\n }\n else {\n _this.toBeAdded[typename] = [incoming];\n }\n });\n };\n Policies.prototype.updateTypePolicy = function (typename, incoming) {\n var _this = this;\n var existing = this.getTypePolicy(typename);\n var keyFields = incoming.keyFields, fields = incoming.fields;\n function setMerge(existing, merge) {\n existing.merge =\n typeof merge === \"function\" ? merge :\n merge === true ? mergeTrueFn :\n merge === false ? mergeFalseFn :\n existing.merge;\n }\n setMerge(existing, incoming.merge);\n existing.keyFn =\n keyFields === false ? nullKeyFieldsFn :\n isArray(keyFields) ? keyFieldsFnFromSpecifier(keyFields) :\n typeof keyFields === \"function\" ? keyFields :\n existing.keyFn;\n if (fields) {\n Object.keys(fields).forEach(function (fieldName) {\n var existing = _this.getFieldPolicy(typename, fieldName, true);\n var incoming = fields[fieldName];\n if (typeof incoming === \"function\") {\n existing.read = incoming;\n }\n else {\n var keyArgs = incoming.keyArgs, read = incoming.read, merge = incoming.merge;\n existing.keyFn =\n keyArgs === false ? simpleKeyArgsFn :\n isArray(keyArgs) ? keyArgsFnFromSpecifier(keyArgs) :\n typeof keyArgs === \"function\" ? keyArgs :\n existing.keyFn;\n if (typeof read === \"function\") {\n existing.read = read;\n }\n setMerge(existing, merge);\n }\n if (existing.read && existing.merge) {\n existing.keyFn = existing.keyFn || simpleKeyArgsFn;\n }\n });\n }\n };\n Policies.prototype.setRootTypename = function (which, typename) {\n if (typename === void 0) { typename = which; }\n var rootId = \"ROOT_\" + which.toUpperCase();\n var old = this.rootTypenamesById[rootId];\n if (typename !== old) {\n __DEV__ ? invariant(!old || old === which, \"Cannot change root \".concat(which, \" __typename more than once\")) : invariant(!old || old === which, 3);\n if (old)\n delete this.rootIdsByTypename[old];\n this.rootIdsByTypename[typename] = rootId;\n this.rootTypenamesById[rootId] = typename;\n }\n };\n Policies.prototype.addPossibleTypes = function (possibleTypes) {\n var _this = this;\n this.usingPossibleTypes = true;\n Object.keys(possibleTypes).forEach(function (supertype) {\n _this.getSupertypeSet(supertype, true);\n possibleTypes[supertype].forEach(function (subtype) {\n _this.getSupertypeSet(subtype, true).add(supertype);\n var match = subtype.match(TypeOrFieldNameRegExp);\n if (!match || match[0] !== subtype) {\n _this.fuzzySubtypes.set(subtype, new RegExp(subtype));\n }\n });\n });\n };\n Policies.prototype.getTypePolicy = function (typename) {\n var _this = this;\n if (!hasOwn.call(this.typePolicies, typename)) {\n var policy_1 = this.typePolicies[typename] = Object.create(null);\n policy_1.fields = Object.create(null);\n var supertypes = this.supertypeMap.get(typename);\n if (supertypes && supertypes.size) {\n supertypes.forEach(function (supertype) {\n var _a = _this.getTypePolicy(supertype), fields = _a.fields, rest = __rest(_a, [\"fields\"]);\n Object.assign(policy_1, rest);\n Object.assign(policy_1.fields, fields);\n });\n }\n }\n var inbox = this.toBeAdded[typename];\n if (inbox && inbox.length) {\n inbox.splice(0).forEach(function (policy) {\n _this.updateTypePolicy(typename, policy);\n });\n }\n return this.typePolicies[typename];\n };\n Policies.prototype.getFieldPolicy = function (typename, fieldName, createIfMissing) {\n if (typename) {\n var fieldPolicies = this.getTypePolicy(typename).fields;\n return fieldPolicies[fieldName] || (createIfMissing && (fieldPolicies[fieldName] = Object.create(null)));\n }\n };\n Policies.prototype.getSupertypeSet = function (subtype, createIfMissing) {\n var supertypeSet = this.supertypeMap.get(subtype);\n if (!supertypeSet && createIfMissing) {\n this.supertypeMap.set(subtype, supertypeSet = new Set());\n }\n return supertypeSet;\n };\n Policies.prototype.fragmentMatches = function (fragment, typename, result, variables) {\n var _this = this;\n if (!fragment.typeCondition)\n return true;\n if (!typename)\n return false;\n var supertype = fragment.typeCondition.name.value;\n if (typename === supertype)\n return true;\n if (this.usingPossibleTypes &&\n this.supertypeMap.has(supertype)) {\n var typenameSupertypeSet = this.getSupertypeSet(typename, true);\n var workQueue_1 = [typenameSupertypeSet];\n var maybeEnqueue_1 = function (subtype) {\n var supertypeSet = _this.getSupertypeSet(subtype, false);\n if (supertypeSet &&\n supertypeSet.size &&\n workQueue_1.indexOf(supertypeSet) < 0) {\n workQueue_1.push(supertypeSet);\n }\n };\n var needToCheckFuzzySubtypes = !!(result && this.fuzzySubtypes.size);\n var checkingFuzzySubtypes = false;\n for (var i = 0; i < workQueue_1.length; ++i) {\n var supertypeSet = workQueue_1[i];\n if (supertypeSet.has(supertype)) {\n if (!typenameSupertypeSet.has(supertype)) {\n if (checkingFuzzySubtypes) {\n __DEV__ && invariant.warn(\"Inferring subtype \".concat(typename, \" of supertype \").concat(supertype));\n }\n typenameSupertypeSet.add(supertype);\n }\n return true;\n }\n supertypeSet.forEach(maybeEnqueue_1);\n if (needToCheckFuzzySubtypes &&\n i === workQueue_1.length - 1 &&\n selectionSetMatchesResult(fragment.selectionSet, result, variables)) {\n needToCheckFuzzySubtypes = false;\n checkingFuzzySubtypes = true;\n this.fuzzySubtypes.forEach(function (regExp, fuzzyString) {\n var match = typename.match(regExp);\n if (match && match[0] === typename) {\n maybeEnqueue_1(fuzzyString);\n }\n });\n }\n }\n }\n return false;\n };\n Policies.prototype.hasKeyArgs = function (typename, fieldName) {\n var policy = this.getFieldPolicy(typename, fieldName, false);\n return !!(policy && policy.keyFn);\n };\n Policies.prototype.getStoreFieldName = function (fieldSpec) {\n var typename = fieldSpec.typename, fieldName = fieldSpec.fieldName;\n var policy = this.getFieldPolicy(typename, fieldName, false);\n var storeFieldName;\n var keyFn = policy && policy.keyFn;\n if (keyFn && typename) {\n var context = {\n typename: typename,\n fieldName: fieldName,\n field: fieldSpec.field || null,\n variables: fieldSpec.variables,\n };\n var args = argsFromFieldSpecifier(fieldSpec);\n while (keyFn) {\n var specifierOrString = keyFn(args, context);\n if (isArray(specifierOrString)) {\n keyFn = keyArgsFnFromSpecifier(specifierOrString);\n }\n else {\n storeFieldName = specifierOrString || fieldName;\n break;\n }\n }\n }\n if (storeFieldName === void 0) {\n storeFieldName = fieldSpec.field\n ? storeKeyNameFromField(fieldSpec.field, fieldSpec.variables)\n : getStoreKeyName(fieldName, argsFromFieldSpecifier(fieldSpec));\n }\n if (storeFieldName === false) {\n return fieldName;\n }\n return fieldName === fieldNameFromStoreName(storeFieldName)\n ? storeFieldName\n : fieldName + \":\" + storeFieldName;\n };\n Policies.prototype.readField = function (options, context) {\n var objectOrReference = options.from;\n if (!objectOrReference)\n return;\n var nameOrField = options.field || options.fieldName;\n if (!nameOrField)\n return;\n if (options.typename === void 0) {\n var typename = context.store.getFieldValue(objectOrReference, \"__typename\");\n if (typename)\n options.typename = typename;\n }\n var storeFieldName = this.getStoreFieldName(options);\n var fieldName = fieldNameFromStoreName(storeFieldName);\n var existing = context.store.getFieldValue(objectOrReference, storeFieldName);\n var policy = this.getFieldPolicy(options.typename, fieldName, false);\n var read = policy && policy.read;\n if (read) {\n var readOptions = makeFieldFunctionOptions(this, objectOrReference, options, context, context.store.getStorage(isReference(objectOrReference)\n ? objectOrReference.__ref\n : objectOrReference, storeFieldName));\n return cacheSlot.withValue(this.cache, read, [existing, readOptions]);\n }\n return existing;\n };\n Policies.prototype.getReadFunction = function (typename, fieldName) {\n var policy = this.getFieldPolicy(typename, fieldName, false);\n return policy && policy.read;\n };\n Policies.prototype.getMergeFunction = function (parentTypename, fieldName, childTypename) {\n var policy = this.getFieldPolicy(parentTypename, fieldName, false);\n var merge = policy && policy.merge;\n if (!merge && childTypename) {\n policy = this.getTypePolicy(childTypename);\n merge = policy && policy.merge;\n }\n return merge;\n };\n Policies.prototype.runMergeFunction = function (existing, incoming, _a, context, storage) {\n var field = _a.field, typename = _a.typename, merge = _a.merge;\n if (merge === mergeTrueFn) {\n return makeMergeObjectsFunction(context.store)(existing, incoming);\n }\n if (merge === mergeFalseFn) {\n return incoming;\n }\n if (context.overwrite) {\n existing = void 0;\n }\n return merge(existing, incoming, makeFieldFunctionOptions(this, void 0, { typename: typename, fieldName: field.name.value, field: field, variables: context.variables }, context, storage || Object.create(null)));\n };\n return Policies;\n}());\nexport { Policies };\nfunction makeFieldFunctionOptions(policies, objectOrReference, fieldSpec, context, storage) {\n var storeFieldName = policies.getStoreFieldName(fieldSpec);\n var fieldName = fieldNameFromStoreName(storeFieldName);\n var variables = fieldSpec.variables || context.variables;\n var _a = context.store, toReference = _a.toReference, canRead = _a.canRead;\n return {\n args: argsFromFieldSpecifier(fieldSpec),\n field: fieldSpec.field || null,\n fieldName: fieldName,\n storeFieldName: storeFieldName,\n variables: variables,\n isReference: isReference,\n toReference: toReference,\n storage: storage,\n cache: policies.cache,\n canRead: canRead,\n readField: function () {\n return policies.readField(normalizeReadFieldOptions(arguments, objectOrReference, variables), context);\n },\n mergeObjects: makeMergeObjectsFunction(context.store),\n };\n}\nexport function normalizeReadFieldOptions(readFieldArgs, objectOrReference, variables) {\n var fieldNameOrOptions = readFieldArgs[0], from = readFieldArgs[1], argc = readFieldArgs.length;\n var options;\n if (typeof fieldNameOrOptions === \"string\") {\n options = {\n fieldName: fieldNameOrOptions,\n from: argc > 1 ? from : objectOrReference,\n };\n }\n else {\n options = __assign({}, fieldNameOrOptions);\n if (!hasOwn.call(options, \"from\")) {\n options.from = objectOrReference;\n }\n }\n if (__DEV__ && options.from === void 0) {\n __DEV__ && invariant.warn(\"Undefined 'from' passed to readField with arguments \".concat(stringifyForDisplay(Array.from(readFieldArgs))));\n }\n if (void 0 === options.variables) {\n options.variables = variables;\n }\n return options;\n}\nfunction makeMergeObjectsFunction(store) {\n return function mergeObjects(existing, incoming) {\n if (isArray(existing) || isArray(incoming)) {\n throw __DEV__ ? new InvariantError(\"Cannot automatically merge arrays\") : new InvariantError(4);\n }\n if (isNonNullObject(existing) &&\n isNonNullObject(incoming)) {\n var eType = store.getFieldValue(existing, \"__typename\");\n var iType = store.getFieldValue(incoming, \"__typename\");\n var typesDiffer = eType && iType && eType !== iType;\n if (typesDiffer) {\n return incoming;\n }\n if (isReference(existing) &&\n storeValueIsStoreObject(incoming)) {\n store.merge(existing.__ref, incoming);\n return existing;\n }\n if (storeValueIsStoreObject(existing) &&\n isReference(incoming)) {\n store.merge(existing, incoming.__ref);\n return incoming;\n }\n if (storeValueIsStoreObject(existing) &&\n storeValueIsStoreObject(incoming)) {\n return __assign(__assign({}, existing), incoming);\n }\n }\n return incoming;\n };\n}\n//# sourceMappingURL=policies.js.map","import { __assign } from \"tslib\";\nimport { invariant, InvariantError } from \"../../utilities/globals/index.js\";\nimport { equal } from '@wry/equality';\nimport { Trie } from '@wry/trie';\nimport { Kind, } from 'graphql';\nimport { getFragmentFromSelection, getDefaultValues, getOperationDefinition, getTypenameFromResult, makeReference, isField, resultKeyNameFromField, isReference, shouldInclude, cloneDeep, addTypenameToDocument, isNonEmptyArray, argumentsObjectFromField, } from \"../../utilities/index.js\";\nimport { isArray, makeProcessedFieldsMerger, fieldNameFromStoreName, storeValueIsStoreObject, extractFragmentContext } from \"./helpers.js\";\nimport { canonicalStringify } from \"./object-canon.js\";\nimport { normalizeReadFieldOptions } from \"./policies.js\";\n;\nfunction getContextFlavor(context, clientOnly, deferred) {\n var key = \"\".concat(clientOnly).concat(deferred);\n var flavored = context.flavors.get(key);\n if (!flavored) {\n context.flavors.set(key, flavored = (context.clientOnly === clientOnly &&\n context.deferred === deferred) ? context : __assign(__assign({}, context), { clientOnly: clientOnly, deferred: deferred }));\n }\n return flavored;\n}\nvar StoreWriter = (function () {\n function StoreWriter(cache, reader, fragments) {\n this.cache = cache;\n this.reader = reader;\n this.fragments = fragments;\n }\n StoreWriter.prototype.writeToStore = function (store, _a) {\n var _this = this;\n var query = _a.query, result = _a.result, dataId = _a.dataId, variables = _a.variables, overwrite = _a.overwrite;\n var operationDefinition = getOperationDefinition(query);\n var merger = makeProcessedFieldsMerger();\n variables = __assign(__assign({}, getDefaultValues(operationDefinition)), variables);\n var context = __assign(__assign({ store: store, written: Object.create(null), merge: function (existing, incoming) {\n return merger.merge(existing, incoming);\n }, variables: variables, varString: canonicalStringify(variables) }, extractFragmentContext(query, this.fragments)), { overwrite: !!overwrite, incomingById: new Map, clientOnly: false, deferred: false, flavors: new Map });\n var ref = this.processSelectionSet({\n result: result || Object.create(null),\n dataId: dataId,\n selectionSet: operationDefinition.selectionSet,\n mergeTree: { map: new Map },\n context: context,\n });\n if (!isReference(ref)) {\n throw __DEV__ ? new InvariantError(\"Could not identify object \".concat(JSON.stringify(result))) : new InvariantError(7);\n }\n context.incomingById.forEach(function (_a, dataId) {\n var storeObject = _a.storeObject, mergeTree = _a.mergeTree, fieldNodeSet = _a.fieldNodeSet;\n var entityRef = makeReference(dataId);\n if (mergeTree && mergeTree.map.size) {\n var applied = _this.applyMerges(mergeTree, entityRef, storeObject, context);\n if (isReference(applied)) {\n return;\n }\n storeObject = applied;\n }\n if (__DEV__ && !context.overwrite) {\n var fieldsWithSelectionSets_1 = Object.create(null);\n fieldNodeSet.forEach(function (field) {\n if (field.selectionSet) {\n fieldsWithSelectionSets_1[field.name.value] = true;\n }\n });\n var hasSelectionSet_1 = function (storeFieldName) {\n return fieldsWithSelectionSets_1[fieldNameFromStoreName(storeFieldName)] === true;\n };\n var hasMergeFunction_1 = function (storeFieldName) {\n var childTree = mergeTree && mergeTree.map.get(storeFieldName);\n return Boolean(childTree && childTree.info && childTree.info.merge);\n };\n Object.keys(storeObject).forEach(function (storeFieldName) {\n if (hasSelectionSet_1(storeFieldName) &&\n !hasMergeFunction_1(storeFieldName)) {\n warnAboutDataLoss(entityRef, storeObject, storeFieldName, context.store);\n }\n });\n }\n store.merge(dataId, storeObject);\n });\n store.retain(ref.__ref);\n return ref;\n };\n StoreWriter.prototype.processSelectionSet = function (_a) {\n var _this = this;\n var dataId = _a.dataId, result = _a.result, selectionSet = _a.selectionSet, context = _a.context, mergeTree = _a.mergeTree;\n var policies = this.cache.policies;\n var incoming = Object.create(null);\n var typename = (dataId && policies.rootTypenamesById[dataId]) ||\n getTypenameFromResult(result, selectionSet, context.fragmentMap) ||\n (dataId && context.store.get(dataId, \"__typename\"));\n if (\"string\" === typeof typename) {\n incoming.__typename = typename;\n }\n var readField = function () {\n var options = normalizeReadFieldOptions(arguments, incoming, context.variables);\n if (isReference(options.from)) {\n var info = context.incomingById.get(options.from.__ref);\n if (info) {\n var result_1 = policies.readField(__assign(__assign({}, options), { from: info.storeObject }), context);\n if (result_1 !== void 0) {\n return result_1;\n }\n }\n }\n return policies.readField(options, context);\n };\n var fieldNodeSet = new Set();\n this.flattenFields(selectionSet, result, context, typename).forEach(function (context, field) {\n var _a;\n var resultFieldKey = resultKeyNameFromField(field);\n var value = result[resultFieldKey];\n fieldNodeSet.add(field);\n if (value !== void 0) {\n var storeFieldName = policies.getStoreFieldName({\n typename: typename,\n fieldName: field.name.value,\n field: field,\n variables: context.variables,\n });\n var childTree = getChildMergeTree(mergeTree, storeFieldName);\n var incomingValue = _this.processFieldValue(value, field, field.selectionSet\n ? getContextFlavor(context, false, false)\n : context, childTree);\n var childTypename = void 0;\n if (field.selectionSet &&\n (isReference(incomingValue) ||\n storeValueIsStoreObject(incomingValue))) {\n childTypename = readField(\"__typename\", incomingValue);\n }\n var merge = policies.getMergeFunction(typename, field.name.value, childTypename);\n if (merge) {\n childTree.info = {\n field: field,\n typename: typename,\n merge: merge,\n };\n }\n else {\n maybeRecycleChildMergeTree(mergeTree, storeFieldName);\n }\n incoming = context.merge(incoming, (_a = {},\n _a[storeFieldName] = incomingValue,\n _a));\n }\n else if (__DEV__ &&\n !context.clientOnly &&\n !context.deferred &&\n !addTypenameToDocument.added(field) &&\n !policies.getReadFunction(typename, field.name.value)) {\n __DEV__ && invariant.error(\"Missing field '\".concat(resultKeyNameFromField(field), \"' while writing result \").concat(JSON.stringify(result, null, 2)).substring(0, 1000));\n }\n });\n try {\n var _b = policies.identify(result, {\n typename: typename,\n selectionSet: selectionSet,\n fragmentMap: context.fragmentMap,\n storeObject: incoming,\n readField: readField,\n }), id = _b[0], keyObject = _b[1];\n dataId = dataId || id;\n if (keyObject) {\n incoming = context.merge(incoming, keyObject);\n }\n }\n catch (e) {\n if (!dataId)\n throw e;\n }\n if (\"string\" === typeof dataId) {\n var dataRef = makeReference(dataId);\n var sets = context.written[dataId] || (context.written[dataId] = []);\n if (sets.indexOf(selectionSet) >= 0)\n return dataRef;\n sets.push(selectionSet);\n if (this.reader && this.reader.isFresh(result, dataRef, selectionSet, context)) {\n return dataRef;\n }\n var previous_1 = context.incomingById.get(dataId);\n if (previous_1) {\n previous_1.storeObject = context.merge(previous_1.storeObject, incoming);\n previous_1.mergeTree = mergeMergeTrees(previous_1.mergeTree, mergeTree);\n fieldNodeSet.forEach(function (field) { return previous_1.fieldNodeSet.add(field); });\n }\n else {\n context.incomingById.set(dataId, {\n storeObject: incoming,\n mergeTree: mergeTreeIsEmpty(mergeTree) ? void 0 : mergeTree,\n fieldNodeSet: fieldNodeSet,\n });\n }\n return dataRef;\n }\n return incoming;\n };\n StoreWriter.prototype.processFieldValue = function (value, field, context, mergeTree) {\n var _this = this;\n if (!field.selectionSet || value === null) {\n return __DEV__ ? cloneDeep(value) : value;\n }\n if (isArray(value)) {\n return value.map(function (item, i) {\n var value = _this.processFieldValue(item, field, context, getChildMergeTree(mergeTree, i));\n maybeRecycleChildMergeTree(mergeTree, i);\n return value;\n });\n }\n return this.processSelectionSet({\n result: value,\n selectionSet: field.selectionSet,\n context: context,\n mergeTree: mergeTree,\n });\n };\n StoreWriter.prototype.flattenFields = function (selectionSet, result, context, typename) {\n if (typename === void 0) { typename = getTypenameFromResult(result, selectionSet, context.fragmentMap); }\n var fieldMap = new Map();\n var policies = this.cache.policies;\n var limitingTrie = new Trie(false);\n (function flatten(selectionSet, inheritedContext) {\n var visitedNode = limitingTrie.lookup(selectionSet, inheritedContext.clientOnly, inheritedContext.deferred);\n if (visitedNode.visited)\n return;\n visitedNode.visited = true;\n selectionSet.selections.forEach(function (selection) {\n if (!shouldInclude(selection, context.variables))\n return;\n var clientOnly = inheritedContext.clientOnly, deferred = inheritedContext.deferred;\n if (!(clientOnly && deferred) &&\n isNonEmptyArray(selection.directives)) {\n selection.directives.forEach(function (dir) {\n var name = dir.name.value;\n if (name === \"client\")\n clientOnly = true;\n if (name === \"defer\") {\n var args = argumentsObjectFromField(dir, context.variables);\n if (!args || args.if !== false) {\n deferred = true;\n }\n }\n });\n }\n if (isField(selection)) {\n var existing = fieldMap.get(selection);\n if (existing) {\n clientOnly = clientOnly && existing.clientOnly;\n deferred = deferred && existing.deferred;\n }\n fieldMap.set(selection, getContextFlavor(context, clientOnly, deferred));\n }\n else {\n var fragment = getFragmentFromSelection(selection, context.lookupFragment);\n if (!fragment && selection.kind === Kind.FRAGMENT_SPREAD) {\n throw __DEV__ ? new InvariantError(\"No fragment named \".concat(selection.name.value)) : new InvariantError(8);\n }\n if (fragment &&\n policies.fragmentMatches(fragment, typename, result, context.variables)) {\n flatten(fragment.selectionSet, getContextFlavor(context, clientOnly, deferred));\n }\n }\n });\n })(selectionSet, context);\n return fieldMap;\n };\n StoreWriter.prototype.applyMerges = function (mergeTree, existing, incoming, context, getStorageArgs) {\n var _a;\n var _this = this;\n if (mergeTree.map.size && !isReference(incoming)) {\n var e_1 = (!isArray(incoming) &&\n (isReference(existing) || storeValueIsStoreObject(existing))) ? existing : void 0;\n var i_1 = incoming;\n if (e_1 && !getStorageArgs) {\n getStorageArgs = [isReference(e_1) ? e_1.__ref : e_1];\n }\n var changedFields_1;\n var getValue_1 = function (from, name) {\n return isArray(from)\n ? (typeof name === \"number\" ? from[name] : void 0)\n : context.store.getFieldValue(from, String(name));\n };\n mergeTree.map.forEach(function (childTree, storeFieldName) {\n var eVal = getValue_1(e_1, storeFieldName);\n var iVal = getValue_1(i_1, storeFieldName);\n if (void 0 === iVal)\n return;\n if (getStorageArgs) {\n getStorageArgs.push(storeFieldName);\n }\n var aVal = _this.applyMerges(childTree, eVal, iVal, context, getStorageArgs);\n if (aVal !== iVal) {\n changedFields_1 = changedFields_1 || new Map;\n changedFields_1.set(storeFieldName, aVal);\n }\n if (getStorageArgs) {\n invariant(getStorageArgs.pop() === storeFieldName);\n }\n });\n if (changedFields_1) {\n incoming = (isArray(i_1) ? i_1.slice(0) : __assign({}, i_1));\n changedFields_1.forEach(function (value, name) {\n incoming[name] = value;\n });\n }\n }\n if (mergeTree.info) {\n return this.cache.policies.runMergeFunction(existing, incoming, mergeTree.info, context, getStorageArgs && (_a = context.store).getStorage.apply(_a, getStorageArgs));\n }\n return incoming;\n };\n return StoreWriter;\n}());\nexport { StoreWriter };\nvar emptyMergeTreePool = [];\nfunction getChildMergeTree(_a, name) {\n var map = _a.map;\n if (!map.has(name)) {\n map.set(name, emptyMergeTreePool.pop() || { map: new Map });\n }\n return map.get(name);\n}\nfunction mergeMergeTrees(left, right) {\n if (left === right || !right || mergeTreeIsEmpty(right))\n return left;\n if (!left || mergeTreeIsEmpty(left))\n return right;\n var info = left.info && right.info ? __assign(__assign({}, left.info), right.info) : left.info || right.info;\n var needToMergeMaps = left.map.size && right.map.size;\n var map = needToMergeMaps ? new Map :\n left.map.size ? left.map : right.map;\n var merged = { info: info, map: map };\n if (needToMergeMaps) {\n var remainingRightKeys_1 = new Set(right.map.keys());\n left.map.forEach(function (leftTree, key) {\n merged.map.set(key, mergeMergeTrees(leftTree, right.map.get(key)));\n remainingRightKeys_1.delete(key);\n });\n remainingRightKeys_1.forEach(function (key) {\n merged.map.set(key, mergeMergeTrees(right.map.get(key), left.map.get(key)));\n });\n }\n return merged;\n}\nfunction mergeTreeIsEmpty(tree) {\n return !tree || !(tree.info || tree.map.size);\n}\nfunction maybeRecycleChildMergeTree(_a, name) {\n var map = _a.map;\n var childTree = map.get(name);\n if (childTree && mergeTreeIsEmpty(childTree)) {\n emptyMergeTreePool.push(childTree);\n map.delete(name);\n }\n}\nvar warnings = new Set();\nfunction warnAboutDataLoss(existingRef, incomingObj, storeFieldName, store) {\n var getChild = function (objOrRef) {\n var child = store.getFieldValue(objOrRef, storeFieldName);\n return typeof child === \"object\" && child;\n };\n var existing = getChild(existingRef);\n if (!existing)\n return;\n var incoming = getChild(incomingObj);\n if (!incoming)\n return;\n if (isReference(existing))\n return;\n if (equal(existing, incoming))\n return;\n if (Object.keys(existing).every(function (key) { return store.getFieldValue(incoming, key) !== void 0; })) {\n return;\n }\n var parentType = store.getFieldValue(existingRef, \"__typename\") ||\n store.getFieldValue(incomingObj, \"__typename\");\n var fieldName = fieldNameFromStoreName(storeFieldName);\n var typeDotName = \"\".concat(parentType, \".\").concat(fieldName);\n if (warnings.has(typeDotName))\n return;\n warnings.add(typeDotName);\n var childTypenames = [];\n if (!isArray(existing) &&\n !isArray(incoming)) {\n [existing, incoming].forEach(function (child) {\n var typename = store.getFieldValue(child, \"__typename\");\n if (typeof typename === \"string\" &&\n !childTypenames.includes(typename)) {\n childTypenames.push(typename);\n }\n });\n }\n __DEV__ && invariant.warn(\"Cache data may be lost when replacing the \".concat(fieldName, \" field of a \").concat(parentType, \" object.\\n\\nTo address this problem (which is not a bug in Apollo Client), \").concat(childTypenames.length\n ? \"either ensure all objects of type \" +\n childTypenames.join(\" and \") + \" have an ID or a custom merge function, or \"\n : \"\", \"define a custom merge function for the \").concat(typeDotName, \" field, so InMemoryCache can safely merge these objects:\\n\\n existing: \").concat(JSON.stringify(existing).slice(0, 1000), \"\\n incoming: \").concat(JSON.stringify(incoming).slice(0, 1000), \"\\n\\nFor more information about these options, please refer to the documentation:\\n\\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\\n\"));\n}\n//# sourceMappingURL=writeToStore.js.map","import { __assign, __extends } from \"tslib\";\nimport { invariant } from \"../../utilities/globals/index.js\";\nimport \"./fixPolyfills.js\";\nimport { wrap } from 'optimism';\nimport { equal } from '@wry/equality';\nimport { ApolloCache } from \"../core/cache.js\";\nimport { MissingFieldError } from \"../core/types/common.js\";\nimport { addTypenameToDocument, isReference, } from \"../../utilities/index.js\";\nimport { StoreReader } from \"./readFromStore.js\";\nimport { StoreWriter } from \"./writeToStore.js\";\nimport { EntityStore, supportsResultCaching } from \"./entityStore.js\";\nimport { makeVar, forgetCache, recallCache } from \"./reactiveVars.js\";\nimport { Policies } from \"./policies.js\";\nimport { hasOwn, normalizeConfig, shouldCanonizeResults } from \"./helpers.js\";\nimport { canonicalStringify } from \"./object-canon.js\";\nvar InMemoryCache = (function (_super) {\n __extends(InMemoryCache, _super);\n function InMemoryCache(config) {\n if (config === void 0) { config = {}; }\n var _this = _super.call(this) || this;\n _this.watches = new Set();\n _this.typenameDocumentCache = new Map();\n _this.makeVar = makeVar;\n _this.txCount = 0;\n _this.config = normalizeConfig(config);\n _this.addTypename = !!_this.config.addTypename;\n _this.policies = new Policies({\n cache: _this,\n dataIdFromObject: _this.config.dataIdFromObject,\n possibleTypes: _this.config.possibleTypes,\n typePolicies: _this.config.typePolicies,\n });\n _this.init();\n return _this;\n }\n InMemoryCache.prototype.init = function () {\n var rootStore = this.data = new EntityStore.Root({\n policies: this.policies,\n resultCaching: this.config.resultCaching,\n });\n this.optimisticData = rootStore.stump;\n this.resetResultCache();\n };\n InMemoryCache.prototype.resetResultCache = function (resetResultIdentities) {\n var _this = this;\n var previousReader = this.storeReader;\n var fragments = this.config.fragments;\n this.storeWriter = new StoreWriter(this, this.storeReader = new StoreReader({\n cache: this,\n addTypename: this.addTypename,\n resultCacheMaxSize: this.config.resultCacheMaxSize,\n canonizeResults: shouldCanonizeResults(this.config),\n canon: resetResultIdentities\n ? void 0\n : previousReader && previousReader.canon,\n fragments: fragments,\n }), fragments);\n this.maybeBroadcastWatch = wrap(function (c, options) {\n return _this.broadcastWatch(c, options);\n }, {\n max: this.config.resultCacheMaxSize,\n makeCacheKey: function (c) {\n var store = c.optimistic ? _this.optimisticData : _this.data;\n if (supportsResultCaching(store)) {\n var optimistic = c.optimistic, id = c.id, variables = c.variables;\n return store.makeCacheKey(c.query, c.callback, canonicalStringify({ optimistic: optimistic, id: id, variables: variables }));\n }\n }\n });\n new Set([\n this.data.group,\n this.optimisticData.group,\n ]).forEach(function (group) { return group.resetCaching(); });\n };\n InMemoryCache.prototype.restore = function (data) {\n this.init();\n if (data)\n this.data.replace(data);\n return this;\n };\n InMemoryCache.prototype.extract = function (optimistic) {\n if (optimistic === void 0) { optimistic = false; }\n return (optimistic ? this.optimisticData : this.data).extract();\n };\n InMemoryCache.prototype.read = function (options) {\n var _a = options.returnPartialData, returnPartialData = _a === void 0 ? false : _a;\n try {\n return this.storeReader.diffQueryAgainstStore(__assign(__assign({}, options), { store: options.optimistic ? this.optimisticData : this.data, config: this.config, returnPartialData: returnPartialData })).result || null;\n }\n catch (e) {\n if (e instanceof MissingFieldError) {\n return null;\n }\n throw e;\n }\n };\n InMemoryCache.prototype.write = function (options) {\n try {\n ++this.txCount;\n return this.storeWriter.writeToStore(this.data, options);\n }\n finally {\n if (!--this.txCount && options.broadcast !== false) {\n this.broadcastWatches();\n }\n }\n };\n InMemoryCache.prototype.modify = function (options) {\n if (hasOwn.call(options, \"id\") && !options.id) {\n return false;\n }\n var store = options.optimistic\n ? this.optimisticData\n : this.data;\n try {\n ++this.txCount;\n return store.modify(options.id || \"ROOT_QUERY\", options.fields);\n }\n finally {\n if (!--this.txCount && options.broadcast !== false) {\n this.broadcastWatches();\n }\n }\n };\n InMemoryCache.prototype.diff = function (options) {\n return this.storeReader.diffQueryAgainstStore(__assign(__assign({}, options), { store: options.optimistic ? this.optimisticData : this.data, rootId: options.id || \"ROOT_QUERY\", config: this.config }));\n };\n InMemoryCache.prototype.watch = function (watch) {\n var _this = this;\n if (!this.watches.size) {\n recallCache(this);\n }\n this.watches.add(watch);\n if (watch.immediate) {\n this.maybeBroadcastWatch(watch);\n }\n return function () {\n if (_this.watches.delete(watch) && !_this.watches.size) {\n forgetCache(_this);\n }\n _this.maybeBroadcastWatch.forget(watch);\n };\n };\n InMemoryCache.prototype.gc = function (options) {\n canonicalStringify.reset();\n var ids = this.optimisticData.gc();\n if (options && !this.txCount) {\n if (options.resetResultCache) {\n this.resetResultCache(options.resetResultIdentities);\n }\n else if (options.resetResultIdentities) {\n this.storeReader.resetCanon();\n }\n }\n return ids;\n };\n InMemoryCache.prototype.retain = function (rootId, optimistic) {\n return (optimistic ? this.optimisticData : this.data).retain(rootId);\n };\n InMemoryCache.prototype.release = function (rootId, optimistic) {\n return (optimistic ? this.optimisticData : this.data).release(rootId);\n };\n InMemoryCache.prototype.identify = function (object) {\n if (isReference(object))\n return object.__ref;\n try {\n return this.policies.identify(object)[0];\n }\n catch (e) {\n __DEV__ && invariant.warn(e);\n }\n };\n InMemoryCache.prototype.evict = function (options) {\n if (!options.id) {\n if (hasOwn.call(options, \"id\")) {\n return false;\n }\n options = __assign(__assign({}, options), { id: \"ROOT_QUERY\" });\n }\n try {\n ++this.txCount;\n return this.optimisticData.evict(options, this.data);\n }\n finally {\n if (!--this.txCount && options.broadcast !== false) {\n this.broadcastWatches();\n }\n }\n };\n InMemoryCache.prototype.reset = function (options) {\n var _this = this;\n this.init();\n canonicalStringify.reset();\n if (options && options.discardWatches) {\n this.watches.forEach(function (watch) { return _this.maybeBroadcastWatch.forget(watch); });\n this.watches.clear();\n forgetCache(this);\n }\n else {\n this.broadcastWatches();\n }\n return Promise.resolve();\n };\n InMemoryCache.prototype.removeOptimistic = function (idToRemove) {\n var newOptimisticData = this.optimisticData.removeLayer(idToRemove);\n if (newOptimisticData !== this.optimisticData) {\n this.optimisticData = newOptimisticData;\n this.broadcastWatches();\n }\n };\n InMemoryCache.prototype.batch = function (options) {\n var _this = this;\n var update = options.update, _a = options.optimistic, optimistic = _a === void 0 ? true : _a, removeOptimistic = options.removeOptimistic, onWatchUpdated = options.onWatchUpdated;\n var updateResult;\n var perform = function (layer) {\n var _a = _this, data = _a.data, optimisticData = _a.optimisticData;\n ++_this.txCount;\n if (layer) {\n _this.data = _this.optimisticData = layer;\n }\n try {\n return updateResult = update(_this);\n }\n finally {\n --_this.txCount;\n _this.data = data;\n _this.optimisticData = optimisticData;\n }\n };\n var alreadyDirty = new Set();\n if (onWatchUpdated && !this.txCount) {\n this.broadcastWatches(__assign(__assign({}, options), { onWatchUpdated: function (watch) {\n alreadyDirty.add(watch);\n return false;\n } }));\n }\n if (typeof optimistic === 'string') {\n this.optimisticData = this.optimisticData.addLayer(optimistic, perform);\n }\n else if (optimistic === false) {\n perform(this.data);\n }\n else {\n perform();\n }\n if (typeof removeOptimistic === \"string\") {\n this.optimisticData = this.optimisticData.removeLayer(removeOptimistic);\n }\n if (onWatchUpdated && alreadyDirty.size) {\n this.broadcastWatches(__assign(__assign({}, options), { onWatchUpdated: function (watch, diff) {\n var result = onWatchUpdated.call(this, watch, diff);\n if (result !== false) {\n alreadyDirty.delete(watch);\n }\n return result;\n } }));\n if (alreadyDirty.size) {\n alreadyDirty.forEach(function (watch) { return _this.maybeBroadcastWatch.dirty(watch); });\n }\n }\n else {\n this.broadcastWatches(options);\n }\n return updateResult;\n };\n InMemoryCache.prototype.performTransaction = function (update, optimisticId) {\n return this.batch({\n update: update,\n optimistic: optimisticId || (optimisticId !== null),\n });\n };\n InMemoryCache.prototype.transformDocument = function (document) {\n if (this.addTypename) {\n var result = this.typenameDocumentCache.get(document);\n if (!result) {\n result = addTypenameToDocument(document);\n this.typenameDocumentCache.set(document, result);\n this.typenameDocumentCache.set(result, result);\n }\n return result;\n }\n return document;\n };\n InMemoryCache.prototype.transformForLink = function (document) {\n var fragments = this.config.fragments;\n return fragments\n ? fragments.transform(document)\n : document;\n };\n InMemoryCache.prototype.broadcastWatches = function (options) {\n var _this = this;\n if (!this.txCount) {\n this.watches.forEach(function (c) { return _this.maybeBroadcastWatch(c, options); });\n }\n };\n InMemoryCache.prototype.broadcastWatch = function (c, options) {\n var lastDiff = c.lastDiff;\n var diff = this.diff(c);\n if (options) {\n if (c.optimistic &&\n typeof options.optimistic === \"string\") {\n diff.fromOptimisticTransaction = true;\n }\n if (options.onWatchUpdated &&\n options.onWatchUpdated.call(this, c, diff, lastDiff) === false) {\n return;\n }\n }\n if (!lastDiff || !equal(lastDiff.result, diff.result)) {\n c.callback(c.lastDiff = diff, lastDiff);\n }\n };\n return InMemoryCache;\n}(ApolloCache));\nexport { InMemoryCache };\n//# sourceMappingURL=inMemoryCache.js.map","import { __extends } from \"tslib\";\nimport \"../utilities/globals/index.js\";\nimport { isNonEmptyArray } from \"../utilities/index.js\";\nexport function isApolloError(err) {\n return err.hasOwnProperty('graphQLErrors');\n}\nvar generateErrorMessage = function (err) {\n var message = '';\n if (isNonEmptyArray(err.graphQLErrors) || isNonEmptyArray(err.clientErrors)) {\n var errors = (err.graphQLErrors || [])\n .concat(err.clientErrors || []);\n errors.forEach(function (error) {\n var errorMessage = error\n ? error.message\n : 'Error message not found.';\n message += \"\".concat(errorMessage, \"\\n\");\n });\n }\n if (err.networkError) {\n message += \"\".concat(err.networkError.message, \"\\n\");\n }\n message = message.replace(/\\n$/, '');\n return message;\n};\nvar ApolloError = (function (_super) {\n __extends(ApolloError, _super);\n function ApolloError(_a) {\n var graphQLErrors = _a.graphQLErrors, clientErrors = _a.clientErrors, networkError = _a.networkError, errorMessage = _a.errorMessage, extraInfo = _a.extraInfo;\n var _this = _super.call(this, errorMessage) || this;\n _this.graphQLErrors = graphQLErrors || [];\n _this.clientErrors = clientErrors || [];\n _this.networkError = networkError || null;\n _this.message = errorMessage || generateErrorMessage(_this);\n _this.extraInfo = extraInfo;\n _this.__proto__ = ApolloError.prototype;\n return _this;\n }\n return ApolloError;\n}(Error));\nexport { ApolloError };\n//# sourceMappingURL=index.js.map","export var NetworkStatus;\n(function (NetworkStatus) {\n NetworkStatus[NetworkStatus[\"loading\"] = 1] = \"loading\";\n NetworkStatus[NetworkStatus[\"setVariables\"] = 2] = \"setVariables\";\n NetworkStatus[NetworkStatus[\"fetchMore\"] = 3] = \"fetchMore\";\n NetworkStatus[NetworkStatus[\"refetch\"] = 4] = \"refetch\";\n NetworkStatus[NetworkStatus[\"poll\"] = 6] = \"poll\";\n NetworkStatus[NetworkStatus[\"ready\"] = 7] = \"ready\";\n NetworkStatus[NetworkStatus[\"error\"] = 8] = \"error\";\n})(NetworkStatus || (NetworkStatus = {}));\nexport function isNetworkRequestInFlight(networkStatus) {\n return networkStatus ? networkStatus < 7 : false;\n}\n//# sourceMappingURL=networkStatus.js.map","import { __assign, __extends } from \"tslib\";\nimport { invariant } from \"../utilities/globals/index.js\";\nimport { equal } from '@wry/equality';\nimport { NetworkStatus, isNetworkRequestInFlight } from \"./networkStatus.js\";\nimport { cloneDeep, compact, getOperationDefinition, Observable, iterateObserversSafely, isNonEmptyArray, fixObservableSubclass, getQueryDefinition, } from \"../utilities/index.js\";\nvar assign = Object.assign, hasOwnProperty = Object.hasOwnProperty;\nvar ObservableQuery = (function (_super) {\n __extends(ObservableQuery, _super);\n function ObservableQuery(_a) {\n var queryManager = _a.queryManager, queryInfo = _a.queryInfo, options = _a.options;\n var _this = _super.call(this, function (observer) {\n try {\n var subObserver = observer._subscription._observer;\n if (subObserver && !subObserver.error) {\n subObserver.error = defaultSubscriptionObserverErrorCallback;\n }\n }\n catch (_a) { }\n var first = !_this.observers.size;\n _this.observers.add(observer);\n var last = _this.last;\n if (last && last.error) {\n observer.error && observer.error(last.error);\n }\n else if (last && last.result) {\n observer.next && observer.next(last.result);\n }\n if (first) {\n _this.reobserve().catch(function () { });\n }\n return function () {\n if (_this.observers.delete(observer) && !_this.observers.size) {\n _this.tearDownQuery();\n }\n };\n }) || this;\n _this.observers = new Set();\n _this.subscriptions = new Set();\n _this.queryInfo = queryInfo;\n _this.queryManager = queryManager;\n _this.isTornDown = false;\n var _b = queryManager.defaultOptions.watchQuery, _c = _b === void 0 ? {} : _b, _d = _c.fetchPolicy, defaultFetchPolicy = _d === void 0 ? \"cache-first\" : _d;\n var _e = options.fetchPolicy, fetchPolicy = _e === void 0 ? defaultFetchPolicy : _e, _f = options.initialFetchPolicy, initialFetchPolicy = _f === void 0 ? (fetchPolicy === \"standby\" ? defaultFetchPolicy : fetchPolicy) : _f;\n _this.options = __assign(__assign({}, options), { initialFetchPolicy: initialFetchPolicy, fetchPolicy: fetchPolicy });\n _this.queryId = queryInfo.queryId || queryManager.generateQueryId();\n var opDef = getOperationDefinition(_this.query);\n _this.queryName = opDef && opDef.name && opDef.name.value;\n return _this;\n }\n Object.defineProperty(ObservableQuery.prototype, \"query\", {\n get: function () {\n return this.queryManager.transform(this.options.query).document;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ObservableQuery.prototype, \"variables\", {\n get: function () {\n return this.options.variables;\n },\n enumerable: false,\n configurable: true\n });\n ObservableQuery.prototype.result = function () {\n var _this = this;\n return new Promise(function (resolve, reject) {\n var observer = {\n next: function (result) {\n resolve(result);\n _this.observers.delete(observer);\n if (!_this.observers.size) {\n _this.queryManager.removeQuery(_this.queryId);\n }\n setTimeout(function () {\n subscription.unsubscribe();\n }, 0);\n },\n error: reject,\n };\n var subscription = _this.subscribe(observer);\n });\n };\n ObservableQuery.prototype.getCurrentResult = function (saveAsLastResult) {\n if (saveAsLastResult === void 0) { saveAsLastResult = true; }\n var lastResult = this.getLastResult(true);\n var networkStatus = this.queryInfo.networkStatus ||\n (lastResult && lastResult.networkStatus) ||\n NetworkStatus.ready;\n var result = __assign(__assign({}, lastResult), { loading: isNetworkRequestInFlight(networkStatus), networkStatus: networkStatus });\n var _a = this.options.fetchPolicy, fetchPolicy = _a === void 0 ? \"cache-first\" : _a;\n if (fetchPolicy === 'network-only' ||\n fetchPolicy === 'no-cache' ||\n fetchPolicy === 'standby' ||\n this.queryManager.transform(this.options.query).hasForcedResolvers) {\n }\n else {\n var diff = this.queryInfo.getDiff();\n if (diff.complete || this.options.returnPartialData) {\n result.data = diff.result;\n }\n if (equal(result.data, {})) {\n result.data = void 0;\n }\n if (diff.complete) {\n delete result.partial;\n if (diff.complete &&\n result.networkStatus === NetworkStatus.loading &&\n (fetchPolicy === 'cache-first' ||\n fetchPolicy === 'cache-only')) {\n result.networkStatus = NetworkStatus.ready;\n result.loading = false;\n }\n }\n else {\n result.partial = true;\n }\n if (__DEV__ &&\n !diff.complete &&\n !this.options.partialRefetch &&\n !result.loading &&\n !result.data &&\n !result.error) {\n logMissingFieldErrors(diff.missing);\n }\n }\n if (saveAsLastResult) {\n this.updateLastResult(result);\n }\n return result;\n };\n ObservableQuery.prototype.isDifferentFromLastResult = function (newResult) {\n return !this.last || !equal(this.last.result, newResult);\n };\n ObservableQuery.prototype.getLast = function (key, variablesMustMatch) {\n var last = this.last;\n if (last &&\n last[key] &&\n (!variablesMustMatch || equal(last.variables, this.variables))) {\n return last[key];\n }\n };\n ObservableQuery.prototype.getLastResult = function (variablesMustMatch) {\n return this.getLast(\"result\", variablesMustMatch);\n };\n ObservableQuery.prototype.getLastError = function (variablesMustMatch) {\n return this.getLast(\"error\", variablesMustMatch);\n };\n ObservableQuery.prototype.resetLastResults = function () {\n delete this.last;\n this.isTornDown = false;\n };\n ObservableQuery.prototype.resetQueryStoreErrors = function () {\n this.queryManager.resetErrors(this.queryId);\n };\n ObservableQuery.prototype.refetch = function (variables) {\n var _a;\n var reobserveOptions = {\n pollInterval: 0,\n };\n var fetchPolicy = this.options.fetchPolicy;\n if (fetchPolicy === 'cache-and-network') {\n reobserveOptions.fetchPolicy = fetchPolicy;\n }\n else if (fetchPolicy === 'no-cache') {\n reobserveOptions.fetchPolicy = 'no-cache';\n }\n else {\n reobserveOptions.fetchPolicy = 'network-only';\n }\n if (__DEV__ && variables && hasOwnProperty.call(variables, \"variables\")) {\n var queryDef = getQueryDefinition(this.query);\n var vars = queryDef.variableDefinitions;\n if (!vars || !vars.some(function (v) { return v.variable.name.value === \"variables\"; })) {\n __DEV__ && invariant.warn(\"Called refetch(\".concat(JSON.stringify(variables), \") for query \").concat(((_a = queryDef.name) === null || _a === void 0 ? void 0 : _a.value) || JSON.stringify(queryDef), \", which does not declare a $variables variable.\\nDid you mean to call refetch(variables) instead of refetch({ variables })?\"));\n }\n }\n if (variables && !equal(this.options.variables, variables)) {\n reobserveOptions.variables = this.options.variables = __assign(__assign({}, this.options.variables), variables);\n }\n this.queryInfo.resetLastWrite();\n return this.reobserve(reobserveOptions, NetworkStatus.refetch);\n };\n ObservableQuery.prototype.fetchMore = function (fetchMoreOptions) {\n var _this = this;\n var combinedOptions = __assign(__assign({}, (fetchMoreOptions.query ? fetchMoreOptions : __assign(__assign(__assign(__assign({}, this.options), { query: this.query }), fetchMoreOptions), { variables: __assign(__assign({}, this.options.variables), fetchMoreOptions.variables) }))), { fetchPolicy: \"no-cache\" });\n var qid = this.queryManager.generateQueryId();\n var queryInfo = this.queryInfo;\n var originalNetworkStatus = queryInfo.networkStatus;\n queryInfo.networkStatus = NetworkStatus.fetchMore;\n if (combinedOptions.notifyOnNetworkStatusChange) {\n this.observe();\n }\n var updatedQuerySet = new Set();\n return this.queryManager.fetchQuery(qid, combinedOptions, NetworkStatus.fetchMore).then(function (fetchMoreResult) {\n _this.queryManager.removeQuery(qid);\n if (queryInfo.networkStatus === NetworkStatus.fetchMore) {\n queryInfo.networkStatus = originalNetworkStatus;\n }\n _this.queryManager.cache.batch({\n update: function (cache) {\n var updateQuery = fetchMoreOptions.updateQuery;\n if (updateQuery) {\n cache.updateQuery({\n query: _this.query,\n variables: _this.variables,\n returnPartialData: true,\n optimistic: false,\n }, function (previous) { return updateQuery(previous, {\n fetchMoreResult: fetchMoreResult.data,\n variables: combinedOptions.variables,\n }); });\n }\n else {\n cache.writeQuery({\n query: combinedOptions.query,\n variables: combinedOptions.variables,\n data: fetchMoreResult.data,\n });\n }\n },\n onWatchUpdated: function (watch) {\n updatedQuerySet.add(watch.query);\n },\n });\n return fetchMoreResult;\n }).finally(function () {\n if (!updatedQuerySet.has(_this.query)) {\n reobserveCacheFirst(_this);\n }\n });\n };\n ObservableQuery.prototype.subscribeToMore = function (options) {\n var _this = this;\n var subscription = this.queryManager\n .startGraphQLSubscription({\n query: options.document,\n variables: options.variables,\n context: options.context,\n })\n .subscribe({\n next: function (subscriptionData) {\n var updateQuery = options.updateQuery;\n if (updateQuery) {\n _this.updateQuery(function (previous, _a) {\n var variables = _a.variables;\n return updateQuery(previous, {\n subscriptionData: subscriptionData,\n variables: variables,\n });\n });\n }\n },\n error: function (err) {\n if (options.onError) {\n options.onError(err);\n return;\n }\n __DEV__ && invariant.error('Unhandled GraphQL subscription error', err);\n },\n });\n this.subscriptions.add(subscription);\n return function () {\n if (_this.subscriptions.delete(subscription)) {\n subscription.unsubscribe();\n }\n };\n };\n ObservableQuery.prototype.setOptions = function (newOptions) {\n return this.reobserve(newOptions);\n };\n ObservableQuery.prototype.setVariables = function (variables) {\n if (equal(this.variables, variables)) {\n return this.observers.size\n ? this.result()\n : Promise.resolve();\n }\n this.options.variables = variables;\n if (!this.observers.size) {\n return Promise.resolve();\n }\n return this.reobserve({\n fetchPolicy: this.options.initialFetchPolicy,\n variables: variables,\n }, NetworkStatus.setVariables);\n };\n ObservableQuery.prototype.updateQuery = function (mapFn) {\n var queryManager = this.queryManager;\n var result = queryManager.cache.diff({\n query: this.options.query,\n variables: this.variables,\n returnPartialData: true,\n optimistic: false,\n }).result;\n var newResult = mapFn(result, {\n variables: this.variables,\n });\n if (newResult) {\n queryManager.cache.writeQuery({\n query: this.options.query,\n data: newResult,\n variables: this.variables,\n });\n queryManager.broadcastQueries();\n }\n };\n ObservableQuery.prototype.startPolling = function (pollInterval) {\n this.options.pollInterval = pollInterval;\n this.updatePolling();\n };\n ObservableQuery.prototype.stopPolling = function () {\n this.options.pollInterval = 0;\n this.updatePolling();\n };\n ObservableQuery.prototype.applyNextFetchPolicy = function (reason, options) {\n if (options.nextFetchPolicy) {\n var _a = options.fetchPolicy, fetchPolicy = _a === void 0 ? \"cache-first\" : _a, _b = options.initialFetchPolicy, initialFetchPolicy = _b === void 0 ? fetchPolicy : _b;\n if (fetchPolicy === \"standby\") {\n }\n else if (typeof options.nextFetchPolicy === \"function\") {\n options.fetchPolicy = options.nextFetchPolicy(fetchPolicy, {\n reason: reason,\n options: options,\n observable: this,\n initialFetchPolicy: initialFetchPolicy,\n });\n }\n else if (reason === \"variables-changed\") {\n options.fetchPolicy = initialFetchPolicy;\n }\n else {\n options.fetchPolicy = options.nextFetchPolicy;\n }\n }\n return options.fetchPolicy;\n };\n ObservableQuery.prototype.fetch = function (options, newNetworkStatus) {\n this.queryManager.setObservableQuery(this);\n return this.queryManager.fetchQueryObservable(this.queryId, options, newNetworkStatus);\n };\n ObservableQuery.prototype.updatePolling = function () {\n var _this = this;\n if (this.queryManager.ssrMode) {\n return;\n }\n var _a = this, pollingInfo = _a.pollingInfo, pollInterval = _a.options.pollInterval;\n if (!pollInterval) {\n if (pollingInfo) {\n clearTimeout(pollingInfo.timeout);\n delete this.pollingInfo;\n }\n return;\n }\n if (pollingInfo &&\n pollingInfo.interval === pollInterval) {\n return;\n }\n __DEV__ ? invariant(pollInterval, 'Attempted to start a polling query without a polling interval.') : invariant(pollInterval, 12);\n var info = pollingInfo || (this.pollingInfo = {});\n info.interval = pollInterval;\n var maybeFetch = function () {\n if (_this.pollingInfo) {\n if (!isNetworkRequestInFlight(_this.queryInfo.networkStatus)) {\n _this.reobserve({\n fetchPolicy: _this.options.initialFetchPolicy === 'no-cache' ? 'no-cache' : 'network-only',\n }, NetworkStatus.poll).then(poll, poll);\n }\n else {\n poll();\n }\n }\n ;\n };\n var poll = function () {\n var info = _this.pollingInfo;\n if (info) {\n clearTimeout(info.timeout);\n info.timeout = setTimeout(maybeFetch, info.interval);\n }\n };\n poll();\n };\n ObservableQuery.prototype.updateLastResult = function (newResult, variables) {\n if (variables === void 0) { variables = this.variables; }\n this.last = __assign(__assign({}, this.last), { result: this.queryManager.assumeImmutableResults\n ? newResult\n : cloneDeep(newResult), variables: variables });\n if (!isNonEmptyArray(newResult.errors)) {\n delete this.last.error;\n }\n return this.last;\n };\n ObservableQuery.prototype.reobserve = function (newOptions, newNetworkStatus) {\n var _this = this;\n this.isTornDown = false;\n var useDisposableConcast = newNetworkStatus === NetworkStatus.refetch ||\n newNetworkStatus === NetworkStatus.fetchMore ||\n newNetworkStatus === NetworkStatus.poll;\n var oldVariables = this.options.variables;\n var oldFetchPolicy = this.options.fetchPolicy;\n var mergedOptions = compact(this.options, newOptions || {});\n var options = useDisposableConcast\n ? mergedOptions\n : assign(this.options, mergedOptions);\n if (!useDisposableConcast) {\n this.updatePolling();\n if (newOptions &&\n newOptions.variables &&\n !equal(newOptions.variables, oldVariables) &&\n options.fetchPolicy !== \"standby\" &&\n options.fetchPolicy === oldFetchPolicy) {\n this.applyNextFetchPolicy(\"variables-changed\", options);\n if (newNetworkStatus === void 0) {\n newNetworkStatus = NetworkStatus.setVariables;\n }\n }\n }\n var variables = options.variables && __assign({}, options.variables);\n var concast = this.fetch(options, newNetworkStatus);\n var observer = {\n next: function (result) {\n _this.reportResult(result, variables);\n },\n error: function (error) {\n _this.reportError(error, variables);\n },\n };\n if (!useDisposableConcast) {\n if (this.concast && this.observer) {\n this.concast.removeObserver(this.observer);\n }\n this.concast = concast;\n this.observer = observer;\n }\n concast.addObserver(observer);\n return concast.promise;\n };\n ObservableQuery.prototype.observe = function () {\n this.reportResult(this.getCurrentResult(false), this.variables);\n };\n ObservableQuery.prototype.reportResult = function (result, variables) {\n var lastError = this.getLastError();\n if (lastError || this.isDifferentFromLastResult(result)) {\n if (lastError || !result.partial || this.options.returnPartialData) {\n this.updateLastResult(result, variables);\n }\n iterateObserversSafely(this.observers, 'next', result);\n }\n };\n ObservableQuery.prototype.reportError = function (error, variables) {\n var errorResult = __assign(__assign({}, this.getLastResult()), { error: error, errors: error.graphQLErrors, networkStatus: NetworkStatus.error, loading: false });\n this.updateLastResult(errorResult, variables);\n iterateObserversSafely(this.observers, 'error', this.last.error = error);\n };\n ObservableQuery.prototype.hasObservers = function () {\n return this.observers.size > 0;\n };\n ObservableQuery.prototype.tearDownQuery = function () {\n if (this.isTornDown)\n return;\n if (this.concast && this.observer) {\n this.concast.removeObserver(this.observer);\n delete this.concast;\n delete this.observer;\n }\n this.stopPolling();\n this.subscriptions.forEach(function (sub) { return sub.unsubscribe(); });\n this.subscriptions.clear();\n this.queryManager.stopQuery(this.queryId);\n this.observers.clear();\n this.isTornDown = true;\n };\n return ObservableQuery;\n}(Observable));\nexport { ObservableQuery };\nfixObservableSubclass(ObservableQuery);\nexport function reobserveCacheFirst(obsQuery) {\n var _a = obsQuery.options, fetchPolicy = _a.fetchPolicy, nextFetchPolicy = _a.nextFetchPolicy;\n if (fetchPolicy === \"cache-and-network\" ||\n fetchPolicy === \"network-only\") {\n return obsQuery.reobserve({\n fetchPolicy: \"cache-first\",\n nextFetchPolicy: function () {\n this.nextFetchPolicy = nextFetchPolicy;\n if (typeof nextFetchPolicy === \"function\") {\n return nextFetchPolicy.apply(this, arguments);\n }\n return fetchPolicy;\n },\n });\n }\n return obsQuery.reobserve();\n}\nfunction defaultSubscriptionObserverErrorCallback(error) {\n __DEV__ && invariant.error('Unhandled error', error.message, error.stack);\n}\nexport function logMissingFieldErrors(missing) {\n if (__DEV__ && missing) {\n __DEV__ && invariant.debug(\"Missing cache result fields: \".concat(JSON.stringify(missing)), missing);\n }\n}\n//# sourceMappingURL=ObservableQuery.js.map","import { __assign, __awaiter, __generator } from \"tslib\";\nimport { invariant } from \"../utilities/globals/index.js\";\nimport { visit, BREAK, } from 'graphql';\nimport { argumentsObjectFromField, buildQueryFromSelectionSet, createFragmentMap, getFragmentDefinitions, getMainDefinition, hasDirectives, isField, isInlineFragment, mergeDeep, mergeDeepArray, removeClientSetsFromDocument, resultKeyNameFromField, shouldInclude, } from \"../utilities/index.js\";\nimport { cacheSlot } from \"../cache/index.js\";\nvar LocalState = (function () {\n function LocalState(_a) {\n var cache = _a.cache, client = _a.client, resolvers = _a.resolvers, fragmentMatcher = _a.fragmentMatcher;\n this.cache = cache;\n if (client) {\n this.client = client;\n }\n if (resolvers) {\n this.addResolvers(resolvers);\n }\n if (fragmentMatcher) {\n this.setFragmentMatcher(fragmentMatcher);\n }\n }\n LocalState.prototype.addResolvers = function (resolvers) {\n var _this = this;\n this.resolvers = this.resolvers || {};\n if (Array.isArray(resolvers)) {\n resolvers.forEach(function (resolverGroup) {\n _this.resolvers = mergeDeep(_this.resolvers, resolverGroup);\n });\n }\n else {\n this.resolvers = mergeDeep(this.resolvers, resolvers);\n }\n };\n LocalState.prototype.setResolvers = function (resolvers) {\n this.resolvers = {};\n this.addResolvers(resolvers);\n };\n LocalState.prototype.getResolvers = function () {\n return this.resolvers || {};\n };\n LocalState.prototype.runResolvers = function (_a) {\n var document = _a.document, remoteResult = _a.remoteResult, context = _a.context, variables = _a.variables, _b = _a.onlyRunForcedResolvers, onlyRunForcedResolvers = _b === void 0 ? false : _b;\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_c) {\n if (document) {\n return [2, this.resolveDocument(document, remoteResult.data, context, variables, this.fragmentMatcher, onlyRunForcedResolvers).then(function (localResult) { return (__assign(__assign({}, remoteResult), { data: localResult.result })); })];\n }\n return [2, remoteResult];\n });\n });\n };\n LocalState.prototype.setFragmentMatcher = function (fragmentMatcher) {\n this.fragmentMatcher = fragmentMatcher;\n };\n LocalState.prototype.getFragmentMatcher = function () {\n return this.fragmentMatcher;\n };\n LocalState.prototype.clientQuery = function (document) {\n if (hasDirectives(['client'], document)) {\n if (this.resolvers) {\n return document;\n }\n }\n return null;\n };\n LocalState.prototype.serverQuery = function (document) {\n return removeClientSetsFromDocument(document);\n };\n LocalState.prototype.prepareContext = function (context) {\n var cache = this.cache;\n return __assign(__assign({}, context), { cache: cache, getCacheKey: function (obj) {\n return cache.identify(obj);\n } });\n };\n LocalState.prototype.addExportedVariables = function (document, variables, context) {\n if (variables === void 0) { variables = {}; }\n if (context === void 0) { context = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (document) {\n return [2, this.resolveDocument(document, this.buildRootValueFromCache(document, variables) || {}, this.prepareContext(context), variables).then(function (data) { return (__assign(__assign({}, variables), data.exportedVariables)); })];\n }\n return [2, __assign({}, variables)];\n });\n });\n };\n LocalState.prototype.shouldForceResolvers = function (document) {\n var forceResolvers = false;\n visit(document, {\n Directive: {\n enter: function (node) {\n if (node.name.value === 'client' && node.arguments) {\n forceResolvers = node.arguments.some(function (arg) {\n return arg.name.value === 'always' &&\n arg.value.kind === 'BooleanValue' &&\n arg.value.value === true;\n });\n if (forceResolvers) {\n return BREAK;\n }\n }\n },\n },\n });\n return forceResolvers;\n };\n LocalState.prototype.buildRootValueFromCache = function (document, variables) {\n return this.cache.diff({\n query: buildQueryFromSelectionSet(document),\n variables: variables,\n returnPartialData: true,\n optimistic: false,\n }).result;\n };\n LocalState.prototype.resolveDocument = function (document, rootValue, context, variables, fragmentMatcher, onlyRunForcedResolvers) {\n if (context === void 0) { context = {}; }\n if (variables === void 0) { variables = {}; }\n if (fragmentMatcher === void 0) { fragmentMatcher = function () { return true; }; }\n if (onlyRunForcedResolvers === void 0) { onlyRunForcedResolvers = false; }\n return __awaiter(this, void 0, void 0, function () {\n var mainDefinition, fragments, fragmentMap, definitionOperation, defaultOperationType, _a, cache, client, execContext;\n return __generator(this, function (_b) {\n mainDefinition = getMainDefinition(document);\n fragments = getFragmentDefinitions(document);\n fragmentMap = createFragmentMap(fragments);\n definitionOperation = mainDefinition\n .operation;\n defaultOperationType = definitionOperation\n ? definitionOperation.charAt(0).toUpperCase() +\n definitionOperation.slice(1)\n : 'Query';\n _a = this, cache = _a.cache, client = _a.client;\n execContext = {\n fragmentMap: fragmentMap,\n context: __assign(__assign({}, context), { cache: cache, client: client }),\n variables: variables,\n fragmentMatcher: fragmentMatcher,\n defaultOperationType: defaultOperationType,\n exportedVariables: {},\n onlyRunForcedResolvers: onlyRunForcedResolvers,\n };\n return [2, this.resolveSelectionSet(mainDefinition.selectionSet, rootValue, execContext).then(function (result) { return ({\n result: result,\n exportedVariables: execContext.exportedVariables,\n }); })];\n });\n });\n };\n LocalState.prototype.resolveSelectionSet = function (selectionSet, rootValue, execContext) {\n return __awaiter(this, void 0, void 0, function () {\n var fragmentMap, context, variables, resultsToMerge, execute;\n var _this = this;\n return __generator(this, function (_a) {\n fragmentMap = execContext.fragmentMap, context = execContext.context, variables = execContext.variables;\n resultsToMerge = [rootValue];\n execute = function (selection) { return __awaiter(_this, void 0, void 0, function () {\n var fragment, typeCondition;\n return __generator(this, function (_a) {\n if (!shouldInclude(selection, variables)) {\n return [2];\n }\n if (isField(selection)) {\n return [2, this.resolveField(selection, rootValue, execContext).then(function (fieldResult) {\n var _a;\n if (typeof fieldResult !== 'undefined') {\n resultsToMerge.push((_a = {},\n _a[resultKeyNameFromField(selection)] = fieldResult,\n _a));\n }\n })];\n }\n if (isInlineFragment(selection)) {\n fragment = selection;\n }\n else {\n fragment = fragmentMap[selection.name.value];\n __DEV__ ? invariant(fragment, \"No fragment named \".concat(selection.name.value)) : invariant(fragment, 11);\n }\n if (fragment && fragment.typeCondition) {\n typeCondition = fragment.typeCondition.name.value;\n if (execContext.fragmentMatcher(rootValue, typeCondition, context)) {\n return [2, this.resolveSelectionSet(fragment.selectionSet, rootValue, execContext).then(function (fragmentResult) {\n resultsToMerge.push(fragmentResult);\n })];\n }\n }\n return [2];\n });\n }); };\n return [2, Promise.all(selectionSet.selections.map(execute)).then(function () {\n return mergeDeepArray(resultsToMerge);\n })];\n });\n });\n };\n LocalState.prototype.resolveField = function (field, rootValue, execContext) {\n return __awaiter(this, void 0, void 0, function () {\n var variables, fieldName, aliasedFieldName, aliasUsed, defaultResult, resultPromise, resolverType, resolverMap, resolve;\n var _this = this;\n return __generator(this, function (_a) {\n variables = execContext.variables;\n fieldName = field.name.value;\n aliasedFieldName = resultKeyNameFromField(field);\n aliasUsed = fieldName !== aliasedFieldName;\n defaultResult = rootValue[aliasedFieldName] || rootValue[fieldName];\n resultPromise = Promise.resolve(defaultResult);\n if (!execContext.onlyRunForcedResolvers ||\n this.shouldForceResolvers(field)) {\n resolverType = rootValue.__typename || execContext.defaultOperationType;\n resolverMap = this.resolvers && this.resolvers[resolverType];\n if (resolverMap) {\n resolve = resolverMap[aliasUsed ? fieldName : aliasedFieldName];\n if (resolve) {\n resultPromise = Promise.resolve(cacheSlot.withValue(this.cache, resolve, [\n rootValue,\n argumentsObjectFromField(field, variables),\n execContext.context,\n { field: field, fragmentMap: execContext.fragmentMap },\n ]));\n }\n }\n }\n return [2, resultPromise.then(function (result) {\n if (result === void 0) { result = defaultResult; }\n if (field.directives) {\n field.directives.forEach(function (directive) {\n if (directive.name.value === 'export' && directive.arguments) {\n directive.arguments.forEach(function (arg) {\n if (arg.name.value === 'as' && arg.value.kind === 'StringValue') {\n execContext.exportedVariables[arg.value.value] = result;\n }\n });\n }\n });\n }\n if (!field.selectionSet) {\n return result;\n }\n if (result == null) {\n return result;\n }\n if (Array.isArray(result)) {\n return _this.resolveSubSelectedArray(field, result, execContext);\n }\n if (field.selectionSet) {\n return _this.resolveSelectionSet(field.selectionSet, result, execContext);\n }\n })];\n });\n });\n };\n LocalState.prototype.resolveSubSelectedArray = function (field, result, execContext) {\n var _this = this;\n return Promise.all(result.map(function (item) {\n if (item === null) {\n return null;\n }\n if (Array.isArray(item)) {\n return _this.resolveSubSelectedArray(field, item, execContext);\n }\n if (field.selectionSet) {\n return _this.resolveSelectionSet(field.selectionSet, item, execContext);\n }\n }));\n };\n return LocalState;\n}());\nexport { LocalState };\n//# sourceMappingURL=LocalState.js.map","import { __assign } from \"tslib\";\nimport { equal } from \"@wry/equality\";\nimport { DeepMerger } from \"../utilities/index.js\";\nimport { reobserveCacheFirst } from \"./ObservableQuery.js\";\nimport { isNonEmptyArray, graphQLResultHasError, canUseWeakMap, } from \"../utilities/index.js\";\nimport { NetworkStatus, isNetworkRequestInFlight, } from \"./networkStatus.js\";\n;\nvar destructiveMethodCounts = new (canUseWeakMap ? WeakMap : Map)();\nfunction wrapDestructiveCacheMethod(cache, methodName) {\n var original = cache[methodName];\n if (typeof original === \"function\") {\n cache[methodName] = function () {\n destructiveMethodCounts.set(cache, (destructiveMethodCounts.get(cache) + 1) % 1e15);\n return original.apply(this, arguments);\n };\n }\n}\nfunction cancelNotifyTimeout(info) {\n if (info[\"notifyTimeout\"]) {\n clearTimeout(info[\"notifyTimeout\"]);\n info[\"notifyTimeout\"] = void 0;\n }\n}\nvar QueryInfo = (function () {\n function QueryInfo(queryManager, queryId) {\n if (queryId === void 0) { queryId = queryManager.generateQueryId(); }\n this.queryId = queryId;\n this.listeners = new Set();\n this.document = null;\n this.lastRequestId = 1;\n this.subscriptions = new Set();\n this.stopped = false;\n this.dirty = false;\n this.observableQuery = null;\n var cache = this.cache = queryManager.cache;\n if (!destructiveMethodCounts.has(cache)) {\n destructiveMethodCounts.set(cache, 0);\n wrapDestructiveCacheMethod(cache, \"evict\");\n wrapDestructiveCacheMethod(cache, \"modify\");\n wrapDestructiveCacheMethod(cache, \"reset\");\n }\n }\n QueryInfo.prototype.init = function (query) {\n var networkStatus = query.networkStatus || NetworkStatus.loading;\n if (this.variables &&\n this.networkStatus !== NetworkStatus.loading &&\n !equal(this.variables, query.variables)) {\n networkStatus = NetworkStatus.setVariables;\n }\n if (!equal(query.variables, this.variables)) {\n this.lastDiff = void 0;\n }\n Object.assign(this, {\n document: query.document,\n variables: query.variables,\n networkError: null,\n graphQLErrors: this.graphQLErrors || [],\n networkStatus: networkStatus,\n });\n if (query.observableQuery) {\n this.setObservableQuery(query.observableQuery);\n }\n if (query.lastRequestId) {\n this.lastRequestId = query.lastRequestId;\n }\n return this;\n };\n QueryInfo.prototype.reset = function () {\n cancelNotifyTimeout(this);\n this.dirty = false;\n };\n QueryInfo.prototype.getDiff = function (variables) {\n if (variables === void 0) { variables = this.variables; }\n var options = this.getDiffOptions(variables);\n if (this.lastDiff && equal(options, this.lastDiff.options)) {\n return this.lastDiff.diff;\n }\n this.updateWatch(this.variables = variables);\n var oq = this.observableQuery;\n if (oq && oq.options.fetchPolicy === \"no-cache\") {\n return { complete: false };\n }\n var diff = this.cache.diff(options);\n this.updateLastDiff(diff, options);\n return diff;\n };\n QueryInfo.prototype.updateLastDiff = function (diff, options) {\n this.lastDiff = diff ? {\n diff: diff,\n options: options || this.getDiffOptions(),\n } : void 0;\n };\n QueryInfo.prototype.getDiffOptions = function (variables) {\n var _a;\n if (variables === void 0) { variables = this.variables; }\n return {\n query: this.document,\n variables: variables,\n returnPartialData: true,\n optimistic: true,\n canonizeResults: (_a = this.observableQuery) === null || _a === void 0 ? void 0 : _a.options.canonizeResults,\n };\n };\n QueryInfo.prototype.setDiff = function (diff) {\n var _this = this;\n var oldDiff = this.lastDiff && this.lastDiff.diff;\n this.updateLastDiff(diff);\n if (!this.dirty &&\n !equal(oldDiff && oldDiff.result, diff && diff.result)) {\n this.dirty = true;\n if (!this.notifyTimeout) {\n this.notifyTimeout = setTimeout(function () { return _this.notify(); }, 0);\n }\n }\n };\n QueryInfo.prototype.setObservableQuery = function (oq) {\n var _this = this;\n if (oq === this.observableQuery)\n return;\n if (this.oqListener) {\n this.listeners.delete(this.oqListener);\n }\n this.observableQuery = oq;\n if (oq) {\n oq[\"queryInfo\"] = this;\n this.listeners.add(this.oqListener = function () {\n var diff = _this.getDiff();\n if (diff.fromOptimisticTransaction) {\n oq[\"observe\"]();\n }\n else {\n reobserveCacheFirst(oq);\n }\n });\n }\n else {\n delete this.oqListener;\n }\n };\n QueryInfo.prototype.notify = function () {\n var _this = this;\n cancelNotifyTimeout(this);\n if (this.shouldNotify()) {\n this.listeners.forEach(function (listener) { return listener(_this); });\n }\n this.dirty = false;\n };\n QueryInfo.prototype.shouldNotify = function () {\n if (!this.dirty || !this.listeners.size) {\n return false;\n }\n if (isNetworkRequestInFlight(this.networkStatus) &&\n this.observableQuery) {\n var fetchPolicy = this.observableQuery.options.fetchPolicy;\n if (fetchPolicy !== \"cache-only\" &&\n fetchPolicy !== \"cache-and-network\") {\n return false;\n }\n }\n return true;\n };\n QueryInfo.prototype.stop = function () {\n if (!this.stopped) {\n this.stopped = true;\n this.reset();\n this.cancel();\n this.cancel = QueryInfo.prototype.cancel;\n this.subscriptions.forEach(function (sub) { return sub.unsubscribe(); });\n var oq = this.observableQuery;\n if (oq)\n oq.stopPolling();\n }\n };\n QueryInfo.prototype.cancel = function () { };\n QueryInfo.prototype.updateWatch = function (variables) {\n var _this = this;\n if (variables === void 0) { variables = this.variables; }\n var oq = this.observableQuery;\n if (oq && oq.options.fetchPolicy === \"no-cache\") {\n return;\n }\n var watchOptions = __assign(__assign({}, this.getDiffOptions(variables)), { watcher: this, callback: function (diff) { return _this.setDiff(diff); } });\n if (!this.lastWatch ||\n !equal(watchOptions, this.lastWatch)) {\n this.cancel();\n this.cancel = this.cache.watch(this.lastWatch = watchOptions);\n }\n };\n QueryInfo.prototype.resetLastWrite = function () {\n this.lastWrite = void 0;\n };\n QueryInfo.prototype.shouldWrite = function (result, variables) {\n var lastWrite = this.lastWrite;\n return !(lastWrite &&\n lastWrite.dmCount === destructiveMethodCounts.get(this.cache) &&\n equal(variables, lastWrite.variables) &&\n equal(result.data, lastWrite.result.data));\n };\n QueryInfo.prototype.markResult = function (result, document, options, cacheWriteBehavior) {\n var _this = this;\n var graphQLErrors = isNonEmptyArray(result.errors)\n ? result.errors.slice(0)\n : [];\n this.reset();\n if ('incremental' in result && isNonEmptyArray(result.incremental)) {\n var mergedData_1 = this.getDiff().result;\n var merger_1 = new DeepMerger();\n result.incremental.forEach(function (_a) {\n var data = _a.data, path = _a.path, errors = _a.errors;\n for (var i = path.length - 1; i >= 0; --i) {\n var key = path[i];\n var isNumericKey = !isNaN(+key);\n var parent_1 = isNumericKey ? [] : {};\n parent_1[key] = data;\n data = parent_1;\n }\n if (errors) {\n graphQLErrors.push.apply(graphQLErrors, errors);\n }\n mergedData_1 = merger_1.merge(mergedData_1, data);\n });\n result.data = mergedData_1;\n }\n this.graphQLErrors = graphQLErrors;\n if (options.fetchPolicy === 'no-cache') {\n this.updateLastDiff({ result: result.data, complete: true }, this.getDiffOptions(options.variables));\n }\n else if (cacheWriteBehavior !== 0) {\n if (shouldWriteResult(result, options.errorPolicy)) {\n this.cache.performTransaction(function (cache) {\n if (_this.shouldWrite(result, options.variables)) {\n cache.writeQuery({\n query: document,\n data: result.data,\n variables: options.variables,\n overwrite: cacheWriteBehavior === 1,\n });\n _this.lastWrite = {\n result: result,\n variables: options.variables,\n dmCount: destructiveMethodCounts.get(_this.cache),\n };\n }\n else {\n if (_this.lastDiff &&\n _this.lastDiff.diff.complete) {\n result.data = _this.lastDiff.diff.result;\n return;\n }\n }\n var diffOptions = _this.getDiffOptions(options.variables);\n var diff = cache.diff(diffOptions);\n if (!_this.stopped) {\n _this.updateWatch(options.variables);\n }\n _this.updateLastDiff(diff, diffOptions);\n if (diff.complete) {\n result.data = diff.result;\n }\n });\n }\n else {\n this.lastWrite = void 0;\n }\n }\n };\n QueryInfo.prototype.markReady = function () {\n this.networkError = null;\n return this.networkStatus = NetworkStatus.ready;\n };\n QueryInfo.prototype.markError = function (error) {\n this.networkStatus = NetworkStatus.error;\n this.lastWrite = void 0;\n this.reset();\n if (error.graphQLErrors) {\n this.graphQLErrors = error.graphQLErrors;\n }\n if (error.networkError) {\n this.networkError = error.networkError;\n }\n return error;\n };\n return QueryInfo;\n}());\nexport { QueryInfo };\nexport function shouldWriteResult(result, errorPolicy) {\n if (errorPolicy === void 0) { errorPolicy = \"none\"; }\n var ignoreErrors = errorPolicy === \"ignore\" ||\n errorPolicy === \"all\";\n var writeWithErrors = !graphQLResultHasError(result);\n if (!writeWithErrors && ignoreErrors && result.data) {\n writeWithErrors = true;\n }\n return writeWithErrors;\n}\n//# sourceMappingURL=QueryInfo.js.map","import { __assign, __awaiter, __generator } from \"tslib\";\nimport { invariant, InvariantError } from \"../utilities/globals/index.js\";\nimport { equal } from '@wry/equality';\nimport { execute } from \"../link/core/index.js\";\nimport { isExecutionPatchIncrementalResult } from \"../utilities/common/incrementalResult.js\";\nimport { canonicalStringify } from \"../cache/index.js\";\nimport { getDefaultValues, getOperationDefinition, getOperationName, hasClientExports, graphQLResultHasError, removeConnectionDirectiveFromDocument, canUseWeakMap, Observable, asyncMap, isNonEmptyArray, Concast, makeUniqueId, isDocumentNode, isNonNullObject, cloneDeep, } from \"../utilities/index.js\";\nimport { ApolloError, isApolloError } from \"../errors/index.js\";\nimport { ObservableQuery, logMissingFieldErrors } from \"./ObservableQuery.js\";\nimport { NetworkStatus, isNetworkRequestInFlight } from \"./networkStatus.js\";\nimport { LocalState } from \"./LocalState.js\";\nimport { QueryInfo, shouldWriteResult, } from \"./QueryInfo.js\";\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar QueryManager = (function () {\n function QueryManager(_a) {\n var cache = _a.cache, link = _a.link, defaultOptions = _a.defaultOptions, _b = _a.queryDeduplication, queryDeduplication = _b === void 0 ? false : _b, onBroadcast = _a.onBroadcast, _c = _a.ssrMode, ssrMode = _c === void 0 ? false : _c, _d = _a.clientAwareness, clientAwareness = _d === void 0 ? {} : _d, localState = _a.localState, assumeImmutableResults = _a.assumeImmutableResults;\n this.clientAwareness = {};\n this.queries = new Map();\n this.fetchCancelFns = new Map();\n this.transformCache = new (canUseWeakMap ? WeakMap : Map)();\n this.queryIdCounter = 1;\n this.requestIdCounter = 1;\n this.mutationIdCounter = 1;\n this.inFlightLinkObservables = new Map();\n this.cache = cache;\n this.link = link;\n this.defaultOptions = defaultOptions || Object.create(null);\n this.queryDeduplication = queryDeduplication;\n this.clientAwareness = clientAwareness;\n this.localState = localState || new LocalState({ cache: cache });\n this.ssrMode = ssrMode;\n this.assumeImmutableResults = !!assumeImmutableResults;\n if ((this.onBroadcast = onBroadcast)) {\n this.mutationStore = Object.create(null);\n }\n }\n QueryManager.prototype.stop = function () {\n var _this = this;\n this.queries.forEach(function (_info, queryId) {\n _this.stopQueryNoBroadcast(queryId);\n });\n this.cancelPendingFetches(__DEV__ ? new InvariantError('QueryManager stopped while query was in flight') : new InvariantError(13));\n };\n QueryManager.prototype.cancelPendingFetches = function (error) {\n this.fetchCancelFns.forEach(function (cancel) { return cancel(error); });\n this.fetchCancelFns.clear();\n };\n QueryManager.prototype.mutate = function (_a) {\n var _b, _c;\n var mutation = _a.mutation, variables = _a.variables, optimisticResponse = _a.optimisticResponse, updateQueries = _a.updateQueries, _d = _a.refetchQueries, refetchQueries = _d === void 0 ? [] : _d, _e = _a.awaitRefetchQueries, awaitRefetchQueries = _e === void 0 ? false : _e, updateWithProxyFn = _a.update, onQueryUpdated = _a.onQueryUpdated, _f = _a.fetchPolicy, fetchPolicy = _f === void 0 ? ((_b = this.defaultOptions.mutate) === null || _b === void 0 ? void 0 : _b.fetchPolicy) || \"network-only\" : _f, _g = _a.errorPolicy, errorPolicy = _g === void 0 ? ((_c = this.defaultOptions.mutate) === null || _c === void 0 ? void 0 : _c.errorPolicy) || \"none\" : _g, keepRootFields = _a.keepRootFields, context = _a.context;\n return __awaiter(this, void 0, void 0, function () {\n var mutationId, _h, document, hasClientExports, mutationStoreValue, self;\n return __generator(this, function (_j) {\n switch (_j.label) {\n case 0:\n __DEV__ ? invariant(mutation, 'mutation option is required. You must specify your GraphQL document in the mutation option.') : invariant(mutation, 14);\n __DEV__ ? invariant(fetchPolicy === 'network-only' ||\n fetchPolicy === 'no-cache', \"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write.\") : invariant(fetchPolicy === 'network-only' ||\n fetchPolicy === 'no-cache', 15);\n mutationId = this.generateMutationId();\n _h = this.transform(mutation), document = _h.document, hasClientExports = _h.hasClientExports;\n mutation = this.cache.transformForLink(document);\n variables = this.getVariables(mutation, variables);\n if (!hasClientExports) return [3, 2];\n return [4, this.localState.addExportedVariables(mutation, variables, context)];\n case 1:\n variables = (_j.sent());\n _j.label = 2;\n case 2:\n mutationStoreValue = this.mutationStore &&\n (this.mutationStore[mutationId] = {\n mutation: mutation,\n variables: variables,\n loading: true,\n error: null,\n });\n if (optimisticResponse) {\n this.markMutationOptimistic(optimisticResponse, {\n mutationId: mutationId,\n document: mutation,\n variables: variables,\n fetchPolicy: fetchPolicy,\n errorPolicy: errorPolicy,\n context: context,\n updateQueries: updateQueries,\n update: updateWithProxyFn,\n keepRootFields: keepRootFields,\n });\n }\n this.broadcastQueries();\n self = this;\n return [2, new Promise(function (resolve, reject) {\n return asyncMap(self.getObservableFromLink(mutation, __assign(__assign({}, context), { optimisticResponse: optimisticResponse }), variables, false), function (result) {\n if (graphQLResultHasError(result) && errorPolicy === 'none') {\n throw new ApolloError({\n graphQLErrors: result.errors,\n });\n }\n if (mutationStoreValue) {\n mutationStoreValue.loading = false;\n mutationStoreValue.error = null;\n }\n var storeResult = __assign({}, result);\n if (typeof refetchQueries === \"function\") {\n refetchQueries = refetchQueries(storeResult);\n }\n if (errorPolicy === 'ignore' &&\n graphQLResultHasError(storeResult)) {\n delete storeResult.errors;\n }\n return self.markMutationResult({\n mutationId: mutationId,\n result: storeResult,\n document: mutation,\n variables: variables,\n fetchPolicy: fetchPolicy,\n errorPolicy: errorPolicy,\n context: context,\n update: updateWithProxyFn,\n updateQueries: updateQueries,\n awaitRefetchQueries: awaitRefetchQueries,\n refetchQueries: refetchQueries,\n removeOptimistic: optimisticResponse ? mutationId : void 0,\n onQueryUpdated: onQueryUpdated,\n keepRootFields: keepRootFields,\n });\n }).subscribe({\n next: function (storeResult) {\n self.broadcastQueries();\n resolve(storeResult);\n },\n error: function (err) {\n if (mutationStoreValue) {\n mutationStoreValue.loading = false;\n mutationStoreValue.error = err;\n }\n if (optimisticResponse) {\n self.cache.removeOptimistic(mutationId);\n }\n self.broadcastQueries();\n reject(err instanceof ApolloError ? err : new ApolloError({\n networkError: err,\n }));\n },\n });\n })];\n }\n });\n });\n };\n QueryManager.prototype.markMutationResult = function (mutation, cache) {\n var _this = this;\n if (cache === void 0) { cache = this.cache; }\n var result = mutation.result;\n var cacheWrites = [];\n var skipCache = mutation.fetchPolicy === \"no-cache\";\n if (!skipCache && shouldWriteResult(result, mutation.errorPolicy)) {\n cacheWrites.push({\n result: result.data,\n dataId: 'ROOT_MUTATION',\n query: mutation.document,\n variables: mutation.variables,\n });\n var updateQueries_1 = mutation.updateQueries;\n if (updateQueries_1) {\n this.queries.forEach(function (_a, queryId) {\n var observableQuery = _a.observableQuery;\n var queryName = observableQuery && observableQuery.queryName;\n if (!queryName || !hasOwnProperty.call(updateQueries_1, queryName)) {\n return;\n }\n var updater = updateQueries_1[queryName];\n var _b = _this.queries.get(queryId), document = _b.document, variables = _b.variables;\n var _c = cache.diff({\n query: document,\n variables: variables,\n returnPartialData: true,\n optimistic: false,\n }), currentQueryResult = _c.result, complete = _c.complete;\n if (complete && currentQueryResult) {\n var nextQueryResult = updater(currentQueryResult, {\n mutationResult: result,\n queryName: document && getOperationName(document) || void 0,\n queryVariables: variables,\n });\n if (nextQueryResult) {\n cacheWrites.push({\n result: nextQueryResult,\n dataId: 'ROOT_QUERY',\n query: document,\n variables: variables,\n });\n }\n }\n });\n }\n }\n if (cacheWrites.length > 0 ||\n mutation.refetchQueries ||\n mutation.update ||\n mutation.onQueryUpdated ||\n mutation.removeOptimistic) {\n var results_1 = [];\n this.refetchQueries({\n updateCache: function (cache) {\n if (!skipCache) {\n cacheWrites.forEach(function (write) { return cache.write(write); });\n }\n var update = mutation.update;\n if (update) {\n if (!skipCache) {\n var diff = cache.diff({\n id: \"ROOT_MUTATION\",\n query: _this.transform(mutation.document).asQuery,\n variables: mutation.variables,\n optimistic: false,\n returnPartialData: true,\n });\n if (diff.complete && !(isExecutionPatchIncrementalResult(result))) {\n result = __assign(__assign({}, result), { data: diff.result });\n }\n }\n update(cache, result, {\n context: mutation.context,\n variables: mutation.variables,\n });\n }\n if (!skipCache && !mutation.keepRootFields) {\n cache.modify({\n id: 'ROOT_MUTATION',\n fields: function (value, _a) {\n var fieldName = _a.fieldName, DELETE = _a.DELETE;\n return fieldName === \"__typename\" ? value : DELETE;\n },\n });\n }\n },\n include: mutation.refetchQueries,\n optimistic: false,\n removeOptimistic: mutation.removeOptimistic,\n onQueryUpdated: mutation.onQueryUpdated || null,\n }).forEach(function (result) { return results_1.push(result); });\n if (mutation.awaitRefetchQueries || mutation.onQueryUpdated) {\n return Promise.all(results_1).then(function () { return result; });\n }\n }\n return Promise.resolve(result);\n };\n QueryManager.prototype.markMutationOptimistic = function (optimisticResponse, mutation) {\n var _this = this;\n var data = typeof optimisticResponse === \"function\"\n ? optimisticResponse(mutation.variables)\n : optimisticResponse;\n return this.cache.recordOptimisticTransaction(function (cache) {\n try {\n _this.markMutationResult(__assign(__assign({}, mutation), { result: { data: data } }), cache);\n }\n catch (error) {\n __DEV__ && invariant.error(error);\n }\n }, mutation.mutationId);\n };\n QueryManager.prototype.fetchQuery = function (queryId, options, networkStatus) {\n return this.fetchQueryObservable(queryId, options, networkStatus).promise;\n };\n QueryManager.prototype.getQueryStore = function () {\n var store = Object.create(null);\n this.queries.forEach(function (info, queryId) {\n store[queryId] = {\n variables: info.variables,\n networkStatus: info.networkStatus,\n networkError: info.networkError,\n graphQLErrors: info.graphQLErrors,\n };\n });\n return store;\n };\n QueryManager.prototype.resetErrors = function (queryId) {\n var queryInfo = this.queries.get(queryId);\n if (queryInfo) {\n queryInfo.networkError = undefined;\n queryInfo.graphQLErrors = [];\n }\n };\n QueryManager.prototype.transform = function (document) {\n var transformCache = this.transformCache;\n if (!transformCache.has(document)) {\n var transformed = this.cache.transformDocument(document);\n var noConnection = removeConnectionDirectiveFromDocument(transformed);\n var clientQuery = this.localState.clientQuery(transformed);\n var serverQuery = noConnection && this.localState.serverQuery(noConnection);\n var cacheEntry_1 = {\n document: transformed,\n hasClientExports: hasClientExports(transformed),\n hasForcedResolvers: this.localState.shouldForceResolvers(transformed),\n clientQuery: clientQuery,\n serverQuery: serverQuery,\n defaultVars: getDefaultValues(getOperationDefinition(transformed)),\n asQuery: __assign(__assign({}, transformed), { definitions: transformed.definitions.map(function (def) {\n if (def.kind === \"OperationDefinition\" &&\n def.operation !== \"query\") {\n return __assign(__assign({}, def), { operation: \"query\" });\n }\n return def;\n }) })\n };\n var add = function (doc) {\n if (doc && !transformCache.has(doc)) {\n transformCache.set(doc, cacheEntry_1);\n }\n };\n add(document);\n add(transformed);\n add(clientQuery);\n add(serverQuery);\n }\n return transformCache.get(document);\n };\n QueryManager.prototype.getVariables = function (document, variables) {\n return __assign(__assign({}, this.transform(document).defaultVars), variables);\n };\n QueryManager.prototype.watchQuery = function (options) {\n options = __assign(__assign({}, options), { variables: this.getVariables(options.query, options.variables) });\n if (typeof options.notifyOnNetworkStatusChange === 'undefined') {\n options.notifyOnNetworkStatusChange = false;\n }\n var queryInfo = new QueryInfo(this);\n var observable = new ObservableQuery({\n queryManager: this,\n queryInfo: queryInfo,\n options: options,\n });\n this.queries.set(observable.queryId, queryInfo);\n queryInfo.init({\n document: observable.query,\n observableQuery: observable,\n variables: observable.variables,\n });\n return observable;\n };\n QueryManager.prototype.query = function (options, queryId) {\n var _this = this;\n if (queryId === void 0) { queryId = this.generateQueryId(); }\n __DEV__ ? invariant(options.query, 'query option is required. You must specify your GraphQL document ' +\n 'in the query option.') : invariant(options.query, 16);\n __DEV__ ? invariant(options.query.kind === 'Document', 'You must wrap the query string in a \"gql\" tag.') : invariant(options.query.kind === 'Document', 17);\n __DEV__ ? invariant(!options.returnPartialData, 'returnPartialData option only supported on watchQuery.') : invariant(!options.returnPartialData, 18);\n __DEV__ ? invariant(!options.pollInterval, 'pollInterval option only supported on watchQuery.') : invariant(!options.pollInterval, 19);\n return this.fetchQuery(queryId, options).finally(function () { return _this.stopQuery(queryId); });\n };\n QueryManager.prototype.generateQueryId = function () {\n return String(this.queryIdCounter++);\n };\n QueryManager.prototype.generateRequestId = function () {\n return this.requestIdCounter++;\n };\n QueryManager.prototype.generateMutationId = function () {\n return String(this.mutationIdCounter++);\n };\n QueryManager.prototype.stopQueryInStore = function (queryId) {\n this.stopQueryInStoreNoBroadcast(queryId);\n this.broadcastQueries();\n };\n QueryManager.prototype.stopQueryInStoreNoBroadcast = function (queryId) {\n var queryInfo = this.queries.get(queryId);\n if (queryInfo)\n queryInfo.stop();\n };\n QueryManager.prototype.clearStore = function (options) {\n if (options === void 0) { options = {\n discardWatches: true,\n }; }\n this.cancelPendingFetches(__DEV__ ? new InvariantError('Store reset while query was in flight (not completed in link chain)') : new InvariantError(20));\n this.queries.forEach(function (queryInfo) {\n if (queryInfo.observableQuery) {\n queryInfo.networkStatus = NetworkStatus.loading;\n }\n else {\n queryInfo.stop();\n }\n });\n if (this.mutationStore) {\n this.mutationStore = Object.create(null);\n }\n return this.cache.reset(options);\n };\n QueryManager.prototype.getObservableQueries = function (include) {\n var _this = this;\n if (include === void 0) { include = \"active\"; }\n var queries = new Map();\n var queryNamesAndDocs = new Map();\n var legacyQueryOptions = new Set();\n if (Array.isArray(include)) {\n include.forEach(function (desc) {\n if (typeof desc === \"string\") {\n queryNamesAndDocs.set(desc, false);\n }\n else if (isDocumentNode(desc)) {\n queryNamesAndDocs.set(_this.transform(desc).document, false);\n }\n else if (isNonNullObject(desc) && desc.query) {\n legacyQueryOptions.add(desc);\n }\n });\n }\n this.queries.forEach(function (_a, queryId) {\n var oq = _a.observableQuery, document = _a.document;\n if (oq) {\n if (include === \"all\") {\n queries.set(queryId, oq);\n return;\n }\n var queryName = oq.queryName, fetchPolicy = oq.options.fetchPolicy;\n if (fetchPolicy === \"standby\" ||\n (include === \"active\" && !oq.hasObservers())) {\n return;\n }\n if (include === \"active\" ||\n (queryName && queryNamesAndDocs.has(queryName)) ||\n (document && queryNamesAndDocs.has(document))) {\n queries.set(queryId, oq);\n if (queryName)\n queryNamesAndDocs.set(queryName, true);\n if (document)\n queryNamesAndDocs.set(document, true);\n }\n }\n });\n if (legacyQueryOptions.size) {\n legacyQueryOptions.forEach(function (options) {\n var queryId = makeUniqueId(\"legacyOneTimeQuery\");\n var queryInfo = _this.getQuery(queryId).init({\n document: options.query,\n variables: options.variables,\n });\n var oq = new ObservableQuery({\n queryManager: _this,\n queryInfo: queryInfo,\n options: __assign(__assign({}, options), { fetchPolicy: \"network-only\" }),\n });\n invariant(oq.queryId === queryId);\n queryInfo.setObservableQuery(oq);\n queries.set(queryId, oq);\n });\n }\n if (__DEV__ && queryNamesAndDocs.size) {\n queryNamesAndDocs.forEach(function (included, nameOrDoc) {\n if (!included) {\n __DEV__ && invariant.warn(\"Unknown query \".concat(typeof nameOrDoc === \"string\" ? \"named \" : \"\").concat(JSON.stringify(nameOrDoc, null, 2), \" requested in refetchQueries options.include array\"));\n }\n });\n }\n return queries;\n };\n QueryManager.prototype.reFetchObservableQueries = function (includeStandby) {\n var _this = this;\n if (includeStandby === void 0) { includeStandby = false; }\n var observableQueryPromises = [];\n this.getObservableQueries(includeStandby ? \"all\" : \"active\").forEach(function (observableQuery, queryId) {\n var fetchPolicy = observableQuery.options.fetchPolicy;\n observableQuery.resetLastResults();\n if (includeStandby ||\n (fetchPolicy !== \"standby\" &&\n fetchPolicy !== \"cache-only\")) {\n observableQueryPromises.push(observableQuery.refetch());\n }\n _this.getQuery(queryId).setDiff(null);\n });\n this.broadcastQueries();\n return Promise.all(observableQueryPromises);\n };\n QueryManager.prototype.setObservableQuery = function (observableQuery) {\n this.getQuery(observableQuery.queryId).setObservableQuery(observableQuery);\n };\n QueryManager.prototype.startGraphQLSubscription = function (_a) {\n var _this = this;\n var query = _a.query, fetchPolicy = _a.fetchPolicy, errorPolicy = _a.errorPolicy, variables = _a.variables, _b = _a.context, context = _b === void 0 ? {} : _b;\n query = this.transform(query).document;\n variables = this.getVariables(query, variables);\n var makeObservable = function (variables) {\n return _this.getObservableFromLink(query, context, variables).map(function (result) {\n if (fetchPolicy !== 'no-cache') {\n if (shouldWriteResult(result, errorPolicy)) {\n _this.cache.write({\n query: query,\n result: result.data,\n dataId: 'ROOT_SUBSCRIPTION',\n variables: variables,\n });\n }\n _this.broadcastQueries();\n }\n if (graphQLResultHasError(result)) {\n throw new ApolloError({\n graphQLErrors: result.errors,\n });\n }\n return result;\n });\n };\n if (this.transform(query).hasClientExports) {\n var observablePromise_1 = this.localState.addExportedVariables(query, variables, context).then(makeObservable);\n return new Observable(function (observer) {\n var sub = null;\n observablePromise_1.then(function (observable) { return sub = observable.subscribe(observer); }, observer.error);\n return function () { return sub && sub.unsubscribe(); };\n });\n }\n return makeObservable(variables);\n };\n QueryManager.prototype.stopQuery = function (queryId) {\n this.stopQueryNoBroadcast(queryId);\n this.broadcastQueries();\n };\n QueryManager.prototype.stopQueryNoBroadcast = function (queryId) {\n this.stopQueryInStoreNoBroadcast(queryId);\n this.removeQuery(queryId);\n };\n QueryManager.prototype.removeQuery = function (queryId) {\n this.fetchCancelFns.delete(queryId);\n if (this.queries.has(queryId)) {\n this.getQuery(queryId).stop();\n this.queries.delete(queryId);\n }\n };\n QueryManager.prototype.broadcastQueries = function () {\n if (this.onBroadcast)\n this.onBroadcast();\n this.queries.forEach(function (info) { return info.notify(); });\n };\n QueryManager.prototype.getLocalState = function () {\n return this.localState;\n };\n QueryManager.prototype.getObservableFromLink = function (query, context, variables, deduplication) {\n var _this = this;\n var _a;\n if (deduplication === void 0) { deduplication = (_a = context === null || context === void 0 ? void 0 : context.queryDeduplication) !== null && _a !== void 0 ? _a : this.queryDeduplication; }\n var observable;\n var serverQuery = this.transform(query).serverQuery;\n if (serverQuery) {\n var _b = this, inFlightLinkObservables_1 = _b.inFlightLinkObservables, link = _b.link;\n var operation = {\n query: serverQuery,\n variables: variables,\n operationName: getOperationName(serverQuery) || void 0,\n context: this.prepareContext(__assign(__assign({}, context), { forceFetch: !deduplication })),\n };\n context = operation.context;\n if (deduplication) {\n var byVariables_1 = inFlightLinkObservables_1.get(serverQuery) || new Map();\n inFlightLinkObservables_1.set(serverQuery, byVariables_1);\n var varJson_1 = canonicalStringify(variables);\n observable = byVariables_1.get(varJson_1);\n if (!observable) {\n var concast = new Concast([\n execute(link, operation)\n ]);\n byVariables_1.set(varJson_1, observable = concast);\n concast.beforeNext(function () {\n if (byVariables_1.delete(varJson_1) &&\n byVariables_1.size < 1) {\n inFlightLinkObservables_1.delete(serverQuery);\n }\n });\n }\n }\n else {\n observable = new Concast([\n execute(link, operation)\n ]);\n }\n }\n else {\n observable = new Concast([\n Observable.of({ data: {} })\n ]);\n context = this.prepareContext(context);\n }\n var clientQuery = this.transform(query).clientQuery;\n if (clientQuery) {\n observable = asyncMap(observable, function (result) {\n return _this.localState.runResolvers({\n document: clientQuery,\n remoteResult: result,\n context: context,\n variables: variables,\n });\n });\n }\n return observable;\n };\n QueryManager.prototype.getResultsFromLink = function (queryInfo, cacheWriteBehavior, options) {\n var requestId = queryInfo.lastRequestId = this.generateRequestId();\n options = cloneDeep(options);\n var linkDocument = this.cache.transformForLink(this.transform(queryInfo.document).document);\n return asyncMap(this.getObservableFromLink(linkDocument, options.context, options.variables), function (result) {\n var graphQLErrors = isNonEmptyArray(result.errors)\n ? result.errors.slice(0)\n : [];\n if ('incremental' in result && isNonEmptyArray(result.incremental)) {\n result.incremental.forEach(function (incrementalResult) {\n if (incrementalResult.errors) {\n graphQLErrors.push.apply(graphQLErrors, incrementalResult.errors);\n }\n });\n }\n var hasErrors = isNonEmptyArray(graphQLErrors);\n if (requestId >= queryInfo.lastRequestId) {\n if (hasErrors && options.errorPolicy === \"none\") {\n throw queryInfo.markError(new ApolloError({\n graphQLErrors: graphQLErrors,\n }));\n }\n queryInfo.markResult(result, linkDocument, options, cacheWriteBehavior);\n queryInfo.markReady();\n }\n var aqr = {\n data: result.data,\n loading: false,\n networkStatus: NetworkStatus.ready,\n };\n if (hasErrors && options.errorPolicy !== \"ignore\") {\n aqr.errors = graphQLErrors;\n aqr.networkStatus = NetworkStatus.error;\n }\n return aqr;\n }, function (networkError) {\n var error = isApolloError(networkError)\n ? networkError\n : new ApolloError({ networkError: networkError });\n if (requestId >= queryInfo.lastRequestId) {\n queryInfo.markError(error);\n }\n throw error;\n });\n };\n QueryManager.prototype.fetchQueryObservable = function (queryId, options, networkStatus) {\n var _this = this;\n if (networkStatus === void 0) { networkStatus = NetworkStatus.loading; }\n var query = this.transform(options.query).document;\n var variables = this.getVariables(query, options.variables);\n var queryInfo = this.getQuery(queryId);\n var defaults = this.defaultOptions.watchQuery;\n var _a = options.fetchPolicy, fetchPolicy = _a === void 0 ? defaults && defaults.fetchPolicy || \"cache-first\" : _a, _b = options.errorPolicy, errorPolicy = _b === void 0 ? defaults && defaults.errorPolicy || \"none\" : _b, _c = options.returnPartialData, returnPartialData = _c === void 0 ? false : _c, _d = options.notifyOnNetworkStatusChange, notifyOnNetworkStatusChange = _d === void 0 ? false : _d, _e = options.context, context = _e === void 0 ? {} : _e;\n var normalized = Object.assign({}, options, {\n query: query,\n variables: variables,\n fetchPolicy: fetchPolicy,\n errorPolicy: errorPolicy,\n returnPartialData: returnPartialData,\n notifyOnNetworkStatusChange: notifyOnNetworkStatusChange,\n context: context,\n });\n var fromVariables = function (variables) {\n normalized.variables = variables;\n var concastSources = _this.fetchQueryByPolicy(queryInfo, normalized, networkStatus);\n if (normalized.fetchPolicy !== \"standby\" &&\n concastSources.length > 0 &&\n queryInfo.observableQuery) {\n queryInfo.observableQuery[\"applyNextFetchPolicy\"](\"after-fetch\", options);\n }\n return concastSources;\n };\n var cleanupCancelFn = function () { return _this.fetchCancelFns.delete(queryId); };\n this.fetchCancelFns.set(queryId, function (reason) {\n cleanupCancelFn();\n setTimeout(function () { return concast.cancel(reason); });\n });\n var concast = new Concast(this.transform(normalized.query).hasClientExports\n ? this.localState.addExportedVariables(normalized.query, normalized.variables, normalized.context).then(fromVariables)\n : fromVariables(normalized.variables));\n concast.promise.then(cleanupCancelFn, cleanupCancelFn);\n return concast;\n };\n QueryManager.prototype.refetchQueries = function (_a) {\n var _this = this;\n var updateCache = _a.updateCache, include = _a.include, _b = _a.optimistic, optimistic = _b === void 0 ? false : _b, _c = _a.removeOptimistic, removeOptimistic = _c === void 0 ? optimistic ? makeUniqueId(\"refetchQueries\") : void 0 : _c, onQueryUpdated = _a.onQueryUpdated;\n var includedQueriesById = new Map();\n if (include) {\n this.getObservableQueries(include).forEach(function (oq, queryId) {\n includedQueriesById.set(queryId, {\n oq: oq,\n lastDiff: _this.getQuery(queryId).getDiff(),\n });\n });\n }\n var results = new Map;\n if (updateCache) {\n this.cache.batch({\n update: updateCache,\n optimistic: optimistic && removeOptimistic || false,\n removeOptimistic: removeOptimistic,\n onWatchUpdated: function (watch, diff, lastDiff) {\n var oq = watch.watcher instanceof QueryInfo &&\n watch.watcher.observableQuery;\n if (oq) {\n if (onQueryUpdated) {\n includedQueriesById.delete(oq.queryId);\n var result = onQueryUpdated(oq, diff, lastDiff);\n if (result === true) {\n result = oq.refetch();\n }\n if (result !== false) {\n results.set(oq, result);\n }\n return result;\n }\n if (onQueryUpdated !== null) {\n includedQueriesById.set(oq.queryId, { oq: oq, lastDiff: lastDiff, diff: diff });\n }\n }\n },\n });\n }\n if (includedQueriesById.size) {\n includedQueriesById.forEach(function (_a, queryId) {\n var oq = _a.oq, lastDiff = _a.lastDiff, diff = _a.diff;\n var result;\n if (onQueryUpdated) {\n if (!diff) {\n var info = oq[\"queryInfo\"];\n info.reset();\n diff = info.getDiff();\n }\n result = onQueryUpdated(oq, diff, lastDiff);\n }\n if (!onQueryUpdated || result === true) {\n result = oq.refetch();\n }\n if (result !== false) {\n results.set(oq, result);\n }\n if (queryId.indexOf(\"legacyOneTimeQuery\") >= 0) {\n _this.stopQueryNoBroadcast(queryId);\n }\n });\n }\n if (removeOptimistic) {\n this.cache.removeOptimistic(removeOptimistic);\n }\n return results;\n };\n QueryManager.prototype.fetchQueryByPolicy = function (queryInfo, _a, networkStatus) {\n var _this = this;\n var query = _a.query, variables = _a.variables, fetchPolicy = _a.fetchPolicy, refetchWritePolicy = _a.refetchWritePolicy, errorPolicy = _a.errorPolicy, returnPartialData = _a.returnPartialData, context = _a.context, notifyOnNetworkStatusChange = _a.notifyOnNetworkStatusChange;\n var oldNetworkStatus = queryInfo.networkStatus;\n queryInfo.init({\n document: this.transform(query).document,\n variables: variables,\n networkStatus: networkStatus,\n });\n var readCache = function () { return queryInfo.getDiff(variables); };\n var resultsFromCache = function (diff, networkStatus) {\n if (networkStatus === void 0) { networkStatus = queryInfo.networkStatus || NetworkStatus.loading; }\n var data = diff.result;\n if (__DEV__ &&\n !returnPartialData &&\n !equal(data, {})) {\n logMissingFieldErrors(diff.missing);\n }\n var fromData = function (data) { return Observable.of(__assign({ data: data, loading: isNetworkRequestInFlight(networkStatus), networkStatus: networkStatus }, (diff.complete ? null : { partial: true }))); };\n if (data && _this.transform(query).hasForcedResolvers) {\n return _this.localState.runResolvers({\n document: query,\n remoteResult: { data: data },\n context: context,\n variables: variables,\n onlyRunForcedResolvers: true,\n }).then(function (resolved) { return fromData(resolved.data || void 0); });\n }\n return fromData(data);\n };\n var cacheWriteBehavior = fetchPolicy === \"no-cache\" ? 0 :\n (networkStatus === NetworkStatus.refetch &&\n refetchWritePolicy !== \"merge\") ? 1\n : 2;\n var resultsFromLink = function () { return _this.getResultsFromLink(queryInfo, cacheWriteBehavior, {\n variables: variables,\n context: context,\n fetchPolicy: fetchPolicy,\n errorPolicy: errorPolicy,\n }); };\n var shouldNotify = notifyOnNetworkStatusChange &&\n typeof oldNetworkStatus === \"number\" &&\n oldNetworkStatus !== networkStatus &&\n isNetworkRequestInFlight(networkStatus);\n switch (fetchPolicy) {\n default:\n case \"cache-first\": {\n var diff = readCache();\n if (diff.complete) {\n return [\n resultsFromCache(diff, queryInfo.markReady()),\n ];\n }\n if (returnPartialData || shouldNotify) {\n return [\n resultsFromCache(diff),\n resultsFromLink(),\n ];\n }\n return [\n resultsFromLink(),\n ];\n }\n case \"cache-and-network\": {\n var diff = readCache();\n if (diff.complete || returnPartialData || shouldNotify) {\n return [\n resultsFromCache(diff),\n resultsFromLink(),\n ];\n }\n return [\n resultsFromLink(),\n ];\n }\n case \"cache-only\":\n return [\n resultsFromCache(readCache(), queryInfo.markReady()),\n ];\n case \"network-only\":\n if (shouldNotify) {\n return [\n resultsFromCache(readCache()),\n resultsFromLink(),\n ];\n }\n return [resultsFromLink()];\n case \"no-cache\":\n if (shouldNotify) {\n return [\n resultsFromCache(queryInfo.getDiff()),\n resultsFromLink(),\n ];\n }\n return [resultsFromLink()];\n case \"standby\":\n return [];\n }\n };\n QueryManager.prototype.getQuery = function (queryId) {\n if (queryId && !this.queries.has(queryId)) {\n this.queries.set(queryId, new QueryInfo(this, queryId));\n }\n return this.queries.get(queryId);\n };\n QueryManager.prototype.prepareContext = function (context) {\n if (context === void 0) { context = {}; }\n var newContext = this.localState.prepareContext(context);\n return __assign(__assign({}, newContext), { clientAwareness: this.clientAwareness });\n };\n return QueryManager;\n}());\nexport { QueryManager };\n//# sourceMappingURL=QueryManager.js.map","import { __assign } from \"tslib\";\nimport { invariant, InvariantError } from \"../utilities/globals/index.js\";\nimport { ApolloLink, execute } from \"../link/core/index.js\";\nimport { version } from \"../version.js\";\nimport { HttpLink } from \"../link/http/index.js\";\nimport { QueryManager } from \"./QueryManager.js\";\nimport { LocalState, } from \"./LocalState.js\";\nvar hasSuggestedDevtools = false;\nimport { mergeOptions } from \"../utilities/index.js\";\nexport { mergeOptions };\nvar ApolloClient = (function () {\n function ApolloClient(options) {\n var _this = this;\n this.resetStoreCallbacks = [];\n this.clearStoreCallbacks = [];\n var uri = options.uri, credentials = options.credentials, headers = options.headers, cache = options.cache, _a = options.ssrMode, ssrMode = _a === void 0 ? false : _a, _b = options.ssrForceFetchDelay, ssrForceFetchDelay = _b === void 0 ? 0 : _b, _c = options.connectToDevTools, connectToDevTools = _c === void 0 ? typeof window === 'object' &&\n !window.__APOLLO_CLIENT__ &&\n __DEV__ : _c, _d = options.queryDeduplication, queryDeduplication = _d === void 0 ? true : _d, defaultOptions = options.defaultOptions, _e = options.assumeImmutableResults, assumeImmutableResults = _e === void 0 ? false : _e, resolvers = options.resolvers, typeDefs = options.typeDefs, fragmentMatcher = options.fragmentMatcher, clientAwarenessName = options.name, clientAwarenessVersion = options.version;\n var link = options.link;\n if (!link) {\n link = uri\n ? new HttpLink({ uri: uri, credentials: credentials, headers: headers })\n : ApolloLink.empty();\n }\n if (!cache) {\n throw __DEV__ ? new InvariantError(\"To initialize Apollo Client, you must specify a 'cache' property \" +\n \"in the options object. \\n\" +\n \"For more information, please visit: https://go.apollo.dev/c/docs\") : new InvariantError(9);\n }\n this.link = link;\n this.cache = cache;\n this.disableNetworkFetches = ssrMode || ssrForceFetchDelay > 0;\n this.queryDeduplication = queryDeduplication;\n this.defaultOptions = defaultOptions || Object.create(null);\n this.typeDefs = typeDefs;\n if (ssrForceFetchDelay) {\n setTimeout(function () { return (_this.disableNetworkFetches = false); }, ssrForceFetchDelay);\n }\n this.watchQuery = this.watchQuery.bind(this);\n this.query = this.query.bind(this);\n this.mutate = this.mutate.bind(this);\n this.resetStore = this.resetStore.bind(this);\n this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this);\n if (connectToDevTools && typeof window === 'object') {\n window.__APOLLO_CLIENT__ = this;\n }\n if (!hasSuggestedDevtools && __DEV__) {\n hasSuggestedDevtools = true;\n if (typeof window !== 'undefined' &&\n window.document &&\n window.top === window.self &&\n !window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__) {\n var nav = window.navigator;\n var ua = nav && nav.userAgent;\n var url = void 0;\n if (typeof ua === \"string\") {\n if (ua.indexOf(\"Chrome/\") > -1) {\n url = \"https://chrome.google.com/webstore/detail/\" +\n \"apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm\";\n }\n else if (ua.indexOf(\"Firefox/\") > -1) {\n url = \"https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/\";\n }\n }\n if (url) {\n __DEV__ && invariant.log(\"Download the Apollo DevTools for a better development \" +\n \"experience: \" + url);\n }\n }\n }\n this.version = version;\n this.localState = new LocalState({\n cache: cache,\n client: this,\n resolvers: resolvers,\n fragmentMatcher: fragmentMatcher,\n });\n this.queryManager = new QueryManager({\n cache: this.cache,\n link: this.link,\n defaultOptions: this.defaultOptions,\n queryDeduplication: queryDeduplication,\n ssrMode: ssrMode,\n clientAwareness: {\n name: clientAwarenessName,\n version: clientAwarenessVersion,\n },\n localState: this.localState,\n assumeImmutableResults: assumeImmutableResults,\n onBroadcast: connectToDevTools ? function () {\n if (_this.devToolsHookCb) {\n _this.devToolsHookCb({\n action: {},\n state: {\n queries: _this.queryManager.getQueryStore(),\n mutations: _this.queryManager.mutationStore || {},\n },\n dataWithOptimisticResults: _this.cache.extract(true),\n });\n }\n } : void 0,\n });\n }\n ApolloClient.prototype.stop = function () {\n this.queryManager.stop();\n };\n ApolloClient.prototype.watchQuery = function (options) {\n if (this.defaultOptions.watchQuery) {\n options = mergeOptions(this.defaultOptions.watchQuery, options);\n }\n if (this.disableNetworkFetches &&\n (options.fetchPolicy === 'network-only' ||\n options.fetchPolicy === 'cache-and-network')) {\n options = __assign(__assign({}, options), { fetchPolicy: 'cache-first' });\n }\n return this.queryManager.watchQuery(options);\n };\n ApolloClient.prototype.query = function (options) {\n if (this.defaultOptions.query) {\n options = mergeOptions(this.defaultOptions.query, options);\n }\n __DEV__ ? invariant(options.fetchPolicy !== 'cache-and-network', 'The cache-and-network fetchPolicy does not work with client.query, because ' +\n 'client.query can only return a single result. Please use client.watchQuery ' +\n 'to receive multiple results from the cache and the network, or consider ' +\n 'using a different fetchPolicy, such as cache-first or network-only.') : invariant(options.fetchPolicy !== 'cache-and-network', 10);\n if (this.disableNetworkFetches && options.fetchPolicy === 'network-only') {\n options = __assign(__assign({}, options), { fetchPolicy: 'cache-first' });\n }\n return this.queryManager.query(options);\n };\n ApolloClient.prototype.mutate = function (options) {\n if (this.defaultOptions.mutate) {\n options = mergeOptions(this.defaultOptions.mutate, options);\n }\n return this.queryManager.mutate(options);\n };\n ApolloClient.prototype.subscribe = function (options) {\n return this.queryManager.startGraphQLSubscription(options);\n };\n ApolloClient.prototype.readQuery = function (options, optimistic) {\n if (optimistic === void 0) { optimistic = false; }\n return this.cache.readQuery(options, optimistic);\n };\n ApolloClient.prototype.readFragment = function (options, optimistic) {\n if (optimistic === void 0) { optimistic = false; }\n return this.cache.readFragment(options, optimistic);\n };\n ApolloClient.prototype.writeQuery = function (options) {\n this.cache.writeQuery(options);\n this.queryManager.broadcastQueries();\n };\n ApolloClient.prototype.writeFragment = function (options) {\n this.cache.writeFragment(options);\n this.queryManager.broadcastQueries();\n };\n ApolloClient.prototype.__actionHookForDevTools = function (cb) {\n this.devToolsHookCb = cb;\n };\n ApolloClient.prototype.__requestRaw = function (payload) {\n return execute(this.link, payload);\n };\n ApolloClient.prototype.resetStore = function () {\n var _this = this;\n return Promise.resolve()\n .then(function () { return _this.queryManager.clearStore({\n discardWatches: false,\n }); })\n .then(function () { return Promise.all(_this.resetStoreCallbacks.map(function (fn) { return fn(); })); })\n .then(function () { return _this.reFetchObservableQueries(); });\n };\n ApolloClient.prototype.clearStore = function () {\n var _this = this;\n return Promise.resolve()\n .then(function () { return _this.queryManager.clearStore({\n discardWatches: true,\n }); })\n .then(function () { return Promise.all(_this.clearStoreCallbacks.map(function (fn) { return fn(); })); });\n };\n ApolloClient.prototype.onResetStore = function (cb) {\n var _this = this;\n this.resetStoreCallbacks.push(cb);\n return function () {\n _this.resetStoreCallbacks = _this.resetStoreCallbacks.filter(function (c) { return c !== cb; });\n };\n };\n ApolloClient.prototype.onClearStore = function (cb) {\n var _this = this;\n this.clearStoreCallbacks.push(cb);\n return function () {\n _this.clearStoreCallbacks = _this.clearStoreCallbacks.filter(function (c) { return c !== cb; });\n };\n };\n ApolloClient.prototype.reFetchObservableQueries = function (includeStandby) {\n return this.queryManager.reFetchObservableQueries(includeStandby);\n };\n ApolloClient.prototype.refetchQueries = function (options) {\n var map = this.queryManager.refetchQueries(options);\n var queries = [];\n var results = [];\n map.forEach(function (result, obsQuery) {\n queries.push(obsQuery);\n results.push(result);\n });\n var result = Promise.all(results);\n result.queries = queries;\n result.results = results;\n result.catch(function (error) {\n __DEV__ && invariant.debug(\"In client.refetchQueries, Promise.all promise rejected with error \".concat(error));\n });\n return result;\n };\n ApolloClient.prototype.getObservableQueries = function (include) {\n if (include === void 0) { include = \"active\"; }\n return this.queryManager.getObservableQueries(include);\n };\n ApolloClient.prototype.extract = function (optimistic) {\n return this.cache.extract(optimistic);\n };\n ApolloClient.prototype.restore = function (serializedState) {\n return this.cache.restore(serializedState);\n };\n ApolloClient.prototype.addResolvers = function (resolvers) {\n this.localState.addResolvers(resolvers);\n };\n ApolloClient.prototype.setResolvers = function (resolvers) {\n this.localState.setResolvers(resolvers);\n };\n ApolloClient.prototype.getResolvers = function () {\n return this.localState.getResolvers();\n };\n ApolloClient.prototype.setLocalStateFragmentMatcher = function (fragmentMatcher) {\n this.localState.setFragmentMatcher(fragmentMatcher);\n };\n ApolloClient.prototype.setLink = function (newLink) {\n this.link = this.queryManager.link = newLink;\n };\n return ApolloClient;\n}());\nexport { ApolloClient };\n//# sourceMappingURL=ApolloClient.js.map","import { __assign } from \"tslib\";\nimport { parse } from 'graphql';\nvar docCache = new Map();\nvar fragmentSourceMap = new Map();\nvar printFragmentWarnings = true;\nvar experimentalFragmentVariables = false;\nfunction normalize(string) {\n return string.replace(/[\\s,]+/g, ' ').trim();\n}\nfunction cacheKeyFromLoc(loc) {\n return normalize(loc.source.body.substring(loc.start, loc.end));\n}\nfunction processFragments(ast) {\n var seenKeys = new Set();\n var definitions = [];\n ast.definitions.forEach(function (fragmentDefinition) {\n if (fragmentDefinition.kind === 'FragmentDefinition') {\n var fragmentName = fragmentDefinition.name.value;\n var sourceKey = cacheKeyFromLoc(fragmentDefinition.loc);\n var sourceKeySet = fragmentSourceMap.get(fragmentName);\n if (sourceKeySet && !sourceKeySet.has(sourceKey)) {\n if (printFragmentWarnings) {\n console.warn(\"Warning: fragment with name \" + fragmentName + \" already exists.\\n\"\n + \"graphql-tag enforces all fragment names across your application to be unique; read more about\\n\"\n + \"this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names\");\n }\n }\n else if (!sourceKeySet) {\n fragmentSourceMap.set(fragmentName, sourceKeySet = new Set);\n }\n sourceKeySet.add(sourceKey);\n if (!seenKeys.has(sourceKey)) {\n seenKeys.add(sourceKey);\n definitions.push(fragmentDefinition);\n }\n }\n else {\n definitions.push(fragmentDefinition);\n }\n });\n return __assign(__assign({}, ast), { definitions: definitions });\n}\nfunction stripLoc(doc) {\n var workSet = new Set(doc.definitions);\n workSet.forEach(function (node) {\n if (node.loc)\n delete node.loc;\n Object.keys(node).forEach(function (key) {\n var value = node[key];\n if (value && typeof value === 'object') {\n workSet.add(value);\n }\n });\n });\n var loc = doc.loc;\n if (loc) {\n delete loc.startToken;\n delete loc.endToken;\n }\n return doc;\n}\nfunction parseDocument(source) {\n var cacheKey = normalize(source);\n if (!docCache.has(cacheKey)) {\n var parsed = parse(source, {\n experimentalFragmentVariables: experimentalFragmentVariables,\n allowLegacyFragmentVariables: experimentalFragmentVariables\n });\n if (!parsed || parsed.kind !== 'Document') {\n throw new Error('Not a valid GraphQL document.');\n }\n docCache.set(cacheKey, stripLoc(processFragments(parsed)));\n }\n return docCache.get(cacheKey);\n}\nexport function gql(literals) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n if (typeof literals === 'string') {\n literals = [literals];\n }\n var result = literals[0];\n args.forEach(function (arg, i) {\n if (arg && arg.kind === 'Document') {\n result += arg.loc.source.body;\n }\n else {\n result += arg;\n }\n result += literals[i + 1];\n });\n return parseDocument(result);\n}\nexport function resetCaches() {\n docCache.clear();\n fragmentSourceMap.clear();\n}\nexport function disableFragmentWarnings() {\n printFragmentWarnings = false;\n}\nexport function enableExperimentalFragmentVariables() {\n experimentalFragmentVariables = true;\n}\nexport function disableExperimentalFragmentVariables() {\n experimentalFragmentVariables = false;\n}\nvar extras = {\n gql: gql,\n resetCaches: resetCaches,\n disableFragmentWarnings: disableFragmentWarnings,\n enableExperimentalFragmentVariables: enableExperimentalFragmentVariables,\n disableExperimentalFragmentVariables: disableExperimentalFragmentVariables\n};\n(function (gql_1) {\n gql_1.gql = extras.gql, gql_1.resetCaches = extras.resetCaches, gql_1.disableFragmentWarnings = extras.disableFragmentWarnings, gql_1.enableExperimentalFragmentVariables = extras.enableExperimentalFragmentVariables, gql_1.disableExperimentalFragmentVariables = extras.disableExperimentalFragmentVariables;\n})(gql || (gql = {}));\ngql[\"default\"] = gql;\nexport default gql;\n//# sourceMappingURL=index.js.map","\nvar MACHINE_ID = Math.floor(Math.random() * 0xFFFFFF);\nvar index = ObjectID.index = parseInt(Math.random() * 0xFFFFFF, 10);\nvar pid = (typeof process === 'undefined' || typeof process.pid !== 'number' ? Math.floor(Math.random() * 100000) : process.pid) % 0xFFFF;\n\n/**\n * Determine if an object is Buffer\n *\n * Author: Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * License: MIT\n *\n */\nvar isBuffer = function (obj) {\n return !!(\n obj != null &&\n obj.constructor &&\n typeof obj.constructor.isBuffer === 'function' &&\n obj.constructor.isBuffer(obj)\n )\n};\n\n// Precomputed hex table enables speedy hex string conversion\nvar hexTable = [];\nfor (var i = 0; i < 256; i++) {\n hexTable[i] = (i <= 15 ? '0' : '') + i.toString(16);\n}\n\n// Regular expression that checks for hex value\nvar checkForHexRegExp = new RegExp('^[0-9a-fA-F]{24}$');\n\n// Lookup tables\nvar decodeLookup = [];\ni = 0;\nwhile (i < 10) decodeLookup[0x30 + i] = i++;\nwhile (i < 16) decodeLookup[0x41 - 10 + i] = decodeLookup[0x61 - 10 + i] = i++;\n\n/**\n * Create a new immutable ObjectID instance\n *\n * @class Represents the BSON ObjectID type\n * @param {String|Number} id Can be a 24 byte hex string, 12 byte binary string or a Number.\n * @return {Object} instance of ObjectID.\n */\nfunction ObjectID(id) {\n if(!(this instanceof ObjectID)) return new ObjectID(id);\n if(id && ((id instanceof ObjectID) || id._bsontype===\"ObjectID\"))\n return id;\n\n this._bsontype = 'ObjectID';\n\n // The most common usecase (blank id, new objectId instance)\n if (id == null || typeof id === 'number') {\n // Generate a new id\n this.id = this.generate(id);\n // Return the object\n return;\n }\n\n // Check if the passed in id is valid\n var valid = ObjectID.isValid(id);\n\n // Throw an error if it's not a valid setup\n if (!valid && id != null) {\n throw new Error(\n 'Argument passed in must be a single String of 12 bytes or a string of 24 hex characters'\n );\n } else if (valid && typeof id === 'string' && id.length === 24) {\n return ObjectID.createFromHexString(id);\n } else if (id != null && id.length === 12) {\n // assume 12 byte string\n this.id = id;\n } else if (id != null && typeof id.toHexString === 'function') {\n // Duck-typing to support ObjectId from different npm packages\n return id;\n } else {\n throw new Error(\n 'Argument passed in must be a single String of 12 bytes or a string of 24 hex characters'\n );\n }\n}\nmodule.exports = ObjectID;\nObjectID.default = ObjectID;\n\n/**\n * Creates an ObjectID from a second based number, with the rest of the ObjectID zeroed out. Used for comparisons or sorting the ObjectID.\n *\n * @param {Number} time an integer number representing a number of seconds.\n * @return {ObjectID} return the created ObjectID\n * @api public\n */\nObjectID.createFromTime = function(time){\n time = parseInt(time, 10) % 0xFFFFFFFF;\n return new ObjectID(hex(8,time)+\"0000000000000000\");\n};\n\n/**\n * Creates an ObjectID from a hex string representation of an ObjectID.\n *\n * @param {String} hexString create a ObjectID from a passed in 24 byte hexstring.\n * @return {ObjectID} return the created ObjectID\n * @api public\n */\nObjectID.createFromHexString = function(hexString) {\n // Throw an error if it's not a valid setup\n if (typeof hexString === 'undefined' || (hexString != null && hexString.length !== 24)) {\n throw new Error(\n 'Argument passed in must be a single String of 12 bytes or a string of 24 hex characters'\n );\n }\n\n // Calculate lengths\n var data = '';\n var i = 0;\n\n while (i < 24) {\n data += String.fromCharCode((decodeLookup[hexString.charCodeAt(i++)] << 4) | decodeLookup[hexString.charCodeAt(i++)]);\n }\n\n return new ObjectID(data);\n};\n\n/**\n * Checks if a value is a valid bson ObjectId\n *\n * @param {String} objectid Can be a 24 byte hex string or an instance of ObjectID.\n * @return {Boolean} return true if the value is a valid bson ObjectID, return false otherwise.\n * @api public\n *\n * THE NATIVE DOCUMENTATION ISN'T CLEAR ON THIS GUY!\n * http://mongodb.github.io/node-mongodb-native/api-bson-generated/objectid.html#objectid-isvalid\n */\nObjectID.isValid = function(id) {\n if (id == null) return false;\n\n if (typeof id === 'number') {\n return true;\n }\n\n if (typeof id === 'string') {\n return id.length === 12 || (id.length === 24 && checkForHexRegExp.test(id));\n }\n\n if (id instanceof ObjectID) {\n return true;\n }\n\n if (isBuffer(id)) {\n return true;\n }\n\n // Duck-Typing detection of ObjectId like objects\n if (\n typeof id.toHexString === 'function' &&\n (id.id instanceof _Buffer || typeof id.id === 'string')\n ) {\n return id.id.length === 12 || (id.id.length === 24 && checkForHexRegExp.test(id.id));\n }\n\n return false;\n};\n\nObjectID.prototype = {\n constructor: ObjectID,\n\n /**\n * Return the ObjectID id as a 24 byte hex string representation\n *\n * @return {String} return the 24 byte hex string representation.\n * @api public\n */\n toHexString: function() {\n if (!this.id || !this.id.length) {\n throw new Error(\n 'invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is [' +\n JSON.stringify(this.id) +\n ']'\n );\n }\n\n if (this.id.length === 24) {\n return this.id;\n }\n\n if (isBuffer(this.id)) {\n return this.id.toString('hex')\n }\n\n var hexString = '';\n for (var i = 0; i < this.id.length; i++) {\n hexString += hexTable[this.id.charCodeAt(i)];\n }\n\n return hexString;\n },\n\n /**\n * Compares the equality of this ObjectID with `otherID`.\n *\n * @param {Object} otherId ObjectID instance to compare against.\n * @return {Boolean} the result of comparing two ObjectID's\n * @api public\n */\n equals: function (otherId){\n if (otherId instanceof ObjectID) {\n return this.toString() === otherId.toString();\n } else if (\n typeof otherId === 'string' &&\n ObjectID.isValid(otherId) &&\n otherId.length === 12 &&\n isBuffer(this.id)\n ) {\n return otherId === this.id.toString('binary');\n } else if (typeof otherId === 'string' && ObjectID.isValid(otherId) && otherId.length === 24) {\n return otherId.toLowerCase() === this.toHexString();\n } else if (typeof otherId === 'string' && ObjectID.isValid(otherId) && otherId.length === 12) {\n return otherId === this.id;\n } else if (otherId != null && (otherId instanceof ObjectID || otherId.toHexString)) {\n return otherId.toHexString() === this.toHexString();\n } else {\n return false;\n }\n },\n\n /**\n * Returns the generation date (accurate up to the second) that this ID was generated.\n *\n * @return {Date} the generation date\n * @api public\n */\n getTimestamp: function(){\n var timestamp = new Date();\n var time;\n if (isBuffer(this.id)) {\n time = this.id[3] | (this.id[2] << 8) | (this.id[1] << 16) | (this.id[0] << 24);\n } else {\n time = this.id.charCodeAt(3) | (this.id.charCodeAt(2) << 8) | (this.id.charCodeAt(1) << 16) | (this.id.charCodeAt(0) << 24);\n }\n timestamp.setTime(Math.floor(time) * 1000);\n return timestamp;\n },\n\n /**\n * Generate a 12 byte id buffer used in ObjectID's\n *\n * @method\n * @param {number} [time] optional parameter allowing to pass in a second based timestamp.\n * @return {string} return the 12 byte id buffer string.\n */\n generate: function (time) {\n if ('number' !== typeof time) {\n time = ~~(Date.now() / 1000);\n }\n\n //keep it in the ring!\n time = parseInt(time, 10) % 0xFFFFFFFF;\n\n var inc = next();\n\n return String.fromCharCode(\n ((time >> 24) & 0xFF),\n ((time >> 16) & 0xFF),\n ((time >> 8) & 0xFF),\n (time & 0xFF),\n ((MACHINE_ID >> 16) & 0xFF),\n ((MACHINE_ID >> 8) & 0xFF),\n (MACHINE_ID & 0xFF),\n ((pid >> 8) & 0xFF),\n (pid & 0xFF),\n ((inc >> 16) & 0xFF),\n ((inc >> 8) & 0xFF),\n (inc & 0xFF)\n )\n },\n};\n\nfunction next() {\n return index = (index+1) % 0xFFFFFF;\n}\n\nfunction hex(length, n) {\n n = n.toString(16);\n return (n.length===length)? n : \"00000000\".substring(n.length, length) + n;\n}\n\nfunction buffer(str) {\n var i=0,out=[];\n\n if(str.length===24)\n for(;i<24; out.push(parseInt(str[i]+str[i+1], 16)),i+=2);\n\n else if(str.length===12)\n for(;i<12; out.push(str.charCodeAt(i)),i++);\n\n return out;\n}\n\nvar inspect = (Symbol && Symbol.for && Symbol.for('nodejs.util.inspect.custom')) || 'inspect';\n\n/**\n * Converts to a string representation of this Id.\n *\n * @return {String} return the 24 byte hex string representation.\n * @api private\n */\nObjectID.prototype[inspect] = function() { return \"ObjectID(\"+this+\")\" };\nObjectID.prototype.toJSON = ObjectID.prototype.toHexString;\nObjectID.prototype.toString = ObjectID.prototype.toHexString;\n","/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\nfunction debounce (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.js.map\n","// src/useQuery.ts\nimport {\n ref as ref3,\n unref,\n computed as computed3,\n watch as watch2,\n onServerPrefetch,\n getCurrentInstance as getCurrentInstance3,\n onBeforeUnmount as onBeforeUnmount2,\n nextTick\n} from \"vue-demi\";\nimport {throttle, debounce} from \"throttle-debounce\";\n\n// src/useApolloClient.ts\nimport {getCurrentInstance, inject} from \"vue-demi\";\nvar DefaultApolloClient = Symbol(\"default-apollo-client\");\nvar ApolloClients = Symbol(\"apollo-clients\");\nfunction resolveDefaultClient(providedApolloClients, providedApolloClient) {\n const resolvedClient = providedApolloClients ? providedApolloClients.default : providedApolloClient != null ? providedApolloClient : void 0;\n return resolvedClient;\n}\nfunction resolveClientWithId(providedApolloClients, clientId) {\n if (!providedApolloClients) {\n throw new Error(`No apolloClients injection found, tried to resolve '${clientId}' clientId`);\n }\n return providedApolloClients[clientId];\n}\nfunction useApolloClient(clientId) {\n let resolveImpl;\n const savedCurrentClients = currentApolloClients;\n if (!getCurrentInstance()) {\n resolveImpl = (id) => {\n if (id) {\n return resolveClientWithId(savedCurrentClients, id);\n }\n return resolveDefaultClient(savedCurrentClients, savedCurrentClients.default);\n };\n } else {\n const providedApolloClients = inject(ApolloClients, null);\n const providedApolloClient = inject(DefaultApolloClient, null);\n resolveImpl = (id) => {\n if (id) {\n const client2 = resolveClientWithId(providedApolloClients, id);\n if (client2) {\n return client2;\n }\n return resolveClientWithId(savedCurrentClients, id);\n }\n const client = resolveDefaultClient(providedApolloClients, providedApolloClient);\n if (client) {\n return client;\n }\n return resolveDefaultClient(savedCurrentClients, savedCurrentClients.default);\n };\n }\n function resolveClient(id = clientId) {\n const client = resolveImpl(id);\n if (!client) {\n throw new Error(`Apollo client with id ${id != null ? id : \"default\"} not found. Use provideApolloClient() if you are outside of a component setup.`);\n }\n return client;\n }\n return {\n resolveClient,\n get client() {\n return resolveClient();\n }\n };\n}\nvar currentApolloClients = {};\nfunction provideApolloClient(client) {\n currentApolloClients = {\n default: client\n };\n return function(fn) {\n const result = fn();\n currentApolloClients = {};\n return result;\n };\n}\nfunction provideApolloClients(clients) {\n currentApolloClients = clients;\n return function(fn) {\n const result = fn();\n currentApolloClients = {};\n return result;\n };\n}\n\n// src/util/paramToRef.ts\nimport {isRef, computed, ref} from \"vue-demi\";\nfunction paramToRef(param) {\n if (isRef(param)) {\n return param;\n } else if (typeof param === \"function\") {\n return computed(param);\n } else {\n return ref(param);\n }\n}\n\n// src/util/paramToReactive.ts\nimport {isRef as isRef2, reactive, computed as computed2} from \"vue-demi\";\nfunction paramToReactive(param) {\n if (isRef2(param)) {\n return param;\n } else if (typeof param === \"function\") {\n return computed2(param);\n } else if (param) {\n return reactive(param);\n } else {\n return param;\n }\n}\n\n// src/util/useEventHook.ts\nfunction useEventHook() {\n const fns = [];\n function on(fn) {\n fns.push(fn);\n return {\n off: () => off(fn)\n };\n }\n function off(fn) {\n const index = fns.indexOf(fn);\n if (index !== -1) {\n fns.splice(index, 1);\n }\n }\n function trigger(param) {\n for (const fn of fns) {\n fn(param);\n }\n }\n function getCount() {\n return fns.length;\n }\n return {\n on,\n off,\n trigger,\n getCount\n };\n}\n\n// src/util/loadingTracking.ts\nimport {watch, onUnmounted, ref as ref2, getCurrentInstance as getCurrentInstance2, onBeforeUnmount} from \"vue-demi\";\nfunction getAppTracking() {\n var _a, _b, _c;\n const vm = getCurrentInstance2();\n const root = (_c = (_a = vm == null ? void 0 : vm.$root) != null ? _a : vm == null ? void 0 : vm.root) != null ? _c : (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$root;\n if (!root) {\n throw new Error(\"Instance $root not found\");\n }\n let appTracking;\n if (!root._apolloAppTracking) {\n appTracking = root._apolloAppTracking = {\n queries: ref2(0),\n mutations: ref2(0),\n subscriptions: ref2(0),\n components: new Map()\n };\n } else {\n appTracking = root._apolloAppTracking;\n }\n return {\n appTracking\n };\n}\nfunction getCurrentTracking() {\n const vm = getCurrentInstance2();\n if (!vm) {\n throw new Error(\"getCurrentTracking must be used during a component setup\");\n }\n const {appTracking} = getAppTracking();\n let tracking;\n if (!appTracking.components.has(vm)) {\n appTracking.components.set(vm, tracking = {\n queries: ref2(0),\n mutations: ref2(0),\n subscriptions: ref2(0)\n });\n onUnmounted(() => {\n appTracking.components.delete(vm);\n });\n } else {\n tracking = appTracking.components.get(vm);\n }\n return {\n appTracking,\n tracking\n };\n}\nfunction track(loading, type) {\n const {appTracking, tracking} = getCurrentTracking();\n watch(loading, (value, oldValue) => {\n if (oldValue != null && value !== oldValue) {\n const mod = value ? 1 : -1;\n tracking[type].value += mod;\n appTracking[type].value += mod;\n }\n }, {\n immediate: true\n });\n onBeforeUnmount(() => {\n if (loading.value) {\n tracking[type].value--;\n appTracking[type].value--;\n }\n });\n}\nfunction trackQuery(loading) {\n track(loading, \"queries\");\n}\nfunction trackMutation(loading) {\n track(loading, \"mutations\");\n}\nfunction trackSubscription(loading) {\n track(loading, \"subscriptions\");\n}\n\n// src/util/toApolloError.ts\nimport {ApolloError, isApolloError} from \"@apollo/client/core\";\nfunction toApolloError(error) {\n if (!(error instanceof Error)) {\n return new ApolloError({\n networkError: Object.assign(new Error(), {originalError: error}),\n errorMessage: String(error)\n });\n }\n if (isApolloError(error)) {\n return error;\n }\n return new ApolloError({networkError: error, errorMessage: error.message});\n}\nfunction resultErrorsToApolloError(errors) {\n return new ApolloError({\n graphQLErrors: errors,\n errorMessage: `GraphQL response contains errors: ${errors.map((e) => e.message).join(\" | \")}`\n });\n}\n\n// src/util/env.ts\nvar isServer = typeof window === \"undefined\";\n\n// src/useQuery.ts\nfunction useQuery(document, variables, options) {\n return useQueryImpl(document, variables, options);\n}\nfunction useQueryImpl(document, variables, options = {}, lazy = false) {\n var _a;\n const vm = getCurrentInstance3();\n const currentOptions = ref3();\n const documentRef = paramToRef(document);\n const variablesRef = paramToRef(variables);\n const optionsRef = paramToReactive(options);\n const result = ref3();\n const resultEvent = useEventHook();\n const error = ref3(null);\n const errorEvent = useEventHook();\n const loading = ref3(false);\n vm && trackQuery(loading);\n const networkStatus = ref3();\n let firstResolve;\n let firstReject;\n vm && ((_a = onServerPrefetch) == null ? void 0 : _a(() => {\n var _a2;\n if (!isEnabled.value || isServer && ((_a2 = currentOptions.value) == null ? void 0 : _a2.prefetch) === false)\n return;\n return new Promise((resolve, reject) => {\n firstResolve = () => {\n resolve();\n firstResolve = void 0;\n firstReject = void 0;\n };\n firstReject = (apolloError) => {\n reject(apolloError);\n firstResolve = void 0;\n firstReject = void 0;\n };\n }).then(stop).catch(stop);\n }));\n const {resolveClient} = useApolloClient();\n const query = ref3();\n let observer;\n let started = false;\n function start() {\n var _a2, _b, _c;\n if (started || !isEnabled.value || isServer && ((_a2 = currentOptions.value) == null ? void 0 : _a2.prefetch) === false) {\n if (firstResolve)\n firstResolve();\n return;\n }\n started = true;\n error.value = null;\n loading.value = true;\n const client = resolveClient((_b = currentOptions.value) == null ? void 0 : _b.clientId);\n query.value = client.watchQuery({\n query: currentDocument,\n variables: currentVariables,\n ...currentOptions.value,\n ...isServer && ((_c = currentOptions.value) == null ? void 0 : _c.fetchPolicy) !== \"no-cache\" ? {\n fetchPolicy: \"network-only\"\n } : {}\n });\n startQuerySubscription();\n if (!isServer) {\n for (const item of subscribeToMoreItems) {\n addSubscribeToMore(item);\n }\n }\n }\n function startQuerySubscription() {\n if (observer && !observer.closed)\n return;\n if (!query.value)\n return;\n observer = query.value.subscribe({\n next: onNextResult,\n error: onError\n });\n }\n function onNextResult(queryResult) {\n var _a2;\n error.value = null;\n processNextResult(queryResult);\n if (!queryResult.error && ((_a2 = queryResult.errors) == null ? void 0 : _a2.length)) {\n processError(resultErrorsToApolloError(queryResult.errors));\n }\n if (firstResolve) {\n firstResolve();\n stop();\n }\n }\n function processNextResult(queryResult) {\n result.value = queryResult.data && Object.keys(queryResult.data).length === 0 ? void 0 : queryResult.data;\n loading.value = queryResult.loading;\n networkStatus.value = queryResult.networkStatus;\n resultEvent.trigger(queryResult);\n }\n function onError(queryError) {\n var _a2, _b, _c, _d;\n const apolloError = toApolloError(queryError);\n const client = resolveClient((_a2 = currentOptions.value) == null ? void 0 : _a2.clientId);\n const errorPolicy = ((_b = currentOptions.value) == null ? void 0 : _b.errorPolicy) || ((_d = (_c = client.defaultOptions) == null ? void 0 : _c.watchQuery) == null ? void 0 : _d.errorPolicy);\n if (errorPolicy && errorPolicy !== \"none\") {\n processNextResult(query.value.getCurrentResult());\n }\n processError(apolloError);\n if (firstReject) {\n firstReject(apolloError);\n stop();\n }\n resubscribeToQuery();\n }\n function processError(apolloError) {\n error.value = apolloError;\n loading.value = false;\n networkStatus.value = 8;\n errorEvent.trigger(apolloError);\n }\n function resubscribeToQuery() {\n if (!query.value)\n return;\n const lastError = query.value.getLastError();\n const lastResult = query.value.getLastResult();\n query.value.resetLastResults();\n startQuerySubscription();\n Object.assign(query.value, {lastError, lastResult});\n }\n let onStopHandlers = [];\n function stop() {\n if (firstResolve)\n firstResolve();\n if (!started)\n return;\n started = false;\n loading.value = false;\n onStopHandlers.forEach((handler) => handler());\n onStopHandlers = [];\n if (query.value) {\n query.value.stopPolling();\n query.value = null;\n }\n if (observer) {\n observer.unsubscribe();\n observer = void 0;\n }\n }\n let restarting = false;\n function baseRestart() {\n if (!started || restarting)\n return;\n restarting = true;\n nextTick(() => {\n if (started) {\n stop();\n start();\n }\n restarting = false;\n });\n }\n let debouncedRestart;\n let isRestartDebounceSetup = false;\n function updateRestartFn() {\n var _a2, _b;\n if (!currentOptions.value) {\n debouncedRestart = baseRestart;\n } else {\n if ((_a2 = currentOptions.value) == null ? void 0 : _a2.throttle) {\n debouncedRestart = throttle(currentOptions.value.throttle, baseRestart);\n } else if ((_b = currentOptions.value) == null ? void 0 : _b.debounce) {\n debouncedRestart = debounce(currentOptions.value.debounce, baseRestart);\n } else {\n debouncedRestart = baseRestart;\n }\n isRestartDebounceSetup = true;\n }\n }\n function restart() {\n if (!isRestartDebounceSetup)\n updateRestartFn();\n debouncedRestart();\n }\n let currentDocument;\n watch2(documentRef, (value) => {\n currentDocument = value;\n restart();\n }, {\n immediate: true\n });\n let currentVariables;\n let currentVariablesSerialized;\n watch2(variablesRef, (value, oldValue) => {\n const serialized = JSON.stringify(value);\n if (serialized !== currentVariablesSerialized) {\n currentVariables = value;\n restart();\n }\n currentVariablesSerialized = serialized;\n }, {\n deep: true,\n immediate: true\n });\n watch2(() => unref(optionsRef), (value) => {\n if (currentOptions.value && (currentOptions.value.throttle !== value.throttle || currentOptions.value.debounce !== value.debounce)) {\n updateRestartFn();\n }\n currentOptions.value = value;\n restart();\n }, {\n deep: true,\n immediate: true\n });\n function refetch(variables2 = void 0) {\n if (query.value) {\n if (variables2) {\n currentVariables = variables2;\n }\n error.value = null;\n loading.value = true;\n return query.value.refetch(variables2).then((refetchResult) => {\n var _a2;\n const currentResult = (_a2 = query.value) == null ? void 0 : _a2.getCurrentResult();\n currentResult && processNextResult(currentResult);\n return refetchResult;\n });\n }\n }\n function fetchMore(options2) {\n if (query.value) {\n error.value = null;\n loading.value = true;\n return query.value.fetchMore(options2).then((fetchMoreResult) => {\n var _a2;\n const currentResult = (_a2 = query.value) == null ? void 0 : _a2.getCurrentResult();\n currentResult && processNextResult(currentResult);\n return fetchMoreResult;\n });\n }\n }\n const subscribeToMoreItems = [];\n function subscribeToMore(options2) {\n if (isServer)\n return;\n const optionsRef2 = paramToRef(options2);\n watch2(optionsRef2, (value, oldValue, onCleanup) => {\n const index = subscribeToMoreItems.findIndex((item2) => item2.options === oldValue);\n if (index !== -1) {\n subscribeToMoreItems.splice(index, 1);\n }\n const item = {\n options: value,\n unsubscribeFns: []\n };\n subscribeToMoreItems.push(item);\n addSubscribeToMore(item);\n onCleanup(() => {\n item.unsubscribeFns.forEach((fn) => fn());\n item.unsubscribeFns = [];\n });\n }, {\n immediate: true\n });\n }\n function addSubscribeToMore(item) {\n if (!started)\n return;\n if (!query.value) {\n throw new Error(\"Query is not defined\");\n }\n const unsubscribe = query.value.subscribeToMore(item.options);\n onStopHandlers.push(unsubscribe);\n item.unsubscribeFns.push(unsubscribe);\n }\n const forceDisabled = ref3(lazy);\n const enabledOption = computed3(() => !currentOptions.value || currentOptions.value.enabled == null || currentOptions.value.enabled);\n const isEnabled = computed3(() => enabledOption.value && !forceDisabled.value);\n watch2(isEnabled, (value) => {\n if (value) {\n start();\n } else {\n stop();\n }\n }, {\n immediate: true\n });\n vm && onBeforeUnmount2(() => {\n stop();\n subscribeToMoreItems.length = 0;\n });\n return {\n result,\n loading,\n networkStatus,\n error,\n start,\n stop,\n restart,\n forceDisabled,\n document: documentRef,\n variables: variablesRef,\n options: optionsRef,\n query,\n refetch,\n fetchMore,\n subscribeToMore,\n onResult: resultEvent.on,\n onError: errorEvent.on\n };\n}\n\n// src/useLazyQuery.ts\nimport {isRef as isRef3} from \"vue-demi\";\nfunction useLazyQuery(document, variables, options) {\n const query = useQueryImpl(document, variables, options, true);\n function load(document2, variables2, options2) {\n if (document2) {\n query.document.value = document2;\n }\n if (variables2) {\n query.variables.value = variables2;\n }\n if (options2) {\n Object.assign(isRef3(query.options) ? query.options.value : query.options, options2);\n }\n query.forceDisabled.value = false;\n }\n return {\n ...query,\n load\n };\n}\n\n// src/useMutation.ts\nimport {ref as ref4, onBeforeUnmount as onBeforeUnmount3, isRef as isRef4, getCurrentInstance as getCurrentInstance4} from \"vue-demi\";\nfunction useMutation(document, options = {}) {\n const vm = getCurrentInstance4();\n const loading = ref4(false);\n vm && trackMutation(loading);\n const error = ref4(null);\n const called = ref4(false);\n const doneEvent = useEventHook();\n const errorEvent = useEventHook();\n const {resolveClient} = useApolloClient();\n async function mutate(variables, overrideOptions = {}) {\n let currentDocument;\n if (typeof document === \"function\") {\n currentDocument = document();\n } else if (isRef4(document)) {\n currentDocument = document.value;\n } else {\n currentDocument = document;\n }\n let currentOptions;\n if (typeof options === \"function\") {\n currentOptions = options();\n } else if (isRef4(options)) {\n currentOptions = options.value;\n } else {\n currentOptions = options;\n }\n const client = resolveClient(currentOptions.clientId);\n error.value = null;\n loading.value = true;\n called.value = true;\n try {\n const result = await client.mutate({\n mutation: currentDocument,\n ...currentOptions,\n ...overrideOptions,\n variables: (variables != null ? variables : currentOptions.variables) ? {\n ...currentOptions.variables,\n ...variables\n } : void 0\n });\n loading.value = false;\n doneEvent.trigger(result);\n return result;\n } catch (e) {\n const apolloError = toApolloError(e);\n error.value = apolloError;\n loading.value = false;\n errorEvent.trigger(apolloError);\n if (currentOptions.throws === \"always\" || currentOptions.throws !== \"never\" && !errorEvent.getCount()) {\n throw apolloError;\n }\n }\n return null;\n }\n vm && onBeforeUnmount3(() => {\n loading.value = false;\n });\n return {\n mutate,\n loading,\n error,\n called,\n onDone: doneEvent.on,\n onError: errorEvent.on\n };\n}\n\n// src/useSubscription.ts\nimport {\n ref as ref5,\n watch as watch3,\n isRef as isRef5,\n computed as computed4,\n getCurrentInstance as getCurrentInstance5,\n onBeforeUnmount as onBeforeUnmount4,\n nextTick as nextTick2\n} from \"vue-demi\";\nimport {throttle as throttle2, debounce as debounce2} from \"throttle-debounce\";\nfunction useSubscription(document, variables = void 0, options = {}) {\n const vm = getCurrentInstance5();\n const documentRef = paramToRef(document);\n const variablesRef = paramToRef(variables);\n const optionsRef = paramToReactive(options);\n const result = ref5();\n const resultEvent = useEventHook();\n const error = ref5(null);\n const errorEvent = useEventHook();\n const loading = ref5(false);\n vm && trackSubscription(loading);\n const {resolveClient} = useApolloClient();\n const subscription = ref5(null);\n let observer = null;\n let started = false;\n function start() {\n var _a;\n if (started || !isEnabled.value || isServer)\n return;\n started = true;\n loading.value = true;\n const client = resolveClient((_a = currentOptions.value) == null ? void 0 : _a.clientId);\n subscription.value = client.subscribe({\n query: currentDocument,\n variables: currentVariables,\n ...currentOptions.value\n });\n observer = subscription.value.subscribe({\n next: onNextResult,\n error: onError\n });\n }\n function onNextResult(fetchResult) {\n result.value = fetchResult.data;\n loading.value = false;\n resultEvent.trigger(fetchResult);\n }\n function onError(fetchError) {\n const apolloError = toApolloError(fetchError);\n error.value = apolloError;\n loading.value = false;\n errorEvent.trigger(apolloError);\n }\n function stop() {\n if (!started)\n return;\n started = false;\n loading.value = false;\n if (subscription.value) {\n subscription.value = null;\n }\n if (observer) {\n observer.unsubscribe();\n observer = null;\n }\n }\n let restarting = false;\n function baseRestart() {\n if (!started || restarting)\n return;\n restarting = true;\n nextTick2(() => {\n if (started) {\n stop();\n start();\n }\n restarting = false;\n });\n }\n let debouncedRestart;\n function updateRestartFn() {\n var _a, _b;\n if ((_a = currentOptions.value) == null ? void 0 : _a.throttle) {\n debouncedRestart = throttle2(currentOptions.value.throttle, baseRestart);\n } else if ((_b = currentOptions.value) == null ? void 0 : _b.debounce) {\n debouncedRestart = debounce2(currentOptions.value.debounce, baseRestart);\n } else {\n debouncedRestart = baseRestart;\n }\n }\n function restart() {\n if (!debouncedRestart)\n updateRestartFn();\n debouncedRestart();\n }\n const currentOptions = ref5();\n watch3(() => isRef5(optionsRef) ? optionsRef.value : optionsRef, (value) => {\n if (currentOptions.value && (currentOptions.value.throttle !== value.throttle || currentOptions.value.debounce !== value.debounce)) {\n updateRestartFn();\n }\n currentOptions.value = value;\n restart();\n }, {\n deep: true,\n immediate: true\n });\n let currentDocument;\n watch3(documentRef, (value) => {\n currentDocument = value;\n restart();\n }, {\n immediate: true\n });\n let currentVariables;\n let currentVariablesSerialized;\n watch3(variablesRef, (value, oldValue) => {\n const serialized = JSON.stringify(value);\n if (serialized !== currentVariablesSerialized) {\n currentVariables = value;\n restart();\n }\n currentVariablesSerialized = serialized;\n }, {\n deep: true,\n immediate: true\n });\n const enabledOption = computed4(() => !currentOptions.value || currentOptions.value.enabled == null || currentOptions.value.enabled);\n const isEnabled = enabledOption;\n watch3(isEnabled, (value) => {\n if (value) {\n start();\n } else {\n stop();\n }\n }, {\n immediate: true\n });\n vm && onBeforeUnmount4(stop);\n return {\n result,\n loading,\n error,\n start,\n stop,\n restart,\n document: documentRef,\n variables: variablesRef,\n options: optionsRef,\n subscription,\n onResult: resultEvent.on,\n onError: errorEvent.on\n };\n}\n\n// src/useResult.ts\nimport {computed as computed5} from \"vue-demi\";\nfunction useResult(result, defaultValue, pick) {\n console.warn(`'useResult' is deprecated and will be removed soon. Plase use a computed instead.\nBefore:\nconst items = useResult(result, [], data => data.someField.myItems)\nAfter:\nconst items = computed(() => result.value?.someField.myItems ?? [])`);\n return computed5(() => {\n const value = result.value;\n if (value) {\n if (pick) {\n try {\n return pick(value);\n } catch (e) {\n }\n } else {\n const keys = Object.keys(value);\n if (keys.length === 1) {\n return value[keys[0]];\n } else {\n return value;\n }\n }\n }\n return defaultValue;\n });\n}\n\n// src/useLoading.ts\nimport {computed as computed6} from \"vue-demi\";\nfunction useQueryLoading() {\n const {tracking} = getCurrentTracking();\n return computed6(() => tracking.queries.value > 0);\n}\nfunction useMutationLoading() {\n const {tracking} = getCurrentTracking();\n return computed6(() => tracking.mutations.value > 0);\n}\nfunction useSubscriptionLoading() {\n const {tracking} = getCurrentTracking();\n return computed6(() => tracking.subscriptions.value > 0);\n}\nfunction useGlobalQueryLoading() {\n const {appTracking} = getAppTracking();\n return computed6(() => appTracking.queries.value > 0);\n}\nfunction useGlobalMutationLoading() {\n const {appTracking} = getAppTracking();\n return computed6(() => appTracking.mutations.value > 0);\n}\nfunction useGlobalSubscriptionLoading() {\n const {appTracking} = getAppTracking();\n return computed6(() => appTracking.subscriptions.value > 0);\n}\nexport {\n ApolloClients,\n DefaultApolloClient,\n provideApolloClient,\n provideApolloClients,\n useApolloClient,\n useGlobalMutationLoading,\n useGlobalQueryLoading,\n useGlobalSubscriptionLoading,\n useLazyQuery,\n useMutation,\n useMutationLoading,\n useQuery,\n useQueryLoading,\n useResult,\n useSubscription,\n useSubscriptionLoading\n};\n//# sourceMappingURL=index.esm.js.map\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.logErrorMessages = exports.getErrorMessages = void 0;\nconst printer_1 = require(\"graphql/language/printer\");\nfunction getErrorMessages(error) {\n const messages = [];\n const { graphQLErrors, networkError } = error;\n const operation = 'operation' in error ? error.operation : undefined;\n const stack = 'stack' in error ? error.stack : undefined;\n let printedQuery;\n if (operation) {\n printedQuery = (0, printer_1.print)(operation.query);\n }\n if (graphQLErrors) {\n graphQLErrors.forEach(({ message, locations }) => {\n messages.push(`[GraphQL error] ${message}`);\n if (operation) {\n messages.push(logOperation(printedQuery, locations));\n if (Object.keys(operation.variables).length) {\n messages.push(`with variables: ${JSON.stringify(operation.variables, null, 2)}`);\n }\n }\n });\n }\n if (networkError)\n messages.push(`[Network error] ${networkError}`);\n if (stack)\n messages.push(stack);\n return messages;\n}\nexports.getErrorMessages = getErrorMessages;\nfunction logErrorMessages(error, printStack = true) {\n getErrorMessages(error).forEach(message => {\n const result = /\\[([\\w ]*)](.*)/.exec(message);\n if (result) {\n const [, tag, msg] = result;\n console.log(`%c${tag}`, 'color:white;border-radius:3px;background:#ff4400;font-weight:bold;padding:2px 6px;', msg);\n }\n else {\n console.log(message);\n }\n });\n if (printStack) {\n let stack = new Error().stack;\n if (stack == null)\n return;\n const newLineIndex = stack.indexOf('\\n');\n stack = stack.slice(stack.indexOf('\\n', newLineIndex + 1));\n console.log(`%c${stack}`, 'color:grey;');\n }\n}\nexports.logErrorMessages = logErrorMessages;\nfunction logOperation(printedQuery, locations) {\n const lines = printedQuery.split('\\n');\n const l = lines.length;\n const result = lines.slice();\n const lineMap = {};\n for (let i = 0; i < l; i++) {\n lineMap[i] = i;\n }\n if (locations) {\n for (const { line, column } of locations) {\n const index = lineMap[line];\n result.splice(index, 0, '▲'.padStart(column, ' '));\n // Offset remaining lines\n for (let i = index + 1; i < l; i++) {\n lineMap[i]++;\n }\n }\n }\n return result.join('\\n');\n}\n//# sourceMappingURL=errorLog.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./errorLog\"), exports);\n//# sourceMappingURL=index.js.map","import type { FieldPolicy } from '@apollo/client/core'\nimport { ObjectID } from '.'\n\nexport const dateTypePolicy: FieldPolicy = {\n merge: (_, incoming) => {\n if (incoming === undefined || incoming === null)\n return incoming\n else if (incoming instanceof Date)\n return incoming\n else\n return new Date(incoming as string)\n },\n}\n\nexport const objectIdTypePolicy: FieldPolicy = {\n merge: (_, incoming) => {\n if (incoming === undefined || incoming === null)\n return incoming\n else if (incoming instanceof ObjectID)\n return incoming\n else\n return new ObjectID(incoming as string)\n },\n}\n","import { dateTypePolicy, objectIdTypePolicy } from \"../typePolicies\";\n\nexport default {\n Author: { fields: { id: objectIdTypePolicy } },\n AuthorTagObject: { fields: { id: objectIdTypePolicy } },\n BaseNotificationObject: { fields: { id: objectIdTypePolicy, time: dateTypePolicy } },\n Comment: { fields: { id: objectIdTypePolicy, parent: objectIdTypePolicy } },\n Meta: { fields: { createdAt: dateTypePolicy, modifiedAt: dateTypePolicy } },\n Mutation: { fields: { serverDate: dateTypePolicy } },\n PVSubscription: { fields: { id: objectIdTypePolicy } },\n Playlist: { fields: { id: objectIdTypePolicy } },\n PlaylistContentForVideo: { fields: { id: objectIdTypePolicy } },\n PostCommentResponse: { fields: { commentId: objectIdTypePolicy } },\n RawTagHistoryItem: { fields: { time: dateTypePolicy } },\n RegularTagObject: { fields: { id: objectIdTypePolicy } },\n ReplyNotificationObject: {\n fields: { cid: objectIdTypePolicy, id: objectIdTypePolicy, repliedObj: objectIdTypePolicy, time: dateTypePolicy },\n },\n Subscription: { fields: { serverDate: dateTypePolicy } },\n SystemNotificationObject: { fields: { id: objectIdTypePolicy, time: dateTypePolicy } },\n Thread: { fields: { id: objectIdTypePolicy } },\n User: { fields: { id: objectIdTypePolicy } },\n Video: { fields: { id: objectIdTypePolicy } },\n VideoItem: { fields: { uploadTime: dateTypePolicy } },\n};\n","\n export interface PossibleTypesResultData {\n possibleTypes: {\n [key: string]: string[]\n }\n }\n const result: PossibleTypesResultData = {\n \"possibleTypes\": {\n \"NotificationObject\": [\n \"BaseNotificationObject\",\n \"ReplyNotificationObject\",\n \"SystemNotificationObject\"\n ],\n \"TagObject\": [\n \"AuthorTagObject\",\n \"RegularTagObject\"\n ]\n }\n};\n export default result;\n ","import { inject, provide } from 'vue'\nimport type { FieldFunctionOptions, NormalizedCacheObject } from '@apollo/client/core'\nimport { ApolloClient, HttpLink, InMemoryCache, disableFragmentWarnings, from } from '@apollo/client/core'\nimport type { SafeReadonly } from '@apollo/client/cache/core/types/common'\nimport { mergeDeep, offsetLimitPagination } from '@apollo/client/utilities'\nimport RawObjectID from 'bson-objectid'\nimport { DefaultApolloClient, useQuery as vUseQuery } from '@vue/apollo-composable'\nimport { logErrorMessages } from '@vue/apollo-util'\n\nimport scalarTypePolicies from './__generated__/typePolicies'\nimport generatedIntrospection from './__generated__/graphql.fragment'\n\nimport type * as schema from './__generated__/graphql'\nexport type { schema }\nexport { TagCategoryEnum } from './__generated__/graphql'\nexport type Query = schema.Query\nexport type Mutation = schema.Mutation\nexport type Subscription = schema.Subscription\n\nexport { gql } from '@apollo/client/core'\n\n// eslint-disable-next-line import/export\nexport * from '@vue/apollo-composable'\n\ndisableFragmentWarnings()\n\nexport class ObjectID extends RawObjectID {\n toJSON() {\n return this.toHexString()\n }\n}\n\nexport function createApollo(): ApolloClient<NormalizedCacheObject> {\n const link = from([\n // Backend Server\n new HttpLink({\n uri: 'https://patchyvideo.com/be/gql/graphql',\n credentials: 'include',\n }),\n ])\n const childOffsetLimitPara = (tagName: string) => ({\n read(existing: SafeReadonly<any> | undefined, { args }: FieldFunctionOptions): any {\n if (!args)\n throw new Error('childOffsetLimitPara: args is undefined')\n return (\n existing && {\n ...existing,\n [tagName]: existing[tagName].slice(args.para.offset, args.para.offset + args.para.limit),\n }\n )\n },\n merge(\n existing: SafeReadonly<any> | undefined,\n incoming: SafeReadonly<any>,\n { args, mergeObjects }: FieldFunctionOptions,\n ): any {\n return {\n ...mergeObjects(existing, incoming),\n [tagName]: (() => {\n const merged = existing ? existing[tagName].slice(0) : []\n if (args) {\n // Assume an offset of 0 if args.offset omitted.\n const { offset = 0 } = args.para\n for (let i = 0; i < incoming[tagName].length; ++i)\n merged[offset + i] = incoming[tagName][i]\n }\n return merged\n })(),\n }\n },\n })\n // const selfOffsetLimitPara = () => ({\n // read(existing: SafeReadonly<any> | undefined, { args }: FieldFunctionOptions): any {\n // if (!args)\n // throw new Error('selfOffsetLimitPara: args is undefined')\n // return existing && existing.slice(args.para.offset, args.para.offset + args.para.limit)\n // },\n // merge(existing: SafeReadonly<any> | undefined, incoming: SafeReadonly<any>, { args }: FieldFunctionOptions): any {\n // const merged = existing ? existing.slice(0) : []\n // if (args) {\n // // Assume an offset of 0 if args.offset omitted.\n // const { offset = 0 } = args.para\n // for (let i = 0; i < incoming.length; ++i)\n // merged[offset + i] = incoming[i]\n // }\n // return merged\n // },\n // })\n const cache = new InMemoryCache({\n possibleTypes: generatedIntrospection.possibleTypes,\n typePolicies: mergeDeep(scalarTypePolicies, {\n Query: {\n fields: {\n listPlaylist: {\n ...childOffsetLimitPara('playlists'),\n keyArgs: ['para', ['query', 'order', 'additionalConstraint']],\n },\n listVideo: {\n ...childOffsetLimitPara('videos'),\n keyArgs: [\n 'para',\n ['query', 'qtype', 'order', 'additionalConstraint', 'hidePlaceholder', 'lang', 'humanReadableTag'],\n ],\n },\n listTagObjects: {\n ...childOffsetLimitPara('tags'),\n keyArgs: ['para', ['query', 'queryRegex', 'category', 'order']],\n },\n listNotifications: {\n ...childOffsetLimitPara('notes'),\n keyArgs: ['para', ['listAll', 'noteType']],\n },\n listSubscriptionVideos: {\n ...childOffsetLimitPara('videos'),\n keyArgs: ['para', ['query', 'queryRegex', 'category', 'order']],\n },\n },\n },\n Playlist: {\n fields: {\n videos: {\n ...offsetLimitPagination(),\n },\n },\n },\n }),\n })\n const client = new ApolloClient({\n link,\n cache,\n })\n return client\n}\n\nexport function provideClient(client: ApolloClient<NormalizedCacheObject>): void {\n provide(DefaultApolloClient, client)\n}\n\nexport function injectClient(): ApolloClient<NormalizedCacheObject> {\n const client = inject<ApolloClient<NormalizedCacheObject>>(DefaultApolloClient)\n return client || createApollo()\n}\n\n// eslint-disable-next-line import/export\nexport const useQuery = function useQuery(this: never, ...args: never) {\n const query = vUseQuery.apply(this, args)\n\n // force refetch new queries\n query.result.value = undefined\n query.loading.value = true\n query.restart()\n\n // log all errors\n query.onError((error) => {\n logErrorMessages(error)\n })\n\n return query\n} as typeof vUseQuery\n","import { inject, provide } from 'vue'\n\ndeclare global {\n interface Window {\n sharedObjectKey: symbol\n sharedObject?: unknown\n }\n}\n\ninterface OpenWindowOptions {\n url: string\n width?: number\n height?: number\n sharedObject?: unknown\n}\n\nwindow.sharedObjectKey = window.opener?.sharedObjectKey ?? Symbol('sharedObject')\n\nexport function openWindow(options: OpenWindowOptions): {\n window: Window\n} {\n const width = options.width ?? 800\n const height = options.height ?? 600\n const win = window.open(\n options.url,\n '_blank',\n `toolbar=no,location=no,status=no,menubar=no,width=${width},height=${height},left=${\n (window.screen.width - width) / 2\n },top=${(window.screen.height - height) / 2}`,\n )\n if (!win)\n throw new Error('no-window')\n\n if (options.sharedObject)\n win.sharedObject = options.sharedObject\n\n return {\n window: win,\n }\n}\n\nexport function provideSharedObject(): void {\n if (window.sharedObject)\n provide(window.sharedObjectKey, window.sharedObject!)\n}\n\nexport function useSharedObject<type>(): type | undefined {\n return inject<type>(window.sharedObjectKey)\n}\n","export default (glob, path) => {\n const v = glob[path];\n if (v) {\n return typeof v === 'function' ? v() : Promise.resolve(v);\n }\n return new Promise((_, reject) => {\n (typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(reject.bind(null, new Error('Unknown variable dynamic import: ' + path)));\n });\n}","/**\n * http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist\n * @param locales\n */\nexport function CanonicalizeLocaleList(locales) {\n // TODO\n return Intl.getCanonicalLocales(locales);\n}\n","export var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err) {\n if (Err === void 0) { Err = Error; }\n if (!condition) {\n throw new Err(message);\n }\n}\n","/**\n * https://tc39.es/ecma402/#sec-bestavailablelocale\n * @param availableLocales\n * @param locale\n */\nexport function BestAvailableLocale(availableLocales, locale) {\n var candidate = locale;\n while (true) {\n if (availableLocales.has(candidate)) {\n return candidate;\n }\n var pos = candidate.lastIndexOf('-');\n if (!~pos) {\n return undefined;\n }\n if (pos >= 2 && candidate[pos - 2] === '-') {\n pos -= 2;\n }\n candidate = candidate.slice(0, pos);\n }\n}\n","import { UNICODE_EXTENSION_SEQUENCE_REGEX } from './utils';\nimport { BestAvailableLocale } from './BestAvailableLocale';\n/**\n * https://tc39.es/ecma402/#sec-lookupmatcher\n * @param availableLocales\n * @param requestedLocales\n * @param getDefaultLocale\n */\nexport function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {\n var result = { locale: '' };\n for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {\n var locale = requestedLocales_1[_i];\n var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, '');\n var availableLocale = BestAvailableLocale(availableLocales, noExtensionLocale);\n if (availableLocale) {\n result.locale = availableLocale;\n if (locale !== noExtensionLocale) {\n result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);\n }\n return result;\n }\n }\n result.locale = getDefaultLocale();\n return result;\n}\n","import { BestAvailableLocale } from './BestAvailableLocale';\nimport { UNICODE_EXTENSION_SEQUENCE_REGEX } from './utils';\n/**\n * https://tc39.es/ecma402/#sec-bestfitmatcher\n * @param availableLocales\n * @param requestedLocales\n * @param getDefaultLocale\n */\nexport function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {\n var minimizedAvailableLocaleMap = {};\n var availableLocaleMap = {};\n var canonicalizedLocaleMap = {};\n var minimizedAvailableLocales = new Set();\n availableLocales.forEach(function (locale) {\n var minimizedLocale = new Intl.Locale(locale)\n .minimize()\n .toString();\n var canonicalizedLocale = Intl.getCanonicalLocales(locale)[0] || locale;\n minimizedAvailableLocaleMap[minimizedLocale] = locale;\n availableLocaleMap[locale] = locale;\n canonicalizedLocaleMap[canonicalizedLocale] = locale;\n minimizedAvailableLocales.add(minimizedLocale);\n minimizedAvailableLocales.add(locale);\n minimizedAvailableLocales.add(canonicalizedLocale);\n });\n var foundLocale;\n for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {\n var l = requestedLocales_1[_i];\n if (foundLocale) {\n break;\n }\n var noExtensionLocale = l.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, '');\n if (availableLocales.has(noExtensionLocale)) {\n foundLocale = noExtensionLocale;\n break;\n }\n if (minimizedAvailableLocales.has(noExtensionLocale)) {\n foundLocale = noExtensionLocale;\n break;\n }\n var locale = new Intl.Locale(noExtensionLocale);\n var maximizedRequestedLocale = locale.maximize().toString();\n var minimizedRequestedLocale = locale.minimize().toString();\n // Check minimized locale\n if (minimizedAvailableLocales.has(minimizedRequestedLocale)) {\n foundLocale = minimizedRequestedLocale;\n break;\n }\n // Lookup algo on maximized locale\n foundLocale = BestAvailableLocale(minimizedAvailableLocales, maximizedRequestedLocale);\n }\n if (!foundLocale) {\n return { locale: getDefaultLocale() };\n }\n return {\n locale: availableLocaleMap[foundLocale] ||\n canonicalizedLocaleMap[foundLocale] ||\n minimizedAvailableLocaleMap[foundLocale] ||\n foundLocale,\n };\n}\n","import { invariant } from './utils';\n/**\n * https://tc39.es/ecma402/#sec-unicodeextensionvalue\n * @param extension\n * @param key\n */\nexport function UnicodeExtensionValue(extension, key) {\n invariant(key.length === 2, 'key must have 2 elements');\n var size = extension.length;\n var searchValue = \"-\".concat(key, \"-\");\n var pos = extension.indexOf(searchValue);\n if (pos !== -1) {\n var start = pos + 4;\n var end = start;\n var k = start;\n var done = false;\n while (!done) {\n var e = extension.indexOf('-', k);\n var len = void 0;\n if (e === -1) {\n len = size - k;\n }\n else {\n len = e - k;\n }\n if (len === 2) {\n done = true;\n }\n else if (e === -1) {\n end = size;\n done = true;\n }\n else {\n end = e;\n k = e + 1;\n }\n }\n return extension.slice(start, end);\n }\n searchValue = \"-\".concat(key);\n pos = extension.indexOf(searchValue);\n if (pos !== -1 && pos + 3 === size) {\n return '';\n }\n return undefined;\n}\n","import { LookupMatcher } from './LookupMatcher';\nimport { BestFitMatcher } from './BestFitMatcher';\nimport { invariant } from './utils';\nimport { UnicodeExtensionValue } from './UnicodeExtensionValue';\n/**\n * https://tc39.es/ecma402/#sec-resolvelocale\n */\nexport function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {\n var matcher = options.localeMatcher;\n var r;\n if (matcher === 'lookup') {\n r = LookupMatcher(availableLocales, requestedLocales, getDefaultLocale);\n }\n else {\n r = BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale);\n }\n var foundLocale = r.locale;\n var result = { locale: '', dataLocale: foundLocale };\n var supportedExtension = '-u';\n for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {\n var key = relevantExtensionKeys_1[_i];\n invariant(foundLocale in localeData, \"Missing locale data for \".concat(foundLocale));\n var foundLocaleData = localeData[foundLocale];\n invariant(typeof foundLocaleData === 'object' && foundLocaleData !== null, \"locale data \".concat(key, \" must be an object\"));\n var keyLocaleData = foundLocaleData[key];\n invariant(Array.isArray(keyLocaleData), \"keyLocaleData for \".concat(key, \" must be an array\"));\n var value = keyLocaleData[0];\n invariant(typeof value === 'string' || value === null, \"value must be string or null but got \".concat(typeof value, \" in key \").concat(key));\n var supportedExtensionAddition = '';\n if (r.extension) {\n var requestedValue = UnicodeExtensionValue(r.extension, key);\n if (requestedValue !== undefined) {\n if (requestedValue !== '') {\n if (~keyLocaleData.indexOf(requestedValue)) {\n value = requestedValue;\n supportedExtensionAddition = \"-\".concat(key, \"-\").concat(value);\n }\n }\n else if (~requestedValue.indexOf('true')) {\n value = 'true';\n supportedExtensionAddition = \"-\".concat(key);\n }\n }\n }\n if (key in options) {\n var optionsValue = options[key];\n invariant(typeof optionsValue === 'string' ||\n typeof optionsValue === 'undefined' ||\n optionsValue === null, 'optionsValue must be String, Undefined or Null');\n if (~keyLocaleData.indexOf(optionsValue)) {\n if (optionsValue !== value) {\n value = optionsValue;\n supportedExtensionAddition = '';\n }\n }\n }\n result[key] = value;\n supportedExtension += supportedExtensionAddition;\n }\n if (supportedExtension.length > 2) {\n var privateIndex = foundLocale.indexOf('-x-');\n if (privateIndex === -1) {\n foundLocale = foundLocale + supportedExtension;\n }\n else {\n var preExtension = foundLocale.slice(0, privateIndex);\n var postExtension = foundLocale.slice(privateIndex, foundLocale.length);\n foundLocale = preExtension + supportedExtension + postExtension;\n }\n foundLocale = Intl.getCanonicalLocales(foundLocale)[0];\n }\n result.locale = foundLocale;\n return result;\n}\n","import { CanonicalizeLocaleList } from './abstract/CanonicalizeLocaleList';\nimport { ResolveLocale } from './abstract/ResolveLocale';\nexport function match(requestedLocales, availableLocales, defaultLocale, opts) {\n var locales = availableLocales.reduce(function (all, l) {\n all.add(l);\n return all;\n }, new Set());\n return ResolveLocale(locales, CanonicalizeLocaleList(requestedLocales), {\n localeMatcher: (opts === null || opts === void 0 ? void 0 : opts.algorithm) || 'best fit',\n }, [], {}, function () { return defaultLocale; }).locale;\n}\nexport { LookupSupportedLocales } from './abstract/LookupSupportedLocales';\nexport { ResolveLocale } from './abstract/ResolveLocale';\n","import { computed, nextTick } from 'vue'\nimport { createI18n } from 'vue-i18n'\nimport { match } from '@formatjs/intl-localematcher/lib'\nimport { useLocalStorage } from '@vueuse/core'\n\nexport const langs = ['zh-Hans-CN', 'en-US', 'yue-Hant-HK']\n\nconst lslang = useLocalStorage<string>('lang', '', { writeDefaults: false, listenToStorageChanges: true })\n\nconst i18n = createI18n({\n legacy: false,\n locale: getBrowserLang() || 'zh-Hans-CN',\n fallbackLocale: 'zh-Hans-CN',\n})\n\nexport const loadI18nPromise = loadLocaleMessages(i18n.global.locale.value)\n\nexport const languageList = [\n {\n name: '简体中文',\n value: 'zh-Hans-CN',\n },\n {\n name: 'English',\n value: 'en-US',\n },\n {\n name: '粵語中文',\n value: 'yue-Hant-HK',\n },\n]\n\nexport default i18n\n\nfunction getBrowserLang(): string {\n const userLangs = [...navigator.languages]\n if (lslang.value && lslang.value !== 'undefined' && lslang.value !== 'null')\n userLangs.unshift(lslang.value)\n let result\n try {\n result = match(userLangs, langs, 'zh-Hans-CN', { algorithm: 'best fit' })\n }\n catch (e) {\n result = 'zh-Hans-CN'\n if (!(e instanceof RangeError))\n throw e\n }\n return result\n}\n\nexport function getBrowserPreferredLang(): string {\n const userLangs = [...navigator.languages]\n let result\n try {\n result = match(userLangs, langs, 'zh-Hans-CN', { algorithm: 'best fit' })\n }\n catch (e) {\n result = 'zh-Hans-CN'\n if (!(e instanceof RangeError))\n throw e\n }\n return result\n}\n\nfunction setBrowserLang(lang: string) {\n if (lang === navigator.language) {\n lslang.value = undefined\n return\n }\n lslang.value = lang\n}\n\nasync function loadLocaleMessages(locale: string) {\n const messages = await import(/* @vite-ignore */ `./assets/${locale}.yml`)\n i18n.global.setLocaleMessage(locale, messages.default)\n return nextTick()\n}\n\nfunction setI18nLang(locale: string) {\n i18n.global.locale.value = locale\n}\n\nexport const locale = computed({\n get: () => {\n return i18n.global.locale.value\n },\n set: async (x: string) => {\n if (!langs.includes(x))\n return false\n setBrowserLang(x)\n await loadLocaleMessages(x)\n setI18nLang(x)\n i18n.global.locale.value = x\n },\n})\n\nexport const userPreferredLocales = computed(() => [locale.value, ...navigator.languages])\n\nexport function BCP47ToISO639(code: string): string {\n try {\n const lo = new Intl.Locale(code)\n switch (lo.language) {\n case 'yue':\n return 'CHT'\n\n case 'zh': {\n switch (lo.script) {\n case 'Hans':\n return 'CHS'\n case 'Hant':\n return 'CHT'\n }\n switch (lo.region) {\n case 'CN':\n return 'CHS'\n case 'HK':\n case 'TW':\n return 'CHT'\n }\n return 'CHS'\n }\n case 'cs':\n return 'CSY'\n case 'en':\n return 'ENG'\n case 'nl':\n return 'NLD'\n case 'fr':\n return 'FRA'\n case 'de':\n return 'DEU'\n case 'hu':\n return 'HUN'\n case 'it':\n return 'ITA'\n case 'ja':\n return 'JPN'\n case 'ko':\n return 'KOR'\n case 'pl':\n return 'PLK'\n case 'ro':\n return 'ROM'\n case 'ru':\n return 'RUS'\n case 'es':\n return 'ESP'\n case 'tr':\n return 'TRK'\n case 'vi':\n return 'VIM'\n }\n return 'CHS'\n }\n catch (e) {\n return 'CHS'\n }\n}\nexport const iso639locale = computed(() => BCP47ToISO639(locale.value))\nexport const iso639nav = computed(() => BCP47ToISO639(navigator.language))\n\nexport const beLanguagesList = [\n { id: 1, value: 'CHS', label: '简体中文' },\n { id: 2, value: 'CHT', label: '繁體中文' },\n { id: 3, value: 'CSY', label: 'čeština' },\n { id: 4, value: 'NLD', label: 'Nederlands' },\n { id: 5, value: 'ENG', label: 'English' },\n { id: 6, value: 'FRA', label: 'français' },\n { id: 7, value: 'DEU', label: 'Deutsch' },\n { id: 8, value: 'HUN', label: 'magyar nyelv' },\n { id: 9, value: 'ITA', label: 'italiano' },\n { id: 10, value: 'JPN', label: '日本語' },\n { id: 11, value: 'KOR', label: '한국어' },\n { id: 12, value: 'PLK', label: 'polski' },\n { id: 13, value: 'PTB', label: 'português' },\n { id: 14, value: 'ROM', label: 'limba română' },\n { id: 15, value: 'RUS', label: 'русский язык' },\n { id: 16, value: 'ESP', label: 'español' },\n { id: 17, value: 'TRK', label: 'Türk dili' },\n { id: 18, value: 'VIN', label: 'Tiếng Việt' },\n]\nfunction IDToISO639(id: number): string {\n return beLanguagesList.find(item => item.id === id)?.value || 'NAL'\n}\n\ninterface LangItemWithName {\n lang: string\n value: string\n}\ninterface LangItemWithID {\n l: number\n w: string\n}\nexport function behMostMatch(valueWithLang: LangItemWithName[]): string {\n const lang = iso639locale.value\n for (const value of valueWithLang) {\n if (value.lang === lang)\n return value.value\n }\n\n return valueWithLang[0].value || 'undifined'\n}\nexport function langBestMatchName(valueWithLang: LangItemWithName[]): string {\n const siteLang = iso639locale.value\n const browserlang = iso639nav.value\n for (const value of valueWithLang) {\n if (value.lang === siteLang)\n return value.value\n else if (value.lang === browserlang)\n return value.value\n }\n return valueWithLang[0].value || 'undifined'\n}\nexport function langBestMatchID(valueWithLang: LangItemWithID[]): string {\n const siteLang = iso639locale.value\n const browserlang = iso639nav.value\n for (const value of valueWithLang) {\n if (IDToISO639(value.l) === siteLang)\n return value.w\n else if (IDToISO639(value.l) === browserlang)\n return value.w\n }\n return valueWithLang[0].w || 'undifined'\n}\n\nexport function pickBestLocale(locales: string[], defaultLocale?: string): string {\n return match(userPreferredLocales.value, locales, defaultLocale ?? locales[0], { algorithm: 'best fit' })\n}\n","const suspectProtoRx = /\"(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])(?:p|\\\\u0070)(?:r|\\\\u0072)(?:o|\\\\u006[Ff])(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])\"\\s*:/;\nconst suspectConstructorRx = /\"(?:c|\\\\u0063)(?:o|\\\\u006[Ff])(?:n|\\\\u006[Ee])(?:s|\\\\u0073)(?:t|\\\\u0074)(?:r|\\\\u0072)(?:u|\\\\u0075)(?:c|\\\\u0063)(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:r|\\\\u0072)\"\\s*:/;\nconst JsonSigRx = /^[\"{[]|^-?[0-9][0-9.]{0,14}$/;\nfunction jsonParseTransform(key, value) {\n if (key === \"__proto__\" || key === \"constructor\") {\n return;\n }\n return value;\n}\nfunction destr(val, options = {}) {\n if (typeof val !== \"string\") {\n return val;\n }\n const _lval = val.toLowerCase();\n if (_lval === \"true\") {\n return true;\n }\n if (_lval === \"false\") {\n return false;\n }\n if (_lval === \"null\") {\n return null;\n }\n if (_lval === \"nan\") {\n return NaN;\n }\n if (_lval === \"infinity\") {\n return Infinity;\n }\n if (_lval === \"undefined\") {\n return void 0;\n }\n if (!JsonSigRx.test(val)) {\n if (options.strict) {\n throw new SyntaxError(\"Invalid JSON\");\n }\n return val;\n }\n try {\n if (suspectProtoRx.test(val) || suspectConstructorRx.test(val)) {\n return JSON.parse(val, jsonParseTransform);\n }\n return JSON.parse(val);\n } catch (error) {\n if (options.strict) {\n throw error;\n }\n return val;\n }\n}\n\nexport { destr as default };\n","const n = /[^\\0-\\x7E]/;\nconst t = /[\\x2E\\u3002\\uFF0E\\uFF61]/g;\nconst o = { overflow: \"Overflow Error\", \"not-basic\": \"Illegal Input\", \"invalid-input\": \"Invalid Input\" };\nconst e = Math.floor;\nconst r = String.fromCharCode;\nfunction s(n2) {\n throw new RangeError(o[n2]);\n}\nconst c = function(n2, t2) {\n return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);\n};\nconst u = function(n2, t2, o2) {\n let r2 = 0;\n for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {\n n2 = e(n2 / 35);\n }\n return e(r2 + 36 * n2 / (n2 + 38));\n};\nfunction toASCII(o2) {\n return function(n2, o3) {\n const e2 = n2.split(\"@\");\n let r2 = \"\";\n e2.length > 1 && (r2 = e2[0] + \"@\", n2 = e2[1]);\n const s2 = function(n3, t2) {\n const o4 = [];\n let e3 = n3.length;\n for (; e3--; ) {\n o4[e3] = t2(n3[e3]);\n }\n return o4;\n }((n2 = n2.replace(t, \".\")).split(\".\"), o3).join(\".\");\n return r2 + s2;\n }(o2, function(t2) {\n return n.test(t2) ? \"xn--\" + function(n2) {\n const t3 = [];\n const o3 = (n2 = function(n3) {\n const t4 = [];\n let o4 = 0;\n const e2 = n3.length;\n for (; o4 < e2; ) {\n const r2 = n3.charCodeAt(o4++);\n if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {\n const e3 = n3.charCodeAt(o4++);\n (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);\n } else {\n t4.push(r2);\n }\n }\n return t4;\n }(n2)).length;\n let f = 128;\n let i = 0;\n let l = 72;\n for (const o4 of n2) {\n o4 < 128 && t3.push(r(o4));\n }\n const h = t3.length;\n let p = h;\n for (h && t3.push(\"-\"); p < o3; ) {\n let o4 = 2147483647;\n for (const t4 of n2) {\n t4 >= f && t4 < o4 && (o4 = t4);\n }\n const a = p + 1;\n o4 - f > e((2147483647 - i) / a) && s(\"overflow\"), i += (o4 - f) * a, f = o4;\n for (const o5 of n2) {\n if (o5 < f && ++i > 2147483647 && s(\"overflow\"), o5 == f) {\n let n3 = i;\n for (let o6 = 36; ; o6 += 36) {\n const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;\n if (n3 < s2) {\n break;\n }\n const u2 = n3 - s2;\n const f2 = 36 - s2;\n t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);\n }\n t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;\n }\n }\n ++i, ++f;\n }\n return t3.join(\"\");\n }(t2) : t2;\n });\n}\n\nconst HASH_RE = /#/g;\nconst AMPERSAND_RE = /&/g;\nconst SLASH_RE = /\\//g;\nconst EQUAL_RE = /=/g;\nconst IM_RE = /\\?/g;\nconst PLUS_RE = /\\+/g;\nconst ENC_BRACKET_OPEN_RE = /%5B/gi;\nconst ENC_BRACKET_CLOSE_RE = /%5D/gi;\nconst ENC_CARET_RE = /%5E/gi;\nconst ENC_BACKTICK_RE = /%60/gi;\nconst ENC_CURLY_OPEN_RE = /%7B/gi;\nconst ENC_PIPE_RE = /%7C/gi;\nconst ENC_CURLY_CLOSE_RE = /%7D/gi;\nconst ENC_SPACE_RE = /%20/gi;\nconst ENC_SLASH_RE = /%2F/gi;\nconst ENC_ENC_SLASH_RE = /%252F/gi;\nfunction encode(text) {\n return encodeURI(\"\" + text).replace(ENC_PIPE_RE, \"|\").replace(ENC_BRACKET_OPEN_RE, \"[\").replace(ENC_BRACKET_CLOSE_RE, \"]\");\n}\nfunction encodeHash(text) {\n return encode(text).replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryValue(text) {\n return encode(text).replace(PLUS_RE, \"%2B\").replace(ENC_SPACE_RE, \"+\").replace(HASH_RE, \"%23\").replace(AMPERSAND_RE, \"%26\").replace(ENC_BACKTICK_RE, \"`\").replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryKey(text) {\n return encodeQueryValue(text).replace(EQUAL_RE, \"%3D\");\n}\nfunction encodePath(text) {\n return encode(text).replace(HASH_RE, \"%23\").replace(IM_RE, \"%3F\").replace(ENC_ENC_SLASH_RE, \"%2F\").replace(AMPERSAND_RE, \"%26\").replace(PLUS_RE, \"%2B\");\n}\nfunction encodeParam(text) {\n return encodePath(text).replace(SLASH_RE, \"%2F\");\n}\nfunction decode(text = \"\") {\n try {\n return decodeURIComponent(\"\" + text);\n } catch (_err) {\n return \"\" + text;\n }\n}\nfunction decodePath(text) {\n return decode(text.replace(ENC_SLASH_RE, \"%252F\"));\n}\nfunction decodeQueryValue(text) {\n return decode(text.replace(PLUS_RE, \" \"));\n}\nfunction encodeHost(name = \"\") {\n return toASCII(name);\n}\n\nfunction parseQuery(paramsStr = \"\") {\n const obj = {};\n if (paramsStr[0] === \"?\") {\n paramsStr = paramsStr.substr(1);\n }\n for (const param of paramsStr.split(\"&\")) {\n const s = param.match(/([^=]+)=?(.*)/) || [];\n if (s.length < 2) {\n continue;\n }\n const key = decode(s[1]);\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = decodeQueryValue(s[2] || \"\");\n if (obj[key]) {\n if (Array.isArray(obj[key])) {\n obj[key].push(value);\n } else {\n obj[key] = [obj[key], value];\n }\n } else {\n obj[key] = value;\n }\n }\n return obj;\n}\nfunction encodeQueryItem(key, val) {\n if (typeof val === \"number\" || typeof val === \"boolean\") {\n val = String(val);\n }\n if (!val) {\n return encodeQueryKey(key);\n }\n if (Array.isArray(val)) {\n return val.map((_val) => `${encodeQueryKey(key)}=${encodeQueryValue(_val)}`).join(\"&\");\n }\n return `${encodeQueryKey(key)}=${encodeQueryValue(val)}`;\n}\nfunction stringifyQuery(query) {\n return Object.keys(query).map((k) => encodeQueryItem(k, query[k])).join(\"&\");\n}\n\nclass $URL {\n constructor(input = \"\") {\n this.query = {};\n if (typeof input !== \"string\") {\n throw new TypeError(`URL input should be string received ${typeof input} (${input})`);\n }\n const parsed = parseURL(input);\n this.protocol = decode(parsed.protocol);\n this.host = decode(parsed.host);\n this.auth = decode(parsed.auth);\n this.pathname = decodePath(parsed.pathname);\n this.query = parseQuery(parsed.search);\n this.hash = decode(parsed.hash);\n }\n get hostname() {\n return parseHost(this.host).hostname;\n }\n get port() {\n return parseHost(this.host).port || \"\";\n }\n get username() {\n return parseAuth(this.auth).username;\n }\n get password() {\n return parseAuth(this.auth).password || \"\";\n }\n get hasProtocol() {\n return this.protocol.length;\n }\n get isAbsolute() {\n return this.hasProtocol || this.pathname[0] === \"/\";\n }\n get search() {\n const q = stringifyQuery(this.query);\n return q.length ? \"?\" + q : \"\";\n }\n get searchParams() {\n const p = new URLSearchParams();\n for (const name in this.query) {\n const value = this.query[name];\n if (Array.isArray(value)) {\n value.forEach((v) => p.append(name, v));\n } else {\n p.append(name, value || \"\");\n }\n }\n return p;\n }\n get origin() {\n return (this.protocol ? this.protocol + \"//\" : \"\") + encodeHost(this.host);\n }\n get fullpath() {\n return encodePath(this.pathname) + this.search + encodeHash(this.hash);\n }\n get encodedAuth() {\n if (!this.auth) {\n return \"\";\n }\n const { username, password } = parseAuth(this.auth);\n return encodeURIComponent(username) + (password ? \":\" + encodeURIComponent(password) : \"\");\n }\n get href() {\n const auth = this.encodedAuth;\n const originWithAuth = (this.protocol ? this.protocol + \"//\" : \"\") + (auth ? auth + \"@\" : \"\") + encodeHost(this.host);\n return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;\n }\n append(url) {\n if (url.hasProtocol) {\n throw new Error(\"Cannot append a URL with protocol\");\n }\n Object.assign(this.query, url.query);\n if (url.pathname) {\n this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);\n }\n if (url.hash) {\n this.hash = url.hash;\n }\n }\n toJSON() {\n return this.href;\n }\n toString() {\n return this.href;\n }\n}\n\nfunction isRelative(inputStr) {\n return [\"./\", \"../\"].some((str) => inputStr.startsWith(str));\n}\nconst PROTOCOL_REGEX = /^\\w+:(\\/\\/)?/;\nconst PROTOCOL_RELATIVE_REGEX = /^\\/\\/[^/]+/;\nfunction hasProtocol(inputStr, acceptProtocolRelative = false) {\n return PROTOCOL_REGEX.test(inputStr) || acceptProtocolRelative && PROTOCOL_RELATIVE_REGEX.test(inputStr);\n}\nconst TRAILING_SLASH_RE = /\\/$|\\/\\?/;\nfunction hasTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\");\n }\n return TRAILING_SLASH_RE.test(input);\n}\nfunction withoutTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || \"/\";\n }\n if (!hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return (s0.slice(0, -1) || \"/\") + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction withTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\") ? input : input + \"/\";\n }\n if (hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return s0 + \"/\" + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction hasLeadingSlash(input = \"\") {\n return input.startsWith(\"/\");\n}\nfunction withoutLeadingSlash(input = \"\") {\n return (hasLeadingSlash(input) ? input.substr(1) : input) || \"/\";\n}\nfunction withLeadingSlash(input = \"\") {\n return hasLeadingSlash(input) ? input : \"/\" + input;\n}\nfunction cleanDoubleSlashes(input = \"\") {\n return input.split(\"://\").map((str) => str.replace(/\\/{2,}/g, \"/\")).join(\"://\");\n}\nfunction withBase(input, base) {\n if (isEmptyURL(base) || hasProtocol(input)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (input.startsWith(_base)) {\n return input;\n }\n return joinURL(_base, input);\n}\nfunction withoutBase(input, base) {\n if (isEmptyURL(base)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (!input.startsWith(_base)) {\n return input;\n }\n const trimmed = input.substring(_base.length);\n return trimmed[0] === \"/\" ? trimmed : \"/\" + trimmed;\n}\nfunction withQuery(input, query) {\n const parsed = parseURL(input);\n const mergedQuery = { ...parseQuery(parsed.search), ...query };\n parsed.search = stringifyQuery(mergedQuery);\n return stringifyParsedURL(parsed);\n}\nfunction getQuery(input) {\n return parseQuery(parseURL(input).search);\n}\nfunction isEmptyURL(url) {\n return !url || url === \"/\";\n}\nfunction isNonEmptyURL(url) {\n return url && url !== \"/\";\n}\nfunction joinURL(base, ...input) {\n let url = base || \"\";\n for (const i of input.filter(isNonEmptyURL)) {\n url = url ? withTrailingSlash(url) + withoutLeadingSlash(i) : i;\n }\n return url;\n}\nfunction withHttp(input) {\n return withProtocol(input, \"http://\");\n}\nfunction withHttps(input) {\n return withProtocol(input, \"https://\");\n}\nfunction withoutProtocol(input) {\n return withProtocol(input, \"\");\n}\nfunction withProtocol(input, protocol) {\n const match = input.match(PROTOCOL_REGEX);\n if (!match) {\n return protocol + input;\n }\n return protocol + input.substring(match[0].length);\n}\nfunction createURL(input) {\n return new $URL(input);\n}\nfunction normalizeURL(input) {\n return createURL(input).toString();\n}\nfunction resolveURL(base, ...input) {\n const url = createURL(base);\n for (const i of input.filter(isNonEmptyURL)) {\n url.append(createURL(i));\n }\n return url.toString();\n}\nfunction isSamePath(p1, p2) {\n return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));\n}\nfunction isEqual(a, b, opts = {}) {\n if (!opts.trailingSlash) {\n a = withTrailingSlash(a);\n b = withTrailingSlash(b);\n }\n if (!opts.leadingSlash) {\n a = withLeadingSlash(a);\n b = withLeadingSlash(b);\n }\n if (!opts.encoding) {\n a = decode(a);\n b = decode(b);\n }\n return a === b;\n}\n\nfunction parseURL(input = \"\", defaultProto) {\n if (!hasProtocol(input, true)) {\n return defaultProto ? parseURL(defaultProto + input) : parsePath(input);\n }\n const [protocol = \"\", auth, hostAndPath = \"\"] = (input.replace(/\\\\/g, \"/\").match(/([^:/]+:)?\\/\\/([^/@]+@)?(.*)/) || []).splice(1);\n const [host = \"\", path = \"\"] = (hostAndPath.match(/([^/?#]*)(.*)?/) || []).splice(1);\n const { pathname, search, hash } = parsePath(path);\n return {\n protocol,\n auth: auth ? auth.substr(0, auth.length - 1) : \"\",\n host,\n pathname,\n search,\n hash\n };\n}\nfunction parsePath(input = \"\") {\n const [pathname = \"\", search = \"\", hash = \"\"] = (input.match(/([^#?]*)(\\?[^#]*)?(#.*)?/) || []).splice(1);\n return {\n pathname,\n search,\n hash\n };\n}\nfunction parseAuth(input = \"\") {\n const [username, password] = input.split(\":\");\n return {\n username: decode(username),\n password: decode(password)\n };\n}\nfunction parseHost(input = \"\") {\n const [hostname, port] = (input.match(/([^/]*)(:0-9+)?/) || []).splice(1);\n return {\n hostname: decode(hostname),\n port\n };\n}\nfunction stringifyParsedURL(parsed) {\n const fullpath = parsed.pathname + (parsed.search ? (parsed.search.startsWith(\"?\") ? \"\" : \"?\") + parsed.search : \"\") + parsed.hash;\n if (!parsed.protocol) {\n return fullpath;\n }\n return parsed.protocol + \"//\" + (parsed.auth ? parsed.auth + \"@\" : \"\") + parsed.host + fullpath;\n}\n\nexport { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, joinURL, normalizeURL, parseAuth, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };\n","import destr from 'destr';\nimport { withBase, withQuery } from 'ufo';\n\nclass FetchError extends Error {\n constructor() {\n super(...arguments);\n this.name = \"FetchError\";\n }\n}\nfunction createFetchError(request, error, response) {\n let message = \"\";\n if (request && response) {\n message = `${response.status} ${response.statusText} (${request.toString()})`;\n }\n if (error) {\n message = `${error.message} (${message})`;\n }\n const fetchError = new FetchError(message);\n Object.defineProperty(fetchError, \"request\", { get() {\n return request;\n } });\n Object.defineProperty(fetchError, \"response\", { get() {\n return response;\n } });\n Object.defineProperty(fetchError, \"data\", { get() {\n return response && response._data;\n } });\n return fetchError;\n}\n\nconst payloadMethods = new Set(Object.freeze([\"PATCH\", \"POST\", \"PUT\", \"DELETE\"]));\nfunction isPayloadMethod(method = \"GET\") {\n return payloadMethods.has(method.toUpperCase());\n}\nfunction isJSONSerializable(val) {\n if (val === void 0) {\n return false;\n }\n const t = typeof val;\n if (t === \"string\" || t === \"number\" || t === \"boolean\" || t === null) {\n return true;\n }\n if (t !== \"object\") {\n return false;\n }\n if (Array.isArray(val)) {\n return true;\n }\n return val.constructor && val.constructor.name === \"Object\" || typeof val.toJSON === \"function\";\n}\nconst textTypes = /* @__PURE__ */ new Set([\n \"image/svg\",\n \"application/xml\",\n \"application/xhtml\",\n \"application/html\"\n]);\nconst JSON_RE = /^application\\/(?:[\\w!#$%&*`\\-.^~]*\\+)?json(;.+)?$/i;\nfunction detectResponseType(_contentType = \"\") {\n if (!_contentType) {\n return \"json\";\n }\n const contentType = _contentType.split(\";\").shift();\n if (JSON_RE.test(contentType)) {\n return \"json\";\n }\n if (textTypes.has(contentType) || contentType.startsWith(\"text/\")) {\n return \"text\";\n }\n return \"blob\";\n}\n\nconst retryStatusCodes = /* @__PURE__ */ new Set([\n 408,\n 409,\n 425,\n 429,\n 500,\n 502,\n 503,\n 504\n]);\nfunction createFetch(globalOptions) {\n const { fetch, Headers } = globalOptions;\n function onError(ctx) {\n const isAbort = ctx.error && ctx.error.name === \"AbortError\" || false;\n if (ctx.options.retry !== false && !isAbort) {\n const retries = typeof ctx.options.retry === \"number\" ? ctx.options.retry : isPayloadMethod(ctx.options.method) ? 0 : 1;\n const responseCode = ctx.response && ctx.response.status || 500;\n if (retries > 0 && retryStatusCodes.has(responseCode)) {\n return $fetchRaw(ctx.request, {\n ...ctx.options,\n retry: retries - 1\n });\n }\n }\n const err = createFetchError(ctx.request, ctx.error, ctx.response);\n if (Error.captureStackTrace) {\n Error.captureStackTrace(err, $fetchRaw);\n }\n throw err;\n }\n const $fetchRaw = async function $fetchRaw2(_request, _opts = {}) {\n const ctx = {\n request: _request,\n options: { ...globalOptions.defaults, ..._opts },\n response: void 0,\n error: void 0\n };\n if (ctx.options.onRequest) {\n await ctx.options.onRequest(ctx);\n }\n if (typeof ctx.request === \"string\") {\n if (ctx.options.baseURL) {\n ctx.request = withBase(ctx.request, ctx.options.baseURL);\n }\n if (ctx.options.query || ctx.options.params) {\n ctx.request = withQuery(ctx.request, { ...ctx.options.params, ...ctx.options.query });\n }\n if (ctx.options.body && isPayloadMethod(ctx.options.method)) {\n if (isJSONSerializable(ctx.options.body)) {\n ctx.options.body = typeof ctx.options.body === \"string\" ? ctx.options.body : JSON.stringify(ctx.options.body);\n ctx.options.headers = new Headers(ctx.options.headers);\n if (!ctx.options.headers.has(\"content-type\")) {\n ctx.options.headers.set(\"content-type\", \"application/json\");\n }\n if (!ctx.options.headers.has(\"accept\")) {\n ctx.options.headers.set(\"accept\", \"application/json\");\n }\n }\n }\n }\n ctx.response = await fetch(ctx.request, ctx.options).catch(async (error) => {\n ctx.error = error;\n if (ctx.options.onRequestError) {\n await ctx.options.onRequestError(ctx);\n }\n return onError(ctx);\n });\n const responseType = (ctx.options.parseResponse ? \"json\" : ctx.options.responseType) || detectResponseType(ctx.response.headers.get(\"content-type\") || \"\");\n if (responseType === \"json\") {\n const data = await ctx.response.text();\n const parseFn = ctx.options.parseResponse || destr;\n ctx.response._data = parseFn(data);\n } else if (responseType === \"stream\") {\n ctx.response._data = ctx.response.body;\n } else {\n ctx.response._data = await ctx.response[responseType]();\n }\n if (ctx.options.onResponse) {\n await ctx.options.onResponse(ctx);\n }\n if (!ctx.response.ok) {\n if (ctx.options.onResponseError) {\n await ctx.options.onResponseError(ctx);\n }\n }\n return ctx.response.ok ? ctx.response : onError(ctx);\n };\n const $fetch = function $fetch2(request, opts) {\n return $fetchRaw(request, opts).then((r) => r._data);\n };\n $fetch.raw = $fetchRaw;\n $fetch.create = (defaultOptions = {}) => createFetch({\n ...globalOptions,\n defaults: {\n ...globalOptions.defaults,\n ...defaultOptions\n }\n });\n return $fetch;\n}\n\nexport { FetchError as F, createFetchError as a, createFetch as c };\n","import { c as createFetch } from './shared/ohmyfetch.fb8dc89e.mjs';\nexport { F as FetchError, c as createFetch, a as createFetchError } from './shared/ohmyfetch.fb8dc89e.mjs';\nimport 'destr';\nimport 'ufo';\n\nconst _globalThis = function() {\n if (typeof globalThis !== \"undefined\") {\n return globalThis;\n }\n if (typeof self !== \"undefined\") {\n return self;\n }\n if (typeof window !== \"undefined\") {\n return window;\n }\n if (typeof global !== \"undefined\") {\n return global;\n }\n throw new Error(\"unable to locate global object\");\n}();\nconst fetch = _globalThis.fetch || (() => Promise.reject(new Error(\"[ohmyfetch] global.fetch is not supported!\")));\nconst Headers = _globalThis.Headers;\nconst $fetch = createFetch({ fetch, Headers });\n\nexport { $fetch, Headers, fetch };\n","import { computed, ref } from 'vue'\nimport { $fetch } from 'ohmyfetch'\nimport { acceptHMRUpdate, defineStore } from 'pinia'\n\ninterface Auth {\n profile: {\n uid: string\n username: string\n image: string\n desc: string\n email: string\n bind_qq: boolean\n access_control_status: string\n }\n access_control: {\n status: string\n access_mode: string\n allowed_ops: string[]\n denied_ops: string[]\n }\n settings: {\n blacklist: string[]\n }\n}\n\nexport const useAuth = defineStore('auth', () => {\n const status = ref<'yes' | 'no' | 'networkError' | 'loading'>('loading')\n const auth = ref<Auth>()\n async function refetch() {\n status.value = 'loading'\n\n const data = await $fetch<{\n status: 'SUCCEED' | 'FAILED' | 'ERROR'\n data?: Auth\n }>('https://patchyvideo.com/be/user/myprofile.do', {\n method: 'POST',\n credentials: 'include',\n body: {},\n onRequestError: () => {\n status.value = 'networkError'\n },\n onResponseError: () => {\n status.value = 'no'\n },\n }).catch(() => {\n status.value = 'no'\n return undefined\n })\n\n if (data?.status === 'SUCCEED') {\n auth.value = data?.data\n status.value = 'yes'\n }\n else {\n auth.value = undefined\n }\n }\n refetch()\n\n const uid = computed(() => auth.value?.profile.uid)\n const username = computed(() => auth.value?.profile.username)\n const image = computed(() => auth.value?.profile.image)\n const desc = computed(() => auth.value?.profile.desc)\n const email = computed(() => auth.value?.profile.email)\n\n const isLogin = computed(() => auth.value !== undefined)\n const isAdmin = computed(() => auth.value?.profile.access_control_status === 'admin')\n\n return {\n status,\n\n uid,\n username,\n image,\n desc,\n email,\n\n isLogin,\n isAdmin,\n\n refetch,\n }\n})\n\nif (import.meta.hot)\n import.meta.hot.accept(acceptHMRUpdate(useAuth, import.meta.hot))\n","import '@unocss/reset/tailwind.css'\nimport 'uno.css'\nimport './global.postcss'\n\nimport { useMediaQuery } from '@vueuse/core'\nimport type { Ref } from 'vue'\nimport { computed, reactive } from 'vue'\n\nexport const screens = {\n 'sm': '576px',\n 'md': '720px',\n 'lg': '992px',\n 'xl': '1200px',\n '2xl': '1400px',\n '3xl': '1540px',\n '4xl': '1860px',\n '5xl': '2480px',\n}\n\nconst queries: [string, Ref<boolean>][] = Object.entries(screens).map(([k, v]) => [\n k,\n useMediaQuery(`(min-width: ${v})`),\n])\n\nexport const screenSizes = reactive({\n ...Object.fromEntries(queries),\n ...Object.fromEntries(queries.map(([k, v]) => [`<${k}`, computed(() => !v.value)])),\n ...Object.fromEntries(\n queries.map(([k, v], i) => [`@${k}`, computed(() => v.value && !(queries[i + 1] ?? [])[1].value)]),\n ),\n})\n","import { useLocalStorage, usePreferredDark } from '@vueuse/core'\nimport { computed, watchEffect } from 'vue'\n\nconst html = document.documentElement\nconst metaTag = document.querySelector('meta[name=\"theme-color\"]')!\n\nexport const themes = ['system', 'light', 'dark'] as const\nexport type Themes = typeof themes[number]\nexport const themePreference = useLocalStorage<Themes>('theme_preference', 'system', {\n listenToStorageChanges: true,\n flush: 'post',\n serializer: {\n read(raw): Themes {\n return (themes as readonly string[]).includes(raw) ? (raw as Themes) : 'system'\n },\n write(value): string {\n return value\n },\n },\n})\nexport const isDark = computed(() =>\n themePreference.value === 'system' ? usePreferredDark().value : themePreference.value === 'dark',\n)\n\nwatchEffect(\n () => {\n if (isDark.value) {\n if (!html.classList.contains('dark'))\n html.classList.add('dark')\n metaTag.setAttribute('content', '#1f2937')\n }\n else {\n if (html.classList.contains('dark'))\n html.classList.remove('dark')\n metaTag.setAttribute('content', '#ffffff')\n }\n },\n {\n flush: 'post',\n },\n)\n","import { useSessionStorage } from '@vueuse/core'\n\nexport interface extData {\n type: '__PATCHYVIDEO_PLATINUM_extension_installed'\n version: 1\n name: string\n extVersion: string\n tweaks?: string[]\n}\n\nexport const extensions = useSessionStorage<Record<string, extData>>('extensions', {})\nexport const extensionTweaks = useSessionStorage<string[]>('extension_tweaks', [])\nextensionTweaks.value = []\n\nconst installed: string[] = []\nfunction loadExtension(ext: extData) {\n try {\n if (installed.includes(ext.name))\n return\n\n if (ext.tweaks)\n extensionTweaks.value.push(...ext.tweaks.filter(v => !extensionTweaks.value.includes(v)))\n\n // console.log(`Extension installed: ${ext.name} (${ext.extVersion})`, ext)\n installed.push(ext.name)\n }\n catch (e) {\n // do nothing\n }\n}\n\nfor (const ext of Object.values(extensions.value))\n loadExtension(ext)\n\nconst ticked: string[] = []\naddEventListener('message', (event) => {\n try {\n if (\n typeof event.data === 'object'\n && 'type' in event.data\n && event.data.type === '__PATCHYVIDEO_PLATINUM_extension_installed'\n ) {\n const extInfo = event.data as extData\n\n loadExtension(extInfo)\n\n extensions.value[extInfo.name] = extInfo\n ticked.push(extInfo.name)\n }\n }\n catch (e) {\n // do nothing\n }\n})\npostMessage('__PATCHYVIDEO_PLATINUM_pull_extension_info', '*')\nsetTimeout(() => {\n for (const extName in extensions.value) {\n if (!ticked.includes(extName))\n delete extensions.value[extName]\n }\n}, 5000)\n","import { extensionTweaks, extensions } from './extension'\n\ndeclare global {\n interface Window {\n PatchyVideo: typeof PatchyVideo\n }\n}\n\nconst PatchyVideo = {\n toString(): string {\n return '[object PatchyVideo]'\n },\n meta: {\n /**\n * version defined in package.json\n */\n version: import.meta.env.VITE_APP_VERSION,\n /**\n * hash of the current commit\n */\n commitHash: import.meta.env.VITE_COMMIT_HASH,\n /**\n * ISO format of the build timestamp\n */\n buildTime: import.meta.env.VITE_APP_BUILDTIME,\n },\n extension: {\n /**\n * list of registered extension data\n */\n extensions,\n /**\n * list of tweaks that extensions applied\n */\n extensionTweaks,\n /**\n * clear cached extension data\n * can also be done by clear SesstionStorage and a reload\n */\n clear(): void {\n extensions.value = {}\n extensionTweaks.value = []\n },\n },\n settings: {\n /**\n * list of all settings in LocalStorage\n *\n * // category: description\n * key: [type, defaultValue]\n */\n list: {\n // global: user preferred language\n lang: [String, undefined],\n // theme: user preferred theme\n theme_preference: [String, 'system'],\n // theme: whether covers should be applied with a 75% brightness filter when in dark mode\n theme_dark_cover_filter: [Boolean, true],\n // video: player: player volume\n player_settings_volume: [Number, 0.5],\n // video: player: sync video & audio stream\n player_settings_sync_audio: [Boolean, false],\n // video: render tags as plain text, rather than render with a tag-like border\n video_tag_render_as_plain_text: [Boolean, false],\n },\n },\n}\n\nwindow.PatchyVideo = PatchyVideo\n\nexport default PatchyVideo\n\n// eslint-disable-next-line no-console\nconsole.log(\n `%cPatchy%cVideo%cVer${import.meta.env.VITE_APP_VERSION}%c\\nBuilt@${import.meta.env.VITE_APP_BUILDTIME}`,\n 'color:#9c71b2;font-size:2rem;font-family: Arial,Helvetica,sans-serif;font-weight: 700;',\n 'color:#ffb458;font-size:2rem;font-family: Arial,Helvetica,sans-serif;font-weight: 700;',\n 'color:#6a8935;font-size:0.9rem;font-family: Arial,Helvetica,sans-serif;padding: 0px 5px;',\n 'color:#c586c0;font-size:1rem;font-family: Arial,Helvetica,sans-serif;',\n)\n","/* eslint-disable vue/one-component-per-file */\nimport { Suspense, createApp, defineComponent, h, nextTick } from 'vue'\nimport { createRouter, createWebHistory, useRouter } from 'vue-router'\nimport { MotionPlugin } from '@vueuse/motion'\nimport { until } from '@vueuse/core'\nimport { createPinia } from 'pinia'\nimport BackendDown from './components/BackendDown.vue'\nimport ReloadPrompt from './components/ReloadPrompt.vue'\nimport AppRouterView from './components/AppRouterView.vue'\nimport BrowserOffline from './components/BrowserOffline.vue'\nimport { createBackendStatus, provideBackendStatus } from './libs/backendStatus'\nimport Notification from '@/notification/components/Notification.vue'\nimport PvMessage from '@/ui/components/PvMessage.vue'\nimport { createApollo, provideClient as provideGraphQLClient } from '@/graphql'\nimport { provideSharedObject } from '@/nested'\nimport i18n, { loadI18nPromise } from '@/locales'\nimport { incProcess, startProgress, stopProgress } from '@/nprogress'\nimport { useAuth } from '@/user'\nimport 'nprogress/nprogress.css'\nimport '@/css'\nimport '@/darkmode'\nimport './libs/extension'\nimport './libs/pvcc'\n\nstartProgress()\n\nconst client = createApollo()\nconst backendStatus = createBackendStatus()\nconst rootComponent = defineComponent({\n setup() {\n provideGraphQLClient(client)\n provideSharedObject()\n provideBackendStatus(backendStatus)\n\n return () => backendStatus.alive.value === 'no'\n ? window.navigator.onLine ? h(BackendDown) : h(BrowserOffline)\n : [\n h(Suspense, {}, h(AppRouterView)),\n h(Notification),\n h(PvMessage),\n h(ReloadPrompt),\n ]\n },\n})\n\nconst app = createApp(rootComponent)\n\n// pinia\nconst pinia = createPinia()\napp.use(pinia)\n\n// router\n// @ts-expect-error idk\n// eslint-disable-next-line import/first, import/order\nimport type { RouteLocationNormalizedLoaded } from 'vue-router'\ndeclare module 'vue-router' {\n interface RouteMeta {\n holdLoading?: boolean\n requireLogin?: boolean\n hashKey?: (route: RouteLocationNormalizedLoaded) => string | undefined\n }\n}\nconst router = createRouter({\n history: createWebHistory(),\n strict: true,\n routes: [\n // Home\n {\n name: 'home',\n path: '/',\n alias: ['/index', '/index.html'],\n component: () => import('@/home/Home.vue'),\n },\n\n // Search\n {\n name: 'search-page',\n path: '/search-page',\n component: () => import('@/search/SearchPage.vue'),\n },\n {\n name: 'search-result',\n path: '/search-result',\n component: () => import('@/search/SearchResult.vue'),\n meta: { holdLoading: true },\n },\n\n // Video\n {\n name: 'video-list',\n path: '/video-list',\n component: () => import('@/video/VideoList.vue'),\n meta: { holdLoading: true },\n },\n {\n name: 'video-detail',\n path: '/video/:vid',\n component: () => import('@/video/Video.vue'),\n meta: {\n holdLoading: true,\n hashKey(route) {\n return `video-${route.params.vid}`\n },\n },\n },\n {\n name: 'video-embed',\n path: '/embed/:vid',\n component: () => import('@/video/Embed.vue'),\n },\n {\n name: 'video-edit',\n path: '/edit-video/:vid',\n component: () => import('@/video/EditVideo.vue'),\n meta: { holdLoading: true },\n },\n\n // Playlist\n {\n name: 'playlist-list',\n path: '/playlist-list',\n component: () => import('@/playlist/PlaylistList.vue'),\n meta: { holdLoading: true },\n },\n {\n name: 'playlist-detail',\n path: '/playlist/:pid',\n component: () => import('@/playlist/Playlist.vue'),\n meta: { holdLoading: true },\n },\n\n // Tag\n {\n name: 'tag-author-detail',\n path: '/tag/author/:tid',\n component: () => import('@/tag/Author.vue'),\n meta: { holdLoading: true },\n },\n\n // LeaderBoard\n {\n name: 'leaderboard',\n path: '/leaderboard',\n component: () => import('@/leaderboard/Leaderboard.vue'),\n meta: { holdLoading: true },\n },\n\n // User\n {\n name: 'user-settings',\n path: '/user/me',\n component: () => import('@/user/User.vue'),\n },\n {\n name: 'user-notification',\n path: '/user/notification',\n component: () => import('@/user-notification/Notification.vue'),\n meta: { requireLogin: true },\n },\n {\n name: 'user-login',\n path: '/user/login',\n component: () => import('@/user/Login.vue'),\n },\n {\n name: 'user-signup',\n path: '/user/signup',\n component: () => import('@/user/Signup.vue'),\n },\n {\n name: 'user-forgot-password',\n path: '/user/forget-password',\n component: () => import('@/user/ForgetPassword.vue'),\n },\n {\n name: 'user-reset-password',\n path: '/user/reset-password',\n component: () => import('@/user/ResetPassword.vue'),\n },\n {\n name: 'user-redirect',\n path: '/user/redirect',\n component: () => import('@/user/Redirect.vue'),\n },\n {\n name: 'user-profile',\n path: '/user/:uid',\n component: () => import('@/user/Profile.vue'),\n meta: { holdLoading: true },\n },\n\n // Settings\n {\n name: 'settings-redirect',\n path: '/settings',\n redirect: '/settings/general',\n },\n {\n name: 'settings',\n path: '/settings/:catogory',\n component: () => import('@/settings/ChangeSettings.vue'),\n },\n\n // Debug\n {\n name: 'debug-user-force-logout',\n path: '/debug/user/force-logout',\n component: defineComponent({\n async setup() {\n const router = useRouter()\n try {\n await fetch('https://patchyvideo.com/be/logout.do', {\n method: 'POST',\n headers: new Headers({\n 'Content-Type': 'application/json',\n }),\n body: JSON.stringify({}),\n credentials: 'include',\n })\n }\n finally {\n router.push('/')\n }\n\n return () => []\n },\n }),\n },\n {\n name: 'debug-error-pages-404',\n path: '/debug/error-pages/404',\n component: () => import('@/error-pages/components/404.vue'),\n },\n\n // Error\n {\n name: '404',\n path: '/:url+',\n component: () => import('@/error-pages/components/404.vue'),\n },\n ],\n})\nrouter.beforeEach(async (to, from, next) => {\n startProgress()\n\n backendStatus.refetch()\n\n if (to.meta.requireLogin) {\n const user = useAuth()\n await until(() => user.status).not.toBe('loading')\n if (!user.isLogin)\n next({ path: '/' })\n }\n\n next()\n})\nrouter.afterEach((to) => {\n incProcess()\n\n if (!to.meta.holdLoading) {\n // wait for dom update\n nextTick(() => {\n stopProgress()\n })\n }\n})\napp.use(router)\n\n// i18n\napp.use(i18n)\n\n// motion\napp.use(MotionPlugin)\n\nloadI18nPromise.then(() => app.mount('#app'))\n"],"file":"assets/index.72556674.js"} \ No newline at end of file diff --git a/assets/index.73e24402.js b/assets/index.73e24402.js new file mode 100644 index 0000000000..24f510f295 --- /dev/null +++ b/assets/index.73e24402.js @@ -0,0 +1,2 @@ +import{d as m,e as d,f as o,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}},u=function(a,r,e){var t,i=l[a];return typeof i=="string"?t=i:r===1?t=i.one:r===11&&i.eleven?t=i.eleven:t=i.other.replace("{{count}}",String(r)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"en "+t:"fa "+t:t},v={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},g={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},b={date:m({formats:v,defaultWidth:"full"}),time:m({formats:h,defaultWidth:"full"}),dateTime:m({formats:g,defaultWidth:"full"})},c={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},f={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"},p=function(a,r,e,t){return r.getUTCHours()!==1?f[a]:c[a]},y={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},w={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},P={narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},M={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},j={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},C={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},W=function(a,r){var e=Number(a),t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"r";case 2:return e+"n";case 3:return e+"r";case 4:return e+"t"}return e+"è"},x={ordinalNumber:W,era:d({values:y,defaultWidth:"wide"}),quarter:d({values:w,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:d({values:P,defaultWidth:"wide"}),day:d({values:M,defaultWidth:"wide"}),dayPeriod:d({values:j,defaultWidth:"wide",formattingValues:C,defaultFormattingWidth:"wide"})},N=/^(\d+)(è|r|n|r|t)?/i,D=/\d+/i,k={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},T={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},F={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},z={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},L={narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},S={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},V={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},G={narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},A={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},X={ordinalNumber:o({matchPattern:N,parsePattern:D,valueCallback:function(a){return parseInt(a,10)}}),era:s({matchPatterns:k,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"wide"}),quarter:s({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:s({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"wide"}),day:s({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:G,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"})},Y={code:"ca",formatDistance:u,formatLong:b,formatRelative:p,localize:x,match:X,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Y as default}; +//# sourceMappingURL=index.73e24402.js.map diff --git a/assets/index.73e24402.js.map b/assets/index.73e24402.js.map new file mode 100644 index 0000000000..f7c00f7945 --- /dev/null +++ b/assets/index.73e24402.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.73e24402.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ca/index.js"],"sourcesContent":["/**\n * Davant de les xifres que es diuen amb vocal inicial, 1 i 11, s'apostrofen els articles el i la i la preposició de igual que si estiguessin escrits amb lletres.\n * l'1 de juliol ('l'u')\n * l'11 de novembre ('l'onze')\n * l'11a clàusula del contracte ('l'onzena')\n * la contractació d'11 jugadors ('d'onze')\n * l'aval d'11.000 socis ('d'onze mil')\n *\n * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=apostrofaci%25F3+davant+xifres&action=Principal&method=detall_completa&numPagina=1&idHit=11236&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=11236&titol=apostrofaci%F3%20davant%20de%20xifres%20%2F%20apostrofaci%F3%20davant%20de%201%20i%2011&numeroResultat=1&clickLink=detall&tipusCerca=cerca.normes\n */\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"menys d'un segon\",\n eleven: \"menys d'onze segons\",\n other: 'menys de {{count}} segons'\n },\n xSeconds: {\n one: '1 segon',\n other: '{{count}} segons'\n },\n halfAMinute: 'mig minut',\n lessThanXMinutes: {\n one: \"menys d'un minut\",\n eleven: \"menys d'onze minuts\",\n other: 'menys de {{count}} minuts'\n },\n xMinutes: {\n one: '1 minut',\n other: '{{count}} minuts'\n },\n aboutXHours: {\n one: 'aproximadament una hora',\n other: 'aproximadament {{count}} hores'\n },\n xHours: {\n one: '1 hora',\n other: '{{count}} hores'\n },\n xDays: {\n one: '1 dia',\n other: '{{count}} dies'\n },\n aboutXWeeks: {\n one: 'aproximadament una setmana',\n other: 'aproximadament {{count}} setmanes'\n },\n xWeeks: {\n one: '1 setmana',\n other: '{{count}} setmanes'\n },\n aboutXMonths: {\n one: 'aproximadament un mes',\n other: 'aproximadament {{count}} mesos'\n },\n xMonths: {\n one: '1 mes',\n other: '{{count}} mesos'\n },\n aboutXYears: {\n one: 'aproximadament un any',\n other: 'aproximadament {{count}} anys'\n },\n xYears: {\n one: '1 any',\n other: '{{count}} anys'\n },\n overXYears: {\n one: \"més d'un any\",\n eleven: \"més d'onze anys\",\n other: 'més de {{count}} anys'\n },\n almostXYears: {\n one: 'gairebé un any',\n other: 'gairebé {{count}} anys'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 11 && tokenValue.eleven) {\n result = tokenValue.eleven;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'en ' + result;\n } else {\n return 'fa ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM y\",\n long: \"d 'de' MMMM y\",\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'a les' {{time}}\",\n long: \"{{date}} 'a les' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'el' eeee 'passat a la' LT\",\n yesterday: \"'ahir a la' p\",\n today: \"'avui a la' p\",\n tomorrow: \"'demà a la' p\",\n nextWeek: \"eeee 'a la' p\",\n other: 'P'\n};\nvar formatRelativeLocalePlural = {\n lastWeek: \"'el' eeee 'passat a les' p\",\n yesterday: \"'ahir a les' p\",\n today: \"'avui a les' p\",\n tomorrow: \"'demà a les' p\",\n nextWeek: \"eeee 'a les' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n if (date.getUTCHours() !== 1) {\n return formatRelativeLocalePlural[token];\n }\n\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\n/**\n * General information\n * Reference: https://aplicacions.llengua.gencat.cat\n * Reference: https://www.uoc.edu/portal/ca/servei-linguistic/convencions/abreviacions/simbols/simbols-habituals.html\n */\n\n/**\n * Abans de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abans+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6876&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6876&titol=abans%20de%20Crist%20(abreviatura)%20/%20abans%20de%20Crist%20(sigla)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes\n * Desprest de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=despr%E9s+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6879&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6879&titol=despr%E9s%20de%20Crist%20(sigla)%20/%20despr%E9s%20de%20Crist%20(abreviatura)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes\n */\n\nvar eraValues = {\n narrow: ['aC', 'dC'],\n abbreviated: ['a. de C.', 'd. de C.'],\n wide: ['abans de Crist', 'després de Crist']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1r trimestre', '2n trimestre', '3r trimestre', '4t trimestre']\n};\n/**\n * Dins d'un text convé fer servir la forma sencera dels mesos, ja que sempre és més clar el mot sencer que l'abreviatura, encara que aquesta sigui força coneguda.\n * Cal reservar, doncs, les abreviatures per a les llistes o classificacions, els gràfics, les taules o quadres estadístics, els textos publicitaris, etc.\n *\n * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviacions+mesos&action=Principal&method=detall_completa&numPagina=1&idHit=8402&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8402&titol=abreviatures%20dels%20mesos%20de%20l%27any&numeroResultat=5&clickLink=detall&tipusCerca=cerca.fitxes\n */\n\nvar monthValues = {\n narrow: ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'],\n\n /**\n * Les abreviatures dels mesos de l'any es formen seguint una de les normes generals de formació d'abreviatures.\n * S'escriu la primera síl·laba i les consonants de la síl·laba següent anteriors a la primera vocal.\n * Els mesos de març, maig i juny no s'abreugen perquè són paraules d'una sola síl·laba.\n */\n abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'],\n wide: ['gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre', 'desembre']\n};\n/**\n * Les abreviatures dels dies de la setmana comencen totes amb la lletra d.\n * Tot seguit porten la consonant següent a la i, excepte en el cas de dimarts, dimecres i diumenge, en què aquesta consonant és la m i, per tant, hi podria haver confusió.\n * Per evitar-ho, s'ha substituït la m per una t (en el cas de dimarts), una c (en el cas de dimecres) i una g (en el cas de diumenge), respectivament.\n *\n * Seguint la norma general d'ús de les abreviatures, les dels dies de la setmana sempre porten punt final.\n * Igualment, van amb la primera lletra en majúscula quan la paraula sencera també hi aniria.\n * En canvi, van amb la primera lletra en minúscula quan la inicial de la paraula sencera també hi aniria.\n *\n * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviatures+dies&action=Principal&method=detall_completa&numPagina=1&idHit=8387&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8387&titol=abreviatures%20dels%20dies%20de%20la%20setmana&numeroResultat=1&clickLink=detall&tipusCerca=cerca.tot\n */\n\nvar dayValues = {\n narrow: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'],\n short: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'],\n abbreviated: ['dg.', 'dl.', 'dt.', 'dm.', 'dj.', 'dv.', 'ds.'],\n wide: ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte']\n};\n/**\n * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?action=Principal&method=detall&input_cercar=parts+del+dia&numPagina=1&database=FITXES_PUB&idFont=12801&idHit=12801&tipusFont=Fitxes+de+l%27Optimot&numeroResultat=1&databases_avansada=&categories_avansada=&clickLink=detall&titol=Nom+de+les+parts+del+dia&tematica=&tipusCerca=cerca.fitxes\n */\n\nvar dayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'mitjanit',\n noon: 'migdia',\n morning: 'matí',\n afternoon: 'tarda',\n evening: 'vespre',\n night: 'nit'\n },\n abbreviated: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'mitjanit',\n noon: 'migdia',\n morning: 'matí',\n afternoon: 'tarda',\n evening: 'vespre',\n night: 'nit'\n },\n wide: {\n am: 'ante meridiem',\n pm: 'post meridiem',\n midnight: 'mitjanit',\n noon: 'migdia',\n morning: 'matí',\n afternoon: 'tarda',\n evening: 'vespre',\n night: 'nit'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'de la mitjanit',\n noon: 'del migdia',\n morning: 'del matí',\n afternoon: 'de la tarda',\n evening: 'del vespre',\n night: 'de la nit'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'de la mitjanit',\n noon: 'del migdia',\n morning: 'del matí',\n afternoon: 'de la tarda',\n evening: 'del vespre',\n night: 'de la nit'\n },\n wide: {\n am: 'ante meridiem',\n pm: 'post meridiem',\n midnight: 'de la mitjanit',\n noon: 'del migdia',\n morning: 'del matí',\n afternoon: 'de la tarda',\n evening: 'del vespre',\n night: 'de la nit'\n }\n};\n/**\n * Quan van en singular, els nombres ordinals es representen, en forma d’abreviatura, amb la xifra seguida de l’última lletra del mot desplegat.\n * És optatiu posar punt després de la lletra.\n *\n * Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/pdf/abrevia.pdf#page=18\n */\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'r';\n\n case 2:\n return number + 'n';\n\n case 3:\n return number + 'r';\n\n case 4:\n return number + 't';\n }\n }\n\n return number + 'è';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(è|r|n|r|t)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a. de C.|d. de C.)/i,\n wide: /^(abans de Crist|despr[eé]s de Crist)/i\n};\nvar parseEraPatterns = {\n narrow: [/^aC/i, /^dC/i],\n abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],\n wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](è|r|n|r|t)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,\n abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,\n wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^GN/i, /^FB/i, /^MÇ/i, /^AB/i, /^MG/i, /^JN/i, /^JL/i, /^AG/i, /^ST/i, /^OC/i, /^NV/i, /^DS/i],\n abbreviated: [/^gen./i, /^febr./i, /^març/i, /^abr./i, /^maig/i, /^juny/i, /^jul./i, /^ag./i, /^set./i, /^oct./i, /^nov./i, /^des./i],\n wide: [/^gener/i, /^febrer/i, /^març/i, /^abril/i, /^maig/i, /^juny/i, /^juliol/i, /^agost/i, /^setembre/i, /^octubre/i, /^novembre/i, /^desembre/i]\n};\nvar matchDayPatterns = {\n narrow: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n short: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n abbreviated: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i\n};\nvar parseDayPatterns = {\n narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n wide: [/^diumenge/i, /^dilluns/i, /^dimarts/i, /^dimecres/i, /^dijous/i, /^divendres/i, /^disssabte/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,\n abbreviated: /^([ap]\\.?\\s?m\\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,\n wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mitjanit/i,\n noon: /^migdia/i,\n morning: /matí/i,\n afternoon: /tarda/i,\n evening: /vespre/i,\n night: /nit/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'wide'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'wide'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'wide'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Catalan locale.\n * @language Catalan\n * @iso-639-2 cat\n * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}\n * @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino}\n */\n\nvar locale = {\n code: 'ca',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale; // throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA')"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelativeLocalePlural","formatRelative","date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAUA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,mBACL,OAAQ,sBACR,MAAO,2BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,kBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,mBACL,OAAQ,sBACR,MAAO,2BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,0BACL,MAAO,gCACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,6BACL,MAAO,mCACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,oBACR,EACD,aAAc,CACZ,IAAK,wBACL,MAAO,gCACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,wBACL,MAAO,+BACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,eACL,OAAQ,kBACR,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAYtC,OAVI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IACXH,IAAU,IAAMG,EAAW,OACpCD,EAASC,EAAW,OAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChD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yCACP,YAAa,yCACb,KAAM,iEACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,OAAO,EACtE,YAAa,CAAC,QAAS,QAAS,QAAS,QAAS,QAAS,QAAS,OAAO,EAC3E,KAAM,CAAC,aAAc,YAAa,YAAa,aAAc,WAAY,cAAe,aAAa,CACvG,EACIC,EAAyB,CAC3B,OAAQ,oDACR,YAAa,yEACb,KAAM,qFACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,aACV,KAAM,WACN,QAAS,QACT,UAAW,SACX,QAAS,UACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECtFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.7656b5a1.js b/assets/index.7656b5a1.js new file mode 100644 index 0000000000..aa84b5551d --- /dev/null +++ b/assets/index.7656b5a1.js @@ -0,0 +1,2 @@ +import{d as t,o as a,q as m,u as e,v as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE, d MMMM yyyy",long:"d MMMM, yyyy",medium:"d MMM, yyyy",short:"dd/MM/yyyy"},i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},l={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},M={code:"en-IN",formatDistance:a,formatLong:s,formatRelative:m,localize:e,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{M as default}; +//# sourceMappingURL=index.7656b5a1.js.map diff --git a/assets/index.7656b5a1.js.map b/assets/index.7656b5a1.js.map new file mode 100644 index 0000000000..3aa0d970b2 --- /dev/null +++ b/assets/index.7656b5a1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.7656b5a1.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-IN/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM, yyyy',\n medium: 'd MMM, yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"../en-US/_lib/formatDistance/index.js\";\nimport formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (India).\n * @language English\n * @iso-639-2 eng\n * @author Galeel Bhasha Satthar [@gbhasha]{@link https://github.com/gbhasha}\n */\n\nvar locale = {\n code: 'en-IN',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1,\n // Monday is the first day of the week.\n firstWeekContainsDate: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"6VACA,IAAIA,EAAc,CAChB,KAAM,oBACN,KAAM,eACN,OAAQ,cACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,iBACN,KAAM,cACN,OAAQ,YACR,MAAO,QACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EClBIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAEd,sBAAuB,CAExB,CACH"} \ No newline at end of file diff --git a/assets/index.76e3de19.js b/assets/index.76e3de19.js new file mode 100644 index 0000000000..acbd67de27 --- /dev/null +++ b/assets/index.76e3de19.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من زوز ثواني",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية",two:"زوز ثواني",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نص دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقايق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة",two:"دقيقتين",threeToTen:"{{count}} دقايق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة تقريب",two:"ساعتين تقريب",threeToTen:"{{count}} سوايع تقريب",other:"{{count}} ساعة تقريب"},xHours:{one:"ساعة",two:"ساعتين",threeToTen:"{{count}} سوايع",other:"{{count}} ساعة"},xDays:{one:"نهار",two:"نهارين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"جمعة تقريب",two:"جمعتين تقريب",threeToTen:"{{count}} جماع تقريب",other:"{{count}} جمعة تقريب"},xWeeks:{one:"جمعة",two:"جمعتين",threeToTen:"{{count}} جماع",other:"{{count}} جمعة"},aboutXMonths:{one:"شهر تقريب",two:"شهرين تقريب",threeToTen:"{{count}} أشهرة تقريب",other:"{{count}} شهر تقريب"},xMonths:{one:"شهر",two:"شهرين",threeToTen:"{{count}} أشهرة",other:"{{count}} شهر"},aboutXYears:{one:"عام تقريب",two:"عامين تقريب",threeToTen:"{{count}} أعوام تقريب",other:"{{count}} عام تقريب"},xYears:{one:"عام",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام تقريب",two:"عامين تقريب",threeToTen:"{{count}} أعوام تقريب",other:"{{count}} عام تقريب"}},h=function(e,n,o){var a=m[e],t;return typeof a=="string"?t=a:n===1?t=a.one:n===2?t=a.two:n<=10?t=a.threeToTen.replace("{{count}}",String(n)):t=a.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"في "+t:"عندو "+t:t},l={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},c={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},f={full:"{{date}} 'مع' {{time}}",long:"{{date}} 'مع' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},w={lastWeek:"eeee 'إلي فات مع' p",yesterday:"'البارح مع' p",today:"'اليوم مع' p",tomorrow:"'غدوة مع' p",nextWeek:"eeee 'الجمعة الجاية مع' p 'نهار'",other:"P"},g=function(e){return w[e]},b={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},P={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},T={narrow:["د","ن","أ","س","أ","ج","ج","م","أ","م","ف","ج"],abbreviated:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},y={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},p={narrow:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"},abbreviated:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"},wide:{am:"ص",pm:"ع",morning:"الصباح",noon:"القايلة",afternoon:"بعد القايلة",evening:"العشية",night:"الليل",midnight:"نص الليل"}},M={narrow:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"},abbreviated:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"},wide:{am:"ص",pm:"ع",morning:"في الصباح",noon:"في القايلة",afternoon:"بعد القايلة",evening:"في العشية",night:"في الليل",midnight:"نص الليل"}},W=function(e){return String(e)},k={ordinalNumber:W,era:i({values:b,defaultWidth:"wide"}),quarter:i({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:T,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:p,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^(\d+)(th|st|nd|rd)?/i,x=/\d+/i,H={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},F={any:[/قبل/,/بعد/]},X={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},C={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[جفمأسند]/,abbreviated:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},S={narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جانفي/i,/^فيفري/i,/^مارس/i,/^أفريل/i,/^ماي/i,/^جوان/i,/^جويلية/i,/^أوت/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},V={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},E={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},L={narrow:/^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/,any:/^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/},R={any:{am:/^ص/,pm:/^ع/,midnight:/نص الليل/,noon:/قايلة/,afternoon:/بعد القايلة/,morning:/صباح/,evening:/عشية/,night:/ليل/}},Y={ordinalNumber:s({matchPattern:D,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:d({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),day:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:L,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},G={code:"ar-TN",formatDistance:h,formatLong:v,formatRelative:g,localize:k,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{G as default}; +//# sourceMappingURL=index.76e3de19.js.map diff --git a/assets/index.76e3de19.js.map b/assets/index.76e3de19.js.map new file mode 100644 index 0000000000..de4b521734 --- /dev/null +++ b/assets/index.76e3de19.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.76e3de19.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-TN/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية',\n two: 'أقل من زوز ثواني',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية',\n two: 'زوز ثواني',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نص دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقايق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة',\n two: 'دقيقتين',\n threeToTen: '{{count}} دقايق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'ساعة تقريب',\n two: 'ساعتين تقريب',\n threeToTen: '{{count}} سوايع تقريب',\n other: '{{count}} ساعة تقريب'\n },\n xHours: {\n one: 'ساعة',\n two: 'ساعتين',\n threeToTen: '{{count}} سوايع',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'نهار',\n two: 'نهارين',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'جمعة تقريب',\n two: 'جمعتين تقريب',\n threeToTen: '{{count}} جماع تقريب',\n other: '{{count}} جمعة تقريب'\n },\n xWeeks: {\n one: 'جمعة',\n two: 'جمعتين',\n threeToTen: '{{count}} جماع',\n other: '{{count}} جمعة'\n },\n aboutXMonths: {\n one: 'شهر تقريب',\n two: 'شهرين تقريب',\n threeToTen: '{{count}} أشهرة تقريب',\n other: '{{count}} شهر تقريب'\n },\n xMonths: {\n one: 'شهر',\n two: 'شهرين',\n threeToTen: '{{count}} أشهرة',\n other: '{{count}} شهر'\n },\n aboutXYears: {\n one: 'عام تقريب',\n two: 'عامين تقريب',\n threeToTen: '{{count}} أعوام تقريب',\n other: '{{count}} عام تقريب'\n },\n xYears: {\n one: 'عام',\n two: 'عامين',\n threeToTen: '{{count}} أعوام',\n other: '{{count}} عام'\n },\n overXYears: {\n one: 'أكثر من عام',\n two: 'أكثر من عامين',\n threeToTen: 'أكثر من {{count}} أعوام',\n other: 'أكثر من {{count}} عام'\n },\n almostXYears: {\n one: 'عام تقريب',\n two: 'عامين تقريب',\n threeToTen: '{{count}} أعوام تقريب',\n other: '{{count}} عام تقريب'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var usageGroup = formatDistanceLocale[token];\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else if (count === 2) {\n result = usageGroup.two;\n } else if (count <= 10) {\n result = usageGroup.threeToTen.replace('{{count}}', String(count));\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'في ' + result;\n } else {\n return 'عندو ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE، do MMMM y',\n long: 'do MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss',\n long: 'HH:mm:ss',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'مع' {{time}}\",\n long: \"{{date}} 'مع' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'إلي فات مع' p\",\n yesterday: \"'البارح مع' p\",\n today: \"'اليوم مع' p\",\n tomorrow: \"'غدوة مع' p\",\n nextWeek: \"eeee 'الجمعة الجاية مع' p 'نهار'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['د', 'ن', 'أ', 'س', 'أ', 'ج', 'ج', 'م', 'أ', 'م', 'ف', 'ج'],\n abbreviated: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],\n wide: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'ع',\n morning: 'الصباح',\n noon: 'القايلة',\n afternoon: 'بعد القايلة',\n evening: 'العشية',\n night: 'الليل',\n midnight: 'نص الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'ع',\n morning: 'الصباح',\n noon: 'القايلة',\n afternoon: 'بعد القايلة',\n evening: 'العشية',\n night: 'الليل',\n midnight: 'نص الليل'\n },\n wide: {\n am: 'ص',\n pm: 'ع',\n morning: 'الصباح',\n noon: 'القايلة',\n afternoon: 'بعد القايلة',\n evening: 'العشية',\n night: 'الليل',\n midnight: 'نص الليل'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'ع',\n morning: 'في الصباح',\n noon: 'في القايلة',\n afternoon: 'بعد القايلة',\n evening: 'في العشية',\n night: 'في الليل',\n midnight: 'نص الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'ع',\n morning: 'في الصباح',\n noon: 'في القايلة',\n afternoon: 'بعد القايلة',\n evening: 'في العشية',\n night: 'في الليل',\n midnight: 'نص الليل'\n },\n wide: {\n am: 'ص',\n pm: 'ع',\n morning: 'في الصباح',\n noon: 'في القايلة',\n afternoon: 'بعد القايلة',\n evening: 'في العشية',\n night: 'في الليل',\n midnight: 'نص الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(num) {\n return String(num);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /[قب]/,\n abbreviated: /[قب]\\.م\\./,\n wide: /(قبل|بعد) الميلاد/\n};\nvar parseEraPatterns = {\n any: [/قبل/, /بعد/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /ر[1234]/,\n wide: /الربع (الأول|الثاني|الثالث|الرابع)/\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[جفمأسند]/,\n abbreviated: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,\n wide: /^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/\n};\nvar parseMonthPatterns = {\n narrow: [/^ج/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ج/i, /^ج/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i],\n any: [/^جانفي/i, /^فيفري/i, /^مارس/i, /^أفريل/i, /^ماي/i, /^جوان/i, /^جويلية/i, /^أوت/i, /^سبتمبر/i, /^أكتوبر/i, /^نوفمبر/i, /^ديسمبر/i]\n};\nvar matchDayPatterns = {\n narrow: /^[حنثرخجس]/i,\n short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i],\n wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i],\n any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/,\n any: /^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ص/,\n pm: /^ع/,\n midnight: /نص الليل/,\n noon: /قايلة/,\n afternoon: /بعد القايلة/,\n morning: /صباح/,\n evening: /عشية/,\n night: /ليل/\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Tunisian Arabic).\n * @language Arabic\n * @iso-639-2 ara\n * @author Koussay Haj Kacem [@essana3]{@link https://github.com/essana3}\n */\nvar locale = {\n code: 'ar-TN',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","usageGroup","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","num","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,eACL,IAAK,mBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,QACL,IAAK,YACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,WACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,QACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,aACL,IAAK,eACL,WAAY,wBACZ,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,OACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,OACL,IAAK,SACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,aACL,IAAK,eACL,WAAY,uBACZ,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,OACL,IAAK,SACL,WAAY,iBACZ,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,YACL,IAAK,cACL,WAAY,wBACZ,MAAO,qBACR,EACD,QAAS,CACP,IAAK,MACL,IAAK,QACL,WAAY,kBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,YACL,IAAK,cACL,WAAY,wBACZ,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,MACL,IAAK,QACL,WAAY,kBACZ,MAAO,e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W,YAAa,aAAc,aAAc,WAAY,WAAY,SAAS,EAC5F,IAAK,CAAC,OAAQ,OAAQ,MAAO,OAAQ,MAAO,MAAO,KAAK,CAC1D,EACIC,EAAyB,CAC3B,OAAQ,6CACR,IAAK,sDACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,KACJ,GAAI,KACJ,SAAU,WACV,KAAM,QACN,UAAW,cACX,QAAS,OACT,QAAS,OACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,QACN,eAAgBzC,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUS,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.7cc232d2.js b/assets/index.7cc232d2.js new file mode 100644 index 0000000000..02de5a2000 --- /dev/null +++ b/assets/index.7cc232d2.js @@ -0,0 +1,2 @@ +import{d,e as n,f as s,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"segundo bat baino gutxiago",other:"{{count}} segundo baino gutxiago"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"minutu erdi",lessThanXMinutes:{one:"minutu bat baino gutxiago",other:"{{count}} minutu baino gutxiago"},xMinutes:{one:"1 minutu",other:"{{count}} minutu"},aboutXHours:{one:"1 ordu gutxi gorabehera",other:"{{count}} ordu gutxi gorabehera"},xHours:{one:"1 ordu",other:"{{count}} ordu"},xDays:{one:"1 egun",other:"{{count}} egun"},aboutXWeeks:{one:"aste 1 inguru",other:"{{count}} aste inguru"},xWeeks:{one:"1 aste",other:"{{count}} astean"},aboutXMonths:{one:"1 hilabete gutxi gorabehera",other:"{{count}} hilabete gutxi gorabehera"},xMonths:{one:"1 hilabete",other:"{{count}} hilabete"},aboutXYears:{one:"1 urte gutxi gorabehera",other:"{{count}} urte gutxi gorabehera"},xYears:{one:"1 urte",other:"{{count}} urte"},overXYears:{one:"1 urte baino gehiago",other:"{{count}} urte baino gehiago"},almostXYears:{one:"ia 1 urte",other:"ia {{count}} urte"}},g=function(a,i,e){var r,u=l[a];return typeof u=="string"?r=u:i===1?r=u.one:r=u.other.replace("{{count}}",String(i)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"en "+r:"duela "+r:r},m={full:"EEEE, y'ko' MMMM'ren' d'a' y'ren'",long:"y'ko' MMMM'ren' d'a'",medium:"y MMM d",short:"yy/MM/dd"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:d({formats:m,defaultWidth:"full"}),time:d({formats:h,defaultWidth:"full"}),dateTime:d({formats:b,defaultWidth:"full"})},f={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},c={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},p=function(a,i){return i.getUTCHours()!==1?c[a]:f[a]},k={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},w={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},z={narrow:["u","o","m","a","m","e","u","a","i","u","a","a"],abbreviated:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],wide:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"]},P={narrow:["i","a","a","a","o","o","l"],short:["ig","al","as","az","og","or","lr"],abbreviated:["iga","ast","ast","ast","ost","ost","lar"],wide:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"]},y={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"}},M={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"}},W=function(a,i){var e=Number(a);return e+"."},x={ordinalNumber:W,era:n({values:k,defaultWidth:"wide"}),quarter:n({values:w,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:z,defaultWidth:"wide"}),day:n({values:P,defaultWidth:"wide"}),dayPeriod:n({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},H=/^(\d+)(.)?/i,D=/\d+/i,F={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},C={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},L={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},V={any:[/1/i,/2/i,/3/i,/4/i]},X={narrow:/^[uomaei]/i,abbreviated:/^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,wide:/^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i},N={narrow:[/^u/i,/^o/i,/^m/i,/^a/i,/^m/i,/^e/i,/^u/i,/^a/i,/^i/i,/^u/i,/^a/i,/^a/i],any:[/^urt/i,/^ots/i,/^mar/i,/^api/i,/^mai/i,/^eka/i,/^uzt/i,/^abu/i,/^ira/i,/^urr/i,/^aza/i,/^abe/i]},E={narrow:/^[iaol]/i,short:/^(ig|al|as|az|og|or|lr)/i,abbreviated:/^(iga|ast|ast|ast|ost|ost|lar)/i,wide:/^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i},T={narrow:[/^i/i,/^a/i,/^a/i,/^a/i,/^o/i,/^o/i,/^l/i],short:[/^ig/i,/^al/i,/^as/i,/^az/i,/^og/i,/^or/i,/^lr/i],abbreviated:[/^iga/i,/^ast/i,/^ast/i,/^ast/i,/^ost/i,/^ost/i,/^lar/i],wide:[/^igandea/i,/^astelehena/i,/^asteartea/i,/^asteazkena/i,/^osteguna/i,/^ostirala/i,/^larunbata/i]},R={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},S={narrow:{am:/^a/i,pm:/^p/i,midnight:/^ge/i,noon:/^eg/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i},any:{am:/^a/i,pm:/^p/i,midnight:/^gauerdia/i,noon:/^eguerdia/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i}},Y={ordinalNumber:s({matchPattern:H,parsePattern:D,valueCallback:function(a){return parseInt(a,10)}}),era:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"wide"}),quarter:o({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:o({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"wide"}),dayPeriod:o({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:S,defaultParseWidth:"any"})},I={code:"eu",formatDistance:g,formatLong:v,formatRelative:p,localize:x,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{I as default}; +//# sourceMappingURL=index.7cc232d2.js.map diff --git a/assets/index.7cc232d2.js.map b/assets/index.7cc232d2.js.map new file mode 100644 index 0000000000..a7d6c900c8 --- /dev/null +++ b/assets/index.7cc232d2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.7cc232d2.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eu/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'segundo bat baino gutxiago',\n other: '{{count}} segundo baino gutxiago'\n },\n xSeconds: {\n one: '1 segundo',\n other: '{{count}} segundo'\n },\n halfAMinute: 'minutu erdi',\n lessThanXMinutes: {\n one: 'minutu bat baino gutxiago',\n other: '{{count}} minutu baino gutxiago'\n },\n xMinutes: {\n one: '1 minutu',\n other: '{{count}} minutu'\n },\n aboutXHours: {\n one: '1 ordu gutxi gorabehera',\n other: '{{count}} ordu gutxi gorabehera'\n },\n xHours: {\n one: '1 ordu',\n other: '{{count}} ordu'\n },\n xDays: {\n one: '1 egun',\n other: '{{count}} egun'\n },\n aboutXWeeks: {\n one: 'aste 1 inguru',\n other: '{{count}} aste inguru'\n },\n xWeeks: {\n one: '1 aste',\n other: '{{count}} astean'\n },\n aboutXMonths: {\n one: '1 hilabete gutxi gorabehera',\n other: '{{count}} hilabete gutxi gorabehera'\n },\n xMonths: {\n one: '1 hilabete',\n other: '{{count}} hilabete'\n },\n aboutXYears: {\n one: '1 urte gutxi gorabehera',\n other: '{{count}} urte gutxi gorabehera'\n },\n xYears: {\n one: '1 urte',\n other: '{{count}} urte'\n },\n overXYears: {\n one: '1 urte baino gehiago',\n other: '{{count}} urte baino gehiago'\n },\n almostXYears: {\n one: 'ia 1 urte',\n other: 'ia {{count}} urte'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'en ' + result;\n } else {\n return 'duela ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, y'ko' MMMM'ren' d'a' y'ren'\",\n long: \"y'ko' MMMM'ren' d'a'\",\n medium: 'y MMM d',\n short: 'yy/MM/dd'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'tan' {{time}}\",\n long: \"{{date}} 'tan' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'joan den' eeee, LT\",\n yesterday: \"'atzo,' p\",\n today: \"'gaur,' p\",\n tomorrow: \"'bihar,' p\",\n nextWeek: 'eeee, p',\n other: 'P'\n};\nvar formatRelativeLocalePlural = {\n lastWeek: \"'joan den' eeee, p\",\n yesterday: \"'atzo,' p\",\n today: \"'gaur,' p\",\n tomorrow: \"'bihar,' p\",\n nextWeek: 'eeee, p',\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date) {\n if (date.getUTCHours() !== 1) {\n return formatRelativeLocalePlural[token];\n }\n\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['k.a.', 'k.o.'],\n abbreviated: ['k.a.', 'k.o.'],\n wide: ['kristo aurretik', 'kristo ondoren']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1H', '2H', '3H', '4H'],\n wide: ['1. hiruhilekoa', '2. hiruhilekoa', '3. hiruhilekoa', '4. hiruhilekoa']\n};\nvar monthValues = {\n narrow: ['u', 'o', 'm', 'a', 'm', 'e', 'u', 'a', 'i', 'u', 'a', 'a'],\n abbreviated: ['urt', 'ots', 'mar', 'api', 'mai', 'eka', 'uzt', 'abu', 'ira', 'urr', 'aza', 'abe'],\n wide: ['urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua']\n};\nvar dayValues = {\n narrow: ['i', 'a', 'a', 'a', 'o', 'o', 'l'],\n short: ['ig', 'al', 'as', 'az', 'og', 'or', 'lr'],\n abbreviated: ['iga', 'ast', 'ast', 'ast', 'ost', 'ost', 'lar'],\n wide: ['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'ge',\n noon: 'eg',\n morning: 'goiza',\n afternoon: 'arratsaldea',\n evening: 'arratsaldea',\n night: 'gaua'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'gauerdia',\n noon: 'eguerdia',\n morning: 'goiza',\n afternoon: 'arratsaldea',\n evening: 'arratsaldea',\n night: 'gaua'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'gauerdia',\n noon: 'eguerdia',\n morning: 'goiza',\n afternoon: 'arratsaldea',\n evening: 'arratsaldea',\n night: 'gaua'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'ge',\n noon: 'eg',\n morning: 'goizean',\n afternoon: 'arratsaldean',\n evening: 'arratsaldean',\n night: 'gauean'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'gauerdia',\n noon: 'eguerdia',\n morning: 'goizean',\n afternoon: 'arratsaldean',\n evening: 'arratsaldean',\n night: 'gauean'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'gauerdia',\n noon: 'eguerdia',\n morning: 'goizean',\n afternoon: 'arratsaldean',\n evening: 'arratsaldean',\n night: 'gauean'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(k.a.|k.o.)/i,\n abbreviated: /^(k.a.|k.o.)/i,\n wide: /^(kristo aurretik|kristo ondoren)/i\n};\nvar parseEraPatterns = {\n narrow: [/^k.a./i, /^k.o./i],\n abbreviated: [/^(k.a.)/i, /^(k.o.)/i],\n wide: [/^(kristo aurretik)/i, /^(kristo ondoren)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]H/i,\n wide: /^[1234](.)? hiruhilekoa/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[uomaei]/i,\n abbreviated: /^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,\n wide: /^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^u/i, /^o/i, /^m/i, /^a/i, /^m/i, /^e/i, /^u/i, /^a/i, /^i/i, /^u/i, /^a/i, /^a/i],\n any: [/^urt/i, /^ots/i, /^mar/i, /^api/i, /^mai/i, /^eka/i, /^uzt/i, /^abu/i, /^ira/i, /^urr/i, /^aza/i, /^abe/i]\n};\nvar matchDayPatterns = {\n narrow: /^[iaol]/i,\n short: /^(ig|al|as|az|og|or|lr)/i,\n abbreviated: /^(iga|ast|ast|ast|ost|ost|lar)/i,\n wide: /^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i\n};\nvar parseDayPatterns = {\n narrow: [/^i/i, /^a/i, /^a/i, /^a/i, /^o/i, /^o/i, /^l/i],\n short: [/^ig/i, /^al/i, /^as/i, /^az/i, /^og/i, /^or/i, /^lr/i],\n abbreviated: [/^iga/i, /^ast/i, /^ast/i, /^ast/i, /^ost/i, /^ost/i, /^lar/i],\n wide: [/^igandea/i, /^astelehena/i, /^asteartea/i, /^asteazkena/i, /^osteguna/i, /^ostirala/i, /^larunbata/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,\n any: /^([ap]\\.?\\s?m\\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^ge/i,\n noon: /^eg/i,\n morning: /goiz/i,\n afternoon: /arratsaldea/i,\n evening: /arratsaldea/i,\n night: /gau/i\n },\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^gauerdia/i,\n noon: /^eguerdia/i,\n morning: /goiz/i,\n afternoon: /arratsaldea/i,\n evening: /arratsaldea/i,\n night: /gau/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'wide'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'wide'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Basque locale.\n * @language Basque\n * @iso-639-2 eus\n * @author Jacob Söderblom [@JacobSoderblom]{@link https://github.com/JacobSoderblom}\n */\n\nvar locale = {\n code: 'eu',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelativeLocalePlural","formatRelative","date","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,6BACL,MAAO,kCACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,mBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,4BACL,MAAO,iCACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,0BACL,MAAO,iCACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,kBACR,EACD,aAAc,CACZ,IAAK,8BACL,MAAO,qCACR,EACD,QAAS,CACP,IAAK,aACL,MAAO,oBACR,EACD,YAAa,CACX,IAAK,0BACL,MAAO,iCACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,uBACL,MAAO,8BACR,EACD,aAAc,CACZ,IAAK,YACL,MAAO,mBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxB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AS,OAAO,EAC3E,KAAM,CAAC,YAAa,eAAgB,cAAe,eAAgB,aAAc,aAAc,aAAa,CAC9G,EACIC,EAAyB,CAC3B,OAAQ,4DACR,IAAK,kFACP,EACIC,EAAyB,CAC3B,OAAQ,CACN,GAAI,MACJ,GAAI,MACJ,SAAU,OACV,KAAM,OACN,QAAS,QACT,UAAW,eACX,QAAS,eACT,MAAO,MACR,EACD,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,aACV,KAAM,aACN,QAAS,QACT,UAAW,eACX,QAAS,eACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EChGIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.7d92ff02.js b/assets/index.7d92ff02.js new file mode 100644 index 0000000000..6e8608ab0c --- /dev/null +++ b/assets/index.7d92ff02.js @@ -0,0 +1,2 @@ +import{d as s,e as u,f,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as d}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{regular:{one:"1 секундтан аз",singularNominative:"{{count}} секундтан аз",singularGenitive:"{{count}} секундтан аз",pluralGenitive:"{{count}} секундтан аз"},future:{one:"бір секундтан кейін",singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},xSeconds:{regular:{singularNominative:"{{count}} секунд",singularGenitive:"{{count}} секунд",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунд бұрын",singularGenitive:"{{count}} секунд бұрын",pluralGenitive:"{{count}} секунд бұрын"},future:{singularNominative:"{{count}} секундтан кейін",singularGenitive:"{{count}} секундтан кейін",pluralGenitive:"{{count}} секундтан кейін"}},halfAMinute:function(e){return e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"жарты минут ішінде":"жарты минут бұрын":"жарты минут"},lessThanXMinutes:{regular:{one:"1 минуттан аз",singularNominative:"{{count}} минуттан аз",singularGenitive:"{{count}} минуттан аз",pluralGenitive:"{{count}} минуттан аз"},future:{one:"минуттан кем ",singularNominative:"{{count}} минуттан кем",singularGenitive:"{{count}} минуттан кем",pluralGenitive:"{{count}} минуттан кем"}},xMinutes:{regular:{singularNominative:"{{count}} минут",singularGenitive:"{{count}} минут",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минут бұрын",singularGenitive:"{{count}} минут бұрын",pluralGenitive:"{{count}} минут бұрын"},future:{singularNominative:"{{count}} минуттан кейін",singularGenitive:"{{count}} минуттан кейін",pluralGenitive:"{{count}} минуттан кейін"}},aboutXHours:{regular:{singularNominative:"шамамен {{count}} сағат",singularGenitive:"шамамен {{count}} сағат",pluralGenitive:"шамамен {{count}} сағат"},future:{singularNominative:"шамамен {{count}} сағаттан кейін",singularGenitive:"шамамен {{count}} сағаттан кейін",pluralGenitive:"шамамен {{count}} сағаттан кейін"}},xHours:{regular:{singularNominative:"{{count}} сағат",singularGenitive:"{{count}} сағат",pluralGenitive:"{{count}} сағат"}},xDays:{regular:{singularNominative:"{{count}} күн",singularGenitive:"{{count}} күн",pluralGenitive:"{{count}} күн"},future:{singularNominative:"{{count}} күннен кейін",singularGenitive:"{{count}} күннен кейін",pluralGenitive:"{{count}} күннен кейін"}},aboutXWeeks:{type:"weeks",one:"шамамен 1 апта",other:"шамамен {{count}} апта"},xWeeks:{type:"weeks",one:"1 апта",other:"{{count}} апта"},aboutXMonths:{regular:{singularNominative:"шамамен {{count}} ай",singularGenitive:"шамамен {{count}} ай",pluralGenitive:"шамамен {{count}} ай"},future:{singularNominative:"шамамен {{count}} айдан кейін",singularGenitive:"шамамен {{count}} айдан кейін",pluralGenitive:"шамамен {{count}} айдан кейін"}},xMonths:{regular:{singularNominative:"{{count}} ай",singularGenitive:"{{count}} ай",pluralGenitive:"{{count}} ай"}},aboutXYears:{regular:{singularNominative:"шамамен {{count}} жыл",singularGenitive:"шамамен {{count}} жыл",pluralGenitive:"шамамен {{count}} жыл"},future:{singularNominative:"шамамен {{count}} жылдан кейін",singularGenitive:"шамамен {{count}} жылдан кейін",pluralGenitive:"шамамен {{count}} жылдан кейін"}},xYears:{regular:{singularNominative:"{{count}} жыл",singularGenitive:"{{count}} жыл",pluralGenitive:"{{count}} жыл"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}},overXYears:{regular:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"},future:{singularNominative:"{{count}} жылдан астам",singularGenitive:"{{count}} жылдан астам",pluralGenitive:"{{count}} жылдан астам"}},almostXYears:{regular:{singularNominative:"{{count}} жылға жақын",singularGenitive:"{{count}} жылға жақын",pluralGenitive:"{{count}} жылға жақын"},future:{singularNominative:"{{count}} жылдан кейін",singularGenitive:"{{count}} жылдан кейін",pluralGenitive:"{{count}} жылдан кейін"}}};function l(t,e){if(t.one&&e===1)return t.one;var n=e%10,a=e%100;return n===1&&a!==11?t.singularNominative.replace("{{count}}",String(e)):n>=2&&n<=4&&(a<10||a>20)?t.singularGenitive.replace("{{count}}",String(e)):t.pluralGenitive.replace("{{count}}",String(e))}var p=function(e,n,a){var i=h[e];return typeof i=="function"?i(a):i.type==="weeks"?n===1?i.one:i.other.replace("{{count}}",String(n)):a!=null&&a.addSuffix?a.comparison&&a.comparison>0?i.future?l(i.future,n):l(i.regular,n)+" кейін":i.past?l(i.past,n):l(i.regular,n)+" бұрын":l(i.regular,n)},G={full:"EEEE, do MMMM y 'ж.'",long:"do MMMM y 'ж.'",medium:"d MMM y 'ж.'",short:"dd.MM.yyyy"},y={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},w={any:"{{date}}, {{time}}"},b={date:s({formats:G,defaultWidth:"full"}),time:s({formats:y,defaultWidth:"full"}),dateTime:s({formats:w,defaultWidth:"any"})},c=["жексенбіде","дүйсенбіде","сейсенбіде","сәрсенбіде","бейсенбіде","жұмада","сенбіде"];function P(t){var e=c[t];return"'өткен "+e+" сағат' p'-де'"}function m(t){var e=c[t];return"'"+e+" сағат' p'-де'"}function N(t){var e=c[t];return"'келесі "+e+" сағат' p'-де'"}var W={lastWeek:function(e,n,a){var i=e.getUTCDay();return d(e,n,a)?m(i):P(i)},yesterday:"'кеше сағат' p'-де'",today:"'бүгін сағат' p'-де'",tomorrow:"'ертең сағат' p'-де'",nextWeek:function(e,n,a){var i=e.getUTCDay();return d(e,n,a)?m(i):N(i)},other:"P"},M=function(e,n,a,i){var r=W[e];return typeof r=="function"?r(n,a,i):r},k={narrow:["б.з.д.","б.з."],abbreviated:["б.з.д.","б.з."],wide:["біздің заманымызға дейін","біздің заманымыз"]},x={narrow:["1","2","3","4"],abbreviated:["1-ші тоқ.","2-ші тоқ.","3-ші тоқ.","4-ші тоқ."],wide:["1-ші тоқсан","2-ші тоқсан","3-ші тоқсан","4-ші тоқсан"]},D={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},C={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},F={narrow:["Ж","Д","С","С","Б","Ж","С"],short:["жс","дс","сс","ср","бс","жм","сб"],abbreviated:["жс","дс","сс","ср","бс","жм","сб"],wide:["жексенбі","дүйсенбі","сейсенбі","сәрсенбі","бейсенбі","жұма","сенбі"]},S={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"}},V={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түс",morning:"таң",afternoon:"күн",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түсте",morning:"таңертең",afternoon:"күндіз",evening:"кеште",night:"түнде"}},v={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},z=function(e,n){var a=Number(e),i=a%10,r=a>=100?100:null,g=v[a]||v[i]||r&&v[r]||"";return a+g},X={ordinalNumber:z,era:u({values:k,defaultWidth:"wide"}),quarter:u({values:x,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:D,defaultWidth:"wide",formattingValues:C,defaultFormattingWidth:"wide"}),day:u({values:F,defaultWidth:"wide"}),dayPeriod:u({values:S,defaultWidth:"any",formattingValues:V,defaultFormattingWidth:"wide"})},T=/^(\d+)(-?(ші|шы))?/i,E=/\d+/i,H={narrow:/^((б )?з\.?\s?д\.?)/i,abbreviated:/^((б )?з\.?\s?д\.?)/i,wide:/^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i},L={any:[/^б/i,/^з/i]},R={narrow:/^[1234]/i,abbreviated:/^[1234](-?ші)? тоқ.?/i,wide:/^[1234](-?ші)? тоқсан/i},Y={any:[/1/i,/2/i,/3/i,/4/i]},q={narrow:/^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,abbreviated:/^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,wide:/^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i},O={narrow:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i],abbreviated:[/^қаң/i,/^ақп/i,/^нау/i,/^сәу/i,/^мам/i,/^мау/i,/^шіл/i,/^там/i,/^қыр/i,/^қаз/i,/^қар/i,/^жел/i],any:[/^қ/i,/^а/i,/^н/i,/^с/i,/^м/i,/^м/i,/^ш/i,/^т/i,/^қ/i,/^қ/i,/^қ/i,/^ж/i]},U={narrow:/^(ж|д|с|с|б|ж|с)/i,short:/^(жс|дс|сс|ср|бс|жм|сб)/i,wide:/^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i},_={narrow:[/^ж/i,/^д/i,/^с/i,/^с/i,/^б/i,/^ж/i,/^с/i],short:[/^жс/i,/^дс/i,/^сс/i,/^ср/i,/^бс/i,/^жм/i,/^сб/i],any:[/^ж[ек]/i,/^д[үй]/i,/^сe[й]/i,/^сә[р]/i,/^б[ей]/i,/^ж[ұм]/i,/^се[н]/i]},A={narrow:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,wide:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,any:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},Q={any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},I={ordinalNumber:f({matchPattern:T,parsePattern:E,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),quarter:o({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),day:o({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"})},ee={code:"kk",formatDistance:p,formatLong:b,formatRelative:M,localize:X,match:I,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{ee as default}; +//# sourceMappingURL=index.7d92ff02.js.map diff --git a/assets/index.7d92ff02.js.map b/assets/index.7d92ff02.js.map new file mode 100644 index 0000000000..4706e02337 --- /dev/null +++ b/assets/index.7d92ff02.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.7d92ff02.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/kk/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n regular: {\n one: '1 секундтан аз',\n singularNominative: '{{count}} секундтан аз',\n singularGenitive: '{{count}} секундтан аз',\n pluralGenitive: '{{count}} секундтан аз'\n },\n future: {\n one: 'бір секундтан кейін',\n singularNominative: '{{count}} секундтан кейін',\n singularGenitive: '{{count}} секундтан кейін',\n pluralGenitive: '{{count}} секундтан кейін'\n }\n },\n xSeconds: {\n regular: {\n singularNominative: '{{count}} секунд',\n singularGenitive: '{{count}} секунд',\n pluralGenitive: '{{count}} секунд'\n },\n past: {\n singularNominative: '{{count}} секунд бұрын',\n singularGenitive: '{{count}} секунд бұрын',\n pluralGenitive: '{{count}} секунд бұрын'\n },\n future: {\n singularNominative: '{{count}} секундтан кейін',\n singularGenitive: '{{count}} секундтан кейін',\n pluralGenitive: '{{count}} секундтан кейін'\n }\n },\n halfAMinute: function halfAMinute(options) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'жарты минут ішінде';\n } else {\n return 'жарты минут бұрын';\n }\n }\n\n return 'жарты минут';\n },\n lessThanXMinutes: {\n regular: {\n one: '1 минуттан аз',\n singularNominative: '{{count}} минуттан аз',\n singularGenitive: '{{count}} минуттан аз',\n pluralGenitive: '{{count}} минуттан аз'\n },\n future: {\n one: 'минуттан кем ',\n singularNominative: '{{count}} минуттан кем',\n singularGenitive: '{{count}} минуттан кем',\n pluralGenitive: '{{count}} минуттан кем'\n }\n },\n xMinutes: {\n regular: {\n singularNominative: '{{count}} минут',\n singularGenitive: '{{count}} минут',\n pluralGenitive: '{{count}} минут'\n },\n past: {\n singularNominative: '{{count}} минут бұрын',\n singularGenitive: '{{count}} минут бұрын',\n pluralGenitive: '{{count}} минут бұрын'\n },\n future: {\n singularNominative: '{{count}} минуттан кейін',\n singularGenitive: '{{count}} минуттан кейін',\n pluralGenitive: '{{count}} минуттан кейін'\n }\n },\n aboutXHours: {\n regular: {\n singularNominative: 'шамамен {{count}} сағат',\n singularGenitive: 'шамамен {{count}} сағат',\n pluralGenitive: 'шамамен {{count}} сағат'\n },\n future: {\n singularNominative: 'шамамен {{count}} сағаттан кейін',\n singularGenitive: 'шамамен {{count}} сағаттан кейін',\n pluralGenitive: 'шамамен {{count}} сағаттан кейін'\n }\n },\n xHours: {\n regular: {\n singularNominative: '{{count}} сағат',\n singularGenitive: '{{count}} сағат',\n pluralGenitive: '{{count}} сағат'\n }\n },\n xDays: {\n regular: {\n singularNominative: '{{count}} күн',\n singularGenitive: '{{count}} күн',\n pluralGenitive: '{{count}} күн'\n },\n future: {\n singularNominative: '{{count}} күннен кейін',\n singularGenitive: '{{count}} күннен кейін',\n pluralGenitive: '{{count}} күннен кейін'\n }\n },\n aboutXWeeks: {\n type: 'weeks',\n one: 'шамамен 1 апта',\n other: 'шамамен {{count}} апта'\n },\n xWeeks: {\n type: 'weeks',\n one: '1 апта',\n other: '{{count}} апта'\n },\n aboutXMonths: {\n regular: {\n singularNominative: 'шамамен {{count}} ай',\n singularGenitive: 'шамамен {{count}} ай',\n pluralGenitive: 'шамамен {{count}} ай'\n },\n future: {\n singularNominative: 'шамамен {{count}} айдан кейін',\n singularGenitive: 'шамамен {{count}} айдан кейін',\n pluralGenitive: 'шамамен {{count}} айдан кейін'\n }\n },\n xMonths: {\n regular: {\n singularNominative: '{{count}} ай',\n singularGenitive: '{{count}} ай',\n pluralGenitive: '{{count}} ай'\n }\n },\n aboutXYears: {\n regular: {\n singularNominative: 'шамамен {{count}} жыл',\n singularGenitive: 'шамамен {{count}} жыл',\n pluralGenitive: 'шамамен {{count}} жыл'\n },\n future: {\n singularNominative: 'шамамен {{count}} жылдан кейін',\n singularGenitive: 'шамамен {{count}} жылдан кейін',\n pluralGenitive: 'шамамен {{count}} жылдан кейін'\n }\n },\n xYears: {\n regular: {\n singularNominative: '{{count}} жыл',\n singularGenitive: '{{count}} жыл',\n pluralGenitive: '{{count}} жыл'\n },\n future: {\n singularNominative: '{{count}} жылдан кейін',\n singularGenitive: '{{count}} жылдан кейін',\n pluralGenitive: '{{count}} жылдан кейін'\n }\n },\n overXYears: {\n regular: {\n singularNominative: '{{count}} жылдан астам',\n singularGenitive: '{{count}} жылдан астам',\n pluralGenitive: '{{count}} жылдан астам'\n },\n future: {\n singularNominative: '{{count}} жылдан астам',\n singularGenitive: '{{count}} жылдан астам',\n pluralGenitive: '{{count}} жылдан астам'\n }\n },\n almostXYears: {\n regular: {\n singularNominative: '{{count}} жылға жақын',\n singularGenitive: '{{count}} жылға жақын',\n pluralGenitive: '{{count}} жылға жақын'\n },\n future: {\n singularNominative: '{{count}} жылдан кейін',\n singularGenitive: '{{count}} жылдан кейін',\n pluralGenitive: '{{count}} жылдан кейін'\n }\n }\n};\n\nfunction declension(scheme, count) {\n // scheme for count=1 exists\n if (scheme.one && count === 1) return scheme.one;\n var rem10 = count % 10;\n var rem100 = count % 100; // 1, 21, 31, ...\n\n if (rem10 === 1 && rem100 !== 11) {\n return scheme.singularNominative.replace('{{count}}', String(count)); // 2, 3, 4, 22, 23, 24, 32 ...\n } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {\n return scheme.singularGenitive.replace('{{count}}', String(count)); // 5, 6, 7, 8, 9, 10, 11, ...\n } else {\n return scheme.pluralGenitive.replace('{{count}}', String(count));\n }\n}\n\nvar formatDistance = function formatDistance(token, count, options) {\n var tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === 'function') return tokenValue(options);\n\n if (tokenValue.type === 'weeks') {\n return count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (tokenValue.future) {\n return declension(tokenValue.future, count);\n } else {\n return declension(tokenValue.regular, count) + ' кейін';\n }\n } else {\n if (tokenValue.past) {\n return declension(tokenValue.past, count);\n } else {\n return declension(tokenValue.regular, count) + ' бұрын';\n }\n }\n } else {\n return declension(tokenValue.regular, count);\n }\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, do MMMM y 'ж.'\",\n long: \"do MMMM y 'ж.'\",\n medium: \"d MMM y 'ж.'\",\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar accusativeWeekdays = ['жексенбіде', 'дүйсенбіде', 'сейсенбіде', 'сәрсенбіде', 'бейсенбіде', 'жұмада', 'сенбіде'];\n\nfunction _lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'өткен \" + weekday + \" сағат' p'-де'\";\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'\" + weekday + \" сағат' p'-де'\";\n}\n\nfunction _nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'келесі \" + weekday + \" сағат' p'-де'\";\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'кеше сағат' p'-де'\",\n today: \"'бүгін сағат' p'-де'\",\n tomorrow: \"'ертең сағат' p'-де'\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['б.з.д.', 'б.з.'],\n abbreviated: ['б.з.д.', 'б.з.'],\n wide: ['біздің заманымызға дейін', 'біздің заманымыз']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-ші тоқ.', '2-ші тоқ.', '3-ші тоқ.', '4-ші тоқ.'],\n wide: ['1-ші тоқсан', '2-ші тоқсан', '3-ші тоқсан', '4-ші тоқсан']\n};\nvar monthValues = {\n narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'],\n abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'],\n wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан']\n};\nvar formattingMonthValues = {\n narrow: ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'],\n abbreviated: ['қаң', 'ақп', 'нау', 'сәу', 'мам', 'мау', 'шіл', 'там', 'қыр', 'қаз', 'қар', 'жел'],\n wide: ['қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', 'желтоқсан']\n};\nvar dayValues = {\n narrow: ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'],\n short: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'],\n abbreviated: ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'],\n wide: ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ТД',\n pm: 'ТК',\n midnight: 'түн ортасы',\n noon: 'түс',\n morning: 'таң',\n afternoon: 'күндіз',\n evening: 'кеш',\n night: 'түн'\n },\n wide: {\n am: 'ТД',\n pm: 'ТК',\n midnight: 'түн ортасы',\n noon: 'түс',\n morning: 'таң',\n afternoon: 'күндіз',\n evening: 'кеш',\n night: 'түн'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ТД',\n pm: 'ТК',\n midnight: 'түн ортасында',\n noon: 'түс',\n morning: 'таң',\n afternoon: 'күн',\n evening: 'кеш',\n night: 'түн'\n },\n wide: {\n am: 'ТД',\n pm: 'ТК',\n midnight: 'түн ортасында',\n noon: 'түсте',\n morning: 'таңертең',\n afternoon: 'күндіз',\n evening: 'кеште',\n night: 'түнде'\n }\n};\nvar suffixes = {\n 0: '-ші',\n 1: '-ші',\n 2: '-ші',\n 3: '-ші',\n 4: '-ші',\n 5: '-ші',\n 6: '-шы',\n 7: '-ші',\n 8: '-ші',\n 9: '-шы',\n 10: '-шы',\n 20: '-шы',\n 30: '-шы',\n 40: '-шы',\n 50: '-ші',\n 60: '-шы',\n 70: '-ші',\n 80: '-ші',\n 90: '-шы',\n 100: '-ші'\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var mod10 = number % 10;\n var b = number >= 100 ? 100 : null;\n var suffix = suffixes[number] || suffixes[mod10] || b && suffixes[b] || '';\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(ші|шы))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((б )?з\\.?\\s?д\\.?)/i,\n abbreviated: /^((б )?з\\.?\\s?д\\.?)/i,\n wide: /^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i\n};\nvar parseEraPatterns = {\n any: [/^б/i, /^з/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?ші)? тоқ.?/i,\n wide: /^[1234](-?ші)? тоқсан/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,\n abbreviated: /^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,\n wide: /^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i],\n abbreviated: [/^қаң/i, /^ақп/i, /^нау/i, /^сәу/i, /^мам/i, /^мау/i, /^шіл/i, /^там/i, /^қыр/i, /^қаз/i, /^қар/i, /^жел/i],\n any: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i]\n};\nvar matchDayPatterns = {\n narrow: /^(ж|д|с|с|б|ж|с)/i,\n short: /^(жс|дс|сс|ср|бс|жм|сб)/i,\n wide: /^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ж/i, /^д/i, /^с/i, /^с/i, /^б/i, /^ж/i, /^с/i],\n short: [/^жс/i, /^дс/i, /^сс/i, /^ср/i, /^бс/i, /^жм/i, /^сб/i],\n any: [/^ж[ек]/i, /^д[үй]/i, /^сe[й]/i, /^сә[р]/i, /^б[ей]/i, /^ж[ұм]/i, /^се[н]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^Т\\.?\\s?[ДК]\\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\\.?)/i,\n wide: /^Т\\.?\\s?[ДК]\\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\\.?)/i,\n any: /^Т\\.?\\s?[ДК]\\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\\.?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ТД/i,\n pm: /^ТК/i,\n midnight: /^түн орта/i,\n noon: /^күндіз/i,\n morning: /таң/i,\n afternoon: /түс/i,\n evening: /кеш/i,\n night: /түн/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Kazakh locale.\n * @language Kazakh\n * @iso-639-2 kaz\n * @author Nikita Bayev [@drugoi]{@link https://github.com/drugoi}\n */\n\nvar locale = {\n code: 'kk',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","options","declension","scheme","count","rem10","rem100","formatDistance","token","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","_lastWeek","day","weekday","thisWeek","_nextWeek","formatRelativeLocale","date","baseDate","isSameUTCWeek","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","suffixes","ordinalNumber","dirtyNumber","_options","number","mod10","b","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"yXAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,QAAS,CACP,IAAK,iBACL,mBAAoB,yBACpB,iBAAkB,yBAClB,eAAgB,wBACjB,EACD,OAAQ,CACN,IAAK,sBACL,mBAAoB,4BACpB,iBAAkB,4BAClB,eAAgB,2BACjB,CACF,EACD,SAAU,CACR,QAAS,CACP,mBAAoB,mBACpB,iBAAkB,mBAClB,eAAgB,kBACjB,EACD,KAAM,CACJ,mBAAoB,yBACpB,iBAAkB,yBAClB,eAAgB,wBACjB,EACD,OAAQ,CACN,mBAAoB,4BACpB,iBAAkB,4BAClB,eAAgB,2BACjB,CACF,EACD,YAAa,SAAqBC,EAAS,CACzC,OAAIA,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,qBAEA,oBAIJ,aACR,EACD,iBAAkB,CAChB,QAAS,CACP,IAAK,gBACL,mBAAoB,wBACpB,iBAAkB,wBAClB,eAAgB,uBACjB,EACD,O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,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECpFIM,GAAS,CACX,KAAM,KACN,eAAgBvD,EAChB,WAAYM,EACZ,eAAgBY,EAChB,SAAUiB,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.7fa6b9e4.js b/assets/index.7fa6b9e4.js new file mode 100644 index 0000000000..ab150f7440 --- /dev/null +++ b/assets/index.7fa6b9e4.js @@ -0,0 +1,2 @@ +import{d as k,e as i,f as c,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function d(a){return a.replace(/sekuntia?/,"sekunnin")}function h(a){return a.replace(/minuuttia?/,"minuutin")}function v(a){return a.replace(/tuntia?/,"tunnin")}function y(a){return a.replace(/päivää?/,"päivän")}function f(a){return a.replace(/(viikko|viikkoa)/,"viikon")}function p(a){return a.replace(/(kuukausi|kuukautta)/,"kuukauden")}function o(a){return a.replace(/(vuosi|vuotta)/,"vuoden")}var b={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:d},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:d},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(e){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:h},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:h},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:v},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:v},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:y},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:f},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:f},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:p},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:p},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:o},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:o},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:o},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:o}},w=function(e,n,t){var r=b[e],s=n===1?r.one:r.other.replace("{{count}}",String(n));return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r.futureTense(s)+" kuluttua":s+" sitten":s},P={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},g={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},M={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},T={date:k({formats:P,defaultWidth:"full"}),time:k({formats:g,defaultWidth:"full"}),dateTime:k({formats:M,defaultWidth:"full"})},W={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},j=function(e,n,t,r){return W[e]},H={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},D={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},m={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},x={narrow:m.narrow,abbreviated:m.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},l={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},F={narrow:l.narrow,short:l.short,abbreviated:l.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},V={narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},z=function(e,n){var t=Number(e);return t+"."},L={ordinalNumber:z,era:i({values:H,defaultWidth:"wide"}),quarter:i({values:D,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:m,defaultWidth:"wide",formattingValues:x,defaultFormattingWidth:"wide"}),day:i({values:l,defaultWidth:"wide",formattingValues:F,defaultFormattingWidth:"wide"}),dayPeriod:i({values:V,defaultWidth:"wide"})},S=/^(\d+)(\.)/i,X=/\d+/i,C={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},N={any:[/^e/i,/^j/i]},Q={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},Y={any:[/1/i,/2/i,/3/i,/4/i]},_={narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},q={narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},R={narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},E={narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},O={narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},K={any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},A={ordinalNumber:c({matchPattern:S,parsePattern:X,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),quarter:u({matchPatterns:Q,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:_,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),day:u({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:O,defaultMatchWidth:"any",parsePatterns:K,defaultParseWidth:"any"})},Z={code:"fi",formatDistance:w,formatLong:T,formatRelative:j,localize:L,match:A,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Z as default}; +//# sourceMappingURL=index.7fa6b9e4.js.map diff --git a/assets/index.7fa6b9e4.js.map b/assets/index.7fa6b9e4.js.map new file mode 100644 index 0000000000..a856d1b6c0 --- /dev/null +++ b/assets/index.7fa6b9e4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.7fa6b9e4.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fi/index.js"],"sourcesContent":["function futureSeconds(text) {\n return text.replace(/sekuntia?/, 'sekunnin');\n}\n\nfunction futureMinutes(text) {\n return text.replace(/minuuttia?/, 'minuutin');\n}\n\nfunction futureHours(text) {\n return text.replace(/tuntia?/, 'tunnin');\n}\n\nfunction futureDays(text) {\n return text.replace(/päivää?/, 'päivän');\n}\n\nfunction futureWeeks(text) {\n return text.replace(/(viikko|viikkoa)/, 'viikon');\n}\n\nfunction futureMonths(text) {\n return text.replace(/(kuukausi|kuukautta)/, 'kuukauden');\n}\n\nfunction futureYears(text) {\n return text.replace(/(vuosi|vuotta)/, 'vuoden');\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'alle sekunti',\n other: 'alle {{count}} sekuntia',\n futureTense: futureSeconds\n },\n xSeconds: {\n one: 'sekunti',\n other: '{{count}} sekuntia',\n futureTense: futureSeconds\n },\n halfAMinute: {\n one: 'puoli minuuttia',\n other: 'puoli minuuttia',\n futureTense: function futureTense(_text) {\n return 'puolen minuutin';\n }\n },\n lessThanXMinutes: {\n one: 'alle minuutti',\n other: 'alle {{count}} minuuttia',\n futureTense: futureMinutes\n },\n xMinutes: {\n one: 'minuutti',\n other: '{{count}} minuuttia',\n futureTense: futureMinutes\n },\n aboutXHours: {\n one: 'noin tunti',\n other: 'noin {{count}} tuntia',\n futureTense: futureHours\n },\n xHours: {\n one: 'tunti',\n other: '{{count}} tuntia',\n futureTense: futureHours\n },\n xDays: {\n one: 'päivä',\n other: '{{count}} päivää',\n futureTense: futureDays\n },\n aboutXWeeks: {\n one: 'noin viikko',\n other: 'noin {{count}} viikkoa',\n futureTense: futureWeeks\n },\n xWeeks: {\n one: 'viikko',\n other: '{{count}} viikkoa',\n futureTense: futureWeeks\n },\n aboutXMonths: {\n one: 'noin kuukausi',\n other: 'noin {{count}} kuukautta',\n futureTense: futureMonths\n },\n xMonths: {\n one: 'kuukausi',\n other: '{{count}} kuukautta',\n futureTense: futureMonths\n },\n aboutXYears: {\n one: 'noin vuosi',\n other: 'noin {{count}} vuotta',\n futureTense: futureYears\n },\n xYears: {\n one: 'vuosi',\n other: '{{count}} vuotta',\n futureTense: futureYears\n },\n overXYears: {\n one: 'yli vuosi',\n other: 'yli {{count}} vuotta',\n futureTense: futureYears\n },\n almostXYears: {\n one: 'lähes vuosi',\n other: 'lähes {{count}} vuotta',\n futureTense: futureYears\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var tokenValue = formatDistanceLocale[token];\n var result = count === 1 ? tokenValue.one : tokenValue.other.replace('{{count}}', String(count));\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return tokenValue.futureTense(result) + ' kuluttua';\n } else {\n return result + ' sitten';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'eeee d. MMMM y',\n long: 'd. MMMM y',\n medium: 'd. MMM y',\n short: 'd.M.y'\n};\nvar timeFormats = {\n full: 'HH.mm.ss zzzz',\n long: 'HH.mm.ss z',\n medium: 'HH.mm.ss',\n short: 'HH.mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'klo' {{time}}\",\n long: \"{{date}} 'klo' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'viime' eeee 'klo' p\",\n yesterday: \"'eilen klo' p\",\n today: \"'tänään klo' p\",\n tomorrow: \"'huomenna klo' p\",\n nextWeek: \"'ensi' eeee 'klo' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['eaa.', 'jaa.'],\n abbreviated: ['eaa.', 'jaa.'],\n wide: ['ennen ajanlaskun alkua', 'jälkeen ajanlaskun alun']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. kvartaali', '2. kvartaali', '3. kvartaali', '4. kvartaali']\n};\nvar monthValues = {\n narrow: ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'],\n abbreviated: ['tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu'],\n wide: ['tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu']\n};\nvar formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: monthValues.abbreviated,\n wide: ['tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta', 'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'K', 'T', 'P', 'L'],\n short: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],\n abbreviated: ['sunn.', 'maan.', 'tiis.', 'kesk.', 'torst.', 'perj.', 'la'],\n wide: ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai']\n};\nvar formattingDayValues = {\n narrow: dayValues.narrow,\n short: dayValues.short,\n abbreviated: dayValues.abbreviated,\n wide: ['sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', 'lauantaina']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ap',\n pm: 'ip',\n midnight: 'keskiyö',\n noon: 'keskipäivä',\n morning: 'ap',\n afternoon: 'ip',\n evening: 'illalla',\n night: 'yöllä'\n },\n abbreviated: {\n am: 'ap',\n pm: 'ip',\n midnight: 'keskiyö',\n noon: 'keskipäivä',\n morning: 'ap',\n afternoon: 'ip',\n evening: 'illalla',\n night: 'yöllä'\n },\n wide: {\n am: 'ap',\n pm: 'ip',\n midnight: 'keskiyöllä',\n noon: 'keskipäivällä',\n morning: 'aamupäivällä',\n afternoon: 'iltapäivällä',\n evening: 'illalla',\n night: 'yöllä'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(e|j)/i,\n abbreviated: /^(eaa.|jaa.)/i,\n wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i\n};\nvar parseEraPatterns = {\n any: [/^e/i, /^j/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\.? kvartaali/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[thmkeslj]/i,\n abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,\n wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i\n};\nvar parseMonthPatterns = {\n narrow: [/^t/i, /^h/i, /^m/i, /^h/i, /^t/i, /^k/i, /^h/i, /^e/i, /^s/i, /^l/i, /^m/i, /^j/i],\n any: [/^ta/i, /^hel/i, /^maa/i, /^hu/i, /^to/i, /^k/i, /^hei/i, /^e/i, /^s/i, /^l/i, /^mar/i, /^j/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtkpl]/i,\n short: /^(su|ma|ti|ke|to|pe|la)/i,\n abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,\n wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],\n any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,\n any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ap/i,\n pm: /^ip/i,\n midnight: /^keskiyö/i,\n noon: /^keskipäivä/i,\n morning: /aamupäivällä/i,\n afternoon: /iltapäivällä/i,\n evening: /illalla/i,\n night: /yöllä/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Finnish locale.\n * @language Finnish\n * @iso-639-2 fin\n * @author Pyry-Samuli Lahti [@Pyppe]{@link https://github.com/Pyppe}\n * @author Edo Rivai [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}\n * @author Samu Juvonen [@sjuvonen]{@link https://github.com/sjuvonen}\n */\n\nvar locale = {\n code: 'fi',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["futureSeconds","text","futureMinutes","futureHours","futureDays","futureWeeks","futureMonths","futureYears","formatDistanceLocale","_text","formatDistance","token","count","options","tokenValue","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,SAASA,EAAcC,EAAM,CAC3B,OAAOA,EAAK,QAAQ,YAAa,UAAU,CAC7C,CAEA,SAASC,EAAcD,EAAM,CAC3B,OAAOA,EAAK,QAAQ,aAAc,UAAU,CAC9C,CAEA,SAASE,EAAYF,EAAM,CACzB,OAAOA,EAAK,QAAQ,UAAW,QAAQ,CACzC,CAEA,SAASG,EAAWH,EAAM,CACxB,OAAOA,EAAK,QAAQ,UAAW,QAAQ,CACzC,CAEA,SAASI,EAAYJ,EAAM,CACzB,OAAOA,EAAK,QAAQ,mBAAoB,QAAQ,CAClD,CAEA,SAASK,EAAaL,EAAM,CAC1B,OAAOA,EAAK,QAAQ,uBAAwB,WAAW,CACzD,CAEA,SAASM,EAAYN,EAAM,CACzB,OAAOA,EAAK,QAAQ,iBAAkB,QAAQ,CAChD,CAEA,IAAIO,EAAuB,CACzB,iBAAkB,CAChB,IAAK,eACL,MAAO,0BACP,YAAaR,CACd,EACD,SAAU,CACR,IAAK,UACL,MAAO,qBACP,YAAaA,CACd,EACD,YAAa,CACX,IAAK,kBACL,MAAO,kBACP,YAAa,SAAqBS,EAAO,CACvC,MAAO,iBACR,CACF,EACD,iBAAkB,CAChB,IAAK,gBACL,MAAO,2BACP,YAAaP,CACd,EACD,SAAU,CACR,IAAK,WACL,MAAO,sBACP,YAAaA,CACd,EACD,YAAa,CACX,IAAK,aACL,MAAO,wBACP,YAAaC,CACd,EACD,OAAQ,CACN,IAAK,QACL,MAAO,mBACP,YAAaA,CACd,EACD,MAAO,CACL,IAAK,QACL,MAAO,mBACP,YAAaC,CACd,EACD,YAAa,CACX,IAAK,cACL,MAAO,yBACP,YAAaC,CACd,E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mB,CACrB,OAAQ,aACR,MAAO,2BACP,YAAa,8CACb,KAAM,6EACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,MAAO,MAAO,OAAQ,MAAO,OAAQ,MAAO,KAAK,CACzD,EACIC,EAAyB,CAC3B,OAAQ,uEACR,IAAK,4EACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,YACV,KAAM,eACN,QAAS,gBACT,UAAW,gBACX,QAAS,WACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EChFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.7fdd26b2.js b/assets/index.7fdd26b2.js new file mode 100644 index 0000000000..0c4b603a62 --- /dev/null +++ b/assets/index.7fdd26b2.js @@ -0,0 +1,2 @@ +import{e as t,f as d,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},N=function(e,i,a){var r,n=u[e];return typeof n=="string"?r=n:i===1?r=n.one:r=n.other.replace("{{count}}",String(i)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"dans "+r:"il y a "+r:r},l={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},v={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},h={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},c={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},f={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},b=function(e,i){var a=Number(e),r=i==null?void 0:i.unit;if(a===0)return"0";var n=["year","week","hour","minute","second"],m;return a===1?m=r&&n.includes(r)?"ère":"er":m="ème",a+m},X={ordinalNumber:b,era:t({values:l,defaultWidth:"wide"}),quarter:t({values:v,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t({values:h,defaultWidth:"wide"}),day:t({values:c,defaultWidth:"wide"}),dayPeriod:t({values:f,defaultWidth:"wide"})},p=/^(\d+)(ième|ère|ème|er|e)?/i,P=/\d+/i,j={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},w={any:[/^av/i,/^ap/i]},y={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},M={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},g={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},J={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},W={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},x={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},D={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},T={ordinalNumber:d({matchPattern:p,parsePattern:P,valueCallback:function(e){return parseInt(e)}}),era:s({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:w,defaultParseWidth:"any"}),quarter:s({matchPatterns:y,defaultMatchWidth:"wide",parsePatterns:M,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any"}),day:s({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:W,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:x,defaultMatchWidth:"any",parsePatterns:D,defaultParseWidth:"any"})};export{N as f,X as l,T as m}; +//# sourceMappingURL=index.7fdd26b2.js.map diff --git a/assets/index.7fdd26b2.js.map b/assets/index.7fdd26b2.js.map new file mode 100644 index 0000000000..220daabef3 --- /dev/null +++ b/assets/index.7fdd26b2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.7fdd26b2.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr/_lib/match/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'moins d’une seconde',\n other: 'moins de {{count}} secondes'\n },\n xSeconds: {\n one: '1 seconde',\n other: '{{count}} secondes'\n },\n halfAMinute: '30 secondes',\n lessThanXMinutes: {\n one: 'moins d’une minute',\n other: 'moins de {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'environ 1 heure',\n other: 'environ {{count}} heures'\n },\n xHours: {\n one: '1 heure',\n other: '{{count}} heures'\n },\n xDays: {\n one: '1 jour',\n other: '{{count}} jours'\n },\n aboutXWeeks: {\n one: 'environ 1 semaine',\n other: 'environ {{count}} semaines'\n },\n xWeeks: {\n one: '1 semaine',\n other: '{{count}} semaines'\n },\n aboutXMonths: {\n one: 'environ 1 mois',\n other: 'environ {{count}} mois'\n },\n xMonths: {\n one: '1 mois',\n other: '{{count}} mois'\n },\n aboutXYears: {\n one: 'environ 1 an',\n other: 'environ {{count}} ans'\n },\n xYears: {\n one: '1 an',\n other: '{{count}} ans'\n },\n overXYears: {\n one: 'plus d’un an',\n other: 'plus de {{count}} ans'\n },\n almostXYears: {\n one: 'presqu’un an',\n other: 'presque {{count}} ans'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var form = formatDistanceLocale[token];\n\n if (typeof form === 'string') {\n result = form;\n } else if (count === 1) {\n result = form.one;\n } else {\n result = form.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'dans ' + result;\n } else {\n return 'il y a ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['av. J.-C', 'ap. J.-C'],\n abbreviated: ['av. J.-C', 'ap. J.-C'],\n wide: ['avant Jésus-Christ', 'après Jésus-Christ']\n};\nvar quarterValues = {\n narrow: ['T1', 'T2', 'T3', 'T4'],\n abbreviated: ['1er trim.', '2ème trim.', '3ème trim.', '4ème trim.'],\n wide: ['1er trimestre', '2ème trimestre', '3ème trimestre', '4ème trimestre']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],\n wide: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre']\n};\nvar dayValues = {\n narrow: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],\n short: ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'],\n abbreviated: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],\n wide: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minuit',\n noon: 'midi',\n morning: 'mat.',\n afternoon: 'ap.m.',\n evening: 'soir',\n night: 'mat.'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minuit',\n noon: 'midi',\n morning: 'matin',\n afternoon: 'après-midi',\n evening: 'soir',\n night: 'matin'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'minuit',\n noon: 'midi',\n morning: 'du matin',\n afternoon: 'de l’après-midi',\n evening: 'du soir',\n night: 'du matin'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n if (number === 0) return '0';\n var feminineUnits = ['year', 'week', 'hour', 'minute', 'second'];\n var suffix;\n\n if (number === 1) {\n suffix = unit && feminineUnits.includes(unit) ? 'ère' : 'er';\n } else {\n suffix = 'ème';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ième|ère|ème|er|e)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(av\\.J\\.C|ap\\.J\\.C|ap\\.J\\.-C)/i,\n abbreviated: /^(av\\.J\\.-C|av\\.J-C|apr\\.J\\.-C|apr\\.J-C|ap\\.J-C)/i,\n wide: /^(avant Jésus-Christ|après Jésus-Christ)/i\n};\nvar parseEraPatterns = {\n any: [/^av/i, /^ap/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^T?[1234]/i,\n abbreviated: /^[1234](er|ème|e)? trim\\.?/i,\n wide: /^[1234](er|ème|e)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\\.?/i,\n wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^av/i, /^ma/i, /^juin/i, /^juil/i, /^ao/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[lmjvsd]/i,\n short: /^(di|lu|ma|me|je|ve|sa)/i,\n abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\\.?/i,\n wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],\n any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|minuit|midi|mat\\.?|ap\\.?m\\.?|soir|nuit)/i,\n any: /^([ap]\\.?\\s?m\\.?|du matin|de l'après[-\\s]midi|du soir|de la nuit)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^min/i,\n noon: /^mid/i,\n morning: /mat/i,\n afternoon: /ap/i,\n evening: /soir/i,\n night: /nuit/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","form","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","unit","feminineUnits","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index"],"mappings":"0IAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,kBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,oBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,EACD,QAAS,CACP,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,eACR,EACD,WAAY,CACV,IAAK,eACL,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,eACL,MAAO,uBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,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,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EAC3F,IAAK,CAAC,OAAQ,MAAO,QAAS,OAAQ,OAAQ,SAAU,SAAU,OAAQ,MAAO,MAAO,MAAO,KAAK,CACtG,EACIC,EAAmB,CACrB,OAAQ,aACR,MAAO,2BACP,YAAa,qCACb,KAAM,yDACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAM,CAC9D,EACIC,EAAyB,CAC3B,OAAQ,iDACR,IAAK,oEACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,QACV,KAAM,QACN,QAAS,OACT,UAAW,MACX,QAAS,QACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,CAAK,CACtB,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH"} \ No newline at end of file diff --git a/assets/index.8126c63d.js b/assets/index.8126c63d.js new file mode 100644 index 0000000000..719467f7c8 --- /dev/null +++ b/assets/index.8126c63d.js @@ -0,0 +1,2 @@ +import{d as s,e as n,f as m,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"بىر سىكۇنت ئىچىدە",other:"سىكۇنت ئىچىدە {{count}}"},xSeconds:{one:"بىر سىكۇنت",other:"سىكۇنت {{count}}"},halfAMinute:"يىرىم مىنۇت",lessThanXMinutes:{one:"بىر مىنۇت ئىچىدە",other:"مىنۇت ئىچىدە {{count}}"},xMinutes:{one:"بىر مىنۇت",other:"مىنۇت {{count}}"},aboutXHours:{one:"تەخمىنەن بىر سائەت",other:"سائەت {{count}} تەخمىنەن"},xHours:{one:"بىر سائەت",other:"سائەت {{count}}"},xDays:{one:"بىر كۈن",other:"كۈن {{count}}"},aboutXWeeks:{one:"تەخمىنەن بىرھەپتە",other:"ھەپتە {{count}} تەخمىنەن"},xWeeks:{one:"بىرھەپتە",other:"ھەپتە {{count}}"},aboutXMonths:{one:"تەخمىنەن بىر ئاي",other:"ئاي {{count}} تەخمىنەن"},xMonths:{one:"بىر ئاي",other:"ئاي {{count}}"},aboutXYears:{one:"تەخمىنەن بىر يىل",other:"يىل {{count}} تەخمىنەن"},xYears:{one:"بىر يىل",other:"يىل {{count}}"},overXYears:{one:"بىر يىلدىن ئارتۇق",other:"يىلدىن ئارتۇق {{count}}"},almostXYears:{one:"ئاساسەن بىر يىل",other:"يىل {{count}} ئاساسەن"}},l=function(a,o,t){var e,d=u[a];return typeof d=="string"?e=d:o===1?e=d.one:e=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e:e+" بولدى":e},h={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},f={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:c,defaultWidth:"full"})},g={lastWeek:"'ئ‍ۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"},b=function(a,o,t,e){return g[a]},P={narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},w={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},y={narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},p={narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},M={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەن",afternoon:"چۈشتىن كىيىن",evening:"ئاخشىم",night:"كىچە"}},W={narrow:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},abbreviated:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"},wide:{am:"ئە",pm:"چ",midnight:"ك",noon:"چ",morning:"ئەتىگەندە",afternoon:"چۈشتىن كىيىن",evening:"ئاخشامدا",night:"كىچىدە"}},k=function(a,o){return String(a)},D={ordinalNumber:k,era:n({values:P,defaultWidth:"wide"}),quarter:n({values:w,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:y,defaultWidth:"wide"}),day:n({values:p,defaultWidth:"wide"}),dayPeriod:n({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(th|st|nd|rd)?/i,F=/\d+/i,z={narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},V={any:[/^بۇرۇن/i,/^كىيىن/i]},X={narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},C={any:[/1/i,/2/i,/3/i,/4/i]},E={narrow:/^[يفمئامئ‍ئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},L={narrow:[/^ي/i,/^ف/i,/^م/i,/^ا/i,/^م/i,/^ى‍/i,/^ى‍/i,/^ا‍/i,/^س/i,/^ۆ/i,/^ن/i,/^د/i],any:[/^يان/i,/^فېۋ/i,/^مار/i,/^ئاپ/i,/^ماي/i,/^ئىيۇن/i,/^ئىيول/i,/^ئاۋ/i,/^سىن/i,/^ئۆك/i,/^نوي/i,/^دىك/i]},N={narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},S={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},R={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},T={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},Y={ordinalNumber:m({matchPattern:x,parsePattern:F,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},A={code:"ug",formatDistance:l,formatLong:v,formatRelative:b,localize:D,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.8126c63d.js.map diff --git a/assets/index.8126c63d.js.map b/assets/index.8126c63d.js.map new file mode 100644 index 0000000000..ef525d310c --- /dev/null +++ b/assets/index.8126c63d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.8126c63d.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ug/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'بىر سىكۇنت ئىچىدە',\n other: 'سىكۇنت ئىچىدە {{count}}'\n },\n xSeconds: {\n one: 'بىر سىكۇنت',\n other: 'سىكۇنت {{count}}'\n },\n halfAMinute: 'يىرىم مىنۇت',\n lessThanXMinutes: {\n one: 'بىر مىنۇت ئىچىدە',\n other: 'مىنۇت ئىچىدە {{count}}'\n },\n xMinutes: {\n one: 'بىر مىنۇت',\n other: 'مىنۇت {{count}}'\n },\n aboutXHours: {\n one: 'تەخمىنەن بىر سائەت',\n other: 'سائەت {{count}} تەخمىنەن'\n },\n xHours: {\n one: 'بىر سائەت',\n other: 'سائەت {{count}}'\n },\n xDays: {\n one: 'بىر كۈن',\n other: 'كۈن {{count}}'\n },\n aboutXWeeks: {\n one: 'تەخمىنەن بىرھەپتە',\n other: 'ھەپتە {{count}} تەخمىنەن'\n },\n xWeeks: {\n one: 'بىرھەپتە',\n other: 'ھەپتە {{count}}'\n },\n aboutXMonths: {\n one: 'تەخمىنەن بىر ئاي',\n other: 'ئاي {{count}} تەخمىنەن'\n },\n xMonths: {\n one: 'بىر ئاي',\n other: 'ئاي {{count}}'\n },\n aboutXYears: {\n one: 'تەخمىنەن بىر يىل',\n other: 'يىل {{count}} تەخمىنەن'\n },\n xYears: {\n one: 'بىر يىل',\n other: 'يىل {{count}}'\n },\n overXYears: {\n one: 'بىر يىلدىن ئارتۇق',\n other: 'يىلدىن ئارتۇق {{count}}'\n },\n almostXYears: {\n one: 'ئاساسەن بىر يىل',\n other: 'يىل {{count}} ئاساسەن'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result;\n } else {\n return result + ' بولدى';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'دە' {{time}}\",\n long: \"{{date}} 'دە' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'ئ‍ۆتكەن' eeee 'دە' p\",\n yesterday: \"'تۈنۈگۈن دە' p\",\n today: \"'بۈگۈن دە' p\",\n tomorrow: \"'ئەتە دە' p\",\n nextWeek: \"eeee 'دە' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ب', 'ك'],\n abbreviated: ['ب', 'ك'],\n wide: ['مىيلادىدىن بۇرۇن', 'مىيلادىدىن كىيىن']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1', '2', '3', '4'],\n wide: ['بىرىنجى چارەك', 'ئىككىنجى چارەك', 'ئۈچىنجى چارەك', 'تۆتىنجى چارەك']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['ي', 'ف', 'م', 'ا', 'م', 'ى', 'ى', 'ا', 'س', 'ۆ', 'ن', 'د'],\n abbreviated: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر'],\n wide: ['يانۋار', 'فېۋىرال', 'مارت', 'ئاپرىل', 'ماي', 'ئىيۇن', 'ئىيول', 'ئاۋغۇست', 'سىنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دىكابىر']\n};\nvar dayValues = {\n narrow: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],\n short: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],\n abbreviated: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'],\n wide: ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەن',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشىم',\n night: 'كىچە'\n },\n abbreviated: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەن',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشىم',\n night: 'كىچە'\n },\n wide: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەن',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشىم',\n night: 'كىچە'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەندە',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشامدا',\n night: 'كىچىدە'\n },\n abbreviated: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەندە',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشامدا',\n night: 'كىچىدە'\n },\n wide: {\n am: 'ئە',\n pm: 'چ',\n midnight: 'ك',\n noon: 'چ',\n morning: 'ئەتىگەندە',\n afternoon: 'چۈشتىن كىيىن',\n evening: 'ئاخشامدا',\n night: 'كىچىدە'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ب|ك)/i,\n wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i\n};\nvar parseEraPatterns = {\n any: [/^بۇرۇن/i, /^كىيىن/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^چ[1234]/i,\n wide: /^چارەك [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n // eslint-disable-next-line no-misleading-character-class\n narrow: /^[يفمئامئ‍ئاسۆند]/i,\n abbreviated: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,\n wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ي/i, /^ف/i, /^م/i, /^ا/i, /^م/i, /^ى‍/i, /^ى‍/i, /^ا‍/i, /^س/i, /^ۆ/i, /^ن/i, /^د/i],\n any: [/^يان/i, /^فېۋ/i, /^مار/i, /^ئاپ/i, /^ماي/i, /^ئىيۇن/i, /^ئىيول/i, /^ئاۋ/i, /^سىن/i, /^ئۆك/i, /^نوي/i, /^دىك/i]\n};\nvar matchDayPatterns = {\n narrow: /^[دسچپجشي]/i,\n short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,\n any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە‍|چۈشتىن كىيىن|ئاخشىم|كىچە))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ئە/i,\n pm: /^چ/i,\n midnight: /^ك/i,\n noon: /^چ/i,\n morning: /ئەتىگەن/i,\n afternoon: /چۈشتىن كىيىن/i,\n evening: /ئاخشىم/i,\n night: /كىچە/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Uighur locale\n * @language Uighur\n * @iso-639-2 uig\n * @author Abduwaly M. [@abduwaly]{@link https://github.com/abduwaly}\n */\n\nvar locale = {\n code: 'ug',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,oBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,kBACR,EACD,YAAa,cACb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,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.84dcbf24.js b/assets/index.84dcbf24.js new file mode 100644 index 0000000000..eed3cfc0ea --- /dev/null +++ b/assets/index.84dcbf24.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as u,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},l=function(a,r,e){var t,d=m[a];return typeof d=="string"?t=d:r===1?t=d.one:t=d.other.replace("{{count}}",r.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?t+" 후":t+" 전":t},h={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},c={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},f={date:s({formats:h,defaultWidth:"full"}),time:s({formats:c,defaultWidth:"full"}),dateTime:s({formats:v,defaultWidth:"full"})},b={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},g=function(a,r,e,t){return b[a]},P={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},p={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},w={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},y={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},W={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},M={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},k=function(a,r){var e=Number(a),t=String(r==null?void 0:r.unit);switch(t){case"minute":case"second":return String(e);case"date":return e+"일";default:return e+"번째"}},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:W,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},x=/^(\d+)(일|번째)?/i,C=/\d+/i,F={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},z={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},H={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},V={any:[/1/i,/2/i,/3/i,/4/i]},X={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},N={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},S={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},E={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},L={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},Q={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},q={ordinalNumber:u({matchPattern:x,parsePattern:C,valueCallback:function(a){return parseInt(a,10)}}),era:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:o({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:o({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:L,defaultMatchWidth:"any",parsePatterns:Q,defaultParseWidth:"any"})},_={code:"ko",formatDistance:l,formatLong:f,formatRelative:g,localize:D,match:q,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.84dcbf24.js.map diff --git a/assets/index.84dcbf24.js.map b/assets/index.84dcbf24.js.map new file mode 100644 index 0000000000..04ed5d3a6a --- /dev/null +++ b/assets/index.84dcbf24.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.84dcbf24.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ko/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '1초 미만',\n other: '{{count}}초 미만'\n },\n xSeconds: {\n one: '1초',\n other: '{{count}}초'\n },\n halfAMinute: '30초',\n lessThanXMinutes: {\n one: '1분 미만',\n other: '{{count}}분 미만'\n },\n xMinutes: {\n one: '1분',\n other: '{{count}}분'\n },\n aboutXHours: {\n one: '약 1시간',\n other: '약 {{count}}시간'\n },\n xHours: {\n one: '1시간',\n other: '{{count}}시간'\n },\n xDays: {\n one: '1일',\n other: '{{count}}일'\n },\n aboutXWeeks: {\n one: '약 1주',\n other: '약 {{count}}주'\n },\n xWeeks: {\n one: '1주',\n other: '{{count}}주'\n },\n aboutXMonths: {\n one: '약 1개월',\n other: '약 {{count}}개월'\n },\n xMonths: {\n one: '1개월',\n other: '{{count}}개월'\n },\n aboutXYears: {\n one: '약 1년',\n other: '약 {{count}}년'\n },\n xYears: {\n one: '1년',\n other: '{{count}}년'\n },\n overXYears: {\n one: '1년 이상',\n other: '{{count}}년 이상'\n },\n almostXYears: {\n one: '거의 1년',\n other: '거의 {{count}}년'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' 후';\n } else {\n return result + ' 전';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'y년 M월 d일 EEEE',\n long: 'y년 M월 d일',\n medium: 'y.MM.dd',\n short: 'y.MM.dd'\n};\nvar timeFormats = {\n full: 'a H시 mm분 ss초 zzzz',\n long: 'a H:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'지난' eeee p\",\n yesterday: \"'어제' p\",\n today: \"'오늘' p\",\n tomorrow: \"'내일' p\",\n nextWeek: \"'다음' eeee p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['BC', 'AD'],\n abbreviated: ['BC', 'AD'],\n wide: ['기원전', '서기']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1분기', '2분기', '3분기', '4분기']\n};\nvar monthValues = {\n narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n abbreviated: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],\n wide: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월']\n};\nvar dayValues = {\n narrow: ['일', '월', '화', '수', '목', '금', '토'],\n short: ['일', '월', '화', '수', '목', '금', '토'],\n abbreviated: ['일', '월', '화', '수', '목', '금', '토'],\n wide: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일']\n};\nvar dayPeriodValues = {\n narrow: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n },\n abbreviated: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n },\n wide: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n },\n abbreviated: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n },\n wide: {\n am: '오전',\n pm: '오후',\n midnight: '자정',\n noon: '정오',\n morning: '아침',\n afternoon: '오후',\n evening: '저녁',\n night: '밤'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n\n switch (unit) {\n case 'minute':\n case 'second':\n return String(number);\n\n case 'date':\n return number + '일';\n\n default:\n return number + '번째';\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(일|번째)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(기원전|서기)/i\n};\nvar parseEraPatterns = {\n any: [/^(bc|기원전)/i, /^(ad|서기)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]사?분기/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(1[012]|[123456789])/,\n abbreviated: /^(1[012]|[123456789])월/i,\n wide: /^(1[012]|[123456789])월/i\n};\nvar parseMonthPatterns = {\n any: [/^1월?$/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]\n};\nvar matchDayPatterns = {\n narrow: /^[일월화수목금토]/,\n short: /^[일월화수목금토]/,\n abbreviated: /^[일월화수목금토]/,\n wide: /^[일월화수목금토]요일/\n};\nvar parseDayPatterns = {\n any: [/^일/, /^월/, /^화/, /^수/, /^목/, /^금/, /^토/]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(am|오전)/i,\n pm: /^(pm|오후)/i,\n midnight: /^자정/i,\n noon: /^정오/i,\n morning: /^아침/i,\n afternoon: /^오후/i,\n evening: /^저녁/i,\n night: /^밤/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Korean locale.\n * @language Korean\n * @iso-639-2 kor\n * @author Hong Chulju [@angdev]{@link https://github.com/angdev}\n * @author Lee Seoyoen [@iamssen]{@link https://github.com/iamssen}\n * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles}\n */\n\nvar locale = {\n code: 'ko',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,QACL,MAAO,eACR,EACD,SAAU,CACR,IAAK,KACL,MAAO,YACR,EACD,YAAa,MACb,iBAAkB,CAChB,IAAK,QACL,MAAO,eACR,EACD,SAAU,CACR,IAAK,KACL,MAAO,YACR,EACD,YAAa,CACX,IAAK,QACL,MAAO,eACR,EACD,OAAQ,CACN,IAAK,MACL,MAAO,aAC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M,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,MAAO,MAAO,KAAK,CACpF,EACIC,EAAmB,CACrB,OAAQ,aACR,MAAO,aACP,YAAa,aACb,KAAM,cACR,EACIC,EAAmB,CACrB,IAAK,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,CAChD,EACIC,EAAyB,CAC3B,IAAK,+BACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,YACJ,GAAI,YACJ,SAAU,OACV,KAAM,OACN,QAAS,OACT,UAAW,OACX,QAAS,OACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC7EIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.8db34127.js b/assets/index.8db34127.js new file mode 100644 index 0000000000..d4cc6892e0 --- /dev/null +++ b/assets/index.8db34127.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as m,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}},l=function(a,o,t){var e,d=u[a];return typeof d=="string"?e=d:o===1?e=d.one:e=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a==="halfAMinute"?"ใน"+e:"ใน "+e:e+"ที่ผ่านมา":e},h={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},c={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},f={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:c,defaultWidth:"medium"}),dateTime:s({formats:f,defaultWidth:"full"})},b={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},g=function(a,o,t,e){return b[a]},P={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},y={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},p={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},w={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},M={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},W={narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},k=function(a,o){return String(a)},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:y,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^\d+/i,C=/\d+/i,F={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},z={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},V={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},X={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},E={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},H={wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},L={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},N={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},Q={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},S={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},B={ordinalNumber:m({matchPattern:x,parsePattern:C,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:n({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:Q,defaultMatchWidth:"any",parsePatterns:S,defaultParseWidth:"any"})},_={code:"th",formatDistance:l,formatLong:v,formatRelative:g,localize:D,match:B,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.8db34127.js.map diff --git a/assets/index.8db34127.js.map b/assets/index.8db34127.js.map new file mode 100644 index 0000000000..d4ef2fcfb9 --- /dev/null +++ b/assets/index.8db34127.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.8db34127.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/th/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'น้อยกว่า 1 วินาที',\n other: 'น้อยกว่า {{count}} วินาที'\n },\n xSeconds: {\n one: '1 วินาที',\n other: '{{count}} วินาที'\n },\n halfAMinute: 'ครึ่งนาที',\n lessThanXMinutes: {\n one: 'น้อยกว่า 1 นาที',\n other: 'น้อยกว่า {{count}} นาที'\n },\n xMinutes: {\n one: '1 นาที',\n other: '{{count}} นาที'\n },\n aboutXHours: {\n one: 'ประมาณ 1 ชั่วโมง',\n other: 'ประมาณ {{count}} ชั่วโมง'\n },\n xHours: {\n one: '1 ชั่วโมง',\n other: '{{count}} ชั่วโมง'\n },\n xDays: {\n one: '1 วัน',\n other: '{{count}} วัน'\n },\n aboutXWeeks: {\n one: 'ประมาณ 1 สัปดาห์',\n other: 'ประมาณ {{count}} สัปดาห์'\n },\n xWeeks: {\n one: '1 สัปดาห์',\n other: '{{count}} สัปดาห์'\n },\n aboutXMonths: {\n one: 'ประมาณ 1 เดือน',\n other: 'ประมาณ {{count}} เดือน'\n },\n xMonths: {\n one: '1 เดือน',\n other: '{{count}} เดือน'\n },\n aboutXYears: {\n one: 'ประมาณ 1 ปี',\n other: 'ประมาณ {{count}} ปี'\n },\n xYears: {\n one: '1 ปี',\n other: '{{count}} ปี'\n },\n overXYears: {\n one: 'มากกว่า 1 ปี',\n other: 'มากกว่า {{count}} ปี'\n },\n almostXYears: {\n one: 'เกือบ 1 ปี',\n other: 'เกือบ {{count}} ปี'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (token === 'halfAMinute') {\n return 'ใน' + result;\n } else {\n return 'ใน ' + result;\n }\n } else {\n return result + 'ที่ผ่านมา';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'วันEEEEที่ do MMMM y',\n long: 'do MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'H:mm:ss น. zzzz',\n long: 'H:mm:ss น. z',\n medium: 'H:mm:ss น.',\n short: 'H:mm น.'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'เวลา' {{time}}\",\n long: \"{{date}} 'เวลา' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'medium'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee'ที่แล้วเวลา' p\",\n yesterday: \"'เมื่อวานนี้เวลา' p\",\n today: \"'วันนี้เวลา' p\",\n tomorrow: \"'พรุ่งนี้เวลา' p\",\n nextWeek: \"eeee 'เวลา' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'คศ'],\n abbreviated: ['BC', 'ค.ศ.'],\n wide: ['ปีก่อนคริสตกาล', 'คริสต์ศักราช']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['ไตรมาสแรก', 'ไตรมาสที่สอง', 'ไตรมาสที่สาม', 'ไตรมาสที่สี่']\n};\nvar dayValues = {\n narrow: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'],\n short: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'],\n abbreviated: ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'],\n wide: ['อาทิตย์', 'จันทร์', 'อังคาร', 'พุธ', 'พฤหัสบดี', 'ศุกร์', 'เสาร์']\n};\nvar monthValues = {\n narrow: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'],\n abbreviated: ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'],\n wide: ['มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'เช้า',\n afternoon: 'บ่าย',\n evening: 'เย็น',\n night: 'กลางคืน'\n },\n abbreviated: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'เช้า',\n afternoon: 'บ่าย',\n evening: 'เย็น',\n night: 'กลางคืน'\n },\n wide: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'เช้า',\n afternoon: 'บ่าย',\n evening: 'เย็น',\n night: 'กลางคืน'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'ตอนเช้า',\n afternoon: 'ตอนกลางวัน',\n evening: 'ตอนเย็น',\n night: 'ตอนกลางคืน'\n },\n abbreviated: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'ตอนเช้า',\n afternoon: 'ตอนกลางวัน',\n evening: 'ตอนเย็น',\n night: 'ตอนกลางคืน'\n },\n wide: {\n am: 'ก่อนเที่ยง',\n pm: 'หลังเที่ยง',\n midnight: 'เที่ยงคืน',\n noon: 'เที่ยง',\n morning: 'ตอนเช้า',\n afternoon: 'ตอนกลางวัน',\n evening: 'ตอนเย็น',\n night: 'ตอนกลางคืน'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^\\d+/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([bB]|[aA]|คศ)/i,\n abbreviated: /^([bB]\\.?\\s?[cC]\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?|ค\\.?ศ\\.?)/i,\n wide: /^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i\n};\nvar parseEraPatterns = {\n any: [/^[bB]/i, /^(^[aA]|ค\\.?ศ\\.?|คริสตกาล|คริสต์ศักราช|)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^ไตรมาส(ที่)? ?[1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|แรก|หนึ่ง)/i, /(2|สอง)/i, /(3|สาม)/i, /(4|สี่)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(ม\\.?ค\\.?|ก\\.?พ\\.?|มี\\.?ค\\.?|เม\\.?ย\\.?|พ\\.?ค\\.?|มิ\\.?ย\\.?|ก\\.?ค\\.?|ส\\.?ค\\.?|ก\\.?ย\\.?|ต\\.?ค\\.?|พ\\.?ย\\.?|ธ\\.?ค\\.?)/i,\n abbreviated: /^(ม\\.?ค\\.?|ก\\.?พ\\.?|มี\\.?ค\\.?|เม\\.?ย\\.?|พ\\.?ค\\.?|มิ\\.?ย\\.?|ก\\.?ค\\.?|ส\\.?ค\\.?|ก\\.?ย\\.?|ต\\.?ค\\.?|พ\\.?ย\\.?|ธ\\.?ค\\.?')/i,\n wide: /^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i\n};\nvar parseMonthPatterns = {\n wide: [/^มก/i, /^กุม/i, /^มี/i, /^เม/i, /^พฤษ/i, /^มิ/i, /^กรก/i, /^ส/i, /^กัน/i, /^ต/i, /^พฤศ/i, /^ธ/i],\n any: [/^ม\\.?ค\\.?/i, /^ก\\.?พ\\.?/i, /^มี\\.?ค\\.?/i, /^เม\\.?ย\\.?/i, /^พ\\.?ค\\.?/i, /^มิ\\.?ย\\.?/i, /^ก\\.?ค\\.?/i, /^ส\\.?ค\\.?/i, /^ก\\.?ย\\.?/i, /^ต\\.?ค\\.?/i, /^พ\\.?ย\\.?/i, /^ธ\\.?ค\\.?/i]\n};\nvar matchDayPatterns = {\n narrow: /^(อา\\.?|จ\\.?|อ\\.?|พฤ\\.?|พ\\.?|ศ\\.?|ส\\.?)/i,\n short: /^(อา\\.?|จ\\.?|อ\\.?|พฤ\\.?|พ\\.?|ศ\\.?|ส\\.?)/i,\n abbreviated: /^(อา\\.?|จ\\.?|อ\\.?|พฤ\\.?|พ\\.?|ศ\\.?|ส\\.?)/i,\n wide: /^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i\n};\nvar parseDayPatterns = {\n wide: [/^อา/i, /^จั/i, /^อั/i, /^พุธ/i, /^พฤ/i, /^ศ/i, /^เส/i],\n any: [/^อา/i, /^จ/i, /^อ/i, /^พ(?!ฤ)/i, /^พฤ/i, /^ศ/i, /^ส/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ก่อนเที่ยง/i,\n pm: /^หลังเที่ยง/i,\n midnight: /^เที่ยงคืน/i,\n noon: /^เที่ยง/i,\n morning: /เช้า/i,\n afternoon: /บ่าย/i,\n evening: /เย็น/i,\n night: /กลางคืน/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Thai locale.\n * @language Thai\n * @iso-639-2 tha\n * @author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat}\n * @author [@hawkup]{@link https://github.com/hawkup}\n * @author Jirawat I. [@nodtem66]{@link https://github.com/nodtem66}\n */\n\nvar locale = {\n code: 'th',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","dayValues","monthValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,oBACL,MAAO,2BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,kBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,mBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,WAAY,CACV,IAAK,eACL,MAAO,sBACR,EACD,aAAc,CACZ,IAAK,aACL,MAAO,oBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACzCF,IAAU,cACL,KAAOG,EAEP,MAAQA,EAGVA,EAAS,YAIbA,CACT,ECxFIE,EAAc,CAChB,KAAM,uBACN,KAAM,YACN,OAAQ,UACR,MAA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B,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.8ea81576.js b/assets/index.8ea81576.js new file mode 100644 index 0000000000..2a7793feac --- /dev/null +++ b/assets/index.8ea81576.js @@ -0,0 +1,2 @@ +import{d as s,e as d,f as h,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 munud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",two:"2 ddiwrnod",other:"{{count}} diwrnod"},aboutXWeeks:{one:"tua 1 wythnos",two:"tua pythefnos",other:"tua {{count}} wythnos"},xWeeks:{one:"1 wythnos",two:"pythefnos",other:"{{count}} wythnos"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},y=function(e,i,a){var r,n=l[e];return typeof n=="string"?r=n:i===1?r=n.one:i===2&&!!n.two?r=n.two:r=n.other.replace("{{count}}",String(i)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"mewn "+r:r+" yn ôl":r},m={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},u={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},w={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:s({formats:m,defaultWidth:"full"}),time:s({formats:u,defaultWidth:"full"}),dateTime:s({formats:w,defaultWidth:"full"})},f={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},b=function(e,i,a,r){return f[e]},g={narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},v={narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},M={narrow:["I","Ch","Ma","E","Mi","Me","G","A","Md","H","T","Rh"],abbreviated:["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag"],wide:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"]},p={narrow:["S","Ll","M","M","I","G","S"],short:["Su","Ll","Ma","Me","Ia","Gw","Sa"],abbreviated:["Sul","Llun","Maw","Mer","Iau","Gwe","Sad"],wide:["dydd Sul","dydd Llun","dydd Mawrth","dydd Mercher","dydd Iau","dydd Gwener","dydd Sadwrn"]},P={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"bore",afternoon:"prynhawn",evening:"gyda'r nos",night:"nos"}},W={narrow:{am:"b",pm:"h",midnight:"hn",noon:"hd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},abbreviated:{am:"yb",pm:"yh",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"},wide:{am:"y.b.",pm:"y.h.",midnight:"hanner nos",noon:"hanner dydd",morning:"yn y bore",afternoon:"yn y prynhawn",evening:"gyda'r nos",night:"yn y nos"}},C=function(e,i){var a=Number(e);if(a<20)switch(a){case 0:return a+"fed";case 1:return a+"af";case 2:return a+"ail";case 3:case 4:return a+"ydd";case 5:case 6:return a+"ed";case 7:case 8:case 9:case 10:case 12:case 15:case 18:return a+"fed";case 11:case 13:case 14:case 16:case 17:case 19:return a+"eg"}else if(a>=50&&a<=60||a===80||a>=100)return a+"fed";return a+"ain"},k={ordinalNumber:C,era:d({values:g,defaultWidth:"wide"}),quarter:d({values:v,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:d({values:M,defaultWidth:"wide"}),day:d({values:p,defaultWidth:"wide"}),dayPeriod:d({values:P,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},S=/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,D=/\d+/i,x={narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},L={wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},E={narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},F={any:[/1/i,/2/i,/3/i,/4/i]},z={narrow:/^(i|ch|m|e|g|a|h|t|rh)/i,abbreviated:/^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,wide:/^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i},I={narrow:[/^i/i,/^ch/i,/^m/i,/^e/i,/^m/i,/^m/i,/^g/i,/^a/i,/^m/i,/^h/i,/^t/i,/^rh/i],any:[/^io/i,/^ch/i,/^maw/i,/^e/i,/^mai/i,/^meh/i,/^g/i,/^a/i,/^med/i,/^h/i,/^t/i,/^rh/i]},V={narrow:/^(s|ll|m|i|g)/i,short:/^(su|ll|ma|me|ia|gw|sa)/i,abbreviated:/^(sul|llun|maw|mer|iau|gwe|sad)/i,wide:/^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i},X={narrow:[/^s/i,/^ll/i,/^m/i,/^m/i,/^i/i,/^g/i,/^s/i],wide:[/^dydd su/i,/^dydd ll/i,/^dydd ma/i,/^dydd me/i,/^dydd i/i,/^dydd g/i,/^dydd sa/i],any:[/^su/i,/^ll/i,/^ma/i,/^me/i,/^i/i,/^g/i,/^sa/i]},G={narrow:/^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,any:/^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i},N={any:{am:/^b|(y\.?\s?b\.?)/i,pm:/^h|(y\.?\s?h\.?)|(yr hwyr)/i,midnight:/^hn|hanner nos/i,noon:/^hd|hanner dydd/i,morning:/bore/i,afternoon:/prynhawn/i,evening:/^gyda'r nos$/i,night:/blah/i}},R={ordinalNumber:h({matchPattern:S,parsePattern:D,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),quarter:o({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),day:o({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:G,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"})},_={code:"cy",formatDistance:y,formatLong:c,formatRelative:b,localize:k,match:R,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.8ea81576.js.map diff --git a/assets/index.8ea81576.js.map b/assets/index.8ea81576.js.map new file mode 100644 index 0000000000..ec7bf61b44 --- /dev/null +++ b/assets/index.8ea81576.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.8ea81576.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cy/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'llai na eiliad',\n other: 'llai na {{count}} eiliad'\n },\n xSeconds: {\n one: '1 eiliad',\n other: '{{count}} eiliad'\n },\n halfAMinute: 'hanner munud',\n lessThanXMinutes: {\n one: 'llai na munud',\n two: 'llai na 2 funud',\n other: 'llai na {{count}} munud'\n },\n xMinutes: {\n one: '1 munud',\n two: '2 funud',\n other: '{{count}} munud'\n },\n aboutXHours: {\n one: 'tua 1 awr',\n other: 'tua {{count}} awr'\n },\n xHours: {\n one: '1 awr',\n other: '{{count}} awr'\n },\n xDays: {\n one: '1 diwrnod',\n two: '2 ddiwrnod',\n other: '{{count}} diwrnod'\n },\n aboutXWeeks: {\n one: 'tua 1 wythnos',\n two: 'tua pythefnos',\n other: 'tua {{count}} wythnos'\n },\n xWeeks: {\n one: '1 wythnos',\n two: 'pythefnos',\n other: '{{count}} wythnos'\n },\n aboutXMonths: {\n one: 'tua 1 mis',\n two: 'tua 2 fis',\n other: 'tua {{count}} mis'\n },\n xMonths: {\n one: '1 mis',\n two: '2 fis',\n other: '{{count}} mis'\n },\n aboutXYears: {\n one: 'tua 1 flwyddyn',\n two: 'tua 2 flynedd',\n other: 'tua {{count}} mlynedd'\n },\n xYears: {\n one: '1 flwyddyn',\n two: '2 flynedd',\n other: '{{count}} mlynedd'\n },\n overXYears: {\n one: 'dros 1 flwyddyn',\n two: 'dros 2 flynedd',\n other: 'dros {{count}} mlynedd'\n },\n almostXYears: {\n one: 'bron 1 flwyddyn',\n two: 'bron 2 flynedd',\n other: 'bron {{count}} mlynedd'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2 && !!tokenValue.two) {\n result = tokenValue.two;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'mewn ' + result;\n } else {\n return result + ' yn ôl';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'am' {{time}}\",\n long: \"{{date}} 'am' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'diwethaf am' p\",\n yesterday: \"'ddoe am' p\",\n today: \"'heddiw am' p\",\n tomorrow: \"'yfory am' p\",\n nextWeek: \"eeee 'am' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['C', 'O'],\n abbreviated: ['CC', 'OC'],\n wide: ['Cyn Crist', 'Ar ôl Crist']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Ch1', 'Ch2', 'Ch3', 'Ch4'],\n wide: ['Chwarter 1af', '2ail chwarter', '3ydd chwarter', '4ydd chwarter']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['I', 'Ch', 'Ma', 'E', 'Mi', 'Me', 'G', 'A', 'Md', 'H', 'T', 'Rh'],\n abbreviated: ['Ion', 'Chwe', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Aws', 'Med', 'Hyd', 'Tach', 'Rhag'],\n wide: ['Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', 'Hydref', 'Tachwedd', 'Rhagfyr']\n};\nvar dayValues = {\n narrow: ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'],\n short: ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'],\n abbreviated: ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'],\n wide: ['dydd Sul', 'dydd Llun', 'dydd Mawrth', 'dydd Mercher', 'dydd Iau', 'dydd Gwener', 'dydd Sadwrn']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'b',\n pm: 'h',\n midnight: 'hn',\n noon: 'hd',\n morning: 'bore',\n afternoon: 'prynhawn',\n evening: \"gyda'r nos\",\n night: 'nos'\n },\n abbreviated: {\n am: 'yb',\n pm: 'yh',\n midnight: 'hanner nos',\n noon: 'hanner dydd',\n morning: 'bore',\n afternoon: 'prynhawn',\n evening: \"gyda'r nos\",\n night: 'nos'\n },\n wide: {\n am: 'y.b.',\n pm: 'y.h.',\n midnight: 'hanner nos',\n noon: 'hanner dydd',\n morning: 'bore',\n afternoon: 'prynhawn',\n evening: \"gyda'r nos\",\n night: 'nos'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'b',\n pm: 'h',\n midnight: 'hn',\n noon: 'hd',\n morning: 'yn y bore',\n afternoon: 'yn y prynhawn',\n evening: \"gyda'r nos\",\n night: 'yn y nos'\n },\n abbreviated: {\n am: 'yb',\n pm: 'yh',\n midnight: 'hanner nos',\n noon: 'hanner dydd',\n morning: 'yn y bore',\n afternoon: 'yn y prynhawn',\n evening: \"gyda'r nos\",\n night: 'yn y nos'\n },\n wide: {\n am: 'y.b.',\n pm: 'y.h.',\n midnight: 'hanner nos',\n noon: 'hanner dydd',\n morning: 'yn y bore',\n afternoon: 'yn y prynhawn',\n evening: \"gyda'r nos\",\n night: 'yn y nos'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n\n if (number < 20) {\n switch (number) {\n case 0:\n return number + 'fed';\n\n case 1:\n return number + 'af';\n\n case 2:\n return number + 'ail';\n\n case 3:\n case 4:\n return number + 'ydd';\n\n case 5:\n case 6:\n return number + 'ed';\n\n case 7:\n case 8:\n case 9:\n case 10:\n case 12:\n case 15:\n case 18:\n return number + 'fed';\n\n case 11:\n case 13:\n case 14:\n case 16:\n case 17:\n case 19:\n return number + 'eg';\n }\n } else if (number >= 50 && number <= 60 || number === 80 || number >= 100) {\n return number + 'fed';\n }\n\n return number + 'ain';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(af|ail|ydd|ed|fed|eg|ain)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(c|o)/i,\n abbreviated: /^(c\\.?\\s?c\\.?|o\\.?\\s?c\\.?)/i,\n wide: /^(cyn christ|ar ôl crist|ar ol crist)/i\n};\nvar parseEraPatterns = {\n wide: [/^c/i, /^(ar ôl crist|ar ol crist)/i],\n any: [/^c/i, /^o/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ch[1234]/i,\n wide: /^(chwarter 1af)|([234](ail|ydd)? chwarter)/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(i|ch|m|e|g|a|h|t|rh)/i,\n abbreviated: /^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,\n wide: /^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^i/i, /^ch/i, /^m/i, /^e/i, /^m/i, /^m/i, /^g/i, /^a/i, /^m/i, /^h/i, /^t/i, /^rh/i],\n any: [/^io/i, /^ch/i, /^maw/i, /^e/i, /^mai/i, /^meh/i, /^g/i, /^a/i, /^med/i, /^h/i, /^t/i, /^rh/i]\n};\nvar matchDayPatterns = {\n narrow: /^(s|ll|m|i|g)/i,\n short: /^(su|ll|ma|me|ia|gw|sa)/i,\n abbreviated: /^(sul|llun|maw|mer|iau|gwe|sad)/i,\n wide: /^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^ll/i, /^m/i, /^m/i, /^i/i, /^g/i, /^s/i],\n wide: [/^dydd su/i, /^dydd ll/i, /^dydd ma/i, /^dydd me/i, /^dydd i/i, /^dydd g/i, /^dydd sa/i],\n any: [/^su/i, /^ll/i, /^ma/i, /^me/i, /^i/i, /^g/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,\n any: /^(y\\.?\\s?[bh]\\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^b|(y\\.?\\s?b\\.?)/i,\n pm: /^h|(y\\.?\\s?h\\.?)|(yr hwyr)/i,\n midnight: /^hn|hanner nos/i,\n noon: /^hd|hanner dydd/i,\n morning: /bore/i,\n afternoon: /prynhawn/i,\n evening: /^gyda'r nos$/i,\n night: /blah/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Welsh locale.\n * @language Welsh\n * @iso-639-2 cym\n * @author Elwyn Malethan [@elmomalmo]{@link https://github.com/elmomalmo}\n */\n\nvar locale = {\n code: 'cy',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,iBACL,MAAO,0BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,gBACL,IAAK,kBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,UACL,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,YACL,MAAO,mBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,YACL,IAAK,aACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,gBACL,IAAK,gBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,YACL,IAAK,YACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,YACL,IAAK,YACL,MAAO,mBACR,EACD,QAAS,CACP,IAAK,QACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,iBACL,IAAK,gBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,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mB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECpFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.8f2b1f29.js b/assets/index.8f2b1f29.js new file mode 100644 index 0000000000..ffd9fa166a --- /dev/null +++ b/assets/index.8f2b1f29.js @@ -0,0 +1,2 @@ +import{av as e}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */const t=()=>e("theme_dark_cover_filter",!0,{writeDefaults:!1,listenToStorageChanges:!0});export{t as u}; +//# sourceMappingURL=index.8f2b1f29.js.map diff --git a/assets/index.8f2b1f29.js.map b/assets/index.8f2b1f29.js.map new file mode 100644 index 0000000000..084df12da2 --- /dev/null +++ b/assets/index.8f2b1f29.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.8f2b1f29.js","sources":["../../packages/settings/index.ts"],"sourcesContent":["import { useLocalStorage } from '@vueuse/core'\n\nexport const useThemeDarkCoverFilter = () =>\n useLocalStorage('theme_dark_cover_filter', true, {\n writeDefaults: false,\n listenToStorageChanges: true,\n })\n"],"names":["useThemeDarkCoverFilter","useLocalStorage"],"mappings":"iFAEO,MAAMA,EAA0B,IACrCC,EAAgB,0BAA2B,GAAM,CAC/C,cAAe,GACf,uBAAwB,EAC1B,CAAC"} \ No newline at end of file diff --git a/assets/index.91b1bc45.js b/assets/index.91b1bc45.js new file mode 100644 index 0000000000..6487a45e27 --- /dev/null +++ b/assets/index.91b1bc45.js @@ -0,0 +1,2 @@ +import{d as u,e as o,f as m,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as c}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"помалку од секунда",other:"помалку од {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половина минута",lessThanXMinutes:{one:"помалку од минута",other:"помалку од {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"околу 1 час",other:"околу {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дена"},aboutXWeeks:{one:"околу 1 недела",other:"околу {{count}} месеци"},xWeeks:{one:"1 недела",other:"{{count}} недели"},aboutXMonths:{one:"околу 1 месец",other:"околу {{count}} недели"},xMonths:{one:"1 месец",other:"{{count}} месеци"},aboutXYears:{one:"околу 1 година",other:"околу {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"повеќе од 1 година",other:"повеќе од {{count}} години"},almostXYears:{one:"безмалку 1 година",other:"безмалку {{count}} години"}},f=function(e,n,t){var a,i=h[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"за "+a:"пред "+a:a},v={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},y={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},b={any:"{{date}} {{time}}"},P={date:u({formats:v,defaultWidth:"full"}),time:u({formats:y,defaultWidth:"full"}),dateTime:u({formats:b,defaultWidth:"any"})},d=["недела","понеделник","вторник","среда","четврток","петок","сабота"];function w(r){var e=d[r];switch(r){case 0:case 3:case 6:return"'минатата "+e+" во' p";case 1:case 2:case 4:case 5:return"'минатиот "+e+" во' p"}}function l(r){var e=d[r];switch(r){case 0:case 3:case 6:return"'ова "+e+" вo' p";case 1:case 2:case 4:case 5:return"'овој "+e+" вo' p"}}function p(r){var e=d[r];switch(r){case 0:case 3:case 6:return"'следната "+e+" вo' p";case 1:case 2:case 4:case 5:return"'следниот "+e+" вo' p"}}var W={lastWeek:function(e,n,t){var a=e.getUTCDay();return c(e,n,t)?l(a):w(a)},yesterday:"'вчера во' p",today:"'денес во' p",tomorrow:"'утре во' p",nextWeek:function(e,n,t){var a=e.getUTCDay();return c(e,n,t)?l(a):p(a)},other:"P"},M=function(e,n,t,a){var i=W[e];return typeof i=="function"?i(n,t,a):i},k={narrow:["пр.н.е.","н.е."],abbreviated:["пред н. е.","н. е."],wide:["пред нашата ера","нашата ера"]},g={narrow:["1","2","3","4"],abbreviated:["1-ви кв.","2-ри кв.","3-ти кв.","4-ти кв."],wide:["1-ви квартал","2-ри квартал","3-ти квартал","4-ти квартал"]},x={abbreviated:["јан","фев","мар","апр","мај","јун","јул","авг","септ","окт","ноем","дек"],wide:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"]},D={narrow:["Н","П","В","С","Ч","П","С"],short:["не","по","вт","ср","че","пе","са"],abbreviated:["нед","пон","вто","сре","чет","пет","саб"],wide:["недела","понеделник","вторник","среда","четврток","петок","сабота"]},C={wide:{am:"претпладне",pm:"попладне",midnight:"полноќ",noon:"напладне",morning:"наутро",afternoon:"попладне",evening:"навечер",night:"ноќе"}},H=function(e,n){var t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"-ви";case 2:return t+"-ри";case 7:case 8:return t+"-ми"}return t+"-ти"},z={ordinalNumber:H,era:o({values:k,defaultWidth:"wide"}),quarter:o({values:g,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:x,defaultWidth:"wide"}),day:o({values:D,defaultWidth:"wide"}),dayPeriod:o({values:C,defaultWidth:"wide"})},F=/^(\d+)(-?[врмт][и])?/i,X=/\d+/i,N={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(пред нашата ера|нашата ера)/i},T={any:[/^п/i,/^н/i]},E={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?и?)? кв.?/i,wide:/^[1234](-?[врт]?и?)? квартал/i},L={any:[/1/i,/2/i,/3/i,/4/i]},S={narrow:/^[нпвсч]/i,short:/^(не|по|вт|ср|че|пе|са)/i,abbreviated:/^(нед|пон|вто|сре|чет|пет|саб)/i,wide:/^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i},V={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[аб]/i]},R={abbreviated:/^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i,wide:/^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i},Y={any:[/^ја/i,/^Ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},q={any:/^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i},O={any:{am:/претпладне/i,pm:/попладне/i,midnight:/полноќ/i,noon:/напладне/i,morning:/наутро/i,afternoon:/попладне/i,evening:/навечер/i,night:/ноќе/i}},U={ordinalNumber:m({matchPattern:F,parsePattern:X,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),quarter:s({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"}),day:s({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:q,defaultMatchWidth:"any",parsePatterns:O,defaultParseWidth:"any"})},G={code:"mk",formatDistance:f,formatLong:P,formatRelative:M,localize:z,match:U,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{G as default}; +//# sourceMappingURL=index.91b1bc45.js.map diff --git a/assets/index.91b1bc45.js.map b/assets/index.91b1bc45.js.map new file mode 100644 index 0000000000..bd729d2516 --- /dev/null +++ b/assets/index.91b1bc45.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.91b1bc45.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mk/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'помалку од секунда',\n other: 'помалку од {{count}} секунди'\n },\n xSeconds: {\n one: '1 секунда',\n other: '{{count}} секунди'\n },\n halfAMinute: 'половина минута',\n lessThanXMinutes: {\n one: 'помалку од минута',\n other: 'помалку од {{count}} минути'\n },\n xMinutes: {\n one: '1 минута',\n other: '{{count}} минути'\n },\n aboutXHours: {\n one: 'околу 1 час',\n other: 'околу {{count}} часа'\n },\n xHours: {\n one: '1 час',\n other: '{{count}} часа'\n },\n xDays: {\n one: '1 ден',\n other: '{{count}} дена'\n },\n aboutXWeeks: {\n one: 'околу 1 недела',\n other: 'околу {{count}} месеци'\n },\n xWeeks: {\n one: '1 недела',\n other: '{{count}} недели'\n },\n aboutXMonths: {\n one: 'околу 1 месец',\n other: 'околу {{count}} недели'\n },\n xMonths: {\n one: '1 месец',\n other: '{{count}} месеци'\n },\n aboutXYears: {\n one: 'околу 1 година',\n other: 'околу {{count}} години'\n },\n xYears: {\n one: '1 година',\n other: '{{count}} години'\n },\n overXYears: {\n one: 'повеќе од 1 година',\n other: 'повеќе од {{count}} години'\n },\n almostXYears: {\n one: 'безмалку 1 година',\n other: 'безмалку {{count}} години'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'за ' + result;\n } else {\n return 'пред ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, dd MMMM yyyy',\n long: 'dd MMMM yyyy',\n medium: 'dd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar weekdays = ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'];\n\nfunction _lastWeek(day) {\n var weekday = weekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 6:\n return \"'минатата \" + weekday + \" во' p\";\n\n case 1:\n case 2:\n case 4:\n case 5:\n return \"'минатиот \" + weekday + \" во' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = weekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 6:\n return \"'ова \" + weekday + \" вo' p\";\n\n case 1:\n case 2:\n case 4:\n case 5:\n return \"'овој \" + weekday + \" вo' p\";\n }\n}\n\nfunction _nextWeek(day) {\n var weekday = weekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 6:\n return \"'следната \" + weekday + \" вo' p\";\n\n case 1:\n case 2:\n case 4:\n case 5:\n return \"'следниот \" + weekday + \" вo' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'вчера во' p\",\n today: \"'денес во' p\",\n tomorrow: \"'утре во' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['пр.н.е.', 'н.е.'],\n abbreviated: ['пред н. е.', 'н. е.'],\n wide: ['пред нашата ера', 'нашата ера']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-ви кв.', '2-ри кв.', '3-ти кв.', '4-ти кв.'],\n wide: ['1-ви квартал', '2-ри квартал', '3-ти квартал', '4-ти квартал']\n};\nvar monthValues = {\n abbreviated: ['јан', 'фев', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'септ', 'окт', 'ноем', 'дек'],\n wide: ['јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', 'октомври', 'ноември', 'декември']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'],\n short: ['не', 'по', 'вт', 'ср', 'че', 'пе', 'са'],\n abbreviated: ['нед', 'пон', 'вто', 'сре', 'чет', 'пет', 'саб'],\n wide: ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота']\n};\nvar dayPeriodValues = {\n wide: {\n am: 'претпладне',\n pm: 'попладне',\n midnight: 'полноќ',\n noon: 'напладне',\n morning: 'наутро',\n afternoon: 'попладне',\n evening: 'навечер',\n night: 'ноќе'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + '-ви';\n\n case 2:\n return number + '-ри';\n\n case 7:\n case 8:\n return number + '-ми';\n }\n }\n\n return number + '-ти';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?[врмт][и])?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((пр)?н\\.?\\s?е\\.?)/i,\n abbreviated: /^((пр)?н\\.?\\s?е\\.?)/i,\n wide: /^(пред нашата ера|нашата ера)/i\n};\nvar parseEraPatterns = {\n any: [/^п/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[врт]?и?)? кв.?/i,\n wide: /^[1234](-?[врт]?и?)? квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchDayPatterns = {\n narrow: /^[нпвсч]/i,\n short: /^(не|по|вт|ср|че|пе|са)/i,\n abbreviated: /^(нед|пон|вто|сре|чет|пет|саб)/i,\n wide: /^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[аб]/i]\n};\nvar matchMonthPatterns = {\n abbreviated: /^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i,\n wide: /^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i\n};\nvar parseMonthPatterns = {\n any: [/^ја/i, /^Ф/i, /^мар/i, /^ап/i, /^мај/i, /^јун/i, /^јул/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /претпладне/i,\n pm: /попладне/i,\n midnight: /полноќ/i,\n noon: /напладне/i,\n morning: /наутро/i,\n afternoon: /попладне/i,\n evening: /навечер/i,\n night: /ноќе/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Macedonian locale.\n * @language Macedonian\n * @iso-639-2 mkd\n * @author Petar Vlahu [@vlahupetar]{@link https://github.com/vlahupetar}\n * @author Altrim Beqiri [@altrim]{@link https://github.com/altrim}\n */\n\nvar locale = {\n code: 'mk',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","weekdays","_lastWeek","day","weekday","thisWeek","_nextWeek","formatRelativeLocale","date","baseDate","isSameUTCWeek","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","_options","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchDayPatterns","parseDayPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"8XAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,mBACR,EACD,YAAa,kBACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,kBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,wBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,kBACR,EACD,WAAY,CACV,IAAK,qBACL,MAAO,4BACR,EACD,aAAc,CACZ,IAAK,oBACL,MAAO,2BACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAER,QAAUA,EAIdA,CACT,ECpFIE,EAAc,CAChB,K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yB,CAC3B,IAAK,6CACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,cACJ,GAAI,YACJ,SAAU,UACV,KAAM,YACN,QAAS,UACT,UAAW,YACX,QAAS,WACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKM,EAAa,CAChB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWQ,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC9EIM,EAAS,CACX,KAAM,KACN,eAAgBrD,EAChB,WAAYS,EACZ,eAAgBY,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.92015277.js b/assets/index.92015277.js new file mode 100644 index 0000000000..18903be96e --- /dev/null +++ b/assets/index.92015277.js @@ -0,0 +1,2 @@ +import{d as v,t as d,e as o,f,g as l}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.2b8b0fc4.js";import{i as m}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function s(a,e){if(a.one!==void 0&&e===1)return a.one;var i=e%10,t=e%100;return i===1&&t!==11?a.singularNominative.replace("{{count}}",String(e)):i>=2&&i<=4&&(t<10||t>20)?a.singularGenitive.replace("{{count}}",String(e)):a.pluralGenitive.replace("{{count}}",String(e))}function n(a){return function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?a.future?s(a.future,e):"праз "+s(a.regular,e):a.past?s(a.past,e):s(a.regular,e)+" таму":s(a.regular,e)}}var p=function(e,i){return i&&i.addSuffix?i.comparison&&i.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны"},h={lessThanXSeconds:n({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:n({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:p,lessThanXMinutes:n({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:n({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:n({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:n({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:n({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:n({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xWeeks:n({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXMonths:n({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:n({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:n({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:n({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:n({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:n({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},G=function(e,i,t){return t=t||{},h[e](i,t)},b={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},w={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},y={any:"{{date}}, {{time}}"},N={date:v({formats:b,defaultWidth:"full"}),time:v({formats:w,defaultWidth:"full"}),dateTime:v({formats:y,defaultWidth:"any"})},c=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function P(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у мінулую "+e+" а' p";case 1:case 2:case 4:return"'у мінулы "+e+" а' p"}}function g(a){var e=c[a];return"'у "+e+" а' p"}function W(a){var e=c[a];switch(a){case 0:case 3:case 5:case 6:return"'у наступную "+e+" а' p";case 1:case 2:case 4:return"'у наступны "+e+" а' p"}}var M=function(e,i,t){var u=d(e),r=u.getUTCDay();return m(u,i,t)?g(r):P(r)},k=function(e,i,t){var u=d(e),r=u.getUTCDay();return m(u,i,t)?g(r):W(r)},x={lastWeek:M,yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:k,other:"P"},F=function(e,i,t,u){var r=x[e];return typeof r=="function"?r(i,t,u):r},D={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},C={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},S={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},z={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},V={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},T={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дзень",evening:"веч.",night:"ноч"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніца",afternoon:"дзень",evening:"вечар",night:"ноч"}},X={narrow:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},abbreviated:{am:"ДП",pm:"ПП",midnight:"поўн.",noon:"поўд.",morning:"ран.",afternoon:"дня",evening:"веч.",night:"ночы"},wide:{am:"ДП",pm:"ПП",midnight:"поўнач",noon:"поўдзень",morning:"раніцы",afternoon:"дня",evening:"вечара",night:"ночы"}},L=function(e,i){var t=String(i==null?void 0:i.unit),u=Number(e),r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(u%10===2||u%10===3)&&u%100!==12&&u%100!==13?"-і":"-ы",u+r},E={ordinalNumber:L,era:o({values:D,defaultWidth:"wide"}),quarter:o({values:C,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:S,defaultWidth:"wide",formattingValues:z,defaultFormattingWidth:"wide"}),day:o({values:V,defaultWidth:"wide"}),dayPeriod:o({values:T,defaultWidth:"any",formattingValues:X,defaultFormattingWidth:"wide"})},H=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,R=/\d+/i,Y={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},q={any:[/^д/i,/^н/i]},A={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},O={any:[/1/i,/2/i,/3/i,/4/i]},U={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},Q={narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^м/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^ма/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},I={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},_={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},j={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},B={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},J={ordinalNumber:f({matchPattern:H,parsePattern:R,valueCallback:function(e){return parseInt(e,10)}}),era:l({matchPatterns:Y,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),quarter:l({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:U,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),day:l({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:B,defaultParseWidth:"any"})},ne={code:"be",formatDistance:G,formatLong:N,formatRelative:F,localize:E,match:J,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{ne as default}; +//# sourceMappingURL=index.92015277.js.map diff --git a/assets/index.92015277.js.map b/assets/index.92015277.js.map new file mode 100644 index 0000000000..b34375a7e3 --- /dev/null +++ b/assets/index.92015277.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.92015277.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/be/index.js"],"sourcesContent":["function declension(scheme, count) {\n // scheme for count=1 exists\n if (scheme.one !== undefined && count === 1) {\n return scheme.one;\n }\n\n var rem10 = count % 10;\n var rem100 = count % 100; // 1, 21, 31, ...\n\n if (rem10 === 1 && rem100 !== 11) {\n return scheme.singularNominative.replace('{{count}}', String(count)); // 2, 3, 4, 22, 23, 24, 32 ...\n } else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {\n return scheme.singularGenitive.replace('{{count}}', String(count)); // 5, 6, 7, 8, 9, 10, 11, ...\n } else {\n return scheme.pluralGenitive.replace('{{count}}', String(count));\n }\n}\n\nfunction buildLocalizeTokenFn(scheme) {\n return function (count, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n if (scheme.future) {\n return declension(scheme.future, count);\n } else {\n return 'праз ' + declension(scheme.regular, count);\n }\n } else {\n if (scheme.past) {\n return declension(scheme.past, count);\n } else {\n return declension(scheme.regular, count) + ' таму';\n }\n }\n } else {\n return declension(scheme.regular, count);\n }\n };\n}\n\nvar halfAMinute = function halfAMinute(_, options) {\n if (options && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'праз паўхвіліны';\n } else {\n return 'паўхвіліны таму';\n }\n }\n\n return 'паўхвіліны';\n};\n\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n regular: {\n one: 'менш за секунду',\n singularNominative: 'менш за {{count}} секунду',\n singularGenitive: 'менш за {{count}} секунды',\n pluralGenitive: 'менш за {{count}} секунд'\n },\n future: {\n one: 'менш, чым праз секунду',\n singularNominative: 'менш, чым праз {{count}} секунду',\n singularGenitive: 'менш, чым праз {{count}} секунды',\n pluralGenitive: 'менш, чым праз {{count}} секунд'\n }\n }),\n xSeconds: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} секунда',\n singularGenitive: '{{count}} секунды',\n pluralGenitive: '{{count}} секунд'\n },\n past: {\n singularNominative: '{{count}} секунду таму',\n singularGenitive: '{{count}} секунды таму',\n pluralGenitive: '{{count}} секунд таму'\n },\n future: {\n singularNominative: 'праз {{count}} секунду',\n singularGenitive: 'праз {{count}} секунды',\n pluralGenitive: 'праз {{count}} секунд'\n }\n }),\n halfAMinute: halfAMinute,\n lessThanXMinutes: buildLocalizeTokenFn({\n regular: {\n one: 'менш за хвіліну',\n singularNominative: 'менш за {{count}} хвіліну',\n singularGenitive: 'менш за {{count}} хвіліны',\n pluralGenitive: 'менш за {{count}} хвілін'\n },\n future: {\n one: 'менш, чым праз хвіліну',\n singularNominative: 'менш, чым праз {{count}} хвіліну',\n singularGenitive: 'менш, чым праз {{count}} хвіліны',\n pluralGenitive: 'менш, чым праз {{count}} хвілін'\n }\n }),\n xMinutes: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} хвіліна',\n singularGenitive: '{{count}} хвіліны',\n pluralGenitive: '{{count}} хвілін'\n },\n past: {\n singularNominative: '{{count}} хвіліну таму',\n singularGenitive: '{{count}} хвіліны таму',\n pluralGenitive: '{{count}} хвілін таму'\n },\n future: {\n singularNominative: 'праз {{count}} хвіліну',\n singularGenitive: 'праз {{count}} хвіліны',\n pluralGenitive: 'праз {{count}} хвілін'\n }\n }),\n aboutXHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} гадзіны',\n singularGenitive: 'каля {{count}} гадзін',\n pluralGenitive: 'каля {{count}} гадзін'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} гадзіну',\n singularGenitive: 'прыблізна праз {{count}} гадзіны',\n pluralGenitive: 'прыблізна праз {{count}} гадзін'\n }\n }),\n xHours: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} гадзіна',\n singularGenitive: '{{count}} гадзіны',\n pluralGenitive: '{{count}} гадзін'\n },\n past: {\n singularNominative: '{{count}} гадзіну таму',\n singularGenitive: '{{count}} гадзіны таму',\n pluralGenitive: '{{count}} гадзін таму'\n },\n future: {\n singularNominative: 'праз {{count}} гадзіну',\n singularGenitive: 'праз {{count}} гадзіны',\n pluralGenitive: 'праз {{count}} гадзін'\n }\n }),\n xDays: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} дзень',\n singularGenitive: '{{count}} дні',\n pluralGenitive: '{{count}} дзён'\n }\n }),\n aboutXWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} месяца',\n // TODO\n singularGenitive: 'каля {{count}} месяцаў',\n // TODO\n pluralGenitive: 'каля {{count}} месяцаў' // TODO\n\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} месяц',\n // TODO\n singularGenitive: 'прыблізна праз {{count}} месяцы',\n // TODO\n pluralGenitive: 'прыблізна праз {{count}} месяцаў' // TODO\n\n }\n }),\n xWeeks: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} месяц',\n singularGenitive: '{{count}} месяцы',\n pluralGenitive: '{{count}} месяцаў'\n }\n }),\n aboutXMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} месяца',\n singularGenitive: 'каля {{count}} месяцаў',\n pluralGenitive: 'каля {{count}} месяцаў'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} месяц',\n singularGenitive: 'прыблізна праз {{count}} месяцы',\n pluralGenitive: 'прыблізна праз {{count}} месяцаў'\n }\n }),\n xMonths: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} месяц',\n singularGenitive: '{{count}} месяцы',\n pluralGenitive: '{{count}} месяцаў'\n }\n }),\n aboutXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'каля {{count}} года',\n singularGenitive: 'каля {{count}} гадоў',\n pluralGenitive: 'каля {{count}} гадоў'\n },\n future: {\n singularNominative: 'прыблізна праз {{count}} год',\n singularGenitive: 'прыблізна праз {{count}} гады',\n pluralGenitive: 'прыблізна праз {{count}} гадоў'\n }\n }),\n xYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: '{{count}} год',\n singularGenitive: '{{count}} гады',\n pluralGenitive: '{{count}} гадоў'\n }\n }),\n overXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'больш за {{count}} год',\n singularGenitive: 'больш за {{count}} гады',\n pluralGenitive: 'больш за {{count}} гадоў'\n },\n future: {\n singularNominative: 'больш, чым праз {{count}} год',\n singularGenitive: 'больш, чым праз {{count}} гады',\n pluralGenitive: 'больш, чым праз {{count}} гадоў'\n }\n }),\n almostXYears: buildLocalizeTokenFn({\n regular: {\n singularNominative: 'амаль {{count}} год',\n singularGenitive: 'амаль {{count}} гады',\n pluralGenitive: 'амаль {{count}} гадоў'\n },\n future: {\n singularNominative: 'амаль праз {{count}} год',\n singularGenitive: 'амаль праз {{count}} гады',\n pluralGenitive: 'амаль праз {{count}} гадоў'\n }\n })\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n return formatDistanceLocale[token](count, options);\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d MMMM y 'г.'\",\n long: \"d MMMM y 'г.'\",\n medium: \"d MMM y 'г.'\",\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","import { toDate } from \"../../../../index.js\";\nimport isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar accusativeWeekdays = ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу'];\n\nfunction lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у мінулую \" + weekday + \" а' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у мінулы \" + weekday + \" а' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n return \"'у \" + weekday + \" а' p\";\n}\n\nfunction nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n case 3:\n case 5:\n case 6:\n return \"'у наступную \" + weekday + \" а' p\";\n\n case 1:\n case 2:\n case 4:\n return \"'у наступны \" + weekday + \" а' p\";\n }\n}\n\nvar lastWeekFormat = function lastWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return lastWeek(day);\n }\n};\n\nvar nextWeekFormat = function nextWeekFormat(dirtyDate, baseDate, options) {\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return nextWeek(day);\n }\n};\n\nvar formatRelativeLocale = {\n lastWeek: lastWeekFormat,\n yesterday: \"'учора а' p\",\n today: \"'сёння а' p\",\n tomorrow: \"'заўтра а' p\",\n nextWeek: nextWeekFormat,\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['да н.э.', 'н.э.'],\n abbreviated: ['да н. э.', 'н. э.'],\n wide: ['да нашай эры', 'нашай эры']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1-ы кв.', '2-і кв.', '3-і кв.', '4-ы кв.'],\n wide: ['1-ы квартал', '2-і квартал', '3-і квартал', '4-ы квартал']\n};\nvar monthValues = {\n narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'],\n abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'май', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'],\n wide: ['студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань']\n};\nvar formattingMonthValues = {\n narrow: ['С', 'Л', 'С', 'К', 'М', 'Ч', 'Л', 'Ж', 'В', 'К', 'Л', 'С'],\n abbreviated: ['студз.', 'лют.', 'сак.', 'крас.', 'мая', 'чэрв.', 'ліп.', 'жн.', 'вер.', 'кастр.', 'ліст.', 'снеж.'],\n wide: ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня']\n};\nvar dayValues = {\n narrow: ['Н', 'П', 'А', 'С', 'Ч', 'П', 'С'],\n short: ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'],\n abbreviated: ['нядз', 'пан', 'аўт', 'сер', 'чац', 'пят', 'суб'],\n wide: ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дзень',\n evening: 'веч.',\n night: 'ноч'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дзень',\n evening: 'веч.',\n night: 'ноч'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўнач',\n noon: 'поўдзень',\n morning: 'раніца',\n afternoon: 'дзень',\n evening: 'вечар',\n night: 'ноч'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночы'\n },\n abbreviated: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўн.',\n noon: 'поўд.',\n morning: 'ран.',\n afternoon: 'дня',\n evening: 'веч.',\n night: 'ночы'\n },\n wide: {\n am: 'ДП',\n pm: 'ПП',\n midnight: 'поўнач',\n noon: 'поўдзень',\n morning: 'раніцы',\n afternoon: 'дня',\n evening: 'вечара',\n night: 'ночы'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n var number = Number(dirtyNumber);\n var suffix;\n /** Though it's an incorrect ordinal form of a date we use it here for consistency with other similar locales (ru, uk)\n * For date-month combinations should be used `d` formatter.\n * Correct: `d MMMM` (4 верасня)\n * Incorrect: `do MMMM` (4-га верасня)\n *\n * But following the consistency leads to mistakes for literal uses of `do` formatter (ordinal day of month).\n * So for phrase \"5th day of month\" (`do дзень месяца`)\n * library will produce: `5-га дзень месяца`\n * but correct spelling should be: `5-ы дзень месяца`\n *\n * So I guess there should be a stand-alone and a formatting version of \"day of month\" formatters\n */\n\n if (unit === 'date') {\n suffix = '-га';\n } else if (unit === 'hour' || unit === 'minute' || unit === 'second') {\n suffix = '-я';\n } else {\n suffix = (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? '-і' : '-ы';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'any',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^((да )?н\\.?\\s?э\\.?)/i,\n abbreviated: /^((да )?н\\.?\\s?э\\.?)/i,\n wide: /^(да нашай эры|нашай эры|наша эра)/i\n};\nvar parseEraPatterns = {\n any: [/^д/i, /^н/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](-?[ыі]?)? кв.?/i,\n wide: /^[1234](-?[ыі]?)? квартал/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[слкмчжв]/i,\n abbreviated: /^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\\.?/i,\n wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^м/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i],\n any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^ма/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i]\n};\nvar matchDayPatterns = {\n narrow: /^[нпасч]/i,\n short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\\.?/i,\n abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,\n wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i\n};\nvar parseDayPatterns = {\n narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i],\n any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([дп]п|поўн\\.?|поўд\\.?|ран\\.?|дзень|дня|веч\\.?|ночы?)/i,\n abbreviated: /^([дп]п|поўн\\.?|поўд\\.?|ран\\.?|дзень|дня|веч\\.?|ночы?)/i,\n wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^дп/i,\n pm: /^пп/i,\n midnight: /^поўн/i,\n noon: /^поўд/i,\n morning: /^р/i,\n afternoon: /^д[зн]/i,\n evening: /^в/i,\n night: /^н/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Belarusian locale.\n * @language Belarusian\n * @iso-639-2 bel\n * @author Kiryl Anokhin [@alyrik]{@link https://github.com/alyrik}\n * @author Martin Wind [@arvigeus]{@link https://github.com/mawi12345}\n */\n\nvar locale = {\n code: 'be',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["declension","scheme","count","rem10","rem100","buildLocalizeTokenFn","options","halfAMinute","_","formatDistanceLocale","formatDistance","token","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","lastWeek","day","weekday","thisWeek","nextWeek","lastWeekFormat","dirtyDate","baseDate","date","toDate","isSameUTCWeek","nextWeekFormat","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","unit","number","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"4ZAAA,SAASA,EAAWC,EAAQC,EAAO,CAEjC,GAAID,EAAO,MAAQ,QAAaC,IAAU,EACxC,OAAOD,EAAO,IAGhB,IAAIE,EAAQD,EAAQ,GAChBE,EAASF,EAAQ,IAErB,OAAIC,IAAU,GAAKC,IAAW,GACrBH,EAAO,mBAAmB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAC1DC,GAAS,GAAKA,GAAS,IAAMC,EAAS,IAAMA,EAAS,IACvDH,EAAO,iBAAiB,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAE1DD,EAAO,eAAe,QAAQ,YAAa,OAAOC,CAAK,CAAC,CAEnE,CAEA,SAASG,EAAqBJ,EAAQ,CACpC,OAAO,SAAUC,EAAOI,EAAS,CAC/B,OAAIA,GAAWA,EAAQ,UACjBA,EAAQ,YAAcA,EAAQ,WAAa,EACzCL,EAAO,OACFD,EAAWC,EAAO,OAAQC,CAAK,EAE/B,QAAUF,EAAWC,EAAO,QAASC,CAAK,EAG/CD,EAAO,KACFD,EAAWC,EAAO,KAAMC,CAAK,EAE7BF,EAAWC,EAAO,QAASC,CAAK,EAAI,QAIxCF,EAAWC,EAAO,QAASC,CAAK,CAE7C,CACA,CAEA,IAAIK,EAAc,SAAqBC,EAAGF,EAAS,CACjD,OAAIA,GAAWA,EAA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EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,MAAO,UAAW,MAAO,UAAW,MAAO,UAAW,SAAS,CACvE,EACIC,EAAyB,CAC3B,OAAQ,0DACR,YAAa,0DACb,KAAM,6DACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,SACV,KAAM,SACN,QAAS,MACT,UAAW,UACX,QAAS,MACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,GAAS,CACX,KAAM,KACN,eAAgBvD,EAChB,WAAYK,EACZ,eAAgBgB,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.96c55bff.js b/assets/index.96c55bff.js new file mode 100644 index 0000000000..b04effb4ed --- /dev/null +++ b/assets/index.96c55bff.js @@ -0,0 +1,2 @@ +import{d as l,e as n,f as m,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var d={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},u=function(a,o,e){var t,s=d[a];return typeof s=="string"?t=s:o===1?t=s.one:t=s.other.replace("{{count}}",o.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?t+" sonra":t+" önce":t},c={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},y={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},k={date:l({formats:c,defaultWidth:"full"}),time:l({formats:h,defaultWidth:"full"}),dateTime:l({formats:y,defaultWidth:"full"})},f={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},v=function(a,o,e,t){return f[a]},g={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},b={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},p={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},P={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},M={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},w={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},z=function(a,o){var e=Number(a);return e+"."},W={ordinalNumber:z,era:n({values:g,defaultWidth:"wide"}),quarter:n({values:b,defaultWidth:"wide",argumentCallback:function(a){return Number(a)-1}}),month:n({values:p,defaultWidth:"wide"}),day:n({values:P,defaultWidth:"wide"}),dayPeriod:n({values:M,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},S=/^(\d+)(\.)?/i,C=/\d+/i,H={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},D={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},E={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},N={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},x={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},F={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},V={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},X={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},A={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},T={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},L={ordinalNumber:m({matchPattern:S,parsePattern:C,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),day:i({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},K={code:"tr",formatDistance:u,formatLong:k,formatRelative:v,localize:W,match:L,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{K as default}; +//# sourceMappingURL=index.96c55bff.js.map diff --git a/assets/index.96c55bff.js.map b/assets/index.96c55bff.js.map new file mode 100644 index 0000000000..19d50f1bdd --- /dev/null +++ b/assets/index.96c55bff.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.96c55bff.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/tr/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'bir saniyeden az',\n other: '{{count}} saniyeden az'\n },\n xSeconds: {\n one: '1 saniye',\n other: '{{count}} saniye'\n },\n halfAMinute: 'yarım dakika',\n lessThanXMinutes: {\n one: 'bir dakikadan az',\n other: '{{count}} dakikadan az'\n },\n xMinutes: {\n one: '1 dakika',\n other: '{{count}} dakika'\n },\n aboutXHours: {\n one: 'yaklaşık 1 saat',\n other: 'yaklaşık {{count}} saat'\n },\n xHours: {\n one: '1 saat',\n other: '{{count}} saat'\n },\n xDays: {\n one: '1 gün',\n other: '{{count}} gün'\n },\n aboutXWeeks: {\n one: 'yaklaşık 1 hafta',\n other: 'yaklaşık {{count}} hafta'\n },\n xWeeks: {\n one: '1 hafta',\n other: '{{count}} hafta'\n },\n aboutXMonths: {\n one: 'yaklaşık 1 ay',\n other: 'yaklaşık {{count}} ay'\n },\n xMonths: {\n one: '1 ay',\n other: '{{count}} ay'\n },\n aboutXYears: {\n one: 'yaklaşık 1 yıl',\n other: 'yaklaşık {{count}} yıl'\n },\n xYears: {\n one: '1 yıl',\n other: '{{count}} yıl'\n },\n overXYears: {\n one: '1 yıldan fazla',\n other: '{{count}} yıldan fazla'\n },\n almostXYears: {\n one: 'neredeyse 1 yıl',\n other: 'neredeyse {{count}} yıl'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' sonra';\n } else {\n return result + ' önce';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'd MMMM y EEEE',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'saat' {{time}}\",\n long: \"{{date}} 'saat' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'geçen hafta' eeee 'saat' p\",\n yesterday: \"'dün saat' p\",\n today: \"'bugün saat' p\",\n tomorrow: \"'yarın saat' p\",\n nextWeek: \"eeee 'saat' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['MÖ', 'MS'],\n abbreviated: ['MÖ', 'MS'],\n wide: ['Milattan Önce', 'Milattan Sonra']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1Ç', '2Ç', '3Ç', '4Ç'],\n wide: ['İlk çeyrek', 'İkinci Çeyrek', 'Üçüncü çeyrek', 'Son çeyrek']\n};\nvar monthValues = {\n narrow: ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'],\n abbreviated: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],\n wide: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık']\n};\nvar dayValues = {\n narrow: ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'],\n short: ['Pz', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],\n abbreviated: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'],\n wide: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'öö',\n pm: 'ös',\n midnight: 'gy',\n noon: 'ö',\n morning: 'sa',\n afternoon: 'ös',\n evening: 'ak',\n night: 'ge'\n },\n abbreviated: {\n am: 'ÖÖ',\n pm: 'ÖS',\n midnight: 'gece yarısı',\n noon: 'öğle',\n morning: 'sabah',\n afternoon: 'öğleden sonra',\n evening: 'akşam',\n night: 'gece'\n },\n wide: {\n am: 'Ö.Ö.',\n pm: 'Ö.S.',\n midnight: 'gece yarısı',\n noon: 'öğle',\n morning: 'sabah',\n afternoon: 'öğleden sonra',\n evening: 'akşam',\n night: 'gece'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'öö',\n pm: 'ös',\n midnight: 'gy',\n noon: 'ö',\n morning: 'sa',\n afternoon: 'ös',\n evening: 'ak',\n night: 'ge'\n },\n abbreviated: {\n am: 'ÖÖ',\n pm: 'ÖS',\n midnight: 'gece yarısı',\n noon: 'öğlen',\n morning: 'sabahleyin',\n afternoon: 'öğleden sonra',\n evening: 'akşamleyin',\n night: 'geceleyin'\n },\n wide: {\n am: 'ö.ö.',\n pm: 'ö.s.',\n midnight: 'gece yarısı',\n noon: 'öğlen',\n morning: 'sabahleyin',\n afternoon: 'öğleden sonra',\n evening: 'akşamleyin',\n night: 'geceleyin'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(mö|ms)/i,\n abbreviated: /^(mö|ms)/i,\n wide: /^(milattan önce|milattan sonra)/i\n};\nvar parseEraPatterns = {\n any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]ç/i,\n wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i],\n wide: [/^(i|İ)lk çeyrek/i, /(i|İ)kinci çeyrek/i, /üçüncü çeyrek/i, /son çeyrek/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[oşmnhtaek]/i,\n abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,\n wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^o/i, /^ş/i, /^m/i, /^n/i, /^m/i, /^h/i, /^t/i, /^a/i, /^e/i, /^e/i, /^k/i, /^a/i],\n any: [/^o/i, /^ş/i, /^mar/i, /^n/i, /^may/i, /^h/i, /^t/i, /^ağ/i, /^ey/i, /^ek/i, /^k/i, /^ar/i]\n};\nvar matchDayPatterns = {\n narrow: /^[psçc]/i,\n short: /^(pz|pt|sa|ça|pe|cu|ct)/i,\n abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i,\n wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i\n};\nvar parseDayPatterns = {\n narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i],\n any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i],\n wide: [/^pazar(?!tesi)/i, /^pazartesi/i, /^salı/i, /^çarşamba/i, /^perşembe/i, /^cuma(?!rtesi)/i, /^cumartesi/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i,\n any: /^(ö\\.?\\s?[ös]\\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ö\\.?ö\\.?/i,\n pm: /^ö\\.?s\\.?/i,\n midnight: /^(gy|gece yarısı)/i,\n noon: /^öğ/i,\n morning: /^sa/i,\n afternoon: /^öğleden sonra/i,\n evening: /^ak/i,\n night: /^ge/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Turkish locale.\n * @language Turkish\n * @iso-639-2 tur\n * @author Alpcan Aydın [@alpcanaydin]{@link https://github.com/alpcanaydin}\n * @author Berkay Sargın [@berkaey]{@link https://github.com/berkaey}\n * @author Fatih Bulut [@bulutfatih]{@link https://github.com/bulutfatih}\n * @author Ismail Demirbilek [@dbtek]{@link https://github.com/dbtek}\n * @author İsmail Kayar [@ikayar]{@link https://github.com/ikayar}\n *\n *\n */\n\nvar locale = {\n code: 'tr',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,mBACL,MAAO,wBACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,wBACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,uBACR,EACD,QAAS,CACP,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,WAAY,CACV,IAAK,iBACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,kBACL,MAAO,yBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAaH,EAAM,SAAQ,CAAE,EAG7DC,G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,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.979a39bb.js b/assets/index.979a39bb.js new file mode 100644 index 0000000000..5955e5355b --- /dev/null +++ b/assets/index.979a39bb.js @@ -0,0 +1,2 @@ +import{d as s,e as n,f as u,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var d={lessThanXSeconds:{one:"malpli ol sekundo",other:"malpli ol {{count}} sekundoj"},xSeconds:{one:"1 sekundo",other:"{{count}} sekundoj"},halfAMinute:"duonminuto",lessThanXMinutes:{one:"malpli ol minuto",other:"malpli ol {{count}} minutoj"},xMinutes:{one:"1 minuto",other:"{{count}} minutoj"},aboutXHours:{one:"proksimume 1 horo",other:"proksimume {{count}} horoj"},xHours:{one:"1 horo",other:"{{count}} horoj"},xDays:{one:"1 tago",other:"{{count}} tagoj"},aboutXMonths:{one:"proksimume 1 monato",other:"proksimume {{count}} monatoj"},xWeeks:{one:"1 semajno",other:"{{count}} semajnoj"},aboutXWeeks:{one:"proksimume 1 semajno",other:"proksimume {{count}} semajnoj"},xMonths:{one:"1 monato",other:"{{count}} monatoj"},aboutXYears:{one:"proksimume 1 jaro",other:"proksimume {{count}} jaroj"},xYears:{one:"1 jaro",other:"{{count}} jaroj"},overXYears:{one:"pli ol 1 jaro",other:"pli ol {{count}} jaroj"},almostXYears:{one:"preskaŭ 1 jaro",other:"preskaŭ {{count}} jaroj"}},l=function(a,r,e){var t,m=d[a];return typeof m=="string"?t=m:r===1?t=m.one:t=m.other.replace("{{count}}",String(r)),e!=null&&e.addSuffix?e!=null&&e.comparison&&e.comparison>0?"post "+t:"antaŭ "+t:t},h={full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},v={full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p={any:"{{date}} {{time}}"},j={date:s({formats:h,defaultWidth:"full"}),time:s({formats:v,defaultWidth:"full"}),dateTime:s({formats:p,defaultWidth:"any"})},c={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"},f=function(a,r,e,t){return c[a]},b={narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},k={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},g={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan","feb","mar","apr","maj","jun","jul","aŭg","sep","okt","nov","dec"],wide:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"]},P={narrow:["D","L","M","M","Ĵ","V","S"],short:["di","lu","ma","me","ĵa","ve","sa"],abbreviated:["dim","lun","mar","mer","ĵaŭ","ven","sab"],wide:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"]},w={narrow:{am:"a",pm:"p",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},abbreviated:{am:"a.t.m.",pm:"p.t.m.",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"},wide:{am:"antaŭtagmeze",pm:"posttagmeze",midnight:"noktomezo",noon:"tagmezo",morning:"matene",afternoon:"posttagmeze",evening:"vespere",night:"nokte"}},y=function(a){var r=Number(a);return r+"-a"},M={ordinalNumber:y,era:n({values:b,defaultWidth:"wide"}),quarter:n({values:k,defaultWidth:"wide",argumentCallback:function(a){return Number(a)-1}}),month:n({values:g,defaultWidth:"wide"}),day:n({values:P,defaultWidth:"wide"}),dayPeriod:n({values:w,defaultWidth:"wide"})},z=/^(\d+)(-?a)?/i,W=/\d+/i,x={narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},D={any:[/^a/i,/^[kp]/i]},E={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},K={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,wide:/^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i},H={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^a(u|ŭ)/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[dlmĵjvs]/i,short:/^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,wide:/^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i},X={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^(j|ĵ)/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^(j|ĵ)/i,/^v/i,/^s/i]},C={narrow:/^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,abbreviated:/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,wide:/^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i},L={any:{am:/^a/i,pm:/^p/i,midnight:/^noktom/i,noon:/^t/i,morning:/^m/i,afternoon:/^posttagmeze/i,evening:/^v/i,night:/^n/i}},S={ordinalNumber:u({matchPattern:z,parsePattern:W,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:K,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"})},q={code:"eo",formatDistance:l,formatLong:j,formatRelative:f,localize:M,match:S,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{q as default}; +//# sourceMappingURL=index.979a39bb.js.map diff --git a/assets/index.979a39bb.js.map b/assets/index.979a39bb.js.map new file mode 100644 index 0000000000..5253b279f2 --- /dev/null +++ b/assets/index.979a39bb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.979a39bb.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/eo/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'malpli ol sekundo',\n other: 'malpli ol {{count}} sekundoj'\n },\n xSeconds: {\n one: '1 sekundo',\n other: '{{count}} sekundoj'\n },\n halfAMinute: 'duonminuto',\n lessThanXMinutes: {\n one: 'malpli ol minuto',\n other: 'malpli ol {{count}} minutoj'\n },\n xMinutes: {\n one: '1 minuto',\n other: '{{count}} minutoj'\n },\n aboutXHours: {\n one: 'proksimume 1 horo',\n other: 'proksimume {{count}} horoj'\n },\n xHours: {\n one: '1 horo',\n other: '{{count}} horoj'\n },\n xDays: {\n one: '1 tago',\n other: '{{count}} tagoj'\n },\n aboutXMonths: {\n one: 'proksimume 1 monato',\n other: 'proksimume {{count}} monatoj'\n },\n xWeeks: {\n one: '1 semajno',\n other: '{{count}} semajnoj'\n },\n aboutXWeeks: {\n one: 'proksimume 1 semajno',\n other: 'proksimume {{count}} semajnoj'\n },\n xMonths: {\n one: '1 monato',\n other: '{{count}} monatoj'\n },\n aboutXYears: {\n one: 'proksimume 1 jaro',\n other: 'proksimume {{count}} jaroj'\n },\n xYears: {\n one: '1 jaro',\n other: '{{count}} jaroj'\n },\n overXYears: {\n one: 'pli ol 1 jaro',\n other: 'pli ol {{count}} jaroj'\n },\n almostXYears: {\n one: 'preskaŭ 1 jaro',\n other: 'preskaŭ {{count}} jaroj'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options !== null && options !== void 0 && options.comparison && options.comparison > 0) {\n return 'post ' + result;\n } else {\n return 'antaŭ ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, do 'de' MMMM y\",\n long: 'y-MMMM-dd',\n medium: 'y-MMM-dd',\n short: 'yyyy-MM-dd'\n};\nvar timeFormats = {\n full: \"Ho 'horo kaj' m:ss zzzz\",\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'pasinta' eeee 'je' p\",\n yesterday: \"'hieraŭ je' p\",\n today: \"'hodiaŭ je' p\",\n tomorrow: \"'morgaŭ je' p\",\n nextWeek: \"eeee 'je' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['aK', 'pK'],\n abbreviated: ['a.K.E.', 'p.K.E.'],\n wide: ['antaŭ Komuna Erao', 'Komuna Erao']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1-a kvaronjaro', '2-a kvaronjaro', '3-a kvaronjaro', '4-a kvaronjaro']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', 'oktobro', 'novembro', 'decembro']\n};\nvar dayValues = {\n narrow: ['D', 'L', 'M', 'M', 'Ĵ', 'V', 'S'],\n short: ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'],\n abbreviated: ['dim', 'lun', 'mar', 'mer', 'ĵaŭ', 'ven', 'sab'],\n wide: ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'noktomezo',\n noon: 'tagmezo',\n morning: 'matene',\n afternoon: 'posttagmeze',\n evening: 'vespere',\n night: 'nokte'\n },\n abbreviated: {\n am: 'a.t.m.',\n pm: 'p.t.m.',\n midnight: 'noktomezo',\n noon: 'tagmezo',\n morning: 'matene',\n afternoon: 'posttagmeze',\n evening: 'vespere',\n night: 'nokte'\n },\n wide: {\n am: 'antaŭtagmeze',\n pm: 'posttagmeze',\n midnight: 'noktomezo',\n noon: 'tagmezo',\n morning: 'matene',\n afternoon: 'posttagmeze',\n evening: 'vespere',\n night: 'nokte'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + '-a';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-?a)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([ap]k)/i,\n abbreviated: /^([ap]\\.?\\s?k\\.?\\s?e\\.?)/i,\n wide: /^((antaǔ |post )?komuna erao)/i\n};\nvar parseEraPatterns = {\n any: [/^a/i, /^[kp]/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^k[1234]/i,\n wide: /^[1234](-?a)? kvaronjaro/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,\n wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^a(u|ŭ)/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmĵjvs]/i,\n short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,\n abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,\n wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i],\n any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,\n abbreviated: /^([ap][.\\s]?t[.\\s]?m[.\\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,\n wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^noktom/i,\n noon: /^t/i,\n morning: /^m/i,\n afternoon: /^posttagmeze/i,\n evening: /^v/i,\n night: /^n/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Esperanto locale.\n * @language Esperanto\n * @iso-639-2 epo\n * @author date-fns\n */\nvar locale = {\n code: 'eo',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,oBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,aACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,sBACL,MAAO,8BACR,EACD,OAAQ,CACN,IAAK,YACL,MAAO,oBACR,EACD,YAAa,CACX,IAAK,uBACL,MAAO,+BACR,EACD,QAAS,CACP,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,4BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,WAAY,CACV,IAAK,gBACL,MAAO,wBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,yBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,GAAY,MAA8BA,EAAQ,YAAcA,EAAQ,WAAa,EAChF,QAAUC,EAEV,SAAWA,EAIfA,CACT,ECpFIE,EAAc,CAChB,KAAM,uBACN,KAAM,YACN,OAAQ,WACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,0BACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,IAAK,mBACP,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,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AAM,sFACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,UAAW,MAAO,KAAK,EAC5D,IAAK,CAAC,MAAO,MAAO,OAAQ,OAAQ,UAAW,MAAO,KAAK,CAC7D,EACIC,EAAyB,CAC3B,OAAQ,8DACR,YAAa,kFACb,KAAM,uEACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,WACV,KAAM,MACN,QAAS,MACT,UAAW,gBACX,QAAS,MACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.99dc73d2.js b/assets/index.99dc73d2.js new file mode 100644 index 0000000000..c759eb12a2 --- /dev/null +++ b/assets/index.99dc73d2.js @@ -0,0 +1,2 @@ +import{i as s}from"./index.2a57f56e.js";import{e as o,f as l,g as m}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var g={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},L=function(e,i,n){var t,r=g[e];return typeof r=="string"?t=r:i===1?t=r.one:t=r.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+t:t+" fa":t},d=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function c(a){switch(a){case 0:return"'domenica scorsa alle' p";default:return"'"+d[a]+" scorso alle' p"}}function u(a){return"'"+d[a]+" alle' p"}function v(a){switch(a){case 0:return"'domenica prossima alle' p";default:return"'"+d[a]+" prossimo alle' p"}}var h={lastWeek:function(e,i,n){var t=e.getUTCDay();return s(e,i,n)?u(t):c(t)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,i,n){var t=e.getUTCDay();return s(e,i,n)?u(t):v(t)},other:"P"},E=function(e,i,n,t){var r=h[e];return typeof r=="function"?r(i,n,t):r},f={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},b={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},p={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},P={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},z={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},w={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},y=function(e,i){var n=Number(e);return String(n)},Y={ordinalNumber:y,era:o({values:f,defaultWidth:"wide"}),quarter:o({values:b,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:p,defaultWidth:"wide"}),day:o({values:P,defaultWidth:"wide"}),dayPeriod:o({values:z,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},M=/^(\d+)(º)?/i,W=/\d+/i,C={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},k={any:[/^a/i,/^(d|e)/i]},D={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},x={any:[/1/i,/2/i,/3/i,/4/i]},V={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},T={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},S={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},X={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},A={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},G={ordinalNumber:l({matchPattern:M,parsePattern:W,valueCallback:function(e){return parseInt(e,10)}}),era:m({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:k,defaultParseWidth:"any"}),quarter:m({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:m({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),day:m({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:m({matchPatterns:X,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})};export{E as a,L as f,Y as l,G as m}; +//# sourceMappingURL=index.99dc73d2.js.map diff --git a/assets/index.99dc73d2.js.map b/assets/index.99dc73d2.js.map new file mode 100644 index 0000000000..b5307ae5ce --- /dev/null +++ b/assets/index.99dc73d2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.99dc73d2.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/_lib/match/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'meno di un secondo',\n other: 'meno di {{count}} secondi'\n },\n xSeconds: {\n one: 'un secondo',\n other: '{{count}} secondi'\n },\n halfAMinute: 'alcuni secondi',\n lessThanXMinutes: {\n one: 'meno di un minuto',\n other: 'meno di {{count}} minuti'\n },\n xMinutes: {\n one: 'un minuto',\n other: '{{count}} minuti'\n },\n aboutXHours: {\n one: \"circa un'ora\",\n other: 'circa {{count}} ore'\n },\n xHours: {\n one: \"un'ora\",\n other: '{{count}} ore'\n },\n xDays: {\n one: 'un giorno',\n other: '{{count}} giorni'\n },\n aboutXWeeks: {\n one: 'circa una settimana',\n other: 'circa {{count}} settimane'\n },\n xWeeks: {\n one: 'una settimana',\n other: '{{count}} settimane'\n },\n aboutXMonths: {\n one: 'circa un mese',\n other: 'circa {{count}} mesi'\n },\n xMonths: {\n one: 'un mese',\n other: '{{count}} mesi'\n },\n aboutXYears: {\n one: 'circa un anno',\n other: 'circa {{count}} anni'\n },\n xYears: {\n one: 'un anno',\n other: '{{count}} anni'\n },\n overXYears: {\n one: 'più di un anno',\n other: 'più di {{count}} anni'\n },\n almostXYears: {\n one: 'quasi un anno',\n other: 'quasi {{count}} anni'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'tra ' + result;\n } else {\n return result + ' fa';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar weekdays = ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'];\n\nfunction _lastWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica scorsa alle' p\";\n\n default:\n return \"'\" + weekdays[day] + \" scorso alle' p\";\n }\n}\n\nfunction thisWeek(day) {\n return \"'\" + weekdays[day] + \" alle' p\";\n}\n\nfunction _nextWeek(day) {\n switch (day) {\n case 0:\n return \"'domenica prossima alle' p\";\n\n default:\n return \"'\" + weekdays[day] + \" prossimo alle' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'ieri alle' p\",\n today: \"'oggi alle' p\",\n tomorrow: \"'domani alle' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['aC', 'dC'],\n abbreviated: ['a.C.', 'd.C.'],\n wide: ['avanti Cristo', 'dopo Cristo']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']\n};\nvar monthValues = {\n narrow: ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],\n wide: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre']\n};\nvar dayValues = {\n narrow: ['D', 'L', 'M', 'M', 'G', 'V', 'S'],\n short: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],\n abbreviated: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],\n wide: ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'm.',\n pm: 'p.',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'mattina',\n afternoon: 'pomeriggio',\n evening: 'sera',\n night: 'notte'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'mattina',\n afternoon: 'pomeriggio',\n evening: 'sera',\n night: 'notte'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'mattina',\n afternoon: 'pomeriggio',\n evening: 'sera',\n night: 'notte'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'm.',\n pm: 'p.',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'di mattina',\n afternoon: 'del pomeriggio',\n evening: 'di sera',\n night: 'di notte'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'di mattina',\n afternoon: 'del pomeriggio',\n evening: 'di sera',\n night: 'di notte'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'mezzanotte',\n noon: 'mezzogiorno',\n morning: 'di mattina',\n afternoon: 'del pomeriggio',\n evening: 'di sera',\n night: 'di notte'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return String(number);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a\\.?\\s?C\\.?|a\\.?\\s?e\\.?\\s?v\\.?|d\\.?\\s?C\\.?|e\\.?\\s?v\\.?)/i,\n wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i\n};\nvar parseEraPatterns = {\n any: [/^a/i, /^(d|e)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^t[1234]/i,\n wide: /^[1234](º)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[gfmalsond]/i,\n abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,\n wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^g/i, /^f/i, /^m/i, /^a/i, /^m/i, /^g/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ge/i, /^f/i, /^mar/i, /^ap/i, /^mag/i, /^gi/i, /^l/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmgvs]/i,\n short: /^(do|lu|ma|me|gi|ve|sa)/i,\n abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,\n wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],\n any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|m\\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,\n any: /^([ap]\\.?\\s?m\\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mezza/i,\n noon: /^mezzo/i,\n morning: /mattina/i,\n afternoon: /pomeriggio/i,\n evening: /sera/i,\n night: /notte/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","weekdays","_lastWeek","day","thisWeek","_nextWeek","formatRelativeLocale","date","baseDate","isSameUTCWeek","formatRelative","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index"],"mappings":"kLAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,2BACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,mBACR,EACD,YAAa,iBACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,0BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,YACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,sBACL,MAAO,2BACR,EACD,OAAQ,CACN,IAAK,gBACL,MAAO,qBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,sBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,iBACL,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,sBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAaH,EAAM,SAAQ,CAAE,EAG7DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,OAASC,EAETA,EAAS,MAIbA,CACT,ECpFIE,EAAW,CAAC,WAAY,SAAU,UAAW,YAAa,UAAW,UAAW,QAAQ,EAE5F,SAASC,EAAUC,EAAK,CACtB,OAAQA,EAAG,CACT,IAAK,GACH,MAAO,2BAET,QACE,MAAO,IAAMF,EAASE,GAAO,iBAChC,CACH,CAEA,SAASC,EAASD,EAAK,CACrB,MAA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,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH"} \ No newline at end of file diff --git a/assets/index.9d67e082.js b/assets/index.9d67e082.js new file mode 100644 index 0000000000..986c56c444 --- /dev/null +++ b/assets/index.9d67e082.js @@ -0,0 +1,2 @@ +import{e as o,d as u,f as l,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},number:{"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}},c={narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},v={narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},f={narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},b={narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},g={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},w={narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}};function P(r,e){if(r>18&&r<=31)return e+"শে";switch(r){case 1:return e+"লা";case 2:case 3:return e+"রা";case 4:return e+"ঠা";default:return e+"ই"}}var p=function(e,i){var t=Number(e),a=s(t),n=i==null?void 0:i.unit;if(n==="date")return P(t,a);if(t>10||t===0)return a+"তম";var m=t%10;switch(m){case 2:case 3:return a+"য়";case 4:return a+"র্থ";case 6:return a+"ষ্ঠ";default:return a+"ম"}};function s(r){return r.toString().replace(/\d/g,function(e){return h.locale[e]})}var y={ordinalNumber:p,era:o({values:c,defaultWidth:"wide"}),quarter:o({values:v,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:f,defaultWidth:"wide"}),day:o({values:b,defaultWidth:"wide"}),dayPeriod:o({values:g,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},M={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় ১ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"১ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}},W=function(e,i,t){var a,n=M[e];return typeof n=="string"?a=n:i===1?a=n.one:a=n.other.replace("{{count}}",s(i)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" এর মধ্যে":a+" আগে":a},k={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},D={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},x={full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},F={date:u({formats:k,defaultWidth:"full"}),time:u({formats:D,defaultWidth:"full"}),dateTime:u({formats:x,defaultWidth:"full"})},V={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},z=function(e,i,t,a){return V[e]},X=/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,C=/\d+/i,L={narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},E={narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},N={narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},S={any:[/১/i,/২/i,/৩/i,/৪/i]},T={narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},O={any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},R={narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},Y={narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},q={narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},_={any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},H={ordinalNumber:l({matchPattern:X,parsePattern:C,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"wide"}),quarter:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),day:d({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"wide"}),dayPeriod:d({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any"})},G={code:"bn",formatDistance:W,formatLong:F,formatRelative:z,localize:y,match:H,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{G as default}; +//# sourceMappingURL=index.9d67e082.js.map diff --git a/assets/index.9d67e082.js.map b/assets/index.9d67e082.js.map new file mode 100644 index 0000000000..f4a12ca168 --- /dev/null +++ b/assets/index.9d67e082.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.9d67e082.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bn/index.js"],"sourcesContent":["import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar numberValues = {\n locale: {\n '1': '১',\n '2': '২',\n '3': '৩',\n '4': '৪',\n '5': '৫',\n '6': '৬',\n '7': '৭',\n '8': '৮',\n '9': '৯',\n '0': '০'\n },\n number: {\n '১': '1',\n '২': '2',\n '৩': '3',\n '৪': '4',\n '৫': '5',\n '৬': '6',\n '৭': '7',\n '৮': '8',\n '৯': '9',\n '০': '0'\n }\n};\nvar eraValues = {\n narrow: ['খ্রিঃপূঃ', 'খ্রিঃ'],\n abbreviated: ['খ্রিঃপূর্ব', 'খ্রিঃ'],\n wide: ['খ্রিস্টপূর্ব', 'খ্রিস্টাব্দ']\n};\nvar quarterValues = {\n narrow: ['১', '২', '৩', '৪'],\n abbreviated: ['১ত্রৈ', '২ত্রৈ', '৩ত্রৈ', '৪ত্রৈ'],\n wide: ['১ম ত্রৈমাসিক', '২য় ত্রৈমাসিক', '৩য় ত্রৈমাসিক', '৪র্থ ত্রৈমাসিক']\n};\nvar monthValues = {\n narrow: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'],\n abbreviated: ['জানু', 'ফেব্রু', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'],\n wide: ['জানুয়ারি', 'ফেব্রুয়ারি', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর']\n};\nvar dayValues = {\n narrow: ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'],\n short: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'],\n abbreviated: ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহ', 'শুক্র', 'শনি'],\n wide: ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার ', 'শুক্রবার', 'শনিবার']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'পূ',\n pm: 'অপ',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n },\n abbreviated: {\n am: 'পূর্বাহ্ন',\n pm: 'অপরাহ্ন',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n },\n wide: {\n am: 'পূর্বাহ্ন',\n pm: 'অপরাহ্ন',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'পূ',\n pm: 'অপ',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n },\n abbreviated: {\n am: 'পূর্বাহ্ন',\n pm: 'অপরাহ্ন',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n },\n wide: {\n am: 'পূর্বাহ্ন',\n pm: 'অপরাহ্ন',\n midnight: 'মধ্যরাত',\n noon: 'মধ্যাহ্ন',\n morning: 'সকাল',\n afternoon: 'বিকাল',\n evening: 'সন্ধ্যা',\n night: 'রাত'\n }\n};\n\nfunction dateOrdinalNumber(number, localeNumber) {\n if (number > 18 && number <= 31) {\n return localeNumber + 'শে';\n } else {\n switch (number) {\n case 1:\n return localeNumber + 'লা';\n\n case 2:\n case 3:\n return localeNumber + 'রা';\n\n case 4:\n return localeNumber + 'ঠা';\n\n default:\n return localeNumber + 'ই';\n }\n }\n}\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var localeNumber = numberToLocale(number);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n\n if (unit === 'date') {\n return dateOrdinalNumber(number, localeNumber);\n }\n\n if (number > 10 || number === 0) return localeNumber + 'তম';\n var rem10 = number % 10;\n\n switch (rem10) {\n case 2:\n case 3:\n return localeNumber + 'য়';\n\n case 4:\n return localeNumber + 'র্থ';\n\n case 6:\n return localeNumber + 'ষ্ঠ';\n\n default:\n return localeNumber + 'ম';\n }\n}; // function localeToNumber(locale: string): number {\n// const enNumber = locale.toString().replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n// return numberValues.number[match as keyof typeof numberValues.number]\n// })\n// return Number(enNumber)\n// }\n\n\nexport function numberToLocale(enNumber) {\n return enNumber.toString().replace(/\\d/g, function (match) {\n return numberValues.locale[match];\n });\n}\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import { numberToLocale } from \"../localize/index.js\";\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'প্রায় ১ সেকেন্ড',\n other: 'প্রায় {{count}} সেকেন্ড'\n },\n xSeconds: {\n one: '১ সেকেন্ড',\n other: '{{count}} সেকেন্ড'\n },\n halfAMinute: 'আধ মিনিট',\n lessThanXMinutes: {\n one: 'প্রায় ১ মিনিট',\n other: 'প্রায় {{count}} মিনিট'\n },\n xMinutes: {\n one: '১ মিনিট',\n other: '{{count}} মিনিট'\n },\n aboutXHours: {\n one: 'প্রায় ১ ঘন্টা',\n other: 'প্রায় {{count}} ঘন্টা'\n },\n xHours: {\n one: '১ ঘন্টা',\n other: '{{count}} ঘন্টা'\n },\n xDays: {\n one: '১ দিন',\n other: '{{count}} দিন'\n },\n aboutXWeeks: {\n one: 'প্রায় ১ সপ্তাহ',\n other: 'প্রায় {{count}} সপ্তাহ'\n },\n xWeeks: {\n one: '১ সপ্তাহ',\n other: '{{count}} সপ্তাহ'\n },\n aboutXMonths: {\n one: 'প্রায় ১ মাস',\n other: 'প্রায় {{count}} মাস'\n },\n xMonths: {\n one: '১ মাস',\n other: '{{count}} মাস'\n },\n aboutXYears: {\n one: 'প্রায় ১ বছর',\n other: 'প্রায় {{count}} বছর'\n },\n xYears: {\n one: '১ বছর',\n other: '{{count}} বছর'\n },\n overXYears: {\n one: '১ বছরের বেশি',\n other: '{{count}} বছরের বেশি'\n },\n almostXYears: {\n one: 'প্রায় ১ বছর',\n other: 'প্রায় {{count}} বছর'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', numberToLocale(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' এর মধ্যে';\n } else {\n return result + ' আগে';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} {{time}} 'সময়'\",\n long: \"{{date}} {{time}} 'সময়'\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'গত' eeee 'সময়' p\",\n yesterday: \"'গতকাল' 'সময়' p\",\n today: \"'আজ' 'সময়' p\",\n tomorrow: \"'আগামীকাল' 'সময়' p\",\n nextWeek: \"eeee 'সময়' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(খ্রিঃপূঃ|খ্রিঃ)/i,\n abbreviated: /^(খ্রিঃপূর্ব|খ্রিঃ)/i,\n wide: /^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i\n};\nvar parseEraPatterns = {\n narrow: [/^খ্রিঃপূঃ/i, /^খ্রিঃ/i],\n abbreviated: [/^খ্রিঃপূর্ব/i, /^খ্রিঃ/i],\n wide: [/^খ্রিস্টপূর্ব/i, /^খ্রিস্টাব্দ/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[১২৩৪]/i,\n abbreviated: /^[১২৩৪]ত্রৈ/i,\n wide: /^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i\n};\nvar parseQuarterPatterns = {\n any: [/১/i, /২/i, /৩/i, /৪/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,\n abbreviated: /^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,\n wide: /^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i\n};\nvar parseMonthPatterns = {\n any: [/^জানু/i, /^ফেব্রু/i, /^মার্চ/i, /^এপ্রিল/i, /^মে/i, /^জুন/i, /^জুলাই/i, /^আগস্ট/i, /^সেপ্ট/i, /^অক্টো/i, /^নভে/i, /^ডিসে/i]\n};\nvar matchDayPatterns = {\n narrow: /^(র|সো|ম|বু|বৃ|শু|শ)+/i,\n short: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,\n abbreviated: /^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,\n wide: /^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i\n};\nvar parseDayPatterns = {\n narrow: [/^র/i, /^সো/i, /^ম/i, /^বু/i, /^বৃ/i, /^শু/i, /^শ/i],\n short: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i],\n abbreviated: [/^রবি/i, /^সোম/i, /^মঙ্গল/i, /^বুধ/i, /^বৃহ/i, /^শুক্র/i, /^শনি/i],\n wide: [/^রবিবার/i, /^সোমবার/i, /^মঙ্গলবার/i, /^বুধবার/i, /^বৃহস্পতিবার /i, /^শুক্রবার/i, /^শনিবার/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,\n abbreviated: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,\n wide: /^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^পূ/i,\n pm: /^অপ/i,\n midnight: /^মধ্যরাত/i,\n noon: /^মধ্যাহ্ন/i,\n morning: /সকাল/i,\n afternoon: /বিকাল/i,\n evening: /সন্ধ্যা/i,\n night: /রাত/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'wide'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'wide'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Bengali locale.\n * @language Bengali\n * @iso-639-2 ben\n * @author Touhidur Rahman [@touhidrahman]{@link https://github.com/touhidrahman}\n * @author Farhad Yasir [@nutboltu]{@link https://github.com/nutboltu}\n */\n\nvar locale = {\n code: 'bn',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["numberValues","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","dateOrdinalNumber","number","localeNumber","ordinalNumber","dirtyNumber","options","numberToLocale","unit","rem10","enNumber","match","localize","buildLocalizeFn","quarter","formatDistanceLocale","formatDistance","token","count","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVACA,IAAIA,EAAe,CACjB,OAAQ,CACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,GACN,EACD,OAAQ,CACN,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,GACN,CACH,EACIC,EAAY,CACd,OAAQ,CAAC,WAAY,OAAO,EAC5B,YAAa,CAAC,aAAc,OAAO,EACnC,KAAM,CAAC,eAAgB,aAAa,CACtC,EACIC,EAAgB,CAClB,OAAQ,CAAC,IAAK,IAA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AAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,YACV,KAAM,aACN,QAAS,QACT,UAAW,SACX,QAAS,WACT,MAAO,MACR,CACH,EACI/B,EAAQ,CACV,cAAegC,EAAoB,CACjC,aAAcZ,EACd,aAAcC,EACd,cAAe,SAAuBY,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeZ,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,QAASW,EAAa,CACpB,cAAeV,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBU,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeR,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKO,EAAa,CAChB,cAAeN,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,UAAWK,EAAa,CACtB,cAAeJ,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECrFIK,EAAS,CACX,KAAM,KACN,eAAgB/B,EAChB,WAAYQ,EACZ,eAAgBG,EAChB,SAAUf,EACV,MAAOD,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.9f39dc77.js b/assets/index.9f39dc77.js new file mode 100644 index 0000000000..042ac3403e --- /dev/null +++ b/assets/index.9f39dc77.js @@ -0,0 +1,2 @@ +import{d,e as o,f as s,g as m}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},u=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],f=function(t,r,e){var a,i=l[t];return typeof i=="string"?a=i:r===1?a=i.one:e&&e.onlyNumeric?a=i.other.replace("{{count}}",String(r)):a=i.other.replace("{{count}}",r<13?u[r]:String(r)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"om "+a:a+" sedan":a},v={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},g={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c={date:d({formats:v,defaultWidth:"full"}),time:d({formats:g,defaultWidth:"full"}),dateTime:d({formats:h,defaultWidth:"full"})},p={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},b=function(t,r,e,a){return p[t]},k={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},P={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},w={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},y={narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},M={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},j={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},W=function(t,r){var e=Number(t),a=e%100;if(a>20||a<10)switch(a%10){case 1:case 2:return e+":a"}return e+":e"},E={ordinalNumber:W,era:o({values:k,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:o({values:w,defaultWidth:"wide"}),day:o({values:y,defaultWidth:"wide"}),dayPeriod:o({values:M,defaultWidth:"wide",formattingValues:j,defaultFormattingWidth:"wide"})},D=/^(\d+)(:a|:e)?/i,K=/\d+/i,x={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},F={any:[/^f/i,/^[ev]/i]},H={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},N={any:[/1/i,/2/i,/3/i,/4/i]},z={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},S={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},V={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},X={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},C={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},L={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},Q={ordinalNumber:s({matchPattern:D,parsePattern:K,valueCallback:function(t){return parseInt(t,10)}}),era:m({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:m({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:m({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),day:m({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:m({matchPatterns:C,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},_={code:"sv",formatDistance:f,formatLong:c,formatRelative:b,localize:E,match:Q,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{_ as default}; +//# sourceMappingURL=index.9f39dc77.js.map diff --git a/assets/index.9f39dc77.js.map b/assets/index.9f39dc77.js.map new file mode 100644 index 0000000000..db4f7184f9 --- /dev/null +++ b/assets/index.9f39dc77.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.9f39dc77.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sv/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mindre än en sekund',\n other: 'mindre än {{count}} sekunder'\n },\n xSeconds: {\n one: 'en sekund',\n other: '{{count}} sekunder'\n },\n halfAMinute: 'en halv minut',\n lessThanXMinutes: {\n one: 'mindre än en minut',\n other: 'mindre än {{count}} minuter'\n },\n xMinutes: {\n one: 'en minut',\n other: '{{count}} minuter'\n },\n aboutXHours: {\n one: 'ungefär en timme',\n other: 'ungefär {{count}} timmar'\n },\n xHours: {\n one: 'en timme',\n other: '{{count}} timmar'\n },\n xDays: {\n one: 'en dag',\n other: '{{count}} dagar'\n },\n aboutXWeeks: {\n one: 'ungefär en vecka',\n other: 'ungefär {{count}} vecka'\n },\n xWeeks: {\n one: 'en vecka',\n other: '{{count}} vecka'\n },\n aboutXMonths: {\n one: 'ungefär en månad',\n other: 'ungefär {{count}} månader'\n },\n xMonths: {\n one: 'en månad',\n other: '{{count}} månader'\n },\n aboutXYears: {\n one: 'ungefär ett år',\n other: 'ungefär {{count}} år'\n },\n xYears: {\n one: 'ett år',\n other: '{{count}} år'\n },\n overXYears: {\n one: 'över ett år',\n other: 'över {{count}} år'\n },\n almostXYears: {\n one: 'nästan ett år',\n other: 'nästan {{count}} år'\n }\n};\nvar wordMapping = ['noll', 'en', 'två', 'tre', 'fyra', 'fem', 'sex', 'sju', 'åtta', 'nio', 'tio', 'elva', 'tolv'];\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n if (options && options.onlyNumeric) {\n result = tokenValue.other.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count));\n }\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'om ' + result;\n } else {\n return result + ' sedan';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'y-MM-dd'\n};\nvar timeFormats = {\n full: \"'kl'. HH:mm:ss zzzz\",\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kl.' {{time}}\",\n long: \"{{date}} 'kl.' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'i' EEEE's kl.' p\",\n yesterday: \"'igår kl.' p\",\n today: \"'idag kl.' p\",\n tomorrow: \"'imorgon kl.' p\",\n nextWeek: \"EEEE 'kl.' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['f.Kr.', 'e.Kr.'],\n abbreviated: ['f.Kr.', 'e.Kr.'],\n wide: ['före Kristus', 'efter Kristus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1:a kvartalet', '2:a kvartalet', '3:e kvartalet', '4:e kvartalet']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],\n short: ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'],\n abbreviated: ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],\n wide: ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag']\n}; // https://www.unicode.org/cldr/charts/32/summary/sv.html#1888\n\nvar dayPeriodValues = {\n narrow: {\n am: 'fm',\n pm: 'em',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'morg.',\n afternoon: 'efterm.',\n evening: 'kväll',\n night: 'natt'\n },\n abbreviated: {\n am: 'f.m.',\n pm: 'e.m.',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'morgon',\n afternoon: 'efterm.',\n evening: 'kväll',\n night: 'natt'\n },\n wide: {\n am: 'förmiddag',\n pm: 'eftermiddag',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'morgon',\n afternoon: 'eftermiddag',\n evening: 'kväll',\n night: 'natt'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'fm',\n pm: 'em',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på efterm.',\n evening: 'på kvällen',\n night: 'på natten'\n },\n abbreviated: {\n am: 'fm',\n pm: 'em',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på efterm.',\n evening: 'på kvällen',\n night: 'på natten'\n },\n wide: {\n am: 'fm',\n pm: 'em',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morgonen',\n afternoon: 'på eftermiddagen',\n evening: 'på kvällen',\n night: 'på natten'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n case 2:\n return number + ':a';\n }\n }\n\n return number + ':e';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(:a|:e)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(f\\.? ?Kr\\.?|f\\.? ?v\\.? ?t\\.?|e\\.? ?Kr\\.?|v\\.? ?t\\.?)/i,\n abbreviated: /^(f\\.? ?Kr\\.?|f\\.? ?v\\.? ?t\\.?|e\\.? ?Kr\\.?|v\\.? ?t\\.?)/i,\n wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i\n};\nvar parseEraPatterns = {\n any: [/^f/i, /^[ev]/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](:a|:e)? kvartalet/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\\.?/i,\n wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtofl]/i,\n short: /^(sö|må|ti|on|to|fr|lö)/i,\n abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i,\n wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i\n};\nvar parseDayPatterns = {\n any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^([fe]\\.?\\s?m\\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^f/i,\n pm: /^e/i,\n midnight: /^midn/i,\n noon: /^midd/i,\n morning: /morgon/i,\n afternoon: /eftermiddag/i,\n evening: /kväll/i,\n night: /natt/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Swedish locale.\n * @language Swedish\n * @iso-639-2 swe\n * @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen}\n * @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg}\n * @author Henrik Andersson [@limelights]{@link https://github.com/limelights}\n */\n\nvar locale = {\n code: 'sv',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","wordMapping","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,gBACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,kBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,iBACR,EACD,aA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,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.a453e265.js b/assets/index.a453e265.js new file mode 100644 index 0000000000..7e8ecf3563 --- /dev/null +++ b/assets/index.a453e265.js @@ -0,0 +1,2 @@ +import{f as i,a as o,b as m,m as g}from"./index.cc66e238.js";import{e as a}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var d={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},h={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},n={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},u={narrow:n.narrow,abbreviated:["Jän.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:n.wide},s={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},l={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},v={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},c=function(t){var r=Number(t);return r+"."},b={ordinalNumber:c,era:a({values:d,defaultWidth:"wide"}),quarter:a({values:h,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:a({values:n,formattingValues:u,defaultWidth:"wide"}),day:a({values:s,defaultWidth:"wide"}),dayPeriod:a({values:l,defaultWidth:"wide",formattingValues:v,defaultFormattingWidth:"wide"})},S={code:"de-AT",formatDistance:i,formatLong:o,formatRelative:m,localize:b,match:g,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{S as default}; +//# sourceMappingURL=index.a453e265.js.map diff --git a/assets/index.a453e265.js.map b/assets/index.a453e265.js.map new file mode 100644 index 0000000000..332c71b5d5 --- /dev/null +++ b/assets/index.a453e265.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.a453e265.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de-AT/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de-AT/index.js"],"sourcesContent":["import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['v.Chr.', 'n.Chr.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['vor Christus', 'nach Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']\n}; // Note: in German, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],\n wide: ['Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']\n}; // https://st.unicode.org/cldr-apps/v#/de_AT/Gregorian/\n\nvar formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],\n wide: monthValues.wide\n};\nvar dayValues = {\n narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],\n short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],\n abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],\n wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag']\n}; // https://www.unicode.org/cldr/charts/32/summary/de.html#1881\n\nvar dayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachm.',\n evening: 'Abend',\n night: 'Nacht'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachm.',\n evening: 'abends',\n night: 'nachts'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n formattingValues: formattingMonthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from \"../de/_lib/formatDistance/index.js\";\nimport formatLong from \"../de/_lib/formatLong/index.js\";\nimport formatRelative from \"../de/_lib/formatRelative/index.js\";\nimport match from \"../de/_lib/match/index.js\";\n// difference to 'de' locale\nimport localize from \"./_lib/localize/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary German locale (Austria).\n * @language German\n * @iso-639-2 deu\n * @author Christoph Tobias Stenglein [@cstenglein]{@link https://github.com/cstenglein}\n */\n\nvar locale = {\n code: 'de-AT',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","locale","formatDistance","formatLong","formatRelative","match"],"mappings":"8XACA,IAAIA,EAAY,CACd,OAAQ,CAAC,SAAU,QAAQ,EAC3B,YAAa,CAAC,SAAU,QAAQ,EAChC,KAAM,CAAC,eAAgB,eAAe,CACxC,EACIC,EAAgB,CAClB,OAAQ,CAAC,IAAK,IAAK,IAAK,GAAG,EAC3B,YAAa,CAAC,KAAM,KAAM,KAAM,IAAI,EACpC,KAAM,CAAC,aAAc,aAAc,aAAc,YAAY,CAC/D,EAKIC,EAAc,CAChB,OAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,EACnE,YAAa,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EAChG,KAAM,CAAC,SAAU,UAAW,OAAQ,QAAS,MAAO,OAAQ,OAAQ,SAAU,YAAa,UAAW,WAAY,UAAU,CAC9H,EAEIC,EAAwB,CAC1B,OAAQD,EAAY,OACpB,YAAa,CAAC,OAAQ,OAAQ,OAAQ,OAAQ,MAAO,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAM,EAC3G,KAAMA,EAAY,IACpB,EACIE,EAAY,CACd,OAAQ,CAAC,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,GAAG,EAC1C,MAAO,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,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QN,EACR,aAAc,OACd,iBAAkBC,EAClB,uBAAwB,MAC5B,CAAG,CACH,ECpHIO,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYC,EACZ,eAAgBC,EAChB,SAAUN,EACV,MAAOO,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.a6fcf9a7.js b/assets/index.a6fcf9a7.js new file mode 100644 index 0000000000..746d541791 --- /dev/null +++ b/assets/index.a6fcf9a7.js @@ -0,0 +1,2 @@ +import{d as o,e as s,f as p,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as u}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function r(a){return function(e,t){if(e===1)return t!=null&&t.addSuffix?a.one[0].replace("{{time}}",a.one[2]):a.one[0].replace("{{time}}",a.one[1]);var i=e%10===1&&e%100!==11;return t!=null&&t.addSuffix?a.other[0].replace("{{time}}",i?a.other[3]:a.other[4]).replace("{{count}}",String(e)):a.other[0].replace("{{time}}",i?a.other[1]:a.other[2]).replace("{{count}}",String(e))}}var v={lessThanXSeconds:r({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:r({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:function(e,t){return t!=null&&t.addSuffix?"pusminūtes":"pusminūte"},lessThanXMinutes:r({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:r({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:r({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:r({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:r({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:r({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:r({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:r({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:r({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:r({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:r({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:r({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:r({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},c=function(e,t,i){var n=v[e](t,i);return i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"pēc "+n:"pirms "+n:n},f={full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},k={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},g={full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},h={date:o({formats:f,defaultWidth:"full"}),time:o({formats:k,defaultWidth:"full"}),dateTime:o({formats:g,defaultWidth:"full"})},l=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],b={lastWeek:function(e,t,i){if(u(e,t,i))return"eeee 'plkst.' p";var n=l[e.getUTCDay()];return"'Pagājušā "+n+" plkst.' p"},yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:function(e,t,i){if(u(e,t,i))return"eeee 'plkst.' p";var n=l[e.getUTCDay()];return"'Nākamajā "+n+" plkst.' p"},other:"P"},w=function(e,t,i,n){var m=b[e];return typeof m=="function"?m(t,i,n):m},j={narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},P={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},y={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},M={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},W={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},S={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},D={narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},F={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},x={narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},z=function(e,t){var i=Number(e);return i+"."},C={ordinalNumber:z,era:s({values:j,defaultWidth:"wide"}),quarter:s({values:P,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide",argumentCallback:function(e){return e-1}}),month:s({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"}),day:s({values:S,defaultWidth:"wide",formattingValues:D,defaultFormattingWidth:"wide"}),dayPeriod:s({values:F,defaultWidth:"wide",formattingValues:x,defaultFormattingWidth:"wide"})},V=/^(\d+)\./i,T=/\d+/i,H={narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},N={any:[/^p/i,/^m/i]},O={narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},X={narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},L={narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i},A={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},E={narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},J={narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},R={narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},Y={any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},q={ordinalNumber:p({matchPattern:V,parsePattern:T,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),quarter:d({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"wide",valueCallback:function(e){return e+1}}),month:d({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),day:d({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:J,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"})},K={code:"lv",formatDistance:c,formatLong:h,formatRelative:w,localize:C,match:q,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{K as default}; +//# sourceMappingURL=index.a6fcf9a7.js.map diff --git a/assets/index.a6fcf9a7.js.map b/assets/index.a6fcf9a7.js.map new file mode 100644 index 0000000000..925eb44f21 --- /dev/null +++ b/assets/index.a6fcf9a7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.a6fcf9a7.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lv/index.js"],"sourcesContent":["function buildLocalizeTokenFn(schema) {\n return function (count, options) {\n if (count === 1) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n return schema.one[0].replace('{{time}}', schema.one[2]);\n } else {\n return schema.one[0].replace('{{time}}', schema.one[1]);\n }\n } else {\n var rem = count % 10 === 1 && count % 100 !== 11;\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n return schema.other[0].replace('{{time}}', rem ? schema.other[3] : schema.other[4]).replace('{{count}}', String(count));\n } else {\n return schema.other[0].replace('{{time}}', rem ? schema.other[1] : schema.other[2]).replace('{{count}}', String(count));\n }\n }\n };\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: buildLocalizeTokenFn({\n one: ['mazāk par {{time}}', 'sekundi', 'sekundi'],\n other: ['mazāk nekā {{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm']\n }),\n xSeconds: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'sekunde', 'sekundes'],\n other: ['{{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm']\n }),\n halfAMinute: function halfAMinute(_count, options) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n return 'pusminūtes';\n } else {\n return 'pusminūte';\n }\n },\n lessThanXMinutes: buildLocalizeTokenFn({\n one: ['mazāk par {{time}}', 'minūti', 'minūti'],\n other: ['mazāk nekā {{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm']\n }),\n xMinutes: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'minūte', 'minūtes'],\n other: ['{{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm']\n }),\n aboutXHours: buildLocalizeTokenFn({\n one: ['apmēram 1 {{time}}', 'stunda', 'stundas'],\n other: ['apmēram {{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām']\n }),\n xHours: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'stunda', 'stundas'],\n other: ['{{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām']\n }),\n xDays: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'diena', 'dienas'],\n other: ['{{count}} {{time}}', 'diena', 'dienas', 'dienas', 'dienām']\n }),\n aboutXWeeks: buildLocalizeTokenFn({\n one: ['apmēram 1 {{time}}', 'nedēļa', 'nedēļas'],\n other: ['apmēram {{count}} {{time}}', 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām']\n }),\n xWeeks: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'nedēļa', 'nedēļas'],\n other: ['{{count}} {{time}}', // TODO\n 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām']\n }),\n aboutXMonths: buildLocalizeTokenFn({\n one: ['apmēram 1 {{time}}', 'mēnesis', 'mēneša'],\n other: ['apmēram {{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem']\n }),\n xMonths: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'mēnesis', 'mēneša'],\n other: ['{{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem']\n }),\n aboutXYears: buildLocalizeTokenFn({\n one: ['apmēram 1 {{time}}', 'gads', 'gada'],\n other: ['apmēram {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']\n }),\n xYears: buildLocalizeTokenFn({\n one: ['1 {{time}}', 'gads', 'gada'],\n other: ['{{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']\n }),\n overXYears: buildLocalizeTokenFn({\n one: ['ilgāk par 1 {{time}}', 'gadu', 'gadu'],\n other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']\n }),\n almostXYears: buildLocalizeTokenFn({\n one: ['gandrīz 1 {{time}}', 'gads', 'gada'],\n other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']\n })\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result = formatDistanceLocale[token](count, options);\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'pēc ' + result;\n } else {\n return 'pirms ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, y. 'gada' d. MMMM\",\n long: \"y. 'gada' d. MMMM\",\n medium: 'dd.MM.y.',\n short: 'dd.MM.y.'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'plkst.' {{time}}\",\n long: \"{{date}} 'plkst.' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar weekdays = ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā'];\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n if (isSameUTCWeek(date, baseDate, options)) {\n return \"eeee 'plkst.' p\";\n }\n\n var weekday = weekdays[date.getUTCDay()];\n return \"'Pagājušā \" + weekday + \" plkst.' p\";\n },\n yesterday: \"'Vakar plkst.' p\",\n today: \"'Šodien plkst.' p\",\n tomorrow: \"'Rīt plkst.' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n if (isSameUTCWeek(date, baseDate, options)) {\n return \"eeee 'plkst.' p\";\n }\n\n var weekday = weekdays[date.getUTCDay()];\n return \"'Nākamajā \" + weekday + \" plkst.' p\";\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['p.m.ē', 'm.ē'],\n abbreviated: ['p. m. ē.', 'm. ē.'],\n wide: ['pirms mūsu ēras', 'mūsu ērā']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'],\n wide: ['pirmais ceturksnis', 'otrais ceturksnis', 'trešais ceturksnis', 'ceturtais ceturksnis']\n};\nvar formattingQuarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'],\n wide: ['pirmajā ceturksnī', 'otrajā ceturksnī', 'trešajā ceturksnī', 'ceturtajā ceturksnī']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],\n wide: ['janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', 'septembris', 'oktobris', 'novembris', 'decembris']\n};\nvar formattingMonthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['janv.', 'febr.', 'martā', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],\n wide: ['janvārī', 'februārī', 'martā', 'aprīlī', 'maijā', 'jūnijā', 'jūlijā', 'augustā', 'septembrī', 'oktobrī', 'novembrī', 'decembrī']\n};\nvar dayValues = {\n narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'],\n short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'],\n abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'],\n wide: ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena']\n};\nvar formattingDayValues = {\n narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'],\n short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'],\n abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'],\n wide: ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusn.',\n noon: 'pusd.',\n morning: 'rīts',\n afternoon: 'diena',\n evening: 'vakars',\n night: 'nakts'\n },\n abbreviated: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusn.',\n noon: 'pusd.',\n morning: 'rīts',\n afternoon: 'pēcpusd.',\n evening: 'vakars',\n night: 'nakts'\n },\n wide: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusnakts',\n noon: 'pusdienlaiks',\n morning: 'rīts',\n afternoon: 'pēcpusdiena',\n evening: 'vakars',\n night: 'nakts'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusn.',\n noon: 'pusd.',\n morning: 'rītā',\n afternoon: 'dienā',\n evening: 'vakarā',\n night: 'naktī'\n },\n abbreviated: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusn.',\n noon: 'pusd.',\n morning: 'rītā',\n afternoon: 'pēcpusd.',\n evening: 'vakarā',\n night: 'naktī'\n },\n wide: {\n am: 'am',\n pm: 'pm',\n midnight: 'pusnaktī',\n noon: 'pusdienlaikā',\n morning: 'rītā',\n afternoon: 'pēcpusdienā',\n evening: 'vakarā',\n night: 'naktī'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n formattingValues: formattingQuarterValues,\n defaultFormattingWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p\\.m\\.ē|m\\.ē)/i,\n abbreviated: /^(p\\. m\\. ē\\.|m\\. ē\\.)/i,\n wide: /^(pirms mūsu ēras|mūsu ērā)/i\n};\nvar parseEraPatterns = {\n any: [/^p/i, /^m/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234](\\. cet\\.)/i,\n wide: /^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i\n};\nvar parseQuarterPatterns = {\n narrow: [/^1/i, /^2/i, /^3/i, /^4/i],\n abbreviated: [/^1/i, /^2/i, /^3/i, /^4/i],\n wide: [/^p/i, /^o/i, /^t/i, /^c/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(janv\\.|febr\\.|marts|apr\\.|maijs|jūn\\.|jūl\\.|aug\\.|sept\\.|okt\\.|nov\\.|dec\\.)/i,\n wide: /^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jūn/i, /^jūl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[spotc]/i,\n short: /^(sv|pi|o|t|c|pk|s)/i,\n abbreviated: /^(svētd\\.|pirmd\\.|otrd.\\|trešd\\.|ceturtd\\.|piektd\\.|sestd\\.)/i,\n wide: /^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^p/i, /^o/i, /^t/i, /^c/i, /^p/i, /^s/i],\n any: [/^sv/i, /^pi/i, /^o/i, /^t/i, /^c/i, /^p/i, /^se/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(am|pm|pusn\\.|pusd\\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,\n abbreviated: /^(am|pm|pusn\\.|pusd\\.|rīt(s|ā)|pēcpusd\\.|vakar(s|ā)|nakt(s|ī))/,\n wide: /^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /^pusn/i,\n noon: /^pusd/i,\n morning: /^r/i,\n afternoon: /^(d|pēc)/i,\n evening: /^v/i,\n night: /^n/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'wide',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Latvian locale (Latvia).\n * @language Latvian\n * @iso-639-2 lav\n * @author Rūdolfs Puķītis [@prudolfs]{@link https://github.com/prudolfs}\n */\n\nvar locale = {\n code: 'lv',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["buildLocalizeTokenFn","schema","count","options","rem","formatDistanceLocale","_count","formatDistance","token","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","weekdays","formatRelativeLocale","date","baseDate","isSameUTCWeek","weekday","formatRelative","format","eraValues","quarterValues","formattingQuarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"8XAAA,SAASA,EAAqBC,EAAQ,CACpC,OAAO,SAAUC,EAAOC,EAAS,CAC/B,GAAID,IAAU,EACZ,OAAIC,GAAY,MAA8BA,EAAQ,UAC7CF,EAAO,IAAI,GAAG,QAAQ,WAAYA,EAAO,IAAI,EAAE,EAE/CA,EAAO,IAAI,GAAG,QAAQ,WAAYA,EAAO,IAAI,EAAE,EAGxD,IAAIG,EAAMF,EAAQ,KAAO,GAAKA,EAAQ,MAAQ,GAE9C,OAAIC,GAAY,MAA8BA,EAAQ,UAC7CF,EAAO,MAAM,GAAG,QAAQ,WAAYG,EAAMH,EAAO,MAAM,GAAKA,EAAO,MAAM,EAAE,EAAE,QAAQ,YAAa,OAAOC,CAAK,CAAC,EAE/GD,EAAO,MAAM,GAAG,QAAQ,WAAYG,EAAMH,EAAO,MAAM,GAAKA,EAAO,MAAM,EAAE,EAAE,QAAQ,YAAa,OAAOC,CAAK,CAAC,CAG9H,CACA,CAEA,IAAIG,EAAuB,CACzB,iBAAkBL,EAAqB,CACrC,IAAK,CAAC,qBAAsB,UAAW,SAAS,EAChD,MAAO,CAAC,gCAAiC,UAAW,WAAY,WAAY,UAAU,CAC1F,CAAG,EACD,SAAUA,EAAqB,CAC7B,IAAK,CAAC,aAAc,UAAW,UAAU,EACzC,MAAO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B,WAAYM,EACZ,eAAgBQ,EAChB,SAAUe,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.a703cba5.js b/assets/index.a703cba5.js new file mode 100644 index 0000000000..48448d43df --- /dev/null +++ b/assets/index.a703cba5.js @@ -0,0 +1,2 @@ +import{d as m,e as n,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},l=function(e,o,t){var a,d=u[e];return typeof d=="string"?a=d:o===1?a=d.one:a=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+a:a+" siden":a},f={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},v={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},g={date:m({formats:f,defaultWidth:"full"}),time:m({formats:v,defaultWidth:"full"}),dateTime:m({formats:h,defaultWidth:"full"})},c={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},p=function(e,o,t,a){return c[e]},b={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},k={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},w={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},y={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},M=function(e,o){var t=Number(e);return t+"."},W={ordinalNumber:M,era:n({values:b,defaultWidth:"wide"}),quarter:n({values:k,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:P,defaultWidth:"wide"}),day:n({values:w,defaultWidth:"wide"}),dayPeriod:n({values:y,defaultWidth:"wide"})},j=/^(\d+)\.?/i,D=/\d+/i,K={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},x={any:[/^f/i,/^e/i]},E={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},F={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},z={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},X={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},C={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},L={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},S={ordinalNumber:s({matchPattern:j,parsePattern:D,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:K,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),quarter:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),day:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:C,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},R={code:"nb",formatDistance:l,formatLong:g,formatRelative:p,localize:W,match:S,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{R as default}; +//# sourceMappingURL=index.a703cba5.js.map diff --git a/assets/index.a703cba5.js.map b/assets/index.a703cba5.js.map new file mode 100644 index 0000000000..35034b19ea --- /dev/null +++ b/assets/index.a703cba5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.a703cba5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nb/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mindre enn ett sekund',\n other: 'mindre enn {{count}} sekunder'\n },\n xSeconds: {\n one: 'ett sekund',\n other: '{{count}} sekunder'\n },\n halfAMinute: 'et halvt minutt',\n lessThanXMinutes: {\n one: 'mindre enn ett minutt',\n other: 'mindre enn {{count}} minutter'\n },\n xMinutes: {\n one: 'ett minutt',\n other: '{{count}} minutter'\n },\n aboutXHours: {\n one: 'omtrent en time',\n other: 'omtrent {{count}} timer'\n },\n xHours: {\n one: 'en time',\n other: '{{count}} timer'\n },\n xDays: {\n one: 'en dag',\n other: '{{count}} dager'\n },\n aboutXWeeks: {\n one: 'omtrent en uke',\n other: 'omtrent {{count}} uker'\n },\n xWeeks: {\n one: 'en uke',\n other: '{{count}} uker'\n },\n aboutXMonths: {\n one: 'omtrent en måned',\n other: 'omtrent {{count}} måneder'\n },\n xMonths: {\n one: 'en måned',\n other: '{{count}} måneder'\n },\n aboutXYears: {\n one: 'omtrent ett år',\n other: 'omtrent {{count}} år'\n },\n xYears: {\n one: 'ett år',\n other: '{{count}} år'\n },\n overXYears: {\n one: 'over ett år',\n other: 'over {{count}} år'\n },\n almostXYears: {\n one: 'nesten ett år',\n other: 'nesten {{count}} år'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'om ' + result;\n } else {\n return result + ' siden';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d. MMMM y',\n long: 'd. MMMM y',\n medium: 'd. MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: \"'kl'. HH:mm:ss zzzz\",\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kl.' {{time}}\",\n long: \"{{date}} 'kl.' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'forrige' eeee 'kl.' p\",\n yesterday: \"'i går kl.' p\",\n today: \"'i dag kl.' p\",\n tomorrow: \"'i morgen kl.' p\",\n nextWeek: \"EEEE 'kl.' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['f.Kr.', 'e.Kr.'],\n abbreviated: ['f.Kr.', 'e.Kr.'],\n wide: ['før Kristus', 'etter Kristus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],\n wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],\n short: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'],\n abbreviated: ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'],\n wide: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på etterm.',\n evening: 'på kvelden',\n night: 'på natten'\n },\n abbreviated: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på etterm.',\n evening: 'på kvelden',\n night: 'på natten'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morgenen',\n afternoon: 'på ettermiddagen',\n evening: 'på kvelden',\n night: 'på natten'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(f\\.? ?Kr\\.?|fvt\\.?|e\\.? ?Kr\\.?|evt\\.?)/i,\n abbreviated: /^(f\\.? ?Kr\\.?|fvt\\.?|e\\.? ?Kr\\.?|evt\\.?)/i,\n wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i\n};\nvar parseEraPatterns = {\n any: [/^f/i, /^e/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\\.?/i,\n wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtofl]/i,\n short: /^(sø|ma|ti|on|to|fr|lø)/i,\n abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,\n wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i\n};\nvar parseDayPatterns = {\n any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,\n any: /^([ap]\\.?\\s?m\\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a(\\.?\\s?m\\.?)?$/i,\n pm: /^p(\\.?\\s?m\\.?)?$/i,\n midnight: /^midn/i,\n noon: /^midd/i,\n morning: /morgen/i,\n afternoon: /ettermiddag/i,\n evening: /kveld/i,\n night: /natt/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Norwegian Bokmål locale.\n * @language Norwegian Bokmål\n * @iso-639-2 nob\n * @author Hans-Kristian Koren [@Hanse]{@link https://github.com/Hanse}\n * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}\n * @author Dag Stuan [@dagstuan]{@link https://github.com/dagstuan}\n */\n\nvar locale = {\n code: 'nb',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,wBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,oBACR,EACD,YAAa,kBACb,iBAAkB,CAChB,IAAK,wBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,oBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,mBACL,MAAO,2BACR,EACD,QAAS,CACP,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,cACR,EACD,WAAY,CACV,IAAK,cACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAERA,EAAS,SAIbA,CACT,ECpFIE,EAAc,CAChB,KAAM,iBACN,KAAM,YACN,OAAQ,WACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,sBACN,KAAM,aACN,OAAQ,WACR,M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KAAK,EAC3F,IAAK,CAAC,OAAQ,MAAO,QAAS,OAAQ,QAAS,QAAS,QAAS,QAAS,MAAO,MAAO,MAAO,KAAK,CACtG,EACIC,EAAmB,CACrB,OAAQ,aACR,MAAO,2BACP,YAAa,kCACb,KAAM,wDACR,EACIC,EAAmB,CACrB,IAAK,CAAC,MAAO,MAAO,OAAQ,MAAO,OAAQ,MAAO,KAAK,CACzD,EACIC,EAAyB,CAC3B,OAAQ,uEACR,IAAK,gFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,oBACJ,GAAI,oBACJ,SAAU,SACV,KAAM,SACN,QAAS,UACT,UAAW,eACX,QAAS,SACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.a841e78a.js b/assets/index.a841e78a.js new file mode 100644 index 0000000000..b60112bc6f --- /dev/null +++ b/assets/index.a841e78a.js @@ -0,0 +1,2 @@ +import{d as u,e as r,f as h,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXWeeks:{standalone:{one:"umbes üks nädal",other:"umbes {{count}} nädalat"},withPreposition:{one:"umbes ühe nädala",other:"umbes {{count}} nädala"}},xWeeks:{standalone:{one:"üks nädal",other:"{{count}} nädalat"},withPreposition:{one:"ühe nädala",other:"{{count}} nädala"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}},k=function(e,s,a){var i=a!=null&&a.addSuffix?m[e].withPreposition:m[e].standalone,t;return typeof i=="string"?t=i:s===1?t=i.one:t=i.other.replace("{{count}}",String(s)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?t+" pärast":t+" eest":t},p={full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},v={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},b={date:u({formats:p,defaultWidth:"full"}),time:u({formats:v,defaultWidth:"full"}),dateTime:u({formats:c,defaultWidth:"full"})},f={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"},P=function(e,s,a,i){return f[e]},g={narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},w={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},l={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},d={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]},M={narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},j={narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},y=function(e,s){var a=Number(e);return a+"."},W={ordinalNumber:y,era:r({values:g,defaultWidth:"wide"}),quarter:r({values:w,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:l,defaultWidth:"wide",formattingValues:l,defaultFormattingWidth:"wide"}),day:r({values:d,defaultWidth:"wide",formattingValues:d,defaultFormattingWidth:"wide"}),dayPeriod:r({values:M,defaultWidth:"wide",formattingValues:j,defaultFormattingWidth:"wide"})},D=/^\d+\./i,K=/\d+/i,x={narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},F={any:[/^e/i,/^(m|p)/i]},H={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},N={any:[/1/i,/2/i,/3/i,/4/i]},V={narrow:/^[jvmasond]/i,abbreviated:/^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,wide:/^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i},A={narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^juun/i,/^juul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},z={narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i},E={any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},L={any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},C={ordinalNumber:h({matchPattern:D,parsePattern:K,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:o({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),day:o({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:L,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},_={code:"et",formatDistance:k,formatLong:b,formatRelative:P,localize:W,match:C,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{_ as default}; +//# sourceMappingURL=index.a841e78a.js.map diff --git a/assets/index.a841e78a.js.map b/assets/index.a841e78a.js.map new file mode 100644 index 0000000000..77fbe5dcd1 --- /dev/null +++ b/assets/index.a841e78a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.a841e78a.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/et/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n standalone: {\n one: 'vähem kui üks sekund',\n other: 'vähem kui {{count}} sekundit'\n },\n withPreposition: {\n one: 'vähem kui ühe sekundi',\n other: 'vähem kui {{count}} sekundi'\n }\n },\n xSeconds: {\n standalone: {\n one: 'üks sekund',\n other: '{{count}} sekundit'\n },\n withPreposition: {\n one: 'ühe sekundi',\n other: '{{count}} sekundi'\n }\n },\n halfAMinute: {\n standalone: 'pool minutit',\n withPreposition: 'poole minuti'\n },\n lessThanXMinutes: {\n standalone: {\n one: 'vähem kui üks minut',\n other: 'vähem kui {{count}} minutit'\n },\n withPreposition: {\n one: 'vähem kui ühe minuti',\n other: 'vähem kui {{count}} minuti'\n }\n },\n xMinutes: {\n standalone: {\n one: 'üks minut',\n other: '{{count}} minutit'\n },\n withPreposition: {\n one: 'ühe minuti',\n other: '{{count}} minuti'\n }\n },\n aboutXHours: {\n standalone: {\n one: 'umbes üks tund',\n other: 'umbes {{count}} tundi'\n },\n withPreposition: {\n one: 'umbes ühe tunni',\n other: 'umbes {{count}} tunni'\n }\n },\n xHours: {\n standalone: {\n one: 'üks tund',\n other: '{{count}} tundi'\n },\n withPreposition: {\n one: 'ühe tunni',\n other: '{{count}} tunni'\n }\n },\n xDays: {\n standalone: {\n one: 'üks päev',\n other: '{{count}} päeva'\n },\n withPreposition: {\n one: 'ühe päeva',\n other: '{{count}} päeva'\n }\n },\n aboutXWeeks: {\n standalone: {\n one: 'umbes üks nädal',\n other: 'umbes {{count}} nädalat'\n },\n withPreposition: {\n one: 'umbes ühe nädala',\n other: 'umbes {{count}} nädala'\n }\n },\n xWeeks: {\n standalone: {\n one: 'üks nädal',\n other: '{{count}} nädalat'\n },\n withPreposition: {\n one: 'ühe nädala',\n other: '{{count}} nädala'\n }\n },\n aboutXMonths: {\n standalone: {\n one: 'umbes üks kuu',\n other: 'umbes {{count}} kuud'\n },\n withPreposition: {\n one: 'umbes ühe kuu',\n other: 'umbes {{count}} kuu'\n }\n },\n xMonths: {\n standalone: {\n one: 'üks kuu',\n other: '{{count}} kuud'\n },\n withPreposition: {\n one: 'ühe kuu',\n other: '{{count}} kuu'\n }\n },\n aboutXYears: {\n standalone: {\n one: 'umbes üks aasta',\n other: 'umbes {{count}} aastat'\n },\n withPreposition: {\n one: 'umbes ühe aasta',\n other: 'umbes {{count}} aasta'\n }\n },\n xYears: {\n standalone: {\n one: 'üks aasta',\n other: '{{count}} aastat'\n },\n withPreposition: {\n one: 'ühe aasta',\n other: '{{count}} aasta'\n }\n },\n overXYears: {\n standalone: {\n one: 'rohkem kui üks aasta',\n other: 'rohkem kui {{count}} aastat'\n },\n withPreposition: {\n one: 'rohkem kui ühe aasta',\n other: 'rohkem kui {{count}} aasta'\n }\n },\n almostXYears: {\n standalone: {\n one: 'peaaegu üks aasta',\n other: 'peaaegu {{count}} aastat'\n },\n withPreposition: {\n one: 'peaaegu ühe aasta',\n other: 'peaaegu {{count}} aasta'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var usageGroup = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' pärast';\n } else {\n return result + ' eest';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM y',\n long: 'd. MMMM y',\n medium: 'd. MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kell' {{time}}\",\n long: \"{{date}} 'kell' {{time}}\",\n medium: '{{date}}. {{time}}',\n short: '{{date}}. {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'eelmine' eeee 'kell' p\",\n yesterday: \"'eile kell' p\",\n today: \"'täna kell' p\",\n tomorrow: \"'homme kell' p\",\n nextWeek: \"'järgmine' eeee 'kell' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['e.m.a', 'm.a.j'],\n abbreviated: ['e.m.a', 'm.a.j'],\n wide: ['enne meie ajaarvamist', 'meie ajaarvamise järgi']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'],\n wide: ['jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember']\n};\nvar dayValues = {\n narrow: ['P', 'E', 'T', 'K', 'N', 'R', 'L'],\n short: ['P', 'E', 'T', 'K', 'N', 'R', 'L'],\n abbreviated: ['pühap.', 'esmasp.', 'teisip.', 'kolmap.', 'neljap.', 'reede.', 'laup.'],\n wide: ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'kesköö',\n noon: 'keskpäev',\n morning: 'hommik',\n afternoon: 'pärastlõuna',\n evening: 'õhtu',\n night: 'öö'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'kesköö',\n noon: 'keskpäev',\n morning: 'hommik',\n afternoon: 'pärastlõuna',\n evening: 'õhtu',\n night: 'öö'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'kesköö',\n noon: 'keskpäev',\n morning: 'hommik',\n afternoon: 'pärastlõuna',\n evening: 'õhtu',\n night: 'öö'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'keskööl',\n noon: 'keskpäeval',\n morning: 'hommikul',\n afternoon: 'pärastlõunal',\n evening: 'õhtul',\n night: 'öösel'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'keskööl',\n noon: 'keskpäeval',\n morning: 'hommikul',\n afternoon: 'pärastlõunal',\n evening: 'õhtul',\n night: 'öösel'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'keskööl',\n noon: 'keskpäeval',\n morning: 'hommikul',\n afternoon: 'pärastlõunal',\n evening: 'õhtul',\n night: 'öösel'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: monthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: dayValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^\\d+\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(e\\.m\\.a|m\\.a\\.j|eKr|pKr)/i,\n abbreviated: /^(e\\.m\\.a|m\\.a\\.j|eKr|pKr)/i,\n wide: /^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i\n};\nvar parseEraPatterns = {\n any: [/^e/i, /^(m|p)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234](\\.)? kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jvmasond]/i,\n abbreviated: /^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,\n wide: /^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^v/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^v/i, /^mär/i, /^ap/i, /^mai/i, /^juun/i, /^juul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[petknrl]/i,\n short: /^[petknrl]/i,\n abbreviated: /^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\\.?/i,\n wide: /^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i\n};\nvar parseDayPatterns = {\n any: [/^p/i, /^e/i, /^t/i, /^k/i, /^n/i, /^r/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^keskö/i,\n noon: /^keskp/i,\n morning: /hommik/i,\n afternoon: /pärastlõuna/i,\n evening: /õhtu/i,\n night: /öö/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Estonian locale.\n * @language Estonian\n * @iso-639-2 est\n * @author Priit Hansen [@HansenPriit]{@link https://github.com/priithansen}\n */\n\nvar locale = {\n code: 'et',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","usageGroup","result","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,WAAY,CACV,IAAK,uBACL,MAAO,8BACR,EACD,gBAAiB,CACf,IAAK,wBACL,MAAO,6BACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,aACL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,cACL,MAAO,mBACR,CACF,EACD,YAAa,CACX,WAAY,eACZ,gBAAiB,cAClB,EACD,iBAAkB,CAChB,WAAY,CACV,IAAK,sBACL,MAAO,6BACR,EACD,gBAAiB,CACf,IAAK,uBACL,MAAO,4BACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,YACL,MAAO,mBACR,EACD,gBAAiB,CACf,IAAK,aACL,MAAO,kBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,iBACL,MAAO,uBACR,EACD,gBAAiB,CACf,IAAK,kBACL,MAAO,uBACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,WACL,MAAO,iBACR,EACD,gBAAiB,CACf,IAAK,YACL,MAAO,iBACR,CACF,EACD,MAAO,CACL,WAAY,CACV,IAAK,WACL,MAAO,iBACR,EACD,gBAAiB,CACf,IAAK,YACL,MAAO,iBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,kBACL,MAAO,yBACR,EACD,gBAAiB,CACf,IAAK,mBACL,MAAO,wBACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,YACL,MAAO,mBACR,EACD,gBAAiB,CACf,IAAK,aACL,MAAO,kBACR,CACF,EACD,aAAc,CACZ,WAAY,CACV,IAAK,gBACL,MAAO,sBACR,EACD,gBAAiB,CACf,IAAK,gBACL,MAAO,qBACR,CACF,EACD,QAAS,CACP,WAAY,CACV,IAAK,UACL,MAAO,gBACR,EACD,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aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.abdbe908.js b/assets/index.abdbe908.js new file mode 100644 index 0000000000..aba530f4f0 --- /dev/null +++ b/assets/index.abdbe908.js @@ -0,0 +1,2 @@ +import{d as u,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},m=function(e,a,n){var t,r=h[e];return typeof r=="string"?t=r:a===1?t=r.one:a===2?t=r.two:a<=10?t=r.threeToTen.replace("{{count}}",String(a)):t=r.other.replace("{{count}}",String(a)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"في خلال "+t:"منذ "+t:t},l={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},g={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},w=function(e,a,n,t){return g[e]},b={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},p={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},P={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},T={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},y={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},M={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},W=function(e){return String(e)},k={ordinalNumber:W,era:o({values:b,defaultWidth:"wide"}),quarter:o({values:p,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:P,defaultWidth:"wide"}),day:o({values:T,defaultWidth:"wide"}),dayPeriod:o({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^(\d+)(th|st|nd|rd)?/i,x=/\d+/i,F={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},z={any:[/^قبل/i,/^بعد/i]},S={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},V={any:[/1/i,/2/i,/3/i,/4/i]},X={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},C={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^ف/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^أغ/i,/^س/i,/^أك/i,/^ن/i,/^د/i]},E={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},L={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},N={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Y={ordinalNumber:s({matchPattern:D,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),day:d({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},Q={code:"ar-SA",formatDistance:m,formatLong:v,formatRelative:w,localize:k,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.abdbe908.js.map diff --git a/assets/index.abdbe908.js.map b/assets/index.abdbe908.js.map new file mode 100644 index 0000000000..64f1135539 --- /dev/null +++ b/assets/index.abdbe908.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.abdbe908.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-SA/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية واحدة',\n two: 'أقل من ثانتين',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية واحدة',\n two: 'ثانتين',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نصف دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقائق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة واحدة',\n two: 'دقيقتين',\n threeToTen: '{{count}} دقائق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'ساعة واحدة تقريباً',\n two: 'ساعتين تقريباً',\n threeToTen: '{{count}} ساعات تقريباً',\n other: '{{count}} ساعة تقريباً'\n },\n xHours: {\n one: 'ساعة واحدة',\n two: 'ساعتين',\n threeToTen: '{{count}} ساعات',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'يوم واحد',\n two: 'يومين',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'أسبوع واحد تقريباً',\n two: 'أسبوعين تقريباً',\n threeToTen: '{{count}} أسابيع تقريباً',\n other: '{{count}} أسبوع تقريباً'\n },\n xWeeks: {\n one: 'أسبوع واحد',\n two: 'أسبوعين',\n threeToTen: '{{count}} أسابيع',\n other: '{{count}} أسبوع'\n },\n aboutXMonths: {\n one: 'شهر واحد تقريباً',\n two: 'شهرين تقريباً',\n threeToTen: '{{count}} أشهر تقريباً',\n other: '{{count}} شهر تقريباً'\n },\n xMonths: {\n one: 'شهر واحد',\n two: 'شهرين',\n threeToTen: '{{count}} أشهر',\n other: '{{count}} شهر'\n },\n aboutXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n },\n xYears: {\n one: 'عام واحد',\n two: 'عامين',\n threeToTen: '{{count}} أعوام',\n other: '{{count}} عام'\n },\n overXYears: {\n one: 'أكثر من عام',\n two: 'أكثر من عامين',\n threeToTen: 'أكثر من {{count}} أعوام',\n other: 'أكثر من {{count}} عام'\n },\n almostXYears: {\n one: 'عام واحد تقريباً',\n two: 'عامين تقريباً',\n threeToTen: '{{count}} أعوام تقريباً',\n other: '{{count}} عام تقريباً'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2) {\n result = tokenValue.two;\n } else if (count <= 10) {\n result = tokenValue.threeToTen.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'في خلال ' + result;\n } else {\n return 'منذ ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'عند' {{time}}\",\n long: \"{{date}} 'عند' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'أخر' eeee 'عند' p\",\n yesterday: \"'أمس عند' p\",\n today: \"'اليوم عند' p\",\n tomorrow: \"'غداً عند' p\",\n nextWeek: \"eeee 'عند' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م.', 'ب.م.'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'],\n abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'],\n wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنـ', 'ثلا', 'أربـ', 'خميـ', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءاً',\n night: 'ليلاً'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'في الصباح',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'في الصباح',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهر',\n morning: 'صباحاً',\n afternoon: 'بعد الظـهر',\n evening: 'في المساء',\n night: 'في الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?م\\.?\\s?|a\\.?\\s?d\\.?|c\\.?\\s?)/i,\n wide: /^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i\n};\nvar parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ر[1234]/i,\n wide: /^الربع [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[يفمأمسند]/i,\n abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,\n wide: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ي/i, /^ف/i, /^م/i, /^أ/i, /^م/i, /^ي/i, /^ي/i, /^أ/i, /^س/i, /^أ/i, /^ن/i, /^د/i],\n any: [/^ين/i, /^ف/i, /^مار/i, /^أب/i, /^ماي/i, /^يون/i, /^يول/i, /^أغ/i, /^س/i, /^أك/i, /^ن/i, /^د/i]\n};\nvar matchDayPatterns = {\n narrow: /^[حنثرخجس]/i,\n short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,\n abbreviated: /^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,\n wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ح/i, /^ن/i, /^ث/i, /^ر/i, /^خ/i, /^ج/i, /^س/i],\n wide: [/^الأحد/i, /^الاثنين/i, /^الثلاثاء/i, /^الأربعاء/i, /^الخميس/i, /^الجمعة/i, /^السبت/i],\n any: [/^أح/i, /^اث/i, /^ث/i, /^أر/i, /^خ/i, /^ج/i, /^س/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Sauid Arabic).\n * @language Arabic\n * @iso-639-2 ara\n * @author Dhaifallah Alwadani [@dalwadani]{@link https://github.com/dalwadani}\n */\n\nvar locale = {\n code: 'ar-SA',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,IAAK,gBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,SACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,YACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,cACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,iBACL,WAAY,0BACZ,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,qBACL,IAAK,kBACL,WAAY,2BACZ,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,aACL,IAAK,UACL,WAAY,mBACZ,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,mBACL,IAAK,gBACL,WAAY,yBACZ,MAAO,uBACR,EACD,QAAS,CACP,IAAK,WACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,IAAK,gBACL,WAAY,0BACZ,MAAO,uBACR,EACD,OAAQ,CACN,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rB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,KAAM,CAAC,UAAW,YAAa,aAAc,aAAc,WAAY,WAAY,SAAS,EAC5F,IAAK,CAAC,OAAQ,OAAQ,MAAO,OAAQ,MAAO,MAAO,KAAK,CAC1D,EACIC,EAAyB,CAC3B,OAAQ,6DACR,IAAK,gFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,OACV,KAAM,OACN,QAAS,WACT,UAAW,aACX,QAAS,WACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,QACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.b1d012ea.js b/assets/index.b1d012ea.js new file mode 100644 index 0000000000..9d6e8dd458 --- /dev/null +++ b/assets/index.b1d012ea.js @@ -0,0 +1,2 @@ +import{d as a,q as s,u,v as m}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXWeeks:{one:"about a week",other:"about {{count}} weeks"},xWeeks:{one:"a week",other:"{{count}} weeks"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}},i=function(n,r,t){var e,o=l[n];return typeof o=="string"?e=o:r===1?e=o.one:e=o.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+e:e+" ago":e},h={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},d={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:a({formats:h,defaultWidth:"full"}),time:a({formats:d,defaultWidth:"full"}),dateTime:a({formats:c,defaultWidth:"full"})},x={code:"en-CA",formatDistance:i,formatLong:f,formatRelative:s,localize:u,match:m,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{x as default}; +//# sourceMappingURL=index.b1d012ea.js.map diff --git a/assets/index.b1d012ea.js.map b/assets/index.b1d012ea.js.map new file mode 100644 index 0000000000..70c063dfe8 --- /dev/null +++ b/assets/index.b1d012ea.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.b1d012ea.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-CA/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-CA/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/en-CA/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: 'a second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: 'a minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about an hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: 'an hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: 'a day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about a week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: 'a week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about a month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: 'a month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about a year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: 'a year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over a year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost a year',\n other: 'almost {{count}} years'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, yyyy',\n long: 'MMMM do, yyyy',\n medium: 'MMM d, yyyy',\n short: 'yyyy-MM-dd'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatRelative from \"../en-US/_lib/formatRelative/index.js\";\nimport localize from \"../en-US/_lib/localize/index.js\";\nimport match from \"../en-US/_lib/match/index.js\";\nimport formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (Canada).\n * @language English\n * @iso-639-2 eng\n * @author Mark Owsiak [@markowsiak]{@link https://github.com/markowsiak}\n * @author Marco Imperatore [@mimperatore]{@link https://github.com/mimperatore}\n */\n\nvar locale = {\n code: 'en-CA',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatRelative","localize","match"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,gBACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,wBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,WAAY,CACV,IAAK,cACL,MAAO,sBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAaH,EAAM,SAAQ,CAAE,EAG7DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAERA,EAAS,OAIbA,CACT,ECpFIE,EAAc,CAChB,KAAM,sBACN,KAAM,gBACN,OAAQ,cACR,MAAO,YACT,EACIC,EAAc,CAChB,KAAM,iBACN,KAAM,cACN,OAAQ,YACR,MAAO,QACT,EACIC,EAAkB,CACpB,KAAM,yBACN,KAAM,yBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,ECjBIG,EAAS,CACX,KAAM,QACN,eAAgBX,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.b2e27d9a.js b/assets/index.b2e27d9a.js new file mode 100644 index 0000000000..1219cf1e3f --- /dev/null +++ b/assets/index.b2e27d9a.js @@ -0,0 +1,2 @@ +import{d as o,e as i,f as p,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var b={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},z={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},g={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}},y=function(e,r,a){var s=e.match(/about|over|almost|lessthan/i),v=s?e.replace(s[0],""):e,c=(a==null?void 0:a.addSuffix)===!0,d=v.toLowerCase(),f=(a==null?void 0:a.comparison)||0,m=c?g[d][f]:z[d],l=d==="halfaminute"?m:r+m;if(s){var h=s[0].toLowerCase();l=b[h]+" "+l}return l},j={full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},w={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},k={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},P={date:o({formats:j,defaultWidth:"full"}),time:o({formats:w,defaultWidth:"full"}),dateTime:o({formats:k,defaultWidth:"full"})},I=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function u(t){return function(e){var r=I[e.getUTCDay()],a=t?"":"'múlt' ";return"".concat(a,"'").concat(r,"' p'-kor'")}}var M={lastWeek:u(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:u(!0),other:"P"},W=function(e,r){var a=M[e];return typeof a=="function"?a(r):a},x={narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},V={narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},C={narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},S={narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},D={narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},F={narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},N=function(e,r){var a=Number(e);return a+"."},H={ordinalNumber:N,era:i({values:x,defaultWidth:"wide"}),quarter:i({values:V,defaultWidth:"wide",argumentCallback:function(e){return e-1},formattingValues:C,defaultFormattingWidth:"wide"}),month:i({values:S,defaultWidth:"wide"}),day:i({values:D,defaultWidth:"wide"}),dayPeriod:i({values:F,defaultWidth:"wide"})},L=/^(\d+)\.?/i,E=/\d+/i,K={narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},O={narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},R={narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},q={any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},J={narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},Q={narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},T={narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},$={narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},A={any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},U={any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},_={ordinalNumber:p({matchPattern:L,parsePattern:E,valueCallback:function(e){return parseInt(e,10)}}),era:n({matchPatterns:K,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),quarter:n({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:n({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),day:n({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:$,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:A,defaultMatchWidth:"any",parsePatterns:U,defaultParseWidth:"any"})},ee={code:"hu",formatDistance:y,formatLong:P,formatRelative:W,localize:H,match:_,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{ee as default}; +//# sourceMappingURL=index.b2e27d9a.js.map diff --git a/assets/index.b2e27d9a.js.map b/assets/index.b2e27d9a.js.map new file mode 100644 index 0000000000..d2ce063ba5 --- /dev/null +++ b/assets/index.b2e27d9a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.b2e27d9a.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hu/index.js"],"sourcesContent":["var translations = {\n about: 'körülbelül',\n over: 'több mint',\n almost: 'majdnem',\n lessthan: 'kevesebb mint'\n};\nvar withoutSuffixes = {\n xseconds: ' másodperc',\n halfaminute: 'fél perc',\n xminutes: ' perc',\n xhours: ' óra',\n xdays: ' nap',\n xweeks: ' hét',\n xmonths: ' hónap',\n xyears: ' év'\n};\nvar withSuffixes = {\n xseconds: {\n '-1': ' másodperccel ezelőtt',\n '1': ' másodperc múlva',\n '0': ' másodperce'\n },\n halfaminute: {\n '-1': 'fél perccel ezelőtt',\n '1': 'fél perc múlva',\n '0': 'fél perce'\n },\n xminutes: {\n '-1': ' perccel ezelőtt',\n '1': ' perc múlva',\n '0': ' perce'\n },\n xhours: {\n '-1': ' órával ezelőtt',\n '1': ' óra múlva',\n '0': ' órája'\n },\n xdays: {\n '-1': ' nappal ezelőtt',\n '1': ' nap múlva',\n '0': ' napja'\n },\n xweeks: {\n '-1': ' héttel ezelőtt',\n '1': ' hét múlva',\n '0': ' hete'\n },\n xmonths: {\n '-1': ' hónappal ezelőtt',\n '1': ' hónap múlva',\n '0': ' hónapja'\n },\n xyears: {\n '-1': ' évvel ezelőtt',\n '1': ' év múlva',\n '0': ' éve'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var adverb = token.match(/about|over|almost|lessthan/i);\n var unit = adverb ? token.replace(adverb[0], '') : token;\n var addSuffix = (options === null || options === void 0 ? void 0 : options.addSuffix) === true;\n var key = unit.toLowerCase();\n var comparison = (options === null || options === void 0 ? void 0 : options.comparison) || 0;\n var translated = addSuffix ? withSuffixes[key][comparison] : withoutSuffixes[key];\n var result = key === 'halfaminute' ? translated : count + translated;\n\n if (adverb) {\n var adv = adverb[0].toLowerCase();\n result = translations[adv] + ' ' + result;\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'y. MMMM d., EEEE',\n long: 'y. MMMM d.',\n medium: 'y. MMM d.',\n short: 'y. MM. dd.'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var accusativeWeekdays = ['vasárnap', 'hétfőn', 'kedden', 'szerdán', 'csütörtökön', 'pénteken', 'szombaton'];\n\nfunction week(isFuture) {\n return function (date) {\n var weekday = accusativeWeekdays[date.getUTCDay()];\n var prefix = isFuture ? '' : \"'múlt' \";\n return \"\".concat(prefix, \"'\").concat(weekday, \"' p'-kor'\");\n };\n}\n\nvar formatRelativeLocale = {\n lastWeek: week(false),\n yesterday: \"'tegnap' p'-kor'\",\n today: \"'ma' p'-kor'\",\n tomorrow: \"'holnap' p'-kor'\",\n nextWeek: week(true),\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ie.', 'isz.'],\n abbreviated: ['i. e.', 'i. sz.'],\n wide: ['Krisztus előtt', 'időszámításunk szerint']\n};\nvar quarterValues = {\n narrow: ['1.', '2.', '3.', '4.'],\n abbreviated: ['1. n.év', '2. n.év', '3. n.év', '4. n.év'],\n wide: ['1. negyedév', '2. negyedév', '3. negyedév', '4. negyedév']\n};\nvar formattingQuarterValues = {\n narrow: ['I.', 'II.', 'III.', 'IV.'],\n abbreviated: ['I. n.év', 'II. n.év', 'III. n.év', 'IV. n.év'],\n wide: ['I. negyedév', 'II. negyedév', 'III. negyedév', 'IV. negyedév']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.', 'dec.'],\n wide: ['január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'],\n short: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],\n abbreviated: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],\n wide: ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'de.',\n pm: 'du.',\n midnight: 'éjfél',\n noon: 'dél',\n morning: 'reggel',\n afternoon: 'du.',\n evening: 'este',\n night: 'éjjel'\n },\n abbreviated: {\n am: 'de.',\n pm: 'du.',\n midnight: 'éjfél',\n noon: 'dél',\n morning: 'reggel',\n afternoon: 'du.',\n evening: 'este',\n night: 'éjjel'\n },\n wide: {\n am: 'de.',\n pm: 'du.',\n midnight: 'éjfél',\n noon: 'dél',\n morning: 'reggel',\n afternoon: 'délután',\n evening: 'este',\n night: 'éjjel'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n },\n formattingValues: formattingQuarterValues,\n defaultFormattingWidth: 'wide'\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ie\\.|isz\\.)/i,\n abbreviated: /^(i\\.\\s?e\\.?|b?\\s?c\\s?e|i\\.\\s?sz\\.?)/i,\n wide: /^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\\. sz\\.)/i\n};\nvar parseEraPatterns = {\n narrow: [/ie/i, /isz/i],\n abbreviated: [/^(i\\.?\\s?e\\.?|b\\s?ce)/i, /^(i\\.?\\s?sz\\.?|c\\s?e)/i],\n any: [/előtt/i, /(szerint|i. sz.)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]\\.?/i,\n abbreviated: /^[1234]?\\.?\\s?n\\.év/i,\n wide: /^([1234]|I|II|III|IV)?\\.?\\s?negyedév/i\n};\nvar parseQuarterPatterns = {\n any: [/1|I$/i, /2|II$/i, /3|III/i, /4|IV/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmaásond]|sz/i,\n abbreviated: /^(jan\\.?|febr\\.?|márc\\.?|ápr\\.?|máj\\.?|jún\\.?|júl\\.?|aug\\.?|szept\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n wide: /^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a|á/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s|sz/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^már/i, /^áp/i, /^máj/i, /^jún/i, /^júl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^([vhkpc]|sz|cs|sz)/i,\n short: /^([vhkp]|sze|cs|szo)/i,\n abbreviated: /^([vhkp]|sze|cs|szo)/i,\n wide: /^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i\n};\nvar parseDayPatterns = {\n narrow: [/^v/i, /^h/i, /^k/i, /^sz/i, /^c/i, /^p/i, /^sz/i],\n any: [/^v/i, /^h/i, /^k/i, /^sze/i, /^c/i, /^p/i, /^szo/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^((de|du)\\.?|éjfél|délután|dél|reggel|este|éjjel)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^de\\.?/i,\n pm: /^du\\.?/i,\n midnight: /^éjf/i,\n noon: /^dé/i,\n morning: /reg/i,\n afternoon: /^délu\\.?/i,\n evening: /es/i,\n night: /éjj/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Hungarian locale.\n * @language Hungarian\n * @iso-639-2 hun\n * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak}\n * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll}\n * @author Zoltan Szepesi [@twodcube]{@link https://github.com/twodcube}\n */\n\nvar locale = {\n code: 'hu',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["translations","withoutSuffixes","withSuffixes","formatDistance","token","count","options","adverb","unit","addSuffix","key","comparison","translated","result","adv","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","week","isFuture","date","weekday","prefix","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","formattingQuarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAe,CACjB,MAAO,aACP,KAAM,YACN,OAAQ,UACR,SAAU,eACZ,EACIC,EAAkB,CACpB,SAAU,aACV,YAAa,WACb,SAAU,QACV,OAAQ,OACR,MAAO,OACP,OAAQ,OACR,QAAS,SACT,OAAQ,KACV,EACIC,EAAe,CACjB,SAAU,CACR,KAAM,wBACN,EAAK,mBACL,EAAK,aACN,EACD,YAAa,CACX,KAAM,sBACN,EAAK,iBACL,EAAK,WACN,EACD,SAAU,CACR,KAAM,mBACN,EAAK,cACL,EAAK,QACN,EACD,OAAQ,CACN,KAAM,kBACN,EAAK,aACL,EAAK,QACN,EACD,MAAO,CACL,KAAM,kBACN,EAAK,aACL,EAAK,QACN,EACD,OAAQ,CACN,KAAM,kBACN,EAAK,aACL,EAAK,OACN,EACD,QAAS,CACP,KAAM,oBACN,EAAK,eACL,EAAK,UACN,EACD,OAAQ,CACN,KAAM,iBACN,EAAK,YACL,EAAK,MACN,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EAASH,EAAM,MAAM,6BAA6B,EAClDI,EAAOD,EAASH,EAAM,QAAQG,EAAO,GAAI,EAAE,EAAIH,EAC/CK,GAAaH,GAAY,KAA6B,OAASA,EAAQ,aAAe,GACtFI,EAAMF,EAAK,cACXG,GAAcL,GAAY,KAA6B,OAASA,EAAQ,aAAe,EACvFM,EAAaH,EAAYP,EAAaQ,GAAKC,GAAcV,EAAgBS,GACzEG,EAASH,IAAQ,cAAgBE,EAAaP,EAAQO,EAE1D,GAAIL,EAAQ,CACV,IAAIO,EAAMP,EAAO,GAAG,YAAW,EAC/BM,EAASb,EAAac,GAAO,IAAMD,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C,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,GAAS,CACX,KAAM,KACN,eAAgBxD,EAChB,WAAYe,EACZ,eAAgBS,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.b5c3ba94.js b/assets/index.b5c3ba94.js new file mode 100644 index 0000000000..578cb95224 --- /dev/null +++ b/assets/index.b5c3ba94.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},l=function(e,t,a){var r,d=m[e];return typeof d=="string"?r=d:t===1?r=d.one:r=d.other.replace("{{count}}",String(t)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?r+"內":r+"前":r},h={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},c={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},v={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},f={date:u({formats:h,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:v,defaultWidth:"full"})},b={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},g=function(e,t,a,r){return b[e]},P={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},y={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},w={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},p={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},W={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},M={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},k=function(e,t){var a=Number(e);switch(t==null?void 0:t.unit){case"date":return a+"日";case"hour":return a+"時";case"minute":return a+"分";case"second":return a+"秒";default:return"第 "+a}},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:y,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:W,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},x=/^(第\s*)?\d+(日|時|分|秒)?/i,z=/\d+/i,F={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},V={any:[/^(前)/i,/^(公元)/i]},X={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},C={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},N={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},E={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},L={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},S={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},T={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},R={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Y={ordinalNumber:s({matchPattern:x,parsePattern:z,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:o({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:T,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},A={code:"zh-TW",formatDistance:l,formatLong:f,formatRelative:g,localize:D,match:Y,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{A as default}; +//# sourceMappingURL=index.b5c3ba94.js.map diff --git a/assets/index.b5c3ba94.js.map b/assets/index.b5c3ba94.js.map new file mode 100644 index 0000000000..3d89eb76db --- /dev/null +++ b/assets/index.b5c3ba94.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.b5c3ba94.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-TW/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '少於 1 秒',\n other: '少於 {{count}} 秒'\n },\n xSeconds: {\n one: '1 秒',\n other: '{{count}} 秒'\n },\n halfAMinute: '半分鐘',\n lessThanXMinutes: {\n one: '少於 1 分鐘',\n other: '少於 {{count}} 分鐘'\n },\n xMinutes: {\n one: '1 分鐘',\n other: '{{count}} 分鐘'\n },\n xHours: {\n one: '1 小時',\n other: '{{count}} 小時'\n },\n aboutXHours: {\n one: '大約 1 小時',\n other: '大約 {{count}} 小時'\n },\n xDays: {\n one: '1 天',\n other: '{{count}} 天'\n },\n aboutXWeeks: {\n one: '大約 1 個星期',\n other: '大約 {{count}} 個星期'\n },\n xWeeks: {\n one: '1 個星期',\n other: '{{count}} 個星期'\n },\n aboutXMonths: {\n one: '大約 1 個月',\n other: '大約 {{count}} 個月'\n },\n xMonths: {\n one: '1 個月',\n other: '{{count}} 個月'\n },\n aboutXYears: {\n one: '大約 1 年',\n other: '大約 {{count}} 年'\n },\n xYears: {\n one: '1 年',\n other: '{{count}} 年'\n },\n overXYears: {\n one: '超過 1 年',\n other: '超過 {{count}} 年'\n },\n almostXYears: {\n one: '將近 1 年',\n other: '將近 {{count}} 年'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + '內';\n } else {\n return result + '前';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"y'年'M'月'd'日' EEEE\",\n long: \"y'年'M'月'd'日'\",\n medium: 'yyyy-MM-dd',\n short: 'yy-MM-dd'\n};\nvar timeFormats = {\n full: 'zzzz a h:mm:ss',\n long: 'z a h:mm:ss',\n medium: 'a h:mm:ss',\n short: 'a h:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'上個'eeee p\",\n yesterday: \"'昨天' p\",\n today: \"'今天' p\",\n tomorrow: \"'明天' p\",\n nextWeek: \"'下個'eeee p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['前', '公元'],\n abbreviated: ['前', '公元'],\n wide: ['公元前', '公元']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['第一刻', '第二刻', '第三刻', '第四刻'],\n wide: ['第一刻鐘', '第二刻鐘', '第三刻鐘', '第四刻鐘']\n};\nvar monthValues = {\n narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],\n abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\n wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']\n};\nvar dayValues = {\n narrow: ['日', '一', '二', '三', '四', '五', '六'],\n short: ['日', '一', '二', '三', '四', '五', '六'],\n abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],\n wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']\n};\nvar dayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '凌晨',\n noon: '午',\n morning: '早',\n afternoon: '下午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜間'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜間'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '凌晨',\n noon: '午',\n morning: '早',\n afternoon: '下午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜間'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '凌晨',\n noon: '中午',\n morning: '早晨',\n afternoon: '中午',\n evening: '晚上',\n night: '夜間'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n\n switch (options === null || options === void 0 ? void 0 : options.unit) {\n case 'date':\n return number + '日';\n\n case 'hour':\n return number + '時';\n\n case 'minute':\n return number + '分';\n\n case 'second':\n return number + '秒';\n\n default:\n return '第 ' + number;\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|時|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n};\nvar parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]刻/i,\n wide: /^第[一二三四]刻鐘/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/i,\n wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i\n};\nvar parseMonthPatterns = {\n narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i],\n any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i]\n};\nvar matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^週[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n};\nvar parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^上午?/i,\n pm: /^下午?/i,\n midnight: /^午夜/i,\n noon: /^[中正]午/i,\n morning: /^早上/i,\n afternoon: /^下午/i,\n evening: /^晚上?/i,\n night: /^凌晨/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Chinese Traditional locale.\n * @language Chinese Traditional\n * @iso-639-2 zho\n * @author tonypai [@tpai]{@link https://github.com/tpai}\n * @author Jack Hsu [@jackhsu978]{@link https://github.com/jackhsu978}\n * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}\n */\n\nvar locale = {\n code: 'zh-TW',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,SACL,MAAO,gBACR,EACD,SAAU,CACR,IAAK,MACL,MAAO,aACR,EACD,YAAa,MACb,iBAAkB,CAChB,IAAK,UACL,MAAO,iBACR,EACD,SAAU,CACR,IAAK,OACL,MAAO,cACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,YAAa,CAC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AuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.b87d0715.js b/assets/index.b87d0715.js new file mode 100644 index 0000000000..de3ca23b6f --- /dev/null +++ b/assets/index.b87d0715.js @@ -0,0 +1,2 @@ +import{f as a,l as m,m as o}from"./index.7fdd26b2.js";import{f as e}from"./index.31a6003e.js";import{d as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},i={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},h={code:"fr-CA",formatDistance:a,formatLong:s,formatRelative:e,localize:m,match:o,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{h as default}; +//# sourceMappingURL=index.b87d0715.js.map diff --git a/assets/index.b87d0715.js.map b/assets/index.b87d0715.js.map new file mode 100644 index 0000000000..6ed09a8aba --- /dev/null +++ b/assets/index.b87d0715.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.b87d0715.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr-CA/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fr-CA/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'yy-MM-dd'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'à' {{time}}\",\n long: \"{{date}} 'à' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","// Same as fr\nimport formatDistance from \"../fr/_lib/formatDistance/index.js\";\nimport formatRelative from \"../fr/_lib/formatRelative/index.js\";\nimport localize from \"../fr/_lib/localize/index.js\";\nimport match from \"../fr/_lib/match/index.js\";\n// Unique for fr-CA\nimport formatLong from \"./_lib/formatLong/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary French locale (Canada).\n * @language French\n * @iso-639-2 fra\n * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}\n * @author François B [@fbonzon]{@link https://github.com/fbonzon}\n * @author Gabriele Petrioli [@gpetrioli]{@link https://github.com/gpetrioli}\n */\n\nvar locale = {\n code: 'fr-CA',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n // Unique for fr-CA\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"+ZACA,IAAIA,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MAAO,UACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,wBACN,KAAM,wBACN,OAAQ,qBACR,MAAO,oBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,ECdIG,EAAS,CACX,KAAM,QACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EAEP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.b8bf3075.js b/assets/index.b8bf3075.js new file mode 100644 index 0000000000..af29c8b277 --- /dev/null +++ b/assets/index.b8bf3075.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as d,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"më pak se një sekondë",other:"më pak se {{count}} sekonda"},xSeconds:{one:"1 sekondë",other:"{{count}} sekonda"},halfAMinute:"gjysëm minuti",lessThanXMinutes:{one:"më pak se një minute",other:"më pak se {{count}} minuta"},xMinutes:{one:"1 minutë",other:"{{count}} minuta"},aboutXHours:{one:"rreth 1 orë",other:"rreth {{count}} orë"},xHours:{one:"1 orë",other:"{{count}} orë"},xDays:{one:"1 ditë",other:"{{count}} ditë"},aboutXWeeks:{one:"rreth 1 javë",other:"rreth {{count}} javë"},xWeeks:{one:"1 javë",other:"{{count}} javë"},aboutXMonths:{one:"rreth 1 muaj",other:"rreth {{count}} muaj"},xMonths:{one:"1 muaj",other:"{{count}} muaj"},aboutXYears:{one:"rreth 1 vit",other:"rreth {{count}} vite"},xYears:{one:"1 vit",other:"{{count}} vite"},overXYears:{one:"mbi 1 vit",other:"mbi {{count}} vite"},almostXYears:{one:"pothuajse 1 vit",other:"pothuajse {{count}} vite"}},h=function(a,t,e){var r,m=u[a];return typeof m=="string"?r=m:t===1?r=m.one:r=m.other.replace("{{count}}",String(t)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"në "+r:r+" më parë":r},l={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},v={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'në' {{time}}",long:"{{date}} 'në' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},b={date:s({formats:l,defaultWidth:"full"}),time:s({formats:v,defaultWidth:"full"}),dateTime:s({formats:f,defaultWidth:"full"})},c={lastWeek:"'të' eeee 'e shkuar në' p",yesterday:"'dje në' p",today:"'sot në' p",tomorrow:"'nesër në' p",nextWeek:"eeee 'at' p",other:"P"},p=function(a,t,e,r){return c[a]},g={narrow:["P","M"],abbreviated:["PK","MK"],wide:["Para Krishtit","Mbas Krishtit"]},j={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["4-mujori I","4-mujori II","4-mujori III","4-mujori IV"]},P={narrow:["J","S","M","P","M","Q","K","G","S","T","N","D"],abbreviated:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],wide:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"]},M={narrow:["D","H","M","M","E","P","S"],short:["Di","Hë","Ma","Më","En","Pr","Sh"],abbreviated:["Die","Hën","Mar","Mër","Enj","Pre","Sht"],wide:["Dielë","Hënë","Martë","Mërkurë","Enjte","Premte","Shtunë"]},k={narrow:{am:"p",pm:"m",midnight:"m",noon:"d",morning:"mëngjes",afternoon:"dite",evening:"mbrëmje",night:"natë"},abbreviated:{am:"PD",pm:"MD",midnight:"mesnëtë",noon:"drek",morning:"mëngjes",afternoon:"mbasdite",evening:"mbrëmje",night:"natë"},wide:{am:"p.d.",pm:"m.d.",midnight:"mesnëtë",noon:"drek",morning:"mëngjes",afternoon:"mbasdite",evening:"mbrëmje",night:"natë"}},y={narrow:{am:"p",pm:"m",midnight:"m",noon:"d",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"},abbreviated:{am:"PD",pm:"MD",midnight:"mesnatë",noon:"drek",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"},wide:{am:"p.d.",pm:"m.d.",midnight:"mesnatë",noon:"drek",morning:"në mëngjes",afternoon:"në mbasdite",evening:"në mbrëmje",night:"në mesnatë"}},w=function(a,t){var e=Number(a);return(t==null?void 0:t.unit)==="hour"?String(e):e===1?e+"-rë":e===4?e+"t":e+"-të"},W={ordinalNumber:w,era:i({values:g,defaultWidth:"wide"}),quarter:i({values:j,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:P,defaultWidth:"wide"}),day:i({values:M,defaultWidth:"wide"}),dayPeriod:i({values:k,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"})},D=/^(\d+)(-rë|-të|t|)?/i,S=/\d+/i,q={narrow:/^(p|m)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(para krishtit|mbas krishtit)/i},x={any:[/^b/i,/^(p|m)/i]},E={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]-mujori (i{1,3}|iv)/i},N={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^[jsmpqkftnd]/i,abbreviated:/^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,wide:/^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i},Q={narrow:[/^j/i,/^s/i,/^m/i,/^p/i,/^m/i,/^q/i,/^k/i,/^g/i,/^s/i,/^t/i,/^n/i,/^d/i],any:[/^ja/i,/^shk/i,/^mar/i,/^pri/i,/^maj/i,/^qer/i,/^kor/i,/^gu/i,/^sht/i,/^tet/i,/^n/i,/^d/i]},V={narrow:/^[dhmeps]/i,short:/^(di|hë|ma|më|en|pr|sh)/i,abbreviated:/^(die|hën|mar|mër|enj|pre|sht)/i,wide:/^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i},z={narrow:[/^d/i,/^h/i,/^m/i,/^m/i,/^e/i,/^p/i,/^s/i],any:[/^d/i,/^h/i,/^ma/i,/^më/i,/^e/i,/^p/i,/^s/i]},I={narrow:/^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,any:/^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i},X={any:{am:/^p/i,pm:/^m/i,midnight:/^me/i,noon:/^dr/i,morning:/mëngjes/i,afternoon:/mbasdite/i,evening:/mbrëmje/i,night:/natë/i}},C={ordinalNumber:d({matchPattern:D,parsePattern:S,valueCallback:function(a){return parseInt(a,10)}}),era:o({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),quarter:o({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),day:o({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:I,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},Y={code:"sq",formatDistance:h,formatLong:b,formatRelative:p,localize:W,match:C,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Y as default}; +//# sourceMappingURL=index.b8bf3075.js.map diff --git a/assets/index.b8bf3075.js.map b/assets/index.b8bf3075.js.map new file mode 100644 index 0000000000..eaf810eeb8 --- /dev/null +++ b/assets/index.b8bf3075.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.b8bf3075.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sq/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'më pak se një sekondë',\n other: 'më pak se {{count}} sekonda'\n },\n xSeconds: {\n one: '1 sekondë',\n other: '{{count}} sekonda'\n },\n halfAMinute: 'gjysëm minuti',\n lessThanXMinutes: {\n one: 'më pak se një minute',\n other: 'më pak se {{count}} minuta'\n },\n xMinutes: {\n one: '1 minutë',\n other: '{{count}} minuta'\n },\n aboutXHours: {\n one: 'rreth 1 orë',\n other: 'rreth {{count}} orë'\n },\n xHours: {\n one: '1 orë',\n other: '{{count}} orë'\n },\n xDays: {\n one: '1 ditë',\n other: '{{count}} ditë'\n },\n aboutXWeeks: {\n one: 'rreth 1 javë',\n other: 'rreth {{count}} javë'\n },\n xWeeks: {\n one: '1 javë',\n other: '{{count}} javë'\n },\n aboutXMonths: {\n one: 'rreth 1 muaj',\n other: 'rreth {{count}} muaj'\n },\n xMonths: {\n one: '1 muaj',\n other: '{{count}} muaj'\n },\n aboutXYears: {\n one: 'rreth 1 vit',\n other: 'rreth {{count}} vite'\n },\n xYears: {\n one: '1 vit',\n other: '{{count}} vite'\n },\n overXYears: {\n one: 'mbi 1 vit',\n other: 'mbi {{count}} vite'\n },\n almostXYears: {\n one: 'pothuajse 1 vit',\n other: 'pothuajse {{count}} vite'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'në ' + result;\n } else {\n return result + ' më parë';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'në' {{time}}\",\n long: \"{{date}} 'në' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'të' eeee 'e shkuar në' p\",\n yesterday: \"'dje në' p\",\n today: \"'sot në' p\",\n tomorrow: \"'nesër në' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['P', 'M'],\n abbreviated: ['PK', 'MK'],\n wide: ['Para Krishtit', 'Mbas Krishtit']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['4-mujori I', '4-mujori II', '4-mujori III', '4-mujori IV']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'],\n abbreviated: ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gus', 'Sht', 'Tet', 'Nën', 'Dhj'],\n wide: ['Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', 'Tetor', 'Nëntor', 'Dhjetor']\n};\nvar dayValues = {\n narrow: ['D', 'H', 'M', 'M', 'E', 'P', 'S'],\n short: ['Di', 'Hë', 'Ma', 'Më', 'En', 'Pr', 'Sh'],\n abbreviated: ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'],\n wide: ['Dielë', 'Hënë', 'Martë', 'Mërkurë', 'Enjte', 'Premte', 'Shtunë']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'p',\n pm: 'm',\n midnight: 'm',\n noon: 'd',\n morning: 'mëngjes',\n afternoon: 'dite',\n evening: 'mbrëmje',\n night: 'natë'\n },\n abbreviated: {\n am: 'PD',\n pm: 'MD',\n midnight: 'mesnëtë',\n noon: 'drek',\n morning: 'mëngjes',\n afternoon: 'mbasdite',\n evening: 'mbrëmje',\n night: 'natë'\n },\n wide: {\n am: 'p.d.',\n pm: 'm.d.',\n midnight: 'mesnëtë',\n noon: 'drek',\n morning: 'mëngjes',\n afternoon: 'mbasdite',\n evening: 'mbrëmje',\n night: 'natë'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'p',\n pm: 'm',\n midnight: 'm',\n noon: 'd',\n morning: 'në mëngjes',\n afternoon: 'në mbasdite',\n evening: 'në mbrëmje',\n night: 'në mesnatë'\n },\n abbreviated: {\n am: 'PD',\n pm: 'MD',\n midnight: 'mesnatë',\n noon: 'drek',\n morning: 'në mëngjes',\n afternoon: 'në mbasdite',\n evening: 'në mbrëmje',\n night: 'në mesnatë'\n },\n wide: {\n am: 'p.d.',\n pm: 'm.d.',\n midnight: 'mesnatë',\n noon: 'drek',\n morning: 'në mëngjes',\n afternoon: 'në mbasdite',\n evening: 'në mbrëmje',\n night: 'në mesnatë'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n if ((options === null || options === void 0 ? void 0 : options.unit) === 'hour') return String(number);\n if (number === 1) return number + '-rë';\n if (number === 4) return number + 't';\n return number + '-të';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(-rë|-të|t|)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p|m)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(para krishtit|mbas krishtit)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(p|m)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]-mujori (i{1,3}|iv)/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jsmpqkftnd]/i,\n abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,\n wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^s/i, /^m/i, /^p/i, /^m/i, /^q/i, /^k/i, /^g/i, /^s/i, /^t/i, /^n/i, /^d/i],\n any: [/^ja/i, /^shk/i, /^mar/i, /^pri/i, /^maj/i, /^qer/i, /^kor/i, /^gu/i, /^sht/i, /^tet/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dhmeps]/i,\n short: /^(di|hë|ma|më|en|pr|sh)/i,\n abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,\n wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],\n any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,\n any: /^([pm]\\.?\\s?d\\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^p/i,\n pm: /^m/i,\n midnight: /^me/i,\n noon: /^dr/i,\n morning: /mëngjes/i,\n afternoon: /mbasdite/i,\n evening: /mbrëmje/i,\n night: /natë/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Albanian locale.\n * @language Shqip\n * @iso-639-2 sqi\n * @author Ardit Dine [@arditdine]{@link https://github.com/arditdine}\n */\n\nvar locale = {\n code: 'sq',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,wBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,mBACR,EACD,YAAa,gBACb,iBAAkB,CAChB,IAAK,uBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,aAAc,CACZ,IAAK,eACL,MAAO,sBACR,EACD,QAAS,CACP,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,YACL,MAAO,oBACR,EACD,aAAc,CACZ,IAAK,kBACL,MAAO,0BACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAERA,EAAS,WAIbA,CACT,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cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.bae2e35d.js b/assets/index.bae2e35d.js new file mode 100644 index 0000000000..41fd1429f6 --- /dev/null +++ b/assets/index.bae2e35d.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},l=function(e,t,a){var r,d=m[e];return typeof d=="string"?r=d:t===1?r=d.one:r=d.other.replace("{{count}}",String(t)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?r+"內":r+"前":r},h={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},c={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},v={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},f={date:u({formats:h,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:v,defaultWidth:"full"})},b={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},g=function(e,t,a,r){return b[e]},P={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},y={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},w={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},p={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},W={narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},M={narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},k=function(e,t){var a=Number(e);switch(t==null?void 0:t.unit){case"date":return a+"日";case"hour":return a+"時";case"minute":return a+"分";case"second":return a+"秒";default:return"第 "+a}},D={ordinalNumber:k,era:i({values:P,defaultWidth:"wide"}),quarter:i({values:y,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:W,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},x=/^(第\s*)?\d+(日|時|分|秒)?/i,z=/\d+/i,F={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},V={any:[/^(前)/i,/^(公元)/i]},X={narrow:/^[1234]/i,abbreviated:/^第[一二三四]季/i,wide:/^第[一二三四]季度/i},C={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},N={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},E={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},L={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},S={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},R={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},T={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Y={ordinalNumber:s({matchPattern:x,parsePattern:z,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:o({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},A={code:"zh-HK",formatDistance:l,formatLong:f,formatRelative:g,localize:D,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.bae2e35d.js.map diff --git a/assets/index.bae2e35d.js.map b/assets/index.bae2e35d.js.map new file mode 100644 index 0000000000..954e851f93 --- /dev/null +++ b/assets/index.bae2e35d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.bae2e35d.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/zh-HK/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '少於 1 秒',\n other: '少於 {{count}} 秒'\n },\n xSeconds: {\n one: '1 秒',\n other: '{{count}} 秒'\n },\n halfAMinute: '半分鐘',\n lessThanXMinutes: {\n one: '少於 1 分鐘',\n other: '少於 {{count}} 分鐘'\n },\n xMinutes: {\n one: '1 分鐘',\n other: '{{count}} 分鐘'\n },\n xHours: {\n one: '1 小時',\n other: '{{count}} 小時'\n },\n aboutXHours: {\n one: '大約 1 小時',\n other: '大約 {{count}} 小時'\n },\n xDays: {\n one: '1 天',\n other: '{{count}} 天'\n },\n aboutXWeeks: {\n one: '大約 1 個星期',\n other: '大約 {{count}} 個星期'\n },\n xWeeks: {\n one: '1 個星期',\n other: '{{count}} 個星期'\n },\n aboutXMonths: {\n one: '大約 1 個月',\n other: '大約 {{count}} 個月'\n },\n xMonths: {\n one: '1 個月',\n other: '{{count}} 個月'\n },\n aboutXYears: {\n one: '大約 1 年',\n other: '大約 {{count}} 年'\n },\n xYears: {\n one: '1 年',\n other: '{{count}} 年'\n },\n overXYears: {\n one: '超過 1 年',\n other: '超過 {{count}} 年'\n },\n almostXYears: {\n one: '將近 1 年',\n other: '將近 {{count}} 年'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + '內';\n } else {\n return result + '前';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"y'年'M'月'd'日' EEEE\",\n long: \"y'年'M'月'd'日'\",\n medium: 'yyyy-MM-dd',\n short: 'yy-MM-dd'\n};\nvar timeFormats = {\n full: 'zzzz a h:mm:ss',\n long: 'z a h:mm:ss',\n medium: 'a h:mm:ss',\n short: 'a h:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'上個'eeee p\",\n yesterday: \"'昨天' p\",\n today: \"'今天' p\",\n tomorrow: \"'明天' p\",\n nextWeek: \"'下個'eeee p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['前', '公元'],\n abbreviated: ['前', '公元'],\n wide: ['公元前', '公元']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['第一季', '第二季', '第三季', '第四季'],\n wide: ['第一季度', '第二季度', '第三季度', '第四季度']\n};\nvar monthValues = {\n narrow: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],\n abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\n wide: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']\n};\nvar dayValues = {\n narrow: ['日', '一', '二', '三', '四', '五', '六'],\n short: ['日', '一', '二', '三', '四', '五', '六'],\n abbreviated: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],\n wide: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']\n};\nvar dayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '午夜',\n noon: '晌',\n morning: '早',\n afternoon: '午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '午夜',\n noon: '中午',\n morning: '上午',\n afternoon: '下午',\n evening: '晚上',\n night: '夜晚'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '午夜',\n noon: '中午',\n morning: '上午',\n afternoon: '下午',\n evening: '晚上',\n night: '夜晚'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: '上',\n pm: '下',\n midnight: '午夜',\n noon: '晌',\n morning: '早',\n afternoon: '午',\n evening: '晚',\n night: '夜'\n },\n abbreviated: {\n am: '上午',\n pm: '下午',\n midnight: '午夜',\n noon: '中午',\n morning: '上午',\n afternoon: '下午',\n evening: '晚上',\n night: '夜晚'\n },\n wide: {\n am: '上午',\n pm: '下午',\n midnight: '午夜',\n noon: '中午',\n morning: '上午',\n afternoon: '下午',\n evening: '晚上',\n night: '夜晚'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n\n switch (options === null || options === void 0 ? void 0 : options.unit) {\n case 'date':\n return number + '日';\n\n case 'hour':\n return number + '時';\n\n case 'minute':\n return number + '分';\n\n case 'second':\n return number + '秒';\n\n default:\n return '第 ' + number;\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|時|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n};\nvar parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]季/i,\n wide: /^第[一二三四]季度/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/i,\n wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i\n};\nvar parseMonthPatterns = {\n narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i],\n any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i]\n};\nvar matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^週[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n};\nvar parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^上午?/i,\n pm: /^下午?/i,\n midnight: /^午夜/i,\n noon: /^[中正]午/i,\n morning: /^早上/i,\n afternoon: /^下午/i,\n evening: /^晚上?/i,\n night: /^凌晨/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Chinese Traditional locale.\n * @language Chinese Traditional\n * @iso-639-2 zho\n * @author Gary Ip [@gaplo]{@link https://github.com/gaplo}\n */\n\nvar locale = {\n code: 'zh-HK',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,SACL,MAAO,gBACR,EACD,SAAU,CACR,IAAK,MACL,MAAO,aACR,EACD,YAAa,MACb,iBAAkB,CAChB,IAAK,UACL,MAAO,iBACR,EACD,SAAU,CACR,IAAK,OACL,MAAO,cACR,EACD,OAAQ,CACN,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,UACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,MACL,MAAO,aACR,EACD,YAAa,CACX,IAAK,WACL,MAAO,kBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,aAAc,CACZ,IAAK,UACL,MAAO,iBACR,EACD,QAAS,CACP,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,SACL,MAAO,gBACR,EACD,OAAQ,CACN,IAAK,MACL,MAAO,aACR,EACD,WAAY,C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AM,KAAM,KAAM,KAAM,KAAM,IAAI,CAChD,EACIC,EAAyB,CAC3B,IAAK,oCACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,QACJ,GAAI,QACJ,SAAU,OACV,KAAM,UACN,QAAS,OACT,UAAW,OACX,QAAS,QACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EChFIM,EAAS,CACX,KAAM,QACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.be15d94c.js b/assets/index.be15d94c.js new file mode 100644 index 0000000000..fd3327a2ce --- /dev/null +++ b/assets/index.be15d94c.js @@ -0,0 +1,2 @@ +import{d,e as n,f as m,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"minder as 1 sekonde",other:"minder as {{count}} sekonden"},xSeconds:{one:"1 sekonde",other:"{{count}} sekonden"},halfAMinute:"oardel minút",lessThanXMinutes:{one:"minder as 1 minút",other:"minder as {{count}} minuten"},xMinutes:{one:"1 minút",other:"{{count}} minuten"},aboutXHours:{one:"sawat 1 oere",other:"sawat {{count}} oere"},xHours:{one:"1 oere",other:"{{count}} oere"},xDays:{one:"1 dei",other:"{{count}} dagen"},aboutXWeeks:{one:"sawat 1 wike",other:"sawat {{count}} wiken"},xWeeks:{one:"1 wike",other:"{{count}} wiken"},aboutXMonths:{one:"sawat 1 moanne",other:"sawat {{count}} moannen"},xMonths:{one:"1 moanne",other:"{{count}} moannen"},aboutXYears:{one:"sawat 1 jier",other:"sawat {{count}} jier"},xYears:{one:"1 jier",other:"{{count}} jier"},overXYears:{one:"mear as 1 jier",other:"mear as {{count}}s jier"},almostXYears:{one:"hast 1 jier",other:"hast {{count}} jier"}},l=function(e,o,a){var t,s=u[e];return typeof s=="string"?t=s:o===1?t=s.one:t=s.other.replace("{{count}}",String(o)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"oer "+t:t+" lyn":t},h={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},f={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:d({formats:h,defaultWidth:"full"}),time:d({formats:f,defaultWidth:"full"}),dateTime:d({formats:c,defaultWidth:"full"})},w={lastWeek:"'ôfrûne' eeee 'om' p",yesterday:"'juster om' p",today:"'hjoed om' p",tomorrow:"'moarn om' p",nextWeek:"eeee 'om' p",other:"P"},b=function(e,o,a,t){return w[e]},p={narrow:["f.K.","n.K."],abbreviated:["f.Kr.","n.Kr."],wide:["foar Kristus","nei Kristus"]},j={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e fearnsjier","2e fearnsjier","3e fearnsjier","4e fearnsjier"]},P={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mrt.","apr.","mai.","jun.","jul.","aug.","sep.","okt.","nov.","des."],wide:["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber"]},y={narrow:["s","m","t","w","t","f","s"],short:["si","mo","ti","wo","to","fr","so"],abbreviated:["snein","moa","tii","woa","ton","fre","sneon"],wide:["snein","moandei","tiisdei","woansdei","tongersdei","freed","sneon"]},g={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"middei",morning:"moarns",afternoon:"middeis",evening:"jûns",night:"nachts"}},M=function(e,o){var a=Number(e);return a+"e"},k={ordinalNumber:M,era:n({values:p,defaultWidth:"wide"}),quarter:n({values:j,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:P,defaultWidth:"wide"}),day:n({values:y,defaultWidth:"wide"}),dayPeriod:n({values:g,defaultWidth:"wide"})},W=/^(\d+)e?/i,K=/\d+/i,D={narrow:/^([fn]\.? ?K\.?)/,abbreviated:/^([fn]\. ?Kr\.?)/,wide:/^((foar|nei) Kristus)/},x={any:[/^f/,/^n/]},H={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e fearnsjier/i},z={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mai.|jun.|jul.|aug.|sep.|okt.|nov.|des.)/i,wide:/^(jannewaris|febrewaris|maart|april|maaie|juny|july|augustus|septimber|oktober|novimber|desimber)/i},X={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^des/i]},C={narrow:/^[smtwf]/i,short:/^(si|mo|ti|wo|to|fr|so)/i,abbreviated:/^(snein|moa|tii|woa|ton|fre|sneon)/i,wide:/^(snein|moandei|tiisdei|woansdei|tongersdei|freed|sneon)/i},N={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^sn/i,/^mo/i,/^ti/i,/^wo/i,/^to/i,/^fr/i,/^sn/i]},E={any:/^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i},L={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^middei/i,morning:/moarns/i,afternoon:/^middeis/i,evening:/jûns/i,night:/nachts/i}},V={ordinalNumber:m({matchPattern:W,parsePattern:K,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),quarter:i({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),day:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:E,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},_={code:"fy",formatDistance:l,formatLong:v,formatRelative:b,localize:k,match:V,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{_ as default}; +//# sourceMappingURL=index.be15d94c.js.map diff --git a/assets/index.be15d94c.js.map b/assets/index.be15d94c.js.map new file mode 100644 index 0000000000..16697f76b0 --- /dev/null +++ b/assets/index.be15d94c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.be15d94c.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/fy/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'minder as 1 sekonde',\n other: 'minder as {{count}} sekonden'\n },\n xSeconds: {\n one: '1 sekonde',\n other: '{{count}} sekonden'\n },\n halfAMinute: 'oardel minút',\n lessThanXMinutes: {\n one: 'minder as 1 minút',\n other: 'minder as {{count}} minuten'\n },\n xMinutes: {\n one: '1 minút',\n other: '{{count}} minuten'\n },\n aboutXHours: {\n one: 'sawat 1 oere',\n other: 'sawat {{count}} oere'\n },\n xHours: {\n one: '1 oere',\n other: '{{count}} oere'\n },\n xDays: {\n one: '1 dei',\n other: '{{count}} dagen'\n },\n aboutXWeeks: {\n one: 'sawat 1 wike',\n other: 'sawat {{count}} wiken'\n },\n xWeeks: {\n one: '1 wike',\n other: '{{count}} wiken'\n },\n aboutXMonths: {\n one: 'sawat 1 moanne',\n other: 'sawat {{count}} moannen'\n },\n xMonths: {\n one: '1 moanne',\n other: '{{count}} moannen'\n },\n aboutXYears: {\n one: 'sawat 1 jier',\n other: 'sawat {{count}} jier'\n },\n xYears: {\n one: '1 jier',\n other: '{{count}} jier'\n },\n overXYears: {\n one: 'mear as 1 jier',\n other: 'mear as {{count}}s jier'\n },\n almostXYears: {\n one: 'hast 1 jier',\n other: 'hast {{count}} jier'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'oer ' + result;\n } else {\n return result + ' lyn';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd-MM-y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'om' {{time}}\",\n long: \"{{date}} 'om' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'ôfrûne' eeee 'om' p\",\n yesterday: \"'juster om' p\",\n today: \"'hjoed om' p\",\n tomorrow: \"'moarn om' p\",\n nextWeek: \"eeee 'om' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['f.K.', 'n.K.'],\n abbreviated: ['f.Kr.', 'n.Kr.'],\n wide: ['foar Kristus', 'nei Kristus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1e fearnsjier', '2e fearnsjier', '3e fearnsjier', '4e fearnsjier']\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mai.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],\n wide: ['jannewaris', 'febrewaris', 'maart', 'april', 'maaie', 'juny', 'july', 'augustus', 'septimber', 'oktober', 'novimber', 'desimber']\n};\nvar dayValues = {\n narrow: ['s', 'm', 't', 'w', 't', 'f', 's'],\n short: ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'],\n abbreviated: ['snein', 'moa', 'tii', 'woa', 'ton', 'fre', 'sneon'],\n wide: ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'middei',\n morning: 'moarns',\n afternoon: 'middeis',\n evening: 'jûns',\n night: 'nachts'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'middei',\n morning: 'moarns',\n afternoon: 'middeis',\n evening: 'jûns',\n night: 'nachts'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'middei',\n morning: 'moarns',\n afternoon: 'middeis',\n evening: 'jûns',\n night: 'nachts'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'e';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)e?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([fn]\\.? ?K\\.?)/,\n abbreviated: /^([fn]\\. ?Kr\\.?)/,\n wide: /^((foar|nei) Kristus)/\n};\nvar parseEraPatterns = {\n any: [/^f/, /^n/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234]e fearnsjier/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan.|feb.|mrt.|apr.|mai.|jun.|jul.|aug.|sep.|okt.|nov.|des.)/i,\n wide: /^(jannewaris|febrewaris|maart|april|maaie|juny|july|augustus|septimber|oktober|novimber|desimber)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^des/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(si|mo|ti|wo|to|fr|so)/i,\n abbreviated: /^(snein|moa|tii|woa|ton|fre|sneon)/i,\n wide: /^(snein|moandei|tiisdei|woansdei|tongersdei|freed|sneon)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^sn/i, /^mo/i, /^ti/i, /^wo/i, /^to/i, /^fr/i, /^sn/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /^middernacht/i,\n noon: /^middei/i,\n morning: /moarns/i,\n afternoon: /^middeis/i,\n evening: /jûns/i,\n night: /nachts/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Western Frisian locale (Netherlands).\n * @language West Frisian\n * @iso-639-2 fry\n * @author Damon Asberg [@damon02]{@link https://github.com/damon02}\n */\n\nvar locale = {\n code: 'fy',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,yBACR,EACD,QAAS,CACP,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,iBACL,MAAO,yBACR,EACD,aAAc,CACZ,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e,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.c3510264.js b/assets/index.c3510264.js new file mode 100644 index 0000000000..8b220200f8 --- /dev/null +++ b/assets/index.c3510264.js @@ -0,0 +1,2 @@ +import{d as s,e as o,f as u,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}},m=function(e,i,t){var a,r=l[e];return typeof r=="string"?a=r:i===1?a=r.one:a=r.other.replace("{{count}}",String(i)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"σε "+a:a+" πριν":a},h={full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},f={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:c,defaultWidth:"full"})},b={lastWeek:function(e){switch(e.getUTCDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},w=function(e,i){var t=b[e];return typeof t=="function"?t(i):t},y={narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},P={narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},g={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},p={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},M={narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},W={narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},k=function(e,i){var t=Number(e),a=i==null?void 0:i.unit,r;return a==="year"||a==="month"?r="ος":a==="week"||a==="dayOfYear"||a==="day"||a==="hour"||a==="date"?r="η":r="ο",t+r},x={ordinalNumber:k,era:o({values:y,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:g,defaultWidth:"wide",formattingValues:p,defaultFormattingWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:W,defaultWidth:"wide"})},D=/^(\d+)(ος|η|ο)?/i,F=/\d+/i,z={narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},C={any:[/^π/i,/^(μ|κ)/i]},V={narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},X={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},E={narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},L={narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},T={narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},S={narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},Y={any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},O={ordinalNumber:u({matchPattern:D,parsePattern:F,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),quarter:d({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:d({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:S,defaultMatchWidth:"any",parsePatterns:Y,defaultParseWidth:"any"})},I={code:"el",formatDistance:m,formatLong:v,formatRelative:w,localize:x,match:O,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{I as default}; +//# sourceMappingURL=index.c3510264.js.map diff --git a/assets/index.c3510264.js.map b/assets/index.c3510264.js.map new file mode 100644 index 0000000000..2eeb12f8ad --- /dev/null +++ b/assets/index.c3510264.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.c3510264.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/el/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'λιγότερο από ένα δευτερόλεπτο',\n other: 'λιγότερο από {{count}} δευτερόλεπτα'\n },\n xSeconds: {\n one: '1 δευτερόλεπτο',\n other: '{{count}} δευτερόλεπτα'\n },\n halfAMinute: 'μισό λεπτό',\n lessThanXMinutes: {\n one: 'λιγότερο από ένα λεπτό',\n other: 'λιγότερο από {{count}} λεπτά'\n },\n xMinutes: {\n one: '1 λεπτό',\n other: '{{count}} λεπτά'\n },\n aboutXHours: {\n one: 'περίπου 1 ώρα',\n other: 'περίπου {{count}} ώρες'\n },\n xHours: {\n one: '1 ώρα',\n other: '{{count}} ώρες'\n },\n xDays: {\n one: '1 ημέρα',\n other: '{{count}} ημέρες'\n },\n aboutXWeeks: {\n one: 'περίπου 1 εβδομάδα',\n other: 'περίπου {{count}} εβδομάδες'\n },\n xWeeks: {\n one: '1 εβδομάδα',\n other: '{{count}} εβδομάδες'\n },\n aboutXMonths: {\n one: 'περίπου 1 μήνας',\n other: 'περίπου {{count}} μήνες'\n },\n xMonths: {\n one: '1 μήνας',\n other: '{{count}} μήνες'\n },\n aboutXYears: {\n one: 'περίπου 1 χρόνο',\n other: 'περίπου {{count}} χρόνια'\n },\n xYears: {\n one: '1 χρόνο',\n other: '{{count}} χρόνια'\n },\n overXYears: {\n one: 'πάνω από 1 χρόνο',\n other: 'πάνω από {{count}} χρόνια'\n },\n almostXYears: {\n one: 'περίπου 1 χρόνο',\n other: 'περίπου {{count}} χρόνια'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'σε ' + result;\n } else {\n return result + ' πριν';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'd/M/yy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: '{{date}} - {{time}}',\n long: '{{date}} - {{time}}',\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n switch (date.getUTCDay()) {\n case 6:\n //Σάββατο\n return \"'το προηγούμενο' eeee 'στις' p\";\n\n default:\n return \"'την προηγούμενη' eeee 'στις' p\";\n }\n },\n yesterday: \"'χθες στις' p\",\n today: \"'σήμερα στις' p\",\n tomorrow: \"'αύριο στις' p\",\n nextWeek: \"eeee 'στις' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date) {\n var format = formatRelativeLocale[token];\n if (typeof format === 'function') return format(date);\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['πΧ', 'μΧ'],\n abbreviated: ['π.Χ.', 'μ.Χ.'],\n wide: ['προ Χριστού', 'μετά Χριστόν']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Τ1', 'Τ2', 'Τ3', 'Τ4'],\n wide: ['1ο τρίμηνο', '2ο τρίμηνο', '3ο τρίμηνο', '4ο τρίμηνο']\n};\nvar monthValues = {\n narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],\n abbreviated: ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'],\n wide: ['Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος']\n};\nvar formattingMonthValues = {\n narrow: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],\n abbreviated: ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'],\n wide: ['Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου']\n};\nvar dayValues = {\n narrow: ['Κ', 'Δ', 'T', 'Τ', 'Π', 'Π', 'Σ'],\n short: ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'],\n abbreviated: ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'],\n wide: ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'πμ',\n pm: 'μμ',\n midnight: 'μεσάνυχτα',\n noon: 'μεσημέρι',\n morning: 'πρωί',\n afternoon: 'απόγευμα',\n evening: 'βράδυ',\n night: 'νύχτα'\n },\n abbreviated: {\n am: 'π.μ.',\n pm: 'μ.μ.',\n midnight: 'μεσάνυχτα',\n noon: 'μεσημέρι',\n morning: 'πρωί',\n afternoon: 'απόγευμα',\n evening: 'βράδυ',\n night: 'νύχτα'\n },\n wide: {\n am: 'π.μ.',\n pm: 'μ.μ.',\n midnight: 'μεσάνυχτα',\n noon: 'μεσημέρι',\n morning: 'πρωί',\n afternoon: 'απόγευμα',\n evening: 'βράδυ',\n night: 'νύχτα'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n var suffix;\n\n if (unit === 'year' || unit === 'month') {\n suffix = 'ος';\n } else if (unit === 'week' || unit === 'dayOfYear' || unit === 'day' || unit === 'hour' || unit === 'date') {\n suffix = 'η';\n } else {\n suffix = 'ο';\n }\n\n return number + suffix;\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(ος|η|ο)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(πΧ|μΧ)/i,\n abbreviated: /^(π\\.?\\s?χ\\.?|π\\.?\\s?κ\\.?\\s?χ\\.?|μ\\.?\\s?χ\\.?|κ\\.?\\s?χ\\.?)/i,\n wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i\n};\nvar parseEraPatterns = {\n any: [/^π/i, /^(μ|κ)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^τ[1234]/i,\n wide: /^[1234]ο? τρ(ί|ι)μηνο/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[ιφμαμιιασονδ]/i,\n abbreviated: /^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,\n wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^ι/i, /^φ/i, /^μ/i, /^α/i, /^μ/i, /^ι/i, /^ι/i, /^α/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i],\n any: [/^ια/i, /^φ/i, /^μ[άα]ρ/i, /^απ/i, /^μ[άα][ιΐ]/i, /^ιο[ύυ]ν/i, /^ιο[ύυ]λ/i, /^α[ύυ]/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i]\n};\nvar matchDayPatterns = {\n narrow: /^[κδτπσ]/i,\n short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,\n abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,\n wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i\n};\nvar parseDayPatterns = {\n narrow: [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i],\n any: [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,\n any: /^([πμ]\\.?\\s?μ\\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^πμ|π\\.\\s?μ\\./i,\n pm: /^μμ|μ\\.\\s?μ\\./i,\n midnight: /^μεσάν/i,\n noon: /^μεσημ(έ|ε)/i,\n morning: /πρω(ί|ι)/i,\n afternoon: /απ(ό|ο)γευμα/i,\n evening: /βρ(ά|α)δυ/i,\n night: /ν(ύ|υ)χτα/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Greek locale.\n * @language Greek\n * @iso-639-2 ell\n * @author Fanis Katsimpas [@fanixk]{@link https://github.com/fanixk}\n * @author Theodoros Orfanidis [@teoulas]{@link https://github.com/teoulas}\n */\n\nvar locale = {\n code: 'el',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","unit","suffix","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,gCACL,MAAO,qCACR,EACD,SAAU,CACR,IAAK,iBACL,MAAO,wBACR,EACD,YAAa,aACb,iBAAkB,CAChB,IAAK,yBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,qBACL,MAAO,6BACR,EACD,OAAQ,CACN,IAAK,aACL,MAAO,qBACR,EACD,aAAc,CACZ,IAAK,kBACL,MAAO,yBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,kBACR,EACD,WAAY,CACV,IAAK,mBACL,MAAO,2BACR,EACD,aAAc,CACZ,IAAK,kBACL,MAAO,0BACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,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W,KAAK,CACjE,EACIC,EAAyB,CAC3B,OAAQ,iFACR,IAAK,yFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,iBACJ,GAAI,iBACJ,SAAU,UACV,KAAM,eACN,QAAS,YACT,UAAW,gBACX,QAAS,aACT,MAAO,YACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.c9eec16e.js b/assets/index.c9eec16e.js new file mode 100644 index 0000000000..4d8c8404e6 --- /dev/null +++ b/assets/index.c9eec16e.js @@ -0,0 +1,2 @@ +import{f as a,a as m,l as e,m as o}from"./index.99dc73d2.js";import{d as t}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var r={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},i={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s={date:t({formats:r,defaultWidth:"full"}),time:t({formats:i,defaultWidth:"full"}),dateTime:t({formats:l,defaultWidth:"full"})},h={code:"it",formatDistance:a,formatLong:s,formatRelative:m,localize:e,match:o,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{h as default}; +//# sourceMappingURL=index.c9eec16e.js.map diff --git a/assets/index.c9eec16e.js.map b/assets/index.c9eec16e.js.map new file mode 100644 index 0000000000..f17f3680e4 --- /dev/null +++ b/assets/index.c9eec16e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.c9eec16e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/it/index.js"],"sourcesContent":["import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Italian locale.\n * @language Italian\n * @iso-639-2 ita\n * @author Alberto Restifo [@albertorestifo]{@link https://github.com/albertorestifo}\n * @author Giovanni Polimeni [@giofilo]{@link https://github.com/giofilo}\n * @author Vincenzo Carrese [@vin-car]{@link https://github.com/vin-car}\n */\n\nvar locale = {\n code: 'it',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","locale","formatDistance","formatRelative","localize","match"],"mappings":"0ZACA,IAAIA,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OACT,EACIC,EAAkB,CACpB,KAAM,oBACN,KAAM,oBACN,OAAQ,oBACR,MAAO,mBACT,EACIC,EAAa,CACf,KAAMC,EAAkB,CACtB,QAASJ,EACT,aAAc,MAClB,CAAG,EACD,KAAMI,EAAkB,CACtB,QAASH,EACT,aAAc,MAClB,CAAG,EACD,SAAUG,EAAkB,CAC1B,QAASF,EACT,aAAc,MAClB,CAAG,CACH,EChBIG,EAAS,CACX,KAAM,KACN,eAAgBC,EAChB,WAAYH,EACZ,eAAgBI,EAChB,SAAUC,EACV,MAAOC,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.caf22d62.js b/assets/index.caf22d62.js new file mode 100644 index 0000000000..845dd8f041 --- /dev/null +++ b/assets/index.caf22d62.js @@ -0,0 +1,2 @@ +import{d as m,e as o,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},u=function(e,n,a){var r,d=l[e];return typeof d=="string"?r=d:n===1?r=d.one:r=d.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+r:"hace "+r:r},c={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:m({formats:c,defaultWidth:"full"}),time:m({formats:h,defaultWidth:"full"}),dateTime:m({formats:v,defaultWidth:"full"})},b={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},p={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},g=function(e,n,a,r){return n.getUTCHours()!==1?p[e]:b[e]},y={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},P={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},w={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},M={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},W={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},j={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},k=function(e,n){var a=Number(e);return a+"º"},D={ordinalNumber:k,era:o({values:y,defaultWidth:"wide"}),quarter:o({values:P,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:w,defaultWidth:"wide"}),day:o({values:M,defaultWidth:"wide"}),dayPeriod:o({values:W,defaultWidth:"wide",formattingValues:j,defaultFormattingWidth:"wide"})},C=/^(\d+)(º)?/i,x=/\d+/i,H={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},z={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},T={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},F={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},V={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},X={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},L={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},E={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},A={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},R={ordinalNumber:s({matchPattern:C,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:i({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:E,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})},Q={code:"es",formatDistance:u,formatLong:f,formatRelative:g,localize:D,match:R,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.caf22d62.js.map diff --git a/assets/index.caf22d62.js.map b/assets/index.caf22d62.js.map new file mode 100644 index 0000000000..97239aa55c --- /dev/null +++ b/assets/index.caf22d62.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.caf22d62.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/es/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'menos de un segundo',\n other: 'menos de {{count}} segundos'\n },\n xSeconds: {\n one: '1 segundo',\n other: '{{count}} segundos'\n },\n halfAMinute: 'medio minuto',\n lessThanXMinutes: {\n one: 'menos de un minuto',\n other: 'menos de {{count}} minutos'\n },\n xMinutes: {\n one: '1 minuto',\n other: '{{count}} minutos'\n },\n aboutXHours: {\n one: 'alrededor de 1 hora',\n other: 'alrededor de {{count}} horas'\n },\n xHours: {\n one: '1 hora',\n other: '{{count}} horas'\n },\n xDays: {\n one: '1 día',\n other: '{{count}} días'\n },\n aboutXWeeks: {\n one: 'alrededor de 1 semana',\n other: 'alrededor de {{count}} semanas'\n },\n xWeeks: {\n one: '1 semana',\n other: '{{count}} semanas'\n },\n aboutXMonths: {\n one: 'alrededor de 1 mes',\n other: 'alrededor de {{count}} meses'\n },\n xMonths: {\n one: '1 mes',\n other: '{{count}} meses'\n },\n aboutXYears: {\n one: 'alrededor de 1 año',\n other: 'alrededor de {{count}} años'\n },\n xYears: {\n one: '1 año',\n other: '{{count}} años'\n },\n overXYears: {\n one: 'más de 1 año',\n other: 'más de {{count}} años'\n },\n almostXYears: {\n one: 'casi 1 año',\n other: 'casi {{count}} años'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'en ' + result;\n } else {\n return 'hace ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' y\",\n medium: 'd MMM y',\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'a las' {{time}}\",\n long: \"{{date}} 'a las' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'el' eeee 'pasado a la' p\",\n yesterday: \"'ayer a la' p\",\n today: \"'hoy a la' p\",\n tomorrow: \"'mañana a la' p\",\n nextWeek: \"eeee 'a la' p\",\n other: 'P'\n};\nvar formatRelativeLocalePlural = {\n lastWeek: \"'el' eeee 'pasado a las' p\",\n yesterday: \"'ayer a las' p\",\n today: \"'hoy a las' p\",\n tomorrow: \"'mañana a las' p\",\n nextWeek: \"eeee 'a las' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n if (date.getUTCHours() !== 1) {\n return formatRelativeLocalePlural[token];\n } else {\n return formatRelativeLocale[token];\n }\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['AC', 'DC'],\n abbreviated: ['AC', 'DC'],\n wide: ['antes de cristo', 'después de cristo']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']\n};\nvar monthValues = {\n narrow: ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],\n wide: ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre']\n};\nvar dayValues = {\n narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'],\n short: ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'],\n abbreviated: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'],\n wide: ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'mañana',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noche'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'medianoche',\n noon: 'mediodia',\n morning: 'mañana',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noche'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'medianoche',\n noon: 'mediodia',\n morning: 'mañana',\n afternoon: 'tarde',\n evening: 'tarde',\n night: 'noche'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'md',\n morning: 'de la mañana',\n afternoon: 'de la tarde',\n evening: 'de la tarde',\n night: 'de la noche'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'medianoche',\n noon: 'mediodia',\n morning: 'de la mañana',\n afternoon: 'de la tarde',\n evening: 'de la tarde',\n night: 'de la noche'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'medianoche',\n noon: 'mediodia',\n morning: 'de la mañana',\n afternoon: 'de la tarde',\n evening: 'de la tarde',\n night: 'de la noche'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'º';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ac|dc|a|d)/i,\n abbreviated: /^(a\\.?\\s?c\\.?|a\\.?\\s?e\\.?\\s?c\\.?|d\\.?\\s?c\\.?|e\\.?\\s?c\\.?)/i,\n wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i\n};\nvar parseEraPatterns = {\n any: [/^ac/i, /^dc/i],\n wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](º)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[efmajsond]/i,\n abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,\n wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^e/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^en/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmjvs]/i,\n short: /^(do|lu|ma|mi|ju|vi|s[áa])/i,\n abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,\n wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],\n any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,\n any: /^([ap]\\.?\\s?m\\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mn/i,\n noon: /^md/i,\n morning: /mañana/i,\n afternoon: /tarde/i,\n evening: /tarde/i,\n night: /noche/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Spanish locale.\n * @language Spanish\n * @iso-639-2 spa\n * @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto}\n * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}\n * @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero}\n * @author Gastón Haro [@harogaston]{@link https://github.com/harogaston}\n * @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo}\n */\nvar locale = {\n code: 'es',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelativeLocalePlural","formatRelative","date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,eACb,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,sBACL,MAAO,8BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,wBACL,MAAO,gCACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,qBACL,MAAO,8BACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,qBACL,MAAO,6BACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,eACL,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,aACL,MAAO,qBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAaH,EAAM,SAAQ,CAAE,EAG7DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,MAAQC,EAER,QAAUA,EAIdA,CACT,ECpFIE,EAAc,CAChB,KAAM,2BACN,KAAM,qBACN,OAAQ,UACR,MAAO,SACT,EACIC,EAAc,CAChB,KAAM,gBACN,KAAM,aACN,OAAQ,WACR,MAAO,OAC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vB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.cb72749d.js b/assets/index.cb72749d.js new file mode 100644 index 0000000000..57d58a38d1 --- /dev/null +++ b/assets/index.cb72749d.js @@ -0,0 +1,2 @@ +import{d,e as o,f as s,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},l=function(a,r,e){e=e||{};var t,n=m[a];return typeof n=="string"?t=n:r===1?e.addSuffix&&n.oneWithSuffix?t=n.oneWithSuffix:t=n.one:e.addSuffix&&n.otherWithSuffix?t=n.otherWithSuffix.replace("{{count}}",String(r)):t=n.other.replace("{{count}}",String(r)),e.addSuffix?e.comparison&&e.comparison>0?t+"後":t+"前":t},h={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},c={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},f={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:d({formats:h,defaultWidth:"full"}),time:d({formats:c,defaultWidth:"full"}),dateTime:d({formats:f,defaultWidth:"full"})},b={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},g=function(a,r,e,t){return b[a]},P={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},y={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},W={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},p={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},M={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},x=function(a,r){var e=Number(a),t=String(r==null?void 0:r.unit);switch(t){case"year":return"".concat(e,"年");case"quarter":return"第".concat(e,"四半期");case"month":return"".concat(e,"月");case"week":return"第".concat(e,"週");case"date":return"".concat(e,"日");case"hour":return"".concat(e,"時");case"minute":return"".concat(e,"分");case"second":return"".concat(e,"秒");default:return"".concat(e)}},S={ordinalNumber:x,era:o({values:P,defaultWidth:"wide"}),quarter:o({values:w,defaultWidth:"wide",argumentCallback:function(a){return Number(a)-1}}),month:o({values:y,defaultWidth:"wide"}),day:o({values:W,defaultWidth:"wide"}),dayPeriod:o({values:p,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,k=/\d+/i,C={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},F={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},z={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},E={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},N={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},V={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},X={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},A={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Q={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},B={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},H={ordinalNumber:s({matchPattern:D,parsePattern:k,valueCallback:function(a){return parseInt(a,10)}}),era:u({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:u({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:u({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:u({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:Q,defaultMatchWidth:"any",parsePatterns:B,defaultParseWidth:"any"})},O={code:"ja",formatDistance:l,formatLong:v,formatRelative:g,localize:S,match:H,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.cb72749d.js.map diff --git a/assets/index.cb72749d.js.map b/assets/index.cb72749d.js.map new file mode 100644 index 0000000000..498666e758 --- /dev/null +++ b/assets/index.cb72749d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.cb72749d.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ja/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: '1秒未満',\n other: '{{count}}秒未満',\n oneWithSuffix: '約1秒',\n otherWithSuffix: '約{{count}}秒'\n },\n xSeconds: {\n one: '1秒',\n other: '{{count}}秒'\n },\n halfAMinute: '30秒',\n lessThanXMinutes: {\n one: '1分未満',\n other: '{{count}}分未満',\n oneWithSuffix: '約1分',\n otherWithSuffix: '約{{count}}分'\n },\n xMinutes: {\n one: '1分',\n other: '{{count}}分'\n },\n aboutXHours: {\n one: '約1時間',\n other: '約{{count}}時間'\n },\n xHours: {\n one: '1時間',\n other: '{{count}}時間'\n },\n xDays: {\n one: '1日',\n other: '{{count}}日'\n },\n aboutXWeeks: {\n one: '約1週間',\n other: '約{{count}}週間'\n },\n xWeeks: {\n one: '1週間',\n other: '{{count}}週間'\n },\n aboutXMonths: {\n one: '約1か月',\n other: '約{{count}}か月'\n },\n xMonths: {\n one: '1か月',\n other: '{{count}}か月'\n },\n aboutXYears: {\n one: '約1年',\n other: '約{{count}}年'\n },\n xYears: {\n one: '1年',\n other: '{{count}}年'\n },\n overXYears: {\n one: '1年以上',\n other: '{{count}}年以上'\n },\n almostXYears: {\n one: '1年近く',\n other: '{{count}}年近く'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n options = options || {};\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options.addSuffix && tokenValue.oneWithSuffix) {\n result = tokenValue.oneWithSuffix;\n } else {\n result = tokenValue.one;\n }\n } else {\n if (options.addSuffix && tokenValue.otherWithSuffix) {\n result = tokenValue.otherWithSuffix.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + '後';\n } else {\n return result + '前';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'y年M月d日EEEE',\n long: 'y年M月d日',\n medium: 'y/MM/dd',\n short: 'y/MM/dd'\n};\nvar timeFormats = {\n full: 'H時mm分ss秒 zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: '先週のeeeeのp',\n yesterday: '昨日のp',\n today: '今日のp',\n tomorrow: '明日のp',\n nextWeek: '翌週のeeeeのp',\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['BC', 'AC'],\n abbreviated: ['紀元前', '西暦'],\n wide: ['紀元前', '西暦']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['第1四半期', '第2四半期', '第3四半期', '第4四半期']\n};\nvar monthValues = {\n narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n abbreviated: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\n wide: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']\n};\nvar dayValues = {\n narrow: ['日', '月', '火', '水', '木', '金', '土'],\n short: ['日', '月', '火', '水', '木', '金', '土'],\n abbreviated: ['日', '月', '火', '水', '木', '金', '土'],\n wide: ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日']\n};\nvar dayPeriodValues = {\n narrow: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n },\n abbreviated: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n },\n wide: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n },\n abbreviated: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n },\n wide: {\n am: '午前',\n pm: '午後',\n midnight: '深夜',\n noon: '正午',\n morning: '朝',\n afternoon: '午後',\n evening: '夜',\n night: '深夜'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = String(options === null || options === void 0 ? void 0 : options.unit);\n\n switch (unit) {\n case 'year':\n return \"\".concat(number, \"\\u5E74\");\n\n case 'quarter':\n return \"\\u7B2C\".concat(number, \"\\u56DB\\u534A\\u671F\");\n\n case 'month':\n return \"\".concat(number, \"\\u6708\");\n\n case 'week':\n return \"\\u7B2C\".concat(number, \"\\u9031\");\n\n case 'date':\n return \"\".concat(number, \"\\u65E5\");\n\n case 'hour':\n return \"\".concat(number, \"\\u6642\");\n\n case 'minute':\n return \"\".concat(number, \"\\u5206\");\n\n case 'second':\n return \"\".concat(number, \"\\u79D2\");\n\n default:\n return \"\".concat(number);\n }\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nimport buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nvar matchOrdinalNumberPattern = /^第?\\d+(年|四半期|月|週|日|時|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(B\\.?C\\.?|A\\.?D\\.?)/i,\n abbreviated: /^(紀元[前後]|西暦)/i,\n wide: /^(紀元[前後]|西暦)/i\n};\nvar parseEraPatterns = {\n narrow: [/^B/i, /^A/i],\n any: [/^(紀元前)/i, /^(西暦|紀元後)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^Q[1234]/i,\n wide: /^第[1234一二三四1234]四半期/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^([123456789]|1[012])/,\n abbreviated: /^([123456789]|1[012])月/i,\n wide: /^([123456789]|1[012])月/i\n};\nvar parseMonthPatterns = {\n any: [/^1\\D/, /^2/, /^3/, /^4/, /^5/, /^6/, /^7/, /^8/, /^9/, /^10/, /^11/, /^12/]\n};\nvar matchDayPatterns = {\n narrow: /^[日月火水木金土]/,\n short: /^[日月火水木金土]/,\n abbreviated: /^[日月火水木金土]/,\n wide: /^[日月火水木金土]曜日/\n};\nvar parseDayPatterns = {\n any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/]\n};\nvar matchDayPeriodPatterns = {\n any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(A|午前)/i,\n pm: /^(P|午後)/i,\n midnight: /^深夜|真夜中/i,\n noon: /^正午/i,\n morning: /^朝/i,\n afternoon: /^午後/i,\n evening: /^夜/i,\n night: /^深夜/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Japanese locale.\n * @language Japanese\n * @iso-639-2 jpn\n * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu}\n * @author Yamagishi Kazutoshi [@ykzts]{@link https://github.com/ykzts}\n * @author Luca Ban [@mesqueeb]{@link https://github.com/mesqueeb}\n * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}\n * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles}\n */\nvar locale = {\n code: 'ja',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,OACL,MAAO,eACP,cAAe,MACf,gBAAiB,aAClB,EACD,SAAU,CAC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B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC5EIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.cc66e238.js b/assets/index.cc66e238.js new file mode 100644 index 0000000000..74b31a0218 --- /dev/null +++ b/assets/index.cc66e238.js @@ -0,0 +1,2 @@ +import{d as s,f as u,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},j=function(t,i,e){var a,r=e!=null&&e.addSuffix?h[t].withPreposition:h[t].standalone;return typeof r=="string"?a=r:i===1?a=r.one:a=r.other.replace("{{count}}",String(i)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+a:"vor "+a:a},d={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},m={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},x={date:s({formats:d,defaultWidth:"full"}),time:s({formats:m,defaultWidth:"full"}),dateTime:s({formats:l,defaultWidth:"full"})},c={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},z=function(t,i,e,a){return c[t]},f=/^(\d+)(\.)?/i,w=/\d+/i,M={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},v={any:[/^v/i,/^n/i]},P={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},g={any:[/1/i,/2/i,/3/i,/4/i]},p={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},b={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},y={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},W={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},S={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},k={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},C={ordinalNumber:u({matchPattern:f,parsePattern:w,valueCallback:function(t){return parseInt(t)}}),era:n({matchPatterns:M,defaultMatchWidth:"wide",parsePatterns:v,defaultParseWidth:"any"}),quarter:n({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:n({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:b,defaultParseWidth:"any"}),day:n({matchPatterns:y,defaultMatchWidth:"wide",parsePatterns:W,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:k,defaultParseWidth:"any"})};export{x as a,z as b,j as f,C as m}; +//# sourceMappingURL=index.cc66e238.js.map diff --git a/assets/index.cc66e238.js.map b/assets/index.cc66e238.js.map new file mode 100644 index 0000000000..e5eba80dce --- /dev/null +++ b/assets/index.cc66e238.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.cc66e238.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/de/_lib/match/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n standalone: {\n one: 'weniger als 1 Sekunde',\n other: 'weniger als {{count}} Sekunden'\n },\n withPreposition: {\n one: 'weniger als 1 Sekunde',\n other: 'weniger als {{count}} Sekunden'\n }\n },\n xSeconds: {\n standalone: {\n one: '1 Sekunde',\n other: '{{count}} Sekunden'\n },\n withPreposition: {\n one: '1 Sekunde',\n other: '{{count}} Sekunden'\n }\n },\n halfAMinute: {\n standalone: 'halbe Minute',\n withPreposition: 'halben Minute'\n },\n lessThanXMinutes: {\n standalone: {\n one: 'weniger als 1 Minute',\n other: 'weniger als {{count}} Minuten'\n },\n withPreposition: {\n one: 'weniger als 1 Minute',\n other: 'weniger als {{count}} Minuten'\n }\n },\n xMinutes: {\n standalone: {\n one: '1 Minute',\n other: '{{count}} Minuten'\n },\n withPreposition: {\n one: '1 Minute',\n other: '{{count}} Minuten'\n }\n },\n aboutXHours: {\n standalone: {\n one: 'etwa 1 Stunde',\n other: 'etwa {{count}} Stunden'\n },\n withPreposition: {\n one: 'etwa 1 Stunde',\n other: 'etwa {{count}} Stunden'\n }\n },\n xHours: {\n standalone: {\n one: '1 Stunde',\n other: '{{count}} Stunden'\n },\n withPreposition: {\n one: '1 Stunde',\n other: '{{count}} Stunden'\n }\n },\n xDays: {\n standalone: {\n one: '1 Tag',\n other: '{{count}} Tage'\n },\n withPreposition: {\n one: '1 Tag',\n other: '{{count}} Tagen'\n }\n },\n aboutXWeeks: {\n standalone: {\n one: 'etwa 1 Woche',\n other: 'etwa {{count}} Wochen'\n },\n withPreposition: {\n one: 'etwa 1 Woche',\n other: 'etwa {{count}} Wochen'\n }\n },\n xWeeks: {\n standalone: {\n one: '1 Woche',\n other: '{{count}} Wochen'\n },\n withPreposition: {\n one: '1 Woche',\n other: '{{count}} Wochen'\n }\n },\n aboutXMonths: {\n standalone: {\n one: 'etwa 1 Monat',\n other: 'etwa {{count}} Monate'\n },\n withPreposition: {\n one: 'etwa 1 Monat',\n other: 'etwa {{count}} Monaten'\n }\n },\n xMonths: {\n standalone: {\n one: '1 Monat',\n other: '{{count}} Monate'\n },\n withPreposition: {\n one: '1 Monat',\n other: '{{count}} Monaten'\n }\n },\n aboutXYears: {\n standalone: {\n one: 'etwa 1 Jahr',\n other: 'etwa {{count}} Jahre'\n },\n withPreposition: {\n one: 'etwa 1 Jahr',\n other: 'etwa {{count}} Jahren'\n }\n },\n xYears: {\n standalone: {\n one: '1 Jahr',\n other: '{{count}} Jahre'\n },\n withPreposition: {\n one: '1 Jahr',\n other: '{{count}} Jahren'\n }\n },\n overXYears: {\n standalone: {\n one: 'mehr als 1 Jahr',\n other: 'mehr als {{count}} Jahre'\n },\n withPreposition: {\n one: 'mehr als 1 Jahr',\n other: 'mehr als {{count}} Jahren'\n }\n },\n almostXYears: {\n standalone: {\n one: 'fast 1 Jahr',\n other: 'fast {{count}} Jahre'\n },\n withPreposition: {\n one: 'fast 1 Jahr',\n other: 'fast {{count}} Jahren'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return 'vor ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\n// DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n // Montag, 7. Januar 2018\n long: 'do MMMM y',\n // 7. Januar 2018\n medium: 'do MMM y',\n // 7. Jan. 2018\n short: 'dd.MM.y' // 07.01.2018\n\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'um' {{time}}\",\n long: \"{{date}} 'um' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'letzten' eeee 'um' p\",\n yesterday: \"'gestern um' p\",\n today: \"'heute um' p\",\n tomorrow: \"'morgen um' p\",\n nextWeek: \"eeee 'um' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n abbreviated: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i\n};\nvar parseEraPatterns = {\n any: [/^v/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? Quartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\\.?/i,\n wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^j[aä]/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smdmf]/i,\n short: /^(so|mo|di|mi|do|fr|sa)/i,\n abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\\.?/i,\n wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i\n};\nvar parseDayPatterns = {\n any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(vm\\.?|nm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n abbreviated: /^(vorm\\.?|nachm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^v/i,\n pm: /^n/i,\n midnight: /^Mitte/i,\n noon: /^Mitta/i,\n morning: /morgens/i,\n afternoon: /nachmittags/i,\n // will never be matched. Afternoon is matched by `pm`\n evening: /abends/i,\n night: /nachts/i // will never be matched. Night is matched by `pm`\n\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index"],"mappings":"0IAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,WAAY,CACV,IAAK,wBACL,MAAO,gCACR,EACD,gBAAiB,CACf,IAAK,wBACL,MAAO,gCACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,YACL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,YACL,MAAO,oBACR,CACF,EACD,YAAa,CACX,WAAY,eACZ,gBAAiB,eAClB,EACD,iBAAkB,CAChB,WAAY,CACV,IAAK,uBACL,MAAO,+BACR,EACD,gBAAiB,CACf,IAAK,uBACL,MAAO,+BACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,WACL,MAAO,mBACR,EACD,gBAAiB,CACf,IAAK,WACL,MAAO,mBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,gBACL,MAAO,wBACR,EACD,gBAAiB,CACf,IAAK,gBACL,MAAO,wBACR,CACF,EACD,OAAQ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EAAmB,CACrB,IAAK,CAAC,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,MAAO,MAAM,CAC7D,EACIC,EAAyB,CAC3B,OAAQ,oEACR,YAAa,yEACb,KAAM,iFACR,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,UACV,KAAM,UACN,QAAS,WACT,UAAW,eAEX,QAAS,UACT,MAAO,SAER,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,CAAK,CACtB,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH"} \ No newline at end of file diff --git a/assets/index.d01bfff8.js b/assets/index.d01bfff8.js new file mode 100644 index 0000000000..64b772cb12 --- /dev/null +++ b/assets/index.d01bfff8.js @@ -0,0 +1,2 @@ +import{d as m,e as o,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"mindre enn eitt sekund",other:"mindre enn {{count}} sekund"},xSeconds:{one:"eitt sekund",other:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{one:"mindre enn eitt minutt",other:"mindre enn {{count}} minutt"},xMinutes:{one:"eitt minutt",other:"{{count}} minutt"},aboutXHours:{one:"omtrent ein time",other:"omtrent {{count}} timar"},xHours:{one:"ein time",other:"{{count}} timar"},xDays:{one:"ein dag",other:"{{count}} dagar"},aboutXWeeks:{one:"omtrent ei veke",other:"omtrent {{count}} veker"},xWeeks:{one:"ei veke",other:"{{count}} veker"},aboutXMonths:{one:"omtrent ein månad",other:"omtrent {{count}} månader"},xMonths:{one:"ein månad",other:"{{count}} månader"},aboutXYears:{one:"omtrent eitt år",other:"omtrent {{count}} år"},xYears:{one:"eitt år",other:"{{count}} år"},overXYears:{one:"over eitt år",other:"over {{count}} år"},almostXYears:{one:"nesten eitt år",other:"nesten {{count}} år"}},l=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],v=function(e,r,a){var t,i=u[e];return typeof i=="string"?t=i:r===1?t=i.one:a&&a.onlyNumeric?t=i.other.replace("{{count}}",String(r)):t=i.other.replace("{{count}}",r<13?l[r]:String(r)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"om "+t:t+" sidan":t},f={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},h={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},g={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c={date:m({formats:f,defaultWidth:"full"}),time:m({formats:h,defaultWidth:"full"}),dateTime:m({formats:g,defaultWidth:"full"})},p={lastWeek:"'førre' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},b=function(e,r,a,t){return p[e]},k={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},y={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},w={narrow:["S","M","T","O","T","F","L"],short:["su","må","ty","on","to","fr","lau"],abbreviated:["sun","mån","tys","ons","tor","fre","laur"],wide:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"]},M={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natta"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natta"}},W=function(e,r){var a=Number(e);return a+"."},j={ordinalNumber:W,era:o({values:k,defaultWidth:"wide"}),quarter:o({values:y,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:o({values:P,defaultWidth:"wide"}),day:o({values:w,defaultWidth:"wide"}),dayPeriod:o({values:M,defaultWidth:"wide"})},D=/^(\d+)\.?/i,K=/\d+/i,x={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},E={any:[/^f/i,/^e/i]},F={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},H={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},z={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},S={narrow:/^[smtofl]/i,short:/^(su|må|ty|on|to|fr|la)/i,abbreviated:/^(sun|mån|tys|ons|tor|fre|laur)/i,wide:/^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i},X={any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},C={narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},L={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},Q={ordinalNumber:s({matchPattern:D,parsePattern:K,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),day:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:C,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},Y={code:"nn",formatDistance:v,formatLong:c,formatRelative:b,localize:j,match:Q,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Y as default}; +//# sourceMappingURL=index.d01bfff8.js.map diff --git a/assets/index.d01bfff8.js.map b/assets/index.d01bfff8.js.map new file mode 100644 index 0000000000..c8f5196512 --- /dev/null +++ b/assets/index.d01bfff8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d01bfff8.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nn/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mindre enn eitt sekund',\n other: 'mindre enn {{count}} sekund'\n },\n xSeconds: {\n one: 'eitt sekund',\n other: '{{count}} sekund'\n },\n halfAMinute: 'eit halvt minutt',\n lessThanXMinutes: {\n one: 'mindre enn eitt minutt',\n other: 'mindre enn {{count}} minutt'\n },\n xMinutes: {\n one: 'eitt minutt',\n other: '{{count}} minutt'\n },\n aboutXHours: {\n one: 'omtrent ein time',\n other: 'omtrent {{count}} timar'\n },\n xHours: {\n one: 'ein time',\n other: '{{count}} timar'\n },\n xDays: {\n one: 'ein dag',\n other: '{{count}} dagar'\n },\n aboutXWeeks: {\n one: 'omtrent ei veke',\n other: 'omtrent {{count}} veker'\n },\n xWeeks: {\n one: 'ei veke',\n other: '{{count}} veker'\n },\n aboutXMonths: {\n one: 'omtrent ein månad',\n other: 'omtrent {{count}} månader'\n },\n xMonths: {\n one: 'ein månad',\n other: '{{count}} månader'\n },\n aboutXYears: {\n one: 'omtrent eitt år',\n other: 'omtrent {{count}} år'\n },\n xYears: {\n one: 'eitt år',\n other: '{{count}} år'\n },\n overXYears: {\n one: 'over eitt år',\n other: 'over {{count}} år'\n },\n almostXYears: {\n one: 'nesten eitt år',\n other: 'nesten {{count}} år'\n }\n};\nvar wordMapping = ['null', 'ein', 'to', 'tre', 'fire', 'fem', 'seks', 'sju', 'åtte', 'ni', 'ti', 'elleve', 'tolv'];\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n if (options && options.onlyNumeric) {\n result = tokenValue.other.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count));\n }\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'om ' + result;\n } else {\n return result + ' sidan';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d. MMMM y',\n long: 'd. MMMM y',\n medium: 'd. MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: \"'kl'. HH:mm:ss zzzz\",\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'kl.' {{time}}\",\n long: \"{{date}} 'kl.' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'førre' eeee 'kl.' p\",\n yesterday: \"'i går kl.' p\",\n today: \"'i dag kl.' p\",\n tomorrow: \"'i morgon kl.' p\",\n nextWeek: \"EEEE 'kl.' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['f.Kr.', 'e.Kr.'],\n abbreviated: ['f.Kr.', 'e.Kr.'],\n wide: ['før Kristus', 'etter Kristus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],\n wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],\n short: ['su', 'må', 'ty', 'on', 'to', 'fr', 'lau'],\n abbreviated: ['sun', 'mån', 'tys', 'ons', 'tor', 'fre', 'laur'],\n wide: ['sundag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på etterm.',\n evening: 'på kvelden',\n night: 'på natta'\n },\n abbreviated: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morg.',\n afternoon: 'på etterm.',\n evening: 'på kvelden',\n night: 'på natta'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnatt',\n noon: 'middag',\n morning: 'på morgonen',\n afternoon: 'på ettermiddagen',\n evening: 'på kvelden',\n night: 'på natta'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(f\\.? ?Kr\\.?|fvt\\.?|e\\.? ?Kr\\.?|evt\\.?)/i,\n abbreviated: /^(f\\.? ?Kr\\.?|fvt\\.?|e\\.? ?Kr\\.?|evt\\.?)/i,\n wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i\n};\nvar parseEraPatterns = {\n any: [/^f/i, /^e/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\\.?/i,\n wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtofl]/i,\n short: /^(su|må|ty|on|to|fr|la)/i,\n abbreviated: /^(sun|mån|tys|ons|tor|fre|laur)/i,\n wide: /^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i\n};\nvar parseDayPatterns = {\n any: [/^s/i, /^m/i, /^ty/i, /^o/i, /^to/i, /^f/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,\n any: /^([ap]\\.?\\s?m\\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a(\\.?\\s?m\\.?)?$/i,\n pm: /^p(\\.?\\s?m\\.?)?$/i,\n midnight: /^midn/i,\n noon: /^midd/i,\n morning: /morgon/i,\n afternoon: /ettermiddag/i,\n evening: /kveld/i,\n night: /natt/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Norwegian Nynorsk locale.\n * @language Norwegian Nynorsk\n * @iso-639-2 nno\n * @author Mats Byrkjeland [@draperunner]{@link https://github.com/draperunner}\n */\n\nvar locale = {\n code: 'nn',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","wordMapping","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,yBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,cACL,MAAO,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AS,QAAS,QAAS,QAAS,MAAO,MAAO,MAAO,KAAK,CACtG,EACIC,EAAmB,CACrB,OAAQ,aACR,MAAO,2BACP,YAAa,mCACb,KAAM,wDACR,EACIC,EAAmB,CACrB,IAAK,CAAC,MAAO,MAAO,OAAQ,MAAO,OAAQ,MAAO,KAAK,CACzD,EACIC,EAAyB,CAC3B,OAAQ,sEACR,IAAK,+EACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,oBACJ,GAAI,oBACJ,SAAU,SACV,KAAM,SACN,QAAS,UACT,UAAW,eACX,QAAS,SACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.d8221a4b.js b/assets/index.d8221a4b.js new file mode 100644 index 0000000000..3156c8a0bf --- /dev/null +++ b/assets/index.d8221a4b.js @@ -0,0 +1,2 @@ +import{d as m,e as i,f as h,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{standalone:{one:"manner wéi eng Sekonn",other:"manner wéi {{count}} Sekonnen"},withPreposition:{one:"manner wéi enger Sekonn",other:"manner wéi {{count}} Sekonnen"}},xSeconds:{standalone:{one:"eng Sekonn",other:"{{count}} Sekonnen"},withPreposition:{one:"enger Sekonn",other:"{{count}} Sekonnen"}},halfAMinute:{standalone:"eng hallef Minutt",withPreposition:"enger hallwer Minutt"},lessThanXMinutes:{standalone:{one:"manner wéi eng Minutt",other:"manner wéi {{count}} Minutten"},withPreposition:{one:"manner wéi enger Minutt",other:"manner wéi {{count}} Minutten"}},xMinutes:{standalone:{one:"eng Minutt",other:"{{count}} Minutten"},withPreposition:{one:"enger Minutt",other:"{{count}} Minutten"}},aboutXHours:{standalone:{one:"ongeféier eng Stonn",other:"ongeféier {{count}} Stonnen"},withPreposition:{one:"ongeféier enger Stonn",other:"ongeféier {{count}} Stonnen"}},xHours:{standalone:{one:"eng Stonn",other:"{{count}} Stonnen"},withPreposition:{one:"enger Stonn",other:"{{count}} Stonnen"}},xDays:{standalone:{one:"een Dag",other:"{{count}} Deeg"},withPreposition:{one:"engem Dag",other:"{{count}} Deeg"}},aboutXWeeks:{standalone:{one:"ongeféier eng Woch",other:"ongeféier {{count}} Wochen"},withPreposition:{one:"ongeféier enger Woche",other:"ongeféier {{count}} Wochen"}},xWeeks:{standalone:{one:"eng Woch",other:"{{count}} Wochen"},withPreposition:{one:"enger Woch",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"ongeféier ee Mount",other:"ongeféier {{count}} Méint"},withPreposition:{one:"ongeféier engem Mount",other:"ongeféier {{count}} Méint"}},xMonths:{standalone:{one:"ee Mount",other:"{{count}} Méint"},withPreposition:{one:"engem Mount",other:"{{count}} Méint"}},aboutXYears:{standalone:{one:"ongeféier ee Joer",other:"ongeféier {{count}} Joer"},withPreposition:{one:"ongeféier engem Joer",other:"ongeféier {{count}} Joer"}},xYears:{standalone:{one:"ee Joer",other:"{{count}} Joer"},withPreposition:{one:"engem Joer",other:"{{count}} Joer"}},overXYears:{standalone:{one:"méi wéi ee Joer",other:"méi wéi {{count}} Joer"},withPreposition:{one:"méi wéi engem Joer",other:"méi wéi {{count}} Joer"}},almostXYears:{standalone:{one:"bal ee Joer",other:"bal {{count}} Joer"},withPreposition:{one:"bal engem Joer",other:"bal {{count}} Joer"}}},c=["d","h","n","t","z"],g=["a,","e","i","o","u"],f=[0,1,2,3,8,9],v=[40,50,60,70];function d(r){var t=r.charAt(0).toLowerCase();if(g.indexOf(t)!=-1||c.indexOf(t)!=-1)return!0;var n=r.split(" ")[0],e=parseInt(n);return!isNaN(e)&&f.indexOf(e%10)!=-1&&v.indexOf(parseInt(n.substring(0,2)))==-1}var w=function(t,n,e){var o,a=l[t],u=e!=null&&e.addSuffix?a.withPreposition:a.standalone;return typeof u=="string"?o=u:n===1?o=u.one:o=u.other.replace("{{count}}",String(n)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"a"+(d(o)?"n":"")+" "+o:"viru"+(d(o)?"n":"")+" "+o:o},M={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.yy"},b={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},P={date:m({formats:M,defaultWidth:"full"}),time:m({formats:b,defaultWidth:"full"}),dateTime:m({formats:p,defaultWidth:"full"})},S={lastWeek:function(t){var n=t.getUTCDay(),e="'läschte";return(n===2||n===4)&&(e+="n"),e+="' eeee 'um' p",e},yesterday:"'gëschter um' p",today:"'haut um' p",tomorrow:"'moien um' p",nextWeek:"eeee 'um' p",other:"P"},W=function(t,n,e,o){var a=S[t];return typeof a=="function"?a(n):a},y={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["viru Christus","no Christus"]},D={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},N={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"]},k={narrow:["S","M","D","M","D","F","S"],short:["So","Mé","Dë","Më","Do","Fr","Sa"],abbreviated:["So.","Mé.","Dë.","Më.","Do.","Fr.","Sa."],wide:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"]},J={narrow:{am:"mo.",pm:"nomë.",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"},abbreviated:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"},wide:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"Mëtteg",morning:"Moien",afternoon:"Nomëtteg",evening:"Owend",night:"Nuecht"}},C={narrow:{am:"mo.",pm:"nom.",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"},abbreviated:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"},wide:{am:"moies",pm:"nomëttes",midnight:"Mëtternuecht",noon:"mëttes",morning:"moies",afternoon:"nomëttes",evening:"owes",night:"nuets"}},O=function(t,n){var e=Number(t);return e+"."},F={ordinalNumber:O,era:i({values:y,defaultWidth:"wide"}),quarter:i({values:D,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:i({values:N,defaultWidth:"wide"}),day:i({values:k,defaultWidth:"wide"}),dayPeriod:i({values:J,defaultWidth:"wide",formattingValues:C,defaultFormattingWidth:"wide"})},E=/^(\d+)(\.)?/i,z=/\d+/i,x={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i},j={any:[/^v/i,/^n/i]},_={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},Q={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i,wide:/^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i},H={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mä/i,/^ab/i,/^me/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},A={narrow:/^[smdf]/i,short:/^(so|mé|dë|më|do|fr|sa)/i,abbreviated:/^(son?|méi?|dën?|mët?|don?|fre?|sam?)\.?/i,wide:/^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i},I={any:[/^so/i,/^mé/i,/^dë/i,/^më/i,/^do/i,/^f/i,/^sa/i]},L={narrow:/^(mo\.?|nomë\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,abbreviated:/^(moi\.?|nomët\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,wide:/^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i},V={any:{am:/^m/i,pm:/^n/i,midnight:/^Mëtter/i,noon:/^mëttes/i,morning:/moies/i,afternoon:/nomëttes/i,evening:/owes/i,night:/nuets/i}},X={ordinalNumber:h({matchPattern:E,parsePattern:z,valueCallback:function(t){return parseInt(t,10)}}),era:s({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:j,defaultParseWidth:"any"}),quarter:s({matchPatterns:_,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:s({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:s({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"})},Z={code:"lb",formatDistance:w,formatLong:P,formatRelative:W,localize:F,match:X,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Z as default}; +//# sourceMappingURL=index.d8221a4b.js.map diff --git a/assets/index.d8221a4b.js.map b/assets/index.d8221a4b.js.map new file mode 100644 index 0000000000..26bac4fb10 --- /dev/null +++ b/assets/index.d8221a4b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d8221a4b.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/lb/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n standalone: {\n one: 'manner wéi eng Sekonn',\n other: 'manner wéi {{count}} Sekonnen'\n },\n withPreposition: {\n one: 'manner wéi enger Sekonn',\n other: 'manner wéi {{count}} Sekonnen'\n }\n },\n xSeconds: {\n standalone: {\n one: 'eng Sekonn',\n other: '{{count}} Sekonnen'\n },\n withPreposition: {\n one: 'enger Sekonn',\n other: '{{count}} Sekonnen'\n }\n },\n halfAMinute: {\n standalone: 'eng hallef Minutt',\n withPreposition: 'enger hallwer Minutt'\n },\n lessThanXMinutes: {\n standalone: {\n one: 'manner wéi eng Minutt',\n other: 'manner wéi {{count}} Minutten'\n },\n withPreposition: {\n one: 'manner wéi enger Minutt',\n other: 'manner wéi {{count}} Minutten'\n }\n },\n xMinutes: {\n standalone: {\n one: 'eng Minutt',\n other: '{{count}} Minutten'\n },\n withPreposition: {\n one: 'enger Minutt',\n other: '{{count}} Minutten'\n }\n },\n aboutXHours: {\n standalone: {\n one: 'ongeféier eng Stonn',\n other: 'ongeféier {{count}} Stonnen'\n },\n withPreposition: {\n one: 'ongeféier enger Stonn',\n other: 'ongeféier {{count}} Stonnen'\n }\n },\n xHours: {\n standalone: {\n one: 'eng Stonn',\n other: '{{count}} Stonnen'\n },\n withPreposition: {\n one: 'enger Stonn',\n other: '{{count}} Stonnen'\n }\n },\n xDays: {\n standalone: {\n one: 'een Dag',\n other: '{{count}} Deeg'\n },\n withPreposition: {\n one: 'engem Dag',\n other: '{{count}} Deeg'\n }\n },\n aboutXWeeks: {\n standalone: {\n one: 'ongeféier eng Woch',\n other: 'ongeféier {{count}} Wochen'\n },\n withPreposition: {\n one: 'ongeféier enger Woche',\n other: 'ongeféier {{count}} Wochen'\n }\n },\n xWeeks: {\n standalone: {\n one: 'eng Woch',\n other: '{{count}} Wochen'\n },\n withPreposition: {\n one: 'enger Woch',\n other: '{{count}} Wochen'\n }\n },\n aboutXMonths: {\n standalone: {\n one: 'ongeféier ee Mount',\n other: 'ongeféier {{count}} Méint'\n },\n withPreposition: {\n one: 'ongeféier engem Mount',\n other: 'ongeféier {{count}} Méint'\n }\n },\n xMonths: {\n standalone: {\n one: 'ee Mount',\n other: '{{count}} Méint'\n },\n withPreposition: {\n one: 'engem Mount',\n other: '{{count}} Méint'\n }\n },\n aboutXYears: {\n standalone: {\n one: 'ongeféier ee Joer',\n other: 'ongeféier {{count}} Joer'\n },\n withPreposition: {\n one: 'ongeféier engem Joer',\n other: 'ongeféier {{count}} Joer'\n }\n },\n xYears: {\n standalone: {\n one: 'ee Joer',\n other: '{{count}} Joer'\n },\n withPreposition: {\n one: 'engem Joer',\n other: '{{count}} Joer'\n }\n },\n overXYears: {\n standalone: {\n one: 'méi wéi ee Joer',\n other: 'méi wéi {{count}} Joer'\n },\n withPreposition: {\n one: 'méi wéi engem Joer',\n other: 'méi wéi {{count}} Joer'\n }\n },\n almostXYears: {\n standalone: {\n one: 'bal ee Joer',\n other: 'bal {{count}} Joer'\n },\n withPreposition: {\n one: 'bal engem Joer',\n other: 'bal {{count}} Joer'\n }\n }\n};\nvar EXCEPTION_CONSONANTS = ['d', 'h', 'n', 't', 'z'];\nvar VOWELS = ['a,', 'e', 'i', 'o', 'u'];\nvar DIGITS_SPOKEN_N_NEEDED = [0, 1, 2, 3, 8, 9];\nvar FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED = [40, 50, 60, 70]; // Eifeler Regel\n\nfunction isFinalNNeeded(nextWords) {\n var firstLetter = nextWords.charAt(0).toLowerCase();\n\n if (VOWELS.indexOf(firstLetter) != -1 || EXCEPTION_CONSONANTS.indexOf(firstLetter) != -1) {\n return true;\n } // Numbers would need to converted into words for checking.\n // Therefore, I have listed the digits that require a preceeding n with a few exceptions.\n\n\n var firstWord = nextWords.split(' ')[0];\n var number = parseInt(firstWord);\n\n if (!isNaN(number) && DIGITS_SPOKEN_N_NEEDED.indexOf(number % 10) != -1 && FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED.indexOf(parseInt(firstWord.substring(0, 2))) == -1) {\n return true;\n } // Omit other checks as they are not expected here.\n\n\n return false;\n}\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n var usageGroup = options !== null && options !== void 0 && options.addSuffix ? tokenValue.withPreposition : tokenValue.standalone;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else {\n result = usageGroup.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'a' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result;\n } else {\n return 'viru' + (isFinalNNeeded(result) ? 'n' : '') + ' ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; // DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008\n\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n // Méindeg, 7. Januar 2018\n long: 'do MMMM y',\n // 7. Januar 2018\n medium: 'do MMM y',\n // 7. Jan 2018\n short: 'dd.MM.yy' // 07.01.18\n\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'um' {{time}}\",\n long: \"{{date}} 'um' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n var day = date.getUTCDay();\n var result = \"'läschte\";\n\n if (day === 2 || day === 4) {\n // Eifeler Regel: Add an n before the consonant d; Here \"Dënschdeg\" \"and Donneschde\".\n result += 'n';\n }\n\n result += \"' eeee 'um' p\";\n return result;\n },\n yesterday: \"'gëschter um' p\",\n today: \"'haut um' p\",\n tomorrow: \"'moien um' p\",\n nextWeek: \"eeee 'um' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['v.Chr.', 'n.Chr.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['viru Christus', 'no Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],\n wide: ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],\n short: ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'],\n abbreviated: ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'],\n wide: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'mo.',\n pm: 'nomë.',\n midnight: 'Mëtternuecht',\n noon: 'Mëtteg',\n morning: 'Moien',\n afternoon: 'Nomëtteg',\n evening: 'Owend',\n night: 'Nuecht'\n },\n abbreviated: {\n am: 'moies',\n pm: 'nomëttes',\n midnight: 'Mëtternuecht',\n noon: 'Mëtteg',\n morning: 'Moien',\n afternoon: 'Nomëtteg',\n evening: 'Owend',\n night: 'Nuecht'\n },\n wide: {\n am: 'moies',\n pm: 'nomëttes',\n midnight: 'Mëtternuecht',\n noon: 'Mëtteg',\n morning: 'Moien',\n afternoon: 'Nomëtteg',\n evening: 'Owend',\n night: 'Nuecht'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'mo.',\n pm: 'nom.',\n midnight: 'Mëtternuecht',\n noon: 'mëttes',\n morning: 'moies',\n afternoon: 'nomëttes',\n evening: 'owes',\n night: 'nuets'\n },\n abbreviated: {\n am: 'moies',\n pm: 'nomëttes',\n midnight: 'Mëtternuecht',\n noon: 'mëttes',\n morning: 'moies',\n afternoon: 'nomëttes',\n evening: 'owes',\n night: 'nuets'\n },\n wide: {\n am: 'moies',\n pm: 'nomëttes',\n midnight: 'Mëtternuecht',\n noon: 'mëttes',\n morning: 'moies',\n afternoon: 'nomëttes',\n evening: 'owes',\n night: 'nuets'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n abbreviated: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n wide: /^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i\n};\nvar parseEraPatterns = {\n any: [/^v/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? Quartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i,\n wide: /^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mä/i, /^ab/i, /^me/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smdf]/i,\n short: /^(so|mé|dë|më|do|fr|sa)/i,\n abbreviated: /^(son?|méi?|dën?|mët?|don?|fre?|sam?)\\.?/i,\n wide: /^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i\n};\nvar parseDayPatterns = {\n any: [/^so/i, /^mé/i, /^dë/i, /^më/i, /^do/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(mo\\.?|nomë\\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,\n abbreviated: /^(moi\\.?|nomët\\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,\n wide: /^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^m/i,\n pm: /^n/i,\n midnight: /^Mëtter/i,\n noon: /^mëttes/i,\n morning: /moies/i,\n afternoon: /nomëttes/i,\n // will never be matched. Afternoon is matched by `pm`\n evening: /owes/i,\n night: /nuets/i // will never be matched. Night is matched by `pm`\n\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Luxembourgish locale.\n * @language Luxembourgish\n * @iso-639-2 ltz\n * @author Daniel Waxweiler [@dwaxweiler]{@link https://github.com/dwaxweiler}\n */\n\nvar locale = {\n code: 'lb',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","EXCEPTION_CONSONANTS","VOWELS","DIGITS_SPOKEN_N_NEEDED","FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED","isFinalNNeeded","nextWords","firstLetter","firstWord","number","formatDistance","token","count","options","result","tokenValue","usageGroup","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","day","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,WAAY,CACV,IAAK,wBACL,MAAO,+BACR,EACD,gBAAiB,CACf,IAAK,0BACL,MAAO,+BACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,aACL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,eACL,MAAO,oBACR,CACF,EACD,YAAa,CACX,WAAY,oBACZ,gBAAiB,sBAClB,EACD,iBAAkB,CAChB,WAAY,CACV,IAAK,wBACL,MAAO,+BACR,EACD,gBAAiB,CACf,IAAK,0BACL,MAAO,+BACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,aACL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,eACL,MAAO,oBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,sBACL,MAAO,6BACR,EACD,gBAAiB,CACf,IAAK,wBACL,MAAO,6BACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,YACL,MAAO,mBACR,EACD,gBAAiB,CACf,IAAK,cACL,MAAO,mBACR,CACF,EACD,MAAO,CACL,WAAY,CACV,IAAK,UACL,MAAO,gBACR,EACD,gBAAiB,CACf,IAAK,YACL,MAAO,gBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,qBACL,MAAO,4BACR,EACD,gBAAiB,CACf,IAAK,wBACL,MAAO,4BACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,WACL,MAAO,kBACR,EACD,gBAAiB,CACf,IAAK,aACL,MAAO,kBACR,CACF,EACD,aAAc,CACZ,WAAY,CACV,IAAK,qBACL,MAAO,2BACR,EACD,gBAAiB,CACf,IAAK,wBACL,MAAO,2BACR,CACF,EACD,QAAS,CACP,WAAY,CACV,IAAK,WACL,MAAO,iBACR,EACD,gBAAiB,CACf,IAAK,cACL,MAAO,iBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,oBACL,MAAO,0BACR,EACD,gBAAiB,CACf,IAAK,uBACL,MAAO,0BACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,UACL,MAAO,gBACR,EACD,gBAAiB,CACf,IAAK,aACL,MAAO,gBACR,CACF,EACD,WAAY,CACV,WAAY,CACV,IAAK,kBACL,MAAO,wBACR,EACD,gBAAiB,CACf,IAAK,qBACL,MAAO,wBACR,CACF,EACD,aAAc,CACZ,WAAY,CACV,IAAK,cACL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,iBACL,MAAO,oBACR,CACF,CACH,EACIC,EAAuB,CAAC,IAAK,IAAK,IAAK,IAAK,GAAG,EAC/CC,EAAS,CAAC,KAAM,IAAK,IAAK,IAAK,GAAG,EAClCC,EAAyB,CAAC,EAAG,EAAG,EAAG,EAAG,EAAG,CAAC,EAC1CC,EAAsC,CAAC,GAAI,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ACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECpFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYU,EACZ,eAAgBK,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.da3b51fe.js b/assets/index.da3b51fe.js new file mode 100644 index 0000000000..d06403e5eb --- /dev/null +++ b/assets/index.da3b51fe.js @@ -0,0 +1,2 @@ +import{d as m,e as n,f as s,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},l=function(a,o,e){var r,d=u[a];return typeof d=="string"?r=d:o===1?r=d.one:r=d.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"over "+r:r+" geleden":r},h={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},v={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:m({formats:h,defaultWidth:"full"}),time:m({formats:v,defaultWidth:"full"}),dateTime:m({formats:c,defaultWidth:"full"})},f={lastWeek:"'vorige' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},b=function(a,o,e,r){return f[a]},w={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},p={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},M={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},j={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middag",morning:"'s ochtends",afternoon:"'s namiddags",evening:"'s avonds",night:"'s nachts"}},y=function(a,o){var e=Number(a);return e+"e"},k={ordinalNumber:y,era:n({values:w,defaultWidth:"wide"}),quarter:n({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:P,defaultWidth:"wide"}),day:n({values:M,defaultWidth:"wide"}),dayPeriod:n({values:j,defaultWidth:"wide"})},z=/^(\d+)e?/i,W=/\d+/i,C={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},D={any:[/^v/,/^n/]},x={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},H={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},X={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},E={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},V={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},A={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},L={ordinalNumber:s({matchPattern:z,parsePattern:W,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})},Y={code:"nl-BE",formatDistance:l,formatLong:g,formatRelative:b,localize:k,match:L,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Y as default}; +//# sourceMappingURL=index.da3b51fe.js.map diff --git a/assets/index.da3b51fe.js.map b/assets/index.da3b51fe.js.map new file mode 100644 index 0000000000..85606c2cd8 --- /dev/null +++ b/assets/index.da3b51fe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.da3b51fe.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/nl-BE/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'minder dan een seconde',\n other: 'minder dan {{count}} seconden'\n },\n xSeconds: {\n one: '1 seconde',\n other: '{{count}} seconden'\n },\n halfAMinute: 'een halve minuut',\n lessThanXMinutes: {\n one: 'minder dan een minuut',\n other: 'minder dan {{count}} minuten'\n },\n xMinutes: {\n one: 'een minuut',\n other: '{{count}} minuten'\n },\n aboutXHours: {\n one: 'ongeveer 1 uur',\n other: 'ongeveer {{count}} uur'\n },\n xHours: {\n one: '1 uur',\n other: '{{count}} uur'\n },\n xDays: {\n one: '1 dag',\n other: '{{count}} dagen'\n },\n aboutXWeeks: {\n one: 'ongeveer 1 week',\n other: 'ongeveer {{count}} weken'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weken'\n },\n aboutXMonths: {\n one: 'ongeveer 1 maand',\n other: 'ongeveer {{count}} maanden'\n },\n xMonths: {\n one: '1 maand',\n other: '{{count}} maanden'\n },\n aboutXYears: {\n one: 'ongeveer 1 jaar',\n other: 'ongeveer {{count}} jaar'\n },\n xYears: {\n one: '1 jaar',\n other: '{{count}} jaar'\n },\n overXYears: {\n one: 'meer dan 1 jaar',\n other: 'meer dan {{count}} jaar'\n },\n almostXYears: {\n one: 'bijna 1 jaar',\n other: 'bijna {{count}} jaar'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'over ' + result;\n } else {\n return result + ' geleden';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n long: 'd MMMM y',\n medium: 'd MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'om' {{time}}\",\n long: \"{{date}} 'om' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'vorige' eeee 'om' p\",\n yesterday: \"'gisteren om' p\",\n today: \"'vandaag om' p\",\n tomorrow: \"'morgen om' p\",\n nextWeek: \"eeee 'om' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['v.C.', 'n.C.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['voor Christus', 'na Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'],\n short: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],\n abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],\n wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middag',\n morning: \"'s ochtends\",\n afternoon: \"'s namiddags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middag',\n morning: \"'s ochtends\",\n afternoon: \"'s namiddags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middag',\n morning: \"'s ochtends\",\n afternoon: \"'s namiddags\",\n evening: \"'s avonds\",\n night: \"'s nachts\"\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'e';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)e?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([vn]\\.? ?C\\.?)/,\n abbreviated: /^([vn]\\. ?Chr\\.?)/,\n wide: /^((voor|na) Christus)/\n};\nvar parseEraPatterns = {\n any: [/^v/, /^n/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234]e kwartaal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,\n wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^jan/i, /^feb/i, /^m(r|a)/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]\n};\nvar matchDayPatterns = {\n narrow: /^[zmdwv]/i,\n short: /^(zo|ma|di|wo|do|vr|za)/i,\n abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i,\n wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i\n};\nvar parseDayPatterns = {\n narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i],\n any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /^middernacht/i,\n noon: /^het middaguur/i,\n morning: /ochtend/i,\n afternoon: /middag/i,\n evening: /avond/i,\n night: /nacht/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Dutch locale.\n * @language Dutch\n * @iso-639-2 nld\n * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder}\n * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk}\n * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb}\n * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn}\n */\n\nvar locale = {\n code: 'nl-BE',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,yBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,oBACR,EACD,YAAa,mBACb,iBAAkB,CAChB,IAAK,wBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,mBACL,MAAO,4BACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,mBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,kBACL,MAAO,yBACR,EACD,aAAc,CACZ,IAAK,eACL,MAAO,sBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,UAChDA,EAAQ,YAAcA,EAAQ,WAAa,EACtC,QAAUC,EAEVA,EAAS,WAIbA,CACT,ECpFIE,EAAc,CAChB,KAAM,gBACN,KAAM,WACN,OAAQ,UACR,MA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AOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.dc7d7db8.js b/assets/index.dc7d7db8.js new file mode 100644 index 0000000000..0c8d7a285c --- /dev/null +++ b/assets/index.dc7d7db8.js @@ -0,0 +1,2 @@ +import{d as u,e as i,f as s,g as d}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية",two:"ثانيتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نص دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقايق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة",two:"دقيقتين",threeToTen:"{{count}} دقايق",other:"{{count}} دقيقة"},aboutXHours:{one:"حوالي ساعة",two:"حوالي ساعتين",threeToTen:"حوالي {{count}} ساعات",other:"حوالي {{count}} ساعة"},xHours:{one:"ساعة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"حوالي أسبوع",two:"حوالي أسبوعين",threeToTen:"حوالي {{count}} أسابيع",other:"حوالي {{count}} أسبوع"},xWeeks:{one:"أسبوع",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"حوالي شهر",two:"حوالي شهرين",threeToTen:"حوالي {{count}} أشهر",other:"حوالي {{count}} شهر"},xMonths:{one:"شهر",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"حوالي سنة",two:"حوالي سنتين",threeToTen:"حوالي {{count}} سنين",other:"حوالي {{count}} سنة"},xYears:{one:"عام",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنين",other:"أكثر من {{count}} سنة"},almostXYears:{one:"عام تقريبًا",two:"عامين تقريبًا",threeToTen:"{{count}} أعوام تقريبًا",other:"{{count}} عام تقريبًا"}},m=function(e,a,r){var t,n=h[e];return typeof n=="string"?t=n:a===1?t=n.one:a===2?t=n.two:a<=10?t=n.threeToTen.replace("{{count}}",String(a)):t=n.other.replace("{{count}}",String(a)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"في خلال ".concat(t):"منذ ".concat(t):t},l={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"dd/MMM/y",short:"d/MM/y"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'الساعة' {{time}}",long:"{{date}} 'الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:l,defaultWidth:"full"}),time:u({formats:c,defaultWidth:"full"}),dateTime:u({formats:f,defaultWidth:"full"})},w={lastWeek:"eeee 'اللي جاي الساعة' p",yesterday:"'إمبارح الساعة' p",today:"'النهاردة الساعة' p",tomorrow:"'بكرة الساعة' p",nextWeek:"eeee 'الساعة' p",other:"P"},g=function(e,a,r,t){return w[e]},b={narrow:["ق","ب"],abbreviated:["ق.م","ب.م"],wide:["قبل الميلاد","بعد الميلاد"]},P={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},T={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},p={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},y={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"}},M={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",morning:"في الصباح",noon:"ظهراً",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"}},W=function(e,a){return String(e)},k={ordinalNumber:W,era:i({values:b,defaultWidth:"wide"}),quarter:i({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:T,defaultWidth:"wide"}),day:i({values:p,defaultWidth:"wide"}),dayPeriod:i({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},D=/^(\d+)/,x=/\d+/i,F={narrow:/^(ق|ب)/g,abbreviated:/^(ق.م|ب.م)/g,wide:/^(قبل الميلاد|بعد الميلاد)/g},z={any:[/^ق/g,/^ب/g]},E={narrow:/^[1234]/,abbreviated:/^ر[1234]/,wide:/^الربع (الأول|الثاني|الثالث|الرابع)/},V={wide:[/الربع الأول/,/الربع الثاني/,/الربع الثالث/,/الربع الرابع/],any:[/1/,/2/,/3/,/4/]},X={narrow:/^(ي|ف|م|أ|س|ن|د)/,abbreviated:/^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},C={narrow:[/^ي/,/^ف/,/^م/,/^أ/,/^م/,/^ي/,/^ي/,/^أ/,/^س/,/^أ/,/^ن/,/^د/],any:[/^ينا/,/^فبر/,/^مارس/,/^أبريل/,/^مايو/,/^يون/,/^يول/,/^أغس/,/^سبت/,/^أكت/,/^نوف/,/^ديس/]},S={narrow:/^(ح|ن|ث|ر|خ|ج|س)/,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/},L={narrow:[/^ح/,/^ن/,/^ث/,/^ر/,/^خ/,/^ج/,/^س/],any:[/أحد/,/اثنين/,/ثلاثاء/,/أربعاء/,/خميس/,/جمعة/,/سبت/]},N={narrow:/^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/,abbreviated:/^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/,wide:/^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/,any:/^(ص|م|صباح|ظهر|مساء|ليل)/},R={any:{am:/^ص/,pm:/^م/,midnight:/^ن/,noon:/^ظ/,morning:/^ص/,afternoon:/^بعد/,evening:/^م/,night:/^ل/}},Y={ordinalNumber:s({matchPattern:D,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:d({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:d({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),day:d({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},Q={code:"ar-EG",formatDistance:m,formatLong:v,formatRelative:g,localize:k,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.dc7d7db8.js.map diff --git a/assets/index.dc7d7db8.js.map b/assets/index.dc7d7db8.js.map new file mode 100644 index 0000000000..1fc3046e4d --- /dev/null +++ b/assets/index.dc7d7db8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.dc7d7db8.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ar-EG/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'أقل من ثانية',\n two: 'أقل من ثانيتين',\n threeToTen: 'أقل من {{count}} ثواني',\n other: 'أقل من {{count}} ثانية'\n },\n xSeconds: {\n one: 'ثانية',\n two: 'ثانيتين',\n threeToTen: '{{count}} ثواني',\n other: '{{count}} ثانية'\n },\n halfAMinute: 'نص دقيقة',\n lessThanXMinutes: {\n one: 'أقل من دقيقة',\n two: 'أقل من دقيقتين',\n threeToTen: 'أقل من {{count}} دقايق',\n other: 'أقل من {{count}} دقيقة'\n },\n xMinutes: {\n one: 'دقيقة',\n two: 'دقيقتين',\n threeToTen: '{{count}} دقايق',\n other: '{{count}} دقيقة'\n },\n aboutXHours: {\n one: 'حوالي ساعة',\n two: 'حوالي ساعتين',\n threeToTen: 'حوالي {{count}} ساعات',\n other: 'حوالي {{count}} ساعة'\n },\n xHours: {\n one: 'ساعة',\n two: 'ساعتين',\n threeToTen: '{{count}} ساعات',\n other: '{{count}} ساعة'\n },\n xDays: {\n one: 'يوم',\n two: 'يومين',\n threeToTen: '{{count}} أيام',\n other: '{{count}} يوم'\n },\n aboutXWeeks: {\n one: 'حوالي أسبوع',\n two: 'حوالي أسبوعين',\n threeToTen: 'حوالي {{count}} أسابيع',\n other: 'حوالي {{count}} أسبوع'\n },\n xWeeks: {\n one: 'أسبوع',\n two: 'أسبوعين',\n threeToTen: '{{count}} أسابيع',\n other: '{{count}} أسبوع'\n },\n aboutXMonths: {\n one: 'حوالي شهر',\n two: 'حوالي شهرين',\n threeToTen: 'حوالي {{count}} أشهر',\n other: 'حوالي {{count}} شهر'\n },\n xMonths: {\n one: 'شهر',\n two: 'شهرين',\n threeToTen: '{{count}} أشهر',\n other: '{{count}} شهر'\n },\n aboutXYears: {\n one: 'حوالي سنة',\n two: 'حوالي سنتين',\n threeToTen: 'حوالي {{count}} سنين',\n other: 'حوالي {{count}} سنة'\n },\n xYears: {\n one: 'عام',\n two: 'عامين',\n threeToTen: '{{count}} أعوام',\n other: '{{count}} عام'\n },\n overXYears: {\n one: 'أكثر من سنة',\n two: 'أكثر من سنتين',\n threeToTen: 'أكثر من {{count}} سنين',\n other: 'أكثر من {{count}} سنة'\n },\n almostXYears: {\n one: 'عام تقريبًا',\n two: 'عامين تقريبًا',\n threeToTen: '{{count}} أعوام تقريبًا',\n other: '{{count}} عام تقريبًا'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2) {\n result = tokenValue.two;\n } else if (count <= 10) {\n result = tokenValue.threeToTen.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"\\u0641\\u064A \\u062E\\u0644\\u0627\\u0644 \".concat(result);\n } else {\n return \"\\u0645\\u0646\\u0630 \".concat(result);\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE، do MMMM y',\n long: 'do MMMM y',\n medium: 'dd/MMM/y',\n short: 'd/MM/y'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'الساعة' {{time}}\",\n long: \"{{date}} 'الساعة' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'اللي جاي الساعة' p\",\n yesterday: \"'إمبارح الساعة' p\",\n today: \"'النهاردة الساعة' p\",\n tomorrow: \"'بكرة الساعة' p\",\n nextWeek: \"eeee 'الساعة' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['ق', 'ب'],\n abbreviated: ['ق.م', 'ب.م'],\n wide: ['قبل الميلاد', 'بعد الميلاد']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['ر1', 'ر2', 'ر3', 'ر4'],\n wide: ['الربع الأول', 'الربع الثاني', 'الربع الثالث', 'الربع الرابع']\n};\nvar monthValues = {\n narrow: ['ي', 'ف', 'م', 'أ', 'م', 'ي', 'ي', 'أ', 'س', 'أ', 'ن', 'د'],\n abbreviated: ['ينا', 'فبر', 'مارس', 'أبريل', 'مايو', 'يونـ', 'يولـ', 'أغسـ', 'سبتـ', 'أكتـ', 'نوفـ', 'ديسـ'],\n wide: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر']\n};\nvar dayValues = {\n narrow: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],\n short: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n abbreviated: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],\n wide: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءً',\n night: 'ليلاً'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهراً',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءً',\n night: 'ليلاً'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهراً',\n morning: 'صباحاً',\n afternoon: 'بعد الظهر',\n evening: 'مساءً',\n night: 'ليلاً'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'ص',\n pm: 'م',\n midnight: 'ن',\n noon: 'ظ',\n morning: 'في الصباح',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n abbreviated: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n noon: 'ظهراً',\n morning: 'في الصباح',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n },\n wide: {\n am: 'ص',\n pm: 'م',\n midnight: 'نصف الليل',\n morning: 'في الصباح',\n noon: 'ظهراً',\n afternoon: 'بعد الظهر',\n evening: 'في المساء',\n night: 'في الليل'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)/;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/g,\n abbreviated: /^(ق.م|ب.م)/g,\n wide: /^(قبل الميلاد|بعد الميلاد)/g\n};\nvar parseEraPatterns = {\n any: [/^ق/g, /^ب/g]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/,\n abbreviated: /^ر[1234]/,\n wide: /^الربع (الأول|الثاني|الثالث|الرابع)/\n};\nvar parseQuarterPatterns = {\n wide: [/الربع الأول/, /الربع الثاني/, /الربع الثالث/, /الربع الرابع/],\n any: [/1/, /2/, /3/, /4/]\n};\nvar matchMonthPatterns = {\n narrow: /^(ي|ف|م|أ|س|ن|د)/,\n abbreviated: /^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/,\n wide: /^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/\n};\nvar parseMonthPatterns = {\n narrow: [/^ي/, /^ف/, /^م/, /^أ/, /^م/, /^ي/, /^ي/, /^أ/, /^س/, /^أ/, /^ن/, /^د/],\n any: [/^ينا/, /^فبر/, /^مارس/, /^أبريل/, /^مايو/, /^يون/, /^يول/, /^أغس/, /^سبت/, /^أكت/, /^نوف/, /^ديس/]\n};\nvar matchDayPatterns = {\n narrow: /^(ح|ن|ث|ر|خ|ج|س)/,\n short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,\n abbreviated: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,\n wide: /^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/\n};\nvar parseDayPatterns = {\n narrow: [/^ح/, /^ن/, /^ث/, /^ر/, /^خ/, /^ج/, /^س/],\n any: [/أحد/, /اثنين/, /ثلاثاء/, /أربعاء/, /خميس/, /جمعة/, /سبت/]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/,\n abbreviated: /^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/,\n wide: /^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/,\n any: /^(ص|م|صباح|ظهر|مساء|ليل)/\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ص/,\n pm: /^م/,\n midnight: /^ن/,\n noon: /^ظ/,\n morning: /^ص/,\n afternoon: /^بعد/,\n evening: /^م/,\n night: /^ل/\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary Arabic locale (Egypt).\n * @language Arabic\n * @iso-639-2 ara\n * @author AbdAllah AbdElFattah [@AbdAllahAbdElFattah13]{@link https://github.com/AbdAllahAbdElFattah13}\n */\nvar locale = {\n code: 'ar-EG',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,QACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,WACb,iBAAkB,CAChB,IAAK,eACL,IAAK,iBACL,WAAY,yBACZ,MAAO,wBACR,EACD,SAAU,CACR,IAAK,QACL,IAAK,UACL,WAAY,kBACZ,MAAO,iBACR,EACD,YAAa,CACX,IAAK,aACL,IAAK,eACL,WAAY,wBACZ,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,OACL,IAAK,SACL,WAAY,kBACZ,MAAO,gBACR,EACD,MAAO,CACL,IAAK,MACL,IAAK,QACL,WAAY,iBACZ,MAAO,eACR,EACD,YAAa,CACX,IAAK,cACL,IAAK,gBACL,WAAY,yBACZ,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,QACL,IAAK,UACL,WAAY,mBACZ,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,YACL,IAAK,cACL,WAAY,uBACZ,MA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,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.e75ddd8e.js b/assets/index.e75ddd8e.js new file mode 100644 index 0000000000..7780cbd4f3 --- /dev/null +++ b/assets/index.e75ddd8e.js @@ -0,0 +1,2 @@ +import{d as u,e as r,f as p,g as s}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as w}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var f={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function h(a,e){if(e===1)return a.one;var n=e%100;if(n<=20&&n>10)return a.other;var i=n%10;return i>=2&&i<=4?a.twoFour:a.other}function d(a,e,n){var i=h(a,e),t=typeof i=="string"?i:i[n];return t.replace("{{count}}",String(e))}var g=function(e,n,i){var t=f[e];return i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"za "+d(t,n,"future"):d(t,n,"past")+" temu":d(t,n,"regular")},v={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},z={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},k={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y={date:u({formats:v,defaultWidth:"full"}),time:u({formats:z,defaultWidth:"full"}),dateTime:u({formats:k,defaultWidth:"full"})},b={masculine:"ostatni",feminine:"ostatnia"},P={masculine:"ten",feminine:"ta"},M={masculine:"następny",feminine:"następna"},I={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function m(a,e,n,i){var t;if(w(e,n,i))t=P;else if(a==="lastWeek")t=b;else if(a==="nextWeek")t=M;else throw new Error("Cannot determine adjectives for token ".concat(a));var o=e.getUTCDay(),l=I[o],c=t[l];return"'".concat(c,"' eeee 'o' p")}var W={lastWeek:m,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:m,other:"P"},F=function(e,n,i,t){var o=W[e];return typeof o=="function"?o(e,n,i,t):o},j={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},V={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},x={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},C={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},D={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},H={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},L={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},S={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},T=function(e,n){return String(e)},N={ordinalNumber:T,era:r({values:j,defaultWidth:"wide"}),quarter:r({values:V,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:x,defaultWidth:"wide",formattingValues:C,defaultFormattingWidth:"wide"}),day:r({values:D,defaultWidth:"wide",formattingValues:H,defaultFormattingWidth:"wide"}),dayPeriod:r({values:L,defaultWidth:"wide",formattingValues:S,defaultFormattingWidth:"wide"})},X=/^(\d+)?/i,A=/\d+/i,E={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},G={any:[/^p/i,/^n/i]},R={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},Y={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},$={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},q={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},O={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},Q={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},U={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},K={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},_={ordinalNumber:p({matchPattern:X,parsePattern:A,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:G,defaultParseWidth:"any"}),quarter:s({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:$,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),day:s({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:U,defaultMatchWidth:"any",parsePatterns:K,defaultParseWidth:"any"})},ne={code:"pl",formatDistance:g,formatLong:y,formatRelative:F,localize:N,match:_,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{ne as default}; +//# sourceMappingURL=index.e75ddd8e.js.map diff --git a/assets/index.e75ddd8e.js.map b/assets/index.e75ddd8e.js.map new file mode 100644 index 0000000000..1b3bc788cb --- /dev/null +++ b/assets/index.e75ddd8e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.e75ddd8e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/pl/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'mniej niż sekunda',\n past: 'mniej niż sekundę',\n future: 'mniej niż sekundę'\n },\n twoFour: 'mniej niż {{count}} sekundy',\n other: 'mniej niż {{count}} sekund'\n },\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'sekundę',\n future: 'sekundę'\n },\n twoFour: '{{count}} sekundy',\n other: '{{count}} sekund'\n },\n halfAMinute: {\n one: 'pół minuty',\n twoFour: 'pół minuty',\n other: 'pół minuty'\n },\n lessThanXMinutes: {\n one: {\n regular: 'mniej niż minuta',\n past: 'mniej niż minutę',\n future: 'mniej niż minutę'\n },\n twoFour: 'mniej niż {{count}} minuty',\n other: 'mniej niż {{count}} minut'\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'minutę',\n future: 'minutę'\n },\n twoFour: '{{count}} minuty',\n other: '{{count}} minut'\n },\n aboutXHours: {\n one: {\n regular: 'około godziny',\n past: 'około godziny',\n future: 'około godzinę'\n },\n twoFour: 'około {{count}} godziny',\n other: 'około {{count}} godzin'\n },\n xHours: {\n one: {\n regular: 'godzina',\n past: 'godzinę',\n future: 'godzinę'\n },\n twoFour: '{{count}} godziny',\n other: '{{count}} godzin'\n },\n xDays: {\n one: {\n regular: 'dzień',\n past: 'dzień',\n future: '1 dzień'\n },\n twoFour: '{{count}} dni',\n other: '{{count}} dni'\n },\n aboutXWeeks: {\n one: 'około tygodnia',\n twoFour: 'około {{count}} tygodni',\n other: 'około {{count}} tygodni'\n },\n xWeeks: {\n one: 'tydzień',\n twoFour: '{{count}} tygodnie',\n other: '{{count}} tygodni'\n },\n aboutXMonths: {\n one: 'około miesiąc',\n twoFour: 'około {{count}} miesiące',\n other: 'około {{count}} miesięcy'\n },\n xMonths: {\n one: 'miesiąc',\n twoFour: '{{count}} miesiące',\n other: '{{count}} miesięcy'\n },\n aboutXYears: {\n one: 'około rok',\n twoFour: 'około {{count}} lata',\n other: 'około {{count}} lat'\n },\n xYears: {\n one: 'rok',\n twoFour: '{{count}} lata',\n other: '{{count}} lat'\n },\n overXYears: {\n one: 'ponad rok',\n twoFour: 'ponad {{count}} lata',\n other: 'ponad {{count}} lat'\n },\n almostXYears: {\n one: 'prawie rok',\n twoFour: 'prawie {{count}} lata',\n other: 'prawie {{count}} lat'\n }\n};\n\nfunction declensionGroup(scheme, count) {\n if (count === 1) {\n return scheme.one;\n }\n\n var rem100 = count % 100; // ends with 11-20\n\n if (rem100 <= 20 && rem100 > 10) {\n return scheme.other;\n }\n\n var rem10 = rem100 % 10; // ends with 2, 3, 4\n\n if (rem10 >= 2 && rem10 <= 4) {\n return scheme.twoFour;\n }\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n var group = declensionGroup(scheme, count);\n var finalText = typeof group === 'string' ? group : group[time];\n return finalText.replace('{{count}}', String(count));\n}\n\nvar formatDistance = function formatDistance(token, count, options) {\n var scheme = formatDistanceLocale[token];\n\n if (!(options !== null && options !== void 0 && options.addSuffix)) {\n return declension(scheme, count, 'regular');\n }\n\n if (options.comparison && options.comparison > 0) {\n return 'za ' + declension(scheme, count, 'future');\n } else {\n return declension(scheme, count, 'past') + ' temu';\n }\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n long: 'do MMMM y',\n medium: 'do MMM y',\n short: 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\nvar adjectivesLastWeek = {\n masculine: 'ostatni',\n feminine: 'ostatnia'\n};\nvar adjectivesThisWeek = {\n masculine: 'ten',\n feminine: 'ta'\n};\nvar adjectivesNextWeek = {\n masculine: 'następny',\n feminine: 'następna'\n};\nvar dayGrammaticalGender = {\n 0: 'feminine',\n 1: 'masculine',\n 2: 'masculine',\n 3: 'feminine',\n 4: 'masculine',\n 5: 'masculine',\n 6: 'feminine'\n};\n\nfunction dayAndTimeWithAdjective(token, date, baseDate, options) {\n var adjectives;\n\n if (isSameUTCWeek(date, baseDate, options)) {\n adjectives = adjectivesThisWeek;\n } else if (token === 'lastWeek') {\n adjectives = adjectivesLastWeek;\n } else if (token === 'nextWeek') {\n adjectives = adjectivesNextWeek;\n } else {\n throw new Error(\"Cannot determine adjectives for token \".concat(token));\n }\n\n var day = date.getUTCDay();\n var grammaticalGender = dayGrammaticalGender[day];\n var adjective = adjectives[grammaticalGender];\n return \"'\".concat(adjective, \"' eeee 'o' p\");\n}\n\nvar formatRelativeLocale = {\n lastWeek: dayAndTimeWithAdjective,\n yesterday: \"'wczoraj o' p\",\n today: \"'dzisiaj o' p\",\n tomorrow: \"'jutro o' p\",\n nextWeek: dayAndTimeWithAdjective,\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(token, date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['p.n.e.', 'n.e.'],\n abbreviated: ['p.n.e.', 'n.e.'],\n wide: ['przed naszą erą', 'naszej ery']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'],\n wide: ['I kwartał', 'II kwartał', 'III kwartał', 'IV kwartał']\n};\nvar monthValues = {\n narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień']\n};\nvar monthFormattingValues = {\n narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'],\n short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota']\n};\nvar dayFormattingValues = {\n narrow: ['n', 'p', 'w', 'ś', 'c', 'p', 's'],\n short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'półn.',\n noon: 'poł',\n morning: 'rano',\n afternoon: 'popoł.',\n evening: 'wiecz.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'południe',\n morning: 'rano',\n afternoon: 'popołudnie',\n evening: 'wieczór',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'południe',\n morning: 'rano',\n afternoon: 'popołudnie',\n evening: 'wieczór',\n night: 'noc'\n }\n};\nvar dayPeriodFormattingValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'o półn.',\n noon: 'w poł.',\n morning: 'rano',\n afternoon: 'po poł.',\n evening: 'wiecz.',\n night: 'w nocy'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w południe',\n morning: 'rano',\n afternoon: 'po południu',\n evening: 'wieczorem',\n night: 'w nocy'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w południe',\n morning: 'rano',\n afternoon: 'po południu',\n evening: 'wieczorem',\n night: 'w nocy'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: monthFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: dayFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: dayPeriodFormattingValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n abbreviated: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n wide: /^(przed\\s*nasz(ą|a)\\s*er(ą|a)|naszej\\s*ery)/i\n};\nvar parseEraPatterns = {\n any: [/^p/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^(I|II|III|IV)\\s*kw\\.?/i,\n wide: /^(I|II|III|IV)\\s*kwarta(ł|l)/i\n};\nvar parseQuarterPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i],\n any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[slmkcwpg]/i,\n abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,\n wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i],\n any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npwścs]/i,\n short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,\n abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\\.?/i,\n wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i],\n abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i],\n any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(^a$|^p$|pó(ł|l)n\\.?|o\\s*pó(ł|l)n\\.?|po(ł|l)\\.?|w\\s*po(ł|l)\\.?|po\\s*po(ł|l)\\.?|rano|wiecz\\.?|noc|w\\s*nocy)/i,\n any: /^(am|pm|pó(ł|l)noc|o\\s*pó(ł|l)nocy|po(ł|l)udnie|w\\s*po(ł|l)udnie|popo(ł|l)udnie|po\\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\\s*nocy)/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^a$/i,\n pm: /^p$/i,\n midnight: /pó(ł|l)n/i,\n noon: /po(ł|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(ł|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n },\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /pó(ł|l)n/i,\n noon: /po(ł|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(ł|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Polish locale.\n * @language Polish\n * @iso-639-2 pol\n * @author Mateusz Derks [@ertrzyiks]{@link https://github.com/ertrzyiks}\n * @author Just RAG [@justrag]{@link https://github.com/justrag}\n * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}\n * @author Mateusz Tokarski [@mutisz]{@link https://github.com/mutisz}\n */\n\nvar locale = {\n code: 'pl',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","declensionGroup","scheme","count","rem100","rem10","declension","time","group","finalText","formatDistance","token","options","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","adjectivesLastWeek","adjectivesThisWeek","adjectivesNextWeek","dayGrammaticalGender","dayAndTimeWithAdjective","date","baseDate","adjectives","isSameUTCWeek","day","grammaticalGender","adjective","formatRelativeLocale","formatRelative","format","eraValues","quarterValues","monthValues","monthFormattingValues","dayValues","dayFormattingValues","dayPeriodValues","dayPeriodFormattingValues","ordinalNumber","dirtyNumber","_options","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"8XAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,QAAS,oBACT,KAAM,oBACN,OAAQ,mBACT,EACD,QAAS,8BACT,MAAO,4BACR,EACD,SAAU,CACR,IAAK,CACH,QAAS,UACT,KAAM,UACN,OAAQ,SACT,EACD,QAAS,oBACT,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AAQ,MAAO,WAAY,MAAO,OAAQ,MAAM,EACrE,IAAK,CAAC,MAAO,OAAQ,MAAO,WAAY,MAAO,OAAQ,MAAM,CAC/D,EACIC,EAAyB,CAC3B,OAAQ,+GACR,IAAK,yIACP,EACIC,EAAyB,CAC3B,OAAQ,CACN,GAAI,OACJ,GAAI,OACJ,SAAU,YACV,KAAM,WACN,QAAS,QACT,UAAW,gBACX,QAAS,SACT,MAAO,MACR,EACD,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,YACV,KAAM,WACN,QAAS,QACT,UAAW,gBACX,QAAS,SACT,MAAO,MACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC3FIM,GAAS,CACX,KAAM,KACN,eAAgBtD,EAChB,WAAYM,EACZ,eAAgBe,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.ea0c2911.js b/assets/index.ea0c2911.js new file mode 100644 index 0000000000..47fa1f9761 --- /dev/null +++ b/assets/index.ea0c2911.js @@ -0,0 +1,2 @@ +import{d as u,e as r,f as d,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}},l=function(a,o,i){var e,m=s[a];return typeof m=="string"?e=m:o===1?e=m.one:e=m.other.replace("{{count}}",String(o)),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"în "+e:e+" în urmă":e},c={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},p={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v={date:u({formats:c,defaultWidth:"full"}),time:u({formats:p,defaultWidth:"full"}),dateTime:u({formats:h,defaultWidth:"full"})},f={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"},b=function(a,o,i,e){return f[a]},g={narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},y={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},P={narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},w={narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},M={narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},z={narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},W=function(a,o){return String(a)},D={ordinalNumber:W,era:r({values:g,defaultWidth:"wide"}),quarter:r({values:y,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:r({values:P,defaultWidth:"wide"}),day:r({values:w,defaultWidth:"wide"}),dayPeriod:r({values:M,defaultWidth:"wide",formattingValues:z,defaultFormattingWidth:"wide"})},C=/^(\d+)?/i,k=/\d+/i,j={narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},x={any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},F={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},H={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},E={narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},V={narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},X={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},N={narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},S={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},L={ordinalNumber:d({matchPattern:C,parsePattern:k,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),quarter:n({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:S,defaultParseWidth:"any"})},_={code:"ro",formatDistance:l,formatLong:v,formatRelative:b,localize:D,match:L,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{_ as default}; +//# sourceMappingURL=index.ea0c2911.js.map diff --git a/assets/index.ea0c2911.js.map b/assets/index.ea0c2911.js.map new file mode 100644 index 0000000000..3b7714d4ed --- /dev/null +++ b/assets/index.ea0c2911.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.ea0c2911.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ro/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'mai puțin de o secundă',\n other: 'mai puțin de {{count}} secunde'\n },\n xSeconds: {\n one: '1 secundă',\n other: '{{count}} secunde'\n },\n halfAMinute: 'jumătate de minut',\n lessThanXMinutes: {\n one: 'mai puțin de un minut',\n other: 'mai puțin de {{count}} minute'\n },\n xMinutes: {\n one: '1 minut',\n other: '{{count}} minute'\n },\n aboutXHours: {\n one: 'circa 1 oră',\n other: 'circa {{count}} ore'\n },\n xHours: {\n one: '1 oră',\n other: '{{count}} ore'\n },\n xDays: {\n one: '1 zi',\n other: '{{count}} zile'\n },\n aboutXWeeks: {\n one: 'circa o săptămână',\n other: 'circa {{count}} săptămâni'\n },\n xWeeks: {\n one: '1 săptămână',\n other: '{{count}} săptămâni'\n },\n aboutXMonths: {\n one: 'circa 1 lună',\n other: 'circa {{count}} luni'\n },\n xMonths: {\n one: '1 lună',\n other: '{{count}} luni'\n },\n aboutXYears: {\n one: 'circa 1 an',\n other: 'circa {{count}} ani'\n },\n xYears: {\n one: '1 an',\n other: '{{count}} ani'\n },\n overXYears: {\n one: 'peste 1 an',\n other: 'peste {{count}} ani'\n },\n almostXYears: {\n one: 'aproape 1 an',\n other: 'aproape {{count}} ani'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'în ' + result;\n } else {\n return result + ' în urmă';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'la' {{time}}\",\n long: \"{{date}} 'la' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'trecută la' p\",\n yesterday: \"'ieri la' p\",\n today: \"'astăzi la' p\",\n tomorrow: \"'mâine la' p\",\n nextWeek: \"eeee 'viitoare la' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['Î', 'D'],\n abbreviated: ['Î.d.C.', 'D.C.'],\n wide: ['Înainte de Cristos', 'După Cristos']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['T1', 'T2', 'T3', 'T4'],\n wide: ['primul trimestru', 'al doilea trimestru', 'al treilea trimestru', 'al patrulea trimestru']\n};\nvar monthValues = {\n narrow: ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['ian', 'feb', 'mar', 'apr', 'mai', 'iun', 'iul', 'aug', 'sep', 'oct', 'noi', 'dec'],\n wide: ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie']\n};\nvar dayValues = {\n narrow: ['d', 'l', 'm', 'm', 'j', 'v', 's'],\n short: ['du', 'lu', 'ma', 'mi', 'jo', 'vi', 'sâ'],\n abbreviated: ['dum', 'lun', 'mar', 'mie', 'joi', 'vin', 'sâm'],\n wide: ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'ami',\n morning: 'dim',\n afternoon: 'da',\n evening: 's',\n night: 'n'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'miezul nopții',\n noon: 'amiază',\n morning: 'dimineață',\n afternoon: 'după-amiază',\n evening: 'seară',\n night: 'noapte'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'miezul nopții',\n noon: 'amiază',\n morning: 'dimineață',\n afternoon: 'după-amiază',\n evening: 'seară',\n night: 'noapte'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mn',\n noon: 'amiază',\n morning: 'dimineață',\n afternoon: 'după-amiază',\n evening: 'seară',\n night: 'noapte'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'miezul nopții',\n noon: 'amiază',\n morning: 'dimineață',\n afternoon: 'după-amiază',\n evening: 'seară',\n night: 'noapte'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'miezul nopții',\n noon: 'amiază',\n morning: 'dimineață',\n afternoon: 'după-amiază',\n evening: 'seară',\n night: 'noapte'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(Î|D)/i,\n abbreviated: /^(Î\\.?\\s?d\\.?\\s?C\\.?|Î\\.?\\s?e\\.?\\s?n\\.?|D\\.?\\s?C\\.?|e\\.?\\s?n\\.?)/i,\n wide: /^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i\n};\nvar parseEraPatterns = {\n any: [/^ÎC/i, /^DC/i],\n wide: [/^(Înainte de Cristos|Înaintea erei noastre)/i, /^(După Cristos|Era noastră)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^trimestrul [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[ifmaasond]/i,\n abbreviated: /^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,\n wide: /^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^i/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ia/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^iun/i, /^iul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[dlmjvs]/i,\n short: /^(d|l|ma|mi|j|v|s)/i,\n abbreviated: /^(dum|lun|mar|mie|jo|vi|sâ)/i,\n wide: /^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i\n};\nvar parseDayPatterns = {\n narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],\n any: [/^d/i, /^l/i, /^ma/i, /^mi/i, /^j/i, /^v/i, /^s/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,\n any: /^([ap]\\.?\\s?m\\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mn/i,\n noon: /amiaza/i,\n morning: /dimineaţa/i,\n afternoon: /după-amiaza/i,\n evening: /seara/i,\n night: /noaptea/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Romanian locale.\n * @language Romanian\n * @iso-639-2 ron\n * @author Sergiu Munteanu [@jsergiu]{@link https://github.com/jsergiu}\n * @author Adrian Ocneanu [@aocneanu]{@link https://github.com/aocneanu}\n * @author Mihai Ocneanu [@gandesc]{@link https://github.com/gandesc}\n */\n\nvar locale = {\n code: 'ro',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,yBACL,MAAO,gCACR,EACD,SAAU,CACR,IAAK,YACL,MAAO,mBACR,EACD,YAAa,oBACb,iBAAkB,CAChB,IAAK,wBACL,MAAO,+BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,OACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,oBACL,MAAO,2BACR,EACD,OAAQ,CACN,IAAK,cACL,MAA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AAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,MAAO,MAAO,OAAQ,OAAQ,MAAO,MAAO,KAAK,CACzD,EACIC,EAAyB,CAC3B,OAAQ,qDACR,IAAK,+EACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,OACV,KAAM,UACN,QAAS,aACT,UAAW,eACX,QAAS,SACT,MAAO,UACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.eace165b.js b/assets/index.eace165b.js new file mode 100644 index 0000000000..57e477968d --- /dev/null +++ b/assets/index.eace165b.js @@ -0,0 +1,2 @@ +import{d,e as r,f as s,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 sedmicu",withPrepositionAgo:"oko 1 sedmicu",withPrepositionIn:"oko 1 sedmicu"},dual:"oko {{count}} sedmice",other:"oko {{count}} sedmice"},xWeeks:{one:{standalone:"1 sedmicu",withPrepositionAgo:"1 sedmicu",withPrepositionIn:"1 sedmicu"},dual:"{{count}} sedmice",other:"{{count}} sedmice"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},l=function(e,n,a){var o,t=m[e];return typeof t=="string"?o=t:n===1?a!=null&&a.addSuffix?a.comparison&&a.comparison>0?o=t.one.withPrepositionIn:o=t.one.withPrepositionAgo:o=t.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?o=t.dual.replace("{{count}}",String(n)):o=t.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"za "+o:"prije "+o:o},p={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},c={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:d({formats:p,defaultWidth:"full"}),time:d({formats:c,defaultWidth:"full"}),dateTime:d({formats:h,defaultWidth:"full"})},g={lastWeek:function(e){switch(e.getUTCDay()){case 0:return"'prošle nedjelje u' p";case 3:return"'prošle srijede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(e){switch(e.getUTCDay()){case 0:return"'sljedeće nedjelje u' p";case 3:return"'sljedeću srijedu u' p";case 6:return"'sljedeću subotu u' p";default:return"'sljedeći' EEEE 'u' p"}},other:"P"},f=function(e,n,a,o){var t=g[e];return typeof t=="function"?t(n):t},j={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Prije Hrista","Poslije Hrista"]},P={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},b={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},k={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},w={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},y={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},M={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},W=function(e,n){var a=Number(e);return String(a)+"."},A={ordinalNumber:W,era:r({values:j,defaultWidth:"wide"}),quarter:r({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:b,defaultWidth:"wide",formattingValues:k,defaultFormattingWidth:"wide"}),day:r({values:w,defaultWidth:"wide"}),dayPeriod:r({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},H=/^(\d+)\./i,I=/\d+/i,D={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i},E={any:[/^pr/i,/^(po|nova)/i]},x={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},S={any:[/1/i,/2/i,/3/i,/4/i]},F={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},V={narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},z={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},C={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},N={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},L={ordinalNumber:s({matchPattern:H,parsePattern:I,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:u({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),day:u({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},U={code:"bs",formatDistance:l,formatLong:v,formatRelative:f,localize:A,match:L,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{U as default}; +//# sourceMappingURL=index.eace165b.js.map diff --git a/assets/index.eace165b.js.map b/assets/index.eace165b.js.map new file mode 100644 index 0000000000..911107222d --- /dev/null +++ b/assets/index.eace165b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.eace165b.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/bs/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n standalone: 'manje od 1 sekunde',\n withPrepositionAgo: 'manje od 1 sekunde',\n withPrepositionIn: 'manje od 1 sekundu'\n },\n dual: 'manje od {{count}} sekunde',\n other: 'manje od {{count}} sekundi'\n },\n xSeconds: {\n one: {\n standalone: '1 sekunda',\n withPrepositionAgo: '1 sekunde',\n withPrepositionIn: '1 sekundu'\n },\n dual: '{{count}} sekunde',\n other: '{{count}} sekundi'\n },\n halfAMinute: 'pola minute',\n lessThanXMinutes: {\n one: {\n standalone: 'manje od 1 minute',\n withPrepositionAgo: 'manje od 1 minute',\n withPrepositionIn: 'manje od 1 minutu'\n },\n dual: 'manje od {{count}} minute',\n other: 'manje od {{count}} minuta'\n },\n xMinutes: {\n one: {\n standalone: '1 minuta',\n withPrepositionAgo: '1 minute',\n withPrepositionIn: '1 minutu'\n },\n dual: '{{count}} minute',\n other: '{{count}} minuta'\n },\n aboutXHours: {\n one: {\n standalone: 'oko 1 sat',\n withPrepositionAgo: 'oko 1 sat',\n withPrepositionIn: 'oko 1 sat'\n },\n dual: 'oko {{count}} sata',\n other: 'oko {{count}} sati'\n },\n xHours: {\n one: {\n standalone: '1 sat',\n withPrepositionAgo: '1 sat',\n withPrepositionIn: '1 sat'\n },\n dual: '{{count}} sata',\n other: '{{count}} sati'\n },\n xDays: {\n one: {\n standalone: '1 dan',\n withPrepositionAgo: '1 dan',\n withPrepositionIn: '1 dan'\n },\n dual: '{{count}} dana',\n other: '{{count}} dana'\n },\n aboutXWeeks: {\n one: {\n standalone: 'oko 1 sedmicu',\n withPrepositionAgo: 'oko 1 sedmicu',\n withPrepositionIn: 'oko 1 sedmicu'\n },\n dual: 'oko {{count}} sedmice',\n other: 'oko {{count}} sedmice'\n },\n xWeeks: {\n one: {\n standalone: '1 sedmicu',\n withPrepositionAgo: '1 sedmicu',\n withPrepositionIn: '1 sedmicu'\n },\n dual: '{{count}} sedmice',\n other: '{{count}} sedmice'\n },\n aboutXMonths: {\n one: {\n standalone: 'oko 1 mjesec',\n withPrepositionAgo: 'oko 1 mjesec',\n withPrepositionIn: 'oko 1 mjesec'\n },\n dual: 'oko {{count}} mjeseca',\n other: 'oko {{count}} mjeseci'\n },\n xMonths: {\n one: {\n standalone: '1 mjesec',\n withPrepositionAgo: '1 mjesec',\n withPrepositionIn: '1 mjesec'\n },\n dual: '{{count}} mjeseca',\n other: '{{count}} mjeseci'\n },\n aboutXYears: {\n one: {\n standalone: 'oko 1 godinu',\n withPrepositionAgo: 'oko 1 godinu',\n withPrepositionIn: 'oko 1 godinu'\n },\n dual: 'oko {{count}} godine',\n other: 'oko {{count}} godina'\n },\n xYears: {\n one: {\n standalone: '1 godina',\n withPrepositionAgo: '1 godine',\n withPrepositionIn: '1 godinu'\n },\n dual: '{{count}} godine',\n other: '{{count}} godina'\n },\n overXYears: {\n one: {\n standalone: 'preko 1 godinu',\n withPrepositionAgo: 'preko 1 godinu',\n withPrepositionIn: 'preko 1 godinu'\n },\n dual: 'preko {{count}} godine',\n other: 'preko {{count}} godina'\n },\n almostXYears: {\n one: {\n standalone: 'gotovo 1 godinu',\n withPrepositionAgo: 'gotovo 1 godinu',\n withPrepositionIn: 'gotovo 1 godinu'\n },\n dual: 'gotovo {{count}} godine',\n other: 'gotovo {{count}} godina'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n result = tokenValue.one.withPrepositionIn;\n } else {\n result = tokenValue.one.withPrepositionAgo;\n }\n } else {\n result = tokenValue.one.standalone;\n }\n } else if (count % 10 > 1 && count % 10 < 5 && // if last digit is between 2 and 4\n String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is \"1\"\n ) {\n result = tokenValue.dual.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'za ' + result;\n } else {\n return 'prije ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy.',\n long: 'd. MMMM yyyy.',\n medium: 'd. MMM yy.',\n short: 'dd. MM. yy.'\n};\nvar timeFormats = {\n full: 'HH:mm:ss (zzzz)',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'u' {{time}}\",\n long: \"{{date}} 'u' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'prošle nedjelje u' p\";\n\n case 3:\n return \"'prošle srijede u' p\";\n\n case 6:\n return \"'prošle subote u' p\";\n\n default:\n return \"'prošli' EEEE 'u' p\";\n }\n },\n yesterday: \"'juče u' p\",\n today: \"'danas u' p\",\n tomorrow: \"'sutra u' p\",\n nextWeek: function nextWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'sljedeće nedjelje u' p\";\n\n case 3:\n return \"'sljedeću srijedu u' p\";\n\n case 6:\n return \"'sljedeću subotu u' p\";\n\n default:\n return \"'sljedeći' EEEE 'u' p\";\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['pr.n.e.', 'AD'],\n abbreviated: ['pr. Hr.', 'po. Hr.'],\n wide: ['Prije Hrista', 'Poslije Hrista']\n};\nvar quarterValues = {\n narrow: ['1.', '2.', '3.', '4.'],\n abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar']\n};\nvar formattingMonthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'],\n short: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'],\n abbreviated: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'],\n wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'poslije podne',\n evening: 'uveče',\n night: 'noću'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'popodne',\n evening: 'uveče',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutru',\n afternoon: 'poslije podne',\n evening: 'uveče',\n night: 'noću'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return String(number) + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pr\\.n\\.e\\.|AD)/i,\n abbreviated: /^(pr\\.\\s?Hr\\.|po\\.\\s?Hr\\.)/i,\n wide: /^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|nova)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\.\\s?kv\\.?/i,\n wide: /^[1234]\\. kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(10|11|12|[123456789])\\./i,\n abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,\n wide: /^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^1/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^7/i, /^8/i, /^9/i, /^10/i, /^11/i, /^12/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^avg/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusčc]/i,\n short: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,\n abbreviated: /^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,\n wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^pono/i,\n noon: /^pod/i,\n morning: /jutro/i,\n afternoon: /(poslije\\s|po)+podne/i,\n evening: /(uvece|uveče)/i,\n night: /(nocu|noću)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Bosnian locale.\n * @language Bosnian\n * @iso-639-2 bos\n * @author Branislav Lazić [@branislavlazic]{@link https://github.com/branislavlazic}\n */\n\nvar locale = {\n code: 'bs',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,WAAY,qBACZ,mBAAoB,qBACpB,kBAAmB,oBACpB,EACD,KAAM,6BACN,MAAO,4BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,oBACN,MAAO,mBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,CACH,WAAY,oBACZ,mBAAoB,oBACpB,kBAAmB,mBACpB,EACD,KAAM,4BACN,MAAO,2BACR,EACD,SAAU,CACR,IAAK,CACH,WAAY,WACZ,mBAAoB,WACpB,kBAAmB,UACpB,EACD,KAAM,mBACN,MAAO,kBACR,EACD,YAAa,CACX,IAAK,CACH,WAAY,YACZ,mBAAoB,YACpB,kBAAmB,WACpB,EACD,KAAM,qBACN,MAAO,oBACR,EACD,O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,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.f02d858e.js b/assets/index.f02d858e.js new file mode 100644 index 0000000000..3155476bc4 --- /dev/null +++ b/assets/index.f02d858e.js @@ -0,0 +1,2 @@ +import{d as s,e as i,f as m,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"ավելի քիչ քան 1 վայրկյան",other:"ավելի քիչ քան {{count}} վայրկյան"},xSeconds:{one:"1 վայրկյան",other:"{{count}} վայրկյան"},halfAMinute:"կես րոպե",lessThanXMinutes:{one:"ավելի քիչ քան 1 րոպե",other:"ավելի քիչ քան {{count}} րոպե"},xMinutes:{one:"1 րոպե",other:"{{count}} րոպե"},aboutXHours:{one:"մոտ 1 ժամ",other:"մոտ {{count}} ժամ"},xHours:{one:"1 ժամ",other:"{{count}} ժամ"},xDays:{one:"1 օր",other:"{{count}} օր"},aboutXWeeks:{one:"մոտ 1 շաբաթ",other:"մոտ {{count}} շաբաթ"},xWeeks:{one:"1 շաբաթ",other:"{{count}} շաբաթ"},aboutXMonths:{one:"մոտ 1 ամիս",other:"մոտ {{count}} ամիս"},xMonths:{one:"1 ամիս",other:"{{count}} ամիս"},aboutXYears:{one:"մոտ 1 տարի",other:"մոտ {{count}} տարի"},xYears:{one:"1 տարի",other:"{{count}} տարի"},overXYears:{one:"ավելի քան 1 տարի",other:"ավելի քան {{count}} տարի"},almostXYears:{one:"համարյա 1 տարի",other:"համարյա {{count}} տարի"}},l=function(a,o,e){var t,d=u[a];return typeof d=="string"?t=d:o===1?t=d.one:t=d.other.replace("{{count}}",String(o)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?t+" հետո":t+" առաջ":t},h={full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},f={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:s({formats:h,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:v,defaultWidth:"full"})},b={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"},g=function(a,o,e,t){return b[a]},p={narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},P={narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},w={narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},y={narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},M={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշեր",noon:"կեսօր",morning:"առավոտ",afternoon:"ցերեկ",evening:"երեկո",night:"գիշեր"}},W={narrow:{am:"a",pm:"p",midnight:"կեսգշ",noon:"կեսօր",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},abbreviated:{am:"AM",pm:"PM",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"},wide:{am:"a.m.",pm:"p.m.",midnight:"կեսգիշերին",noon:"կեսօրին",morning:"առավոտը",afternoon:"ցերեկը",evening:"երեկոյան",night:"գիշերը"}},k=function(a,o){var e=Number(a),t=e%100;return t<10&&t%10===1?e+"֊ին":e+"֊րդ"},D={ordinalNumber:k,era:i({values:p,defaultWidth:"wide"}),quarter:i({values:P,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:i({values:w,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)((-|֊)?(ին|րդ))?/i,H=/\d+/i,F={narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},z={any:[/^ք/i,/^մ/i]},V={narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},X={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},N={narrow:[/^հ/i,/^փ/i,/^մ/i,/^ա/i,/^մ/i,/^հ/i,/^հ/i,/^օ/i,/^ս/i,/^հ/i,/^ն/i,/^դ/i],any:[/^հու/i,/^փ/i,/^մար/i,/^ա/i,/^մայ/i,/^հուն/i,/^հուլ/i,/^օ/i,/^ս/i,/^հոկ/i,/^ն/i,/^դ/i]},E={narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},L={narrow:[/^կ/i,/^ե/i,/^ե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],short:[/^կ/i,/^եր/i,/^եք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],abbreviated:[/^կ/i,/^երկ/i,/^երք/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i],wide:[/^կ/i,/^երկ/i,/^երե/i,/^չ/i,/^հ/i,/^(ո|Ո)/,/^շ/i]},S={narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},T={ordinalNumber:m({matchPattern:x,parsePattern:H,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),quarter:n({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:n({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"wide"}),dayPeriod:n({matchPatterns:S,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},Q={code:"hy",formatDistance:l,formatLong:c,formatRelative:g,localize:D,match:T,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Q as default}; +//# sourceMappingURL=index.f02d858e.js.map diff --git a/assets/index.f02d858e.js.map b/assets/index.f02d858e.js.map new file mode 100644 index 0000000000..8f7558d603 --- /dev/null +++ b/assets/index.f02d858e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f02d858e.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hy/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'ավելի քիչ քան 1 վայրկյան',\n other: 'ավելի քիչ քան {{count}} վայրկյան'\n },\n xSeconds: {\n one: '1 վայրկյան',\n other: '{{count}} վայրկյան'\n },\n halfAMinute: 'կես րոպե',\n lessThanXMinutes: {\n one: 'ավելի քիչ քան 1 րոպե',\n other: 'ավելի քիչ քան {{count}} րոպե'\n },\n xMinutes: {\n one: '1 րոպե',\n other: '{{count}} րոպե'\n },\n aboutXHours: {\n one: 'մոտ 1 ժամ',\n other: 'մոտ {{count}} ժամ'\n },\n xHours: {\n one: '1 ժամ',\n other: '{{count}} ժամ'\n },\n xDays: {\n one: '1 օր',\n other: '{{count}} օր'\n },\n aboutXWeeks: {\n one: 'մոտ 1 շաբաթ',\n other: 'մոտ {{count}} շաբաթ'\n },\n xWeeks: {\n one: '1 շաբաթ',\n other: '{{count}} շաբաթ'\n },\n aboutXMonths: {\n one: 'մոտ 1 ամիս',\n other: 'մոտ {{count}} ամիս'\n },\n xMonths: {\n one: '1 ամիս',\n other: '{{count}} ամիս'\n },\n aboutXYears: {\n one: 'մոտ 1 տարի',\n other: 'մոտ {{count}} տարի'\n },\n xYears: {\n one: '1 տարի',\n other: '{{count}} տարի'\n },\n overXYears: {\n one: 'ավելի քան 1 տարի',\n other: 'ավելի քան {{count}} տարի'\n },\n almostXYears: {\n one: 'համարյա 1 տարի',\n other: 'համարյա {{count}} տարի'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' հետո';\n } else {\n return result + ' առաջ';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'd MMMM, y, EEEE',\n long: 'd MMMM, y',\n medium: 'd MMM, y',\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'ժ․'{{time}}\",\n long: \"{{date}} 'ժ․'{{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'նախորդ' eeee p'֊ին'\",\n yesterday: \"'երեկ' p'֊ին'\",\n today: \"'այսօր' p'֊ին'\",\n tomorrow: \"'վաղը' p'֊ին'\",\n nextWeek: \"'հաջորդ' eeee p'֊ին'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['Ք', 'Մ'],\n abbreviated: ['ՔԱ', 'ՄԹ'],\n wide: ['Քրիստոսից առաջ', 'Մեր թվարկության']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Ք1', 'Ք2', 'Ք3', 'Ք4'],\n wide: ['1֊ին քառորդ', '2֊րդ քառորդ', '3֊րդ քառորդ', '4֊րդ քառորդ']\n};\nvar monthValues = {\n narrow: ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'],\n abbreviated: ['հուն', 'փետ', 'մար', 'ապր', 'մայ', 'հուն', 'հուլ', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'],\n wide: ['հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր']\n};\nvar dayValues = {\n narrow: ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'],\n short: ['կր', 'եր', 'եք', 'չք', 'հգ', 'ուր', 'շբ'],\n abbreviated: ['կիր', 'երկ', 'երք', 'չոր', 'հնգ', 'ուրբ', 'շաբ'],\n wide: ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'կեսգշ',\n noon: 'կեսօր',\n morning: 'առավոտ',\n afternoon: 'ցերեկ',\n evening: 'երեկո',\n night: 'գիշեր'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'կեսգիշեր',\n noon: 'կեսօր',\n morning: 'առավոտ',\n afternoon: 'ցերեկ',\n evening: 'երեկո',\n night: 'գիշեր'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'կեսգիշեր',\n noon: 'կեսօր',\n morning: 'առավոտ',\n afternoon: 'ցերեկ',\n evening: 'երեկո',\n night: 'գիշեր'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'կեսգշ',\n noon: 'կեսօր',\n morning: 'առավոտը',\n afternoon: 'ցերեկը',\n evening: 'երեկոյան',\n night: 'գիշերը'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'կեսգիշերին',\n noon: 'կեսօրին',\n morning: 'առավոտը',\n afternoon: 'ցերեկը',\n evening: 'երեկոյան',\n night: 'գիշերը'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'կեսգիշերին',\n noon: 'կեսօրին',\n morning: 'առավոտը',\n afternoon: 'ցերեկը',\n evening: 'երեկոյան',\n night: 'գիշերը'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n var rem100 = number % 100;\n\n if (rem100 < 10) {\n if (rem100 % 10 === 1) {\n return number + '֊ին';\n }\n }\n\n return number + '֊րդ';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)((-|֊)?(ին|րդ))?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(Ք|Մ)/i,\n abbreviated: /^(Ք\\.?\\s?Ա\\.?|Մ\\.?\\s?Թ\\.?\\s?Ա\\.?|Մ\\.?\\s?Թ\\.?|Ք\\.?\\s?Հ\\.?)/i,\n wide: /^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i\n};\nvar parseEraPatterns = {\n any: [/^ք/i, /^մ/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^ք[1234]/i,\n wide: /^[1234]((-|֊)?(ին|րդ)) քառորդ/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[հփմաօսնդ]/i,\n abbreviated: /^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,\n wide: /^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^հ/i, /^փ/i, /^մ/i, /^ա/i, /^մ/i, /^հ/i, /^հ/i, /^օ/i, /^ս/i, /^հ/i, /^ն/i, /^դ/i],\n any: [/^հու/i, /^փ/i, /^մար/i, /^ա/i, /^մայ/i, /^հուն/i, /^հուլ/i, /^օ/i, /^ս/i, /^հոկ/i, /^ն/i, /^դ/i]\n};\nvar matchDayPatterns = {\n narrow: /^[եչհոշկ]/i,\n short: /^(կր|եր|եք|չք|հգ|ուր|շբ)/i,\n abbreviated: /^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,\n wide: /^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i\n};\nvar parseDayPatterns = {\n narrow: [/^կ/i, /^ե/i, /^ե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i],\n short: [/^կ/i, /^եր/i, /^եք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i],\n abbreviated: [/^կ/i, /^երկ/i, /^երք/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i],\n wide: [/^կ/i, /^երկ/i, /^երե/i, /^չ/i, /^հ/i, /^(ո|Ո)/, /^շ/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,\n any: /^([ap]\\.?\\s?m\\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /կեսգիշեր/i,\n noon: /կեսօր/i,\n morning: /առավոտ/i,\n afternoon: /ցերեկ/i,\n evening: /երեկո/i,\n night: /գիշեր/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'wide'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Armenian locale\n * @language Armenian\n * @iso-639-2 arm\n * @author Alex Igityan [@alexigityan]{@link https://github.com/alexigityan}\n */\n\nvar locale = {\n code: 'hy',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","rem100","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,2BACL,MAAO,kCACR,EACD,SAAU,CACR,IAAK,aACL,MAAO,oBACR,EACD,YAAa,WACb,iBAAkB,CAChB,IAAK,uBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,YACL,MAAO,mBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,cACL,MAAO,qBACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,aACL,MAAO,oBACR,EACD,QAAS,CACP,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,aACL,MAAO,oBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,WAAY,CACV,IAAK,mBACL,MAAO,0BACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC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AO,SAAU,KAAK,CAC/D,EACIC,EAAyB,CAC3B,OAAQ,8DACR,IAAK,oFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,YACV,KAAM,SACN,QAAS,UACT,UAAW,SACX,QAAS,SACT,MAAO,QACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECpFIM,EAAS,CACX,KAAM,KACN,eAAgB9C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.f1359114.js b/assets/index.f1359114.js new file mode 100644 index 0000000000..5a9507f3e7 --- /dev/null +++ b/assets/index.f1359114.js @@ -0,0 +1,2 @@ +import{d,e as r,f as h,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var s={lessThanXSeconds:{one:"sekunddan kam",other:"{{count}} sekunddan kam"},xSeconds:{one:"1 sekund",other:"{{count}} sekund"},halfAMinute:"yarim minut",lessThanXMinutes:{one:"bir minutdan kam",other:"{{count}} minutdan kam"},xMinutes:{one:"1 minut",other:"{{count}} minut"},aboutXHours:{one:"tahminan 1 soat",other:"tahminan {{count}} soat"},xHours:{one:"1 soat",other:"{{count}} soat"},xDays:{one:"1 kun",other:"{{count}} kun"},aboutXWeeks:{one:"tahminan 1 hafta",other:"tahminan {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"tahminan 1 oy",other:"tahminan {{count}} oy"},xMonths:{one:"1 oy",other:"{{count}} oy"},aboutXYears:{one:"tahminan 1 yil",other:"tahminan {{count}} yil"},xYears:{one:"1 yil",other:"{{count}} yil"},overXYears:{one:"1 yildan ko'p",other:"{{count}} yildan ko'p"},almostXYears:{one:"deyarli 1 yil",other:"deyarli {{count}} yil"}},m=function(a,o,t){var e,u=s[a];return typeof u=="string"?e=u:o===1?e=u.one:e=u.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e+" dan keyin":e+" oldin":e},l={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},y={full:"h:mm:ss zzzz",long:"h:mm:ss z",medium:"h:mm:ss",short:"h:mm"},c={any:"{{date}}, {{time}}"},v={date:d({formats:l,defaultWidth:"full"}),time:d({formats:y,defaultWidth:"full"}),dateTime:d({formats:c,defaultWidth:"any"})},b={lastWeek:"'oldingi' eeee p 'da'",yesterday:"'kecha' p 'da'",today:"'bugun' p 'da'",tomorrow:"'ertaga' p 'da'",nextWeek:"eeee p 'da'",other:"P"},f=function(a,o,t,e){return b[a]},k={narrow:["M.A","M."],abbreviated:["M.A","M."],wide:["Miloddan Avvalgi","Milodiy"]},p={narrow:["1","2","3","4"],abbreviated:["CH.1","CH.2","CH.3","CH.4"],wide:["1-chi chorak","2-chi chorak","3-chi chorak","4-chi chorak"]},g={narrow:["Y","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","Iyun","Iyul","Avg","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"]},M={narrow:["Y","D","S","CH","P","J","SH"],short:["Ya","Du","Se","Cho","Pa","Ju","Sha"],abbreviated:["Yak","Dush","Sesh","Chor","Pay","Jum","Shan"],wide:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"]},P={narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},w={narrow:{am:"a",pm:"p",midnight:"y.t",noon:"p.",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},abbreviated:{am:"AM",pm:"PM",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"},wide:{am:"a.m.",pm:"p.m.",midnight:"yarim tun",noon:"peshin",morning:"ertalab",afternoon:"tushdan keyin",evening:"kechqurun",night:"tun"}},W=function(a,o){return String(a)},D={ordinalNumber:W,era:r({values:k,defaultWidth:"wide"}),quarter:r({values:p,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:r({values:g,defaultWidth:"wide"}),day:r({values:M,defaultWidth:"wide"}),dayPeriod:r({values:P,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},S=/^(\d+)(chi)?/i,C=/\d+/i,q={narrow:/^(m\.a|m\.)/i,abbreviated:/^(m\.a\.?\s?m\.?)/i,wide:/^(miloddan avval|miloddan keyin)/i},A={any:[/^b/i,/^(a|c)/i]},F={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](chi)? chorak/i},Y={any:[/1/i,/2/i,/3/i,/4/i]},x={narrow:/^[yfmasond]/i,abbreviated:/^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i,wide:/^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i},z={narrow:[/^y/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ya/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^iyun/i,/^iyul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[ydschj]/i,short:/^(ya|du|se|cho|pa|ju|sha)/i,abbreviated:/^(yak|dush|sesh|chor|pay|jum|shan)/i,wide:/^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i},H={narrow:[/^y/i,/^d/i,/^s/i,/^ch/i,/^p/i,/^j/i,/^sh/i],any:[/^ya/i,/^d/i,/^se/i,/^ch/i,/^p/i,/^j/i,/^sh/i]},V={narrow:/^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i,any:/^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i},X={any:{am:/^a/i,pm:/^p/i,midnight:/^y\.t/i,noon:/^pe/i,morning:/ertalab/i,afternoon:/tushdan keyin/i,evening:/kechqurun/i,night:/tun/i}},I={ordinalNumber:h({matchPattern:S,parsePattern:C,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),quarter:i({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"}),day:i({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},R={code:"uz",formatDistance:m,formatLong:v,formatRelative:f,localize:D,match:I,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{R as default}; +//# sourceMappingURL=index.f1359114.js.map diff --git a/assets/index.f1359114.js.map b/assets/index.f1359114.js.map new file mode 100644 index 0000000000..1ceb30f717 --- /dev/null +++ b/assets/index.f1359114.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f1359114.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/uz/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'sekunddan kam',\n other: '{{count}} sekunddan kam'\n },\n xSeconds: {\n one: '1 sekund',\n other: '{{count}} sekund'\n },\n halfAMinute: 'yarim minut',\n lessThanXMinutes: {\n one: 'bir minutdan kam',\n other: '{{count}} minutdan kam'\n },\n xMinutes: {\n one: '1 minut',\n other: '{{count}} minut'\n },\n aboutXHours: {\n one: 'tahminan 1 soat',\n other: 'tahminan {{count}} soat'\n },\n xHours: {\n one: '1 soat',\n other: '{{count}} soat'\n },\n xDays: {\n one: '1 kun',\n other: '{{count}} kun'\n },\n aboutXWeeks: {\n one: 'tahminan 1 hafta',\n other: 'tahminan {{count}} hafta'\n },\n xWeeks: {\n one: '1 hafta',\n other: '{{count}} hafta'\n },\n aboutXMonths: {\n one: 'tahminan 1 oy',\n other: 'tahminan {{count}} oy'\n },\n xMonths: {\n one: '1 oy',\n other: '{{count}} oy'\n },\n aboutXYears: {\n one: 'tahminan 1 yil',\n other: 'tahminan {{count}} yil'\n },\n xYears: {\n one: '1 yil',\n other: '{{count}} yil'\n },\n overXYears: {\n one: \"1 yildan ko'p\",\n other: \"{{count}} yildan ko'p\"\n },\n almostXYears: {\n one: 'deyarli 1 yil',\n other: 'deyarli {{count}} yil'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' dan keyin';\n } else {\n return result + ' oldin';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, do MMMM, y',\n long: 'do MMMM, y',\n medium: 'd MMM, y',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss zzzz',\n long: 'h:mm:ss z',\n medium: 'h:mm:ss',\n short: 'h:mm'\n};\nvar dateTimeFormats = {\n any: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'any'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'oldingi' eeee p 'da'\",\n yesterday: \"'kecha' p 'da'\",\n today: \"'bugun' p 'da'\",\n tomorrow: \"'ertaga' p 'da'\",\n nextWeek: \"eeee p 'da'\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['M.A', 'M.'],\n abbreviated: ['M.A', 'M.'],\n wide: ['Miloddan Avvalgi', 'Milodiy']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['CH.1', 'CH.2', 'CH.3', 'CH.4'],\n wide: ['1-chi chorak', '2-chi chorak', '3-chi chorak', '4-chi chorak']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyun', 'Iyul', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'],\n wide: ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', 'Noyabr', 'Dekabr']\n};\nvar dayValues = {\n narrow: ['Y', 'D', 'S', 'CH', 'P', 'J', 'SH'],\n short: ['Ya', 'Du', 'Se', 'Cho', 'Pa', 'Ju', 'Sha'],\n abbreviated: ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'],\n wide: ['Yakshanba', 'Dushanba', 'Seshanba', 'Chorshanba', 'Payshanba', 'Juma', 'Shanba']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'y.t',\n noon: 'p.',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'yarim tun',\n noon: 'peshin',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'yarim tun',\n noon: 'peshin',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'y.t',\n noon: 'p.',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'yarim tun',\n noon: 'peshin',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'yarim tun',\n noon: 'peshin',\n morning: 'ertalab',\n afternoon: 'tushdan keyin',\n evening: 'kechqurun',\n night: 'tun'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(chi)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(m\\.a|m\\.)/i,\n abbreviated: /^(m\\.a\\.?\\s?m\\.?)/i,\n wide: /^(miloddan avval|miloddan keyin)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](chi)? chorak/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[yfmasond]/i,\n abbreviated: /^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i,\n wide: /^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^y/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ya/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^iyun/i, /^iyul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[ydschj]/i,\n short: /^(ya|du|se|cho|pa|ju|sha)/i,\n abbreviated: /^(yak|dush|sesh|chor|pay|jum|shan)/i,\n wide: /^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i\n};\nvar parseDayPatterns = {\n narrow: [/^y/i, /^d/i, /^s/i, /^ch/i, /^p/i, /^j/i, /^sh/i],\n any: [/^ya/i, /^d/i, /^se/i, /^ch/i, /^p/i, /^j/i, /^sh/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|y\\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i,\n any: /^([ap]\\.?\\s?m\\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^y\\.t/i,\n noon: /^pe/i,\n morning: /ertalab/i,\n afternoon: /tushdan keyin/i,\n evening: /kechqurun/i,\n night: /tun/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Uzbek locale.\n * @language Uzbek\n * @iso-639-2 uzb\n * @author Mukhammadali [@mukhammadali]{@link https://github.com/Mukhammadali}\n */\n\nvar locale = {\n code: 'uz',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"iVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,gBACL,MAAO,yBACR,EACD,SAAU,CACR,IAAK,WACL,MAAO,kBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,mBACL,MAAO,wBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,QACL,MAAO,eACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,uBACR,EACD,QAAS,CACP,IAAK,OACL,MAAO,cACR,EACD,YAAa,CACX,IAAK,iBACL,MAAO,wBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,WAAY,CACV,IAAK,gBACL,MAAO,uBACR,EACD,aAAc,CACZ,IAAK,gBACL,MAAO,uBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OA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OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.f1fb4291.js b/assets/index.f1fb4291.js new file mode 100644 index 0000000000..1bf6649f85 --- /dev/null +++ b/assets/index.f1fb4291.js @@ -0,0 +1,2 @@ +import{d as u,e as r,f as s,g as n}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var h={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},d=function(a,m,t){var e,o=h[a];return typeof o=="string"?e=o:m===1?e=o.one:e=o.other.replace("{{count}}",String(m)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam masa "+e:e+" yang lalu":e},l={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},g={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},p={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},b={date:u({formats:l,defaultWidth:"full"}),time:u({formats:g,defaultWidth:"full"}),dateTime:u({formats:p,defaultWidth:"full"})},f={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"},c=function(a,m,t,e){return f[a]},v={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},k={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},y={narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},M={narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},P={narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},w={narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},S=function(a,m){return"ke-"+Number(a)},j={ordinalNumber:S,era:r({values:v,defaultWidth:"wide"}),quarter:r({values:k,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:r({values:y,defaultWidth:"wide"}),day:r({values:M,defaultWidth:"wide"}),dayPeriod:r({values:P,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},W=/^ke-(\d+)?/i,D=/petama|\d+/i,J={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},F={any:[/^s/i,/^(m)/i]},H={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},x={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},A={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},N={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},O={narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},R={narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},V={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},X={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},C={ordinalNumber:s({matchPattern:W,parsePattern:D,valueCallback:function(a){return parseInt(a,10)}}),era:n({matchPatterns:J,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:n({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:n({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),day:n({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),dayPeriod:n({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:X,defaultParseWidth:"any"})},Y={code:"ms",formatDistance:d,formatLong:b,formatRelative:c,localize:j,match:C,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{Y as default}; +//# sourceMappingURL=index.f1fb4291.js.map diff --git a/assets/index.f1fb4291.js.map b/assets/index.f1fb4291.js.map new file mode 100644 index 0000000000..2c86b609fa --- /dev/null +++ b/assets/index.f1fb4291.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f1fb4291.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/ms/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'kurang dari 1 saat',\n other: 'kurang dari {{count}} saat'\n },\n xSeconds: {\n one: '1 saat',\n other: '{{count}} saat'\n },\n halfAMinute: 'setengah minit',\n lessThanXMinutes: {\n one: 'kurang dari 1 minit',\n other: 'kurang dari {{count}} minit'\n },\n xMinutes: {\n one: '1 minit',\n other: '{{count}} minit'\n },\n aboutXHours: {\n one: 'sekitar 1 jam',\n other: 'sekitar {{count}} jam'\n },\n xHours: {\n one: '1 jam',\n other: '{{count}} jam'\n },\n xDays: {\n one: '1 hari',\n other: '{{count}} hari'\n },\n aboutXWeeks: {\n one: 'sekitar 1 minggu',\n other: 'sekitar {{count}} minggu'\n },\n xWeeks: {\n one: '1 minggu',\n other: '{{count}} minggu'\n },\n aboutXMonths: {\n one: 'sekitar 1 bulan',\n other: 'sekitar {{count}} bulan'\n },\n xMonths: {\n one: '1 bulan',\n other: '{{count}} bulan'\n },\n aboutXYears: {\n one: 'sekitar 1 tahun',\n other: 'sekitar {{count}} tahun'\n },\n xYears: {\n one: '1 tahun',\n other: '{{count}} tahun'\n },\n overXYears: {\n one: 'lebih dari 1 tahun',\n other: 'lebih dari {{count}} tahun'\n },\n almostXYears: {\n one: 'hampir 1 tahun',\n other: 'hampir {{count}} tahun'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'dalam masa ' + result;\n } else {\n return result + ' yang lalu';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'd/M/yyyy'\n};\nvar timeFormats = {\n full: 'HH.mm.ss',\n long: 'HH.mm.ss',\n medium: 'HH.mm',\n short: 'HH.mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'pukul' {{time}}\",\n long: \"{{date}} 'pukul' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'lepas pada jam' p\",\n yesterday: \"'Semalam pada jam' p\",\n today: \"'Hari ini pada jam' p\",\n tomorrow: \"'Esok pada jam' p\",\n nextWeek: \"eeee 'pada jam' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // Most data for localization are taken from this page\n// https://www.unicode.org/cldr/charts/32/summary/ms.html\n\nvar eraValues = {\n narrow: ['SM', 'M'],\n abbreviated: ['SM', 'M'],\n wide: ['Sebelum Masihi', 'Masihi']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['S1', 'S2', 'S3', 'S4'],\n wide: ['Suku pertama', 'Suku kedua', 'Suku ketiga', 'Suku keempat']\n}; // Note: in Malay, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'],\n wide: ['Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember']\n};\nvar dayValues = {\n narrow: ['A', 'I', 'S', 'R', 'K', 'J', 'S'],\n short: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'],\n abbreviated: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'],\n wide: ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'tgh malam',\n noon: 'tgh hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'tengah malam',\n noon: 'tengah hari',\n morning: 'pagi',\n afternoon: 'tengah hari',\n evening: 'petang',\n night: 'malam'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n // Can't use \"pertama\", \"kedua\" because can't be parsed\n return 'ke-' + Number(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^ke-(\\d+)?/i;\nvar parseOrdinalNumberPattern = /petama|\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(sm|m)/i,\n abbreviated: /^(s\\.?\\s?m\\.?|m\\.?)/i,\n wide: /^(sebelum masihi|masihi)/i\n};\nvar parseEraPatterns = {\n any: [/^s/i, /^(m)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^S[1234]/i,\n wide: /Suku (pertama|kedua|ketiga|keempat)/i\n};\nvar parseQuarterPatterns = {\n any: [/pertama|1/i, /kedua|2/i, /ketiga|3/i, /keempat|4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,\n wide: /^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^o/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^ma/i, /^ap/i, /^me/i, /^jun/i, /^jul/i, /^og/i, /^s/i, /^ok/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[aisrkj]/i,\n short: /^(ahd|isn|sel|rab|kha|jum|sab)/i,\n abbreviated: /^(ahd|isn|sel|rab|kha|jum|sab)/i,\n wide: /^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i\n};\nvar parseDayPatterns = {\n narrow: [/^a/i, /^i/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i],\n any: [/^a/i, /^i/i, /^se/i, /^r/i, /^k/i, /^j/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,\n any: /^([ap]\\.?\\s?m\\.?|tengah malam|tengah hari|pagi|petang|malam)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^pm/i,\n midnight: /^tengah m/i,\n noon: /^tengah h/i,\n morning: /pa/i,\n afternoon: /tengah h/i,\n evening: /pe/i,\n night: /m/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Malay locale.\n * @language Malay\n * @iso-639-2 msa\n * @author Ruban Selvarajah [@Zyten]{@link https://github.com/Zyten}\n */\n\nvar locale = {\n code: 'ms',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,4BACR,EACD,SAAU,CACR,IAAK,SACL,MAAO,gBACR,EACD,YAAa,iBACb,iBAAkB,CAChB,IAAK,sBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,QACL,MAAO,eACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,WACL,MAAO,kBACR,EACD,aAAc,CACZ,IAAK,kBACL,MAAO,yBACR,EACD,QAAS,CACP,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,kBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,UACL,MAAO,iBACR,EACD,WAAY,CACV,IAAK,qBACL,MAAO,4BACR,EACD,aAAc,CACZ,IAAK,iBACL,MAAO,wBACR,CACH,EAEIC,EAAiB,SAAwBC,EAAOC,EAAOC,EAAS,CAClE,IAAIC,EACAC,EAAaN,EAAqBE,GAUtC,OARI,OAAOI,GAAe,SACxBD,EAASC,EACAH,IAAU,EACnBE,EAASC,EAAW,IAEpBD,EAASC,EAAW,MAAM,QAAQ,YAAa,OAAOH,CAAK,CAAC,EAG1DC,GAAY,MAA8BA,EAAQ,U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G,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.f2c4e740.js b/assets/index.f2c4e740.js new file mode 100644 index 0000000000..8441e27aff --- /dev/null +++ b/assets/index.f2c4e740.js @@ -0,0 +1,2 @@ +import{d as u,e as r,f as g,g as h}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},d=function(e,n,t){var a,o=m[e];return typeof o=="string"?a=o:n===1?a=o.one:a=o.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" nữa":a+" trước":a},s={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},l={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},c={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:u({formats:s,defaultWidth:"full"}),time:u({formats:l,defaultWidth:"full"}),dateTime:u({formats:c,defaultWidth:"full"})},T={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},f=function(e,n,t,a){return T[e]},b={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},w={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},y={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},M={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},p={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},P={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},C={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},N={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},W=function(e,n){var t=Number(e),a=n==null?void 0:n.unit;if(a==="quarter")switch(t){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(a==="day")switch(t){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(a==="week")return t===1?"thứ nhất":"thứ "+t;if(a==="dayOfYear")return t===1?"đầu tiên":"thứ "+t}return String(t)},k={ordinalNumber:W,era:r({values:b,defaultWidth:"wide"}),quarter:r({values:w,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:M,defaultWidth:"wide",formattingValues:p,defaultFormattingWidth:"wide"}),day:r({values:P,defaultWidth:"wide"}),dayPeriod:r({values:C,defaultWidth:"wide",formattingValues:N,defaultFormattingWidth:"wide"})},H=/^(\d+)/i,_=/\d+/i,I={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},Q={any:[/^t/i,/^s/i]},S={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},V={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},B={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},D={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},q={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},F={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},x={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},z={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},X={ordinalNumber:g({matchPattern:H,parsePattern:_,valueCallback:function(e){return parseInt(e,10)}}),era:h({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:Q,defaultParseWidth:"any"}),quarter:h({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:B,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"wide"}),day:h({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"wide"}),dayPeriod:h({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:z,defaultParseWidth:"any"})},O={code:"vi",formatDistance:d,formatLong:v,formatRelative:f,localize:k,match:X,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.f2c4e740.js.map diff --git a/assets/index.f2c4e740.js.map b/assets/index.f2c4e740.js.map new file mode 100644 index 0000000000..15d6c77525 --- /dev/null +++ b/assets/index.f2c4e740.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f2c4e740.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/vi/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'dưới 1 giây',\n other: 'dưới {{count}} giây'\n },\n xSeconds: {\n one: '1 giây',\n other: '{{count}} giây'\n },\n halfAMinute: 'nửa phút',\n lessThanXMinutes: {\n one: 'dưới 1 phút',\n other: 'dưới {{count}} phút'\n },\n xMinutes: {\n one: '1 phút',\n other: '{{count}} phút'\n },\n aboutXHours: {\n one: 'khoảng 1 giờ',\n other: 'khoảng {{count}} giờ'\n },\n xHours: {\n one: '1 giờ',\n other: '{{count}} giờ'\n },\n xDays: {\n one: '1 ngày',\n other: '{{count}} ngày'\n },\n aboutXWeeks: {\n one: 'khoảng 1 tuần',\n other: 'khoảng {{count}} tuần'\n },\n xWeeks: {\n one: '1 tuần',\n other: '{{count}} tuần'\n },\n aboutXMonths: {\n one: 'khoảng 1 tháng',\n other: 'khoảng {{count}} tháng'\n },\n xMonths: {\n one: '1 tháng',\n other: '{{count}} tháng'\n },\n aboutXYears: {\n one: 'khoảng 1 năm',\n other: 'khoảng {{count}} năm'\n },\n xYears: {\n one: '1 năm',\n other: '{{count}} năm'\n },\n overXYears: {\n one: 'hơn 1 năm',\n other: 'hơn {{count}} năm'\n },\n almostXYears: {\n one: 'gần 1 năm',\n other: 'gần {{count}} năm'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + ' nữa';\n } else {\n return result + ' trước';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n // thứ Sáu, ngày 25 tháng 08 năm 2017\n full: \"EEEE, 'ngày' d MMMM 'năm' y\",\n // ngày 25 tháng 08 năm 2017\n long: \"'ngày' d MMMM 'năm' y\",\n // 25 thg 08 năm 2017\n medium: \"d MMM 'năm' y\",\n // 25/08/2017\n short: 'dd/MM/y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59\n full: '{{date}} {{time}}',\n // ngày 25 tháng 08 năm 2017 23:25\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'tuần trước vào lúc' p\",\n yesterday: \"'hôm qua vào lúc' p\",\n today: \"'hôm nay vào lúc' p\",\n tomorrow: \"'ngày mai vào lúc' p\",\n nextWeek: \"eeee 'tới vào lúc' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // Vietnamese locale reference: http://www.localeplanet.com/icu/vi-VN/index.html\n// Capitalization reference: http://hcmup.edu.vn/index.php?option=com_content&view=article&id=4106%3Avit-hoa-trong-vn-bn-hanh-chinh&catid=2345%3Atham-kho&Itemid=4103&lang=vi&site=134\n\nvar eraValues = {\n narrow: ['TCN', 'SCN'],\n abbreviated: ['trước CN', 'sau CN'],\n wide: ['trước Công Nguyên', 'sau Công Nguyên']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['Quý 1', 'Quý 2', 'Quý 3', 'Quý 4']\n};\nvar formattingQuarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n // I notice many news outlet use this \"quý II/2018\"\n wide: ['quý I', 'quý II', 'quý III', 'quý IV']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],\n abbreviated: ['Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', 'Thg 11', 'Thg 12'],\n wide: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai']\n}; // In Vietnamese date formatting, month number less than 10 expected to have leading zero\n\nvar formattingMonthValues = {\n narrow: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],\n abbreviated: ['thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', 'thg 11', 'thg 12'],\n wide: ['tháng 01', 'tháng 02', 'tháng 03', 'tháng 04', 'tháng 05', 'tháng 06', 'tháng 07', 'tháng 08', 'tháng 09', 'tháng 10', 'tháng 11', 'tháng 12']\n};\nvar dayValues = {\n narrow: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],\n short: ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'],\n abbreviated: ['CN', 'Thứ 2', 'Thứ 3', 'Thứ 4', 'Thứ 5', 'Thứ 6', 'Thứ 7'],\n wide: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy']\n}; // Vietnamese are used to AM/PM borrowing from English, hence `narrow` and\n// `abbreviated` are just like English but I'm leaving the `wide`\n// format being localized with abbreviations found in some systems (SÁng / CHiều);\n// however, personally, I don't think `Chiều` sounds appropriate for `PM`\n\nvar dayPeriodValues = {\n // narrow date period is extremely rare in Vietnamese\n // I used abbreviated form for noon, morning and afternoon\n // which are regconizable by Vietnamese, others cannot be any shorter\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'nửa đêm',\n noon: 'tr',\n morning: 'sg',\n afternoon: 'ch',\n evening: 'tối',\n night: 'đêm'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'nửa đêm',\n noon: 'trưa',\n morning: 'sáng',\n afternoon: 'chiều',\n evening: 'tối',\n night: 'đêm'\n },\n wide: {\n am: 'SA',\n pm: 'CH',\n midnight: 'nửa đêm',\n noon: 'trưa',\n morning: 'sáng',\n afternoon: 'chiều',\n evening: 'tối',\n night: 'đêm'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'am',\n pm: 'pm',\n midnight: 'nửa đêm',\n noon: 'tr',\n morning: 'sg',\n afternoon: 'ch',\n evening: 'tối',\n night: 'đêm'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'nửa đêm',\n noon: 'trưa',\n morning: 'sáng',\n afternoon: 'chiều',\n evening: 'tối',\n night: 'đêm'\n },\n wide: {\n am: 'SA',\n pm: 'CH',\n midnight: 'nửa đêm',\n noon: 'giữa trưa',\n morning: 'vào buổi sáng',\n afternoon: 'vào buổi chiều',\n evening: 'vào buổi tối',\n night: 'vào ban đêm'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n var unit = options === null || options === void 0 ? void 0 : options.unit;\n\n if (unit === 'quarter') {\n // many news outlets use \"quý I\"...\n switch (number) {\n case 1:\n return 'I';\n\n case 2:\n return 'II';\n\n case 3:\n return 'III';\n\n case 4:\n return 'IV';\n }\n } else if (unit === 'day') {\n // day of week in Vietnamese has ordinal number meaning,\n // so we should use them, else it'll sound weird\n switch (number) {\n case 1:\n return 'thứ 2';\n // meaning 2nd day but it's the first day of the week :D\n\n case 2:\n return 'thứ 3';\n // meaning 3rd day\n\n case 3:\n return 'thứ 4';\n // meaning 4th day and so on\n\n case 4:\n return 'thứ 5';\n\n case 5:\n return 'thứ 6';\n\n case 6:\n return 'thứ 7';\n\n case 7:\n return 'chủ nhật';\n // meaning Sunday, there's no 8th day :D\n }\n } else if (unit === 'week') {\n if (number === 1) {\n return 'thứ nhất';\n } else {\n return 'thứ ' + number;\n }\n } else if (unit === 'dayOfYear') {\n if (number === 1) {\n return 'đầu tiên';\n } else {\n return 'thứ ' + number;\n }\n } // there are no different forms of ordinal numbers in Vietnamese\n\n\n return String(number);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n formattingValues: formattingQuarterValues,\n defaultFormattingWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(tcn|scn)/i,\n abbreviated: /^(trước CN|sau CN)/i,\n wide: /^(trước Công Nguyên|sau Công Nguyên)/i\n};\nvar parseEraPatterns = {\n any: [/^t/i, /^s/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^([1234]|i{1,3}v?)/i,\n abbreviated: /^q([1234]|i{1,3}v?)/i,\n wide: /^quý ([1234]|i{1,3}v?)/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|i)$/i, /(2|ii)$/i, /(3|iii)$/i, /(4|iv)$/i]\n};\nvar matchMonthPatterns = {\n // month number may contain leading 0, 'thg' prefix may have space, underscore or empty before number\n // note the order of '1' since it is a sub-string of '10', so must be lower priority\n narrow: /^(0?[2-9]|10|11|12|0?1)/i,\n // note the order of 'thg 1' since it is sub-string of 'thg 10', so must be lower priority\n abbreviated: /^thg[ _]?(0?[1-9](?!\\d)|10|11|12)/i,\n // note the order of 'Mười' since it is sub-string of Mười Một, so must be lower priority\n wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\\d)|10|11|12)/i\n};\nvar parseMonthPatterns = {\n narrow: [/0?1$/i, /0?2/i, /3/, /4/, /5/, /6/, /7/, /8/, /9/, /10/, /11/, /12/],\n abbreviated: [/^thg[ _]?0?1(?!\\d)/i, /^thg[ _]?0?2/i, /^thg[ _]?0?3/i, /^thg[ _]?0?4/i, /^thg[ _]?0?5/i, /^thg[ _]?0?6/i, /^thg[ _]?0?7/i, /^thg[ _]?0?8/i, /^thg[ _]?0?9/i, /^thg[ _]?10/i, /^thg[ _]?11/i, /^thg[ _]?12/i],\n wide: [/^tháng ?(Một|0?1(?!\\d))/i, /^tháng ?(Hai|0?2)/i, /^tháng ?(Ba|0?3)/i, /^tháng ?(Tư|0?4)/i, /^tháng ?(Năm|0?5)/i, /^tháng ?(Sáu|0?6)/i, /^tháng ?(Bảy|0?7)/i, /^tháng ?(Tám|0?8)/i, /^tháng ?(Chín|0?9)/i, /^tháng ?(Mười|10)/i, /^tháng ?(Mười ?Một|11)/i, /^tháng ?(Mười ?Hai|12)/i]\n};\nvar matchDayPatterns = {\n narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i,\n short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,\n abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,\n wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i\n};\nvar parseDayPatterns = {\n narrow: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i],\n short: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i],\n abbreviated: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i],\n wide: [/(Chủ|Chúa) ?Nhật/i, /Hai/i, /Ba/i, /Tư/i, /Năm/i, /Sáu/i, /Bảy/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,\n abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,\n wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(a|sa)/i,\n pm: /^(p|ch[^i]*)/i,\n midnight: /nửa đêm/i,\n noon: /trưa/i,\n morning: /sáng/i,\n afternoon: /chiều/i,\n evening: /tối/i,\n night: /^đêm/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'wide'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'wide'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Vietnamese locale (Vietnam).\n * @language Vietnamese\n * @iso-639-2 vie\n * @author Thanh Tran [@trongthanh]{@link https://github.com/trongthanh}\n * @author Leroy Hopson [@lihop]{@link https://github.com/lihop}\n */\n\nvar locale = {\n code: 'vi',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n /* First week of new year contains Jan 1st */\n\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","formattingQuarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","unit","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,cACL,MAAO,qBACR,EACD,SAAU,CACR,IAAK,SACL,MAAO,gBACR,EACD,YAAa,WACb,iBAAkB,CAChB,IAAK,cACL,MAAO,qBACR,EACD,SAAU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AChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUgB,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CAGxB,CACH"} \ No newline at end of file diff --git a/assets/index.f40153f5.js b/assets/index.f40153f5.js new file mode 100644 index 0000000000..2bbc9029f8 --- /dev/null +++ b/assets/index.f40153f5.js @@ -0,0 +1,2 @@ +import{d as s,e as n,f as m,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{one:"હમણાં",other:"​આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"​આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"​આશરે 1 કલાક",other:"​આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXWeeks:{one:"આશરે 1 અઠવાડિયું",other:"આશરે {{count}} અઠવાડિયા"},xWeeks:{one:"1 અઠવાડિયું",other:"{{count}} અઠવાડિયા"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}},l=function(a,o,t){var e,d=u[a];return typeof d=="string"?e=d:o===1?e=d.one:e=d.other.replace("{{count}}",String(o)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e+"માં":e+" પહેલાં":e},h={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},f={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},c={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:s({formats:h,defaultWidth:"full"}),time:s({formats:f,defaultWidth:"full"}),dateTime:s({formats:c,defaultWidth:"full"})},g={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"},P=function(a,o,t,e){return g[a]},b={narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},M={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},p={narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},w={narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},y={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},W={narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"​મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},k=function(a,o){return String(a)},D={ordinalNumber:k,era:n({values:b,defaultWidth:"wide"}),quarter:n({values:M,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:n({values:p,defaultWidth:"wide"}),day:n({values:w,defaultWidth:"wide"}),dayPeriod:n({values:y,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,F=/\d+/i,z={narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},V={any:[/^ઈસપૂ/i,/^ઈસ/i]},X={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},A={any:[/1/i,/2/i,/3/i,/4/i]},C={narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},E={narrow:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i],any:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i]},L={narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},N={narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},Q={narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},S={any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},q={ordinalNumber:m({matchPattern:x,parsePattern:F,valueCallback:function(a){return parseInt(a,10)}}),era:i({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:i({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:i({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:i({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Q,defaultMatchWidth:"any",parsePatterns:S,defaultParseWidth:"any"})},H={code:"gu",formatDistance:l,formatLong:v,formatRelative:P,localize:D,match:q,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{H as default}; +//# sourceMappingURL=index.f40153f5.js.map diff --git a/assets/index.f40153f5.js.map b/assets/index.f40153f5.js.map new file mode 100644 index 0000000000..8d830aa964 --- /dev/null +++ b/assets/index.f40153f5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f40153f5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/gu/index.js"],"sourcesContent":["// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'હમણાં',\n // CLDR #1461\n other: '​આશરે {{count}} સેકંડ'\n },\n xSeconds: {\n one: '1 સેકંડ',\n other: '{{count}} સેકંડ'\n },\n halfAMinute: 'અડધી મિનિટ',\n lessThanXMinutes: {\n one: 'આ મિનિટ',\n // CLDR #1448\n other: '​આશરે {{count}} મિનિટ'\n },\n xMinutes: {\n one: '1 મિનિટ',\n other: '{{count}} મિનિટ'\n },\n aboutXHours: {\n one: '​આશરે 1 કલાક',\n other: '​આશરે {{count}} કલાક'\n },\n xHours: {\n one: '1 કલાક',\n other: '{{count}} કલાક'\n },\n xDays: {\n one: '1 દિવસ',\n other: '{{count}} દિવસ'\n },\n aboutXWeeks: {\n one: 'આશરે 1 અઠવાડિયું',\n other: 'આશરે {{count}} અઠવાડિયા'\n },\n xWeeks: {\n one: '1 અઠવાડિયું',\n other: '{{count}} અઠવાડિયા'\n },\n aboutXMonths: {\n one: 'આશરે 1 મહિનો',\n other: 'આશરે {{count}} મહિના'\n },\n xMonths: {\n one: '1 મહિનો',\n other: '{{count}} મહિના'\n },\n aboutXYears: {\n one: 'આશરે 1 વર્ષ',\n other: 'આશરે {{count}} વર્ષ'\n },\n xYears: {\n one: '1 વર્ષ',\n other: '{{count}} વર્ષ'\n },\n overXYears: {\n one: '1 વર્ષથી વધુ',\n other: '{{count}} વર્ષથી વધુ'\n },\n almostXYears: {\n one: 'લગભગ 1 વર્ષ',\n other: 'લગભગ {{count}} વર્ષ'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + 'માં';\n } else {\n return result + ' પહેલાં';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; //Source: https://www.unicode.org/cldr/charts/32/summary/gu.html\n\nvar dateFormats = {\n full: 'EEEE, d MMMM, y',\n // CLDR #1825\n long: 'd MMMM, y',\n // CLDR #1826\n medium: 'd MMM, y',\n // CLDR #1827\n short: 'd/M/yy' // CLDR #1828\n\n};\nvar timeFormats = {\n full: 'hh:mm:ss a zzzz',\n // CLDR #1829\n long: 'hh:mm:ss a z',\n // CLDR #1830\n medium: 'hh:mm:ss a',\n // CLDR #1831\n short: 'hh:mm a' // CLDR #1832\n\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n // CLDR #1833\n long: '{{date}} {{time}}',\n // CLDR #1834\n medium: '{{date}} {{time}}',\n // CLDR #1835\n short: '{{date}} {{time}}' // CLDR #1836\n\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html\nvar formatRelativeLocale = {\n lastWeek: \"'પાછલા' eeee p\",\n // CLDR #1384\n yesterday: \"'ગઈકાલે' p\",\n // CLDR #1409\n today: \"'આજે' p\",\n // CLDR #1410\n tomorrow: \"'આવતીકાલે' p\",\n // CLDR #1411\n nextWeek: 'eeee p',\n // CLDR #1386\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // https://www.unicode.org/cldr/charts/32/summary/gu.html\n// #1621 - #1630\n\nvar eraValues = {\n narrow: ['ઈસપૂ', 'ઈસ'],\n abbreviated: ['ઈ.સ.પૂર્વે', 'ઈ.સ.'],\n wide: ['ઈસવીસન પૂર્વે', 'ઈસવીસન']\n}; // https://www.unicode.org/cldr/charts/32/summary/gu.html\n// #1631 - #1654\n\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1લો ત્રિમાસ', '2જો ત્રિમાસ', '3જો ત્રિમાસ', '4થો ત્રિમાસ']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n// https://www.unicode.org/cldr/charts/32/summary/gu.html\n// #1655 - #1726\n\nvar monthValues = {\n narrow: ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઓ', 'સ', 'ઓ', 'ન', 'ડિ'],\n abbreviated: ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઓક્ટો', 'નવે', 'ડિસે'],\n wide: ['જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઇ', 'ઓગસ્ટ', 'સપ્ટેમ્બર', 'ઓક્ટોબર', 'નવેમ્બર', 'ડિસેમ્બર']\n}; // https://www.unicode.org/cldr/charts/32/summary/gu.html\n// #1727 - #1768\n\nvar dayValues = {\n narrow: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'],\n short: ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'],\n abbreviated: ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'],\n wide: ['રવિવાર'\n /* Sunday */\n , 'સોમવાર'\n /* Monday */\n , 'મંગળવાર'\n /* Tuesday */\n , 'બુધવાર'\n /* Wednesday */\n , 'ગુરુવાર'\n /* Thursday */\n , 'શુક્રવાર'\n /* Friday */\n , 'શનિવાર'\n /* Saturday */\n ]\n}; // https://www.unicode.org/cldr/charts/32/summary/gu.html\n// #1783 - #1824\n\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'મ.રાત્રિ',\n noon: 'બ.',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: '​મધ્યરાત્રિ',\n noon: 'બપોરે',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: '​મધ્યરાત્રિ',\n noon: 'બપોરે',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'મ.રાત્રિ',\n noon: 'બપોરે',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'મધ્યરાત્રિ',\n noon: 'બપોરે',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: '​મધ્યરાત્રિ',\n noon: 'બપોરે',\n morning: 'સવારે',\n afternoon: 'બપોરે',\n evening: 'સાંજે',\n night: 'રાત્રે'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ઈસપૂ|ઈસ)/i,\n abbreviated: /^(ઈ\\.સ\\.પૂર્વે|ઈ\\.સ\\.)/i,\n wide: /^(ઈસવીસન\\sપૂર્વે|ઈસવીસન)/i\n};\nvar parseEraPatterns = {\n any: [/^ઈસપૂ/i, /^ઈસ/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](લો|જો|થો)? ત્રિમાસ/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n // eslint-disable-next-line no-misleading-character-class\n narrow: /^[જાફેમાએમેજૂજુઓસઓનડિ]/i,\n abbreviated: /^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,\n wide: /^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i],\n any: [/^જા/i, /^ફે/i, /^મા/i, /^એ/i, /^મે/i, /^જૂ/i, /^જુ/i, /^ઑગ/i, /^સ/i, /^ઓક્ટો/i, /^ન/i, /^ડિ/i]\n};\nvar matchDayPatterns = {\n narrow: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,\n short: /^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,\n abbreviated: /^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,\n wide: /^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i],\n any: [/^ર/i, /^સો/i, /^મં/i, /^બુ/i, /^ગુ/i, /^શુ/i, /^શ/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|મ\\.?|સ|બ|સાં|રા)/i,\n any: /^(a|p|મ\\.?|સ|બ|સાં|રા)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^મ\\.?/i,\n noon: /^બ/i,\n morning: /સ/i,\n afternoon: /બ/i,\n evening: /સાં/i,\n night: /રા/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Gujarati locale (India).\n * @language Gujarati\n * @iso-639-2 guj\n * @author Manaday Mavani [@ManadayM]{@link https://github.com/manadaym}\n */\n\nvar locale = {\n code: 'gu',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVACA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,QAEL,MAAO,uBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,aACb,iBAAkB,CAChB,IAAK,UAEL,MAAO,uBACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,iBACR,EACD,YAAa,CACX,IAAK,eACL,MAAO,sBACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,gBACR,EACD,MAAO,CACL,IAAK,SACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,mBACL,MAAO,yBACR,EACD,OAAQ,CACN,IAAK,cACL,MAAO,oBACR,EACD,aAAc,CACZ,IAAK,eACL,M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,OAAQ,KAAK,EAC7D,IAAK,CAAC,MAAO,OAAQ,OAAQ,OAAQ,OAAQ,OAAQ,KAAK,CAC5D,EACIC,EAAyB,CAC3B,OAAQ,0BACR,IAAK,yBACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,SACV,KAAM,MACN,QAAS,KACT,UAAW,KACX,QAAS,OACT,MAAO,KACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,EAAS,CACX,KAAM,KACN,eAAgB5C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUY,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.f42002a5.js b/assets/index.f42002a5.js new file mode 100644 index 0000000000..8c3115ac23 --- /dev/null +++ b/assets/index.f42002a5.js @@ -0,0 +1,2 @@ +import{d,e as i,f as h,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import{i as f}from"./index.2a57f56e.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */function b(t,e){return e===1&&t.one?t.one:e>=2&&e<=4&&t.twoFour?t.twoFour:t.other}function m(t,e,n){var r=b(t,e),a=r[n];return a.replace("{{count}}",String(e))}function k(t){var e=["lessThan","about","over","almost"].filter(function(n){return!!t.match(new RegExp("^"+n))});return e[0]}function p(t){var e="";return t==="almost"&&(e="takmer"),t==="about"&&(e="približne"),e.length>0?e+" ":""}function l(t){var e="";return t==="lessThan"&&(e="menej než"),t==="over"&&(e="viac než"),e.length>0?e+" ":""}function g(t){return t.charAt(0).toLowerCase()+t.slice(1)}var w={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}},y=function(e,n,r){var a=k(e)||"",o=g(e.substring(a.length)),s=w[o];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?p(a)+"o "+l(a)+m(s,n,"future"):p(a)+"pred "+l(a)+m(s,n,"past"):p(a)+l(a)+m(s,n,"present")},P={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},j={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},M={full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},W={date:d({formats:P,defaultWidth:"full"}),time:d({formats:j,defaultWidth:"full"}),dateTime:d({formats:M,defaultWidth:"full"})},c=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function F(t){var e=c[t];switch(t){case 0:case 3:case 6:return"'minulú "+e+" o' p";default:return"'minulý' eeee 'o' p"}}function v(t){var e=c[t];return t===4?"'vo' eeee 'o' p":"'v "+e+" o' p"}function x(t){var e=c[t];switch(t){case 0:case 4:case 6:return"'budúcu "+e+" o' p";default:return"'budúci' eeee 'o' p"}}var D={lastWeek:function(e,n,r){var a=e.getUTCDay();return f(e,n,r)?v(a):F(a)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:function(e,n,r){var a=e.getUTCDay();return f(e,n,r)?v(a):x(a)},other:"P"},K=function(e,n,r,a){var o=D[e];return typeof o=="function"?o(n,r,a):o},C={narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},z={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},V={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},A={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},L={narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},T={narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},E={narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},N=function(e,n){var r=Number(e);return r+"."},Q={ordinalNumber:N,era:i({values:C,defaultWidth:"wide"}),quarter:i({values:z,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:i({values:V,defaultWidth:"wide",formattingValues:A,defaultFormattingWidth:"wide"}),day:i({values:L,defaultWidth:"wide"}),dayPeriod:i({values:T,defaultWidth:"wide",formattingValues:E,defaultFormattingWidth:"wide"})},H=/^(\d+)\.?/i,R=/\d+/i,S={narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},q={any:[/^pr/i,/^(po|n)/i]},O={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},U={any:[/1/i,/2/i,/3/i,/4/i]},_={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i},G={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},I={narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},Y={narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},B={narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},J={any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},X={ordinalNumber:h({matchPattern:H,parsePattern:R,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:q,defaultParseWidth:"any"}),quarter:u({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:U,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:_,defaultMatchWidth:"wide",parsePatterns:G,defaultParseWidth:"any"}),day:u({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:B,defaultMatchWidth:"any",parsePatterns:J,defaultParseWidth:"any"})},ne={code:"sk",formatDistance:y,formatLong:W,formatRelative:K,localize:Q,match:X,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{ne as default}; +//# sourceMappingURL=index.f42002a5.js.map diff --git a/assets/index.f42002a5.js.map b/assets/index.f42002a5.js.map new file mode 100644 index 0000000000..99929477ee --- /dev/null +++ b/assets/index.f42002a5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.f42002a5.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/sk/index.js"],"sourcesContent":["function declensionGroup(scheme, count) {\n if (count === 1 && scheme.one) {\n return scheme.one;\n }\n\n if (count >= 2 && count <= 4 && scheme.twoFour) {\n return scheme.twoFour;\n } // if count === null || count === 0 || count >= 5\n\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n var group = declensionGroup(scheme, count);\n var finalText = group[time];\n return finalText.replace('{{count}}', String(count));\n}\n\nfunction extractPreposition(token) {\n var result = ['lessThan', 'about', 'over', 'almost'].filter(function (preposition) {\n return !!token.match(new RegExp('^' + preposition));\n });\n return result[0];\n}\n\nfunction prefixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'almost') {\n translation = 'takmer';\n }\n\n if (preposition === 'about') {\n translation = 'približne';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction suffixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'lessThan') {\n translation = 'menej než';\n }\n\n if (preposition === 'over') {\n translation = 'viac než';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction lowercaseFirstLetter(string) {\n return string.charAt(0).toLowerCase() + string.slice(1);\n}\n\nvar formatDistanceLocale = {\n xSeconds: {\n one: {\n present: 'sekunda',\n past: 'sekundou',\n future: 'sekundu'\n },\n twoFour: {\n present: '{{count}} sekundy',\n past: '{{count}} sekundami',\n future: '{{count}} sekundy'\n },\n other: {\n present: '{{count}} sekúnd',\n past: '{{count}} sekundami',\n future: '{{count}} sekúnd'\n }\n },\n halfAMinute: {\n other: {\n present: 'pol minúty',\n past: 'pol minútou',\n future: 'pol minúty'\n }\n },\n xMinutes: {\n one: {\n present: 'minúta',\n past: 'minútou',\n future: 'minútu'\n },\n twoFour: {\n present: '{{count}} minúty',\n past: '{{count}} minútami',\n future: '{{count}} minúty'\n },\n other: {\n present: '{{count}} minút',\n past: '{{count}} minútami',\n future: '{{count}} minút'\n }\n },\n xHours: {\n one: {\n present: 'hodina',\n past: 'hodinou',\n future: 'hodinu'\n },\n twoFour: {\n present: '{{count}} hodiny',\n past: '{{count}} hodinami',\n future: '{{count}} hodiny'\n },\n other: {\n present: '{{count}} hodín',\n past: '{{count}} hodinami',\n future: '{{count}} hodín'\n }\n },\n xDays: {\n one: {\n present: 'deň',\n past: 'dňom',\n future: 'deň'\n },\n twoFour: {\n present: '{{count}} dni',\n past: '{{count}} dňami',\n future: '{{count}} dni'\n },\n other: {\n present: '{{count}} dní',\n past: '{{count}} dňami',\n future: '{{count}} dní'\n }\n },\n xWeeks: {\n one: {\n present: 'týždeň',\n past: 'týždňom',\n future: 'týždeň'\n },\n twoFour: {\n present: '{{count}} týždne',\n past: '{{count}} týždňami',\n future: '{{count}} týždne'\n },\n other: {\n present: '{{count}} týždňov',\n past: '{{count}} týždňami',\n future: '{{count}} týždňov'\n }\n },\n xMonths: {\n one: {\n present: 'mesiac',\n past: 'mesiacom',\n future: 'mesiac'\n },\n twoFour: {\n present: '{{count}} mesiace',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiace'\n },\n other: {\n present: '{{count}} mesiacov',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiacov'\n }\n },\n xYears: {\n one: {\n present: 'rok',\n past: 'rokom',\n future: 'rok'\n },\n twoFour: {\n present: '{{count}} roky',\n past: '{{count}} rokmi',\n future: '{{count}} roky'\n },\n other: {\n present: '{{count}} rokov',\n past: '{{count}} rokmi',\n future: '{{count}} rokov'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var preposition = extractPreposition(token) || '';\n var key = lowercaseFirstLetter(token.substring(preposition.length));\n var scheme = formatDistanceLocale[key];\n\n if (!(options !== null && options !== void 0 && options.addSuffix)) {\n return prefixPreposition(preposition) + suffixPreposition(preposition) + declension(scheme, count, 'present');\n }\n\n if (options.comparison && options.comparison > 0) {\n return prefixPreposition(preposition) + 'o ' + suffixPreposition(preposition) + declension(scheme, count, 'future');\n } else {\n return prefixPreposition(preposition) + 'pred ' + suffixPreposition(preposition) + declension(scheme, count, 'past');\n }\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986\n\nvar dateFormats = {\n full: 'EEEE d. MMMM y',\n long: 'd. MMMM y',\n medium: 'd. M. y',\n short: 'd. M. y'\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149\n\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994\n\nvar dateTimeFormats = {\n full: '{{date}}, {{time}}',\n long: '{{date}}, {{time}}',\n medium: '{{date}}, {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import isSameUTCWeek from \"../../../../_lib/isSameUTCWeek/index.js\";\n// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308\nvar accusativeWeekdays = ['nedeľu', 'pondelok', 'utorok', 'stredu', 'štvrtok', 'piatok', 'sobotu'];\n\nfunction _lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 3:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'minulú \" + weekday + \" o' p\";\n\n default:\n return \"'minulý' eeee 'o' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n if (day === 4\n /* Thu */\n ) {\n return \"'vo' eeee 'o' p\";\n } else {\n return \"'v \" + weekday + \" o' p\";\n }\n}\n\nfunction _nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 4:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'budúcu \" + weekday + \" o' p\";\n\n default:\n return \"'budúci' eeee 'o' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'včera o' p\",\n today: \"'dnes o' p\",\n tomorrow: \"'zajtra o' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1772\n\nvar eraValues = {\n narrow: ['pred Kr.', 'po Kr.'],\n abbreviated: ['pred Kr.', 'po Kr.'],\n wide: ['pred Kristom', 'po Kristovi']\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1780\n\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. štvrťrok', '2. štvrťrok', '3. štvrťrok', '4. štvrťrok']\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1804\n\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december']\n};\nvar formattingMonthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra', 'októbra', 'novembra', 'decembra']\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1876\n\nvar dayValues = {\n narrow: ['n', 'p', 'u', 's', 'š', 'p', 's'],\n short: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'],\n abbreviated: ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'],\n wide: ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota']\n}; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1932\n\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'več.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'večer',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'polnoc',\n noon: 'poludnie',\n morning: 'ráno',\n afternoon: 'popoludnie',\n evening: 'večer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'nap.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'več.',\n night: 'v n.'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'napol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'večer',\n night: 'v noci'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o polnoci',\n noon: 'napoludnie',\n morning: 'ráno',\n afternoon: 'popoludní',\n evening: 'večer',\n night: 'v noci'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\. [šs]tvr[ťt]rok/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,\n wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusšp]/i,\n short: /^(ne|po|ut|st|št|pi|so)/i,\n abbreviated: /^(ne|po|ut|st|št|pi|so)/i,\n wide: /^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^š/i, /^p/i, /^s/i],\n any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(št|stv)/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(am|pm|(o )?poln\\.?|(nap\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[čc]\\.?|(v n\\.?|noc))/i,\n abbreviated: /^(am|pm|(o )?poln\\.?|(napol\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[čc]er|(v )?noci?)/i,\n any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /poln/i,\n noon: /^(nap|(na)?pol(\\.|u))/i,\n morning: /^r[áa]no/i,\n afternoon: /^pop/i,\n evening: /^ve[čc]/i,\n night: /^(noc|v n\\.)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Slovak locale.\n * @language Slovak\n * @iso-639-2 slk\n * @author Marek Suscak [@mareksuscak]{@link https://github.com/mareksuscak}\n */\n\nvar locale = {\n code: 'sk',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["declensionGroup","scheme","count","declension","time","group","finalText","extractPreposition","token","result","preposition","prefixPreposition","translation","suffixPreposition","lowercaseFirstLetter","string","formatDistanceLocale","formatDistance","options","key","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","_lastWeek","day","weekday","thisWeek","_nextWeek","formatRelativeLocale","date","baseDate","isSameUTCWeek","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"yXAAA,SAASA,EAAgBC,EAAQC,EAAO,CACtC,OAAIA,IAAU,GAAKD,EAAO,IACjBA,EAAO,IAGZC,GAAS,GAAKA,GAAS,GAAKD,EAAO,QAC9BA,EAAO,QAITA,EAAO,KAChB,CAEA,SAASE,EAAWF,EAAQC,EAAOE,EAAM,CACvC,IAAIC,EAAQL,EAAgBC,EAAQC,CAAK,EACrCI,EAAYD,EAAMD,GACtB,OAAOE,EAAU,QAAQ,YAAa,OAAOJ,CAAK,CAAC,CACrD,CAEA,SAASK,EAAmBC,EAAO,CACjC,IAAIC,EAAS,CAAC,WAAY,QAAS,OAAQ,QAAQ,EAAE,OAAO,SAAUC,EAAa,CACjF,MAAO,CAAC,CAACF,EAAM,MAAM,IAAI,OAAO,IAAME,CAAW,CAAC,CACtD,CAAG,EACD,OAAOD,EAAO,EAChB,CAEA,SAASE,EAAkBD,EAAa,CACtC,IAAIE,EAAc,GAElB,OAAIF,IAAgB,WAClBE,EAAc,UAGZF,IAAgB,UAClBE,EAAc,aAGTA,EAAY,OAAS,EAAIA,EAAc,IAAM,EACtD,CAEA,SAASC,EAAkBH,EAAa,CACtC,IAAIE,EAAc,GAElB,OAAIF,IAAgB,aAClBE,EAAc,aA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AAQ,MAAO,MAAO,MAAO,KAAK,CAC9G,EACIC,EAAmB,CACrB,OAAQ,aACR,MAAO,2BACP,YAAa,2BACb,KAAM,gEACR,EACIC,EAAmB,CACrB,OAAQ,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,KAAK,EACxD,IAAK,CAAC,MAAO,OAAQ,MAAO,OAAQ,aAAc,OAAQ,MAAM,CAClE,EACIC,EAAyB,CAC3B,OAAQ,+EACR,YAAa,8EACb,IAAK,oFACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,OACJ,GAAI,OACJ,SAAU,QACV,KAAM,yBACN,QAAS,YACT,UAAW,QACX,QAAS,WACT,MAAO,eACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECnFIM,GAAS,CACX,KAAM,KACN,eAAgBnD,EAChB,WAAYM,EACZ,eAAgBY,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.fa2d35ac.js b/assets/index.fa2d35ac.js new file mode 100644 index 0000000000..2868981016 --- /dev/null +++ b/assets/index.fa2d35ac.js @@ -0,0 +1,2 @@ +import{d as l,e as u,f as c,g as i}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var m={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},v=function(e,t,n){var a,o=m[e];o.type==="other"?a=o.other:t===1?a=o.one:t>1&&t<5?a=o.few:a=o.many;var p=(n==null?void 0:n.addSuffix)===!0,s=n==null?void 0:n.comparison,d;return p&&s===-1?d=a.past:p&&s===1?d=a.future:d=a.regular,d.replace("{{count}}",String(t))},f={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},y={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},b={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},h={date:l({formats:f,defaultWidth:"full"}),time:l({formats:y,defaultWidth:"full"}),dateTime:l({formats:b,defaultWidth:"full"})},k=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],g={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(e){var t=e.getUTCDay();return"'v "+k[t]+" o' p"},other:"P"},z=function(e,t){var n=g[e];return typeof n=="function"?n(t):n},w={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},P={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},W={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},M={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},D={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},x={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},F={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},L=function(e,t){var n=Number(e);return n+"."},V={ordinalNumber:L,era:u({values:w,defaultWidth:"wide"}),quarter:u({values:P,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:W,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"}),day:u({values:D,defaultWidth:"wide"}),dayPeriod:u({values:x,defaultWidth:"wide",formattingValues:F,defaultFormattingWidth:"wide"})},j=/^(\d+)\.?/i,C=/\d+/i,K={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},X={any:[/^p[řr]/i,/^(po|n)/i]},E={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},N={any:[/1/i,/2/i,/3/i,/4/i]},S={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},H={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},R={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},T={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},Y={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},q={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},O={ordinalNumber:c({matchPattern:j,parsePattern:C,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:K,defaultMatchWidth:"wide",parsePatterns:X,defaultParseWidth:"any"}),quarter:i({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:N,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:i({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:i({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Y,defaultMatchWidth:"any",parsePatterns:q,defaultParseWidth:"any"})},U={code:"cs",formatDistance:v,formatLong:h,formatRelative:z,localize:V,match:O,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{U as default}; +//# sourceMappingURL=index.fa2d35ac.js.map diff --git a/assets/index.fa2d35ac.js.map b/assets/index.fa2d35ac.js.map new file mode 100644 index 0000000000..9df4921515 --- /dev/null +++ b/assets/index.fa2d35ac.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.fa2d35ac.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/cs/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'méně než sekunda',\n past: 'před méně než sekundou',\n future: 'za méně než sekundu'\n },\n few: {\n regular: 'méně než {{count}} sekundy',\n past: 'před méně než {{count}} sekundami',\n future: 'za méně než {{count}} sekundy'\n },\n many: {\n regular: 'méně než {{count}} sekund',\n past: 'před méně než {{count}} sekundami',\n future: 'za méně než {{count}} sekund'\n }\n },\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'před sekundou',\n future: 'za sekundu'\n },\n few: {\n regular: '{{count}} sekundy',\n past: 'před {{count}} sekundami',\n future: 'za {{count}} sekundy'\n },\n many: {\n regular: '{{count}} sekund',\n past: 'před {{count}} sekundami',\n future: 'za {{count}} sekund'\n }\n },\n halfAMinute: {\n type: 'other',\n other: {\n regular: 'půl minuty',\n past: 'před půl minutou',\n future: 'za půl minuty'\n }\n },\n lessThanXMinutes: {\n one: {\n regular: 'méně než minuta',\n past: 'před méně než minutou',\n future: 'za méně než minutu'\n },\n few: {\n regular: 'méně než {{count}} minuty',\n past: 'před méně než {{count}} minutami',\n future: 'za méně než {{count}} minuty'\n },\n many: {\n regular: 'méně než {{count}} minut',\n past: 'před méně než {{count}} minutami',\n future: 'za méně než {{count}} minut'\n }\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'před minutou',\n future: 'za minutu'\n },\n few: {\n regular: '{{count}} minuty',\n past: 'před {{count}} minutami',\n future: 'za {{count}} minuty'\n },\n many: {\n regular: '{{count}} minut',\n past: 'před {{count}} minutami',\n future: 'za {{count}} minut'\n }\n },\n aboutXHours: {\n one: {\n regular: 'přibližně hodina',\n past: 'přibližně před hodinou',\n future: 'přibližně za hodinu'\n },\n few: {\n regular: 'přibližně {{count}} hodiny',\n past: 'přibližně před {{count}} hodinami',\n future: 'přibližně za {{count}} hodiny'\n },\n many: {\n regular: 'přibližně {{count}} hodin',\n past: 'přibližně před {{count}} hodinami',\n future: 'přibližně za {{count}} hodin'\n }\n },\n xHours: {\n one: {\n regular: 'hodina',\n past: 'před hodinou',\n future: 'za hodinu'\n },\n few: {\n regular: '{{count}} hodiny',\n past: 'před {{count}} hodinami',\n future: 'za {{count}} hodiny'\n },\n many: {\n regular: '{{count}} hodin',\n past: 'před {{count}} hodinami',\n future: 'za {{count}} hodin'\n }\n },\n xDays: {\n one: {\n regular: 'den',\n past: 'před dnem',\n future: 'za den'\n },\n few: {\n regular: '{{count}} dny',\n past: 'před {{count}} dny',\n future: 'za {{count}} dny'\n },\n many: {\n regular: '{{count}} dní',\n past: 'před {{count}} dny',\n future: 'za {{count}} dní'\n }\n },\n aboutXWeeks: {\n one: {\n regular: 'přibližně týden',\n past: 'přibližně před týdnem',\n future: 'přibližně za týden'\n },\n few: {\n regular: 'přibližně {{count}} týdny',\n past: 'přibližně před {{count}} týdny',\n future: 'přibližně za {{count}} týdny'\n },\n many: {\n regular: 'přibližně {{count}} týdnů',\n past: 'přibližně před {{count}} týdny',\n future: 'přibližně za {{count}} týdnů'\n }\n },\n xWeeks: {\n one: {\n regular: 'týden',\n past: 'před týdnem',\n future: 'za týden'\n },\n few: {\n regular: '{{count}} týdny',\n past: 'před {{count}} týdny',\n future: 'za {{count}} týdny'\n },\n many: {\n regular: '{{count}} týdnů',\n past: 'před {{count}} týdny',\n future: 'za {{count}} týdnů'\n }\n },\n aboutXMonths: {\n one: {\n regular: 'přibližně měsíc',\n past: 'přibližně před měsícem',\n future: 'přibližně za měsíc'\n },\n few: {\n regular: 'přibližně {{count}} měsíce',\n past: 'přibližně před {{count}} měsíci',\n future: 'přibližně za {{count}} měsíce'\n },\n many: {\n regular: 'přibližně {{count}} měsíců',\n past: 'přibližně před {{count}} měsíci',\n future: 'přibližně za {{count}} měsíců'\n }\n },\n xMonths: {\n one: {\n regular: 'měsíc',\n past: 'před měsícem',\n future: 'za měsíc'\n },\n few: {\n regular: '{{count}} měsíce',\n past: 'před {{count}} měsíci',\n future: 'za {{count}} měsíce'\n },\n many: {\n regular: '{{count}} měsíců',\n past: 'před {{count}} měsíci',\n future: 'za {{count}} měsíců'\n }\n },\n aboutXYears: {\n one: {\n regular: 'přibližně rok',\n past: 'přibližně před rokem',\n future: 'přibližně za rok'\n },\n few: {\n regular: 'přibližně {{count}} roky',\n past: 'přibližně před {{count}} roky',\n future: 'přibližně za {{count}} roky'\n },\n many: {\n regular: 'přibližně {{count}} roků',\n past: 'přibližně před {{count}} roky',\n future: 'přibližně za {{count}} roků'\n }\n },\n xYears: {\n one: {\n regular: 'rok',\n past: 'před rokem',\n future: 'za rok'\n },\n few: {\n regular: '{{count}} roky',\n past: 'před {{count}} roky',\n future: 'za {{count}} roky'\n },\n many: {\n regular: '{{count}} roků',\n past: 'před {{count}} roky',\n future: 'za {{count}} roků'\n }\n },\n overXYears: {\n one: {\n regular: 'více než rok',\n past: 'před více než rokem',\n future: 'za více než rok'\n },\n few: {\n regular: 'více než {{count}} roky',\n past: 'před více než {{count}} roky',\n future: 'za více než {{count}} roky'\n },\n many: {\n regular: 'více než {{count}} roků',\n past: 'před více než {{count}} roky',\n future: 'za více než {{count}} roků'\n }\n },\n almostXYears: {\n one: {\n regular: 'skoro rok',\n past: 'skoro před rokem',\n future: 'skoro za rok'\n },\n few: {\n regular: 'skoro {{count}} roky',\n past: 'skoro před {{count}} roky',\n future: 'skoro za {{count}} roky'\n },\n many: {\n regular: 'skoro {{count}} roků',\n past: 'skoro před {{count}} roky',\n future: 'skoro za {{count}} roků'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var pluralResult;\n var tokenValue = formatDistanceLocale[token]; // cs pluralization\n\n if (tokenValue.type === 'other') {\n pluralResult = tokenValue.other;\n } else if (count === 1) {\n pluralResult = tokenValue.one;\n } else if (count > 1 && count < 5) {\n pluralResult = tokenValue.few;\n } else {\n pluralResult = tokenValue.many;\n } // times\n\n\n var suffixExist = (options === null || options === void 0 ? void 0 : options.addSuffix) === true;\n var comparison = options === null || options === void 0 ? void 0 : options.comparison;\n var timeResult;\n\n if (suffixExist && comparison === -1) {\n timeResult = pluralResult.past;\n } else if (suffixExist && comparison === 1) {\n timeResult = pluralResult.future;\n } else {\n timeResult = pluralResult.regular;\n }\n\n return timeResult.replace('{{count}}', String(count));\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy',\n long: 'd. MMMM yyyy',\n medium: 'd. M. yyyy',\n short: 'dd.MM.yyyy'\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n long: 'H:mm:ss z',\n medium: 'H:mm:ss',\n short: 'H:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'v' {{time}}\",\n long: \"{{date}} 'v' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var accusativeWeekdays = ['neděli', 'pondělí', 'úterý', 'středu', 'čtvrtek', 'pátek', 'sobotu'];\nvar formatRelativeLocale = {\n lastWeek: \"'poslední' eeee 've' p\",\n yesterday: \"'včera v' p\",\n today: \"'dnes v' p\",\n tomorrow: \"'zítra v' p\",\n nextWeek: function nextWeek(date) {\n var day = date.getUTCDay();\n return \"'v \" + accusativeWeekdays[day] + \" o' p\";\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['př. n. l.', 'n. l.'],\n abbreviated: ['př. n. l.', 'n. l.'],\n wide: ['před naším letopočtem', 'našeho letopočtu']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'],\n wide: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí']\n};\nvar monthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],\n wide: ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec']\n};\nvar formattingMonthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],\n wide: ['ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', 'listopadu', 'prosince']\n};\nvar dayValues = {\n narrow: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],\n short: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],\n abbreviated: ['ned', 'pon', 'úte', 'stř', 'čtv', 'pát', 'sob'],\n wide: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'dop.',\n pm: 'odp.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n },\n abbreviated: {\n am: 'dop.',\n pm: 'odp.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n },\n wide: {\n am: 'dopoledne',\n pm: 'odpoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'dop.',\n pm: 'odp.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n },\n abbreviated: {\n am: 'dop.',\n pm: 'odp.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n },\n wide: {\n am: 'dopoledne',\n pm: 'odpoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'večer',\n night: 'noc'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p[řr](\\.|ed) Kr\\.|p[řr](\\.|ed) n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(p[řr](\\.|ed) Kr\\.|p[řr](\\.|ed) n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(p[řr](\\.|ed) Kristem|p[řr](\\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^p[řr]/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\. [čc]tvrtlet[íi]/i,\n wide: /^[1234]\\. [čc]tvrtlet[íi]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[lúubdkčcszřrlp]/i,\n abbreviated: /^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,\n wide: /^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[čc]/i, /^[čc]/i, /^s/i, /^z/i, /^[řr]/i, /^l/i, /^p/i],\n any: [/^led/i, /^[úu]n/i, /^b[řr]e/i, /^dub/i, /^kv[ěe]/i, /^[čc]vn|[čc]erven(?!\\w)|[čc]ervna/i, /^[čc]vc|[čc]erven(ec|ce)/i, /^srp/i, /^z[áa][řr]/i, /^[řr][íi]j/i, /^lis/i, /^pro/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npuúsčps]/i,\n short: /^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,\n abbreviated: /^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,\n wide: /^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[čc]/i, /^p/i, /^s/i],\n any: [/^ne/i, /^po/i, /^[úu]t/i, /^st/i, /^[čc]t/i, /^p[áa]/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^dopoledne|dop\\.?|odpoledne|odp\\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^dop/i,\n pm: /^odp/i,\n midnight: /^p[ůu]lnoc/i,\n noon: /^poledne/i,\n morning: /r[áa]no/i,\n afternoon: /odpoledne/i,\n evening: /ve[čc]er/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Czech locale.\n * @language Czech\n * @iso-639-2 ces\n * @author David Rus [@davidrus]{@link https://github.com/davidrus}\n * @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY}\n * @author Jozef Bíroš [@JozefBiros]{@link https://github.com/JozefBiros}\n */\n\nvar locale = {\n code: 'cs',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","pluralResult","tokenValue","suffixExist","comparison","timeResult","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","accusativeWeekdays","formatRelativeLocale","date","day","formatRelative","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB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ACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EC/EIM,EAAS,CACX,KAAM,KACN,eAAgBnD,EAChB,WAAYY,EACZ,eAAgBM,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.fd390468.js b/assets/index.fd390468.js new file mode 100644 index 0000000000..0902c7733e --- /dev/null +++ b/assets/index.fd390468.js @@ -0,0 +1,2 @@ +import{d as s,e as r,f as h,g as o}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var u={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",other:"{{count}} రోజులు"},withPreposition:{one:"ఒక రోజు",other:"{{count}} రోజుల"}},aboutXWeeks:{standalone:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలు"},withPreposition:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలల"}},xWeeks:{standalone:{one:"ఒక వారం",other:"{{count}} వారాలు"},withPreposition:{one:"ఒక వారం",other:"{{count}} వారాలల"}},aboutXMonths:{standalone:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలలు"},withPreposition:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలల"}},xMonths:{standalone:{one:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}},l=function(e,i,t){var a,d=t!=null&&t.addSuffix?u[e].withPreposition:u[e].standalone;return typeof d=="string"?a=d:i===1?a=d.one:a=d.other.replace("{{count}}",String(i)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"లో":a+" క్రితం":a},m={full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:s({formats:m,defaultWidth:"full"}),time:s({formats:c,defaultWidth:"full"}),dateTime:s({formats:f,defaultWidth:"full"})},P={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"},w=function(e,i,t,a){return P[e]},p={narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},b={narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},g={narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},y={narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},M={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},W={narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},k=function(e,i){var t=Number(e);return t+"వ"},D={ordinalNumber:k,era:r({values:p,defaultWidth:"wide"}),quarter:r({values:b,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:g,defaultWidth:"wide"}),day:r({values:y,defaultWidth:"wide"}),dayPeriod:r({values:M,defaultWidth:"wide",formattingValues:W,defaultFormattingWidth:"wide"})},x=/^(\d+)(వ)?/i,F=/\d+/i,z={narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},V={any:[/^(పూ|శ)/i,/^సా/i]},X={narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},C={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},E={narrow:[/^జ/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూ/i,/^జు/i,/^ఆ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i],any:[/^జన/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూన్/i,/^జులై/i,/^ఆగ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i]},L={narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},S={narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},R={narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},T={any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},Y={ordinalNumber:h({matchPattern:x,parsePattern:F,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:V,defaultParseWidth:"any"}),quarter:o({matchPatterns:X,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:o({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},A={code:"te",formatDistance:l,formatLong:v,formatRelative:w,localize:D,match:Y,options:{weekStartsOn:0,firstWeekContainsDate:1}};export{A as default}; +//# sourceMappingURL=index.fd390468.js.map diff --git a/assets/index.fd390468.js.map b/assets/index.fd390468.js.map new file mode 100644 index 0000000000..b3f3dc43d3 --- /dev/null +++ b/assets/index.fd390468.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.fd390468.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/te/index.js"],"sourcesContent":["// Source: https://www.unicode.org/cldr/charts/32/summary/te.html\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n standalone: {\n one: 'సెకను కన్నా తక్కువ',\n other: '{{count}} సెకన్ల కన్నా తక్కువ'\n },\n withPreposition: {\n one: 'సెకను',\n other: '{{count}} సెకన్ల'\n }\n },\n xSeconds: {\n standalone: {\n one: 'ఒక సెకను',\n // CLDR #1314\n other: '{{count}} సెకన్ల'\n },\n withPreposition: {\n one: 'ఒక సెకను',\n other: '{{count}} సెకన్ల'\n }\n },\n halfAMinute: {\n standalone: 'అర నిమిషం',\n withPreposition: 'అర నిమిషం'\n },\n lessThanXMinutes: {\n standalone: {\n one: 'ఒక నిమిషం కన్నా తక్కువ',\n other: '{{count}} నిమిషాల కన్నా తక్కువ'\n },\n withPreposition: {\n one: 'ఒక నిమిషం',\n other: '{{count}} నిమిషాల'\n }\n },\n xMinutes: {\n standalone: {\n one: 'ఒక నిమిషం',\n // CLDR #1311\n other: '{{count}} నిమిషాలు'\n },\n withPreposition: {\n one: 'ఒక నిమిషం',\n // CLDR #1311\n other: '{{count}} నిమిషాల'\n }\n },\n aboutXHours: {\n standalone: {\n one: 'సుమారు ఒక గంట',\n other: 'సుమారు {{count}} గంటలు'\n },\n withPreposition: {\n one: 'సుమారు ఒక గంట',\n other: 'సుమారు {{count}} గంటల'\n }\n },\n xHours: {\n standalone: {\n one: 'ఒక గంట',\n // CLDR #1308\n other: '{{count}} గంటలు'\n },\n withPreposition: {\n one: 'ఒక గంట',\n other: '{{count}} గంటల'\n }\n },\n xDays: {\n standalone: {\n one: 'ఒక రోజు',\n // CLDR #1292\n other: '{{count}} రోజులు'\n },\n withPreposition: {\n one: 'ఒక రోజు',\n other: '{{count}} రోజుల'\n }\n },\n aboutXWeeks: {\n standalone: {\n one: 'సుమారు ఒక వారం',\n other: 'సుమారు {{count}} వారాలు'\n },\n withPreposition: {\n one: 'సుమారు ఒక వారం',\n other: 'సుమారు {{count}} వారాలల'\n }\n },\n xWeeks: {\n standalone: {\n one: 'ఒక వారం',\n other: '{{count}} వారాలు'\n },\n withPreposition: {\n one: 'ఒక వారం',\n other: '{{count}} వారాలల'\n }\n },\n aboutXMonths: {\n standalone: {\n one: 'సుమారు ఒక నెల',\n other: 'సుమారు {{count}} నెలలు'\n },\n withPreposition: {\n one: 'సుమారు ఒక నెల',\n other: 'సుమారు {{count}} నెలల'\n }\n },\n xMonths: {\n standalone: {\n one: 'ఒక నెల',\n // CLDR #1281\n other: '{{count}} నెలలు'\n },\n withPreposition: {\n one: 'ఒక నెల',\n other: '{{count}} నెలల'\n }\n },\n aboutXYears: {\n standalone: {\n one: 'సుమారు ఒక సంవత్సరం',\n other: 'సుమారు {{count}} సంవత్సరాలు'\n },\n withPreposition: {\n one: 'సుమారు ఒక సంవత్సరం',\n other: 'సుమారు {{count}} సంవత్సరాల'\n }\n },\n xYears: {\n standalone: {\n one: 'ఒక సంవత్సరం',\n // CLDR #1275\n other: '{{count}} సంవత్సరాలు'\n },\n withPreposition: {\n one: 'ఒక సంవత్సరం',\n other: '{{count}} సంవత్సరాల'\n }\n },\n overXYears: {\n standalone: {\n one: 'ఒక సంవత్సరం పైగా',\n other: '{{count}} సంవత్సరాలకు పైగా'\n },\n withPreposition: {\n one: 'ఒక సంవత్సరం',\n other: '{{count}} సంవత్సరాల'\n }\n },\n almostXYears: {\n standalone: {\n one: 'దాదాపు ఒక సంవత్సరం',\n other: 'దాదాపు {{count}} సంవత్సరాలు'\n },\n withPreposition: {\n one: 'దాదాపు ఒక సంవత్సరం',\n other: 'దాదాపు {{count}} సంవత్సరాల'\n }\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + 'లో';\n } else {\n return result + ' క్రితం';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\"; // Source: https://www.unicode.org/cldr/charts/32/summary/te.html\n// CLDR #1807 - #1811\n\nvar dateFormats = {\n full: 'd, MMMM y, EEEE',\n long: 'd MMMM, y',\n medium: 'd MMM, y',\n short: 'dd-MM-yy'\n}; // CLDR #1807 - #1811\n\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n}; // CLDR #1815 - #1818\n\nvar dateTimeFormats = {\n full: \"{{date}} {{time}}'కి'\",\n long: \"{{date}} {{time}}'కి'\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","// Source: https://www.unicode.org/cldr/charts/32/summary/te.html\nvar formatRelativeLocale = {\n lastWeek: \"'గత' eeee p\",\n // CLDR #1384\n yesterday: \"'నిన్న' p\",\n // CLDR #1393\n today: \"'ఈ రోజు' p\",\n // CLDR #1394\n tomorrow: \"'రేపు' p\",\n // CLDR #1395\n nextWeek: \"'తదుపరి' eeee p\",\n // CLDR #1386\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\"; // Source: https://www.unicode.org/cldr/charts/32/summary/te.html\n// Source: https://dsal.uchicago.edu/dictionaries/brown/\n// CLDR #1605 - #1608\n\nvar eraValues = {\n narrow: ['క్రీ.పూ.', 'క్రీ.శ.'],\n abbreviated: ['క్రీ.పూ.', 'క్రీ.శ.'],\n wide: ['క్రీస్తు పూర్వం', 'క్రీస్తుశకం']\n}; // CLDR #1613 - #1628\n\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['త్రై1', 'త్రై2', 'త్రై3', 'త్రై4'],\n wide: ['1వ త్రైమాసికం', '2వ త్రైమాసికం', '3వ త్రైమాసికం', '4వ త్రైమాసికం']\n}; // CLDR #1637 - #1708\n\nvar monthValues = {\n narrow: ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'],\n abbreviated: ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'],\n wide: ['జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', 'డిసెంబర్']\n}; // CLDR #1709 - #1764\n\nvar dayValues = {\n narrow: ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'],\n short: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'],\n abbreviated: ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'],\n wide: ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం']\n}; // CLDR #1767 - #1806\n\nvar dayPeriodValues = {\n narrow: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n },\n abbreviated: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n },\n wide: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n },\n abbreviated: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n },\n wide: {\n am: 'పూర్వాహ్నం',\n pm: 'అపరాహ్నం',\n midnight: 'అర్ధరాత్రి',\n noon: 'మిట్టమధ్యాహ్నం',\n morning: 'ఉదయం',\n afternoon: 'మధ్యాహ్నం',\n evening: 'సాయంత్రం',\n night: 'రాత్రి'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'వ';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(వ)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(క్రీ\\.పూ\\.|క్రీ\\.శ\\.)/i,\n abbreviated: /^(క్రీ\\.?\\s?పూ\\.?|ప్ర\\.?\\s?శ\\.?\\s?పూ\\.?|క్రీ\\.?\\s?శ\\.?|సా\\.?\\s?శ\\.?)/i,\n wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i\n};\nvar parseEraPatterns = {\n any: [/^(పూ|శ)/i, /^సా/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^త్రై[1234]/i,\n wide: /^[1234](వ)? త్రైమాసికం/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,\n abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,\n wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^జ/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూ/i, /^జు/i, /^ఆ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i],\n any: [/^జన/i, /^ఫి/i, /^మా/i, /^ఏ/i, /^మే/i, /^జూన్/i, /^జులై/i, /^ఆగ/i, /^సె/i, /^అ/i, /^న/i, /^డి/i]\n};\nvar matchDayPatterns = {\n narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i,\n short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,\n abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,\n wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i],\n any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,\n any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^పూర్వాహ్నం/i,\n pm: /^అపరాహ్నం/i,\n midnight: /^అర్ధ/i,\n noon: /^మిట్ట/i,\n morning: /ఉదయం/i,\n afternoon: /మధ్యాహ్నం/i,\n evening: /సాయంత్రం/i,\n night: /రాత్రి/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Telugu locale\n * @language Telugu\n * @iso-639-2 tel\n * @author Kranthi Lakum [@kranthilakum]{@link https://github.com/kranthilakum}\n */\n\nvar locale = {\n code: 'te',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVACA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,WAAY,CACV,IAAK,qBACL,MAAO,+BACR,EACD,gBAAiB,CACf,IAAK,QACL,MAAO,kBACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,WAEL,MAAO,kBACR,EACD,gBAAiB,CACf,IAAK,WACL,MAAO,kBACR,CACF,EACD,YAAa,CACX,WAAY,YACZ,gBAAiB,WAClB,EACD,iBAAkB,CAChB,WAAY,CACV,IAAK,yBACL,MAAO,gCACR,EACD,gBAAiB,CACf,IAAK,YACL,MAAO,mBACR,CACF,EACD,SAAU,CACR,WAAY,CACV,IAAK,YAEL,MAAO,oBACR,EACD,gBAAiB,CACf,IAAK,YAEL,MAAO,mBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,gBACL,MAAO,wBACR,EACD,gBAAiB,CACf,IAAK,gBACL,MAAO,uBACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,SAEL,MAAO,iBACR,EACD,gBAAiB,CACf,IAAK,SACL,MAAO,gBACR,CACF,EACD,MAAO,CACL,WAAY,CACV,IAAK,UAEL,MAAO,kBACR,EACD,gBAAiB,CACf,IAAK,UACL,MAAO,iBACR,CACF,EACD,YAAa,CACX,WAAY,CACV,IAAK,iBACL,MAAO,yBACR,EACD,gBAAiB,CACf,IAAK,iBACL,MAAO,yBACR,CACF,EACD,OAAQ,CACN,WAAY,CACV,IAAK,UACL,MAAO,kBACR,EACD,gBAAiB,CACf,IAAK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,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EClFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.fde568dc.js b/assets/index.fde568dc.js new file mode 100644 index 0000000000..6c988ec298 --- /dev/null +++ b/assets/index.fde568dc.js @@ -0,0 +1,2 @@ +import{d as s,e as o,f as m,g as l}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var d={lessThanXSeconds:{one:"inqas minn sekonda",other:"inqas minn {{count}} sekondi"},xSeconds:{one:"sekonda",other:"{{count}} sekondi"},halfAMinute:"nofs minuta",lessThanXMinutes:{one:"inqas minn minuta",other:"inqas minn {{count}} minuti"},xMinutes:{one:"minuta",other:"{{count}} minuti"},aboutXHours:{one:"madwar siegħa",other:"madwar {{count}} siegħat"},xHours:{one:"siegħa",other:"{{count}} siegħat"},xDays:{one:"ġurnata",other:"{{count}} ġranet"},aboutXWeeks:{one:"madwar ġimgħa",other:"madwar {{count}} ġimgħat"},xWeeks:{one:"ġimgħa",other:"{{count}} ġimgħat"},aboutXMonths:{one:"madwar xahar",other:"madwar {{count}} xhur"},xMonths:{one:"xahar",other:"{{count}} xhur"},aboutXYears:{one:"madwar sena",two:"madwar sentejn",other:"madwar {{count}} snin"},xYears:{one:"sena",two:"sentejn",other:"{{count}} snin"},overXYears:{one:"aktar minn sena",two:"aktar minn sentejn",other:"aktar minn {{count}} snin"},almostXYears:{one:"kważi sena",two:"kważi sentejn",other:"kważi {{count}} snin"}},u=function(a,r,e){var i,t=d[a];return typeof t=="string"?i=t:r===1?i=t.one:r===2&&t.two?i=t.two:i=t.other.replace("{{count}}",String(r)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"f'"+i:i+" ilu":i},f={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},h={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},w={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},g={date:s({formats:f,defaultWidth:"full"}),time:s({formats:h,defaultWidth:"full"}),dateTime:s({formats:w,defaultWidth:"full"})},v={lastWeek:"eeee 'li għadda' 'fil-'p",yesterday:"'Il-bieraħ fil-'p",today:"'Illum fil-'p",tomorrow:"'Għada fil-'p",nextWeek:"eeee 'fil-'p",other:"P"},b=function(a,r,e,i){return v[a]},c={narrow:["Q","W"],abbreviated:["QK","WK"],wide:["qabel Kristu","wara Kristu"]},j={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kwart","2. kwart","3. kwart","4. kwart"]},p={narrow:["J","F","M","A","M","Ġ","L","A","S","O","N","D"],abbreviated:["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Aww","Set","Ott","Nov","Diċ"],wide:["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awwissu","Settembru","Ottubru","Novembru","Diċembru"]},y={narrow:["Ħ","T","T","E","Ħ","Ġ","S"],short:["Ħa","Tn","Tl","Er","Ħa","Ġi","Si"],abbreviated:["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"],wide:["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"]},P={narrow:{am:"a",pm:"p",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"},abbreviated:{am:"AM",pm:"PM",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"},wide:{am:"a.m.",pm:"p.m.",midnight:"nofsillejl",noon:"nofsinhar",morning:"għodwa",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"lejl"}},M={narrow:{am:"a",pm:"p",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"},abbreviated:{am:"AM",pm:"PM",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"},wide:{am:"a.m.",pm:"p.m.",midnight:"f'nofsillejl",noon:"f'nofsinhar",morning:"filgħodu",afternoon:"wara nofsinhar",evening:"filgħaxija",night:"billejl"}},k=function(a,r){var e=Number(a);return e+"º"},W={ordinalNumber:k,era:o({values:c,defaultWidth:"wide"}),quarter:o({values:j,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:o({values:p,defaultWidth:"wide"}),day:o({values:y,defaultWidth:"wide"}),dayPeriod:o({values:P,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},x=/^(\d+)(º)?/i,D=/\d+/i,q={narrow:/^(q|w)/i,abbreviated:/^(q\.?\s?k\.?|b\.?\s?c\.?\s?e\.?|w\.?\s?k\.?)/i,wide:/^(qabel kristu|before common era|wara kristu|common era)/i},F={any:[/^(q|b)/i,/^(w|c)/i]},S={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](\.)? kwart/i},T={any:[/1/i,/2/i,/3/i,/4/i]},z={narrow:/^[jfmaglsond]/i,abbreviated:/^(jan|fra|mar|apr|mej|ġun|lul|aww|set|ott|nov|diċ)/i,wide:/^(jannar|frar|marzu|april|mejju|ġunju|lulju|awwissu|settembru|ottubru|novembru|diċembru)/i},E={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^ġ/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mej/i,/^ġ/i,/^l/i,/^aw/i,/^s/i,/^o/i,/^n/i,/^d/i]},H={narrow:/^[ħteġs]/i,short:/^(ħa|tn|tl|er|ħa|ġi|si)/i,abbreviated:/^(ħad|tne|tli|erb|ħam|ġim|sib)/i,wide:/^(il-ħadd|it-tnejn|it-tlieta|l-erbgħa|il-ħamis|il-ġimgħa|is-sibt)/i},L={narrow:[/^ħ/i,/^t/i,/^t/i,/^e/i,/^ħ/i,/^ġ/i,/^s/i],any:[/^(il-)?ħad/i,/^(it-)?tn/i,/^(it-)?tl/i,/^(l-)?er/i,/^(il-)?ham/i,/^(il-)?ġi/i,/^(is-)?si/i]},N={narrow:/^(a|p|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i,any:/^([ap]\.?\s?m\.?|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i},A={any:{am:/^a/i,pm:/^p/i,midnight:/^f'nofsillejl/i,noon:/^f'nofsinhar/i,morning:/għodwa/i,afternoon:/wara(\s.*)nofsinhar/i,evening:/filgħaxija/i,night:/lejl/i}},I={ordinalNumber:m({matchPattern:x,parsePattern:D,valueCallback:function(a){return parseInt(a,10)}}),era:l({matchPatterns:q,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),quarter:l({matchPatterns:S,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:l({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:l({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:N,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})},Q={code:"mt",formatDistance:u,formatLong:g,formatRelative:b,localize:W,match:I,options:{weekStartsOn:1,firstWeekContainsDate:4}};export{Q as default}; +//# sourceMappingURL=index.fde568dc.js.map diff --git a/assets/index.fde568dc.js.map b/assets/index.fde568dc.js.map new file mode 100644 index 0000000000..e659ee6524 --- /dev/null +++ b/assets/index.fde568dc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.fde568dc.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/mt/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'inqas minn sekonda',\n other: 'inqas minn {{count}} sekondi'\n },\n xSeconds: {\n one: 'sekonda',\n other: '{{count}} sekondi'\n },\n halfAMinute: 'nofs minuta',\n lessThanXMinutes: {\n one: 'inqas minn minuta',\n other: 'inqas minn {{count}} minuti'\n },\n xMinutes: {\n one: 'minuta',\n other: '{{count}} minuti'\n },\n aboutXHours: {\n one: 'madwar siegħa',\n other: 'madwar {{count}} siegħat'\n },\n xHours: {\n one: 'siegħa',\n other: '{{count}} siegħat'\n },\n xDays: {\n one: 'ġurnata',\n other: '{{count}} ġranet'\n },\n aboutXWeeks: {\n one: 'madwar ġimgħa',\n other: 'madwar {{count}} ġimgħat'\n },\n xWeeks: {\n one: 'ġimgħa',\n other: '{{count}} ġimgħat'\n },\n aboutXMonths: {\n one: 'madwar xahar',\n other: 'madwar {{count}} xhur'\n },\n xMonths: {\n one: 'xahar',\n other: '{{count}} xhur'\n },\n aboutXYears: {\n one: 'madwar sena',\n two: 'madwar sentejn',\n other: 'madwar {{count}} snin'\n },\n xYears: {\n one: 'sena',\n two: 'sentejn',\n other: '{{count}} snin'\n },\n overXYears: {\n one: 'aktar minn sena',\n two: 'aktar minn sentejn',\n other: 'aktar minn {{count}} snin'\n },\n almostXYears: {\n one: 'kważi sena',\n two: 'kważi sentejn',\n other: 'kważi {{count}} snin'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 2 && tokenValue.two) {\n result = tokenValue.two;\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"f'\" + result;\n } else {\n return result + ' ilu';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n long: 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n short: 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n long: '{{date}} {{time}}',\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"eeee 'li għadda' 'fil-'p\",\n yesterday: \"'Il-bieraħ fil-'p\",\n today: \"'Illum fil-'p\",\n tomorrow: \"'Għada fil-'p\",\n nextWeek: \"eeee 'fil-'p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['Q', 'W'],\n abbreviated: ['QK', 'WK'],\n wide: ['qabel Kristu', 'wara Kristu']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1. kwart', '2. kwart', '3. kwart', '4. kwart']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'],\n wide: ['Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'Diċembru']\n};\nvar dayValues = {\n narrow: ['Ħ', 'T', 'T', 'E', 'Ħ', 'Ġ', 'S'],\n short: ['Ħa', 'Tn', 'Tl', 'Er', 'Ħa', 'Ġi', 'Si'],\n abbreviated: ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'],\n wide: ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'nofsillejl',\n noon: 'nofsinhar',\n morning: 'għodwa',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'lejl'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'nofsillejl',\n noon: 'nofsinhar',\n morning: 'għodwa',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'lejl'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'nofsillejl',\n noon: 'nofsinhar',\n morning: 'għodwa',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'lejl'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: \"f'nofsillejl\",\n noon: \"f'nofsinhar\",\n morning: 'filgħodu',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'billejl'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: \"f'nofsillejl\",\n noon: \"f'nofsinhar\",\n morning: 'filgħodu',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'billejl'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: \"f'nofsillejl\",\n noon: \"f'nofsinhar\",\n morning: 'filgħodu',\n afternoon: 'wara nofsinhar',\n evening: 'filgħaxija',\n night: 'billejl'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + 'º';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(º)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(q|w)/i,\n abbreviated: /^(q\\.?\\s?k\\.?|b\\.?\\s?c\\.?\\s?e\\.?|w\\.?\\s?k\\.?)/i,\n wide: /^(qabel kristu|before common era|wara kristu|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^(q|b)/i, /^(w|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^k[1234]/i,\n wide: /^[1234](\\.)? kwart/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmaglsond]/i,\n abbreviated: /^(jan|fra|mar|apr|mej|ġun|lul|aww|set|ott|nov|diċ)/i,\n wide: /^(jannar|frar|marzu|april|mejju|ġunju|lulju|awwissu|settembru|ottubru|novembru|diċembru)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^ġ/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mej/i, /^ġ/i, /^l/i, /^aw/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[ħteġs]/i,\n short: /^(ħa|tn|tl|er|ħa|ġi|si)/i,\n abbreviated: /^(ħad|tne|tli|erb|ħam|ġim|sib)/i,\n wide: /^(il-ħadd|it-tnejn|it-tlieta|l-erbgħa|il-ħamis|il-ġimgħa|is-sibt)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ħ/i, /^t/i, /^t/i, /^e/i, /^ħ/i, /^ġ/i, /^s/i],\n any: [/^(il-)?ħad/i, /^(it-)?tn/i, /^(it-)?tl/i, /^(l-)?er/i, /^(il-)?ham/i, /^(il-)?ġi/i, /^(is-)?si/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i,\n any: /^([ap]\\.?\\s?m\\.?|f'nofsillejl|f'nofsinhar|(ta') (għodwa|wara nofsinhar|filgħaxija|lejl))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^f'nofsillejl/i,\n noon: /^f'nofsinhar/i,\n morning: /għodwa/i,\n afternoon: /wara(\\s.*)nofsinhar/i,\n evening: /filgħaxija/i,\n night: /lejl/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Maltese locale.\n * @language Maltese\n * @iso-639-2 mlt\n * @author Andras Matzon [@amatzon](@link https://github.com/amatzon)\n * @author Bryan Borg [@bryanMt](@link https://github.com/bryanMt)\n */\n\nvar locale = {\n code: 'mt',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,qBACL,MAAO,8BACR,EACD,SAAU,CACR,IAAK,UACL,MAAO,mBACR,EACD,YAAa,cACb,iBAAkB,CAChB,IAAK,oBACL,MAAO,6BACR,EACD,SAAU,CACR,IAAK,SACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,mBACR,EACD,MAAO,CACL,IAAK,UACL,MAAO,kBACR,EACD,YAAa,CACX,IAAK,gBACL,MAAO,0BACR,EACD,OAAQ,CACN,IAAK,SACL,MAAO,mBACR,EACD,aAAc,CACZ,IAAK,eACL,MAAO,uBACR,EACD,QAAS,CACP,IAAK,QACL,MAAO,gBACR,EACD,YAAa,CACX,IAAK,cACL,IAAK,iBACL,MAAO,uBACR,EACD,OAAQ,CACN,IAAK,OACL,IAAK,UACL,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AAc,YAAa,cAAe,aAAc,YAAY,CACzG,EACIC,EAAyB,CAC3B,OAAQ,iFACR,IAAK,2FACP,EACIC,EAAyB,CAC3B,IAAK,CACH,GAAI,MACJ,GAAI,MACJ,SAAU,iBACV,KAAM,gBACN,QAAS,UACT,UAAW,uBACX,QAAS,cACT,MAAO,OACR,CACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,ECjFIM,EAAS,CACX,KAAM,KACN,eAAgB7C,EAChB,WAAYS,EACZ,eAAgBG,EAChB,SAAUa,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/index.fef22090.js b/assets/index.fef22090.js new file mode 100644 index 0000000000..0836fab703 --- /dev/null +++ b/assets/index.fef22090.js @@ -0,0 +1,2 @@ +import{d as s,e as r,f as d,g as u}from"./LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js";import"./index.72556674.js";import"./Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js";import"./PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js";import"./use-controllable.d8c790f2.js";/*! PatchyVideo/Platinum by VoileLabs */var l={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}},p=function(e,n,a){var t,o=l[e];return typeof o=="string"?t=o:n===1?a!=null&&a.addSuffix?a.comparison&&a.comparison>0?t=o.one.withPrepositionIn:t=o.one.withPrepositionAgo:t=o.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?t=o.dual.replace("{{count}}",String(n)):t=o.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"za "+t:"prije "+t:t},m={full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},v={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},j={date:s({formats:m,defaultWidth:"full"}),time:s({formats:v,defaultWidth:"full"}),dateTime:s({formats:h,defaultWidth:"full"})},c={lastWeek:function(e){switch(e.getUTCDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:function(e){switch(e.getUTCDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"},g=function(e,n,a,t){var o=c[e];return typeof o=="function"?o(n):o},k={narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},f={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},P={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},w={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},b={narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},M={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},y={narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},W=function(e,n){var a=Number(e);return a+"."},A={ordinalNumber:W,era:r({values:k,defaultWidth:"wide"}),quarter:r({values:f,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:r({values:P,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"}),day:r({values:b,defaultWidth:"wide"}),dayPeriod:r({values:y,defaultWidth:"wide",formattingValues:M,defaultFormattingWidth:"wide"})},z=/^(\d+)\./i,I=/\d+/i,D={narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},E={any:[/^pr/i,/^(po|nova)/i]},x={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},F={any:[/1/i,/2/i,/3/i,/4/i]},H={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},S={narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},V={narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i},C={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},K={any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},N={any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},X={ordinalNumber:d({matchPattern:z,parsePattern:I,valueCallback:function(e){return parseInt(e,10)}}),era:u({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),quarter:u({matchPatterns:x,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:H,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"wide"}),day:u({matchPatterns:V,defaultMatchWidth:"wide",parsePatterns:C,defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:K,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"})},O={code:"hr",formatDistance:p,formatLong:j,formatRelative:g,localize:A,match:X,options:{weekStartsOn:1,firstWeekContainsDate:1}};export{O as default}; +//# sourceMappingURL=index.fef22090.js.map diff --git a/assets/index.fef22090.js.map b/assets/index.fef22090.js.map new file mode 100644 index 0000000000..1aeb639934 --- /dev/null +++ b/assets/index.fef22090.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.fef22090.js","sources":["../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/_lib/formatDistance/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/_lib/formatLong/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/_lib/formatRelative/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/_lib/localize/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/_lib/match/index.js","../../node_modules/.pnpm/date-fns@2.29.3/node_modules/date-fns/esm/locale/hr/index.js"],"sourcesContent":["var formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n standalone: 'manje od 1 sekunde',\n withPrepositionAgo: 'manje od 1 sekunde',\n withPrepositionIn: 'manje od 1 sekundu'\n },\n dual: 'manje od {{count}} sekunde',\n other: 'manje od {{count}} sekundi'\n },\n xSeconds: {\n one: {\n standalone: '1 sekunda',\n withPrepositionAgo: '1 sekunde',\n withPrepositionIn: '1 sekundu'\n },\n dual: '{{count}} sekunde',\n other: '{{count}} sekundi'\n },\n halfAMinute: 'pola minute',\n lessThanXMinutes: {\n one: {\n standalone: 'manje od 1 minute',\n withPrepositionAgo: 'manje od 1 minute',\n withPrepositionIn: 'manje od 1 minutu'\n },\n dual: 'manje od {{count}} minute',\n other: 'manje od {{count}} minuta'\n },\n xMinutes: {\n one: {\n standalone: '1 minuta',\n withPrepositionAgo: '1 minute',\n withPrepositionIn: '1 minutu'\n },\n dual: '{{count}} minute',\n other: '{{count}} minuta'\n },\n aboutXHours: {\n one: {\n standalone: 'oko 1 sat',\n withPrepositionAgo: 'oko 1 sat',\n withPrepositionIn: 'oko 1 sat'\n },\n dual: 'oko {{count}} sata',\n other: 'oko {{count}} sati'\n },\n xHours: {\n one: {\n standalone: '1 sat',\n withPrepositionAgo: '1 sat',\n withPrepositionIn: '1 sat'\n },\n dual: '{{count}} sata',\n other: '{{count}} sati'\n },\n xDays: {\n one: {\n standalone: '1 dan',\n withPrepositionAgo: '1 dan',\n withPrepositionIn: '1 dan'\n },\n dual: '{{count}} dana',\n other: '{{count}} dana'\n },\n aboutXWeeks: {\n one: {\n standalone: 'oko 1 tjedan',\n withPrepositionAgo: 'oko 1 tjedan',\n withPrepositionIn: 'oko 1 tjedan'\n },\n dual: 'oko {{count}} tjedna',\n other: 'oko {{count}} tjedana'\n },\n xWeeks: {\n one: {\n standalone: '1 tjedan',\n withPrepositionAgo: '1 tjedan',\n withPrepositionIn: '1 tjedan'\n },\n dual: '{{count}} tjedna',\n other: '{{count}} tjedana'\n },\n aboutXMonths: {\n one: {\n standalone: 'oko 1 mjesec',\n withPrepositionAgo: 'oko 1 mjesec',\n withPrepositionIn: 'oko 1 mjesec'\n },\n dual: 'oko {{count}} mjeseca',\n other: 'oko {{count}} mjeseci'\n },\n xMonths: {\n one: {\n standalone: '1 mjesec',\n withPrepositionAgo: '1 mjesec',\n withPrepositionIn: '1 mjesec'\n },\n dual: '{{count}} mjeseca',\n other: '{{count}} mjeseci'\n },\n aboutXYears: {\n one: {\n standalone: 'oko 1 godinu',\n withPrepositionAgo: 'oko 1 godinu',\n withPrepositionIn: 'oko 1 godinu'\n },\n dual: 'oko {{count}} godine',\n other: 'oko {{count}} godina'\n },\n xYears: {\n one: {\n standalone: '1 godina',\n withPrepositionAgo: '1 godine',\n withPrepositionIn: '1 godinu'\n },\n dual: '{{count}} godine',\n other: '{{count}} godina'\n },\n overXYears: {\n one: {\n standalone: 'preko 1 godinu',\n withPrepositionAgo: 'preko 1 godinu',\n withPrepositionIn: 'preko 1 godinu'\n },\n dual: 'preko {{count}} godine',\n other: 'preko {{count}} godina'\n },\n almostXYears: {\n one: {\n standalone: 'gotovo 1 godinu',\n withPrepositionAgo: 'gotovo 1 godinu',\n withPrepositionIn: 'gotovo 1 godinu'\n },\n dual: 'gotovo {{count}} godine',\n other: 'gotovo {{count}} godina'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n result = tokenValue.one.withPrepositionIn;\n } else {\n result = tokenValue.one.withPrepositionAgo;\n }\n } else {\n result = tokenValue.one.standalone;\n }\n } else if (count % 10 > 1 && count % 10 < 5 && // if last digit is between 2 and 4\n String(count).substr(-2, 1) !== '1' // unless the 2nd to last digit is \"1\"\n ) {\n result = tokenValue.dual.replace('{{count}}', String(count));\n } else {\n result = tokenValue.other.replace('{{count}}', String(count));\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'za ' + result;\n } else {\n return 'prije ' + result;\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, d. MMMM y.',\n long: 'd. MMMM y.',\n medium: 'd. MMM y.',\n short: 'dd. MM. y.'\n};\nvar timeFormats = {\n full: 'HH:mm:ss (zzzz)',\n long: 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n short: 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'u' {{time}}\",\n long: \"{{date}} 'u' {{time}}\",\n medium: '{{date}} {{time}}',\n short: '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: function lastWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'prošlu nedjelju u' p\";\n\n case 3:\n return \"'prošlu srijedu u' p\";\n\n case 6:\n return \"'prošlu subotu u' p\";\n\n default:\n return \"'prošli' EEEE 'u' p\";\n }\n },\n yesterday: \"'jučer u' p\",\n today: \"'danas u' p\",\n tomorrow: \"'sutra u' p\",\n nextWeek: function nextWeek(date) {\n switch (date.getUTCDay()) {\n case 0:\n return \"'iduću nedjelju u' p\";\n\n case 3:\n return \"'iduću srijedu u' p\";\n\n case 6:\n return \"'iduću subotu u' p\";\n\n default:\n return \"'prošli' EEEE 'u' p\";\n }\n },\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, date, _baseDate, _options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date);\n }\n\n return format;\n};\n\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['pr.n.e.', 'AD'],\n abbreviated: ['pr. Kr.', 'po. Kr.'],\n wide: ['Prije Krista', 'Poslije Krista']\n};\nvar quarterValues = {\n narrow: ['1.', '2.', '3.', '4.'],\n abbreviated: ['1. kv.', '2. kv.', '3. kv.', '4. kv.'],\n wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']\n};\nvar monthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],\n wide: ['siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac']\n};\nvar formattingMonthValues = {\n narrow: ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],\n abbreviated: ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],\n wide: ['siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenog', 'prosinca']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'U', 'S', 'Č', 'P', 'S'],\n short: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],\n abbreviated: ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],\n wide: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota']\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'popodne',\n evening: 'navečer',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'popodne',\n evening: 'navečer',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'poslije podne',\n evening: 'navečer',\n night: 'noću'\n }\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'popodne',\n evening: 'navečer',\n night: 'noću'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'popodne',\n evening: 'navečer',\n night: 'noću'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'ponoć',\n noon: 'podne',\n morning: 'ujutro',\n afternoon: 'poslije podne',\n evening: 'navečer',\n night: 'noću'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + '.';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)\\./i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pr\\.n\\.e\\.|AD)/i,\n abbreviated: /^(pr\\.\\s?Kr\\.|po\\.\\s?Kr\\.)/i,\n wide: /^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|nova)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\.\\s?kv\\.?/i,\n wide: /^[1234]\\. kvartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(10|11|12|[123456789])\\./i,\n abbreviated: /^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,\n wide: /^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i\n};\nvar parseMonthPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i, /8/i, /9/i, /10/i, /11/i, /12/i],\n abbreviated: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i],\n wide: [/^sij/i, /^velj/i, /^(ožu|ozu)/i, /^tra/i, /^svi/i, /^lip/i, /^srp/i, /^kol/i, /^ruj/i, /^lis/i, /^stu/i, /^pro/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusčc]/i,\n short: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,\n abbreviated: /^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,\n wide: /^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^pono/i,\n noon: /^pod/i,\n morning: /jutro/i,\n afternoon: /(poslije\\s|po)+podne/i,\n evening: /(navece|naveče)/i,\n night: /(nocu|noću)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'wide'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary Croatian locale.\n * @language Croatian\n * @iso-639-2 hrv\n * @author Matija Marohnić [@silvenon]{@link https://github.com/silvenon}\n * @author Manico [@manico]{@link https://github.com/manico}\n * @author Ivan Jeržabek [@jerzabek]{@link https://github.com/jerzabek}\n */\n\nvar locale = {\n code: 'hr',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","date","formatRelative","_baseDate","_options","format","eraValues","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayPeriodValues","dayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","locale"],"mappings":"sVAAA,IAAIA,EAAuB,CACzB,iBAAkB,CAChB,IAAK,CACH,WAAY,qBACZ,mBAAoB,qBACpB,kBAAmB,oBACpB,EACD,KAA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ACH,EACIC,EAAQ,CACV,cAAeC,EAAoB,CACjC,aAAcb,EACd,aAAcC,EACd,cAAe,SAAuBa,EAAO,CAC3C,OAAO,SAASA,EAAO,EAAE,CAC1B,CACL,CAAG,EACD,IAAKC,EAAa,CAChB,cAAeb,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,QAASY,EAAa,CACpB,cAAeX,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACnB,cAAe,SAAuBW,EAAO,CAC3C,OAAOA,EAAQ,CAChB,CACL,CAAG,EACD,MAAOD,EAAa,CAClB,cAAeT,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,MACvB,CAAG,EACD,IAAKQ,EAAa,CAChB,cAAeP,EACf,kBAAmB,OACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,EACD,UAAWM,EAAa,CACtB,cAAeL,EACf,kBAAmB,MACnB,cAAeC,EACf,kBAAmB,KACvB,CAAG,CACH,EChFIM,EAAS,CACX,KAAM,KACN,eAAgB/C,EAChB,WAAYS,EACZ,eAAgBI,EAChB,SAAUc,EACV,MAAOe,EACP,QAAS,CACP,aAAc,EAGd,sBAAuB,CACxB,CACH"} \ No newline at end of file diff --git a/assets/ipfs.ab16cf8b.png b/assets/ipfs.ab16cf8b.png new file mode 100644 index 0000000000..4d513ffb18 Binary files /dev/null and b/assets/ipfs.ab16cf8b.png differ diff --git a/assets/resDataStatus.1d07d88c.js b/assets/resDataStatus.1d07d88c.js new file mode 100644 index 0000000000..36c933f3b8 --- /dev/null +++ b/assets/resDataStatus.1d07d88c.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */var R=(E=>(E.SUCCEED="SUCCEED",E.FAILED="FAILED",E.ERROR="ERROR",E))(R||{});export{R as r}; +//# sourceMappingURL=resDataStatus.1d07d88c.js.map diff --git a/assets/resDataStatus.1d07d88c.js.map b/assets/resDataStatus.1d07d88c.js.map new file mode 100644 index 0000000000..8a61c8826e --- /dev/null +++ b/assets/resDataStatus.1d07d88c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"resDataStatus.1d07d88c.js","sources":["../../packages/common/libs/resDataStatus.ts"],"sourcesContent":["export enum resDataStatus {\n SUCCEED = 'SUCCEED',\n FAILED = 'FAILED',\n ERROR = 'ERROR',\n}\n"],"names":["resDataStatus"],"mappings":"wCAAY,IAAAA,GAAAA,IACVA,EAAA,QAAU,UACVA,EAAA,OAAS,SACTA,EAAA,MAAQ,QAHEA,IAAAA,GAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/assets/setSiteTitle.db0fa839.js b/assets/setSiteTitle.db0fa839.js new file mode 100644 index 0000000000..8dcd1c89cc --- /dev/null +++ b/assets/setSiteTitle.db0fa839.js @@ -0,0 +1,2 @@ +/*! PatchyVideo/Platinum by VoileLabs */function e(t){document.title=t}export{e as s}; +//# sourceMappingURL=setSiteTitle.db0fa839.js.map diff --git a/assets/setSiteTitle.db0fa839.js.map b/assets/setSiteTitle.db0fa839.js.map new file mode 100644 index 0000000000..4fc2e0e5c0 --- /dev/null +++ b/assets/setSiteTitle.db0fa839.js.map @@ -0,0 +1 @@ +{"version":3,"file":"setSiteTitle.db0fa839.js","sources":["../../packages/common/libs/setSiteTitle.ts"],"sourcesContent":["export function setSiteTitle(title: string): void {\n document.title = title\n}\n"],"names":["setSiteTitle","title"],"mappings":"wCAAO,SAASA,EAAaC,EAAqB,CAChD,SAAS,MAAQA,CACnB"} \ No newline at end of file diff --git a/assets/use-controllable.d8c790f2.js b/assets/use-controllable.d8c790f2.js new file mode 100644 index 0000000000..1f8a73d78f --- /dev/null +++ b/assets/use-controllable.d8c790f2.js @@ -0,0 +1,5 @@ +import{an as A,W as E,F as P,m as b,a5 as $,B as k,d as N,U as y}from"./index.72556674.js";/*! PatchyVideo/Platinum by VoileLabs */function v(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,v),o}var S=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(S||{}),T=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(T||{});function H({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...r}){var a;let i=U(o,n),u=Object.assign(r,{props:i});if(e||t&2&&i.static)return h(u);if(t&1){let l=(a=i.unmount)==null||a?0:1;return v(l,{[0](){return null},[1](){return h({...r,props:{...i,hidden:!0,style:{display:"none"}}})}})}return h(u)}function h({props:e,attrs:t,slots:n,slot:o,name:r}){var a;let{as:i,...u}=D(e,["unmount","static"]),l=(a=n.default)==null?void 0:a.call(n,o),d={};if(o){let f=!1,p=[];for(let[s,c]of Object.entries(o))typeof c=="boolean"&&(f=!0),c===!0&&p.push(s);f&&(d["data-headlessui-state"]=p.join(" "))}if(i==="template"){if(l=w(l!=null?l:[]),Object.keys(u).length>0||Object.keys(t).length>0){let[f,...p]=l!=null?l:[];if(!R(f)||p.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(u).concat(Object.keys(t)).sort((s,c)=>s.localeCompare(c)).map(s=>` - ${s}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(s=>` - ${s}`).join(` +`)].join(` +`));return A(f,Object.assign({},u,d))}return Array.isArray(l)&&l.length===1?l[0]:l}return E(i,Object.assign({},u,d),l)}function w(e){return e.flatMap(t=>t.type===P?w(t.children):[t])}function U(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let r in o)r.startsWith("on")&&typeof o[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(o[r])):t[r]=o[r];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](r,...a){let i=n[o];for(let u of i){if(r instanceof Event&&r.defaultPrevented)return;u(r,...a)}}});return t}function M(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function D(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function R(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let B=0;function F(){return++B}function W(){return F()}var L=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(L||{});function m(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}function g(e,t){if(e)return e;let n=t!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function V(e,t){let n=b(g(e.value.type,e.value.as));return $(()=>{n.value=g(e.value.type,e.value.as)}),k(()=>{var o;n.value||!m(t)||m(t)instanceof HTMLButtonElement&&!((o=m(t))!=null&&o.hasAttribute("type"))&&(n.value="button")}),n}var x=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(x||{});let Y=N({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:o,...r}=e,a={"aria-hidden":(o&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return H({ourProps:a,theirProps:r,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function C(e={},t=null,n=[]){for(let[o,r]of Object.entries(e))O(n,j(t,o),r);return n}function j(e,t){return e?e+"["+t+"]":t}function O(e,t,n){if(Array.isArray(n))for(let[o,r]of n.entries())O(e,j(t,o.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):C(n,t,e)}function q(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let o of n.elements)if(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image"){o.click();return}}}function z(e,t,n){let o=b(n==null?void 0:n.value),r=y(()=>e.value!==void 0);return[y(()=>r.value?e.value:o.value),function(a){return r.value||(o.value=a),t==null?void 0:t(a)}]}export{H as P,S as R,M as V,x as a,V as b,L as c,z as d,C as e,Y as f,m as o,q as p,W as t,v as u,D as w}; +//# sourceMappingURL=use-controllable.d8c790f2.js.map diff --git a/assets/use-controllable.d8c790f2.js.map b/assets/use-controllable.d8c790f2.js.map new file mode 100644 index 0000000000..eb2800862b --- /dev/null +++ b/assets/use-controllable.d8c790f2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"use-controllable.d8c790f2.js","sources":["../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/match.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/render.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-id.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/keyboard.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/dom.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-resolve-button-type.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/internal/hidden.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/utils/form.js","../../node_modules/.pnpm/@headlessui+vue@1.7.3_vue@3.2.41/node_modules/@headlessui/vue/dist/hooks/use-controllable.js"],"sourcesContent":["function u(r,n,...a){if(r in n){let e=n[r];return typeof e==\"function\"?e(...a):e}let t=new Error(`Tried to handle \"${r}\" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`\"${e}\"`).join(\", \")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,u),t}export{u as match};\n","import{h as m,cloneVNode as h,Fragment as b}from\"vue\";import{match as j}from'./match.js';var R=(o=>(o[o.None=0]=\"None\",o[o.RenderStrategy=1]=\"RenderStrategy\",o[o.Static=2]=\"Static\",o))(R||{}),O=(e=>(e[e.Unmount=0]=\"Unmount\",e[e.Hidden=1]=\"Hidden\",e))(O||{});function P({visible:r=!0,features:t=0,ourProps:e,theirProps:o,...i}){var a;let n=k(o,e),s=Object.assign(i,{props:n});if(r||t&2&&n.static)return p(s);if(t&1){let l=(a=n.unmount)==null||a?0:1;return j(l,{[0](){return null},[1](){return p({...i,props:{...n,hidden:!0,style:{display:\"none\"}}})}})}return p(s)}function p({props:r,attrs:t,slots:e,slot:o,name:i}){var y;let{as:n,...s}=w(r,[\"unmount\",\"static\"]),a=(y=e.default)==null?void 0:y.call(e,o),l={};if(o){let d=!1,u=[];for(let[f,c]of Object.entries(o))typeof c==\"boolean\"&&(d=!0),c===!0&&u.push(f);d&&(l[\"data-headlessui-state\"]=u.join(\" \"))}if(n===\"template\"){if(a=g(a!=null?a:[]),Object.keys(s).length>0||Object.keys(t).length>0){let[d,...u]=a!=null?a:[];if(!x(d)||u.length>0)throw new Error(['Passing props on \"template\"!',\"\",`The current component <${i} /> is rendering a \"template\".`,\"However we need to passthrough the following props:\",Object.keys(s).concat(Object.keys(t)).sort((f,c)=>f.localeCompare(c)).map(f=>` - ${f}`).join(`\n`),\"\",\"You can apply a few solutions:\",['Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"template\".',\"Render a single element as the child so that we can forward the props onto that element.\"].map(f=>` - ${f}`).join(`\n`)].join(`\n`));return h(d,Object.assign({},s,l))}return Array.isArray(a)&&a.length===1?a[0]:a}return m(n,Object.assign({},s,l),a)}function g(r){return r.flatMap(t=>t.type===b?g(t.children):[t])}function k(...r){var o;if(r.length===0)return{};if(r.length===1)return r[0];let t={},e={};for(let i of r)for(let n in i)n.startsWith(\"on\")&&typeof i[n]==\"function\"?((o=e[n])!=null||(e[n]=[]),e[n].push(i[n])):t[n]=i[n];if(t.disabled||t[\"aria-disabled\"])return Object.assign(t,Object.fromEntries(Object.keys(e).map(i=>[i,void 0])));for(let i in e)Object.assign(t,{[i](n,...s){let a=e[i];for(let l of a){if(n instanceof Event&&n.defaultPrevented)return;l(n,...s)}}});return t}function V(r){let t=Object.assign({},r);for(let e in t)t[e]===void 0&&delete t[e];return t}function w(r,t=[]){let e=Object.assign({},r);for(let o of t)o in e&&delete e[o];return e}function x(r){return r==null?!1:typeof r.type==\"string\"||typeof r.type==\"object\"||typeof r.type==\"function\"}export{R as Features,O as RenderStrategy,V as compact,w as omit,P as render};\n","let e=0;function n(){return++e}function t(){return n()}export{t as useId};\n","var o=(r=>(r.Space=\" \",r.Enter=\"Enter\",r.Escape=\"Escape\",r.Backspace=\"Backspace\",r.Delete=\"Delete\",r.ArrowLeft=\"ArrowLeft\",r.ArrowUp=\"ArrowUp\",r.ArrowRight=\"ArrowRight\",r.ArrowDown=\"ArrowDown\",r.Home=\"Home\",r.End=\"End\",r.PageUp=\"PageUp\",r.PageDown=\"PageDown\",r.Tab=\"Tab\",r))(o||{});export{o as Keys};\n","function o(n){var l;return n==null||n.value==null?null:(l=n.value.$el)!=null?l:n.value}export{o as dom};\n","import{ref as f,onMounted as i,watchEffect as l}from\"vue\";import{dom as u}from'../utils/dom.js';function r(t,e){if(t)return t;let n=e!=null?e:\"button\";if(typeof n==\"string\"&&n.toLowerCase()===\"button\")return\"button\"}function b(t,e){let n=f(r(t.value.type,t.value.as));return i(()=>{n.value=r(t.value.type,t.value.as)}),l(()=>{var o;n.value||!u(e)||u(e)instanceof HTMLButtonElement&&!((o=u(e))!=null&&o.hasAttribute(\"type\"))&&(n.value=\"button\")}),n}export{b as useResolveButtonType};\n","import{defineComponent as i}from\"vue\";import{render as p}from'../utils/render.js';var a=(e=>(e[e.None=1]=\"None\",e[e.Focusable=2]=\"Focusable\",e[e.Hidden=4]=\"Hidden\",e))(a||{});let f=i({name:\"Hidden\",props:{as:{type:[Object,String],default:\"div\"},features:{type:Number,default:1}},setup(r,{slots:t,attrs:d}){return()=>{let{features:e,...o}=r,n={\"aria-hidden\":(e&2)===2?!0:void 0,style:{position:\"fixed\",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",borderWidth:\"0\",...(e&4)===4&&(e&2)!==2&&{display:\"none\"}}};return p({ourProps:n,theirProps:o,slot:{},attrs:d,slots:t,name:\"Hidden\"})}}});export{a as Features,f as Hidden};\n","function e(n={},r=null,t=[]){for(let[i,o]of Object.entries(n))f(t,s(r,i),o);return t}function s(n,r){return n?n+\"[\"+r+\"]\":r}function f(n,r,t){if(Array.isArray(t))for(let[i,o]of t.entries())f(n,s(r,i.toString()),o);else t instanceof Date?n.push([r,t.toISOString()]):typeof t==\"boolean\"?n.push([r,t?\"1\":\"0\"]):typeof t==\"string\"?n.push([r,t]):typeof t==\"number\"?n.push([r,`${t}`]):t==null?n.push([r,\"\"]):e(t,r,n)}function p(n){var t;let r=(t=n==null?void 0:n.form)!=null?t:n.closest(\"form\");if(!!r){for(let i of r.elements)if(i.tagName===\"INPUT\"&&i.type===\"submit\"||i.tagName===\"BUTTON\"&&i.type===\"submit\"||i.nodeName===\"INPUT\"&&i.type===\"image\"){i.click();return}}}export{p as attemptSubmit,e as objectToFormEntries};\n","import{computed as p,ref as s}from\"vue\";function d(u,e,r){let i=s(r==null?void 0:r.value),f=p(()=>u.value!==void 0);return[p(()=>f.value?u.value:i.value),function(t){return f.value||(i.value=t),e==null?void 0:e(t)}]}export{d as useControllable};\n"],"names":["u","r","n","a","e","t","R","o","O","P","i","k","s","p","j","y","w","l","d","f","g","x","h","m","b","V"],"mappings":"mIAAA,SAASA,EAAEC,EAAEC,KAAKC,EAAE,CAAC,GAAGF,KAAKC,EAAE,CAAC,IAAIE,EAAEF,EAAED,GAAG,OAAO,OAAOG,GAAG,WAAWA,EAAE,GAAGD,CAAC,EAAEC,CAAC,CAAC,IAAIC,EAAE,IAAI,MAAM,oBAAoBJ,kEAAkE,OAAO,KAAKC,CAAC,EAAE,IAAIE,GAAG,IAAIA,IAAI,EAAE,KAAK,IAAI,IAAI,EAAE,MAAM,MAAM,mBAAmB,MAAM,kBAAkBC,EAAEL,CAAC,EAAEK,CAAC,CCAvM,IAACC,GAAGC,IAAIA,EAAEA,EAAE,KAAK,GAAG,OAAOA,EAAEA,EAAE,eAAe,GAAG,iBAAiBA,EAAEA,EAAE,OAAO,GAAG,SAASA,IAAID,GAAG,CAAA,CAAE,EAAEE,GAAG,IAAI,EAAE,EAAE,QAAQ,GAAG,UAAU,EAAE,EAAE,OAAO,GAAG,SAAS,IAAIA,GAAG,CAAA,CAAE,EAAE,SAASC,EAAE,CAAC,QAAQR,EAAE,GAAG,SAAS,EAAE,EAAE,SAASG,EAAE,WAAW,KAAKM,CAAC,EAAE,CAAC,IAAI,EAAE,IAAIR,EAAES,EAAE,EAAEP,CAAC,EAAEQ,EAAE,OAAO,OAAOF,EAAE,CAAC,MAAMR,CAAC,CAAC,EAAE,GAAGD,GAAG,EAAE,GAAGC,EAAE,OAAO,OAAOW,EAAED,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,GAAG,EAAEV,EAAE,UAAU,MAAM,EAAE,EAAE,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E,CCA9mB,SAASQ,EAAElB,EAAEI,EAAEH,EAAE,CAAC,IAAIS,EAAEE,EAAEX,GAAG,KAAK,OAAOA,EAAE,KAAK,EAAEkB,EAAEN,EAAE,IAAIb,EAAE,QAAQ,MAAM,EAAE,MAAM,CAACa,EAAE,IAAIM,EAAE,MAAMnB,EAAE,MAAMU,EAAE,KAAK,EAAE,SAASL,EAAE,CAAC,OAAOc,EAAE,QAAQT,EAAE,MAAML,GAAGD,GAAG,KAAK,OAAOA,EAAEC,CAAC,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/assets/workbox-window.prod.es5.fc37ce2a.js b/assets/workbox-window.prod.es5.fc37ce2a.js new file mode 100644 index 0000000000..48ad82eb20 --- /dev/null +++ b/assets/workbox-window.prod.es5.fc37ce2a.js @@ -0,0 +1,3 @@ +/*! PatchyVideo/Platinum by VoileLabs */try{self["workbox:window:6.5.3"]&&_()}catch{}function S(t,r){return new Promise(function(e){var i=new MessageChannel;i.port1.onmessage=function(f){e(f.data)},t.postMessage(r,[i.port2])})}function W(t,r){for(var e=0;e<r.length;e++){var i=r[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e<r;e++)i[e]=t[e];return i}function k(t,r){var e;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(e=function(f,d){if(f){if(typeof f=="string")return E(f,d);var h=Object.prototype.toString.call(f).slice(8,-1);return h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set"?Array.from(f):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?E(f,d):void 0}}(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(e=t[Symbol.iterator]()).next.bind(e)}try{self["workbox:core:6.5.3"]&&_()}catch{}var y=function(){var t=this;this.promise=new Promise(function(r,e){t.resolve=r,t.reject=e})};function b(t,r){var e=location.href;return new URL(t,e).href===new URL(r,e).href}var g=function(t,r){this.type=t,Object.assign(this,r)};function p(t,r,e){return e?r?r(t):t:(t&&t.then||(t=Promise.resolve(t)),r?t.then(r):t)}function L(){}var j={type:"SKIP_WAITING"};function P(t,r){if(!r)return t&&t.then?t.then(L):Promise.resolve()}var x=function(t){var r,e;function i(v,c){var n,o;return c===void 0&&(c={}),(n=t.call(this)||this).nn={},n.tn=0,n.rn=new y,n.en=new y,n.on=new y,n.un=0,n.an=new Set,n.cn=function(){var s=n.fn,a=s.installing;n.tn>0||!b(a.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=a,s.removeEventListener("updatefound",n.cn)):(n.hn=a,n.an.add(a),n.rn.resolve(a)),++n.tn,a.addEventListener("statechange",n.ln)},n.ln=function(s){var a=n.fn,u=s.target,l=u.state,m=u===n.vn,w={sw:u,isExternal:m,originalEvent:s};!m&&n.mn&&(w.isUpdate=!0),n.dispatchEvent(new g(l,w)),l==="installed"?n.wn=self.setTimeout(function(){l==="installed"&&a.waiting===u&&n.dispatchEvent(new g("waiting",w))},200):l==="activating"&&(clearTimeout(n.wn),m||n.en.resolve(u))},n.dn=function(s){var a=n.hn,u=a!==navigator.serviceWorker.controller;n.dispatchEvent(new g("controlling",{isExternal:u,originalEvent:s,sw:a,isUpdate:n.mn})),u||n.on.resolve(a)},n.gn=(o=function(s){var a=s.data,u=s.ports,l=s.source;return p(n.getSW(),function(){n.an.has(l)&&n.dispatchEvent(new g("message",{data:a,originalEvent:s,ports:u,sw:l}))})},function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];try{return Promise.resolve(o.apply(this,s))}catch(u){return Promise.reject(u)}}),n.sn=v,n.nn=c,navigator.serviceWorker.addEventListener("message",n.gn),n}e=t,(r=i).prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e;var f,d,h=i.prototype;return h.register=function(v){var c=(v===void 0?{}:v).immediate,n=c!==void 0&&c;try{var o=this;return function(s,a){var u=s();return u&&u.then?u.then(a):a(u)}(function(){if(!n&&document.readyState!=="complete")return P(new Promise(function(s){return window.addEventListener("load",s)}))},function(){return o.mn=Boolean(navigator.serviceWorker.controller),o.yn=o.pn(),p(o.bn(),function(s){o.fn=s,o.yn&&(o.hn=o.yn,o.en.resolve(o.yn),o.on.resolve(o.yn),o.yn.addEventListener("statechange",o.ln,{once:!0}));var a=o.fn.waiting;return a&&b(a.scriptURL,o.sn.toString())&&(o.hn=a,Promise.resolve().then(function(){o.dispatchEvent(new g("waiting",{sw:a,wasWaitingBeforeRegister:!0}))}).then(function(){})),o.hn&&(o.rn.resolve(o.hn),o.an.add(o.hn)),o.fn.addEventListener("updatefound",o.cn),navigator.serviceWorker.addEventListener("controllerchange",o.dn),o.fn})})}catch(s){return Promise.reject(s)}},h.update=function(){try{return this.fn?P(this.fn.update()):void 0}catch(v){return Promise.reject(v)}},h.getSW=function(){return this.hn!==void 0?Promise.resolve(this.hn):this.rn.promise},h.messageSW=function(v){try{return p(this.getSW(),function(c){return S(c,v)})}catch(c){return Promise.reject(c)}},h.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&S(this.fn.waiting,j)},h.pn=function(){var v=navigator.serviceWorker.controller;return v&&b(v.scriptURL,this.sn.toString())?v:void 0},h.bn=function(){try{var v=this;return function(c,n){try{var o=c()}catch(s){return n(s)}return o&&o.then?o.then(void 0,n):o}(function(){return p(navigator.serviceWorker.register(v.sn,v.nn),function(c){return v.un=performance.now(),c})},function(c){throw c})}catch(c){return Promise.reject(c)}},f=i,(d=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&W(f.prototype,d),i}(function(){function t(){this.Pn=new Map}var r=t.prototype;return r.addEventListener=function(e,i){this.Sn(e).add(i)},r.removeEventListener=function(e,i){this.Sn(e).delete(i)},r.dispatchEvent=function(e){e.target=this;for(var i,f=k(this.Sn(e.type));!(i=f()).done;)(0,i.value)(e)},r.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},t}());export{x as Workbox,g as WorkboxEvent,S as messageSW}; +//# sourceMappingURL=workbox-window.prod.es5.fc37ce2a.js.map diff --git a/assets/workbox-window.prod.es5.fc37ce2a.js.map b/assets/workbox-window.prod.es5.fc37ce2a.js.map new file mode 100644 index 0000000000..dcb99f9b53 --- /dev/null +++ b/assets/workbox-window.prod.es5.fc37ce2a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"workbox-window.prod.es5.fc37ce2a.js","sources":["../../node_modules/.pnpm/workbox-window@6.5.4/node_modules/workbox-window/build/workbox-window.prod.es5.mjs"],"sourcesContent":["try{self[\"workbox:window:6.5.3\"]&&_()}catch(n){}function n(n,t){return new Promise((function(r){var e=new MessageChannel;e.port1.onmessage=function(n){r(n.data)},n.postMessage(t,[e.port2])}))}function t(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,\"value\"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function e(n,t){var e;if(\"undefined\"==typeof Symbol||null==n[Symbol.iterator]){if(Array.isArray(n)||(e=function(n,t){if(n){if(\"string\"==typeof n)return r(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return\"Object\"===e&&n.constructor&&(e=n.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(n):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(n,t):void 0}}(n))||t&&n&&\"number\"==typeof n.length){e&&(n=e);var i=0;return function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}return(e=n[Symbol.iterator]()).next.bind(e)}try{self[\"workbox:core:6.5.3\"]&&_()}catch(n){}var i=function(){var n=this;this.promise=new Promise((function(t,r){n.resolve=t,n.reject=r}))};function o(n,t){var r=location.href;return new URL(n,r).href===new URL(t,r).href}var u=function(n,t){this.type=n,Object.assign(this,t)};function a(n,t,r){return r?t?t(n):n:(n&&n.then||(n=Promise.resolve(n)),t?n.then(t):n)}function c(){}var f={type:\"SKIP_WAITING\"};function s(n,t){if(!t)return n&&n.then?n.then(c):Promise.resolve()}var v=function(r){var e,c;function v(n,t){var e,c;return void 0===t&&(t={}),(e=r.call(this)||this).nn={},e.tn=0,e.rn=new i,e.en=new i,e.on=new i,e.un=0,e.an=new Set,e.cn=function(){var n=e.fn,t=n.installing;e.tn>0||!o(t.scriptURL,e.sn.toString())||performance.now()>e.un+6e4?(e.vn=t,n.removeEventListener(\"updatefound\",e.cn)):(e.hn=t,e.an.add(t),e.rn.resolve(t)),++e.tn,t.addEventListener(\"statechange\",e.ln)},e.ln=function(n){var t=e.fn,r=n.target,i=r.state,o=r===e.vn,a={sw:r,isExternal:o,originalEvent:n};!o&&e.mn&&(a.isUpdate=!0),e.dispatchEvent(new u(i,a)),\"installed\"===i?e.wn=self.setTimeout((function(){\"installed\"===i&&t.waiting===r&&e.dispatchEvent(new u(\"waiting\",a))}),200):\"activating\"===i&&(clearTimeout(e.wn),o||e.en.resolve(r))},e.dn=function(n){var t=e.hn,r=t!==navigator.serviceWorker.controller;e.dispatchEvent(new u(\"controlling\",{isExternal:r,originalEvent:n,sw:t,isUpdate:e.mn})),r||e.on.resolve(t)},e.gn=(c=function(n){var t=n.data,r=n.ports,i=n.source;return a(e.getSW(),(function(){e.an.has(i)&&e.dispatchEvent(new u(\"message\",{data:t,originalEvent:n,ports:r,sw:i}))}))},function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];try{return Promise.resolve(c.apply(this,n))}catch(n){return Promise.reject(n)}}),e.sn=n,e.nn=t,navigator.serviceWorker.addEventListener(\"message\",e.gn),e}c=r,(e=v).prototype=Object.create(c.prototype),e.prototype.constructor=e,e.__proto__=c;var h,l,m,w=v.prototype;return w.register=function(n){var t=(void 0===n?{}:n).immediate,r=void 0!==t&&t;try{var e=this;return function(n,t){var r=n();if(r&&r.then)return r.then(t);return t(r)}((function(){if(!r&&\"complete\"!==document.readyState)return s(new Promise((function(n){return window.addEventListener(\"load\",n)})))}),(function(){return e.mn=Boolean(navigator.serviceWorker.controller),e.yn=e.pn(),a(e.bn(),(function(n){e.fn=n,e.yn&&(e.hn=e.yn,e.en.resolve(e.yn),e.on.resolve(e.yn),e.yn.addEventListener(\"statechange\",e.ln,{once:!0}));var t=e.fn.waiting;return t&&o(t.scriptURL,e.sn.toString())&&(e.hn=t,Promise.resolve().then((function(){e.dispatchEvent(new u(\"waiting\",{sw:t,wasWaitingBeforeRegister:!0}))})).then((function(){}))),e.hn&&(e.rn.resolve(e.hn),e.an.add(e.hn)),e.fn.addEventListener(\"updatefound\",e.cn),navigator.serviceWorker.addEventListener(\"controllerchange\",e.dn),e.fn}))}))}catch(n){return Promise.reject(n)}},w.update=function(){try{return this.fn?s(this.fn.update()):void 0}catch(n){return Promise.reject(n)}},w.getSW=function(){return void 0!==this.hn?Promise.resolve(this.hn):this.rn.promise},w.messageSW=function(t){try{return a(this.getSW(),(function(r){return n(r,t)}))}catch(n){return Promise.reject(n)}},w.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&n(this.fn.waiting,f)},w.pn=function(){var n=navigator.serviceWorker.controller;return n&&o(n.scriptURL,this.sn.toString())?n:void 0},w.bn=function(){try{var n=this;return function(n,t){try{var r=n()}catch(n){return t(n)}if(r&&r.then)return r.then(void 0,t);return r}((function(){return a(navigator.serviceWorker.register(n.sn,n.nn),(function(t){return n.un=performance.now(),t}))}),(function(n){throw n}))}catch(n){return Promise.reject(n)}},h=v,(l=[{key:\"active\",get:function(){return this.en.promise}},{key:\"controlling\",get:function(){return this.on.promise}}])&&t(h.prototype,l),m&&t(h,m),v}(function(){function n(){this.Pn=new Map}var t=n.prototype;return t.addEventListener=function(n,t){this.Sn(n).add(t)},t.removeEventListener=function(n,t){this.Sn(n).delete(t)},t.dispatchEvent=function(n){n.target=this;for(var t,r=e(this.Sn(n.type));!(t=r()).done;){(0,t.value)(n)}},t.Sn=function(n){return this.Pn.has(n)||this.Pn.set(n,new Set),this.Pn.get(n)},n}());export{v as Workbox,u as WorkboxEvent,n as messageSW};\n//# sourceMappingURL=workbox-window.prod.es5.mjs.map\n"],"names":["n","t","r","e","i","o","u","a","c","f","s","v","h","l","w"],"mappings":"wCAAA,GAAG,CAAC,KAAK,yBAAyB,EAAC,CAAE,MAAC,CAAU,CAAA,SAASA,EAAEA,EAAEC,EAAE,CAAC,OAAO,IAAI,QAAS,SAASC,EAAE,CAAC,IAAIC,EAAE,IAAI,eAAeA,EAAE,MAAM,UAAU,SAASH,EAAE,CAACE,EAAEF,EAAE,IAAI,CAAC,EAAEA,EAAE,YAAYC,EAAE,CAACE,EAAE,KAAK,CAAC,CAAC,CAAC,CAAE,CAAC,SAASF,EAAED,EAAEC,EAAE,CAAC,QAAQC,EAAE,EAAEA,EAAED,EAAE,OAAOC,IAAI,CAAC,IAAIC,EAAEF,EAAEC,GAAGC,EAAE,WAAWA,EAAE,YAAY,GAAGA,EAAE,aAAa,GAAG,UAAUA,IAAIA,EAAE,SAAS,IAAI,OAAO,eAAeH,EAAEG,EAAE,IAAIA,CAAC,CAAC,CAAC,CAAC,SAASD,EAAEF,EAAEC,EAAE,EAAQA,GAAN,MAASA,EAAED,EAAE,UAAUC,EAAED,EAAE,QAAQ,QAAQE,EAAE,EAAEC,EAAE,IAAI,MAAMF,CAAC,EAAEC,EAAED,EAAEC,IAAIC,EAAED,GAAGF,EAAEE,GAAG,OAAOC,CAAC,CAAC,SAASA,EAAEH,EAAEC,EAAE,CAAC,IAAI,EAAE,GAAgB,OAAO,OAApB,KAAkCD,EAA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.7335aecb.js new file mode 100644 index 0000000000..9908c7262d --- /dev/null +++ b/assets/yue-Hant-HK.7335aecb.js @@ -0,0 +1,3 @@ +/*! PatchyVideo/Platinum by VoileLabs */var e={_info:{name:"粵語中文"},common:{"nav-top":{"main-menu":{home:"主页",video:"视频",list:"播放列表","discuss-board":"讨论板",leaderboard:"用户排行榜",wiki:"网站嘅维基"},"user-operation":{postvideo:"发布视频",tag:"编辑标签"},admin:{admin:"管理员","who-am-I":"视角","super-admin":"管理员嘅页面"},settings:{settings:"设置",darkmode:"深色模式",lang:"显示语言"},user:{"my-message":"我嘅讯息",login:"登录",logout:"退出登录",userprofile:"个人中心",confirming:"系度验证登录紧..."}},footer:{"user-number":"PatchyVideo 正在为 {users} 个似你一样嘅用户提供紧服务!",wiki:"网站嘅维基",status:"网站嘅状态","bl-account":"B站嘅官方帐户",joinus:"招募祈愿",code:"同代码相关嘅啲嘢",repositories:"项目嘅仓库","feedback-issue":"提交反馈",contact:"联系我哋",license:"开源许可",sponsor:"赞助我哋"}},darkmode:{system:"跟随系统",light:"浅色",dark:"深色"},"error-pages":{N404:{title:"巴瓦鲁魔法服务器并冇呢个界面"}},home:{home:{title:"PatchyVideo",hello:"你好世界!",components:{"query-video":{"default-title":"最新嘅上传"}},intro:{follow:"关注帕琪站嘅官方B站帐号",joinus:"加入我哋",medium:"呢系一个静睇度建设嘅新页面",old:"番去旧页面",template:"{medium} 你可以{old}来获得完整的体验,{follow}获取最新进度,或者{joinus}来帮助我哋推进!"}},list:{favorites:"收藏夹"}},locales:{"change-lang-reload-hint":`部分嘅语言修改需要刷新下页面先至生效 +想宜家刷新页面吗?`},main:{"browser-offline":"网络好似用唔到,检查下你嘅网络设置","reload-prompt":{tips:"有新内容更新咗,重新加载嚟应用更新",reload:"重新加载",dismiss:"忽略"}},playlist:{playlist:{collapse:"收起",expand:"展开",info:{"video-count":"{count}个视频",rating:"评分{rating}","edit-date":"最后睇{date}更新"}},"playlist-list":{title:"播放列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"load-failed":"加载失败了QAQ","load-failed-reason":"错误嘅原因:"},successful:{"load-result-count":"一共有{count}个播放列表"}},playlist:{"playlist-count":"一共{count}个视频"},"advanced-search":{name:"高级搜索"}}},leaderboard:{title:"用户排行榜",loading:"少女祈祷中......",failed:{"load-failed":"加载失败咗QAQ","load-failed-reason":"错误嘅原因:"},"tag-contributions":{name:"标签贡献排行榜","edit-time":"编辑咗嘅次数:{count}","date-range":{all:"直到宜佳为止","last-month":"过去嘅一个月","last-week":"过去嘅一个星期","last-day":"过去一日"}}},search:{"search-result":{title:"揾到嘅结果 - ","search-keywords":"揾到嘅结果 - ",order:{"last-modified":"最新嘅修改","video-oldest":"时间倒序"},video:{tab:"视频","main-body":{loading:{searching:"揾紧......"},failed:{"search-failed":"加载失败咗QAQ","search-failed-reason":"错误嘅原因:"},successful:{"search-no-result":"没有揾到视频QAQ","search-result-count":"一共揾到咗{count}个视频"}},video:{"source-site":"源网站:",hidden:"已隐藏"},"visible-sites":{all:"全部",home:"国内嘅网站",abroad:"国外嘅网站"}},playlist:{tab:"播放列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"search-failed":"加载失败了QAQ","search-failed-reason":"错误嘅原因:"},successful:{"search-no-result":"冇揾到播放列表QAQ","search-result-count":"揾到{count}个播放列表"}},playlist:{"playlist-count":"一共{count}个视频"}}},"search-page":{title:"搜索",search:"搜索"},"auto-complete":{search:"搜索",loading:"加载中...","loading-nothing":"冇搜索建议","loading-failed":"加载失败咗QAQ","hot-tags":"热门标签"}},ui:{"back-top":{"back-top":"番到顶部"},"pv-select":{select:"请选择"},"pv-pagination":{alert:"请输入一个有效嘅页数!","page-previous":"上一页","page-next":"下一页","page-number":"第{count}/{total}页"}},user:{login:{title:"登录",username:{placeholder:"请输入用户名或者系邮箱","username-status":{fine:" ",tip:"请输入用户名或邮箱!",msg:"长度睇 2 到 32 个字符!"}},password:{placeholder:"请输入密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度睇 6 到 64 个字符!"}},"login-status":{ready:"登录",loading:"登录紧..",failed:"用户名或者密码错咗!",error:"未知嘅错误"},signup:"注册","forget-password":"忘记咗密码?"},signup:{title:"注册",username:{placeholder:"请输入用户名","username-status":{fine:" ",tip:"请输入用户名!",msg:"长度睇 2 到 32 个字符!",res:"呢个用户名被注册咗!",err:"网络错误!"}},password:{placeholder:"请输入密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度睇 6 到 64 个字符!"}},password2:{placeholder:"请重复密码","password2-status":{fine:" ",tip:"请再次输入一次密码!",msg:"两次嘅密码输入不一样!"}},email:{placeholder:"请绑定邮箱","email-status":{fine:" ",tip:"请输入邮箱!",msg:"请输入正确嘅邮箱格式!",res:"呢个邮箱被注册咗!",err:"网络错误!"}},"signup-status":{ready:"注册",loading:"注册紧...",error:"未知嘢错误"},login:"登录"},"forget-password":{title:"揾番密码",email:{placeholder:"请输入账号绑定嘅邮箱","email-status":{fine:" ",tip:"请输入邮箱!",msg:"请输入正确嘅邮箱格式!"}},"send-status":{ready:"发送",loading:"发送紧...",successful:"邮件发送成功,请查收!",failed:"呢个邮箱未绑定账号!",error:"未知错误"},login:"返回登录"},"reset-password":{title:"重置密码",password:{placeholder:"请设定新密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度睇4到64个字符!"}},password2:{placeholder:"请重复新密码","password2-status":{fine:" ",tip:"请再次输入密码!",msg:"两次密码输入不一致!"}},"reset-status":{ready:"重置",loading:"重置紧...",error:"无效嘅key"}},redirect:{title:"跳转紧...",from:{"sign-up":"注册","reset-password":"重置"},log:"{fromWord}成功,{count}秒后跳番登录页面",jump:"冇反应?点我手动跳转"},"user-page":{title:"个人中心","not-logged-in":"你净未登陆,点我登陆",avatar:{current:"当前嘅头像",requirement:"选择一张图片上传:大小256 * 256像素","choose-image":"选择图片",upload:"上传"},username:{placeholder:"更改用户名",modify:"更改",cancel:"取消"},description:{placeholder:"更改个人描述",save:"保存"},password:{title:"更改密码",old:"旧密码",oldPlaceholder:"请输入旧密码",new:"新密码",newPlaceholder:"请输入新密码",confirmNew:"确认密码",confirmNewPlaceholder:"请重新输入新密码",commit:"提交",reset:"重置"},email:{title:"绑定邮箱",placeholder:"请输入邮箱",bind:"绑定",boundEmail:"已经绑定咗嘅邮箱",none:"暂时冇有"}},profile:{title:"{username} 嘅个人中心 - PatchyVideo",nothing:"这里还乜嘢都冇哦……",info:{"created-at":"睇 {date} 注册 "}},avatar:{alt:"{alt}嘅头像"},input:{placeholder:"请输入内容"}},"user-notification":{notification:{title:"消息中心","slide-open":"打开消息侧栏",reply:"回复我嘅",at:"at我嘅(建设中)",system:"系统通知"},"notification-system":{title:"系统通知","mark-all-as-read":"全部标为已读",loading:"加载紧","no-message":"您仲未收到过系统通知哦",fold:"折叠",unfold:"展开"},"notification-reply":{title:"回复我嘅","mark-all-as-read":"全部标为已读",loading:"加载紧","no-message":"您仲未收到过回复消息哦",reply:"{username}回复咗你:"},"notification-navtop":{title:"消息同通知",loading:"加载紧",error:"加载出错咗QAQ,错误嘅原因:{error}","no-message":"没有新消息哦","show-all":"睇全部回复",reply:"{username} 回复咗你:",system:"系统通知:{title}"}},video:{video:{"repost-type":{authorized_repost:"授权转载",authorized_translation:"授权翻译",official:"原始发布",official_repost:"官方再发布",repost:"自发搬运",translation:"自发翻译",unknown:"其他"},uploader:"上传者","no-desc":"呢个人太懒啦,冇写简介",edit:{"hide-video":{title:"隐藏视频",saving:"保存紧",succeed:"保存成功!",failed:"保存失败:{error}"},"edit-video":"编辑视频","edit-tags":"编辑标签"},"related-video":"相关视频"},player:{settings:{default:{name:"视频设置",items:{quality:"清晰度",audio:"同步音频",canvas:"Canvas","canvas-transparent":"Canvas 透明"}},quality:{name:"清晰度",items:{"current-codec":"当前格式:{container} ({codec})"}}},iframe:{enable:"切换视频播放到内嵌播放器",failed:"内嵌视频加载失败"},"play-stream":{source:{video:{"source-changing":"睇度切换视频源紧","source-nothing":"冇有可以支持嘅视频源"},audio:{"source-nothing":"冇有可以支持嘅音频源"}},container:{flv:{"player-loading":"睇度载入flv.js","player-loaded":"播放器加载完毕","player-failed":"flv解析器创建失败","parse-creating":"睇度创建紧flv解析器","source-loading":"睇度加载紧视频源"},webm_dash:{},mp4_dash:{"player-loaded":"播放器加载完毕","source-loading":"加载紧视频源"},failed:"视频源解析失败咗"}},video:{"info-fetching":"睇度获取紧视频嘅信息",URL:"视频嘅URL:{url}","address-parsing":"睇度解析紧视频地址",profile:{"known-source":"视频源:{source},视频格式:{format},视频清晰度:{quality}","unknown-source":"未知嘅视频源:{source}"}}},"edit-video":{title:"编辑视频 - {videoname}",profile:{profile:"基本嘅信息",title:"视频标题",ranks:{0:"就得管理员可以睇得到",1:"登录咗嘅用户可睇得到",2:"就发布嘅人同管理员可以睇得到",3:"全部嘅人可以睇得到",rank:"视频可见性"},edit:{saving:"保存中 - 编辑视频 - {videoname}",saved:"已保存! - 编辑视频 - {videoname}",failed:"保存失败 - 编辑视频 - {videoname}"}}},"video-list":{title:"视频嘅列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"search-failed":"加载失败咗QAQ","search-failed-reason":"错误嘅原因:"},successful:{"search-no-result":"冇揾到视频QAQ","search-result-count":"一共{count}个视频"},tips:"*已屏蔽含有敏感标签嘅视频"},video:{hidden:"已隐藏","source-site":"源网站:"},"advanced-search":{name:"高级搜索"}}},others:{WIP1:"呢个",WIP2:"{WIP1}功能净睇度完善紧,敬请期待!"},image:{cover:{alt:"{title} 嘅封面"}},tag:{author:{title:"{tagname} 嘅基础信息",type:{individual:"个人",group:"社团"}}},settings:{settings:"设置",general:{"quick-settings":{name:"快捷设置"},general:{name:"常规"},language:{desc:"如果你肯帮助 PatchyVideo 嘅翻译工作,欢迎加入我哋!","browser-default":"浏览器嘅建议:{preferred}"},name:"常规",theme:{color:{desc:"选择浏览PatchyVideo嘅主题"}}},appearance:{theme:{name:"主题",color:{name:"主题嘅颜色"},"dark-cover-filter":{desc:"开咗之后,视频/播放列表嘅封面睇深色模式下会降到 75% 嘅亮度(默认就打开)",name:"睇深色模式下降低封面嘅亮度"}},name:"外观"},account:{profile:{name:"个人嘅信息",username:{label:"用户名",desc:"呢个用户名全站就得唯一一个,你可以随时修改你嘅用户名。"},description:{label:"简介"}},loading:"睇度拉紧个人嘅信息",name:"账户"},loading:"睇度加载紧设置"}},a=e._info,o=e.common,i=e.darkmode,t=e.home,s=e.locales,r=e.main,l=e.playlist,n=e.leaderboard,d=e.search,c=e.ui,u=e.user,m=e.video,p=e.others,g=e.image,f=e.tag,h=e.settings;export{a as _info,o as common,i as darkmode,e as default,t as home,g as image,n as leaderboard,s as locales,r as main,p as others,l as playlist,d as search,h as settings,f as tag,c as ui,u as user,m as video}; +//# sourceMappingURL=yue-Hant-HK.7335aecb.js.map diff --git a/assets/yue-Hant-HK.7335aecb.js.map b/assets/yue-Hant-HK.7335aecb.js.map new file mode 100644 index 0000000000..61d05360f6 --- /dev/null +++ b/assets/yue-Hant-HK.7335aecb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"yue-Hant-HK.7335aecb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"} \ No newline at end of file diff --git a/assets/zcool.66d12985.png b/assets/zcool.66d12985.png new file mode 100644 index 0000000000..54c4ec689b Binary files /dev/null and b/assets/zcool.66d12985.png differ diff --git a/assets/zh-Hans-CN.d301bc6d.js b/assets/zh-Hans-CN.d301bc6d.js new file mode 100644 index 0000000000..083963672c --- /dev/null +++ b/assets/zh-Hans-CN.d301bc6d.js @@ -0,0 +1,3 @@ +/*! PatchyVideo/Platinum by VoileLabs */var e={_info:{name:"简体中文"},common:{"nav-top":{"main-menu":{home:"主页",video:"视频",list:"播放列表","discuss-board":"讨论板",leaderboard:"用户排行榜",wiki:"网站维基"},"user-operation":{postvideo:"发布视频",tag:"编辑标签"},admin:{admin:"管理员","who-am-I":"视角","super-admin":"管理员页面"},settings:{settings:"设置",darkmode:"深色模式",lang:"显示语言"},user:{"my-message":"我的消息",login:"登录",logout:"退出登录",userprofile:"个人中心",confirming:"验证登录中..."}},footer:{"user-number":"PatchyVideo 正在为 {users} 个像你一样的用户提供服务!",wiki:"网站维基",status:"网站状态","bl-account":"B站官方帐户",joinus:"招募祈愿",code:"代码相关",repositories:"项目仓库","feedback-issue":"提交反馈",contact:"联系我们",license:"开源许可",sponsor:"赞助我们"}},darkmode:{system:"跟随系统",light:"浅色",dark:"深色"},"error-pages":{N404:{title:"巴瓦鲁魔法服务器并没有这个界面"}},home:{home:{title:"PatchyVideo",hello:"你好世界!",intro:{template:"{medium} 你可以{old}来获得完整的体验,{follow}获取最新进度,或是{joinus}来帮助我们推进!",medium:"这是一个还在建设的新界面!",old:"返回旧界面",follow:"关注帕琪站官方B站帐号",joinus:"加入我们"},components:{"query-video":{"default-title":"最新上传"}}},list:{favorites:"收藏夹"}},locales:{"change-lang-reload-hint":`部分语言修改需要刷新页面才能生效 +现在刷新页面吗?`},main:{"browser-offline":"网络连接不可用,请检查网络设置","reload-prompt":{tips:"有新内容更新,重新加载以应用更新",reload:"重新加载",dismiss:"忽略"}},playlist:{playlist:{collapse:"收起",expand:"展开",info:{"video-count":"{count} 个视频",rating:"评分{rating}","edit-date":"更新于 {date}"}},"playlist-list":{title:"播放列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"load-failed":"加载失败了QAQ","load-failed-reason":"错误原因:"},successful:{"load-result-count":"共 {count} 个播放列表"}},playlist:{"playlist-count":"共 {count} 个视频"},"advanced-search":{name:"高级搜索"}}},leaderboard:{title:"用户排行榜",loading:"少女祈祷中......",failed:{"load-failed":"加载失败了QAQ","load-failed-reason":"错误原因:"},"tag-contributions":{name:"标签贡献排行榜","edit-time":"编辑次数:{count}","date-range":{all:"至今为止","last-month":"过去一个月","last-week":"过去一周","last-day":"过去一天"}}},search:{"search-result":{title:"搜索结果 - ","search-keywords":"搜索结果 - ",order:{"last-modified":"最新修改","video-oldest":"时间倒序"},video:{tab:"视频","main-body":{loading:{searching:"少女祈祷中......"},failed:{"search-failed":"加载失败了QAQ","search-failed-reason":"错误原因:"},successful:{"search-no-result":"没有搜索到视频QAQ","search-result-count":"共搜索到 {count} 个视频"}},video:{"source-site":"源网站:",hidden:"已隐藏"},"visible-sites":{all:"全部",home:"国内网站",abroad:"国外网站"}},playlist:{tab:"播放列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"search-failed":"加载失败了QAQ","search-failed-reason":"错误原因:"},successful:{"search-no-result":"没有搜索到播放列表QAQ","search-result-count":"共搜索到 {count} 个播放列表"}},playlist:{"playlist-count":"共 {count} 个视频"}}},"search-page":{title:"搜索",search:"搜索"},"auto-complete":{search:"搜索",loading:"少女祈祷中......","loading-nothing":"没有搜索建议","loading-failed":"加载失败了QAQ","hot-tags":"热门标签"}},ui:{"back-top":{"back-top":"回到顶部"},"pv-select":{select:"请选择"},"pv-pagination":{alert:"请输入有效的页数!","page-next":"下一页","page-previous":"上一页","page-number":"第 {count} / {total} 页"}},user:{login:{title:"登录",username:{placeholder:"请输入用户名或邮箱","username-status":{fine:" ",tip:"请输入用户名或邮箱!",msg:"长度在 2 到 32 个字符!"}},password:{placeholder:"请输入密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度在 6 到 64 个字符!"}},"login-status":{ready:"登录",loading:"登录中...",failed:"用户名或密码错误!",error:"未知错误"},signup:"注册","forget-password":"忘记密码?"},signup:{title:"注册",username:{placeholder:"请输入用户名","username-status":{fine:" ",tip:"请输入用户名!",msg:"长度在 2 到 32 个字符!",res:"该用户名已被注册!",err:"网络错误!"}},password:{placeholder:"请输入密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度在 6 到 64 个字符!"}},password2:{placeholder:"请重复密码","password2-status":{fine:" ",tip:"请再次输入密码!",msg:"两次密码输入不一致!"}},email:{placeholder:"请绑定邮箱","email-status":{fine:" ",tip:"请输入邮箱!",msg:"请输入正确的邮箱格式!",res:"该邮箱已被注册!",err:"网络错误!"}},"signup-status":{ready:"注册",loading:"注册中...",error:"未知错误"},login:"登录"},"forget-password":{title:"找回密码",email:{placeholder:"请输入账号绑定的邮箱","email-status":{fine:" ",tip:"请输入邮箱!",msg:"请输入正确的邮箱格式!"}},"send-status":{ready:"发送",loading:"发送中...",successful:"邮件发送成功,请查收!",failed:"该邮箱未绑定账号!",error:"未知错误"},login:"返回登录"},"reset-password":{title:"重置密码",password:{placeholder:"请设定新密码","password-status":{fine:" ",tip:"请输入密码!",msg:"长度在4到64个字符!"}},password2:{placeholder:"请重复新密码","password2-status":{fine:" ",tip:"请再次输入密码!",msg:"两次密码输入不一致!"}},"reset-status":{ready:"重置",loading:"重置中...",error:"无效的key"}},redirect:{title:"跳转中...",from:{"sign-up":"注册","reset-password":"重置"},log:"{fromWord}成功,{count} 秒后跳转回登录页面",jump:"没有反应?点击我手动跳转"},"user-page":{title:"个人中心","not-logged-in":"用户未登录,点我登录",avatar:{current:"当前头像",requirement:"选择图片上传:大小256 * 256像素","choose-image":"选择图片",upload:"上传"},username:{placeholder:"更改用户名",modify:"更改",cancel:"取消"},description:{placeholder:"更改个人描述",save:"保存"},password:{title:"更改密码",old:"旧密码",oldPlaceholder:"请输入旧密码",new:"新密码",newPlaceholder:"请输入新密码",confirmNew:"确认密码",confirmNewPlaceholder:"请重复输入新密码",commit:"提交",reset:"重置"},email:{title:"绑定邮箱",placeholder:"请输入邮箱",bind:"绑定",boundEmail:"已绑定的邮箱",none:"暂无"}},profile:{title:"{username} 的个人中心 - PatchyVideo",nothing:"这里还什么都没有哦……",info:{"created-at":"注册于 {date}"}},avatar:{alt:"{alt}的头像"},input:{placeholder:"请输入内容"}},"user-notification":{notification:{title:"消息中心","slide-open":"打开消息侧栏",reply:"回复我的",at:"艾特我的(建设中)",system:"系统通知"},"notification-system":{title:"系统通知","mark-all-as-read":"全部标为已读",loading:"加载中","no-message":"您还没有收到过系统通知哦",fold:"折叠",unfold:"展开"},"notification-reply":{title:"回复我的","mark-all-as-read":"全部标为已读",loading:"加载中","no-message":"您还没有收到过回复消息哦",reply:"{username}回复了你:"},"notification-navtop":{title:"消息和通知",loading:"加载中",error:"加载出错了QAQ,错误原因:{error}","no-message":"没有新消息哦","show-all":"查看全部回复",reply:"{username} 回复了你:",system:"系统通知:{title}"}},video:{video:{"repost-type":{official:"原始发布",official_repost:"官方再发布",authorized_repost:"授权转载",repost:"自发搬运",authorized_translation:"授权翻译",translation:"自发翻译",unknown:"其他"},uploader:"上传者","no-desc":"这个人太懒啦,并没有写简介",edit:{"hide-video":{title:"隐藏视频",saving:"保存中",succeed:"保存成功!",failed:"保存失败:{error}"},"edit-video":"编辑视频","edit-tags":"编辑标签"},"related-video":"相关视频"},player:{settings:{default:{name:"视频设置",items:{quality:"清晰度",audio:"同步音频",canvas:"Canvas","canvas-transparent":"Canvas 透明"}},quality:{name:"清晰度",items:{"current-codec":"当前格式:{container} ({codec})"}}},iframe:{enable:"切换视频播放至内嵌",failed:"内嵌视频加载失败"},"play-stream":{source:{video:{"source-changing":"正在切换视频源","source-nothing":"无可支持视频源"},audio:{"source-nothing":"无可支持音频源"}},container:{flv:{"player-loading":"正在载入flv.js","player-loaded":"播放器加载完毕","player-failed":"flv解析器创建失败","parse-creating":"正在创建flv解析器","source-loading":"正在加载视频源"},webm_dash:{},mp4_dash:{"player-loaded":"播放器加载完毕","source-loading":"正在加载视频源"},failed:"视频源解析失败"}},video:{"info-fetching":"正在获取视频信息",URL:"视频URL:{url}","address-parsing":"正在解析视频地址",profile:{"known-source":"视频源:{source},视频格式:{format},视频清晰度:{quality}","unknown-source":"未知的视频源:{source}"}}},"edit-video":{title:"编辑视频 - {videoname}",profile:{profile:"基本信息",title:"视频标题",ranks:{0:"仅管理员可见",1:"登录用户可见",2:"发布者和管理员可见",3:"所有人可见",rank:"视频可见性"},edit:{saving:"保存中 - 编辑视频 - {videoname}",saved:"已保存! - 编辑视频 - {videoname}",failed:"保存失败 - 编辑视频 - {videoname}"}}},"video-list":{title:"视频列表","main-body":{loading:{searching:"少女祈祷中......"},failed:{"search-failed":"加载失败了QAQ","search-failed-reason":"错误原因:"},successful:{"search-no-result":"没有搜索到视频QAQ","search-result-count":"共 {count} 个视频"},tips:"*已屏蔽含有敏感标签的视频"},video:{hidden:"已隐藏","source-site":"源网站:"},"advanced-search":{name:"高级搜索"}}},others:{WIP1:"该",WIP2:"{WIP1}功能正在完善中,敬请期待!"},image:{cover:{alt:"{title} 的封面"}},tag:{author:{title:"{tagname} 的基本信息",type:{individual:"个人",group:"社团"}}},settings:{settings:"设置",general:{"quick-settings":{name:"快捷设置"},general:{name:"常规"},language:{desc:"如果你乐于帮助 PatchyVideo 的翻译工作,欢迎加入我们!","browser-default":"浏览器建议:{preferred}"},name:"常规",theme:{color:{desc:"选择浏览帕琪站的颜色主题"}}},appearance:{theme:{name:"主题",color:{name:"主题颜色"},"dark-cover-filter":{name:"在深色模式时降低封面亮度",desc:"开启后,视频/播放列表封面在深色模式时会降低至 75% 亮度 (默认开启)"}},name:"外观"},account:{profile:{name:"个人信息",username:{label:"用户名",desc:"此用户名全站唯一,你可以随时更改你的用户名。"},description:{label:"简介"}},loading:"正在拉取个人信息",name:"账户"},loading:"正在加载设置"}},a=e._info,o=e.common,i=e.darkmode,s=e.home,t=e.locales,r=e.main,l=e.playlist,n=e.leaderboard,d=e.search,c=e.ui,u=e.user,m=e.video,p=e.others,g=e.image,f=e.tag,h=e.settings;export{a as _info,o as common,i as darkmode,e as default,s as home,g as image,n as leaderboard,t as locales,r as main,p as others,l as playlist,d as search,h as settings,f as tag,c as ui,u as user,m as video}; +//# sourceMappingURL=zh-Hans-CN.d301bc6d.js.map diff --git a/assets/zh-Hans-CN.d301bc6d.js.map b/assets/zh-Hans-CN.d301bc6d.js.map new file mode 100644 index 0000000000..a0cbadf82a --- /dev/null +++ b/assets/zh-Hans-CN.d301bc6d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zh-Hans-CN.d301bc6d.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"} \ No newline at end of file diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000000..e48c791384 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/mstile-150x150.png"/> + <TileColor>#9f00a7</TileColor> + </tile> + </msapplication> +</browserconfig> diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000000..d02fa5d3a1 Binary files /dev/null and b/dist.zip differ diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000000..8372d53737 Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000000..5e0677c418 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000..c76da9a895 Binary files /dev/null and b/favicon.ico differ diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000000..ef7b177429 --- /dev/null +++ b/favicon.svg @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.2" baseProfile="tiny" id="浏览器-1_xA0_图像_1_" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 219.6 335.5" + overflow="visible" xml:space="preserve"> +<g> + <path display="none" d="M109.5,655.6c-161.8,0-323.5,0-485.3,0c-1.8,0-2.2-0.4-2.2-2.2c0-323.7,0-647.4,0-971.1 + c0-1.8,0.4-2.2,2.2-2.2c323.7,0,647.4,0,971.1,0c1.8,0,2.2,0.4,2.2,2.2c0,323.7,0,647.4,0,971.1c0,1.8-0.4,2.2-2.2,2.2 + C433.4,655.6,271.4,655.6,109.5,655.6z"/> + <path fill="#7B2B52" d="M78.5,0.1c11.1,0,22.1,0,33.2,0c2.6,0.4,5.2,0.1,7.8,0.1c1.6,0,2.9,0.5,4,1.9c6.5,8.3,12.8,16.7,19.3,25 + c9.9,12.7,19.8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.3,1.6 + c1.3,0.7,1.8,2,2.4,3.3c4.1,7.9,9.4,14.9,16.3,20.6c0.8,0.6,1.4,1.3,1.6,2.3c0,0.8,0,1.5,0.6,2.3c8.7,9.9,16.4,20.7,24.5,31.1 + c9.4,12,18.7,24.1,28,36.1c1,1.3,2.1,1.9,3.7,1.8c2.6,0,5.2,0,7.8,0c1,0,2.1-0.2,2.9,0.8C119.2,252.6,119.2,252.9,119,253.1z"/> + <path fill="#803158" d="M158,150.7c0.4,2.5,2.4,4,3.8,5.8c7.5,9.9,15.2,19.6,22.8,29.4c0.4,0.6,0.7,1.6,1.5,1.4 + c1.1-0.2,0.6-1.4,0.6-2.1c0-33.5,0-66.9,0-100.4c-1-1.3-1.1-2.9-1.1-4.4c0-22.4,0-44.8,0-67.2c0-1.2-0.2-2.5,0.9-3.4 + c1.4-0.3,1.6,0.7,1.7,1.7c0.2,1.1,0.1,2.3,0.1,3.4c0,65.1,0.1,130.1-0.1,195.2c0,11-0.3,22.1-0.4,33.1c0,3.4-1.5,5.9-4.1,8.3 + c2.8,0,5.2-0.1,7.7,0c1.1,0,2.3-0.2,3.3,0.7c0.2,0.2,0.3,0.5,0.3,0.9c-5.8,0-11.7,0.1-17.5,0.1c-3.9,1.1-7.8,0.5-11.7,0.4 + c-3.5-3.1-6-7-8.8-10.6c-10.4-13.3-20.7-26.8-31.1-40.1c-2.3-2.9-4.5-5.9-6.8-8.8c-1.1-1.4-1.1-2.8-0.2-4.3c2.4-2.3,5.7-3,8.5-4.6 + c12.9-7.7,22.3-18.3,28.3-32.1C156.1,152,156.3,150.5,158,150.7z"/> + <path fill="#7D2D54" d="M78.5,0.1c-2.3,1.4-2.4,1.9-0.7,4.1c7.3,9.5,14.5,18.9,21.8,28.3c6.4,8.3,12.9,16.7,19.4,25 + c2.8,3.7,5.7,7.3,8.4,11c0.6,0.8,1.4,1.3,2.5,1.3c0.7,1.5-0.5,2.4-1.2,3.4c-2.9,4-2.9,3.9,0.8,7c11.2,9.3,18.8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23.1-0.2,34.6,0 + c6.5,0.1,10.7,4.8,10.7,11.3c0,76.6,0,153.2,0.1,229.9c0,6.1-4,11.7-11.3,11.9C203.9,253.3,199.5,253.1,195.1,253.1z"/> + <path fill="#803158" d="M22.5,0.1c2.9,1.1,4.1,3.9,5.8,6.1c9,11.5,17.9,23.1,26.8,34.6c5.4,6.9,16.2,20.7,16.2,20.7L34.3,85 + c0,0-14.1-18.3-21.2-27.4C8.8,52.1,4.6,46.4,0.1,41c0-9.4-0.2-18.8,0-28.2C0.1,7,5.2,1.5,10.9,0.5C14.7-0.2,18.6,0.1,22.5,0.1z"/> + <path fill="#78264D" d="M174.1,0.1c0.5,0.1,0.9,0.4,1.4,0.4c4.4-0.4,7.8,1.4,10.3,5c0.7,0.9,1.6,0.9,2.6,1c2.2,0.2,4.5-0.4,6.7,0.4 + c-0.7,1.6-2.2,1.2-3.3,1.2c-1.9,0-3.6,0.2-4.9,1.8c0,21.2,0,42.3-0.1,63.5c0,3.9,0,7.8,0,11.7c-1.6-0.5-2.3-2-3.2-3.2 + c-16.1-20.7-32.1-41.4-48.1-62.1c-4.5-5.8-9-11.5-13.3-17.4c-1-1.4-2.1-1.7-3.7-1.8c-2.2-0.1-4.5,0.4-6.7-0.4c4.3,0,8.6,0,12.9-0.1 + c1.9,0,2.4,1.4,3.2,2.6c0.9,1.2,1.7,2.6,2.5,3.9c1.4,0.7,2.3,1.9,3.2,3.2c3.2,4.9,6.7,9.7,9.9,14.6c0.7,1.1,1.4,2.4,2.8,2.9 + c0.7,0.2,1.4,0.2,2.1-0.2c1.5-1,1.6-2.6,1.7-4.1c0.5-4.3,1.2-8.5,1.6-12.7c0.1-1.4,0.5-2.7,1.6-3.7c0.1-6.3,0.1-6.3,6.4-6.3 + C164.4,0,169.3,0.1,174.1,0.1z"/> + <path fill="#83355C" d="M0.1,41c1.2-0.1,1.9,0.4,2.6,1.3C11.3,53.6,20,64.7,28.7,75.9c2.3,2.9,4.6,5.9,6.8,8.8 + c0.7,0.9,1.4,1.5,2.7,1.2c0.9,1.2,0,2.2-0.6,3.1c-5.6,8.7-9.3,18.1-10.8,28.4c-1.2,8.1-0.7,16,1,23.9c0.8,3.7,1.7,7.4,3.1,11 + c0.3,0.8,0.5,1.6-0.1,2.3c-1.1,0.7-1.4-0.2-1.9-0.8c-9-11.6-17.9-23.2-26.9-34.7c-0.5-0.7-1.2-1.3-1.8-1.9c0-9-0.1-18-0.1-27 + C0,73.7,0.1,57.4,0.1,41z"/> + <path fill="#5B153E" d="M165.4,252.7c3.2,0,6.4,0,9.7,0c0.9,0,1.8,0.1,2.6,0.5c0,16.9-0.1,33.8,0,50.7c0,2.3-0.7,3.8-2.5,5.3 + c-6.6,5.7-12.1,12.4-16.7,19.8c-0.9,1.4-1.8,2.9-2.7,4.3c-0.8,1.3-1.7,2.4-3.5,1.9c-1.7-0.5-2-1.8-2-3.4c0-17.7,0-35.4,0-53.1 + c0-8.5,0-17.1,0-25.6c0-0.2,0.1-0.3,0.1-0.5c0.5-0.9,1.4-1.1,2.3-1.1c3.4-0.2,6.8-0.1,10.1,0C163.8,251.6,164.6,252,165.4,252.7z" + /> + <path fill="#7A2B5A" d="M48.8,252.7c6.6,0,13.3,0,19.9,0c1,0,2.1-0.2,3,0.5c0,16,0,32,0,48c0,2.2-0.3,4.1-2.6,4.9 + c-2.3,0.8-3.8-0.7-5.1-2.4c-2.9-3.9-5.7-7.9-8.8-12.2c-2.6,3.4-5,6.7-7.5,10c-0.8,1-1.7,2-2.3,3.1c-1.2,2.1-3.1,2-4.9,1.6 + c-1.7-0.3-2.1-2-2.5-3.6c-0.2-0.7-0.1-1.5-0.1-2.2c0-15.8,0-31.5,0-47.3c-0.1-0.7,0.3-1.2,0.8-1.3 + C42.2,251.5,45.6,250.7,48.8,252.7z"/> + <path fill="#893D64" d="M48.8,252.7c-2.7,0-5.5,0-8.2,0c-0.9,0-1.8-0.1-2.5,0.5c-7.8,0-15.6,0-23.4-0.1c-4.9,0-9.2-1.4-12.2-5.6 + c-1.3-1.8-2.5-3.8-2.5-6.2c0-17.2,0-34.4,0.1-51.6c2.9,2.3,4.6,5.6,6.9,8.4c4.5,5.6,8.6,11.5,13.3,16.9c0.7,0.8,0.6,1.6,0.6,2.5 + c0.4,0.2,0.8,0.5,1,1c0.6,1.8,1.7,3.1,3.8,3.3c0.5,0.1,0.8,0.5,1.1,0.9c0.7,2.8,3,4.6,4.6,6.8c5.4,7.1,10.9,14.1,16.3,21.2 + C48.2,251.4,48.7,251.9,48.8,252.7z"/> + <path fill="#B47A76" d="M153.1,6.4c-0.8,6.3-1.6,12.7-2.4,19c-0.2,1.6-1.3,2.4-2.5,3c-0.8,0.2-1.6,0.2-2.4,0c-1-0.2-1.5-0.8-2-1.6 + c-4.2-6.2-8.4-12.3-12.6-18.4c-0.4-0.6-0.7-1.3-1-1.9C137.9,6.4,145.5,6.4,153.1,6.4z"/> + <path fill="#9D5569" d="M119,253.1c0-0.1,0-0.3,0-0.4c0.6-1.2,1.7-1.1,2.8-1.1c8.5-0.1,17.1-0.1,25.6,0c1.1,0,2.4-0.2,2.7,1.4 + c0,0.1,0.1,0.2,0.2,0.2C139.8,253.2,129.4,253.1,119,253.1z"/> + <path fill="#FEFEFE" d="M150.8,121.2c-1.2-11.6-5.4-22.1-13-31.1c-3.5-4.1-7.4-7.8-11.7-11c-1.5-1.1-1.7-2.3-0.5-3.7 + c1.5-1.8,2.9-3.7,4.3-5.6c1.4-0.5,2.4,0,3.6,0.9c24.9,17.9,35,49.4,25,78.4c-0.2,0.5-0.3,1.1-0.5,1.6c-3.2,7.5-7.1,14.5-12.5,20.7 + c-6.8,7.8-15,13.9-24.5,18.1c-0.5,0.2-1,0.5-1.5,0.8c-3.4,3.6-8.1,3.9-12.5,4.8c-10.9,2.1-21.8,1.8-32.5-1.3 + c-0.9-0.2-1.7-0.5-2.5-0.9c-1.7-0.9-2.5-2.2-2.3-4.1c0.3-1.9,0.4-3.9,0.9-5.8c0.5-2.1,1.6-3,3.8-3c1.1,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5,6.5,10,13,15,19.5C121.4,94,121.9,94.5,121.9,95.1z"/> + <path fill="#803158" d="M86.4,58.1c-0.8,0.4-1.7,0.4-2.5,0.4C84.7,58,85.6,58.1,86.4,58.1z"/> + <path fill="#7E2F55" d="M138.2,100.5c0-0.8,0-1.6,0-2.4C138.6,98.9,138.6,99.7,138.2,100.5z"/> + <path fill="#DCADA8" d="M206.2,64.9c-2.1,8.5-4.2,17-6.2,25.5c-1.8,7.5-3.6,15-5.8,22.4c-0.1-0.6-0.2-1.1-0.2-1.7 + c0-24.7,0-49.4-0.1-74c0-2.4,0.8-3.1,3.1-3c3.1,0.2,6.2,0,9.3,0c5.1,0.1,6.6,2.2,5.5,7.2C210,49.2,208.1,57,206.2,64.9z"/> + <path fill="#5B153E" d="M175,47.8c0,1.4,0.2,2.8,0,4.1c-0.4,2.6-3,3.4-5,1.6c-3.4-3.1-4-8.1-1.2-11.8c0.8-1.1,1.9-1.5,3.2-1.2 + c1.7,0.4,2.8,1.4,3,3.1C175.2,45.1,175,46.5,175,47.8z"/> + <path fill="#7B2B52" d="M145.9,28.4c0.8,0,1.6,0,2.4,0C147.4,28.9,146.7,28.9,145.9,28.4z"/> + <path fill="#813359" d="M129.7,157.5c1.3,2.9,3.2,5.2,5.5,7.4c-7.9,8.7-17.3,14.9-28.9,17.5c-1.5-2.9-3.8-5.2-5.7-7.8 + c-0.5-0.7-1-1.2-1.2-2.1c2.5-4.7,5-9.4,7.4-14.1c0.4-0.7,0.9-1,1.7-1C115.7,157.5,122.7,157.5,129.7,157.5z"/> + <path fill="#803057" d="M78,71.3c1.1,3.5,4,5.7,6,8.6c0.7,0.9,1.2,2.2,2.7,2.1c-1.8,4.3-4.4,8.3-6.5,12.4c-0.4,0.8-1.1,0.9-1.8,0.8 + c-8.6,0-17.2-0.1-25.8-0.1c-0.2-2.3-2.8-3.3-3-5.5C57.2,80.5,66.6,74.4,78,71.3z"/> + <path fill="#803057" d="M96.8,69.2c-1.9,0-3.9,0-5.8,0C92.9,68.7,94.8,68.9,96.8,69.2z"/> + <path fill="#803158" d="M93.1,149.1c-2.4-0.2-6,1.1-8.3-0.5c-2.1-1.5-3-4.9-4.4-7.4c-2.4-4.3-4.7-8.7-7.1-13 + c-0.7-1.3-0.7-2.3,0-3.6c3.5-6.4,7-12.8,10.4-19.3c0.7-1.3,1.4-1.7,2.8-1.7c4.6,0.1,9.3,0.1,13.9,0c1.4,0,2.2,0.3,2.9,1.6 + c3.5,6.6,7,13.2,10.6,19.7c0.6,1.1,0.6,1.9,0,2.9c-3.6,6.5-7.1,13.1-10.6,19.7c-0.6,1.1-1.3,1.7-2.7,1.6 + C98.4,149,96,149.1,93.1,149.1z"/> + <path fill="#83355C" d="M67.8,135.1c2.6,4.8,5,9.2,7.5,14c-4.8,0-9.3,0-13.7,0c-1.2,0-1.1-0.6-0.6-1.4 + C63.1,143.7,65.3,139.6,67.8,135.1z"/> + <path fill="#813258" d="M119.5,135.1c2.6,4.8,5,9.2,7.5,14c-4.8,0-9.3,0-13.7,0c-1.2,0-1.1-0.5-0.7-1.3 + C114.9,143.7,117,139.6,119.5,135.1z"/> + <path fill="#82335A" d="M67.7,117.6c-2.4-4.5-4.6-8.5-6.8-12.6c-0.6-1-0.5-1.4,0.8-1.4c4.4,0,8.7,0,13.5,0 + C72.7,108.4,70.3,112.8,67.7,117.6z"/> + <path fill="#7F3057" d="M119.5,117.6c-2.4-4.5-4.6-8.6-6.8-12.6c-0.4-0.7-0.7-1.4,0.6-1.4c4.4,0,8.9,0,13.8,0 + C124.5,108.3,122.1,112.7,119.5,117.6z"/> + <path fill="#803158" d="M93.6,87.2c1.4,2.5,2.5,4.6,3.6,6.7c0.5,0.9,0.3,1.3-0.8,1.3c-0.1,0-0.2,0-0.2,0c-2.2-0.1-4.3-0.1-6.5-0.2 + c0.2-2.2,1.8-3.7,2.6-5.6C92.6,88.9,93,88.3,93.6,87.2z"/> + <path fill="#83355B" d="M93.6,165.5c-1.5-2.8-2.8-5.2-4.2-7.8c2.6-0.5,5-0.2,7.4-0.2c0.8,0,1,0.4,0.6,1.1 + C96.2,160.7,95,162.9,93.6,165.5z"/> +</g> +<path fill="#FEFEFE" d="M38.2,85.9"/> +<path fill="#803158" d="M71.2,61.5"/> +<path fill="#803158" d="M71.2,61.5"/> +<path fill="#803158" d="M71.2,61.5"/> +<path fill="#7D2D54" d="M71.2,61.5"/> +<path fill="#803158" d="M71.2,61.5"/> +<rect x="36.2" y="152.3" transform="matrix(-0.79 0.6131 -0.6131 -0.79 177.1246 274.6287)" fill="#873A61" width="10.6" height="30.7"/> +<path fill="#83355C" d="M168.1,252.3L1,37c-0.3-0.4-1-0.2-1,0.3v79.2c0,0.1,0,0.2,0.1,0.3L105.8,253c0.1,0.1,0.3,0.2,0.4,0.2h61.4 + C168.2,253.2,168.4,252.7,168.1,252.3z"/> +<rect x="78.6" y="16.4" transform="matrix(-0.79 0.6131 -0.6131 -0.79 256.5497 172.2427)" fill="#803158" width="40.3" height="227.3"/> +<polygon fill="#7D2D54" points="187.2,145.4 77.3,3.7 45.4,28.4 187.2,211.1 "/> +<polygon fill="#7B2B52" points="187.2,86.4 122,2.3 93.3,24.6 164.3,116.1 187.2,98.4 "/> +<path fill="#FEFEFE" d="M150.4,119.1c-1.2-11.6-5.4-22.1-13-31.1c-3.5-4.1-7.4-7.8-11.7-11c-1.5-1.1-1.7-2.3-0.5-3.7 + c1.5-1.8,2.9-3.7,4.3-5.6c1.4-0.5,2.4,0,3.6,0.9c24.9,17.9,35,49.4,25,78.4c-0.2,0.5-0.3,1.1-0.5,1.6c-3.2,7.5-7.1,14.5-12.5,20.7 + c-6.8,7.8-15,13.9-24.5,18.1c-0.5,0.2-1,0.5-1.5,0.8c-3.4,3.6-8.1,3.9-12.5,4.8c-10.9,2.1-21.8,1.8-32.5-1.3 + c-0.9-0.2-1.7-0.5-2.5-0.9c-1.7-0.9-2.5-2.2-2.3-4.1c0.3-1.9,0.4-3.9,0.9-5.8c0.5-2.1,1.6-3,3.8-3c1.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10.8-34.4c0.4-1.4-0.3-2.6-1.4-3.4c-9.8-7-19.6-13.9-29.3-20.9c-0.5,1.9-1,3.7-1.5,5.6 + c12-0.1,24-0.2,36-0.4c1.4,0,2.5-0.9,2.9-2.2c3.6-11.5,7.2-22.9,10.8-34.4c-1.9,0-3.9,0-5.8,0c3.8,11.4,7.6,22.8,11.5,34.1 + c0.4,1.3,1.5,2.2,2.9,2.2c12-0.1,24-0.2,36-0.4c-0.5-1.9-1-3.7-1.5-5.6c-9.6,7.2-19.3,14.3-28.9,21.5c-1,0.8-1.8,2-1.4,3.4 + c3.8,11.4,7.6,22.8,11.5,34.1c1.2,3.6,7,2.1,5.8-1.6c-3.8-11.4-7.6-22.8-11.5-34.1c-0.5,1.1-0.9,2.3-1.4,3.4 + c9.6-7.2,19.3-14.3,28.9-21.5c2.2-1.7,1.7-5.6-1.5-5.6c-12,0.1-24,0.2-36,0.4c1,0.7,1.9,1.5,2.9,2.2c-3.8-11.4-7.6-22.8-11.5-34.1 + c-0.9-2.8-4.9-2.9-5.8,0c-3.6,11.5-7.2,22.9-10.8,34.4c1-0.7,1.9-1.5,2.9-2.2c-12,0.1-24,0.2-36,0.4c-3.2,0-3.8,3.9-1.5,5.6 + c9.8,7,19.6,13.9,29.3,20.9c-0.5-1.1-0.9-2.3-1.4-3.4c-3.6,11.5-7.2,22.9-10.8,34.4c-0.7,2.3,2.3,5,4.4,3.4 + c9.6-7.2,19.3-14.3,28.9-21.5c-1,0-2,0-3,0c9.8,7,19.6,13.9,29.3,20.9C123.4,170,126.4,164.8,123.3,162.6z"/> +</g> +<line fill="none" stroke="#FFFFFF" stroke-width="6" stroke-miterlimit="10" x1="62" y1="110.3" x2="115.6" y2="109.8"/> +<line fill="none" stroke="#FFFFFF" stroke-width="6" stroke-miterlimit="10" x1="63.5" y1="123.6" x2="101.4" y2="150.7"/> +<line fill="none" stroke="#FFFFFF" stroke-width="6" stroke-miterlimit="10" x1="114.4" y1="143.1" x2="101.4" y2="104.5"/> +<line fill="none" stroke="#FFFFFF" stroke-width="6" stroke-miterlimit="10" x1="85.2" y1="96.7" x2="71.1" y2="141.7"/> +<path fill="none" stroke="#FFFFFF" stroke-width="6" stroke-miterlimit="10" d="M82.7,151.5l38-28.2L82.7,151.5z"/> +</svg> diff --git a/index.html b/index.html new file mode 100644 index 0000000000..cc5f27e06f --- /dev/null +++ b/index.html @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<!-- + PatchyVideo/Platinum v0.7.0-alpha.6(537d33892d40e0eeca7b0586645e5b19407f6785) + MIT License, Copyright (c) 2019-2022 VoileLabs + Generated: 2024-02-19T22:11:06.363Z +--> +<!-- TIMING --> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <!-- ICON --> + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" /> + <link rel="shortcut icon" href="/favicon.ico" /> + <meta name="apple-mobile-web-app-title" content="PatchyVideo" /> + <meta name="application-name" content="PatchyVideo" /> + <meta name="msapplication-TileColor" content="#9f00a7" /> + <meta name="theme-color" content="#ffffff" /> + <!-- VIEW --> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="color-scheme" content="#000000" /> + <!-- PWA --> + <link rel="manifest" href="/manifest.webmanifest" /> + <meta name="apple-mobile-web-app-capable" content="yes" /> + <!-- META-START --> + <title>PatchyVideo + + + + + + + + + + + +
+ + + + diff --git a/libs/common.js b/libs/common.js new file mode 100644 index 0000000000..da599df86d --- /dev/null +++ b/libs/common.js @@ -0,0 +1,40 @@ +const zlib = require('zlib') +const pipeline = require('util').promisify(require('stream').pipeline) + +module.exports = { + /** + * + * @param {import('@vercel/node').VercelRequest} req + * @param {import('stream').Stream} stream + * @param {import('@vercel/node').VercelResponse} res + */ + compressStream: async function (req, stream, res) { + /** + * @type {import('stream').Stream[]} + */ + const transforms = [] + + const acceptEncoding = req.headers['accept-encoding'] || '' + if (/\bbr\b/.test(acceptEncoding)) { + res.setHeader('Content-Encoding', 'br') + transforms.push( + zlib.createBrotliCompress({ + params: { + [zlib.constants.BROTLI_PARAM_QUALITY]: zlib.constants.BROTLI_MAX_QUALITY, + }, + }) + ) + } else if (/\bgzip\b/.test(acceptEncoding)) { + res.setHeader('Content-Encoding', 'gzip') + transforms.push( + zlib.createGzip({ + level: zlib.constants.Z_BEST_COMPRESSION, + }) + ) + } + + await pipeline(stream, ...transforms, res).catch(() => { + res.status(502).end() + }) + }, +} diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000000..4811a4f6d2 --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"PatchyVideo","short_name":"PatchyVideo","start_url":"index.html","display":"standalone","background_color":"#ffffff","lang":"en","scope":"/","description":"The video-indexing platform that helps you find your favorites.","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff"} diff --git a/mstile-144x144.png b/mstile-144x144.png new file mode 100644 index 0000000000..5d4de11c63 Binary files /dev/null and b/mstile-144x144.png differ diff --git a/mstile-150x150.png b/mstile-150x150.png new file mode 100644 index 0000000000..5ac393bc8a Binary files /dev/null and b/mstile-150x150.png differ diff --git a/mstile-310x150.png b/mstile-310x150.png new file mode 100644 index 0000000000..a3a7fddcce Binary files /dev/null and b/mstile-310x150.png differ diff --git a/mstile-310x310.png b/mstile-310x310.png new file mode 100644 index 0000000000..9e80f703f1 Binary files /dev/null and b/mstile-310x310.png differ diff --git a/mstile-70x70.png b/mstile-70x70.png new file mode 100644 index 0000000000..7453b5b150 Binary files /dev/null and b/mstile-70x70.png differ diff --git a/package.json b/package.json new file mode 100644 index 0000000000..a37c47c3b4 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "platinum-function", + "private": true, + "dependencies": { + "cross-fetch": "^3.1.4", + "fake-tag": "^3.0.0", + "html-entities": "^2.3.2" + }, + "devDependencies": { + "@vercel/node": "^1.12.1" + } +} diff --git a/safari-pinned-tab.svg b/safari-pinned-tab.svg new file mode 100644 index 0000000000..c826920a5c --- /dev/null +++ b/safari-pinned-tab.svg @@ -0,0 +1,64 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + diff --git a/sw.js b/sw.js new file mode 100644 index 0000000000..e385cadcea --- /dev/null +++ b/sw.js @@ -0,0 +1,3 @@ +try{self["workbox:core:6.5.3"]&&_()}catch{}const N=(a,...e)=>{let t=a;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},x=N;class l extends Error{constructor(e,t){const s=x(e,t);super(s),this.name=e,this.details=t}}const f={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},b=a=>[f.prefix,a,f.suffix].filter(e=>e&&e.length>0).join("-"),E=a=>{for(const e of Object.keys(f))a(e)},C={updateDetails:a=>{E(e=>{typeof a[e]=="string"&&(f[e]=a[e])})},getGoogleAnalyticsName:a=>a||b(f.googleAnalytics),getPrecacheName:a=>a||b(f.precache),getPrefix:()=>f.prefix,getRuntimeName:a=>a||b(f.runtime),getSuffix:()=>f.suffix};function k(a,e){const t=e();return a.waitUntil(t),t}try{self["workbox:precaching:6.5.3"]&&_()}catch{}const I="__WB_REVISION__";function O(a){if(!a)throw new l("add-to-cache-list-unexpected-type",{entry:a});if(typeof a=="string"){const r=new URL(a,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=a;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:a});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const s=new URL(t,location.href),n=new URL(t,location.href);return s.searchParams.set(I,e),{cacheKey:s.href,url:n.href}}class v{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const n=t.originalRequest.url;s?this.notUpdatedURLs.push(n):this.updatedURLs.push(n)}return s}}}class M{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:s})=>{const n=(s==null?void 0:s.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return n?new Request(n,{headers:t.headers}):t},this._precacheController=e}}let p;function W(){if(p===void 0){const a=new Response("");if("body"in a)try{new Response(a.body),p=!0}catch{p=!1}p=!1}return p}async function D(a,e){let t=null;if(a.url&&(t=new URL(a.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const s=a.clone(),n={headers:new Headers(s.headers),status:s.status,statusText:s.statusText},r=e?e(n):n,c=W()?s.body:await s.blob();return new Response(c,r)}const A=a=>new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),"");function P(a,e){const t=new URL(a);for(const s of e)t.searchParams.delete(s);return t.href}async function S(a,e,t,s){const n=P(e.url,t);if(e.url===n)return a.match(e,s);const r=Object.assign(Object.assign({},s),{ignoreSearch:!0}),c=await a.keys(e,r);for(const i of c){const o=P(i.url,t);if(n===o)return a.match(i,s)}}class q{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const j=new Set;async function F(){for(const a of j)await a()}function H(a){return new Promise(e=>setTimeout(e,a))}try{self["workbox:strategies:6.5.3"]&&_()}catch{}function m(a){return typeof a=="string"?new Request(a):a}class B{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new q,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let s=m(e);if(s.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const c=await t.preloadResponse;if(c)return c}const n=this.hasCallback("fetchDidFail")?s.clone():null;try{for(const c of this.iterateCallbacks("requestWillFetch"))s=await c({request:s.clone(),event:t})}catch(c){if(c instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:c.message})}const r=s.clone();try{let c;c=await fetch(s,s.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const i of this.iterateCallbacks("fetchDidSucceed"))c=await i({event:t,request:r,response:c});return c}catch(c){throw n&&await this.runCallbacks("fetchDidFail",{error:c,event:t,originalRequest:n.clone(),request:r.clone()}),c}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=m(e);let s;const{cacheName:n,matchOptions:r}=this._strategy,c=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},r),{cacheName:n});s=await caches.match(c,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:r,cachedResponse:s,request:c,event:this.event})||void 0;return s}async cachePut(e,t){const s=m(e);await H(0);const n=await this.getCacheKey(s,"write");if(!t)throw new l("cache-put-with-no-response",{url:A(n.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:c,matchOptions:i}=this._strategy,o=await self.caches.open(c),h=this.hasCallback("cacheDidUpdate"),g=h?await S(o,n.clone(),["__WB_REVISION__"],i):null;try{await o.put(n,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await F(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:c,oldResponse:g,newResponse:r.clone(),request:n,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))n=m(await r({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const s=this._pluginStateMap.get(t);yield r=>{const c=Object.assign(Object.assign({},r),{state:s});return t[e](c)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&t.status!==200&&(t=void 0),t}}class ${constructor(e={}){this.cacheName=C.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s=typeof e.request=="string"?new Request(e.request):e.request,n="params"in e?e.params:void 0,r=new B(this,{event:t,request:s,params:n}),c=this._getResponse(r,s,t),i=this._awaitComplete(c,r,s,t);return[c,i]}async _getResponse(e,t,s){await e.runCallbacks("handlerWillStart",{event:s,request:t});let n;try{if(n=await this._handle(t,e),!n||n.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const c of e.iterateCallbacks("handlerDidError"))if(n=await c({error:r,event:s,request:t}),n)break}if(!n)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))n=await r({event:s,request:t,response:n});return n}async _awaitComplete(e,t,s,n){let r,c;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:r}),await t.doneWaiting()}catch(i){i instanceof Error&&(c=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:r,error:c}),t.destroy(),c)throw c}}class d extends ${constructor(e={}){e.cacheName=C.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(d.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let s;const n=t.params||{};if(this._fallbackToNetwork){const r=n.integrity,c=e.integrity,i=!c||c===r;s=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?c||r:void 0})),r&&i&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,s.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return s}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const s=await t.fetch(e);if(!await t.cachePut(e,s.clone()))throw new l("bad-precaching-response",{url:e.url,status:s.status});return s}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==d.copyRedirectedCacheableResponsesPlugin&&(n===d.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);t===0?this.plugins.push(d.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}d.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:a}){return!a||a.status>=400?null:a}};d.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:a}){return a.redirected?await D(a):a}};class G{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new d({cacheName:C.getPrecacheName(e),plugins:[...t,new M({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const s of e){typeof s=="string"?t.push(s):s&&s.revision===void 0&&t.push(s.url);const{cacheKey:n,url:r}=O(s),c=typeof s!="string"&&s.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==n)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:n});if(typeof s!="string"&&s.integrity){if(this._cacheKeysToIntegrities.has(n)&&this._cacheKeysToIntegrities.get(n)!==s.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(n,s.integrity)}if(this._urlsToCacheKeys.set(r,n),this._urlsToCacheModes.set(r,c),t.length>0){const i=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(i)}}}install(e){return k(e,async()=>{const t=new v;this.strategy.plugins.push(t);for(const[r,c]of this._urlsToCacheKeys){const i=this._cacheKeysToIntegrities.get(c),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:i,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:c},request:h,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}})}activate(e){return k(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),s=await t.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(const c of s)n.has(c.url)||(await t.delete(c),r.push(c.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s)return(await self.caches.open(this.strategy.cacheName)).match(s)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return s=>(s.request=new Request(e),s.params=Object.assign({cacheKey:t},s.params),this.strategy.handle(s))}}let U;const K=()=>(U||(U=new G),U);try{self["workbox:routing:6.5.3"]&&_()}catch{}const T="GET",R=a=>a&&typeof a=="object"?a:{handle:a};class w{constructor(e,t,s=T){this.handler=R(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=R(e)}}class V extends w{constructor(e,t,s){const n=({url:r})=>{const c=e.exec(r.href);if(!!c&&!(r.origin!==location.origin&&c.index!==0))return c.slice(1)};super(n,t,s)}}class Q{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,s=Promise.all(t.urlsToCache.map(n=>{typeof n=="string"&&(n=[n]);const r=new Request(...n);return this.handleRequest({request:r,event:e})}));e.waitUntil(s),e.ports&&e.ports[0]&&s.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:r,route:c}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=c&&c.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return;let h;try{h=i.handle({url:s,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=c&&c.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:s,request:e,event:t,params:r})}catch(L){L instanceof Error&&(u=L)}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const r=this._routes.get(s.method)||[];for(const c of r){let i;const o=c.match({url:e,sameOrigin:t,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&i.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(i=void 0),{route:c,params:i}}return{}}setDefaultHandler(e,t=T){this._defaultHandlerMap.set(t,R(e))}setCatchHandler(e){this._catchHandler=R(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let y;const z=()=>(y||(y=new Q,y.addFetchListener(),y.addCacheListener()),y);function J(a,e,t){let s;if(typeof a=="string"){const r=new URL(a,location.href),c=({url:i})=>i.href===r.href;s=new w(c,e,t)}else if(a instanceof RegExp)s=new V(a,e,t);else if(typeof a=="function")s=new w(a,e,t);else if(a instanceof w)s=a;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return z().registerRoute(s),s}function X(a,e=[]){for(const t of[...a.searchParams.keys()])e.some(s=>s.test(t))&&a.searchParams.delete(t);return a}function*Y(a,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:s=!0,urlManipulation:n}={}){const r=new URL(a,location.href);r.hash="",yield r.href;const c=X(r,e);if(yield c.href,t&&c.pathname.endsWith("/")){const i=new URL(c.href);i.pathname+=t,yield i.href}if(s){const i=new URL(c.href);i.pathname+=".html",yield i.href}if(n){const i=n({url:r});for(const o of i)yield o.href}}class Z extends w{constructor(e,t){const s=({request:n})=>{const r=e.getURLsToCacheKeys();for(const c of Y(n.url,t)){const i=r.get(c);if(i){const o=e.getIntegrityForCacheKey(i);return{cacheKey:i,integrity:o}}}};super(s,e.strategy)}}function ee(a){const e=K(),t=new Z(e,a);J(t)}const te="-precache-",se=async(a,e=te)=>{const s=(await self.caches.keys()).filter(n=>n.includes(e)&&n.includes(self.registration.scope)&&n!==a);return await Promise.all(s.map(n=>self.caches.delete(n))),s};function ae(){self.addEventListener("activate",a=>{const e=C.getPrecacheName();a.waitUntil(se(e).then(t=>{}))})}function ne(a){K().precache(a)}function re(a,e){ne(a),ee(e)}self.addEventListener("message",a=>{a.data&&a.data.type==="SKIP_WAITING"&&self.skipWaiting()});ae();re([{"revision":"a7ed05e929964da70b4a5705d8f36b5f","url":"LICENSE"},{"revision":"f63ac801a61fcad274f538928bd5ced0","url":"index.html"},{"revision":null,"url":"assets/404.1cc6a619.js"},{"revision":null,"url":"assets/Author.4c62f310.js"},{"revision":null,"url":"assets/backTop.a4b6f707.js"},{"revision":null,"url":"assets/BackTop.vue_vue_type_script_setup_true_lang.6a3b40f2.js"},{"revision":null,"url":"assets/biliHelper.9b20d4b7.js"},{"revision":null,"url":"assets/ChangeSettings.0ee1356b.js"},{"revision":null,"url":"assets/CompPlaylist.6f1acf8f.js"},{"revision":null,"url":"assets/CompQueryVideo.d0cc364c.js"},{"revision":null,"url":"assets/Cover.vue_vue_type_script_setup_true_lang.3d0c81a2.js"},{"revision":null,"url":"assets/CoverPlaceholder.83cb739d.js"},{"revision":null,"url":"assets/decodeAdditionalConstraint.da833011.js"},{"revision":null,"url":"assets/DefaultAvatar.471a92cc.jpg"},{"revision":null,"url":"assets/EditVideo.df41c9f5.js"},{"revision":null,"url":"assets/Embed.d14e0c94.js"},{"revision":null,"url":"assets/en-US.9ae2a7be.js"},{"revision":null,"url":"assets/flv.44cf4476.js"},{"revision":null,"url":"assets/ForgetPassword.bd463b9d.css"},{"revision":null,"url":"assets/ForgetPassword.d9239742.js"},{"revision":null,"url":"assets/Home.7de31a6a.js"},{"revision":null,"url":"assets/imageUrl.5afb7f35.js"},{"revision":null,"url":"assets/index.01b34437.js"},{"revision":null,"url":"assets/index.02584d69.js"},{"revision":null,"url":"assets/index.0290b1e2.js"},{"revision":null,"url":"assets/index.05450fda.js"},{"revision":null,"url":"assets/index.0e5950f5.js"},{"revision":null,"url":"assets/index.1072c2b0.js"},{"revision":null,"url":"assets/index.127c9386.js"},{"revision":null,"url":"assets/index.1802f367.js"},{"revision":null,"url":"assets/index.1c3beaef.js"},{"revision":null,"url":"assets/index.1e0e538b.js"},{"revision":null,"url":"assets/index.21309fda.js"},{"revision":null,"url":"assets/index.236bd355.js"},{"revision":null,"url":"assets/index.23a6c151.js"},{"revision":null,"url":"assets/index.2434a05f.js"},{"revision":null,"url":"assets/index.24c46401.js"},{"revision":null,"url":"assets/index.2699235a.js"},{"revision":null,"url":"assets/index.2a57f56e.js"},{"revision":null,"url":"assets/index.2b8b0fc4.js"},{"revision":null,"url":"assets/index.2e976be3.js"},{"revision":null,"url":"assets/index.2fc1066c.js"},{"revision":null,"url":"assets/index.3045f291.js"},{"revision":null,"url":"assets/index.3056eec4.js"},{"revision":null,"url":"assets/index.31a6003e.js"},{"revision":null,"url":"assets/index.3a2a2ff8.js"},{"revision":null,"url":"assets/index.3a85abe5.js"},{"revision":null,"url":"assets/index.3f00e5cf.js"},{"revision":null,"url":"assets/index.40792eff.css"},{"revision":null,"url":"assets/index.410c0191.js"},{"revision":null,"url":"assets/index.45cad889.js"},{"revision":null,"url":"assets/index.47c106c9.js"},{"revision":null,"url":"assets/index.49d553e0.js"},{"revision":null,"url":"assets/index.4a2b8680.js"},{"revision":null,"url":"assets/index.4ca8df01.js"},{"revision":null,"url":"assets/index.4ecef494.js"},{"revision":null,"url":"assets/index.53926116.js"},{"revision":null,"url":"assets/index.53b8c5bf.js"},{"revision":null,"url":"assets/index.5549f2c5.js"},{"revision":null,"url":"assets/index.557f901b.js"},{"revision":null,"url":"assets/index.5c6f2287.js"},{"revision":null,"url":"assets/index.5f43a2ae.js"},{"revision":null,"url":"assets/index.5fcee0b4.js"},{"revision":null,"url":"assets/index.63e09bc0.js"},{"revision":null,"url":"assets/index.65678116.js"},{"revision":null,"url":"assets/index.66fff3a6.js"},{"revision":null,"url":"assets/index.6b96687e.js"},{"revision":null,"url":"assets/index.6d06af31.js"},{"revision":null,"url":"assets/index.6fd89f14.js"},{"revision":null,"url":"assets/index.718447b7.js"},{"revision":null,"url":"assets/index.72556674.js"},{"revision":null,"url":"assets/index.73e24402.js"},{"revision":null,"url":"assets/index.7656b5a1.js"},{"revision":null,"url":"assets/index.76e3de19.js"},{"revision":null,"url":"assets/index.7cc232d2.js"},{"revision":null,"url":"assets/index.7d92ff02.js"},{"revision":null,"url":"assets/index.7fa6b9e4.js"},{"revision":null,"url":"assets/index.7fdd26b2.js"},{"revision":null,"url":"assets/index.8126c63d.js"},{"revision":null,"url":"assets/index.84dcbf24.js"},{"revision":null,"url":"assets/index.8db34127.js"},{"revision":null,"url":"assets/index.8ea81576.js"},{"revision":null,"url":"assets/index.8f2b1f29.js"},{"revision":null,"url":"assets/index.91b1bc45.js"},{"revision":null,"url":"assets/index.92015277.js"},{"revision":null,"url":"assets/index.96c55bff.js"},{"revision":null,"url":"assets/index.979a39bb.js"},{"revision":null,"url":"assets/index.99dc73d2.js"},{"revision":null,"url":"assets/index.9d67e082.js"},{"revision":null,"url":"assets/index.9f39dc77.js"},{"revision":null,"url":"assets/index.a453e265.js"},{"revision":null,"url":"assets/index.a6fcf9a7.js"},{"revision":null,"url":"assets/index.a703cba5.js"},{"revision":null,"url":"assets/index.a841e78a.js"},{"revision":null,"url":"assets/index.abdbe908.js"},{"revision":null,"url":"assets/index.b1d012ea.js"},{"revision":null,"url":"assets/index.b2e27d9a.js"},{"revision":null,"url":"assets/index.b5c3ba94.js"},{"revision":null,"url":"assets/index.b87d0715.js"},{"revision":null,"url":"assets/index.b8bf3075.js"},{"revision":null,"url":"assets/index.bae2e35d.js"},{"revision":null,"url":"assets/index.be15d94c.js"},{"revision":null,"url":"assets/index.c3510264.js"},{"revision":null,"url":"assets/index.c9eec16e.js"},{"revision":null,"url":"assets/index.caf22d62.js"},{"revision":null,"url":"assets/index.cb72749d.js"},{"revision":null,"url":"assets/index.cc66e238.js"},{"revision":null,"url":"assets/index.d01bfff8.js"},{"revision":null,"url":"assets/index.d8221a4b.js"},{"revision":null,"url":"assets/index.da3b51fe.js"},{"revision":null,"url":"assets/index.dc7d7db8.js"},{"revision":null,"url":"assets/index.e75ddd8e.js"},{"revision":null,"url":"assets/index.ea0c2911.js"},{"revision":null,"url":"assets/index.eace165b.js"},{"revision":null,"url":"assets/index.f02d858e.js"},{"revision":null,"url":"assets/index.f1359114.js"},{"revision":null,"url":"assets/index.f1fb4291.js"},{"revision":null,"url":"assets/index.f2c4e740.js"},{"revision":null,"url":"assets/index.f40153f5.js"},{"revision":null,"url":"assets/index.f42002a5.js"},{"revision":null,"url":"assets/index.fa2d35ac.js"},{"revision":null,"url":"assets/index.fd390468.js"},{"revision":null,"url":"assets/index.fde568dc.js"},{"revision":null,"url":"assets/index.fef22090.js"},{"revision":null,"url":"assets/ipfs.ab16cf8b.png"},{"revision":null,"url":"assets/LayoutDefault.5019921a.css"},{"revision":null,"url":"assets/LayoutDefault.vue_vue_type_script_setup_true_lang.81f2d2c2.js"},{"revision":null,"url":"assets/Leaderboard.755750e5.js"},{"revision":null,"url":"assets/Login.4eedfc40.css"},{"revision":null,"url":"assets/Login.a949e73d.jpg"},{"revision":null,"url":"assets/Login.cfbb7729.js"},{"revision":null,"url":"assets/LoginMobile.7dec527c.jpg"},{"revision":null,"url":"assets/Logo.vue_vue_type_script_setup_true_lang.c97edb4a.js"},{"revision":null,"url":"assets/Notification.9bab8373.js"},{"revision":null,"url":"assets/Player.74106f66.js"},{"revision":null,"url":"assets/Player.79dbd7ef.css"},{"revision":null,"url":"assets/Playlist.77c78238.css"},{"revision":null,"url":"assets/Playlist.a2ddeab9.js"},{"revision":null,"url":"assets/PlaylistList.07f0245d.js"},{"revision":null,"url":"assets/Profile.81220e56.js"},{"revision":null,"url":"assets/PvPagination.vue_vue_type_script_setup_true_lang.0d58a331.js"},{"revision":null,"url":"assets/PvSelect.vue_vue_type_script_setup_true_lang.ca27010b.js"},{"revision":null,"url":"assets/PvSwitch.vue_vue_type_script_setup_true_lang.41a2d31b.js"},{"revision":null,"url":"assets/PvTabs.vue_vue_type_script_setup_true_lang.3428cc37.js"},{"revision":null,"url":"assets/Redirect.dd3d17f9.js"},{"revision":null,"url":"assets/resDataStatus.1d07d88c.js"},{"revision":null,"url":"assets/ResetPassword.8e315e5b.css"},{"revision":null,"url":"assets/ResetPassword.9fd402d2.js"},{"revision":null,"url":"assets/SearchPage.129983f3.js"},{"revision":null,"url":"assets/SearchResult.27a417c5.css"},{"revision":null,"url":"assets/SearchResult.821faf49.js"},{"revision":null,"url":"assets/SearchResultBackImg.0b180644.png"},{"revision":null,"url":"assets/setSiteTitle.db0fa839.js"},{"revision":null,"url":"assets/SettingsAccount.b75b2b1f.js"},{"revision":null,"url":"assets/SettingsAppearance.720b4f87.js"},{"revision":null,"url":"assets/SettingsGeneral.bcf54fe7.js"},{"revision":null,"url":"assets/Signup.9672075d.css"},{"revision":null,"url":"assets/Signup.c2df30b1.jpg"},{"revision":null,"url":"assets/Signup.dfd7e427.js"},{"revision":null,"url":"assets/SignupMobile.7c2f8af2.jpg"},{"revision":null,"url":"assets/use-controllable.d8c790f2.js"},{"revision":null,"url":"assets/User.538ceb29.js"},{"revision":null,"url":"assets/User.acdb8796.css"},{"revision":null,"url":"assets/UserAvatarPopper.a1f280ca.js"},{"revision":null,"url":"assets/UserAvatarPopper.bac3e7a2.css"},{"revision":null,"url":"assets/Video.32aea3b7.js"},{"revision":null,"url":"assets/Video.a5ebd18c.css"},{"revision":null,"url":"assets/VideoList.bfb7f975.js"},{"revision":null,"url":"assets/VideoRowPlaceholder.963d45c4.css"},{"revision":null,"url":"assets/VideoRowPlaceholder.vue_vue_type_script_setup_true_lang.01774fea.js"},{"revision":null,"url":"assets/workbox-window.prod.es5.fc37ce2a.js"},{"revision":null,"url":"assets/yue-Hant-HK.7335aecb.js"},{"revision":null,"url":"assets/zcool.66d12985.png"},{"revision":null,"url":"assets/zh-Hans-CN.d301bc6d.js"},{"revision":"08cdae9caf35ffd10c2a448c91166334","url":"favicon.ico"},{"revision":"38cc007de0693b08b33f8ad4068e71c8","url":"apple-touch-icon.png"},{"revision":"aef75d42fd0fe7ba68ca01b449200537","url":"android-chrome-192x192.png"},{"revision":"d839712f7dabd3d445f315e2431c4fb7","url":"android-chrome-512x512.png"},{"revision":"df86503079d3e235a22c0051f58fe291","url":"manifest.webmanifest"}]); +//# sourceMappingURL=sw.js.map diff --git a/sw.js.map b/sw.js.map new file mode 100644 index 0000000000..7aed873d03 --- /dev/null +++ b/sw.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_version.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/models/messages/messageGenerator.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/WorkboxError.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/cacheNames.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/waitUntil.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/_version.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/createCacheKey.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/copyResponse.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/getFriendlyURL.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/Deferred.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/models/quotaErrorCallbacks.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","../node_modules/.pnpm/workbox-core@6.5.4/node_modules/workbox-core/_private/timeout.js","../node_modules/.pnpm/workbox-strategies@6.5.4/node_modules/workbox-strategies/_version.js","../node_modules/.pnpm/workbox-strategies@6.5.4/node_modules/workbox-strategies/StrategyHandler.js","../node_modules/.pnpm/workbox-strategies@6.5.4/node_modules/workbox-strategies/Strategy.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/PrecacheStrategy.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/PrecacheController.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/_version.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/utils/constants.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/utils/normalizeHandler.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/Route.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/RegExpRoute.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/Router.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","../node_modules/.pnpm/workbox-routing@6.5.4/node_modules/workbox-routing/registerRoute.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/generateURLVariations.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/PrecacheRoute.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/addRoute.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/utils/deleteOutdatedCaches.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/cleanupOutdatedCaches.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/precache.js","../node_modules/.pnpm/workbox-precaching@6.5.4/node_modules/workbox-precaching/precacheAndRoute.js","../packages/main/sw.ts"],"names":["fallback","code","args","msg","messageGenerator","WorkboxError","errorCode","details","message","_cacheNameDetails","_createCacheName","cacheName","value","eachCacheNameDetail","fn","key","cacheNames","userCacheName","waitUntil","event","asyncFn","returnPromise","REVISION_SEARCH_PARAM","createCacheKey","entry","urlObject","revision","url","cacheKeyURL","originalURL","PrecacheInstallReportPlugin","request","state","cachedResponse","PrecacheCacheKeyPlugin","precacheController","params","cacheKey","supportStatus","canConstructResponseFromBodyStream","testResponse","copyResponse","response","modifier","origin","clonedResponse","responseInit","modifiedResponseInit","body","getFriendlyURL","stripParams","fullURL","ignoreParams","strippedURL","param","cacheMatchIgnoreParams","cache","matchOptions","strippedRequestURL","keysOptions","cacheKeys","strippedCacheKeyURL","Deferred","resolve","reject","quotaErrorCallbacks","executeQuotaErrorCallbacks","callback","timeout","ms","toRequest","input","StrategyHandler","strategy","options","plugin","possiblePreloadResponse","originalRequest","cb","err","pluginFilteredRequest","fetchResponse","error","responseClone","effectiveRequest","multiMatchOptions","responseToCache","hasCacheUpdateCallback","oldResponse","mode","name","statefulParam","promise","pluginsUsed","Strategy","responseDone","handler","handlerDone","waitUntilError","PrecacheStrategy","integrityInManifest","integrityInRequest","noIntegrityConflict","defaultPluginIndex","cacheWillUpdatePluginCount","index","PrecacheController","plugins","fallbackToNetwork","entries","urlsToWarnAbout","cacheMode","warningMessage","installReportPlugin","integrity","updatedURLs","notUpdatedURLs","currentlyCachedRequests","expectedCacheKeys","deletedURLs","getOrCreatePrecacheController","defaultMethod","normalizeHandler","Route","match","method","RegExpRoute","regExp","result","Router","responsePromise","payload","requestPromises","sameOrigin","route","catchHandler","catchErr","routes","matchResult","routeIndex","defaultRouter","getOrCreateDefaultRouter","registerRoute","capture","captureUrl","matchCallback","removeIgnoredSearchParams","ignoreURLParametersMatching","paramName","generateURLVariations","directoryIndex","cleanURLs","urlManipulation","urlWithoutIgnoredParams","directoryURL","cleanURL","additionalURLs","urlToAttempt","PrecacheRoute","urlsToCacheKeys","possibleURL","addRoute","precacheRoute","SUBSTRING_TO_FIND","deleteOutdatedCaches","currentPrecacheName","substringToFind","cacheNamesToDelete","cleanupOutdatedCaches","cachesDeleted","precache","precacheAndRoute"],"mappings":"AAEA,GAAI,CACA,KAAK,uBAAyB,GAClC,MACA,CAAU,CCIV,MAAM,EAAW,CAAC,KAAS,IAAS,CAChC,IAAI,EAAM,EACV,OAAI,EAAK,OAAS,IACd,GAAO,OAAO,KAAK,UAAU,CAAI,KAE9B,CACX,EAQa,EAA2D,ECLxE,MAAM,UAAqB,KAAM,CAS7B,YAAY,EAAW,EAAS,CAC5B,MAAM,EAAU,EAAiB,EAAW,CAAO,EACnD,MAAM,CAAO,EACb,KAAK,KAAO,EACZ,KAAK,QAAU,CAClB,CACL,CCzBA,MAAM,EAAoB,CACtB,gBAAiB,kBACjB,SAAU,cACV,OAAQ,UACR,QAAS,UACT,OAAQ,OAAO,aAAiB,IAAc,aAAa,MAAQ,EACvE,EACM,EAAoB,GACf,CAAC,EAAkB,OAAQ,EAAW,EAAkB,MAAM,EAChE,OAAQ,GAAU,GAAS,EAAM,OAAS,CAAC,EAC3C,KAAK,GAAG,EAEX,EAAuB,GAAO,CAChC,UAAW,KAAO,OAAO,KAAK,CAAiB,EAC3C,EAAG,CAAG,CAEd,EACa,EAAa,CACtB,cAAgB,GAAY,CACxB,EAAqB,GAAQ,CACrB,OAAO,EAAQ,IAAS,WACxB,EAAkB,GAAO,EAAQ,GAEjD,CAAS,CACJ,EACD,uBAAyB,GACd,GAAiB,EAAiB,EAAkB,eAAe,EAE9E,gBAAkB,GACP,GAAiB,EAAiB,EAAkB,QAAQ,EAEvE,UAAW,IACA,EAAkB,OAE7B,eAAiB,GACN,GAAiB,EAAiB,EAAkB,OAAO,EAEtE,UAAW,IACA,EAAkB,MAEjC,EChCA,SAAS,EAAU,EAAO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EAAc,CAAa,CAC/B,CCrBA,MAAM,GAAoB,aAmBpB,GAAuB,MAAO,EAAqB,EAAkB,KAAsB,CAE7F,MAAM,GADa,MAAM,KAAK,OAAO,KAAI,GACH,OAAQ,GAClC,EAAU,SAAS,CAAe,GACtC,EAAU,SAAS,KAAK,aAAa,KAAK,GAC1C,IAAc,CACrB,EACD,aAAM,QAAQ,IAAI,EAAmB,IAAK,GAAc,KAAK,OAAO,OAAO,CAAS,CAAC,CAAC,EAC/E,CACX,ECnBA,SAAS,IAAwB,CAE7B,KAAK,iBAAiB,WAAc,GAAU,CAC1C,MAAM,EAAY,EAAW,kBAC7B,EAAM,UAAU,GAAqB,CAAS,EAAE,KAAM,GAAkB,CAOvE,CAAA,CAAC,CACV,EACA,CCFA,SAAS,GAAS,EAAS,CACI,IACR,SAAS,CAAO,CACvC,CCPA,SAAS,GAAiB,EAAS,EAAS,CACxC,GAAS,CAAO,EAChB,GAAS,CAAO,CACpB,CCvBA,KAAK,iBAAiB,UAAY,GAAU,CACtC,EAAM,MAAQ,EAAM,KAAK,OAAS,gBACpC,KAAK,YAAY,CACrB,CAAC,EAED,KAEA,GAAiB,iwTAAK,aAAa","file":"sw.js","sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:core:6.5.3'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messages } from './messages.js';\nimport '../../_version.js';\nconst fallback = (code, ...args) => {\n let msg = code;\n if (args.length > 0) {\n msg += ` :: ${JSON.stringify(args)}`;\n }\n return msg;\n};\nconst generatorFunction = (code, details = {}) => {\n const message = messages[code];\n if (!message) {\n throw new Error(`Unable to find message for code '${code}'.`);\n }\n return message(details);\n};\nexport const messageGenerator = process.env.NODE_ENV === 'production' ? fallback : generatorFunction;\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messageGenerator } from '../models/messages/messageGenerator.js';\nimport '../_version.js';\n/**\n * Workbox errors should be thrown with this class.\n * This allows use to ensure the type easily in tests,\n * helps developers identify errors from workbox\n * easily and allows use to optimise error\n * messages correctly.\n *\n * @private\n */\nclass WorkboxError extends Error {\n /**\n *\n * @param {string} errorCode The error code that\n * identifies this particular error.\n * @param {Object=} details Any relevant arguments\n * that will help developers identify issues should\n * be added as a key on the context object.\n */\n constructor(errorCode, details) {\n const message = messageGenerator(errorCode, details);\n super(message);\n this.name = errorCode;\n this.details = details;\n }\n}\nexport { WorkboxError };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst _cacheNameDetails = {\n googleAnalytics: 'googleAnalytics',\n precache: 'precache-v2',\n prefix: 'workbox',\n runtime: 'runtime',\n suffix: typeof registration !== 'undefined' ? registration.scope : '',\n};\nconst _createCacheName = (cacheName) => {\n return [_cacheNameDetails.prefix, cacheName, _cacheNameDetails.suffix]\n .filter((value) => value && value.length > 0)\n .join('-');\n};\nconst eachCacheNameDetail = (fn) => {\n for (const key of Object.keys(_cacheNameDetails)) {\n fn(key);\n }\n};\nexport const cacheNames = {\n updateDetails: (details) => {\n eachCacheNameDetail((key) => {\n if (typeof details[key] === 'string') {\n _cacheNameDetails[key] = details[key];\n }\n });\n },\n getGoogleAnalyticsName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.googleAnalytics);\n },\n getPrecacheName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.precache);\n },\n getPrefix: () => {\n return _cacheNameDetails.prefix;\n },\n getRuntimeName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.runtime);\n },\n getSuffix: () => {\n return _cacheNameDetails.suffix;\n },\n};\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A utility method that makes it easier to use `event.waitUntil` with\n * async functions and return the result.\n *\n * @param {ExtendableEvent} event\n * @param {Function} asyncFn\n * @return {Function}\n * @private\n */\nfunction waitUntil(event, asyncFn) {\n const returnPromise = asyncFn();\n event.waitUntil(returnPromise);\n return returnPromise;\n}\nexport { waitUntil };\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:precaching:6.5.3'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport '../_version.js';\n// Name of the search parameter used to store revision info.\nconst REVISION_SEARCH_PARAM = '__WB_REVISION__';\n/**\n * Converts a manifest entry into a versioned URL suitable for precaching.\n *\n * @param {Object|string} entry\n * @return {string} A URL with versioning info.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function createCacheKey(entry) {\n if (!entry) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If a precache manifest entry is a string, it's assumed to be a versioned\n // URL, like '/app.abcd1234.js'. Return as-is.\n if (typeof entry === 'string') {\n const urlObject = new URL(entry, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n const { revision, url } = entry;\n if (!url) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If there's just a URL and no revision, then it's also assumed to be a\n // versioned URL.\n if (!revision) {\n const urlObject = new URL(url, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n // Otherwise, construct a properly versioned URL using the custom Workbox\n // search parameter along with the revision info.\n const cacheKeyURL = new URL(url, location.href);\n const originalURL = new URL(url, location.href);\n cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM, revision);\n return {\n cacheKey: cacheKeyURL.href,\n url: originalURL.href,\n };\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to determine the\n * of assets that were updated (or not updated) during the install event.\n *\n * @private\n */\nclass PrecacheInstallReportPlugin {\n constructor() {\n this.updatedURLs = [];\n this.notUpdatedURLs = [];\n this.handlerWillStart = async ({ request, state, }) => {\n // TODO: `state` should never be undefined...\n if (state) {\n state.originalRequest = request;\n }\n };\n this.cachedResponseWillBeUsed = async ({ event, state, cachedResponse, }) => {\n if (event.type === 'install') {\n if (state &&\n state.originalRequest &&\n state.originalRequest instanceof Request) {\n // TODO: `state` should never be undefined...\n const url = state.originalRequest.url;\n if (cachedResponse) {\n this.notUpdatedURLs.push(url);\n }\n else {\n this.updatedURLs.push(url);\n }\n }\n }\n return cachedResponse;\n };\n }\n}\nexport { PrecacheInstallReportPlugin };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to translate URLs into\n * the corresponding cache key, based on the current revision info.\n *\n * @private\n */\nclass PrecacheCacheKeyPlugin {\n constructor({ precacheController }) {\n this.cacheKeyWillBeUsed = async ({ request, params, }) => {\n // Params is type any, can't change right now.\n /* eslint-disable */\n const cacheKey = (params === null || params === void 0 ? void 0 : params.cacheKey) ||\n this._precacheController.getCacheKeyForURL(request.url);\n /* eslint-enable */\n return cacheKey\n ? new Request(cacheKey, { headers: request.headers })\n : request;\n };\n this._precacheController = precacheController;\n }\n}\nexport { PrecacheCacheKeyPlugin };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nlet supportStatus;\n/**\n * A utility function that determines whether the current browser supports\n * constructing a new `Response` from a `response.body` stream.\n *\n * @return {boolean} `true`, if the current browser can successfully\n * construct a `Response` from a `response.body` stream, `false` otherwise.\n *\n * @private\n */\nfunction canConstructResponseFromBodyStream() {\n if (supportStatus === undefined) {\n const testResponse = new Response('');\n if ('body' in testResponse) {\n try {\n new Response(testResponse.body);\n supportStatus = true;\n }\n catch (error) {\n supportStatus = false;\n }\n }\n supportStatus = false;\n }\n return supportStatus;\n}\nexport { canConstructResponseFromBodyStream };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructResponseFromBodyStream } from './_private/canConstructResponseFromBodyStream.js';\nimport { WorkboxError } from './_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Allows developers to copy a response and modify its `headers`, `status`,\n * or `statusText` values (the values settable via a\n * [`ResponseInit`]{@link https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n * object in the constructor).\n * To modify these values, pass a function as the second argument. That\n * function will be invoked with a single object with the response properties\n * `{headers, status, statusText}`. The return value of this function will\n * be used as the `ResponseInit` for the new `Response`. To change the values\n * either modify the passed parameter(s) and return it, or return a totally\n * new object.\n *\n * This method is intentionally limited to same-origin responses, regardless of\n * whether CORS was used or not.\n *\n * @param {Response} response\n * @param {Function} modifier\n * @memberof workbox-core\n */\nasync function copyResponse(response, modifier) {\n let origin = null;\n // If response.url isn't set, assume it's cross-origin and keep origin null.\n if (response.url) {\n const responseURL = new URL(response.url);\n origin = responseURL.origin;\n }\n if (origin !== self.location.origin) {\n throw new WorkboxError('cross-origin-copy-response', { origin });\n }\n const clonedResponse = response.clone();\n // Create a fresh `ResponseInit` object by cloning the headers.\n const responseInit = {\n headers: new Headers(clonedResponse.headers),\n status: clonedResponse.status,\n statusText: clonedResponse.statusText,\n };\n // Apply any user modifications.\n const modifiedResponseInit = modifier ? modifier(responseInit) : responseInit;\n // Create the new response from the body stream and `ResponseInit`\n // modifications. Note: not all browsers support the Response.body stream,\n // so fall back to reading the entire body into memory as a blob.\n const body = canConstructResponseFromBodyStream()\n ? clonedResponse.body\n : await clonedResponse.blob();\n return new Response(body, modifiedResponseInit);\n}\nexport { copyResponse };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst getFriendlyURL = (url) => {\n const urlObj = new URL(String(url), location.href);\n // See https://github.com/GoogleChrome/workbox/issues/2323\n // We want to include everything, except for the origin if it's same-origin.\n return urlObj.href.replace(new RegExp(`^${location.origin}`), '');\n};\nexport { getFriendlyURL };\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nfunction stripParams(fullURL, ignoreParams) {\n const strippedURL = new URL(fullURL);\n for (const param of ignoreParams) {\n strippedURL.searchParams.delete(param);\n }\n return strippedURL.href;\n}\n/**\n * Matches an item in the cache, ignoring specific URL params. This is similar\n * to the `ignoreSearch` option, but it allows you to ignore just specific\n * params (while continuing to match on the others).\n *\n * @private\n * @param {Cache} cache\n * @param {Request} request\n * @param {Object} matchOptions\n * @param {Array} ignoreParams\n * @return {Promise}\n */\nasync function cacheMatchIgnoreParams(cache, request, ignoreParams, matchOptions) {\n const strippedRequestURL = stripParams(request.url, ignoreParams);\n // If the request doesn't include any ignored params, match as normal.\n if (request.url === strippedRequestURL) {\n return cache.match(request, matchOptions);\n }\n // Otherwise, match by comparing keys\n const keysOptions = Object.assign(Object.assign({}, matchOptions), { ignoreSearch: true });\n const cacheKeys = await cache.keys(request, keysOptions);\n for (const cacheKey of cacheKeys) {\n const strippedCacheKeyURL = stripParams(cacheKey.url, ignoreParams);\n if (strippedRequestURL === strippedCacheKeyURL) {\n return cache.match(cacheKey, matchOptions);\n }\n }\n return;\n}\nexport { cacheMatchIgnoreParams };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The Deferred class composes Promises in a way that allows for them to be\n * resolved or rejected from outside the constructor. In most cases promises\n * should be used directly, but Deferreds can be necessary when the logic to\n * resolve a promise must be separate.\n *\n * @private\n */\nclass Deferred {\n /**\n * Creates a promise and exposes its resolve and reject functions as methods.\n */\n constructor() {\n this.promise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n}\nexport { Deferred };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n// Callbacks to be executed whenever there's a quota error.\n// Can't change Function type right now.\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst quotaErrorCallbacks = new Set();\nexport { quotaErrorCallbacks };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from '../_private/logger.js';\nimport { quotaErrorCallbacks } from '../models/quotaErrorCallbacks.js';\nimport '../_version.js';\n/**\n * Runs all of the callback functions, one at a time sequentially, in the order\n * in which they were registered.\n *\n * @memberof workbox-core\n * @private\n */\nasync function executeQuotaErrorCallbacks() {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`About to run ${quotaErrorCallbacks.size} ` +\n `callbacks to clean up caches.`);\n }\n for (const callback of quotaErrorCallbacks) {\n await callback();\n if (process.env.NODE_ENV !== 'production') {\n logger.log(callback, 'is complete.');\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log('Finished running callbacks.');\n }\n}\nexport { executeQuotaErrorCallbacks };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Returns a promise that resolves and the passed number of milliseconds.\n * This utility is an async/await-friendly version of `setTimeout`.\n *\n * @param {number} ms\n * @return {Promise}\n * @private\n */\nexport function timeout(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:strategies:6.5.3'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheMatchIgnoreParams } from 'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { executeQuotaErrorCallbacks } from 'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { timeout } from 'workbox-core/_private/timeout.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\nfunction toRequest(input) {\n return typeof input === 'string' ? new Request(input) : input;\n}\n/**\n * A class created every time a Strategy instance instance calls\n * {@link workbox-strategies.Strategy~handle} or\n * {@link workbox-strategies.Strategy~handleAll} that wraps all fetch and\n * cache actions around plugin callbacks and keeps track of when the strategy\n * is \"done\" (i.e. all added `event.waitUntil()` promises have resolved).\n *\n * @memberof workbox-strategies\n */\nclass StrategyHandler {\n /**\n * Creates a new instance associated with the passed strategy and event\n * that's handling the request.\n *\n * The constructor also initializes the state that will be passed to each of\n * the plugins handling this request.\n *\n * @param {workbox-strategies.Strategy} strategy\n * @param {Object} options\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params] The return value from the\n * {@link workbox-routing~matchCallback} (if applicable).\n */\n constructor(strategy, options) {\n this._cacheKeys = {};\n /**\n * The request the strategy is performing (passed to the strategy's\n * `handle()` or `handleAll()` method).\n * @name request\n * @instance\n * @type {Request}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * The event associated with this request.\n * @name event\n * @instance\n * @type {ExtendableEvent}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `URL` instance of `request.url` (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `url` param will be present if the strategy was invoked\n * from a workbox `Route` object.\n * @name url\n * @instance\n * @type {URL|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `param` value (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `param` param will be present if the strategy was invoked\n * from a workbox `Route` object and the\n * {@link workbox-routing~matchCallback} returned\n * a truthy value (it will be that value).\n * @name params\n * @instance\n * @type {*|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(options.event, ExtendableEvent, {\n moduleName: 'workbox-strategies',\n className: 'StrategyHandler',\n funcName: 'constructor',\n paramName: 'options.event',\n });\n }\n Object.assign(this, options);\n this.event = options.event;\n this._strategy = strategy;\n this._handlerDeferred = new Deferred();\n this._extendLifetimePromises = [];\n // Copy the plugins list (since it's mutable on the strategy),\n // so any mutations don't affect this handler instance.\n this._plugins = [...strategy.plugins];\n this._pluginStateMap = new Map();\n for (const plugin of this._plugins) {\n this._pluginStateMap.set(plugin, {});\n }\n this.event.waitUntil(this._handlerDeferred.promise);\n }\n /**\n * Fetches a given request (and invokes any applicable plugin callback\n * methods) using the `fetchOptions` (for non-navigation requests) and\n * `plugins` defined on the `Strategy` object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - `requestWillFetch()`\n * - `fetchDidSucceed()`\n * - `fetchDidFail()`\n *\n * @param {Request|string} input The URL or request to fetch.\n * @return {Promise}\n */\n async fetch(input) {\n const { event } = this;\n let request = toRequest(input);\n if (request.mode === 'navigate' &&\n event instanceof FetchEvent &&\n event.preloadResponse) {\n const possiblePreloadResponse = (await event.preloadResponse);\n if (possiblePreloadResponse) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Using a preloaded navigation response for ` +\n `'${getFriendlyURL(request.url)}'`);\n }\n return possiblePreloadResponse;\n }\n }\n // If there is a fetchDidFail plugin, we need to save a clone of the\n // original request before it's either modified by a requestWillFetch\n // plugin or before the original request's body is consumed via fetch().\n const originalRequest = this.hasCallback('fetchDidFail')\n ? request.clone()\n : null;\n try {\n for (const cb of this.iterateCallbacks('requestWillFetch')) {\n request = await cb({ request: request.clone(), event });\n }\n }\n catch (err) {\n if (err instanceof Error) {\n throw new WorkboxError('plugin-error-request-will-fetch', {\n thrownErrorMessage: err.message,\n });\n }\n }\n // The request can be altered by plugins with `requestWillFetch` making\n // the original request (most likely from a `fetch` event) different\n // from the Request we make. Pass both to `fetchDidFail` to aid debugging.\n const pluginFilteredRequest = request.clone();\n try {\n let fetchResponse;\n // See https://github.com/GoogleChrome/workbox/issues/1796\n fetchResponse = await fetch(request, request.mode === 'navigate' ? undefined : this._strategy.fetchOptions);\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Network request for ` +\n `'${getFriendlyURL(request.url)}' returned a response with ` +\n `status '${fetchResponse.status}'.`);\n }\n for (const callback of this.iterateCallbacks('fetchDidSucceed')) {\n fetchResponse = await callback({\n event,\n request: pluginFilteredRequest,\n response: fetchResponse,\n });\n }\n return fetchResponse;\n }\n catch (error) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Network request for ` +\n `'${getFriendlyURL(request.url)}' threw an error.`, error);\n }\n // `originalRequest` will only exist if a `fetchDidFail` callback\n // is being used (see above).\n if (originalRequest) {\n await this.runCallbacks('fetchDidFail', {\n error: error,\n event,\n originalRequest: originalRequest.clone(),\n request: pluginFilteredRequest.clone(),\n });\n }\n throw error;\n }\n }\n /**\n * Calls `this.fetch()` and (in the background) runs `this.cachePut()` on\n * the response generated by `this.fetch()`.\n *\n * The call to `this.cachePut()` automatically invokes `this.waitUntil()`,\n * so you do not have to manually call `waitUntil()` on the event.\n *\n * @param {Request|string} input The request or URL to fetch and cache.\n * @return {Promise}\n */\n async fetchAndCachePut(input) {\n const response = await this.fetch(input);\n const responseClone = response.clone();\n void this.waitUntil(this.cachePut(input, responseClone));\n return response;\n }\n /**\n * Matches a request from the cache (and invokes any applicable plugin\n * callback methods) using the `cacheName`, `matchOptions`, and `plugins`\n * defined on the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cachedResponseWillByUsed()\n *\n * @param {Request|string} key The Request or URL to use as the cache key.\n * @return {Promise} A matching response, if found.\n */\n async cacheMatch(key) {\n const request = toRequest(key);\n let cachedResponse;\n const { cacheName, matchOptions } = this._strategy;\n const effectiveRequest = await this.getCacheKey(request, 'read');\n const multiMatchOptions = Object.assign(Object.assign({}, matchOptions), { cacheName });\n cachedResponse = await caches.match(effectiveRequest, multiMatchOptions);\n if (process.env.NODE_ENV !== 'production') {\n if (cachedResponse) {\n logger.debug(`Found a cached response in '${cacheName}'.`);\n }\n else {\n logger.debug(`No cached response found in '${cacheName}'.`);\n }\n }\n for (const callback of this.iterateCallbacks('cachedResponseWillBeUsed')) {\n cachedResponse =\n (await callback({\n cacheName,\n matchOptions,\n cachedResponse,\n request: effectiveRequest,\n event: this.event,\n })) || undefined;\n }\n return cachedResponse;\n }\n /**\n * Puts a request/response pair in the cache (and invokes any applicable\n * plugin callback methods) using the `cacheName` and `plugins` defined on\n * the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cacheWillUpdate()\n * - cacheDidUpdate()\n *\n * @param {Request|string} key The request or URL to use as the cache key.\n * @param {Response} response The response to cache.\n * @return {Promise} `false` if a cacheWillUpdate caused the response\n * not be cached, and `true` otherwise.\n */\n async cachePut(key, response) {\n const request = toRequest(key);\n // Run in the next task to avoid blocking other cache reads.\n // https://github.com/w3c/ServiceWorker/issues/1397\n await timeout(0);\n const effectiveRequest = await this.getCacheKey(request, 'write');\n if (process.env.NODE_ENV !== 'production') {\n if (effectiveRequest.method && effectiveRequest.method !== 'GET') {\n throw new WorkboxError('attempt-to-cache-non-get-request', {\n url: getFriendlyURL(effectiveRequest.url),\n method: effectiveRequest.method,\n });\n }\n // See https://github.com/GoogleChrome/workbox/issues/2818\n const vary = response.headers.get('Vary');\n if (vary) {\n logger.debug(`The response for ${getFriendlyURL(effectiveRequest.url)} ` +\n `has a 'Vary: ${vary}' header. ` +\n `Consider setting the {ignoreVary: true} option on your strategy ` +\n `to ensure cache matching and deletion works as expected.`);\n }\n }\n if (!response) {\n if (process.env.NODE_ENV !== 'production') {\n logger.error(`Cannot cache non-existent response for ` +\n `'${getFriendlyURL(effectiveRequest.url)}'.`);\n }\n throw new WorkboxError('cache-put-with-no-response', {\n url: getFriendlyURL(effectiveRequest.url),\n });\n }\n const responseToCache = await this._ensureResponseSafeToCache(response);\n if (!responseToCache) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Response '${getFriendlyURL(effectiveRequest.url)}' ` +\n `will not be cached.`, responseToCache);\n }\n return false;\n }\n const { cacheName, matchOptions } = this._strategy;\n const cache = await self.caches.open(cacheName);\n const hasCacheUpdateCallback = this.hasCallback('cacheDidUpdate');\n const oldResponse = hasCacheUpdateCallback\n ? await cacheMatchIgnoreParams(\n // TODO(philipwalton): the `__WB_REVISION__` param is a precaching\n // feature. Consider into ways to only add this behavior if using\n // precaching.\n cache, effectiveRequest.clone(), ['__WB_REVISION__'], matchOptions)\n : null;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Updating the '${cacheName}' cache with a new Response ` +\n `for ${getFriendlyURL(effectiveRequest.url)}.`);\n }\n try {\n await cache.put(effectiveRequest, hasCacheUpdateCallback ? responseToCache.clone() : responseToCache);\n }\n catch (error) {\n if (error instanceof Error) {\n // See https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n if (error.name === 'QuotaExceededError') {\n await executeQuotaErrorCallbacks();\n }\n throw error;\n }\n }\n for (const callback of this.iterateCallbacks('cacheDidUpdate')) {\n await callback({\n cacheName,\n oldResponse,\n newResponse: responseToCache.clone(),\n request: effectiveRequest,\n event: this.event,\n });\n }\n return true;\n }\n /**\n * Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and\n * executes any of those callbacks found in sequence. The final `Request`\n * object returned by the last plugin is treated as the cache key for cache\n * reads and/or writes. If no `cacheKeyWillBeUsed` plugin callbacks have\n * been registered, the passed request is returned unmodified\n *\n * @param {Request} request\n * @param {string} mode\n * @return {Promise}\n */\n async getCacheKey(request, mode) {\n const key = `${request.url} | ${mode}`;\n if (!this._cacheKeys[key]) {\n let effectiveRequest = request;\n for (const callback of this.iterateCallbacks('cacheKeyWillBeUsed')) {\n effectiveRequest = toRequest(await callback({\n mode,\n request: effectiveRequest,\n event: this.event,\n // params has a type any can't change right now.\n params: this.params, // eslint-disable-line\n }));\n }\n this._cacheKeys[key] = effectiveRequest;\n }\n return this._cacheKeys[key];\n }\n /**\n * Returns true if the strategy has at least one plugin with the given\n * callback.\n *\n * @param {string} name The name of the callback to check for.\n * @return {boolean}\n */\n hasCallback(name) {\n for (const plugin of this._strategy.plugins) {\n if (name in plugin) {\n return true;\n }\n }\n return false;\n }\n /**\n * Runs all plugin callbacks matching the given name, in order, passing the\n * given param object (merged ith the current plugin state) as the only\n * argument.\n *\n * Note: since this method runs all plugins, it's not suitable for cases\n * where the return value of a callback needs to be applied prior to calling\n * the next callback. See\n * {@link workbox-strategies.StrategyHandler#iterateCallbacks}\n * below for how to handle that case.\n *\n * @param {string} name The name of the callback to run within each plugin.\n * @param {Object} param The object to pass as the first (and only) param\n * when executing each callback. This object will be merged with the\n * current plugin state prior to callback execution.\n */\n async runCallbacks(name, param) {\n for (const callback of this.iterateCallbacks(name)) {\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n await callback(param);\n }\n }\n /**\n * Accepts a callback and returns an iterable of matching plugin callbacks,\n * where each callback is wrapped with the current handler state (i.e. when\n * you call each callback, whatever object parameter you pass it will\n * be merged with the plugin's current state).\n *\n * @param {string} name The name fo the callback to run\n * @return {Array}\n */\n *iterateCallbacks(name) {\n for (const plugin of this._strategy.plugins) {\n if (typeof plugin[name] === 'function') {\n const state = this._pluginStateMap.get(plugin);\n const statefulCallback = (param) => {\n const statefulParam = Object.assign(Object.assign({}, param), { state });\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n return plugin[name](statefulParam);\n };\n yield statefulCallback;\n }\n }\n }\n /**\n * Adds a promise to the\n * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n * of the event event associated with the request being handled (usually a\n * `FetchEvent`).\n *\n * Note: you can await\n * {@link workbox-strategies.StrategyHandler~doneWaiting}\n * to know when all added promises have settled.\n *\n * @param {Promise} promise A promise to add to the extend lifetime promises\n * of the event that triggered the request.\n */\n waitUntil(promise) {\n this._extendLifetimePromises.push(promise);\n return promise;\n }\n /**\n * Returns a promise that resolves once all promises passed to\n * {@link workbox-strategies.StrategyHandler~waitUntil}\n * have settled.\n *\n * Note: any work done after `doneWaiting()` settles should be manually\n * passed to an event's `waitUntil()` method (not this handler's\n * `waitUntil()` method), otherwise the service worker thread my be killed\n * prior to your work completing.\n */\n async doneWaiting() {\n let promise;\n while ((promise = this._extendLifetimePromises.shift())) {\n await promise;\n }\n }\n /**\n * Stops running the strategy and immediately resolves any pending\n * `waitUntil()` promises.\n */\n destroy() {\n this._handlerDeferred.resolve(null);\n }\n /**\n * This method will call cacheWillUpdate on the available plugins (or use\n * status === 200) to determine if the Response is safe and valid to cache.\n *\n * @param {Request} options.request\n * @param {Response} options.response\n * @return {Promise}\n *\n * @private\n */\n async _ensureResponseSafeToCache(response) {\n let responseToCache = response;\n let pluginsUsed = false;\n for (const callback of this.iterateCallbacks('cacheWillUpdate')) {\n responseToCache =\n (await callback({\n request: this.request,\n response: responseToCache,\n event: this.event,\n })) || undefined;\n pluginsUsed = true;\n if (!responseToCache) {\n break;\n }\n }\n if (!pluginsUsed) {\n if (responseToCache && responseToCache.status !== 200) {\n responseToCache = undefined;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (responseToCache) {\n if (responseToCache.status !== 200) {\n if (responseToCache.status === 0) {\n logger.warn(`The response for '${this.request.url}' ` +\n `is an opaque response. The caching strategy that you're ` +\n `using will not cache opaque responses by default.`);\n }\n else {\n logger.debug(`The response for '${this.request.url}' ` +\n `returned a status code of '${response.status}' and won't ` +\n `be cached as a result.`);\n }\n }\n }\n }\n }\n return responseToCache;\n }\n}\nexport { StrategyHandler };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { StrategyHandler } from './StrategyHandler.js';\nimport './_version.js';\n/**\n * An abstract base class that all other strategy classes must extend from:\n *\n * @memberof workbox-strategies\n */\nclass Strategy {\n /**\n * Creates a new instance of the strategy and sets all documented option\n * properties as public instance properties.\n *\n * Note: if a custom strategy class extends the base Strategy class and does\n * not need more than these properties, it does not need to define its own\n * constructor.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n * `fetch()` requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n */\n constructor(options = {}) {\n /**\n * Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n *\n * @type {string}\n */\n this.cacheName = cacheNames.getRuntimeName(options.cacheName);\n /**\n * The list\n * [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * used by this strategy.\n *\n * @type {Array}\n */\n this.plugins = options.plugins || [];\n /**\n * Values passed along to the\n * [`init`]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n * of all fetch() requests made by this strategy.\n *\n * @type {Object}\n */\n this.fetchOptions = options.fetchOptions;\n /**\n * The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n *\n * @type {Object}\n */\n this.matchOptions = options.matchOptions;\n }\n /**\n * Perform a request strategy and returns a `Promise` that will resolve with\n * a `Response`, invoking all relevant plugin callbacks.\n *\n * When a strategy instance is registered with a Workbox\n * {@link workbox-routing.Route}, this method is automatically\n * called when the route matches.\n *\n * Alternatively, this method can be used in a standalone `FetchEvent`\n * listener by passing it to `event.respondWith()`.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n */\n handle(options) {\n const [responseDone] = this.handleAll(options);\n return responseDone;\n }\n /**\n * Similar to {@link workbox-strategies.Strategy~handle}, but\n * instead of just returning a `Promise` that resolves to a `Response` it\n * it will return an tuple of `[response, done]` promises, where the former\n * (`response`) is equivalent to what `handle()` returns, and the latter is a\n * Promise that will resolve once any promises that were added to\n * `event.waitUntil()` as part of performing the strategy have completed.\n *\n * You can await the `done` promise to ensure any extra work performed by\n * the strategy (usually caching responses) completes successfully.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n * @return {Array} A tuple of [response, done]\n * promises that can be used to determine when the response resolves as\n * well as when the handler has completed all its work.\n */\n handleAll(options) {\n // Allow for flexible options to be passed.\n if (options instanceof FetchEvent) {\n options = {\n event: options,\n request: options.request,\n };\n }\n const event = options.event;\n const request = typeof options.request === 'string'\n ? new Request(options.request)\n : options.request;\n const params = 'params' in options ? options.params : undefined;\n const handler = new StrategyHandler(this, { event, request, params });\n const responseDone = this._getResponse(handler, request, event);\n const handlerDone = this._awaitComplete(responseDone, handler, request, event);\n // Return an array of promises, suitable for use with Promise.all().\n return [responseDone, handlerDone];\n }\n async _getResponse(handler, request, event) {\n await handler.runCallbacks('handlerWillStart', { event, request });\n let response = undefined;\n try {\n response = await this._handle(request, handler);\n // The \"official\" Strategy subclasses all throw this error automatically,\n // but in case a third-party Strategy doesn't, ensure that we have a\n // consistent failure when there's no response or an error response.\n if (!response || response.type === 'error') {\n throw new WorkboxError('no-response', { url: request.url });\n }\n }\n catch (error) {\n if (error instanceof Error) {\n for (const callback of handler.iterateCallbacks('handlerDidError')) {\n response = await callback({ error, event, request });\n if (response) {\n break;\n }\n }\n }\n if (!response) {\n throw error;\n }\n else if (process.env.NODE_ENV !== 'production') {\n logger.log(`While responding to '${getFriendlyURL(request.url)}', ` +\n `an ${error instanceof Error ? error.toString() : ''} error occurred. Using a fallback response provided by ` +\n `a handlerDidError plugin.`);\n }\n }\n for (const callback of handler.iterateCallbacks('handlerWillRespond')) {\n response = await callback({ event, request, response });\n }\n return response;\n }\n async _awaitComplete(responseDone, handler, request, event) {\n let response;\n let error;\n try {\n response = await responseDone;\n }\n catch (error) {\n // Ignore errors, as response errors should be caught via the `response`\n // promise above. The `done` promise will only throw for errors in\n // promises passed to `handler.waitUntil()`.\n }\n try {\n await handler.runCallbacks('handlerDidRespond', {\n event,\n request,\n response,\n });\n await handler.doneWaiting();\n }\n catch (waitUntilError) {\n if (waitUntilError instanceof Error) {\n error = waitUntilError;\n }\n }\n await handler.runCallbacks('handlerDidComplete', {\n event,\n request,\n response,\n error: error,\n });\n handler.destroy();\n if (error) {\n throw error;\n }\n }\n}\nexport { Strategy };\n/**\n * Classes extending the `Strategy` based class should implement this method,\n * and leverage the {@link workbox-strategies.StrategyHandler}\n * arg to perform all fetching and cache logic, which will ensure all relevant\n * cache, cache options, fetch options and plugins are used (per the current\n * strategy instance).\n *\n * @name _handle\n * @instance\n * @abstract\n * @function\n * @param {Request} request\n * @param {workbox-strategies.StrategyHandler} handler\n * @return {Promise}\n *\n * @memberof workbox-strategies.Strategy\n */\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { copyResponse } from 'workbox-core/copyResponse.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Strategy } from 'workbox-strategies/Strategy.js';\nimport './_version.js';\n/**\n * A {@link workbox-strategies.Strategy} implementation\n * specifically designed to work with\n * {@link workbox-precaching.PrecacheController}\n * to both cache and fetch precached assets.\n *\n * Note: an instance of this class is created automatically when creating a\n * `PrecacheController`; it's generally not necessary to create this yourself.\n *\n * @extends workbox-strategies.Strategy\n * @memberof workbox-precaching\n */\nclass PrecacheStrategy extends Strategy {\n /**\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] {@link https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n * of all fetch() requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * {@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor(options = {}) {\n options.cacheName = cacheNames.getPrecacheName(options.cacheName);\n super(options);\n this._fallbackToNetwork =\n options.fallbackToNetwork === false ? false : true;\n // Redirected responses cannot be used to satisfy a navigation request, so\n // any redirected response must be \"copied\" rather than cloned, so the new\n // response doesn't contain the `redirected` flag. See:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n }\n /**\n * @private\n * @param {Request|string} request A request to run this strategy for.\n * @param {workbox-strategies.StrategyHandler} handler The event that\n * triggered the request.\n * @return {Promise}\n */\n async _handle(request, handler) {\n const response = await handler.cacheMatch(request);\n if (response) {\n return response;\n }\n // If this is an `install` event for an entry that isn't already cached,\n // then populate the cache.\n if (handler.event && handler.event.type === 'install') {\n return await this._handleInstall(request, handler);\n }\n // Getting here means something went wrong. An entry that should have been\n // precached wasn't found in the cache.\n return await this._handleFetch(request, handler);\n }\n async _handleFetch(request, handler) {\n let response;\n const params = (handler.params || {});\n // Fall back to the network if we're configured to do so.\n if (this._fallbackToNetwork) {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(`The precached response for ` +\n `${getFriendlyURL(request.url)} in ${this.cacheName} was not ` +\n `found. Falling back to the network.`);\n }\n const integrityInManifest = params.integrity;\n const integrityInRequest = request.integrity;\n const noIntegrityConflict = !integrityInRequest || integrityInRequest === integrityInManifest;\n // Do not add integrity if the original request is no-cors\n // See https://github.com/GoogleChrome/workbox/issues/3096\n response = await handler.fetch(new Request(request, {\n integrity: request.mode !== 'no-cors'\n ? integrityInRequest || integrityInManifest\n : undefined,\n }));\n // It's only \"safe\" to repair the cache if we're using SRI to guarantee\n // that the response matches the precache manifest's expectations,\n // and there's either a) no integrity property in the incoming request\n // or b) there is an integrity, and it matches the precache manifest.\n // See https://github.com/GoogleChrome/workbox/issues/2858\n // Also if the original request users no-cors we don't use integrity.\n // See https://github.com/GoogleChrome/workbox/issues/3096\n if (integrityInManifest &&\n noIntegrityConflict &&\n request.mode !== 'no-cors') {\n this._useDefaultCacheabilityPluginIfNeeded();\n const wasCached = await handler.cachePut(request, response.clone());\n if (process.env.NODE_ENV !== 'production') {\n if (wasCached) {\n logger.log(`A response for ${getFriendlyURL(request.url)} ` +\n `was used to \"repair\" the precache.`);\n }\n }\n }\n }\n else {\n // This shouldn't normally happen, but there are edge cases:\n // https://github.com/GoogleChrome/workbox/issues/1441\n throw new WorkboxError('missing-precache-entry', {\n cacheName: this.cacheName,\n url: request.url,\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n const cacheKey = params.cacheKey || (await handler.getCacheKey(request, 'read'));\n // Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Precaching is responding to: ` + getFriendlyURL(request.url));\n logger.log(`Serving the precached url: ${getFriendlyURL(cacheKey instanceof Request ? cacheKey.url : cacheKey)}`);\n logger.groupCollapsed(`View request details here.`);\n logger.log(request);\n logger.groupEnd();\n logger.groupCollapsed(`View response details here.`);\n logger.log(response);\n logger.groupEnd();\n logger.groupEnd();\n }\n return response;\n }\n async _handleInstall(request, handler) {\n this._useDefaultCacheabilityPluginIfNeeded();\n const response = await handler.fetch(request);\n // Make sure we defer cachePut() until after we know the response\n // should be cached; see https://github.com/GoogleChrome/workbox/issues/2737\n const wasCached = await handler.cachePut(request, response.clone());\n if (!wasCached) {\n // Throwing here will lead to the `install` handler failing, which\n // we want to do if *any* of the responses aren't safe to cache.\n throw new WorkboxError('bad-precaching-response', {\n url: request.url,\n status: response.status,\n });\n }\n return response;\n }\n /**\n * This method is complex, as there a number of things to account for:\n *\n * The `plugins` array can be set at construction, and/or it might be added to\n * to at any time before the strategy is used.\n *\n * At the time the strategy is used (i.e. during an `install` event), there\n * needs to be at least one plugin that implements `cacheWillUpdate` in the\n * array, other than `copyRedirectedCacheableResponsesPlugin`.\n *\n * - If this method is called and there are no suitable `cacheWillUpdate`\n * plugins, we need to add `defaultPrecacheCacheabilityPlugin`.\n *\n * - If this method is called and there is exactly one `cacheWillUpdate`, then\n * we don't have to do anything (this might be a previously added\n * `defaultPrecacheCacheabilityPlugin`, or it might be a custom plugin).\n *\n * - If this method is called and there is more than one `cacheWillUpdate`,\n * then we need to check if one is `defaultPrecacheCacheabilityPlugin`. If so,\n * we need to remove it. (This situation is unlikely, but it could happen if\n * the strategy is used multiple times, the first without a `cacheWillUpdate`,\n * and then later on after manually adding a custom `cacheWillUpdate`.)\n *\n * See https://github.com/GoogleChrome/workbox/issues/2737 for more context.\n *\n * @private\n */\n _useDefaultCacheabilityPluginIfNeeded() {\n let defaultPluginIndex = null;\n let cacheWillUpdatePluginCount = 0;\n for (const [index, plugin] of this.plugins.entries()) {\n // Ignore the copy redirected plugin when determining what to do.\n if (plugin === PrecacheStrategy.copyRedirectedCacheableResponsesPlugin) {\n continue;\n }\n // Save the default plugin's index, in case it needs to be removed.\n if (plugin === PrecacheStrategy.defaultPrecacheCacheabilityPlugin) {\n defaultPluginIndex = index;\n }\n if (plugin.cacheWillUpdate) {\n cacheWillUpdatePluginCount++;\n }\n }\n if (cacheWillUpdatePluginCount === 0) {\n this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n }\n else if (cacheWillUpdatePluginCount > 1 && defaultPluginIndex !== null) {\n // Only remove the default plugin; multiple custom plugins are allowed.\n this.plugins.splice(defaultPluginIndex, 1);\n }\n // Nothing needs to be done if cacheWillUpdatePluginCount is 1\n }\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin = {\n async cacheWillUpdate({ response }) {\n if (!response || response.status >= 400) {\n return null;\n }\n return response;\n },\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin = {\n async cacheWillUpdate({ response }) {\n return response.redirected ? await copyResponse(response) : response;\n },\n};\nexport { PrecacheStrategy };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { waitUntil } from 'workbox-core/_private/waitUntil.js';\nimport { createCacheKey } from './utils/createCacheKey.js';\nimport { PrecacheInstallReportPlugin } from './utils/PrecacheInstallReportPlugin.js';\nimport { PrecacheCacheKeyPlugin } from './utils/PrecacheCacheKeyPlugin.js';\nimport { printCleanupDetails } from './utils/printCleanupDetails.js';\nimport { printInstallDetails } from './utils/printInstallDetails.js';\nimport { PrecacheStrategy } from './PrecacheStrategy.js';\nimport './_version.js';\n/**\n * Performs efficient precaching of assets.\n *\n * @memberof workbox-precaching\n */\nclass PrecacheController {\n /**\n * Create a new PrecacheController.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] The cache to use for precaching.\n * @param {string} [options.plugins] Plugins to use when precaching as well\n * as responding to fetch events for precached assets.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor({ cacheName, plugins = [], fallbackToNetwork = true, } = {}) {\n this._urlsToCacheKeys = new Map();\n this._urlsToCacheModes = new Map();\n this._cacheKeysToIntegrities = new Map();\n this._strategy = new PrecacheStrategy({\n cacheName: cacheNames.getPrecacheName(cacheName),\n plugins: [\n ...plugins,\n new PrecacheCacheKeyPlugin({ precacheController: this }),\n ],\n fallbackToNetwork,\n });\n // Bind the install and activate methods to the instance.\n this.install = this.install.bind(this);\n this.activate = this.activate.bind(this);\n }\n /**\n * @type {workbox-precaching.PrecacheStrategy} The strategy created by this controller and\n * used to cache assets and respond to fetch events.\n */\n get strategy() {\n return this._strategy;\n }\n /**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n */\n precache(entries) {\n this.addToCacheList(entries);\n if (!this._installAndActiveListenersAdded) {\n self.addEventListener('install', this.install);\n self.addEventListener('activate', this.activate);\n this._installAndActiveListenersAdded = true;\n }\n }\n /**\n * This method will add items to the precache list, removing duplicates\n * and ensuring the information is valid.\n *\n * @param {Array} entries\n * Array of entries to precache.\n */\n addToCacheList(entries) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(entries, {\n moduleName: 'workbox-precaching',\n className: 'PrecacheController',\n funcName: 'addToCacheList',\n paramName: 'entries',\n });\n }\n const urlsToWarnAbout = [];\n for (const entry of entries) {\n // See https://github.com/GoogleChrome/workbox/issues/2259\n if (typeof entry === 'string') {\n urlsToWarnAbout.push(entry);\n }\n else if (entry && entry.revision === undefined) {\n urlsToWarnAbout.push(entry.url);\n }\n const { cacheKey, url } = createCacheKey(entry);\n const cacheMode = typeof entry !== 'string' && entry.revision ? 'reload' : 'default';\n if (this._urlsToCacheKeys.has(url) &&\n this._urlsToCacheKeys.get(url) !== cacheKey) {\n throw new WorkboxError('add-to-cache-list-conflicting-entries', {\n firstEntry: this._urlsToCacheKeys.get(url),\n secondEntry: cacheKey,\n });\n }\n if (typeof entry !== 'string' && entry.integrity) {\n if (this._cacheKeysToIntegrities.has(cacheKey) &&\n this._cacheKeysToIntegrities.get(cacheKey) !== entry.integrity) {\n throw new WorkboxError('add-to-cache-list-conflicting-integrities', {\n url,\n });\n }\n this._cacheKeysToIntegrities.set(cacheKey, entry.integrity);\n }\n this._urlsToCacheKeys.set(url, cacheKey);\n this._urlsToCacheModes.set(url, cacheMode);\n if (urlsToWarnAbout.length > 0) {\n const warningMessage = `Workbox is precaching URLs without revision ` +\n `info: ${urlsToWarnAbout.join(', ')}\\nThis is generally NOT safe. ` +\n `Learn more at https://bit.ly/wb-precache`;\n if (process.env.NODE_ENV === 'production') {\n // Use console directly to display this warning without bloating\n // bundle sizes by pulling in all of the logger codebase in prod.\n console.warn(warningMessage);\n }\n else {\n logger.warn(warningMessage);\n }\n }\n }\n }\n /**\n * Precaches new and updated assets. Call this method from the service worker\n * install event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n install(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const installReportPlugin = new PrecacheInstallReportPlugin();\n this.strategy.plugins.push(installReportPlugin);\n // Cache entries one at a time.\n // See https://github.com/GoogleChrome/workbox/issues/2528\n for (const [url, cacheKey] of this._urlsToCacheKeys) {\n const integrity = this._cacheKeysToIntegrities.get(cacheKey);\n const cacheMode = this._urlsToCacheModes.get(url);\n const request = new Request(url, {\n integrity,\n cache: cacheMode,\n credentials: 'same-origin',\n });\n await Promise.all(this.strategy.handleAll({\n params: { cacheKey },\n request,\n event,\n }));\n }\n const { updatedURLs, notUpdatedURLs } = installReportPlugin;\n if (process.env.NODE_ENV !== 'production') {\n printInstallDetails(updatedURLs, notUpdatedURLs);\n }\n return { updatedURLs, notUpdatedURLs };\n });\n }\n /**\n * Deletes assets that are no longer present in the current precache manifest.\n * Call this method from the service worker activate event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n activate(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const cache = await self.caches.open(this.strategy.cacheName);\n const currentlyCachedRequests = await cache.keys();\n const expectedCacheKeys = new Set(this._urlsToCacheKeys.values());\n const deletedURLs = [];\n for (const request of currentlyCachedRequests) {\n if (!expectedCacheKeys.has(request.url)) {\n await cache.delete(request);\n deletedURLs.push(request.url);\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n printCleanupDetails(deletedURLs);\n }\n return { deletedURLs };\n });\n }\n /**\n * Returns a mapping of a precached URL to the corresponding cache key, taking\n * into account the revision information for the URL.\n *\n * @return {Map} A URL to cache key mapping.\n */\n getURLsToCacheKeys() {\n return this._urlsToCacheKeys;\n }\n /**\n * Returns a list of all the URLs that have been precached by the current\n * service worker.\n *\n * @return {Array} The precached URLs.\n */\n getCachedURLs() {\n return [...this._urlsToCacheKeys.keys()];\n }\n /**\n * Returns the cache key used for storing a given URL. If that URL is\n * unversioned, like `/index.html', then the cache key will be the original\n * URL with a search parameter appended to it.\n *\n * @param {string} url A URL whose cache key you want to look up.\n * @return {string} The versioned URL that corresponds to a cache key\n * for the original URL, or undefined if that URL isn't precached.\n */\n getCacheKeyForURL(url) {\n const urlObject = new URL(url, location.href);\n return this._urlsToCacheKeys.get(urlObject.href);\n }\n /**\n * @param {string} url A cache key whose SRI you want to look up.\n * @return {string} The subresource integrity associated with the cache key,\n * or undefined if it's not set.\n */\n getIntegrityForCacheKey(cacheKey) {\n return this._cacheKeysToIntegrities.get(cacheKey);\n }\n /**\n * This acts as a drop-in replacement for\n * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n * with the following differences:\n *\n * - It knows what the name of the precache is, and only checks in that cache.\n * - It allows you to pass in an \"original\" URL without versioning parameters,\n * and it will automatically look up the correct cache key for the currently\n * active revision of that URL.\n *\n * E.g., `matchPrecache('index.html')` will find the correct precached\n * response for the currently active service worker, even if the actual cache\n * key is `'/index.html?__WB_REVISION__=1234abcd'`.\n *\n * @param {string|Request} request The key (without revisioning parameters)\n * to look up in the precache.\n * @return {Promise}\n */\n async matchPrecache(request) {\n const url = request instanceof Request ? request.url : request;\n const cacheKey = this.getCacheKeyForURL(url);\n if (cacheKey) {\n const cache = await self.caches.open(this.strategy.cacheName);\n return cache.match(cacheKey);\n }\n return undefined;\n }\n /**\n * Returns a function that looks up `url` in the precache (taking into\n * account revision information), and returns the corresponding `Response`.\n *\n * @param {string} url The precached URL which will be used to lookup the\n * `Response`.\n * @return {workbox-routing~handlerCallback}\n */\n createHandlerBoundToURL(url) {\n const cacheKey = this.getCacheKeyForURL(url);\n if (!cacheKey) {\n throw new WorkboxError('non-precached-url', { url });\n }\n return (options) => {\n options.request = new Request(url);\n options.params = Object.assign({ cacheKey }, options.params);\n return this.strategy.handle(options);\n };\n }\n}\nexport { PrecacheController };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { PrecacheController } from '../PrecacheController.js';\nimport '../_version.js';\nlet precacheController;\n/**\n * @return {PrecacheController}\n * @private\n */\nexport const getOrCreatePrecacheController = () => {\n if (!precacheController) {\n precacheController = new PrecacheController();\n }\n return precacheController;\n};\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:routing:6.5.3'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The default HTTP method, 'GET', used when there's no specific method\n * configured for a route.\n *\n * @type {string}\n *\n * @private\n */\nexport const defaultMethod = 'GET';\n/**\n * The list of valid HTTP methods associated with requests that could be routed.\n *\n * @type {Array}\n *\n * @private\n */\nexport const validMethods = [\n 'DELETE',\n 'GET',\n 'HEAD',\n 'PATCH',\n 'POST',\n 'PUT',\n];\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport '../_version.js';\n/**\n * @param {function()|Object} handler Either a function, or an object with a\n * 'handle' method.\n * @return {Object} An object with a handle method.\n *\n * @private\n */\nexport const normalizeHandler = (handler) => {\n if (handler && typeof handler === 'object') {\n if (process.env.NODE_ENV !== 'production') {\n assert.hasMethod(handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return handler;\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(handler, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return { handle: handler };\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { defaultMethod, validMethods } from './utils/constants.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport './_version.js';\n/**\n * A `Route` consists of a pair of callback functions, \"match\" and \"handler\".\n * The \"match\" callback determine if a route should be used to \"handle\" a\n * request by returning a non-falsy value if it can. The \"handler\" callback\n * is called when there is a match and should return a Promise that resolves\n * to a `Response`.\n *\n * @memberof workbox-routing\n */\nclass Route {\n /**\n * Constructor for Route class.\n *\n * @param {workbox-routing~matchCallback} match\n * A callback function that determines whether the route matches a given\n * `fetch` event by returning a non-falsy value.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(match, handler, method = defaultMethod) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(match, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'match',\n });\n if (method) {\n assert.isOneOf(method, validMethods, { paramName: 'method' });\n }\n }\n // These values are referenced directly by Router so cannot be\n // altered by minificaton.\n this.handler = normalizeHandler(handler);\n this.match = match;\n this.method = method;\n }\n /**\n *\n * @param {workbox-routing-handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response\n */\n setCatchHandler(handler) {\n this.catchHandler = normalizeHandler(handler);\n }\n}\nexport { Route };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { Route } from './Route.js';\nimport './_version.js';\n/**\n * RegExpRoute makes it easy to create a regular expression based\n * {@link workbox-routing.Route}.\n *\n * For same-origin requests the RegExp only needs to match part of the URL. For\n * requests against third-party servers, you must define a RegExp that matches\n * the start of the URL.\n *\n * @memberof workbox-routing\n * @extends workbox-routing.Route\n */\nclass RegExpRoute extends Route {\n /**\n * If the regular expression contains\n * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n * the captured values will be passed to the\n * {@link workbox-routing~handlerCallback} `params`\n * argument.\n *\n * @param {RegExp} regExp The regular expression to match against URLs.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(regExp, handler, method) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(regExp, RegExp, {\n moduleName: 'workbox-routing',\n className: 'RegExpRoute',\n funcName: 'constructor',\n paramName: 'pattern',\n });\n }\n const match = ({ url }) => {\n const result = regExp.exec(url.href);\n // Return immediately if there's no match.\n if (!result) {\n return;\n }\n // Require that the match start at the first character in the URL string\n // if it's a cross-origin request.\n // See https://github.com/GoogleChrome/workbox/issues/281 for the context\n // behind this behavior.\n if (url.origin !== location.origin && result.index !== 0) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`The regular expression '${regExp.toString()}' only partially matched ` +\n `against the cross-origin URL '${url.toString()}'. RegExpRoute's will only ` +\n `handle cross-origin requests if they match the entire URL.`);\n }\n return;\n }\n // If the route matches, but there aren't any capture groups defined, then\n // this will return [], which is truthy and therefore sufficient to\n // indicate a match.\n // If there are capture groups, then it will return their values.\n return result.slice(1);\n };\n super(match, handler, method);\n }\n}\nexport { RegExpRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { defaultMethod } from './utils/constants.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * The Router can be used to process a `FetchEvent` using one or more\n * {@link workbox-routing.Route}, responding with a `Response` if\n * a matching route exists.\n *\n * If no route matches a given a request, the Router will use a \"default\"\n * handler if one is defined.\n *\n * Should the matching Route throw an error, the Router will use a \"catch\"\n * handler if one is defined to gracefully deal with issues and respond with a\n * Request.\n *\n * If a request matches multiple routes, the **earliest** registered route will\n * be used to respond to the request.\n *\n * @memberof workbox-routing\n */\nclass Router {\n /**\n * Initializes a new Router.\n */\n constructor() {\n this._routes = new Map();\n this._defaultHandlerMap = new Map();\n }\n /**\n * @return {Map>} routes A `Map` of HTTP\n * method name ('GET', etc.) to an array of all the corresponding `Route`\n * instances that are registered.\n */\n get routes() {\n return this._routes;\n }\n /**\n * Adds a fetch event listener to respond to events when a route matches\n * the event's request.\n */\n addFetchListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('fetch', ((event) => {\n const { request } = event;\n const responsePromise = this.handleRequest({ request, event });\n if (responsePromise) {\n event.respondWith(responsePromise);\n }\n }));\n }\n /**\n * Adds a message event listener for URLs to cache from the window.\n * This is useful to cache resources loaded on the page prior to when the\n * service worker started controlling it.\n *\n * The format of the message data sent from the window should be as follows.\n * Where the `urlsToCache` array may consist of URL strings or an array of\n * URL string + `requestInit` object (the same as you'd pass to `fetch()`).\n *\n * ```\n * {\n * type: 'CACHE_URLS',\n * payload: {\n * urlsToCache: [\n * './script1.js',\n * './script2.js',\n * ['./script3.js', {mode: 'no-cors'}],\n * ],\n * },\n * }\n * ```\n */\n addCacheListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('message', ((event) => {\n // event.data is type 'any'\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (event.data && event.data.type === 'CACHE_URLS') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { payload } = event.data;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Caching URLs from the window`, payload.urlsToCache);\n }\n const requestPromises = Promise.all(payload.urlsToCache.map((entry) => {\n if (typeof entry === 'string') {\n entry = [entry];\n }\n const request = new Request(...entry);\n return this.handleRequest({ request, event });\n // TODO(philipwalton): TypeScript errors without this typecast for\n // some reason (probably a bug). The real type here should work but\n // doesn't: `Array | undefined>`.\n })); // TypeScript\n event.waitUntil(requestPromises);\n // If a MessageChannel was used, reply to the message on success.\n if (event.ports && event.ports[0]) {\n void requestPromises.then(() => event.ports[0].postMessage(true));\n }\n }\n }));\n }\n /**\n * Apply the routing rules to a FetchEvent object to get a Response from an\n * appropriate Route's handler.\n *\n * @param {Object} options\n * @param {Request} options.request The request to handle.\n * @param {ExtendableEvent} options.event The event that triggered the\n * request.\n * @return {Promise|undefined} A promise is returned if a\n * registered route can handle the request. If there is no matching\n * route and there's no `defaultHandler`, `undefined` is returned.\n */\n handleRequest({ request, event, }) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(request, Request, {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'handleRequest',\n paramName: 'options.request',\n });\n }\n const url = new URL(request.url, location.href);\n if (!url.protocol.startsWith('http')) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Workbox Router only supports URLs that start with 'http'.`);\n }\n return;\n }\n const sameOrigin = url.origin === location.origin;\n const { params, route } = this.findMatchingRoute({\n event,\n request,\n sameOrigin,\n url,\n });\n let handler = route && route.handler;\n const debugMessages = [];\n if (process.env.NODE_ENV !== 'production') {\n if (handler) {\n debugMessages.push([`Found a route to handle this request:`, route]);\n if (params) {\n debugMessages.push([\n `Passing the following params to the route's handler:`,\n params,\n ]);\n }\n }\n }\n // If we don't have a handler because there was no matching route, then\n // fall back to defaultHandler if that's defined.\n const method = request.method;\n if (!handler && this._defaultHandlerMap.has(method)) {\n if (process.env.NODE_ENV !== 'production') {\n debugMessages.push(`Failed to find a matching route. Falling ` +\n `back to the default handler for ${method}.`);\n }\n handler = this._defaultHandlerMap.get(method);\n }\n if (!handler) {\n if (process.env.NODE_ENV !== 'production') {\n // No handler so Workbox will do nothing. If logs is set of debug\n // i.e. verbose, we should print out this information.\n logger.debug(`No route found for: ${getFriendlyURL(url)}`);\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // We have a handler, meaning Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Router is responding to: ${getFriendlyURL(url)}`);\n debugMessages.forEach((msg) => {\n if (Array.isArray(msg)) {\n logger.log(...msg);\n }\n else {\n logger.log(msg);\n }\n });\n logger.groupEnd();\n }\n // Wrap in try and catch in case the handle method throws a synchronous\n // error. It should still callback to the catch handler.\n let responsePromise;\n try {\n responsePromise = handler.handle({ url, request, event, params });\n }\n catch (err) {\n responsePromise = Promise.reject(err);\n }\n // Get route's catch handler, if it exists\n const catchHandler = route && route.catchHandler;\n if (responsePromise instanceof Promise &&\n (this._catchHandler || catchHandler)) {\n responsePromise = responsePromise.catch(async (err) => {\n // If there's a route catch handler, process that first\n if (catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to route's Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n try {\n return await catchHandler.handle({ url, request, event, params });\n }\n catch (catchErr) {\n if (catchErr instanceof Error) {\n err = catchErr;\n }\n }\n }\n if (this._catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to global Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n return this._catchHandler.handle({ url, request, event });\n }\n throw err;\n });\n }\n return responsePromise;\n }\n /**\n * Checks a request and URL (and optionally an event) against the list of\n * registered routes, and if there's a match, returns the corresponding\n * route along with any params generated by the match.\n *\n * @param {Object} options\n * @param {URL} options.url\n * @param {boolean} options.sameOrigin The result of comparing `url.origin`\n * against the current origin.\n * @param {Request} options.request The request to match.\n * @param {Event} options.event The corresponding event.\n * @return {Object} An object with `route` and `params` properties.\n * They are populated if a matching route was found or `undefined`\n * otherwise.\n */\n findMatchingRoute({ url, sameOrigin, request, event, }) {\n const routes = this._routes.get(request.method) || [];\n for (const route of routes) {\n let params;\n // route.match returns type any, not possible to change right now.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const matchResult = route.match({ url, sameOrigin, request, event });\n if (matchResult) {\n if (process.env.NODE_ENV !== 'production') {\n // Warn developers that using an async matchCallback is almost always\n // not the right thing to do.\n if (matchResult instanceof Promise) {\n logger.warn(`While routing ${getFriendlyURL(url)}, an async ` +\n `matchCallback function was used. Please convert the ` +\n `following route to use a synchronous matchCallback function:`, route);\n }\n }\n // See https://github.com/GoogleChrome/workbox/issues/2079\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n params = matchResult;\n if (Array.isArray(params) && params.length === 0) {\n // Instead of passing an empty array in as params, use undefined.\n params = undefined;\n }\n else if (matchResult.constructor === Object && // eslint-disable-line\n Object.keys(matchResult).length === 0) {\n // Instead of passing an empty object in as params, use undefined.\n params = undefined;\n }\n else if (typeof matchResult === 'boolean') {\n // For the boolean value true (rather than just something truth-y),\n // don't set params.\n // See https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n params = undefined;\n }\n // Return early if have a match.\n return { route, params };\n }\n }\n // If no match was found above, return and empty object.\n return {};\n }\n /**\n * Define a default `handler` that's called when no routes explicitly\n * match the incoming request.\n *\n * Each HTTP method ('GET', 'POST', etc.) gets its own default handler.\n *\n * Without a default handler, unmatched requests will go against the\n * network as if there were no service worker present.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to associate with this\n * default handler. Each method has its own default.\n */\n setDefaultHandler(handler, method = defaultMethod) {\n this._defaultHandlerMap.set(method, normalizeHandler(handler));\n }\n /**\n * If a Route throws an error while handling a request, this `handler`\n * will be called and given a chance to provide a response.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n */\n setCatchHandler(handler) {\n this._catchHandler = normalizeHandler(handler);\n }\n /**\n * Registers a route with the router.\n *\n * @param {workbox-routing.Route} route The route to register.\n */\n registerRoute(route) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(route, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route, 'match', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.isType(route.handler, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route.handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.handler',\n });\n assert.isType(route.method, 'string', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.method',\n });\n }\n if (!this._routes.has(route.method)) {\n this._routes.set(route.method, []);\n }\n // Give precedence to all of the earlier routes by adding this additional\n // route to the end of the array.\n this._routes.get(route.method).push(route);\n }\n /**\n * Unregisters a route with the router.\n *\n * @param {workbox-routing.Route} route The route to unregister.\n */\n unregisterRoute(route) {\n if (!this._routes.has(route.method)) {\n throw new WorkboxError('unregister-route-but-not-found-with-method', {\n method: route.method,\n });\n }\n const routeIndex = this._routes.get(route.method).indexOf(route);\n if (routeIndex > -1) {\n this._routes.get(route.method).splice(routeIndex, 1);\n }\n else {\n throw new WorkboxError('unregister-route-route-not-registered');\n }\n }\n}\nexport { Router };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { Router } from '../Router.js';\nimport '../_version.js';\nlet defaultRouter;\n/**\n * Creates a new, singleton Router instance if one does not exist. If one\n * does already exist, that instance is returned.\n *\n * @private\n * @return {Router}\n */\nexport const getOrCreateDefaultRouter = () => {\n if (!defaultRouter) {\n defaultRouter = new Router();\n // The helpers that use the default Router assume these listeners exist.\n defaultRouter.addFetchListener();\n defaultRouter.addCacheListener();\n }\n return defaultRouter;\n};\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Route } from './Route.js';\nimport { RegExpRoute } from './RegExpRoute.js';\nimport { getOrCreateDefaultRouter } from './utils/getOrCreateDefaultRouter.js';\nimport './_version.js';\n/**\n * Easily register a RegExp, string, or function with a caching\n * strategy to a singleton Router instance.\n *\n * This method will generate a Route for you if needed and\n * call {@link workbox-routing.Router#registerRoute}.\n *\n * @param {RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route} capture\n * If the capture param is a `Route`, all other arguments will be ignored.\n * @param {workbox-routing~handlerCallback} [handler] A callback\n * function that returns a Promise resulting in a Response. This parameter\n * is required if `capture` is not a `Route` object.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n * @return {workbox-routing.Route} The generated `Route`.\n *\n * @memberof workbox-routing\n */\nfunction registerRoute(capture, handler, method) {\n let route;\n if (typeof capture === 'string') {\n const captureUrl = new URL(capture, location.href);\n if (process.env.NODE_ENV !== 'production') {\n if (!(capture.startsWith('/') || capture.startsWith('http'))) {\n throw new WorkboxError('invalid-string', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n // We want to check if Express-style wildcards are in the pathname only.\n // TODO: Remove this log message in v4.\n const valueToCheck = capture.startsWith('http')\n ? captureUrl.pathname\n : capture;\n // See https://github.com/pillarjs/path-to-regexp#parameters\n const wildcards = '[*:?+]';\n if (new RegExp(`${wildcards}`).exec(valueToCheck)) {\n logger.debug(`The '$capture' parameter contains an Express-style wildcard ` +\n `character (${wildcards}). Strings are now always interpreted as ` +\n `exact matches; use a RegExp for partial or wildcard matches.`);\n }\n }\n const matchCallback = ({ url }) => {\n if (process.env.NODE_ENV !== 'production') {\n if (url.pathname === captureUrl.pathname &&\n url.origin !== captureUrl.origin) {\n logger.debug(`${capture} only partially matches the cross-origin URL ` +\n `${url.toString()}. This route will only handle cross-origin requests ` +\n `if they match the entire URL.`);\n }\n }\n return url.href === captureUrl.href;\n };\n // If `capture` is a string then `handler` and `method` must be present.\n route = new Route(matchCallback, handler, method);\n }\n else if (capture instanceof RegExp) {\n // If `capture` is a `RegExp` then `handler` and `method` must be present.\n route = new RegExpRoute(capture, handler, method);\n }\n else if (typeof capture === 'function') {\n // If `capture` is a function then `handler` and `method` must be present.\n route = new Route(capture, handler, method);\n }\n else if (capture instanceof Route) {\n route = capture;\n }\n else {\n throw new WorkboxError('unsupported-route-type', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n const defaultRouter = getOrCreateDefaultRouter();\n defaultRouter.registerRoute(route);\n return route;\n}\nexport { registerRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Removes any URL search parameters that should be ignored.\n *\n * @param {URL} urlObject The original URL.\n * @param {Array} ignoreURLParametersMatching RegExps to test against\n * each search parameter name. Matches mean that the search parameter should be\n * ignored.\n * @return {URL} The URL with any ignored search parameters removed.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching = []) {\n // Convert the iterable into an array at the start of the loop to make sure\n // deletion doesn't mess up iteration.\n for (const paramName of [...urlObject.searchParams.keys()]) {\n if (ignoreURLParametersMatching.some((regExp) => regExp.test(paramName))) {\n urlObject.searchParams.delete(paramName);\n }\n }\n return urlObject;\n}\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { removeIgnoredSearchParams } from './removeIgnoredSearchParams.js';\nimport '../_version.js';\n/**\n * Generator function that yields possible variations on the original URL to\n * check, one at a time.\n *\n * @param {string} url\n * @param {Object} options\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function* generateURLVariations(url, { ignoreURLParametersMatching = [/^utm_/, /^fbclid$/], directoryIndex = 'index.html', cleanURLs = true, urlManipulation, } = {}) {\n const urlObject = new URL(url, location.href);\n urlObject.hash = '';\n yield urlObject.href;\n const urlWithoutIgnoredParams = removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching);\n yield urlWithoutIgnoredParams.href;\n if (directoryIndex && urlWithoutIgnoredParams.pathname.endsWith('/')) {\n const directoryURL = new URL(urlWithoutIgnoredParams.href);\n directoryURL.pathname += directoryIndex;\n yield directoryURL.href;\n }\n if (cleanURLs) {\n const cleanURL = new URL(urlWithoutIgnoredParams.href);\n cleanURL.pathname += '.html';\n yield cleanURL.href;\n }\n if (urlManipulation) {\n const additionalURLs = urlManipulation({ url: urlObject });\n for (const urlToAttempt of additionalURLs) {\n yield urlToAttempt.href;\n }\n }\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { Route } from 'workbox-routing/Route.js';\nimport { generateURLVariations } from './utils/generateURLVariations.js';\nimport './_version.js';\n/**\n * A subclass of {@link workbox-routing.Route} that takes a\n * {@link workbox-precaching.PrecacheController}\n * instance and uses it to match incoming requests and handle fetching\n * responses from the precache.\n *\n * @memberof workbox-precaching\n * @extends workbox-routing.Route\n */\nclass PrecacheRoute extends Route {\n /**\n * @param {PrecacheController} precacheController A `PrecacheController`\n * instance used to both match requests and respond to fetch events.\n * @param {Object} [options] Options to control how requests are matched\n * against the list of precached URLs.\n * @param {string} [options.directoryIndex=index.html] The `directoryIndex` will\n * check cache entries for a URLs ending with '/' to see if there is a hit when\n * appending the `directoryIndex` value.\n * @param {Array} [options.ignoreURLParametersMatching=[/^utm_/, /^fbclid$/]] An\n * array of regex's to remove search params when looking for a cache match.\n * @param {boolean} [options.cleanURLs=true] The `cleanURLs` option will\n * check the cache for the URL with a `.html` added to the end of the end.\n * @param {workbox-precaching~urlManipulation} [options.urlManipulation]\n * This is a function that should take a URL and return an array of\n * alternative URLs that should be checked for precache matches.\n */\n constructor(precacheController, options) {\n const match = ({ request, }) => {\n const urlsToCacheKeys = precacheController.getURLsToCacheKeys();\n for (const possibleURL of generateURLVariations(request.url, options)) {\n const cacheKey = urlsToCacheKeys.get(possibleURL);\n if (cacheKey) {\n const integrity = precacheController.getIntegrityForCacheKey(cacheKey);\n return { cacheKey, integrity };\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Precaching did not find a match for ` + getFriendlyURL(request.url));\n }\n return;\n };\n super(match, precacheController.strategy);\n }\n}\nexport { PrecacheRoute };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { registerRoute } from 'workbox-routing/registerRoute.js';\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport { PrecacheRoute } from './PrecacheRoute.js';\nimport './_version.js';\n/**\n * Add a `fetch` listener to the service worker that will\n * respond to\n * [network requests]{@link https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n * with precached assets.\n *\n * Requests for assets that aren't precached, the `FetchEvent` will not be\n * responded to, allowing the event to fall through to other `fetch` event\n * listeners.\n *\n * @param {Object} [options] See the {@link workbox-precaching.PrecacheRoute}\n * options.\n *\n * @memberof workbox-precaching\n */\nfunction addRoute(options) {\n const precacheController = getOrCreatePrecacheController();\n const precacheRoute = new PrecacheRoute(precacheController, options);\n registerRoute(precacheRoute);\n}\nexport { addRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst SUBSTRING_TO_FIND = '-precache-';\n/**\n * Cleans up incompatible precaches that were created by older versions of\n * Workbox, by a service worker registered under the current scope.\n *\n * This is meant to be called as part of the `activate` event.\n *\n * This should be safe to use as long as you don't include `substringToFind`\n * (defaulting to `-precache-`) in your non-precache cache names.\n *\n * @param {string} currentPrecacheName The cache name currently in use for\n * precaching. This cache won't be deleted.\n * @param {string} [substringToFind='-precache-'] Cache names which include this\n * substring will be deleted (excluding `currentPrecacheName`).\n * @return {Array} A list of all the cache names that were deleted.\n *\n * @private\n * @memberof workbox-precaching\n */\nconst deleteOutdatedCaches = async (currentPrecacheName, substringToFind = SUBSTRING_TO_FIND) => {\n const cacheNames = await self.caches.keys();\n const cacheNamesToDelete = cacheNames.filter((cacheName) => {\n return (cacheName.includes(substringToFind) &&\n cacheName.includes(self.registration.scope) &&\n cacheName !== currentPrecacheName);\n });\n await Promise.all(cacheNamesToDelete.map((cacheName) => self.caches.delete(cacheName)));\n return cacheNamesToDelete;\n};\nexport { deleteOutdatedCaches };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { deleteOutdatedCaches } from './utils/deleteOutdatedCaches.js';\nimport './_version.js';\n/**\n * Adds an `activate` event listener which will clean up incompatible\n * precaches that were created by older versions of Workbox.\n *\n * @memberof workbox-precaching\n */\nfunction cleanupOutdatedCaches() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('activate', ((event) => {\n const cacheName = cacheNames.getPrecacheName();\n event.waitUntil(deleteOutdatedCaches(cacheName).then((cachesDeleted) => {\n if (process.env.NODE_ENV !== 'production') {\n if (cachesDeleted.length > 0) {\n logger.log(`The following out-of-date precaches were cleaned up ` +\n `automatically:`, cachesDeleted);\n }\n }\n }));\n }));\n}\nexport { cleanupOutdatedCaches };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport './_version.js';\n/**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * Please note: This method **will not** serve any of the cached files for you.\n * It only precaches files. To respond to a network request you call\n * {@link workbox-precaching.addRoute}.\n *\n * If you have a single array of files to precache, you can just call\n * {@link workbox-precaching.precacheAndRoute}.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n *\n * @memberof workbox-precaching\n */\nfunction precache(entries) {\n const precacheController = getOrCreatePrecacheController();\n precacheController.precache(entries);\n}\nexport { precache };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { addRoute } from './addRoute.js';\nimport { precache } from './precache.js';\nimport './_version.js';\n/**\n * This method will add entries to the precache list and add a route to\n * respond to fetch events.\n *\n * This is a convenience method that will call\n * {@link workbox-precaching.precache} and\n * {@link workbox-precaching.addRoute} in a single call.\n *\n * @param {Array} entries Array of entries to precache.\n * @param {Object} [options] See the\n * {@link workbox-precaching.PrecacheRoute} options.\n *\n * @memberof workbox-precaching\n */\nfunction precacheAndRoute(entries, options) {\n precache(entries);\n addRoute(options);\n}\nexport { precacheAndRoute };\n","import { cleanupOutdatedCaches, precacheAndRoute } from 'workbox-precaching'\n\ndeclare let self: ServiceWorkerGlobalScope\n\nself.addEventListener('message', (event) => {\n if (event.data && event.data.type === 'SKIP_WAITING')\n self.skipWaiting()\n})\n\ncleanupOutdatedCaches()\n\nprecacheAndRoute(self.__WB_MANIFEST)\n"]} \ No newline at end of file diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000000..5682f566ce --- /dev/null +++ b/vercel.json @@ -0,0 +1,33 @@ +{ + "version": 2, + "public": false, + "github": { + "enabled": false + }, + "rewrites": [ + { + "source": "/(.*)", + "destination": "/api" + } + ], + "headers": [ + { + "source": "/manifest.webmanifest", + "headers": [ + { + "key": "content-type", + "value": "application/manifest+json" + } + ] + }, + { + "source": "/LICENSE", + "headers": [ + { + "key": "content-type", + "value": "text/plain" + } + ] + } + ] +}