1(self.webpackChunk=self.webpackChunk||[]).push([[8176],{48176:(t,e,o)=>{var i;function r(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function n(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?r(Object(o),!0).forEach((function(e){s(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e,o){return(e=function(t){var e=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function l(t,e){if(t){if("string"==typeof t)return h(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?h(t,e):void 0}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}t=o.nmd(t),o(43838),o(4949),o(8380),o(91340),o(92893),o(23057),o(34028),o(6506),o(21215),o(36538),o(69565);var u=["pid","c","af_channel","af_ad","af_adset","deep_link_value","af_sub1","af_sub2","af_sub3","af_sub4","af_sub5"],c=["pid","c","af_channel","af_ad","af_adset","deep_link_value"],d="ss_webReferrer",g=function(t){var e=t.url,o=t.skipKeys,i=t.errorMsg;if(e){var r=e.toLowerCase();if(r){var n=o.find((function(t){return r.includes(t.toLowerCase())}));return n&&console.debug(i,n),!!n}}return!1},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.keys(t).reduce((function(e,o){return t[o]&&(e+="&".concat(o,"=").concat(t[o])),e}),"");return console.debug("Generated OneLink parameters",e),e},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{keys:[],overrideValues:{},defaultValue:""};if(!(null!=e&&e.keys&&Array.isArray(e.keys)||null!=e&&e.defaultValue))return console.error("Parameter config structure is wrong",e),null;var o=e.keys,i=void 0===o?[]:o,r=e.overrideValues,n=void 0===r?{}:r,a=e.defaultValue,s=void 0===a?"":a,l=i.find((function(e){return!!t[e]}));if(l){var h=t[l];return n[h]||h||s}return s};function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=[];return Object.values(t).forEach((function(t){t&&t.keys&&Array.isArray(t.keys)&&t.keys.forEach((function(t){return e.push(t)})),Array.isArray(t)&&t.forEach((function(t){var o;Array.isArray(null==t?void 0:t.keys)&&e.push.apply(e,function(t){if(Array.isArray(t))return h(t)}(o=t.keys)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(o)||l(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}))})),e}function v(t){var e={};return Object.keys(localStorage).includes("ss_incoming_params")?e=JSON.parse(localStorage.ss_incoming_params).find((function(e){return t.some((function(t){return t in e}))}))||{}:console.log("Key 'ss_incoming_params' not found in localStorage."),e}var _=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!!(0!==(null==e||null===(t=e.keys)||void 0===t?void 0:t.length)||null!=e&&e.defaultValue)||(console.error("mediaSource is missing (default value was not supplied), can't generate URL",e),!1)}
1,y=function(t){var e=t.referrerSkipList,o=void 0===e?[]:e,i=t.urlSkipList,r=void 0===i?[]:i;return!g({url:document.referrer,skipKeys:o,errorMsg:"Generate url is skipped. HTTP referrer contains key:"})&&!g({url:document.URL,skipKeys:r,errorMsg:"Generate url is skipped. URL contains string:"})},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.mediaSource,r=t.campaign,a=t.channel,s=t.ad,l=t.adSet,h=t.deepLinkValue,d=t.afSub1,g=t.afSub2,f=t.afSub3,m=t.afSub4,v=t.afSub5,_=t.afCustom,y=t.googleClickIdKey,b={};if(i){var w=p(e,i);if(!w)return console.error("mediaSource was not found in the URL and default value was not supplied, can't generate URL",i),null;b[o?"af_media_source":"pid"]=w}if(r){var C=p(e,r);if(!C&&o)return console.error("campaign was not found in the URL and default value was not supplied, can't generate URL",r),null;o?(b.af_campaign=C,b.af_campaign_id=C):b.c=C}if(a&&(b.af_channel=p(e,a)),s&&(b.af_ad=p(e,s)),l&&(b.af_adset=p(e,l)),h&&(b.deep_link_value=p(e,h)),[d,g,f,m,v].forEach((function(t,o){t&&(b["af_sub".concat(o+1)]=p(e,t))})),y)if(c.find((function(t){return t===y})))console.debug("Google Click Id ParamKey can't override AF Parameters keys",y);else{var S=function(t,e){var o=e.gclid,i={};if(o){console.debug("This user comes from Google AdWords"),i[t]=o;var r=e.keyword;r&&(console.debug("There is a keyword associated with the ad"),i.af_keywords=r)}else console.debug("This user comes from SRN or custom network");return i}(y,e);Object.keys(S).forEach((function(t){b[t]=S[t]}))}var O=function(t){var e=t.afCustom,o=void 0===e?[]:e,i=t.currentURLParams,r=void 0===i?{}:i,n=t.googleClickIdKey,a={};return Array.isArray(o)&&o.forEach((function(t){if(null!=t&&t.paramKey){var e=u.find((function(e){return e===(null==t?void 0:t.paramKey)}));(null==t?void 0:t.paramKey)===n||e?console.debug("Custom parameter ParamKey can't override Google-Click-Id or AF Parameters keys",t):a[t.paramKey]=p(r,t)}})),a}({afCustom:_,currentURLParams:e,googleClickIdKey:y});return n(n({},b),O)};function w(){var r,n,s="object"==(void 0===o.g?"undefined":a(o.g))&&o.g&&o.g.Object===Object&&o.g,l="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,h=s||l||Function("return this")(),u=("object"==a(e)&&e&&!e.nodeType&&e&&"object"==a(t)&&t&&t.nodeType,h.QRCode);function c(t,e,o){this.mode=g.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var i=0,r=this.data.length;i<r;i++){var n=[],a=this.data.charCodeAt(i);e?n[0]=a:a>65536?(n[0]=240|(1835008&a)>>>18,n[1]=128|(258048&a)>>>12,n[2]=128|(4032&a)>>>6,n[3]=128|63&a):a>2048?(n[0]=224|(61440&a)>>>12,n[1]=128|(4032&a)>>>6,n[2]=128|63&a):a>128?(n[0]=192|(1984&a)>>>6,n[1]=128|63&a):n[0]=a,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),o||this.parsedData.length==this.data.length||(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function d(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}c.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,o=this.parsedData.length;e<o;e++)t.put(this.parsedData[e],8)}},d.prototype={addData:function(t,e,o){var i=new c(t,e,o);this.dataList.push(i),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e][0]},getEye:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);var o=this.modules[t][e];if(o[1]){var i="P"+o[1]+"_"+o[2];return"A"==o[2]&&(i="A"+o[1]),{isDark:o[0],type:i}}return null},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[o][i]=[]}this.setupPositionProbePattern(0,0,"TL"),this.setupPositionProbePattern(this.moduleCount-7,0,"BL"),this.setupPositionProbePattern(0,this.moduleCount-7,"TR"),this.setupPositionAdjustPattern("A"),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=d.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e,o){for(var i=-1;i<=7;i++)if(!(t+i<=-1||this.moduleCount<=t+i))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(0<=i&&i<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=r&&r<=4?(this.modules[t+i][e+r][0]=!0,this.modules[t+i][e+r][2]=o,this.modules[t+i][e+r][1]=-0==i||-0==r||6==i||6==r?"O":"I"):this.modules[t+i][e+r][0]=!1)},getBestMaskPattern:function(){for(var t=0,e=0,o=0;o<8;o++){this.makeImpl(!0,o);var i=p.getLostPoint(this);(0==o||t>i)&&(t=i,e=o)}return e},createMovieClip:function(t,e,o){var i=t.createEmptyMovieClip(e,o);this.make();for(var r=0;r<this.modules.length;r++)for(var n=1*r,a=0;a<this.modules[r].length;a++){var s=1*a;this.modules[r][a][0]&&(i.beginFill(0,100),i.moveTo(s,n),i.lineTo(s+1,n),i.lineTo(s+1,n+1),i.lineTo(s,n+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6][0]&&(this.modules[t][6][0]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e][0]&&(this.modules[6][e][0]=e%2==0)},setupPositionAdjustPattern:function(t){for(var e=p.getPatternPosition(this.typeNumber),o=0;o<e.length;o++)for(var i=0;i<e.length;i++){var r=e[o],n=e[i];if(null==this.modules[r][n][0])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)-2==a||2==a||-2==s||2==s||0==a&&0==s?(this.modules[r+a][n+s][0]=!0,this.modules[r+a][n+s][2]=t,this.modules[r+a][n+s][1]=-2==a||-2==s||2==a||2==s?"O":"I"):this.modules[r+a][n+s][0]=!1}},setupTypeNumber:function(t){for(var e=p.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var i=!t&&1==(e>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3][0]=i}for(o=0;o<18;o++)i=!t&&1==(e>>o&1),this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)][0]=i},setupTypeInfo:function(t,e){for(var o=this.errorCorrectLevel<<3|e,i=p.getBCHTypeInfo(o),r=0;r<15;r++){var n=!t&&1==(i>>r&1);r<6?this.modules[r][8][0]=n:r<8?this.modules[r+1][8][0]=n:this.modules[this.moduleCount-15+r][8][0]=n}for(r=0;r<15;r++)n=!t&&1==(i>>r&1),r<8?this.modules[8][this.moduleCount-r-1][0]=n:r<9?this.modules[8][15-r-1+1][0]=n:this.modules[8][15-r-1][0]=n;this.modules[this.moduleCount-8][8][0]=!t},mapData:function(t,e){for(var o=-1,i=this.moduleCount-1,r=7,n=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;
vendor: 6,145 bytes, line 1
1s++)if(null==this.modules[i][a-s][0]){var l=!1;n<t.length&&(l=1==(t[n]>>>r&1)),p.getMask(e,i,a-s)&&(l=!l),this.modules[i][a-s][0]=l,-1==--r&&(n++,r=7)}if((i+=o)<0||this.moduleCount<=i){i-=o,o=-o;break}}}},d.PAD0=236,d.PAD1=17,d.createData=function(t,e,o){for(var i=y.getRSBlocks(t,e),r=new b,n=0;n<o.length;n++){var a=o[n];r.put(a.mode,4),r.put(a.getLength(),p.getLengthInBits(a.mode,t)),a.write(r)}var s=0;for(n=0;n<i.length;n++)s+=i[n].dataCount;if(r.getLengthInBits()>8*s)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+8*s+")");for(r.getLengthInBits()+4<=8*s&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*s||(r.put(d.PAD0,8),r.getLengthInBits()>=8*s));)r.put(d.PAD1,8);return d.createBytes(r,i)},d.createBytes=function(t,e){for(var o=0,i=0,r=0,n=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var l=e[s].dataCount,h=e[s].totalCount-l;i=Math.max(i,l),r=Math.max(r,h),n[s]=new Array(l);for(var u=0;u<n[s].length;u++)n[s][u]=255&t.buffer[u+o];o+=l;var c=p.getErrorCorrectPolynomial(h),d=new _(n[s],c.getLength()-1).mod(c);for(a[s]=new Array(c.getLength()-1),u=0;u<a[s].length;u++){var g=u+d.getLength()-a[s].length;a[s][u]=g>=0?d.get(g):0}}var f=0;for(u=0;u<e.length;u++)f+=e[u].totalCount;var m=new Array(f),v=0;for(u=0;u<i;u++)for(s=0;s<e.length;s++)u<n[s].length&&(m[v++]=n[s][u]);for(u=0;u<r;u++)for(s=0;s<e.length;s++)u<a[s].length&&(m[v++]=a[s][u]);return m};for(var g={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},f={L:1,M:0,Q:3,H:2},p={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;p.getBCHDigit(e)-p.getBCHDigit(p.G15)>=0;)e^=p.G15<<p.getBCHDigit(e)-p.getBCHDigit(p.G15);return(t<<10|e)^p.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;p.getBCHDigit(e)-p.getBCHDigit(p.G18)>=0;)e^=p.G18<<p.getBCHDigit(e)-p.getBCHDigit(p.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return p.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,o){switch(t){case 0:return(e+o)%2==0;case 1:return e%2==0;case 2:return o%3==0;case 3:return(e+o)%3==0;case 4:return(Math.floor(e/2)+Math.floor(o/3))%2==0;case 5:return e*o%2+e*o%3==0;case 6:return(e*o%2+e*o%3)%2==0;case 7:return(e*o%3+(e+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new _([1],0),o=0;o<t;o++)e=e.multiply(new _([1,m.gexp(o)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case g.MODE_NUMBER:return 10;case g.MODE_ALPHA_NUM:return 9;case g.MODE_8BIT_BYTE:case g.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case g.MODE_NUMBER:return 12;case g.MODE_ALPHA_NUM:return 11;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case g.MODE_NUMBER:return 14;case g.MODE_ALPHA_NUM:return 13;case g.MODE_8BIT_BYTE:return 16;case g.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),o=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var n=0,a=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(i+s,r+l)&&n++;n>5&&(o+=3+n-5)}for(i=0;i<e-1;i++)for(r=0;r<e-1;r++){var h=0;t.isDark(i,r)&&h++,t.isDark(i+1,r)&&h++,t.isDark(i,r+1)&&h++,t.isDark(i+1,r+1)&&h++,0!=h&&4!=h||(o+=3)}for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(o+=40);for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(o+=40);var u=0;for(r=0;r<e;r++)for(i=0;i<e;i++)t.isDark(i,r)&&u++;return o+Math.abs(100*u/e/e-50)/5*10}},m={glog:function(t){if(t<1)throw new Error("glog("+t+")");return m.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return m.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},v=0;v<8;v++)m.EXP_TABLE[v]=1<<v;for(v=8;v<256;v++)m.EXP_TABLE[v]=m.EXP_TABLE[v-4]^m.EXP_TABLE[v-5]^m.EXP_TABLE[v-6]^m.EXP_TABLE[v-8];for(v=0;v<255;v++)m.LOG_TABLE[m.EXP_TABLE[v]]=v;function _(t,e){if(t.length==r)throw new Error(t.length+"/"+e);for(var o=0;o<t.length&&0==t[o];)o++;this.num=new Array(t.length-o+e);for(var i=0;i<t.length-o;i++)this.num[i]=t[i+o]}function y(t,e){this.totalCount=t,this.dataCount=e}function b(){this.buffer=[],this.length=0}_.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),o=0;o<this.getLength();o++)for(var i=0;i<t.getLength();i++)e[o+i]^=m.gexp(m.glog(this.get(o))+m.glog(t.get(i)));return new _(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=m.glog(this.get(0))-m.glog(t.get(0)),o=new Array(this.getLength()),i=0;i<this.getLength();i++)o[i]=this.get(i);for(i=0;i<t.getLength();i++)o[i]^=m.gexp(m.glog(t.get(i))+e);return new _(o,0).mod(t)}},y.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
1],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],y.getRSBlocks=function(t,e){var o=y.getRsBlockTable(t,e);if(o==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=o.length/3,n=[],a=0;a<i;a++)for(var s=o[3*a+0],l=o[3*a+1],h=o[3*a+2],u=0;u<s;u++)n.push(new y(l,h));return n},y.getRsBlockTable=function(t,e){switch(e){case f.L:return y.RS_BLOCK_TABLE[4*(t-1)+0];case f.M:return y.RS_BLOCK_TABLE[4*(t-1)+1];case f.Q:return y.RS_BLOCK_TABLE[4*(t-1)+2];case f.H:return y.RS_BLOCK_TABLE[4*(t-1)+3];default:return r}},b.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var o=0;o<e;o++)this.putBit(1==(t>>>e-o-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var w=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function C(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var o=e.toString().match(/android ([0-9]\.[0-9])/i);o&&o[1]&&(t=parseFloat(o[1]))}return t}var S="undefined"==typeof CanvasRenderingContext2D?function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,o=this._el,i=t.getModuleCount(),r=Math.round(e.width/i),n=Math.round((e.height-e.titleHeight)/i);r<=1&&(r=1),n<=1&&(n=1),this._htOption.width=r*i,this._htOption.height=n*i+e.titleHeight,this._htOption.quietZone=Math.round(this._htOption.quietZone);var a=[],s="",l=Math.round(r*e.dotScale),h=Math.round(n*e.dotScale);l<4&&(l=4,h=4);var u=e.colorDark,c=e.colorLight;if(e.backgroundImage){e.autoColor?(e.colorDark="rgba(0, 0, 0, .6);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#99000000', EndColorStr='#99000000');",e.colorLight="rgba(255, 255, 255, .7);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B2FFFFFF', EndColorStr='#B2FFFFFF');"):e.colorLight="rgba(0,0,0,0)";var d='<div style="display:inline-block; z-index:-10;position:absolute;"><img src="'+e.backgroundImage+'" widht="'+(e.width+2*e.quietZone)+'" height="'+(e.height+2*e.quietZone)+'" style="opacity:'+e.backgroundImageAlpha+";filter:alpha(opacity="+100*e.backgroundImageAlpha+'); "/></div>';a.push(d)}if(e.quietZone&&(s="display:inline-block; width:"+(e.width+2*e.quietZone)+"px; height:"+(e.width+2*e.quietZone)+"px;background:"+e.quietZoneColor+"; text-align:center;"),a.push('<div style="font-size:0;'+s+'">'),a.push('<table style="font-size:0;border:0;border-collapse:collapse; margin-top:'+e.quietZone+'px;" border="0" cellspacing="0" cellspadding="0" align="center" valign="middle">'),a.push('<tr height="'+e.titleHeight+'" align="center"><td style="border:0;border-collapse:collapse;margin:0;padding:0" colspan="'+i+'">'),e.title){var g=e.titleColor,f=e.titleFont;a.push('<div style="width:100%;margin-top:'+e.titleTop+"px;color:"+g+";font:"+f+";
1background:"+e.titleBackgroundColor+'">'+e.title+"</div>")}e.subTitle&&a.push('<div style="width:100%;margin-top:'+(e.subTitleTop-e.titleTop)+"px;color:"+e.subTitleColor+"; font:"+e.subTitleFont+'">'+e.subTitle+"</div>"),a.push("</td></tr>");for(var p=0;p<i;p++){a.push('<tr style="border:0; padding:0; margin:0;" height="7">');for(var m=0;m<i;m++){var v=t.isDark(p,m),_=t.getEye(p,m);if(_){v=_.isDark;var y=_.type,b=e[y]||e[y.substring(0,2)]||u;a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+n+'px;"><span style="width:'+r+"px;height:"+n+"px;background-color:"+(v?b:c)+';display:inline-block"></span></td>')}else{var w=e.colorDark;6==p?(w=e.timing_H||e.timing||u,a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+n+"px;background-color:"+(v?w:c)+';"></td>')):6==m?(w=e.timing_V||e.timing||u,a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+n+"px;background-color:"+(v?w:c)+';"></td>')):a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+n+'px;"><div style="display:inline-block;width:'+l+"px;height:"+h+"px;background-color:"+(v?w:e.colorLight)+';"></div></td>')}}a.push("</tr>")}if(a.push("</table>"),a.push("</div>"),e.logo){var C=new Image;null!=e.crossOrigin&&(C.crossOrigin=e.crossOrigin),C.src=e.logo;var S=e.width/3.5,O=e.height/3.5;S!=O&&(S=O),e.logoWidth&&(S=e.logoWidth),e.logoHeight&&(O=e.logoHeight);var k="position:relative; z-index:1;display:table-cell;top:-"+((e.height-e.titleHeight)/2+O/2+e.quietZone)+"px;text-align:center; width:"+S+"px; height:"+O+"px;line-height:"+S+"px; vertical-align: middle;";e.logoBackgroundTransparent||(k+="background:"+e.logoBackgroundColor),a.push('<div style="'+k+'"><img src="'+e.logo+'" style="max-width: '+S+"px; max-height: "+O+'px;" /> <div style=" display: none; width:1px;margin-left: -1px;"></div></div>')}e.onRenderingStart&&e.onRenderingStart(e),o.innerHTML=a.join("");var A=o.childNodes[0],L=(e.width-A.offsetWidth)/2,T=(e.height-A.offsetHeight)/2;L>0&&T>0&&(A.style.margin=T+"px "+L+"px"),this._htOption.onRenderingEnd&&this._htOption.onRenderingEnd(this._htOption,null)},t.prototype.clear=function(){this._el.innerHTML=""},t}():function(){function t(){if("svg"==this._htOption.drawer){var t=this._oContext.getSerializedSvg(!0);this.dataURL=t,this._el.innerHTML=t}else try{var e=this._elCanvas.toDataURL("image/png");this.dataURL=e}catch(t){console.error(t)}this._htOption.onRenderingEnd&&(this.dataURL||console.error("Can not get base64 data, please check: 1. Published the page and image to the server 2. The image request support CORS 3. Configured `crossOrigin:'anonymous'` option"),this._htOption.onRenderingEnd(this._htOption,this.dataURL))}if(h._android&&h._android<=2.1){var e=1/window.devicePixelRatio,o=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,i,r,n,a,s,l,h,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var c=arguments.length-1;c>=1;c--)arguments[c]=arguments[c]*e;else void 0===h&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);o.apply(this,arguments)}}function i(t,e){var o=this;if(o._fFail=e,o._fSuccess=t,null===o._bSupportDataURI){var i=document.createElement("img"),r=function(){o._bSupportDataURI=!1,o._fFail&&o._fFail.call(o)};return i.onabort=r,i.onerror=r,i.onload=function(){o._bSupportDataURI=!0,o._fSuccess&&o._fSuccess.call(o)},void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===o._bSupportDataURI&&o._fSuccess?o._fSuccess.call(o):!1===o._bSupportDataURI&&o._fFail&&o._fFail.call(o)}var r=function(t,e){this._bIsPainted=!1,this._android=C(),this._el=t,this._htOption=e,"svg"==this._htOption.drawer?(this._oContext={},this._elCanvas={}):(this._elCanvas=document.createElement("canvas"),this._el.appendChild(this._elCanvas),this._oContext=this._elCanvas.getContext("2d")),this._bSupportDataURI=null,this.dataURL=null};return r.prototype.draw=function(t){var e=this._htOption;e.title||e.subTitle||(e.height-=e.titleHeight,e.titleHeight=0);var o=t.getModuleCount(),i=Math.round(e.width/o),r=Math.round((e.height-e.titleHeight)/o);i<=1&&(i=1),r<=1&&(r=1),e.width=i*o,e.height=r*o+e.titleHeight,e.quietZone=Math.round(e.quietZone),this._elCanvas.width=e.width+2*e.quietZone,this._elCanvas.height=e.height+2*e.quietZone,"canvas"!=this._htOption.drawer&&(this._oContext=new C2S(this._elCanvas.width,this._elCanvas.height)),this.clear();var n=this._oContext;n.lineWidth=0,n.fillStyle=e.colorLight,n.fillRect(0,0,this._elCanvas.width,this._elCanvas.height);var a=this;function s(){e.quietZone>0&&e.quietZoneColor&&(n.lineWidth=0,n.fillStyle=e.quietZoneColor,n.fillRect(0,0,a._elCanvas.width,e.quietZone),n.fillRect(0,e.quietZone,e.quietZone,a._elCanvas.height-2*e.quietZone),n.fillRect(a._elCanvas.width-e.quietZone,e.quietZone,e.quietZone,a._elCanvas.height-2*e.quietZone),n.fillRect(0,a._elCanvas.height-e.quietZone,a._elCanvas.width,e.quietZone))}if(e.backgroundImage){var l=new Image;l.onload=function(){n.globalAlpha=1,n.globalAlpha=e.backgroundImageAlpha;var o=n.imageSmoothingQuality,i=n.imageSmoothingEnabled;n.imageSmoothingEnabled=!0,n.imageSmoothingQuality="high",n.drawImage(l,0,e.titleHeight,e.width+2*e.quietZone,e.height+2*e.quietZone-e.titleHeight),n.imageSmoothingEnabled=i,n.imageSmoothingQuality=o,n.globalAlpha=1,h.call(a,t)},null!=e.crossOrigin&&(l.crossOrigin=e.crossOrigin),l.originalSrc=e.backgroundImage,l.src=e.backgroundImage}else h.call(a,t);function h(t){e.onRenderingStart&&e.onRenderingStart(e);for(var a=0;a<o;a++)for(var l=0;l<o;l++){var h,u,c=l*i+e.quietZone,d=a*r+e.quietZone,g=t.isDark(a,l),f=t.getEye(a,l),p=e.dotScale;n.lineWidth=0,f?(h=e[f.type]||e[f.type.substring(0,2)]||e.colorDark,u=e.colorLight):e.backgroundImage?(u="rgba(0,0,0,0)",6==a?e.autoColor?(h=e.timing_H||e.timing||e.autoColorDark,u=e.autoColorLight):h=e.timing_H||e.timing||e.colorDark:6==l?e.autoColor?(h=e.timing_V||e.timing||e.autoColorDark,u=e.autoColorLight):h=e.timing_V||e.timing||e.colorDark:e.autoColor?(h=e.autoColorDark,u=e.autoColorLight):h=e.colorDark):(h=6==a?e.timing_H||e.timing||e.colorDark:6==l&&(e.timing_V||e.timing)||e.colorDark,u=e.colorLight),n.strokeStyle=g?h:u,n.fillStyle=g?h:u,f?(p="AO"==f.type?e.dotScaleAO:"AI"==f.type?e.dotScaleAI:1,e.backgroundImage&&e.autoColor?(h=("AO"==f.type?e.AI:e.AO)||e.autoColorDark,u=e.autoColorLight):h=("AO"==f.type?e.AI:e.AO)||h,g=f.isDark,n.fillRect(c+i*(1-p)/2,e.titleHeight+d+r*(1-p)/2,i*p,r*p)):6==a?(p=e.dotScaleTiming_H,n.fillRect(c+i*(1-p)/2,e.titleHeight+d+r*(1-p)/2,i*p,r*p)):6==l?(p=e.dotScaleTiming_V,n.fillRect(c+i*(1-p)/2,e.titleHeight+d+r*(1-p)/2,i*p,r*p)):(e.backgroundImage,n.fillRect(c+i*(1-p)/2,e.titleHeight+d+r*(1-p)/2,i*p,r*p)),1==e.dotScale||f||(n.strokeStyle=e.colorLight)}
1if(e.title&&(n.fillStyle=e.titleBackgroundColor,n.fillRect(0,0,this._elCanvas.width,e.titleHeight+e.quietZone),n.font=e.titleFont,n.fillStyle=e.titleColor,n.textAlign="center",n.fillText(e.title,this._elCanvas.width/2,+e.quietZone+e.titleTop)),e.subTitle&&(n.font=e.subTitleFont,n.fillStyle=e.subTitleColor,n.fillText(e.subTitle,this._elCanvas.width/2,+e.quietZone+e.subTitleTop)),e.logo){var m=new Image,v=this;m.onload=function(){!function(t){var o,i,r=Math.round(e.width/3.5),a=Math.round(e.height/3.5);r!==a&&(r=a),e.logoMaxWidth?r=Math.round(e.logoMaxWidth):e.logoWidth&&(r=Math.round(e.logoWidth)),e.logoMaxHeight?a=Math.round(e.logoMaxHeight):e.logoHeight&&(a=Math.round(e.logoHeight)),void 0===t.naturalWidth?(o=t.width,i=t.height):(o=t.naturalWidth,i=t.naturalHeight),(e.logoMaxWidth||e.logoMaxHeight)&&(e.logoMaxWidth&&o<=r&&(r=o),e.logoMaxHeight&&i<=a&&(a=i),o<=r&&i<=a&&(r=o,a=i));var l=(e.width+2*e.quietZone-r)/2,h=(e.height+e.titleHeight+2*e.quietZone-a)/2,u=Math.min(r/o,a/i),c=o*u,d=i*u;(e.logoMaxWidth||e.logoMaxHeight)&&(r=c,a=d,l=(e.width+2*e.quietZone-r)/2,h=(e.height+e.titleHeight+2*e.quietZone-a)/2),e.logoBackgroundTransparent||(n.fillStyle=e.logoBackgroundColor,n.fillRect(l,h,r,a));var g=n.imageSmoothingQuality,f=n.imageSmoothingEnabled;n.imageSmoothingEnabled=!0,n.imageSmoothingQuality="high",n.drawImage(t,l+(r-c)/2,h+(a-d)/2,c,d),n.imageSmoothingEnabled=f,n.imageSmoothingQuality=g,s(),v._bIsPainted=!0,v.makeImage()}(m)},m.onerror=function(t){console.error(t)},null!=e.crossOrigin&&(m.crossOrigin=e.crossOrigin),m.originalSrc=e.logo,m.src=e.logo}else s(),this._bIsPainted=!0,this.makeImage()}},r.prototype.makeImage=function(){this._bIsPainted&&i.call(this,t)},r.prototype.isPainted=function(){return this._bIsPainted},r.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},r.prototype.remove=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1,this._el.innerHTML=""},r.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},r}();n=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:f.H,dotScale:1,dotScaleTiming:1,dotScaleTiming_H:r,dotScaleTiming_V:r,dotScaleA:1,dotScaleAO:r,dotScaleAI:r,quietZone:0,quietZoneColor:"rgba(0,0,0,0)",title:"",titleFont:"normal normal bold 16px Arial",titleColor:"#000000",titleBackgroundColor:"#ffffff",titleHeight:0,titleTop:30,subTitle:"",subTitleFont:"normal normal normal 14px Arial",subTitleColor:"#4F4F4F",subTitleTop:60,logo:r,logoWidth:r,logoHeight:r,logoMaxWidth:r,logoMaxHeight:r,logoBackgroundColor:"#ffffff",logoBackgroundTransparent:!1,PO:r,PI:r,PO_TL:r,PI_TL:r,PO_TR:r,PI_TR:r,PO_BL:r,PI_BL:r,AO:r,AI:r,timing:r,timing_H:r,timing_V:r,backgroundImage:r,backgroundImageAlpha:1,autoColor:!1,autoColorDark:"rgba(0, 0, 0, .6)",autoColorLight:"rgba(255, 255, 255, .7)",onRenderingStart:r,onRenderingEnd:r,version:0,tooltip:!1,binary:!1,drawer:"canvas",crossOrigin:null,utf8WithoutBOM:!0},"string"==typeof e&&(e={text:e}),e)for(var o in e)this._htOption[o]=e[o];(this._htOption.version<0||this._htOption.version>40)&&(console.warn("QR Code version '"+this._htOption.version+"' is invalidate, reset to 0"),this._htOption.version=0),(this._htOption.dotScale<0||this._htOption.dotScale>1)&&(console.warn(this._htOption.dotScale+" , is invalidate, dotScale must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScale=1),(this._htOption.dotScaleTiming<0||this._htOption.dotScaleTiming>1)&&(console.warn(this._htOption.dotScaleTiming+" , is invalidate, dotScaleTiming must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming=1),this._htOption.dotScaleTiming_H?(this._htOption.dotScaleTiming_H<0||this._htOption.dotScaleTiming_H>1)&&(console.warn(this._htOption.dotScaleTiming_H+" , is invalidate, dotScaleTiming_H must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_H=1):this._htOption.dotScaleTiming_H=this._htOption.dotScaleTiming,this._htOption.dotScaleTiming_V?(this._htOption.dotScaleTiming_V<0||this._htOption.dotScaleTiming_V>
11)&&(console.warn(this._htOption.dotScaleTiming_V+" , is invalidate, dotScaleTiming_V must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_V=1):this._htOption.dotScaleTiming_V=this._htOption.dotScaleTiming,(this._htOption.dotScaleA<0||this._htOption.dotScaleA>1)&&(console.warn(this._htOption.dotScaleA+" , is invalidate, dotScaleA must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleA=1),this._htOption.dotScaleAO?(this._htOption.dotScaleAO<0||this._htOption.dotScaleAO>1)&&(console.warn(this._htOption.dotScaleAO+" , is invalidate, dotScaleAO must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAO=1):this._htOption.dotScaleAO=this._htOption.dotScaleA,this._htOption.dotScaleAI?(this._htOption.dotScaleAI<0||this._htOption.dotScaleAI>1)&&(console.warn(this._htOption.dotScaleAI+" , is invalidate, dotScaleAI must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAI=1):this._htOption.dotScaleAI=this._htOption.dotScaleA,(this._htOption.backgroundImageAlpha<0||this._htOption.backgroundImageAlpha>1)&&(console.warn(this._htOption.backgroundImageAlpha+" , is invalidate, backgroundImageAlpha must between 0 and 1, now reset to 1. "),this._htOption.backgroundImageAlpha=1),this._htOption.height=this._htOption.height+this._htOption.titleHeight,"string"==typeof t&&(t=document.getElementById(t)),(!this._htOption.drawer||"svg"!=this._htOption.drawer&&"canvas"!=this._htOption.drawer)&&(this._htOption.drawer="canvas"),this._android=C(),this._el=t,this._oQRCode=null;var i={};for(var o in this._htOption)i[o]=this._htOption[o];this._oDrawing=new S(this._el,i),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.makeCode=function(t){this._oQRCode=new d(function(t,e){for(var o=e.correctLevel,i=1,r=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t.length?3:0)}(t),n=0,a=w.length;n<a;n++){var s=0;switch(o){case f.L:s=w[n][0];break;case f.M:s=w[n][1];break;case f.Q:s=w[n][2];break;case f.H:s=w[n][3]}if(r<=s)break;i++}if(i>w.length)throw new Error("Too long data. the CorrectLevel."+["M","L","H","Q"][o]+" limit length is "+s);return 0!=e.version&&(i<=e.version?(i=e.version,e.runVersion=i):(console.warn("QR Code version "+e.version+" too small, run version use "+i),e.runVersion=i)),i}(t,this._htOption),this._htOption.correctLevel),this._oQRCode.addData(t,this._htOption.binary,this._htOption.utf8WithoutBOM),this._oQRCode.make(),this._htOption.tooltip&&(this._el.title=t),this._oDrawing.draw(this._oQRCode)},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.remove()},n.prototype.resize=function(t,e){this._oDrawing._htOption.width=t,this._oDrawing._htOption.height=e,this._oDrawing.draw(this._oQRCode)},n.prototype.noConflict=function(){return h.QRCode===this&&(h.QRCode=u),n},n.CorrectLevel=f,void 0===(i=function(){return n}.apply(e,[]))||(t.exports=i)}var C,S,O,k="2.7.3".replace(/\./g,"_");w(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),e=JSON.parse(localStorage.getItem("ss_incoming_params")||"[]");localStorage.setItem("ss_incoming_params",JSON.stringify(e.filter((function(e){return e.af_ss_exp_at>t}))))}(),function(t){t||console.debug("website doesnt exist + ".concat(t));try{var e=new URL(t),o=new URLSearchParams(e.search),i=Array.from(o).reduce((function(t,e){var o,i,r=(i=2,function(t){if(Array.isArray(t))return t}(o=e)||function(t,e){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i,r,n,a,s=[],l=!0,h=!1;try{if(n=(o=o.call(t)).next,0===e){if(Object(o)!==o)return;l=!1}else for(;!(l=(i=n.call(o)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){h=!0,r=t}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(h)throw r}}return s}}(o,i)||l(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=r[0],h=r[1];return n(n({},t),{},s({},a,encodeURIComponent(h)))}),{}),r=JSON.parse(localStorage.getItem("ss_incoming_params")||"[]"),a=(new Date).getTime()+72e5,h=n(n({},i),{},{af_ss_exp_at:a});r.unshift(h),localStorage.setItem("ss_incoming_params",JSON.stringify(r))}catch(t){console.debug("url isnt valid + ".concat(t))}}(window.location.href),S=new URL(window.location.href),(O=(C=document.referrer)?new URL(C):null)&&function(t,e){return t.origin===e.origin}(S,O)?console.warn("You navigate from the same website"):localStorage.setItem(d,JSON.stringify(document.referrer)),window.AF_SMART_SCRIPT={generateOneLinkURL:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{afParameters:{}},e=t.oneLinkURL,o=t.afParameters,i=(void 0===o?{}
1:o).mediaSource,r=t.referrerSkipList,s=void 0===r?[]:r,l=t.urlSkipList,h=void 0===l?[]:l,u=t.webReferrer;if(!function(t){var e,o=null===(e=t||"")||void 0===e?void 0:e.toString().match("(https:\\/\\/)(([^\\.]+).)(.*\\/)(.*)");return!(!o||(null==o?void 0:o.length)<5)||(console.error("oneLinkURL is missing or not in the correct format, can't generate URL",t),!1)}(e))return null;if(!y({referrerSkipList:s,urlSkipList:h}))return null;if(!_(i))return null;var c=v(m(t.afParameters)),g=b(t.afParameters,c);if(!g)return null;var p=n({af_js_web:!0,af_ss_ver:window.AF_SMART_SCRIPT.version},g),C=e+f(p).replace("&","?"),S=JSON.parse(localStorage.getItem(d));if(u&&S&&function(t){try{return Boolean(new URL(t))}catch(t){return!1}}(S)){var O="&".concat(u,"=").concat(S);C="".concat(C).concat(O)}return console.debug("Generated OneLink URL",C),window.AF_SMART_SCRIPT.displayQrCode=function(t){var e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.logo,r=void 0===i?"":i,n=o.codeColor,a=void 0===n?"#000":n;return C?new w(document.getElementById(t),{text:"".concat(C,"&af_ss_qr=").concat(o.logo||o.codeColor?"c":"true"," "),logo:r,colorDark:(e=a,/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e)?e:"#000"),logoBackgroundTransparent:!0,crossOrigin:"anonymous",correctLevel:r?w.CorrectLevel.Q:w.CorrectLevel.L}):(console.debug("ClickURL is not valid"),null)},function(t){return t?new Promise((function(e){new Promise((function(t){var e;"object"===("undefined"==typeof navigator?"undefined":a(navigator))&&"userAgentData"in navigator&&"getHighEntropyValues"in navigator.userAgentData&&(e=navigator&&navigator.userAgent,!/iphone|ipad|ipod/i.test(e&&e.toLowerCase()))?navigator.userAgentData.getHighEntropyValues(["model","platformVersion"]).then((function(e){t({model:e.model,platformVersion:e.platformVersion})})).catch((function(){t()})):t()})).then((function(o){var i=new URL(t);i.hostname="impressions.onelink.me",o&&(i.pathname="/ch".concat(i.pathname),i.searchParams.append("af_ch_model",encodeURIComponent(o.model)),i.searchParams.append("af_ch_os_version",encodeURIComponent(o.platformVersion))),e(i.href)})).catch((function(){e()}))})):(console.debug("ClickURL is not valid"),null)}(C).then((function(t){t&&(window.AF_SMART_SCRIPT.fireImpressionsLink=function(){var e=new Image(1,1);e.style.display="none",e.style.position="absolute",e.style.left="-1px",e.style.top="-1px",e.src=t})})),{clickURL:C}},generateDirectClickURL:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{afParameters:{},referrerSkipList:[],urlSkipList:[]},o=e.afParameters,i=void 0===o?{}:o,r=e.referrerSkipList,a=void 0===r?[]:r,s=e.urlSkipList,l=void 0===s?[]:s,h=e.platform,u=e.app_id,c=e.redirectURL,d=i.mediaSource,g=i.campaign;if(!d)return console.error("mediaSource is missing , can't generate URL",d),null;if(!g)return console.error("campaign is missing , can't generate URL",g),null;if(!u)return console.error("app_id is missing , can't generate URL",u),null;if(!c)return console.error("redirectURL is missing , can't generate URL",c),null;var p=null==h?void 0:h.toLowerCase();if(!function(t){return t?!!["smartcast","tizen","roku","webos","vidaa","playstation","android","ios","steam","quest","battlenet","epic","switch","xbox","nativepc"].includes(t.toLowerCase())||(console.error("platform need to be part of the known platforms supoorted"),!1):(console.error("platform is missing , can't generate URL",t),!1)}(p))return null;if("string"!=typeof u)return console.error("app_id must be a string"),null;if(0===(null==g||null===(t=g.keys)||void 0===t?void 0:t.length)&&(null==g||!g.defaultValue))return console.error("campaign is missing (default value was not supplied), can't generate URL",d),null;if(!y({referrerSkipList:a,urlSkipList:l}))return null;if(!_(d))return null;var w=v(m(e.afParameters)),C=b(e.afParameters,w,!0);if(!C)return null;var S=n({af_js_web:!0,af_ss_ver:window.AF_SMART_SCRIPT.version},C),O=f(S).replace("&","?"),k="https://engagements.appsflyer.com/v1.0/c2s/click/app/".concat(p);["ios","android"].includes(p)&&(k="https://app.appsflyer.com");
1var A="".concat(k,"/").concat(u).concat(O,"&af_r=").concat(encodeURIComponent(c));return["ios","android"].includes(p)&&(A=A.replace("af_media_source","pid").replace("af_campaign","c").replace("af_campaign_id","af_c_id")),console.debug("generate Direct Click URL",A),delete window.AF_SMART_SCRIPT.displayQrCode,delete window.AF_SMART_SCRIPT.fireImpressionsLink,{clickURL:A}},version:k}},68458:(t,e,o)=>{"use strict";var i=o(68379),r=TypeError;t.exports=function(t,e){if(!delete t[e])throw new r("Cannot delete property "+i(e)+" of "+i(t))}},4949:(t,e,o)=>{"use strict";var i=o(88810),r=o(68649),n=o(88770),a=o(74643),s=o(68458),l=o(53081);i({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=r(this),o=n(e),i=arguments.length;if(i){l(o+i);for(var h=o;h--;){var u=h+i;h in e?e[u]=e[h]:s(e,u)}for(var c=0;c<i;c++)e[c]=arguments[c]}return a(e,o+i)}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.