From 09d0e24092990fd3d5d04884e2192adb3e8dd487 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 25 Jun 2022 10:10:15 +0200 Subject: [PATCH] okokdsfsdf --- asset/css/.color.css.swp | Bin 0 -> 12288 bytes asset/css/color.css | 22 ++ asset/css/edit.css | 78 +++++ asset/css/font.css | 47 +++ asset/css/map.css | 1 + asset/css/style.css | 20 ++ asset/js/.map.js.swo | Bin 0 -> 20480 bytes asset/js/.map.js.swp | Bin 0 -> 16384 bytes asset/js/data.json | 53 +++ asset/js/db.js | 34 ++ asset/js/dishes.js | 124 +++++++ asset/js/edit.js | 101 ++++++ asset/js/ingredients.js | 164 ++++++++++ asset/js/main.js | 692 +++++++++++++++++++++++++++++++++++++++ asset/js/map.js | 157 +++++++++ asset/js/parking.js | 236 +++++++++++++ asset/js/resto.js | 149 +++++++++ asset/js/vue.min.js | 6 + 18 files changed, 1884 insertions(+) create mode 100644 asset/css/.color.css.swp create mode 100644 asset/css/color.css create mode 100644 asset/css/edit.css create mode 100644 asset/css/font.css create mode 100644 asset/css/map.css create mode 100644 asset/css/style.css create mode 100644 asset/js/.map.js.swo create mode 100644 asset/js/.map.js.swp create mode 100644 asset/js/data.json create mode 100644 asset/js/db.js create mode 100644 asset/js/dishes.js create mode 100644 asset/js/edit.js create mode 100644 asset/js/ingredients.js create mode 100644 asset/js/main.js create mode 100644 asset/js/map.js create mode 100644 asset/js/parking.js create mode 100644 asset/js/resto.js create mode 100644 asset/js/vue.min.js diff --git a/asset/css/.color.css.swp b/asset/css/.color.css.swp new file mode 100644 index 0000000000000000000000000000000000000000..9f99bc3975b2e3e1b0e84d7986c532ca212641e3 GIT binary patch literal 12288 zcmeI&&x+GP90%}O@gNJXqTqS7mlc}kPq%KH-~)K@sNiuXGfC^VNtukUAiMe$g3sW= zfA8Q6coxr!58%;nx-FD~RQ9&`9r!YBelwGq5A+aH9X)>VP!4;EK)WtPM|{?ouNd+5 z%bu{Ny|}#@tLMrbMA4R^r`CjdZESdKb@;RiXKEg*rm;TEn+BC>?RxmMWfhhwK!NiK zTowH!Ui?fucW%p@Hy)jD8P1{r1t>rP3Q&Lo6rcbFE~J2;?}%5}`K9IVZ!PrP3Q&Lo7f?Xq9slm05T{7{{(trS|NEK{-;j^U8{`;yg4{fC3bt00k&O0SZun0u=b)1WtsM z-oEgGv3c#3pVU<%_Sk4T{a`*>>B>#bB7ko8_WJN%wW3?`@WJ8K~)etWxPpt@e{)w?FD0#NDVjTpVeA U54v3@&XdDrl!?^UwZ|#`0ORGJDgXcg literal 0 HcmV?d00001 diff --git a/asset/css/color.css b/asset/css/color.css new file mode 100644 index 0000000..c9afb2f --- /dev/null +++ b/asset/css/color.css @@ -0,0 +1,22 @@ +:root { + --b9h-color-bg: #1c2729; + --b9h-color-bg-alpha: rgba(28,39,41,0.8); + --b9h-color-fg: #b3bfb6; + --b9h-color-accent: #ff5821; + --b9h-color-green: #1cd95f; + --b9h-color-red: #f72520; +} + +html { + background-color: var(--b9h-color-bg); + color: var(--b9h-color-fg); +} + +.marker { + background-color: var(--b9h-color-accent); +} + +a { + color: inherit; + text-decoration: none; +} diff --git a/asset/css/edit.css b/asset/css/edit.css new file mode 100644 index 0000000..fc22e60 --- /dev/null +++ b/asset/css/edit.css @@ -0,0 +1,78 @@ +body { + overflow-y: scroll; +} + +#edit-tab-nav { + position: relative; + display: flex; + flex-direction: row; + justify-content: space-around; + margin-bottom: 20px; +} + +#edit-tab-nav-marker { + position: absolute; + height: 5px; + left: 0px; + width: 0px; + background-color: var(--b9h-color-accent); + bottom: -20px; + transition: 0.5s; + +} + +#edit-tab-roll { + width: 200vw; + display: flex; + flex-direction: row; + transform: translateX(-0vw); + transition: transform 0.5s; +} + +.edit-single-tab { + width: 100vw; + padding: 10px; +} + +.edit-single-tab li { + margin-left: 30px; + list-style: none; +} + +.edit-single-tab h4 { + margin-bottom: 10px; +} + +.edit-tab-nav-link { + font-weight: 600; + font-size: 1.2rem; +} + +header { + height: auto; + margin-bottom: 20px; +} + +input[type=text]{ + display: block; + font-size: 1em; + font-family: Inter; + font-weight: 400; + margin-top: 5px; + margin-bottom: 10px; + padding-left: 5px; + border: 0px solid #ccc; + background-color: #e6e6e6; + border-radius: 0px; +} + +.ing-input-lang { + margin-left: 20px; +} + +.ing-form-save { + display: block; + margin-top: 30px; + font-size: 1.5rem; + cursor: pointer; +} \ No newline at end of file diff --git a/asset/css/font.css b/asset/css/font.css new file mode 100644 index 0000000..56b4c92 --- /dev/null +++ b/asset/css/font.css @@ -0,0 +1,47 @@ +@font-face { + font-family: LemonMilk; + src: url("../fonts/LemonMilk/LEMONMILK-Bold.otf"); + font-weight: 600; +} + +@font-face { + font-family: LemonMilk; + src: url("../fonts/LemonMilk/LEMONMILK-Light.otf"); + font-weight: 200; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-Light.woff"); + font-weight: 200; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-Regular.woff"); + font-weight: 400; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-LightItalic.woff"); + font-style: italic; + font-weight: 200; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-Italic.woff"); + font-style: italic; + font-weight: 400; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-SemiBold.woff"); + font-weight: 600; +} + +html { + font-family: Inter; +} diff --git a/asset/css/map.css b/asset/css/map.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/asset/css/map.css @@ -0,0 +1 @@ + diff --git a/asset/css/style.css b/asset/css/style.css new file mode 100644 index 0000000..317f0e2 --- /dev/null +++ b/asset/css/style.css @@ -0,0 +1,20 @@ +@import url("https://file.brz9.dev/web/css/normalize.css"); +@import url("./color.css"); +@import url("./map.css"); +@import url("./font.css"); + +body { + height: 100vh; + height: --webkit-fill-available; + overflow: hidden; +} + +section#map-container { + width: 100vw; +} + +#map { + height: 500px; + width: 100vw; +} + diff --git a/asset/js/.map.js.swo b/asset/js/.map.js.swo new file mode 100644 index 0000000000000000000000000000000000000000..d53227ed0177acbc8c633d4a17572ee543af3d00 GIT binary patch literal 20480 zcmeI&eT)=m9l-Hvq1Qr%meW>iL6vJkmC>Wy^>nni5be|QQLRwW9e*X#TbQH;Su8UkGjKr}C_3GB z&9jt5Jmy}e3+B&L-(P*p1vMpik{OU0kQtB}kQtB}kQtB}kQtB}_}|Qclb@!1me4Qv z!(ZqxFRNHi_t!0dIk%#Gn!kRPzx;khxxXqGG6OOLG6OOLG6OOLG6OOLG6OOLG6OOL zG6OOL|Ah=_jPW17T2XF$9|vdrKluLt>NSdT7SG`b?#EVq8aLpT*^2UY?8L2DhEL+- zSb!>=o24i(;a50}{n(9OY{e=h5koybh_{L34>*k@IEcH@4-sRWI@jY$RN)G|!uI3% z0`}l;^kNx8n2k3$$G_q)_yxX=y|Azet=NEiD0pqAqWla;@d&;ggKaw%kfSXapFb1fah@xU&TGR1HIUSHCT*V+<=+541d3Z+~C)E7Ejuy0&eJztUOjzfo0p|3-h+*88k}z0`uLR#t2nxnD9kuHR0gVtwjyHoU7i z{lhf`hnqC+T#nW+h@-9@v@G1w;dQx-+tD$Fa}Z0OrV9d)tBL|FXk499DgKEq_<*#OP5MTss_ zhB%U~J4M?Rm!=Z5r5c;8t*MaVHYw@|#AFnl4x=-|d2F&mgd#5NZp&6fhHB6P#bS?A zE8h7Ao85zX4T-bxv!m_M?U3K_7|oTnR!V27L6IXjnFY?M!z|`uzQf4+(%LnUi6Fs9VXLM~V?-#oJDf%_ihM8%#@|@=U)u$eJ^qjiR z${D8~w)Oe+E)G`q;fnir#@4b~EuGWV7S*wfy0`}#MAJgYw70cdhUw_`8a9O8ta(Rq z&%%2f>ajS;z>cu!oI@N!<&_r!EH}G)EW1VRs1K`kiRMo4?kd_YmBbQ}hOnB5mzA{{ zgF5@fn<}>7V&_`a8gD|ScjQ9Uu{Fc2OT-7_O_98rtr-r{+9ZlZ*lwueprH$ik0_G$ zqoYeCE4GgxU9x^4k*tXB5(Rg0$;p5|`b?M^j<#K9@)N@WrdQ6huEN+e5q5Z2kAF5%68;bXI;aO05j~MeDE6;HJ z^BXrjo>pGmJkV1S$H?g^_i5o@=3+x3x^r+Sx^nAqeP{BE$6e~1=Gn#0MaNJFP0zW;agef|K%_kX@_ zy03HMJ3h|fX?zcd@eoAa2OwWE12O|L12O|L12O|L12O|L12O|L12O|L12O}bDg*r3 zBz`jXMh#STO2dl&FidH<&R;JLgZb->%8Bp)FEg%tTzv88`@iLfeV*_4|HSVgeg}90 zC$JY=@KMagYmD>{1QLLckv+h#-Dd zn2T9>n=$@3A?5}A2G8LsJc@7P%eWIo=-7;PScW7P;(Ao!AB_M15ijHCcoL7|5cc67 z?1G6~A?6Q!0#Pi)b*RF>_{`4XEMCNEh|e)a*;=f|0=&hxGuV%(d{44Gfd_FPZo+g- z!#m6sIE!a+1fNF+UAPUO!Xi}TEPdxEIE|Bd2zyb$O5BJA_!y=`%pEv`1Gp2raR+p) zMFKM*Uor##(F`zD;lBKVQ^jBP21rK?r;jKpjdTZF{ab6<_M8@!jnQ^c`_^JqE;p-3yR!jWt;9g14RC7oMOc*E}tmlZKpvYZT zw&|`1HO4Hw1R0#5{h(<4;9^0Q_bR%JOkOEJ#5pR&@nRR-{mMa=U|k6|xaH-oy9Fb< z`-rOLSJb!#Vy;%H&GIfM=Vp276$z4av)o)%PPGf>SVU>3&G10*r=N~!SV)RZMGZ(PaitMC2d1Lr~P>iMfvn~iOdb6#W znYxvlX)*!BwzN!LPD|^#y0npvP+k-4>V`JSu7weMxN%LeN7_F?aD=ivu~&yX6T+XD b(78lWSQisP)@cL&oC$9}1-~h{bJ6|{1HN(K literal 0 HcmV?d00001 diff --git a/asset/js/.map.js.swp b/asset/js/.map.js.swp new file mode 100644 index 0000000000000000000000000000000000000000..281261b0da2316dff698704d3de10567790f0aeb GIT binary patch literal 16384 zcmeI3e{36P8OLvJ%0|--L_uQg4_;ECIKer`KjNe=L+YZbbaF;n(iPP*=xkq|Yc6-* z-8o4Uvaw1Nh;IJ?V;kc)8v+Sw(>jRx!Eo^&_y5LHJCL<($6fx35M zXza?P=~U96ru+KdCHB7M=(b!%jUoji1tJ9^1tJ9^1tJ9^1tJ9^1^zb`@M=4h+X#I} z82(&%zO3!MGrXP%&!20n4=f7l-uAI_z=7gRJaOt3r(p`-3w>}o z?1UZg!W)Shz6htG3S}t4L5RUyVHfnkvsWm}GjI;>hkM~3Sb~qhIP^m={ONKJIiLj_8p!3~gwcfvJrHM|{q;IH)Ut04RMcK9%4U>E#i7k=Sxs6q~Q!*h&@XW<$6 zAv_IF!FhNBJ_(aB0=@7XHi#aBPs1GK;oa~rHkMw8m*J=IFgyfz!JV+`5FE<`s#d8? z*)dZ)wP?Bpr;scb`ezMmvAS7mJ42(}`}#gRMA*F_qikC_F{?QqnxN)WzVoJVNBV_^D$#UEb$`2Mk0i1xL(01hG~f(tqo9o!gfT=5X@Ft zEn76bkiPP6tWn(Jh^DHe&)Rc(UOS~bz6p-kao6H4Y|!G+)IAwC$x&P@3Rc}To1!|d8R)u8odzH{ay?$N`_TAV%K=g zzW1Mh)YDBdVVlPJZ#a72zybQYF^y&C%2``+v}#o=nYzdc&#CKi%2tNo5! z-K4Ro(x!FLbRu3l?>YtRX$Kmj`Xd@ zM--Xiwb7+BZRHzBmlM8RF0cr`|uVO7_a??_O0(fXx^H|pO^vWxz8bl0A zO=M>phbr$qG@4OmGLg9-ZTueK9P8(Uj7bIfa^i$$y1wOX(0B6hJHHe2`kZdcbjRQFvQvpWPA7PV8NLp~ z$Cd?dVrg+Xv9tiEmV?1WoV>Z$rfQj2T|>UU$%G}_^Xys2s7`zR_?E#rwy8>)f=nj| z#?6L4-%QX+Klw?6@xZv{2{g}hj8a|tZm--}%dlqhnCw}SJWrq3EdmN&zG!~q^|Gp2 z9v8z!)=Ylqgr?L_Xx_A1v*%;Xx>f-P#GsH0$w?WsYFyDMHIi*Ok_!8ZQ=AP9!*|lP zg`wnrbu6A4RY!`7T>sCqem%#!SFZmj!UfqYtml6YKZ6VKDBKTs!R;^u$KeLZ!63+e zfL_=Eud<&1J;=R)AH(_z`>;9)Snp zJ~#tQFarh1!#Jd%5B9=t_$PY+e}?Bl?iZYgv+yQn1K=;g~MM5j L&-(@3Qlk7DypsC+ literal 0 HcmV?d00001 diff --git a/asset/js/data.json b/asset/js/data.json new file mode 100644 index 0000000..4a08d41 --- /dev/null +++ b/asset/js/data.json @@ -0,0 +1,53 @@ +{ + "resto": + { + "fr": "Restaurants", + "en": "Restaurants", + "it": "Ristoranti", + "list" : [ + "gastro" : { + "fr": "Gastronomique", + "en": "Gastronomic", + "it": "Gastronomico", + "list": [ + "g1" : { + "name": "San Telmo", + "xy": [232.32,3232.32], + "fr" : "Sur la Rue Hoche, bonne pizza, blablablablabla", + "en" : "smfdlkmlsk fmlskd fmlk msdlkf mlskdf m", + "it" : "msdfmlskdfmlksmdlfkmsdlfkmslkdf", + "addresse": ["23", "Rue Hoche", "06400", "Cannes"], + "menu_fr" : [ + ["Pizza Diavola", ["sauce tomate","mozza","chorizo"], "pizza"] + ] + } + ] + } + ] + } +}, + +"db" : + {"cat": [{"resto" : + ["italien": + ["San telmo", "Salsa"] + ]}, + {"bar" : + ["vin"] + } + ] + }, + +"db" : { + "cat" : { + "resto" : { + "italien" : { + "SanTelmo" : { + + } + }, + "végé" : { + } + } + } +} diff --git a/asset/js/db.js b/asset/js/db.js new file mode 100644 index 0000000..b127a1e --- /dev/null +++ b/asset/js/db.js @@ -0,0 +1,34 @@ +var jdb = { + data: { + currentLang: 'fr', + currentRestoTagList: [], + db : { + parking : { + id : "parking", + isActive: false, + type : "list", + nameFR : "Parking", + nameEN : "Car park", + nameIT : "Parcheggio", + sub : { + ParkingLamy, + ParkingStephanie, + ParkingPantiero, + } + }, + resto : { + id : "resto", + isActive: false, + type : "list", + nameFR : "Restaurant", + nameEN : "Restaurant", + nameIT : "Ristoranti", + sub : { + SanTelmo, + Salsamenteria, + Novaa, + } + } + } + } +} diff --git a/asset/js/dishes.js b/asset/js/dishes.js new file mode 100644 index 0000000..abaa2f7 --- /dev/null +++ b/asset/js/dishes.js @@ -0,0 +1,124 @@ +let Dishes = { + santelmo : { + gnocchigor : { + name : "blank", + ing : [ + ingredients.gnochgor + ] + }, + diavolo : { + name : "Pizza Diavolo", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.saucissecalabraisepiquante + ] + }, + d10s : { + name : "Pizza D10S", + vege : true, + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.provoletta, + ingredients.salsiccia, + ingredients.chimichurri + ] + }, + navigli : { + name : "Pizza Navigli", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.gorgonzola, + ingredients.parma + ] + }, + brachet : { + name : "Pizza Brachet (bianca - blanche - white)", + ing : [ + ingredients.mozzarella, + ingredients.caprino, + ingredients.noix, + ingredients.honey + ] + }, + superibricchi : { + name : "Pizza Sù Per I Bricchi", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.caprino, + ingredients.bresaola, + ingredients.roquette + ] + }, + superibricchi : { + name : "Pizza Sù Per I Bricchi", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.thon, + ingredients.cipollaTropea + ] + }, + reine : { + name : "Pizza Cotto e Funghi / Reine", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.jambonblanc, + ingredients.champignons + ] + }, + margherita : { + name : "Pizza Margherita", + ing : [ + ingredients.tomate, + ingredients.mozzarella + ] + }, + buffemel : { + name : "Pizza Bufala e Melanzane", + ing : [ + ingredients.tomate, + ingredients.mozzarellaBufala, + ingredients.aubergines + ] + }, + romana : { + name : "Pizza Romana", + ing : [ + ingredients.tomate, + ingredients.mozzarella, + ingredients.anchois, + ingredients.capres, + ingredients.huileextravierge + ] + }, + /* + pizza : { + name : "Pizza", + ing : [ + ingredients. , + ingredients. , + ingredients. , + ingredients. , + ingredients. , + ] + }, + pizza : { + name : "Pizza", + ing : [ + ingredients. , + ingredients. , + ingredients. , + ingredients. , + ingredients. , + ] + }, + */ + } +} + + diff --git a/asset/js/edit.js b/asset/js/edit.js new file mode 100644 index 0000000..fa187d6 --- /dev/null +++ b/asset/js/edit.js @@ -0,0 +1,101 @@ +Vue.component('NewIng',{ + template : ` +
+ + +
+ `, + props : { + obj : Object + }, + data () { + return { + name : "name", + fr : "fr", + en : "en", + it : "it", + } + }, + methods : { + hello(){ + return "hello" + }, + } +}) + +let vm = new Vue({ + el: '#root', + data : { + message: "Hello Vue", + editTabMarkerL: "0px", + editTabMarkerW: "0px", + editTabRollXOff: 0, + newIng: { + name: "", + fr: "", + en: "", + it: "", + } + }, + methods: { + obj2php: function(obj) { + data = JSON.stringify(obj) + r = new XMLHttpRequest + r.open("POST", "asset/php/handler.php", true) + r.setRequestHeader( + "Content-type", + "application/json") + r.send(data) + }, + saveIng: function() { + if (this.newIng.name !== "") { + ingredients[this.newIng.name] = { + fr: this.newIng.fr, + en: this.newIng.en, + it: this.newIng.it, + } + } + this.obj2php(ingredients) + }, + setEditTab: function(ind) { + let xoff = 0 + switch(ind){ + case 'ind': + xoff = 0; + break; + case 'dish': + xoff = 1; + break; + case 'resto': + xoff = 0; + break; + } + this.editTabRollXOff = xoff + m = document.getElementById("edit-tab-nav-" + ind) + this.editTabMarkerL = m.offsetLeft + "px" + this.editTabMarkerW = m.offsetWidth + "px" + } + }, + computed: { + editTabRollTransX: function () { + return "translateX(-" + this.editTabRollXOff + "00vw)"; + }, + }, + created: function(){ + console.log("created start") + console.log("created end") + }, + mounted: function() { + console.log("mounted start") + this.setEditTab('ing') + console.log("mounted end") + }, + updated: function() { + console.log("updated start") + console.log("updated end") + } + +}) + + + diff --git a/asset/js/ingredients.js b/asset/js/ingredients.js new file mode 100644 index 0000000..1da2ccd --- /dev/null +++ b/asset/js/ingredients.js @@ -0,0 +1,164 @@ +let ingredientsold = { + tomate : { + fr: "tomate", + en: "tomato", + it: "pomodoro", + }, + mozzarella : { + fr: "mozzarella", + en: "mozzarella", + it: "mozzarella", + }, + mozzarellaBufala: { + fr: "mozzarella de bufflonne", + en: "buffalo's mozzarella", + it: "mozzarella di bufala", + }, + saucissecalabraisepiquante : { + fr: "saucisse calabraise piquante", + en: "spicy sausage", + it: "sopressata calabrese piccante", + }, + jambonblanc : { + fr: "jambon blanc", + en: "white ham", + it: "prosciutto cotto", + }, + champignons : { + fr: "champignons", + en: "mushrooms", + it: "funghi", + }, + provoletta : { + fr : "provoletta", + en : "provoletta", + it : "provoletta", + }, + salsiccia :{ + fr : "chaire à saucisse", + en : "sausage", + it : "salsiccia", + }, + chimichurri : { + fr : "chimichurri", + en : "chimichurri", + it : "chimichurri", + }, + gorgonzola : { + fr : "gorgonzola", + en : "gorgonzola", + it : "gorgonzola", + }, + parma : { + fr : "parma", + en : "jambon de Parme", + it : "Parma ham", + }, + noix : { + fr : "noix", + en : "nuts", + it : "noci", + }, + caprino : { + fr : "fromage de chèvre", + en : "goat cheese", + it : "caprino", + }, + honey : { + fr : "miel", + en : "honey", + it : "miele", + }, + bresaola : { + fr : "bresaola", + en : "bresaola", + it : "bresaola", + }, + roquette : { + fr : "roquette", + en : "aragula salad", + it : "rucola", + }, + crudaioladipomodoro : { + fr : "tomates fraîches concassées", + en : "fresh tomatoes", + it : "crudaiola di pomodoro", + }, + burrata : { + fr : "burrata", + en : "burrata", + it : "burrata", + }, + basilic : { + fr : "basilic", + en : "basil", + it : "basilico", + }, + thon : { + fr : "thon", + en : "tuna", + it : "tono", + }, + cipollaTropea : { + fr : "oignons rouges de Tropea", + en : "red onions from Tropea", + it : "cipolla rossa di Tropea", + }, + aubergines : { + fr : "aubergines", + en : "eggplants", + it : "melanzane", + }, + anchois : { + fr : "anchois", + en : "anchovies", + it : "acciughe", + }, + capres : { + fr : "câpres", + en : "capers", + it : "capperi", + }, + huileextravierge : { + fr : "huile extra vierge", + en : "extra olive oil", + it : "olio extra vergine", + }, + gnochgor : { + fr : "Gnochi au Gorgonzolla", + en : "gdlkfgdfg", + it : "ksflskdfjl", + }, + name : { + fr : "", + en : "", + it : "", + }, + name : { + fr : "", + en : "", + it : "", + }, + name : { + fr : "", + en : "", + it : "", + }, + name : { + fr : "", + en : "", + it : "", + }, + name : { + fr : "", + en : "", + it : "", + }, + name : { + fr : "", + en : "", + it : "", + }, +} + + diff --git a/asset/js/main.js b/asset/js/main.js new file mode 100644 index 0000000..b961600 --- /dev/null +++ b/asset/js/main.js @@ -0,0 +1,692 @@ +Vue.component('Prototab',{ + template : ` +
+ + +
+ `, + props : { + obj : Object + }, + data () { + return { + siteoff : { + fr : "Site officiel", + en : "Official website", + it : "Sito ufficiale", + }, + } + }, + methods : { + capitalize(s){ + return s.charAt(0).toUpperCase() + s.slice(1) + }, + } +}) + +Vue.component('Prix',{ + template : ` +
+
+

