@skyservice-developers/vue-dev-kit 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");var Re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Le(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ce={exports:{}};(function(l,S){(function(b,d){var x="1.0.41",v="",V="?",c="function",y="undefined",E="object",_="string",T="major",i="model",a="name",t="type",o="vendor",n="version",p="architecture",f="console",r="mobile",s="tablet",N="smarttv",B="wearable",P="embedded",D=500,G="Amazon",I="Apple",me="ASUS",be="BlackBerry",W="Browser",K="Chrome",Pe="Edge",Y="Firefox",Z="Google",we="Honor",pe="Huawei",Me="Lenovo",J="LG",oe="Microsoft",ie="Motorola",ne="Nvidia",fe="OnePlus",L="Opera",ae="OPPO",$="Samsung",ve="Sharp",q="Sony",le="Xiaomi",re="Zebra",ge="Facebook",he="Chromium OS",ye="Mac OS",ke=" Browser",ze=function(w,g){var m={};for(var k in w)g[k]&&g[k].length%2===0?m[k]=g[k].concat(w[k]):m[k]=w[k];return m},Q=function(w){for(var g={},m=0;m<w.length;m++)g[w[m].toUpperCase()]=w[m];return g},Ee=function(w,g){return typeof w===_?U(g).indexOf(U(w))!==-1:!1},U=function(w){return w.toLowerCase()},De=function(w){return typeof w===_?w.replace(/[^\d\.]/g,v).split(".")[0]:d},se=function(w,g){if(typeof w===_)return w=w.replace(/^\s\s*/,v),typeof g===y?w:w.substring(0,D)},j=function(w,g){for(var m=0,k,M,A,h,u,O;m<g.length&&!u;){var de=g[m],Ne=g[m+1];for(k=M=0;k<de.length&&!u&&de[k];)if(u=de[k++].exec(w),u)for(A=0;A<Ne.length;A++)O=u[++M],h=Ne[A],typeof h===E&&h.length>0?h.length===2?typeof h[1]==c?this[h[0]]=h[1].call(this,O):this[h[0]]=h[1]:h.length===3?typeof h[1]===c&&!(h[1].exec&&h[1].test)?this[h[0]]=O?h[1].call(this,O,h[2]):d:this[h[0]]=O?O.replace(h[1],h[2]):d:h.length===4&&(this[h[0]]=O?h[3].call(this,O.replace(h[1],h[2])):d):this[h]=O||d;m+=2}},F=function(w,g){for(var m in g)if(typeof g[m]===E&&g[m].length>0){for(var k=0;k<g[m].length;k++)if(Ee(g[m][k],w))return m===V?d:m}else if(Ee(g[m],w))return m===V?d:m;return g.hasOwnProperty("*")?g["*"]:w},Ie={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},xe={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Se={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,L+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,L+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UC"+W]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart Lenovo "+W]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+W],n],[/\bfocus\/([\w\.]+)/i],[n,[a,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+ke]],[/fxios\/([\w\.-]+)/i],[n,[a,Y]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+ke],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,$+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,n],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,ge],n],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,K+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,K+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+W]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[a,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,F,Ie]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,Y+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[n,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[p,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[p,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[p,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[p,/ower/,v,U]],[/ sun4\w[;\)]/i],[[p,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[p,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[i,[o,$],[t,s]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[i,[o,$],[t,r]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[i,[o,I],[t,r]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[i,[o,I],[t,s]],[/(macintosh);/i],[i,[o,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[i,[o,ve],[t,r]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[i,[o,we],[t,s]],[/honor([-\w ]+)[;\)]/i],[i,[o,we],[t,r]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[i,[o,pe],[t,s]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[i,[o,pe],[t,r]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[i,/_/g," "],[o,le],[t,s]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[i,/_/g," "],[o,le],[t,r]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[i,[o,ae],[t,r]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[i,[o,F,{OnePlus:["304","403","203"],"*":ae}],[t,s]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[i,[o,"Vivo"],[t,r]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[i,[o,"Realme"],[t,r]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[i,[o,ie],[t,r]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[i,[o,ie],[t,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[i,[o,J],[t,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[i,[o,J],[t,r]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[i,[o,Me],[t,s]],[/(nokia) (t[12][01])/i],[o,i,[t,s]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[i,/_/g," "],[t,r],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[i,[o,Z],[t,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[i,[o,Z],[t,r]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[i,[o,q],[t,r]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[i,"Xperia Tablet"],[o,q],[t,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[i,[o,fe],[t,r]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[i,[o,G],[t,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[i,/(.+)/g,"Fire Phone $1"],[o,G],[t,r]],[/(playbook);[-\w\),; ]+(rim)/i],[i,o,[t,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[i,[o,be],[t,r]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[i,[o,me],[t,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[i,[o,me],[t,r]],[/(nexus 9)/i],[i,[o,"HTC"],[t,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[i,/_/g," "],[t,r]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[i,[o,"TCL"],[t,s]],[/(itel) ((\w+))/i],[[o,U],i,[t,F,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[i,[o,"Acer"],[t,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[i,[o,"Meizu"],[t,r]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[i,[o,"Ulefone"],[t,r]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[i,[o,"Energizer"],[t,r]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[i,[o,"Cat"],[t,r]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[i,[o,"Smartfren"],[t,r]],[/droid.+; (a(?:015|06[35]|142p?))/i],[i,[o,"Nothing"],[t,r]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[i,[o,"Archos"],[t,s]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[i,[o,"Archos"],[t,r]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,i,[t,s]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,i,[t,r]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,i,[t,s]],[/(surface duo)/i],[i,[o,oe],[t,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[i,[o,"Fairphone"],[t,r]],[/(u304aa)/i],[i,[o,"AT&T"],[t,r]],[/\bsie-(\w*)/i],[i,[o,"Siemens"],[t,r]],[/\b(rct\w+) b/i],[i,[o,"RCA"],[t,s]],[/\b(venue[\d ]{2,7}) b/i],[i,[o,"Dell"],[t,s]],[/\b(q(?:mv|ta)\w+) b/i],[i,[o,"Verizon"],[t,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[i,[o,"Barnes & Noble"],[t,s]],[/\b(tm\d{3}\w+) b/i],[i,[o,"NuVision"],[t,s]],[/\b(k88) b/i],[i,[o,"ZTE"],[t,s]],[/\b(nx\d{3}j) b/i],[i,[o,"ZTE"],[t,r]],[/\b(gen\d{3}) b.+49h/i],[i,[o,"Swiss"],[t,r]],[/\b(zur\d{3}) b/i],[i,[o,"Swiss"],[t,s]],[/\b((zeki)?tb.*\b) b/i],[i,[o,"Zeki"],[t,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],i,[t,s]],[/\b(ns-?\w{0,9}) b/i],[i,[o,"Insignia"],[t,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[i,[o,"NextBook"],[t,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],i,[t,r]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],i,[t,r]],[/\b(ph-1) /i],[i,[o,"Essential"],[t,r]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[i,[o,"Envizen"],[t,s]],[/\b(trio[-\w\. ]+) b/i],[i,[o,"MachSpeed"],[t,s]],[/\btu_(1491) b/i],[i,[o,"Rotor"],[t,s]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[i,[o,ne],[t,s]],[/(sprint) (\w+)/i],[o,i,[t,r]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[o,oe],[t,r]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[i,[o,re],[t,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[i,[o,re],[t,r]],[/smart-tv.+(samsung)/i],[o,[t,N]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[o,$],[t,N]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,J],[t,N]],[/(apple) ?tv/i],[o,[i,I+" TV"],[t,N]],[/crkey/i],[[i,K+"cast"],[o,Z],[t,N]],[/droid.+aft(\w+)( bui|\))/i],[i,[o,G],[t,N]],[/(shield \w+ tv)/i],[i,[o,ne],[t,N]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[i,[o,ve],[t,N]],[/(bravia[\w ]+)( bui|\))/i],[i,[o,q],[t,N]],[/(mi(tv|box)-?\w+) bui/i],[i,[o,le],[t,N]],[/Hbbtv.*(technisat) (.*);/i],[o,i,[t,N]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,se],[i,se],[t,N]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[i,[t,N]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,N]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,i,[t,f]],[/droid.+; (shield)( bui|\))/i],[i,[o,ne],[t,f]],[/(playstation \w+)/i],[i,[o,q],[t,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[i,[o,oe],[t,f]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[i,[o,$],[t,B]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,i,[t,B]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[i,[o,ae],[t,B]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[i,[o,I],[t,B]],[/(opwwe\d{3})/i],[i,[o,fe],[t,B]],[/(moto 360)/i],[i,[o,ie],[t,B]],[/(smartwatch 3)/i],[i,[o,q],[t,B]],[/(g watch r)/i],[i,[o,J],[t,B]],[/droid.+; (wt63?0{2,3})\)/i],[i,[o,re],[t,B]],[/droid.+; (glass) \d/i],[i,[o,Z],[t,B]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,i,[t,B]],[/; (quest( \d| pro)?)/i],[i,[o,ge],[t,B]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[t,P]],[/(aeobc)\b/i],[i,[o,G],[t,P]],[/(homepod).+mac os/i],[i,[o,I],[t,P]],[/windows iot/i],[[t,P]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[i,[t,r]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[i,[t,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,r]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[i,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,Pe+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,n],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[n,F,xe]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,F,xe],[a,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,ye],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[a,n],[/\(bb(10);/i],[n,[a,be]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[a,K+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,he],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},C=function(w,g){if(typeof w===E&&(g=w,w=d),!(this instanceof C))return new C(w,g).getResult();var m=typeof b!==y&&b.navigator?b.navigator:d,k=w||(m&&m.userAgent?m.userAgent:v),M=m&&m.userAgentData?m.userAgentData:d,A=g?ze(Se,g):Se,h=m&&m.userAgent==k;return this.getBrowser=function(){var u={};return u[a]=d,u[n]=d,j.call(u,k,A.browser),u[T]=De(u[n]),h&&m&&m.brave&&typeof m.brave.isBrave==c&&(u[a]="Brave"),u},this.getCPU=function(){var u={};return u[p]=d,j.call(u,k,A.cpu),u},this.getDevice=function(){var u={};return u[o]=d,u[i]=d,u[t]=d,j.call(u,k,A.device),h&&!u[t]&&M&&M.mobile&&(u[t]=r),h&&u[i]=="Macintosh"&&m&&typeof m.standalone!==y&&m.maxTouchPoints&&m.maxTouchPoints>2&&(u[i]="iPad",u[t]=s),u},this.getEngine=function(){var u={};return u[a]=d,u[n]=d,j.call(u,k,A.engine),u},this.getOS=function(){var u={};return u[a]=d,u[n]=d,j.call(u,k,A.os),h&&!u[a]&&M&&M.platform&&M.platform!="Unknown"&&(u[a]=M.platform.replace(/chrome os/i,he).replace(/macos/i,ye)),u},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return k},this.setUA=function(u){return k=typeof u===_&&u.length>D?se(u,D):u,this},this.setUA(k),this};C.VERSION=x,C.BROWSER=Q([a,n,T]),C.CPU=Q([p]),C.DEVICE=Q([i,o,t,f,r,N,s,B,P]),C.ENGINE=C.OS=Q([a,n]),l.exports&&(S=l.exports=C),S.UAParser=C;var R=typeof b!==y&&(b.jQuery||b.Zepto);if(R&&!R.ua){var ee=new C;R.ua=ee.getResult(),R.ua.get=function(){return ee.getUA()},R.ua.set=function(w){ee.setUA(w);var g=ee.getResult();for(var m in g)R.ua[m]=g[m]}}})(typeof window=="object"?window:Re)})(ce,ce.exports);var $e=ce.exports;const qe=Le($e);function Te(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var l=qe(navigator.userAgent);if(l.browser.name==="WebKit")return"ios_webview"}catch(S){console.error(S)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function _e(){return Te()==="ios_webview"}function Ce(){return Te()==="android_webview"}function z(){try{return window.self!==window.top}catch{return!0}}const Ue=3e3;let je=0,te=null;function Fe(){return`req_${++je}_${Date.now()}`}function Xe(){return"APP_"+Math.random().toString(36).slice(2,10)}function He(l){te=l}function ue(){return te||(te=Xe()),te}function X(l){if(!z()){console.log("[parentBridge] not in iframe, skip sendToParent");return}const S={...l,sender:ue(),target:l.target||"DASHBOARD"};console.log("[parentBridge] sendToParent:",S),window.parent.postMessage(S,"*")}function Ae(l,S){return z()?new Promise(b=>{const d=Fe(),x=setTimeout(()=>{window.removeEventListener("message",v),b(null)},Ue);function v(V){const c=V.data;(c==null?void 0:c.type)==="DATA_RESPONSE"&&console.log("[parentBridge] DATA_RESPONSE received:",{requestId:c.requestId,expectedId:d,target:c.target,sender:c.sender,hasData:c.data!=null}),(c==null?void 0:c.type)==="DATA_RESPONSE"&&(c==null?void 0:c.requestId)===d&&(!c.target||c.target===ue())&&(clearTimeout(x),window.removeEventListener("message",v),b(c.data??null))}window.addEventListener("message",v),X({type:"DATA_REQUEST",requestId:d,source:l,key:S})}):Promise.resolve(null)}function Ge(l){return Ae("localStorage",l)}function We(l){return Ae("window",l)}const H=(l,S)=>{const b=l.__vccOpts||l;for(const[d,x]of S)b[d]=x;return b},Ke={class:"sky-header-container"},Ye={class:"topmenubox"},Ze={class:"header-left"},Je=["title"],Qe={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},et={class:"notPadding",style:{"margin-bottom":"4px"}},tt={class:"topmenu-title"},ot={key:0,class:"title-dropdown"},it={class:"title-dropdown-header"},nt=["onClick"],at={class:"pageName"},lt={class:"pageVisit"},rt={key:0,class:"topmenu-description"},st={class:"topmenubox-button"},dt={__name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null},dropdownItems:{type:Array,default:()=>[]},dropdownTitle:{type:String,default:"Останні відвідані розділи"},visitLabel:{type:String,default:"Останнє відвідування"},trackPageName:{type:String,default:""},trackPagePath:{type:String,default:""},appId:{type:String,default:""}},emits:["back","navigate"],setup(l,{emit:S}){const b=l;He(b.appId||ue());const d=S,x=e.ref(null),v=e.ref(!1),V=e.ref([]),c=e.ref({});z()&&b.trackPageName&&X({type:"trackVisit",name:b.trackPageName,path:b.trackPagePath||`/${b.trackPageName}`}),z()&&X({type:"setRocketMode",value:!0}),z()&&We("lang").then(f=>{f!=null&&(c.value=f)});function y(f){try{if(!f)return;const r=typeof f=="string"?JSON.parse(f):f;r!=null&&r.pages&&(V.value=Object.values(r.pages))}catch{}}y(localStorage.componentStats),z()&&Ge("componentStats").then(f=>{f!=null&&(localStorage.setItem("componentStats",JSON.stringify(f)),y(f))});const E=e.computed(()=>[...b.dropdownItems.length?b.dropdownItems:V.value].sort((r,s)=>s.lastVisit-r.lastVisit)),_=()=>{E.value.length&&(v.value=!v.value)},T=()=>{v.value=!1},i=f=>{d("navigate",f.path),z()&&X({type:"navigate",path:f.path}),T()},a=f=>{if(!f)return"";const r=c.value[f]||f;return r.charAt(0).toUpperCase()+r.slice(1)},t=f=>{const s=Date.now()-f,N=Math.floor(s/1e3),B=Math.floor(N/60),P=Math.floor(B/60),D=Math.floor(P/24);return D>0?`${D}д тому`:P>0?`${P}год тому`:B>0?`${B}хв тому`:`${N}с тому`},o=f=>{x.value&&!x.value.contains(f.target)&&T()};e.onMounted(()=>{document.addEventListener("click",o,!0)}),e.onUnmounted(()=>{document.removeEventListener("click",o,!0)});const n=e.computed(()=>b.backEvent||b.showBackButton&&z()),p=()=>{if(b.backEvent)return b.backEvent();X({type:"exit"})};return(f,r)=>(e.openBlock(),e.createElementBlock("header",Ke,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Ze,[n.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-back",onClick:p,title:l.backButtonTitle},[(e.openBlock(),e.createElementBlock("svg",Qe,[...r[0]||(r[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,Je)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"dropdownRef",ref:x,class:"titleAndDesc"},[e.createElementVNode("button",{class:e.normalizeClass(["title-dropdown-toggle",{"title-dropdown-toggle-active":E.value.length}]),onClick:_},[e.renderSlot(f.$slots,"title",{},()=>[e.createElementVNode("h4",et,[e.createElementVNode("span",tt,e.toDisplayString(l.title),1),E.value.length?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["arrow",{open:v.value}]),width:"12",height:"12",viewBox:"0 0 451.847 451.847",style:{"flex-shrink":"0"}},[...r[1]||(r[1]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])],2)):e.createCommentVNode("",!0)])],!0)],2),v.value&&E.value.length?(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",it,e.toDisplayString(l.dropdownTitle),1),r[2]||(r[2]=e.createElementVNode("div",{class:"title-dropdown-divider"},null,-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(s,N)=>(e.openBlock(),e.createElementBlock("div",{key:N,class:"title-dropdown-item",onClick:B=>i(s)},[e.createElementVNode("p",at,e.toDisplayString(a(s.name)),1),e.createElementVNode("small",lt," ("+e.toDisplayString(l.visitLabel)+" "+e.toDisplayString(t(s.lastVisit))+") ",1)],8,nt))),128))])):e.createCommentVNode("",!0),e.renderSlot(f.$slots,"subtitle",{},()=>[l.subtitle?(e.openBlock(),e.createElementBlock("p",rt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],!0)],512)]),e.createElementVNode("div",st,[r[3]||(r[3]=e.createElementVNode("div",null,null,-1)),e.renderSlot(f.$slots,"default",{},void 0,!0),r[4]||(r[4]=e.createElementVNode("div",null,null,-1))])])]))}},ct=H(dt,[["__scopeId","data-v-c23c8333"]]);const ut={key:0,class:"sky-dialog-subtitle"},mt=["title"],bt={key:0,class:"sky-dialog-swipe-area"},wt={__name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:S}){const b=e.useSlots(),d=l,x=S,v=e.ref(null),V=e.ref(null),c=e.ref(0),y=e.computed(()=>{try{return _e()}catch{return!1}}),E=e.computed(()=>{try{return Ce()}catch{return!1}}),_=e.computed(()=>d.hasButtons!==null?d.hasButtons:!!b.buttons),T=()=>{x("update:modelValue",!1),x("close")},i=n=>{n.key==="Escape"&&d.closeOnEsc&&d.modelValue&&T(),n.key==="Enter"&&d.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(c.value=n.touches[0].clientX)},t=n=>{c.value>0&&c.value<35&&n.changedTouches[0].clientX-c.value>50&&T(),c.value=0},o=()=>{if(!(!E.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const p=n/window.devicePixelRatio;v.value.style.paddingTop=p+"px"}}}catch{}};return e.watch(()=>d.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{o()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",i),window.addEventListener("resize",o)}),e.onUnmounted(()=>{document.removeEventListener("keydown",i),window.removeEventListener("resize",o),document.body.style.overflow=""}),(n,p)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-classic",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",ut,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("button",{class:"sky-dialog-close",title:l.closeText,onClick:T},[...p[0]||(p[0]=[e.createElementVNode("svg",{viewBox:"0 0 16 16",width:"16",height:"16"},[e.createElementVNode("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}),e.createElementVNode("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"})],-1)])],8,mt),p[3]||(p[3]=e.createElementVNode("div",{class:"sky-dialog-clearfix"},null,-1)),e.createElementVNode("div",{ref_key:"dialogPaper",ref:V,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!_.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",bt)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[p[1]||(p[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(n.$slots,"buttons",{},void 0,!0),p[2]||(p[2]=e.createElementVNode("div",null,null,-1))],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},Be=H(wt,[["__scopeId","data-v-0cb65d7d"]]);const pt={class:"sky-dialog-header"},ft=["title"],vt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},gt={key:0,class:"sky-dialog-subtitle"},ht={key:0,class:"sky-dialog-swipe-area"},yt={__name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:S}){const b=e.useSlots(),d=l,x=S,v=e.ref(null),V=e.ref(null),c=e.ref(0),y=e.computed(()=>{try{return _e()}catch{return!1}}),E=e.computed(()=>{try{return Ce()}catch{return!1}}),_=e.computed(()=>d.hasButtons!==null?d.hasButtons:!!b.buttons),T=()=>{x("update:modelValue",!1),x("close")},i=n=>{n.key==="Escape"&&d.closeOnEsc&&d.modelValue&&T(),n.key==="Enter"&&d.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(c.value=n.touches[0].clientX)},t=n=>{c.value>0&&c.value<35&&n.changedTouches[0].clientX-c.value>50&&T(),c.value=0},o=()=>{if(!(!E.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const p=n/window.devicePixelRatio;v.value.style.paddingTop=p+"px"}}}catch{}};return e.watch(()=>d.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{o()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",i),window.addEventListener("resize",o)}),e.onUnmounted(()=>{document.removeEventListener("keydown",i),window.removeEventListener("resize",o),document.body.style.overflow=""}),(n,p)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-next",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",pt,[e.createElementVNode("button",{class:"sky-dialog-back",title:l.closeText,onClick:T},[(e.openBlock(),e.createElementBlock("svg",vt,[...p[0]||(p[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,ft),e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",gt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",{ref_key:"dialogPaper",ref:V,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!_.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",ht)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[p[1]||(p[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(n.$slots,"buttons",{},void 0,!0),p[2]||(p[2]=e.createElementVNode("div",null,null,-1))],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},Ve=H(yt,[["__scopeId","data-v-35e2143b"]]),kt={__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:l=>[null,"next","classic"].includes(l)}},emits:["update:modelValue","close","save"],setup(l,{emit:S}){const b=l,d=S,x=e.computed({get:()=>b.modelValue,set:c=>d("update:modelValue",c)}),v=e.ref(!0);e.onMounted(()=>{try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?v.value=!1:v.value=!0}catch{v.value=!0}});const V=e.computed(()=>b.mode==="next"?Ve:b.mode==="classic"?Be:v.value?Ve:Be);return(c,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.value),{modelValue:x.value,"onUpdate:modelValue":y[0]||(y[0]=E=>x.value=E),title:l.title,subtitle:l.subtitle,"z-index":l.zIndex,"close-text":l.closeText,"enable-animation":l.enableAnimation,"close-on-esc":l.closeOnEsc,"has-buttons":!!c.$slots.buttons,onClose:y[1]||(y[1]=E=>c.$emit("close")),onSave:y[2]||(y[2]=E=>c.$emit("save"))},e.createSlots({default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:2},[c.$slots.buttons?{name:"buttons",fn:e.withCtx(()=>[e.renderSlot(c.$slots,"buttons")]),key:"0"}:void 0]),1064,["modelValue","title","subtitle","z-index","close-text","enable-animation","close-on-esc","has-buttons"]))}},Et={props:{to:{type:String,default:"body"}}};function xt(l,S,b,d,x,v){return e.openBlock(),e.createBlock(e.Teleport,{to:b.to},[e.renderSlot(l.$slots,"default")],8,["to"])}const Oe=H(Et,[["render",xt]]);const St={class:"sky-modal-header"},Nt=["title"],Bt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},Vt={class:"sky-modal-title-wrapper"},Tt={class:"sky-modal-title"},_t={key:0,class:"sky-modal-subtitle"},Ct={class:"sky-modal-body"},At={key:0,class:"sky-modal-footer"},Ot={__name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"}},emits:["update:modelValue","close"],setup(l,{emit:S}){const b=l,d=S,x=e.computed(()=>({width:b.width,height:b.height})),v=()=>{d("update:modelValue",!1),d("close")},V=()=>{b.closeOnOverlay&&v()},c=y=>{y.key==="Escape"&&b.closeOnEsc&&b.modelValue&&v()};return e.watch(()=>b.modelValue,y=>{y?document.body.style.overflow="hidden":document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",c)}),e.onUnmounted(()=>{document.removeEventListener("keydown",c),document.body.style.overflow=""}),(y,E)=>(e.openBlock(),e.createBlock(Oe,{to:"body"},{default:e.withCtx(()=>[e.createVNode(e.Transition,null,{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-modal-overlay",onClick:e.withModifiers(V,["self"])},[e.createElementVNode("div",{class:"sky-modal",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",St,[e.createElementVNode("button",{class:"sky-modal-back",onClick:v,title:l.closeTitle},[(e.openBlock(),e.createElementBlock("svg",Bt,[...E[0]||(E[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,Nt),e.createElementVNode("div",Vt,[e.createElementVNode("h4",Tt,e.toDisplayString(l.title),1),l.subtitle?(e.openBlock(),e.createElementBlock("div",_t,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ct,[e.renderSlot(y.$slots,"default",{},void 0,!0)]),y.$slots.footer?(e.openBlock(),e.createElementBlock("div",At,[E[1]||(E[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(y.$slots,"footer",{},void 0,!0),E[2]||(E[2]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3})]),_:3}))}},Pt=H(Ot,[["__scopeId","data-v-b612fee8"]]);exports.BaseTeleport=Oe;exports.Dialog=kt;exports.Header=ct;exports.Modal=Pt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");var Le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Re(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ce={exports:{}};(function(l,N){(function(m,d){var x="1.0.41",v="",V="?",b="function",y="undefined",E="object",_="string",T="major",i="model",a="name",t="type",o="vendor",n="version",p="architecture",f="console",r="mobile",s="tablet",S="smarttv",B="wearable",M="embedded",D=500,G="Amazon",I="Apple",me="ASUS",be="BlackBerry",W="Browser",K="Chrome",Me="Edge",Y="Firefox",Z="Google",we="Honor",pe="Huawei",ze="Lenovo",J="LG",oe="Microsoft",ie="Motorola",ne="Nvidia",fe="OnePlus",R="Opera",ae="OPPO",$="Samsung",ve="Sharp",U="Sony",le="Xiaomi",re="Zebra",ge="Facebook",he="Chromium OS",ye="Mac OS",ke=" Browser",Pe=function(w,g){var u={};for(var k in w)g[k]&&g[k].length%2===0?u[k]=g[k].concat(w[k]):u[k]=w[k];return u},Q=function(w){for(var g={},u=0;u<w.length;u++)g[w[u].toUpperCase()]=w[u];return g},Ee=function(w,g){return typeof w===_?q(g).indexOf(q(w))!==-1:!1},q=function(w){return w.toLowerCase()},De=function(w){return typeof w===_?w.replace(/[^\d\.]/g,v).split(".")[0]:d},se=function(w,g){if(typeof w===_)return w=w.replace(/^\s\s*/,v),typeof g===y?w:w.substring(0,D)},j=function(w,g){for(var u=0,k,z,A,h,c,O;u<g.length&&!c;){var de=g[u],Ne=g[u+1];for(k=z=0;k<de.length&&!c&&de[k];)if(c=de[k++].exec(w),c)for(A=0;A<Ne.length;A++)O=c[++z],h=Ne[A],typeof h===E&&h.length>0?h.length===2?typeof h[1]==b?this[h[0]]=h[1].call(this,O):this[h[0]]=h[1]:h.length===3?typeof h[1]===b&&!(h[1].exec&&h[1].test)?this[h[0]]=O?h[1].call(this,O,h[2]):d:this[h[0]]=O?O.replace(h[1],h[2]):d:h.length===4&&(this[h[0]]=O?h[3].call(this,O.replace(h[1],h[2])):d):this[h]=O||d;u+=2}},F=function(w,g){for(var u in g)if(typeof g[u]===E&&g[u].length>0){for(var k=0;k<g[u].length;k++)if(Ee(g[u][k],w))return u===V?d:u}else if(Ee(g[u],w))return u===V?d:u;return g.hasOwnProperty("*")?g["*"]:w},Ie={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},xe={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Se={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,R+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[n,[a,R+" GX"]],[/\bopr\/([\w\.]+)/i],[n,[a,R]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[n,[a,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a,n],[/quark(?:pc)?\/([-\w\.]+)/i],[n,[a,"Quark"]],[/\bddg\/([\w\.]+)/i],[n,[a,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UC"+W]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart Lenovo "+W]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+W],n],[/\bfocus\/([\w\.]+)/i],[n,[a,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,R+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,R+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI"+ke]],[/fxios\/([\w\.-]+)/i],[n,[a,Y]],[/\bqihoobrowser\/?([\w\.]*)/i],[n,[a,"360"]],[/\b(qq)\/([\w\.]+)/i],[[a,/(.+)/,"$1Browser"],n],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1"+ke],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,$+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a,n],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[n,a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,ge],n],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,K+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,K+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+W]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[a,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,F,Ie]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/(wolvic|librewolf)\/([\w\.]+)/i],[a,n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,Y+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a,[n,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[a,[n,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[p,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[p,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[p,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[p,/ower/,v,q]],[/ sun4\w[;\)]/i],[[p,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[p,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[i,[o,$],[t,s]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[i,[o,$],[t,r]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[i,[o,I],[t,r]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[i,[o,I],[t,s]],[/(macintosh);/i],[i,[o,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[i,[o,ve],[t,r]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[i,[o,we],[t,s]],[/honor([-\w ]+)[;\)]/i],[i,[o,we],[t,r]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[i,[o,pe],[t,s]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[i,[o,pe],[t,r]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[i,/_/g," "],[o,le],[t,s]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[i,/_/g," "],[o,le],[t,r]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[i,[o,ae],[t,r]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[i,[o,F,{OnePlus:["304","403","203"],"*":ae}],[t,s]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[i,[o,"Vivo"],[t,r]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[i,[o,"Realme"],[t,r]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[i,[o,ie],[t,r]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[i,[o,ie],[t,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[i,[o,J],[t,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[i,[o,J],[t,r]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[i,[o,ze],[t,s]],[/(nokia) (t[12][01])/i],[o,i,[t,s]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[i,/_/g," "],[t,r],[o,"Nokia"]],[/(pixel (c|tablet))\b/i],[i,[o,Z],[t,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[i,[o,Z],[t,r]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[i,[o,U],[t,r]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[i,"Xperia Tablet"],[o,U],[t,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[i,[o,fe],[t,r]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[i,[o,G],[t,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[i,/(.+)/g,"Fire Phone $1"],[o,G],[t,r]],[/(playbook);[-\w\),; ]+(rim)/i],[i,o,[t,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[i,[o,be],[t,r]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[i,[o,me],[t,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[i,[o,me],[t,r]],[/(nexus 9)/i],[i,[o,"HTC"],[t,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[i,/_/g," "],[t,r]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[i,[o,"TCL"],[t,s]],[/(itel) ((\w+))/i],[[o,q],i,[t,F,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[i,[o,"Acer"],[t,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[i,[o,"Meizu"],[t,r]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[i,[o,"Ulefone"],[t,r]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[i,[o,"Energizer"],[t,r]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[i,[o,"Cat"],[t,r]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[i,[o,"Smartfren"],[t,r]],[/droid.+; (a(?:015|06[35]|142p?))/i],[i,[o,"Nothing"],[t,r]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[i,[o,"Archos"],[t,s]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[i,[o,"Archos"],[t,r]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[o,i,[t,s]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[o,i,[t,r]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,i,[t,s]],[/(surface duo)/i],[i,[o,oe],[t,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[i,[o,"Fairphone"],[t,r]],[/(u304aa)/i],[i,[o,"AT&T"],[t,r]],[/\bsie-(\w*)/i],[i,[o,"Siemens"],[t,r]],[/\b(rct\w+) b/i],[i,[o,"RCA"],[t,s]],[/\b(venue[\d ]{2,7}) b/i],[i,[o,"Dell"],[t,s]],[/\b(q(?:mv|ta)\w+) b/i],[i,[o,"Verizon"],[t,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[i,[o,"Barnes & Noble"],[t,s]],[/\b(tm\d{3}\w+) b/i],[i,[o,"NuVision"],[t,s]],[/\b(k88) b/i],[i,[o,"ZTE"],[t,s]],[/\b(nx\d{3}j) b/i],[i,[o,"ZTE"],[t,r]],[/\b(gen\d{3}) b.+49h/i],[i,[o,"Swiss"],[t,r]],[/\b(zur\d{3}) b/i],[i,[o,"Swiss"],[t,s]],[/\b((zeki)?tb.*\b) b/i],[i,[o,"Zeki"],[t,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],i,[t,s]],[/\b(ns-?\w{0,9}) b/i],[i,[o,"Insignia"],[t,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[i,[o,"NextBook"],[t,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],i,[t,r]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],i,[t,r]],[/\b(ph-1) /i],[i,[o,"Essential"],[t,r]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[i,[o,"Envizen"],[t,s]],[/\b(trio[-\w\. ]+) b/i],[i,[o,"MachSpeed"],[t,s]],[/\btu_(1491) b/i],[i,[o,"Rotor"],[t,s]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[i,[o,ne],[t,s]],[/(sprint) (\w+)/i],[o,i,[t,r]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[o,oe],[t,r]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[i,[o,re],[t,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[i,[o,re],[t,r]],[/smart-tv.+(samsung)/i],[o,[t,S]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[o,$],[t,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,J],[t,S]],[/(apple) ?tv/i],[o,[i,I+" TV"],[t,S]],[/crkey/i],[[i,K+"cast"],[o,Z],[t,S]],[/droid.+aft(\w+)( bui|\))/i],[i,[o,G],[t,S]],[/(shield \w+ tv)/i],[i,[o,ne],[t,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[i,[o,ve],[t,S]],[/(bravia[\w ]+)( bui|\))/i],[i,[o,U],[t,S]],[/(mi(tv|box)-?\w+) bui/i],[i,[o,le],[t,S]],[/Hbbtv.*(technisat) (.*);/i],[o,i,[t,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,se],[i,se],[t,S]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[i,[t,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,i,[t,f]],[/droid.+; (shield)( bui|\))/i],[i,[o,ne],[t,f]],[/(playstation \w+)/i],[i,[o,U],[t,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[i,[o,oe],[t,f]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[i,[o,$],[t,B]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[o,i,[t,B]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[i,[o,ae],[t,B]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[i,[o,I],[t,B]],[/(opwwe\d{3})/i],[i,[o,fe],[t,B]],[/(moto 360)/i],[i,[o,ie],[t,B]],[/(smartwatch 3)/i],[i,[o,U],[t,B]],[/(g watch r)/i],[i,[o,J],[t,B]],[/droid.+; (wt63?0{2,3})\)/i],[i,[o,re],[t,B]],[/droid.+; (glass) \d/i],[i,[o,Z],[t,B]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,i,[t,B]],[/; (quest( \d| pro)?)/i],[i,[o,ge],[t,B]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[t,M]],[/(aeobc)\b/i],[i,[o,G],[t,M]],[/(homepod).+mac os/i],[i,[o,I],[t,M]],[/windows iot/i],[[t,M]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[i,[t,r]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[i,[t,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,r]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[i,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,Me+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[a,n],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a,n],[/ladybird\//i],[[a,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a,[n,F,xe]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,F,xe],[a,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,ye],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(ubuntu) ([\w\.]+) like android/i],[[a,/(.+)/,"$1 Touch"],n],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[a,n],[/\(bb(10);/i],[n,[a,be]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[a,K+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,he],n],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},C=function(w,g){if(typeof w===E&&(g=w,w=d),!(this instanceof C))return new C(w,g).getResult();var u=typeof m!==y&&m.navigator?m.navigator:d,k=w||(u&&u.userAgent?u.userAgent:v),z=u&&u.userAgentData?u.userAgentData:d,A=g?Pe(Se,g):Se,h=u&&u.userAgent==k;return this.getBrowser=function(){var c={};return c[a]=d,c[n]=d,j.call(c,k,A.browser),c[T]=De(c[n]),h&&u&&u.brave&&typeof u.brave.isBrave==b&&(c[a]="Brave"),c},this.getCPU=function(){var c={};return c[p]=d,j.call(c,k,A.cpu),c},this.getDevice=function(){var c={};return c[o]=d,c[i]=d,c[t]=d,j.call(c,k,A.device),h&&!c[t]&&z&&z.mobile&&(c[t]=r),h&&c[i]=="Macintosh"&&u&&typeof u.standalone!==y&&u.maxTouchPoints&&u.maxTouchPoints>2&&(c[i]="iPad",c[t]=s),c},this.getEngine=function(){var c={};return c[a]=d,c[n]=d,j.call(c,k,A.engine),c},this.getOS=function(){var c={};return c[a]=d,c[n]=d,j.call(c,k,A.os),h&&!c[a]&&z&&z.platform&&z.platform!="Unknown"&&(c[a]=z.platform.replace(/chrome os/i,he).replace(/macos/i,ye)),c},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return k},this.setUA=function(c){return k=typeof c===_&&c.length>D?se(c,D):c,this},this.setUA(k),this};C.VERSION=x,C.BROWSER=Q([a,n,T]),C.CPU=Q([p]),C.DEVICE=Q([i,o,t,f,r,S,s,B,M]),C.ENGINE=C.OS=Q([a,n]),l.exports&&(N=l.exports=C),N.UAParser=C;var L=typeof m!==y&&(m.jQuery||m.Zepto);if(L&&!L.ua){var ee=new C;L.ua=ee.getResult(),L.ua.get=function(){return ee.getUA()},L.ua.set=function(w){ee.setUA(w);var g=ee.getResult();for(var u in g)L.ua[u]=g[u]}}})(typeof window=="object"?window:Le)})(ce,ce.exports);var $e=ce.exports;const Ue=Re($e);function Te(){if(window.webkit!=null&&window.webkit.messageHandlers!=="undefined")try{var l=Ue(navigator.userAgent);if(l.browser.name==="WebKit")return"ios_webview"}catch(N){console.error(N)}return typeof Android<"u"?"android_webview":typeof window.cefQuery<"u"?"cef_webview":"browser"}function _e(){return Te()==="ios_webview"}function Ce(){return Te()==="android_webview"}function P(){try{return window.self!==window.top}catch{return!0}}const qe=3e3;let je=0,te=null;function Fe(){return`req_${++je}_${Date.now()}`}function Xe(){return"APP_"+Math.random().toString(36).slice(2,10)}function He(l){te=l}function ue(){return te||(te=Xe()),te}function X(l){P()&&window.parent.postMessage({...l,sender:ue(),target:l.target||"DASHBOARD"},"*")}function Ae(l,N){return P()?new Promise(m=>{const d=Fe(),x=setTimeout(()=>{window.removeEventListener("message",v),m(null)},qe);function v(V){const b=V.data;(b==null?void 0:b.type)==="DATA_RESPONSE"&&(b==null?void 0:b.requestId)===d&&(!b.target||b.target===ue())&&(clearTimeout(x),window.removeEventListener("message",v),m(b.data??null))}window.addEventListener("message",v),X({type:"DATA_REQUEST",requestId:d,source:l,key:N})}):Promise.resolve(null)}function Ge(l){return Ae("localStorage",l)}function We(l){return Ae("window",l)}const H=(l,N)=>{const m=l.__vccOpts||l;for(const[d,x]of N)m[d]=x;return m},Ke={class:"sky-header-container"},Ye={class:"topmenubox"},Ze={class:"header-left"},Je=["title"],Qe={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},et={class:"notPadding",style:{"margin-bottom":"4px"}},tt={class:"topmenu-title"},ot={key:0,class:"title-dropdown"},it={class:"title-dropdown-header"},nt=["onClick"],at={class:"pageName"},lt={class:"pageVisit"},rt={key:0,class:"topmenu-description"},st={class:"topmenubox-button"},dt={__name:"Header",props:{title:{type:String,default:""},subtitle:{type:String,default:""},showBackButton:{type:Boolean,default:!0},backButtonTitle:{type:String,default:"Назад"},backEvent:{type:Function,default:null},dropdownItems:{type:Array,default:()=>[]},dropdownTitle:{type:String,default:"Останні відвідані розділи"},visitLabel:{type:String,default:"Останнє відвідування"},trackPageName:{type:String,default:""},trackPagePath:{type:String,default:""},appId:{type:String,default:""}},emits:["back","navigate"],setup(l,{emit:N}){const m=l;He(m.appId||ue());const d=N,x=e.ref(null),v=e.ref(!1),V=e.ref([]),b=e.ref({});P()&&m.trackPageName&&X({type:"trackVisit",name:m.trackPageName,path:m.trackPagePath||`/${m.trackPageName}`}),P()&&X({type:"setRocketMode",value:!0}),P()&&We("lang").then(f=>{f!=null&&(b.value=f)});function y(f){try{if(!f)return;const r=typeof f=="string"?JSON.parse(f):f;r!=null&&r.pages&&(V.value=Object.values(r.pages))}catch{}}y(localStorage.componentStats),P()&&Ge("componentStats").then(f=>{f!=null&&(localStorage.setItem("componentStats",JSON.stringify(f)),y(f))});const E=e.computed(()=>[...m.dropdownItems.length?m.dropdownItems:V.value].sort((r,s)=>s.lastVisit-r.lastVisit)),_=()=>{E.value.length&&(v.value=!v.value)},T=()=>{v.value=!1},i=f=>{d("navigate",f.path),P()&&X({type:"navigate",path:f.path}),T()},a=f=>{if(!f)return"";const r=b.value[f]||f;return r.charAt(0).toUpperCase()+r.slice(1)},t=f=>{const s=Date.now()-f,S=Math.floor(s/1e3),B=Math.floor(S/60),M=Math.floor(B/60),D=Math.floor(M/24);return D>0?`${D}д тому`:M>0?`${M}год тому`:B>0?`${B}хв тому`:`${S}с тому`},o=f=>{x.value&&!x.value.contains(f.target)&&T()};e.onMounted(()=>{document.addEventListener("click",o,!0)}),e.onUnmounted(()=>{document.removeEventListener("click",o,!0)});const n=e.computed(()=>m.backEvent||m.showBackButton&&P()),p=()=>{if(m.backEvent)return m.backEvent();X({type:"exit"})};return(f,r)=>(e.openBlock(),e.createElementBlock("header",Ke,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Ze,[n.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-back",onClick:p,title:l.backButtonTitle},[(e.openBlock(),e.createElementBlock("svg",Qe,[...r[0]||(r[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,Je)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"dropdownRef",ref:x,class:"titleAndDesc"},[e.createElementVNode("button",{class:e.normalizeClass(["title-dropdown-toggle",{"title-dropdown-toggle-active":E.value.length}]),onClick:_},[e.renderSlot(f.$slots,"title",{},()=>[e.createElementVNode("h4",et,[e.createElementVNode("span",tt,e.toDisplayString(l.title),1),E.value.length?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["arrow",{open:v.value}]),width:"12",height:"12",viewBox:"0 0 451.847 451.847",style:{"flex-shrink":"0"}},[...r[1]||(r[1]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])],2)):e.createCommentVNode("",!0)])],!0)],2),v.value&&E.value.length?(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",it,e.toDisplayString(l.dropdownTitle),1),r[2]||(r[2]=e.createElementVNode("div",{class:"title-dropdown-divider"},null,-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(s,S)=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"title-dropdown-item",onClick:B=>i(s)},[e.createElementVNode("p",at,e.toDisplayString(a(s.name)),1),e.createElementVNode("small",lt," ("+e.toDisplayString(l.visitLabel)+" "+e.toDisplayString(t(s.lastVisit))+") ",1)],8,nt))),128))])):e.createCommentVNode("",!0),e.renderSlot(f.$slots,"subtitle",{},()=>[l.subtitle?(e.openBlock(),e.createElementBlock("p",rt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],!0)],512)]),e.createElementVNode("div",st,[r[3]||(r[3]=e.createElementVNode("div",null,null,-1)),e.renderSlot(f.$slots,"default",{},void 0,!0),r[4]||(r[4]=e.createElementVNode("div",null,null,-1))])])]))}},ct=H(dt,[["__scopeId","data-v-c23c8333"]]);const ut={key:0,class:"sky-dialog-subtitle"},mt=["title"],bt={key:0,class:"sky-dialog-swipe-area"},wt={__name:"DialogModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Закрити"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=e.useSlots(),d=l,x=N,v=e.ref(null),V=e.ref(null),b=e.ref(0),y=e.computed(()=>{try{return _e()}catch{return!1}}),E=e.computed(()=>{try{return Ce()}catch{return!1}}),_=e.computed(()=>d.hasButtons!==null?d.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},i=n=>{n.key==="Escape"&&d.closeOnEsc&&d.modelValue&&T(),n.key==="Enter"&&d.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(b.value=n.touches[0].clientX)},t=n=>{b.value>0&&b.value<35&&n.changedTouches[0].clientX-b.value>50&&T(),b.value=0},o=()=>{if(!(!E.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const p=n/window.devicePixelRatio;v.value.style.paddingTop=p+"px"}}}catch{}};return e.watch(()=>d.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{o()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",i),window.addEventListener("resize",o)}),e.onUnmounted(()=>{document.removeEventListener("keydown",i),window.removeEventListener("resize",o),document.body.style.overflow=""}),(n,p)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-classic",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",ut,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("button",{class:"sky-dialog-close",title:l.closeText,onClick:T},[...p[0]||(p[0]=[e.createElementVNode("svg",{viewBox:"0 0 16 16",width:"16",height:"16"},[e.createElementVNode("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:"currentColor","stroke-width":"2"}),e.createElementVNode("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor","stroke-width":"2"})],-1)])],8,mt),p[3]||(p[3]=e.createElementVNode("div",{class:"sky-dialog-clearfix"},null,-1)),e.createElementVNode("div",{ref_key:"dialogPaper",ref:V,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!_.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",bt)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[p[1]||(p[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(n.$slots,"buttons",{},void 0,!0),p[2]||(p[2]=e.createElementVNode("div",null,null,-1))],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},Be=H(wt,[["__scopeId","data-v-0cb65d7d"]]);const pt={class:"sky-dialog-header"},ft=["title"],vt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},gt={key:0,class:"sky-dialog-subtitle"},ht={key:0,class:"sky-dialog-swipe-area"},yt={__name:"DialogNext",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:"Назад"},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},hasButtons:{type:Boolean,default:null}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=e.useSlots(),d=l,x=N,v=e.ref(null),V=e.ref(null),b=e.ref(0),y=e.computed(()=>{try{return _e()}catch{return!1}}),E=e.computed(()=>{try{return Ce()}catch{return!1}}),_=e.computed(()=>d.hasButtons!==null?d.hasButtons:!!m.buttons),T=()=>{x("update:modelValue",!1),x("close")},i=n=>{n.key==="Escape"&&d.closeOnEsc&&d.modelValue&&T(),n.key==="Enter"&&d.modelValue&&x("save")},a=n=>{n.touches[0].clientX<35&&(b.value=n.touches[0].clientX)},t=n=>{b.value>0&&b.value<35&&n.changedTouches[0].clientX-b.value>50&&T(),b.value=0},o=()=>{if(!(!E.value||!v.value))try{if(typeof Android<"u"&&Android.getDisplayCutoutTop){const n=Android.getDisplayCutoutTop();if(n&&window.devicePixelRatio>1){const p=n/window.devicePixelRatio;v.value.style.paddingTop=p+"px"}}}catch{}};return e.watch(()=>d.modelValue,n=>{n?(document.body.style.overflow="hidden",e.nextTick(()=>{o()})):document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",i),window.addEventListener("resize",o)}),e.onUnmounted(()=>{document.removeEventListener("keydown",i),window.removeEventListener("resize",o),document.body.style.overflow=""}),(n,p)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:l.enableAnimation?"dialog-slide":""},{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-dialogbox sky-dialogbox-next",style:e.normalizeStyle([l.zIndex?{"z-index":l.zIndex}:null])},[e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-overlay",{"sky-dialog-animate":l.enableAnimation}])},[e.createElementVNode("div",{ref_key:"dialogContent",ref:v,class:"sky-dialog-content"},[e.createElementVNode("div",pt,[e.createElementVNode("button",{class:"sky-dialog-back",title:l.closeText,onClick:T},[(e.openBlock(),e.createElementBlock("svg",vt,[...p[0]||(p[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,ft),e.createElementVNode("div",{class:e.normalizeClass(["sky-dialog-title",{"sky-dialog-title-with-subtitle":l.subtitle}])},[e.createTextVNode(e.toDisplayString(l.title)+" ",1),l.subtitle?(e.openBlock(),e.createElementBlock("span",gt,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",{ref_key:"dialogPaper",ref:V,class:e.normalizeClass(["sky-dialog-paper",{"sky-dialog-paper-no-footer":!_.value}]),onTouchstart:a,onTouchend:t},[y.value?(e.openBlock(),e.createElementBlock("div",ht)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],34),_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sky-dialog-footer",{"sky-dialog-footer-animate":l.enableAnimation}])},[p[1]||(p[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(n.$slots,"buttons",{},void 0,!0),p[2]||(p[2]=e.createElementVNode("div",null,null,-1))],2)):e.createCommentVNode("",!0)],512)],2)],4)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},Ve=H(yt,[["__scopeId","data-v-35e2143b"]]),kt={__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},zIndex:{type:[Number,String],default:null},closeText:{type:String,default:""},enableAnimation:{type:Boolean,default:!1},closeOnEsc:{type:Boolean,default:!0},mode:{type:String,default:null,validator:l=>[null,"next","classic"].includes(l)}},emits:["update:modelValue","close","save"],setup(l,{emit:N}){const m=l,d=N,x=e.computed({get:()=>m.modelValue,set:b=>d("update:modelValue",b)}),v=e.ref(!0);e.onMounted(()=>{try{new URLSearchParams(window.location.search).get("rocketMode")==="false"?v.value=!1:v.value=!0}catch{v.value=!0}});const V=e.computed(()=>m.mode==="next"?Ve:m.mode==="classic"?Be:v.value?Ve:Be);return(b,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.value),{modelValue:x.value,"onUpdate:modelValue":y[0]||(y[0]=E=>x.value=E),title:l.title,subtitle:l.subtitle,"z-index":l.zIndex,"close-text":l.closeText,"enable-animation":l.enableAnimation,"close-on-esc":l.closeOnEsc,"has-buttons":!!b.$slots.buttons,onClose:y[1]||(y[1]=E=>b.$emit("close")),onSave:y[2]||(y[2]=E=>b.$emit("save"))},e.createSlots({default:e.withCtx(()=>[e.renderSlot(b.$slots,"default")]),_:2},[b.$slots.buttons?{name:"buttons",fn:e.withCtx(()=>[e.renderSlot(b.$slots,"buttons")]),key:"0"}:void 0]),1064,["modelValue","title","subtitle","z-index","close-text","enable-animation","close-on-esc","has-buttons"]))}},Et={props:{to:{type:String,default:"body"}}};function xt(l,N,m,d,x,v){return e.openBlock(),e.createBlock(e.Teleport,{to:m.to},[e.renderSlot(l.$slots,"default")],8,["to"])}const Oe=H(Et,[["render",xt]]);const St={class:"sky-modal-header"},Nt=["title"],Bt={width:"15",height:"15",viewBox:"0 0 451.847 451.847",style:{transform:"rotate(90deg)"}},Vt={class:"sky-modal-title-wrapper"},Tt={class:"sky-modal-title"},_t={key:0,class:"sky-modal-subtitle"},Ct={class:"sky-modal-body"},At={key:0,class:"sky-modal-footer"},Ot={__name:"Modal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},subtitle:{type:String,default:""},closeTitle:{type:String,default:"Закрити"},closeOnOverlay:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},width:{type:String,default:"100%"},height:{type:String,default:"100%"}},emits:["update:modelValue","close"],setup(l,{emit:N}){const m=l,d=N,x=e.computed(()=>({width:m.width,height:m.height})),v=()=>{d("update:modelValue",!1),d("close")},V=()=>{m.closeOnOverlay&&v()},b=y=>{y.key==="Escape"&&m.closeOnEsc&&m.modelValue&&v()};return e.watch(()=>m.modelValue,y=>{y?document.body.style.overflow="hidden":document.body.style.overflow=""}),e.onMounted(()=>{document.addEventListener("keydown",b)}),e.onUnmounted(()=>{document.removeEventListener("keydown",b),document.body.style.overflow=""}),(y,E)=>(e.openBlock(),e.createBlock(Oe,{to:"body"},{default:e.withCtx(()=>[e.createVNode(e.Transition,null,{default:e.withCtx(()=>[l.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"sky-modal-overlay",onClick:e.withModifiers(V,["self"])},[e.createElementVNode("div",{class:"sky-modal",style:e.normalizeStyle(x.value)},[e.createElementVNode("div",St,[e.createElementVNode("button",{class:"sky-modal-back",onClick:v,title:l.closeTitle},[(e.openBlock(),e.createElementBlock("svg",Bt,[...E[0]||(E[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"},null,-1)])]))],8,Nt),e.createElementVNode("div",Vt,[e.createElementVNode("h4",Tt,e.toDisplayString(l.title),1),l.subtitle?(e.openBlock(),e.createElementBlock("div",_t,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ct,[e.renderSlot(y.$slots,"default",{},void 0,!0)]),y.$slots.footer?(e.openBlock(),e.createElementBlock("div",At,[E[1]||(E[1]=e.createElementVNode("div",null,null,-1)),e.renderSlot(y.$slots,"footer",{},void 0,!0),E[2]||(E[2]=e.createElementVNode("div",null,null,-1))])):e.createCommentVNode("",!0)],4)])):e.createCommentVNode("",!0)]),_:3})]),_:3}))}},Mt=H(Ot,[["__scopeId","data-v-b612fee8"]]);exports.BaseTeleport=Oe;exports.Dialog=kt;exports.Header=ct;exports.Modal=Mt;
@@ -1,46 +1,46 @@
1
- import { ref as z, computed as R, onMounted as te, onUnmounted as we, openBlock as x, createElementBlock as T, createElementVNode as c, createCommentVNode as C, normalizeClass as $, renderSlot as M, toDisplayString as I, Fragment as ot, renderList as nt, useSlots as Xe, watch as Se, nextTick as He, createBlock as ie, Teleport as Ee, createVNode as _e, Transition as Te, withCtx as G, normalizeStyle as Ae, createTextVNode as Ge, resolveDynamicComponent as at, createSlots as st, withModifiers as lt } from "vue";
1
+ import { ref as z, computed as L, onMounted as te, onUnmounted as we, openBlock as x, createElementBlock as E, createElementVNode as u, createCommentVNode as C, normalizeClass as $, renderSlot as I, toDisplayString as M, Fragment as ot, renderList as nt, useSlots as Xe, watch as Se, nextTick as He, createBlock as ie, Teleport as _e, createVNode as Ee, Transition as Te, withCtx as G, normalizeStyle as Ae, createTextVNode as Ge, resolveDynamicComponent as at, createSlots as st, withModifiers as lt } from "vue";
2
2
  var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function dt(a) {
4
4
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
5
5
  }
6
6
  var xe = { exports: {} };
7
- (function(a, _) {
8
- (function(w, r) {
9
- var E = "1.0.41", v = "", B = "?", d = "function", y = "undefined", S = "object", N = "string", P = "major", i = "model", n = "name", e = "type", t = "vendor", o = "version", f = "architecture", p = "console", s = "mobile", l = "tablet", A = "smarttv", O = "wearable", q = "embedded", F = 500, ne = "Amazon", X = "Apple", Be = "ASUS", Ce = "BlackBerry", ae = "Browser", se = "Chrome", Je = "Edge", le = "Firefox", re = "Google", Pe = "Honor", Ne = "Huawei", Qe = "Lenovo", de = "LG", me = "Microsoft", fe = "Motorola", pe = "Nvidia", Ie = "OnePlus", W = "Opera", ve = "OPPO", K = "Samsung", Me = "Sharp", Y = "Sony", ge = "Xiaomi", he = "Zebra", Ve = "Facebook", ze = "Chromium OS", Re = "Mac OS", Le = " Browser", et = function(m, g) {
10
- var b = {};
7
+ (function(a, A) {
8
+ (function(b, r) {
9
+ var _ = "1.0.41", v = "", B = "?", w = "function", y = "undefined", S = "object", P = "string", N = "major", i = "model", n = "name", e = "type", t = "vendor", o = "version", f = "architecture", p = "console", s = "mobile", l = "tablet", T = "smarttv", O = "wearable", q = "embedded", F = 500, ne = "Amazon", X = "Apple", Be = "ASUS", Ce = "BlackBerry", ae = "Browser", se = "Chrome", Je = "Edge", le = "Firefox", re = "Google", Ne = "Honor", Pe = "Huawei", Qe = "Lenovo", de = "LG", me = "Microsoft", fe = "Motorola", pe = "Nvidia", Me = "OnePlus", W = "Opera", ve = "OPPO", K = "Samsung", Ie = "Sharp", Y = "Sony", ge = "Xiaomi", he = "Zebra", Ve = "Facebook", ze = "Chromium OS", Le = "Mac OS", Re = " Browser", et = function(m, g) {
10
+ var c = {};
11
11
  for (var k in m)
12
- g[k] && g[k].length % 2 === 0 ? b[k] = g[k].concat(m[k]) : b[k] = m[k];
13
- return b;
12
+ g[k] && g[k].length % 2 === 0 ? c[k] = g[k].concat(m[k]) : c[k] = m[k];
13
+ return c;
14
14
  }, ue = function(m) {
15
- for (var g = {}, b = 0; b < m.length; b++)
16
- g[m[b].toUpperCase()] = m[b];
15
+ for (var g = {}, c = 0; c < m.length; c++)
16
+ g[m[c].toUpperCase()] = m[c];
17
17
  return g;
18
18
  }, De = function(m, g) {
19
- return typeof m === N ? Z(g).indexOf(Z(m)) !== -1 : !1;
19
+ return typeof m === P ? Z(g).indexOf(Z(m)) !== -1 : !1;
20
20
  }, Z = function(m) {
21
21
  return m.toLowerCase();
22
22
  }, tt = function(m) {
23
- return typeof m === N ? m.replace(/[^\d\.]/g, v).split(".")[0] : r;
23
+ return typeof m === P ? m.replace(/[^\d\.]/g, v).split(".")[0] : r;
24
24
  }, ye = function(m, g) {
25
- if (typeof m === N)
25
+ if (typeof m === P)
26
26
  return m = m.replace(/^\s\s*/, v), typeof g === y ? m : m.substring(0, F);
27
27
  }, J = function(m, g) {
28
- for (var b = 0, k, U, L, h, u, D; b < g.length && !u; ) {
29
- var ke = g[b], Ue = g[b + 1];
30
- for (k = U = 0; k < ke.length && !u && ke[k]; )
31
- if (u = ke[k++].exec(m), u)
32
- for (L = 0; L < Ue.length; L++)
33
- D = u[++U], h = Ue[L], typeof h === S && h.length > 0 ? h.length === 2 ? typeof h[1] == d ? this[h[0]] = h[1].call(this, D) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === d && !(h[1].exec && h[1].test) ? this[h[0]] = D ? h[1].call(this, D, h[2]) : r : this[h[0]] = D ? D.replace(h[1], h[2]) : r : h.length === 4 && (this[h[0]] = D ? h[3].call(this, D.replace(h[1], h[2])) : r) : this[h] = D || r;
34
- b += 2;
28
+ for (var c = 0, k, U, R, h, d, D; c < g.length && !d; ) {
29
+ var ke = g[c], Ue = g[c + 1];
30
+ for (k = U = 0; k < ke.length && !d && ke[k]; )
31
+ if (d = ke[k++].exec(m), d)
32
+ for (R = 0; R < Ue.length; R++)
33
+ D = d[++U], h = Ue[R], typeof h === S && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, D) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = D ? h[1].call(this, D, h[2]) : r : this[h[0]] = D ? D.replace(h[1], h[2]) : r : h.length === 4 && (this[h[0]] = D ? h[3].call(this, D.replace(h[1], h[2])) : r) : this[h] = D || r;
34
+ c += 2;
35
35
  }
36
36
  }, Q = function(m, g) {
37
- for (var b in g)
38
- if (typeof g[b] === S && g[b].length > 0) {
39
- for (var k = 0; k < g[b].length; k++)
40
- if (De(g[b][k], m))
41
- return b === B ? r : b;
42
- } else if (De(g[b], m))
43
- return b === B ? r : b;
37
+ for (var c in g)
38
+ if (typeof g[c] === S && g[c].length > 0) {
39
+ for (var k = 0; k < g[c].length; k++)
40
+ if (De(g[c][k], m))
41
+ return c === B ? r : c;
42
+ } else if (De(g[c], m))
43
+ return c === B ? r : c;
44
44
  return g.hasOwnProperty("*") ? g["*"] : m;
45
45
  }, it = {
46
46
  "1.0": "/8",
@@ -207,7 +207,7 @@ var xe = { exports: {} };
207
207
  /miuibrowser\/([\w\.]+)/i
208
208
  // MIUI Browser
209
209
  ],
210
- [o, [n, "MIUI" + Le]],
210
+ [o, [n, "MIUI" + Re]],
211
211
  [
212
212
  /fxios\/([\w\.-]+)/i
213
213
  // Firefox for iOS
@@ -226,7 +226,7 @@ var xe = { exports: {} };
226
226
  [
227
227
  /(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
228
228
  ],
229
- [[n, /(.+)/, "$1" + Le], o],
229
+ [[n, /(.+)/, "$1" + Re], o],
230
230
  [
231
231
  // Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
232
232
  /samsungbrowser\/([\w\.]+)/i
@@ -464,26 +464,26 @@ var xe = { exports: {} };
464
464
  // Sharp
465
465
  /\b(sh-?[altvz]?\d\d[a-ekm]?)/i
466
466
  ],
467
- [i, [t, Me], [e, s]],
467
+ [i, [t, Ie], [e, s]],
468
468
  [
469
469
  // Honor
470
470
  /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
471
471
  ],
472
- [i, [t, Pe], [e, l]],
472
+ [i, [t, Ne], [e, l]],
473
473
  [
474
474
  /honor([-\w ]+)[;\)]/i
475
475
  ],
476
- [i, [t, Pe], [e, s]],
476
+ [i, [t, Ne], [e, s]],
477
477
  [
478
478
  // Huawei
479
479
  /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
480
480
  ],
481
- [i, [t, Ne], [e, l]],
481
+ [i, [t, Pe], [e, l]],
482
482
  [
483
483
  /(?:huawei)([-\w ]+)[;\)]/i,
484
484
  /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
485
485
  ],
486
- [i, [t, Ne], [e, s]],
486
+ [i, [t, Pe], [e, s]],
487
487
  [
488
488
  // Xiaomi
489
489
  /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
@@ -592,7 +592,7 @@ var xe = { exports: {} };
592
592
  / (kb2005|in20[12]5|be20[12][59])\b/i,
593
593
  /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
594
594
  ],
595
- [i, [t, Ie], [e, s]],
595
+ [i, [t, Me], [e, s]],
596
596
  [
597
597
  // Amazon
598
598
  /(alexa)webm/i,
@@ -892,73 +892,73 @@ var xe = { exports: {} };
892
892
  /smart-tv.+(samsung)/i
893
893
  // Samsung
894
894
  ],
895
- [t, [e, A]],
895
+ [t, [e, T]],
896
896
  [
897
897
  /hbbtv.+maple;(\d+)/i
898
898
  ],
899
- [[i, /^/, "SmartTV"], [t, K], [e, A]],
899
+ [[i, /^/, "SmartTV"], [t, K], [e, T]],
900
900
  [
901
901
  /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
902
902
  // LG SmartTV
903
903
  ],
904
- [[t, de], [e, A]],
904
+ [[t, de], [e, T]],
905
905
  [
906
906
  /(apple) ?tv/i
907
907
  // Apple TV
908
908
  ],
909
- [t, [i, X + " TV"], [e, A]],
909
+ [t, [i, X + " TV"], [e, T]],
910
910
  [
911
911
  /crkey/i
912
912
  // Google Chromecast
913
913
  ],
914
- [[i, se + "cast"], [t, re], [e, A]],
914
+ [[i, se + "cast"], [t, re], [e, T]],
915
915
  [
916
916
  /droid.+aft(\w+)( bui|\))/i
917
917
  // Fire TV
918
918
  ],
919
- [i, [t, ne], [e, A]],
919
+ [i, [t, ne], [e, T]],
920
920
  [
921
921
  /(shield \w+ tv)/i
922
922
  // Nvidia Shield TV
923
923
  ],
924
- [i, [t, pe], [e, A]],
924
+ [i, [t, pe], [e, T]],
925
925
  [
926
926
  /\(dtv[\);].+(aquos)/i,
927
927
  /(aquos-tv[\w ]+)\)/i
928
928
  // Sharp
929
929
  ],
930
- [i, [t, Me], [e, A]],
930
+ [i, [t, Ie], [e, T]],
931
931
  [
932
932
  /(bravia[\w ]+)( bui|\))/i
933
933
  // Sony
934
934
  ],
935
- [i, [t, Y], [e, A]],
935
+ [i, [t, Y], [e, T]],
936
936
  [
937
937
  /(mi(tv|box)-?\w+) bui/i
938
938
  // Xiaomi
939
939
  ],
940
- [i, [t, ge], [e, A]],
940
+ [i, [t, ge], [e, T]],
941
941
  [
942
942
  /Hbbtv.*(technisat) (.*);/i
943
943
  // TechniSAT
944
944
  ],
945
- [t, i, [e, A]],
945
+ [t, i, [e, T]],
946
946
  [
947
947
  /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
948
948
  // Roku
949
949
  /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
950
950
  // HbbTV devices
951
951
  ],
952
- [[t, ye], [i, ye], [e, A]],
952
+ [[t, ye], [i, ye], [e, T]],
953
953
  [
954
954
  // SmartTV from Unidentified Vendors
955
955
  /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
956
956
  ],
957
- [i, [e, A]],
957
+ [i, [e, T]],
958
958
  [
959
959
  /\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i
960
960
  ],
961
- [[e, A]],
961
+ [[e, T]],
962
962
  [
963
963
  ///////////////////
964
964
  // CONSOLES
@@ -1013,7 +1013,7 @@ var xe = { exports: {} };
1013
1013
  /(opwwe\d{3})/i
1014
1014
  // OnePlus Watch
1015
1015
  ],
1016
- [i, [t, Ie], [e, O]],
1016
+ [i, [t, Me], [e, O]],
1017
1017
  [
1018
1018
  /(moto 360)/i
1019
1019
  // Motorola 360
@@ -1175,7 +1175,7 @@ var xe = { exports: {} };
1175
1175
  /(macintosh|mac_powerpc\b)(?!.+haiku)/i
1176
1176
  // Mac OS
1177
1177
  ],
1178
- [[n, Re], [o, /_/g, "."]],
1178
+ [[n, Le], [o, /_/g, "."]],
1179
1179
  [
1180
1180
  // Mobile OSes
1181
1181
  /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i
@@ -1281,22 +1281,22 @@ var xe = { exports: {} };
1281
1281
  }, V = function(m, g) {
1282
1282
  if (typeof m === S && (g = m, m = r), !(this instanceof V))
1283
1283
  return new V(m, g).getResult();
1284
- var b = typeof w !== y && w.navigator ? w.navigator : r, k = m || (b && b.userAgent ? b.userAgent : v), U = b && b.userAgentData ? b.userAgentData : r, L = g ? et(qe, g) : qe, h = b && b.userAgent == k;
1284
+ var c = typeof b !== y && b.navigator ? b.navigator : r, k = m || (c && c.userAgent ? c.userAgent : v), U = c && c.userAgentData ? c.userAgentData : r, R = g ? et(qe, g) : qe, h = c && c.userAgent == k;
1285
1285
  return this.getBrowser = function() {
1286
- var u = {};
1287
- return u[n] = r, u[o] = r, J.call(u, k, L.browser), u[P] = tt(u[o]), h && b && b.brave && typeof b.brave.isBrave == d && (u[n] = "Brave"), u;
1286
+ var d = {};
1287
+ return d[n] = r, d[o] = r, J.call(d, k, R.browser), d[N] = tt(d[o]), h && c && c.brave && typeof c.brave.isBrave == w && (d[n] = "Brave"), d;
1288
1288
  }, this.getCPU = function() {
1289
- var u = {};
1290
- return u[f] = r, J.call(u, k, L.cpu), u;
1289
+ var d = {};
1290
+ return d[f] = r, J.call(d, k, R.cpu), d;
1291
1291
  }, this.getDevice = function() {
1292
- var u = {};
1293
- return u[t] = r, u[i] = r, u[e] = r, J.call(u, k, L.device), h && !u[e] && U && U.mobile && (u[e] = s), h && u[i] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (u[i] = "iPad", u[e] = l), u;
1292
+ var d = {};
1293
+ return d[t] = r, d[i] = r, d[e] = r, J.call(d, k, R.device), h && !d[e] && U && U.mobile && (d[e] = s), h && d[i] == "Macintosh" && c && typeof c.standalone !== y && c.maxTouchPoints && c.maxTouchPoints > 2 && (d[i] = "iPad", d[e] = l), d;
1294
1294
  }, this.getEngine = function() {
1295
- var u = {};
1296
- return u[n] = r, u[o] = r, J.call(u, k, L.engine), u;
1295
+ var d = {};
1296
+ return d[n] = r, d[o] = r, J.call(d, k, R.engine), d;
1297
1297
  }, this.getOS = function() {
1298
- var u = {};
1299
- return u[n] = r, u[o] = r, J.call(u, k, L.os), h && !u[n] && U && U.platform && U.platform != "Unknown" && (u[n] = U.platform.replace(/chrome os/i, ze).replace(/macos/i, Re)), u;
1298
+ var d = {};
1299
+ return d[n] = r, d[o] = r, J.call(d, k, R.os), h && !d[n] && U && U.platform && U.platform != "Unknown" && (d[n] = U.platform.replace(/chrome os/i, ze).replace(/macos/i, Le)), d;
1300
1300
  }, this.getResult = function() {
1301
1301
  return {
1302
1302
  ua: this.getUA(),
@@ -1308,12 +1308,12 @@ var xe = { exports: {} };
1308
1308
  };
1309
1309
  }, this.getUA = function() {
1310
1310
  return k;
1311
- }, this.setUA = function(u) {
1312
- return k = typeof u === N && u.length > F ? ye(u, F) : u, this;
1311
+ }, this.setUA = function(d) {
1312
+ return k = typeof d === P && d.length > F ? ye(d, F) : d, this;
1313
1313
  }, this.setUA(k), this;
1314
1314
  };
1315
- V.VERSION = E, V.BROWSER = ue([n, o, P]), V.CPU = ue([f]), V.DEVICE = ue([i, t, e, p, s, A, l, O, q]), V.ENGINE = V.OS = ue([n, o]), a.exports && (_ = a.exports = V), _.UAParser = V;
1316
- var H = typeof w !== y && (w.jQuery || w.Zepto);
1315
+ V.VERSION = _, V.BROWSER = ue([n, o, N]), V.CPU = ue([f]), V.DEVICE = ue([i, t, e, p, s, T, l, O, q]), V.ENGINE = V.OS = ue([n, o]), a.exports && (A = a.exports = V), A.UAParser = V;
1316
+ var H = typeof b !== y && (b.jQuery || b.Zepto);
1317
1317
  if (H && !H.ua) {
1318
1318
  var ce = new V();
1319
1319
  H.ua = ce.getResult(), H.ua.get = function() {
@@ -1321,8 +1321,8 @@ var xe = { exports: {} };
1321
1321
  }, H.ua.set = function(m) {
1322
1322
  ce.setUA(m);
1323
1323
  var g = ce.getResult();
1324
- for (var b in g)
1325
- H.ua[b] = g[b];
1324
+ for (var c in g)
1325
+ H.ua[c] = g[c];
1326
1326
  };
1327
1327
  }
1328
1328
  })(typeof window == "object" ? window : rt);
@@ -1335,8 +1335,8 @@ function We() {
1335
1335
  var a = ct(navigator.userAgent);
1336
1336
  if (a.browser.name === "WebKit")
1337
1337
  return "ios_webview";
1338
- } catch (_) {
1339
- console.error(_);
1338
+ } catch (A) {
1339
+ console.error(A);
1340
1340
  }
1341
1341
  return typeof Android < "u" ? "android_webview" : typeof window.cefQuery < "u" ? "cef_webview" : "browser";
1342
1342
  }
@@ -1368,31 +1368,26 @@ function Oe() {
1368
1368
  return be || (be = ft()), be;
1369
1369
  }
1370
1370
  function ee(a) {
1371
- if (!j()) {
1372
- console.log("[parentBridge] not in iframe, skip sendToParent");
1373
- return;
1374
- }
1375
- const _ = {
1371
+ j() && window.parent.postMessage({
1376
1372
  ...a,
1377
1373
  sender: Oe(),
1378
1374
  target: a.target || "DASHBOARD"
1379
- };
1380
- console.log("[parentBridge] sendToParent:", _), window.parent.postMessage(_, "*");
1375
+ }, "*");
1381
1376
  }
1382
- function Ze(a, _) {
1383
- return j() ? new Promise((w) => {
1384
- const r = mt(), E = setTimeout(() => {
1385
- window.removeEventListener("message", v), w(null);
1377
+ function Ze(a, A) {
1378
+ return j() ? new Promise((b) => {
1379
+ const r = mt(), _ = setTimeout(() => {
1380
+ window.removeEventListener("message", v), b(null);
1386
1381
  }, bt);
1387
1382
  function v(B) {
1388
- const d = B.data;
1389
- (d == null ? void 0 : d.type) === "DATA_RESPONSE" && console.log("[parentBridge] DATA_RESPONSE received:", { requestId: d.requestId, expectedId: r, target: d.target, sender: d.sender, hasData: d.data != null }), (d == null ? void 0 : d.type) === "DATA_RESPONSE" && (d == null ? void 0 : d.requestId) === r && (!d.target || d.target === Oe()) && (clearTimeout(E), window.removeEventListener("message", v), w(d.data ?? null));
1383
+ const w = B.data;
1384
+ (w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === r && (!w.target || w.target === Oe()) && (clearTimeout(_), window.removeEventListener("message", v), b(w.data ?? null));
1390
1385
  }
1391
1386
  window.addEventListener("message", v), ee({
1392
1387
  type: "DATA_REQUEST",
1393
1388
  requestId: r,
1394
1389
  source: a,
1395
- key: _
1390
+ key: A
1396
1391
  });
1397
1392
  }) : Promise.resolve(null);
1398
1393
  }
@@ -1402,26 +1397,26 @@ function vt(a) {
1402
1397
  function gt(a) {
1403
1398
  return Ze("window", a);
1404
1399
  }
1405
- const oe = (a, _) => {
1406
- const w = a.__vccOpts || a;
1407
- for (const [r, E] of _)
1408
- w[r] = E;
1409
- return w;
1400
+ const oe = (a, A) => {
1401
+ const b = a.__vccOpts || a;
1402
+ for (const [r, _] of A)
1403
+ b[r] = _;
1404
+ return b;
1410
1405
  }, ht = { class: "sky-header-container" }, yt = { class: "topmenubox" }, kt = { class: "header-left" }, xt = ["title"], St = {
1411
1406
  width: "15",
1412
1407
  height: "15",
1413
1408
  viewBox: "0 0 451.847 451.847",
1414
1409
  style: { transform: "rotate(90deg)" }
1415
- }, Et = {
1410
+ }, _t = {
1416
1411
  class: "notPadding",
1417
1412
  style: { "margin-bottom": "4px" }
1418
- }, _t = { class: "topmenu-title" }, Tt = {
1413
+ }, Et = { class: "topmenu-title" }, Tt = {
1419
1414
  key: 0,
1420
1415
  class: "title-dropdown"
1421
- }, At = { class: "title-dropdown-header" }, Ot = ["onClick"], Bt = { class: "pageName" }, Ct = { class: "pageVisit" }, Pt = {
1416
+ }, At = { class: "title-dropdown-header" }, Ot = ["onClick"], Bt = { class: "pageName" }, Ct = { class: "pageVisit" }, Nt = {
1422
1417
  key: 0,
1423
1418
  class: "topmenu-description"
1424
- }, Nt = { class: "topmenubox-button" }, It = {
1419
+ }, Pt = { class: "topmenubox-button" }, Mt = {
1425
1420
  __name: "Header",
1426
1421
  props: {
1427
1422
  title: {
@@ -1470,16 +1465,16 @@ const oe = (a, _) => {
1470
1465
  }
1471
1466
  },
1472
1467
  emits: ["back", "navigate"],
1473
- setup(a, { emit: _ }) {
1474
- const w = a;
1475
- pt(w.appId || Oe());
1476
- const r = _, E = z(null), v = z(!1), B = z([]), d = z({});
1477
- j() && w.trackPageName && ee({
1468
+ setup(a, { emit: A }) {
1469
+ const b = a;
1470
+ pt(b.appId || Oe());
1471
+ const r = A, _ = z(null), v = z(!1), B = z([]), w = z({});
1472
+ j() && b.trackPageName && ee({
1478
1473
  type: "trackVisit",
1479
- name: w.trackPageName,
1480
- path: w.trackPagePath || `/${w.trackPageName}`
1474
+ name: b.trackPageName,
1475
+ path: b.trackPagePath || `/${b.trackPageName}`
1481
1476
  }), j() && ee({ type: "setRocketMode", value: !0 }), j() && gt("lang").then((p) => {
1482
- p != null && (d.value = p);
1477
+ p != null && (w.value = p);
1483
1478
  });
1484
1479
  function y(p) {
1485
1480
  try {
@@ -1493,62 +1488,62 @@ const oe = (a, _) => {
1493
1488
  y(localStorage.componentStats), j() && vt("componentStats").then((p) => {
1494
1489
  p != null && (localStorage.setItem("componentStats", JSON.stringify(p)), y(p));
1495
1490
  });
1496
- const S = R(() => [...w.dropdownItems.length ? w.dropdownItems : B.value].sort((s, l) => l.lastVisit - s.lastVisit)), N = () => {
1491
+ const S = L(() => [...b.dropdownItems.length ? b.dropdownItems : B.value].sort((s, l) => l.lastVisit - s.lastVisit)), P = () => {
1497
1492
  S.value.length && (v.value = !v.value);
1498
- }, P = () => {
1493
+ }, N = () => {
1499
1494
  v.value = !1;
1500
1495
  }, i = (p) => {
1501
- r("navigate", p.path), j() && ee({ type: "navigate", path: p.path }), P();
1496
+ r("navigate", p.path), j() && ee({ type: "navigate", path: p.path }), N();
1502
1497
  }, n = (p) => {
1503
1498
  if (!p)
1504
1499
  return "";
1505
- const s = d.value[p] || p;
1500
+ const s = w.value[p] || p;
1506
1501
  return s.charAt(0).toUpperCase() + s.slice(1);
1507
1502
  }, e = (p) => {
1508
- const l = Date.now() - p, A = Math.floor(l / 1e3), O = Math.floor(A / 60), q = Math.floor(O / 60), F = Math.floor(q / 24);
1509
- return F > 0 ? `${F}д тому` : q > 0 ? `${q}год тому` : O > 0 ? `${O}хв тому` : `${A}с тому`;
1503
+ const l = Date.now() - p, T = Math.floor(l / 1e3), O = Math.floor(T / 60), q = Math.floor(O / 60), F = Math.floor(q / 24);
1504
+ return F > 0 ? `${F}д тому` : q > 0 ? `${q}год тому` : O > 0 ? `${O}хв тому` : `${T}с тому`;
1510
1505
  }, t = (p) => {
1511
- E.value && !E.value.contains(p.target) && P();
1506
+ _.value && !_.value.contains(p.target) && N();
1512
1507
  };
1513
1508
  te(() => {
1514
1509
  document.addEventListener("click", t, !0);
1515
1510
  }), we(() => {
1516
1511
  document.removeEventListener("click", t, !0);
1517
1512
  });
1518
- const o = R(() => w.backEvent || w.showBackButton && j()), f = () => {
1519
- if (w.backEvent)
1520
- return w.backEvent();
1513
+ const o = L(() => b.backEvent || b.showBackButton && j()), f = () => {
1514
+ if (b.backEvent)
1515
+ return b.backEvent();
1521
1516
  ee({ type: "exit" });
1522
1517
  };
1523
- return (p, s) => (x(), T("header", ht, [
1524
- c("div", yt, [
1525
- c("div", kt, [
1526
- o.value ? (x(), T("button", {
1518
+ return (p, s) => (x(), E("header", ht, [
1519
+ u("div", yt, [
1520
+ u("div", kt, [
1521
+ o.value ? (x(), E("button", {
1527
1522
  key: 0,
1528
1523
  class: "btn-back",
1529
1524
  onClick: f,
1530
1525
  title: a.backButtonTitle
1531
1526
  }, [
1532
- (x(), T("svg", St, [...s[0] || (s[0] = [
1533
- c("path", {
1527
+ (x(), E("svg", St, [...s[0] || (s[0] = [
1528
+ u("path", {
1534
1529
  fill: "currentColor",
1535
1530
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1536
1531
  }, null, -1)
1537
1532
  ])]))
1538
1533
  ], 8, xt)) : C("", !0),
1539
- c("div", {
1534
+ u("div", {
1540
1535
  ref_key: "dropdownRef",
1541
- ref: E,
1536
+ ref: _,
1542
1537
  class: "titleAndDesc"
1543
1538
  }, [
1544
- c("button", {
1539
+ u("button", {
1545
1540
  class: $(["title-dropdown-toggle", { "title-dropdown-toggle-active": S.value.length }]),
1546
- onClick: N
1541
+ onClick: P
1547
1542
  }, [
1548
- M(p.$slots, "title", {}, () => [
1549
- c("h4", Et, [
1550
- c("span", _t, I(a.title), 1),
1551
- S.value.length ? (x(), T("svg", {
1543
+ I(p.$slots, "title", {}, () => [
1544
+ u("h4", _t, [
1545
+ u("span", Et, M(a.title), 1),
1546
+ S.value.length ? (x(), E("svg", {
1552
1547
  key: 0,
1553
1548
  class: $(["arrow", { open: v.value }]),
1554
1549
  width: "12",
@@ -1556,7 +1551,7 @@ const oe = (a, _) => {
1556
1551
  viewBox: "0 0 451.847 451.847",
1557
1552
  style: { "flex-shrink": "0" }
1558
1553
  }, [...s[1] || (s[1] = [
1559
- c("path", {
1554
+ u("path", {
1560
1555
  fill: "currentColor",
1561
1556
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1562
1557
  }, null, -1)
@@ -1564,39 +1559,39 @@ const oe = (a, _) => {
1564
1559
  ])
1565
1560
  ], !0)
1566
1561
  ], 2),
1567
- v.value && S.value.length ? (x(), T("div", Tt, [
1568
- c("div", At, I(a.dropdownTitle), 1),
1569
- s[2] || (s[2] = c("div", { class: "title-dropdown-divider" }, null, -1)),
1570
- (x(!0), T(ot, null, nt(S.value, (l, A) => (x(), T("div", {
1571
- key: A,
1562
+ v.value && S.value.length ? (x(), E("div", Tt, [
1563
+ u("div", At, M(a.dropdownTitle), 1),
1564
+ s[2] || (s[2] = u("div", { class: "title-dropdown-divider" }, null, -1)),
1565
+ (x(!0), E(ot, null, nt(S.value, (l, T) => (x(), E("div", {
1566
+ key: T,
1572
1567
  class: "title-dropdown-item",
1573
1568
  onClick: (O) => i(l)
1574
1569
  }, [
1575
- c("p", Bt, I(n(l.name)), 1),
1576
- c("small", Ct, " (" + I(a.visitLabel) + " " + I(e(l.lastVisit)) + ") ", 1)
1570
+ u("p", Bt, M(n(l.name)), 1),
1571
+ u("small", Ct, " (" + M(a.visitLabel) + " " + M(e(l.lastVisit)) + ") ", 1)
1577
1572
  ], 8, Ot))), 128))
1578
1573
  ])) : C("", !0),
1579
- M(p.$slots, "subtitle", {}, () => [
1580
- a.subtitle ? (x(), T("p", Pt, I(a.subtitle), 1)) : C("", !0)
1574
+ I(p.$slots, "subtitle", {}, () => [
1575
+ a.subtitle ? (x(), E("p", Nt, M(a.subtitle), 1)) : C("", !0)
1581
1576
  ], !0)
1582
1577
  ], 512)
1583
1578
  ]),
1584
- c("div", Nt, [
1585
- s[3] || (s[3] = c("div", null, null, -1)),
1586
- M(p.$slots, "default", {}, void 0, !0),
1587
- s[4] || (s[4] = c("div", null, null, -1))
1579
+ u("div", Pt, [
1580
+ s[3] || (s[3] = u("div", null, null, -1)),
1581
+ I(p.$slots, "default", {}, void 0, !0),
1582
+ s[4] || (s[4] = u("div", null, null, -1))
1588
1583
  ])
1589
1584
  ])
1590
1585
  ]));
1591
1586
  }
1592
- }, oi = /* @__PURE__ */ oe(It, [["__scopeId", "data-v-c23c8333"]]);
1593
- const Mt = {
1587
+ }, oi = /* @__PURE__ */ oe(Mt, [["__scopeId", "data-v-c23c8333"]]);
1588
+ const It = {
1594
1589
  key: 0,
1595
1590
  class: "sky-dialog-subtitle"
1596
1591
  }, Vt = ["title"], zt = {
1597
1592
  key: 0,
1598
1593
  class: "sky-dialog-swipe-area"
1599
- }, Rt = {
1594
+ }, Lt = {
1600
1595
  __name: "DialogModal",
1601
1596
  props: {
1602
1597
  modelValue: {
@@ -1633,27 +1628,27 @@ const Mt = {
1633
1628
  }
1634
1629
  },
1635
1630
  emits: ["update:modelValue", "close", "save"],
1636
- setup(a, { emit: _ }) {
1637
- const w = Xe(), r = a, E = _, v = z(null), B = z(null), d = z(0), y = R(() => {
1631
+ setup(a, { emit: A }) {
1632
+ const b = Xe(), r = a, _ = A, v = z(null), B = z(null), w = z(0), y = L(() => {
1638
1633
  try {
1639
1634
  return Ke();
1640
1635
  } catch {
1641
1636
  return !1;
1642
1637
  }
1643
- }), S = R(() => {
1638
+ }), S = L(() => {
1644
1639
  try {
1645
1640
  return Ye();
1646
1641
  } catch {
1647
1642
  return !1;
1648
1643
  }
1649
- }), N = R(() => r.hasButtons !== null ? r.hasButtons : !!w.buttons), P = () => {
1650
- E("update:modelValue", !1), E("close");
1644
+ }), P = L(() => r.hasButtons !== null ? r.hasButtons : !!b.buttons), N = () => {
1645
+ _("update:modelValue", !1), _("close");
1651
1646
  }, i = (o) => {
1652
- o.key === "Escape" && r.closeOnEsc && r.modelValue && P(), o.key === "Enter" && r.modelValue && E("save");
1647
+ o.key === "Escape" && r.closeOnEsc && r.modelValue && N(), o.key === "Enter" && r.modelValue && _("save");
1653
1648
  }, n = (o) => {
1654
- o.touches[0].clientX < 35 && (d.value = o.touches[0].clientX);
1649
+ o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
1655
1650
  }, e = (o) => {
1656
- d.value > 0 && d.value < 35 && o.changedTouches[0].clientX - d.value > 50 && P(), d.value = 0;
1651
+ w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && N(), w.value = 0;
1657
1652
  }, t = () => {
1658
1653
  if (!(!S.value || !v.value))
1659
1654
  try {
@@ -1678,41 +1673,41 @@ const Mt = {
1678
1673
  document.addEventListener("keydown", i), window.addEventListener("resize", t);
1679
1674
  }), we(() => {
1680
1675
  document.removeEventListener("keydown", i), window.removeEventListener("resize", t), document.body.style.overflow = "";
1681
- }), (o, f) => (x(), ie(Ee, { to: "body" }, [
1682
- _e(Te, {
1676
+ }), (o, f) => (x(), ie(_e, { to: "body" }, [
1677
+ Ee(Te, {
1683
1678
  name: a.enableAnimation ? "dialog-slide" : ""
1684
1679
  }, {
1685
1680
  default: G(() => [
1686
- a.modelValue ? (x(), T("div", {
1681
+ a.modelValue ? (x(), E("div", {
1687
1682
  key: 0,
1688
1683
  class: "sky-dialogbox sky-dialogbox-classic",
1689
1684
  style: Ae([a.zIndex ? { "z-index": a.zIndex } : null])
1690
1685
  }, [
1691
- c("div", {
1686
+ u("div", {
1692
1687
  class: $(["sky-dialog-overlay", { "sky-dialog-animate": a.enableAnimation }])
1693
1688
  }, [
1694
- c("div", {
1689
+ u("div", {
1695
1690
  ref_key: "dialogContent",
1696
1691
  ref: v,
1697
1692
  class: "sky-dialog-content"
1698
1693
  }, [
1699
- c("div", {
1694
+ u("div", {
1700
1695
  class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
1701
1696
  }, [
1702
- Ge(I(a.title) + " ", 1),
1703
- a.subtitle ? (x(), T("span", Mt, I(a.subtitle), 1)) : C("", !0)
1697
+ Ge(M(a.title) + " ", 1),
1698
+ a.subtitle ? (x(), E("span", It, M(a.subtitle), 1)) : C("", !0)
1704
1699
  ], 2),
1705
- c("button", {
1700
+ u("button", {
1706
1701
  class: "sky-dialog-close",
1707
1702
  title: a.closeText,
1708
- onClick: P
1703
+ onClick: N
1709
1704
  }, [...f[0] || (f[0] = [
1710
- c("svg", {
1705
+ u("svg", {
1711
1706
  viewBox: "0 0 16 16",
1712
1707
  width: "16",
1713
1708
  height: "16"
1714
1709
  }, [
1715
- c("line", {
1710
+ u("line", {
1716
1711
  x1: "1",
1717
1712
  y1: "15",
1718
1713
  x2: "15",
@@ -1720,7 +1715,7 @@ const Mt = {
1720
1715
  stroke: "currentColor",
1721
1716
  "stroke-width": "2"
1722
1717
  }),
1723
- c("line", {
1718
+ u("line", {
1724
1719
  x1: "1",
1725
1720
  y1: "1",
1726
1721
  x2: "15",
@@ -1730,24 +1725,24 @@ const Mt = {
1730
1725
  })
1731
1726
  ], -1)
1732
1727
  ])], 8, Vt),
1733
- f[3] || (f[3] = c("div", { class: "sky-dialog-clearfix" }, null, -1)),
1734
- c("div", {
1728
+ f[3] || (f[3] = u("div", { class: "sky-dialog-clearfix" }, null, -1)),
1729
+ u("div", {
1735
1730
  ref_key: "dialogPaper",
1736
1731
  ref: B,
1737
- class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !N.value }]),
1732
+ class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1738
1733
  onTouchstart: n,
1739
1734
  onTouchend: e
1740
1735
  }, [
1741
- y.value ? (x(), T("div", zt)) : C("", !0),
1742
- M(o.$slots, "default", {}, void 0, !0)
1736
+ y.value ? (x(), E("div", zt)) : C("", !0),
1737
+ I(o.$slots, "default", {}, void 0, !0)
1743
1738
  ], 34),
1744
- N.value ? (x(), T("div", {
1739
+ P.value ? (x(), E("div", {
1745
1740
  key: 0,
1746
1741
  class: $(["sky-dialog-footer", { "sky-dialog-footer-animate": a.enableAnimation }])
1747
1742
  }, [
1748
- f[1] || (f[1] = c("div", null, null, -1)),
1749
- M(o.$slots, "buttons", {}, void 0, !0),
1750
- f[2] || (f[2] = c("div", null, null, -1))
1743
+ f[1] || (f[1] = u("div", null, null, -1)),
1744
+ I(o.$slots, "buttons", {}, void 0, !0),
1745
+ f[2] || (f[2] = u("div", null, null, -1))
1751
1746
  ], 2)) : C("", !0)
1752
1747
  ], 512)
1753
1748
  ], 2)
@@ -1757,8 +1752,8 @@ const Mt = {
1757
1752
  }, 8, ["name"])
1758
1753
  ]));
1759
1754
  }
1760
- }, je = /* @__PURE__ */ oe(Rt, [["__scopeId", "data-v-0cb65d7d"]]);
1761
- const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1755
+ }, je = /* @__PURE__ */ oe(Lt, [["__scopeId", "data-v-0cb65d7d"]]);
1756
+ const Rt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1762
1757
  width: "15",
1763
1758
  height: "15",
1764
1759
  viewBox: "0 0 451.847 451.847",
@@ -1806,27 +1801,27 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1806
1801
  }
1807
1802
  },
1808
1803
  emits: ["update:modelValue", "close", "save"],
1809
- setup(a, { emit: _ }) {
1810
- const w = Xe(), r = a, E = _, v = z(null), B = z(null), d = z(0), y = R(() => {
1804
+ setup(a, { emit: A }) {
1805
+ const b = Xe(), r = a, _ = A, v = z(null), B = z(null), w = z(0), y = L(() => {
1811
1806
  try {
1812
1807
  return Ke();
1813
1808
  } catch {
1814
1809
  return !1;
1815
1810
  }
1816
- }), S = R(() => {
1811
+ }), S = L(() => {
1817
1812
  try {
1818
1813
  return Ye();
1819
1814
  } catch {
1820
1815
  return !1;
1821
1816
  }
1822
- }), N = R(() => r.hasButtons !== null ? r.hasButtons : !!w.buttons), P = () => {
1823
- E("update:modelValue", !1), E("close");
1817
+ }), P = L(() => r.hasButtons !== null ? r.hasButtons : !!b.buttons), N = () => {
1818
+ _("update:modelValue", !1), _("close");
1824
1819
  }, i = (o) => {
1825
- o.key === "Escape" && r.closeOnEsc && r.modelValue && P(), o.key === "Enter" && r.modelValue && E("save");
1820
+ o.key === "Escape" && r.closeOnEsc && r.modelValue && N(), o.key === "Enter" && r.modelValue && _("save");
1826
1821
  }, n = (o) => {
1827
- o.touches[0].clientX < 35 && (d.value = o.touches[0].clientX);
1822
+ o.touches[0].clientX < 35 && (w.value = o.touches[0].clientX);
1828
1823
  }, e = (o) => {
1829
- d.value > 0 && d.value < 35 && o.changedTouches[0].clientX - d.value > 50 && P(), d.value = 0;
1824
+ w.value > 0 && w.value < 35 && o.changedTouches[0].clientX - w.value > 50 && N(), w.value = 0;
1830
1825
  }, t = () => {
1831
1826
  if (!(!S.value || !v.value))
1832
1827
  try {
@@ -1851,61 +1846,61 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1851
1846
  document.addEventListener("keydown", i), window.addEventListener("resize", t);
1852
1847
  }), we(() => {
1853
1848
  document.removeEventListener("keydown", i), window.removeEventListener("resize", t), document.body.style.overflow = "";
1854
- }), (o, f) => (x(), ie(Ee, { to: "body" }, [
1855
- _e(Te, {
1849
+ }), (o, f) => (x(), ie(_e, { to: "body" }, [
1850
+ Ee(Te, {
1856
1851
  name: a.enableAnimation ? "dialog-slide" : ""
1857
1852
  }, {
1858
1853
  default: G(() => [
1859
- a.modelValue ? (x(), T("div", {
1854
+ a.modelValue ? (x(), E("div", {
1860
1855
  key: 0,
1861
1856
  class: "sky-dialogbox sky-dialogbox-next",
1862
1857
  style: Ae([a.zIndex ? { "z-index": a.zIndex } : null])
1863
1858
  }, [
1864
- c("div", {
1859
+ u("div", {
1865
1860
  class: $(["sky-dialog-overlay", { "sky-dialog-animate": a.enableAnimation }])
1866
1861
  }, [
1867
- c("div", {
1862
+ u("div", {
1868
1863
  ref_key: "dialogContent",
1869
1864
  ref: v,
1870
1865
  class: "sky-dialog-content"
1871
1866
  }, [
1872
- c("div", Lt, [
1873
- c("button", {
1867
+ u("div", Rt, [
1868
+ u("button", {
1874
1869
  class: "sky-dialog-back",
1875
1870
  title: a.closeText,
1876
- onClick: P
1871
+ onClick: N
1877
1872
  }, [
1878
- (x(), T("svg", $t, [...f[0] || (f[0] = [
1879
- c("path", {
1873
+ (x(), E("svg", $t, [...f[0] || (f[0] = [
1874
+ u("path", {
1880
1875
  fill: "currentColor",
1881
1876
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
1882
1877
  }, null, -1)
1883
1878
  ])]))
1884
1879
  ], 8, Dt),
1885
- c("div", {
1880
+ u("div", {
1886
1881
  class: $(["sky-dialog-title", { "sky-dialog-title-with-subtitle": a.subtitle }])
1887
1882
  }, [
1888
- Ge(I(a.title) + " ", 1),
1889
- a.subtitle ? (x(), T("span", qt, I(a.subtitle), 1)) : C("", !0)
1883
+ Ge(M(a.title) + " ", 1),
1884
+ a.subtitle ? (x(), E("span", qt, M(a.subtitle), 1)) : C("", !0)
1890
1885
  ], 2)
1891
1886
  ]),
1892
- c("div", {
1887
+ u("div", {
1893
1888
  ref_key: "dialogPaper",
1894
1889
  ref: B,
1895
- class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !N.value }]),
1890
+ class: $(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1896
1891
  onTouchstart: n,
1897
1892
  onTouchend: e
1898
1893
  }, [
1899
- y.value ? (x(), T("div", Ut)) : C("", !0),
1900
- M(o.$slots, "default", {}, void 0, !0)
1894
+ y.value ? (x(), E("div", Ut)) : C("", !0),
1895
+ I(o.$slots, "default", {}, void 0, !0)
1901
1896
  ], 34),
1902
- N.value ? (x(), T("div", {
1897
+ P.value ? (x(), E("div", {
1903
1898
  key: 0,
1904
1899
  class: $(["sky-dialog-footer", { "sky-dialog-footer-animate": a.enableAnimation }])
1905
1900
  }, [
1906
- f[1] || (f[1] = c("div", null, null, -1)),
1907
- M(o.$slots, "buttons", {}, void 0, !0),
1908
- f[2] || (f[2] = c("div", null, null, -1))
1901
+ f[1] || (f[1] = u("div", null, null, -1)),
1902
+ I(o.$slots, "buttons", {}, void 0, !0),
1903
+ f[2] || (f[2] = u("div", null, null, -1))
1909
1904
  ], 2)) : C("", !0)
1910
1905
  ], 512)
1911
1906
  ], 2)
@@ -1955,10 +1950,10 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1955
1950
  }
1956
1951
  },
1957
1952
  emits: ["update:modelValue", "close", "save"],
1958
- setup(a, { emit: _ }) {
1959
- const w = a, r = _, E = R({
1960
- get: () => w.modelValue,
1961
- set: (d) => r("update:modelValue", d)
1953
+ setup(a, { emit: A }) {
1954
+ const b = a, r = A, _ = L({
1955
+ get: () => b.modelValue,
1956
+ set: (w) => r("update:modelValue", w)
1962
1957
  }), v = z(!0);
1963
1958
  te(() => {
1964
1959
  try {
@@ -1967,29 +1962,29 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1967
1962
  v.value = !0;
1968
1963
  }
1969
1964
  });
1970
- const B = R(() => w.mode === "next" ? Fe : w.mode === "classic" ? je : v.value ? Fe : je);
1971
- return (d, y) => (x(), ie(at(B.value), {
1972
- modelValue: E.value,
1973
- "onUpdate:modelValue": y[0] || (y[0] = (S) => E.value = S),
1965
+ const B = L(() => b.mode === "next" ? Fe : b.mode === "classic" ? je : v.value ? Fe : je);
1966
+ return (w, y) => (x(), ie(at(B.value), {
1967
+ modelValue: _.value,
1968
+ "onUpdate:modelValue": y[0] || (y[0] = (S) => _.value = S),
1974
1969
  title: a.title,
1975
1970
  subtitle: a.subtitle,
1976
1971
  "z-index": a.zIndex,
1977
1972
  "close-text": a.closeText,
1978
1973
  "enable-animation": a.enableAnimation,
1979
1974
  "close-on-esc": a.closeOnEsc,
1980
- "has-buttons": !!d.$slots.buttons,
1981
- onClose: y[1] || (y[1] = (S) => d.$emit("close")),
1982
- onSave: y[2] || (y[2] = (S) => d.$emit("save"))
1975
+ "has-buttons": !!w.$slots.buttons,
1976
+ onClose: y[1] || (y[1] = (S) => w.$emit("close")),
1977
+ onSave: y[2] || (y[2] = (S) => w.$emit("save"))
1983
1978
  }, st({
1984
1979
  default: G(() => [
1985
- M(d.$slots, "default")
1980
+ I(w.$slots, "default")
1986
1981
  ]),
1987
1982
  _: 2
1988
1983
  }, [
1989
- d.$slots.buttons ? {
1984
+ w.$slots.buttons ? {
1990
1985
  name: "buttons",
1991
1986
  fn: G(() => [
1992
- M(d.$slots, "buttons")
1987
+ I(w.$slots, "buttons")
1993
1988
  ]),
1994
1989
  key: "0"
1995
1990
  } : void 0
@@ -2003,9 +1998,9 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
2003
1998
  }
2004
1999
  }
2005
2000
  };
2006
- function Xt(a, _, w, r, E, v) {
2007
- return x(), ie(Ee, { to: w.to }, [
2008
- M(a.$slots, "default")
2001
+ function Xt(a, A, b, r, _, v) {
2002
+ return x(), ie(_e, { to: b.to }, [
2003
+ I(a.$slots, "default")
2009
2004
  ], 8, ["to"]);
2010
2005
  }
2011
2006
  const Ht = /* @__PURE__ */ oe(Ft, [["render", Xt]]);
@@ -2057,64 +2052,64 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2057
2052
  }
2058
2053
  },
2059
2054
  emits: ["update:modelValue", "close"],
2060
- setup(a, { emit: _ }) {
2061
- const w = a, r = _, E = R(() => ({
2062
- width: w.width,
2063
- height: w.height
2055
+ setup(a, { emit: A }) {
2056
+ const b = a, r = A, _ = L(() => ({
2057
+ width: b.width,
2058
+ height: b.height
2064
2059
  })), v = () => {
2065
2060
  r("update:modelValue", !1), r("close");
2066
2061
  }, B = () => {
2067
- w.closeOnOverlay && v();
2068
- }, d = (y) => {
2069
- y.key === "Escape" && w.closeOnEsc && w.modelValue && v();
2062
+ b.closeOnOverlay && v();
2063
+ }, w = (y) => {
2064
+ y.key === "Escape" && b.closeOnEsc && b.modelValue && v();
2070
2065
  };
2071
2066
  return Se(
2072
- () => w.modelValue,
2067
+ () => b.modelValue,
2073
2068
  (y) => {
2074
2069
  y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
2075
2070
  }
2076
2071
  ), te(() => {
2077
- document.addEventListener("keydown", d);
2072
+ document.addEventListener("keydown", w);
2078
2073
  }), we(() => {
2079
- document.removeEventListener("keydown", d), document.body.style.overflow = "";
2074
+ document.removeEventListener("keydown", w), document.body.style.overflow = "";
2080
2075
  }), (y, S) => (x(), ie(Ht, { to: "body" }, {
2081
2076
  default: G(() => [
2082
- _e(Te, null, {
2077
+ Ee(Te, null, {
2083
2078
  default: G(() => [
2084
- a.modelValue ? (x(), T("div", {
2079
+ a.modelValue ? (x(), E("div", {
2085
2080
  key: 0,
2086
2081
  class: "sky-modal-overlay",
2087
2082
  onClick: lt(B, ["self"])
2088
2083
  }, [
2089
- c("div", {
2084
+ u("div", {
2090
2085
  class: "sky-modal",
2091
- style: Ae(E.value)
2086
+ style: Ae(_.value)
2092
2087
  }, [
2093
- c("div", Gt, [
2094
- c("button", {
2088
+ u("div", Gt, [
2089
+ u("button", {
2095
2090
  class: "sky-modal-back",
2096
2091
  onClick: v,
2097
2092
  title: a.closeTitle
2098
2093
  }, [
2099
- (x(), T("svg", Kt, [...S[0] || (S[0] = [
2100
- c("path", {
2094
+ (x(), E("svg", Kt, [...S[0] || (S[0] = [
2095
+ u("path", {
2101
2096
  fill: "currentColor",
2102
2097
  d: "M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"
2103
2098
  }, null, -1)
2104
2099
  ])]))
2105
2100
  ], 8, Wt),
2106
- c("div", Yt, [
2107
- c("h4", Zt, I(a.title), 1),
2108
- a.subtitle ? (x(), T("div", Jt, I(a.subtitle), 1)) : C("", !0)
2101
+ u("div", Yt, [
2102
+ u("h4", Zt, M(a.title), 1),
2103
+ a.subtitle ? (x(), E("div", Jt, M(a.subtitle), 1)) : C("", !0)
2109
2104
  ])
2110
2105
  ]),
2111
- c("div", Qt, [
2112
- M(y.$slots, "default", {}, void 0, !0)
2106
+ u("div", Qt, [
2107
+ I(y.$slots, "default", {}, void 0, !0)
2113
2108
  ]),
2114
- y.$slots.footer ? (x(), T("div", ei, [
2115
- S[1] || (S[1] = c("div", null, null, -1)),
2116
- M(y.$slots, "footer", {}, void 0, !0),
2117
- S[2] || (S[2] = c("div", null, null, -1))
2109
+ y.$slots.footer ? (x(), E("div", ei, [
2110
+ S[1] || (S[1] = u("div", null, null, -1)),
2111
+ I(y.$slots, "footer", {}, void 0, !0),
2112
+ S[2] || (S[2] = u("div", null, null, -1))
2118
2113
  ])) : C("", !0)
2119
2114
  ], 4)
2120
2115
  ])) : C("", !0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyservice-developers/vue-dev-kit",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Vue 2 and Vue 3 developer toolkit - components and helpers",
5
5
  "type": "module",
6
6
  "main": "./dist/vue3/vue-dev-kit.cjs",
@@ -24,17 +24,12 @@ export function getSenderId() {
24
24
  }
25
25
 
26
26
  export function sendToParent(message) {
27
- if (!isInIframe()) {
28
- console.log('[parentBridge] not in iframe, skip sendToParent')
29
- return
30
- }
31
- const msg = {
27
+ if (!isInIframe()) return
28
+ window.parent.postMessage({
32
29
  ...message,
33
30
  sender: getSenderId(),
34
31
  target: message.target || 'DASHBOARD',
35
- }
36
- console.log('[parentBridge] sendToParent:', msg)
37
- window.parent.postMessage(msg, '*')
32
+ }, '*')
38
33
  }
39
34
 
40
35
  function requestFromParent(source, key) {
@@ -50,9 +45,6 @@ function requestFromParent(source, key) {
50
45
 
51
46
  function handler(event) {
52
47
  const d = event.data
53
- if (d?.type === 'DATA_RESPONSE') {
54
- console.log('[parentBridge] DATA_RESPONSE received:', { requestId: d.requestId, expectedId: requestId, target: d.target, sender: d.sender, hasData: d.data != null })
55
- }
56
48
  if (
57
49
  d?.type === 'DATA_RESPONSE' &&
58
50
  d?.requestId === requestId &&