(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[250],{4715:function(t,e,n){"use strict";n.d(e,{W:function(){return a}});var r,o=n(4870);(function(t){t["BEST"]="最佳路线",t["ESCALATOR"]="扶梯模式",t["STRAIGHT"]="直梯模式"})(r||(r={}));const i=[{name:r.BEST,nameEn:"Best route",iconType:"best-route"},{name:r.ESCALATOR,nameEn:"Escalator mode",iconType:"ft-route"},{name:r.STRAIGHT,nameEn:"Straight stair mode",iconType:"dt-route"}],a=t=>{const e=(0,o.iH)(0);function n(t,n){e.value=n,a(t)}function a(e){switch(e){case r.BEST:window.Map_QM.ChangePathByGood(t);break;case r.ESCALATOR:window.Map_QM.ChangePathByFt(t);break;case r.STRAIGHT:window.Map_QM.ChangePathByDt(t);break;default:window.Map_QM.ChangePathByGood(t);break}}function s(){e.value=0}return{methodsList:i,methodIdx:e,handleControl:n,selectedWayMethods:a,resetMethodIdx:s}}},1957:function(t,e,n){"use strict";n.d(e,{q:function(){return i}});var r=n(4870),o=n(3396);const i=()=>{const t=2,e=3,n=(0,r.iH)(!1),i=(0,r.iH)(!1),a=(0,r.iH)(!1),s=(0,r.iH)(null);function u(){window.Map_QM.util.changePlaySpeed(t),n.value=!0,i.value=!1,a.value=!1,window.Map_QM.pathRePlay(),clearTimeout(s.value),s.value=setTimeout((()=>{n.value=!1,clearTimeout(s.value),s.value=null}),1e3)}function c(){i.value=!i.value,n.value=!1,(0,o.Y3)((()=>{i.value?window.Map_QM.pathStop(!1):window.Map_QM.pathStop(!0)}))}function l(){n.value=!1,i.value=!1,a.value=!a.value,window.Map_QM.pathStop(!0),(0,o.Y3)((()=>{a.value?window.Map_QM.util.changePlaySpeed(e):window.Map_QM.util.changePlaySpeed(t)}))}function f(){i.value=!1}function h(){a.value=!1}return(0,o.Jd)((()=>{clearTimeout(s.value),s.value=null,window.Map_QM.util.changePlaySpeed(t)})),{replay:n,pause:i,speedUp:a,handleReplay:u,togglePause:c,handleSpeedUp:l,resetPause:f,resetSpeedUp:h}}},2088:function(t,e,n){"use strict";n.d(e,{y:function(){return a}});var r=n(4870),o=n(3396),i=n(8385);const a=(t,e={})=>{const n=(0,r.iH)("");return(0,o.YP)(t,(async t=>{n.value=await i.toDataURL(t,e)}),{immediate:!0}),{qr:n}}},4278:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(4870),o=n(3396);const i=t=>{const e={"3D":"2D","2D":"3D"},n=(0,r.iH)("3D"),i=(0,o.Fl)((()=>n.value&&e[n.value]));function a(){t?.(),window.Map_QM.pathRePlay();const e="2D"===n.value?"3D":"2D";window.Map_QM.changePathDir(e),n.value=e}return(0,o.bv)((()=>{window.pathCameraState?n.value=window.pathCameraState:n.value="3D"})),(0,o.Jd)((()=>{window.pathCameraState="3D"})),{cameraViews:i,setCameraViews:a}}},3371:function(t,e,n){"use strict";n.d(e,{O:function(){return a}});var r=n(4870),o=n(3396),i=n(7110);const a=t=>{const e=(0,i.Y)(),{shop:n,device:a}=(0,r.BK)(e),s=(0,r.XI)([]),u=(0,r.iH)({});function c({buildingOrder:t,floorOrder:e,yaxis:n}){try{window.Map_QM.pathNode({build:t,floor:e,node:n},l)}catch(r){console.log("error: ",r)}}function l({direction:e,wayList:r}){t?.(),u.value=f(e),s.value=[...r,{...n.value,shopName:n.value.shopName}]}function f(t){switch(t){case"向前出发":return{text:t,textEn:"Move forward",icon:"direction-up",thumbIcon:"arrow-up",class:"animate__fadeInUp"};case"向后出发":return{text:t,textEn:"Departure backwards",icon:"direction-down",thumbIcon:"arrow-down",class:"animate__fadeInDown"};case"向左出发":return{text:t,textEn:"Departure to the left",icon:"direction-left",thumbIcon:"arrow-left",class:"animate__fadeInRight"};case"向右出发":return{text:t,textEn:"Departure to the right",icon:"direction-right",thumbIcon:"arrow-right",class:"animate__fadeInLeft"};default:return{text:"",textEn:"",icon:"",class:"",thumbIcon:""}}}return(0,o.Jd)((()=>{window.Map_QM.showFloor(a.value.floorOrder)})),{directionInfo:u,pathShopList:s,backPathArray:l,startNavi:c}}},8716:function(t,e,n){"use strict";n(7658);var r={single_source_shortest_paths:function(t,e,n){var o={},i={};i[e]=0;var a,s,u,c,l,f,h,d,g,p=r.PriorityQueue.make();p.push(e,0);while(!p.empty())for(u in a=p.pop(),s=a.value,c=a.cost,l=t[s]||{},l)l.hasOwnProperty(u)&&(f=l[u],h=c+f,d=i[u],g="undefined"===typeof i[u],(g||d>h)&&(i[u]=h,p.push(u,h),o[u]=s));if("undefined"!==typeof n&&"undefined"===typeof i[n]){var w=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(t,e){var n=[],r=e;while(r)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var o=r.single_source_shortest_paths(t,e,n);return r.extract_shortest_path_from_predecessor_list(o,n)},PriorityQueue:{make:function(t){var e,n=r.PriorityQueue,o={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(o[e]=n[e]);return o.queue=[],o.sorter=t.sorter||n.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=r},4700:function(t,e,n){"use strict";n(7658),n(3767),n(8585),n(8696),t.exports=function(t){for(var e=[],n=t.length,r=0;r=55296&&o<=56319&&n>r+1){var i=t.charCodeAt(r+1);i>=56320&&i<=57343&&(o=1024*(o-55296)+i-56320+65536,r+=1)}o<128?e.push(o):o<2048?(e.push(o>>6|192),e.push(63&o|128)):o<55296||o>=57344&&o<65536?(e.push(o>>12|224),e.push(o>>6&63|128),e.push(63&o|128)):o>=65536&&o<=1114111?(e.push(o>>18|240),e.push(o>>12&63|128),e.push(o>>6&63|128),e.push(63&o|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},8385:function(t,e,n){const r=n(890),o=n(4553),i=n(8258),a=n(8593);function s(t,e,n,i,a){const s=[].slice.call(arguments,1),u=s.length,c="function"===typeof s[u-1];if(!c&&!r())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(n=e,e=i=void 0):2!==u||e.getContext||(i=n,n=e,e=void 0),new Promise((function(r,a){try{const a=o.create(n,i);r(t(a,e,i))}catch(s){a(s)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=n,n=e,e=i=void 0):3===u&&(e.getContext&&"undefined"===typeof a?(a=i,i=void 0):(a=i,i=n,n=e,e=void 0));try{const r=o.create(n,i);a(null,t(r,e,i))}catch(l){a(l)}}e.create=o.create,e.toCanvas=s.bind(null,i.render),e.toDataURL=s.bind(null,i.renderToDataURL),e.toString=s.bind(null,(function(t,e,n){return a.render(t,n)}))},890:function(t){t.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},9070:function(t,e,n){n(7658);const r=n(4288).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];const e=Math.floor(t/7)+2,n=r(t),o=145===n?26:2*Math.ceil((n-13)/(2*e-2)),i=[n-7];for(let r=1;r>>7-t%8&1)},put:function(t,e){for(let n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=r},3880:function(t,e,n){function r(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}n(3767),n(8585),n(8696),r.prototype.set=function(t,e,n,r){const o=t*this.size+e;this.data[o]=n,r&&(this.reservedBit[o]=!0)},r.prototype.get=function(t,e){return this.data[t*this.size+e]},r.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},r.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=r},7591:function(t,e,n){n(3767),n(8585),n(8696);const r=n(4700),o=n(5461);function i(t){this.mode=o.BYTE,"string"===typeof t&&(t=r(t)),this.data=new Uint8Array(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(let e=0,n=this.data.length;e=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return n(t)}catch(o){return r}}},3375:function(t,e,n){const r=n(4288).getSymbolSize,o=7;e.getPositions=function(t){const e=r(t);return[[0,0],[e-o,0],[0,e-o]]}},7874:function(t,e,n){const r=n(4288),o=1335,i=21522,a=r.getBCHDigit(o);e.getEncodedBits=function(t,e){const n=t.bit<<3|e;let s=n<<10;while(r.getBCHDigit(s)-a>=0)s^=o<=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}},t.exports=i},1840:function(t,e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n={N1:3,N2:3,N3:40,N4:10};function r(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2===0;case e.Patterns.PATTERN001:return n%2===0;case e.Patterns.PATTERN010:return r%3===0;case e.Patterns.PATTERN011:return(n+r)%3===0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2===0;case e.Patterns.PATTERN101:return n*r%2+n*r%3===0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2===0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){const e=t.size;let r=0,o=0,i=0,a=null,s=null;for(let u=0;u=5&&(r+=n.N1+(o-5)),a=e,o=1),e=t.get(c,u),e===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=e,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},e.getPenaltyN2=function(t){const e=t.size;let r=0;for(let n=0;n=10&&(1488===o||93===o)&&r++,i=i<<1&2047|t.get(a,n),a>=10&&(1488===i||93===i)&&r++}return r*n.N3},e.getPenaltyN4=function(t){let e=0;const r=t.data.length;for(let n=0;n=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return i(t)}catch(r){return n}}},9186:function(t,e,n){const r=n(5461);function o(t){this.mode=r.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);const o=this.data.length-e;o>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*o+1))},t.exports=o},823:function(t,e,n){n(3767),n(8585),n(8696);const r=n(7512);e.mul=function(t,e){const n=new Uint8Array(t.length+e.length-1);for(let o=0;o=0){const t=n[0];for(let i=0;i=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?t.set(e+r,i+o,!0,!0):t.set(e+r,i+o,!1,!0))}}function m(t){const e=t.size;for(let n=8;n>s&1),t.set(o,i,a,!0),t.set(i,o,a,!0)}function M(t,e,n){const r=t.size,o=d.getEncodedBits(e,n);let i,a;for(i=0;i<15;i++)a=1===(o>>i&1),i<6?t.set(i,8,a,!0):i<8?t.set(i+1,8,a,!0):t.set(r-15+i,8,a,!0),i<8?t.set(8,r-i-1,a,!0):i<9?t.set(8,15-i-1+1,a,!0):t.set(8,15-i-1,a,!0);t.set(r-8,8,1,!0)}function v(t,e){const n=t.size;let r=-1,o=n-1,i=7,a=0;for(let s=n-1;s>0;s-=2){6===s&&s--;while(1){for(let n=0;n<2;n++)if(!t.isReserved(o,s-n)){let r=!1;a>>i&1)),t.set(o,s-n,r),i--,-1===i&&(a++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}}function A(t,e,n){const o=new i;n.forEach((function(e){o.put(e.mode.bit,4),o.put(e.getLength(),g.getCharCountIndicator(e.mode,t)),e.write(o)}));const a=r.getSymbolTotalCodewords(t),s=l.getTotalCodewordsCount(t,e),u=8*(a-s);o.getLengthInBits()+4<=u&&o.put(0,4);while(o.getLengthInBits()%8!==0)o.putBit(0);const c=(u-o.getLengthInBits())/8;for(let r=0;r=7&&E(f,e),v(f,u),isNaN(o)&&(o=c.getBestMask(f,M.bind(null,f,n))),c.applyMask(o,f),M(f,n,o),{modules:f,version:e,errorCorrectionLevel:n,maskPattern:o,segments:i}}e.create=function(t,e){if("undefined"===typeof t||""===t)throw new Error("No input text");let n,i,a=o.M;return"undefined"!==typeof e&&(a=o.from(e.errorCorrectionLevel,o.M),n=h.from(e.version),i=c.from(e.maskPattern),e.toSJISFunc&&r.setToSJISFunction(e.toSJISFunc)),B(t,n,a,i)}},4365:function(t,e,n){n(3767),n(8585),n(8696);const r=n(823);function o(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},o.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const n=r.mod(e,this.genPoly),o=this.degree-n.length;if(o>0){const t=new Uint8Array(this.degree);return t.set(n,o),t}return n},t.exports=o},3555:function(t,e){const n="[0-9]+",r="[A-Z $%*+\\-./:]+";let o="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";o=o.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+o+")(?:.|[\r\n]))+";e.KANJI=new RegExp(o,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(i,"g"),e.NUMERIC=new RegExp(n,"g"),e.ALPHANUMERIC=new RegExp(r,"g");const a=new RegExp("^"+o+"$"),s=new RegExp("^"+n+"$"),u=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return a.test(t)},e.testNumeric=function(t){return s.test(t)},e.testAlphanumeric=function(t){return u.test(t)}},8439:function(t,e,n){n(7658);const r=n(5461),o=n(9186),i=n(6355),a=n(7591),s=n(9176),u=n(3555),c=n(4288),l=n(8716);function f(t){return unescape(encodeURIComponent(t)).length}function h(t,e,n){const r=[];let o;while(null!==(o=t.exec(n)))r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function d(t){const e=h(u.NUMERIC,r.NUMERIC,t),n=h(u.ALPHANUMERIC,r.ALPHANUMERIC,t);let o,i;c.isKanjiModeEnabled()?(o=h(u.BYTE,r.BYTE,t),i=h(u.KANJI,r.KANJI,t)):(o=h(u.BYTE_KANJI,r.BYTE,t),i=[]);const a=e.concat(n,o,i);return a.sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function g(t,e){switch(e){case r.NUMERIC:return o.getBitsLength(t);case r.ALPHANUMERIC:return i.getBitsLength(t);case r.KANJI:return s.getBitsLength(t);case r.BYTE:return a.getBitsLength(t)}}function p(t){return t.reduce((function(t,e){const n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}function w(t){const e=[];for(let n=0;n40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return r[t]},e.getBCHDigit=function(t){let e=0;while(0!==t)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!==typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return"undefined"!==typeof n},e.toSJIS=function(t){return n(t)}},5057:function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},9693:function(t,e,n){const r=n(4288),o=n(9757),i=n(2839),a=n(5461),s=n(5057),u=7973,c=r.getBCHDigit(u);function l(t,n,r){for(let o=1;o<=40;o++)if(n<=e.getCapacity(o,r,t))return o}function f(t,e){return a.getCharCountIndicator(t,e)+4}function h(t,e){let n=0;return t.forEach((function(t){const r=f(t.mode,e);n+=r+t.getBitsLength()})),n}function d(t,n){for(let r=1;r<=40;r++){const o=h(t,r);if(o<=e.getCapacity(r,n,a.MIXED))return r}}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!s.isValid(t))throw new Error("Invalid QR Code version");"undefined"===typeof n&&(n=a.BYTE);const i=r.getSymbolTotalCodewords(t),u=o.getTotalCodewordsCount(t,e),c=8*(i-u);if(n===a.MIXED)return c;const l=c-f(n,t);switch(n){case a.NUMERIC:return Math.floor(l/10*3);case a.ALPHANUMERIC:return Math.floor(l/11*2);case a.KANJI:return Math.floor(l/13);case a.BYTE:default:return Math.floor(l/8)}},e.getBestVersionForData=function(t,e){let n;const r=i.from(e,i.M);if(Array.isArray(t)){if(t.length>1)return d(t,r);if(0===t.length)return 1;n=t[0]}else n=t;return l(n.mode,n.getLength(),r)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");let e=t<<12;while(r.getBCHDigit(e)-c>=0)e^=u<0&&c>0&&t[u-1]||(r+=a?i("M",c+n,.5+l+n):i("m",o,0),o=0,a=!1),c+1':"",f="',h='viewBox="0 0 '+c+" "+c+'"',d=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",g=''+l+f+"\n";return"function"===typeof n&&n(null,g),g}},8920:function(t,e,n){function r(t){if("number"===typeof t&&(t=t.toString()),"string"!==typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}n(7658),e.getOptions=function(t){t||(t={}),t.color||(t.color={});const e="undefined"===typeof t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,color:{dark:r(t.color.dark||"#000000ff"),light:r(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){const r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){const o=n.modules.size,i=n.modules.data,a=e.getScale(o,r),s=Math.floor((o+2*r.margin)*a),u=r.margin*a,c=[r.color.light,r.color.dark];for(let e=0;e=u&&n>=u&&e