{{ this.obj.txt.fr }}

+

{{ this.obj.txt.en }}

+

{{ this.obj.txt.it }}

+
+ +
+

+ + {{ l.nameFR }} + {{ l.nameEN }} + {{ l.nameIT }} + + + {{ checkPrice(l.price,free.fr) }} + {{ checkPrice(l.price,free.en) }} + {{ checkPrice(l.price,free.it) }} + +

+
+
+

{{ indicatif.fr }}

+

{{ indicatif.en }}

+

{{ indicatif.it }}

+
+ +
+ `, + props : { + obj : Object + }, + data () { + return { + indicatif : { + fr : "Prix fournis à titre indicatif.", + en : "Prices provided as an indication.", + it : "Prezzi puramente indicativi.", + }, + free : { + fr : "Gratuit", + en : "Free", + it : "Gratuito", + } + } + }, + methods : { + checkPrice(p,f){ + if (p == "") { + return f + } else { + return p + } + }, + + } +}) + +Vue.component('Info',{ + template : ` +
+ +
+ + + {{ siteoff.fr }} + {{ siteoff.en }} + {{ siteoff.it }} + +
+ +
+ + + {{ this.obj.tel }} + +
+ +
+ + + {{ this.obj.email }} + +
+ +
+ + {{ this.obj.address }} +
+ +
+ + {{ handi.fr }} + {{ handi.en }} + {{ handi.it }} +
+ +
+ + + {{ hautmax.fr }} {{ this.obj.hautmax}} + + + {{ hautmax.en }} {{ this.obj.hautmax}} + + + {{ hautmax.it }} {{ this.obj.hautmax}} + +
+ + + + + +
+ `, + props : { + obj : Object + }, + computed : { + telhref: function () { + if (this.obj.hasOwnProperty('tel')) { + return "tel:" + this.obj.tel + } + }, + mailhref: function () { + if (this.obj.hasOwnProperty('email')) { + return "mailto:" + this.obj.email + } + }, + }, + data () { + return { + siteoff : { + fr : "Site officiel", + en : "Official website", + it : "Sito ufficiale", + }, + handi : { + fr : "Accessible en fauteuil roulant", + en : "Wheelchair accessible", + it : "Accessibile con sedia a rotelle", + }, + hautmax: { + fr : "Hauteur maximum: ", + en : "Maximum height: ", + it : "Altezza massima: ", + } + } + }, + methods : { + capitalize(s){ + return s.charAt(0).toUpperCase() + s.slice(1) + }, + } + //byl-icon-wifi + //byl-icon-location_on + //byl-icon-accessible +}) + +Vue.component('Menu',{ + template: ` +
+
+

