diff --git a/css/app.2de81875.css b/css/app.5239b22e.css similarity index 53% rename from css/app.2de81875.css rename to css/app.5239b22e.css index e47c0cc..3e41f79 100644 --- a/css/app.2de81875.css +++ b/css/app.5239b22e.css @@ -1 +1 @@ -.map[data-v-d1dfcb62]{flex:1}.modal[data-v-cd5b3114]{position:absolute;top:20%;right:20%;left:20%;z-index:2000;background-color:#f2f2f2;box-shadow:0 0 10px silver;padding:10px 20px 20px 20px}.modal pre[data-v-cd5b3114]{background-color:#333;color:#fff;white-space:pre-wrap;word-wrap:break-word;margin:0;padding:10px;border-radius:4px}.modal .close[data-v-cd5b3114]{float:right;text-decoration:none}.modal[data-v-cd5b3114] :last-child{margin-bottom:0}nav[data-v-40575a4c]{background-color:#f2f2f2;padding:10px}@media(min-width:576px){nav .nav-top[data-v-40575a4c]{display:flex;align-items:center;justify-content:space-between}}nav .nav-bottom[data-v-40575a4c]{display:none;margin-top:10px}@media(min-width:576px){nav .nav-bottom[data-v-40575a4c]{display:flex;gap:10px;align-items:center}}@media(min-width:576px){nav .nav-left[data-v-40575a4c],nav .nav-right[data-v-40575a4c]{display:flex;align-items:center}}nav h1[data-v-40575a4c]{margin:0;font-weight:400}nav h1 a[data-v-40575a4c]{text-decoration:none}nav .info[data-v-40575a4c]{display:inline;padding-top:4px;margin-left:10px}nav .info img[data-v-40575a4c]{height:26px}@media(max-width:576px){nav .info[data-v-40575a4c],nav h1[data-v-40575a4c]{display:inline-block;margin-bottom:10px}}@media(max-width:576px){nav .search-input[data-v-40575a4c]{margin-bottom:10px}}@media(min-width:576px){nav .map-select[data-v-40575a4c]{display:none}}nav .map-select[data-v-40575a4c],nav .search-input[data-v-40575a4c]{padding:6px;border:none;border:1px solid silver;width:100%;border-radius:4px}nav .map-select[data-v-40575a4c]:focus,nav .search-input[data-v-40575a4c]:focus{outline:none}@media(min-width:576px){nav .map-select[data-v-40575a4c],nav .search-input[data-v-40575a4c]{width:400px}}nav .map-thumbnail[data-v-40575a4c]{position:relative;cursor:pointer;border:2px solid transparent;border-radius:4px;background-color:#fff;background-size:cover;background-position:50%;width:400px;height:80px}nav .map-thumbnail[data-v-40575a4c]:hover{opacity:.5}nav .map-thumbnail.active[data-v-40575a4c]{border-color:#ff645f}nav .map-year[data-v-40575a4c]{color:#fff;position:absolute;bottom:2px;right:5px;margin:0}@font-face{font-family:apercu-regular-pro;src:url(../fonts/apercu-regular-pro.ad897f51.eot);src:url(../fonts/apercu-regular-pro.ad897f51.eot?#iefix) format("embedded-opentype"),url(../fonts/apercu-regular-pro.c0152970.woff2) format("woff2"),url(../fonts/apercu-regular-pro.6f3412ae.woff) format("woff"),url(../fonts/apercu-regular-pro.16c89ca5.ttf) format("truetype");font-weight:400;font-style:normal}body,html{margin:0;padding:0;font-family:apercu-regular-pro,sans-serif;color:#212529}.app{display:flex;min-height:100vh;flex-direction:column}a,a.focus,a.hover,a.visited{color:#212529;text-decoration:underline} \ No newline at end of file +.map[data-v-d1dfcb62]{flex:1}.modal[data-v-cd5b3114]{position:absolute;top:20%;right:20%;left:20%;z-index:2000;background-color:#f2f2f2;box-shadow:0 0 10px silver;padding:10px 20px 20px 20px}.modal pre[data-v-cd5b3114]{background-color:#333;color:#fff;white-space:pre-wrap;word-wrap:break-word;margin:0;padding:10px;border-radius:4px}.modal .close[data-v-cd5b3114]{float:right;text-decoration:none}.modal[data-v-cd5b3114] :last-child{margin-bottom:0}nav[data-v-4311b5eb]{background-color:#f2f2f2;padding:10px}@media(min-width:576px){nav .nav-top[data-v-4311b5eb]{display:flex;align-items:center;justify-content:space-between}}nav .nav-bottom[data-v-4311b5eb]{display:none;margin-top:10px}@media(min-width:576px){nav .nav-bottom[data-v-4311b5eb]{display:flex;gap:10px;align-items:center}}@media(min-width:576px){nav .nav-left[data-v-4311b5eb],nav .nav-right[data-v-4311b5eb]{display:flex;align-items:center}}nav h1[data-v-4311b5eb]{margin:0;font-weight:400}nav h1 a[data-v-4311b5eb]{text-decoration:none}nav .info[data-v-4311b5eb]{display:inline;padding-top:4px;margin-left:10px}nav .info img[data-v-4311b5eb]{height:26px}@media(max-width:576px){nav .info[data-v-4311b5eb],nav h1[data-v-4311b5eb]{display:inline-block;margin-bottom:10px}}@media(max-width:576px){nav .search-input[data-v-4311b5eb]{margin-bottom:10px}}@media(min-width:576px){nav .map-select[data-v-4311b5eb]{display:none}}nav .map-select[data-v-4311b5eb],nav .search-input[data-v-4311b5eb]{padding:6px;border:none;border:1px solid silver;width:100%;border-radius:4px}nav .map-select[data-v-4311b5eb]:focus,nav .search-input[data-v-4311b5eb]:focus{outline:none}@media(min-width:576px){nav .map-select[data-v-4311b5eb],nav .search-input[data-v-4311b5eb]{width:400px}}nav .map-thumbnail[data-v-4311b5eb]{position:relative;cursor:pointer;border:2px solid transparent;border-radius:4px;background-color:#fff;background-size:cover;background-position:50%;width:400px;height:80px}nav .map-thumbnail[data-v-4311b5eb]:hover{opacity:.5}nav .map-thumbnail.active[data-v-4311b5eb]{border-color:#ff645f}nav .map-year[data-v-4311b5eb]{color:#fff;position:absolute;bottom:2px;right:5px;margin:0}@font-face{font-family:apercu-regular-pro;src:url(../fonts/apercu-regular-pro.ad897f51.eot);src:url(../fonts/apercu-regular-pro.ad897f51.eot?#iefix) format("embedded-opentype"),url(../fonts/apercu-regular-pro.c0152970.woff2) format("woff2"),url(../fonts/apercu-regular-pro.6f3412ae.woff) format("woff"),url(../fonts/apercu-regular-pro.16c89ca5.ttf) format("truetype");font-weight:400;font-style:normal}body,html{margin:0;padding:0;font-family:apercu-regular-pro,sans-serif;color:#212529}.app{display:flex;min-height:100vh;flex-direction:column}a,a.focus,a.hover,a.visited{color:#212529;text-decoration:underline} \ No newline at end of file diff --git a/index.html b/index.html index da05b54..0525d5f 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -luftbilder.berlin.codefor.de
\ No newline at end of file +luftbilder.berlin.codefor.de
\ No newline at end of file diff --git a/js/app.963ab431.js b/js/app.963ab431.js new file mode 100644 index 0000000..6ba5aa8 --- /dev/null +++ b/js/app.963ab431.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var a,c,i=t[0],s=t[1],p=t[2],l=0,f=[];lgeodaten.bayern.de / Digitale farbige Orthophotos 2022 (DOP40)',minZoom:10,maxZoom:18}).addTo(this.leafletMap),this.leafletLayer=p.a.tileLayer(this.map.url,this.map.options).addTo(this.leafletMap)},changeView:function(){this.leafletMap.setView(this.center,this.zoom)},changeCenter:function(){this.leafletMap.panTo(this.center)}},watch:{map:function(){this.changeMap()},center:function(){this.changeCenter()}},mounted:function(){this.setupLeafletMap()}};n("0e50");u.render=i,u.__scopeId="data-v-d1dfcb62";var l=u,f=(n("b0c0"),Object(a["q"])("data-v-4311b5eb"));Object(a["i"])("data-v-4311b5eb");var b={class:"nav-top"},h={class:"nav-left"},d={class:"info"},m={class:"nav-right"},g={class:"nav-bottom"},O={class:"map-year"};Object(a["h"])();var j=f((function(e,t,n,o,r,c){var i=Object(a["k"])("Info");return Object(a["g"])(),Object(a["c"])("nav",null,[Object(a["f"])("div",b,[Object(a["f"])("div",h,[Object(a["f"])("h1",null,[Object(a["f"])("a",{href:n.brand.href},Object(a["l"])(n.brand.text),9,["href"])]),Object(a["f"])("div",d,[Object(a["f"])("a",{href:"",onClick:t[1]||(t[1]=Object(a["p"])((function(){return c.toggleInfo&&c.toggleInfo.apply(c,arguments)}),["prevent"]))},[Object(a["f"])("img",{src:o.iconInfo,alt:"Information"},null,8,["src"])])])]),Object(a["f"])("div",m,[Object(a["f"])("form",{onSubmit:t[3]||(t[3]=Object(a["p"])((function(e){return c.searchLocation()}),["prevent"]))},[Object(a["o"])(Object(a["f"])("input",{class:"search-input",type:"search",placeholder:"Adresse suchen","onUpdate:modelValue":t[2]||(t[2]=function(e){return r.searchString=e})},null,512),[[a["n"],r.searchString]])],32),Object(a["o"])(Object(a["f"])("select",{class:"map-select","onUpdate:modelValue":t[4]||(t[4]=function(e){return r.currentMapIndex=e}),onUpdate:t[5]||(t[5]=function(t){return c.changeMap(e.index)})},[(Object(a["g"])(!0),Object(a["c"])(a["a"],null,Object(a["j"])(n.maps,(function(e,t){return Object(a["g"])(),Object(a["c"])("option",{key:t,value:t},Object(a["l"])(e.name),9,["value"])})),128))],544),[[a["m"],r.currentMapIndex]])])]),Object(a["f"])("div",g,[(Object(a["g"])(!0),Object(a["c"])(a["a"],null,Object(a["j"])(n.maps,(function(e,t){return Object(a["g"])(),Object(a["c"])("a",{class:["map-thumbnail",{active:t==r.currentMapIndex}],key:t,style:{backgroundImage:"url(".concat(c.getBackgroundImage(e),")")},onClick:Object(a["p"])((function(e){return c.changeMap(t)}),["prevent"])},[Object(a["f"])("p",O,Object(a["l"])(c.getYear(e)),1)],14,["onClick"])})),128))]),r.info?(Object(a["g"])(),Object(a["c"])(i,{key:0,map:n.map,onOnClose:c.toggleInfo},null,8,["map","onOnClose"])):Object(a["d"])("",!0)])})),v=(n("d3b7"),n("ac1f"),n("5319"),n("1276"),Object(a["q"])("data-v-cd5b3114"));Object(a["i"])("data-v-cd5b3114");var y={class:"modal"},M=Object(a["f"])("p",null,[Object(a["e"])(" Diese Webseite ist ein Fork vom Luftbilder-Projekt aus Berlin "),Object(a["f"])("a",{href:"https://luftbilder.berlin.codefor.de"},"https://luftbilder.berlin.codefor.de"),Object(a["e"])(". ")],-1),x=Object(a["f"])("p",null,[Object(a["e"])(" Den Source-Code gibt es auf "),Object(a["f"])("a",{href:"https://github.com/easz/luftbilder.muenchen"},"GitHub"),Object(a["e"])(". ")],-1),C=Object(a["f"])("p",null,[Object(a["e"])(" Die Bilder stammen aus "),Object(a["f"])("a",{href:"https://opendata.muenchen.de"},"OpenData München"),Object(a["e"])(" und "),Object(a["f"])("a",{href:"https://geodaten.bayern.de/opengeodata"},"Bayerische Vermessungsverwaltung"),Object(a["e"])(". ")],-1);Object(a["h"])();var k=v((function(e,t,n,o,r,c){return Object(a["g"])(),Object(a["c"])("div",y,[Object(a["f"])("a",{href:"",class:"close",onClick:t[1]||(t[1]=Object(a["p"])((function(){return c.handleClose&&c.handleClose.apply(c,arguments)}),["prevent"]))},"×"),M,x,C])})),w={name:"Info",props:{map:Object,onClose:Function},methods:{handleClose:function(){this.$emit("onClose")}}};n("9967");w.render=k,w.__scopeId="data-v-cd5b3114";var I=w,_=n("d399"),z=n.n(_),L={name:"Nav",props:{brand:Object,maps:Array,map:Object},components:{Info:I},setup:function(){return{iconInfo:z.a}},data:function(){return{currentMapIndex:this.maps.indexOf(this.map),searchString:"",info:!1}},watch:{map:function(e){this.currentMapIndex=this.maps.indexOf(e)},currentMapIndex:function(e){this.$emit("changeMap",e)}},methods:{searchLocation:function(){var e=this;if(this.searchString){var t="https://nominatim.openstreetmap.org/search?format=json&q=Muenchen "+encodeURIComponent(this.searchString);fetch(t).then((function(e){return e.json()})).then((function(t){t.length>0&&e.$emit("changeCenter",[t[0].lat,t[0].lon])}))}},toggleInfo:function(){this.info=!this.info},changeMap:function(e){this.$emit("changeMap",e)},getBackgroundImage:function(e){return e.url.replace(/\{z\}\/\{x\}\/\{y\}/i,"16/34876/22741")},getYear:function(e){return e.name.split(" ")[1]}}};n("0a6e");L.render=j,L.__scopeId="data-v-4311b5eb";var D=L,P={name:"App",data:function(){return{brand:this.$config.brand,maps:this.$config.maps,map:this.$config.maps[0],center:this.$config.view.center,zoom:this.$config.view.zoom}},components:{Map:l,Nav:D},methods:{changeMap:function(e){this.map=this.maps[e]},changeCenter:function(e){this.center=e}}};n("696f");P.render=o;var S=P,Z=n("7dc5"),$=Object(a["b"])(S);$.config.globalProperties.$config=Z,$.mount("#app")},"696f":function(e,t,n){"use strict";n("7de8")},"7dc5":function(e){e.exports=JSON.parse('{"brand":{"text":"luftbilder.meunchen","href":"https://easz.github.io/luftbilder.meunchen"},"view":{"center":[48.13743,11.57549],"zoom":13},"maps":[{"name":"Luftbilder 2022","url":"https://raw.githubusercontent.com/easz/by_dop40c_Y2022/main/{z}/{x}/{y}.png","options":{"attribution":"geodaten.bayern.de / Digitale farbige Orthophotos 2022 (DOP40)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2021","url":"https://raw.githubusercontent.com/easz/opendata_luftbild_dop20_Y2021/main/{z}/{x}/{y}.png","options":{"attribution":"opendata.muenchen.de / Digitale farbige Orthophotos 2021 (DOP20)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2020","url":"https://raw.githubusercontent.com/easz/by_dop80c_Y2020/main/{z}/{x}/{y}.png","options":{"attribution":"geodaten.bayern.de / Digitale farbige Orthophotos 2020 (DOP80)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2017","url":"https://raw.githubusercontent.com/easz/opendata_luftbild_dop60_Y2017/main/{z}/{x}/{y}.png","options":{"attribution":"opendata.muenchen.de / Digitale farbige Orthophotos 2017 (DOP60)","minZoom":10,"maxZoom":18}}]}')},"7de8":function(e,t,n){},9967:function(e,t,n){"use strict";n("b0c8")},b0c8:function(e,t,n){},d399:function(e,t,n){e.exports=n.p+"img/icon-info.32aa8313.svg"}}); +//# sourceMappingURL=app.963ab431.js.map \ No newline at end of file diff --git a/js/app.963ab431.js.map b/js/app.963ab431.js.map new file mode 100644 index 0000000..dd43cd6 --- /dev/null +++ b/js/app.963ab431.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Nav.vue?56a0","webpack:///./src/components/Map.vue?a46d","webpack:///./src/App.vue","webpack:///./src/components/Map.vue","webpack:///./src/components/Map.vue?e750","webpack:///./src/components/Nav.vue","webpack:///./src/components/Info.vue","webpack:///./src/components/Info.vue?596e","webpack:///./src/components/Nav.vue?ce9d","webpack:///./src/App.vue?dfb6","webpack:///./src/main.js","webpack:///./src/App.vue?ddef","webpack:///./src/components/Info.vue?4380","webpack:///./src/assets/icon-info.svg"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","center","zoom","class","id","props","Array","Number","leafletMap","leafletLayer","methods","setupLeafletMap","this","changeView","changeMap","removeLayer","tileLayer","addTo","url","options","setView","changeCenter","panTo","watch","mounted","render","__scopeId","href","brand","text","toggleInfo","src","iconInfo","alt","searchLocation","type","placeholder","searchString","currentMapIndex","index","maps","style","getBackgroundImage","getYear","info","handleClose","onClose","Function","$emit","components","Info","setup","indexOf","encodeURIComponent","fetch","then","response","json","lat","lon","replace","split","$config","view","Map","Nav","app","createApp","App","config","globalProperties","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,EAAiB5B,GAAY,CACzCK,EAAGL,EACH+B,GAAG,EACHF,QAAS,IAUV,OANAf,EAAQd,GAAUW,KAAKmB,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOC,GAAI,EAGJD,EAAOD,QAKfH,EAAoBM,EAAIlB,EAGxBY,EAAoBO,EAAIL,EAGxBF,EAAoBQ,EAAI,SAASL,EAASM,EAAMC,GAC3CV,EAAoBW,EAAER,EAASM,IAClC3B,OAAO8B,eAAeT,EAASM,EAAM,CAAEI,YAAY,EAAMC,IAAKJ,KAKhEV,EAAoBe,EAAI,SAASZ,GACX,qBAAXa,QAA0BA,OAAOC,aAC1CnC,OAAO8B,eAAeT,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DpC,OAAO8B,eAAeT,EAAS,aAAc,CAAEe,OAAO,KAQvDlB,EAAoBmB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQlB,EAAoBkB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKxC,OAAOyC,OAAO,MAGvB,GAFAvB,EAAoBe,EAAEO,GACtBxC,OAAO8B,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOlB,EAAoBQ,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRtB,EAAoB0B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAO,YACtC,WAA8B,OAAOA,GAEtC,OADAJ,EAAoBQ,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRV,EAAoBW,EAAI,SAASgB,EAAQC,GAAY,OAAO9C,OAAOC,UAAUC,eAAeC,KAAK0C,EAAQC,IAGzG5B,EAAoB6B,EAAI,wBAExB,IAAIC,EAAaC,OAAO,gBAAkBA,OAAO,iBAAmB,GAChEC,EAAmBF,EAAW3C,KAAKsC,KAAKK,GAC5CA,EAAW3C,KAAOf,EAClB0D,EAAaA,EAAWG,QACxB,IAAI,IAAItD,EAAI,EAAGA,EAAImD,EAAWjD,OAAQF,IAAKP,EAAqB0D,EAAWnD,IAC3E,IAAIU,EAAsB2C,EAI1BzC,EAAgBJ,KAAK,CAAC,EAAE,kBAEjBM,K,6ECvJT,W,6DCAA,W,wOCCA,2CAAiG,GAA3F,MAAO,QAAQ,KAAM,OAAO,IAAK,MAAM,YAAW,YAAY,eAAc,gB,8DAChF,eAAgD,GAA1CyC,IAAK,EAAAA,IAAMC,OAAQ,EAAAA,OAASC,KAAM,EAAAA,M,sHCDnCC,MAAM,MAAMC,GAAG,O,wEAApB,eAAgC,MAAhC,M,2CAOe,GACb7B,KAAM,MACN8B,MAAO,CACLL,IAAKpD,OACLqD,OAAQK,MACRJ,KAAMK,QAERpE,KAPa,WAQX,MAAO,CACLqE,WAAY,KACZC,aAAc,OAGlBC,QAAS,CACPC,gBAAiB,WACfC,KAAKJ,WAAa,IAAER,IAAI,OACxBY,KAAKC,aACLD,KAAKE,aAEPA,UAAW,WACLF,KAAKH,cACPG,KAAKJ,WAAWO,YAAYH,KAAKH,cAInCG,KAAKH,aAAe,IAAEO,UAAU,qDACA,CACE,YAAe,qIACf,QAAW,GACX,QAAW,KACVC,MAAML,KAAKJ,YAE9CI,KAAKH,aAAe,IAAEO,UAAUJ,KAAKZ,IAAIkB,IAAKN,KAAKZ,IAAImB,SAASF,MAAML,KAAKJ,aAE7EK,WAAY,WACVD,KAAKJ,WAAWY,QAAQR,KAAKX,OAAQW,KAAKV,OAE5CmB,aAAc,WACZT,KAAKJ,WAAWc,MAAMV,KAAKX,UAG/BsB,MAAO,CACLvB,IADK,WAEHY,KAAKE,aAEPb,OAJK,WAKHW,KAAKS,iBAGTG,QAjDa,WAkDXZ,KAAKD,oB,UCrDX,EAAOc,OAAS,EAChB,EAAOC,UAAY,kBAEJ,Q,yFCNNvB,MAAM,W,GACJA,MAAM,Y,GAKJA,MAAM,Q,GAORA,MAAM,a,GAYRA,MAAM,c,GAKJA,MAAM,Y,qGA/Bf,eAoCM,YAnCJ,eAuBM,MAvBN,EAuBM,CAtBJ,eAUM,MAVN,EAUM,CATJ,eAEK,WADH,eAAgD,KAAtCwB,KAAM,EAAAC,MAAMD,M,eAAS,EAAAC,MAAMC,MAAI,cAG3C,eAIM,MAJN,EAIM,CAHJ,eAEI,KAFDF,KAAK,GAAI,QAAK,8CAAU,EAAAG,YAAA,EAAAA,WAAA,qBAAU,e,CACnC,eAAyC,OAAnCC,IAAK,EAAAC,SAAUC,IAAI,e,sBAK/B,eASM,MATN,EASM,CARJ,eAEO,QAFA,SAAM,+CAAU,EAAAC,mBAAc,e,gBACnC,eAAgG,SAAzF/B,MAAM,eAAegC,KAAK,SAASC,YAAY,iB,qDAA0B,EAAAC,aAAY,K,mBAAZ,EAAAA,iB,mBAElF,eAIS,UAJDlC,MAAM,a,qDAAsB,EAAAmC,gBAAe,IAAG,SAAM,+BAAE,EAAAxB,UAAU,EAAAyB,U,qBACtE,eAES,2BAFsB,EAAAC,MAAI,SAAnBxC,EAAKuC,G,wBAArB,eAES,UAF6BjD,IAAKiD,EAAQvD,MAAOuD,G,eACrDvC,EAAIzB,MAAI,gB,qBAFqB,EAAA+D,uBAQxC,eAOM,MAPN,EAOM,E,mBANJ,eAKI,2BAL4C,EAAAE,MAAI,SAAnBxC,EAAKuC,G,wBAAtC,eAKI,KALDpC,MAAK,CAAC,gBAAe,QAEOoC,GAAS,EAAAD,kBAFehD,IAAKiD,EAChDE,MAAK,+BAA4B,EAAAC,mBAAmB1C,GAA/C,MAEX,QAAK,mCAAU,EAAAc,UAAUyB,KAAK,c,CAClC,eAA0C,IAA1C,EAA0C,eAAnB,EAAAI,QAAQ3C,IAAG,I,2BAI1B,EAAA4C,M,iBAAZ,eAAqD,G,MAAlC5C,IAAK,EAAAA,IAAM,UAAS,EAAA8B,Y,+KCnCpC3B,MAAM,S,EAET,eAEI,U,eAFD,mEAC6D,eAAuF,KAApFwB,KAAK,wCAAuC,wC,eAAwC,Q,KAEvJ,eAEI,U,eAFD,iCAC2B,eAAgE,KAA7DA,KAAK,+CAA8C,U,eAAU,Q,KAE9F,eAEI,U,eAFD,4BACsB,eAA2D,KAAxDA,KAAK,gCAA+B,oB,eAAoB,SAAK,eAAqF,KAAlFA,KAAK,0CAAyC,oC,eAAoC,Q,2EAThL,eAWM,MAXN,EAWM,CAVJ,eAAiE,KAA9DA,KAAK,GAAGxB,MAAM,QAAS,QAAK,8CAAU,EAAA0C,aAAA,EAAAA,YAAA,qBAAW,eAAE,KACtD,EAGA,EAGA,OAOa,GACbtE,KAAM,OACN8B,MAAO,CACLL,IAAKpD,OACLkG,QAASC,UAEXrC,QAAS,CACPmC,YAAa,WACXjC,KAAKoC,MAAM,c,UCnBnB,EAAOvB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,Q,qBFoCE,GACbnD,KAAM,MACN8B,MAAO,CACLuB,MAAOhF,OACP4F,KAAMlC,MACNN,IAAKpD,QAEPqG,WAAY,CACVC,QAEFC,MAVa,WAWX,MAAO,CACLnB,SAAA,MAGJ7F,KAfa,WAgBX,MAAO,CACLmG,gBAAiB1B,KAAK4B,KAAKY,QAAQxC,KAAKZ,KACxCqC,aAAc,GACdO,MAAM,IAGVrB,MAAO,CACLvB,IAAK,SAAS,GACZY,KAAK0B,gBAAkB1B,KAAK4B,KAAKY,QAAQ,IAE3Cd,gBAAiB,SAASC,GACxB3B,KAAKoC,MAAM,YAAaT,KAG5B7B,QAAS,CACPwB,eAAgB,WAAW,WACzB,GAAItB,KAAKyB,aAAc,CACrB,IAAMnB,EAAM,qEAAuEmC,mBAAmBzC,KAAKyB,cAC3GiB,MAAMpC,GACHqC,MAAK,SAAAC,GAAO,OAAKA,EAASC,UAC1BF,MAAK,SAAAE,GACAA,EAAK9G,OAAS,GAChB,EAAKqG,MAAM,eAAgB,CAACS,EAAK,GAAGC,IAAKD,EAAK,GAAGE,WAK3D7B,WAAY,WACVlB,KAAKgC,MAAQhC,KAAKgC,MAEpB9B,UAAW,SAASyB,GAClB3B,KAAKoC,MAAM,YAAaT,IAE1BG,mBAAoB,SAAS1C,GAC3B,OAAOA,EAAIkB,IAAI0C,QAAQ,uBAAwB,mBAEjDjB,QAAS,SAAS3C,GAChB,OAAOA,EAAIzB,KAAKsF,MAAM,KAAK,M,UG5FnC,EAAOpC,OAAS,EAChB,EAAOC,UAAY,kBAEJ,QNCE,GACbnD,KAAM,MACNpC,KAFa,WAGX,MAAO,CACLyF,MAAOhB,KAAKkD,QAAQlC,MACpBY,KAAM5B,KAAKkD,QAAQtB,KACnBxC,IAAKY,KAAKkD,QAAQtB,KAAK,GACvBvC,OAAQW,KAAKkD,QAAQC,KAAK9D,OAC1BC,KAAMU,KAAKkD,QAAQC,KAAK7D,OAG5B+C,WAAY,CACVe,MACAC,OAEFvD,QAAS,CACPI,UADO,SACGyB,GACR3B,KAAKZ,IAAMY,KAAK4B,KAAKD,IAEvBlB,aAJO,SAIMpB,GACXW,KAAKX,OAASA,K,UOxBtB,EAAOwB,OAASA,EAED,Q,YCFTyC,EAAMC,eAAUC,GACtBF,EAAIG,OAAOC,iBAAiBR,QAAUO,EACtCH,EAAIK,MAAM,S,oCCPV,W,y8CCAA,W,4CCAArG,EAAOD,QAAU,IAA0B","file":"js/app.963ab431.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/luftbilder.muenchen/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Nav.vue?vue&type=style&index=0&id=4311b5eb&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Map.vue?vue&type=style&index=0&id=d1dfcb62&scoped=true&lang=css\"","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Map.vue?vue&type=template&id=d1dfcb62&scoped=true\"\nimport script from \"./Map.vue?vue&type=script&lang=js\"\nexport * from \"./Map.vue?vue&type=script&lang=js\"\n\nimport \"./Map.vue?vue&type=style&index=0&id=d1dfcb62&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-d1dfcb62\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=cd5b3114&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=cd5b3114&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-cd5b3114\"\n\nexport default script","import { render } from \"./Nav.vue?vue&type=template&id=4311b5eb&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=4311b5eb&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4311b5eb\"\n\nexport default script","import { render } from \"./App.vue?vue&type=template&id=fc8e2ee8\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=fc8e2ee8&lang=scss\"\nscript.render = render\n\nexport default script","import { createApp } from 'vue'\nimport App from './App.vue'\n\nimport config from './config'\n\nconst app = createApp(App)\napp.config.globalProperties.$config = config\napp.mount('#app')\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=fc8e2ee8&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Info.vue?vue&type=style&index=0&id=cd5b3114&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/icon-info.32aa8313.svg\";"],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.b2087452.js b/js/app.b2087452.js deleted file mode 100644 index f062327..0000000 --- a/js/app.b2087452.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){function t(t){for(var a,c,i=t[0],p=t[1],s=t[2],l=0,f=[];lgeodaten.bayern.de / Digitale farbige Orthophotos 2022 (DOP40)',minZoom:10,maxZoom:18}).addTo(this.leafletMap),this.leafletLayer=s.a.tileLayer(this.map.url,this.map.options).addTo(this.leafletMap)},changeView:function(){this.leafletMap.setView(this.center,this.zoom)},changeCenter:function(){this.leafletMap.panTo(this.center)}},watch:{map:function(){this.changeMap()},center:function(){this.changeCenter()}},mounted:function(){this.setupLeafletMap()}};n("0e50");u.render=i,u.__scopeId="data-v-d1dfcb62";var l=u,f=(n("b0c0"),Object(a["p"])("data-v-40575a4c"));Object(a["i"])("data-v-40575a4c");var b={class:"nav-top"},d={class:"nav-left"},h={class:"info"},m={class:"nav-right"},g={class:"nav-bottom"},O={class:"map-year"};Object(a["h"])();var j=f((function(e,t,n,o,r,c){var i=Object(a["k"])("Info");return Object(a["g"])(),Object(a["c"])("nav",null,[Object(a["f"])("div",b,[Object(a["f"])("div",d,[Object(a["f"])("h1",null,[Object(a["f"])("a",{href:n.brand.href},Object(a["l"])(n.brand.text),9,["href"])]),Object(a["f"])("div",h,[Object(a["f"])("a",{href:"",onClick:t[1]||(t[1]=Object(a["o"])((function(){return c.toggleInfo&&c.toggleInfo.apply(c,arguments)}),["prevent"]))},[Object(a["f"])("img",{src:o.iconInfo,alt:"Information"},null,8,["src"])])])]),Object(a["f"])("div",m,[Object(a["n"])(Object(a["f"])("select",{class:"map-select","onUpdate:modelValue":t[2]||(t[2]=function(e){return r.currentMapIndex=e}),onUpdate:t[3]||(t[3]=function(t){return c.changeMap(e.index)})},[(Object(a["g"])(!0),Object(a["c"])(a["a"],null,Object(a["j"])(n.maps,(function(e,t){return Object(a["g"])(),Object(a["c"])("option",{key:t,value:t},Object(a["l"])(e.name),9,["value"])})),128))],544),[[a["m"],r.currentMapIndex]])])]),Object(a["f"])("div",g,[(Object(a["g"])(!0),Object(a["c"])(a["a"],null,Object(a["j"])(n.maps,(function(e,t){return Object(a["g"])(),Object(a["c"])("a",{class:["map-thumbnail",{active:t==r.currentMapIndex}],key:t,style:{backgroundImage:"url(".concat(c.getBackgroundImage(e),")")},onClick:Object(a["o"])((function(e){return c.changeMap(t)}),["prevent"])},[Object(a["f"])("p",O,Object(a["l"])(c.getYear(e)),1)],14,["onClick"])})),128))]),r.info?(Object(a["g"])(),Object(a["c"])(i,{key:0,map:n.map,onOnClose:c.toggleInfo},null,8,["map","onOnClose"])):Object(a["d"])("",!0)])})),v=(n("d3b7"),n("ac1f"),n("5319"),n("1276"),Object(a["p"])("data-v-cd5b3114"));Object(a["i"])("data-v-cd5b3114");var y={class:"modal"},M=Object(a["f"])("p",null,[Object(a["e"])(" Diese Webseite ist ein Fork vom Luftbilder-Projekt aus Berlin "),Object(a["f"])("a",{href:"https://luftbilder.berlin.codefor.de"},"https://luftbilder.berlin.codefor.de"),Object(a["e"])(". ")],-1),x=Object(a["f"])("p",null,[Object(a["e"])(" Den Source-Code gibt es auf "),Object(a["f"])("a",{href:"https://github.com/easz/luftbilder.muenchen"},"GitHub"),Object(a["e"])(". ")],-1),C=Object(a["f"])("p",null,[Object(a["e"])(" Die Bilder stammen aus "),Object(a["f"])("a",{href:"https://opendata.muenchen.de"},"OpenData München"),Object(a["e"])(" und "),Object(a["f"])("a",{href:"https://geodaten.bayern.de/opengeodata"},"Bayerische Vermessungsverwaltung"),Object(a["e"])(". ")],-1);Object(a["h"])();var k=v((function(e,t,n,o,r,c){return Object(a["g"])(),Object(a["c"])("div",y,[Object(a["f"])("a",{href:"",class:"close",onClick:t[1]||(t[1]=Object(a["o"])((function(){return c.handleClose&&c.handleClose.apply(c,arguments)}),["prevent"]))},"×"),M,x,C])})),w={name:"Info",props:{map:Object,onClose:Function},methods:{handleClose:function(){this.$emit("onClose")}}};n("9967");w.render=k,w.__scopeId="data-v-cd5b3114";var I=w,_=n("d399"),z=n.n(_),L={name:"Nav",props:{brand:Object,maps:Array,map:Object},components:{Info:I},setup:function(){return{iconInfo:z.a}},data:function(){return{currentMapIndex:this.maps.indexOf(this.map),searchString:"",info:!1}},watch:{map:function(e){this.currentMapIndex=this.maps.indexOf(e)},currentMapIndex:function(e){this.$emit("changeMap",e)}},methods:{searchLocation:function(){var e=this;if(this.searchString){var t="https://nominatim.openstreetmap.org/search?format=json&q=Muenchen "+encodeURIComponent(this.searchString);fetch(t).then((function(e){return e.json()})).then((function(t){t.length>0&&e.$emit("changeCenter",[t[0].lat,t[0].lon])}))}},toggleInfo:function(){this.info=!this.info},changeMap:function(e){this.$emit("changeMap",e)},getBackgroundImage:function(e){return e.url.replace(/\{z\}\/\{x\}\/\{y\}/i,"16/34876/22741")},getYear:function(e){return e.name.split(" ")[1]}}};n("5435");L.render=j,L.__scopeId="data-v-40575a4c";var D=L,P={name:"App",data:function(){return{brand:this.$config.brand,maps:this.$config.maps,map:this.$config.maps[0],center:this.$config.view.center,zoom:this.$config.view.zoom}},components:{Map:l,Nav:D},methods:{changeMap:function(e){this.map=this.maps[e]},changeCenter:function(e){this.center=e}}};n("696f");P.render=o;var S=P,Z=n("7dc5"),$=Object(a["b"])(S);$.config.globalProperties.$config=Z,$.mount("#app")},"696f":function(e,t,n){"use strict";n("7de8")},"7dc5":function(e){e.exports=JSON.parse('{"brand":{"text":"luftbilder.meunchen","href":"https://easz.github.io/luftbilder.meunchen"},"view":{"center":[48.13743,11.57549],"zoom":13},"maps":[{"name":"Luftbilder 2022","url":"https://raw.githubusercontent.com/easz/by_dop40c_Y2022/main/{z}/{x}/{y}.png","options":{"attribution":"geodaten.bayern.de / Digitale farbige Orthophotos 2022 (DOP40)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2021","url":"https://raw.githubusercontent.com/easz/opendata_luftbild_dop20_Y2021/main/{z}/{x}/{y}.png","options":{"attribution":"opendata.muenchen.de / Digitale farbige Orthophotos 2021 (DOP20)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2020","url":"https://raw.githubusercontent.com/easz/by_dop80c_Y2020/main/{z}/{x}/{y}.png","options":{"attribution":"geodaten.bayern.de / Digitale farbige Orthophotos 2020 (DOP80)","minZoom":10,"maxZoom":18}},{"name":"Luftbilder 2017","url":"https://raw.githubusercontent.com/easz/opendata_luftbild_dop60_Y2017/main/{z}/{x}/{y}.png","options":{"attribution":"opendata.muenchen.de / Digitale farbige Orthophotos 2017 (DOP60)","minZoom":10,"maxZoom":18}}]}')},"7de8":function(e,t,n){},9967:function(e,t,n){"use strict";n("b0c8")},b0c8:function(e,t,n){},d399:function(e,t,n){e.exports=n.p+"img/icon-info.32aa8313.svg"}}); -//# sourceMappingURL=app.b2087452.js.map \ No newline at end of file diff --git a/js/app.b2087452.js.map b/js/app.b2087452.js.map deleted file mode 100644 index 24cfa13..0000000 --- a/js/app.b2087452.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Map.vue?a46d","webpack:///./src/components/Nav.vue?37e6","webpack:///./src/App.vue","webpack:///./src/components/Map.vue","webpack:///./src/components/Map.vue?e750","webpack:///./src/components/Nav.vue","webpack:///./src/components/Info.vue","webpack:///./src/components/Info.vue?596e","webpack:///./src/components/Nav.vue?ce9d","webpack:///./src/App.vue?dfb6","webpack:///./src/main.js","webpack:///./src/App.vue?ddef","webpack:///./src/components/Info.vue?4380","webpack:///./src/assets/icon-info.svg"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","center","zoom","class","id","props","Array","Number","leafletMap","leafletLayer","methods","setupLeafletMap","this","changeView","changeMap","removeLayer","tileLayer","addTo","url","options","setView","changeCenter","panTo","watch","mounted","render","__scopeId","href","brand","text","toggleInfo","src","iconInfo","alt","currentMapIndex","index","maps","style","getBackgroundImage","getYear","info","handleClose","onClose","Function","$emit","components","Info","setup","indexOf","searchString","searchLocation","encodeURIComponent","fetch","then","response","json","lat","lon","replace","split","$config","view","Map","Nav","app","createApp","App","config","globalProperties","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,EAAiB5B,GAAY,CACzCK,EAAGL,EACH+B,GAAG,EACHF,QAAS,IAUV,OANAf,EAAQd,GAAUW,KAAKmB,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOC,GAAI,EAGJD,EAAOD,QAKfH,EAAoBM,EAAIlB,EAGxBY,EAAoBO,EAAIL,EAGxBF,EAAoBQ,EAAI,SAASL,EAASM,EAAMC,GAC3CV,EAAoBW,EAAER,EAASM,IAClC3B,OAAO8B,eAAeT,EAASM,EAAM,CAAEI,YAAY,EAAMC,IAAKJ,KAKhEV,EAAoBe,EAAI,SAASZ,GACX,qBAAXa,QAA0BA,OAAOC,aAC1CnC,OAAO8B,eAAeT,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DpC,OAAO8B,eAAeT,EAAS,aAAc,CAAEe,OAAO,KAQvDlB,EAAoBmB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQlB,EAAoBkB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKxC,OAAOyC,OAAO,MAGvB,GAFAvB,EAAoBe,EAAEO,GACtBxC,OAAO8B,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOlB,EAAoBQ,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRtB,EAAoB0B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAO,YACtC,WAA8B,OAAOA,GAEtC,OADAJ,EAAoBQ,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRV,EAAoBW,EAAI,SAASgB,EAAQC,GAAY,OAAO9C,OAAOC,UAAUC,eAAeC,KAAK0C,EAAQC,IAGzG5B,EAAoB6B,EAAI,wBAExB,IAAIC,EAAaC,OAAO,gBAAkBA,OAAO,iBAAmB,GAChEC,EAAmBF,EAAW3C,KAAKsC,KAAKK,GAC5CA,EAAW3C,KAAOf,EAClB0D,EAAaA,EAAWG,QACxB,IAAI,IAAItD,EAAI,EAAGA,EAAImD,EAAWjD,OAAQF,IAAKP,EAAqB0D,EAAWnD,IAC3E,IAAIU,EAAsB2C,EAI1BzC,EAAgBJ,KAAK,CAAC,EAAE,kBAEjBM,K,6ECvJT,W,gFCAA,W,iNCCA,2CAAiG,GAA3F,MAAO,QAAQ,KAAM,OAAO,IAAK,MAAM,YAAW,YAAY,eAAc,gB,8DAChF,eAAgD,GAA1CyC,IAAK,EAAAA,IAAMC,OAAQ,EAAAA,OAASC,KAAM,EAAAA,M,sHCDnCC,MAAM,MAAMC,GAAG,O,wEAApB,eAAgC,MAAhC,M,2CAOe,GACb7B,KAAM,MACN8B,MAAO,CACLL,IAAKpD,OACLqD,OAAQK,MACRJ,KAAMK,QAERpE,KAPa,WAQX,MAAO,CACLqE,WAAY,KACZC,aAAc,OAGlBC,QAAS,CACPC,gBAAiB,WACfC,KAAKJ,WAAa,IAAER,IAAI,OACxBY,KAAKC,aACLD,KAAKE,aAEPA,UAAW,WACLF,KAAKH,cACPG,KAAKJ,WAAWO,YAAYH,KAAKH,cAInCG,KAAKH,aAAe,IAAEO,UAAU,qDACA,CACE,YAAe,qIACf,QAAW,GACX,QAAW,KACVC,MAAML,KAAKJ,YAE9CI,KAAKH,aAAe,IAAEO,UAAUJ,KAAKZ,IAAIkB,IAAKN,KAAKZ,IAAImB,SAASF,MAAML,KAAKJ,aAE7EK,WAAY,WACVD,KAAKJ,WAAWY,QAAQR,KAAKX,OAAQW,KAAKV,OAE5CmB,aAAc,WACZT,KAAKJ,WAAWc,MAAMV,KAAKX,UAG/BsB,MAAO,CACLvB,IADK,WAEHY,KAAKE,aAEPb,OAJK,WAKHW,KAAKS,iBAGTG,QAjDa,WAkDXZ,KAAKD,oB,UCrDX,EAAOc,OAAS,EAChB,EAAOC,UAAY,kBAEJ,Q,yFCNNvB,MAAM,W,GACJA,MAAM,Y,GAKJA,MAAM,Q,GAORA,MAAM,a,GAcRA,MAAM,c,GAKJA,MAAM,Y,qGAjCf,eAsCM,YArCJ,eAyBM,MAzBN,EAyBM,CAxBJ,eAUM,MAVN,EAUM,CATJ,eAEK,WADH,eAAgD,KAAtCwB,KAAM,EAAAC,MAAMD,M,eAAS,EAAAC,MAAMC,MAAI,cAG3C,eAIM,MAJN,EAIM,CAHJ,eAEI,KAFDF,KAAK,GAAI,QAAK,8CAAU,EAAAG,YAAA,EAAAA,WAAA,qBAAU,e,CACnC,eAAyC,OAAnCC,IAAK,EAAAC,SAAUC,IAAI,e,sBAK/B,eAWM,MAXN,EAWM,C,eALJ,eAIS,UAJD9B,MAAM,a,qDAAsB,EAAA+B,gBAAe,IAAG,SAAM,+BAAE,EAAApB,UAAU,EAAAqB,U,qBACtE,eAES,2BAFsB,EAAAC,MAAI,SAAnBpC,EAAKmC,G,wBAArB,eAES,UAF6B7C,IAAK6C,EAAQnD,MAAOmD,G,eACrDnC,EAAIzB,MAAI,gB,qBAFqB,EAAA2D,uBAQxC,eAOM,MAPN,EAOM,E,mBANJ,eAKI,2BAL4C,EAAAE,MAAI,SAAnBpC,EAAKmC,G,wBAAtC,eAKI,KALDhC,MAAK,CAAC,gBAAe,QAEOgC,GAAS,EAAAD,kBAFe5C,IAAK6C,EAChDE,MAAK,+BAA4B,EAAAC,mBAAmBtC,GAA/C,MAEX,QAAK,mCAAU,EAAAc,UAAUqB,KAAK,c,CAClC,eAA0C,IAA1C,EAA0C,eAAnB,EAAAI,QAAQvC,IAAG,I,2BAI1B,EAAAwC,M,iBAAZ,eAAqD,G,MAAlCxC,IAAK,EAAAA,IAAM,UAAS,EAAA8B,Y,+KCrCpC3B,MAAM,S,EAET,eAEI,U,eAFD,mEAC6D,eAAuF,KAApFwB,KAAK,wCAAuC,wC,eAAwC,Q,KAEvJ,eAEI,U,eAFD,iCAC2B,eAAgE,KAA7DA,KAAK,+CAA8C,U,eAAU,Q,KAE9F,eAEI,U,eAFD,4BACsB,eAA2D,KAAxDA,KAAK,gCAA+B,oB,eAAoB,SAAK,eAAqF,KAAlFA,KAAK,0CAAyC,oC,eAAoC,Q,2EAThL,eAWM,MAXN,EAWM,CAVJ,eAAiE,KAA9DA,KAAK,GAAGxB,MAAM,QAAS,QAAK,8CAAU,EAAAsC,aAAA,EAAAA,YAAA,qBAAW,eAAE,KACtD,EAGA,EAGA,OAOa,GACblE,KAAM,OACN8B,MAAO,CACLL,IAAKpD,OACL8F,QAASC,UAEXjC,QAAS,CACP+B,YAAa,WACX7B,KAAKgC,MAAM,c,UCnBnB,EAAOnB,OAAS,EAChB,EAAOC,UAAY,kBAEJ,Q,qBFsCE,GACbnD,KAAM,MACN8B,MAAO,CACLuB,MAAOhF,OACPwF,KAAM9B,MACNN,IAAKpD,QAEPiG,WAAY,CACVC,QAEFC,MAVa,WAWX,MAAO,CACLf,SAAA,MAGJ7F,KAfa,WAgBX,MAAO,CACL+F,gBAAiBtB,KAAKwB,KAAKY,QAAQpC,KAAKZ,KACxCiD,aAAc,GACdT,MAAM,IAGVjB,MAAO,CACLvB,IAAK,SAAS,GACZY,KAAKsB,gBAAkBtB,KAAKwB,KAAKY,QAAQ,IAE3Cd,gBAAiB,SAASC,GACxBvB,KAAKgC,MAAM,YAAaT,KAG5BzB,QAAS,CACPwC,eAAgB,WAAW,WACzB,GAAItC,KAAKqC,aAAc,CACrB,IAAM/B,EAAM,qEAAuEiC,mBAAmBvC,KAAKqC,cAC3GG,MAAMlC,GACHmC,MAAK,SAAAC,GAAO,OAAKA,EAASC,UAC1BF,MAAK,SAAAE,GACAA,EAAK5G,OAAS,GAChB,EAAKiG,MAAM,eAAgB,CAACW,EAAK,GAAGC,IAAKD,EAAK,GAAGE,WAK3D3B,WAAY,WACVlB,KAAK4B,MAAQ5B,KAAK4B,MAEpB1B,UAAW,SAASqB,GAClBvB,KAAKgC,MAAM,YAAaT,IAE1BG,mBAAoB,SAAStC,GAC3B,OAAOA,EAAIkB,IAAIwC,QAAQ,uBAAwB,mBAEjDnB,QAAS,SAASvC,GAChB,OAAOA,EAAIzB,KAAKoF,MAAM,KAAK,M,UG9FnC,EAAOlC,OAAS,EAChB,EAAOC,UAAY,kBAEJ,QNCE,GACbnD,KAAM,MACNpC,KAFa,WAGX,MAAO,CACLyF,MAAOhB,KAAKgD,QAAQhC,MACpBQ,KAAMxB,KAAKgD,QAAQxB,KACnBpC,IAAKY,KAAKgD,QAAQxB,KAAK,GACvBnC,OAAQW,KAAKgD,QAAQC,KAAK5D,OAC1BC,KAAMU,KAAKgD,QAAQC,KAAK3D,OAG5B2C,WAAY,CACViB,MACAC,OAEFrD,QAAS,CACPI,UADO,SACGqB,GACRvB,KAAKZ,IAAMY,KAAKwB,KAAKD,IAEvBd,aAJO,SAIMpB,GACXW,KAAKX,OAASA,K,UOxBtB,EAAOwB,OAASA,EAED,Q,YCFTuC,EAAMC,eAAUC,GACtBF,EAAIG,OAAOC,iBAAiBR,QAAUO,EACtCH,EAAIK,MAAM,S,oCCPV,W,y8CCAA,W,4CCAAnG,EAAOD,QAAU,IAA0B","file":"js/app.b2087452.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/luftbilder.muenchen/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Map.vue?vue&type=style&index=0&id=d1dfcb62&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Nav.vue?vue&type=style&index=0&id=40575a4c&lang=scss&scoped=true\"","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Map.vue?vue&type=template&id=d1dfcb62&scoped=true\"\nimport script from \"./Map.vue?vue&type=script&lang=js\"\nexport * from \"./Map.vue?vue&type=script&lang=js\"\n\nimport \"./Map.vue?vue&type=style&index=0&id=d1dfcb62&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-d1dfcb62\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Info.vue?vue&type=template&id=cd5b3114&scoped=true\"\nimport script from \"./Info.vue?vue&type=script&lang=js\"\nexport * from \"./Info.vue?vue&type=script&lang=js\"\n\nimport \"./Info.vue?vue&type=style&index=0&id=cd5b3114&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-cd5b3114\"\n\nexport default script","import { render } from \"./Nav.vue?vue&type=template&id=40575a4c&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=40575a4c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-40575a4c\"\n\nexport default script","import { render } from \"./App.vue?vue&type=template&id=fc8e2ee8\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=fc8e2ee8&lang=scss\"\nscript.render = render\n\nexport default script","import { createApp } from 'vue'\nimport App from './App.vue'\n\nimport config from './config'\n\nconst app = createApp(App)\napp.config.globalProperties.$config = config\napp.mount('#app')\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=fc8e2ee8&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Info.vue?vue&type=style&index=0&id=cd5b3114&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/icon-info.32aa8313.svg\";"],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.a89e91e2.js b/js/chunk-vendors.1617025e.js similarity index 67% rename from js/chunk-vendors.a89e91e2.js rename to js/chunk-vendors.1617025e.js index 5d48ba2..1be2484 100644 --- a/js/chunk-vendors.a89e91e2.js +++ b/js/chunk-vendors.1617025e.js @@ -1,7 +1,7 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,n){var i=n("b622"),o=i("toStringTag"),r={};r[o]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},"06cf":function(t,e,n){var i=n("83ab"),o=n("d1e7"),r=n("5c6c"),s=n("fc6a"),a=n("c04e"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=i?l:function(t,e){if(t=s(t),e=a(e,!0),u)try{return l(t,e)}catch(n){}if(c(t,e))return r(!o.f.call(t,e),t[e])}},"0cb2":function(t,e,n){var i=n("7b0b"),o=Math.floor,r="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,c,u,l){var h=n+t.length,d=c.length,f=a;return void 0!==u&&(u=i(u),f=s),r.call(l,f,(function(i,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":s=u[r.slice(1,-1)];break;default:var a=+r;if(0===a)return i;if(a>d){var l=o(a/10);return 0===l?i:l<=d?void 0===c[l-1]?r.charAt(1):c[l-1]+r.charAt(1):i}s=c[a-1]}return void 0===s?"":s}))}},"0cfb":function(t,e,n){var i=n("83ab"),o=n("d039"),r=n("cc12");t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"107c":function(t,e,n){var i=n("d039");t.exports=i((function(){var t=RegExp("(?b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1276:function(t,e,n){"use strict";var i=n("d784"),o=n("44e7"),r=n("825a"),s=n("1d80"),a=n("4840"),c=n("8aa5"),u=n("50c4"),l=n("14c3"),h=n("9263"),d=n("9f7f"),f=n("d039"),p=d.UNSUPPORTED_Y,_=[].push,m=Math.min,v=4294967295,g=!f((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),r=void 0===n?v:n>>>0;if(0===r)return[];if(void 0===t)return[i];if(!o(t))return e.call(i,t,r);var a,c,u,l=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=new RegExp(t.source,d+"g");while(a=h.call(p,i)){if(c=p.lastIndex,c>f&&(l.push(i.slice(f,a.index)),a.length>1&&a.index=r))break;p.lastIndex===a.index&&p.lastIndex++}return f===i.length?!u&&p.test("")||l.push(""):l.push(i.slice(f)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=s(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,o,n):i.call(String(o),e,n)},function(t,o){var s=n(i,this,t,o,i!==e);if(s.done)return s.value;var h=r(this),d=String(t),f=a(h,RegExp),_=h.unicode,g=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(p?"g":"y"),y=new f(p?"^(?:"+h.source+")":h,g),b=void 0===o?v:o>>>0;if(0===b)return[];if(0===d.length)return null===l(y,d)?[d]:[];var x=0,w=0,P=[];while(w=51||!i((function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var i=n("825a"),o=n("e95a"),r=n("50c4"),s=n("0366"),a=n("35a1"),c=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,h,d,f,p,_,m,v=n&&n.that,g=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),x=s(e,v,1+g+b),w=function(t){return l&&c(l),new u(!0,t)},P=function(t){return g?(i(t),b?x(t[0],t[1],w):x(t[0],t[1])):b?x(t,w):x(t)};if(y)l=t;else{if(h=a(t),"function"!=typeof h)throw TypeError("Target is not iterable");if(o(h)){for(d=0,f=r(t.length);f>d;d++)if(p=P(t[d]),p&&p instanceof u)return p;return new u(!1)}l=h.call(t)}_=l.next;while(!(m=_.call(l)).done){try{p=P(m.value)}catch(L){throw c(l),L}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(t,e,n){var i=n("a691"),o=Math.max,r=Math.min;t.exports=function(t,e){var n=i(t);return n<0?o(n+e,0):r(n,e)}},"23e7":function(t,e,n){var i=n("da84"),o=n("06cf").f,r=n("9112"),s=n("6eeb"),a=n("ce4e"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,h,d,f,p,_=t.target,m=t.global,v=t.stat;if(l=m?i:v?i[_]||a(_,{}):(i[_]||{}).prototype,l)for(h in e){if(f=e[h],t.noTargetGet?(p=o(l,h),d=p&&p.value):d=l[h],n=u(m?h:_+(v?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof f===typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&r(f,"sham",!0),s(l,h,f,t)}}},"241c":function(t,e,n){var i=n("ca84"),o=n("7839"),r=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},2626:function(t,e,n){"use strict";var i=n("d066"),o=n("9bf2"),r=n("b622"),s=n("83ab"),a=r("species");t.exports=function(t){var e=i(t),n=o.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var i=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return i(e.call(t)).value}},"2cf4":function(t,e,n){var i,o,r,s=n("da84"),a=n("d039"),c=n("0366"),u=n("1be4"),l=n("cc12"),h=n("1cdc"),d=n("605d"),f=s.location,p=s.setImmediate,_=s.clearImmediate,m=s.process,v=s.MessageChannel,g=s.Dispatch,y=0,b={},x="onreadystatechange",w=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},P=function(t){return function(){w(t)}},L=function(t){w(t.data)},O=function(t){s.postMessage(t+"",f.protocol+"//"+f.host)};p&&_||(p=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(y),y},_=function(t){delete b[t]},d?i=function(t){m.nextTick(P(t))}:g&&g.now?i=function(t){g.now(P(t))}:v&&!h?(o=new v,r=o.port2,o.port1.onmessage=L,i=c(r.postMessage,r,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&f&&"file:"!==f.protocol&&!a(O)?(i=O,s.addEventListener("message",L,!1)):i=x in l("script")?function(t){u.appendChild(l("script"))[x]=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(P(t),0)}),t.exports={set:p,clear:_}},"2d00":function(t,e,n){var i,o,r=n("da84"),s=n("342f"),a=r.process,c=a&&a.versions,u=c&&c.v8;u?(i=u.split("."),o=i[0]<4?1:i[0]+i[1]):s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(o=i[1]))),t.exports=o&&+o},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),o=n("3f8c"),r=n("b622"),s=r("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||o[i(t)]}},"37e8":function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("825a"),s=n("df75");t.exports=i?Object.defineProperties:function(t,e){r(t);var n,i=s(e),a=i.length,c=0;while(a>c)o.f(t,n=i[c++],e[n]);return t}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var i=n("da84");t.exports=i},"44ad":function(t,e,n){var i=n("d039"),o=n("c6b6"),r="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?r.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var i=n("b622"),o=n("7c73"),r=n("9bf2"),s=i("unscopables"),a=Array.prototype;void 0==a[s]&&r.f(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var i=n("861d"),o=n("c6b6"),r=n("b622"),s=r("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==o(t))}},4840:function(t,e,n){var i=n("825a"),o=n("1c0b"),r=n("b622"),s=r("species");t.exports=function(t,e){var n,r=i(t).constructor;return void 0===r||void 0==(n=i(r)[s])?e:o(n)}},4930:function(t,e,n){var i=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"4d64":function(t,e,n){var i=n("fc6a"),o=n("50c4"),r=n("23cb"),s=function(t){return function(e,n,s){var a,c=i(e),u=o(c.length),l=r(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"50c4":function(t,e,n){var i=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},5135:function(t,e,n){var i=n("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(i(t),e)}},5319:function(t,e,n){"use strict";var i=n("d784"),o=n("d039"),r=n("825a"),s=n("50c4"),a=n("a691"),c=n("1d80"),u=n("8aa5"),l=n("0cb2"),h=n("14c3"),d=n("b622"),f=d("replace"),p=Math.max,_=Math.min,m=function(t){return void 0===t?t:String(t)},v=function(){return"$0"==="a".replace(/./,"$0")}(),g=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),y=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}));i("replace",(function(t,e,n){var i=g?"$":"$0";return[function(t,n){var i=c(this),o=void 0==t?void 0:t[f];return void 0!==o?o.call(t,i,n):e.call(String(i),t,n)},function(t,o){if("string"===typeof o&&-1===o.indexOf(i)&&-1===o.indexOf("$<")){var c=n(e,this,t,o);if(c.done)return c.value}var d=r(this),f=String(t),v="function"===typeof o;v||(o=String(o));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var x=h(d,f);if(null===x)break;if(b.push(x),!g)break;var w=String(x[0]);""===w&&(d.lastIndex=u(f,s(d.lastIndex),y))}for(var P="",L=0,O=0;O=L&&(P+=f.slice(L,j)+k,L=j+T.length)}return P+f.slice(L)}]}),!y||!v||g)},5692:function(t,e,n){var i=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),o=n("241c"),r=n("7418"),s=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=r.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var i=n("1d80"),o=n("5899"),r="["+o+"]",s=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),c=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"605d":function(t,e,n){var i=n("c6b6"),o=n("da84");t.exports="process"==i(o.process)},6069:function(t,e){t.exports="object"==typeof window},"60da":function(t,e,n){"use strict";var i=n("83ab"),o=n("d039"),r=n("df75"),s=n("7418"),a=n("d1e7"),c=n("7b0b"),u=n("44ad"),l=Object.assign,h=Object.defineProperty;t.exports=!l||o((function(){if(i&&1!==l({b:1},l(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||r(l({},e)).join("")!=o}))?function(t,e){var n=c(t),o=arguments.length,l=1,h=s.f,d=a.f;while(o>l){var f,p=u(arguments[l++]),_=h?r(p).concat(h(p)):r(p),m=_.length,v=0;while(m>v)f=_[v++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:l},6547:function(t,e,n){var i=n("a691"),o=n("1d80"),r=function(t){return function(e,n){var r,s,a=String(o(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(r=a.charCodeAt(c),r<55296||r>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):r:t?a.slice(c,c+2):s-56320+(r-55296<<10)+65536)}};t.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(t,e,n){var i=n("861d"),o=n("e8b5"),r=n("b622"),s=r("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var i,o,r,s=n("7f9a"),a=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),h=n("c6cd"),d=n("f772"),f=n("d012"),p="Object already initialized",_=a.WeakMap,m=function(t){return r(t)?o(t):i(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s||h.state){var g=h.state||(h.state=new _),y=g.get,b=g.has,x=g.set;i=function(t,e){if(b.call(g,t))throw new TypeError(p);return e.facade=t,x.call(g,t,e),e},o=function(t){return y.call(g,t)||{}},r=function(t){return b.call(g,t)}}else{var w=d("state");f[w]=!0,i=function(t,e){if(l(t,w))throw new TypeError(p);return e.facade=t,u(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},r=function(t){return l(t,w)}}t.exports={set:i,get:o,has:r,enforce:m,getterFor:v}},"6cc5":function(t,e,n){},"6eeb":function(t,e,n){var i=n("da84"),o=n("9112"),r=n("5135"),s=n("ce4e"),a=n("8925"),c=n("69f3"),u=c.get,l=c.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var c,u=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||r(n,"name")||o(n,"name",e),c=l(n),c.source||(c.source=h.join("string"==typeof e?e:""))),t!==i?(u?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=n:o(t,e,n)):d?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},7156:function(t,e,n){var i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var r,s;return o&&"function"==typeof(r=e.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&o(t,s),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a23":function(t,e,n){"use strict";n.d(e,"l",(function(){return i["J"]})),n.d(e,"a",(function(){return oi})),n.d(e,"c",(function(){return pi})),n.d(e,"d",(function(){return Li})),n.d(e,"e",(function(){return Pi})),n.d(e,"f",(function(){return bi})),n.d(e,"g",(function(){return li})),n.d(e,"h",(function(){return he})),n.d(e,"i",(function(){return le})),n.d(e,"j",(function(){return Ci})),n.d(e,"k",(function(){return ti})),n.d(e,"n",(function(){return Rn})),n.d(e,"p",(function(){return de})),n.d(e,"b",(function(){return ar})),n.d(e,"m",(function(){return Xo})),n.d(e,"o",(function(){return ir}));var i=n("9ff4");const o=new WeakMap,r=[];let s;const a=Symbol(""),c=Symbol("");function u(t){return t&&!0===t._isEffect}function l(t,e=i["b"]){u(t)&&(t=t.raw);const n=f(t,e);return e.lazy||n(),n}function h(t){t.active&&(p(t),t.options.onStop&&t.options.onStop(),t.active=!1)}let d=0;function f(t,e){const n=function(){if(!n.active)return t();if(!r.includes(n)){p(n);try{return g(),r.push(n),s=n,t()}finally{r.pop(),y(),s=r[r.length-1]}}};return n.id=d++,n.allowRecurse=!!e.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=t,n.deps=[],n.options=e,n}function p(t){const{deps:e}=t;if(e.length){for(let n=0;n{t&&t.forEach(t=>{(t!==s||t.allowRecurse)&&d.add(t)})};if("clear"===e)h.forEach(f);else if("length"===n&&Object(i["m"])(t))h.forEach((t,e)=>{("length"===e||e>=r)&&f(t)});else switch(void 0!==n&&f(h.get(n)),e){case"add":Object(i["m"])(t)?Object(i["q"])(n)&&f(h.get("length")):(f(h.get(a)),Object(i["r"])(t)&&f(h.get(c)));break;case"delete":Object(i["m"])(t)||(f(h.get(a)),Object(i["r"])(t)&&f(h.get(c)));break;case"set":Object(i["r"])(t)&&f(h.get(a));break}const p=t=>{t.options.scheduler?t.options.scheduler(t):t()};d.forEach(p)}const w=Object(i["F"])("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(i["C"])),L=C(),O=C(!1,!0),T=C(!0),j=S();function S(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=xt(this);for(let e=0,o=this.length;e{t[e]=function(...t){v();const n=xt(this)[e].apply(this,t);return y(),n}}),t}function C(t=!1,e=!1){return function(n,o,r){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&r===(t?e?ht:lt:e?ut:ct).get(n))return n;const s=Object(i["m"])(n);if(!t&&s&&Object(i["j"])(j,o))return Reflect.get(j,o,r);const a=Reflect.get(n,o,r);if(Object(i["C"])(o)?P.has(o):w(o))return a;if(t||b(n,"get",o),e)return a;if(Pt(a)){const t=!s||!Object(i["q"])(o);return t?a.value:a}return Object(i["t"])(a)?t?mt(a):pt(a):a}}const M=k(),E=k(!0);function k(t=!1){return function(e,n,o,r){let s=e[n];if(!t&&(o=xt(o),s=xt(s),!Object(i["m"])(e)&&Pt(s)&&!Pt(o)))return s.value=o,!0;const a=Object(i["m"])(e)&&Object(i["q"])(n)?Number(n)Object(i["t"])(t)?pt(t):t,D=t=>Object(i["t"])(t)?mt(t):t,F=t=>t,W=t=>Reflect.getPrototypeOf(t);function U(t,e,n=!1,i=!1){t=t["__v_raw"];const o=xt(t),r=xt(e);e!==r&&!n&&b(o,"get",e),!n&&b(o,"get",r);const{has:s}=W(o),a=i?F:n?D:N;return s.call(o,e)?a(t.get(e)):s.call(o,r)?a(t.get(r)):void(t!==o&&t.get(e))}function H(t,e=!1){const n=this["__v_raw"],i=xt(n),o=xt(t);return t!==o&&!e&&b(i,"has",t),!e&&b(i,"has",o),t===o?n.has(t):n.has(t)||n.has(o)}function V(t,e=!1){return t=t["__v_raw"],!e&&b(xt(t),"iterate",a),Reflect.get(t,"size",t)}function G(t){t=xt(t);const e=xt(this),n=W(e),i=n.has.call(e,t);return i||(e.add(t),x(e,"add",t,t)),this}function q(t,e){e=xt(e);const n=xt(this),{has:o,get:r}=W(n);let s=o.call(n,t);s||(t=xt(t),s=o.call(n,t));const a=r.call(n,t);return n.set(t,e),s?Object(i["i"])(e,a)&&x(n,"set",t,e,a):x(n,"add",t,e),this}function K(t){const e=xt(this),{has:n,get:i}=W(e);let o=n.call(e,t);o||(t=xt(t),o=n.call(e,t));const r=i?i.call(e,t):void 0,s=e.delete(t);return o&&x(e,"delete",t,void 0,r),s}function $(){const t=xt(this),e=0!==t.size,n=void 0,i=t.clear();return e&&x(t,"clear",void 0,void 0,n),i}function Y(t,e){return function(n,i){const o=this,r=o["__v_raw"],s=xt(r),c=e?F:t?D:N;return!t&&b(s,"iterate",a),r.forEach((t,e)=>n.call(i,c(t),c(e),o))}}function J(t,e,n){return function(...o){const r=this["__v_raw"],s=xt(r),u=Object(i["r"])(s),l="entries"===t||t===Symbol.iterator&&u,h="keys"===t&&u,d=r[t](...o),f=n?F:e?D:N;return!e&&b(s,"iterate",h?c:a),{next(){const{value:t,done:e}=d.next();return e?{value:t,done:e}:{value:l?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function X(t){return function(...e){return"delete"!==t&&this}}function Q(){const t={get(t){return U(this,t)},get size(){return V(this)},has:H,add:G,set:q,delete:K,clear:$,forEach:Y(!1,!1)},e={get(t){return U(this,t,!1,!0)},get size(){return V(this)},has:H,add:G,set:q,delete:K,clear:$,forEach:Y(!1,!0)},n={get(t){return U(this,t,!0)},get size(){return V(this,!0)},has(t){return H.call(this,t,!0)},add:X("add"),set:X("set"),delete:X("delete"),clear:X("clear"),forEach:Y(!0,!1)},i={get(t){return U(this,t,!0,!0)},get size(){return V(this,!0)},has(t){return H.call(this,t,!0)},add:X("add"),set:X("set"),delete:X("delete"),clear:X("clear"),forEach:Y(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach(o=>{t[o]=J(o,!1,!1),n[o]=J(o,!0,!1),e[o]=J(o,!1,!0),i[o]=J(o,!0,!0)}),[t,n,e,i]}const[tt,et,nt,it]=Q();function ot(t,e){const n=e?t?it:nt:t?et:tt;return(e,o,r)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get(Object(i["j"])(n,o)&&o in e?n:e,o,r)}const rt={get:ot(!1,!1)},st={get:ot(!1,!0)},at={get:ot(!0,!1)};const ct=new WeakMap,ut=new WeakMap,lt=new WeakMap,ht=new WeakMap;function dt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ft(t){return t["__v_skip"]||!Object.isExtensible(t)?0:dt(Object(i["M"])(t))}function pt(t){return t&&t["__v_isReadonly"]?t:vt(t,!1,B,rt,ct)}function _t(t){return vt(t,!1,R,st,ut)}function mt(t){return vt(t,!0,Z,at,lt)}function vt(t,e,n,o,r){if(!Object(i["t"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=r.get(t);if(s)return s;const a=ft(t);if(0===a)return t;const c=new Proxy(t,2===a?o:n);return r.set(t,c),c}function gt(t){return yt(t)?gt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function yt(t){return!(!t||!t["__v_isReadonly"])}function bt(t){return gt(t)||yt(t)}function xt(t){return t&&xt(t["__v_raw"])||t}function wt(t){return Object(i["g"])(t,"__v_skip",!0),t}function Pt(t){return Boolean(t&&!0===t.__v_isRef)}function Lt(t){return Pt(t)?t.value:t}const Ot={get:(t,e,n)=>Lt(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const o=t[e];return Pt(o)&&!Pt(n)?(o.value=n,!0):Reflect.set(t,e,n,i)}};function Tt(t){return gt(t)?t:new Proxy(t,Ot)}class jt{constructor(t,e,n){this._setter=e,this._dirty=!0,this.__v_isRef=!0,this.effect=l(t,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,x(xt(this),"set","value"))}}),this["__v_isReadonly"]=n}get value(){const t=xt(this);return t._dirty&&(t._value=this.effect(),t._dirty=!1),b(t,"get","value"),t._value}set value(t){this._setter(t)}}function St(t){let e,n;return Object(i["n"])(t)?(e=t,n=i["d"]):(e=t.get,n=t.set),new jt(e,n,Object(i["n"])(t)||!t.set)}function Ct(t,e,n,i){let o;try{o=i?t(...i):t()}catch(r){Et(r,e,n)}return o}function Mt(t,e,n,o){if(Object(i["n"])(t)){const r=Ct(t,e,n,o);return r&&Object(i["w"])(r)&&r.catch(t=>{Et(t,e,n)}),r}const r=[];for(let i=0;i>>1,o=ne(It[t]);o-1?It.splice(e,0,t):It.push(t),$t()}}function $t(){zt||At||(At=!0,Ht=Ut.then(ie))}function Yt(t){const e=It.indexOf(t);e>Bt&&It.splice(e,1)}function Jt(t,e,n,o){Object(i["m"])(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?o+1:o)||n.push(t),$t()}function Xt(t){Jt(t,Rt,Zt,Nt)}function Qt(t){Jt(t,Ft,Dt,Wt)}function te(t,e=null){if(Zt.length){for(Vt=e,Rt=[...new Set(Zt)],Zt.length=0,Nt=0;Ntne(t)-ne(e)),Wt=0;Wtnull==t.id?1/0:t.id;function ie(t){At=!1,zt=!0,te(t),It.sort((t,e)=>ne(t)-ne(e));try{for(Bt=0;Btt.trim()):e&&(r=n.map(i["L"]))}let c;let u=o[c=Object(i["K"])(e)]||o[c=Object(i["K"])(Object(i["e"])(e))];!u&&s&&(u=o[c=Object(i["K"])(Object(i["k"])(e))]),u&&Mt(u,t,6,r);const l=o[c+"Once"];if(l){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,Mt(l,t,6,r)}}function re(t,e,n=!1){const o=e.emitsCache,r=o.get(t);if(void 0!==r)return r;const s=t.emits;let a={},c=!1;if(!Object(i["n"])(t)){const o=t=>{const n=re(t,e,!0);n&&(c=!0,Object(i["h"])(a,n))};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}return s||c?(Object(i["m"])(s)?s.forEach(t=>a[t]=null):Object(i["h"])(a,s),o.set(t,a),a):(o.set(t,null),null)}function se(t,e){return!(!t||!Object(i["u"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(i["j"])(t,e[0].toLowerCase()+e.slice(1))||Object(i["j"])(t,Object(i["k"])(e))||Object(i["j"])(t,e))}let ae=null,ce=null;function ue(t){const e=ae;return ae=t,ce=t&&t.type.__scopeId||null,e}function le(t){ce=t}function he(){ce=null}const de=t=>fe;function fe(t,e=ae,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&fi(-1);const o=ue(e),r=t(...n);return ue(o),i._d&&fi(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function pe(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[a],slots:c,attrs:u,emit:l,render:h,renderCache:d,data:f,setupState:p,ctx:_,inheritAttrs:m}=t;let v;const g=ue(t);try{let t;if(4&n.shapeFlag){const e=r||o;v=Oi(h.call(e,e,d,s,p,f,_)),t=u}else{const n=e;0,v=Oi(n.length>1?n(s,{attrs:u,slots:c,emit:l}):n(s,null)),t=e.props?u:_e(u)}let g=v;if(t&&!1!==m){const e=Object.keys(t),{shapeFlag:n}=g;e.length&&(1&n||6&n)&&(a&&e.some(i["s"])&&(t=me(t,a)),g=wi(g,t))}0,n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),v=g}catch(y){ci.length=0,Et(y,t,1),v=bi(si)}return ue(g),v}const _e=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(i["u"])(n))&&((e||(e={}))[n]=t[n]);return e},me=(t,e)=>{const n={};for(const o in t)Object(i["s"])(o)&&o.slice(9)in e||(n[o]=t[o]);return n};function ve(t,e,n){const{props:i,children:o,component:r}=t,{props:s,children:a,patchFlag:c}=e,u=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||i!==s&&(i?!s||ge(i,s,u):!!s);if(1024&c)return!0;if(16&c)return i?ge(i,s,u):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function xe(t,e){e&&e.pendingBranch?Object(i["m"])(t)?e.effects.push(...t):e.effects.push(t):Qt(t)}function we(t,e){if(Zi){let n=Zi.provides;const i=Zi.parent&&Zi.parent.provides;i===n&&(n=Zi.provides=Object.create(i)),n[t]=e}else 0}function Pe(t,e,n=!1){const o=Zi||ae;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&Object(i["n"])(e)?e.call(o.proxy):e}else 0}const Le={};function Oe(t,e,n){return Te(t,e,n)}function Te(t,e,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:a}=i["b"],c=Zi){let u,d,f=!1,p=!1;if(Pt(t)?(u=()=>t.value,f=!!t._shallow):gt(t)?(u=()=>t,o=!0):Object(i["m"])(t)?(p=!0,f=t.some(gt),u=()=>t.map(t=>Pt(t)?t.value:gt(t)?Ce(t):Object(i["n"])(t)?Ct(t,c,2):void 0)):u=Object(i["n"])(t)?e?()=>Ct(t,c,2):()=>{if(!c||!c.isUnmounted)return d&&d(),Mt(t,c,3,[_])}:i["d"],e&&o){const t=u;u=()=>Ce(t())}let _=t=>{d=y.options.onStop=()=>{Ct(t,c,4)}},m=p?[]:Le;const v=()=>{if(y.active)if(e){const t=y();(o||f||(p?t.some((t,e)=>Object(i["i"])(t,m[e])):Object(i["i"])(t,m)))&&(d&&d(),Mt(e,c,3,[t,m===Le?void 0:m,_]),m=t)}else y()};let g;v.allowRecurse=!!e,g="sync"===r?v:"post"===r?()=>Vn(v,c&&c.suspense):()=>{!c||c.isMounted?Xt(v):v()};const y=l(u,{lazy:!0,onTrack:s,onTrigger:a,scheduler:g});return $i(y,c),e?n?v():m=y():"post"===r?Vn(y,c&&c.suspense):y(),()=>{h(y),c&&Object(i["I"])(c.effects,y)}}function je(t,e,n){const o=this.proxy,r=Object(i["B"])(t)?t.includes(".")?Se(o,t):()=>o[t]:t.bind(o,o);let s;return Object(i["n"])(e)?s=e:(s=e.handler,n=e),Te(r,s.bind(o),n,this)}function Se(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{Ce(t,e)});else if(Object(i["v"])(t))for(const n in t)Ce(t[n],e);return t}function Me(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xe(()=>{t.isMounted=!0}),en(()=>{t.isUnmounting=!0}),t}const Ee=[Function,Array],ke={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},setup(t,{slots:e}){const n=Ri(),i=Me();let o;return()=>{const r=e.default&&Ne(e.default(),!0);if(!r||!r.length)return;const s=xt(t),{mode:a}=s;const c=r[0];if(i.isLeaving)return Be(c);const u=Ze(c);if(!u)return Be(c);const l=Ie(u,s,i,n);Re(u,l);const h=n.subTree,d=h&&Ze(h);let f=!1;const{getTransitionKey:p}=u.type;if(p){const t=p();void 0===o?o=t:t!==o&&(o=t,f=!0)}if(d&&d.type!==si&&(!mi(u,d)||f)){const t=Ie(d,s,i,n);if(Re(d,t),"out-in"===a)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,n.update()},Be(c);"in-out"===a&&u.type!==si&&(t.delayLeave=(t,e,n)=>{const o=Ae(i,d);o[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return c}}},ze=ke;function Ae(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Ie(t,e,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:h,onLeave:d,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:_,onAppear:m,onAfterAppear:v,onAppearCancelled:g}=e,y=String(t.key),b=Ae(n,t),x=(t,e)=>{t&&Mt(t,i,9,e)},w={mode:r,persisted:s,beforeEnter(e){let i=a;if(!n.isMounted){if(!o)return;i=_||a}e._leaveCb&&e._leaveCb(!0);const r=b[y];r&&mi(t,r)&&r.el._leaveCb&&r.el._leaveCb(),x(i,[e])},enter(t){let e=c,i=u,r=l;if(!n.isMounted){if(!o)return;e=m||c,i=v||u,r=g||l}let s=!1;const a=t._enterCb=e=>{s||(s=!0,x(e?r:i,[t]),w.delayedLeave&&w.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,i){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return i();x(h,[e]);let r=!1;const s=e._leaveCb=n=>{r||(r=!0,i(),x(n?p:f,[e]),e._leaveCb=void 0,b[o]===t&&delete b[o])};b[o]=t,d?(d(e,s),d.length<=1&&s()):s()},clone(t){return Ie(t,e,n,i)}};return w}function Be(t){if(Fe(t))return t=wi(t),t.children=null,t}function Ze(t){return Fe(t)?t.children?t.children[0]:void 0:t}function Re(t,e){6&t.shapeFlag&&t.component?Re(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ne(t,e=!1){let n=[],i=0;for(let o=0;o1)for(let o=0;o!!t.type.__asyncLoader;const Fe=t=>t.type.__isKeepAlive;RegExp,RegExp;function We(t,e){return Object(i["m"])(t)?t.some(t=>We(t,e)):Object(i["B"])(t)?t.split(",").indexOf(e)>-1:!!t.test&&t.test(e)}function Ue(t,e){Ve(t,"a",e)}function He(t,e){Ve(t,"da",e)}function Ve(t,e,n=Zi){const i=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}t()});if($e(e,i,n),n){let t=n.parent;while(t&&t.parent)Fe(t.parent.vnode)&&Ge(i,e,n,t),t=t.parent}}function Ge(t,e,n,o){const r=$e(e,t,o,!0);nn(()=>{Object(i["I"])(o[e],r)},n)}function qe(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function Ke(t){return 128&t.shapeFlag?t.ssContent:t}function $e(t,e,n=Zi,i=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;v(),Ni(n);const o=Mt(e,n,t,i);return Ni(null),y(),o});return i?o.unshift(r):o.push(r),r}}const Ye=t=>(e,n=Zi)=>(!Wi||"sp"===t)&&$e(t,e,n),Je=Ye("bm"),Xe=Ye("m"),Qe=Ye("bu"),tn=Ye("u"),en=Ye("bum"),nn=Ye("um"),on=Ye("sp"),rn=Ye("rtg"),sn=Ye("rtc");function an(t,e=Zi){$e("ec",t,e)}let cn=!0;function un(t){const e=fn(t),n=t.proxy,o=t.ctx;cn=!1,e.beforeCreate&&hn(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:a,watch:c,provide:u,inject:l,created:h,beforeMount:d,mounted:f,beforeUpdate:p,updated:_,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:y,destroyed:b,unmounted:x,render:w,renderTracked:P,renderTriggered:L,errorCaptured:O,serverPrefetch:T,expose:j,inheritAttrs:S,components:C,directives:M,filters:E}=e,k=null;if(l&&ln(l,o,k),a)for(const A in a){const t=a[A];Object(i["n"])(t)&&(o[A]=t.bind(n))}if(r){0;const e=r.call(n,n);0,Object(i["t"])(e)&&(t.data=pt(e))}if(cn=!0,s)for(const A in s){const t=s[A],e=Object(i["n"])(t)?t.bind(n,n):Object(i["n"])(t.get)?t.get.bind(n,n):i["d"];0;const r=!Object(i["n"])(t)&&Object(i["n"])(t.set)?t.set.bind(n):i["d"],a=Xi({get:e,set:r});Object.defineProperty(o,A,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}if(c)for(const i in c)dn(c[i],o,n,i);if(u){const t=Object(i["n"])(u)?u.call(n):u;Reflect.ownKeys(t).forEach(e=>{we(e,t[e])})}function z(t,e){Object(i["m"])(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&hn(h,t,"c"),z(Je,d),z(Xe,f),z(Qe,p),z(tn,_),z(Ue,m),z(He,v),z(an,O),z(sn,P),z(rn,L),z(en,y),z(nn,x),z(on,T),Object(i["m"])(j))if(j.length){const e=t.exposed||(t.exposed={});j.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});w&&t.render===i["d"]&&(t.render=w),null!=S&&(t.inheritAttrs=S),C&&(t.components=C),M&&(t.directives=M)}function ln(t,e,n=i["d"]){Object(i["m"])(t)&&(t=gn(t));for(const o in t){const n=t[o];Object(i["t"])(n)?e[o]="default"in n?Pe(n.from||o,n.default,!0):Pe(n.from||o):e[o]=Pe(n)}}function hn(t,e,n){Mt(Object(i["m"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function dn(t,e,n,o){const r=o.includes(".")?Se(n,o):()=>n[o];if(Object(i["B"])(t)){const n=e[t];Object(i["n"])(n)&&Oe(r,n)}else if(Object(i["n"])(t))Oe(r,t.bind(n));else if(Object(i["t"])(t))if(Object(i["m"])(t))t.forEach(t=>dn(t,e,n,o));else{const o=Object(i["n"])(t.handler)?t.handler.bind(n):e[t.handler];Object(i["n"])(o)&&Oe(r,o,t)}else 0}function fn(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=t.appContext,a=r.get(e);let c;return a?c=a:o.length||n||i?(c={},o.length&&o.forEach(t=>pn(c,t,s,!0)),pn(c,e,s)):c=e,r.set(e,c),c}function pn(t,e,n,i=!1){const{mixins:o,extends:r}=e;r&&pn(t,r,n,!0),o&&o.forEach(e=>pn(t,e,n,!0));for(const s in e)if(i&&"expose"===s);else{const i=_n[s]||n&&n[s];t[s]=i?i(t[s],e[s]):e[s]}return t}const _n={data:mn,props:bn,emits:bn,methods:bn,computed:bn,beforeCreate:yn,created:yn,beforeMount:yn,mounted:yn,beforeUpdate:yn,updated:yn,beforeDestroy:yn,destroyed:yn,activated:yn,deactivated:yn,errorCaptured:yn,serverPrefetch:yn,components:bn,directives:bn,watch:xn,provide:mn,inject:vn};function mn(t,e){return e?t?function(){return Object(i["h"])(Object(i["n"])(t)?t.call(this,this):t,Object(i["n"])(e)?e.call(this,this):e)}:e:t}function vn(t,e){return bn(gn(t),gn(e))}function gn(t){if(Object(i["m"])(t)){const e={};for(let n=0;n0)||16&a){let o;Ln(t,e,r,s)&&(l=!0);for(const s in c)e&&(Object(i["j"])(e,s)||(o=Object(i["k"])(s))!==s&&Object(i["j"])(e,o))||(u?!n||void 0===n[s]&&void 0===n[o]||(r[s]=On(u,c,s,void 0,t,!0)):delete r[s]);if(s!==c)for(const t in s)e&&Object(i["j"])(e,t)||(delete s[t],l=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let o=0;o{u=!0;const[n,o]=Tn(t,e,!0);Object(i["h"])(a,n),o&&c.push(...o)};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}if(!s&&!u)return o.set(t,i["a"]),i["a"];if(Object(i["m"])(s))for(let h=0;h-1,o[1]=n<0||t-1||Object(i["j"])(o,"default"))&&c.push(e)}}}}const l=[a,c];return o.set(t,l),l}function jn(t){return"$"!==t[0]}function Sn(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Cn(t,e){return Sn(t)===Sn(e)}function Mn(t,e){return Object(i["m"])(e)?e.findIndex(e=>Cn(e,t)):Object(i["n"])(e)&&Cn(e,t)?0:-1}const En=t=>"_"===t[0]||"$stable"===t,kn=t=>Object(i["m"])(t)?t.map(Oi):[Oi(t)],zn=(t,e,n)=>{const i=fe(t=>kn(e(t)),n);return i._c=!1,i},An=(t,e,n)=>{const o=t._ctx;for(const r in t){if(En(r))continue;const n=t[r];if(Object(i["n"])(n))e[r]=zn(r,n,o);else if(null!=n){0;const t=kn(n);e[r]=()=>t}}},In=(t,e)=>{const n=kn(e);t.slots.default=()=>n},Bn=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=xt(e),Object(i["g"])(e,"_",n)):An(e,t.slots={})}else t.slots={},e&&In(t,e);Object(i["g"])(t.slots,vi,1)},Zn=(t,e,n)=>{const{vnode:o,slots:r}=t;let s=!0,a=i["b"];if(32&o.shapeFlag){const t=e._;t?n&&1===t?s=!1:(Object(i["h"])(r,e),n||1!==t||delete r._):(s=!e.$stable,An(e,r)),a=e}else e&&(In(t,e),a={default:1});if(s)for(const i in r)En(i)||i in a||delete r[i]};function Rn(t,e){const n=ae;if(null===n)return t;const o=n.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;s{if(Object(i["m"])(t))return void t.forEach((t,s)=>Gn(t,e&&(Object(i["m"])(e)?e[s]:e),n,o,r));if(De(o)&&!r)return;const s=4&o.shapeFlag?Ki(o.component)||o.component.proxy:o.el,a=r?null:s,{i:c,r:u}=t;const l=e&&e.r,h=c.refs===i["b"]?c.refs={}:c.refs,d=c.setupState;if(null!=l&&l!==u&&(Object(i["B"])(l)?(h[l]=null,Object(i["j"])(d,l)&&(d[l]=null)):Pt(l)&&(l.value=null)),Object(i["B"])(u)){const t=()=>{h[u]=a,Object(i["j"])(d,u)&&(d[u]=a)};a?(t.id=-1,Vn(t,n)):t()}else if(Pt(u)){const t=()=>{u.value=a};a?(t.id=-1,Vn(t,n)):t()}else Object(i["n"])(u)&&Ct(u,c,12,[a,h])};function qn(t){return Kn(t)}function Kn(t,e){Un();const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:a,createText:c,createComment:u,setText:d,setElementText:f,parentNode:p,nextSibling:_,setScopeId:m=i["d"],cloneNode:g,insertStaticContent:b}=t,x=(t,e,n,i=null,o=null,r=null,s=!1,a=null,c=!!e.dynamicChildren)=>{t&&!mi(t,e)&&(i=$(t),H(t,o,r,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:u,ref:l,shapeFlag:h}=e;switch(u){case ri:w(t,e,n,i);break;case si:P(t,e,n,i);break;case ai:null==t&&L(e,n,i,s);break;case oi:A(t,e,n,i,o,r,s,a,c);break;default:1&h?j(t,e,n,i,o,r,s,a,c):6&h?I(t,e,n,i,o,r,s,a,c):(64&h||128&h)&&u.process(t,e,n,i,o,r,s,a,c,J)}null!=l&&o&&Gn(l,t&&t.ref,r,e||t,!e)},w=(t,e,i,o)=>{if(null==t)n(e.el=c(e.children),i,o);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},P=(t,e,i,o)=>{null==t?n(e.el=u(e.children||""),i,o):e.el=t.el},L=(t,e,n,i)=>{[t.el,t.anchor]=b(t.children,e,n,i)},O=({el:t,anchor:e},i,o)=>{let r;while(t&&t!==e)r=_(t),n(t,i,o),t=r;n(e,i,o)},T=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=_(t),o(t),t=n;o(e)},j=(t,e,n,i,o,r,s,a,c)=>{s=s||"svg"===e.type,null==t?S(e,n,i,o,r,s,a,c):E(t,e,o,r,s,a,c)},S=(t,e,o,s,c,u,l,h)=>{let d,p;const{type:_,props:m,shapeFlag:v,transition:y,patchFlag:b,dirs:x}=t;if(t.el&&void 0!==g&&-1===b)d=t.el=g(t.el);else{if(d=t.el=a(t.type,u,m&&m.is,m),8&v?f(d,t.children):16&v&&M(t.children,d,null,s,c,u&&"foreignObject"!==_,l,h),x&&Nn(t,null,s,"created"),m){for(const e in m)Object(i["x"])(e)||r(d,e,null,m[e],u,t.children,s,c,K);(p=m.onVnodeBeforeMount)&&$n(p,s,t)}C(d,t,t.scopeId,l,s)}x&&Nn(t,null,s,"beforeMount");const w=(!c||c&&!c.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(d),n(d,e,o),((p=m&&m.onVnodeMounted)||w||x)&&Vn(()=>{p&&$n(p,s,t),w&&y.enter(d),x&&Nn(t,null,s,"mounted")},c)},C=(t,e,n,i,o)=>{if(n&&m(t,n),i)for(let r=0;r{for(let u=c;u{const l=e.el=t.el;let{patchFlag:h,dynamicChildren:d,dirs:p}=e;h|=16&t.patchFlag;const _=t.props||i["b"],m=e.props||i["b"];let v;if((v=m.onVnodeBeforeUpdate)&&$n(v,n,e,t),p&&Nn(e,t,n,"beforeUpdate"),h>0){if(16&h)z(l,e,_,m,n,o,a);else if(2&h&&_.class!==m.class&&r(l,"class",null,m.class,a),4&h&&r(l,"style",_.style,m.style,a),8&h){const i=e.dynamicProps;for(let e=0;e{v&&$n(v,n,e,t),p&&Nn(e,t,n,"updated")},o)},k=(t,e,n,i,o,r,s)=>{for(let a=0;a{if(n!==o){for(const l in o){if(Object(i["x"])(l))continue;const h=o[l],d=n[l];(h!==d||s&&s(t,l))&&r(t,l,d,h,u,e.children,a,c,K)}if(n!==i["b"])for(const s in n)Object(i["x"])(s)||s in o||r(t,s,n[s],null,u,e.children,a,c,K)}},A=(t,e,i,o,r,s,a,u,l)=>{const h=e.el=t?t.el:c(""),d=e.anchor=t?t.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:_}=e;p&&(l=!0),_&&(u=u?u.concat(_):_),null==t?(n(h,i,o),n(d,i,o),M(e.children,i,d,r,s,a,u,l)):f>0&&64&f&&p&&t.dynamicChildren?(k(t.dynamicChildren,p,i,r,s,a,u),(null!=e.key||r&&e===r.subTree)&&Yn(t,e,!0)):D(t,e,i,d,r,s,a,u,l)},I=(t,e,n,i,o,r,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?o.ctx.activate(e,n,i,s,c):B(e,n,i,o,r,s,c):Z(t,e,c)},B=(t,e,n,i,o,r,s)=>{const a=t.component=Bi(t,i,o);if(Fe(t)&&(a.ctx.renderer=J),Ui(a),a.asyncDep){if(o&&o.registerDep(a,R),!t.el){const t=a.subTree=bi(si);P(null,t,e,n)}}else R(a,t,e,n,o,r,s)},Z=(t,e,n)=>{const i=e.component=t.component;if(ve(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void N(i,e,n);i.next=e,Yt(i.update),i.update()}else e.component=t.component,e.el=t.el,i.vnode=e},R=(t,e,n,o,r,s,a)=>{t.update=l((function(){if(t.isMounted){let e,{next:n,bu:o,u:c,parent:u,vnode:l}=t,h=n;0,n?(n.el=l.el,N(t,n,a)):n=l,o&&Object(i["l"])(o),(e=n.props&&n.props.onVnodeBeforeUpdate)&&$n(e,u,n,l);const d=pe(t);0;const f=t.subTree;t.subTree=d,x(f,d,p(f.el),$(f),t,r,s),n.el=d.el,null===h&&ye(t,d.el),c&&Vn(c,r),(e=n.props&&n.props.onVnodeUpdated)&&Vn(()=>$n(e,u,n,l),r)}else{let a;const{el:c,props:u}=e,{bm:l,m:h,parent:d}=t;if(l&&Object(i["l"])(l),(a=u&&u.onVnodeBeforeMount)&&$n(a,d,e),c&&Q){const n=()=>{t.subTree=pe(t),Q(c,t.subTree,t,r,null)};De(e)?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{0;const i=t.subTree=pe(t);0,x(null,i,n,o,t,r,s),e.el=i.el}if(h&&Vn(h,r),a=u&&u.onVnodeMounted){const t=e;Vn(()=>$n(a,d,t),r)}256&e.shapeFlag&&t.a&&Vn(t.a,r),t.isMounted=!0,e=n=o=null}}),Hn)},N=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,Pn(t,e.props,i,n),Zn(t,e.children,n),v(),te(void 0,t.update),y()},D=(t,e,n,i,o,r,s,a,c=!1)=>{const u=t&&t.children,l=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void W(u,h,n,i,o,r,s,a,c);if(256&d)return void F(u,h,n,i,o,r,s,a,c)}8&p?(16&l&&K(u,o,r),h!==u&&f(n,h)):16&l?16&p?W(u,h,n,i,o,r,s,a,c):K(u,o,r,!0):(8&l&&f(n,""),16&p&&M(h,n,i,o,r,s,a,c))},F=(t,e,n,o,r,s,a,c,u)=>{t=t||i["a"],e=e||i["a"];const l=t.length,h=e.length,d=Math.min(l,h);let f;for(f=0;fh?K(t,r,s,!0,!1,d):M(e,n,o,r,s,a,c,u,d)},W=(t,e,n,o,r,s,a,c,u)=>{let l=0;const h=e.length;let d=t.length-1,f=h-1;while(l<=d&&l<=f){const i=t[l],o=e[l]=u?Ti(e[l]):Oi(e[l]);if(!mi(i,o))break;x(i,o,n,null,r,s,a,c,u),l++}while(l<=d&&l<=f){const i=t[d],o=e[f]=u?Ti(e[f]):Oi(e[f]);if(!mi(i,o))break;x(i,o,n,null,r,s,a,c,u),d--,f--}if(l>d){if(l<=f){const t=f+1,i=tf)while(l<=d)H(t[l],r,s,!0),l++;else{const p=l,_=l,m=new Map;for(l=_;l<=f;l++){const t=e[l]=u?Ti(e[l]):Oi(e[l]);null!=t.key&&m.set(t.key,l)}let v,g=0;const y=f-_+1;let b=!1,w=0;const P=new Array(y);for(l=0;l=y){H(i,r,s,!0);continue}let o;if(null!=i.key)o=m.get(i.key);else for(v=_;v<=f;v++)if(0===P[v-_]&&mi(i,e[v])){o=v;break}void 0===o?H(i,r,s,!0):(P[o-_]=l+1,o>=w?w=o:b=!0,x(i,e[o],n,null,r,s,a,c,u),g++)}const L=b?Jn(P):i["a"];for(v=L.length-1,l=y-1;l>=0;l--){const t=_+l,i=e[t],d=t+1{const{el:s,type:a,transition:c,children:u,shapeFlag:l}=t;if(6&l)return void U(t.component.subTree,e,i,o);if(128&l)return void t.suspense.move(e,i,o);if(64&l)return void a.move(t,e,i,J);if(a===oi){n(s,e,i);for(let t=0;tc.enter(s),r);else{const{leave:t,delayLeave:o,afterLeave:r}=c,a=()=>n(s,e,i),u=()=>{t(s,()=>{a(),r&&r()})};o?o(s,a,u):u()}else n(s,e,i)},H=(t,e,n,i=!1,o=!1)=>{const{type:r,props:s,ref:a,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:h,dirs:d}=t;if(null!=a&&Gn(a,null,n,t,!0),256&l)return void e.ctx.deactivate(t);const f=1&l&&d;let p;if((p=s&&s.onVnodeBeforeUnmount)&&$n(p,e,t),6&l)q(t.component,n,i);else{if(128&l)return void t.suspense.unmount(n,i);f&&Nn(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,o,J,i):u&&(r!==oi||h>0&&64&h)?K(u,e,n,!1,!0):(r===oi&&(128&h||256&h)||!o&&16&l)&&K(c,e,n),i&&V(t)}((p=s&&s.onVnodeUnmounted)||f)&&Vn(()=>{p&&$n(p,e,t),f&&Nn(t,null,e,"unmounted")},n)},V=t=>{const{type:e,el:n,anchor:i,transition:r}=t;if(e===oi)return void G(n,i);if(e===ai)return void T(t);const s=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:i}=r,o=()=>e(n,s);i?i(t.el,s,o):o()}else s()},G=(t,e)=>{let n;while(t!==e)n=_(t),o(t),t=n;o(e)},q=(t,e,n)=>{const{bum:o,effects:r,update:s,subTree:a,um:c}=t;if(o&&Object(i["l"])(o),r)for(let i=0;i{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},K=(t,e,n,i=!1,o=!1,r=0)=>{for(let s=r;s6&t.shapeFlag?$(t.component.subTree):128&t.shapeFlag?t.suspense.next():_(t.anchor||t.el),Y=(t,e,n)=>{null==t?e._vnode&&H(e._vnode,null,null,!0):x(e._vnode||null,t,e,null,null,null,n),ee(),e._vnode=t},J={p:x,um:H,m:U,r:V,mt:B,mc:M,pc:D,pbc:k,n:$,o:t};let X,Q;return e&&([X,Q]=e(J)),{render:Y,hydrate:X,createApp:Wn(Y,X)}}function $n(t,e,n,i=null){Mt(t,e,7,[n,i])}function Yn(t,e,n=!1){const o=t.children,r=e.children;if(Object(i["m"])(o)&&Object(i["m"])(r))for(let i=0;i0&&(e[i]=n[r-1]),n[r]=i)}}r=n.length,s=n[r-1];while(r-- >0)n[r]=s,s=e[s];return n}const Xn=t=>t.__isTeleport;const Qn="components";function ti(t,e){return ni(Qn,t,!0,e)||t}const ei=Symbol();function ni(t,e,n=!0,o=!1){const r=ae||Zi;if(r){const n=r.type;if(t===Qn){const t=Yi(n);if(t&&(t===e||t===Object(i["e"])(e)||t===Object(i["f"])(Object(i["e"])(e))))return n}const s=ii(r[t]||n[t],e)||ii(r.appContext[t],e);return!s&&o?n:s}}function ii(t,e){return t&&(t[e]||t[Object(i["e"])(e)]||t[Object(i["f"])(Object(i["e"])(e))])}const oi=Symbol(void 0),ri=Symbol(void 0),si=Symbol(void 0),ai=Symbol(void 0),ci=[];let ui=null;function li(t=!1){ci.push(ui=t?null:[])}function hi(){ci.pop(),ui=ci[ci.length-1]||null}let di=1;function fi(t){di+=t}function pi(t,e,n,o,r){const s=bi(t,e,n,o,r,!0);return s.dynamicChildren=di>0?ui||i["a"]:null,hi(),di>0&&ui&&ui.push(s),s}function _i(t){return!!t&&!0===t.__v_isVNode}function mi(t,e){return t.type===e.type&&t.key===e.key}const vi="__vInternal",gi=({key:t})=>null!=t?t:null,yi=({ref:t})=>null!=t?Object(i["B"])(t)||Pt(t)||Object(i["n"])(t)?{i:ae,r:t}:t:null,bi=xi;function xi(t,e=null,n=null,o=0,r=null,s=!1){if(t&&t!==ei||(t=si),_i(t)){const i=wi(t,e,!0);return n&&ji(i,n),i}if(Ji(t)&&(t=t.__vccOpts),e){(bt(e)||vi in e)&&(e=Object(i["h"])({},e));let{class:t,style:n}=e;t&&!Object(i["B"])(t)&&(e.class=Object(i["G"])(t)),Object(i["t"])(n)&&(bt(n)&&!Object(i["m"])(n)&&(n=Object(i["h"])({},n)),e.style=Object(i["H"])(n))}const a=Object(i["B"])(t)?1:be(t)?128:Xn(t)?64:Object(i["t"])(t)?4:Object(i["n"])(t)?2:0;const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&gi(e),ref:e&&yi(e),scopeId:ce,slotScopeIds:null,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return ji(c,n),128&a&&t.normalize(c),di>0&&!s&&ui&&(o>0||6&a)&&32!==o&&ui.push(c),c}function wi(t,e,n=!1){const{props:o,ref:r,patchFlag:s,children:a}=t,c=e?Si(o||{},e):o,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&gi(c),ref:e&&e.ref?n&&r?Object(i["m"])(r)?r.concat(yi(e)):[r,yi(e)]:yi(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==oi?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&wi(t.ssContent),ssFallback:t.ssFallback&&wi(t.ssFallback),el:t.el,anchor:t.anchor};return u}function Pi(t=" ",e=0){return bi(ri,null,t,e)}function Li(t="",e=!1){return e?(li(),pi(si,null,t)):bi(si,null,t)}function Oi(t){return null==t||"boolean"===typeof t?bi(si):Object(i["m"])(t)?bi(oi,null,t.slice()):"object"===typeof t?Ti(t):bi(ri,null,String(t))}function Ti(t){return null===t.el?t:wi(t)}function ji(t,e){let n=0;const{shapeFlag:o}=t;if(null==e)e=null;else if(Object(i["m"])(e))n=16;else if("object"===typeof e){if(1&o||64&o){const n=e.default;return void(n&&(n._c&&(n._d=!1),ji(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||vi in e?3===i&&ae&&(1===ae.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=ae}}else Object(i["n"])(e)?(e={default:e,_ctx:ae},n=32):(e=String(e),64&o?(n=16,e=[Pi(e)]):n=8);t.children=e,t.shapeFlag|=n}function Si(...t){const e=Object(i["h"])({},t[0]);for(let n=1;nt?Di(t)?Ki(t)||t.proxy:Mi(t.parent):null,Ei=Object(i["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mi(t.parent),$root:t=>Mi(t.root),$emit:t=>t.emit,$options:t=>fn(t),$forceUpdate:t=>()=>Kt(t.update),$nextTick:t=>Gt.bind(t.proxy),$watch:t=>je.bind(t)}),ki={get({_:t},e){const{ctx:n,setupState:o,data:r,props:s,accessCache:a,type:c,appContext:u}=t;let l;if("$"!==e[0]){const c=a[e];if(void 0!==c)switch(c){case 0:return o[e];case 1:return r[e];case 3:return n[e];case 2:return s[e]}else{if(o!==i["b"]&&Object(i["j"])(o,e))return a[e]=0,o[e];if(r!==i["b"]&&Object(i["j"])(r,e))return a[e]=1,r[e];if((l=t.propsOptions[0])&&Object(i["j"])(l,e))return a[e]=2,s[e];if(n!==i["b"]&&Object(i["j"])(n,e))return a[e]=3,n[e];cn&&(a[e]=4)}}const h=Ei[e];let d,f;return h?("$attrs"===e&&b(t,"get",e),h(t)):(d=c.__cssModules)&&(d=d[e])?d:n!==i["b"]&&Object(i["j"])(n,e)?(a[e]=3,n[e]):(f=u.config.globalProperties,Object(i["j"])(f,e)?f[e]:void 0)},set({_:t},e,n){const{data:o,setupState:r,ctx:s}=t;if(r!==i["b"]&&Object(i["j"])(r,e))r[e]=n;else if(o!==i["b"]&&Object(i["j"])(o,e))o[e]=n;else if(Object(i["j"])(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:s}},a){let c;return void 0!==n[a]||t!==i["b"]&&Object(i["j"])(t,a)||e!==i["b"]&&Object(i["j"])(e,a)||(c=s[0])&&Object(i["j"])(c,a)||Object(i["j"])(o,a)||Object(i["j"])(Ei,a)||Object(i["j"])(r.config.globalProperties,a)}};const zi=Object(i["h"])({},ki,{get(t,e){if(e!==Symbol.unscopables)return ki.get(t,e,t)},has(t,e){const n="_"!==e[0]&&!Object(i["o"])(e);return n}});const Ai=Dn();let Ii=0;function Bi(t,e,n){const o=t.type,r=(e?e.appContext:t.appContext)||Ai,s={uid:Ii++,vnode:t,type:o,parent:e,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,effects:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Tn(o,r),emitsOptions:re(o,r),emit:null,emitted:null,propsDefaults:i["b"],inheritAttrs:o.inheritAttrs,ctx:i["b"],data:i["b"],props:i["b"],attrs:i["b"],slots:i["b"],refs:i["b"],setupState:i["b"],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=e?e.root:s,s.emit=oe.bind(null,s),s}let Zi=null;const Ri=()=>Zi||ae,Ni=t=>{Zi=t};function Di(t){return 4&t.vnode.shapeFlag}let Fi,Wi=!1;function Ui(t,e=!1){Wi=e;const{props:n,children:i}=t.vnode,o=Di(t);wn(t,n,o,e),Bn(t,i);const r=o?Hi(t,e):void 0;return Wi=!1,r}function Hi(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=wt(new Proxy(t.ctx,ki));const{setup:o}=n;if(o){const n=t.setupContext=o.length>1?qi(t):null;Zi=t,v();const r=Ct(o,t,0,[t.props,n]);if(y(),Zi=null,Object(i["w"])(r)){const n=()=>{Zi=null};if(r.then(n,n),e)return r.then(n=>{Vi(t,n,e)}).catch(e=>{Et(e,t,0)});t.asyncDep=r}else Vi(t,r,e)}else Gi(t,e)}function Vi(t,e,n){Object(i["n"])(e)?t.render=e:Object(i["t"])(e)&&(t.setupState=Tt(e)),Gi(t,n)}function Gi(t,e,n){const o=t.type;if(!t.render){if(Fi&&!o.render){const e=o.template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:a}=o,c=Object(i["h"])(Object(i["h"])({isCustomElement:n,delimiters:s},r),a);o.render=Fi(e,c)}}t.render=o.render||i["d"],t.render._rc&&(t.withProxy=new Proxy(t.ctx,zi))}Zi=t,v(),un(t),y(),Zi=null}function qi(t){const e=e=>{t.exposed=e||{}};return{attrs:t.attrs,slots:t.slots,emit:t.emit,expose:e}}function Ki(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Tt(wt(t.exposed)),{get(e,n){return n in e?e[n]:n in Ei?Ei[n](t):void 0}}))}function $i(t,e=Zi){e&&(e.effects||(e.effects=[])).push(t)}function Yi(t){return Object(i["n"])(t)&&t.displayName||t.name}function Ji(t){return Object(i["n"])(t)&&"__vccOpts"in t}function Xi(t){const e=St(t);return $i(e.effect),e}function Qi(t,e,n){const o=arguments.length;return 2===o?Object(i["t"])(e)&&!Object(i["m"])(e)?_i(e)?bi(t,null,[e]):bi(t,e):bi(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&_i(n)&&(n=[n]),bi(t,e,n))}Symbol("");const to="3.1.5",eo="http://www.w3.org/2000/svg",no="undefined"!==typeof document?document:null,io=new Map,oo={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const o=e?no.createElementNS(eo,t):no.createElement(t,n?{is:n}:void 0);return"select"===t&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:t=>no.createTextNode(t),createComment:t=>no.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>no.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i){const o=n?n.previousSibling:e.lastChild;let r=io.get(t);if(!r){const e=no.createElement("template");if(e.innerHTML=i?`${t}`:t,r=e.content,i){const t=r.firstChild;while(t.firstChild)r.appendChild(t.firstChild);r.removeChild(t)}io.set(t,r)}return e.insertBefore(r.cloneNode(!0),n),[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function ro(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function so(t,e,n){const o=t.style;if(n)if(Object(i["B"])(n)){if(e!==n){const e=o.display;o.cssText=n,"_vod"in t&&(o.display=e)}}else{for(const t in n)co(o,t,n[t]);if(e&&!Object(i["B"])(e))for(const t in e)null==n[t]&&co(o,t,"")}else t.removeAttribute("style")}const ao=/\s*!important$/;function co(t,e,n){if(Object(i["m"])(n))n.forEach(n=>co(t,e,n));else if(e.startsWith("--"))t.setProperty(e,n);else{const o=ho(t,e);ao.test(n)?t.setProperty(Object(i["k"])(o),n.replace(ao,""),"important"):t[o]=n}}const uo=["Webkit","Moz","ms"],lo={};function ho(t,e){const n=lo[e];if(n)return n;let o=Object(i["e"])(e);if("filter"!==o&&o in t)return lo[e]=o;o=Object(i["f"])(o);for(let i=0;idocument.createEvent("Event").timeStamp&&(mo=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);vo=!!(t&&Number(t[1])<=53)}let go=0;const yo=Promise.resolve(),bo=()=>{go=0},xo=()=>go||(yo.then(bo),go=mo());function wo(t,e,n,i){t.addEventListener(e,n,i)}function Po(t,e,n,i){t.removeEventListener(e,n,i)}function Lo(t,e,n,i,o=null){const r=t._vei||(t._vei={}),s=r[e];if(i&&s)s.value=i;else{const[n,a]=To(e);if(i){const s=r[e]=jo(i,o);wo(t,n,s,a)}else s&&(Po(t,n,s,a),r[e]=void 0)}}const Oo=/(?:Once|Passive|Capture)$/;function To(t){let e;if(Oo.test(t)){let n;e={};while(n=t.match(Oo))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Object(i["k"])(t.slice(2)),e]}function jo(t,e){const n=t=>{const i=t.timeStamp||mo();(vo||i>=n.attached-1)&&Mt(So(t,n.value),e,5,[t])};return n.value=t,n.attached=xo(),n}function So(t,e){if(Object(i["m"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t(e))}return e}const Co=/^on[a-z]/,Mo=(t,e)=>"value"===e,Eo=(t,e,n,o,r=!1,s,a,c,u)=>{switch(e){case"class":ro(t,o,r);break;case"style":so(t,n,o);break;default:Object(i["u"])(e)?Object(i["s"])(e)||Lo(t,e,n,o,a):ko(t,e,o,r)?_o(t,e,o,s,a,c,u):("true-value"===e?t._trueValue=o:"false-value"===e&&(t._falseValue=o),po(t,e,o,r));break}};function ko(t,e,n,o){return o?"innerHTML"===e||!!(e in t&&Co.test(e)&&Object(i["n"])(n)):"spellcheck"!==e&&"draggable"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!Co.test(e)||!Object(i["B"])(n))&&e in t))))}const zo="transition",Ao="animation",Io=(t,{slots:e})=>Qi(ze,No(t),e);Io.displayName="Transition";const Bo={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},Zo=(Io.props=Object(i["h"])({},ze.props,Bo),(t,e=[])=>{Object(i["m"])(t)?t.forEach(t=>t(...e)):t&&t(...e)}),Ro=t=>!!t&&(Object(i["m"])(t)?t.some(t=>t.length>1):t.length>1);function No(t){const e={};for(const i in t)i in Bo||(e[i]=t[i]);if(!1===t.css)return e;const{name:n="v",type:o,duration:r,enterFromClass:s=n+"-enter-from",enterActiveClass:a=n+"-enter-active",enterToClass:c=n+"-enter-to",appearFromClass:u=s,appearActiveClass:l=a,appearToClass:h=c,leaveFromClass:d=n+"-leave-from",leaveActiveClass:f=n+"-leave-active",leaveToClass:p=n+"-leave-to"}=t,_=Do(r),m=_&&_[0],v=_&&_[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:w,onBeforeAppear:P=g,onAppear:L=y,onAppearCancelled:O=b}=e,T=(t,e,n)=>{Uo(t,e?h:c),Uo(t,e?l:a),n&&n()},j=(t,e)=>{Uo(t,p),Uo(t,f),e&&e()},S=t=>(e,n)=>{const i=t?L:y,r=()=>T(e,t,n);Zo(i,[e,r]),Ho(()=>{Uo(e,t?u:s),Wo(e,t?h:c),Ro(i)||Go(e,o,m,r)})};return Object(i["h"])(e,{onBeforeEnter(t){Zo(g,[t]),Wo(t,s),Wo(t,a)},onBeforeAppear(t){Zo(P,[t]),Wo(t,u),Wo(t,l)},onEnter:S(!1),onAppear:S(!0),onLeave(t,e){const n=()=>j(t,e);Wo(t,d),Yo(),Wo(t,f),Ho(()=>{Uo(t,d),Wo(t,p),Ro(x)||Go(t,o,v,n)}),Zo(x,[t,n])},onEnterCancelled(t){T(t,!1),Zo(b,[t])},onAppearCancelled(t){T(t,!0),Zo(O,[t])},onLeaveCancelled(t){j(t),Zo(w,[t])}})}function Do(t){if(null==t)return null;if(Object(i["t"])(t))return[Fo(t.enter),Fo(t.leave)];{const e=Fo(t);return[e,e]}}function Fo(t){const e=Object(i["L"])(t);return e}function Wo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function Uo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Ho(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Vo=0;function Go(t,e,n,i){const o=t._endId=++Vo,r=()=>{o===t._endId&&i()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:c}=qo(t,e);if(!s)return i();const u=s+"end";let l=0;const h=()=>{t.removeEventListener(u,d),r()},d=e=>{e.target===t&&++l>=c&&h()};setTimeout(()=>{l(n[t]||"").split(", "),o=i(zo+"Delay"),r=i(zo+"Duration"),s=Ko(o,r),a=i(Ao+"Delay"),c=i(Ao+"Duration"),u=Ko(a,c);let l=null,h=0,d=0;e===zo?s>0&&(l=zo,h=s,d=r.length):e===Ao?u>0&&(l=Ao,h=u,d=c.length):(h=Math.max(s,u),l=h>0?s>u?zo:Ao:null,d=l?l===zo?r.length:c.length:0);const f=l===zo&&/\b(transform|all)(,|$)/.test(n[zo+"Property"]);return{type:l,timeout:h,propCount:d,hasTransform:f}}function Ko(t,e){while(t.length$o(e)+$o(t[n])))}function $o(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yo(){return document.body.offsetHeight}new WeakMap,new WeakMap;const Jo=t=>{const e=t.props["onUpdate:modelValue"];return Object(i["m"])(e)?t=>Object(i["l"])(e,t):e};const Xo={deep:!0,created(t,{value:e,modifiers:{number:n}},o){const r=Object(i["z"])(e);wo(t,"change",()=>{const e=Array.prototype.filter.call(t.options,t=>t.selected).map(t=>n?Object(i["L"])(tr(t)):tr(t));t._assign(t.multiple?r?new Set(e):e:e[0])}),t._assign=Jo(o)},mounted(t,{value:e}){Qo(t,e)},beforeUpdate(t,e,n){t._assign=Jo(n)},updated(t,{value:e}){Qo(t,e)}};function Qo(t,e){const n=t.multiple;if(!n||Object(i["m"])(e)||Object(i["z"])(e)){for(let o=0,r=t.options.length;o-1:r.selected=e.has(s);else if(Object(i["D"])(tr(r),e))return void(t.selectedIndex!==o&&(t.selectedIndex=o))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function tr(t){return"_value"in t?t._value:t.value}const er=["ctrl","shift","alt","meta"],nr={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>er.some(n=>t[n+"Key"]&&!e.includes(n))},ir=(t,e)=>(n,...i)=>{for(let t=0;t{const e=sr().createApp(...t);const{mount:n}=e;return e.mount=t=>{const o=cr(t);if(!o)return;const r=e._component;Object(i["n"])(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function cr(t){if(Object(i["B"])(t)){const e=document.querySelector(t);return e}return t}},"7b0b":function(t,e,n){var i=n("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,n){var i,o=n("825a"),r=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),h=">",d="<",f="prototype",p="script",_=l("IE_PROTO"),m=function(){},v=function(t){return d+p+h+t+d+"/"+p+h},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},b=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=i?g(i):y();var t=s.length;while(t--)delete b[f][s[t]];return b()};a[_]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[f]=o(t),n=new m,m[f]=null,n[_]=t):n=b(),void 0===e?n:r(n,e)}},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),o=n("9ed3"),r=n("e163"),s=n("d2bb"),a=n("d44e"),c=n("9112"),u=n("6eeb"),l=n("b622"),h=n("c430"),d=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,m=l("iterator"),v="keys",g="values",y="entries",b=function(){return this};t.exports=function(t,e,n,l,f,x,w){o(n,e,l);var P,L,O,T=function(t){if(t===f&&E)return E;if(!_&&t in C)return C[t];switch(t){case v:return function(){return new n(this,t)};case g:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this)}},j=e+" Iterator",S=!1,C=t.prototype,M=C[m]||C["@@iterator"]||f&&C[f],E=!_&&M||T(f),k="Array"==e&&C.entries||M;if(k&&(P=r(k.call(new t)),p!==Object.prototype&&P.next&&(h||r(P)===p||(s?s(P,p):"function"!=typeof P[m]&&c(P,m,b)),a(P,j,!0,!0),h&&(d[j]=b))),f==g&&M&&M.name!==g&&(S=!0,E=function(){return M.call(this)}),h&&!w||C[m]===E||c(C,m,E),d[e]=E,f)if(L={values:T(g),keys:x?E:T(v),entries:T(y)},w)for(O in L)(_||S||!(O in C))&&u(C,O,L[O]);else i({target:e,proto:!0,forced:_||S},L);return L}},"7f9a":function(t,e,n){var i=n("da84"),o=n("8925"),r=i.WeakMap;t.exports="function"===typeof r&&/native code/.test(o(r))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,n){var i=n("c6cd"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return o.call(t)}),t.exports=i.inspectSource},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},9112:function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("5c6c");t.exports=i?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var i=n("ad6d"),o=n("9f7f"),r=n("5692"),s=n("7c73"),a=n("69f3").get,c=n("fce3"),u=n("107c"),l=RegExp.prototype.exec,h=r("native-string-replace",String.prototype.replace),d=l,f=function(){var t=/a/,e=/b*/g;return l.call(t,"a"),l.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),p=o.UNSUPPORTED_Y||o.BROKEN_CARET,_=void 0!==/()??/.exec("")[1],m=f||_||p||c||u;m&&(d=function(t){var e,n,o,r,c,u,m,v=this,g=a(v),y=g.raw;if(y)return y.lastIndex=v.lastIndex,e=d.call(y,t),v.lastIndex=y.lastIndex,e;var b=g.groups,x=p&&v.sticky,w=i.call(v),P=v.source,L=0,O=t;if(x&&(w=w.replace("y",""),-1===w.indexOf("g")&&(w+="g"),O=String(t).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==t[v.lastIndex-1])&&(P="(?: "+P+")",O=" "+O,L++),n=new RegExp("^(?:"+P+")",w)),_&&(n=new RegExp("^"+P+"$(?!\\s)",w)),f&&(o=v.lastIndex),r=l.call(x?n:v,O),x?r?(r.input=r.input.slice(L),r[0]=r[0].slice(L),r.index=v.lastIndex,v.lastIndex+=r[0].length):v.lastIndex=0:f&&r&&(v.lastIndex=v.global?r.index+r[0].length:o),_&&r&&r.length>1&&h.call(r[0],n,(function(){for(c=1;c!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return P})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return L})),n.d(e,"e",(function(){return Y})),n.d(e,"f",(function(){return Q})),n.d(e,"g",(function(){return it})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return et})),n.d(e,"j",(function(){return k})),n.d(e,"k",(function(){return X})),n.d(e,"l",(function(){return nt})),n.d(e,"m",(function(){return z})),n.d(e,"n",(function(){return Z})),n.d(e,"o",(function(){return r})),n.d(e,"p",(function(){return _})),n.d(e,"q",(function(){return G})),n.d(e,"r",(function(){return A})),n.d(e,"s",(function(){return S})),n.d(e,"t",(function(){return D})),n.d(e,"u",(function(){return j})),n.d(e,"v",(function(){return V})),n.d(e,"w",(function(){return F})),n.d(e,"x",(function(){return q})),n.d(e,"y",(function(){return m})),n.d(e,"z",(function(){return I})),n.d(e,"A",(function(){return a})),n.d(e,"B",(function(){return R})),n.d(e,"C",(function(){return N})),n.d(e,"D",(function(){return g})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return i})),n.d(e,"G",(function(){return d})),n.d(e,"H",(function(){return c})),n.d(e,"I",(function(){return M})),n.d(e,"J",(function(){return b})),n.d(e,"K",(function(){return tt})),n.d(e,"L",(function(){return ot})),n.d(e,"M",(function(){return H}));const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",r=i(o);const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=i(s);function c(t){if(z(t)){const e={};for(let n=0;n{if(t){const n=t.split(l);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function d(t){let e="";if(R(t))e=t;else if(z(t))for(let n=0;ng(t,e))}const b=t=>null==t?"":D(t)?JSON.stringify(t,x,2):String(t),x=(t,e)=>A(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:I(e)?{[`Set(${e.size})`]:[...e.values()]}:!D(e)||z(e)||V(e)?e:String(e),w={},P=[],L=()=>{},O=()=>!1,T=/^on[^a-z]/,j=t=>T.test(t),S=t=>t.startsWith("onUpdate:"),C=Object.assign,M=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},E=Object.prototype.hasOwnProperty,k=(t,e)=>E.call(t,e),z=Array.isArray,A=t=>"[object Map]"===U(t),I=t=>"[object Set]"===U(t),B=t=>t instanceof Date,Z=t=>"function"===typeof t,R=t=>"string"===typeof t,N=t=>"symbol"===typeof t,D=t=>null!==t&&"object"===typeof t,F=t=>D(t)&&Z(t.then)&&Z(t.catch),W=Object.prototype.toString,U=t=>W.call(t),H=t=>U(t).slice(8,-1),V=t=>"[object Object]"===U(t),G=t=>R(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,q=i(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=t=>{const e=Object.create(null);return n=>{const i=e[n];return i||(e[n]=t(n))}},$=/-(\w)/g,Y=K(t=>t.replace($,(t,e)=>e?e.toUpperCase():"")),J=/\B([A-Z])/g,X=K(t=>t.replace(J,"-$1").toLowerCase()),Q=K(t=>t.charAt(0).toUpperCase()+t.slice(1)),tt=K(t=>t?"on"+Q(t):""),et=(t,e)=>t!==e&&(t===t||e===e),nt=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ot=t=>{const e=parseFloat(t);return isNaN(e)?t:e}}).call(this,n("c8ba"))},a4b4:function(t,e,n){var i=n("342f");t.exports=/web0s(?!.*chrome)/i.test(i)},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},a79d:function(t,e,n){"use strict";var i=n("23e7"),o=n("c430"),r=n("fea9"),s=n("d039"),a=n("d066"),c=n("4840"),u=n("cdf9"),l=n("6eeb"),h=!!r&&s((function(){r.prototype["finally"].call({then:function(){}},(function(){}))}));if(i({target:"Promise",proto:!0,real:!0,forced:h},{finally:function(t){var e=c(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),!o&&"function"==typeof r){var d=a("Promise").prototype["finally"];r.prototype["finally"]!==d&&l(r.prototype,"finally",d,{unsafe:!0})}},a9e3:function(t,e,n){"use strict";var i=n("83ab"),o=n("da84"),r=n("94ca"),s=n("6eeb"),a=n("5135"),c=n("c6b6"),u=n("7156"),l=n("c04e"),h=n("d039"),d=n("7c73"),f=n("241c").f,p=n("06cf").f,_=n("9bf2").f,m=n("58a8").trim,v="Number",g=o[v],y=g.prototype,b=c(d(y))==v,x=function(t){var e,n,i,o,r,s,a,c,u=l(t,!1);if("string"==typeof u&&u.length>2)if(u=m(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+u}for(r=u.slice(2),s=r.length,a=0;ao)return NaN;return parseInt(r,i)}return+u};if(r(v,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,P=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof P&&(b?h((function(){y.valueOf.call(n)})):c(n)!=v)?u(new g(x(e)),n,P):x(e)},L=i?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),O=0;L.length>O;O++)a(g,w=L[O])&&!a(P,w)&&_(P,w,p(g,w));P.prototype=y,y.constructor=P,s(o,v,P)}},ac1f:function(t,e,n){"use strict";var i=n("23e7"),o=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var i,o,r,s=n("d039"),a=n("e163"),c=n("9112"),u=n("5135"),l=n("b622"),h=n("c430"),d=l("iterator"),f=!1,p=function(){return this};[].keys&&(r=[].keys(),"next"in r?(o=a(a(r)),o!==Object.prototype&&(i=o)):f=!0);var _=void 0==i||s((function(){var t={};return i[d].call(t)!==t}));_&&(i={}),h&&!_||u(i,d)||c(i,d,p),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},b041:function(t,e,n){"use strict";var i=n("00ee"),o=n("f5df");t.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,n){var i=n("83ab"),o=n("9bf2").f,r=Function.prototype,s=r.toString,a=/^\s*function ([^ (]*)/,c="name";i&&!(c in r)&&o(r,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var i,o,r,s,a,c,u,l,h=n("da84"),d=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),_=n("a4b4"),m=n("605d"),v=h.MutationObserver||h.WebKitMutationObserver,g=h.document,y=h.process,b=h.Promise,x=d(h,"queueMicrotask"),w=x&&x.value;w||(i=function(){var t,e;m&&(t=y.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?s():r=void 0,n}}r=void 0,t&&t.enter()},p||m||_||!v||!g?b&&b.resolve?(u=b.resolve(void 0),u.constructor=b,l=u.then,s=function(){l.call(u,i)}):s=m?function(){y.nextTick(i)}:function(){f.call(h,i)}:(a=!0,c=g.createTextNode(""),new v(i).observe(c,{characterData:!0}),s=function(){c.data=a=!a})),t.exports=w||function(t){var e={fn:t,next:void 0};r&&(r.next=e),o||(o=e,s()),r=e}},b622:function(t,e,n){var i=n("da84"),o=n("5692"),r=n("5135"),s=n("90e3"),a=n("4930"),c=n("fdbf"),u=o("wks"),l=i.Symbol,h=c?l:l&&l.withoutSetter||s;t.exports=function(t){return r(u,t)&&(a||"string"==typeof u[t])||(a&&r(l,t)?u[t]=l[t]:u[t]=h("Symbol."+t)),u[t]}},b727:function(t,e,n){var i=n("0366"),o=n("44ad"),r=n("7b0b"),s=n("50c4"),a=n("65f0"),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,h=6==t,d=7==t,f=5==t||h;return function(p,_,m,v){for(var g,y,b=r(p),x=o(b),w=i(_,m,3),P=s(x.length),L=0,O=v||a,T=e?O(p,P):n||d?O(p,0):void 0;P>L;L++)if((f||L in x)&&(g=x[L],y=w(g,L,b),t))if(e)T[L]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return L;case 2:c.call(T,g)}else switch(t){case 4:return!1;case 7:c.call(T,g)}return h?-1:u||l?l:T}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var i=n("861d");t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var i=n("da84"),o=n("ce4e"),r="__core-js_shared__",s=i[r]||o(r,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("5135"),o=n("fc6a"),r=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)!i(s,n)&&i(a,n)&&u.push(n);while(e.length>c)i(a,n=e[c++])&&(~r(u,n)||u.push(n));return u}},cc12:function(t,e,n){var i=n("da84"),o=n("861d"),r=i.document,s=o(r)&&o(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},cca6:function(t,e,n){var i=n("23e7"),o=n("60da");i({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(t,e,n){var i=n("825a"),o=n("861d"),r=n("f069");t.exports=function(t,e){if(i(t),o(e)&&e.constructor===t)return e;var n=r.f(t),s=n.resolve;return s(e),n.promise}},ce4e:function(t,e,n){var i=n("da84"),o=n("9112");t.exports=function(t,e){try{o(i,t,e)}catch(n){i[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("428f"),o=n("da84"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t])||r(o[t]):i[t]&&i[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:i},d2bb:function(t,e,n){var i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(r){}return function(n,r){return i(n),o(r),e?t.call(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var i=n("00ee"),o=n("6eeb"),r=n("b041");i||o(Object.prototype,"toString",r,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,o=n("5135"),r=n("b622"),s=r("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var i=n("6eeb"),o=n("9263"),r=n("d039"),s=n("b622"),a=n("9112"),c=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,l){var h=s(t),d=!r((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=d&&!r((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!d||!f||n){var p=/./[h],_=e(h,""[t],(function(t,e,n,i,r){var s=e.exec;return s===o||s===u.exec?d&&!r?{done:!0,value:p.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}));i(String.prototype,t,_[0]),i(u,h,_[1])}l&&a(u[h],"sham",!0)}},d81d:function(t,e,n){"use strict";var i=n("23e7"),o=n("b727").map,r=n("1dde"),s=r("map");i({target:"Array",proto:!0,forced:!s},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(t,e,n){var i=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return i(t,o)}},e11e:function(t,e,n){ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,n){var i=n("b622"),o=i("toStringTag"),r={};r[o]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},"06cf":function(t,e,n){var i=n("83ab"),o=n("d1e7"),r=n("5c6c"),s=n("fc6a"),a=n("c04e"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=i?l:function(t,e){if(t=s(t),e=a(e,!0),u)try{return l(t,e)}catch(n){}if(c(t,e))return r(!o.f.call(t,e),t[e])}},"0cb2":function(t,e,n){var i=n("7b0b"),o=Math.floor,r="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,c,u,l){var h=n+t.length,d=c.length,f=a;return void 0!==u&&(u=i(u),f=s),r.call(l,f,(function(i,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":s=u[r.slice(1,-1)];break;default:var a=+r;if(0===a)return i;if(a>d){var l=o(a/10);return 0===l?i:l<=d?void 0===c[l-1]?r.charAt(1):c[l-1]+r.charAt(1):i}s=c[a-1]}return void 0===s?"":s}))}},"0cfb":function(t,e,n){var i=n("83ab"),o=n("d039"),r=n("cc12");t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"107c":function(t,e,n){var i=n("d039");t.exports=i((function(){var t=RegExp("(?b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1276:function(t,e,n){"use strict";var i=n("d784"),o=n("44e7"),r=n("825a"),s=n("1d80"),a=n("4840"),c=n("8aa5"),u=n("50c4"),l=n("14c3"),h=n("9263"),d=n("9f7f"),f=n("d039"),p=d.UNSUPPORTED_Y,_=[].push,m=Math.min,v=4294967295,g=!f((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),r=void 0===n?v:n>>>0;if(0===r)return[];if(void 0===t)return[i];if(!o(t))return e.call(i,t,r);var a,c,u,l=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=new RegExp(t.source,d+"g");while(a=h.call(p,i)){if(c=p.lastIndex,c>f&&(l.push(i.slice(f,a.index)),a.length>1&&a.index=r))break;p.lastIndex===a.index&&p.lastIndex++}return f===i.length?!u&&p.test("")||l.push(""):l.push(i.slice(f)),l.length>r?l.slice(0,r):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=s(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,o,n):i.call(String(o),e,n)},function(t,o){var s=n(i,this,t,o,i!==e);if(s.done)return s.value;var h=r(this),d=String(t),f=a(h,RegExp),_=h.unicode,g=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(p?"g":"y"),y=new f(p?"^(?:"+h.source+")":h,g),b=void 0===o?v:o>>>0;if(0===b)return[];if(0===d.length)return null===l(y,d)?[d]:[];var x=0,w=0,P=[];while(w=51||!i((function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var i=n("825a"),o=n("e95a"),r=n("50c4"),s=n("0366"),a=n("35a1"),c=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,h,d,f,p,_,m,v=n&&n.that,g=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),x=s(e,v,1+g+b),w=function(t){return l&&c(l),new u(!0,t)},P=function(t){return g?(i(t),b?x(t[0],t[1],w):x(t[0],t[1])):b?x(t,w):x(t)};if(y)l=t;else{if(h=a(t),"function"!=typeof h)throw TypeError("Target is not iterable");if(o(h)){for(d=0,f=r(t.length);f>d;d++)if(p=P(t[d]),p&&p instanceof u)return p;return new u(!1)}l=h.call(t)}_=l.next;while(!(m=_.call(l)).done){try{p=P(m.value)}catch(L){throw c(l),L}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(t,e,n){var i=n("a691"),o=Math.max,r=Math.min;t.exports=function(t,e){var n=i(t);return n<0?o(n+e,0):r(n,e)}},"23e7":function(t,e,n){var i=n("da84"),o=n("06cf").f,r=n("9112"),s=n("6eeb"),a=n("ce4e"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,h,d,f,p,_=t.target,m=t.global,v=t.stat;if(l=m?i:v?i[_]||a(_,{}):(i[_]||{}).prototype,l)for(h in e){if(f=e[h],t.noTargetGet?(p=o(l,h),d=p&&p.value):d=l[h],n=u(m?h:_+(v?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof f===typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&r(f,"sham",!0),s(l,h,f,t)}}},"241c":function(t,e,n){var i=n("ca84"),o=n("7839"),r=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},2626:function(t,e,n){"use strict";var i=n("d066"),o=n("9bf2"),r=n("b622"),s=n("83ab"),a=r("species");t.exports=function(t){var e=i(t),n=o.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var i=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return i(e.call(t)).value}},"2cf4":function(t,e,n){var i,o,r,s=n("da84"),a=n("d039"),c=n("0366"),u=n("1be4"),l=n("cc12"),h=n("1cdc"),d=n("605d"),f=s.location,p=s.setImmediate,_=s.clearImmediate,m=s.process,v=s.MessageChannel,g=s.Dispatch,y=0,b={},x="onreadystatechange",w=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},P=function(t){return function(){w(t)}},L=function(t){w(t.data)},O=function(t){s.postMessage(t+"",f.protocol+"//"+f.host)};p&&_||(p=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(y),y},_=function(t){delete b[t]},d?i=function(t){m.nextTick(P(t))}:g&&g.now?i=function(t){g.now(P(t))}:v&&!h?(o=new v,r=o.port2,o.port1.onmessage=L,i=c(r.postMessage,r,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&f&&"file:"!==f.protocol&&!a(O)?(i=O,s.addEventListener("message",L,!1)):i=x in l("script")?function(t){u.appendChild(l("script"))[x]=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(P(t),0)}),t.exports={set:p,clear:_}},"2d00":function(t,e,n){var i,o,r=n("da84"),s=n("342f"),a=r.process,c=a&&a.versions,u=c&&c.v8;u?(i=u.split("."),o=i[0]<4?1:i[0]+i[1]):s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(o=i[1]))),t.exports=o&&+o},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),o=n("3f8c"),r=n("b622"),s=r("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||o[i(t)]}},"37e8":function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("825a"),s=n("df75");t.exports=i?Object.defineProperties:function(t,e){r(t);var n,i=s(e),a=i.length,c=0;while(a>c)o.f(t,n=i[c++],e[n]);return t}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var i=n("da84");t.exports=i},"44ad":function(t,e,n){var i=n("d039"),o=n("c6b6"),r="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?r.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var i=n("b622"),o=n("7c73"),r=n("9bf2"),s=i("unscopables"),a=Array.prototype;void 0==a[s]&&r.f(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var i=n("861d"),o=n("c6b6"),r=n("b622"),s=r("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==o(t))}},4840:function(t,e,n){var i=n("825a"),o=n("1c0b"),r=n("b622"),s=r("species");t.exports=function(t,e){var n,r=i(t).constructor;return void 0===r||void 0==(n=i(r)[s])?e:o(n)}},4930:function(t,e,n){var i=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"4d64":function(t,e,n){var i=n("fc6a"),o=n("50c4"),r=n("23cb"),s=function(t){return function(e,n,s){var a,c=i(e),u=o(c.length),l=r(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"50c4":function(t,e,n){var i=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},5135:function(t,e,n){var i=n("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(i(t),e)}},5319:function(t,e,n){"use strict";var i=n("d784"),o=n("d039"),r=n("825a"),s=n("50c4"),a=n("a691"),c=n("1d80"),u=n("8aa5"),l=n("0cb2"),h=n("14c3"),d=n("b622"),f=d("replace"),p=Math.max,_=Math.min,m=function(t){return void 0===t?t:String(t)},v=function(){return"$0"==="a".replace(/./,"$0")}(),g=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),y=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}));i("replace",(function(t,e,n){var i=g?"$":"$0";return[function(t,n){var i=c(this),o=void 0==t?void 0:t[f];return void 0!==o?o.call(t,i,n):e.call(String(i),t,n)},function(t,o){if("string"===typeof o&&-1===o.indexOf(i)&&-1===o.indexOf("$<")){var c=n(e,this,t,o);if(c.done)return c.value}var d=r(this),f=String(t),v="function"===typeof o;v||(o=String(o));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var x=h(d,f);if(null===x)break;if(b.push(x),!g)break;var w=String(x[0]);""===w&&(d.lastIndex=u(f,s(d.lastIndex),y))}for(var P="",L=0,O=0;O=L&&(P+=f.slice(L,j)+k,L=j+T.length)}return P+f.slice(L)}]}),!y||!v||g)},5692:function(t,e,n){var i=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),o=n("241c"),r=n("7418"),s=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=r.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var i=n("1d80"),o=n("5899"),r="["+o+"]",s=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),c=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"605d":function(t,e,n){var i=n("c6b6"),o=n("da84");t.exports="process"==i(o.process)},6069:function(t,e){t.exports="object"==typeof window},"60da":function(t,e,n){"use strict";var i=n("83ab"),o=n("d039"),r=n("df75"),s=n("7418"),a=n("d1e7"),c=n("7b0b"),u=n("44ad"),l=Object.assign,h=Object.defineProperty;t.exports=!l||o((function(){if(i&&1!==l({b:1},l(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||r(l({},e)).join("")!=o}))?function(t,e){var n=c(t),o=arguments.length,l=1,h=s.f,d=a.f;while(o>l){var f,p=u(arguments[l++]),_=h?r(p).concat(h(p)):r(p),m=_.length,v=0;while(m>v)f=_[v++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:l},6547:function(t,e,n){var i=n("a691"),o=n("1d80"),r=function(t){return function(e,n){var r,s,a=String(o(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(r=a.charCodeAt(c),r<55296||r>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):r:t?a.slice(c,c+2):s-56320+(r-55296<<10)+65536)}};t.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(t,e,n){var i=n("861d"),o=n("e8b5"),r=n("b622"),s=r("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var i,o,r,s=n("7f9a"),a=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),h=n("c6cd"),d=n("f772"),f=n("d012"),p="Object already initialized",_=a.WeakMap,m=function(t){return r(t)?o(t):i(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s||h.state){var g=h.state||(h.state=new _),y=g.get,b=g.has,x=g.set;i=function(t,e){if(b.call(g,t))throw new TypeError(p);return e.facade=t,x.call(g,t,e),e},o=function(t){return y.call(g,t)||{}},r=function(t){return b.call(g,t)}}else{var w=d("state");f[w]=!0,i=function(t,e){if(l(t,w))throw new TypeError(p);return e.facade=t,u(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},r=function(t){return l(t,w)}}t.exports={set:i,get:o,has:r,enforce:m,getterFor:v}},"6cc5":function(t,e,n){},"6eeb":function(t,e,n){var i=n("da84"),o=n("9112"),r=n("5135"),s=n("ce4e"),a=n("8925"),c=n("69f3"),u=c.get,l=c.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var c,u=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||r(n,"name")||o(n,"name",e),c=l(n),c.source||(c.source=h.join("string"==typeof e?e:""))),t!==i?(u?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=n:o(t,e,n)):d?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},7156:function(t,e,n){var i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var r,s;return o&&"function"==typeof(r=e.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&o(t,s),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a23":function(t,e,n){"use strict";n.d(e,"l",(function(){return i["J"]})),n.d(e,"a",(function(){return oi})),n.d(e,"c",(function(){return pi})),n.d(e,"d",(function(){return Li})),n.d(e,"e",(function(){return Pi})),n.d(e,"f",(function(){return bi})),n.d(e,"g",(function(){return li})),n.d(e,"h",(function(){return he})),n.d(e,"i",(function(){return le})),n.d(e,"j",(function(){return Ci})),n.d(e,"k",(function(){return ti})),n.d(e,"o",(function(){return Rn})),n.d(e,"q",(function(){return de})),n.d(e,"b",(function(){return hr})),n.d(e,"m",(function(){return nr})),n.d(e,"n",(function(){return er})),n.d(e,"p",(function(){return ar}));var i=n("9ff4");const o=new WeakMap,r=[];let s;const a=Symbol(""),c=Symbol("");function u(t){return t&&!0===t._isEffect}function l(t,e=i["b"]){u(t)&&(t=t.raw);const n=f(t,e);return e.lazy||n(),n}function h(t){t.active&&(p(t),t.options.onStop&&t.options.onStop(),t.active=!1)}let d=0;function f(t,e){const n=function(){if(!n.active)return t();if(!r.includes(n)){p(n);try{return g(),r.push(n),s=n,t()}finally{r.pop(),y(),s=r[r.length-1]}}};return n.id=d++,n.allowRecurse=!!e.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=t,n.deps=[],n.options=e,n}function p(t){const{deps:e}=t;if(e.length){for(let n=0;n{t&&t.forEach(t=>{(t!==s||t.allowRecurse)&&d.add(t)})};if("clear"===e)h.forEach(f);else if("length"===n&&Object(i["m"])(t))h.forEach((t,e)=>{("length"===e||e>=r)&&f(t)});else switch(void 0!==n&&f(h.get(n)),e){case"add":Object(i["m"])(t)?Object(i["q"])(n)&&f(h.get("length")):(f(h.get(a)),Object(i["r"])(t)&&f(h.get(c)));break;case"delete":Object(i["m"])(t)||(f(h.get(a)),Object(i["r"])(t)&&f(h.get(c)));break;case"set":Object(i["r"])(t)&&f(h.get(a));break}const p=t=>{t.options.scheduler?t.options.scheduler(t):t()};d.forEach(p)}const w=Object(i["F"])("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(i["C"])),L=C(),O=C(!1,!0),T=C(!0),j=S();function S(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=xt(this);for(let e=0,o=this.length;e{t[e]=function(...t){v();const n=xt(this)[e].apply(this,t);return y(),n}}),t}function C(t=!1,e=!1){return function(n,o,r){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&r===(t?e?ht:lt:e?ut:ct).get(n))return n;const s=Object(i["m"])(n);if(!t&&s&&Object(i["j"])(j,o))return Reflect.get(j,o,r);const a=Reflect.get(n,o,r);if(Object(i["C"])(o)?P.has(o):w(o))return a;if(t||b(n,"get",o),e)return a;if(Pt(a)){const t=!s||!Object(i["q"])(o);return t?a.value:a}return Object(i["t"])(a)?t?mt(a):pt(a):a}}const M=k(),E=k(!0);function k(t=!1){return function(e,n,o,r){let s=e[n];if(!t&&(o=xt(o),s=xt(s),!Object(i["m"])(e)&&Pt(s)&&!Pt(o)))return s.value=o,!0;const a=Object(i["m"])(e)&&Object(i["q"])(n)?Number(n)Object(i["t"])(t)?pt(t):t,D=t=>Object(i["t"])(t)?mt(t):t,F=t=>t,W=t=>Reflect.getPrototypeOf(t);function U(t,e,n=!1,i=!1){t=t["__v_raw"];const o=xt(t),r=xt(e);e!==r&&!n&&b(o,"get",e),!n&&b(o,"get",r);const{has:s}=W(o),a=i?F:n?D:N;return s.call(o,e)?a(t.get(e)):s.call(o,r)?a(t.get(r)):void(t!==o&&t.get(e))}function H(t,e=!1){const n=this["__v_raw"],i=xt(n),o=xt(t);return t!==o&&!e&&b(i,"has",t),!e&&b(i,"has",o),t===o?n.has(t):n.has(t)||n.has(o)}function V(t,e=!1){return t=t["__v_raw"],!e&&b(xt(t),"iterate",a),Reflect.get(t,"size",t)}function q(t){t=xt(t);const e=xt(this),n=W(e),i=n.has.call(e,t);return i||(e.add(t),x(e,"add",t,t)),this}function G(t,e){e=xt(e);const n=xt(this),{has:o,get:r}=W(n);let s=o.call(n,t);s||(t=xt(t),s=o.call(n,t));const a=r.call(n,t);return n.set(t,e),s?Object(i["i"])(e,a)&&x(n,"set",t,e,a):x(n,"add",t,e),this}function K(t){const e=xt(this),{has:n,get:i}=W(e);let o=n.call(e,t);o||(t=xt(t),o=n.call(e,t));const r=i?i.call(e,t):void 0,s=e.delete(t);return o&&x(e,"delete",t,void 0,r),s}function $(){const t=xt(this),e=0!==t.size,n=void 0,i=t.clear();return e&&x(t,"clear",void 0,void 0,n),i}function Y(t,e){return function(n,i){const o=this,r=o["__v_raw"],s=xt(r),c=e?F:t?D:N;return!t&&b(s,"iterate",a),r.forEach((t,e)=>n.call(i,c(t),c(e),o))}}function J(t,e,n){return function(...o){const r=this["__v_raw"],s=xt(r),u=Object(i["r"])(s),l="entries"===t||t===Symbol.iterator&&u,h="keys"===t&&u,d=r[t](...o),f=n?F:e?D:N;return!e&&b(s,"iterate",h?c:a),{next(){const{value:t,done:e}=d.next();return e?{value:t,done:e}:{value:l?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function X(t){return function(...e){return"delete"!==t&&this}}function Q(){const t={get(t){return U(this,t)},get size(){return V(this)},has:H,add:q,set:G,delete:K,clear:$,forEach:Y(!1,!1)},e={get(t){return U(this,t,!1,!0)},get size(){return V(this)},has:H,add:q,set:G,delete:K,clear:$,forEach:Y(!1,!0)},n={get(t){return U(this,t,!0)},get size(){return V(this,!0)},has(t){return H.call(this,t,!0)},add:X("add"),set:X("set"),delete:X("delete"),clear:X("clear"),forEach:Y(!0,!1)},i={get(t){return U(this,t,!0,!0)},get size(){return V(this,!0)},has(t){return H.call(this,t,!0)},add:X("add"),set:X("set"),delete:X("delete"),clear:X("clear"),forEach:Y(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach(o=>{t[o]=J(o,!1,!1),n[o]=J(o,!0,!1),e[o]=J(o,!1,!0),i[o]=J(o,!0,!0)}),[t,n,e,i]}const[tt,et,nt,it]=Q();function ot(t,e){const n=e?t?it:nt:t?et:tt;return(e,o,r)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get(Object(i["j"])(n,o)&&o in e?n:e,o,r)}const rt={get:ot(!1,!1)},st={get:ot(!1,!0)},at={get:ot(!0,!1)};const ct=new WeakMap,ut=new WeakMap,lt=new WeakMap,ht=new WeakMap;function dt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ft(t){return t["__v_skip"]||!Object.isExtensible(t)?0:dt(Object(i["M"])(t))}function pt(t){return t&&t["__v_isReadonly"]?t:vt(t,!1,B,rt,ct)}function _t(t){return vt(t,!1,R,st,ut)}function mt(t){return vt(t,!0,Z,at,lt)}function vt(t,e,n,o,r){if(!Object(i["t"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=r.get(t);if(s)return s;const a=ft(t);if(0===a)return t;const c=new Proxy(t,2===a?o:n);return r.set(t,c),c}function gt(t){return yt(t)?gt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function yt(t){return!(!t||!t["__v_isReadonly"])}function bt(t){return gt(t)||yt(t)}function xt(t){return t&&xt(t["__v_raw"])||t}function wt(t){return Object(i["g"])(t,"__v_skip",!0),t}function Pt(t){return Boolean(t&&!0===t.__v_isRef)}function Lt(t){return Pt(t)?t.value:t}const Ot={get:(t,e,n)=>Lt(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const o=t[e];return Pt(o)&&!Pt(n)?(o.value=n,!0):Reflect.set(t,e,n,i)}};function Tt(t){return gt(t)?t:new Proxy(t,Ot)}class jt{constructor(t,e,n){this._setter=e,this._dirty=!0,this.__v_isRef=!0,this.effect=l(t,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,x(xt(this),"set","value"))}}),this["__v_isReadonly"]=n}get value(){const t=xt(this);return t._dirty&&(t._value=this.effect(),t._dirty=!1),b(t,"get","value"),t._value}set value(t){this._setter(t)}}function St(t){let e,n;return Object(i["n"])(t)?(e=t,n=i["d"]):(e=t.get,n=t.set),new jt(e,n,Object(i["n"])(t)||!t.set)}function Ct(t,e,n,i){let o;try{o=i?t(...i):t()}catch(r){Et(r,e,n)}return o}function Mt(t,e,n,o){if(Object(i["n"])(t)){const r=Ct(t,e,n,o);return r&&Object(i["w"])(r)&&r.catch(t=>{Et(t,e,n)}),r}const r=[];for(let i=0;i>>1,o=ne(It[t]);o-1?It.splice(e,0,t):It.push(t),$t()}}function $t(){zt||At||(At=!0,Ht=Ut.then(ie))}function Yt(t){const e=It.indexOf(t);e>Bt&&It.splice(e,1)}function Jt(t,e,n,o){Object(i["m"])(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?o+1:o)||n.push(t),$t()}function Xt(t){Jt(t,Rt,Zt,Nt)}function Qt(t){Jt(t,Ft,Dt,Wt)}function te(t,e=null){if(Zt.length){for(Vt=e,Rt=[...new Set(Zt)],Zt.length=0,Nt=0;Ntne(t)-ne(e)),Wt=0;Wtnull==t.id?1/0:t.id;function ie(t){At=!1,zt=!0,te(t),It.sort((t,e)=>ne(t)-ne(e));try{for(Bt=0;Btt.trim()):e&&(r=n.map(i["L"]))}let c;let u=o[c=Object(i["K"])(e)]||o[c=Object(i["K"])(Object(i["e"])(e))];!u&&s&&(u=o[c=Object(i["K"])(Object(i["k"])(e))]),u&&Mt(u,t,6,r);const l=o[c+"Once"];if(l){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,Mt(l,t,6,r)}}function re(t,e,n=!1){const o=e.emitsCache,r=o.get(t);if(void 0!==r)return r;const s=t.emits;let a={},c=!1;if(!Object(i["n"])(t)){const o=t=>{const n=re(t,e,!0);n&&(c=!0,Object(i["h"])(a,n))};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}return s||c?(Object(i["m"])(s)?s.forEach(t=>a[t]=null):Object(i["h"])(a,s),o.set(t,a),a):(o.set(t,null),null)}function se(t,e){return!(!t||!Object(i["u"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(i["j"])(t,e[0].toLowerCase()+e.slice(1))||Object(i["j"])(t,Object(i["k"])(e))||Object(i["j"])(t,e))}let ae=null,ce=null;function ue(t){const e=ae;return ae=t,ce=t&&t.type.__scopeId||null,e}function le(t){ce=t}function he(){ce=null}const de=t=>fe;function fe(t,e=ae,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&fi(-1);const o=ue(e),r=t(...n);return ue(o),i._d&&fi(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function pe(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[a],slots:c,attrs:u,emit:l,render:h,renderCache:d,data:f,setupState:p,ctx:_,inheritAttrs:m}=t;let v;const g=ue(t);try{let t;if(4&n.shapeFlag){const e=r||o;v=Oi(h.call(e,e,d,s,p,f,_)),t=u}else{const n=e;0,v=Oi(n.length>1?n(s,{attrs:u,slots:c,emit:l}):n(s,null)),t=e.props?u:_e(u)}let g=v;if(t&&!1!==m){const e=Object.keys(t),{shapeFlag:n}=g;e.length&&(1&n||6&n)&&(a&&e.some(i["s"])&&(t=me(t,a)),g=wi(g,t))}0,n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),v=g}catch(y){ci.length=0,Et(y,t,1),v=bi(si)}return ue(g),v}const _e=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(i["u"])(n))&&((e||(e={}))[n]=t[n]);return e},me=(t,e)=>{const n={};for(const o in t)Object(i["s"])(o)&&o.slice(9)in e||(n[o]=t[o]);return n};function ve(t,e,n){const{props:i,children:o,component:r}=t,{props:s,children:a,patchFlag:c}=e,u=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||i!==s&&(i?!s||ge(i,s,u):!!s);if(1024&c)return!0;if(16&c)return i?ge(i,s,u):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function xe(t,e){e&&e.pendingBranch?Object(i["m"])(t)?e.effects.push(...t):e.effects.push(t):Qt(t)}function we(t,e){if(Zi){let n=Zi.provides;const i=Zi.parent&&Zi.parent.provides;i===n&&(n=Zi.provides=Object.create(i)),n[t]=e}else 0}function Pe(t,e,n=!1){const o=Zi||ae;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&Object(i["n"])(e)?e.call(o.proxy):e}else 0}const Le={};function Oe(t,e,n){return Te(t,e,n)}function Te(t,e,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:a}=i["b"],c=Zi){let u,d,f=!1,p=!1;if(Pt(t)?(u=()=>t.value,f=!!t._shallow):gt(t)?(u=()=>t,o=!0):Object(i["m"])(t)?(p=!0,f=t.some(gt),u=()=>t.map(t=>Pt(t)?t.value:gt(t)?Ce(t):Object(i["n"])(t)?Ct(t,c,2):void 0)):u=Object(i["n"])(t)?e?()=>Ct(t,c,2):()=>{if(!c||!c.isUnmounted)return d&&d(),Mt(t,c,3,[_])}:i["d"],e&&o){const t=u;u=()=>Ce(t())}let _=t=>{d=y.options.onStop=()=>{Ct(t,c,4)}},m=p?[]:Le;const v=()=>{if(y.active)if(e){const t=y();(o||f||(p?t.some((t,e)=>Object(i["i"])(t,m[e])):Object(i["i"])(t,m)))&&(d&&d(),Mt(e,c,3,[t,m===Le?void 0:m,_]),m=t)}else y()};let g;v.allowRecurse=!!e,g="sync"===r?v:"post"===r?()=>Vn(v,c&&c.suspense):()=>{!c||c.isMounted?Xt(v):v()};const y=l(u,{lazy:!0,onTrack:s,onTrigger:a,scheduler:g});return $i(y,c),e?n?v():m=y():"post"===r?Vn(y,c&&c.suspense):y(),()=>{h(y),c&&Object(i["I"])(c.effects,y)}}function je(t,e,n){const o=this.proxy,r=Object(i["B"])(t)?t.includes(".")?Se(o,t):()=>o[t]:t.bind(o,o);let s;return Object(i["n"])(e)?s=e:(s=e.handler,n=e),Te(r,s.bind(o),n,this)}function Se(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{Ce(t,e)});else if(Object(i["v"])(t))for(const n in t)Ce(t[n],e);return t}function Me(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xe(()=>{t.isMounted=!0}),en(()=>{t.isUnmounting=!0}),t}const Ee=[Function,Array],ke={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},setup(t,{slots:e}){const n=Ri(),i=Me();let o;return()=>{const r=e.default&&Ne(e.default(),!0);if(!r||!r.length)return;const s=xt(t),{mode:a}=s;const c=r[0];if(i.isLeaving)return Be(c);const u=Ze(c);if(!u)return Be(c);const l=Ie(u,s,i,n);Re(u,l);const h=n.subTree,d=h&&Ze(h);let f=!1;const{getTransitionKey:p}=u.type;if(p){const t=p();void 0===o?o=t:t!==o&&(o=t,f=!0)}if(d&&d.type!==si&&(!mi(u,d)||f)){const t=Ie(d,s,i,n);if(Re(d,t),"out-in"===a)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,n.update()},Be(c);"in-out"===a&&u.type!==si&&(t.delayLeave=(t,e,n)=>{const o=Ae(i,d);o[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return c}}},ze=ke;function Ae(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Ie(t,e,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:h,onLeave:d,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:_,onAppear:m,onAfterAppear:v,onAppearCancelled:g}=e,y=String(t.key),b=Ae(n,t),x=(t,e)=>{t&&Mt(t,i,9,e)},w={mode:r,persisted:s,beforeEnter(e){let i=a;if(!n.isMounted){if(!o)return;i=_||a}e._leaveCb&&e._leaveCb(!0);const r=b[y];r&&mi(t,r)&&r.el._leaveCb&&r.el._leaveCb(),x(i,[e])},enter(t){let e=c,i=u,r=l;if(!n.isMounted){if(!o)return;e=m||c,i=v||u,r=g||l}let s=!1;const a=t._enterCb=e=>{s||(s=!0,x(e?r:i,[t]),w.delayedLeave&&w.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,i){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return i();x(h,[e]);let r=!1;const s=e._leaveCb=n=>{r||(r=!0,i(),x(n?p:f,[e]),e._leaveCb=void 0,b[o]===t&&delete b[o])};b[o]=t,d?(d(e,s),d.length<=1&&s()):s()},clone(t){return Ie(t,e,n,i)}};return w}function Be(t){if(Fe(t))return t=wi(t),t.children=null,t}function Ze(t){return Fe(t)?t.children?t.children[0]:void 0:t}function Re(t,e){6&t.shapeFlag&&t.component?Re(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ne(t,e=!1){let n=[],i=0;for(let o=0;o1)for(let o=0;o!!t.type.__asyncLoader;const Fe=t=>t.type.__isKeepAlive;RegExp,RegExp;function We(t,e){return Object(i["m"])(t)?t.some(t=>We(t,e)):Object(i["B"])(t)?t.split(",").indexOf(e)>-1:!!t.test&&t.test(e)}function Ue(t,e){Ve(t,"a",e)}function He(t,e){Ve(t,"da",e)}function Ve(t,e,n=Zi){const i=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}t()});if($e(e,i,n),n){let t=n.parent;while(t&&t.parent)Fe(t.parent.vnode)&&qe(i,e,n,t),t=t.parent}}function qe(t,e,n,o){const r=$e(e,t,o,!0);nn(()=>{Object(i["I"])(o[e],r)},n)}function Ge(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function Ke(t){return 128&t.shapeFlag?t.ssContent:t}function $e(t,e,n=Zi,i=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;v(),Ni(n);const o=Mt(e,n,t,i);return Ni(null),y(),o});return i?o.unshift(r):o.push(r),r}}const Ye=t=>(e,n=Zi)=>(!Wi||"sp"===t)&&$e(t,e,n),Je=Ye("bm"),Xe=Ye("m"),Qe=Ye("bu"),tn=Ye("u"),en=Ye("bum"),nn=Ye("um"),on=Ye("sp"),rn=Ye("rtg"),sn=Ye("rtc");function an(t,e=Zi){$e("ec",t,e)}let cn=!0;function un(t){const e=fn(t),n=t.proxy,o=t.ctx;cn=!1,e.beforeCreate&&hn(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:a,watch:c,provide:u,inject:l,created:h,beforeMount:d,mounted:f,beforeUpdate:p,updated:_,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:y,destroyed:b,unmounted:x,render:w,renderTracked:P,renderTriggered:L,errorCaptured:O,serverPrefetch:T,expose:j,inheritAttrs:S,components:C,directives:M,filters:E}=e,k=null;if(l&&ln(l,o,k),a)for(const A in a){const t=a[A];Object(i["n"])(t)&&(o[A]=t.bind(n))}if(r){0;const e=r.call(n,n);0,Object(i["t"])(e)&&(t.data=pt(e))}if(cn=!0,s)for(const A in s){const t=s[A],e=Object(i["n"])(t)?t.bind(n,n):Object(i["n"])(t.get)?t.get.bind(n,n):i["d"];0;const r=!Object(i["n"])(t)&&Object(i["n"])(t.set)?t.set.bind(n):i["d"],a=Xi({get:e,set:r});Object.defineProperty(o,A,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}if(c)for(const i in c)dn(c[i],o,n,i);if(u){const t=Object(i["n"])(u)?u.call(n):u;Reflect.ownKeys(t).forEach(e=>{we(e,t[e])})}function z(t,e){Object(i["m"])(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&hn(h,t,"c"),z(Je,d),z(Xe,f),z(Qe,p),z(tn,_),z(Ue,m),z(He,v),z(an,O),z(sn,P),z(rn,L),z(en,y),z(nn,x),z(on,T),Object(i["m"])(j))if(j.length){const e=t.exposed||(t.exposed={});j.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});w&&t.render===i["d"]&&(t.render=w),null!=S&&(t.inheritAttrs=S),C&&(t.components=C),M&&(t.directives=M)}function ln(t,e,n=i["d"]){Object(i["m"])(t)&&(t=gn(t));for(const o in t){const n=t[o];Object(i["t"])(n)?e[o]="default"in n?Pe(n.from||o,n.default,!0):Pe(n.from||o):e[o]=Pe(n)}}function hn(t,e,n){Mt(Object(i["m"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function dn(t,e,n,o){const r=o.includes(".")?Se(n,o):()=>n[o];if(Object(i["B"])(t)){const n=e[t];Object(i["n"])(n)&&Oe(r,n)}else if(Object(i["n"])(t))Oe(r,t.bind(n));else if(Object(i["t"])(t))if(Object(i["m"])(t))t.forEach(t=>dn(t,e,n,o));else{const o=Object(i["n"])(t.handler)?t.handler.bind(n):e[t.handler];Object(i["n"])(o)&&Oe(r,o,t)}else 0}function fn(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=t.appContext,a=r.get(e);let c;return a?c=a:o.length||n||i?(c={},o.length&&o.forEach(t=>pn(c,t,s,!0)),pn(c,e,s)):c=e,r.set(e,c),c}function pn(t,e,n,i=!1){const{mixins:o,extends:r}=e;r&&pn(t,r,n,!0),o&&o.forEach(e=>pn(t,e,n,!0));for(const s in e)if(i&&"expose"===s);else{const i=_n[s]||n&&n[s];t[s]=i?i(t[s],e[s]):e[s]}return t}const _n={data:mn,props:bn,emits:bn,methods:bn,computed:bn,beforeCreate:yn,created:yn,beforeMount:yn,mounted:yn,beforeUpdate:yn,updated:yn,beforeDestroy:yn,destroyed:yn,activated:yn,deactivated:yn,errorCaptured:yn,serverPrefetch:yn,components:bn,directives:bn,watch:xn,provide:mn,inject:vn};function mn(t,e){return e?t?function(){return Object(i["h"])(Object(i["n"])(t)?t.call(this,this):t,Object(i["n"])(e)?e.call(this,this):e)}:e:t}function vn(t,e){return bn(gn(t),gn(e))}function gn(t){if(Object(i["m"])(t)){const e={};for(let n=0;n0)||16&a){let o;Ln(t,e,r,s)&&(l=!0);for(const s in c)e&&(Object(i["j"])(e,s)||(o=Object(i["k"])(s))!==s&&Object(i["j"])(e,o))||(u?!n||void 0===n[s]&&void 0===n[o]||(r[s]=On(u,c,s,void 0,t,!0)):delete r[s]);if(s!==c)for(const t in s)e&&Object(i["j"])(e,t)||(delete s[t],l=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let o=0;o{u=!0;const[n,o]=Tn(t,e,!0);Object(i["h"])(a,n),o&&c.push(...o)};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}if(!s&&!u)return o.set(t,i["a"]),i["a"];if(Object(i["m"])(s))for(let h=0;h-1,o[1]=n<0||t-1||Object(i["j"])(o,"default"))&&c.push(e)}}}}const l=[a,c];return o.set(t,l),l}function jn(t){return"$"!==t[0]}function Sn(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Cn(t,e){return Sn(t)===Sn(e)}function Mn(t,e){return Object(i["m"])(e)?e.findIndex(e=>Cn(e,t)):Object(i["n"])(e)&&Cn(e,t)?0:-1}const En=t=>"_"===t[0]||"$stable"===t,kn=t=>Object(i["m"])(t)?t.map(Oi):[Oi(t)],zn=(t,e,n)=>{const i=fe(t=>kn(e(t)),n);return i._c=!1,i},An=(t,e,n)=>{const o=t._ctx;for(const r in t){if(En(r))continue;const n=t[r];if(Object(i["n"])(n))e[r]=zn(r,n,o);else if(null!=n){0;const t=kn(n);e[r]=()=>t}}},In=(t,e)=>{const n=kn(e);t.slots.default=()=>n},Bn=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=xt(e),Object(i["g"])(e,"_",n)):An(e,t.slots={})}else t.slots={},e&&In(t,e);Object(i["g"])(t.slots,vi,1)},Zn=(t,e,n)=>{const{vnode:o,slots:r}=t;let s=!0,a=i["b"];if(32&o.shapeFlag){const t=e._;t?n&&1===t?s=!1:(Object(i["h"])(r,e),n||1!==t||delete r._):(s=!e.$stable,An(e,r)),a=e}else e&&(In(t,e),a={default:1});if(s)for(const i in r)En(i)||i in a||delete r[i]};function Rn(t,e){const n=ae;if(null===n)return t;const o=n.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;s{if(Object(i["m"])(t))return void t.forEach((t,s)=>qn(t,e&&(Object(i["m"])(e)?e[s]:e),n,o,r));if(De(o)&&!r)return;const s=4&o.shapeFlag?Ki(o.component)||o.component.proxy:o.el,a=r?null:s,{i:c,r:u}=t;const l=e&&e.r,h=c.refs===i["b"]?c.refs={}:c.refs,d=c.setupState;if(null!=l&&l!==u&&(Object(i["B"])(l)?(h[l]=null,Object(i["j"])(d,l)&&(d[l]=null)):Pt(l)&&(l.value=null)),Object(i["B"])(u)){const t=()=>{h[u]=a,Object(i["j"])(d,u)&&(d[u]=a)};a?(t.id=-1,Vn(t,n)):t()}else if(Pt(u)){const t=()=>{u.value=a};a?(t.id=-1,Vn(t,n)):t()}else Object(i["n"])(u)&&Ct(u,c,12,[a,h])};function Gn(t){return Kn(t)}function Kn(t,e){Un();const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:a,createText:c,createComment:u,setText:d,setElementText:f,parentNode:p,nextSibling:_,setScopeId:m=i["d"],cloneNode:g,insertStaticContent:b}=t,x=(t,e,n,i=null,o=null,r=null,s=!1,a=null,c=!!e.dynamicChildren)=>{t&&!mi(t,e)&&(i=$(t),H(t,o,r,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:u,ref:l,shapeFlag:h}=e;switch(u){case ri:w(t,e,n,i);break;case si:P(t,e,n,i);break;case ai:null==t&&L(e,n,i,s);break;case oi:A(t,e,n,i,o,r,s,a,c);break;default:1&h?j(t,e,n,i,o,r,s,a,c):6&h?I(t,e,n,i,o,r,s,a,c):(64&h||128&h)&&u.process(t,e,n,i,o,r,s,a,c,J)}null!=l&&o&&qn(l,t&&t.ref,r,e||t,!e)},w=(t,e,i,o)=>{if(null==t)n(e.el=c(e.children),i,o);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},P=(t,e,i,o)=>{null==t?n(e.el=u(e.children||""),i,o):e.el=t.el},L=(t,e,n,i)=>{[t.el,t.anchor]=b(t.children,e,n,i)},O=({el:t,anchor:e},i,o)=>{let r;while(t&&t!==e)r=_(t),n(t,i,o),t=r;n(e,i,o)},T=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=_(t),o(t),t=n;o(e)},j=(t,e,n,i,o,r,s,a,c)=>{s=s||"svg"===e.type,null==t?S(e,n,i,o,r,s,a,c):E(t,e,o,r,s,a,c)},S=(t,e,o,s,c,u,l,h)=>{let d,p;const{type:_,props:m,shapeFlag:v,transition:y,patchFlag:b,dirs:x}=t;if(t.el&&void 0!==g&&-1===b)d=t.el=g(t.el);else{if(d=t.el=a(t.type,u,m&&m.is,m),8&v?f(d,t.children):16&v&&M(t.children,d,null,s,c,u&&"foreignObject"!==_,l,h),x&&Nn(t,null,s,"created"),m){for(const e in m)Object(i["x"])(e)||r(d,e,null,m[e],u,t.children,s,c,K);(p=m.onVnodeBeforeMount)&&$n(p,s,t)}C(d,t,t.scopeId,l,s)}x&&Nn(t,null,s,"beforeMount");const w=(!c||c&&!c.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(d),n(d,e,o),((p=m&&m.onVnodeMounted)||w||x)&&Vn(()=>{p&&$n(p,s,t),w&&y.enter(d),x&&Nn(t,null,s,"mounted")},c)},C=(t,e,n,i,o)=>{if(n&&m(t,n),i)for(let r=0;r{for(let u=c;u{const l=e.el=t.el;let{patchFlag:h,dynamicChildren:d,dirs:p}=e;h|=16&t.patchFlag;const _=t.props||i["b"],m=e.props||i["b"];let v;if((v=m.onVnodeBeforeUpdate)&&$n(v,n,e,t),p&&Nn(e,t,n,"beforeUpdate"),h>0){if(16&h)z(l,e,_,m,n,o,a);else if(2&h&&_.class!==m.class&&r(l,"class",null,m.class,a),4&h&&r(l,"style",_.style,m.style,a),8&h){const i=e.dynamicProps;for(let e=0;e{v&&$n(v,n,e,t),p&&Nn(e,t,n,"updated")},o)},k=(t,e,n,i,o,r,s)=>{for(let a=0;a{if(n!==o){for(const l in o){if(Object(i["x"])(l))continue;const h=o[l],d=n[l];(h!==d||s&&s(t,l))&&r(t,l,d,h,u,e.children,a,c,K)}if(n!==i["b"])for(const s in n)Object(i["x"])(s)||s in o||r(t,s,n[s],null,u,e.children,a,c,K)}},A=(t,e,i,o,r,s,a,u,l)=>{const h=e.el=t?t.el:c(""),d=e.anchor=t?t.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:_}=e;p&&(l=!0),_&&(u=u?u.concat(_):_),null==t?(n(h,i,o),n(d,i,o),M(e.children,i,d,r,s,a,u,l)):f>0&&64&f&&p&&t.dynamicChildren?(k(t.dynamicChildren,p,i,r,s,a,u),(null!=e.key||r&&e===r.subTree)&&Yn(t,e,!0)):D(t,e,i,d,r,s,a,u,l)},I=(t,e,n,i,o,r,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?o.ctx.activate(e,n,i,s,c):B(e,n,i,o,r,s,c):Z(t,e,c)},B=(t,e,n,i,o,r,s)=>{const a=t.component=Bi(t,i,o);if(Fe(t)&&(a.ctx.renderer=J),Ui(a),a.asyncDep){if(o&&o.registerDep(a,R),!t.el){const t=a.subTree=bi(si);P(null,t,e,n)}}else R(a,t,e,n,o,r,s)},Z=(t,e,n)=>{const i=e.component=t.component;if(ve(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void N(i,e,n);i.next=e,Yt(i.update),i.update()}else e.component=t.component,e.el=t.el,i.vnode=e},R=(t,e,n,o,r,s,a)=>{t.update=l((function(){if(t.isMounted){let e,{next:n,bu:o,u:c,parent:u,vnode:l}=t,h=n;0,n?(n.el=l.el,N(t,n,a)):n=l,o&&Object(i["l"])(o),(e=n.props&&n.props.onVnodeBeforeUpdate)&&$n(e,u,n,l);const d=pe(t);0;const f=t.subTree;t.subTree=d,x(f,d,p(f.el),$(f),t,r,s),n.el=d.el,null===h&&ye(t,d.el),c&&Vn(c,r),(e=n.props&&n.props.onVnodeUpdated)&&Vn(()=>$n(e,u,n,l),r)}else{let a;const{el:c,props:u}=e,{bm:l,m:h,parent:d}=t;if(l&&Object(i["l"])(l),(a=u&&u.onVnodeBeforeMount)&&$n(a,d,e),c&&Q){const n=()=>{t.subTree=pe(t),Q(c,t.subTree,t,r,null)};De(e)?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{0;const i=t.subTree=pe(t);0,x(null,i,n,o,t,r,s),e.el=i.el}if(h&&Vn(h,r),a=u&&u.onVnodeMounted){const t=e;Vn(()=>$n(a,d,t),r)}256&e.shapeFlag&&t.a&&Vn(t.a,r),t.isMounted=!0,e=n=o=null}}),Hn)},N=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,Pn(t,e.props,i,n),Zn(t,e.children,n),v(),te(void 0,t.update),y()},D=(t,e,n,i,o,r,s,a,c=!1)=>{const u=t&&t.children,l=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void W(u,h,n,i,o,r,s,a,c);if(256&d)return void F(u,h,n,i,o,r,s,a,c)}8&p?(16&l&&K(u,o,r),h!==u&&f(n,h)):16&l?16&p?W(u,h,n,i,o,r,s,a,c):K(u,o,r,!0):(8&l&&f(n,""),16&p&&M(h,n,i,o,r,s,a,c))},F=(t,e,n,o,r,s,a,c,u)=>{t=t||i["a"],e=e||i["a"];const l=t.length,h=e.length,d=Math.min(l,h);let f;for(f=0;fh?K(t,r,s,!0,!1,d):M(e,n,o,r,s,a,c,u,d)},W=(t,e,n,o,r,s,a,c,u)=>{let l=0;const h=e.length;let d=t.length-1,f=h-1;while(l<=d&&l<=f){const i=t[l],o=e[l]=u?Ti(e[l]):Oi(e[l]);if(!mi(i,o))break;x(i,o,n,null,r,s,a,c,u),l++}while(l<=d&&l<=f){const i=t[d],o=e[f]=u?Ti(e[f]):Oi(e[f]);if(!mi(i,o))break;x(i,o,n,null,r,s,a,c,u),d--,f--}if(l>d){if(l<=f){const t=f+1,i=tf)while(l<=d)H(t[l],r,s,!0),l++;else{const p=l,_=l,m=new Map;for(l=_;l<=f;l++){const t=e[l]=u?Ti(e[l]):Oi(e[l]);null!=t.key&&m.set(t.key,l)}let v,g=0;const y=f-_+1;let b=!1,w=0;const P=new Array(y);for(l=0;l=y){H(i,r,s,!0);continue}let o;if(null!=i.key)o=m.get(i.key);else for(v=_;v<=f;v++)if(0===P[v-_]&&mi(i,e[v])){o=v;break}void 0===o?H(i,r,s,!0):(P[o-_]=l+1,o>=w?w=o:b=!0,x(i,e[o],n,null,r,s,a,c,u),g++)}const L=b?Jn(P):i["a"];for(v=L.length-1,l=y-1;l>=0;l--){const t=_+l,i=e[t],d=t+1{const{el:s,type:a,transition:c,children:u,shapeFlag:l}=t;if(6&l)return void U(t.component.subTree,e,i,o);if(128&l)return void t.suspense.move(e,i,o);if(64&l)return void a.move(t,e,i,J);if(a===oi){n(s,e,i);for(let t=0;tc.enter(s),r);else{const{leave:t,delayLeave:o,afterLeave:r}=c,a=()=>n(s,e,i),u=()=>{t(s,()=>{a(),r&&r()})};o?o(s,a,u):u()}else n(s,e,i)},H=(t,e,n,i=!1,o=!1)=>{const{type:r,props:s,ref:a,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:h,dirs:d}=t;if(null!=a&&qn(a,null,n,t,!0),256&l)return void e.ctx.deactivate(t);const f=1&l&&d;let p;if((p=s&&s.onVnodeBeforeUnmount)&&$n(p,e,t),6&l)G(t.component,n,i);else{if(128&l)return void t.suspense.unmount(n,i);f&&Nn(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,o,J,i):u&&(r!==oi||h>0&&64&h)?K(u,e,n,!1,!0):(r===oi&&(128&h||256&h)||!o&&16&l)&&K(c,e,n),i&&V(t)}((p=s&&s.onVnodeUnmounted)||f)&&Vn(()=>{p&&$n(p,e,t),f&&Nn(t,null,e,"unmounted")},n)},V=t=>{const{type:e,el:n,anchor:i,transition:r}=t;if(e===oi)return void q(n,i);if(e===ai)return void T(t);const s=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:i}=r,o=()=>e(n,s);i?i(t.el,s,o):o()}else s()},q=(t,e)=>{let n;while(t!==e)n=_(t),o(t),t=n;o(e)},G=(t,e,n)=>{const{bum:o,effects:r,update:s,subTree:a,um:c}=t;if(o&&Object(i["l"])(o),r)for(let i=0;i{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},K=(t,e,n,i=!1,o=!1,r=0)=>{for(let s=r;s6&t.shapeFlag?$(t.component.subTree):128&t.shapeFlag?t.suspense.next():_(t.anchor||t.el),Y=(t,e,n)=>{null==t?e._vnode&&H(e._vnode,null,null,!0):x(e._vnode||null,t,e,null,null,null,n),ee(),e._vnode=t},J={p:x,um:H,m:U,r:V,mt:B,mc:M,pc:D,pbc:k,n:$,o:t};let X,Q;return e&&([X,Q]=e(J)),{render:Y,hydrate:X,createApp:Wn(Y,X)}}function $n(t,e,n,i=null){Mt(t,e,7,[n,i])}function Yn(t,e,n=!1){const o=t.children,r=e.children;if(Object(i["m"])(o)&&Object(i["m"])(r))for(let i=0;i0&&(e[i]=n[r-1]),n[r]=i)}}r=n.length,s=n[r-1];while(r-- >0)n[r]=s,s=e[s];return n}const Xn=t=>t.__isTeleport;const Qn="components";function ti(t,e){return ni(Qn,t,!0,e)||t}const ei=Symbol();function ni(t,e,n=!0,o=!1){const r=ae||Zi;if(r){const n=r.type;if(t===Qn){const t=Yi(n);if(t&&(t===e||t===Object(i["e"])(e)||t===Object(i["f"])(Object(i["e"])(e))))return n}const s=ii(r[t]||n[t],e)||ii(r.appContext[t],e);return!s&&o?n:s}}function ii(t,e){return t&&(t[e]||t[Object(i["e"])(e)]||t[Object(i["f"])(Object(i["e"])(e))])}const oi=Symbol(void 0),ri=Symbol(void 0),si=Symbol(void 0),ai=Symbol(void 0),ci=[];let ui=null;function li(t=!1){ci.push(ui=t?null:[])}function hi(){ci.pop(),ui=ci[ci.length-1]||null}let di=1;function fi(t){di+=t}function pi(t,e,n,o,r){const s=bi(t,e,n,o,r,!0);return s.dynamicChildren=di>0?ui||i["a"]:null,hi(),di>0&&ui&&ui.push(s),s}function _i(t){return!!t&&!0===t.__v_isVNode}function mi(t,e){return t.type===e.type&&t.key===e.key}const vi="__vInternal",gi=({key:t})=>null!=t?t:null,yi=({ref:t})=>null!=t?Object(i["B"])(t)||Pt(t)||Object(i["n"])(t)?{i:ae,r:t}:t:null,bi=xi;function xi(t,e=null,n=null,o=0,r=null,s=!1){if(t&&t!==ei||(t=si),_i(t)){const i=wi(t,e,!0);return n&&ji(i,n),i}if(Ji(t)&&(t=t.__vccOpts),e){(bt(e)||vi in e)&&(e=Object(i["h"])({},e));let{class:t,style:n}=e;t&&!Object(i["B"])(t)&&(e.class=Object(i["G"])(t)),Object(i["t"])(n)&&(bt(n)&&!Object(i["m"])(n)&&(n=Object(i["h"])({},n)),e.style=Object(i["H"])(n))}const a=Object(i["B"])(t)?1:be(t)?128:Xn(t)?64:Object(i["t"])(t)?4:Object(i["n"])(t)?2:0;const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&gi(e),ref:e&&yi(e),scopeId:ce,slotScopeIds:null,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return ji(c,n),128&a&&t.normalize(c),di>0&&!s&&ui&&(o>0||6&a)&&32!==o&&ui.push(c),c}function wi(t,e,n=!1){const{props:o,ref:r,patchFlag:s,children:a}=t,c=e?Si(o||{},e):o,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&gi(c),ref:e&&e.ref?n&&r?Object(i["m"])(r)?r.concat(yi(e)):[r,yi(e)]:yi(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==oi?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&wi(t.ssContent),ssFallback:t.ssFallback&&wi(t.ssFallback),el:t.el,anchor:t.anchor};return u}function Pi(t=" ",e=0){return bi(ri,null,t,e)}function Li(t="",e=!1){return e?(li(),pi(si,null,t)):bi(si,null,t)}function Oi(t){return null==t||"boolean"===typeof t?bi(si):Object(i["m"])(t)?bi(oi,null,t.slice()):"object"===typeof t?Ti(t):bi(ri,null,String(t))}function Ti(t){return null===t.el?t:wi(t)}function ji(t,e){let n=0;const{shapeFlag:o}=t;if(null==e)e=null;else if(Object(i["m"])(e))n=16;else if("object"===typeof e){if(1&o||64&o){const n=e.default;return void(n&&(n._c&&(n._d=!1),ji(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||vi in e?3===i&&ae&&(1===ae.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=ae}}else Object(i["n"])(e)?(e={default:e,_ctx:ae},n=32):(e=String(e),64&o?(n=16,e=[Pi(e)]):n=8);t.children=e,t.shapeFlag|=n}function Si(...t){const e=Object(i["h"])({},t[0]);for(let n=1;nt?Di(t)?Ki(t)||t.proxy:Mi(t.parent):null,Ei=Object(i["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mi(t.parent),$root:t=>Mi(t.root),$emit:t=>t.emit,$options:t=>fn(t),$forceUpdate:t=>()=>Kt(t.update),$nextTick:t=>qt.bind(t.proxy),$watch:t=>je.bind(t)}),ki={get({_:t},e){const{ctx:n,setupState:o,data:r,props:s,accessCache:a,type:c,appContext:u}=t;let l;if("$"!==e[0]){const c=a[e];if(void 0!==c)switch(c){case 0:return o[e];case 1:return r[e];case 3:return n[e];case 2:return s[e]}else{if(o!==i["b"]&&Object(i["j"])(o,e))return a[e]=0,o[e];if(r!==i["b"]&&Object(i["j"])(r,e))return a[e]=1,r[e];if((l=t.propsOptions[0])&&Object(i["j"])(l,e))return a[e]=2,s[e];if(n!==i["b"]&&Object(i["j"])(n,e))return a[e]=3,n[e];cn&&(a[e]=4)}}const h=Ei[e];let d,f;return h?("$attrs"===e&&b(t,"get",e),h(t)):(d=c.__cssModules)&&(d=d[e])?d:n!==i["b"]&&Object(i["j"])(n,e)?(a[e]=3,n[e]):(f=u.config.globalProperties,Object(i["j"])(f,e)?f[e]:void 0)},set({_:t},e,n){const{data:o,setupState:r,ctx:s}=t;if(r!==i["b"]&&Object(i["j"])(r,e))r[e]=n;else if(o!==i["b"]&&Object(i["j"])(o,e))o[e]=n;else if(Object(i["j"])(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:s}},a){let c;return void 0!==n[a]||t!==i["b"]&&Object(i["j"])(t,a)||e!==i["b"]&&Object(i["j"])(e,a)||(c=s[0])&&Object(i["j"])(c,a)||Object(i["j"])(o,a)||Object(i["j"])(Ei,a)||Object(i["j"])(r.config.globalProperties,a)}};const zi=Object(i["h"])({},ki,{get(t,e){if(e!==Symbol.unscopables)return ki.get(t,e,t)},has(t,e){const n="_"!==e[0]&&!Object(i["o"])(e);return n}});const Ai=Dn();let Ii=0;function Bi(t,e,n){const o=t.type,r=(e?e.appContext:t.appContext)||Ai,s={uid:Ii++,vnode:t,type:o,parent:e,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,effects:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Tn(o,r),emitsOptions:re(o,r),emit:null,emitted:null,propsDefaults:i["b"],inheritAttrs:o.inheritAttrs,ctx:i["b"],data:i["b"],props:i["b"],attrs:i["b"],slots:i["b"],refs:i["b"],setupState:i["b"],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=e?e.root:s,s.emit=oe.bind(null,s),s}let Zi=null;const Ri=()=>Zi||ae,Ni=t=>{Zi=t};function Di(t){return 4&t.vnode.shapeFlag}let Fi,Wi=!1;function Ui(t,e=!1){Wi=e;const{props:n,children:i}=t.vnode,o=Di(t);wn(t,n,o,e),Bn(t,i);const r=o?Hi(t,e):void 0;return Wi=!1,r}function Hi(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=wt(new Proxy(t.ctx,ki));const{setup:o}=n;if(o){const n=t.setupContext=o.length>1?Gi(t):null;Zi=t,v();const r=Ct(o,t,0,[t.props,n]);if(y(),Zi=null,Object(i["w"])(r)){const n=()=>{Zi=null};if(r.then(n,n),e)return r.then(n=>{Vi(t,n,e)}).catch(e=>{Et(e,t,0)});t.asyncDep=r}else Vi(t,r,e)}else qi(t,e)}function Vi(t,e,n){Object(i["n"])(e)?t.render=e:Object(i["t"])(e)&&(t.setupState=Tt(e)),qi(t,n)}function qi(t,e,n){const o=t.type;if(!t.render){if(Fi&&!o.render){const e=o.template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:a}=o,c=Object(i["h"])(Object(i["h"])({isCustomElement:n,delimiters:s},r),a);o.render=Fi(e,c)}}t.render=o.render||i["d"],t.render._rc&&(t.withProxy=new Proxy(t.ctx,zi))}Zi=t,v(),un(t),y(),Zi=null}function Gi(t){const e=e=>{t.exposed=e||{}};return{attrs:t.attrs,slots:t.slots,emit:t.emit,expose:e}}function Ki(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Tt(wt(t.exposed)),{get(e,n){return n in e?e[n]:n in Ei?Ei[n](t):void 0}}))}function $i(t,e=Zi){e&&(e.effects||(e.effects=[])).push(t)}function Yi(t){return Object(i["n"])(t)&&t.displayName||t.name}function Ji(t){return Object(i["n"])(t)&&"__vccOpts"in t}function Xi(t){const e=St(t);return $i(e.effect),e}function Qi(t,e,n){const o=arguments.length;return 2===o?Object(i["t"])(e)&&!Object(i["m"])(e)?_i(e)?bi(t,null,[e]):bi(t,e):bi(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&_i(n)&&(n=[n]),bi(t,e,n))}Symbol("");const to="3.1.5",eo="http://www.w3.org/2000/svg",no="undefined"!==typeof document?document:null,io=new Map,oo={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const o=e?no.createElementNS(eo,t):no.createElement(t,n?{is:n}:void 0);return"select"===t&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:t=>no.createTextNode(t),createComment:t=>no.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>no.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,i){const o=n?n.previousSibling:e.lastChild;let r=io.get(t);if(!r){const e=no.createElement("template");if(e.innerHTML=i?`${t}`:t,r=e.content,i){const t=r.firstChild;while(t.firstChild)r.appendChild(t.firstChild);r.removeChild(t)}io.set(t,r)}return e.insertBefore(r.cloneNode(!0),n),[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function ro(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function so(t,e,n){const o=t.style;if(n)if(Object(i["B"])(n)){if(e!==n){const e=o.display;o.cssText=n,"_vod"in t&&(o.display=e)}}else{for(const t in n)co(o,t,n[t]);if(e&&!Object(i["B"])(e))for(const t in e)null==n[t]&&co(o,t,"")}else t.removeAttribute("style")}const ao=/\s*!important$/;function co(t,e,n){if(Object(i["m"])(n))n.forEach(n=>co(t,e,n));else if(e.startsWith("--"))t.setProperty(e,n);else{const o=ho(t,e);ao.test(n)?t.setProperty(Object(i["k"])(o),n.replace(ao,""),"important"):t[o]=n}}const uo=["Webkit","Moz","ms"],lo={};function ho(t,e){const n=lo[e];if(n)return n;let o=Object(i["e"])(e);if("filter"!==o&&o in t)return lo[e]=o;o=Object(i["f"])(o);for(let i=0;idocument.createEvent("Event").timeStamp&&(mo=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);vo=!!(t&&Number(t[1])<=53)}let go=0;const yo=Promise.resolve(),bo=()=>{go=0},xo=()=>go||(yo.then(bo),go=mo());function wo(t,e,n,i){t.addEventListener(e,n,i)}function Po(t,e,n,i){t.removeEventListener(e,n,i)}function Lo(t,e,n,i,o=null){const r=t._vei||(t._vei={}),s=r[e];if(i&&s)s.value=i;else{const[n,a]=To(e);if(i){const s=r[e]=jo(i,o);wo(t,n,s,a)}else s&&(Po(t,n,s,a),r[e]=void 0)}}const Oo=/(?:Once|Passive|Capture)$/;function To(t){let e;if(Oo.test(t)){let n;e={};while(n=t.match(Oo))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Object(i["k"])(t.slice(2)),e]}function jo(t,e){const n=t=>{const i=t.timeStamp||mo();(vo||i>=n.attached-1)&&Mt(So(t,n.value),e,5,[t])};return n.value=t,n.attached=xo(),n}function So(t,e){if(Object(i["m"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t(e))}return e}const Co=/^on[a-z]/,Mo=(t,e)=>"value"===e,Eo=(t,e,n,o,r=!1,s,a,c,u)=>{switch(e){case"class":ro(t,o,r);break;case"style":so(t,n,o);break;default:Object(i["u"])(e)?Object(i["s"])(e)||Lo(t,e,n,o,a):ko(t,e,o,r)?_o(t,e,o,s,a,c,u):("true-value"===e?t._trueValue=o:"false-value"===e&&(t._falseValue=o),po(t,e,o,r));break}};function ko(t,e,n,o){return o?"innerHTML"===e||!!(e in t&&Co.test(e)&&Object(i["n"])(n)):"spellcheck"!==e&&"draggable"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!Co.test(e)||!Object(i["B"])(n))&&e in t))))}const zo="transition",Ao="animation",Io=(t,{slots:e})=>Qi(ze,No(t),e);Io.displayName="Transition";const Bo={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},Zo=(Io.props=Object(i["h"])({},ze.props,Bo),(t,e=[])=>{Object(i["m"])(t)?t.forEach(t=>t(...e)):t&&t(...e)}),Ro=t=>!!t&&(Object(i["m"])(t)?t.some(t=>t.length>1):t.length>1);function No(t){const e={};for(const i in t)i in Bo||(e[i]=t[i]);if(!1===t.css)return e;const{name:n="v",type:o,duration:r,enterFromClass:s=n+"-enter-from",enterActiveClass:a=n+"-enter-active",enterToClass:c=n+"-enter-to",appearFromClass:u=s,appearActiveClass:l=a,appearToClass:h=c,leaveFromClass:d=n+"-leave-from",leaveActiveClass:f=n+"-leave-active",leaveToClass:p=n+"-leave-to"}=t,_=Do(r),m=_&&_[0],v=_&&_[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:w,onBeforeAppear:P=g,onAppear:L=y,onAppearCancelled:O=b}=e,T=(t,e,n)=>{Uo(t,e?h:c),Uo(t,e?l:a),n&&n()},j=(t,e)=>{Uo(t,p),Uo(t,f),e&&e()},S=t=>(e,n)=>{const i=t?L:y,r=()=>T(e,t,n);Zo(i,[e,r]),Ho(()=>{Uo(e,t?u:s),Wo(e,t?h:c),Ro(i)||qo(e,o,m,r)})};return Object(i["h"])(e,{onBeforeEnter(t){Zo(g,[t]),Wo(t,s),Wo(t,a)},onBeforeAppear(t){Zo(P,[t]),Wo(t,u),Wo(t,l)},onEnter:S(!1),onAppear:S(!0),onLeave(t,e){const n=()=>j(t,e);Wo(t,d),Yo(),Wo(t,f),Ho(()=>{Uo(t,d),Wo(t,p),Ro(x)||qo(t,o,v,n)}),Zo(x,[t,n])},onEnterCancelled(t){T(t,!1),Zo(b,[t])},onAppearCancelled(t){T(t,!0),Zo(O,[t])},onLeaveCancelled(t){j(t),Zo(w,[t])}})}function Do(t){if(null==t)return null;if(Object(i["t"])(t))return[Fo(t.enter),Fo(t.leave)];{const e=Fo(t);return[e,e]}}function Fo(t){const e=Object(i["L"])(t);return e}function Wo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function Uo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Ho(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Vo=0;function qo(t,e,n,i){const o=t._endId=++Vo,r=()=>{o===t._endId&&i()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:c}=Go(t,e);if(!s)return i();const u=s+"end";let l=0;const h=()=>{t.removeEventListener(u,d),r()},d=e=>{e.target===t&&++l>=c&&h()};setTimeout(()=>{l(n[t]||"").split(", "),o=i(zo+"Delay"),r=i(zo+"Duration"),s=Ko(o,r),a=i(Ao+"Delay"),c=i(Ao+"Duration"),u=Ko(a,c);let l=null,h=0,d=0;e===zo?s>0&&(l=zo,h=s,d=r.length):e===Ao?u>0&&(l=Ao,h=u,d=c.length):(h=Math.max(s,u),l=h>0?s>u?zo:Ao:null,d=l?l===zo?r.length:c.length:0);const f=l===zo&&/\b(transform|all)(,|$)/.test(n[zo+"Property"]);return{type:l,timeout:h,propCount:d,hasTransform:f}}function Ko(t,e){while(t.length$o(e)+$o(t[n])))}function $o(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yo(){return document.body.offsetHeight}new WeakMap,new WeakMap;const Jo=t=>{const e=t.props["onUpdate:modelValue"];return Object(i["m"])(e)?t=>Object(i["l"])(e,t):e};function Xo(t){t.target.composing=!0}function Qo(t){const e=t.target;e.composing&&(e.composing=!1,tr(e,"input"))}function tr(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}const er={created(t,{modifiers:{lazy:e,trim:n,number:o}},r){t._assign=Jo(r);const s=o||"number"===t.type;wo(t,e?"change":"input",e=>{if(e.target.composing)return;let o=t.value;n?o=o.trim():s&&(o=Object(i["L"])(o)),t._assign(o)}),n&&wo(t,"change",()=>{t.value=t.value.trim()}),e||(wo(t,"compositionstart",Xo),wo(t,"compositionend",Qo),wo(t,"change",Qo))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{trim:n,number:o}},r){if(t._assign=Jo(r),t.composing)return;if(document.activeElement===t){if(n&&t.value.trim()===e)return;if((o||"number"===t.type)&&Object(i["L"])(t.value)===e)return}const s=null==e?"":e;t.value!==s&&(t.value=s)}};const nr={deep:!0,created(t,{value:e,modifiers:{number:n}},o){const r=Object(i["z"])(e);wo(t,"change",()=>{const e=Array.prototype.filter.call(t.options,t=>t.selected).map(t=>n?Object(i["L"])(or(t)):or(t));t._assign(t.multiple?r?new Set(e):e:e[0])}),t._assign=Jo(o)},mounted(t,{value:e}){ir(t,e)},beforeUpdate(t,e,n){t._assign=Jo(n)},updated(t,{value:e}){ir(t,e)}};function ir(t,e){const n=t.multiple;if(!n||Object(i["m"])(e)||Object(i["z"])(e)){for(let o=0,r=t.options.length;o-1:r.selected=e.has(s);else if(Object(i["D"])(or(r),e))return void(t.selectedIndex!==o&&(t.selectedIndex=o))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function or(t){return"_value"in t?t._value:t.value}const rr=["ctrl","shift","alt","meta"],sr={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>rr.some(n=>t[n+"Key"]&&!e.includes(n))},ar=(t,e)=>(n,...i)=>{for(let t=0;t{const e=lr().createApp(...t);const{mount:n}=e;return e.mount=t=>{const o=dr(t);if(!o)return;const r=e._component;Object(i["n"])(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function dr(t){if(Object(i["B"])(t)){const e=document.querySelector(t);return e}return t}},"7b0b":function(t,e,n){var i=n("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,n){var i,o=n("825a"),r=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),h=">",d="<",f="prototype",p="script",_=l("IE_PROTO"),m=function(){},v=function(t){return d+p+h+t+d+"/"+p+h},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},b=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=i?g(i):y();var t=s.length;while(t--)delete b[f][s[t]];return b()};a[_]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[f]=o(t),n=new m,m[f]=null,n[_]=t):n=b(),void 0===e?n:r(n,e)}},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),o=n("9ed3"),r=n("e163"),s=n("d2bb"),a=n("d44e"),c=n("9112"),u=n("6eeb"),l=n("b622"),h=n("c430"),d=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,m=l("iterator"),v="keys",g="values",y="entries",b=function(){return this};t.exports=function(t,e,n,l,f,x,w){o(n,e,l);var P,L,O,T=function(t){if(t===f&&E)return E;if(!_&&t in C)return C[t];switch(t){case v:return function(){return new n(this,t)};case g:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this)}},j=e+" Iterator",S=!1,C=t.prototype,M=C[m]||C["@@iterator"]||f&&C[f],E=!_&&M||T(f),k="Array"==e&&C.entries||M;if(k&&(P=r(k.call(new t)),p!==Object.prototype&&P.next&&(h||r(P)===p||(s?s(P,p):"function"!=typeof P[m]&&c(P,m,b)),a(P,j,!0,!0),h&&(d[j]=b))),f==g&&M&&M.name!==g&&(S=!0,E=function(){return M.call(this)}),h&&!w||C[m]===E||c(C,m,E),d[e]=E,f)if(L={values:T(g),keys:x?E:T(v),entries:T(y)},w)for(O in L)(_||S||!(O in C))&&u(C,O,L[O]);else i({target:e,proto:!0,forced:_||S},L);return L}},"7f9a":function(t,e,n){var i=n("da84"),o=n("8925"),r=i.WeakMap;t.exports="function"===typeof r&&/native code/.test(o(r))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,n){var i=n("c6cd"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return o.call(t)}),t.exports=i.inspectSource},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},9112:function(t,e,n){var i=n("83ab"),o=n("9bf2"),r=n("5c6c");t.exports=i?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var i=n("ad6d"),o=n("9f7f"),r=n("5692"),s=n("7c73"),a=n("69f3").get,c=n("fce3"),u=n("107c"),l=RegExp.prototype.exec,h=r("native-string-replace",String.prototype.replace),d=l,f=function(){var t=/a/,e=/b*/g;return l.call(t,"a"),l.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),p=o.UNSUPPORTED_Y||o.BROKEN_CARET,_=void 0!==/()??/.exec("")[1],m=f||_||p||c||u;m&&(d=function(t){var e,n,o,r,c,u,m,v=this,g=a(v),y=g.raw;if(y)return y.lastIndex=v.lastIndex,e=d.call(y,t),v.lastIndex=y.lastIndex,e;var b=g.groups,x=p&&v.sticky,w=i.call(v),P=v.source,L=0,O=t;if(x&&(w=w.replace("y",""),-1===w.indexOf("g")&&(w+="g"),O=String(t).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==t[v.lastIndex-1])&&(P="(?: "+P+")",O=" "+O,L++),n=new RegExp("^(?:"+P+")",w)),_&&(n=new RegExp("^"+P+"$(?!\\s)",w)),f&&(o=v.lastIndex),r=l.call(x?n:v,O),x?r?(r.input=r.input.slice(L),r[0]=r[0].slice(L),r.index=v.lastIndex,v.lastIndex+=r[0].length):v.lastIndex=0:f&&r&&(v.lastIndex=v.global?r.index+r[0].length:o),_&&r&&r.length>1&&h.call(r[0],n,(function(){for(c=1;c!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return P})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return L})),n.d(e,"e",(function(){return Y})),n.d(e,"f",(function(){return Q})),n.d(e,"g",(function(){return it})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return et})),n.d(e,"j",(function(){return k})),n.d(e,"k",(function(){return X})),n.d(e,"l",(function(){return nt})),n.d(e,"m",(function(){return z})),n.d(e,"n",(function(){return Z})),n.d(e,"o",(function(){return r})),n.d(e,"p",(function(){return _})),n.d(e,"q",(function(){return q})),n.d(e,"r",(function(){return A})),n.d(e,"s",(function(){return S})),n.d(e,"t",(function(){return D})),n.d(e,"u",(function(){return j})),n.d(e,"v",(function(){return V})),n.d(e,"w",(function(){return F})),n.d(e,"x",(function(){return G})),n.d(e,"y",(function(){return m})),n.d(e,"z",(function(){return I})),n.d(e,"A",(function(){return a})),n.d(e,"B",(function(){return R})),n.d(e,"C",(function(){return N})),n.d(e,"D",(function(){return g})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return i})),n.d(e,"G",(function(){return d})),n.d(e,"H",(function(){return c})),n.d(e,"I",(function(){return M})),n.d(e,"J",(function(){return b})),n.d(e,"K",(function(){return tt})),n.d(e,"L",(function(){return ot})),n.d(e,"M",(function(){return H}));const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",r=i(o);const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=i(s);function c(t){if(z(t)){const e={};for(let n=0;n{if(t){const n=t.split(l);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function d(t){let e="";if(R(t))e=t;else if(z(t))for(let n=0;ng(t,e))}const b=t=>null==t?"":D(t)?JSON.stringify(t,x,2):String(t),x=(t,e)=>A(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:I(e)?{[`Set(${e.size})`]:[...e.values()]}:!D(e)||z(e)||V(e)?e:String(e),w={},P=[],L=()=>{},O=()=>!1,T=/^on[^a-z]/,j=t=>T.test(t),S=t=>t.startsWith("onUpdate:"),C=Object.assign,M=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},E=Object.prototype.hasOwnProperty,k=(t,e)=>E.call(t,e),z=Array.isArray,A=t=>"[object Map]"===U(t),I=t=>"[object Set]"===U(t),B=t=>t instanceof Date,Z=t=>"function"===typeof t,R=t=>"string"===typeof t,N=t=>"symbol"===typeof t,D=t=>null!==t&&"object"===typeof t,F=t=>D(t)&&Z(t.then)&&Z(t.catch),W=Object.prototype.toString,U=t=>W.call(t),H=t=>U(t).slice(8,-1),V=t=>"[object Object]"===U(t),q=t=>R(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,G=i(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=t=>{const e=Object.create(null);return n=>{const i=e[n];return i||(e[n]=t(n))}},$=/-(\w)/g,Y=K(t=>t.replace($,(t,e)=>e?e.toUpperCase():"")),J=/\B([A-Z])/g,X=K(t=>t.replace(J,"-$1").toLowerCase()),Q=K(t=>t.charAt(0).toUpperCase()+t.slice(1)),tt=K(t=>t?"on"+Q(t):""),et=(t,e)=>t!==e&&(t===t||e===e),nt=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ot=t=>{const e=parseFloat(t);return isNaN(e)?t:e}}).call(this,n("c8ba"))},a4b4:function(t,e,n){var i=n("342f");t.exports=/web0s(?!.*chrome)/i.test(i)},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},a79d:function(t,e,n){"use strict";var i=n("23e7"),o=n("c430"),r=n("fea9"),s=n("d039"),a=n("d066"),c=n("4840"),u=n("cdf9"),l=n("6eeb"),h=!!r&&s((function(){r.prototype["finally"].call({then:function(){}},(function(){}))}));if(i({target:"Promise",proto:!0,real:!0,forced:h},{finally:function(t){var e=c(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),!o&&"function"==typeof r){var d=a("Promise").prototype["finally"];r.prototype["finally"]!==d&&l(r.prototype,"finally",d,{unsafe:!0})}},a9e3:function(t,e,n){"use strict";var i=n("83ab"),o=n("da84"),r=n("94ca"),s=n("6eeb"),a=n("5135"),c=n("c6b6"),u=n("7156"),l=n("c04e"),h=n("d039"),d=n("7c73"),f=n("241c").f,p=n("06cf").f,_=n("9bf2").f,m=n("58a8").trim,v="Number",g=o[v],y=g.prototype,b=c(d(y))==v,x=function(t){var e,n,i,o,r,s,a,c,u=l(t,!1);if("string"==typeof u&&u.length>2)if(u=m(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+u}for(r=u.slice(2),s=r.length,a=0;ao)return NaN;return parseInt(r,i)}return+u};if(r(v,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,P=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof P&&(b?h((function(){y.valueOf.call(n)})):c(n)!=v)?u(new g(x(e)),n,P):x(e)},L=i?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),O=0;L.length>O;O++)a(g,w=L[O])&&!a(P,w)&&_(P,w,p(g,w));P.prototype=y,y.constructor=P,s(o,v,P)}},ac1f:function(t,e,n){"use strict";var i=n("23e7"),o=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var i,o,r,s=n("d039"),a=n("e163"),c=n("9112"),u=n("5135"),l=n("b622"),h=n("c430"),d=l("iterator"),f=!1,p=function(){return this};[].keys&&(r=[].keys(),"next"in r?(o=a(a(r)),o!==Object.prototype&&(i=o)):f=!0);var _=void 0==i||s((function(){var t={};return i[d].call(t)!==t}));_&&(i={}),h&&!_||u(i,d)||c(i,d,p),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},b041:function(t,e,n){"use strict";var i=n("00ee"),o=n("f5df");t.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,n){var i=n("83ab"),o=n("9bf2").f,r=Function.prototype,s=r.toString,a=/^\s*function ([^ (]*)/,c="name";i&&!(c in r)&&o(r,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var i,o,r,s,a,c,u,l,h=n("da84"),d=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),_=n("a4b4"),m=n("605d"),v=h.MutationObserver||h.WebKitMutationObserver,g=h.document,y=h.process,b=h.Promise,x=d(h,"queueMicrotask"),w=x&&x.value;w||(i=function(){var t,e;m&&(t=y.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?s():r=void 0,n}}r=void 0,t&&t.enter()},p||m||_||!v||!g?b&&b.resolve?(u=b.resolve(void 0),u.constructor=b,l=u.then,s=function(){l.call(u,i)}):s=m?function(){y.nextTick(i)}:function(){f.call(h,i)}:(a=!0,c=g.createTextNode(""),new v(i).observe(c,{characterData:!0}),s=function(){c.data=a=!a})),t.exports=w||function(t){var e={fn:t,next:void 0};r&&(r.next=e),o||(o=e,s()),r=e}},b622:function(t,e,n){var i=n("da84"),o=n("5692"),r=n("5135"),s=n("90e3"),a=n("4930"),c=n("fdbf"),u=o("wks"),l=i.Symbol,h=c?l:l&&l.withoutSetter||s;t.exports=function(t){return r(u,t)&&(a||"string"==typeof u[t])||(a&&r(l,t)?u[t]=l[t]:u[t]=h("Symbol."+t)),u[t]}},b727:function(t,e,n){var i=n("0366"),o=n("44ad"),r=n("7b0b"),s=n("50c4"),a=n("65f0"),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,h=6==t,d=7==t,f=5==t||h;return function(p,_,m,v){for(var g,y,b=r(p),x=o(b),w=i(_,m,3),P=s(x.length),L=0,O=v||a,T=e?O(p,P):n||d?O(p,0):void 0;P>L;L++)if((f||L in x)&&(g=x[L],y=w(g,L,b),t))if(e)T[L]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return L;case 2:c.call(T,g)}else switch(t){case 4:return!1;case 7:c.call(T,g)}return h?-1:u||l?l:T}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var i=n("861d");t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var i=n("da84"),o=n("ce4e"),r="__core-js_shared__",s=i[r]||o(r,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("5135"),o=n("fc6a"),r=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)!i(s,n)&&i(a,n)&&u.push(n);while(e.length>c)i(a,n=e[c++])&&(~r(u,n)||u.push(n));return u}},cc12:function(t,e,n){var i=n("da84"),o=n("861d"),r=i.document,s=o(r)&&o(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},cca6:function(t,e,n){var i=n("23e7"),o=n("60da");i({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(t,e,n){var i=n("825a"),o=n("861d"),r=n("f069");t.exports=function(t,e){if(i(t),o(e)&&e.constructor===t)return e;var n=r.f(t),s=n.resolve;return s(e),n.promise}},ce4e:function(t,e,n){var i=n("da84"),o=n("9112");t.exports=function(t,e){try{o(i,t,e)}catch(n){i[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("428f"),o=n("da84"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t])||r(o[t]):i[t]&&i[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:i},d2bb:function(t,e,n){var i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(r){}return function(n,r){return i(n),o(r),e?t.call(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var i=n("00ee"),o=n("6eeb"),r=n("b041");i||o(Object.prototype,"toString",r,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,o=n("5135"),r=n("b622"),s=r("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var i=n("6eeb"),o=n("9263"),r=n("d039"),s=n("b622"),a=n("9112"),c=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,l){var h=s(t),d=!r((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=d&&!r((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!d||!f||n){var p=/./[h],_=e(h,""[t],(function(t,e,n,i,r){var s=e.exec;return s===o||s===u.exec?d&&!r?{done:!0,value:p.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}));i(String.prototype,t,_[0]),i(u,h,_[1])}l&&a(u[h],"sham",!0)}},d81d:function(t,e,n){"use strict";var i=n("23e7"),o=n("b727").map,r=n("1dde"),s=r("map");i({target:"Array",proto:!0,forced:!s},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(t,e,n){var i=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return i(t,o)}},e11e:function(t,e,n){ /* @preserve * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade */ -(function(t,n){n(e)})(0,(function(t){"use strict";var e="1.7.1";function n(t){var e,n,i,o;for(n=1,i=arguments.length;n0?Math.floor(t):Math.ceil(t)};function I(t,e,n){return t instanceof z?t:v(t)?new z(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new z(t.x,t.y):new z(t,e,n)}function B(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=Z(t);var e=this.min,n=this.max,i=t.min,o=t.max,r=o.x>=e.x&&i.x<=n.x,s=o.y>=e.y&&i.y<=n.y;return r&&s},overlaps:function(t){t=Z(t);var e=this.min,n=this.max,i=t.min,o=t.max,r=o.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=o.lat&&e.lng>=i.lng&&n.lng<=o.lng},intersects:function(t){t=N(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&i.lat<=n.lat,s=o.lng>=e.lng&&i.lng<=n.lng;return r&&s},overlaps:function(t){t=N(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&i.late.lng&&i.lng1,jt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(n){}return t}(),St=function(){return!!document.createElement("canvas").getContext}(),Ct=!(!document.createElementNS||!Y("svg").createSVGRect),Mt=!Ct&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}();function Et(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var kt={ie:Q,ielt9:tt,edge:et,webkit:nt,android:it,android23:ot,androidStock:st,opera:at,chrome:ct,gecko:ut,safari:lt,phantom:ht,opera12:dt,win:ft,ie3d:pt,webkit3d:_t,gecko3d:mt,any3d:vt,mobile:gt,mobileWebkit:yt,mobileWebkit3d:bt,msPointer:xt,pointer:wt,touch:Pt,mobileOpera:Lt,mobileGecko:Ot,retina:Tt,passiveEvents:jt,canvas:St,svg:Ct,vml:Mt},zt=xt?"MSPointerDown":"pointerdown",At=xt?"MSPointerMove":"pointermove",It=xt?"MSPointerUp":"pointerup",Bt=xt?"MSPointerCancel":"pointercancel",Zt={},Rt=!1;function Nt(t,e,n,i){return"touchstart"===e?Ft(t,n,i):"touchmove"===e?Gt(t,n,i):"touchend"===e&&qt(t,n,i),this}function Dt(t,e,n){var i=t["_leaflet_"+e+n];return"touchstart"===e?t.removeEventListener(zt,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(It,i,!1),t.removeEventListener(Bt,i,!1)),this}function Ft(t,e,n){var i=o((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ue(t),Vt(t,e)}));t["_leaflet_touchstart"+n]=i,t.addEventListener(zt,i,!1),Rt||(document.addEventListener(zt,Wt,!0),document.addEventListener(At,Ut,!0),document.addEventListener(It,Ht,!0),document.addEventListener(Bt,Ht,!0),Rt=!0)}function Wt(t){Zt[t.pointerId]=t}function Ut(t){Zt[t.pointerId]&&(Zt[t.pointerId]=t)}function Ht(t){delete Zt[t.pointerId]}function Vt(t,e){for(var n in t.touches=[],Zt)t.touches.push(Zt[n]);t.changedTouches=[t],e(t)}function Gt(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Vt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}function qt(t,e,n){var i=function(t){Vt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(It,i,!1),t.addEventListener(Bt,i,!1)}var Kt=xt?"MSPointerDown":wt?"pointerdown":"touchstart",$t=xt?"MSPointerUp":wt?"pointerup":"touchend",Yt="_leaflet_";function Jt(t,e,n){var i,o,r=!1,s=250;function a(t){if(wt){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(i||e);o=t.touches?t.touches[0]:t,r=n>0&&n<=s,i=e}function c(t){if(r&&!o.cancelBubble){if(wt){if("mouse"===t.pointerType)return;var n,s,a={};for(s in o)n=o[s],a[s]=n&&n.bind?n.bind(o):n;o=a}o.type="dblclick",o.button=0,e(o),i=null}}return t[Yt+Kt+n]=a,t[Yt+$t+n]=c,t[Yt+"dblclick"+n]=e,t.addEventListener(Kt,a,!!jt&&{passive:!1}),t.addEventListener($t,c,!!jt&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function Xt(t,e){var n=t[Yt+Kt+e],i=t[Yt+$t+e],o=t[Yt+"dblclick"+e];return t.removeEventListener(Kt,n,!!jt&&{passive:!1}),t.removeEventListener($t,i,!!jt&&{passive:!1}),t.removeEventListener("dblclick",o,!1),this}var Qt,te,ee,ne,ie,oe=xe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),re=xe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),se="webkitTransition"===re||"OTransition"===re?re+"End":"transitionend";function ae(t){return"string"===typeof t?document.getElementById(t):t}function ce(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ue(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function le(t){var e=t.parentNode;e&&e.removeChild(t)}function he(t){while(t.firstChild)t.removeChild(t.firstChild)}function de(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function fe(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function pe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ge(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function _e(t,e){if(void 0!==t.classList)for(var n=d(e),i=0,o=n.length;ithis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,N(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var n=I(e.paddingTopLeft||e.padding||[0,0]),i=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),r=this.project(o),s=this.project(t),a=this.getPixelBounds(),c=a.getSize().divideBy(2),u=Z([a.min.add(n),a.max.subtract(i)]);if(!u.contains(s)){this._enforcingBounds=!0;var l=r.subtract(s),h=I(s.x+l.x,s.y+l.y);(s.xu.max.x)&&(h.x=r.x-l.x,l.x>0?h.x+=c.x-n.x:h.x-=c.x-i.x),(s.yu.max.y)&&(h.y=r.y-l.y,l.y>0?h.y+=c.y-n.y:h.y-=c.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),r=e.divideBy(2).round(),s=i.divideBy(2).round(),a=r.subtract(s);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),i=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,n=t.coords.longitude,i=new D(e,n),o=i.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var s=this.getBoundsZoom(o);this.setView(i,r.maxZoom?Math.min(s,r.maxZoom):s)}var a={latlng:i,bounds:o,timestamp:t.timestamp};for(var c in t.coords)"number"===typeof t.coords[c]&&(a[c]=t.coords[c]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),le(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(j(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)le(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i=ue("div",n,e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new R(e,n)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=N(t),n=I(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),a=t.getSouthEast(),c=this.getSize().subtract(n),u=Z(this.project(a,i),this.project(s,i)).getSize(),l=vt?this.options.zoomSnap:1,h=c.x/u.x,d=c.y/u.y,f=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(f,i),l&&(i=Math.round(i/(l/100))*(l/100),i=e?Math.ceil(i/l)*l:Math.floor(i/l)*l),Math.max(o,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new B(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(F(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(N(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return Ve(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ae(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");ze(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,_e(t,"leaflet-container"+(Pt?" leaflet-touch":"")+(Tt?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ce(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Pe(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(_e(t.markerPane,"leaflet-zoom-hide"),_e(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){Pe(this._mapPane,new z(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return j(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[s(this._container)]=this;var e=t?Ie:ze;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){j(this._resizeRequest),this._resizeRequest=T((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var n,i=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;while(r){if(n=this._targets[s(r)],n&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(e,!0)){if(o&&!Je(r,t))break;if(i.push(n),o)break}if(r===this._container)break;r=r.parentNode}return i.length||a||o||!Je(r,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ye(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Se(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type){var o=n({},t);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e)),i.length)){var r=i[0];"contextmenu"===e&&r.listens(e,!0)&&Ue(t);var s={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var a=r.getLatLng&&(!r._radius||r._radius<=10);s.containerPoint=a?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(t),s.layerPoint=this.containerPointToLayerPoint(s.containerPoint),s.latlng=a?r.getLatLng():this.layerPointToLatLng(s.layerPoint)}for(var c=0;c0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=vt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){me(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=ue("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=oe,n=this._proxy.style[e];we(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){le(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();we(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(o))&&(T((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,_e(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:i}),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&me(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),T((function(){this._moveEnd(!0)}),this))}});function en(t,e){return new tn(t,e)}var nn=C.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return _e(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(le(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),on=function(t){return new nn(t)};tn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ue("div",e+"control-container",this._container);function i(i,o){var r=e+i+" "+e+o;t[i+o]=ue("div",r,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)le(this._controlCorners[t]);le(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var rn=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(e),e.layerId=s(t.layer),ze(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("div");n.appendChild(r),r.appendChild(e),r.appendChild(o);var a=t.overlay?this._overlaysList:this._baseLayersList;return a.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||o.push(e);for(r=0;r=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),sn=function(t,e,n){return new rn(t,e,n)},an=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ue("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,o){var r=ue("a",n,i);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),We(r),ze(r,"click",He),ze(r,"click",o,this),ze(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";me(this._zoomInButton,e),me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&_e(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&_e(this._zoomInButton,e)}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new an,this.addControl(this.zoomControl))}));var cn=function(t){return new an(t)},un=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=ue("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ue("div",e,n)),t.imperial&&(this._iScale=ue("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,o=3.2808399*t;o>5280?(e=o/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(o),this._updateScale(this._iScale,i+" ft",i/o))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),ln=function(t){return new un(t)},hn=nn.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ue("div","leaflet-control-attribution"),We(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook((function(){this.options.attributionControl&&(new hn).addTo(this)}));var dn=function(t){return new hn(t)};nn.Layers=rn,nn.Zoom=an,nn.Scale=un,nn.Attribution=hn,on.layers=sn,on.zoom=cn,on.scale=ln,on.attribution=dn;var fn=C.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});fn.addTo=function(t,e){return t.addHandler(e,this),this};var pn,_n={Events:E},mn=Pt?"touchstart mousedown":"mousedown",vn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},gn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},yn=k.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){f(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(ze(this._dragStartTarget,mn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(yn._dragging===this&&this.finishDrag(),Ie(this._dragStartTarget,mn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!pe(this._element,"leaflet-zoom-anim")&&!(yn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(yn._dragging=this,this._preventOutline&&Se(this._element),Te(),Qt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Me(this._element);this._startPoint=new z(e.clientX,e.clientY),this._parentScale=Ee(n),ze(document,gn[t.type],this._onMove,this),ze(document,vn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new z(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)c&&(r=s,c=a);c>n&&(e[r]=1,Ln(t,e,n,i,r),Ln(t,e,n,r,o))}function On(t,e){for(var n=[t[0]],i=1,o=0,r=t.length;ie&&(n.push(t[i]),o=i);return oe.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function Cn(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}function Mn(t,e,n,i){var o,r=e.x,s=e.y,a=n.x-r,c=n.y-s,u=a*a+c*c;return u>0&&(o=((t.x-r)*a+(t.y-s)*c)/u,o>1?(r=n.x,s=n.y):o>0&&(r+=a*o,s+=c*o)),a=t.x-r,c=t.y-s,i?a*a+c*c:new z(r,s)}function En(t){return!v(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function kn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),En(t)}var zn={simplify:bn,pointToSegmentDistance:xn,closestPointOnSegment:wn,clipSegment:Tn,_getEdgeIntersection:jn,_getBitCode:Sn,_sqClosestPointOnSegment:Mn,isFlat:En,_flat:kn};function An(t,e,n){var i,o,r,s,a,c,u,l,h,d=[1,4,2,8];for(o=0,u=t.length;o1e-7;c++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),u=Math.PI/2-2*Math.atan(s*e)-a,a+=u;return new D(a*n,t.x*n/i)}},Rn={LonLat:Bn,Mercator:Zn,SphericalMercator:V},Nn=n({},U,{code:"EPSG:3395",projection:Zn,transformation:function(){var t=.5/(Math.PI*Zn.R);return q(t,.5,-t,.5)}()}),Dn=n({},U,{code:"EPSG:4326",projection:Bn,transformation:q(1/180,1,-1/180,.5)}),Fn=n({},W,{projection:Bn,transformation:q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});W.Earth=U,W.EPSG3395=Nn,W.EPSG3857=K,W.EPSG900913=$,W.EPSG4326=Dn,W.Simple=Fn;var Wn=k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&s(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){t=t?v(t)?t:[t]:[];for(var e=0,n=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return s=(i-e)/n,this._map.layerPointToLatLng([r.x-s*(r.x-o.x),r.y-s*(r.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return En(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=En(t),i=0,o=t.length;i=2&&e[0]instanceof D&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){oi.prototype._setLatLngs.call(this,t),En(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return En(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new z(e,e);if(t=new B(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,o=0,r=this._rings.length;ot.y!==i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||oi.prototype._containsPoint.call(this,t,!0)}});function ai(t,e){return new si(t,e)}var ci=Vn.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,o=v(t)?t:t.features;if(o){for(e=0,n=o.length;e0?i:[e.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var s=0;so?(e.height=o+"px",_e(t,r)):me(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();Pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ce(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,o=new z(this._containerLeft,-n-this._containerBottom);o._add(Le(this._container));var r=t.layerPointToContainerPoint(o),s=I(this.options.autoPanPadding),a=I(this.options.autoPanPaddingTopLeft||s),c=I(this.options.autoPanPaddingBottomRight||s),u=t.getSize(),l=0,h=0;r.x+i+c.x>u.x&&(l=r.x+i-u.x+c.x),r.x-l-a.x<0&&(l=r.x-a.x),r.y+n+c.y>u.y&&(h=r.y+n-u.y+c.y),r.y-h-a.y<0&&(h=r.y-a.y),(l||h)&&t.fire("autopanstart").panBy([l,h])}},_onCloseButtonClick:function(t){this._close(),He(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Si=function(t,e){return new ji(t,e)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(t,e,n){return t instanceof ji||(t=new ji(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Wn.include({bindPopup:function(t,e){return t instanceof ji?(f(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new ji(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(He(t),e instanceof Qn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Ci=Ti.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Ti.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Ti.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Ti.prototype.getEvents.call(this);return Pt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ue("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,o=this._container,r=i.latLngToContainerPoint(i.getCenter()),s=i.layerPointToContainerPoint(t),a=this.options.direction,c=o.offsetWidth,u=o.offsetHeight,l=I(this.options.offset),h=this._getAnchor();"top"===a?(e=c/2,n=u):"bottom"===a?(e=c/2,n=0):"center"===a?(e=c/2,n=u/2):"right"===a?(e=0,n=u/2):"left"===a?(e=c,n=u/2):s.xthis.options.maxZoom||ni&&this._retainParent(o,r,s,i))},_retainChildren:function(t,e,n,i){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=new z(o,r);s.z=n+1;var a=this._tileCoordsToKey(s),c=this._tiles[a];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(t,n);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var f=new z(d,h);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:s.push(f)}}if(s.sort((function(t,e){return t.distanceTo(r)-e.distanceTo(r)})),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var _=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return N(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),o=i.add(n),r=e.unproject(i,t.z),s=e.unproject(o,t.z);return[r,s]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new R(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new z(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(le(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){_e(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,tt&&this.options.opacity<1&&ye(t,this.options.opacity),it&&!ot&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),i=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&T(o(this._tileReady,this,t,null,r)),Pe(r,n),this._tiles[i]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var i=this._tileCoordsToKey(t);n=this._tiles[i],n&&(n.loaded=+new Date,this._map._fadeAnimated?(ye(n.el,0),j(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(_e(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new z(this._wrapX?c(t.x,this._wrapX):t.x,this._wrapY?c(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Ai(t){return new zi(t)}var Ii=zi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,e=f(this,e),e.detectRetina&&Tt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),it||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return ze(n,"load",o(this._tileOnLoad,this,e,n)),ze(n,"error",o(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Tt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=i),e["-y"]=i}return m(this._url,n(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,n=this.options.zoomReverse,i=this.options.zoomOffset;return n&&(t=e-t),t+i},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=u,e.onerror=u,e.complete||(e.src=y,le(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return st||e.el.setAttribute("src",y),zi.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return zi.prototype._tileReady.call(this,t,e,n)}});function Bi(t,e){return new Ii(t,e)}var Zi=Ii.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=n({},this.defaultWmsParams);for(var o in e)o in this.options||(i[o]=e[o]);e=f(this,e);var r=e.detectRetina&&Tt?2:1,s=this.getTileSize();i.width=s.x*r,i.height=s.y*r,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Ii.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=Z(n.project(e[0]),n.project(e[1])),o=i.min,r=i.max,s=(this._wmsVersion>=1.3&&this._crs===Dn?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),a=Ii.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function Ri(t,e){return new Zi(t,e)}Ii.WMS=Zi,Bi.wms=Ri;var Ni=Wn.extend({options:{padding:.1,tolerance:0},initialize:function(t){f(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&_e(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=Le(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),s=this._map.project(t,e),a=s.subtract(r),c=o.multiplyBy(-n).add(i).add(o).subtract(a);vt?we(this._container,c,n):Pe(this._container,c)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Di=Ni.extend({getEvents:function(){var t=Ni.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ni.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ze(t,"mousemove",this._onMouseMove,this),ze(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ze(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){j(this._redrawRequest),delete this._ctx,le(this._container),Ie(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ni.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Tt?2:1;Pe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Tt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ni.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[s(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),o=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Ui={_initContainer:function(){this._container=ue("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ni.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Wi("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Wi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;le(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,o=t._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(e||(e=t._stroke=Wi("stroke")),o.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=v(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(o.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=Wi("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){de(t._container)},_bringToBack:function(t){fe(t._container)}},Hi=Mt?Wi:Y,Vi=Ni.extend({getEvents:function(){var t=Ni.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Hi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Hi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){le(this._container),Ie(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ni.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),Pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Hi("path");t.options.className&&_e(e,t.options.className),t.options.interactive&&_e(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){le(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i=Math.max(Math.round(t._radiusY),1)||n,o="a"+n+","+i+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+o+2*n+",0 "+o+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){de(t._path)},_bringToBack:function(t){fe(t._path)}});function Gi(t){return Ct||Mt?new Vi(t):null}Mt&&Vi.include(Ui),tn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Fi(t)||Gi(t)}});var qi=si.extend({initialize:function(t,e){si.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=N(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Ki(t,e){return new qi(t,e)}Vi.create=Hi,Vi.pointsToPath=J,ci.geometryToLayer=ui,ci.coordsToLatLng=hi,ci.coordsToLatLngs=di,ci.latLngToCoords=fi,ci.latLngsToCoords=pi,ci.getFeature=_i,ci.asFeature=mi,tn.mergeOptions({boxZoom:!0});var $i=fn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ze(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ie(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){le(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Qt(),Te(),this._startPoint=this._map.mouseEventToContainerPoint(t),ze(document,{contextmenu:He,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ue("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),n=e.getSize();Pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(le(this._box),me(this._container,"leaflet-crosshair")),te(),je(),Ie(document,{contextmenu:He,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});tn.addInitHook("addHandler","boxZoom",$i),tn.mergeOptions({doubleClickZoom:!0});var Yi=fn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,o=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});tn.addInitHook("addHandler","doubleClickZoom",Yi),tn.mergeOptions({dragging:!0,inertia:!ot,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ji=fn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new yn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}_e(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){me(this._map._container,"leaflet-grab"),me(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=N(this._map.options.maxBounds);this._offsetLimit=Z(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-e+n)%t+e-n,r=(i+e+n)%t-e-n,s=Math.abs(o+n)0?r:-r))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});tn.addInitHook("addHandler","scrollWheelZoom",Qi),tn.mergeOptions({tap:!0,tapTolerance:15});var to=fn.extend({addHooks:function(){ze(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ie(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ue(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new z(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&_e(n,"leaflet-active"),this._holdTimeout=setTimeout(o((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),ze(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ie(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&me(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new z(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!Pt||wt&&!lt||tn.addInitHook("addHandler","tap",to),tn.mergeOptions({touchZoom:Pt&&!ot,bounceAtZoomLimits:!0});var eo=fn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),ze(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){me(this._map._container,"leaflet-touch-zoom"),Ie(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ze(document,"touchmove",this._onTouchMove,this),ze(document,"touchend",this._onTouchEnd,this),Ue(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(i)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var s=n._add(i)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===s.x&&0===s.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),j(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=T(a,this,!0),Ue(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,j(this._animRequest),Ie(document,"touchmove",this._onTouchMove,this),Ie(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});tn.addInitHook("addHandler","touchZoom",eo),tn.BoxZoom=$i,tn.DoubleClickZoom=Yi,tn.Drag=Ji,tn.Keyboard=Xi,tn.ScrollWheelZoom=Qi,tn.Tap=to,tn.TouchZoom=eo,t.version=e,t.Control=nn,t.control=on,t.Browser=kt,t.Evented=k,t.Mixin=_n,t.Util=S,t.Class=C,t.Handler=fn,t.extend=n,t.bind=o,t.stamp=s,t.setOptions=f,t.DomEvent=Xe,t.DomUtil=ke,t.PosAnimation=Qe,t.Draggable=yn,t.LineUtil=zn,t.PolyUtil=In,t.Point=z,t.point=I,t.Bounds=B,t.bounds=Z,t.Transformation=G,t.transformation=q,t.Projection=Rn,t.LatLng=D,t.latLng=F,t.LatLngBounds=R,t.latLngBounds=N,t.CRS=W,t.GeoJSON=ci,t.geoJSON=gi,t.geoJson=yi,t.Layer=Wn,t.LayerGroup=Un,t.layerGroup=Hn,t.FeatureGroup=Vn,t.featureGroup=Gn,t.ImageOverlay=bi,t.imageOverlay=xi,t.VideoOverlay=wi,t.videoOverlay=Pi,t.SVGOverlay=Li,t.svgOverlay=Oi,t.DivOverlay=Ti,t.Popup=ji,t.popup=Si,t.Tooltip=Ci,t.tooltip=Mi,t.Icon=qn,t.icon=Kn,t.DivIcon=Ei,t.divIcon=ki,t.Marker=Jn,t.marker=Xn,t.TileLayer=Ii,t.tileLayer=Bi,t.GridLayer=zi,t.gridLayer=Ai,t.SVG=Vi,t.svg=Gi,t.Renderer=Ni,t.Canvas=Di,t.canvas=Fi,t.Path=Qn,t.CircleMarker=ti,t.circleMarker=ei,t.Circle=ni,t.circle=ii,t.Polyline=oi,t.polyline=ri,t.Polygon=si,t.polygon=ai,t.Rectangle=qi,t.rectangle=Ki,t.Map=tn,t.map=en;var no=window.L;t.noConflict=function(){return window.L=no,this},window.L=t}))},e163:function(t,e,n){var i=n("5135"),o=n("7b0b"),r=n("f772"),s=n("e177"),a=r("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=o(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),o=n("44d2"),r=n("3f8c"),s=n("69f3"),a=n("7dd0"),c="Array Iterator",u=s.set,l=s.getterFor(c);t.exports=a(Array,"Array",(function(t,e){u(this,{type:c,target:i(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,n){var i=n("6eeb");t.exports=function(t,e,n){for(var o in e)i(t,o,e[o],n);return t}},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var i,o,r,s,a=n("23e7"),c=n("c430"),u=n("da84"),l=n("d066"),h=n("fea9"),d=n("6eeb"),f=n("e2cc"),p=n("d2bb"),_=n("d44e"),m=n("2626"),v=n("861d"),g=n("1c0b"),y=n("19aa"),b=n("8925"),x=n("2266"),w=n("1c7e"),P=n("4840"),L=n("2cf4").set,O=n("b575"),T=n("cdf9"),j=n("44de"),S=n("f069"),C=n("e667"),M=n("69f3"),E=n("94ca"),k=n("b622"),z=n("6069"),A=n("605d"),I=n("2d00"),B=k("species"),Z="Promise",R=M.get,N=M.set,D=M.getterFor(Z),F=h&&h.prototype,W=h,U=F,H=u.TypeError,V=u.document,G=u.process,q=S.f,K=q,$=!!(V&&V.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X="rejectionhandled",Q=0,tt=1,et=2,nt=1,it=2,ot=!1,rt=E(Z,(function(){var t=b(W),e=t!==String(W);if(!e&&66===I)return!0;if(c&&!U["finally"])return!0;if(I>=51&&/native code/.test(t))return!1;var n=new W((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))},o=n.constructor={};return o[B]=i,ot=n.then((function(){}))instanceof i,!ot||!e&&z&&!Y})),st=rt||!w((function(t){W.all(t)["catch"]((function(){}))})),at=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},ct=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){var i=t.value,o=t.state==tt,r=0;while(n.length>r){var s,a,c,u=n[r++],l=o?u.ok:u.fail,h=u.resolve,d=u.reject,f=u.domain;try{l?(o||(t.rejection===it&&dt(t),t.rejection=nt),!0===l?s=i:(f&&f.enter(),s=l(i),f&&(f.exit(),c=!0)),s===u.promise?d(H("Promise-chain cycle")):(a=at(s))?a.call(s,h,d):h(s)):d(i)}catch(p){f&&!c&&f.exit(),d(p)}}t.reactions=[],t.notified=!1,e&&!t.rejection&<(t)}))}},ut=function(t,e,n){var i,o;$?(i=V.createEvent("Event"),i.promise=e,i.reason=n,i.initEvent(t,!1,!0),u.dispatchEvent(i)):i={promise:e,reason:n},!Y&&(o=u["on"+t])?o(i):t===J&&j("Unhandled promise rejection",n)},lt=function(t){L.call(u,(function(){var e,n=t.facade,i=t.value,o=ht(t);if(o&&(e=C((function(){A?G.emit("unhandledRejection",i,n):ut(J,n,i)})),t.rejection=A||ht(t)?it:nt,e.error))throw e.value}))},ht=function(t){return t.rejection!==nt&&!t.parent},dt=function(t){L.call(u,(function(){var e=t.facade;A?G.emit("rejectionHandled",e):ut(X,e,t.value)}))},ft=function(t,e,n){return function(i){t(e,i,n)}},pt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=et,ct(t,!0))},_t=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw H("Promise can't be resolved itself");var i=at(e);i?O((function(){var n={done:!1};try{i.call(e,ft(_t,n,t),ft(pt,n,t))}catch(o){pt(n,o,t)}})):(t.value=e,t.state=tt,ct(t,!1))}catch(o){pt({done:!1},o,t)}}};if(rt&&(W=function(t){y(this,W,Z),g(t),i.call(this);var e=R(this);try{t(ft(_t,e),ft(pt,e))}catch(n){pt(e,n)}},U=W.prototype,i=function(t){N(this,{type:Z,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Q,value:void 0})},i.prototype=f(U,{then:function(t,e){var n=D(this),i=q(P(this,W));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=A?G.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=Q&&ct(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i,e=R(t);this.promise=t,this.resolve=ft(_t,e),this.reject=ft(pt,e)},S.f=q=function(t){return t===W||t===r?new o(t):K(t)},!c&&"function"==typeof h&&F!==Object.prototype)){s=F.then,ot||(d(F,"then",(function(t,e){var n=this;return new W((function(t,e){s.call(n,t,e)})).then(t,e)}),{unsafe:!0}),d(F,"catch",U["catch"],{unsafe:!0}));try{delete F.constructor}catch(mt){}p&&p(F,U)}a({global:!0,wrap:!0,forced:rt},{Promise:W}),_(W,Z,!1,!0),m(Z),r=l(Z),a({target:Z,stat:!0,forced:rt},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),a({target:Z,stat:!0,forced:c||rt},{resolve:function(t){return T(c&&this===r?W:this,t)}}),a({target:Z,stat:!0,forced:st},{all:function(t){var e=this,n=q(e),i=n.resolve,o=n.reject,r=C((function(){var n=g(e.resolve),r=[],s=0,a=1;x(t,(function(t){var c=s++,u=!1;r.push(void 0),a++,n.call(e,t).then((function(t){u||(u=!0,r[c]=t,--a||i(r))}),o)})),--a||i(r)}));return r.error&&o(r.value),n.promise},race:function(t){var e=this,n=q(e),i=n.reject,o=C((function(){var o=g(e.resolve);x(t,(function(t){o.call(e,t).then(n.resolve,i)}))}));return o.error&&i(o.value),n.promise}})},e893:function(t,e,n){var i=n("5135"),o=n("56ef"),r=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=o(e),a=s.f,c=r.f,u=0;u0?Math.floor(t):Math.ceil(t)};function I(t,e,n){return t instanceof z?t:v(t)?new z(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new z(t.x,t.y):new z(t,e,n)}function B(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=Z(t);var e=this.min,n=this.max,i=t.min,o=t.max,r=o.x>=e.x&&i.x<=n.x,s=o.y>=e.y&&i.y<=n.y;return r&&s},overlaps:function(t){t=Z(t);var e=this.min,n=this.max,i=t.min,o=t.max,r=o.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=o.lat&&e.lng>=i.lng&&n.lng<=o.lng},intersects:function(t){t=N(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>=e.lat&&i.lat<=n.lat,s=o.lng>=e.lng&&i.lng<=n.lng;return r&&s},overlaps:function(t){t=N(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=t.getNorthEast(),r=o.lat>e.lat&&i.late.lng&&i.lng1,jt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(n){}return t}(),St=function(){return!!document.createElement("canvas").getContext}(),Ct=!(!document.createElementNS||!Y("svg").createSVGRect),Mt=!Ct&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}();function Et(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var kt={ie:Q,ielt9:tt,edge:et,webkit:nt,android:it,android23:ot,androidStock:st,opera:at,chrome:ct,gecko:ut,safari:lt,phantom:ht,opera12:dt,win:ft,ie3d:pt,webkit3d:_t,gecko3d:mt,any3d:vt,mobile:gt,mobileWebkit:yt,mobileWebkit3d:bt,msPointer:xt,pointer:wt,touch:Pt,mobileOpera:Lt,mobileGecko:Ot,retina:Tt,passiveEvents:jt,canvas:St,svg:Ct,vml:Mt},zt=xt?"MSPointerDown":"pointerdown",At=xt?"MSPointerMove":"pointermove",It=xt?"MSPointerUp":"pointerup",Bt=xt?"MSPointerCancel":"pointercancel",Zt={},Rt=!1;function Nt(t,e,n,i){return"touchstart"===e?Ft(t,n,i):"touchmove"===e?qt(t,n,i):"touchend"===e&&Gt(t,n,i),this}function Dt(t,e,n){var i=t["_leaflet_"+e+n];return"touchstart"===e?t.removeEventListener(zt,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(It,i,!1),t.removeEventListener(Bt,i,!1)),this}function Ft(t,e,n){var i=o((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ue(t),Vt(t,e)}));t["_leaflet_touchstart"+n]=i,t.addEventListener(zt,i,!1),Rt||(document.addEventListener(zt,Wt,!0),document.addEventListener(At,Ut,!0),document.addEventListener(It,Ht,!0),document.addEventListener(Bt,Ht,!0),Rt=!0)}function Wt(t){Zt[t.pointerId]=t}function Ut(t){Zt[t.pointerId]&&(Zt[t.pointerId]=t)}function Ht(t){delete Zt[t.pointerId]}function Vt(t,e){for(var n in t.touches=[],Zt)t.touches.push(Zt[n]);t.changedTouches=[t],e(t)}function qt(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Vt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}function Gt(t,e,n){var i=function(t){Vt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(It,i,!1),t.addEventListener(Bt,i,!1)}var Kt=xt?"MSPointerDown":wt?"pointerdown":"touchstart",$t=xt?"MSPointerUp":wt?"pointerup":"touchend",Yt="_leaflet_";function Jt(t,e,n){var i,o,r=!1,s=250;function a(t){if(wt){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(i||e);o=t.touches?t.touches[0]:t,r=n>0&&n<=s,i=e}function c(t){if(r&&!o.cancelBubble){if(wt){if("mouse"===t.pointerType)return;var n,s,a={};for(s in o)n=o[s],a[s]=n&&n.bind?n.bind(o):n;o=a}o.type="dblclick",o.button=0,e(o),i=null}}return t[Yt+Kt+n]=a,t[Yt+$t+n]=c,t[Yt+"dblclick"+n]=e,t.addEventListener(Kt,a,!!jt&&{passive:!1}),t.addEventListener($t,c,!!jt&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function Xt(t,e){var n=t[Yt+Kt+e],i=t[Yt+$t+e],o=t[Yt+"dblclick"+e];return t.removeEventListener(Kt,n,!!jt&&{passive:!1}),t.removeEventListener($t,i,!!jt&&{passive:!1}),t.removeEventListener("dblclick",o,!1),this}var Qt,te,ee,ne,ie,oe=xe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),re=xe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),se="webkitTransition"===re||"OTransition"===re?re+"End":"transitionend";function ae(t){return"string"===typeof t?document.getElementById(t):t}function ce(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ue(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function le(t){var e=t.parentNode;e&&e.removeChild(t)}function he(t){while(t.firstChild)t.removeChild(t.firstChild)}function de(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function fe(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function pe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ge(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function _e(t,e){if(void 0!==t.classList)for(var n=d(e),i=0,o=n.length;ithis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,N(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var n=I(e.paddingTopLeft||e.padding||[0,0]),i=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),r=this.project(o),s=this.project(t),a=this.getPixelBounds(),c=a.getSize().divideBy(2),u=Z([a.min.add(n),a.max.subtract(i)]);if(!u.contains(s)){this._enforcingBounds=!0;var l=r.subtract(s),h=I(s.x+l.x,s.y+l.y);(s.xu.max.x)&&(h.x=r.x-l.x,l.x>0?h.x+=c.x-n.x:h.x-=c.x-i.x),(s.yu.max.y)&&(h.y=r.y-l.y,l.y>0?h.y+=c.y-n.y:h.y-=c.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),r=e.divideBy(2).round(),s=i.divideBy(2).round(),a=r.subtract(s);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),i=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,n=t.coords.longitude,i=new D(e,n),o=i.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var s=this.getBoundsZoom(o);this.setView(i,r.maxZoom?Math.min(s,r.maxZoom):s)}var a={latlng:i,bounds:o,timestamp:t.timestamp};for(var c in t.coords)"number"===typeof t.coords[c]&&(a[c]=t.coords[c]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),le(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(j(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)le(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i=ue("div",n,e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new R(e,n)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=N(t),n=I(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),r=this.getMaxZoom(),s=t.getNorthWest(),a=t.getSouthEast(),c=this.getSize().subtract(n),u=Z(this.project(a,i),this.project(s,i)).getSize(),l=vt?this.options.zoomSnap:1,h=c.x/u.x,d=c.y/u.y,f=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(f,i),l&&(i=Math.round(i/(l/100))*(l/100),i=e?Math.ceil(i/l)*l:Math.floor(i/l)*l),Math.max(o,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new B(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(F(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(N(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return Ve(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ae(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");ze(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,_e(t,"leaflet-container"+(Pt?" leaflet-touch":"")+(Tt?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ce(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Pe(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(_e(t.markerPane,"leaflet-zoom-hide"),_e(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){Pe(this._mapPane,new z(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return j(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[s(this._container)]=this;var e=t?Ie:ze;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){j(this._resizeRequest),this._resizeRequest=T((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var n,i=[],o="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;while(r){if(n=this._targets[s(r)],n&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(e,!0)){if(o&&!Je(r,t))break;if(i.push(n),o)break}if(r===this._container)break;r=r.parentNode}return i.length||a||o||!Je(r,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ye(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Se(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if("click"===t.type){var o=n({},t);o.type="preclick",this._fireDOMEvent(o,o.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e)),i.length)){var r=i[0];"contextmenu"===e&&r.listens(e,!0)&&Ue(t);var s={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var a=r.getLatLng&&(!r._radius||r._radius<=10);s.containerPoint=a?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(t),s.layerPoint=this.containerPointToLayerPoint(s.containerPoint),s.latlng=a?r.getLatLng():this.layerPointToLatLng(s.layerPoint)}for(var c=0;c0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=vt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){me(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=ue("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=oe,n=this._proxy.style[e];we(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){le(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();we(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(o))&&(T((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,i){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,_e(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:i}),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&me(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),T((function(){this._moveEnd(!0)}),this))}});function en(t,e){return new tn(t,e)}var nn=C.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return _e(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(le(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),on=function(t){return new nn(t)};tn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ue("div",e+"control-container",this._container);function i(i,o){var r=e+i+" "+e+o;t[i+o]=ue("div",r,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)le(this._controlCorners[t]);le(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var rn=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(e),e.layerId=s(t.layer),ze(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var r=document.createElement("div");n.appendChild(r),r.appendChild(e),r.appendChild(o);var a=t.overlay?this._overlaysList:this._baseLayersList;return a.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||o.push(e);for(r=0;r=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),sn=function(t,e,n){return new rn(t,e,n)},an=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ue("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,o){var r=ue("a",n,i);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),We(r),ze(r,"click",He),ze(r,"click",o,this),ze(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";me(this._zoomInButton,e),me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&_e(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&_e(this._zoomInButton,e)}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new an,this.addControl(this.zoomControl))}));var cn=function(t){return new an(t)},un=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=ue("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ue("div",e,n)),t.imperial&&(this._iScale=ue("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,o=3.2808399*t;o>5280?(e=o/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(o),this._updateScale(this._iScale,i+" ft",i/o))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),ln=function(t){return new un(t)},hn=nn.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ue("div","leaflet-control-attribution"),We(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook((function(){this.options.attributionControl&&(new hn).addTo(this)}));var dn=function(t){return new hn(t)};nn.Layers=rn,nn.Zoom=an,nn.Scale=un,nn.Attribution=hn,on.layers=sn,on.zoom=cn,on.scale=ln,on.attribution=dn;var fn=C.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});fn.addTo=function(t,e){return t.addHandler(e,this),this};var pn,_n={Events:E},mn=Pt?"touchstart mousedown":"mousedown",vn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},gn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},yn=k.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){f(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(ze(this._dragStartTarget,mn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(yn._dragging===this&&this.finishDrag(),Ie(this._dragStartTarget,mn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!pe(this._element,"leaflet-zoom-anim")&&!(yn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(yn._dragging=this,this._preventOutline&&Se(this._element),Te(),Qt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Me(this._element);this._startPoint=new z(e.clientX,e.clientY),this._parentScale=Ee(n),ze(document,gn[t.type],this._onMove,this),ze(document,vn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new z(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)c&&(r=s,c=a);c>n&&(e[r]=1,Ln(t,e,n,i,r),Ln(t,e,n,r,o))}function On(t,e){for(var n=[t[0]],i=1,o=0,r=t.length;ie&&(n.push(t[i]),o=i);return oe.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function Cn(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}function Mn(t,e,n,i){var o,r=e.x,s=e.y,a=n.x-r,c=n.y-s,u=a*a+c*c;return u>0&&(o=((t.x-r)*a+(t.y-s)*c)/u,o>1?(r=n.x,s=n.y):o>0&&(r+=a*o,s+=c*o)),a=t.x-r,c=t.y-s,i?a*a+c*c:new z(r,s)}function En(t){return!v(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function kn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),En(t)}var zn={simplify:bn,pointToSegmentDistance:xn,closestPointOnSegment:wn,clipSegment:Tn,_getEdgeIntersection:jn,_getBitCode:Sn,_sqClosestPointOnSegment:Mn,isFlat:En,_flat:kn};function An(t,e,n){var i,o,r,s,a,c,u,l,h,d=[1,4,2,8];for(o=0,u=t.length;o1e-7;c++)e=r*Math.sin(a),e=Math.pow((1-e)/(1+e),r/2),u=Math.PI/2-2*Math.atan(s*e)-a,a+=u;return new D(a*n,t.x*n/i)}},Rn={LonLat:Bn,Mercator:Zn,SphericalMercator:V},Nn=n({},U,{code:"EPSG:3395",projection:Zn,transformation:function(){var t=.5/(Math.PI*Zn.R);return G(t,.5,-t,.5)}()}),Dn=n({},U,{code:"EPSG:4326",projection:Bn,transformation:G(1/180,1,-1/180,.5)}),Fn=n({},W,{projection:Bn,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});W.Earth=U,W.EPSG3395=Nn,W.EPSG3857=K,W.EPSG900913=$,W.EPSG4326=Dn,W.Simple=Fn;var Wn=k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&s(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){t=t?v(t)?t:[t]:[];for(var e=0,n=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return s=(i-e)/n,this._map.layerPointToLatLng([r.x-s*(r.x-o.x),r.y-s*(r.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return En(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=En(t),i=0,o=t.length;i=2&&e[0]instanceof D&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){oi.prototype._setLatLngs.call(this,t),En(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return En(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new z(e,e);if(t=new B(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,o=0,r=this._rings.length;ot.y!==i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||oi.prototype._containsPoint.call(this,t,!0)}});function ai(t,e){return new si(t,e)}var ci=Vn.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,o=v(t)?t:t.features;if(o){for(e=0,n=o.length;e0?i:[e.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var s=0;so?(e.height=o+"px",_e(t,r)):me(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();Pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ce(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,o=new z(this._containerLeft,-n-this._containerBottom);o._add(Le(this._container));var r=t.layerPointToContainerPoint(o),s=I(this.options.autoPanPadding),a=I(this.options.autoPanPaddingTopLeft||s),c=I(this.options.autoPanPaddingBottomRight||s),u=t.getSize(),l=0,h=0;r.x+i+c.x>u.x&&(l=r.x+i-u.x+c.x),r.x-l-a.x<0&&(l=r.x-a.x),r.y+n+c.y>u.y&&(h=r.y+n-u.y+c.y),r.y-h-a.y<0&&(h=r.y-a.y),(l||h)&&t.fire("autopanstart").panBy([l,h])}},_onCloseButtonClick:function(t){this._close(),He(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Si=function(t,e){return new ji(t,e)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(t,e,n){return t instanceof ji||(t=new ji(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Wn.include({bindPopup:function(t,e){return t instanceof ji?(f(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new ji(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(He(t),e instanceof Qn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Ci=Ti.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Ti.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Ti.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Ti.prototype.getEvents.call(this);return Pt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ue("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,o=this._container,r=i.latLngToContainerPoint(i.getCenter()),s=i.layerPointToContainerPoint(t),a=this.options.direction,c=o.offsetWidth,u=o.offsetHeight,l=I(this.options.offset),h=this._getAnchor();"top"===a?(e=c/2,n=u):"bottom"===a?(e=c/2,n=0):"center"===a?(e=c/2,n=u/2):"right"===a?(e=0,n=u/2):"left"===a?(e=c,n=u/2):s.xthis.options.maxZoom||ni&&this._retainParent(o,r,s,i))},_retainChildren:function(t,e,n,i){for(var o=2*t;o<2*t+2;o++)for(var r=2*e;r<2*e+2;r++){var s=new z(o,r);s.z=n+1;var a=this._tileCoordsToKey(s),c=this._tiles[a];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(t,n);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var f=new z(d,h);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:s.push(f)}}if(s.sort((function(t,e){return t.distanceTo(r)-e.distanceTo(r)})),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var _=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return N(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),o=i.add(n),r=e.unproject(i,t.z),s=e.unproject(o,t.z);return[r,s]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new R(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new z(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(le(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){_e(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,tt&&this.options.opacity<1&&ye(t,this.options.opacity),it&&!ot&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),i=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&T(o(this._tileReady,this,t,null,r)),Pe(r,n),this._tiles[i]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var i=this._tileCoordsToKey(t);n=this._tiles[i],n&&(n.loaded=+new Date,this._map._fadeAnimated?(ye(n.el,0),j(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(_e(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new z(this._wrapX?c(t.x,this._wrapX):t.x,this._wrapY?c(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Ai(t){return new zi(t)}var Ii=zi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,e=f(this,e),e.detectRetina&&Tt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),it||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return ze(n,"load",o(this._tileOnLoad,this,e,n)),ze(n,"error",o(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Tt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=i),e["-y"]=i}return m(this._url,n(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,n=this.options.zoomReverse,i=this.options.zoomOffset;return n&&(t=e-t),t+i},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=u,e.onerror=u,e.complete||(e.src=y,le(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return st||e.el.setAttribute("src",y),zi.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return zi.prototype._tileReady.call(this,t,e,n)}});function Bi(t,e){return new Ii(t,e)}var Zi=Ii.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=n({},this.defaultWmsParams);for(var o in e)o in this.options||(i[o]=e[o]);e=f(this,e);var r=e.detectRetina&&Tt?2:1,s=this.getTileSize();i.width=s.x*r,i.height=s.y*r,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Ii.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=Z(n.project(e[0]),n.project(e[1])),o=i.min,r=i.max,s=(this._wmsVersion>=1.3&&this._crs===Dn?[o.y,o.x,r.y,r.x]:[o.x,o.y,r.x,r.y]).join(","),a=Ii.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function Ri(t,e){return new Zi(t,e)}Ii.WMS=Zi,Bi.wms=Ri;var Ni=Wn.extend({options:{padding:.1,tolerance:0},initialize:function(t){f(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&_e(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=Le(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),s=this._map.project(t,e),a=s.subtract(r),c=o.multiplyBy(-n).add(i).add(o).subtract(a);vt?we(this._container,c,n):Pe(this._container,c)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Di=Ni.extend({getEvents:function(){var t=Ni.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ni.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ze(t,"mousemove",this._onMouseMove,this),ze(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ze(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){j(this._redrawRequest),delete this._ctx,le(this._container),Ie(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ni.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Tt?2:1;Pe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Tt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Ni.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[s(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),o=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Ui={_initContainer:function(){this._container=ue("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ni.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Wi("shape");_e(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Wi("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;le(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,o=t._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(e||(e=t._stroke=Wi("stroke")),o.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=v(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(o.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=Wi("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){de(t._container)},_bringToBack:function(t){fe(t._container)}},Hi=Mt?Wi:Y,Vi=Ni.extend({getEvents:function(){var t=Ni.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Hi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Hi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){le(this._container),Ie(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){Ni.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),Pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Hi("path");t.options.className&&_e(e,t.options.className),t.options.interactive&&_e(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){le(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i=Math.max(Math.round(t._radiusY),1)||n,o="a"+n+","+i+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+o+2*n+",0 "+o+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){de(t._path)},_bringToBack:function(t){fe(t._path)}});function qi(t){return Ct||Mt?new Vi(t):null}Mt&&Vi.include(Ui),tn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Fi(t)||qi(t)}});var Gi=si.extend({initialize:function(t,e){si.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=N(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Ki(t,e){return new Gi(t,e)}Vi.create=Hi,Vi.pointsToPath=J,ci.geometryToLayer=ui,ci.coordsToLatLng=hi,ci.coordsToLatLngs=di,ci.latLngToCoords=fi,ci.latLngsToCoords=pi,ci.getFeature=_i,ci.asFeature=mi,tn.mergeOptions({boxZoom:!0});var $i=fn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ze(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ie(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){le(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Qt(),Te(),this._startPoint=this._map.mouseEventToContainerPoint(t),ze(document,{contextmenu:He,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ue("div","leaflet-zoom-box",this._container),_e(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),n=e.getSize();Pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(le(this._box),me(this._container,"leaflet-crosshair")),te(),je(),Ie(document,{contextmenu:He,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});tn.addInitHook("addHandler","boxZoom",$i),tn.mergeOptions({doubleClickZoom:!0});var Yi=fn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,o=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});tn.addInitHook("addHandler","doubleClickZoom",Yi),tn.mergeOptions({dragging:!0,inertia:!ot,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ji=fn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new yn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}_e(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){me(this._map._container,"leaflet-grab"),me(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=N(this._map.options.maxBounds);this._offsetLimit=Z(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-e+n)%t+e-n,r=(i+e+n)%t-e-n,s=Math.abs(o+n)0?r:-r))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});tn.addInitHook("addHandler","scrollWheelZoom",Qi),tn.mergeOptions({tap:!0,tapTolerance:15});var to=fn.extend({addHooks:function(){ze(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ie(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ue(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new z(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&_e(n,"leaflet-active"),this._holdTimeout=setTimeout(o((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),ze(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ie(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&me(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new z(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!Pt||wt&&!lt||tn.addInitHook("addHandler","tap",to),tn.mergeOptions({touchZoom:Pt&&!ot,bounceAtZoomLimits:!0});var eo=fn.extend({addHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),ze(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){me(this._map._container,"leaflet-touch-zoom"),Ie(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ze(document,"touchmove",this._onTouchMove,this),ze(document,"touchend",this._onTouchEnd,this),Ue(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(i)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var s=n._add(i)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===s.x&&0===s.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),j(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=T(a,this,!0),Ue(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,j(this._animRequest),Ie(document,"touchmove",this._onTouchMove,this),Ie(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});tn.addInitHook("addHandler","touchZoom",eo),tn.BoxZoom=$i,tn.DoubleClickZoom=Yi,tn.Drag=Ji,tn.Keyboard=Xi,tn.ScrollWheelZoom=Qi,tn.Tap=to,tn.TouchZoom=eo,t.version=e,t.Control=nn,t.control=on,t.Browser=kt,t.Evented=k,t.Mixin=_n,t.Util=S,t.Class=C,t.Handler=fn,t.extend=n,t.bind=o,t.stamp=s,t.setOptions=f,t.DomEvent=Xe,t.DomUtil=ke,t.PosAnimation=Qe,t.Draggable=yn,t.LineUtil=zn,t.PolyUtil=In,t.Point=z,t.point=I,t.Bounds=B,t.bounds=Z,t.Transformation=q,t.transformation=G,t.Projection=Rn,t.LatLng=D,t.latLng=F,t.LatLngBounds=R,t.latLngBounds=N,t.CRS=W,t.GeoJSON=ci,t.geoJSON=gi,t.geoJson=yi,t.Layer=Wn,t.LayerGroup=Un,t.layerGroup=Hn,t.FeatureGroup=Vn,t.featureGroup=qn,t.ImageOverlay=bi,t.imageOverlay=xi,t.VideoOverlay=wi,t.videoOverlay=Pi,t.SVGOverlay=Li,t.svgOverlay=Oi,t.DivOverlay=Ti,t.Popup=ji,t.popup=Si,t.Tooltip=Ci,t.tooltip=Mi,t.Icon=Gn,t.icon=Kn,t.DivIcon=Ei,t.divIcon=ki,t.Marker=Jn,t.marker=Xn,t.TileLayer=Ii,t.tileLayer=Bi,t.GridLayer=zi,t.gridLayer=Ai,t.SVG=Vi,t.svg=qi,t.Renderer=Ni,t.Canvas=Di,t.canvas=Fi,t.Path=Qn,t.CircleMarker=ti,t.circleMarker=ei,t.Circle=ni,t.circle=ii,t.Polyline=oi,t.polyline=ri,t.Polygon=si,t.polygon=ai,t.Rectangle=Gi,t.rectangle=Ki,t.Map=tn,t.map=en;var no=window.L;t.noConflict=function(){return window.L=no,this},window.L=t}))},e163:function(t,e,n){var i=n("5135"),o=n("7b0b"),r=n("f772"),s=n("e177"),a=r("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=o(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),o=n("44d2"),r=n("3f8c"),s=n("69f3"),a=n("7dd0"),c="Array Iterator",u=s.set,l=s.getterFor(c);t.exports=a(Array,"Array",(function(t,e){u(this,{type:c,target:i(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,n){var i=n("6eeb");t.exports=function(t,e,n){for(var o in e)i(t,o,e[o],n);return t}},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var i,o,r,s,a=n("23e7"),c=n("c430"),u=n("da84"),l=n("d066"),h=n("fea9"),d=n("6eeb"),f=n("e2cc"),p=n("d2bb"),_=n("d44e"),m=n("2626"),v=n("861d"),g=n("1c0b"),y=n("19aa"),b=n("8925"),x=n("2266"),w=n("1c7e"),P=n("4840"),L=n("2cf4").set,O=n("b575"),T=n("cdf9"),j=n("44de"),S=n("f069"),C=n("e667"),M=n("69f3"),E=n("94ca"),k=n("b622"),z=n("6069"),A=n("605d"),I=n("2d00"),B=k("species"),Z="Promise",R=M.get,N=M.set,D=M.getterFor(Z),F=h&&h.prototype,W=h,U=F,H=u.TypeError,V=u.document,q=u.process,G=S.f,K=G,$=!!(V&&V.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X="rejectionhandled",Q=0,tt=1,et=2,nt=1,it=2,ot=!1,rt=E(Z,(function(){var t=b(W),e=t!==String(W);if(!e&&66===I)return!0;if(c&&!U["finally"])return!0;if(I>=51&&/native code/.test(t))return!1;var n=new W((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))},o=n.constructor={};return o[B]=i,ot=n.then((function(){}))instanceof i,!ot||!e&&z&&!Y})),st=rt||!w((function(t){W.all(t)["catch"]((function(){}))})),at=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},ct=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;O((function(){var i=t.value,o=t.state==tt,r=0;while(n.length>r){var s,a,c,u=n[r++],l=o?u.ok:u.fail,h=u.resolve,d=u.reject,f=u.domain;try{l?(o||(t.rejection===it&&dt(t),t.rejection=nt),!0===l?s=i:(f&&f.enter(),s=l(i),f&&(f.exit(),c=!0)),s===u.promise?d(H("Promise-chain cycle")):(a=at(s))?a.call(s,h,d):h(s)):d(i)}catch(p){f&&!c&&f.exit(),d(p)}}t.reactions=[],t.notified=!1,e&&!t.rejection&<(t)}))}},ut=function(t,e,n){var i,o;$?(i=V.createEvent("Event"),i.promise=e,i.reason=n,i.initEvent(t,!1,!0),u.dispatchEvent(i)):i={promise:e,reason:n},!Y&&(o=u["on"+t])?o(i):t===J&&j("Unhandled promise rejection",n)},lt=function(t){L.call(u,(function(){var e,n=t.facade,i=t.value,o=ht(t);if(o&&(e=C((function(){A?q.emit("unhandledRejection",i,n):ut(J,n,i)})),t.rejection=A||ht(t)?it:nt,e.error))throw e.value}))},ht=function(t){return t.rejection!==nt&&!t.parent},dt=function(t){L.call(u,(function(){var e=t.facade;A?q.emit("rejectionHandled",e):ut(X,e,t.value)}))},ft=function(t,e,n){return function(i){t(e,i,n)}},pt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=et,ct(t,!0))},_t=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw H("Promise can't be resolved itself");var i=at(e);i?O((function(){var n={done:!1};try{i.call(e,ft(_t,n,t),ft(pt,n,t))}catch(o){pt(n,o,t)}})):(t.value=e,t.state=tt,ct(t,!1))}catch(o){pt({done:!1},o,t)}}};if(rt&&(W=function(t){y(this,W,Z),g(t),i.call(this);var e=R(this);try{t(ft(_t,e),ft(pt,e))}catch(n){pt(e,n)}},U=W.prototype,i=function(t){N(this,{type:Z,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Q,value:void 0})},i.prototype=f(U,{then:function(t,e){var n=D(this),i=G(P(this,W));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=A?q.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=Q&&ct(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i,e=R(t);this.promise=t,this.resolve=ft(_t,e),this.reject=ft(pt,e)},S.f=G=function(t){return t===W||t===r?new o(t):K(t)},!c&&"function"==typeof h&&F!==Object.prototype)){s=F.then,ot||(d(F,"then",(function(t,e){var n=this;return new W((function(t,e){s.call(n,t,e)})).then(t,e)}),{unsafe:!0}),d(F,"catch",U["catch"],{unsafe:!0}));try{delete F.constructor}catch(mt){}p&&p(F,U)}a({global:!0,wrap:!0,forced:rt},{Promise:W}),_(W,Z,!1,!0),m(Z),r=l(Z),a({target:Z,stat:!0,forced:rt},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),a({target:Z,stat:!0,forced:c||rt},{resolve:function(t){return T(c&&this===r?W:this,t)}}),a({target:Z,stat:!0,forced:st},{all:function(t){var e=this,n=G(e),i=n.resolve,o=n.reject,r=C((function(){var n=g(e.resolve),r=[],s=0,a=1;x(t,(function(t){var c=s++,u=!1;r.push(void 0),a++,n.call(e,t).then((function(t){u||(u=!0,r[c]=t,--a||i(r))}),o)})),--a||i(r)}));return r.error&&o(r.value),n.promise},race:function(t){var e=this,n=G(e),i=n.reject,o=C((function(){var o=g(e.resolve);x(t,(function(t){o.call(e,t).then(n.resolve,i)}))}));return o.error&&i(o.value),n.promise}})},e893:function(t,e,n){var i=n("5135"),o=n("56ef"),r=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=o(e),a=s.f,c=r.f,u=0;u]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var fails = require('./fails');\n\nmodule.exports = fails(function () {\n // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError\n var re = RegExp('(?b)', (typeof '').charAt(5));\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var res = maybeCallNative(internalSplit, this, string, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(this);\n var S = String(string);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar bind = require('../internals/function-bind-context');\nvar html = require('../internals/html');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar location = global.location;\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\n\nvar run = function (id) {\n // eslint-disable-next-line no-prototype-builtins -- safe\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(id + '', location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func -- spec requirement\n (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n typeof postMessage == 'function' &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] < 4 ? 1 : match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toObject = require('../internals/to-object');\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty.call(toObject(it), key);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n if (\n typeof replaceValue === 'string' &&\n replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&\n replaceValue.indexOf('$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, this, string, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(this);\n var S = String(string);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.15.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","module.exports = typeof window == 'object';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","import { EMPTY_OBJ, isArray, isMap, isIntegerKey, isSymbol, extend, hasOwn, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nconst targetMap = new WeakMap();\r\nconst effectStack = [];\r\nlet activeEffect;\r\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\r\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\r\nfunction isEffect(fn) {\r\n return fn && fn._isEffect === true;\r\n}\r\nfunction effect(fn, options = EMPTY_OBJ) {\r\n if (isEffect(fn)) {\r\n fn = fn.raw;\r\n }\r\n const effect = createReactiveEffect(fn, options);\r\n if (!options.lazy) {\r\n effect();\r\n }\r\n return effect;\r\n}\r\nfunction stop(effect) {\r\n if (effect.active) {\r\n cleanup(effect);\r\n if (effect.options.onStop) {\r\n effect.options.onStop();\r\n }\r\n effect.active = false;\r\n }\r\n}\r\nlet uid = 0;\r\nfunction createReactiveEffect(fn, options) {\r\n const effect = function reactiveEffect() {\r\n if (!effect.active) {\r\n return fn();\r\n }\r\n if (!effectStack.includes(effect)) {\r\n cleanup(effect);\r\n try {\r\n enableTracking();\r\n effectStack.push(effect);\r\n activeEffect = effect;\r\n return fn();\r\n }\r\n finally {\r\n effectStack.pop();\r\n resetTracking();\r\n activeEffect = effectStack[effectStack.length - 1];\r\n }\r\n }\r\n };\r\n effect.id = uid++;\r\n effect.allowRecurse = !!options.allowRecurse;\r\n effect._isEffect = true;\r\n effect.active = true;\r\n effect.raw = fn;\r\n effect.deps = [];\r\n effect.options = options;\r\n return effect;\r\n}\r\nfunction cleanup(effect) {\r\n const { deps } = effect;\r\n if (deps.length) {\r\n for (let i = 0; i < deps.length; i++) {\r\n deps[i].delete(effect);\r\n }\r\n deps.length = 0;\r\n }\r\n}\r\nlet shouldTrack = true;\r\nconst trackStack = [];\r\nfunction pauseTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = false;\r\n}\r\nfunction enableTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = true;\r\n}\r\nfunction resetTracking() {\r\n const last = trackStack.pop();\r\n shouldTrack = last === undefined ? true : last;\r\n}\r\nfunction track(target, type, key) {\r\n if (!shouldTrack || activeEffect === undefined) {\r\n return;\r\n }\r\n let depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n targetMap.set(target, (depsMap = new Map()));\r\n }\r\n let dep = depsMap.get(key);\r\n if (!dep) {\r\n depsMap.set(key, (dep = new Set()));\r\n }\r\n if (!dep.has(activeEffect)) {\r\n dep.add(activeEffect);\r\n activeEffect.deps.push(dep);\r\n if ((process.env.NODE_ENV !== 'production') && activeEffect.options.onTrack) {\r\n activeEffect.options.onTrack({\r\n effect: activeEffect,\r\n target,\r\n type,\r\n key\r\n });\r\n }\r\n }\r\n}\r\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\r\n const depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n // never been tracked\r\n return;\r\n }\r\n const effects = new Set();\r\n const add = (effectsToAdd) => {\r\n if (effectsToAdd) {\r\n effectsToAdd.forEach(effect => {\r\n if (effect !== activeEffect || effect.allowRecurse) {\r\n effects.add(effect);\r\n }\r\n });\r\n }\r\n };\r\n if (type === \"clear\" /* CLEAR */) {\r\n // collection being cleared\r\n // trigger all effects for target\r\n depsMap.forEach(add);\r\n }\r\n else if (key === 'length' && isArray(target)) {\r\n depsMap.forEach((dep, key) => {\r\n if (key === 'length' || key >= newValue) {\r\n add(dep);\r\n }\r\n });\r\n }\r\n else {\r\n // schedule runs for SET | ADD | DELETE\r\n if (key !== void 0) {\r\n add(depsMap.get(key));\r\n }\r\n // also run for iteration key on ADD | DELETE | Map.SET\r\n switch (type) {\r\n case \"add\" /* ADD */:\r\n if (!isArray(target)) {\r\n add(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n add(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n else if (isIntegerKey(key)) {\r\n // new index added to array -> length changes\r\n add(depsMap.get('length'));\r\n }\r\n break;\r\n case \"delete\" /* DELETE */:\r\n if (!isArray(target)) {\r\n add(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n add(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n break;\r\n case \"set\" /* SET */:\r\n if (isMap(target)) {\r\n add(depsMap.get(ITERATE_KEY));\r\n }\r\n break;\r\n }\r\n }\r\n const run = (effect) => {\r\n if ((process.env.NODE_ENV !== 'production') && effect.options.onTrigger) {\r\n effect.options.onTrigger({\r\n effect,\r\n target,\r\n key,\r\n type,\r\n newValue,\r\n oldValue,\r\n oldTarget\r\n });\r\n }\r\n if (effect.options.scheduler) {\r\n effect.options.scheduler(effect);\r\n }\r\n else {\r\n effect();\r\n }\r\n };\r\n effects.forEach(run);\r\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\r\nconst builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol)\r\n .map(key => Symbol[key])\r\n .filter(isSymbol));\r\nconst get = /*#__PURE__*/ createGetter();\r\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\r\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\r\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\r\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\r\nfunction createArrayInstrumentations() {\r\n const instrumentations = {};\r\n ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n const arr = toRaw(this);\r\n for (let i = 0, l = this.length; i < l; i++) {\r\n track(arr, \"get\" /* GET */, i + '');\r\n }\r\n // we run the method using the original args first (which may be reactive)\r\n const res = arr[key](...args);\r\n if (res === -1 || res === false) {\r\n // if that didn't work, run it again using raw values.\r\n return arr[key](...args.map(toRaw));\r\n }\r\n else {\r\n return res;\r\n }\r\n };\r\n });\r\n ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n pauseTracking();\r\n const res = toRaw(this)[key].apply(this, args);\r\n resetTracking();\r\n return res;\r\n };\r\n });\r\n return instrumentations;\r\n}\r\nfunction createGetter(isReadonly = false, shallow = false) {\r\n return function get(target, key, receiver) {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */ &&\r\n receiver ===\r\n (isReadonly\r\n ? shallow\r\n ? shallowReadonlyMap\r\n : readonlyMap\r\n : shallow\r\n ? shallowReactiveMap\r\n : reactiveMap).get(target)) {\r\n return target;\r\n }\r\n const targetIsArray = isArray(target);\r\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\r\n return Reflect.get(arrayInstrumentations, key, receiver);\r\n }\r\n const res = Reflect.get(target, key, receiver);\r\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\r\n return res;\r\n }\r\n if (!isReadonly) {\r\n track(target, \"get\" /* GET */, key);\r\n }\r\n if (shallow) {\r\n return res;\r\n }\r\n if (isRef(res)) {\r\n // ref unwrapping - does not apply for Array + integer key.\r\n const shouldUnwrap = !targetIsArray || !isIntegerKey(key);\r\n return shouldUnwrap ? res.value : res;\r\n }\r\n if (isObject(res)) {\r\n // Convert returned value into a proxy as well. we do the isObject check\r\n // here to avoid invalid value warning. Also need to lazy access readonly\r\n // and reactive here to avoid circular dependency.\r\n return isReadonly ? readonly(res) : reactive(res);\r\n }\r\n return res;\r\n };\r\n}\r\nconst set = /*#__PURE__*/ createSetter();\r\nconst shallowSet = /*#__PURE__*/ createSetter(true);\r\nfunction createSetter(shallow = false) {\r\n return function set(target, key, value, receiver) {\r\n let oldValue = target[key];\r\n if (!shallow) {\r\n value = toRaw(value);\r\n oldValue = toRaw(oldValue);\r\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n }\r\n const hadKey = isArray(target) && isIntegerKey(key)\r\n ? Number(key) < target.length\r\n : hasOwn(target, key);\r\n const result = Reflect.set(target, key, value, receiver);\r\n // don't trigger if target is something up in the prototype chain of original\r\n if (target === toRaw(receiver)) {\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n }\r\n return result;\r\n };\r\n}\r\nfunction deleteProperty(target, key) {\r\n const hadKey = hasOwn(target, key);\r\n const oldValue = target[key];\r\n const result = Reflect.deleteProperty(target, key);\r\n if (result && hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction has(target, key) {\r\n const result = Reflect.has(target, key);\r\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\r\n track(target, \"has\" /* HAS */, key);\r\n }\r\n return result;\r\n}\r\nfunction ownKeys(target) {\r\n track(target, \"iterate\" /* ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\r\n return Reflect.ownKeys(target);\r\n}\r\nconst mutableHandlers = {\r\n get,\r\n set,\r\n deleteProperty,\r\n has,\r\n ownKeys\r\n};\r\nconst readonlyHandlers = {\r\n get: readonlyGet,\r\n set(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n },\r\n deleteProperty(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n }\r\n};\r\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\r\n get: shallowGet,\r\n set: shallowSet\r\n});\r\n// Props handlers are special in the sense that it should not unwrap top-level\r\n// refs (in order to allow refs to be explicitly passed down), but should\r\n// retain the reactivity of the normal readonly object.\r\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\r\n get: shallowReadonlyGet\r\n});\n\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\r\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\r\nconst toShallow = (value) => value;\r\nconst getProto = (v) => Reflect.getPrototypeOf(v);\r\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\r\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\r\n // of the value\r\n target = target[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (key !== rawKey) {\r\n !isReadonly && track(rawTarget, \"get\" /* GET */, key);\r\n }\r\n !isReadonly && track(rawTarget, \"get\" /* GET */, rawKey);\r\n const { has } = getProto(rawTarget);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n if (has.call(rawTarget, key)) {\r\n return wrap(target.get(key));\r\n }\r\n else if (has.call(rawTarget, rawKey)) {\r\n return wrap(target.get(rawKey));\r\n }\r\n else if (target !== rawTarget) {\r\n // #3602 readonly(reactive(Map))\r\n // ensure that the nested reactive `Map` can do tracking for itself\r\n target.get(key);\r\n }\r\n}\r\nfunction has$1(key, isReadonly = false) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (key !== rawKey) {\r\n !isReadonly && track(rawTarget, \"has\" /* HAS */, key);\r\n }\r\n !isReadonly && track(rawTarget, \"has\" /* HAS */, rawKey);\r\n return key === rawKey\r\n ? target.has(key)\r\n : target.has(key) || target.has(rawKey);\r\n}\r\nfunction size(target, isReadonly = false) {\r\n target = target[\"__v_raw\" /* RAW */];\r\n !isReadonly && track(toRaw(target), \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return Reflect.get(target, 'size', target);\r\n}\r\nfunction add(value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const proto = getProto(target);\r\n const hadKey = proto.has.call(target, value);\r\n if (!hadKey) {\r\n target.add(value);\r\n trigger(target, \"add\" /* ADD */, value, value);\r\n }\r\n return this;\r\n}\r\nfunction set$1(key, value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get.call(target, key);\r\n target.set(key, value);\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n return this;\r\n}\r\nfunction deleteEntry(key) {\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get ? get.call(target, key) : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.delete(key);\r\n if (hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction clear() {\r\n const target = toRaw(this);\r\n const hadItems = target.size !== 0;\r\n const oldTarget = (process.env.NODE_ENV !== 'production')\r\n ? isMap(target)\r\n ? new Map(target)\r\n : new Set(target)\r\n : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.clear();\r\n if (hadItems) {\r\n trigger(target, \"clear\" /* CLEAR */, undefined, undefined, oldTarget);\r\n }\r\n return result;\r\n}\r\nfunction createForEach(isReadonly, isShallow) {\r\n return function forEach(callback, thisArg) {\r\n const observed = this;\r\n const target = observed[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly && track(rawTarget, \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return target.forEach((value, key) => {\r\n // important: make sure the callback is\r\n // 1. invoked with the reactive map as `this` and 3rd arg\r\n // 2. the value received should be a corresponding reactive/readonly.\r\n return callback.call(thisArg, wrap(value), wrap(key), observed);\r\n });\r\n };\r\n}\r\nfunction createIterableMethod(method, isReadonly, isShallow) {\r\n return function (...args) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const targetIsMap = isMap(rawTarget);\r\n const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\r\n const isKeyOnly = method === 'keys' && targetIsMap;\r\n const innerIterator = target[method](...args);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly &&\r\n track(rawTarget, \"iterate\" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\r\n // return a wrapped iterator which returns observed versions of the\r\n // values emitted from the real iterator\r\n return {\r\n // iterator protocol\r\n next() {\r\n const { value, done } = innerIterator.next();\r\n return done\r\n ? { value, done }\r\n : {\r\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\r\n done\r\n };\r\n },\r\n // iterable protocol\r\n [Symbol.iterator]() {\r\n return this;\r\n }\r\n };\r\n };\r\n}\r\nfunction createReadonlyMethod(type) {\r\n return function (...args) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\r\n console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\r\n }\r\n return type === \"delete\" /* DELETE */ ? false : this;\r\n };\r\n}\r\nfunction createInstrumentations() {\r\n const mutableInstrumentations = {\r\n get(key) {\r\n return get$1(this, key);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, false)\r\n };\r\n const shallowInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, false, true);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, true)\r\n };\r\n const readonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, false)\r\n };\r\n const shallowReadonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, true)\r\n };\r\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\r\n iteratorMethods.forEach(method => {\r\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\r\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\r\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\r\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\r\n });\r\n return [\r\n mutableInstrumentations,\r\n readonlyInstrumentations,\r\n shallowInstrumentations,\r\n shallowReadonlyInstrumentations\r\n ];\r\n}\r\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\r\nfunction createInstrumentationGetter(isReadonly, shallow) {\r\n const instrumentations = shallow\r\n ? isReadonly\r\n ? shallowReadonlyInstrumentations\r\n : shallowInstrumentations\r\n : isReadonly\r\n ? readonlyInstrumentations\r\n : mutableInstrumentations;\r\n return (target, key, receiver) => {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */) {\r\n return target;\r\n }\r\n return Reflect.get(hasOwn(instrumentations, key) && key in target\r\n ? instrumentations\r\n : target, key, receiver);\r\n };\r\n}\r\nconst mutableCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, false)\r\n};\r\nconst shallowCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, true)\r\n};\r\nconst readonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, false)\r\n};\r\nconst shallowReadonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, true)\r\n};\r\nfunction checkIdentityKeys(target, has, key) {\r\n const rawKey = toRaw(key);\r\n if (rawKey !== key && has.call(target, rawKey)) {\r\n const type = toRawType(target);\r\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\r\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\r\n `which can lead to inconsistencies. ` +\r\n `Avoid differentiating between the raw and reactive versions ` +\r\n `of an object and only use the reactive version if possible.`);\r\n }\r\n}\n\nconst reactiveMap = new WeakMap();\r\nconst shallowReactiveMap = new WeakMap();\r\nconst readonlyMap = new WeakMap();\r\nconst shallowReadonlyMap = new WeakMap();\r\nfunction targetTypeMap(rawType) {\r\n switch (rawType) {\r\n case 'Object':\r\n case 'Array':\r\n return 1 /* COMMON */;\r\n case 'Map':\r\n case 'Set':\r\n case 'WeakMap':\r\n case 'WeakSet':\r\n return 2 /* COLLECTION */;\r\n default:\r\n return 0 /* INVALID */;\r\n }\r\n}\r\nfunction getTargetType(value) {\r\n return value[\"__v_skip\" /* SKIP */] || !Object.isExtensible(value)\r\n ? 0 /* INVALID */\r\n : targetTypeMap(toRawType(value));\r\n}\r\nfunction reactive(target) {\r\n // if trying to observe a readonly proxy, return the readonly version.\r\n if (target && target[\"__v_isReadonly\" /* IS_READONLY */]) {\r\n return target;\r\n }\r\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\r\n}\r\n/**\r\n * Return a shallowly-reactive copy of the original object, where only the root\r\n * level properties are reactive. It also does not auto-unwrap refs (even at the\r\n * root level).\r\n */\r\nfunction shallowReactive(target) {\r\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\r\n}\r\n/**\r\n * Creates a readonly copy of the original object. Note the returned copy is not\r\n * made reactive, but `readonly` can be called on an already reactive object.\r\n */\r\nfunction readonly(target) {\r\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\r\n}\r\n/**\r\n * Returns a reactive-copy of the original object, where only the root level\r\n * properties are readonly, and does NOT unwrap refs nor recursively convert\r\n * returned properties.\r\n * This is used for creating the props proxy object for stateful components.\r\n */\r\nfunction shallowReadonly(target) {\r\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\r\n}\r\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\r\n if (!isObject(target)) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`value cannot be made reactive: ${String(target)}`);\r\n }\r\n return target;\r\n }\r\n // target is already a Proxy, return it.\r\n // exception: calling readonly() on a reactive object\r\n if (target[\"__v_raw\" /* RAW */] &&\r\n !(isReadonly && target[\"__v_isReactive\" /* IS_REACTIVE */])) {\r\n return target;\r\n }\r\n // target already has corresponding Proxy\r\n const existingProxy = proxyMap.get(target);\r\n if (existingProxy) {\r\n return existingProxy;\r\n }\r\n // only a whitelist of value types can be observed.\r\n const targetType = getTargetType(target);\r\n if (targetType === 0 /* INVALID */) {\r\n return target;\r\n }\r\n const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);\r\n proxyMap.set(target, proxy);\r\n return proxy;\r\n}\r\nfunction isReactive(value) {\r\n if (isReadonly(value)) {\r\n return isReactive(value[\"__v_raw\" /* RAW */]);\r\n }\r\n return !!(value && value[\"__v_isReactive\" /* IS_REACTIVE */]);\r\n}\r\nfunction isReadonly(value) {\r\n return !!(value && value[\"__v_isReadonly\" /* IS_READONLY */]);\r\n}\r\nfunction isProxy(value) {\r\n return isReactive(value) || isReadonly(value);\r\n}\r\nfunction toRaw(observed) {\r\n return ((observed && toRaw(observed[\"__v_raw\" /* RAW */])) || observed);\r\n}\r\nfunction markRaw(value) {\r\n def(value, \"__v_skip\" /* SKIP */, true);\r\n return value;\r\n}\n\nconst convert = (val) => isObject(val) ? reactive(val) : val;\r\nfunction isRef(r) {\r\n return Boolean(r && r.__v_isRef === true);\r\n}\r\nfunction ref(value) {\r\n return createRef(value);\r\n}\r\nfunction shallowRef(value) {\r\n return createRef(value, true);\r\n}\r\nclass RefImpl {\r\n constructor(value, _shallow = false) {\r\n this._shallow = _shallow;\r\n this.__v_isRef = true;\r\n this._rawValue = _shallow ? value : toRaw(value);\r\n this._value = _shallow ? value : convert(value);\r\n }\r\n get value() {\r\n track(toRaw(this), \"get\" /* GET */, 'value');\r\n return this._value;\r\n }\r\n set value(newVal) {\r\n newVal = this._shallow ? newVal : toRaw(newVal);\r\n if (hasChanged(newVal, this._rawValue)) {\r\n this._rawValue = newVal;\r\n this._value = this._shallow ? newVal : convert(newVal);\r\n trigger(toRaw(this), \"set\" /* SET */, 'value', newVal);\r\n }\r\n }\r\n}\r\nfunction createRef(rawValue, shallow = false) {\r\n if (isRef(rawValue)) {\r\n return rawValue;\r\n }\r\n return new RefImpl(rawValue, shallow);\r\n}\r\nfunction triggerRef(ref) {\r\n trigger(toRaw(ref), \"set\" /* SET */, 'value', (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\r\n}\r\nfunction unref(ref) {\r\n return isRef(ref) ? ref.value : ref;\r\n}\r\nconst shallowUnwrapHandlers = {\r\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\r\n set: (target, key, value, receiver) => {\r\n const oldValue = target[key];\r\n if (isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n else {\r\n return Reflect.set(target, key, value, receiver);\r\n }\r\n }\r\n};\r\nfunction proxyRefs(objectWithRefs) {\r\n return isReactive(objectWithRefs)\r\n ? objectWithRefs\r\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\r\n}\r\nclass CustomRefImpl {\r\n constructor(factory) {\r\n this.__v_isRef = true;\r\n const { get, set } = factory(() => track(this, \"get\" /* GET */, 'value'), () => trigger(this, \"set\" /* SET */, 'value'));\r\n this._get = get;\r\n this._set = set;\r\n }\r\n get value() {\r\n return this._get();\r\n }\r\n set value(newVal) {\r\n this._set(newVal);\r\n }\r\n}\r\nfunction customRef(factory) {\r\n return new CustomRefImpl(factory);\r\n}\r\nfunction toRefs(object) {\r\n if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\r\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\r\n }\r\n const ret = isArray(object) ? new Array(object.length) : {};\r\n for (const key in object) {\r\n ret[key] = toRef(object, key);\r\n }\r\n return ret;\r\n}\r\nclass ObjectRefImpl {\r\n constructor(_object, _key) {\r\n this._object = _object;\r\n this._key = _key;\r\n this.__v_isRef = true;\r\n }\r\n get value() {\r\n return this._object[this._key];\r\n }\r\n set value(newVal) {\r\n this._object[this._key] = newVal;\r\n }\r\n}\r\nfunction toRef(object, key) {\r\n return isRef(object[key])\r\n ? object[key]\r\n : new ObjectRefImpl(object, key);\r\n}\n\nclass ComputedRefImpl {\r\n constructor(getter, _setter, isReadonly) {\r\n this._setter = _setter;\r\n this._dirty = true;\r\n this.__v_isRef = true;\r\n this.effect = effect(getter, {\r\n lazy: true,\r\n scheduler: () => {\r\n if (!this._dirty) {\r\n this._dirty = true;\r\n trigger(toRaw(this), \"set\" /* SET */, 'value');\r\n }\r\n }\r\n });\r\n this[\"__v_isReadonly\" /* IS_READONLY */] = isReadonly;\r\n }\r\n get value() {\r\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n const self = toRaw(this);\r\n if (self._dirty) {\r\n self._value = this.effect();\r\n self._dirty = false;\r\n }\r\n track(self, \"get\" /* GET */, 'value');\r\n return self._value;\r\n }\r\n set value(newValue) {\r\n this._setter(newValue);\r\n }\r\n}\r\nfunction computed(getterOrOptions) {\r\n let getter;\r\n let setter;\r\n if (isFunction(getterOrOptions)) {\r\n getter = getterOrOptions;\r\n setter = (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n console.warn('Write operation failed: computed value is readonly');\r\n }\r\n : NOOP;\r\n }\r\n else {\r\n getter = getterOrOptions.get;\r\n setter = getterOrOptions.set;\r\n }\r\n return new ComputedRefImpl(getter, setter, isFunction(getterOrOptions) || !getterOrOptions.set);\r\n}\n\nexport { ITERATE_KEY, computed, customRef, effect, enableTracking, isProxy, isReactive, isReadonly, isRef, markRaw, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, isReactive, effect, stop, ref, reactive, shallowReactive, trigger, isProxy, shallowReadonly, track, markRaw, proxyRefs, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { customRef, isProxy, isReactive, isReadonly, isRef, markRaw, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction as isFunction$1, isPromise as isPromise$1, isArray, extend, hasOwn, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isOn, isModelListener, remove, NOOP, hasChanged, isObject as isObject$1, isSet, isMap, isPlainObject, invokeArrayFns, def, isReservedProp, EMPTY_ARR, capitalize, toRawType, makeMap, NO, getGlobalThis, normalizeClass, normalizeStyle, isGloballyWhitelisted } from '@vue/shared';\nexport { camelize, capitalize, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\r\nfunction pushWarningContext(vnode) {\r\n stack.push(vnode);\r\n}\r\nfunction popWarningContext() {\r\n stack.pop();\r\n}\r\nfunction warn(msg, ...args) {\r\n // avoid props formatting or warn handler tracking deps that might be mutated\r\n // during patch, leading to infinite recursion.\r\n pauseTracking();\r\n const instance = stack.length ? stack[stack.length - 1].component : null;\r\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\r\n const trace = getComponentTrace();\r\n if (appWarnHandler) {\r\n callWithErrorHandling(appWarnHandler, instance, 11 /* APP_WARN_HANDLER */, [\r\n msg + args.join(''),\r\n instance && instance.proxy,\r\n trace\r\n .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\r\n .join('\\n'),\r\n trace\r\n ]);\r\n }\r\n else {\r\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\r\n /* istanbul ignore if */\r\n if (trace.length &&\r\n // avoid spamming console during tests\r\n !false) {\r\n warnArgs.push(`\\n`, ...formatTrace(trace));\r\n }\r\n console.warn(...warnArgs);\r\n }\r\n resetTracking();\r\n}\r\nfunction getComponentTrace() {\r\n let currentVNode = stack[stack.length - 1];\r\n if (!currentVNode) {\r\n return [];\r\n }\r\n // we can't just use the stack because it will be incomplete during updates\r\n // that did not start from the root. Re-construct the parent chain using\r\n // instance parent pointers.\r\n const normalizedStack = [];\r\n while (currentVNode) {\r\n const last = normalizedStack[0];\r\n if (last && last.vnode === currentVNode) {\r\n last.recurseCount++;\r\n }\r\n else {\r\n normalizedStack.push({\r\n vnode: currentVNode,\r\n recurseCount: 0\r\n });\r\n }\r\n const parentInstance = currentVNode.component && currentVNode.component.parent;\r\n currentVNode = parentInstance && parentInstance.vnode;\r\n }\r\n return normalizedStack;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatTrace(trace) {\r\n const logs = [];\r\n trace.forEach((entry, i) => {\r\n logs.push(...(i === 0 ? [] : [`\\n`]), ...formatTraceEntry(entry));\r\n });\r\n return logs;\r\n}\r\nfunction formatTraceEntry({ vnode, recurseCount }) {\r\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\r\n const isRoot = vnode.component ? vnode.component.parent == null : false;\r\n const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\r\n const close = `>` + postfix;\r\n return vnode.props\r\n ? [open, ...formatProps(vnode.props), close]\r\n : [open + close];\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProps(props) {\r\n const res = [];\r\n const keys = Object.keys(props);\r\n keys.slice(0, 3).forEach(key => {\r\n res.push(...formatProp(key, props[key]));\r\n });\r\n if (keys.length > 3) {\r\n res.push(` ...`);\r\n }\r\n return res;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProp(key, value, raw) {\r\n if (isString(value)) {\r\n value = JSON.stringify(value);\r\n return raw ? value : [`${key}=${value}`];\r\n }\r\n else if (typeof value === 'number' ||\r\n typeof value === 'boolean' ||\r\n value == null) {\r\n return raw ? value : [`${key}=${value}`];\r\n }\r\n else if (isRef(value)) {\r\n value = formatProp(key, toRaw(value.value), true);\r\n return raw ? value : [`${key}=Ref<`, value, `>`];\r\n }\r\n else if (isFunction$1(value)) {\r\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\r\n }\r\n else {\r\n value = toRaw(value);\r\n return raw ? value : [`${key}=`, value];\r\n }\r\n}\n\nconst ErrorTypeStrings = {\r\n [\"sp\" /* SERVER_PREFETCH */]: 'serverPrefetch hook',\r\n [\"bc\" /* BEFORE_CREATE */]: 'beforeCreate hook',\r\n [\"c\" /* CREATED */]: 'created hook',\r\n [\"bm\" /* BEFORE_MOUNT */]: 'beforeMount hook',\r\n [\"m\" /* MOUNTED */]: 'mounted hook',\r\n [\"bu\" /* BEFORE_UPDATE */]: 'beforeUpdate hook',\r\n [\"u\" /* UPDATED */]: 'updated',\r\n [\"bum\" /* BEFORE_UNMOUNT */]: 'beforeUnmount hook',\r\n [\"um\" /* UNMOUNTED */]: 'unmounted hook',\r\n [\"a\" /* ACTIVATED */]: 'activated hook',\r\n [\"da\" /* DEACTIVATED */]: 'deactivated hook',\r\n [\"ec\" /* ERROR_CAPTURED */]: 'errorCaptured hook',\r\n [\"rtc\" /* RENDER_TRACKED */]: 'renderTracked hook',\r\n [\"rtg\" /* RENDER_TRIGGERED */]: 'renderTriggered hook',\r\n [0 /* SETUP_FUNCTION */]: 'setup function',\r\n [1 /* RENDER_FUNCTION */]: 'render function',\r\n [2 /* WATCH_GETTER */]: 'watcher getter',\r\n [3 /* WATCH_CALLBACK */]: 'watcher callback',\r\n [4 /* WATCH_CLEANUP */]: 'watcher cleanup function',\r\n [5 /* NATIVE_EVENT_HANDLER */]: 'native event handler',\r\n [6 /* COMPONENT_EVENT_HANDLER */]: 'component event handler',\r\n [7 /* VNODE_HOOK */]: 'vnode hook',\r\n [8 /* DIRECTIVE_HOOK */]: 'directive hook',\r\n [9 /* TRANSITION_HOOK */]: 'transition hook',\r\n [10 /* APP_ERROR_HANDLER */]: 'app errorHandler',\r\n [11 /* APP_WARN_HANDLER */]: 'app warnHandler',\r\n [12 /* FUNCTION_REF */]: 'ref function',\r\n [13 /* ASYNC_COMPONENT_LOADER */]: 'async component loader',\r\n [14 /* SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\r\n 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next'\r\n};\r\nfunction callWithErrorHandling(fn, instance, type, args) {\r\n let res;\r\n try {\r\n res = args ? fn(...args) : fn();\r\n }\r\n catch (err) {\r\n handleError(err, instance, type);\r\n }\r\n return res;\r\n}\r\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\r\n if (isFunction$1(fn)) {\r\n const res = callWithErrorHandling(fn, instance, type, args);\r\n if (res && isPromise$1(res)) {\r\n res.catch(err => {\r\n handleError(err, instance, type);\r\n });\r\n }\r\n return res;\r\n }\r\n const values = [];\r\n for (let i = 0; i < fn.length; i++) {\r\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\r\n }\r\n return values;\r\n}\r\nfunction handleError(err, instance, type, throwInDev = true) {\r\n const contextVNode = instance ? instance.vnode : null;\r\n if (instance) {\r\n let cur = instance.parent;\r\n // the exposed instance is the render proxy to keep it consistent with 2.x\r\n const exposedInstance = instance.proxy;\r\n // in production the hook receives only the error code\r\n const errorInfo = (process.env.NODE_ENV !== 'production') ? ErrorTypeStrings[type] : type;\r\n while (cur) {\r\n const errorCapturedHooks = cur.ec;\r\n if (errorCapturedHooks) {\r\n for (let i = 0; i < errorCapturedHooks.length; i++) {\r\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\r\n return;\r\n }\r\n }\r\n }\r\n cur = cur.parent;\r\n }\r\n // app-level handling\r\n const appErrorHandler = instance.appContext.config.errorHandler;\r\n if (appErrorHandler) {\r\n callWithErrorHandling(appErrorHandler, null, 10 /* APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\r\n return;\r\n }\r\n }\r\n logError(err, type, contextVNode, throwInDev);\r\n}\r\nfunction logError(err, type, contextVNode, throwInDev = true) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const info = ErrorTypeStrings[type];\r\n if (contextVNode) {\r\n pushWarningContext(contextVNode);\r\n }\r\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\r\n if (contextVNode) {\r\n popWarningContext();\r\n }\r\n // crash in dev by default so it's more noticeable\r\n if (throwInDev) {\r\n throw err;\r\n }\r\n else {\r\n console.error(err);\r\n }\r\n }\r\n else {\r\n // recover in prod to reduce the impact on end-user\r\n console.error(err);\r\n }\r\n}\n\nlet isFlushing = false;\r\nlet isFlushPending = false;\r\nconst queue = [];\r\nlet flushIndex = 0;\r\nconst pendingPreFlushCbs = [];\r\nlet activePreFlushCbs = null;\r\nlet preFlushIndex = 0;\r\nconst pendingPostFlushCbs = [];\r\nlet activePostFlushCbs = null;\r\nlet postFlushIndex = 0;\r\nconst resolvedPromise = Promise.resolve();\r\nlet currentFlushPromise = null;\r\nlet currentPreFlushParentJob = null;\r\nconst RECURSION_LIMIT = 100;\r\nfunction nextTick(fn) {\r\n const p = currentFlushPromise || resolvedPromise;\r\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\r\n}\r\n// #2768\r\n// Use binary-search to find a suitable position in the queue,\r\n// so that the queue maintains the increasing order of job's id,\r\n// which can prevent the job from being skipped and also can avoid repeated patching.\r\nfunction findInsertionIndex(job) {\r\n // the start index should be `flushIndex + 1`\r\n let start = flushIndex + 1;\r\n let end = queue.length;\r\n const jobId = getId(job);\r\n while (start < end) {\r\n const middle = (start + end) >>> 1;\r\n const middleJobId = getId(queue[middle]);\r\n middleJobId < jobId ? (start = middle + 1) : (end = middle);\r\n }\r\n return start;\r\n}\r\nfunction queueJob(job) {\r\n // the dedupe search uses the startIndex argument of Array.includes()\r\n // by default the search index includes the current job that is being run\r\n // so it cannot recursively trigger itself again.\r\n // if the job is a watch() callback, the search will start with a +1 index to\r\n // allow it recursively trigger itself - it is the user's responsibility to\r\n // ensure it doesn't end up in an infinite loop.\r\n if ((!queue.length ||\r\n !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) &&\r\n job !== currentPreFlushParentJob) {\r\n const pos = findInsertionIndex(job);\r\n if (pos > -1) {\r\n queue.splice(pos, 0, job);\r\n }\r\n else {\r\n queue.push(job);\r\n }\r\n queueFlush();\r\n }\r\n}\r\nfunction queueFlush() {\r\n if (!isFlushing && !isFlushPending) {\r\n isFlushPending = true;\r\n currentFlushPromise = resolvedPromise.then(flushJobs);\r\n }\r\n}\r\nfunction invalidateJob(job) {\r\n const i = queue.indexOf(job);\r\n if (i > flushIndex) {\r\n queue.splice(i, 1);\r\n }\r\n}\r\nfunction queueCb(cb, activeQueue, pendingQueue, index) {\r\n if (!isArray(cb)) {\r\n if (!activeQueue ||\r\n !activeQueue.includes(cb, cb.allowRecurse ? index + 1 : index)) {\r\n pendingQueue.push(cb);\r\n }\r\n }\r\n else {\r\n // if cb is an array, it is a component lifecycle hook which can only be\r\n // triggered by a job, which is already deduped in the main queue, so\r\n // we can skip duplicate check here to improve perf\r\n pendingQueue.push(...cb);\r\n }\r\n queueFlush();\r\n}\r\nfunction queuePreFlushCb(cb) {\r\n queueCb(cb, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex);\r\n}\r\nfunction queuePostFlushCb(cb) {\r\n queueCb(cb, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex);\r\n}\r\nfunction flushPreFlushCbs(seen, parentJob = null) {\r\n if (pendingPreFlushCbs.length) {\r\n currentPreFlushParentJob = parentJob;\r\n activePreFlushCbs = [...new Set(pendingPreFlushCbs)];\r\n pendingPreFlushCbs.length = 0;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n for (preFlushIndex = 0; preFlushIndex < activePreFlushCbs.length; preFlushIndex++) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n checkRecursiveUpdates(seen, activePreFlushCbs[preFlushIndex])) {\r\n continue;\r\n }\r\n activePreFlushCbs[preFlushIndex]();\r\n }\r\n activePreFlushCbs = null;\r\n preFlushIndex = 0;\r\n currentPreFlushParentJob = null;\r\n // recursively flush until it drains\r\n flushPreFlushCbs(seen, parentJob);\r\n }\r\n}\r\nfunction flushPostFlushCbs(seen) {\r\n if (pendingPostFlushCbs.length) {\r\n const deduped = [...new Set(pendingPostFlushCbs)];\r\n pendingPostFlushCbs.length = 0;\r\n // #1947 already has active queue, nested flushPostFlushCbs call\r\n if (activePostFlushCbs) {\r\n activePostFlushCbs.push(...deduped);\r\n return;\r\n }\r\n activePostFlushCbs = deduped;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\r\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\r\n continue;\r\n }\r\n activePostFlushCbs[postFlushIndex]();\r\n }\r\n activePostFlushCbs = null;\r\n postFlushIndex = 0;\r\n }\r\n}\r\nconst getId = (job) => job.id == null ? Infinity : job.id;\r\nfunction flushJobs(seen) {\r\n isFlushPending = false;\r\n isFlushing = true;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n flushPreFlushCbs(seen);\r\n // Sort queue before flush.\r\n // This ensures that:\r\n // 1. Components are updated from parent to child. (because parent is always\r\n // created before the child so its render effect will have smaller\r\n // priority number)\r\n // 2. If a component is unmounted during a parent component's update,\r\n // its update can be skipped.\r\n queue.sort((a, b) => getId(a) - getId(b));\r\n try {\r\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\r\n const job = queue[flushIndex];\r\n if (job && job.active !== false) {\r\n if ((process.env.NODE_ENV !== 'production') && checkRecursiveUpdates(seen, job)) {\r\n continue;\r\n }\r\n callWithErrorHandling(job, null, 14 /* SCHEDULER */);\r\n }\r\n }\r\n }\r\n finally {\r\n flushIndex = 0;\r\n queue.length = 0;\r\n flushPostFlushCbs(seen);\r\n isFlushing = false;\r\n currentFlushPromise = null;\r\n // some postFlushCb queued jobs!\r\n // keep flushing until it drains.\r\n if (queue.length ||\r\n pendingPreFlushCbs.length ||\r\n pendingPostFlushCbs.length) {\r\n flushJobs(seen);\r\n }\r\n }\r\n}\r\nfunction checkRecursiveUpdates(seen, fn) {\r\n if (!seen.has(fn)) {\r\n seen.set(fn, 1);\r\n }\r\n else {\r\n const count = seen.get(fn);\r\n if (count > RECURSION_LIMIT) {\r\n const instance = fn.ownerInstance;\r\n const componentName = instance && getComponentName(instance.type);\r\n warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\r\n `This means you have a reactive effect that is mutating its own ` +\r\n `dependencies and thus recursively triggering itself. Possible sources ` +\r\n `include component template, render function, updated hook or ` +\r\n `watcher source function.`);\r\n return true;\r\n }\r\n else {\r\n seen.set(fn, count + 1);\r\n }\r\n }\r\n}\n\n/* eslint-disable no-restricted-globals */\r\nlet isHmrUpdating = false;\r\nconst hmrDirtyComponents = new Set();\r\n// Expose the HMR runtime on the global object\r\n// This makes it entirely tree-shakable without polluting the exports and makes\r\n// it easier to be used in toolings like vue-loader\r\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\r\n// to be set so that its instances can be registered / removed.\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n const globalObject = typeof global !== 'undefined'\r\n ? global\r\n : typeof self !== 'undefined'\r\n ? self\r\n : typeof window !== 'undefined'\r\n ? window\r\n : {};\r\n globalObject.__VUE_HMR_RUNTIME__ = {\r\n createRecord: tryWrap(createRecord),\r\n rerender: tryWrap(rerender),\r\n reload: tryWrap(reload)\r\n };\r\n}\r\nconst map = new Map();\r\nfunction registerHMR(instance) {\r\n const id = instance.type.__hmrId;\r\n let record = map.get(id);\r\n if (!record) {\r\n createRecord(id, instance.type);\r\n record = map.get(id);\r\n }\r\n record.instances.add(instance);\r\n}\r\nfunction unregisterHMR(instance) {\r\n map.get(instance.type.__hmrId).instances.delete(instance);\r\n}\r\nfunction createRecord(id, component) {\r\n if (!component) {\r\n warn(`HMR API usage is out of date.\\n` +\r\n `Please upgrade vue-loader/vite/rollup-plugin-vue or other relevant ` +\r\n `dependency that handles Vue SFC compilation.`);\r\n component = {};\r\n }\r\n if (map.has(id)) {\r\n return false;\r\n }\r\n map.set(id, {\r\n component: isClassComponent(component) ? component.__vccOpts : component,\r\n instances: new Set()\r\n });\r\n return true;\r\n}\r\nfunction rerender(id, newRender) {\r\n const record = map.get(id);\r\n if (!record)\r\n return;\r\n if (newRender)\r\n record.component.render = newRender;\r\n // Array.from creates a snapshot which avoids the set being mutated during\r\n // updates\r\n Array.from(record.instances).forEach(instance => {\r\n if (newRender) {\r\n instance.render = newRender;\r\n }\r\n instance.renderCache = [];\r\n // this flag forces child components with slot content to update\r\n isHmrUpdating = true;\r\n instance.update();\r\n isHmrUpdating = false;\r\n });\r\n}\r\nfunction reload(id, newComp) {\r\n const record = map.get(id);\r\n if (!record)\r\n return;\r\n // Array.from creates a snapshot which avoids the set being mutated during\r\n // updates\r\n const { component, instances } = record;\r\n if (!hmrDirtyComponents.has(component)) {\r\n // 1. Update existing comp definition to match new one\r\n newComp = isClassComponent(newComp) ? newComp.__vccOpts : newComp;\r\n extend(component, newComp);\r\n for (const key in component) {\r\n if (key !== '__file' && !(key in newComp)) {\r\n delete component[key];\r\n }\r\n }\r\n // 2. Mark component dirty. This forces the renderer to replace the component\r\n // on patch.\r\n hmrDirtyComponents.add(component);\r\n // 3. Make sure to unmark the component after the reload.\r\n queuePostFlushCb(() => {\r\n hmrDirtyComponents.delete(component);\r\n });\r\n }\r\n Array.from(instances).forEach(instance => {\r\n if (instance.parent) {\r\n // 4. Force the parent instance to re-render. This will cause all updated\r\n // components to be unmounted and re-mounted. Queue the update so that we\r\n // don't end up forcing the same parent to re-render multiple times.\r\n queueJob(instance.parent.update);\r\n }\r\n else if (instance.appContext.reload) {\r\n // root instance mounted via createApp() has a reload method\r\n instance.appContext.reload();\r\n }\r\n else if (typeof window !== 'undefined') {\r\n // root instance inside tree created via raw render(). Force reload.\r\n window.location.reload();\r\n }\r\n else {\r\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\r\n }\r\n });\r\n}\r\nfunction tryWrap(fn) {\r\n return (id, arg) => {\r\n try {\r\n return fn(id, arg);\r\n }\r\n catch (e) {\r\n console.error(e);\r\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\r\n `Full reload required.`);\r\n }\r\n };\r\n}\n\nlet devtools;\r\nfunction setDevtoolsHook(hook) {\r\n devtools = hook;\r\n}\r\nfunction devtoolsInitApp(app, version) {\r\n // TODO queue if devtools is undefined\r\n if (!devtools)\r\n return;\r\n devtools.emit(\"app:init\" /* APP_INIT */, app, version, {\r\n Fragment,\r\n Text,\r\n Comment: Comment$1,\r\n Static\r\n });\r\n}\r\nfunction devtoolsUnmountApp(app) {\r\n if (!devtools)\r\n return;\r\n devtools.emit(\"app:unmount\" /* APP_UNMOUNT */, app);\r\n}\r\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\r\nconst devtoolsComponentUpdated = /*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\r\nconst devtoolsComponentRemoved = /*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* COMPONENT_REMOVED */);\r\nfunction createDevtoolsComponentHook(hook) {\r\n return (component) => {\r\n if (!devtools)\r\n return;\r\n devtools.emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\r\n };\r\n}\r\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\r\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\r\nfunction createDevtoolsPerformanceHook(hook) {\r\n return (component, type, time) => {\r\n if (!devtools)\r\n return;\r\n devtools.emit(hook, component.appContext.app, component.uid, component, type, time);\r\n };\r\n}\r\nfunction devtoolsComponentEmit(component, event, params) {\r\n if (!devtools)\r\n return;\r\n devtools.emit(\"component:emit\" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);\r\n}\n\nconst deprecationData = {\r\n [\"GLOBAL_MOUNT\" /* GLOBAL_MOUNT */]: {\r\n message: `The global app bootstrapping API has changed: vm.$mount() and the \"el\" ` +\r\n `option have been removed. Use createApp(RootComponent).mount() instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/global-api.html#mounting-app-instance`\r\n },\r\n [\"GLOBAL_MOUNT_CONTAINER\" /* GLOBAL_MOUNT_CONTAINER */]: {\r\n message: `Vue detected directives on the mount container. ` +\r\n `In Vue 3, the container is no longer considered part of the template ` +\r\n `and will not be processed/replaced.`,\r\n link: `https://v3.vuejs.org/guide/migration/mount-changes.html`\r\n },\r\n [\"GLOBAL_EXTEND\" /* GLOBAL_EXTEND */]: {\r\n message: `Vue.extend() has been removed in Vue 3. ` +\r\n `Use defineComponent() instead.`,\r\n link: `https://v3.vuejs.org/api/global-api.html#definecomponent`\r\n },\r\n [\"GLOBAL_PROTOTYPE\" /* GLOBAL_PROTOTYPE */]: {\r\n message: `Vue.prototype is no longer available in Vue 3. ` +\r\n `Use app.config.globalProperties instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/global-api.html#vue-prototype-replaced-by-config-globalproperties`\r\n },\r\n [\"GLOBAL_SET\" /* GLOBAL_SET */]: {\r\n message: `Vue.set() has been removed as it is no longer needed in Vue 3. ` +\r\n `Simply use native JavaScript mutations.`\r\n },\r\n [\"GLOBAL_DELETE\" /* GLOBAL_DELETE */]: {\r\n message: `Vue.delete() has been removed as it is no longer needed in Vue 3. ` +\r\n `Simply use native JavaScript mutations.`\r\n },\r\n [\"GLOBAL_OBSERVABLE\" /* GLOBAL_OBSERVABLE */]: {\r\n message: `Vue.observable() has been removed. ` +\r\n `Use \\`import { reactive } from \"vue\"\\` from Composition API instead.`,\r\n link: `https://v3.vuejs.org/api/basic-reactivity.html`\r\n },\r\n [\"GLOBAL_PRIVATE_UTIL\" /* GLOBAL_PRIVATE_UTIL */]: {\r\n message: `Vue.util has been removed. Please refactor to avoid its usage ` +\r\n `since it was an internal API even in Vue 2.`\r\n },\r\n [\"CONFIG_SILENT\" /* CONFIG_SILENT */]: {\r\n message: `config.silent has been removed because it is not good practice to ` +\r\n `intentionally suppress warnings. You can use your browser console's ` +\r\n `filter features to focus on relevant messages.`\r\n },\r\n [\"CONFIG_DEVTOOLS\" /* CONFIG_DEVTOOLS */]: {\r\n message: `config.devtools has been removed. To enable devtools for ` +\r\n `production, configure the __VUE_PROD_DEVTOOLS__ compile-time flag.`,\r\n link: `https://github.com/vuejs/vue-next/tree/master/packages/vue#bundler-build-feature-flags`\r\n },\r\n [\"CONFIG_KEY_CODES\" /* CONFIG_KEY_CODES */]: {\r\n message: `config.keyCodes has been removed. ` +\r\n `In Vue 3, you can directly use the kebab-case key names as v-on modifiers.`,\r\n link: `https://v3.vuejs.org/guide/migration/keycode-modifiers.html`\r\n },\r\n [\"CONFIG_PRODUCTION_TIP\" /* CONFIG_PRODUCTION_TIP */]: {\r\n message: `config.productionTip has been removed.`,\r\n link: `https://v3.vuejs.org/guide/migration/global-api.html#config-productiontip-removed`\r\n },\r\n [\"CONFIG_IGNORED_ELEMENTS\" /* CONFIG_IGNORED_ELEMENTS */]: {\r\n message: () => {\r\n let msg = `config.ignoredElements has been removed.`;\r\n if (isRuntimeOnly()) {\r\n msg += ` Pass the \"isCustomElement\" option to @vue/compiler-dom instead.`;\r\n }\r\n else {\r\n msg += ` Use config.isCustomElement instead.`;\r\n }\r\n return msg;\r\n },\r\n link: `https://v3.vuejs.org/guide/migration/global-api.html#config-ignoredelements-is-now-config-iscustomelement`\r\n },\r\n [\"CONFIG_WHITESPACE\" /* CONFIG_WHITESPACE */]: {\r\n // this warning is only relevant in the full build when using runtime\r\n // compilation, so it's put in the runtime compatConfig list.\r\n message: `Vue 3 compiler's whitespace option will default to \"condense\" instead of ` +\r\n `\"preserve\". To suppress this warning, provide an explicit value for ` +\r\n `\\`config.compilerOptions.whitespace\\`.`\r\n },\r\n [\"CONFIG_OPTION_MERGE_STRATS\" /* CONFIG_OPTION_MERGE_STRATS */]: {\r\n message: `config.optionMergeStrategies no longer exposes internal strategies. ` +\r\n `Use custom merge functions instead.`\r\n },\r\n [\"INSTANCE_SET\" /* INSTANCE_SET */]: {\r\n message: `vm.$set() has been removed as it is no longer needed in Vue 3. ` +\r\n `Simply use native JavaScript mutations.`\r\n },\r\n [\"INSTANCE_DELETE\" /* INSTANCE_DELETE */]: {\r\n message: `vm.$delete() has been removed as it is no longer needed in Vue 3. ` +\r\n `Simply use native JavaScript mutations.`\r\n },\r\n [\"INSTANCE_DESTROY\" /* INSTANCE_DESTROY */]: {\r\n message: `vm.$destroy() has been removed. Use app.unmount() instead.`,\r\n link: `https://v3.vuejs.org/api/application-api.html#unmount`\r\n },\r\n [\"INSTANCE_EVENT_EMITTER\" /* INSTANCE_EVENT_EMITTER */]: {\r\n message: `vm.$on/$once/$off() have been removed. ` +\r\n `Use an external event emitter library instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/events-api.html`\r\n },\r\n [\"INSTANCE_EVENT_HOOKS\" /* INSTANCE_EVENT_HOOKS */]: {\r\n message: event => `\"${event}\" lifecycle events are no longer supported. From templates, ` +\r\n `use the \"vnode\" prefix instead of \"hook:\". For example, @${event} ` +\r\n `should be changed to @vnode-${event.slice(5)}. ` +\r\n `From JavaScript, use Composition API to dynamically register lifecycle ` +\r\n `hooks.`,\r\n link: `https://v3.vuejs.org/guide/migration/vnode-lifecycle-events.html`\r\n },\r\n [\"INSTANCE_CHILDREN\" /* INSTANCE_CHILDREN */]: {\r\n message: `vm.$children has been removed. Consider refactoring your logic ` +\r\n `to avoid relying on direct access to child components.`,\r\n link: `https://v3.vuejs.org/guide/migration/children.html`\r\n },\r\n [\"INSTANCE_LISTENERS\" /* INSTANCE_LISTENERS */]: {\r\n message: `vm.$listeners has been removed. In Vue 3, parent v-on listeners are ` +\r\n `included in vm.$attrs and it is no longer necessary to separately use ` +\r\n `v-on=\"$listeners\" if you are already using v-bind=\"$attrs\". ` +\r\n `(Note: the Vue 3 behavior only applies if this compat config is disabled)`,\r\n link: `https://v3.vuejs.org/guide/migration/listeners-removed.html`\r\n },\r\n [\"INSTANCE_SCOPED_SLOTS\" /* INSTANCE_SCOPED_SLOTS */]: {\r\n message: `vm.$scopedSlots has been removed. Use vm.$slots instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/slots-unification.html`\r\n },\r\n [\"INSTANCE_ATTRS_CLASS_STYLE\" /* INSTANCE_ATTRS_CLASS_STYLE */]: {\r\n message: componentName => `Component <${componentName ||\r\n 'Anonymous'}> has \\`inheritAttrs: false\\` but is ` +\r\n `relying on class/style fallthrough from parent. In Vue 3, class/style ` +\r\n `are now included in $attrs and will no longer fallthrough when ` +\r\n `inheritAttrs is false. If you are already using v-bind=\"$attrs\" on ` +\r\n `component root it should render the same end result. ` +\r\n `If you are binding $attrs to a non-root element and expecting ` +\r\n `class/style to fallthrough on root, you will need to now manually bind ` +\r\n `them on root via :class=\"$attrs.class\".`,\r\n link: `https://v3.vuejs.org/guide/migration/attrs-includes-class-style.html`\r\n },\r\n [\"OPTIONS_DATA_FN\" /* OPTIONS_DATA_FN */]: {\r\n message: `The \"data\" option can no longer be a plain object. ` +\r\n `Always use a function.`,\r\n link: `https://v3.vuejs.org/guide/migration/data-option.html`\r\n },\r\n [\"OPTIONS_DATA_MERGE\" /* OPTIONS_DATA_MERGE */]: {\r\n message: (key) => `Detected conflicting key \"${key}\" when merging data option values. ` +\r\n `In Vue 3, data keys are merged shallowly and will override one another.`,\r\n link: `https://v3.vuejs.org/guide/migration/data-option.html#mixin-merge-behavior-change`\r\n },\r\n [\"OPTIONS_BEFORE_DESTROY\" /* OPTIONS_BEFORE_DESTROY */]: {\r\n message: `\\`beforeDestroy\\` has been renamed to \\`beforeUnmount\\`.`\r\n },\r\n [\"OPTIONS_DESTROYED\" /* OPTIONS_DESTROYED */]: {\r\n message: `\\`destroyed\\` has been renamed to \\`unmounted\\`.`\r\n },\r\n [\"WATCH_ARRAY\" /* WATCH_ARRAY */]: {\r\n message: `\"watch\" option or vm.$watch on an array value will no longer ` +\r\n `trigger on array mutation unless the \"deep\" option is specified. ` +\r\n `If current usage is intended, you can disable the compat behavior and ` +\r\n `suppress this warning with:` +\r\n `\\n\\n configureCompat({ ${\"WATCH_ARRAY\" /* WATCH_ARRAY */}: false })\\n`,\r\n link: `https://v3.vuejs.org/guide/migration/watch.html`\r\n },\r\n [\"PROPS_DEFAULT_THIS\" /* PROPS_DEFAULT_THIS */]: {\r\n message: (key) => `props default value function no longer has access to \"this\". The compat ` +\r\n `build only offers access to this.$options.` +\r\n `(found in prop \"${key}\")`,\r\n link: `https://v3.vuejs.org/guide/migration/props-default-this.html`\r\n },\r\n [\"CUSTOM_DIR\" /* CUSTOM_DIR */]: {\r\n message: (legacyHook, newHook) => `Custom directive hook \"${legacyHook}\" has been removed. ` +\r\n `Use \"${newHook}\" instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/custom-directives.html`\r\n },\r\n [\"V_FOR_REF\" /* V_FOR_REF */]: {\r\n message: `Ref usage on v-for no longer creates array ref values in Vue 3. ` +\r\n `Consider using function refs or refactor to avoid ref usage altogether.`,\r\n link: `https://v3.vuejs.org/guide/migration/array-refs.html`\r\n },\r\n [\"V_ON_KEYCODE_MODIFIER\" /* V_ON_KEYCODE_MODIFIER */]: {\r\n message: `Using keyCode as v-on modifier is no longer supported. ` +\r\n `Use kebab-case key name modifiers instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/keycode-modifiers.html`\r\n },\r\n [\"ATTR_FALSE_VALUE\" /* ATTR_FALSE_VALUE */]: {\r\n message: (name) => `Attribute \"${name}\" with v-bind value \\`false\\` will render ` +\r\n `${name}=\"false\" instead of removing it in Vue 3. To remove the attribute, ` +\r\n `use \\`null\\` or \\`undefined\\` instead. If the usage is intended, ` +\r\n `you can disable the compat behavior and suppress this warning with:` +\r\n `\\n\\n configureCompat({ ${\"ATTR_FALSE_VALUE\" /* ATTR_FALSE_VALUE */}: false })\\n`,\r\n link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`\r\n },\r\n [\"ATTR_ENUMERATED_COERCION\" /* ATTR_ENUMERATED_COERCION */]: {\r\n message: (name, value, coerced) => `Enumerated attribute \"${name}\" with v-bind value \\`${value}\\` will ` +\r\n `${value === null ? `be removed` : `render the value as-is`} instead of coercing the value to \"${coerced}\" in Vue 3. ` +\r\n `Always use explicit \"true\" or \"false\" values for enumerated attributes. ` +\r\n `If the usage is intended, ` +\r\n `you can disable the compat behavior and suppress this warning with:` +\r\n `\\n\\n configureCompat({ ${\"ATTR_ENUMERATED_COERCION\" /* ATTR_ENUMERATED_COERCION */}: false })\\n`,\r\n link: `https://v3.vuejs.org/guide/migration/attribute-coercion.html`\r\n },\r\n [\"TRANSITION_CLASSES\" /* TRANSITION_CLASSES */]: {\r\n message: `` // this feature cannot be runtime-detected\r\n },\r\n [\"TRANSITION_GROUP_ROOT\" /* TRANSITION_GROUP_ROOT */]: {\r\n message: ` no longer renders a root element by ` +\r\n `default if no \"tag\" prop is specified. If you do not rely on the span ` +\r\n `for styling, you can disable the compat behavior and suppress this ` +\r\n `warning with:` +\r\n `\\n\\n configureCompat({ ${\"TRANSITION_GROUP_ROOT\" /* TRANSITION_GROUP_ROOT */}: false })\\n`,\r\n link: `https://v3.vuejs.org/guide/migration/transition-group.html`\r\n },\r\n [\"COMPONENT_ASYNC\" /* COMPONENT_ASYNC */]: {\r\n message: (comp) => {\r\n const name = getComponentName(comp);\r\n return (`Async component${name ? ` <${name}>` : `s`} should be explicitly created via \\`defineAsyncComponent()\\` ` +\r\n `in Vue 3. Plain functions will be treated as functional components in ` +\r\n `non-compat build. If you have already migrated all async component ` +\r\n `usage and intend to use plain functions for functional components, ` +\r\n `you can disable the compat behavior and suppress this ` +\r\n `warning with:` +\r\n `\\n\\n configureCompat({ ${\"COMPONENT_ASYNC\" /* COMPONENT_ASYNC */}: false })\\n`);\r\n },\r\n link: `https://v3.vuejs.org/guide/migration/async-components.html`\r\n },\r\n [\"COMPONENT_FUNCTIONAL\" /* COMPONENT_FUNCTIONAL */]: {\r\n message: (comp) => {\r\n const name = getComponentName(comp);\r\n return (`Functional component${name ? ` <${name}>` : `s`} should be defined as a plain function in Vue 3. The \"functional\" ` +\r\n `option has been removed. NOTE: Before migrating to use plain ` +\r\n `functions for functional components, first make sure that all async ` +\r\n `components usage have been migrated and its compat behavior has ` +\r\n `been disabled.`);\r\n },\r\n link: `https://v3.vuejs.org/guide/migration/functional-components.html`\r\n },\r\n [\"COMPONENT_V_MODEL\" /* COMPONENT_V_MODEL */]: {\r\n message: (comp) => {\r\n const configMsg = `opt-in to ` +\r\n `Vue 3 behavior on a per-component basis with \\`compatConfig: { ${\"COMPONENT_V_MODEL\" /* COMPONENT_V_MODEL */}: false }\\`.`;\r\n if (comp.props &&\r\n (isArray(comp.props)\r\n ? comp.props.includes('modelValue')\r\n : hasOwn(comp.props, 'modelValue'))) {\r\n return (`Component delcares \"modelValue\" prop, which is Vue 3 usage, but ` +\r\n `is running under Vue 2 compat v-model behavior. You can ${configMsg}`);\r\n }\r\n return (`v-model usage on component has changed in Vue 3. Component that expects ` +\r\n `to work with v-model should now use the \"modelValue\" prop and emit the ` +\r\n `\"update:modelValue\" event. You can update the usage and then ${configMsg}`);\r\n },\r\n link: `https://v3.vuejs.org/guide/migration/v-model.html`\r\n },\r\n [\"RENDER_FUNCTION\" /* RENDER_FUNCTION */]: {\r\n message: `Vue 3's render function API has changed. ` +\r\n `You can opt-in to the new API with:` +\r\n `\\n\\n configureCompat({ ${\"RENDER_FUNCTION\" /* RENDER_FUNCTION */}: false })\\n` +\r\n `\\n (This can also be done per-component via the \"compatConfig\" option.)`,\r\n link: `https://v3.vuejs.org/guide/migration/render-function-api.html`\r\n },\r\n [\"FILTERS\" /* FILTERS */]: {\r\n message: `filters have been removed in Vue 3. ` +\r\n `The \"|\" symbol will be treated as native JavaScript bitwise OR operator. ` +\r\n `Use method calls or computed properties instead.`,\r\n link: `https://v3.vuejs.org/guide/migration/filters.html`\r\n },\r\n [\"PRIVATE_APIS\" /* PRIVATE_APIS */]: {\r\n message: name => `\"${name}\" is a Vue 2 private API that no longer exists in Vue 3. ` +\r\n `If you are seeing this warning only due to a dependency, you can ` +\r\n `suppress this warning via { PRIVATE_APIS: 'supress-warning' }.`\r\n }\r\n};\r\nconst instanceWarned = Object.create(null);\r\nconst warnCount = Object.create(null);\r\nfunction warnDeprecation(key, instance, ...args) {\r\n if (!(process.env.NODE_ENV !== 'production')) {\r\n return;\r\n }\r\n instance = instance || getCurrentInstance();\r\n // check user config\r\n const config = getCompatConfigForKey(key, instance);\r\n if (config === 'suppress-warning') {\r\n return;\r\n }\r\n const dupKey = key + args.join('');\r\n let compId = instance && formatComponentName(instance, instance.type);\r\n if (compId === 'Anonymous' && instance) {\r\n compId = instance.uid;\r\n }\r\n // skip if the same warning is emitted for the same component type\r\n const componentDupKey = dupKey + compId;\r\n if (componentDupKey in instanceWarned) {\r\n return;\r\n }\r\n instanceWarned[componentDupKey] = true;\r\n // same warning, but different component. skip the long message and just\r\n // log the key and count.\r\n if (dupKey in warnCount) {\r\n warn(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);\r\n return;\r\n }\r\n warnCount[dupKey] = 0;\r\n const { message, link } = deprecationData[key];\r\n warn(`(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\\n Details: ${link}` : ``}`);\r\n if (!isCompatEnabled(key, instance, true)) {\r\n console.error(`^ The above deprecation's compat behavior is disabled and will likely ` +\r\n `lead to runtime errors.`);\r\n }\r\n}\r\nconst globalCompatConfig = {\r\n MODE: 2\r\n};\r\nfunction getCompatConfigForKey(key, instance) {\r\n const instanceConfig = instance && instance.type.compatConfig;\r\n if (instanceConfig && key in instanceConfig) {\r\n return instanceConfig[key];\r\n }\r\n return globalCompatConfig[key];\r\n}\r\nfunction isCompatEnabled(key, instance, enableForBuiltIn = false) {\r\n // skip compat for built-in components\r\n if (!enableForBuiltIn && instance && instance.type.__isBuiltIn) {\r\n return false;\r\n }\r\n const rawMode = getCompatConfigForKey('MODE', instance) || 2;\r\n const val = getCompatConfigForKey(key, instance);\r\n const mode = isFunction$1(rawMode)\r\n ? rawMode(instance && instance.type)\r\n : rawMode;\r\n if (mode === 2) {\r\n return val !== false;\r\n }\r\n else {\r\n return val === true || val === 'suppress-warning';\r\n }\r\n}\n\nfunction emit(instance, event, ...rawArgs) {\r\n const props = instance.vnode.props || EMPTY_OBJ;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const { emitsOptions, propsOptions: [propsOptions] } = instance;\r\n if (emitsOptions) {\r\n if (!(event in emitsOptions) &&\r\n !(false )) {\r\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\r\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\r\n `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\r\n }\r\n }\r\n else {\r\n const validator = emitsOptions[event];\r\n if (isFunction$1(validator)) {\r\n const isValid = validator(...rawArgs);\r\n if (!isValid) {\r\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n let args = rawArgs;\r\n const isModelListener = event.startsWith('update:');\r\n // for v-model update:xxx events, apply modifiers on args\r\n const modelArg = isModelListener && event.slice(7);\r\n if (modelArg && modelArg in props) {\r\n const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\r\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\r\n if (trim) {\r\n args = rawArgs.map(a => a.trim());\r\n }\r\n else if (number) {\r\n args = rawArgs.map(toNumber);\r\n }\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentEmit(instance, event, args);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const lowerCaseEvent = event.toLowerCase();\r\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\r\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\r\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\r\n `Note that HTML attributes are case-insensitive and you cannot use ` +\r\n `v-on to listen to camelCase events when using in-DOM templates. ` +\r\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\r\n }\r\n }\r\n let handlerName;\r\n let handler = props[(handlerName = toHandlerKey(event))] ||\r\n // also try camelCase event handler (#2249)\r\n props[(handlerName = toHandlerKey(camelize(event)))];\r\n // for v-model update:xxx events, also trigger kebab-case equivalent\r\n // for props passed via kebab-case\r\n if (!handler && isModelListener) {\r\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\r\n }\r\n if (handler) {\r\n callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n const onceHandler = props[handlerName + `Once`];\r\n if (onceHandler) {\r\n if (!instance.emitted) {\r\n instance.emitted = {};\r\n }\r\n else if (instance.emitted[handlerName]) {\r\n return;\r\n }\r\n instance.emitted[handlerName] = true;\r\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n}\r\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\r\n const cache = appContext.emitsCache;\r\n const cached = cache.get(comp);\r\n if (cached !== undefined) {\r\n return cached;\r\n }\r\n const raw = comp.emits;\r\n let normalized = {};\r\n // apply mixin/extends props\r\n let hasExtends = false;\r\n if (__VUE_OPTIONS_API__ && !isFunction$1(comp)) {\r\n const extendEmits = (raw) => {\r\n const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\r\n if (normalizedFromExtend) {\r\n hasExtends = true;\r\n extend(normalized, normalizedFromExtend);\r\n }\r\n };\r\n if (!asMixin && appContext.mixins.length) {\r\n appContext.mixins.forEach(extendEmits);\r\n }\r\n if (comp.extends) {\r\n extendEmits(comp.extends);\r\n }\r\n if (comp.mixins) {\r\n comp.mixins.forEach(extendEmits);\r\n }\r\n }\r\n if (!raw && !hasExtends) {\r\n cache.set(comp, null);\r\n return null;\r\n }\r\n if (isArray(raw)) {\r\n raw.forEach(key => (normalized[key] = null));\r\n }\r\n else {\r\n extend(normalized, raw);\r\n }\r\n cache.set(comp, normalized);\r\n return normalized;\r\n}\r\n// Check if an incoming prop key is a declared emit event listener.\r\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\r\n// both considered matched listeners.\r\nfunction isEmitListener(options, key) {\r\n if (!options || !isOn(key)) {\r\n return false;\r\n }\r\n key = key.slice(2).replace(/Once$/, '');\r\n return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\r\n hasOwn(options, hyphenate(key)) ||\r\n hasOwn(options, key));\r\n}\n\n/**\r\n * mark the current rendering instance for asset resolution (e.g.\r\n * resolveComponent, resolveDirective) during render\r\n */\r\nlet currentRenderingInstance = null;\r\nlet currentScopeId = null;\r\n/**\r\n * Note: rendering calls maybe nested. The function returns the parent rendering\r\n * instance if present, which should be restored after the render is done:\r\n *\r\n * ```js\r\n * const prev = setCurrentRenderingInstance(i)\r\n * // ...render\r\n * setCurrentRenderingInstance(prev)\r\n * ```\r\n */\r\nfunction setCurrentRenderingInstance(instance) {\r\n const prev = currentRenderingInstance;\r\n currentRenderingInstance = instance;\r\n currentScopeId = (instance && instance.type.__scopeId) || null;\r\n return prev;\r\n}\r\n/**\r\n * Set scope id when creating hoisted vnodes.\r\n * @private compiler helper\r\n */\r\nfunction pushScopeId(id) {\r\n currentScopeId = id;\r\n}\r\n/**\r\n * Technically we no longer need this after 3.0.8 but we need to keep the same\r\n * API for backwards compat w/ code generated by compilers.\r\n * @private\r\n */\r\nfunction popScopeId() {\r\n currentScopeId = null;\r\n}\r\n/**\r\n * Only for backwards compat\r\n * @private\r\n */\r\nconst withScopeId = (_id) => withCtx;\r\n/**\r\n * Wrap a slot function to memoize current rendering instance\r\n * @private compiler helper\r\n */\r\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\r\n) {\r\n if (!ctx)\r\n return fn;\r\n // already normalized\r\n if (fn._n) {\r\n return fn;\r\n }\r\n const renderFnWithContext = (...args) => {\r\n // If a user calls a compiled slot inside a template expression (#1745), it\r\n // can mess up block tracking, so by default we disable block tracking and\r\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\r\n // This isn't necessary if rendering a compiled ``, so we flip the\r\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(-1);\r\n }\r\n const prevInstance = setCurrentRenderingInstance(ctx);\r\n const res = fn(...args);\r\n setCurrentRenderingInstance(prevInstance);\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(1);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentUpdated(ctx);\r\n }\r\n return res;\r\n };\r\n // mark normalized to avoid duplicated wrapping\r\n renderFnWithContext._n = true;\r\n // mark this as compiled by default\r\n // this is used in vnode.ts -> normalizeChildren() to set the slot\r\n // rendering flag.\r\n renderFnWithContext._c = true;\r\n // disable block tracking by default\r\n renderFnWithContext._d = true;\r\n return renderFnWithContext;\r\n}\n\n/**\r\n * dev only flag to track whether $attrs was used during render.\r\n * If $attrs was used during render then the warning for failed attrs\r\n * fallthrough can be suppressed.\r\n */\r\nlet accessedAttrs = false;\r\nfunction markAttrsAccessed() {\r\n accessedAttrs = true;\r\n}\r\nfunction renderComponentRoot(instance) {\r\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\r\n let result;\r\n const prev = setCurrentRenderingInstance(instance);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n accessedAttrs = false;\r\n }\r\n try {\r\n let fallthroughAttrs;\r\n if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {\r\n // withProxy is a proxy with a different `has` trap only for\r\n // runtime-compiled render functions using `with` block.\r\n const proxyToUse = withProxy || proxy;\r\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\r\n fallthroughAttrs = attrs;\r\n }\r\n else {\r\n // functional\r\n const render = Component;\r\n // in dev, mark attrs accessed if optional props (attrs === props)\r\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\r\n markAttrsAccessed();\r\n }\r\n result = normalizeVNode(render.length > 1\r\n ? render(props, (process.env.NODE_ENV !== 'production')\r\n ? {\r\n get attrs() {\r\n markAttrsAccessed();\r\n return attrs;\r\n },\r\n slots,\r\n emit\r\n }\r\n : { attrs, slots, emit })\r\n : render(props, null /* we know it doesn't need it */));\r\n fallthroughAttrs = Component.props\r\n ? attrs\r\n : getFunctionalFallthrough(attrs);\r\n }\r\n // attr merging\r\n // in dev mode, comments are preserved, and it's possible for a template\r\n // to have comments along side the root element which makes it a fragment\r\n let root = result;\r\n let setRoot = undefined;\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n result.patchFlag > 0 &&\r\n result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {\r\n ;\r\n [root, setRoot] = getChildRoot(result);\r\n }\r\n if (fallthroughAttrs && inheritAttrs !== false) {\r\n const keys = Object.keys(fallthroughAttrs);\r\n const { shapeFlag } = root;\r\n if (keys.length) {\r\n if (shapeFlag & 1 /* ELEMENT */ ||\r\n shapeFlag & 6 /* COMPONENT */) {\r\n if (propsOptions && keys.some(isModelListener)) {\r\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\r\n // prop, it indicates this component expects to handle v-model and\r\n // it should not fallthrough.\r\n // related: #1543, #1643, #1989\r\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\r\n }\r\n root = cloneVNode(root, fallthroughAttrs);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment$1) {\r\n const allAttrs = Object.keys(attrs);\r\n const eventAttrs = [];\r\n const extraAttrs = [];\r\n for (let i = 0, l = allAttrs.length; i < l; i++) {\r\n const key = allAttrs[i];\r\n if (isOn(key)) {\r\n // ignore v-model handlers when they fail to fallthrough\r\n if (!isModelListener(key)) {\r\n // remove `on`, lowercase first letter to reflect event casing\r\n // accurately\r\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\r\n }\r\n }\r\n else {\r\n extraAttrs.push(key);\r\n }\r\n }\r\n if (extraAttrs.length) {\r\n warn(`Extraneous non-props attributes (` +\r\n `${extraAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes.`);\r\n }\r\n if (eventAttrs.length) {\r\n warn(`Extraneous non-emits event listeners (` +\r\n `${eventAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes. ` +\r\n `If the listener is intended to be a component custom event listener only, ` +\r\n `declare it using the \"emits\" option.`);\r\n }\r\n }\r\n }\r\n }\r\n if (false &&\r\n isCompatEnabled(\"INSTANCE_ATTRS_CLASS_STYLE\" /* INSTANCE_ATTRS_CLASS_STYLE */, instance) &&\r\n vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */ &&\r\n (root.shapeFlag & 1 /* ELEMENT */ ||\r\n root.shapeFlag & 6 /* COMPONENT */)) ;\r\n // inherit directives\r\n if (vnode.dirs) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Runtime directive used on component with non-element root node. ` +\r\n `The directives will not function as intended.`);\r\n }\r\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\r\n }\r\n // inherit transition data\r\n if (vnode.transition) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Component inside renders non-element root node ` +\r\n `that cannot be animated.`);\r\n }\r\n root.transition = vnode.transition;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\r\n setRoot(root);\r\n }\r\n else {\r\n result = root;\r\n }\r\n }\r\n catch (err) {\r\n blockStack.length = 0;\r\n handleError(err, instance, 1 /* RENDER_FUNCTION */);\r\n result = createVNode(Comment$1);\r\n }\r\n setCurrentRenderingInstance(prev);\r\n return result;\r\n}\r\n/**\r\n * dev only\r\n * In dev mode, template root level comments are rendered, which turns the\r\n * template into a fragment root, but we need to locate the single element\r\n * root for attrs and scope id processing.\r\n */\r\nconst getChildRoot = (vnode) => {\r\n const rawChildren = vnode.children;\r\n const dynamicChildren = vnode.dynamicChildren;\r\n const childRoot = filterSingleRoot(rawChildren);\r\n if (!childRoot) {\r\n return [vnode, undefined];\r\n }\r\n const index = rawChildren.indexOf(childRoot);\r\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\r\n const setRoot = (updatedRoot) => {\r\n rawChildren[index] = updatedRoot;\r\n if (dynamicChildren) {\r\n if (dynamicIndex > -1) {\r\n dynamicChildren[dynamicIndex] = updatedRoot;\r\n }\r\n else if (updatedRoot.patchFlag > 0) {\r\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\r\n }\r\n }\r\n };\r\n return [normalizeVNode(childRoot), setRoot];\r\n};\r\nfunction filterSingleRoot(children) {\r\n let singleRoot;\r\n for (let i = 0; i < children.length; i++) {\r\n const child = children[i];\r\n if (isVNode(child)) {\r\n // ignore user comment\r\n if (child.type !== Comment$1 || child.children === 'v-if') {\r\n if (singleRoot) {\r\n // has more than 1 non-comment child, return now\r\n return;\r\n }\r\n else {\r\n singleRoot = child;\r\n }\r\n }\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n return singleRoot;\r\n}\r\nconst getFunctionalFallthrough = (attrs) => {\r\n let res;\r\n for (const key in attrs) {\r\n if (key === 'class' || key === 'style' || isOn(key)) {\r\n (res || (res = {}))[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst filterModelListeners = (attrs, props) => {\r\n const res = {};\r\n for (const key in attrs) {\r\n if (!isModelListener(key) || !(key.slice(9) in props)) {\r\n res[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst isElementRoot = (vnode) => {\r\n return (vnode.shapeFlag & 6 /* COMPONENT */ ||\r\n vnode.shapeFlag & 1 /* ELEMENT */ ||\r\n vnode.type === Comment$1 // potential v-if branch switch\r\n );\r\n};\r\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\r\n const { props: prevProps, children: prevChildren, component } = prevVNode;\r\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\r\n const emits = component.emitsOptions;\r\n // Parent component's render function was hot-updated. Since this may have\r\n // caused the child component's slots content to have changed, we need to\r\n // force the child to update as well.\r\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\r\n return true;\r\n }\r\n // force child update for runtime directive or transition on component vnode.\r\n if (nextVNode.dirs || nextVNode.transition) {\r\n return true;\r\n }\r\n if (optimized && patchFlag >= 0) {\r\n if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {\r\n // slot content that references values that might have changed,\r\n // e.g. in a v-for\r\n return true;\r\n }\r\n if (patchFlag & 16 /* FULL_PROPS */) {\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n // presence of this flag indicates props are always non-null\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n else if (patchFlag & 8 /* PROPS */) {\r\n const dynamicProps = nextVNode.dynamicProps;\r\n for (let i = 0; i < dynamicProps.length; i++) {\r\n const key = dynamicProps[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emits, key)) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // this path is only taken by manually written render functions\r\n // so presence of any children leads to a forced update\r\n if (prevChildren || nextChildren) {\r\n if (!nextChildren || !nextChildren.$stable) {\r\n return true;\r\n }\r\n }\r\n if (prevProps === nextProps) {\r\n return false;\r\n }\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n if (!nextProps) {\r\n return true;\r\n }\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n return false;\r\n}\r\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\r\n const nextKeys = Object.keys(nextProps);\r\n if (nextKeys.length !== Object.keys(prevProps).length) {\r\n return true;\r\n }\r\n for (let i = 0; i < nextKeys.length; i++) {\r\n const key = nextKeys[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emitsOptions, key)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\r\n) {\r\n while (parent && parent.subTree === vnode) {\r\n (vnode = parent.vnode).el = el;\r\n parent = parent.parent;\r\n }\r\n}\n\nconst isSuspense = (type) => type.__isSuspense;\r\n// Suspense exposes a component-like API, and is treated like a component\r\n// in the compiler, but internally it's a special built-in type that hooks\r\n// directly into the renderer.\r\nconst SuspenseImpl = {\r\n name: 'Suspense',\r\n // In order to make Suspense tree-shakable, we need to avoid importing it\r\n // directly in the renderer. The renderer checks for the __isSuspense flag\r\n // on a vnode's type and calls the `process` method, passing in renderer\r\n // internals.\r\n __isSuspense: true,\r\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \r\n // platform-specific impl passed from renderer\r\n rendererInternals) {\r\n if (n1 == null) {\r\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n else {\r\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n },\r\n hydrate: hydrateSuspense,\r\n create: createSuspenseBoundary,\r\n normalize: normalizeSuspenseChildren\r\n};\r\n// Force-casted public typing for h and TSX props inference\r\nconst Suspense = (SuspenseImpl\r\n );\r\nfunction triggerEvent(vnode, name) {\r\n const eventListener = vnode.props && vnode.props[name];\r\n if (isFunction$1(eventListener)) {\r\n eventListener();\r\n }\r\n}\r\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\r\n const { p: patch, o: { createElement } } = rendererInternals;\r\n const hiddenContainer = createElement('div');\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\r\n // start mounting the content subtree in an off-dom container\r\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\r\n // now check if we have encountered any async deps\r\n if (suspense.deps > 0) {\r\n // has async\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onPending');\r\n triggerEvent(vnode, 'onFallback');\r\n // mount the fallback tree\r\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds);\r\n setActiveBranch(suspense, vnode.ssFallback);\r\n }\r\n else {\r\n // Suspense has no async deps. Just resolve.\r\n suspense.resolve();\r\n }\r\n}\r\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\r\n const suspense = (n2.suspense = n1.suspense);\r\n suspense.vnode = n2;\r\n n2.el = n1.el;\r\n const newBranch = n2.ssContent;\r\n const newFallback = n2.ssFallback;\r\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\r\n if (pendingBranch) {\r\n suspense.pendingBranch = newBranch;\r\n if (isSameVNodeType(newBranch, pendingBranch)) {\r\n // same root type but content may have changed.\r\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else if (isInFallback) {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else {\r\n // toggled before pending tree is resolved\r\n suspense.pendingId++;\r\n if (isHydrating) {\r\n // if toggled before hydration is finished, the current DOM tree is\r\n // no longer valid. set it as the active branch so it will be unmounted\r\n // when resolved\r\n suspense.isHydrating = false;\r\n suspense.activeBranch = pendingBranch;\r\n }\r\n else {\r\n unmount(pendingBranch, parentComponent, suspense);\r\n }\r\n // increment pending ID. this is used to invalidate async callbacks\r\n // reset suspense state\r\n suspense.deps = 0;\r\n // discard effects from pending branch\r\n suspense.effects.length = 0;\r\n // discard previous container\r\n suspense.hiddenContainer = createElement('div');\r\n if (isInFallback) {\r\n // already in fallback state\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // toggled \"back\" to current active branch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n // force resolve\r\n suspense.resolve(true);\r\n }\r\n else {\r\n // switched to a 3rd branch\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // root did not change, just normal patch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newBranch);\r\n }\r\n else {\r\n // root node toggled\r\n // invoke @pending event\r\n triggerEvent(n2, 'onPending');\r\n // mount pending branch in off-dom container\r\n suspense.pendingBranch = newBranch;\r\n suspense.pendingId++;\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n // incoming branch has no async deps, resolve now.\r\n suspense.resolve();\r\n }\r\n else {\r\n const { timeout, pendingId } = suspense;\r\n if (timeout > 0) {\r\n setTimeout(() => {\r\n if (suspense.pendingId === pendingId) {\r\n suspense.fallback(newFallback);\r\n }\r\n }, timeout);\r\n }\r\n else if (timeout === 0) {\r\n suspense.fallback(newFallback);\r\n }\r\n }\r\n }\r\n }\r\n}\r\nlet hasWarned = false;\r\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\r\n /* istanbul ignore if */\r\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\r\n hasWarned = true;\r\n // @ts-ignore `console.info` cannot be null error\r\n console[console.info ? 'info' : 'log'](` is an experimental feature and its API will likely change.`);\r\n }\r\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\r\n const timeout = toNumber(vnode.props && vnode.props.timeout);\r\n const suspense = {\r\n vnode,\r\n parent,\r\n parentComponent,\r\n isSVG,\r\n container,\r\n hiddenContainer,\r\n anchor,\r\n deps: 0,\r\n pendingId: 0,\r\n timeout: typeof timeout === 'number' ? timeout : -1,\r\n activeBranch: null,\r\n pendingBranch: null,\r\n isInFallback: true,\r\n isHydrating,\r\n isUnmounted: false,\r\n effects: [],\r\n resolve(resume = false) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (!resume && !suspense.pendingBranch) {\r\n throw new Error(`suspense.resolve() is called without a pending branch.`);\r\n }\r\n if (suspense.isUnmounted) {\r\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\r\n }\r\n }\r\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\r\n if (suspense.isHydrating) {\r\n suspense.isHydrating = false;\r\n }\r\n else if (!resume) {\r\n const delayEnter = activeBranch &&\r\n pendingBranch.transition &&\r\n pendingBranch.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = () => {\r\n if (pendingId === suspense.pendingId) {\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n };\r\n }\r\n // this is initial anchor on mount\r\n let { anchor } = suspense;\r\n // unmount current active tree\r\n if (activeBranch) {\r\n // if the fallback tree was mounted, it may have been moved\r\n // as part of a parent suspense. get the latest anchor for insertion\r\n anchor = next(activeBranch);\r\n unmount(activeBranch, parentComponent, suspense, true);\r\n }\r\n if (!delayEnter) {\r\n // move content from off-dom container to actual container\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n }\r\n setActiveBranch(suspense, pendingBranch);\r\n suspense.pendingBranch = null;\r\n suspense.isInFallback = false;\r\n // flush buffered effects\r\n // check if there is a pending parent suspense\r\n let parent = suspense.parent;\r\n let hasUnresolvedAncestor = false;\r\n while (parent) {\r\n if (parent.pendingBranch) {\r\n // found a pending parent suspense, merge buffered post jobs\r\n // into that parent\r\n parent.effects.push(...effects);\r\n hasUnresolvedAncestor = true;\r\n break;\r\n }\r\n parent = parent.parent;\r\n }\r\n // no pending parent suspense, flush all jobs\r\n if (!hasUnresolvedAncestor) {\r\n queuePostFlushCb(effects);\r\n }\r\n suspense.effects = [];\r\n // invoke @resolve event\r\n triggerEvent(vnode, 'onResolve');\r\n },\r\n fallback(fallbackVNode) {\r\n if (!suspense.pendingBranch) {\r\n return;\r\n }\r\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onFallback');\r\n const anchor = next(activeBranch);\r\n const mountFallback = () => {\r\n if (!suspense.isInFallback) {\r\n return;\r\n }\r\n // mount the fallback tree\r\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, fallbackVNode);\r\n };\r\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = mountFallback;\r\n }\r\n suspense.isInFallback = true;\r\n // unmount current active branch\r\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\r\n true // shouldRemove\r\n );\r\n if (!delayEnter) {\r\n mountFallback();\r\n }\r\n },\r\n move(container, anchor, type) {\r\n suspense.activeBranch &&\r\n move(suspense.activeBranch, container, anchor, type);\r\n suspense.container = container;\r\n },\r\n next() {\r\n return suspense.activeBranch && next(suspense.activeBranch);\r\n },\r\n registerDep(instance, setupRenderEffect) {\r\n const isInPendingSuspense = !!suspense.pendingBranch;\r\n if (isInPendingSuspense) {\r\n suspense.deps++;\r\n }\r\n const hydratedEl = instance.vnode.el;\r\n instance\r\n .asyncDep.catch(err => {\r\n handleError(err, instance, 0 /* SETUP_FUNCTION */);\r\n })\r\n .then(asyncSetupResult => {\r\n // retry when the setup() promise resolves.\r\n // component may have been unmounted before resolve.\r\n if (instance.isUnmounted ||\r\n suspense.isUnmounted ||\r\n suspense.pendingId !== instance.suspenseId) {\r\n return;\r\n }\r\n // retry from this component\r\n instance.asyncResolved = true;\r\n const { vnode } = instance;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n pushWarningContext(vnode);\r\n }\r\n handleSetupResult(instance, asyncSetupResult, false);\r\n if (hydratedEl) {\r\n // vnode may have been replaced if an update happened before the\r\n // async dep is resolved.\r\n vnode.el = hydratedEl;\r\n }\r\n const placeholder = !hydratedEl && instance.subTree.el;\r\n setupRenderEffect(instance, vnode, \r\n // component may have been moved before resolve.\r\n // if this is not a hydration, instance.subTree will be the comment\r\n // placeholder.\r\n parentNode(hydratedEl || instance.subTree.el), \r\n // anchor will not be used if this is hydration, so only need to\r\n // consider the comment placeholder case.\r\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\r\n if (placeholder) {\r\n remove(placeholder);\r\n }\r\n updateHOCHostEl(instance, vnode.el);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n popWarningContext();\r\n }\r\n // only decrease deps count if suspense is not already resolved\r\n if (isInPendingSuspense && --suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n });\r\n },\r\n unmount(parentSuspense, doRemove) {\r\n suspense.isUnmounted = true;\r\n if (suspense.activeBranch) {\r\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n if (suspense.pendingBranch) {\r\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n }\r\n };\r\n return suspense;\r\n}\r\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\r\n /* eslint-disable no-restricted-globals */\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\r\n // there are two possible scenarios for server-rendered suspense:\r\n // - success: ssr content should be fully resolved\r\n // - failure: ssr content should be the fallback branch.\r\n // however, on the client we don't really know if it has failed or not\r\n // attempt to hydrate the DOM assuming it has succeeded, but we still\r\n // need to construct a suspense boundary first\r\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\r\n if (suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n return result;\r\n /* eslint-enable no-restricted-globals */\r\n}\r\nfunction normalizeSuspenseChildren(vnode) {\r\n const { shapeFlag, children } = vnode;\r\n const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;\r\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\r\n vnode.ssFallback = isSlotChildren\r\n ? normalizeSuspenseSlot(children.fallback)\r\n : createVNode(Comment);\r\n}\r\nfunction normalizeSuspenseSlot(s) {\r\n let block;\r\n if (isFunction$1(s)) {\r\n const isCompiledSlot = s._c;\r\n if (isCompiledSlot) {\r\n // disableTracking: false\r\n // allow block tracking for compiled slots\r\n // (see ./componentRenderContext.ts)\r\n s._d = false;\r\n openBlock();\r\n }\r\n s = s();\r\n if (isCompiledSlot) {\r\n s._d = true;\r\n block = currentBlock;\r\n closeBlock();\r\n }\r\n }\r\n if (isArray(s)) {\r\n const singleChild = filterSingleRoot(s);\r\n if ((process.env.NODE_ENV !== 'production') && !singleChild) {\r\n warn(` slots expect a single root node.`);\r\n }\r\n s = singleChild;\r\n }\r\n s = normalizeVNode(s);\r\n if (block) {\r\n s.dynamicChildren = block.filter(c => c !== s);\r\n }\r\n return s;\r\n}\r\nfunction queueEffectWithSuspense(fn, suspense) {\r\n if (suspense && suspense.pendingBranch) {\r\n if (isArray(fn)) {\r\n suspense.effects.push(...fn);\r\n }\r\n else {\r\n suspense.effects.push(fn);\r\n }\r\n }\r\n else {\r\n queuePostFlushCb(fn);\r\n }\r\n}\r\nfunction setActiveBranch(suspense, branch) {\r\n suspense.activeBranch = branch;\r\n const { vnode, parentComponent } = suspense;\r\n const el = (vnode.el = branch.el);\r\n // in case suspense is the root node of a component,\r\n // recursively update the HOC el\r\n if (parentComponent && parentComponent.subTree === vnode) {\r\n parentComponent.vnode.el = el;\r\n updateHOCHostEl(parentComponent, el);\r\n }\r\n}\n\nfunction provide(key, value) {\r\n if (!currentInstance) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`provide() can only be used inside setup().`);\r\n }\r\n }\r\n else {\r\n let provides = currentInstance.provides;\r\n // by default an instance inherits its parent's provides object\r\n // but when it needs to provide values of its own, it creates its\r\n // own provides object using parent provides object as prototype.\r\n // this way in `inject` we can simply look up injections from direct\r\n // parent and let the prototype chain do the work.\r\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\r\n if (parentProvides === provides) {\r\n provides = currentInstance.provides = Object.create(parentProvides);\r\n }\r\n // TS doesn't allow symbol as index type\r\n provides[key] = value;\r\n }\r\n}\r\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\r\n // fallback to `currentRenderingInstance` so that this can be called in\r\n // a functional component\r\n const instance = currentInstance || currentRenderingInstance;\r\n if (instance) {\r\n // #2400\r\n // to support `app.use` plugins,\r\n // fallback to appContext's `provides` if the intance is at root\r\n const provides = instance.parent == null\r\n ? instance.vnode.appContext && instance.vnode.appContext.provides\r\n : instance.parent.provides;\r\n if (provides && key in provides) {\r\n // TS doesn't allow symbol as index type\r\n return provides[key];\r\n }\r\n else if (arguments.length > 1) {\r\n return treatDefaultAsFactory && isFunction$1(defaultValue)\r\n ? defaultValue.call(instance.proxy)\r\n : defaultValue;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`injection \"${String(key)}\" not found.`);\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`inject() can only be used inside setup() or functional components.`);\r\n }\r\n}\n\n// Simple effect.\r\nfunction watchEffect(effect, options) {\r\n return doWatch(effect, null, options);\r\n}\r\n// initial value for watchers to trigger on undefined initial values\r\nconst INITIAL_WATCHER_VALUE = {};\r\n// implementation\r\nfunction watch(source, cb, options) {\r\n if ((process.env.NODE_ENV !== 'production') && !isFunction$1(cb)) {\r\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\r\n `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\r\n `supports \\`watch(source, cb, options?) signature.`);\r\n }\r\n return doWatch(source, cb, options);\r\n}\r\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ, instance = currentInstance) {\r\n if ((process.env.NODE_ENV !== 'production') && !cb) {\r\n if (immediate !== undefined) {\r\n warn(`watch() \"immediate\" option is only respected when using the ` +\r\n `watch(source, callback, options?) signature.`);\r\n }\r\n if (deep !== undefined) {\r\n warn(`watch() \"deep\" option is only respected when using the ` +\r\n `watch(source, callback, options?) signature.`);\r\n }\r\n }\r\n const warnInvalidSource = (s) => {\r\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\r\n `a reactive object, or an array of these types.`);\r\n };\r\n let getter;\r\n let forceTrigger = false;\r\n let isMultiSource = false;\r\n if (isRef(source)) {\r\n getter = () => source.value;\r\n forceTrigger = !!source._shallow;\r\n }\r\n else if (isReactive(source)) {\r\n getter = () => source;\r\n deep = true;\r\n }\r\n else if (isArray(source)) {\r\n isMultiSource = true;\r\n forceTrigger = source.some(isReactive);\r\n getter = () => source.map(s => {\r\n if (isRef(s)) {\r\n return s.value;\r\n }\r\n else if (isReactive(s)) {\r\n return traverse(s);\r\n }\r\n else if (isFunction$1(s)) {\r\n return callWithErrorHandling(s, instance, 2 /* WATCH_GETTER */);\r\n }\r\n else {\r\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\r\n }\r\n });\r\n }\r\n else if (isFunction$1(source)) {\r\n if (cb) {\r\n // getter with cb\r\n getter = () => callWithErrorHandling(source, instance, 2 /* WATCH_GETTER */);\r\n }\r\n else {\r\n // no cb -> simple effect\r\n getter = () => {\r\n if (instance && instance.isUnmounted) {\r\n return;\r\n }\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n return callWithAsyncErrorHandling(source, instance, 3 /* WATCH_CALLBACK */, [onInvalidate]);\r\n };\r\n }\r\n }\r\n else {\r\n getter = NOOP;\r\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(source);\r\n }\r\n if (cb && deep) {\r\n const baseGetter = getter;\r\n getter = () => traverse(baseGetter());\r\n }\r\n let cleanup;\r\n let onInvalidate = (fn) => {\r\n cleanup = runner.options.onStop = () => {\r\n callWithErrorHandling(fn, instance, 4 /* WATCH_CLEANUP */);\r\n };\r\n };\r\n let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\r\n const job = () => {\r\n if (!runner.active) {\r\n return;\r\n }\r\n if (cb) {\r\n // watch(source, cb)\r\n const newValue = runner();\r\n if (deep ||\r\n forceTrigger ||\r\n (isMultiSource\r\n ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\r\n : hasChanged(newValue, oldValue)) ||\r\n (false )) {\r\n // cleanup before running cb again\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [\r\n newValue,\r\n // pass undefined as the old value when it's changed for the first time\r\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\r\n onInvalidate\r\n ]);\r\n oldValue = newValue;\r\n }\r\n }\r\n else {\r\n // watchEffect\r\n runner();\r\n }\r\n };\r\n // important: mark the job as a watcher callback so that scheduler knows\r\n // it is allowed to self-trigger (#1727)\r\n job.allowRecurse = !!cb;\r\n let scheduler;\r\n if (flush === 'sync') {\r\n scheduler = job; // the scheduler function gets called directly\r\n }\r\n else if (flush === 'post') {\r\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\r\n }\r\n else {\r\n // default: 'pre'\r\n scheduler = () => {\r\n if (!instance || instance.isMounted) {\r\n queuePreFlushCb(job);\r\n }\r\n else {\r\n // with 'pre' option, the first call must happen before\r\n // the component is mounted so it is called synchronously.\r\n job();\r\n }\r\n };\r\n }\r\n const runner = effect(getter, {\r\n lazy: true,\r\n onTrack,\r\n onTrigger,\r\n scheduler\r\n });\r\n recordInstanceBoundEffect(runner, instance);\r\n // initial run\r\n if (cb) {\r\n if (immediate) {\r\n job();\r\n }\r\n else {\r\n oldValue = runner();\r\n }\r\n }\r\n else if (flush === 'post') {\r\n queuePostRenderEffect(runner, instance && instance.suspense);\r\n }\r\n else {\r\n runner();\r\n }\r\n return () => {\r\n stop(runner);\r\n if (instance) {\r\n remove(instance.effects, runner);\r\n }\r\n };\r\n}\r\n// this.$watch\r\nfunction instanceWatch(source, value, options) {\r\n const publicThis = this.proxy;\r\n const getter = isString(source)\r\n ? source.includes('.')\r\n ? createPathGetter(publicThis, source)\r\n : () => publicThis[source]\r\n : source.bind(publicThis, publicThis);\r\n let cb;\r\n if (isFunction$1(value)) {\r\n cb = value;\r\n }\r\n else {\r\n cb = value.handler;\r\n options = value;\r\n }\r\n return doWatch(getter, cb.bind(publicThis), options, this);\r\n}\r\nfunction createPathGetter(ctx, path) {\r\n const segments = path.split('.');\r\n return () => {\r\n let cur = ctx;\r\n for (let i = 0; i < segments.length && cur; i++) {\r\n cur = cur[segments[i]];\r\n }\r\n return cur;\r\n };\r\n}\r\nfunction traverse(value, seen = new Set()) {\r\n if (!isObject$1(value) || value[\"__v_skip\" /* SKIP */]) {\r\n return value;\r\n }\r\n seen = seen || new Set();\r\n if (seen.has(value)) {\r\n return value;\r\n }\r\n seen.add(value);\r\n if (isRef(value)) {\r\n traverse(value.value, seen);\r\n }\r\n else if (isArray(value)) {\r\n for (let i = 0; i < value.length; i++) {\r\n traverse(value[i], seen);\r\n }\r\n }\r\n else if (isSet(value) || isMap(value)) {\r\n value.forEach((v) => {\r\n traverse(v, seen);\r\n });\r\n }\r\n else if (isPlainObject(value)) {\r\n for (const key in value) {\r\n traverse(value[key], seen);\r\n }\r\n }\r\n return value;\r\n}\n\nfunction useTransitionState() {\r\n const state = {\r\n isMounted: false,\r\n isLeaving: false,\r\n isUnmounting: false,\r\n leavingVNodes: new Map()\r\n };\r\n onMounted(() => {\r\n state.isMounted = true;\r\n });\r\n onBeforeUnmount(() => {\r\n state.isUnmounting = true;\r\n });\r\n return state;\r\n}\r\nconst TransitionHookValidator = [Function, Array];\r\nconst BaseTransitionImpl = {\r\n name: `BaseTransition`,\r\n props: {\r\n mode: String,\r\n appear: Boolean,\r\n persisted: Boolean,\r\n // enter\r\n onBeforeEnter: TransitionHookValidator,\r\n onEnter: TransitionHookValidator,\r\n onAfterEnter: TransitionHookValidator,\r\n onEnterCancelled: TransitionHookValidator,\r\n // leave\r\n onBeforeLeave: TransitionHookValidator,\r\n onLeave: TransitionHookValidator,\r\n onAfterLeave: TransitionHookValidator,\r\n onLeaveCancelled: TransitionHookValidator,\r\n // appear\r\n onBeforeAppear: TransitionHookValidator,\r\n onAppear: TransitionHookValidator,\r\n onAfterAppear: TransitionHookValidator,\r\n onAppearCancelled: TransitionHookValidator\r\n },\r\n setup(props, { slots }) {\r\n const instance = getCurrentInstance();\r\n const state = useTransitionState();\r\n let prevTransitionKey;\r\n return () => {\r\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\r\n if (!children || !children.length) {\r\n return;\r\n }\r\n // warn multiple elements\r\n if ((process.env.NODE_ENV !== 'production') && children.length > 1) {\r\n warn(' can only be used on a single element or component. Use ' +\r\n ' for lists.');\r\n }\r\n // there's no need to track reactivity for these props so use the raw\r\n // props for a bit better perf\r\n const rawProps = toRaw(props);\r\n const { mode } = rawProps;\r\n // check mode\r\n if ((process.env.NODE_ENV !== 'production') && mode && !['in-out', 'out-in', 'default'].includes(mode)) {\r\n warn(`invalid mode: ${mode}`);\r\n }\r\n // at this point children has a guaranteed length of 1.\r\n const child = children[0];\r\n if (state.isLeaving) {\r\n return emptyPlaceholder(child);\r\n }\r\n // in the case of , we need to\r\n // compare the type of the kept-alive children.\r\n const innerChild = getKeepAliveChild(child);\r\n if (!innerChild) {\r\n return emptyPlaceholder(child);\r\n }\r\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\r\n setTransitionHooks(innerChild, enterHooks);\r\n const oldChild = instance.subTree;\r\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\r\n let transitionKeyChanged = false;\r\n const { getTransitionKey } = innerChild.type;\r\n if (getTransitionKey) {\r\n const key = getTransitionKey();\r\n if (prevTransitionKey === undefined) {\r\n prevTransitionKey = key;\r\n }\r\n else if (key !== prevTransitionKey) {\r\n prevTransitionKey = key;\r\n transitionKeyChanged = true;\r\n }\r\n }\r\n // handle mode\r\n if (oldInnerChild &&\r\n oldInnerChild.type !== Comment$1 &&\r\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\r\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\r\n // update old tree's hooks in case of dynamic transition\r\n setTransitionHooks(oldInnerChild, leavingHooks);\r\n // switching between different views\r\n if (mode === 'out-in') {\r\n state.isLeaving = true;\r\n // return placeholder node and queue update when leave finishes\r\n leavingHooks.afterLeave = () => {\r\n state.isLeaving = false;\r\n instance.update();\r\n };\r\n return emptyPlaceholder(child);\r\n }\r\n else if (mode === 'in-out' && innerChild.type !== Comment$1) {\r\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\r\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\r\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\r\n // early removal callback\r\n el._leaveCb = () => {\r\n earlyRemove();\r\n el._leaveCb = undefined;\r\n delete enterHooks.delayedLeave;\r\n };\r\n enterHooks.delayedLeave = delayedLeave;\r\n };\r\n }\r\n }\r\n return child;\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\nconst BaseTransition = BaseTransitionImpl;\r\nfunction getLeavingNodesForType(state, vnode) {\r\n const { leavingVNodes } = state;\r\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\r\n if (!leavingVNodesCache) {\r\n leavingVNodesCache = Object.create(null);\r\n leavingVNodes.set(vnode.type, leavingVNodesCache);\r\n }\r\n return leavingVNodesCache;\r\n}\r\n// The transition hooks are attached to the vnode as vnode.transition\r\n// and will be called at appropriate timing in the renderer.\r\nfunction resolveTransitionHooks(vnode, props, state, instance) {\r\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\r\n const key = String(vnode.key);\r\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\r\n const callHook = (hook, args) => {\r\n hook &&\r\n callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);\r\n };\r\n const hooks = {\r\n mode,\r\n persisted,\r\n beforeEnter(el) {\r\n let hook = onBeforeEnter;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onBeforeAppear || onBeforeEnter;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n // for same element (v-show)\r\n if (el._leaveCb) {\r\n el._leaveCb(true /* cancelled */);\r\n }\r\n // for toggled element with same key (v-if)\r\n const leavingVNode = leavingVNodesCache[key];\r\n if (leavingVNode &&\r\n isSameVNodeType(vnode, leavingVNode) &&\r\n leavingVNode.el._leaveCb) {\r\n // force early removal (not cancelled)\r\n leavingVNode.el._leaveCb();\r\n }\r\n callHook(hook, [el]);\r\n },\r\n enter(el) {\r\n let hook = onEnter;\r\n let afterHook = onAfterEnter;\r\n let cancelHook = onEnterCancelled;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onAppear || onEnter;\r\n afterHook = onAfterAppear || onAfterEnter;\r\n cancelHook = onAppearCancelled || onEnterCancelled;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n let called = false;\r\n const done = (el._enterCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n if (cancelled) {\r\n callHook(cancelHook, [el]);\r\n }\r\n else {\r\n callHook(afterHook, [el]);\r\n }\r\n if (hooks.delayedLeave) {\r\n hooks.delayedLeave();\r\n }\r\n el._enterCb = undefined;\r\n });\r\n if (hook) {\r\n hook(el, done);\r\n if (hook.length <= 1) {\r\n done();\r\n }\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n leave(el, remove) {\r\n const key = String(vnode.key);\r\n if (el._enterCb) {\r\n el._enterCb(true /* cancelled */);\r\n }\r\n if (state.isUnmounting) {\r\n return remove();\r\n }\r\n callHook(onBeforeLeave, [el]);\r\n let called = false;\r\n const done = (el._leaveCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n remove();\r\n if (cancelled) {\r\n callHook(onLeaveCancelled, [el]);\r\n }\r\n else {\r\n callHook(onAfterLeave, [el]);\r\n }\r\n el._leaveCb = undefined;\r\n if (leavingVNodesCache[key] === vnode) {\r\n delete leavingVNodesCache[key];\r\n }\r\n });\r\n leavingVNodesCache[key] = vnode;\r\n if (onLeave) {\r\n onLeave(el, done);\r\n if (onLeave.length <= 1) {\r\n done();\r\n }\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n clone(vnode) {\r\n return resolveTransitionHooks(vnode, props, state, instance);\r\n }\r\n };\r\n return hooks;\r\n}\r\n// the placeholder really only handles one special case: KeepAlive\r\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\r\n// placeholder with empty content to avoid the KeepAlive instance from being\r\n// unmounted.\r\nfunction emptyPlaceholder(vnode) {\r\n if (isKeepAlive(vnode)) {\r\n vnode = cloneVNode(vnode);\r\n vnode.children = null;\r\n return vnode;\r\n }\r\n}\r\nfunction getKeepAliveChild(vnode) {\r\n return isKeepAlive(vnode)\r\n ? vnode.children\r\n ? vnode.children[0]\r\n : undefined\r\n : vnode;\r\n}\r\nfunction setTransitionHooks(vnode, hooks) {\r\n if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {\r\n setTransitionHooks(vnode.component.subTree, hooks);\r\n }\r\n else if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\r\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\r\n }\r\n else {\r\n vnode.transition = hooks;\r\n }\r\n}\r\nfunction getTransitionRawChildren(children, keepComment = false) {\r\n let ret = [];\r\n let keyedFragmentCount = 0;\r\n for (let i = 0; i < children.length; i++) {\r\n const child = children[i];\r\n // handle fragment children case, e.g. v-for\r\n if (child.type === Fragment) {\r\n if (child.patchFlag & 128 /* KEYED_FRAGMENT */)\r\n keyedFragmentCount++;\r\n ret = ret.concat(getTransitionRawChildren(child.children, keepComment));\r\n }\r\n // comment placeholders should be skipped, e.g. v-if\r\n else if (keepComment || child.type !== Comment$1) {\r\n ret.push(child);\r\n }\r\n }\r\n // #1126 if a transition children list contains multiple sub fragments, these\r\n // fragments will be merged into a flat children array. Since each v-for\r\n // fragment may contain different static bindings inside, we need to de-op\r\n // these children to force full diffs to ensure correct behavior.\r\n if (keyedFragmentCount > 1) {\r\n for (let i = 0; i < ret.length; i++) {\r\n ret[i].patchFlag = -2 /* BAIL */;\r\n }\r\n }\r\n return ret;\r\n}\n\n// implementation, close to no-op\r\nfunction defineComponent(options) {\r\n return isFunction$1(options) ? { setup: options, name: options.name } : options;\r\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\r\nfunction defineAsyncComponent(source) {\r\n if (isFunction$1(source)) {\r\n source = { loader: source };\r\n }\r\n const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out\r\n suspensible = true, onError: userOnError } = source;\r\n let pendingRequest = null;\r\n let resolvedComp;\r\n let retries = 0;\r\n const retry = () => {\r\n retries++;\r\n pendingRequest = null;\r\n return load();\r\n };\r\n const load = () => {\r\n let thisRequest;\r\n return (pendingRequest ||\r\n (thisRequest = pendingRequest = loader()\r\n .catch(err => {\r\n err = err instanceof Error ? err : new Error(String(err));\r\n if (userOnError) {\r\n return new Promise((resolve, reject) => {\r\n const userRetry = () => resolve(retry());\r\n const userFail = () => reject(err);\r\n userOnError(err, userRetry, userFail, retries + 1);\r\n });\r\n }\r\n else {\r\n throw err;\r\n }\r\n })\r\n .then((comp) => {\r\n if (thisRequest !== pendingRequest && pendingRequest) {\r\n return pendingRequest;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && !comp) {\r\n warn(`Async component loader resolved to undefined. ` +\r\n `If you are using retry(), make sure to return its return value.`);\r\n }\r\n // interop module default\r\n if (comp &&\r\n (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\r\n comp = comp.default;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && comp && !isObject$1(comp) && !isFunction$1(comp)) {\r\n throw new Error(`Invalid async component load result: ${comp}`);\r\n }\r\n resolvedComp = comp;\r\n return comp;\r\n })));\r\n };\r\n return defineComponent({\r\n name: 'AsyncComponentWrapper',\r\n __asyncLoader: load,\r\n get __asyncResolved() {\r\n return resolvedComp;\r\n },\r\n setup() {\r\n const instance = currentInstance;\r\n // already resolved\r\n if (resolvedComp) {\r\n return () => createInnerComp(resolvedComp, instance);\r\n }\r\n const onError = (err) => {\r\n pendingRequest = null;\r\n handleError(err, instance, 13 /* ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);\r\n };\r\n // suspense-controlled or SSR.\r\n if ((suspensible && instance.suspense) ||\r\n (false )) {\r\n return load()\r\n .then(comp => {\r\n return () => createInnerComp(comp, instance);\r\n })\r\n .catch(err => {\r\n onError(err);\r\n return () => errorComponent\r\n ? createVNode(errorComponent, {\r\n error: err\r\n })\r\n : null;\r\n });\r\n }\r\n const loaded = ref(false);\r\n const error = ref();\r\n const delayed = ref(!!delay);\r\n if (delay) {\r\n setTimeout(() => {\r\n delayed.value = false;\r\n }, delay);\r\n }\r\n if (timeout != null) {\r\n setTimeout(() => {\r\n if (!loaded.value && !error.value) {\r\n const err = new Error(`Async component timed out after ${timeout}ms.`);\r\n onError(err);\r\n error.value = err;\r\n }\r\n }, timeout);\r\n }\r\n load()\r\n .then(() => {\r\n loaded.value = true;\r\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\r\n // parent is keep-alive, force update so the loaded component's\r\n // name is taken into account\r\n queueJob(instance.parent.update);\r\n }\r\n })\r\n .catch(err => {\r\n onError(err);\r\n error.value = err;\r\n });\r\n return () => {\r\n if (loaded.value && resolvedComp) {\r\n return createInnerComp(resolvedComp, instance);\r\n }\r\n else if (error.value && errorComponent) {\r\n return createVNode(errorComponent, {\r\n error: error.value\r\n });\r\n }\r\n else if (loadingComponent && !delayed.value) {\r\n return createVNode(loadingComponent);\r\n }\r\n };\r\n }\r\n });\r\n}\r\nfunction createInnerComp(comp, { vnode: { ref, props, children } }) {\r\n const vnode = createVNode(comp, props, children);\r\n // ensure inner component inherits the async wrapper's ref owner\r\n vnode.ref = ref;\r\n return vnode;\r\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\r\nconst KeepAliveImpl = {\r\n name: `KeepAlive`,\r\n // Marker for special handling inside the renderer. We are not using a ===\r\n // check directly on KeepAlive in the renderer, because importing it directly\r\n // would prevent it from being tree-shaken.\r\n __isKeepAlive: true,\r\n props: {\r\n include: [String, RegExp, Array],\r\n exclude: [String, RegExp, Array],\r\n max: [String, Number]\r\n },\r\n setup(props, { slots }) {\r\n const instance = getCurrentInstance();\r\n // KeepAlive communicates with the instantiated renderer via the\r\n // ctx where the renderer passes in its internals,\r\n // and the KeepAlive instance exposes activate/deactivate implementations.\r\n // The whole point of this is to avoid importing KeepAlive directly in the\r\n // renderer to facilitate tree-shaking.\r\n const sharedContext = instance.ctx;\r\n // if the internal renderer is not registered, it indicates that this is server-side rendering,\r\n // for KeepAlive, we just need to render its children\r\n if (!sharedContext.renderer) {\r\n return slots.default;\r\n }\r\n const cache = new Map();\r\n const keys = new Set();\r\n let current = null;\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n instance.__v_cache = cache;\r\n }\r\n const parentSuspense = instance.suspense;\r\n const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;\r\n const storageContainer = createElement('div');\r\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\r\n const instance = vnode.component;\r\n move(vnode, container, anchor, 0 /* ENTER */, parentSuspense);\r\n // in case props have changed\r\n patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);\r\n queuePostRenderEffect(() => {\r\n instance.isDeactivated = false;\r\n if (instance.a) {\r\n invokeArrayFns(instance.a);\r\n }\r\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\r\n if (vnodeHook) {\r\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n }\r\n }, parentSuspense);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n // Update components tree\r\n devtoolsComponentAdded(instance);\r\n }\r\n };\r\n sharedContext.deactivate = (vnode) => {\r\n const instance = vnode.component;\r\n move(vnode, storageContainer, null, 1 /* LEAVE */, parentSuspense);\r\n queuePostRenderEffect(() => {\r\n if (instance.da) {\r\n invokeArrayFns(instance.da);\r\n }\r\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\r\n if (vnodeHook) {\r\n invokeVNodeHook(vnodeHook, instance.parent, vnode);\r\n }\r\n instance.isDeactivated = true;\r\n }, parentSuspense);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n // Update components tree\r\n devtoolsComponentAdded(instance);\r\n }\r\n };\r\n function unmount(vnode) {\r\n // reset the shapeFlag so it can be properly unmounted\r\n resetShapeFlag(vnode);\r\n _unmount(vnode, instance, parentSuspense);\r\n }\r\n function pruneCache(filter) {\r\n cache.forEach((vnode, key) => {\r\n const name = getComponentName(vnode.type);\r\n if (name && (!filter || !filter(name))) {\r\n pruneCacheEntry(key);\r\n }\r\n });\r\n }\r\n function pruneCacheEntry(key) {\r\n const cached = cache.get(key);\r\n if (!current || cached.type !== current.type) {\r\n unmount(cached);\r\n }\r\n else if (current) {\r\n // current active instance should no longer be kept-alive.\r\n // we can't unmount it now but it might be later, so reset its flag now.\r\n resetShapeFlag(current);\r\n }\r\n cache.delete(key);\r\n keys.delete(key);\r\n }\r\n // prune cache on include/exclude prop change\r\n watch(() => [props.include, props.exclude], ([include, exclude]) => {\r\n include && pruneCache(name => matches(include, name));\r\n exclude && pruneCache(name => !matches(exclude, name));\r\n }, \r\n // prune post-render after `current` has been updated\r\n { flush: 'post', deep: true });\r\n // cache sub tree after render\r\n let pendingCacheKey = null;\r\n const cacheSubtree = () => {\r\n // fix #1621, the pendingCacheKey could be 0\r\n if (pendingCacheKey != null) {\r\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\r\n }\r\n };\r\n onMounted(cacheSubtree);\r\n onUpdated(cacheSubtree);\r\n onBeforeUnmount(() => {\r\n cache.forEach(cached => {\r\n const { subTree, suspense } = instance;\r\n const vnode = getInnerChild(subTree);\r\n if (cached.type === vnode.type) {\r\n // current instance will be unmounted as part of keep-alive's unmount\r\n resetShapeFlag(vnode);\r\n // but invoke its deactivated hook here\r\n const da = vnode.component.da;\r\n da && queuePostRenderEffect(da, suspense);\r\n return;\r\n }\r\n unmount(cached);\r\n });\r\n });\r\n return () => {\r\n pendingCacheKey = null;\r\n if (!slots.default) {\r\n return null;\r\n }\r\n const children = slots.default();\r\n const rawVNode = children[0];\r\n if (children.length > 1) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`KeepAlive should contain exactly one component child.`);\r\n }\r\n current = null;\r\n return children;\r\n }\r\n else if (!isVNode(rawVNode) ||\r\n (!(rawVNode.shapeFlag & 4 /* STATEFUL_COMPONENT */) &&\r\n !(rawVNode.shapeFlag & 128 /* SUSPENSE */))) {\r\n current = null;\r\n return rawVNode;\r\n }\r\n let vnode = getInnerChild(rawVNode);\r\n const comp = vnode.type;\r\n // for async components, name check should be based in its loaded\r\n // inner component if available\r\n const name = getComponentName(isAsyncWrapper(vnode)\r\n ? vnode.type.__asyncResolved || {}\r\n : comp);\r\n const { include, exclude, max } = props;\r\n if ((include && (!name || !matches(include, name))) ||\r\n (exclude && name && matches(exclude, name))) {\r\n current = vnode;\r\n return rawVNode;\r\n }\r\n const key = vnode.key == null ? comp : vnode.key;\r\n const cachedVNode = cache.get(key);\r\n // clone vnode if it's reused because we are going to mutate it\r\n if (vnode.el) {\r\n vnode = cloneVNode(vnode);\r\n if (rawVNode.shapeFlag & 128 /* SUSPENSE */) {\r\n rawVNode.ssContent = vnode;\r\n }\r\n }\r\n // #1513 it's possible for the returned vnode to be cloned due to attr\r\n // fallthrough or scopeId, so the vnode here may not be the final vnode\r\n // that is mounted. Instead of caching it directly, we store the pending\r\n // key and cache `instance.subTree` (the normalized vnode) in\r\n // beforeMount/beforeUpdate hooks.\r\n pendingCacheKey = key;\r\n if (cachedVNode) {\r\n // copy over mounted state\r\n vnode.el = cachedVNode.el;\r\n vnode.component = cachedVNode.component;\r\n if (vnode.transition) {\r\n // recursively update transition hooks on subTree\r\n setTransitionHooks(vnode, vnode.transition);\r\n }\r\n // avoid vnode being mounted as fresh\r\n vnode.shapeFlag |= 512 /* COMPONENT_KEPT_ALIVE */;\r\n // make this key the freshest\r\n keys.delete(key);\r\n keys.add(key);\r\n }\r\n else {\r\n keys.add(key);\r\n // prune oldest entry\r\n if (max && keys.size > parseInt(max, 10)) {\r\n pruneCacheEntry(keys.values().next().value);\r\n }\r\n }\r\n // avoid vnode being unmounted\r\n vnode.shapeFlag |= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n current = vnode;\r\n return rawVNode;\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\nconst KeepAlive = KeepAliveImpl;\r\nfunction matches(pattern, name) {\r\n if (isArray(pattern)) {\r\n return pattern.some((p) => matches(p, name));\r\n }\r\n else if (isString(pattern)) {\r\n return pattern.split(',').indexOf(name) > -1;\r\n }\r\n else if (pattern.test) {\r\n return pattern.test(name);\r\n }\r\n /* istanbul ignore next */\r\n return false;\r\n}\r\nfunction onActivated(hook, target) {\r\n registerKeepAliveHook(hook, \"a\" /* ACTIVATED */, target);\r\n}\r\nfunction onDeactivated(hook, target) {\r\n registerKeepAliveHook(hook, \"da\" /* DEACTIVATED */, target);\r\n}\r\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\r\n // cache the deactivate branch check wrapper for injected hooks so the same\r\n // hook can be properly deduped by the scheduler. \"__wdc\" stands for \"with\r\n // deactivation check\".\r\n const wrappedHook = hook.__wdc ||\r\n (hook.__wdc = () => {\r\n // only fire the hook if the target instance is NOT in a deactivated branch.\r\n let current = target;\r\n while (current) {\r\n if (current.isDeactivated) {\r\n return;\r\n }\r\n current = current.parent;\r\n }\r\n hook();\r\n });\r\n injectHook(type, wrappedHook, target);\r\n // In addition to registering it on the target instance, we walk up the parent\r\n // chain and register it on all ancestor instances that are keep-alive roots.\r\n // This avoids the need to walk the entire component tree when invoking these\r\n // hooks, and more importantly, avoids the need to track child components in\r\n // arrays.\r\n if (target) {\r\n let current = target.parent;\r\n while (current && current.parent) {\r\n if (isKeepAlive(current.parent.vnode)) {\r\n injectToKeepAliveRoot(wrappedHook, type, target, current);\r\n }\r\n current = current.parent;\r\n }\r\n }\r\n}\r\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\r\n // injectHook wraps the original for error handling, so make sure to remove\r\n // the wrapped version.\r\n const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);\r\n onUnmounted(() => {\r\n remove(keepAliveRoot[type], injected);\r\n }, target);\r\n}\r\nfunction resetShapeFlag(vnode) {\r\n let shapeFlag = vnode.shapeFlag;\r\n if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {\r\n shapeFlag -= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;\r\n }\r\n if (shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {\r\n shapeFlag -= 512 /* COMPONENT_KEPT_ALIVE */;\r\n }\r\n vnode.shapeFlag = shapeFlag;\r\n}\r\nfunction getInnerChild(vnode) {\r\n return vnode.shapeFlag & 128 /* SUSPENSE */ ? vnode.ssContent : vnode;\r\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\r\n if (target) {\r\n const hooks = target[type] || (target[type] = []);\r\n // cache the error handling wrapper for injected hooks so the same hook\r\n // can be properly deduped by the scheduler. \"__weh\" stands for \"with error\r\n // handling\".\r\n const wrappedHook = hook.__weh ||\r\n (hook.__weh = (...args) => {\r\n if (target.isUnmounted) {\r\n return;\r\n }\r\n // disable tracking inside all lifecycle hooks\r\n // since they can potentially be called inside effects.\r\n pauseTracking();\r\n // Set currentInstance during hook invocation.\r\n // This assumes the hook does not synchronously trigger other hooks, which\r\n // can only be false when the user does something really funky.\r\n setCurrentInstance(target);\r\n const res = callWithAsyncErrorHandling(hook, target, type, args);\r\n setCurrentInstance(null);\r\n resetTracking();\r\n return res;\r\n });\r\n if (prepend) {\r\n hooks.unshift(wrappedHook);\r\n }\r\n else {\r\n hooks.push(wrappedHook);\r\n }\r\n return wrappedHook;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ''));\r\n warn(`${apiName} is called when there is no active component instance to be ` +\r\n `associated with. ` +\r\n `Lifecycle injection APIs can only be used during execution of setup().` +\r\n (` If you are using async setup(), make sure to register lifecycle ` +\r\n `hooks before the first await statement.`\r\n ));\r\n }\r\n}\r\nconst createHook = (lifecycle) => (hook, target = currentInstance) => \r\n// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\r\n(!isInSSRComponentSetup || lifecycle === \"sp\" /* SERVER_PREFETCH */) &&\r\n injectHook(lifecycle, hook, target);\r\nconst onBeforeMount = createHook(\"bm\" /* BEFORE_MOUNT */);\r\nconst onMounted = createHook(\"m\" /* MOUNTED */);\r\nconst onBeforeUpdate = createHook(\"bu\" /* BEFORE_UPDATE */);\r\nconst onUpdated = createHook(\"u\" /* UPDATED */);\r\nconst onBeforeUnmount = createHook(\"bum\" /* BEFORE_UNMOUNT */);\r\nconst onUnmounted = createHook(\"um\" /* UNMOUNTED */);\r\nconst onServerPrefetch = createHook(\"sp\" /* SERVER_PREFETCH */);\r\nconst onRenderTriggered = createHook(\"rtg\" /* RENDER_TRIGGERED */);\r\nconst onRenderTracked = createHook(\"rtc\" /* RENDER_TRACKED */);\r\nfunction onErrorCaptured(hook, target = currentInstance) {\r\n injectHook(\"ec\" /* ERROR_CAPTURED */, hook, target);\r\n}\n\nfunction createDuplicateChecker() {\r\n const cache = Object.create(null);\r\n return (type, key) => {\r\n if (cache[key]) {\r\n warn(`${type} property \"${key}\" is already defined in ${cache[key]}.`);\r\n }\r\n else {\r\n cache[key] = type;\r\n }\r\n };\r\n}\r\nlet shouldCacheAccess = true;\r\nfunction applyOptions(instance) {\r\n const options = resolveMergedOptions(instance);\r\n const publicThis = instance.proxy;\r\n const ctx = instance.ctx;\r\n // do not cache property access on public proxy during state initialization\r\n shouldCacheAccess = false;\r\n // call beforeCreate first before accessing other options since\r\n // the hook may mutate resolved options (#2791)\r\n if (options.beforeCreate) {\r\n callHook(options.beforeCreate, instance, \"bc\" /* BEFORE_CREATE */);\r\n }\r\n const { \r\n // state\r\n data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions, \r\n // lifecycle\r\n created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch, \r\n // public API\r\n expose, inheritAttrs, \r\n // assets\r\n components, directives, filters } = options;\r\n const checkDuplicateProperties = (process.env.NODE_ENV !== 'production') ? createDuplicateChecker() : null;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const [propsOptions] = instance.propsOptions;\r\n if (propsOptions) {\r\n for (const key in propsOptions) {\r\n checkDuplicateProperties(\"Props\" /* PROPS */, key);\r\n }\r\n }\r\n }\r\n // options initialization order (to be consistent with Vue 2):\r\n // - props (already done outside of this function)\r\n // - inject\r\n // - methods\r\n // - data (deferred since it relies on `this` access)\r\n // - computed\r\n // - watch (deferred since it relies on `this` access)\r\n if (injectOptions) {\r\n resolveInjections(injectOptions, ctx, checkDuplicateProperties);\r\n }\r\n if (methods) {\r\n for (const key in methods) {\r\n const methodHandler = methods[key];\r\n if (isFunction$1(methodHandler)) {\r\n // In dev mode, we use the `createRenderContext` function to define methods to the proxy target,\r\n // and those are read-only but reconfigurable, so it needs to be redefined here\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n Object.defineProperty(ctx, key, {\r\n value: methodHandler.bind(publicThis),\r\n configurable: true,\r\n enumerable: true,\r\n writable: true\r\n });\r\n }\r\n else {\r\n ctx[key] = methodHandler.bind(publicThis);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Methods\" /* METHODS */, key);\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Method \"${key}\" has type \"${typeof methodHandler}\" in the component definition. ` +\r\n `Did you reference the function correctly?`);\r\n }\r\n }\r\n }\r\n if (dataOptions) {\r\n if ((process.env.NODE_ENV !== 'production') && !isFunction$1(dataOptions)) {\r\n warn(`The data option must be a function. ` +\r\n `Plain object usage is no longer supported.`);\r\n }\r\n const data = dataOptions.call(publicThis, publicThis);\r\n if ((process.env.NODE_ENV !== 'production') && isPromise$1(data)) {\r\n warn(`data() returned a Promise - note data() cannot be async; If you ` +\r\n `intend to perform data fetching before component renders, use ` +\r\n `async setup() + .`);\r\n }\r\n if (!isObject$1(data)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`data() should return an object.`);\r\n }\r\n else {\r\n instance.data = reactive(data);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n for (const key in data) {\r\n checkDuplicateProperties(\"Data\" /* DATA */, key);\r\n // expose data on ctx during dev\r\n if (key[0] !== '$' && key[0] !== '_') {\r\n Object.defineProperty(ctx, key, {\r\n configurable: true,\r\n enumerable: true,\r\n get: () => data[key],\r\n set: NOOP\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n // state initialization complete at this point - start caching access\r\n shouldCacheAccess = true;\r\n if (computedOptions) {\r\n for (const key in computedOptions) {\r\n const opt = computedOptions[key];\r\n const get = isFunction$1(opt)\r\n ? opt.bind(publicThis, publicThis)\r\n : isFunction$1(opt.get)\r\n ? opt.get.bind(publicThis, publicThis)\r\n : NOOP;\r\n if ((process.env.NODE_ENV !== 'production') && get === NOOP) {\r\n warn(`Computed property \"${key}\" has no getter.`);\r\n }\r\n const set = !isFunction$1(opt) && isFunction$1(opt.set)\r\n ? opt.set.bind(publicThis)\r\n : (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n warn(`Write operation failed: computed property \"${key}\" is readonly.`);\r\n }\r\n : NOOP;\r\n const c = computed({\r\n get,\r\n set\r\n });\r\n Object.defineProperty(ctx, key, {\r\n enumerable: true,\r\n configurable: true,\r\n get: () => c.value,\r\n set: v => (c.value = v)\r\n });\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Computed\" /* COMPUTED */, key);\r\n }\r\n }\r\n }\r\n if (watchOptions) {\r\n for (const key in watchOptions) {\r\n createWatcher(watchOptions[key], ctx, publicThis, key);\r\n }\r\n }\r\n if (provideOptions) {\r\n const provides = isFunction$1(provideOptions)\r\n ? provideOptions.call(publicThis)\r\n : provideOptions;\r\n Reflect.ownKeys(provides).forEach(key => {\r\n provide(key, provides[key]);\r\n });\r\n }\r\n if (created) {\r\n callHook(created, instance, \"c\" /* CREATED */);\r\n }\r\n function registerLifecycleHook(register, hook) {\r\n if (isArray(hook)) {\r\n hook.forEach(_hook => register(_hook.bind(publicThis)));\r\n }\r\n else if (hook) {\r\n register(hook.bind(publicThis));\r\n }\r\n }\r\n registerLifecycleHook(onBeforeMount, beforeMount);\r\n registerLifecycleHook(onMounted, mounted);\r\n registerLifecycleHook(onBeforeUpdate, beforeUpdate);\r\n registerLifecycleHook(onUpdated, updated);\r\n registerLifecycleHook(onActivated, activated);\r\n registerLifecycleHook(onDeactivated, deactivated);\r\n registerLifecycleHook(onErrorCaptured, errorCaptured);\r\n registerLifecycleHook(onRenderTracked, renderTracked);\r\n registerLifecycleHook(onRenderTriggered, renderTriggered);\r\n registerLifecycleHook(onBeforeUnmount, beforeUnmount);\r\n registerLifecycleHook(onUnmounted, unmounted);\r\n registerLifecycleHook(onServerPrefetch, serverPrefetch);\r\n if (isArray(expose)) {\r\n if (expose.length) {\r\n const exposed = instance.exposed || (instance.exposed = {});\r\n expose.forEach(key => {\r\n Object.defineProperty(exposed, key, {\r\n get: () => publicThis[key],\r\n set: val => (publicThis[key] = val)\r\n });\r\n });\r\n }\r\n else if (!instance.exposed) {\r\n instance.exposed = {};\r\n }\r\n }\r\n // options that are handled when creating the instance but also need to be\r\n // applied from mixins\r\n if (render && instance.render === NOOP) {\r\n instance.render = render;\r\n }\r\n if (inheritAttrs != null) {\r\n instance.inheritAttrs = inheritAttrs;\r\n }\r\n // asset options.\r\n if (components)\r\n instance.components = components;\r\n if (directives)\r\n instance.directives = directives;\r\n}\r\nfunction resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP) {\r\n if (isArray(injectOptions)) {\r\n injectOptions = normalizeInject(injectOptions);\r\n }\r\n for (const key in injectOptions) {\r\n const opt = injectOptions[key];\r\n if (isObject$1(opt)) {\r\n if ('default' in opt) {\r\n ctx[key] = inject(opt.from || key, opt.default, true /* treat default function as factory */);\r\n }\r\n else {\r\n ctx[key] = inject(opt.from || key);\r\n }\r\n }\r\n else {\r\n ctx[key] = inject(opt);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n checkDuplicateProperties(\"Inject\" /* INJECT */, key);\r\n }\r\n }\r\n}\r\nfunction callHook(hook, instance, type) {\r\n callWithAsyncErrorHandling(isArray(hook)\r\n ? hook.map(h => h.bind(instance.proxy))\r\n : hook.bind(instance.proxy), instance, type);\r\n}\r\nfunction createWatcher(raw, ctx, publicThis, key) {\r\n const getter = key.includes('.')\r\n ? createPathGetter(publicThis, key)\r\n : () => publicThis[key];\r\n if (isString(raw)) {\r\n const handler = ctx[raw];\r\n if (isFunction$1(handler)) {\r\n watch(getter, handler);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch handler specified by key \"${raw}\"`, handler);\r\n }\r\n }\r\n else if (isFunction$1(raw)) {\r\n watch(getter, raw.bind(publicThis));\r\n }\r\n else if (isObject$1(raw)) {\r\n if (isArray(raw)) {\r\n raw.forEach(r => createWatcher(r, ctx, publicThis, key));\r\n }\r\n else {\r\n const handler = isFunction$1(raw.handler)\r\n ? raw.handler.bind(publicThis)\r\n : ctx[raw.handler];\r\n if (isFunction$1(handler)) {\r\n watch(getter, handler, raw);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch handler specified by key \"${raw.handler}\"`, handler);\r\n }\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid watch option: \"${key}\"`, raw);\r\n }\r\n}\r\n/**\r\n * Resolve merged options and cache it on the component.\r\n * This is done only once per-component since the merging does not involve\r\n * instances.\r\n */\r\nfunction resolveMergedOptions(instance) {\r\n const base = instance.type;\r\n const { mixins, extends: extendsOptions } = base;\r\n const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;\r\n const cached = cache.get(base);\r\n let resolved;\r\n if (cached) {\r\n resolved = cached;\r\n }\r\n else if (!globalMixins.length && !mixins && !extendsOptions) {\r\n {\r\n resolved = base;\r\n }\r\n }\r\n else {\r\n resolved = {};\r\n if (globalMixins.length) {\r\n globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));\r\n }\r\n mergeOptions(resolved, base, optionMergeStrategies);\r\n }\r\n cache.set(base, resolved);\r\n return resolved;\r\n}\r\nfunction mergeOptions(to, from, strats, asMixin = false) {\r\n const { mixins, extends: extendsOptions } = from;\r\n if (extendsOptions) {\r\n mergeOptions(to, extendsOptions, strats, true);\r\n }\r\n if (mixins) {\r\n mixins.forEach((m) => mergeOptions(to, m, strats, true));\r\n }\r\n for (const key in from) {\r\n if (asMixin && key === 'expose') {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`\"expose\" option is ignored when declared in mixins or extends. ` +\r\n `It should only be declared in the base component itself.`);\r\n }\r\n else {\r\n const strat = internalOptionMergeStrats[key] || (strats && strats[key]);\r\n to[key] = strat ? strat(to[key], from[key]) : from[key];\r\n }\r\n }\r\n return to;\r\n}\r\nconst internalOptionMergeStrats = {\r\n data: mergeDataFn,\r\n props: mergeObjectOptions,\r\n emits: mergeObjectOptions,\r\n // objects\r\n methods: mergeObjectOptions,\r\n computed: mergeObjectOptions,\r\n // lifecycle\r\n beforeCreate: mergeAsArray,\r\n created: mergeAsArray,\r\n beforeMount: mergeAsArray,\r\n mounted: mergeAsArray,\r\n beforeUpdate: mergeAsArray,\r\n updated: mergeAsArray,\r\n beforeDestroy: mergeAsArray,\r\n destroyed: mergeAsArray,\r\n activated: mergeAsArray,\r\n deactivated: mergeAsArray,\r\n errorCaptured: mergeAsArray,\r\n serverPrefetch: mergeAsArray,\r\n // assets\r\n components: mergeObjectOptions,\r\n directives: mergeObjectOptions,\r\n // watch\r\n watch: mergeWatchOptions,\r\n // provide / inject\r\n provide: mergeDataFn,\r\n inject: mergeInject\r\n};\r\nfunction mergeDataFn(to, from) {\r\n if (!from) {\r\n return to;\r\n }\r\n if (!to) {\r\n return from;\r\n }\r\n return function mergedDataFn() {\r\n return (extend)(isFunction$1(to) ? to.call(this, this) : to, isFunction$1(from) ? from.call(this, this) : from);\r\n };\r\n}\r\nfunction mergeInject(to, from) {\r\n return mergeObjectOptions(normalizeInject(to), normalizeInject(from));\r\n}\r\nfunction normalizeInject(raw) {\r\n if (isArray(raw)) {\r\n const res = {};\r\n for (let i = 0; i < raw.length; i++) {\r\n res[raw[i]] = raw[i];\r\n }\r\n return res;\r\n }\r\n return raw;\r\n}\r\nfunction mergeAsArray(to, from) {\r\n return to ? [...new Set([].concat(to, from))] : from;\r\n}\r\nfunction mergeObjectOptions(to, from) {\r\n return to ? extend(extend(Object.create(null), to), from) : from;\r\n}\r\nfunction mergeWatchOptions(to, from) {\r\n if (!to)\r\n return from;\r\n if (!from)\r\n return to;\r\n const merged = extend(Object.create(null), to);\r\n for (const key in from) {\r\n merged[key] = mergeAsArray(to[key], from[key]);\r\n }\r\n return merged;\r\n}\n\nfunction initProps(instance, rawProps, isStateful, // result of bitwise flag comparison\r\nisSSR = false) {\r\n const props = {};\r\n const attrs = {};\r\n def(attrs, InternalObjectKey, 1);\r\n instance.propsDefaults = Object.create(null);\r\n setFullProps(instance, rawProps, props, attrs);\r\n // ensure all declared prop keys are present\r\n for (const key in instance.propsOptions[0]) {\r\n if (!(key in props)) {\r\n props[key] = undefined;\r\n }\r\n }\r\n // validation\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateProps(rawProps || {}, props, instance);\r\n }\r\n if (isStateful) {\r\n // stateful\r\n instance.props = isSSR ? props : shallowReactive(props);\r\n }\r\n else {\r\n if (!instance.type.props) {\r\n // functional w/ optional props, props === attrs\r\n instance.props = attrs;\r\n }\r\n else {\r\n // functional w/ declared props\r\n instance.props = props;\r\n }\r\n }\r\n instance.attrs = attrs;\r\n}\r\nfunction updateProps(instance, rawProps, rawPrevProps, optimized) {\r\n const { props, attrs, vnode: { patchFlag } } = instance;\r\n const rawCurrentProps = toRaw(props);\r\n const [options] = instance.propsOptions;\r\n let hasAttrsChanged = false;\r\n if (\r\n // always force full diff in dev\r\n // - #1942 if hmr is enabled with sfc component\r\n // - vite#872 non-sfc component used by sfc component\r\n !((process.env.NODE_ENV !== 'production') &&\r\n (instance.type.__hmrId ||\r\n (instance.parent && instance.parent.type.__hmrId))) &&\r\n (optimized || patchFlag > 0) &&\r\n !(patchFlag & 16 /* FULL_PROPS */)) {\r\n if (patchFlag & 8 /* PROPS */) {\r\n // Compiler-generated props & no keys change, just set the updated\r\n // the props.\r\n const propsToUpdate = instance.vnode.dynamicProps;\r\n for (let i = 0; i < propsToUpdate.length; i++) {\r\n let key = propsToUpdate[i];\r\n // PROPS flag guarantees rawProps to be non-null\r\n const value = rawProps[key];\r\n if (options) {\r\n // attr / props separation was done on init and will be consistent\r\n // in this code path, so just check if attrs have it.\r\n if (hasOwn(attrs, key)) {\r\n if (value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n else {\r\n const camelizedKey = camelize(key);\r\n props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);\r\n }\r\n }\r\n else {\r\n if (value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // full props update.\r\n if (setFullProps(instance, rawProps, props, attrs)) {\r\n hasAttrsChanged = true;\r\n }\r\n // in case of dynamic props, check if we need to delete keys from\r\n // the props object\r\n let kebabKey;\r\n for (const key in rawCurrentProps) {\r\n if (!rawProps ||\r\n // for camelCase\r\n (!hasOwn(rawProps, key) &&\r\n // it's possible the original props was passed in as kebab-case\r\n // and converted to camelCase (#955)\r\n ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey)))) {\r\n if (options) {\r\n if (rawPrevProps &&\r\n // for camelCase\r\n (rawPrevProps[key] !== undefined ||\r\n // for kebab-case\r\n rawPrevProps[kebabKey] !== undefined)) {\r\n props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);\r\n }\r\n }\r\n else {\r\n delete props[key];\r\n }\r\n }\r\n }\r\n // in the case of functional component w/o props declaration, props and\r\n // attrs point to the same object so it should already have been updated.\r\n if (attrs !== rawCurrentProps) {\r\n for (const key in attrs) {\r\n if (!rawProps || !hasOwn(rawProps, key)) {\r\n delete attrs[key];\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n // trigger updates for $attrs in case it's used in component slots\r\n if (hasAttrsChanged) {\r\n trigger(instance, \"set\" /* SET */, '$attrs');\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateProps(rawProps || {}, props, instance);\r\n }\r\n}\r\nfunction setFullProps(instance, rawProps, props, attrs) {\r\n const [options, needCastKeys] = instance.propsOptions;\r\n let hasAttrsChanged = false;\r\n let rawCastValues;\r\n if (rawProps) {\r\n for (let key in rawProps) {\r\n // key, ref are reserved and never passed down\r\n if (isReservedProp(key)) {\r\n continue;\r\n }\r\n const value = rawProps[key];\r\n // prop option names are camelized during normalization, so to support\r\n // kebab -> camel conversion here we need to camelize the key.\r\n let camelKey;\r\n if (options && hasOwn(options, (camelKey = camelize(key)))) {\r\n if (!needCastKeys || !needCastKeys.includes(camelKey)) {\r\n props[camelKey] = value;\r\n }\r\n else {\r\n (rawCastValues || (rawCastValues = {}))[camelKey] = value;\r\n }\r\n }\r\n else if (!isEmitListener(instance.emitsOptions, key)) {\r\n if (value !== attrs[key]) {\r\n attrs[key] = value;\r\n hasAttrsChanged = true;\r\n }\r\n }\r\n }\r\n }\r\n if (needCastKeys) {\r\n const rawCurrentProps = toRaw(props);\r\n const castValues = rawCastValues || EMPTY_OBJ;\r\n for (let i = 0; i < needCastKeys.length; i++) {\r\n const key = needCastKeys[i];\r\n props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !hasOwn(castValues, key));\r\n }\r\n }\r\n return hasAttrsChanged;\r\n}\r\nfunction resolvePropValue(options, props, key, value, instance, isAbsent) {\r\n const opt = options[key];\r\n if (opt != null) {\r\n const hasDefault = hasOwn(opt, 'default');\r\n // default values\r\n if (hasDefault && value === undefined) {\r\n const defaultValue = opt.default;\r\n if (opt.type !== Function && isFunction$1(defaultValue)) {\r\n const { propsDefaults } = instance;\r\n if (key in propsDefaults) {\r\n value = propsDefaults[key];\r\n }\r\n else {\r\n setCurrentInstance(instance);\r\n value = propsDefaults[key] = defaultValue.call(null, props);\r\n setCurrentInstance(null);\r\n }\r\n }\r\n else {\r\n value = defaultValue;\r\n }\r\n }\r\n // boolean casting\r\n if (opt[0 /* shouldCast */]) {\r\n if (isAbsent && !hasDefault) {\r\n value = false;\r\n }\r\n else if (opt[1 /* shouldCastTrue */] &&\r\n (value === '' || value === hyphenate(key))) {\r\n value = true;\r\n }\r\n }\r\n }\r\n return value;\r\n}\r\nfunction normalizePropsOptions(comp, appContext, asMixin = false) {\r\n const cache = appContext.propsCache;\r\n const cached = cache.get(comp);\r\n if (cached) {\r\n return cached;\r\n }\r\n const raw = comp.props;\r\n const normalized = {};\r\n const needCastKeys = [];\r\n // apply mixin/extends props\r\n let hasExtends = false;\r\n if (__VUE_OPTIONS_API__ && !isFunction$1(comp)) {\r\n const extendProps = (raw) => {\r\n hasExtends = true;\r\n const [props, keys] = normalizePropsOptions(raw, appContext, true);\r\n extend(normalized, props);\r\n if (keys)\r\n needCastKeys.push(...keys);\r\n };\r\n if (!asMixin && appContext.mixins.length) {\r\n appContext.mixins.forEach(extendProps);\r\n }\r\n if (comp.extends) {\r\n extendProps(comp.extends);\r\n }\r\n if (comp.mixins) {\r\n comp.mixins.forEach(extendProps);\r\n }\r\n }\r\n if (!raw && !hasExtends) {\r\n cache.set(comp, EMPTY_ARR);\r\n return EMPTY_ARR;\r\n }\r\n if (isArray(raw)) {\r\n for (let i = 0; i < raw.length; i++) {\r\n if ((process.env.NODE_ENV !== 'production') && !isString(raw[i])) {\r\n warn(`props must be strings when using array syntax.`, raw[i]);\r\n }\r\n const normalizedKey = camelize(raw[i]);\r\n if (validatePropName(normalizedKey)) {\r\n normalized[normalizedKey] = EMPTY_OBJ;\r\n }\r\n }\r\n }\r\n else if (raw) {\r\n if ((process.env.NODE_ENV !== 'production') && !isObject$1(raw)) {\r\n warn(`invalid props options`, raw);\r\n }\r\n for (const key in raw) {\r\n const normalizedKey = camelize(key);\r\n if (validatePropName(normalizedKey)) {\r\n const opt = raw[key];\r\n const prop = (normalized[normalizedKey] =\r\n isArray(opt) || isFunction$1(opt) ? { type: opt } : opt);\r\n if (prop) {\r\n const booleanIndex = getTypeIndex(Boolean, prop.type);\r\n const stringIndex = getTypeIndex(String, prop.type);\r\n prop[0 /* shouldCast */] = booleanIndex > -1;\r\n prop[1 /* shouldCastTrue */] =\r\n stringIndex < 0 || booleanIndex < stringIndex;\r\n // if the prop needs boolean casting or default value\r\n if (booleanIndex > -1 || hasOwn(prop, 'default')) {\r\n needCastKeys.push(normalizedKey);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n const res = [normalized, needCastKeys];\r\n cache.set(comp, res);\r\n return res;\r\n}\r\nfunction validatePropName(key) {\r\n if (key[0] !== '$') {\r\n return true;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Invalid prop name: \"${key}\" is a reserved property.`);\r\n }\r\n return false;\r\n}\r\n// use function string name to check type constructors\r\n// so that it works across vms / iframes.\r\nfunction getType(ctor) {\r\n const match = ctor && ctor.toString().match(/^\\s*function (\\w+)/);\r\n return match ? match[1] : '';\r\n}\r\nfunction isSameType(a, b) {\r\n return getType(a) === getType(b);\r\n}\r\nfunction getTypeIndex(type, expectedTypes) {\r\n if (isArray(expectedTypes)) {\r\n return expectedTypes.findIndex(t => isSameType(t, type));\r\n }\r\n else if (isFunction$1(expectedTypes)) {\r\n return isSameType(expectedTypes, type) ? 0 : -1;\r\n }\r\n return -1;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProps(rawProps, props, instance) {\r\n const resolvedValues = toRaw(props);\r\n const options = instance.propsOptions[0];\r\n for (const key in options) {\r\n let opt = options[key];\r\n if (opt == null)\r\n continue;\r\n validateProp(key, resolvedValues[key], opt, !hasOwn(rawProps, key) && !hasOwn(rawProps, hyphenate(key)));\r\n }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction validateProp(name, value, prop, isAbsent) {\r\n const { type, required, validator } = prop;\r\n // required!\r\n if (required && isAbsent) {\r\n warn('Missing required prop: \"' + name + '\"');\r\n return;\r\n }\r\n // missing but optional\r\n if (value == null && !prop.required) {\r\n return;\r\n }\r\n // type check\r\n if (type != null && type !== true) {\r\n let isValid = false;\r\n const types = isArray(type) ? type : [type];\r\n const expectedTypes = [];\r\n // value is valid as long as one of the specified types match\r\n for (let i = 0; i < types.length && !isValid; i++) {\r\n const { valid, expectedType } = assertType(value, types[i]);\r\n expectedTypes.push(expectedType || '');\r\n isValid = valid;\r\n }\r\n if (!isValid) {\r\n warn(getInvalidTypeMessage(name, value, expectedTypes));\r\n return;\r\n }\r\n }\r\n // custom validator\r\n if (validator && !validator(value)) {\r\n warn('Invalid prop: custom validator check failed for prop \"' + name + '\".');\r\n }\r\n}\r\nconst isSimpleType = /*#__PURE__*/ makeMap('String,Number,Boolean,Function,Symbol,BigInt');\r\n/**\r\n * dev only\r\n */\r\nfunction assertType(value, type) {\r\n let valid;\r\n const expectedType = getType(type);\r\n if (isSimpleType(expectedType)) {\r\n const t = typeof value;\r\n valid = t === expectedType.toLowerCase();\r\n // for primitive wrapper objects\r\n if (!valid && t === 'object') {\r\n valid = value instanceof type;\r\n }\r\n }\r\n else if (expectedType === 'Object') {\r\n valid = isObject$1(value);\r\n }\r\n else if (expectedType === 'Array') {\r\n valid = isArray(value);\r\n }\r\n else {\r\n valid = value instanceof type;\r\n }\r\n return {\r\n valid,\r\n expectedType\r\n };\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\r\n let message = `Invalid prop: type check failed for prop \"${name}\".` +\r\n ` Expected ${expectedTypes.map(capitalize).join(', ')}`;\r\n const expectedType = expectedTypes[0];\r\n const receivedType = toRawType(value);\r\n const expectedValue = styleValue(value, expectedType);\r\n const receivedValue = styleValue(value, receivedType);\r\n // check if we need to specify expected value\r\n if (expectedTypes.length === 1 &&\r\n isExplicable(expectedType) &&\r\n !isBoolean(expectedType, receivedType)) {\r\n message += ` with value ${expectedValue}`;\r\n }\r\n message += `, got ${receivedType} `;\r\n // check if we need to specify received value\r\n if (isExplicable(receivedType)) {\r\n message += `with value ${receivedValue}.`;\r\n }\r\n return message;\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction styleValue(value, type) {\r\n if (type === 'String') {\r\n return `\"${value}\"`;\r\n }\r\n else if (type === 'Number') {\r\n return `${Number(value)}`;\r\n }\r\n else {\r\n return `${value}`;\r\n }\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isExplicable(type) {\r\n const explicitTypes = ['string', 'number', 'boolean'];\r\n return explicitTypes.some(elem => type.toLowerCase() === elem);\r\n}\r\n/**\r\n * dev only\r\n */\r\nfunction isBoolean(...args) {\r\n return args.some(elem => elem.toLowerCase() === 'boolean');\r\n}\n\nconst isInternalKey = (key) => key[0] === '_' || key === '$stable';\r\nconst normalizeSlotValue = (value) => isArray(value)\r\n ? value.map(normalizeVNode)\r\n : [normalizeVNode(value)];\r\nconst normalizeSlot = (key, rawSlot, ctx) => {\r\n const normalized = withCtx((props) => {\r\n if ((process.env.NODE_ENV !== 'production') && currentInstance) {\r\n warn(`Slot \"${key}\" invoked outside of the render function: ` +\r\n `this will not track dependencies used in the slot. ` +\r\n `Invoke the slot function inside the render function instead.`);\r\n }\r\n return normalizeSlotValue(rawSlot(props));\r\n }, ctx);\r\n normalized._c = false;\r\n return normalized;\r\n};\r\nconst normalizeObjectSlots = (rawSlots, slots, instance) => {\r\n const ctx = rawSlots._ctx;\r\n for (const key in rawSlots) {\r\n if (isInternalKey(key))\r\n continue;\r\n const value = rawSlots[key];\r\n if (isFunction$1(value)) {\r\n slots[key] = normalizeSlot(key, value, ctx);\r\n }\r\n else if (value != null) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n !(false )) {\r\n warn(`Non-function value encountered for slot \"${key}\". ` +\r\n `Prefer function slots for better performance.`);\r\n }\r\n const normalized = normalizeSlotValue(value);\r\n slots[key] = () => normalized;\r\n }\r\n }\r\n};\r\nconst normalizeVNodeSlots = (instance, children) => {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n !isKeepAlive(instance.vnode) &&\r\n !(false )) {\r\n warn(`Non-function value encountered for default slot. ` +\r\n `Prefer function slots for better performance.`);\r\n }\r\n const normalized = normalizeSlotValue(children);\r\n instance.slots.default = () => normalized;\r\n};\r\nconst initSlots = (instance, children) => {\r\n if (instance.vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n const type = children._;\r\n if (type) {\r\n // users can get the shallow readonly version of the slots object through `this.$slots`,\r\n // we should avoid the proxy object polluting the slots of the internal instance\r\n instance.slots = toRaw(children);\r\n // make compiler marker non-enumerable\r\n def(children, '_', type);\r\n }\r\n else {\r\n normalizeObjectSlots(children, (instance.slots = {}));\r\n }\r\n }\r\n else {\r\n instance.slots = {};\r\n if (children) {\r\n normalizeVNodeSlots(instance, children);\r\n }\r\n }\r\n def(instance.slots, InternalObjectKey, 1);\r\n};\r\nconst updateSlots = (instance, children, optimized) => {\r\n const { vnode, slots } = instance;\r\n let needDeletionCheck = true;\r\n let deletionComparisonTarget = EMPTY_OBJ;\r\n if (vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {\r\n const type = children._;\r\n if (type) {\r\n // compiled slots.\r\n if ((process.env.NODE_ENV !== 'production') && isHmrUpdating) {\r\n // Parent was HMR updated so slot content may have changed.\r\n // force update slots and mark instance for hmr as well\r\n extend(slots, children);\r\n }\r\n else if (optimized && type === 1 /* STABLE */) {\r\n // compiled AND stable.\r\n // no need to update, and skip stale slots removal.\r\n needDeletionCheck = false;\r\n }\r\n else {\r\n // compiled but dynamic (v-if/v-for on slots) - update slots, but skip\r\n // normalization.\r\n extend(slots, children);\r\n // #2893\r\n // when rendering the optimized slots by manually written render function,\r\n // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,\r\n // i.e. let the `renderSlot` create the bailed Fragment\r\n if (!optimized && type === 1 /* STABLE */) {\r\n delete slots._;\r\n }\r\n }\r\n }\r\n else {\r\n needDeletionCheck = !children.$stable;\r\n normalizeObjectSlots(children, slots);\r\n }\r\n deletionComparisonTarget = children;\r\n }\r\n else if (children) {\r\n // non slot object children (direct value) passed to a component\r\n normalizeVNodeSlots(instance, children);\r\n deletionComparisonTarget = { default: 1 };\r\n }\r\n // delete stale slots\r\n if (needDeletionCheck) {\r\n for (const key in slots) {\r\n if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {\r\n delete slots[key];\r\n }\r\n }\r\n }\r\n};\n\n/**\r\nRuntime helper for applying directives to a vnode. Example usage:\r\n\nconst comp = resolveComponent('comp')\r\nconst foo = resolveDirective('foo')\r\nconst bar = resolveDirective('bar')\r\n\nreturn withDirectives(h(comp), [\r\n [foo, this.x],\r\n [bar, this.y]\r\n])\r\n*/\r\nconst isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text');\r\nfunction validateDirectiveName(name) {\r\n if (isBuiltInDirective(name)) {\r\n warn('Do not use built-in directive ids as custom directive id: ' + name);\r\n }\r\n}\r\n/**\r\n * Adds directives to a VNode.\r\n */\r\nfunction withDirectives(vnode, directives) {\r\n const internalInstance = currentRenderingInstance;\r\n if (internalInstance === null) {\r\n (process.env.NODE_ENV !== 'production') && warn(`withDirectives can only be used inside render functions.`);\r\n return vnode;\r\n }\r\n const instance = internalInstance.proxy;\r\n const bindings = vnode.dirs || (vnode.dirs = []);\r\n for (let i = 0; i < directives.length; i++) {\r\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\r\n if (isFunction$1(dir)) {\r\n dir = {\r\n mounted: dir,\r\n updated: dir\r\n };\r\n }\r\n if (dir.deep) {\r\n traverse(value);\r\n }\r\n bindings.push({\r\n dir,\r\n instance,\r\n value,\r\n oldValue: void 0,\r\n arg,\r\n modifiers\r\n });\r\n }\r\n return vnode;\r\n}\r\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\r\n const bindings = vnode.dirs;\r\n const oldBindings = prevVNode && prevVNode.dirs;\r\n for (let i = 0; i < bindings.length; i++) {\r\n const binding = bindings[i];\r\n if (oldBindings) {\r\n binding.oldValue = oldBindings[i].value;\r\n }\r\n let hook = binding.dir[name];\r\n if (hook) {\r\n // disable tracking inside all lifecycle hooks\r\n // since they can potentially be called inside effects.\r\n pauseTracking();\r\n callWithAsyncErrorHandling(hook, instance, 8 /* DIRECTIVE_HOOK */, [\r\n vnode.el,\r\n binding,\r\n vnode,\r\n prevVNode\r\n ]);\r\n resetTracking();\r\n }\r\n }\r\n}\n\nfunction createAppContext() {\r\n return {\r\n app: null,\r\n config: {\r\n isNativeTag: NO,\r\n performance: false,\r\n globalProperties: {},\r\n optionMergeStrategies: {},\r\n errorHandler: undefined,\r\n warnHandler: undefined,\r\n compilerOptions: {}\r\n },\r\n mixins: [],\r\n components: {},\r\n directives: {},\r\n provides: Object.create(null),\r\n optionsCache: new WeakMap(),\r\n propsCache: new WeakMap(),\r\n emitsCache: new WeakMap()\r\n };\r\n}\r\nlet uid = 0;\r\nfunction createAppAPI(render, hydrate) {\r\n return function createApp(rootComponent, rootProps = null) {\r\n if (rootProps != null && !isObject$1(rootProps)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`root props passed to app.mount() must be an object.`);\r\n rootProps = null;\r\n }\r\n const context = createAppContext();\r\n const installedPlugins = new Set();\r\n let isMounted = false;\r\n const app = (context.app = {\r\n _uid: uid++,\r\n _component: rootComponent,\r\n _props: rootProps,\r\n _container: null,\r\n _context: context,\r\n _instance: null,\r\n version,\r\n get config() {\r\n return context.config;\r\n },\r\n set config(v) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`app.config cannot be replaced. Modify individual options instead.`);\r\n }\r\n },\r\n use(plugin, ...options) {\r\n if (installedPlugins.has(plugin)) {\r\n (process.env.NODE_ENV !== 'production') && warn(`Plugin has already been applied to target app.`);\r\n }\r\n else if (plugin && isFunction$1(plugin.install)) {\r\n installedPlugins.add(plugin);\r\n plugin.install(app, ...options);\r\n }\r\n else if (isFunction$1(plugin)) {\r\n installedPlugins.add(plugin);\r\n plugin(app, ...options);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`A plugin must either be a function or an object with an \"install\" ` +\r\n `function.`);\r\n }\r\n return app;\r\n },\r\n mixin(mixin) {\r\n if (__VUE_OPTIONS_API__) {\r\n if (!context.mixins.includes(mixin)) {\r\n context.mixins.push(mixin);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Mixin has already been applied to target app' +\r\n (mixin.name ? `: ${mixin.name}` : ''));\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Mixins are only available in builds supporting Options API');\r\n }\r\n return app;\r\n },\r\n component(name, component) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateComponentName(name, context.config);\r\n }\r\n if (!component) {\r\n return context.components[name];\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && context.components[name]) {\r\n warn(`Component \"${name}\" has already been registered in target app.`);\r\n }\r\n context.components[name] = component;\r\n return app;\r\n },\r\n directive(name, directive) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n validateDirectiveName(name);\r\n }\r\n if (!directive) {\r\n return context.directives[name];\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && context.directives[name]) {\r\n warn(`Directive \"${name}\" has already been registered in target app.`);\r\n }\r\n context.directives[name] = directive;\r\n return app;\r\n },\r\n mount(rootContainer, isHydrate, isSVG) {\r\n if (!isMounted) {\r\n const vnode = createVNode(rootComponent, rootProps);\r\n // store app context on the root VNode.\r\n // this will be set on the root instance on initial mount.\r\n vnode.appContext = context;\r\n // HMR root reload\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n context.reload = () => {\r\n render(cloneVNode(vnode), rootContainer, isSVG);\r\n };\r\n }\r\n if (isHydrate && hydrate) {\r\n hydrate(vnode, rootContainer);\r\n }\r\n else {\r\n render(vnode, rootContainer, isSVG);\r\n }\r\n isMounted = true;\r\n app._container = rootContainer;\r\n rootContainer.__vue_app__ = app;\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n app._instance = vnode.component;\r\n devtoolsInitApp(app, version);\r\n }\r\n return vnode.component.proxy;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`App has already been mounted.\\n` +\r\n `If you want to remount the same app, move your app creation logic ` +\r\n `into a factory function and create fresh app instances for each ` +\r\n `mount - e.g. \\`const createMyApp = () => createApp(App)\\``);\r\n }\r\n },\r\n unmount() {\r\n if (isMounted) {\r\n render(null, app._container);\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n app._instance = null;\r\n devtoolsUnmountApp(app);\r\n }\r\n delete app._container.__vue_app__;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Cannot unmount an app that is not mounted.`);\r\n }\r\n },\r\n provide(key, value) {\r\n if ((process.env.NODE_ENV !== 'production') && key in context.provides) {\r\n warn(`App already provides property with key \"${String(key)}\". ` +\r\n `It will be overwritten with the new value.`);\r\n }\r\n // TypeScript doesn't allow symbols as index type\r\n // https://github.com/Microsoft/TypeScript/issues/24587\r\n context.provides[key] = value;\r\n return app;\r\n }\r\n });\r\n return app;\r\n };\r\n}\n\nlet hasMismatch = false;\r\nconst isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';\r\nconst isComment = (node) => node.nodeType === 8 /* COMMENT */;\r\n// Note: hydration is DOM-specific\r\n// But we have to place it in core due to tight coupling with core - splitting\r\n// it out creates a ton of unnecessary complexity.\r\n// Hydration also depends on some renderer internal logic which needs to be\r\n// passed in via arguments.\r\nfunction createHydrationFunctions(rendererInternals) {\r\n const { mt: mountComponent, p: patch, o: { patchProp, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;\r\n const hydrate = (vnode, container) => {\r\n if (!container.hasChildNodes()) {\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Attempting to hydrate existing markup but container is empty. ` +\r\n `Performing full mount instead.`);\r\n patch(null, vnode, container);\r\n flushPostFlushCbs();\r\n return;\r\n }\r\n hasMismatch = false;\r\n hydrateNode(container.firstChild, vnode, null, null, null);\r\n flushPostFlushCbs();\r\n if (hasMismatch && !false) {\r\n // this error should show up in production\r\n console.error(`Hydration completed but contains mismatches.`);\r\n }\r\n };\r\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\r\n const isFragmentStart = isComment(node) && node.data === '[';\r\n const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);\r\n const { type, ref, shapeFlag } = vnode;\r\n const domType = node.nodeType;\r\n vnode.el = node;\r\n let nextNode = null;\r\n switch (type) {\r\n case Text:\r\n if (domType !== 3 /* TEXT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n if (node.data !== vnode.children) {\r\n hasMismatch = true;\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Hydration text mismatch:` +\r\n `\\n- Client: ${JSON.stringify(node.data)}` +\r\n `\\n- Server: ${JSON.stringify(vnode.children)}`);\r\n node.data = vnode.children;\r\n }\r\n nextNode = nextSibling(node);\r\n }\r\n break;\r\n case Comment$1:\r\n if (domType !== 8 /* COMMENT */ || isFragmentStart) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = nextSibling(node);\r\n }\r\n break;\r\n case Static:\r\n if (domType !== 1 /* ELEMENT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n // determine anchor, adopt content\r\n nextNode = node;\r\n // if the static vnode has its content stripped during build,\r\n // adopt it from the server-rendered HTML.\r\n const needToAdoptContent = !vnode.children.length;\r\n for (let i = 0; i < vnode.staticCount; i++) {\r\n if (needToAdoptContent)\r\n vnode.children += nextNode.outerHTML;\r\n if (i === vnode.staticCount - 1) {\r\n vnode.anchor = nextNode;\r\n }\r\n nextNode = nextSibling(nextNode);\r\n }\r\n return nextNode;\r\n }\r\n break;\r\n case Fragment:\r\n if (!isFragmentStart) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n }\r\n break;\r\n default:\r\n if (shapeFlag & 1 /* ELEMENT */) {\r\n if (domType !== 1 /* ELEMENT */ ||\r\n vnode.type.toLowerCase() !==\r\n node.tagName.toLowerCase()) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n }\r\n }\r\n else if (shapeFlag & 6 /* COMPONENT */) {\r\n // when setting up the render effect, if the initial vnode already\r\n // has .el set, the component will perform hydration instead of mount\r\n // on its sub-tree.\r\n vnode.slotScopeIds = slotScopeIds;\r\n const container = parentNode(node);\r\n mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);\r\n // component may be async, so in the case of fragments we cannot rely\r\n // on component's rendered output to determine the end of the fragment\r\n // instead, we do a lookahead to find the end anchor node.\r\n nextNode = isFragmentStart\r\n ? locateClosingAsyncAnchor(node)\r\n : nextSibling(node);\r\n // #3787\r\n // if component is async, it may get moved / unmounted before its\r\n // inner component is loaded, so we need to give it a placeholder\r\n // vnode that matches its adopted DOM.\r\n if (isAsyncWrapper(vnode)) {\r\n let subTree;\r\n if (isFragmentStart) {\r\n subTree = createVNode(Fragment);\r\n subTree.anchor = nextNode\r\n ? nextNode.previousSibling\r\n : container.lastChild;\r\n }\r\n else {\r\n subTree =\r\n node.nodeType === 3 ? createTextVNode('') : createVNode('div');\r\n }\r\n subTree.el = node;\r\n vnode.component.subTree = subTree;\r\n }\r\n }\r\n else if (shapeFlag & 64 /* TELEPORT */) {\r\n if (domType !== 8 /* COMMENT */) {\r\n nextNode = onMismatch();\r\n }\r\n else {\r\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);\r\n }\r\n }\r\n else if (shapeFlag & 128 /* SUSPENSE */) {\r\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Invalid HostVNode type:', type, `(${typeof type})`);\r\n }\r\n }\r\n if (ref != null) {\r\n setRef(ref, null, parentSuspense, vnode);\r\n }\r\n return nextNode;\r\n };\r\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n optimized = optimized || !!vnode.dynamicChildren;\r\n const { type, props, patchFlag, shapeFlag, dirs } = vnode;\r\n // #4006 for form elements with non-string v-model value bindings\r\n // e.g.