{{ fourchette.fr }}

+

{{ fourchette.en }}

+

{{ fourchette.it }}

+

{{ this.obj.priceRange }}

+

{{ horsboissons.fr }}

+

{{ horsboissons.en }}

+

{{ horsboissons.it }}

+
+ +
+

{{ s.nameFR }}

+

{{ s.nameEN }}

+

{{ s.nameIT }}

+ +
+

+ {{ d.name }} + + +

+
    +

    {{ l2s(ings2ls(d.ing,"fr"), "fr") }}

    +

    {{ l2s(ings2ls(d.ing,"en"), "en") }}

    +

    {{ l2s(ings2ls(d.ing,"it"), "it") }}

    +
+
    +

    + {{ l2s(ings2ls(d.ing,"fr"), "fr") }} + + +

    +

    + {{ l2s(ings2ls(d.ing,"en"), "en") }} + + +

    +

    + {{ l2s(ings2ls(d.ing,"it"), "it") }} + + +

    +
+
+
+ + +
+
+
+
+ `, + props : { + obj : Object + }, + data () { + return { + message : "hello from menu", + et : { + fr : " et ", + en : " and ", + it : " e ", + }, + fourchette : { + fr : "Fourchette de prix par personne :", + en : "Price range per person:", + it : "Fascia di prezzo per persona :", + }, + horsboissons : { + fr : "(hors boissons)", + en : "(excluding drinks)", + it : "(bevande escluse)", + }, + indicatif : { + fr : "Menu fournis à titre indicatif, soumis aux disponibilités", + en : "Menu provided as an indication, subject to availability", + it : "Menu fornito a titolo informativo, soggetto a disponibilità", + } + } + }, + methods : { + capitalize(s){ + return s.charAt(0).toUpperCase() + s.slice(1) + }, + l2s(l, lang) { + let r = "" + let llength = l.length - 1 + for (i in l){ + if (parseInt(i) === 0){ + r = this.capitalize(l[i]) + } else if (parseInt(i) < parseInt(llength)) { + r = r + ", " + l[i] + } else { + r = r + this.et[lang] + l[i] + } + } + return r + }, + ings2ls(ings, lang){ + let l = [] + for (i in ings) { + l.push(ings[i][lang]) + } + return l + } + } +}) + +Vue.component('Time', { + template : ` +
+

+ {{ days[i].fr }} + {{ days[i].en }} + {{ days[i].it }} + {{ d }} + + {{ closed.fr }} + + + {{ closed.en }} + + + {{ closed.it }} + +

+
+ `, + props : { + obj : Object + }, + data () { + return { + message : "hello from time", + closed : { + fr : "Fermé", + en : "Closed", + it : "Chiuso", + }, + days : { + mon : { + fr : "Lundi", + en : "Monday", + it : "Lunedì" + }, + tue : { + fr : "Mardi", + en : "Tuesday", + it : "Martedì" + }, + wed : { + fr : "Mercredi", + en : "Wednesday", + it : "Mercoledì" + }, + thu : { + fr : "Jeudi", + en : "Thursday", + it : "Giovedì" + }, + fri : { + fr : "Vendredi", + en : "Friday", + it : "Venerdì" + }, + sat : { + fr : "Samedi", + en : "Saturday", + it : "Sabato" + }, + sun : { + fr : "Dimanche", + en : "Sunday", + it : "Domenica" + }, + } + } + }, + methods : { + checkTime (d) { + if (d != "" ){ + return d + } else { + return this.closed + } + + } + + } +}); + + +Vue.component('Accordeon', { + template : ` +
+ +
+ + +
+
+ `, + props : { + list : Object, + taglist : Object + }, + data () { + return { + tl : this.taglist, + isActive : false, + displayCard : "block", + cardTop : "110vh", + tabrollxoff : 0, + tabind : 0, + markerL : 0, + markerW : 0, + } + }, + computed: { + xy: function () { + if ('xy' in this.list) { + return this.list.xy + } else { + return [0,0] + } + }, + dirxy: function () { + if ('dirxy' in this.list) { + return this.list.dirxy + } else { + return [0,0] + } + }, + dirzl: function () { + if ('dirzl' in this.list) { + return this.list.dirzl + } else { + return 1 + } + }, + href: function () { + return "#" + this.list.id; + }, + cardid: function () { + return "card" + this.list.id; + }, + tabcount: function () { + if ('card' in this.list){ + var arr = Object.entries(this.list.card.tabs); + return arr.length + } else { + return 0; + } + }, + tabrollw: function () { + return this.tabcount + "00vw"; + }, + tabrollTransX: function () { + return "translateX(-" + this.tabrollxoff + "00vw)"; + }, + }, + methods : { + toggleTag(t){ + t.isActive = !t.isActive + this.checkTagFunc() + }, + checkTagFunc() { + Object.keys(resto).forEach(r => { + + tagCount = 0 + + Object.keys(restoTagList).forEach(rtli => { + if (restoTagList[rtli].isActive) { + for (t in resto[r].tags) { + if (resto[r].tags[t] === restoTagList[rtli]) { + tagCount++ + } + } + } + }) + + if (tagCount >= 1) { + resto[r].isActive = true + } else { + resto[r].isActive = false + } + }) + + }, + getMarkerId(i) { + return this.cardid + this.getIndex(i).toString() + }, + getIndex(obj) { + var arr = Object.entries(this.list.card.tabs); + let ind = arr.findIndex(e => e[0] === obj.tabtype); + return ind + }, + setTab(ind) { + this.tabrollxoff = ind; + this.tabind = ind + t = document.getElementById(this.cardid + ind); + this.markerL = t.offsetLeft + "px" + this.markerW = t.offsetWidth + "px" + }, + getTabLogo(obj) { + switch(obj.tabtype) { + case "menu": + return "byl-icon-restaurant" + break; + case "time": + return "byl-icon-clock" + break; + case "info": + return "byl-icon-info" + break; + case "prix": + return "byl-icon-euro_symbol" + break; + default: + return "" + } + }, + showCard() { + this.displayCard = "block"; + this.setTab(0) + this.cardTop = "0vh" + this.setTab(0) + this.setTab(0) + this.setMap() + this.setTab(0) + }, + hideCard() { + this.cardTop = "110vh" + }, + donothing () { + + }, + toggleActive () { + this.list.isActive = !this.list.isActive + document.getElementById(this.list.id).scrollIntoView(true); + }, + setMap () { + map.setView(this.dirxy, this.dirzl) + this.list.marker.openPopup() + } + }, +}) + +let vm = new Vue({ + el: '#root', + data : jdb.data, + methods: { + hidelang: function(lang) { + langClass = "b9h-lang-" + lang; + langElms = document.getElementsByClassName(langClass); + for (i = 0; i < langElms.length; i++) { + langElms[i].style.display = 'none'; + } + }, + hidelangs: function() { + this.hidelang('fr'); + this.hidelang('en'); + this.hidelang('it'); + }, + showlang: function(lang) { + this.hidelangs(); + langClass = "b9h-lang-" + lang; + langElms = document.getElementsByClassName(langClass); + for (i = 0; i < langElms.length; i++) { + langElms[i].style.display = 'revert'; + } + }, + setlang: function (lang) { + target = document.querySelector("#"+"tab-"+lang); + marker = document.querySelector("#lang-marker"); + marker.style.left = target.offsetLeft + "px"; + marker.style.width = target.offsetWidth + "px"; + this.showlang(lang); + }, + }, + created: function(){ + this.setlang('fr'); + }, + mounted: function() { + this.setlang('fr'); + this.setlang('fr'); + this.setlang('fr'); + this.setlang('fr'); + this.setlang('fr'); + }, + updated: function() { + this.setlang('fr'); + this.setlang('fr'); + this.setlang('fr'); + this.setlang('fr'); + } + +}) + diff --git a/asset/js/map.js b/asset/js/map.js new file mode 100644 index 0000000..30229d1 --- /dev/null +++ b/asset/js/map.js @@ -0,0 +1,157 @@ +//var hotelxy=[-19.8,47.5] + +var maxZoomLevel = 20 +var mapSW = [6.9175, 43.4738] +var mapNE = [7.0893, 43.5983] +var southWest = new L.LatLng(mapSW[0], mapSW[1], true); +L.latLng +var northEast = new L.LatLng(mapNE[0], mapNE[1], true); +//var bounds = new L.LatLngBounds(southWest, northEast); +//var bounds = new L.LatLngBounds(L.latLng(mapSW),L.latLng(mapNE)); +var bounds = new L.latLngBounds( + L.latLng([6.94, 43.4738]), + L.latLng([7.06, 43.5983])); + +/* +var map = L.map('map', { + attributionControl: false, + zoomControl: false, +}).setView(hotelxy,1); + +L.tileLayer('asset/tiles/{z}/{x}/{y}.png', { + minZoom: 1, + maxZoom: maxZoomLevel, + continuousWorld: false, + noWrap: true, + crs: L.CRS.Simple, + }).addTo(map); +*/ + +var map = L.map('map', { + center: [7.02, 43.54], + //maxZoom: maxZoomLevel, + attributionControl: false, + zoomControl: false, + zoom: 14, + //continuousWorld: false, + //noWrap: true, + //crs: L.CRS.Simple, +}); + +map.setMaxBounds(bounds); + +var svgLayerBounds = [mapSW, mapNE]; + +var svgBgUrl = 'asset/svg/Grand-Cannes/bg.svg' +var svgRdUrl = 'asset/svg/Grand-Cannes/roads.svg' +var svgBrUrl = 'asset/svg/Grand-Cannes/road-label-big.svg' + +L.imageOverlay(svgBgUrl, svgLayerBounds).addTo(map); +L.imageOverlay(svgRdUrl, svgLayerBounds).addTo(map); +L.imageOverlay(svgBrUrl, svgLayerBounds).addTo(map); + +L.control.zoom({ + position: 'bottomright' +}).addTo(map); + +var layzl1 = L.layerGroup() +var layzl2 = L.layerGroup() +var layzl3 = L.layerGroup() +var layzl4 = L.layerGroup() +var layzl5 = L.layerGroup() +var layzl6 = L.layerGroup() +let layzls = [null,null,layzl2,layzl3,layzl4,layzl5,layzl6] + +function removeLs(list) { + for (i in list){ + map.removeLayer(list[i]) + } +} + +function addLs(list) { + for (i in list) { + list[i].addTo(map) + } +} + +function iToZL(i) { + return lay +} +/* +min/max = 163 +map.setView([-163,-163],2) +*/ + +map.on('zoomend', function() { + let z = map.getZoom(); + switch(z) { + case 1: + addLs([layzl1]) + removeLs([ + layzl2, + layzl3, + layzl4, + layzl5, + layzl6 + ]) + break; + case 2: + addLs([ + layzl1, + layzl2 + ]) + removeLs([ + layzl3, + layzl4, + layzl5, + layzl6 + ]) + break; + case 3: + addLs([ + layzl1, + layzl2, + layzl3 + ]) + removeLs([ + layzl4, + layzl5, + layzl6 + ]) + break; + case 4: + addLs([ + layzl1, + layzl2, + layzl3, + layzl4 + ]) + removeLs([ + layzl5, + layzl6 + ]) + break; + case 5: + addLs([ + layzl1, + layzl2, + layzl3, + layzl4, + layzl5 + ]) + removeLs([ + layzl6 + ]) + break; + case 6: + addLs([ + layzl1, + layzl2, + layzl3, + layzl4, + layzl5, + layzl6 + ]) + break; + } + }); diff --git a/asset/js/parking.js b/asset/js/parking.js new file mode 100644 index 0000000..45cedc8 --- /dev/null +++ b/asset/js/parking.js @@ -0,0 +1,236 @@ +let ParkingLamy = { + id: "lamy", + isActive: true, + xy: [-18.27,56.91], + dirxy: [-21.66,52.47], + dirzl: 5, + minz: 2, + img: "https://ed.brz9.dev/proj/map/asset/img/lamy.jpg", + type: "item", + name: "Parking Lamy", + txtFR: "Parking public souterrain, situé à 3 minutes à pied de l'hôtel. Hauteur maximum: 1,9m.", + txtEN: "Underground public parking, located 3 minutes walk from the hotel. Maximum height: 1,9m.", + txtIT: "Parcheggio pubblico sotterraneo, situato a 3 minuti a piedi dall'hotel. Altezza massima: 1,9m.", + card: { + tabs: { + info: { + tabtype: "info", + site: "https://www.cannes.com/fr/mairie/annuaire-pratique/equipements-municipaux/p10-parking-lamy.html", + handi: "yes", + hautmax: "1,9 m", + wifi: "yes", + address: "121 rue d'Antibes - 06400 Cannes", + tel: "+33 4 89 82 23 23", + email: "cannesparking@ville-cannes.fr", + }, + prix : { + tabtype: "prix", + txt : { + fr: "Pour les forfaits, demander à l'accueil du parking à l'arrivée. Sonner à l'interphone si besoin.", + en: "For packages, ask at the parking lot reception upon arrival. Ring the intercom if necessary.", + it: "Per i pacchetti, chiedere alla reception del parcheggio all'arrivo. Se necessario, suonare il citofono.", + }, + list : { + /* h1 : { + nameFR: "1h", + nameEN: "1h", + nameIT: "1h", + price: "", + },*/ + h24 : { + nameFR: "24h", + nameEN: "24h", + nameIT: "24h", + price: "16,40 €", + }, + j4 : { + nameFR: "Forfait 4 jours", + nameEN: "4-day package", + nameIT: "Pacchetto 4 giorni", + price: "54,50 €", + }, + j5 : { + nameFR: "Forfait 5 jours", + nameEN: "5-day package", + nameIT: "Pacchetto 5 giorni", + price: "60,60 €", + }, + j6 : { + nameFR: "Forfait 6 jours", + nameEN: "6-day package", + nameIT: "Pacchetto 6 giorni", + price: "66,70 €", + }, + j7 : { + nameFR: "Forfait 7 jours", + nameEN: "7-day package", + nameIT: "Pacchetto 7 giorni", + price: "72,70 €", + }, + j8 : { + nameFR: "Forfait 8 jours", + nameEN: "8-day package", + nameIT: "Pacchetto 8 giorni", + price: "78,80 €", + }, + j10 : { + nameFR: "Forfait 10 jours", + nameEN: "10-day package", + nameIT: "Pacchetto 10 giorni", + price: "84,80 €", + }, + j15 : { + nameFR: "Forfait 15 jours", + nameEN: "15-day package", + nameIT: "Pacchetto 15 giorni", + price: "103 €", + } + } + } + } + } +} + +let ParkingStephanie = { + id: "parkingstephanie", + isActive: true, + xy: [-27.06,48.20], + dirxy: [-22.99,48.76], + dirzl: 5, + minz: 4, + img: "https://ed.brz9.dev/proj/map/asset/img/parking-palais-stephanie.jpg", + type: "item", + name: "Parking Palais Stéphanie", + txtFR: "Parking public souterrain, situé à 1 minute à pied de l'hôtel. Hauteur maximum: 1,9m.", + txtEN: "Underground public parking, located 1 minute walk from the hotel. Maximum height: 1,9m.", + txtIT: "Parcheggio pubblico sotterraneo, situato a 1 minuto a piedi dall'hotel. Altezza massima: 1,9m.", + card: { + tabs: { + info: { + tabtype: "info", + site: "https://www.interparking.fr/fr-FR/find-parking/PalaisStephanie/", + handi: "yes", + hautmax: "1,9 m", + address: "Rdpt Duboys d'Angers - 06400 Cannes", + tel: "+33 9 70 140 111", + email: "contact-france@interparking.com", + }, + prix : { + tabtype: "prix", + txt : { + fr: "Pour les forfaits, demander à l'accueil du parking à l'arrivée. Sonner à l'interphone si besoin.", + en: "For packages, ask at the parking lot reception upon arrival. Ring the intercom if necessary.", + it: "Per i pacchetti, chiedere alla reception del parcheggio all'arrivo. Se necessario, suonare il citofono.", + }, + list : { + /* h1 : { + nameFR: "1h", + nameEN: "1h", + nameIT: "1h", + price: "", + },*/ + h24 : { + nameFR: "24h", + nameEN: "24h", + nameIT: "24h", + price: "28 €", + }, + j4 : { + nameFR: "Forfait 4 jours", + nameEN: "4-day package", + nameIT: "Pacchetto 4 giorni", + price: "110 €", + }, + j7 : { + nameFR: "Forfait 7 jours", + nameEN: "7-day package", + nameIT: "Pacchetto 7 giorni", + price: "185 €", + }, + j10 : { + nameFR: "Forfait 10 jours", + nameEN: "10-day package", + nameIT: "Pacchetto 10 giorni", + price: "220 €", + }, + j15 : { + nameFR: "Forfait 15 jours", + nameEN: "15-day package", + nameIT: "Pacchetto 15 giorni", + price: "250 €", + } + } + } + } + } +} + +let ParkingPantiero = { + id: "parkingpantiero", + isActive: true, + xy: [-27.68,-13.36], + dirxy: [-24.52,2.72], + dirzl: 3, + minz: 3, + img: "https://ed.brz9.dev/proj/map/asset/img/parking-pantiero.jpg", + type: "item", + name: "Parking Pantiero", + txtFR: "Parking public souterrain, situé à 15 minutes à pied de l'hôtel. Hauteur maximum: 2,4m.", + txtEN: "Underground public parking, located 15 minutes walk from the hotel. Maximum height: 2,4m.", + txtIT: "Parcheggio pubblico sotterraneo, situato a 15 minuti a piedi dall'hotel. Altezza massima: 2,4m.", + card: { + tabs: { + info: { + tabtype: "info", + site: "https://www.cannes.com/fr/mairie/annuaire-pratique/equipements-municipaux/p4-parking-pantiero.html", + handi: "yes", + hautmax: "2,4 m", + wifi: "yes", + address: "Promenade de La Pantiero - 06400 Cannes", + tel: "+33 4 89 82 23 23", + email: "cannesparking@ville-cannes.fr", + }, + prix : { + tabtype: "prix", + txt : { + fr: "Pour les forfaits, demander à l'accueil du parking à l'arrivée. Sonner à l'interphone si besoin.", + en: "For packages, ask at the parking lot reception upon arrival. Ring the intercom if necessary.", + it: "Per i pacchetti, chiedere alla reception del parcheggio all'arrivo. Se necessario, suonare il citofono.", + }, + list : { + h24 : { + nameFR: "24h", + nameEN: "24h", + nameIT: "24h", + price: "22,40 €", + }, + j4 : { + nameFR: "Forfait 4 jours", + nameEN: "4-day package", + nameIT: "Pacchetto 4 giorni", + price: "66,70 €", + }, + j7 : { + nameFR: "Forfait 7 jours", + nameEN: "7-day package", + nameIT: "Pacchetto 7 giorni", + price: "89,70 €", + }, + j10 : { + nameFR: "Forfait 10 jours", + nameEN: "10-day package", + nameIT: "Pacchetto 10 giorni", + price: "105,40 €", + }, + j15 : { + nameFR: "Forfait 15 jours", + nameEN: "15-day package", + nameIT: "Pacchetto 15 giorni", + price: "136,90 €", + } + } + } + } + } +} + diff --git a/asset/js/resto.js b/asset/js/resto.js new file mode 100644 index 0000000..325c7a9 --- /dev/null +++ b/asset/js/resto.js @@ -0,0 +1,149 @@ +let restoTagList = { + pizza : { + isActive: false, + fr: "Pizza", + en: "Pizza", + it: "Pizza", + }, + vege : { + isActive: false, + fr: "Végétarien", + en: "Vegie", + it: "Vigi", + }, + ital : { + isActive: false, + fr: "Italien", + en: "Italian", + it: "Italiano", + } +} + +let SanTelmo = { + isActive: false, + id: "santelmo", + type : "item", + cat: "resto", + name: "San Telmo", + tags : [ + restoTagList.pizza, + restoTagList.ital + ], + xy: [-11.42,27.20], + dirxy: [-12.98,35.95], + dirzl: 4, + minz: 3, + img: "https://ed.brz9.dev/proj/map/asset/img/santelmo.jpg", + txtFR: "Français Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtEN: "English Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtIT: "Italiano Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + card : { + tabs : { + menu : { + tabtype : "menu", + priceRange : "17-25€", + dishes : { + }, + sections : { + pizza : { + nameFR : "Pizza", + nameEN : "Pizza", + nameIT : "Pizza", + list : [ + Dishes.santelmo.diavolo, + Dishes.santelmo.d10s, + ], + }, + pates : { + nameFR: "Pâtes", + nameEN: "Pasta", + nameIT: "Pasta", + list : [ + Dishes.santelmo.gnocchigor, + ] + } + } + }, + time : { + tabtype : "time", + list : { + mon : "11h30-14h00 18h30-22h00", + tue : "11h30-14h00 18h30-22h00", + wed : "11h30-14h00 18h30-22h00", + thu : "11h30-14h00 18h30-22h00", + fri : "11h30-14h00 18h30-22h00", + sat : "11h30-14h00 18h30-22h00", + sun : "", + } + }, + info : { + tabtype: "info", + tel: "05 04 32 23 23", + } + } + } +} + +let Novaa = { + isActive: false, + id: "novasocialfood", + type : "item", + name: "Noväa social food", + tags : [ + restoTagList.vege + ], + xy: [-14.60,17.97], + dirxy: [-18.48,35.68], + dirzl: 3, + minz: 3, + img: "https://ed.brz9.dev/proj/map/asset/img/novaa.jpg", + txtFR: "Français Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtEN: "English Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtIT: "Italiano Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + card : { + tabs : { + menu : { + tabtype : "menu", + priceRange : "18-32€", + dishes : { + divola : { + name : "Pizza Divola", + }, + regina : { + name : "Pizza Regina", + } + } + }, + time : { + tabtype : "time", + mon : "11h30-14h00 18h30-22h00", + tue : "11h30-14h00 18h30-22h00", + wed : "11h30-14h00 18h30-22h00", + thu : "11h30-14h00 18h30-22h00", + fri : "11h30-14h00 18h30-22h00", + sat : "11h30-14h00 18h30-22h00", + sun : "", + } + } + } +} + +let Salsamenteria = { + id: "salsamenteria", + isActive: false, + xy: [-21.96, -21.64], + dirxy: [-19.97,-7.73], + dirzl: 3, + minz: 3, + tags : [ + restoTagList.ital + ], + type : "item", + name: "Salsamenteria di Parma", + img: "https://ed.brz9.dev/proj/map/asset/img/salsamentiera.jpg", + txtFR: "Français Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtEN: "English Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", + txtIT: "Italiano Adipisicing live-edge fam velit. Messenger bag poke laboris aesthetic viral do semiotics authentic est selfies.", +} + + diff --git a/asset/js/vue.min.js b/asset/js/vue.min.js new file mode 100644 index 0000000..05e2110 --- /dev/null +++ b/asset/js/vue.min.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v2.6.11 + * (c) 2014-2019 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(z)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Pe(String,i.type);(c<0||s0&&(st((u=e(u,(a||"")+"_"+c))[0])&&st(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?st(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):st(u)&&st(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function st(e){return n(e)&&n(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=pt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=dt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:at(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function vt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return cn.now()})}function un(){var e,t;for(an=sn(),rn=!0,Qt.sort(function(e,t){return e.id-t.id}),on=0;onon&&Qt[n].id>e.id;)n--;Qt.splice(n+1,0,e)}else Qt.push(e);nn||(nn=!0,Ye(un))}}(this)},fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:S,set:S};function dn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Me(o,t,n,e);xe(r,o,a),o in e||dn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&dn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new fn(e,a||S,S,hn)),i in e||mn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function An(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=xn(a.componentOptions);s&&!t(s)&&On(n,o,r,i)}}}function On(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=bn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De($n(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&qt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=ut(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Yt(n,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),vn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Yt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return _n(this,e,t,n);(n=n||{}).user=!0;var r=new fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Re(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Ye,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),Cn(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:te}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Tt}),wn.version="2.6.11";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},In=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Pn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function Bn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Un(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Un(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Vn(t));return""}(t.staticClass,t.class)}function Un(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?hr(e,t,n):In(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,Mn(t,n)):Pn(t)?Hn(n)?e.removeAttributeNS(Fn,Rn(t)):e.setAttributeNS(Fn,t,n):hr(e,t,n)}function hr(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var mr={create:dr,update:dr};function yr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Bn(r),c=i._transitionClasses;n(c)&&(s=zn(s,Vn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var gr,_r,br,$r,wr,Cr,xr={create:yr,update:yr},kr=/[\w).+\-_$\]]/;function Ar(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&kr.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};_r=e,$r=wr=Cr=0;for(;!zr();)Vr(br=Ur())?Jr(br):91===br&&Kr(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,Cr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return _r.charCodeAt(++$r)}function zr(){return $r>=gr}function Vr(e){return 34===e||39===e}function Kr(e){var t=1;for(wr=$r;!zr();)if(Vr(e=Ur()))Jr(e);else if(91===e&&t++,93===e&&t--,0===t){Cr=$r;break}}function Jr(e){for(var t=e;!zr()&&(e=Ur())!==t;);}var qr,Wr="__r",Zr="__c";function Gr(e,t,n){var r=qr;return function i(){null!==t.apply(null,arguments)&&Qr(e,i,n,r)}}var Xr=Ve&&!(X&&Number(X[1])<=53);function Yr(e,t,n,r){if(Xr){var i=an,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function ei(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};qr=r.elm,function(e){if(n(e[Wr])){var t=q?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}n(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(i),rt(i,o,Yr,Qr,Gr,r.context),qr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);ii(a,u)&&(a.value=u)}else if("innerHTML"===i&&qn(a.tagName)&&t(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+o+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var oi={create:ri,update:ri},ai=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function si(e){var t=ci(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?O(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,pi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(C(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,$i(e.name||"v")),A(t,e),t}return"string"==typeof e?$i(e):void 0}}var $i=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=z&&!W,Ci="transition",xi="animation",ki="transition",Ai="transitionend",Oi="animation",Si="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ki="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Si="webkitAnimationEnd"));var Ti=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ti(function(){Ti(e)})}function Ni(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&h(e._transitionClasses,t),_i(e,t)}function Di(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ci?Ai:Si,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ci,l=a,f=o.length):t===xi?u>0&&(n=xi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ci:xi:null)?n===Ci?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ci&&Li.test(r[ki+"Property"])}}function Ii(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Pi(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every(function(t){return!N(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yi(e){return!e.componentInstance||e.data&&e.data.transition?e:Yi(e.componentInstance._vnode)}var Qi={model:Vi,show:{bind:function(e,t,n){var r=t.value,i=(n=Yi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Yi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,function(){e.style.display=e.__vOriginalDisplay}):Ri(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(zt(t.children)):e}function no(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var io=function(e){return e.tag||Ut(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(io)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=to(o);if(!a)return o;if(this._leaving)return ro(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=no(this),u=this._vnode,l=to(u);if(a.data.directives&&a.data.directives.some(oo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Ut(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,it(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,o);if("in-out"===r){if(Ut(a))return u;var p,d=function(){p()};it(c,"afterEnter",d),it(c,"enterCancelled",d),it(f,"delayLeave",function(e){p=e})}}return o}}},so=A({tag:String,moveClass:String},eo);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete so.mode;var fo={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s-1?Gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Gn[e]=/HTMLUnknownElement/.test(t.toString())},A(wn.options.directives,Qi),A(wn.options.components,fo),wn.prototype.__patch__=z?zi:S,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Yt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new fn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Yt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yt(e,"mounted")),e}(this,e=e&&z?Yn(e):void 0,t)},z&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",wn)},0);var po=/\{\{((?:.|\r?\n)+?)\}\}/g,vo=/[-.*+?^${}()|[\]\/\\]/g,ho=g(function(e){var t=e[0].replace(vo,"\\$&"),n=e[1].replace(vo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var yo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},_o=function(e){return(yo=yo||document.createElement("div")).innerHTML=e,yo.textContent},bo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),$o=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Ao="((?:"+ko+"\\:)?"+ko+")",Oo=new RegExp("^<"+Ao),So=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Eo=/^]+>/i,No=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Io=/&(?:lt|gt|quot|amp|#39);/g,Fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=p("pre,textarea",!0),Ro=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Ho(e,t){var n=t?Fo:Io;return e.replace(n,function(e){return Mo[e]})}var Bo,Uo,zo,Vo,Ko,Jo,qo,Wo,Zo=/^@|^v-on:/,Go=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qo=/^\(|\)$/g,ea=/^\[.*\]$/,ta=/:(.*)$/,na=/^:|^\.|^v-bind:/,ra=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,aa=/\s+/g,sa=g(_o),ca="_empty_";function ua(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ma(t),rawAttrsMap:{},parent:n,children:[]}}function la(e,t){Bo=t.warn||Sr,Jo=t.isPreTag||T,qo=t.mustUseProp||T,Wo=t.getTagNamespace||T;t.isReservedTag;zo=Tr(t.modules,"transformNode"),Vo=Tr(t.modules,"preTransformNode"),Ko=Tr(t.modules,"postTransformNode"),Uo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=fa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&da(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); \ No newline at end of file