Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chimee-helper

Package Overview
Dependencies
Maintainers
6
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chimee-helper - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

.eslintignore

2

lib/index.js
/**
* chimee-helper v0.2.10
* chimee-helper v0.2.11
* (c) 2017 toxic-johann

@@ -5,0 +5,0 @@ * Released under MIT

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.chimeeHelper={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return void 0===e||null===e}function i(e){return Array.isArray(e)}function o(e){return"function"==typeof e}function a(e){return Object(e)===e&&"[object Object]"===String(e)&&!o(e)&&!i(e)}function s(e){return"number"==typeof e}function u(e){return e instanceof Blob}function c(e){return"string"==typeof e||e instanceof String}function f(e){return"boolean"==typeof e}function l(e){return r(e)||f(e)||c(e)||s(e)}function d(e){return!!("object"===("undefined"==typeof Node?"undefined":xn(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":xn(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}function p(e){function t(r,o,s){if(i(r)||a(r)){o=l(o)?a(r)?{}:[]:o;for(var u in r)n(o,u,t(r[u],o[u],u));return o}return e(r,o,s)}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t,n){e[t]=n};return t}function h(e,t){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,n,r,i){return t||0!==i?r.toUpperCase():r.toLowerCase()})}function v(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function m(e,t,n){var r=e;if(t+n<r.length){for(;n--;)if(128!=(192&r[++t]))return!1;return!0}return!1}function g(e,t){var n=t,r=(e=""+(e||"")).length;return(((t=(t||r)-r)>0?e.repeat?"0".repeat(t):new Array(t+1).join("0"):"")+e).slice(0,n)}function w(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++ni.count);var r=n+"_"+t,i=ni[r];return i||(i=ni[r]=[]),i}function y(e,t,n){var r=ti(null);r.type=t,r.target=e,n&&Zr(r,a(n)?n:{data:n}),w(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}function b(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){_(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),w(e,t).push(a)}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=w(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function E(e,t){var n=e.__evt_id;n||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),n=e.__evt_id=++ii.count);var r=n+"_"+t,i=ii[r];return i||(i=ii[r]=[]),i}function S(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var a=[n,void 0,r];r&&!i&&(i=function(){A(e,t,n,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n.apply(e,o)}),i&&(a[1]=i),E(e,t).push(a)}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=E(e,t);if(n||r){var o=-1,a=void 0;return i.find(function(e,t){if((!n||e[0]===n)&&(!r||e[2]))return o=t,a=e[1],!0}),-1!==o&&i.splice(o,1),a}i.length=0}function O(e,t){return e.getAttribute(t)}function k(e,t,n){void 0===n?e.removeAttribute(t):e.setAttribute(t,n)}function x(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.add(t)});else{var r=" "+(e.className||"")+" ";n.forEach(function(e){-1===r.indexOf(" "+e+" ")&&(r+=" "+e)}),e.className=r.trim()}}}function T(e,t){if(t&&(t=t.trim())){var n=t.split(/\s+/);if(e.classList)n.forEach(function(t){return e.classList.remove(t)});else{var r=" "+e.className+" ";n.forEach(function(e){for(var t=" "+e+" ";-1!==r.indexOf(t);)r=r.replace(t," ")}),e.className=r.trim()}}}function j(e,t){return new RegExp("(?:^|\\s)"+t+"(?=\\s|$)").test(e.className)}function N(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0}),i){var a=A(t,n+"_once",r);a&&(r=a)}t.removeEventListener(n,r,o)}function M(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0}),i){var a=r;S(t,n+"_once",a,r=function(){for(var e=arguments.length,s=Array(e),u=0;u<e;u++)s[u]=arguments[u];a.apply(this,s),N(t,n,r,i,o)})}t.addEventListener(n,r,o)}function L(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0});var a=function(e){var r=D(e.target||e.srcElement,t,!0),o=F(n,t,!0),a=void 0;o.find?a=o.find(function(e){return r.find(function(t){return e===t})}):o.forEach(function(e){return!a&&r.forEach(function(t){a||e!==t||(a=t)})}),a&&i.apply(a,arguments)};S(t,r+"_delegate_"+n,i,a),t.addEventListener(r,a,o)}function C(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0});var a=A(t,r+"_delegate_"+n,i);a&&t.removeEventListener(r,a,o)}function P(e,t){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[t]||e.style[t]}function R(e,t,n){if(a(t))for(var r in t)R(e,r,t[r]);else e.style[t]=n}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments[2],r=t.querySelectorAll(e);return n?_t(r):r}function B(e){e.parentNode.removeChild(e)}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],i=[];for(n&&i.push(e);e&&e.parentNode!==t;)(e=e.parentNode)&&i.push(e);return r&&i.push(t),i}function z(e,t){return e.constructor===ci?e:new ci(e,t)}function G(e,t){if(!c(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":xn(e)));return c(t)?"["+(e=fi.FORCE_GLOBAL_TAG?fi.GLOBAL_TAG:e||fi.GLOBAL_TAG)+"] > "+t:"["+fi.GLOBAL_TAG+"] > "+e}var I="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},V=Math.ceil,U=Math.floor,H=function(e){return isNaN(e=+e)?0:(e>0?U:V)(e)},q=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},W=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),$=n(function(e){var t=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=t)}),K=($.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),Q=function(e,t,n){if(K(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},X=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Y=function(e){if(!X(e))throw TypeError(e+" is not an object!");return e},Z=function(e){try{return!!e()}catch(e){return!0}},J=!Z(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),ee=W.document,te=X(ee)&&X(ee.createElement),ne=function(e){return te?ee.createElement(e):{}},re=!J&&!Z(function(){return 7!=Object.defineProperty(ne("div"),"a",{get:function(){return 7}}).a}),ie=function(e,t){if(!X(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!X(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!X(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!X(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},oe=Object.defineProperty,ae={f:J?Object.defineProperty:function(e,t,n){if(Y(e),t=ie(t,!0),Y(n),re)try{return oe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},se=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ue=J?function(e,t,n){return ae.f(e,t,se(1,n))}:function(e,t,n){return e[t]=n,e},ce="prototype",fe=function(e,t,n){var r,i,o,a=e&fe.F,s=e&fe.G,u=e&fe.S,c=e&fe.P,f=e&fe.B,l=e&fe.W,d=s?$:$[t]||($[t]={}),p=d[ce],h=s?W:u?W[t]:(W[t]||{})[ce];s&&(n=t);for(r in n)(i=!a&&h&&void 0!==h[r])&&r in d||(o=i?h[r]:n[r],d[r]=s&&"function"!=typeof h[r]?n[r]:f&&i?Q(o,W):l&&h[r]==o?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[ce]=e[ce],t}(o):c&&"function"==typeof o?Q(Function.call,o):o,c&&((d.virtual||(d.virtual={}))[r]=o,e&fe.R&&p&&!p[r]&&ue(p,r,o)))};fe.F=1,fe.G=2,fe.S=4,fe.P=8,fe.B=16,fe.W=32,fe.U=64,fe.R=128;var le=fe,de=ue,pe={}.hasOwnProperty,he=function(e,t){return pe.call(e,t)},ve={},me={}.toString,ge=function(e){return me.call(e).slice(8,-1)},we=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ge(e)?e.split(""):Object(e)},ye=function(e){return we(q(e))},be=Math.min,_e=function(e){return e>0?be(H(e),9007199254740991):0},Ee=Math.max,Se=Math.min,Ae="__core-js_shared__",Oe=W[Ae]||(W[Ae]={}),ke=function(e){return Oe[e]||(Oe[e]={})},xe=0,Te=Math.random(),je=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++xe+Te).toString(36))},Ne=ke("keys"),Me=function(e){return Ne[e]||(Ne[e]=je(e))},Le=function(e){return function(t,n,r){var i,o=ye(t),a=_e(o.length),s=function(e,t){return(e=H(e))<0?Ee(e+t,0):Se(e,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}}(!1),Ce=Me("IE_PROTO"),Pe=function(e,t){var n,r=ye(e),i=0,o=[];for(n in r)n!=Ce&&he(r,n)&&o.push(n);for(;t.length>i;)he(r,n=t[i++])&&(~Le(o,n)||o.push(n));return o},Re="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Fe=Object.keys||function(e){return Pe(e,Re)},Be=J?Object.defineProperties:function(e,t){Y(e);for(var n,r=Fe(t),i=r.length,o=0;i>o;)ae.f(e,n=r[o++],t[n]);return e},De=W.document,ze=De&&De.documentElement,Ge=Me("IE_PROTO"),Ie=function(){},Ve="prototype",Ue=function(){var e,t=ne("iframe"),n=Re.length;for(t.style.display="none",ze.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),Ue=e.F;n--;)delete Ue[Ve][Re[n]];return Ue()},He=Object.create||function(e,t){var n;return null!==e?(Ie[Ve]=Y(e),n=new Ie,Ie[Ve]=null,n[Ge]=e):n=Ue(),void 0===t?n:Be(n,t)},qe=n(function(e){var t=ke("wks"),n=W.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:je)("Symbol."+e))}).store=t}),We=ae.f,$e=qe("toStringTag"),Ke=function(e,t,n){e&&!he(e=n?e:e.prototype,$e)&&We(e,$e,{configurable:!0,value:t})},Qe={};ue(Qe,qe("iterator"),function(){return this});var Xe=function(e){return Object(q(e))},Ye=Me("IE_PROTO"),Ze=Object.prototype,Je=Object.getPrototypeOf||function(e){return e=Xe(e),he(e,Ye)?e[Ye]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ze:null},et=qe("iterator"),tt=!([].keys&&"next"in[].keys()),nt="values",rt=function(){return this},it=function(e,t,n,r,i,o,a){!function(e,t,n){e.prototype=He(Qe,{next:se(1,n)}),Ke(e,t+" Iterator")}(n,t,r);var s,u,c,f=function(e){if(!tt&&e in h)return h[e];switch(e){case"keys":case nt:return function(){return new n(this,e)}}return function(){return new n(this,e)}},l=t+" Iterator",d=i==nt,p=!1,h=e.prototype,v=h[et]||h["@@iterator"]||i&&h[i],m=!tt&&v||f(i),g=i?d?f("entries"):m:void 0,w="Array"==t?h.entries||v:v;if(w&&(c=Je(w.call(new e)))!==Object.prototype&&c.next&&Ke(c,l,!0),d&&v&&v.name!==nt&&(p=!0,m=function(){return v.call(this)}),a&&(tt||p||!h[et])&&ue(h,et,m),ve[t]=m,ve[l]=rt,i)if(s={values:d?m:f(nt),keys:o?m:f("keys"),entries:g},a)for(u in s)u in h||de(h,u,s[u]);else le(le.P+le.F*(tt||p),t,s);return s},ot=function(e){return function(t,n){var r,i,o=String(q(t)),a=H(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}}(!0);it(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=ot(t,n),this._i+=e.length,{value:e,done:!1})});var at=function(e,t,n,r){try{return r?t(Y(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&Y(i.call(e)),t}},st=qe("iterator"),ut=Array.prototype,ct=function(e){return void 0!==e&&(ve.Array===e||ut[st]===e)},ft=function(e,t,n){t in e?ae.f(e,t,se(0,n)):e[t]=n},lt=qe("toStringTag"),dt="Arguments"==ge(function(){return arguments}()),pt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),lt))?n:dt?ge(t):"Object"==(r=ge(t))&&"function"==typeof t.callee?"Arguments":r},ht=qe("iterator"),vt=$.getIteratorMethod=function(e){if(void 0!=e)return e[ht]||e["@@iterator"]||ve[pt(e)]},mt=qe("iterator"),gt=!1;try{[7][mt]().return=function(){gt=!0}}catch(e){}var wt=function(e,t){if(!t&&!gt)return!1;var n=!1;try{var r=[7],i=r[mt]();i.next=function(){return{done:n=!0}},r[mt]=function(){return i},e(r)}catch(e){}return n};le(le.S+le.F*!wt(function(e){}),"Array",{from:function(e){var t,n,r,i,o=Xe(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,c=void 0!==u,f=0,l=vt(o);if(c&&(u=Q(u,s>2?arguments[2]:void 0,2)),void 0==l||a==Array&&ct(l))for(n=new a(t=_e(o.length));t>f;f++)ft(n,f,c?u(o[f],f):o[f]);else for(i=l.call(o),n=new a;!(r=i.next()).done;f++)ft(n,f,c?at(i,u,[r.value,f],!0):r.value);return n.length=f,n}});var yt=$.Array.from,bt=n(function(e){e.exports={default:yt,__esModule:!0}}),_t=t(bt),Et=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(bt);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}})),St=function(e,t){return{value:t,done:!!e}};it(Array,"Array",function(e,t){this._t=ye(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,St(1)):St(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ve.Arguments=ve.Array;for(var At=qe("toStringTag"),Ot="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),kt=0;kt<Ot.length;kt++){var xt=Ot[kt],Tt=W[xt],jt=Tt&&Tt.prototype;jt&&!jt[At]&&ue(jt,At,xt),ve[xt]=ve.Array}var Nt={f:qe},Mt=Nt.f("iterator"),Lt=n(function(e){e.exports={default:Mt,__esModule:!0}});t(Lt);var Ct=n(function(e){var t=je("meta"),n=ae.f,r=0,i=Object.isExtensible||function(){return!0},o=!Z(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!X(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!he(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!he(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return o&&s.NEED&&i(e)&&!he(e,t)&&a(e),e}}}),Pt=(Ct.KEY,Ct.NEED,Ct.fastKey,Ct.getWeak,Ct.onFreeze,ae.f),Rt=function(e){var t=$.Symbol||($.Symbol={});"_"==e.charAt(0)||e in t||Pt(t,e,{value:Nt.f(e)})},Ft={f:Object.getOwnPropertySymbols},Bt={f:{}.propertyIsEnumerable},Dt=Array.isArray||function(e){return"Array"==ge(e)},zt=Re.concat("length","prototype"),Gt={f:Object.getOwnPropertyNames||function(e){return Pe(e,zt)}},It=Gt.f,Vt={}.toString,Ut="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ht={f:function(e){return Ut&&"[object Window]"==Vt.call(e)?function(e){try{return It(e)}catch(e){return Ut.slice()}}(e):It(ye(e))}},qt=Object.getOwnPropertyDescriptor,Wt={f:J?qt:function(e,t){if(e=ye(e),t=ie(t,!0),re)try{return qt(e,t)}catch(e){}if(he(e,t))return se(!Bt.f.call(e,t),e[t])}},$t=Ct.KEY,Kt=Wt.f,Qt=ae.f,Xt=Ht.f,Yt=W.Symbol,Zt=W.JSON,Jt=Zt&&Zt.stringify,en="prototype",tn=qe("_hidden"),nn=qe("toPrimitive"),rn={}.propertyIsEnumerable,on=ke("symbol-registry"),an=ke("symbols"),sn=ke("op-symbols"),un=Object[en],cn="function"==typeof Yt,fn=W.QObject,ln=!fn||!fn[en]||!fn[en].findChild,dn=J&&Z(function(){return 7!=He(Qt({},"a",{get:function(){return Qt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Kt(un,t);r&&delete un[t],Qt(e,t,n),r&&e!==un&&Qt(un,t,r)}:Qt,pn=function(e){var t=an[e]=He(Yt[en]);return t._k=e,t},hn=cn&&"symbol"==typeof Yt.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof Yt},vn=function(e,t,n){return e===un&&vn(sn,t,n),Y(e),t=ie(t,!0),Y(n),he(an,t)?(n.enumerable?(he(e,tn)&&e[tn][t]&&(e[tn][t]=!1),n=He(n,{enumerable:se(0,!1)})):(he(e,tn)||Qt(e,tn,se(1,{})),e[tn][t]=!0),dn(e,t,n)):Qt(e,t,n)},mn=function(e,t){Y(e);for(var n,r=function(e){var t=Fe(e),n=Ft.f;if(n)for(var r,i=n(e),o=Bt.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t}(t=ye(t)),i=0,o=r.length;o>i;)vn(e,n=r[i++],t[n]);return e},gn=function(e){var t=rn.call(this,e=ie(e,!0));return!(this===un&&he(an,e)&&!he(sn,e))&&(!(t||!he(this,e)||!he(an,e)||he(this,tn)&&this[tn][e])||t)},wn=function(e,t){if(e=ye(e),t=ie(t,!0),e!==un||!he(an,t)||he(sn,t)){var n=Kt(e,t);return!n||!he(an,t)||he(e,tn)&&e[tn][t]||(n.enumerable=!0),n}},yn=function(e){for(var t,n=Xt(ye(e)),r=[],i=0;n.length>i;)he(an,t=n[i++])||t==tn||t==$t||r.push(t);return r},bn=function(e){for(var t,n=e===un,r=Xt(n?sn:ye(e)),i=[],o=0;r.length>o;)!he(an,t=r[o++])||n&&!he(un,t)||i.push(an[t]);return i};cn||(de((Yt=function(){if(this instanceof Yt)throw TypeError("Symbol is not a constructor!");var e=je(arguments.length>0?arguments[0]:void 0),t=function(n){this===un&&t.call(sn,n),he(this,tn)&&he(this[tn],e)&&(this[tn][e]=!1),dn(this,e,se(1,n))};return J&&ln&&dn(un,e,{configurable:!0,set:t}),pn(e)})[en],"toString",function(){return this._k}),Wt.f=wn,ae.f=vn,Gt.f=Ht.f=yn,Bt.f=gn,Ft.f=bn,Nt.f=function(e){return pn(qe(e))}),le(le.G+le.W+le.F*!cn,{Symbol:Yt});for(var _n="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),En=0;_n.length>En;)qe(_n[En++]);for(var Sn=Fe(qe.store),An=0;Sn.length>An;)Rt(Sn[An++]);le(le.S+le.F*!cn,"Symbol",{for:function(e){return he(on,e+="")?on[e]:on[e]=Yt(e)},keyFor:function(e){if(!hn(e))throw TypeError(e+" is not a symbol!");for(var t in on)if(on[t]===e)return t},useSetter:function(){ln=!0},useSimple:function(){ln=!1}}),le(le.S+le.F*!cn,"Object",{create:function(e,t){return void 0===t?He(e):mn(He(e),t)},defineProperty:vn,defineProperties:mn,getOwnPropertyDescriptor:wn,getOwnPropertyNames:yn,getOwnPropertySymbols:bn}),Zt&&le(le.S+le.F*(!cn||Z(function(){var e=Yt();return"[null]"!=Jt([e])||"{}"!=Jt({a:e})||"{}"!=Jt(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(X(t)||void 0!==e)&&!hn(e))return Dt(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!hn(t))return t}),r[1]=t,Jt.apply(Zt,r)}}),Yt[en][nn]||ue(Yt[en],nn,Yt[en].valueOf),Ke(Yt,"Symbol"),Ke(Math,"Math",!0),Ke(W.JSON,"JSON",!0),Rt("asyncIterator"),Rt("observable");var On=$.Symbol,kn=n(function(e){e.exports={default:On,__esModule:!0}});t(kn);var xn=t(n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(Lt),i=n(kn),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}));!function(e,t){var n=($.Object||{})[e]||Object[e],r={};r[e]=t(n),le(le.S+le.F*Z(function(){n(1)}),"Object",r)}("keys",function(){return function(e){return Fe(Xe(e))}});var Tn=$.Object.keys,jn=t(n(function(e){e.exports={default:Tn,__esModule:!0}})),Nn=Math.floor;le(le.S,"Number",{isInteger:function(e){return!X(e)&&isFinite(e)&&Nn(e)===e}});var Mn=$.Number.isInteger,Ln=t(n(function(e){e.exports={default:Mn,__esModule:!0}})),Cn="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Pn="["+Cn+"]",Rn=RegExp("^"+Pn+Pn+"*"),Fn=RegExp(Pn+Pn+"*$"),Bn=function(e,t,n){var r={},i=Z(function(){return!!Cn[e]()||"​…"!="​…"[e]()}),o=r[e]=i?t(Dn):Cn[e];n&&(r[n]=o),le(le.P+le.F*i,"String",r)},Dn=Bn.trim=function(e,t){return e=String(q(e)),1&t&&(e=e.replace(Rn,"")),2&t&&(e=e.replace(Fn,"")),e},zn=Bn,Gn=W.parseFloat,In=zn.trim,Vn=1/Gn(Cn+"-0")!=-1/0?function(e){var t=In(String(e),3),n=Gn(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Gn;le(le.S+le.F*(Number.parseFloat!=Vn),"Number",{parseFloat:Vn});var Un,Hn,qn,Wn=parseFloat,$n=t(n(function(e){e.exports={default:Wn,__esModule:!0}})),Kn=p(function(e){return e}),Qn=n(function(e){var t={},n={},r=e.exports=function(e,r,i,o,a){var s,u,c,f,l=a?function(){return e}:vt(e),d=Q(i,o,r?2:1),p=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(ct(l)){for(s=_e(e.length);s>p;p++)if((f=r?d(Y(u=e[p])[0],u[1]):d(e[p]))===t||f===n)return f}else for(c=l.call(e);!(u=c.next()).done;)if((f=at(c,d,u.value,r))===t||f===n)return f};r.BREAK=t,r.RETURN=n}),Xn=qe("species"),Yn=function(e,t){var n,r=Y(e).constructor;return void 0===r||void 0==(n=Y(r)[Xn])?t:K(n)},Zn=W.process,Jn=W.setImmediate,er=W.clearImmediate,tr=W.MessageChannel,nr=W.Dispatch,rr=0,ir={},or="onreadystatechange",ar=function(){var e=+this;if(ir.hasOwnProperty(e)){var t=ir[e];delete ir[e],t()}},sr=function(e){ar.call(e.data)};Jn&&er||(Jn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return ir[++rr]=function(){!function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}e.apply(n,t)}("function"==typeof e?e:Function(e),t)},Un(rr),rr},er=function(e){delete ir[e]},"process"==ge(Zn)?Un=function(e){Zn.nextTick(Q(ar,e,1))}:nr&&nr.now?Un=function(e){nr.now(Q(ar,e,1))}:tr?(qn=(Hn=new tr).port2,Hn.port1.onmessage=sr,Un=Q(qn.postMessage,qn,1)):W.addEventListener&&"function"==typeof postMessage&&!W.importScripts?(Un=function(e){W.postMessage(e+"","*")},W.addEventListener("message",sr,!1)):Un=or in ne("script")?function(e){ze.appendChild(ne("script"))[or]=function(){ze.removeChild(this),ar.call(e)}}:function(e){setTimeout(Q(ar,e,1),0)});var ur,cr,fr,lr,dr={set:Jn,clear:er},pr=dr.set,hr=W.MutationObserver||W.WebKitMutationObserver,vr=W.process,mr=W.Promise,gr="process"==ge(vr),wr={f:function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=K(t),this.reject=K(n)}(e)}},yr=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},br=function(e,t){if(Y(e),X(t)&&t.constructor===e)return t;var n=wr.f(e);return(0,n.resolve)(t),n.promise},_r=qe("species"),Er=dr.set,Sr=function(){var e,t,n,r=function(){var r,i;for(gr&&(r=vr.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(gr)n=function(){vr.nextTick(r)};else if(!hr||W.navigator&&W.navigator.standalone)if(mr&&mr.resolve){var i=mr.resolve();n=function(){i.then(r)}}else n=function(){pr.call(W,r)};else{var o=!0,a=document.createTextNode("");new hr(r).observe(a,{characterData:!0}),n=function(){a.data=o=!o}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),Ar="Promise",Or=W.TypeError,kr=W.process,xr=W[Ar],Tr="process"==pt(kr),jr=function(){},Nr=cr=wr.f,Mr=!!function(){try{var e=xr.resolve(1),t=(e.constructor={})[qe("species")]=function(e){e(jr,jr)};return(Tr||"function"==typeof PromiseRejectionEvent)&&e.then(jr)instanceof t}catch(e){}}(),Lr=function(e){var t;return!(!X(e)||"function"!=typeof(t=e.then))&&t},Cr=function(e,t){if(!e._n){e._n=!0;var n=e._c;Sr(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a=i?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(i||(2==e._h&&Fr(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(Or("Promise-chain cycle")):(o=Lr(n))?o.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&Pr(e)})}},Pr=function(e){Er.call(W,function(){var t,n,r,i=e._v,o=Rr(e);if(o&&(t=yr(function(){Tr?kr.emit("unhandledRejection",i,e):(n=W.onunhandledrejection)?n({promise:e,reason:i}):(r=W.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=Tr||Rr(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},Rr=function(e){return 1!==e._h&&0===(e._a||e._c).length},Fr=function(e){Er.call(W,function(){var t;Tr?kr.emit("rejectionHandled",e):(t=W.onrejectionhandled)&&t({promise:e,reason:e._v})})},Br=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Cr(t,!0))},Dr=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Or("Promise can't be resolved itself");(t=Lr(e))?Sr(function(){var r={_w:n,_d:!1};try{t.call(e,Q(Dr,r,1),Q(Br,r,1))}catch(e){Br.call(r,e)}}):(n._v=e,n._s=1,Cr(n,!1))}catch(e){Br.call({_w:n,_d:!1},e)}}};Mr||(xr=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,xr,Ar,"_h"),K(e),ur.call(this);try{e(Q(Dr,this,1),Q(Br,this,1))}catch(e){Br.call(this,e)}},(ur=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:ue(e,r,t[r]);return e}(xr.prototype,{then:function(e,t){var n=Nr(Yn(this,xr));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Tr?kr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Cr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),fr=function(){var e=new ur;this.promise=e,this.resolve=Q(Dr,e,1),this.reject=Q(Br,e,1)},wr.f=Nr=function(e){return e===xr||e===lr?new fr(e):cr(e)}),le(le.G+le.W+le.F*!Mr,{Promise:xr}),Ke(xr,Ar),function(e){var t="function"==typeof $[e]?$[e]:W[e];J&&t&&!t[_r]&&ae.f(t,_r,{configurable:!0,get:function(){return this}})}(Ar),lr=$[Ar],le(le.S+le.F*!Mr,Ar,{reject:function(e){var t=Nr(this);return(0,t.reject)(e),t.promise}}),le(le.S+!0*le.F,Ar,{resolve:function(e){return br(this===lr?xr:this,e)}}),le(le.S+le.F*!(Mr&&wt(function(e){xr.all(e).catch(jr)})),Ar,{all:function(e){var t=this,n=Nr(t),r=n.resolve,i=n.reject,o=yr(function(){var n=[],o=0,a=1;Qn(e,!1,function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=Nr(t),r=n.reject,i=yr(function(){Qn(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),le(le.P+le.R,"Promise",{finally:function(e){var t=Yn(this,$.Promise||W.Promise),n="function"==typeof e;return this.then(n?function(n){return br(t,e()).then(function(){return n})}:e,n?function(n){return br(t,e()).then(function(){throw n})}:e)}}),le(le.S,"Promise",{try:function(e){var t=wr.f(this),n=yr(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}});var zr=$.Promise,Gr=t(n(function(e){e.exports={default:zr,__esModule:!0}})),Ir="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Vr=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,17)},Ur=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame||function(e){clearTimeout(e)},Hr=t(n(function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}));le(le.S+le.F*!J,"Object",{defineProperty:ae.f});var qr=$.Object,Wr=function(e,t,n){return qr.defineProperty(e,t,n)},$r=n(function(e){e.exports={default:Wr,__esModule:!0}});t($r);var Kr=t(n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}($r);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,n.default)(e,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()})),Qr=Object.assign,Xr=!Qr||Z(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Qr({},e)[n]||Object.keys(Qr({},t)).join("")!=r})?function(e,t){for(var n=Xe(e),r=arguments.length,i=1,o=Ft.f,a=Bt.f;r>i;)for(var s,u=we(arguments[i++]),c=o?Fe(u).concat(o(u)):Fe(u),f=c.length,l=0;f>l;)a.call(u,s=c[l++])&&(n[s]=u[s]);return n}:Qr;le(le.S+le.F,"Object",{assign:Xr});var Yr=$.Object.assign,Zr=t(n(function(e){e.exports={default:Yr,__esModule:!0}}));le(le.S,"Object",{create:He});var Jr=$.Object,ei=function(e,t){return Jr.create(e,t)},ti=t(n(function(e){e.exports={default:ei,__esModule:!0}})),ni=ti(null);ni.count=0;var ri=function(){function e(t,n){var r=this;if(Hr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":xn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}return Kr(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return b(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return _(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return y(this.__target,e,{data:t}),this}}]),e}(),ii=ti(null);ii.count=0;(function(){function e(t,n){var r=this;if(Hr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,t){if("object"!==(void 0===t?"undefined":xn(t)))throw new Error("CusEvent target are not object");this.__target=t,n&&["on","once","off","emit"].forEach(function(e){t[e]=r[e]})}}Kr(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return S(this.__target,e,t,n),this}},{key:"once",value:function(e,t){return this.on(e,t,!0)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return A(this.__target,e,t,n),this}},{key:"emit",value:function(e,t){return function(e,t,n){var r=ti(null);r.type=t,r.target=e,n&&Zr(r,a(n)?n:{data:n}),E(e,t).forEach(function(t){(t[1]||t[0]).apply(e,[r])})}(this.__target,e,{data:t}),this}}])})(),"undefined"!=typeof window&&Object.prototype.toString.call(window);var oi=document.createElement("div"),ai="innerText";"textContent"in oi&&(ai="textContent");var si=Array.prototype;e.supportsPassive=!1;try{var ui=Object.defineProperty({},"passive",{get:function(){e.supportsPassive=!0}});window.addEventListener("test",null,ui)}catch(e){}var ci=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;Hr(this,e);this.selector=t;var r=void 0;t&&t.constructor===NodeList?r=function(e){return _t(e)}(t):i(t)?r=t:c(t)?0===t.indexOf("<")?(oi.innerHTML=t,r=F("*",oi,!0)):r=F(t,n,!0):r=[t],Zr(this,r),this.length=r.length}return Kr(e,[{key:"each",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return si.forEach.apply(this,t),this}},{key:"push",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return si.push.apply(this,t),this}},{key:"splice",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return z(si.splice.apply(this,t))}},{key:"find",value:function(e){var t=[];this.each(function(n){t=t.concat(F(e,n,!0))});var n=z(t);return n.parent=this,n.selector=e,n}},{key:"append",value:function(e){var t=z(e),n=this[0];return t.each(function(e){return n.appendChild(e)}),this}},{key:"appendTo",value:function(e){return z(e).append(this),this}},{key:"text",value:function(e){return 0===arguments.length?this[0][ai]:this.each(function(t){t[ai]=e})}},{key:"html",value:function(e){return 0===arguments.length?this[0].innerHTML:this.each(function(t){t.innerHTML=e})}},{key:"attr",value:function(e,t){return 1===arguments.length?O(this[0],e):this.each(function(n){return k(n,e,t)})}},{key:"data",value:function(e,t){return 0===arguments.length?this[0].dataset||{}:1===arguments.length?(this[0].dataset||{})[e]:this.each(function(n){(n.dataset||(n.dataset={}))[e]=t})}},{key:"css",value:function(e,t){return 1!==arguments.length||a(e)?this.each(function(n){return R(n,e,t)}):P(this[0],e)}},{key:"addClass",value:function(e){return this.each(function(t){return x(t,e)})}},{key:"removeClass",value:function(e){return this.each(function(t){return T(t,e)})}},{key:"hasClass",value:function(e){return j(this[0],e)}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return M(i,e,t,n,r)})}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return N(i,e,t,n,r)})}},{key:"delegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return L(i,e,t,n,r)})}},{key:"undelegate",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return C(i,e,t,n,r)})}},{key:"remove",value:function(){return this.each(function(e){return B(e)})}}]),e}(),fi=function(){function e(){Hr(this,e)}return Kr(e,null,[{key:"error",value:function(t,n){e.ENABLE_ERROR&&(console.error||console.warn||console.log)(G(t,n))}},{key:"info",value:function(t,n){e.ENABLE_INFO&&(console.info||console.log)(G(t,n))}},{key:"warn",value:function(t,n){e.ENABLE_WARN&&(console.warn||console.log)(G(t,n))}},{key:"debug",value:function(t,n){e.ENABLE_DEBUG&&(console.debug||console.log)(G(t,n))}},{key:"verbose",value:function(t,n){e.ENABLE_VERBOSE&&console.log(G(t,n))}}]),e}();fi.GLOBAL_TAG="chimee",fi.FORCE_GLOBAL_TAG=!1,fi.ENABLE_ERROR=!0,fi.ENABLE_INFO=!0,fi.ENABLE_WARN=!0,fi.ENABLE_DEBUG=!0,fi.ENABLE_VERBOSE=!0;var li=n(function(e,t){!function(n,r){var i="model",o="name",a="type",s="vendor",u="version",c="architecture",f="console",l="mobile",d="tablet",p="smarttv",h=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},v=function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},m=function(e){return e.toLowerCase()},g=function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:r},w=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},y={rgx:function(e,t){for(var n,i,o,a,s,u,c=0;c<t.length&&!s;){var f=t[c],l=t[c+1];for(n=i=0;n<f.length&&!s;)if(s=f[n++].exec(e))for(o=0;o<l.length;o++)u=s[++i],"object"==typeof(a=l[o])&&a.length>0?2==a.length?"function"==typeof a[1]?this[a[0]]=a[1].call(this,u):this[a[0]]=a[1]:3==a.length?"function"!=typeof a[1]||a[1].exec&&a[1].test?this[a[0]]=u?u.replace(a[1],a[2]):r:this[a[0]]=u?a[1].call(this,u,a[2]):r:4==a.length&&(this[a[0]]=u?a[3].call(this,u.replace(a[1],a[2])):r):this[a]=u||r;c+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(v(t[n][i],e))return"?"===n?r:n}else if(v(t[n],e))return"?"===n?r:n;return e}},b={oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},_={amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},E={windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"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"}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,u],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],u],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],u],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[o,u],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],u],[/(edge)\/((\d+)?[\w\.]+)/i],[o,u],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],u],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],u],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],u],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],u],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],u],[/(QQ)\/([\d\.]+)/i],[o,u],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[u,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[u,[o,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[u,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],u],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],u],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[u,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,u],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],u],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],u],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],u],[/fxios\/([\w\.-]+)/i],[u,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[u,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[u,o],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[o,"GSA"],u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[u,y.str,b.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,u],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],u],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,u]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[c,"amd64"]],[/(ia32(?=;))/i],[[c,m]],[/((?:i[346]|x)86)[;\)]/i],[[c,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[c,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[c,/ower/,"",m]],[/(sun4\w)[;\)]/i],[[c,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[c,m]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[i,s,[a,d]],[/applecoremedia\/[\w\.]+ \((ipad)/],[i,[s,"Apple"],[a,d]],[/(apple\s{0,1}tv)/i],[[i,"Apple TV"],[s,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[s,i,[a,d]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[i,[s,"Amazon"],[a,d]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[i,y.str,_.amazon.model],[s,"Amazon"],[a,l]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[i,s,[a,l]],[/\((ip[honed|\s\w*]+);/i],[i,[s,"Apple"],[a,l]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[s,i,[a,l]],[/\(bb10;\s(\w+)/i],[i,[s,"BlackBerry"],[a,l]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[i,[s,"Asus"],[a,d]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[s,"Sony"],[i,"Xperia Tablet"],[a,d]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[i,[s,"Sony"],[a,l]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[s,i,[a,f]],[/android.+;\s(shield)\sbuild/i],[i,[s,"Nvidia"],[a,f]],[/(playstation\s[34portablevi]+)/i],[i,[s,"Sony"],[a,f]],[/(sprint\s(\w+))/i],[[s,y.str,_.sprint.vendor],[i,y.str,_.sprint.model],[a,l]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[s,i,[a,d]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[s,[i,/_/g," "],[a,l]],[/(nexus\s9)/i],[i,[s,"HTC"],[a,d]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[i,[s,"Huawei"],[a,l]],[/(microsoft);\s(lumia[\s\w]+)/i],[s,i,[a,l]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[i,[s,"Microsoft"],[a,f]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[s,"Microsoft"],[a,l]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[i,[s,"Motorola"],[a,l]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[i,[s,"Motorola"],[a,d]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[s,w],[i,w],[a,p]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[s,"Samsung"],[a,p]],[/\(dtv[\);].+(aquos)/i],[i,[s,"Sharp"],[a,p]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[s,"Samsung"],i,[a,d]],[/smart-tv.+(samsung)/i],[s,[a,p],i],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[s,"Samsung"],i,[a,l]],[/sie-(\w+)*/i],[i,[s,"Siemens"],[a,l]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[s,"Nokia"],i,[a,l]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[i,[s,"Acer"],[a,d]],[/android.+([vl]k\-?\d{3})\s+build/i],[i,[s,"LG"],[a,d]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[s,"LG"],i,[a,d]],[/(lg) netcast\.tv/i],[s,i,[a,p]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[i,[s,"LG"],[a,l]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[i,[s,"Lenovo"],[a,d]],[/linux;.+((jolla));/i],[s,i,[a,l]],[/((pebble))app\/[\d\.]+\s/i],[s,i,[a,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[s,i,[a,l]],[/crkey/i],[[i,"Chromecast"],[s,"Google"]],[/android.+;\s(glass)\s\d/i],[i,[s,"Google"],[a,"wearable"]],[/android.+;\s(pixel c)\s/i],[i,[s,"Google"],[a,d]],[/android.+;\s(pixel xl|pixel)\s/i],[i,[s,"Google"],[a,l]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[i,/_/g," "],[s,"Xiaomi"],[a,l]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[i,/_/g," "],[s,"Xiaomi"],[a,d]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[i,[s,"Meizu"],[a,d]],[/android.+a000(1)\s+build/i],[i,[s,"OnePlus"],[a,l]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[i,[s,"RCA"],[a,d]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[i,[s,"Dell"],[a,d]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[i,[s,"Verizon"],[a,d]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[s,"Barnes & Noble"],i,[a,d]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[i,[s,"NuVision"],[a,d]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[s,"ZTE"],i,[a,d]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[i,[s,"Swiss"],[a,l]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[i,[s,"Swiss"],[a,d]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[i,[s,"Zeki"],[a,d]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[s,"Dragon Touch"],i,[a,d]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[i,[s,"Insignia"],[a,d]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[i,[s,"NextBook"],[a,d]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[s,"Voice"],i,[a,l]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[s,"LvTel"],i,[a,l]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[i,[s,"Envizen"],[a,d]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[s,i,[a,d]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[i,[s,"MachSpeed"],[a,d]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[s,i,[a,d]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[i,[s,"Rotor"],[a,d]],[/android.+(KS(.+))\s+build/i],[i,[s,"Amazon"],[a,d]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[s,i,[a,d]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[a,m],s,i],[/(android.+)[;\/].+build/i],[i,[s,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[u,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,u],[/rv\:([\w\.]+).*(gecko)/i],[u,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,u],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[u,y.str,E.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[u,y.str,E.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],u],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[o,u],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[o,"Symbian"],u],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],u],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[o,u],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],u],[/(sunos)\s?([\w\.]+\d)*/i],[[o,"Solaris"],u],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[o,u],[/(haiku)\s(\w+)/i],[o,u],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[u,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[u,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[o,u]]},A=function(e,t){if("object"==typeof e&&(t=e,e=r),!(this instanceof A))return new A(e,t).getResult();var i=e||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),o=t?h(S,t):S;return this.getBrowser=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.browser),e.major=g(e.version),e},this.getCPU=function(){var e={architecture:r};return y.rgx.call(e,i,o.cpu),e},this.getDevice=function(){var e={vendor:r,model:r,type:r};return y.rgx.call(e,i,o.device),e},this.getEngine=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.engine),e},this.getOS=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.os),e},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 i},this.setUA=function(e){return i=e,this},this};A.VERSION="0.7.17",A.BROWSER={NAME:o,MAJOR:"major",VERSION:u},A.CPU={ARCHITECTURE:c},A.DEVICE={MODEL:i,VENDOR:s,TYPE:a,CONSOLE:f,MOBILE:l,SMARTTV:p,TABLET:d,WEARABLE:"wearable",EMBEDDED:"embedded"},A.ENGINE={NAME:o,VERSION:u},A.OS={NAME:o,VERSION:u},e.exports&&(t=e.exports=A),t.UAParser=A;var O=n&&(n.jQuery||n.Zepto);if(void 0!==O){var k=new A;O.ua=k.getResult(),O.ua.get=function(){return k.getUA()},O.ua.set=function(e){k.setUA(e);var t=k.getResult();for(var n in t)O.ua[n]=t[n]}}}("object"==typeof window?window:I)});li.UAParser;e.Log=fi,e.UAParser=li,e.genTraversalHandler=p,e.deepClone=function(e){if(l(e))throw new TypeError("deepClone only accept non primitive type");return Kn(e)},e.deepAssign=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length<2)throw new Error("deepAssign accept two and more argument");for(var r=t.length-1;r>-1;r--)if(l(t[r]))throw new TypeError("deepAssign only accept non primitive type");var i=t.shift();return t.forEach(function(e){return Kn(e,i)}),i},e.camelize=h,e.hypenate=function(e){return h(e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},e.bind=function(e,t){return e.bind?e.bind(t):e.apply?function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.apply(t,r)}:function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.call.apply(e,[t].concat(Et(r)))}},e.uuid=function(){return v()+v()+"-"+v()+"-"+v()+"-"+v()+"-"+v()+v()+v()},e.S4=v,e.rand=function(e){for(var t="";t.length<e;)t+=v();return t.slice(0,e)},e.getDeepProperty=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.throwError,a=void 0!==o&&o,s=n.backup;if(c(t)&&(t=t.split(".")),!i(t))throw new TypeError("keys of getDeepProperty must be string or Array<string>");for(var u=[],f=e,l=0,d=t.length;l<d;l++){var p=t[l];if(r(f)){if(a)throw new Error("obj"+(u.length>0?"."+u.join("."):" itself")+" is "+f);return s}f=f[p],u.push(p)}return f},e.defined=function(e){return void 0!==e},e.isVoid=r,e.isArray=i,e.isFunction=o,e.isObject=a,e.isNumber=s,e.isNumeric=function(e){return!i(e)&&e-$n(e)+1>=0},e.isInteger=function(e){return Ln(e)},e.isEmpty=function(e){return i(e)?0===e.length:a(e)?0===jn(e).length:!e},e.isEvent=function(e){return e instanceof Event||(e&&e.originalEvent)instanceof Event},e.isBlob=u,e.isFile=function(e){return u(e)&&c(e.name)},e.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.isString=c,e.isBoolean=f,e.isPromise=function(e){return!!e&&("object"===(void 0===e?"undefined":xn(e))||"function"==typeof e)&&"function"==typeof e.then},e.isPrimitive=l,e.isUrl=function(e){return c(e)&&!!e.match(/^((https?|ftp|rtsp|mms):\/\/)(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6}|localhost)(:[0-9]{1,4})?((\/?)|(\/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+\/?)$/i)},e.isNode=d,e.isElement=function(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":xn(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":xn(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)},e.isChildNode=function(e,t){return!(!d(e)||!d(t))&&t.parentNode===e},e.isPosterityNode=function(e,t){if(!d(e)||!d(t))return!1;for(;t.parentNode;)if((t=t.parentNode)===e)return!0;return!1},e.isHTMLString=function(e){return/<[^>]+?>/.test(e)},e.isError=function(e){return e instanceof Error},e.isRegExp=function(e){return e instanceof RegExp},e.inBrowser=Ir,e.makeArray=function(e){return _t(e)},e.transObjectAttrIntoArray=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return+e-+t};return jn(e).sort(t).reduce(function(t,n){return t.concat(e[n])},[])},e.runRejectableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new Gr(function(t,r){!function i(a){if(!(a>=e.length)){var s=o(e[a])?e[a].apply(e,Et(n)):e[a];return!1===s?r("stop"):Gr.resolve(s).then(function(){return i(a+1)}).catch(function(e){return r(e||"stop")})}t()}(0)})},e.runStoppableQueue=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function t(r){return r>=e.length||!1!==(o(e[r])?e[r].apply(e,Et(n)):e[r])&&t(++r)}(0)},e.decodeUTF8=function(e){for(var t=[],n=e,r=0,i=e.length;r<i;)if(n[r]<128)t.push(String.fromCharCode(n[r])),++r;else{if(n[r]<192);else if(n[r]<224){if(m(n,r,1)){var o=(31&n[r])<<6|63&n[r+1];if(o>=128){t.push(String.fromCharCode(65535&o)),r+=2;continue}}}else if(n[r]<240){if(m(n,r,2)){var a=(15&n[r])<<12|(63&n[r+1])<<6|63&n[r+2];if(a>=2048&&55296!=(63488&a)){t.push(String.fromCharCode(65535&a)),r+=3;continue}}}else if(n[r]<248&&m(n,r,3)){var s=(7&n[r])<<18|(63&n[r+1])<<12|(63&n[r+2])<<6|63&n[r+3];if(s>65536&&s<1114112){s-=65536,t.push(String.fromCharCode(s>>>10|55296)),t.push(String.fromCharCode(1023&s|56320)),r+=4;continue}}t.push(String.fromCharCode(65533)),++r}return t.join("")},e.debounce=function(e,t,n){var r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,u=function u(){var c=new Date-a;c<t&&c>=0?r=setTimeout(u,t-c):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=new Date;var c=n&&!r;return r||(r=setTimeout(u,t)),c&&(s=e.apply(o,i),o=i=null),s}},e.throttle=function(e,t,n,r){var i=void 0,o=void 0,a=void 0,s=null,u=0;n||(n={});var c=function(){u=!1===n.leading?0:new Date-0,s=null,a=e.apply(i,o),s||(i=o=null)};return t=t||0,function(){var f=new Date;u||!1!==n.leading||(u=f);var l=t-(f-u);return i=r||this,o=arguments,l<=0||l>t?(s&&(clearTimeout(s),s=null),u=f,a=e.apply(i,o),s||(i=o=null)):s||!1===n.trailing||(s=setTimeout(c,l)),a}},e.raf=Vr,e.caf=Ur,e.strRepeat=g,e.formatTime=function(e){var t=Math.floor(e/3600);e=Math.floor(e%3600);var n=g(Math.floor(e/60),2),r=g(e=Math.floor(e%60),2);return t>=1?t+":"+n+":"+r:n+":"+r},e.appendCSS=function(e){var t=document,n=t.querySelector("style");if(!n){n=t.createElement("style");var r=t.querySelector("head");r&&r.appendChild(n)}return n.appendChild(t.createTextNode(e)),n},e.formatDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss.i",n=e.getFullYear().toString(),r={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),i:e.getMilliseconds()};t=t.replace(/(y+)/gi,function(e,t){return n.substr(4-Math.min(4,t.length))});var i=function(e){t=t.replace(new RegExp("("+e+"+)","g"),function(t,n){return(r[e]<10&&n.length>1?"0":"")+r[e]})};for(var o in r)i(o);return t},e.getLocalStorage=function(e){try{return window.localStorage.getItem(e)}catch(n){try{var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return i(t)?unescape(t[2]):""}catch(e){return""}}},e.setLocalStorage=function(e,t){try{window.localStorage.setItem(e,t)}catch(r){var n=new Date;n.setTime(n.getTime()+2592e7);try{document.cookie=e+"="+escape(t)+";expires="+n.toUTCString()+";path=/;"}catch(e){}}},e.emitEventCache=y,e.addEventCache=b,e.removeEventCache=_,e.CustEvent=ri,e.getAttr=O,e.setAttr=k,e.addClassName=x,e.removeClassName=T,e.hasClassName=j,e.removeEvent=N,e.addEvent=M,e.addDelegate=L,e.removeDelegate=C,e.getStyle=P,e.setStyle=R,e.query=F,e.removeEl=B,e.findParents=D,e.$=z,e.NodeWrap=ci,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.chimeeHelper={})}(this,function(e){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,n){return n={exports:{}},e(n,n.exports),n.exports}function r(e){return void 0===e||null===e}function i(e){return Array.isArray(e)}function o(e){return"function"==typeof e}function s(e){return Object(e)===e&&"[object Object]"===String(e)&&!o(e)&&!i(e)}function a(e){return"number"==typeof e}function u(e){return e instanceof Blob}function c(e){return"string"==typeof e||e instanceof String}function f(e){return"boolean"==typeof e}function l(e){return r(e)||f(e)||c(e)||a(e)}function d(e){return!!("object"===("undefined"==typeof Node?"undefined":Ot(Node))?e instanceof Node:e&&"object"===(void 0===e?"undefined":Ot(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}function p(e){function n(r,o,a){if(i(r)||s(r)){o=l(o)?s(r)?{}:[]:o;for(var u in r)t(o,u,n(r[u],o[u],u));return o}return e(r,o,a)}var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,n,t){e[n]=t};return n}function h(e,n){return e.replace(/(^|[^a-zA-Z]+)([a-zA-Z])/g,function(e,t,r,i){return n||0!==i?r.toUpperCase():r.toLowerCase()})}function v(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function m(e){return bn(e)}function w(e,n,t){var r=e;if(n+t<r.length){for(;t--;)if(128!=(192&r[++n]))return!1;return!0}return!1}function g(e,n){var t=n,r=(e=""+(e||"")).length;return(((n=(n||r)-r)>0?e.repeat?"0".repeat(n):new Array(n+1).join("0"):"")+e).slice(0,t)}function y(e,n){var t=e.__evt_id;t||(Object.defineProperty(e,"__evt_id",{writable:!0,enumerable:!1,configurable:!0}),t=e.__evt_id=++ei.count);var r=t+"_"+n,i=ei[r];return i||(i=ei[r]=[]),i}function b(e,n,t){var r=Jr(null);r.type=n,r.target=e,t&&Xr(r,s(t)?t:{data:t}),y(e,n).forEach(function(n){(n[1]||n[0]).apply(e,[r])})}function _(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments[4];o(r)&&!i&&(i=r,r=void 0);var s=[t,void 0,r];r&&!i&&(i=function(){E(e,n,t,r);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];t.apply(e,o)}),i&&(s[1]=i),y(e,n).push(s)}function E(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=y(e,n);if(t||r){var o=-1,s=void 0;return i.find(function(e,n){if((!t||e[0]===t)&&(!r||e[2]))return o=n,s=e[1],!0}),-1!==o&&i.splice(o,1),s}i.length=0}function S(e,n){return e.getAttribute(n)}function A(e,n,t){void 0===t?e.removeAttribute(n):e.setAttribute(n,t)}function O(e,n){if(n&&(n=n.trim())){var t=n.split(/\s+/);if(e.classList)t.forEach(function(n){return e.classList.add(n)});else{var r=" "+(e.className||"")+" ";t.forEach(function(e){-1===r.indexOf(" "+e+" ")&&(r+=" "+e)}),e.className=r.trim()}}}function k(e,n){if(n&&(n=n.trim())){var t=n.split(/\s+/);if(e.classList)t.forEach(function(n){return e.classList.remove(n)});else{var r=" "+e.className+" ";t.forEach(function(e){for(var n=" "+e+" ";-1!==r.indexOf(n);)r=r.replace(n," ")}),e.className=r.trim()}}}function x(e,n){return new RegExp("(?:^|\\s)"+n+"(?=\\s|$)").test(e.className)}function T(n,t,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0}),i){var s=E(n,t+"_once",r);s&&(r=s)}n.removeEventListener(t,r,o)}function j(n,t,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0}),i){var s=r;_(n,t+"_once",s,r=function(){for(var e=arguments.length,a=Array(e),u=0;u<e;u++)a[u]=arguments[u];s.apply(this,a),T(n,t,r,i,o)})}n.addEventListener(t,r,o)}function N(n,t,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0});var s=function(e){var r=F(e.target||e.srcElement,n,!0),o=P(t,n,!0),s=void 0;o.find?s=o.find(function(e){return r.find(function(n){return e===n})}):o.forEach(function(e){return!s&&r.forEach(function(n){s||e!==n||(s=n)})}),s&&i.apply(s,arguments)};_(n,r+"_delegate_"+t,i,s),n.addEventListener(r,s,o)}function M(n,t,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];void 0!==o&&!f(o)&&e.supportsPassive&&(o={passive:!0});var s=E(n,r+"_delegate_"+t,i);s&&n.removeEventListener(r,s,o)}function L(e,n){return(e.currentStyle||document.defaultView.getComputedStyle(e,null))[n]||e.style[n]}function C(e,n,t){if(s(n))for(var r in n)C(e,r,n[r]);else e.style[n]=t}function P(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,t=arguments[2],r=n.querySelectorAll(e);return t?bn(r):r}function R(e){e.parentNode.removeChild(e)}function F(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments[2],r=arguments[3],i=[];for(t&&i.push(e);e&&e.parentNode!==n;)(e=e.parentNode)&&i.push(e);return r&&i.push(n),i}function B(e,n){return e.constructor===si?e:new si(e,n)}function D(e,n){if(!c(e))throw new TypeError("Log's method only acccept string as argument, but not "+e+" in "+(void 0===e?"undefined":Ot(e)));return c(n)?"["+(e=ai.FORCE_GLOBAL_TAG?ai.GLOBAL_TAG:e||ai.GLOBAL_TAG)+"] > "+n:"["+ai.GLOBAL_TAG+"] > "+e}var z="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},G=Math.ceil,I=Math.floor,V=function(e){return isNaN(e=+e)?0:(e>0?I:G)(e)},U=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},H=t(function(e){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),q=t(function(e){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)}),W=(q.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),$=function(e,n,t){if(W(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,i){return e.call(n,t,r,i)}}return function(){return e.apply(n,arguments)}},K=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Q=function(e){if(!K(e))throw TypeError(e+" is not an object!");return e},X=function(e){try{return!!e()}catch(e){return!0}},Y=!X(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),Z=H.document,J=K(Z)&&K(Z.createElement),ee=function(e){return J?Z.createElement(e):{}},ne=!Y&&!X(function(){return 7!=Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a}),te=function(e,n){if(!K(e))return e;var t,r;if(n&&"function"==typeof(t=e.toString)&&!K(r=t.call(e)))return r;if("function"==typeof(t=e.valueOf)&&!K(r=t.call(e)))return r;if(!n&&"function"==typeof(t=e.toString)&&!K(r=t.call(e)))return r;throw TypeError("Can't convert object to primitive value")},re=Object.defineProperty,ie={f:Y?Object.defineProperty:function(e,n,t){if(Q(e),n=te(n,!0),Q(t),ne)try{return re(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},oe=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}},se=Y?function(e,n,t){return ie.f(e,n,oe(1,t))}:function(e,n,t){return e[n]=t,e},ae="prototype",ue=function(e,n,t){var r,i,o,s=e&ue.F,a=e&ue.G,u=e&ue.S,c=e&ue.P,f=e&ue.B,l=e&ue.W,d=a?q:q[n]||(q[n]={}),p=d[ae],h=a?H:u?H[n]:(H[n]||{})[ae];a&&(t=n);for(r in t)(i=!s&&h&&void 0!==h[r])&&r in d||(o=i?h[r]:t[r],d[r]=a&&"function"!=typeof h[r]?t[r]:f&&i?$(o,H):l&&h[r]==o?function(e){var n=function(n,t,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,t)}return new e(n,t,r)}return e.apply(this,arguments)};return n[ae]=e[ae],n}(o):c&&"function"==typeof o?$(Function.call,o):o,c&&((d.virtual||(d.virtual={}))[r]=o,e&ue.R&&p&&!p[r]&&se(p,r,o)))};ue.F=1,ue.G=2,ue.S=4,ue.P=8,ue.B=16,ue.W=32,ue.U=64,ue.R=128;var ce=ue,fe=se,le={}.hasOwnProperty,de=function(e,n){return le.call(e,n)},pe={},he={}.toString,ve=function(e){return he.call(e).slice(8,-1)},me=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ve(e)?e.split(""):Object(e)},we=function(e){return me(U(e))},ge=Math.min,ye=function(e){return e>0?ge(V(e),9007199254740991):0},be=Math.max,_e=Math.min,Ee="__core-js_shared__",Se=H[Ee]||(H[Ee]={}),Ae=function(e){return Se[e]||(Se[e]={})},Oe=0,ke=Math.random(),xe=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Oe+ke).toString(36))},Te=Ae("keys"),je=function(e){return Te[e]||(Te[e]=xe(e))},Ne=function(e){return function(n,t,r){var i,o=we(n),s=ye(o.length),a=function(e,n){return(e=V(e))<0?be(e+n,0):_e(e,n)}(r,s);if(e&&t!=t){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((e||a in o)&&o[a]===t)return e||a||0;return!e&&-1}}(!1),Me=je("IE_PROTO"),Le=function(e,n){var t,r=we(e),i=0,o=[];for(t in r)t!=Me&&de(r,t)&&o.push(t);for(;n.length>i;)de(r,t=n[i++])&&(~Ne(o,t)||o.push(t));return o},Ce="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Pe=Object.keys||function(e){return Le(e,Ce)},Re=Y?Object.defineProperties:function(e,n){Q(e);for(var t,r=Pe(n),i=r.length,o=0;i>o;)ie.f(e,t=r[o++],n[t]);return e},Fe=H.document,Be=Fe&&Fe.documentElement,De=je("IE_PROTO"),ze=function(){},Ge="prototype",Ie=function(){var e,n=ee("iframe"),t=Ce.length;for(n.style.display="none",Be.appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),Ie=e.F;t--;)delete Ie[Ge][Ce[t]];return Ie()},Ve=Object.create||function(e,n){var t;return null!==e?(ze[Ge]=Q(e),t=new ze,ze[Ge]=null,t[De]=e):t=Ie(),void 0===n?t:Re(t,n)},Ue=t(function(e){var n=Ae("wks"),t=H.Symbol,r="function"==typeof t;(e.exports=function(e){return n[e]||(n[e]=r&&t[e]||(r?t:xe)("Symbol."+e))}).store=n}),He=ie.f,qe=Ue("toStringTag"),We=function(e,n,t){e&&!de(e=t?e:e.prototype,qe)&&He(e,qe,{configurable:!0,value:n})},$e={};se($e,Ue("iterator"),function(){return this});var Ke=function(e){return Object(U(e))},Qe=je("IE_PROTO"),Xe=Object.prototype,Ye=Object.getPrototypeOf||function(e){return e=Ke(e),de(e,Qe)?e[Qe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xe:null},Ze=Ue("iterator"),Je=!([].keys&&"next"in[].keys()),en="values",nn=function(){return this},tn=function(e,n,t,r,i,o,s){!function(e,n,t){e.prototype=Ve($e,{next:oe(1,t)}),We(e,n+" Iterator")}(t,n,r);var a,u,c,f=function(e){if(!Je&&e in h)return h[e];switch(e){case"keys":case en:return function(){return new t(this,e)}}return function(){return new t(this,e)}},l=n+" Iterator",d=i==en,p=!1,h=e.prototype,v=h[Ze]||h["@@iterator"]||i&&h[i],m=!Je&&v||f(i),w=i?d?f("entries"):m:void 0,g="Array"==n?h.entries||v:v;if(g&&(c=Ye(g.call(new e)))!==Object.prototype&&c.next&&We(c,l,!0),d&&v&&v.name!==en&&(p=!0,m=function(){return v.call(this)}),s&&(Je||p||!h[Ze])&&se(h,Ze,m),pe[n]=m,pe[l]=nn,i)if(a={values:d?m:f(en),keys:o?m:f("keys"),entries:w},s)for(u in a)u in h||fe(h,u,a[u]);else ce(ce.P+ce.F*(Je||p),n,a);return a},rn=function(e){return function(n,t){var r,i,o=String(U(n)),s=V(t),a=o.length;return s<0||s>=a?e?"":void 0:(r=o.charCodeAt(s))<55296||r>56319||s+1===a||(i=o.charCodeAt(s+1))<56320||i>57343?e?o.charAt(s):r:e?o.slice(s,s+2):i-56320+(r-55296<<10)+65536}}(!0);tn(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,n=this._t,t=this._i;return t>=n.length?{value:void 0,done:!0}:(e=rn(n,t),this._i+=e.length,{value:e,done:!1})});var on=function(e,n,t,r){try{return r?n(Q(t)[0],t[1]):n(t)}catch(n){var i=e.return;throw void 0!==i&&Q(i.call(e)),n}},sn=Ue("iterator"),an=Array.prototype,un=function(e){return void 0!==e&&(pe.Array===e||an[sn]===e)},cn=function(e,n,t){n in e?ie.f(e,n,oe(0,t)):e[n]=t},fn=Ue("toStringTag"),ln="Arguments"==ve(function(){return arguments}()),dn=function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),fn))?t:ln?ve(n):"Object"==(r=ve(n))&&"function"==typeof n.callee?"Arguments":r},pn=Ue("iterator"),hn=q.getIteratorMethod=function(e){if(void 0!=e)return e[pn]||e["@@iterator"]||pe[dn(e)]},vn=Ue("iterator"),mn=!1;try{[7][vn]().return=function(){mn=!0}}catch(e){}var wn=function(e,n){if(!n&&!mn)return!1;var t=!1;try{var r=[7],i=r[vn]();i.next=function(){return{done:t=!0}},r[vn]=function(){return i},e(r)}catch(e){}return t};ce(ce.S+ce.F*!wn(function(e){}),"Array",{from:function(e){var n,t,r,i,o=Ke(e),s="function"==typeof this?this:Array,a=arguments.length,u=a>1?arguments[1]:void 0,c=void 0!==u,f=0,l=hn(o);if(c&&(u=$(u,a>2?arguments[2]:void 0,2)),void 0==l||s==Array&&un(l))for(t=new s(n=ye(o.length));n>f;f++)cn(t,f,c?u(o[f],f):o[f]);else for(i=l.call(o),t=new s;!(r=i.next()).done;f++)cn(t,f,c?on(i,u,[r.value,f],!0):r.value);return t.length=f,t}});var gn=q.Array.from,yn=t(function(e){e.exports={default:gn,__esModule:!0}}),bn=n(yn),_n=n(t(function(e,n){n.__esModule=!0;var t=function(e){return e&&e.__esModule?e:{default:e}}(yn);n.default=function(e){if(Array.isArray(e)){for(var n=0,r=Array(e.length);n<e.length;n++)r[n]=e[n];return r}return(0,t.default)(e)}})),En=function(e,n){return{value:n,done:!!e}};tn(Array,"Array",function(e,n){this._t=we(e),this._i=0,this._k=n},function(){var e=this._t,n=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,En(1)):En(0,"keys"==n?t:"values"==n?e[t]:[t,e[t]])},"values");pe.Arguments=pe.Array;for(var Sn=Ue("toStringTag"),An="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),On=0;On<An.length;On++){var kn=An[On],xn=H[kn],Tn=xn&&xn.prototype;Tn&&!Tn[Sn]&&se(Tn,Sn,kn),pe[kn]=pe.Array}var jn={f:Ue},Nn=jn.f("iterator"),Mn=t(function(e){e.exports={default:Nn,__esModule:!0}});n(Mn);var Ln=t(function(e){var n=xe("meta"),t=ie.f,r=0,i=Object.isExtensible||function(){return!0},o=!X(function(){return i(Object.preventExtensions({}))}),s=function(e){t(e,n,{value:{i:"O"+ ++r,w:{}}})},a=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!K(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!de(e,n)){if(!i(e))return"F";if(!t)return"E";s(e)}return e[n].i},getWeak:function(e,t){if(!de(e,n)){if(!i(e))return!0;if(!t)return!1;s(e)}return e[n].w},onFreeze:function(e){return o&&a.NEED&&i(e)&&!de(e,n)&&s(e),e}}}),Cn=(Ln.KEY,Ln.NEED,Ln.fastKey,Ln.getWeak,Ln.onFreeze,ie.f),Pn=function(e){var n=q.Symbol||(q.Symbol={});"_"==e.charAt(0)||e in n||Cn(n,e,{value:jn.f(e)})},Rn={f:Object.getOwnPropertySymbols},Fn={f:{}.propertyIsEnumerable},Bn=Array.isArray||function(e){return"Array"==ve(e)},Dn=Ce.concat("length","prototype"),zn={f:Object.getOwnPropertyNames||function(e){return Le(e,Dn)}},Gn=zn.f,In={}.toString,Vn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Un={f:function(e){return Vn&&"[object Window]"==In.call(e)?function(e){try{return Gn(e)}catch(e){return Vn.slice()}}(e):Gn(we(e))}},Hn=Object.getOwnPropertyDescriptor,qn={f:Y?Hn:function(e,n){if(e=we(e),n=te(n,!0),ne)try{return Hn(e,n)}catch(e){}if(de(e,n))return oe(!Fn.f.call(e,n),e[n])}},Wn=Ln.KEY,$n=qn.f,Kn=ie.f,Qn=Un.f,Xn=H.Symbol,Yn=H.JSON,Zn=Yn&&Yn.stringify,Jn="prototype",et=Ue("_hidden"),nt=Ue("toPrimitive"),tt={}.propertyIsEnumerable,rt=Ae("symbol-registry"),it=Ae("symbols"),ot=Ae("op-symbols"),st=Object[Jn],at="function"==typeof Xn,ut=H.QObject,ct=!ut||!ut[Jn]||!ut[Jn].findChild,ft=Y&&X(function(){return 7!=Ve(Kn({},"a",{get:function(){return Kn(this,"a",{value:7}).a}})).a})?function(e,n,t){var r=$n(st,n);r&&delete st[n],Kn(e,n,t),r&&e!==st&&Kn(st,n,r)}:Kn,lt=function(e){var n=it[e]=Ve(Xn[Jn]);return n._k=e,n},dt=at&&"symbol"==typeof Xn.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof Xn},pt=function(e,n,t){return e===st&&pt(ot,n,t),Q(e),n=te(n,!0),Q(t),de(it,n)?(t.enumerable?(de(e,et)&&e[et][n]&&(e[et][n]=!1),t=Ve(t,{enumerable:oe(0,!1)})):(de(e,et)||Kn(e,et,oe(1,{})),e[et][n]=!0),ft(e,n,t)):Kn(e,n,t)},ht=function(e,n){Q(e);for(var t,r=function(e){var n=Pe(e),t=Rn.f;if(t)for(var r,i=t(e),o=Fn.f,s=0;i.length>s;)o.call(e,r=i[s++])&&n.push(r);return n}(n=we(n)),i=0,o=r.length;o>i;)pt(e,t=r[i++],n[t]);return e},vt=function(e){var n=tt.call(this,e=te(e,!0));return!(this===st&&de(it,e)&&!de(ot,e))&&(!(n||!de(this,e)||!de(it,e)||de(this,et)&&this[et][e])||n)},mt=function(e,n){if(e=we(e),n=te(n,!0),e!==st||!de(it,n)||de(ot,n)){var t=$n(e,n);return!t||!de(it,n)||de(e,et)&&e[et][n]||(t.enumerable=!0),t}},wt=function(e){for(var n,t=Qn(we(e)),r=[],i=0;t.length>i;)de(it,n=t[i++])||n==et||n==Wn||r.push(n);return r},gt=function(e){for(var n,t=e===st,r=Qn(t?ot:we(e)),i=[],o=0;r.length>o;)!de(it,n=r[o++])||t&&!de(st,n)||i.push(it[n]);return i};at||(fe((Xn=function(){if(this instanceof Xn)throw TypeError("Symbol is not a constructor!");var e=xe(arguments.length>0?arguments[0]:void 0),n=function(t){this===st&&n.call(ot,t),de(this,et)&&de(this[et],e)&&(this[et][e]=!1),ft(this,e,oe(1,t))};return Y&&ct&&ft(st,e,{configurable:!0,set:n}),lt(e)})[Jn],"toString",function(){return this._k}),qn.f=mt,ie.f=pt,zn.f=Un.f=wt,Fn.f=vt,Rn.f=gt,jn.f=function(e){return lt(Ue(e))}),ce(ce.G+ce.W+ce.F*!at,{Symbol:Xn});for(var yt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),bt=0;yt.length>bt;)Ue(yt[bt++]);for(var _t=Pe(Ue.store),Et=0;_t.length>Et;)Pn(_t[Et++]);ce(ce.S+ce.F*!at,"Symbol",{for:function(e){return de(rt,e+="")?rt[e]:rt[e]=Xn(e)},keyFor:function(e){if(!dt(e))throw TypeError(e+" is not a symbol!");for(var n in rt)if(rt[n]===e)return n},useSetter:function(){ct=!0},useSimple:function(){ct=!1}}),ce(ce.S+ce.F*!at,"Object",{create:function(e,n){return void 0===n?Ve(e):ht(Ve(e),n)},defineProperty:pt,defineProperties:ht,getOwnPropertyDescriptor:mt,getOwnPropertyNames:wt,getOwnPropertySymbols:gt}),Yn&&ce(ce.S+ce.F*(!at||X(function(){var e=Xn();return"[null]"!=Zn([e])||"{}"!=Zn({a:e})||"{}"!=Zn(Object(e))})),"JSON",{stringify:function(e){for(var n,t,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(t=n=r[1],(K(n)||void 0!==e)&&!dt(e))return Bn(n)||(n=function(e,n){if("function"==typeof t&&(n=t.call(this,e,n)),!dt(n))return n}),r[1]=n,Zn.apply(Yn,r)}}),Xn[Jn][nt]||se(Xn[Jn],nt,Xn[Jn].valueOf),We(Xn,"Symbol"),We(Math,"Math",!0),We(H.JSON,"JSON",!0),Pn("asyncIterator"),Pn("observable");var St=q.Symbol,At=t(function(e){e.exports={default:St,__esModule:!0}});n(At);var Ot=n(t(function(e,n){function t(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var r=t(Mn),i=t(At),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};n.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}}));!function(e,n){var t=(q.Object||{})[e]||Object[e],r={};r[e]=n(t),ce(ce.S+ce.F*X(function(){t(1)}),"Object",r)}("keys",function(){return function(e){return Pe(Ke(e))}});var kt=q.Object.keys,xt=n(t(function(e){e.exports={default:kt,__esModule:!0}})),Tt=Math.floor;ce(ce.S,"Number",{isInteger:function(e){return!K(e)&&isFinite(e)&&Tt(e)===e}});var jt=q.Number.isInteger,Nt=n(t(function(e){e.exports={default:jt,__esModule:!0}})),Mt="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Lt="["+Mt+"]",Ct=RegExp("^"+Lt+Lt+"*"),Pt=RegExp(Lt+Lt+"*$"),Rt=function(e,n,t){var r={},i=X(function(){return!!Mt[e]()||"​…"!="​…"[e]()}),o=r[e]=i?n(Ft):Mt[e];t&&(r[t]=o),ce(ce.P+ce.F*i,"String",r)},Ft=Rt.trim=function(e,n){return e=String(U(e)),1&n&&(e=e.replace(Ct,"")),2&n&&(e=e.replace(Pt,"")),e},Bt=Rt,Dt=H.parseFloat,zt=Bt.trim,Gt=1/Dt(Mt+"-0")!=-1/0?function(e){var n=zt(String(e),3),t=Dt(n);return 0===t&&"-"==n.charAt(0)?-0:t}:Dt;ce(ce.S+ce.F*(Number.parseFloat!=Gt),"Number",{parseFloat:Gt});var It,Vt,Ut,Ht=parseFloat,qt=n(t(function(e){e.exports={default:Ht,__esModule:!0}})),Wt=p(function(e){return e}),$t=t(function(e){var n={},t={},r=e.exports=function(e,r,i,o,s){var a,u,c,f,l=s?function(){return e}:hn(e),d=$(i,o,r?2:1),p=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(un(l)){for(a=ye(e.length);a>p;p++)if((f=r?d(Q(u=e[p])[0],u[1]):d(e[p]))===n||f===t)return f}else for(c=l.call(e);!(u=c.next()).done;)if((f=on(c,d,u.value,r))===n||f===t)return f};r.BREAK=n,r.RETURN=t}),Kt=Ue("species"),Qt=function(e,n){var t,r=Q(e).constructor;return void 0===r||void 0==(t=Q(r)[Kt])?n:W(t)},Xt=H.process,Yt=H.setImmediate,Zt=H.clearImmediate,Jt=H.MessageChannel,er=H.Dispatch,nr=0,tr={},rr="onreadystatechange",ir=function(){var e=+this;if(tr.hasOwnProperty(e)){var n=tr[e];delete tr[e],n()}},or=function(e){ir.call(e.data)};Yt&&Zt||(Yt=function(e){for(var n=[],t=1;arguments.length>t;)n.push(arguments[t++]);return tr[++nr]=function(){!function(e,n,t){var r=void 0===t;switch(n.length){case 0:return r?e():e.call(t);case 1:return r?e(n[0]):e.call(t,n[0]);case 2:return r?e(n[0],n[1]):e.call(t,n[0],n[1]);case 3:return r?e(n[0],n[1],n[2]):e.call(t,n[0],n[1],n[2]);case 4:return r?e(n[0],n[1],n[2],n[3]):e.call(t,n[0],n[1],n[2],n[3])}e.apply(t,n)}("function"==typeof e?e:Function(e),n)},It(nr),nr},Zt=function(e){delete tr[e]},"process"==ve(Xt)?It=function(e){Xt.nextTick($(ir,e,1))}:er&&er.now?It=function(e){er.now($(ir,e,1))}:Jt?(Ut=(Vt=new Jt).port2,Vt.port1.onmessage=or,It=$(Ut.postMessage,Ut,1)):H.addEventListener&&"function"==typeof postMessage&&!H.importScripts?(It=function(e){H.postMessage(e+"","*")},H.addEventListener("message",or,!1)):It=rr in ee("script")?function(e){Be.appendChild(ee("script"))[rr]=function(){Be.removeChild(this),ir.call(e)}}:function(e){setTimeout($(ir,e,1),0)});var sr,ar,ur,cr,fr={set:Yt,clear:Zt},lr=fr.set,dr=H.MutationObserver||H.WebKitMutationObserver,pr=H.process,hr=H.Promise,vr="process"==ve(pr),mr={f:function(e){return new function(e){var n,t;this.promise=new e(function(e,r){if(void 0!==n||void 0!==t)throw TypeError("Bad Promise constructor");n=e,t=r}),this.resolve=W(n),this.reject=W(t)}(e)}},wr=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},gr=function(e,n){if(Q(e),K(n)&&n.constructor===e)return n;var t=mr.f(e);return(0,t.resolve)(n),t.promise},yr=Ue("species"),br=fr.set,_r=function(){var e,n,t,r=function(){var r,i;for(vr&&(r=pr.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?t():n=void 0,r}}n=void 0,r&&r.enter()};if(vr)t=function(){pr.nextTick(r)};else if(!dr||H.navigator&&H.navigator.standalone)if(hr&&hr.resolve){var i=hr.resolve();t=function(){i.then(r)}}else t=function(){lr.call(H,r)};else{var o=!0,s=document.createTextNode("");new dr(r).observe(s,{characterData:!0}),t=function(){s.data=o=!o}}return function(r){var i={fn:r,next:void 0};n&&(n.next=i),e||(e=i,t()),n=i}}(),Er="Promise",Sr=H.TypeError,Ar=H.process,Or=H[Er],kr="process"==dn(Ar),xr=function(){},Tr=ar=mr.f,jr=!!function(){try{var e=Or.resolve(1),n=(e.constructor={})[Ue("species")]=function(e){e(xr,xr)};return(kr||"function"==typeof PromiseRejectionEvent)&&e.then(xr)instanceof n}catch(e){}}(),Nr=function(e){var n;return!(!K(e)||"function"!=typeof(n=e.then))&&n},Mr=function(e,n){if(!e._n){e._n=!0;var t=e._c;_r(function(){for(var r=e._v,i=1==e._s,o=0,s=function(n){var t,o,s=i?n.ok:n.fail,a=n.resolve,u=n.reject,c=n.domain;try{s?(i||(2==e._h&&Pr(e),e._h=1),!0===s?t=r:(c&&c.enter(),t=s(r),c&&c.exit()),t===n.promise?u(Sr("Promise-chain cycle")):(o=Nr(t))?o.call(t,a,u):a(t)):u(r)}catch(e){u(e)}};t.length>o;)s(t[o++]);e._c=[],e._n=!1,n&&!e._h&&Lr(e)})}},Lr=function(e){br.call(H,function(){var n,t,r,i=e._v,o=Cr(e);if(o&&(n=wr(function(){kr?Ar.emit("unhandledRejection",i,e):(t=H.onunhandledrejection)?t({promise:e,reason:i}):(r=H.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=kr||Cr(e)?2:1),e._a=void 0,o&&n.e)throw n.v})},Cr=function(e){return 1!==e._h&&0===(e._a||e._c).length},Pr=function(e){br.call(H,function(){var n;kr?Ar.emit("rejectionHandled",e):(n=H.onrejectionhandled)&&n({promise:e,reason:e._v})})},Rr=function(e){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=e,n._s=2,n._a||(n._a=n._c.slice()),Mr(n,!0))},Fr=function(e){var n,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===e)throw Sr("Promise can't be resolved itself");(n=Nr(e))?_r(function(){var r={_w:t,_d:!1};try{n.call(e,$(Fr,r,1),$(Rr,r,1))}catch(e){Rr.call(r,e)}}):(t._v=e,t._s=1,Mr(t,!1))}catch(e){Rr.call({_w:t,_d:!1},e)}}};jr||(Or=function(e){!function(e,n,t,r){if(!(e instanceof n)||void 0!==r&&r in e)throw TypeError(t+": incorrect invocation!")}(this,Or,Er,"_h"),W(e),sr.call(this);try{e($(Fr,this,1),$(Rr,this,1))}catch(e){Rr.call(this,e)}},(sr=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,n,t){for(var r in n)t&&e[r]?e[r]=n[r]:se(e,r,n[r]);return e}(Or.prototype,{then:function(e,n){var t=Tr(Qt(this,Or));return t.ok="function"!=typeof e||e,t.fail="function"==typeof n&&n,t.domain=kr?Ar.domain:void 0,this._c.push(t),this._a&&this._a.push(t),this._s&&Mr(this,!1),t.promise},catch:function(e){return this.then(void 0,e)}}),ur=function(){var e=new sr;this.promise=e,this.resolve=$(Fr,e,1),this.reject=$(Rr,e,1)},mr.f=Tr=function(e){return e===Or||e===cr?new ur(e):ar(e)}),ce(ce.G+ce.W+ce.F*!jr,{Promise:Or}),We(Or,Er),function(e){var n="function"==typeof q[e]?q[e]:H[e];Y&&n&&!n[yr]&&ie.f(n,yr,{configurable:!0,get:function(){return this}})}(Er),cr=q[Er],ce(ce.S+ce.F*!jr,Er,{reject:function(e){var n=Tr(this);return(0,n.reject)(e),n.promise}}),ce(ce.S+!0*ce.F,Er,{resolve:function(e){return gr(this===cr?Or:this,e)}}),ce(ce.S+ce.F*!(jr&&wn(function(e){Or.all(e).catch(xr)})),Er,{all:function(e){var n=this,t=Tr(n),r=t.resolve,i=t.reject,o=wr(function(){var t=[],o=0,s=1;$t(e,!1,function(e){var a=o++,u=!1;t.push(void 0),s++,n.resolve(e).then(function(e){u||(u=!0,t[a]=e,--s||r(t))},i)}),--s||r(t)});return o.e&&i(o.v),t.promise},race:function(e){var n=this,t=Tr(n),r=t.reject,i=wr(function(){$t(e,!1,function(e){n.resolve(e).then(t.resolve,r)})});return i.e&&r(i.v),t.promise}}),ce(ce.P+ce.R,"Promise",{finally:function(e){var n=Qt(this,q.Promise||H.Promise),t="function"==typeof e;return this.then(t?function(t){return gr(n,e()).then(function(){return t})}:e,t?function(t){return gr(n,e()).then(function(){throw t})}:e)}}),ce(ce.S,"Promise",{try:function(e){var n=mr.f(this),t=wr(e);return(t.e?n.reject:n.resolve)(t.v),n.promise}});var Br=q.Promise,Dr=n(t(function(e){e.exports={default:Br,__esModule:!0}})),zr="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Gr=zr&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame)||function(e){return setTimeout(e,17)},Ir=zr&&(window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame)||function(e){clearTimeout(e)},Vr=n(t(function(e,n){n.__esModule=!0,n.default=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}}));ce(ce.S+ce.F*!Y,"Object",{defineProperty:ie.f});var Ur=q.Object,Hr=function(e,n,t){return Ur.defineProperty(e,n,t)},qr=t(function(e){e.exports={default:Hr,__esModule:!0}});n(qr);var Wr=n(t(function(e,n){n.__esModule=!0;var t=function(e){return e&&e.__esModule?e:{default:e}}(qr);n.default=function(){function e(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,t.default)(e,i.key,i)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}()})),$r=Object.assign,Kr=!$r||X(function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach(function(e){n[e]=e}),7!=$r({},e)[t]||Object.keys($r({},n)).join("")!=r})?function(e,n){for(var t=Ke(e),r=arguments.length,i=1,o=Rn.f,s=Fn.f;r>i;)for(var a,u=me(arguments[i++]),c=o?Pe(u).concat(o(u)):Pe(u),f=c.length,l=0;f>l;)s.call(u,a=c[l++])&&(t[a]=u[a]);return t}:$r;ce(ce.S+ce.F,"Object",{assign:Kr});var Qr=q.Object.assign,Xr=n(t(function(e){e.exports={default:Qr,__esModule:!0}}));ce(ce.S,"Object",{create:Ve});var Yr=q.Object,Zr=function(e,n){return Yr.create(e,n)},Jr=n(t(function(e){e.exports={default:Zr,__esModule:!0}})),ei=Jr(null);ei.count=0;var ni=function(){function e(n,t){var r=this;if(Vr(this,e),Object.defineProperty(this,"__target",{writable:!0,enumerable:!1,configurable:!0}),this.__target=this,n){if("object"!==(void 0===n?"undefined":Ot(n)))throw new Error("CusEvent target are not object");this.__target=n,t&&["on","once","off","emit"].forEach(function(e){n[e]=r[e]})}}return Wr(e,[{key:"on",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return _(this.__target,e,n,t),this}},{key:"once",value:function(e,n){return this.on(e,n,!0)}},{key:"off",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return E(this.__target,e,n,t),this}},{key:"emit",value:function(e,n){return b(this.__target,e,{data:n}),this}}]),e}(),ti=zr?document.createElement("div"):{},ri="innerText";"textContent"in ti&&(ri="textContent");var ii=Array.prototype;e.supportsPassive=!1;try{var oi=Object.defineProperty({},"passive",{get:function(){e.supportsPassive=!0}});zr&&window.addEventListener("test",null,oi)}catch(e){console.error(e)}var si=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;Vr(this,e);this.selector=n;var r=void 0;n&&n.constructor===NodeList?r=m(n):i(n)?r=n:c(n)?0===n.indexOf("<")?(ti.innerHTML=n,r=P("*",ti,!0)):r=P(n,t,!0):r=[n],Xr(this,r),this.length=r.length}return Wr(e,[{key:"each",value:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return ii.forEach.apply(this,n),this}},{key:"push",value:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return ii.push.apply(this,n),this}},{key:"splice",value:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return B(ii.splice.apply(this,n))}},{key:"find",value:function(e){var n=[];this.each(function(t){n=n.concat(P(e,t,!0))});var t=B(n);return t.parent=this,t.selector=e,t}},{key:"append",value:function(e){var n=B(e),t=this[0];return n.each(function(e){return t.appendChild(e)}),this}},{key:"appendTo",value:function(e){return B(e).append(this),this}},{key:"text",value:function(e){return 0===arguments.length?this[0][ri]:this.each(function(n){n[ri]=e})}},{key:"html",value:function(e){return 0===arguments.length?this[0].innerHTML:this.each(function(n){n.innerHTML=e})}},{key:"attr",value:function(e,n){return 1===arguments.length?S(this[0],e):this.each(function(t){return A(t,e,n)})}},{key:"data",value:function(e,n){return 0===arguments.length?this[0].dataset||{}:1===arguments.length?(this[0].dataset||{})[e]:this.each(function(t){(t.dataset||(t.dataset={}))[e]=n})}},{key:"css",value:function(e,n){return 1!==arguments.length||s(e)?this.each(function(t){return C(t,e,n)}):L(this[0],e)}},{key:"addClass",value:function(e){return this.each(function(n){return O(n,e)})}},{key:"removeClass",value:function(e){return this.each(function(n){return k(n,e)})}},{key:"hasClass",value:function(e){return x(this[0],e)}},{key:"on",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return j(i,e,n,t,r)})}},{key:"off",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return T(i,e,n,t,r)})}},{key:"delegate",value:function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return N(i,e,n,t,r)})}},{key:"undelegate",value:function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.each(function(i){return M(i,e,n,t,r)})}},{key:"remove",value:function(){return this.each(function(e){return R(e)})}}]),e}(),ai=function(){function e(){Vr(this,e)}return Wr(e,null,[{key:"error",value:function(n,t){e.ENABLE_ERROR&&(console.error||console.warn||console.log).call(console,D(n,t))}},{key:"info",value:function(n,t){e.ENABLE_INFO&&(console.info||console.log).call(console,D(n,t))}},{key:"warn",value:function(n,t){e.ENABLE_WARN&&(console.warn||console.log).call(console,D(n,t))}},{key:"debug",value:function(n,t){e.ENABLE_DEBUG&&(console.debug||console.log).call(console,D(n,t))}},{key:"verbose",value:function(n,t){e.ENABLE_VERBOSE&&console.log(D(n,t))}}]),e}();ai.GLOBAL_TAG="chimee",ai.FORCE_GLOBAL_TAG=!1,ai.ENABLE_ERROR=!0,ai.ENABLE_INFO=!0,ai.ENABLE_WARN=!0,ai.ENABLE_DEBUG=!0,ai.ENABLE_VERBOSE=!0;var ui=t(function(e,n){!function(t,r){var i="model",o="name",s="type",a="vendor",u="version",c="architecture",f="console",l="mobile",d="tablet",p="smarttv",h=function(e,n){var t={};for(var r in e)n[r]&&n[r].length%2==0?t[r]=n[r].concat(e[r]):t[r]=e[r];return t},v=function(e,n){return"string"==typeof e&&-1!==n.toLowerCase().indexOf(e.toLowerCase())},m=function(e){return e.toLowerCase()},w=function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:r},g=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},y={rgx:function(e,n){for(var t,i,o,s,a,u,c=0;c<n.length&&!a;){var f=n[c],l=n[c+1];for(t=i=0;t<f.length&&!a;)if(a=f[t++].exec(e))for(o=0;o<l.length;o++)u=a[++i],"object"==typeof(s=l[o])&&s.length>0?2==s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3==s.length?"function"!=typeof s[1]||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):r:this[s[0]]=u?s[1].call(this,u,s[2]):r:4==s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):r):this[s]=u||r;c+=2}},str:function(e,n){for(var t in n)if("object"==typeof n[t]&&n[t].length>0){for(var i=0;i<n[t].length;i++)if(v(n[t][i],e))return"?"===t?r:t}else if(v(n[t],e))return"?"===t?r:t;return e}},b={oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},_={amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},E={windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"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"}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o,u],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],u],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],u],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[o,u],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],u],[/(edge)\/((\d+)?[\w\.]+)/i],[o,u],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],u],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],u],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],u],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],u],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],u],[/(QQ)\/([\d\.]+)/i],[o,u],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[u,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[u,[o,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[u,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],u],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],u],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[u,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,u],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],u],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],u],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],u],[/fxios\/([\w\.-]+)/i],[u,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[u,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[u,o],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[o,"GSA"],u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[u,y.str,b.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,u],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],u],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,u]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[c,"amd64"]],[/(ia32(?=;))/i],[[c,m]],[/((?:i[346]|x)86)[;\)]/i],[[c,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[c,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[c,/ower/,"",m]],[/(sun4\w)[;\)]/i],[[c,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[c,m]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[i,a,[s,d]],[/applecoremedia\/[\w\.]+ \((ipad)/],[i,[a,"Apple"],[s,d]],[/(apple\s{0,1}tv)/i],[[i,"Apple TV"],[a,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[a,i,[s,d]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[i,[a,"Amazon"],[s,d]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[i,y.str,_.amazon.model],[a,"Amazon"],[s,l]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[i,a,[s,l]],[/\((ip[honed|\s\w*]+);/i],[i,[a,"Apple"],[s,l]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[a,i,[s,l]],[/\(bb10;\s(\w+)/i],[i,[a,"BlackBerry"],[s,l]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[i,[a,"Asus"],[s,d]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[a,"Sony"],[i,"Xperia Tablet"],[s,d]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[i,[a,"Sony"],[s,l]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[a,i,[s,f]],[/android.+;\s(shield)\sbuild/i],[i,[a,"Nvidia"],[s,f]],[/(playstation\s[34portablevi]+)/i],[i,[a,"Sony"],[s,f]],[/(sprint\s(\w+))/i],[[a,y.str,_.sprint.vendor],[i,y.str,_.sprint.model],[s,l]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[a,i,[s,d]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[a,[i,/_/g," "],[s,l]],[/(nexus\s9)/i],[i,[a,"HTC"],[s,d]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[i,[a,"Huawei"],[s,l]],[/(microsoft);\s(lumia[\s\w]+)/i],[a,i,[s,l]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[i,[a,"Microsoft"],[s,f]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[a,"Microsoft"],[s,l]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[i,[a,"Motorola"],[s,l]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[i,[a,"Motorola"],[s,d]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[a,g],[i,g],[s,p]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[a,"Samsung"],[s,p]],[/\(dtv[\);].+(aquos)/i],[i,[a,"Sharp"],[s,p]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[a,"Samsung"],i,[s,d]],[/smart-tv.+(samsung)/i],[a,[s,p],i],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[a,"Samsung"],i,[s,l]],[/sie-(\w+)*/i],[i,[a,"Siemens"],[s,l]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[a,"Nokia"],i,[s,l]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[i,[a,"Acer"],[s,d]],[/android.+([vl]k\-?\d{3})\s+build/i],[i,[a,"LG"],[s,d]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[a,"LG"],i,[s,d]],[/(lg) netcast\.tv/i],[a,i,[s,p]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[i,[a,"LG"],[s,l]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[i,[a,"Lenovo"],[s,d]],[/linux;.+((jolla));/i],[a,i,[s,l]],[/((pebble))app\/[\d\.]+\s/i],[a,i,[s,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[a,i,[s,l]],[/crkey/i],[[i,"Chromecast"],[a,"Google"]],[/android.+;\s(glass)\s\d/i],[i,[a,"Google"],[s,"wearable"]],[/android.+;\s(pixel c)\s/i],[i,[a,"Google"],[s,d]],[/android.+;\s(pixel xl|pixel)\s/i],[i,[a,"Google"],[s,l]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[i,/_/g," "],[a,"Xiaomi"],[s,l]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[i,/_/g," "],[a,"Xiaomi"],[s,d]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[i,[a,"Meizu"],[s,d]],[/android.+a000(1)\s+build/i],[i,[a,"OnePlus"],[s,l]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[i,[a,"RCA"],[s,d]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[i,[a,"Dell"],[s,d]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[i,[a,"Verizon"],[s,d]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[a,"Barnes & Noble"],i,[s,d]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[i,[a,"NuVision"],[s,d]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[a,"ZTE"],i,[s,d]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[i,[a,"Swiss"],[s,l]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[i,[a,"Swiss"],[s,d]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[i,[a,"Zeki"],[s,d]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[a,"Dragon Touch"],i,[s,d]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[i,[a,"Insignia"],[s,d]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[i,[a,"NextBook"],[s,d]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[a,"Voice"],i,[s,l]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[a,"LvTel"],i,[s,l]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[i,[a,"Envizen"],[s,d]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[a,i,[s,d]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[i,[a,"MachSpeed"],[s,d]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[a,i,[s,d]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[i,[a,"Rotor"],[s,d]],[/android.+(KS(.+))\s+build/i],[i,[a,"Amazon"],[s,d]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[a,i,[s,d]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[s,m],a,i],[/(android.+)[;\/].+build/i],[i,[a,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[u,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,u],[/rv\:([\w\.]+).*(gecko)/i],[u,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,u],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[u,y.str,E.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[u,y.str,E.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],u],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[o,u],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[o,"Symbian"],u],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],u],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[o,u],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],u],[/(sunos)\s?([\w\.]+\d)*/i],[[o,"Solaris"],u],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[o,u],[/(haiku)\s(\w+)/i],[o,u],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[u,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[u,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[o,u]]},A=function(e,n){if("object"==typeof e&&(n=e,e=r),!(this instanceof A))return new A(e,n).getResult();var i=e||(t&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:""),o=n?h(S,n):S;return this.getBrowser=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.browser),e.major=w(e.version),e},this.getCPU=function(){var e={architecture:r};return y.rgx.call(e,i,o.cpu),e},this.getDevice=function(){var e={vendor:r,model:r,type:r};return y.rgx.call(e,i,o.device),e},this.getEngine=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.engine),e},this.getOS=function(){var e={name:r,version:r};return y.rgx.call(e,i,o.os),e},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 i},this.setUA=function(e){return i=e,this},this};A.VERSION="0.7.17",A.BROWSER={NAME:o,MAJOR:"major",VERSION:u},A.CPU={ARCHITECTURE:c},A.DEVICE={MODEL:i,VENDOR:a,TYPE:s,CONSOLE:f,MOBILE:l,SMARTTV:p,TABLET:d,WEARABLE:"wearable",EMBEDDED:"embedded"},A.ENGINE={NAME:o,VERSION:u},A.OS={NAME:o,VERSION:u},e.exports&&(n=e.exports=A),n.UAParser=A;var O=t&&(t.jQuery||t.Zepto);if(void 0!==O){var k=new A;O.ua=k.getResult(),O.ua.get=function(){return k.getUA()},O.ua.set=function(e){k.setUA(e);var n=k.getResult();for(var t in n)O.ua[t]=n[t]}}}("object"==typeof window?window:z)});ui.UAParser;e.Log=ai,e.UAParser=ui,e.genTraversalHandler=p,e.deepClone=function(e){if(l(e))throw new TypeError("deepClone only accept non primitive type");return Wt(e)},e.deepAssign=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];if(n.length<2)throw new Error("deepAssign accept two and more argument");for(var r=n.length-1;r>-1;r--)if(l(n[r]))throw new TypeError("deepAssign only accept non primitive type");var i=n.shift();return n.forEach(function(e){return Wt(e,i)}),i},e.camelize=h,e.hypenate=function(e){return h(e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})},e.bind=function(e,n){return e.bind?e.bind(n):e.apply?function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.apply(n,r)}:function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.call.apply(e,[n].concat(_n(r)))}},e.uuid=function(){return v()+v()+"-"+v()+"-"+v()+"-"+v()+"-"+v()+v()+v()},e.S4=v,e.rand=function(e){for(var n="";n.length<e;)n+=v();return n.slice(0,e)},e.getDeepProperty=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.throwError,s=void 0!==o&&o,a=t.backup;if(c(n)&&(n=n.split(".")),!i(n))throw new TypeError("keys of getDeepProperty must be string or Array<string>");for(var u=[],f=e,l=0,d=n.length;l<d;l++){var p=n[l];if(r(f)){if(s)throw new Error("obj"+(u.length>0?"."+u.join("."):" itself")+" is "+f);return a}f=f[p],u.push(p)}return f},e.defined=function(e){return void 0!==e},e.isVoid=r,e.isArray=i,e.isFunction=o,e.isObject=s,e.isNumber=a,e.isNumeric=function(e){return!i(e)&&e-qt(e)+1>=0},e.isInteger=function(e){return Nt(e)},e.isEmpty=function(e){return i(e)?0===e.length:s(e)?0===xt(e).length:!e},e.isEvent=function(e){return e instanceof Event||(e&&e.originalEvent)instanceof Event},e.isBlob=u,e.isFile=function(e){return u(e)&&c(e.name)},e.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.isString=c,e.isBoolean=f,e.isPromise=function(e){return!!e&&("object"===(void 0===e?"undefined":Ot(e))||"function"==typeof e)&&"function"==typeof e.then},e.isPrimitive=l,e.isUrl=function(e){return c(e)&&!!e.match(/^((https?|ftp|rtsp|mms):\/\/)(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6}|localhost)(:[0-9]{1,4})?((\/?)|(\/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+\/?)$/i)},e.isNode=d,e.isElement=function(e){return!!("object"===("undefined"==typeof HTMLElement?"undefined":Ot(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":Ot(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)},e.isChildNode=function(e,n){return!(!d(e)||!d(n))&&n.parentNode===e},e.isPosterityNode=function(e,n){if(!d(e)||!d(n))return!1;for(;n.parentNode;)if((n=n.parentNode)===e)return!0;return!1},e.isHTMLString=function(e){return/<[^>]+?>/.test(e)},e.isError=function(e){return e instanceof Error},e.isRegExp=function(e){return e instanceof RegExp},e.inBrowser=zr,e.makeArray=m,e.transObjectAttrIntoArray=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,n){return+e-+n};return xt(e).sort(n).reduce(function(n,t){return n.concat(e[t])},[])},e.runRejectableQueue=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return new Dr(function(n,r){!function i(s){if(!(s>=e.length)){var a=o(e[s])?e[s].apply(e,_n(t)):e[s];return!1===a?r("stop"):Dr.resolve(a).then(function(){return i(s+1)}).catch(function(e){return r(e||"stop")})}n()}(0)})},e.runStoppableQueue=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return function n(r){return r>=e.length||!1!==(o(e[r])?e[r].apply(e,_n(t)):e[r])&&n(++r)}(0)},e.decodeUTF8=function(e){for(var n=[],t=e,r=0,i=e.length;r<i;)if(t[r]<128)n.push(String.fromCharCode(t[r])),++r;else{if(t[r]<192);else if(t[r]<224){if(w(t,r,1)){var o=(31&t[r])<<6|63&t[r+1];if(o>=128){n.push(String.fromCharCode(65535&o)),r+=2;continue}}}else if(t[r]<240){if(w(t,r,2)){var s=(15&t[r])<<12|(63&t[r+1])<<6|63&t[r+2];if(s>=2048&&55296!=(63488&s)){n.push(String.fromCharCode(65535&s)),r+=3;continue}}}else if(t[r]<248&&w(t,r,3)){var a=(7&t[r])<<18|(63&t[r+1])<<12|(63&t[r+2])<<6|63&t[r+3];if(a>65536&&a<1114112){a-=65536,n.push(String.fromCharCode(a>>>10|55296)),n.push(String.fromCharCode(1023&a|56320)),r+=4;continue}}n.push(String.fromCharCode(65533)),++r}return n.join("")},e.debounce=function(e,n,t){var r=void 0,i=void 0,o=void 0,s=void 0,a=void 0,u=function u(){var c=new Date-s;c<n&&c>=0?r=setTimeout(u,n-c):(r=null,t||(a=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,s=new Date;var c=t&&!r;return r||(r=setTimeout(u,n)),c&&(a=e.apply(o,i),o=i=null),a}},e.throttle=function(e,n,t,r){var i=void 0,o=void 0,s=void 0,a=null,u=0;t||(t={});var c=function(){u=!1===t.leading?0:new Date-0,a=null,s=e.apply(i,o),a||(i=o=null)};return n=n||0,function(){var f=new Date;u||!1!==t.leading||(u=f);var l=n-(f-u);return i=r||this,o=arguments,l<=0||l>n?(a&&(clearTimeout(a),a=null),u=f,s=e.apply(i,o),a||(i=o=null)):a||!1===t.trailing||(a=setTimeout(c,l)),s}},e.raf=Gr,e.caf=Ir,e.strRepeat=g,e.formatTime=function(e){var n=Math.floor(e/3600);e=Math.floor(e%3600);var t=g(Math.floor(e/60),2),r=g(e=Math.floor(e%60),2);return n>=1?n+":"+t+":"+r:t+":"+r},e.appendCSS=function(e){var n=document,t=n.querySelector("style");if(!t){t=n.createElement("style");var r=n.querySelector("head");r&&r.appendChild(t)}return t.appendChild(n.createTextNode(e)),t},e.formatDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss.i",t=e.getFullYear().toString(),r={M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),i:e.getMilliseconds()};n=n.replace(/(y+)/gi,function(e,n){return t.substr(4-Math.min(4,n.length))});var i=function(e){n=n.replace(new RegExp("("+e+"+)","g"),function(n,t){return(r[e]<10&&t.length>1?"0":"")+r[e]})};for(var o in r)i(o);return n},e.getLocalStorage=function(e){try{return window.localStorage.getItem(e)}catch(t){try{var n=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return i(n)?unescape(n[2]):""}catch(e){return""}}},e.setLocalStorage=function(e,n){try{window.localStorage.setItem(e,n)}catch(r){var t=new Date;t.setTime(t.getTime()+2592e7);try{document.cookie=e+"="+escape(n)+";expires="+t.toUTCString()+";path=/;"}catch(e){console.error(e)}}},e.emitEventCache=b,e.addEventCache=_,e.removeEventCache=E,e.CustEvent=ni,e.getAttr=S,e.setAttr=A,e.addClassName=O,e.removeClassName=k,e.hasClassName=x,e.removeEvent=T,e.addEvent=j,e.addDelegate=N,e.removeDelegate=M,e.getStyle=L,e.setStyle=C,e.query=P,e.removeEl=R,e.findParents=F,e.NodeWrap=si,e.$=B,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "chimee-helper",
"version": "0.2.10",
"version": "0.2.11",
"description": "helper of chimee",

@@ -10,6 +10,6 @@ "main": "lib/index.js",

"scripts": {
"test": "jest --coverage",
"test": "jest --coverage && node env-check.js",
"start": "jest --coverage --watch",
"flow": "flow",
"lint": "eslint ./src --fix",
"lint": "eslint . --fix",
"precommit": "npm run lint",

@@ -40,6 +40,6 @@ "prepush": "npm run test",

"babel-runtime": "^6.26.0",
"chimee-helper-dom": "^0.1.7",
"chimee-helper-dom": "^0.1.8",
"chimee-helper-events": "^0.1.0",
"chimee-helper-log": "^0.1.2",
"chimee-helper-utils": "^0.2.0",
"chimee-helper-log": "^0.1.3",
"chimee-helper-utils": "^0.2.1",
"toxic-predicate-functions": "^0.1.5",

@@ -51,3 +51,3 @@ "toxic-utils": "^0.2.0",

"babel-eslint": "^8.0.3",
"babel-jest": "^21.2.0",
"babel-jest": "^22.0.4",
"babel-plugin-transform-runtime": "^6.23.0",

@@ -58,2 +58,3 @@ "babel-preset-env": "^1.6.1",

"eslint": "^4.11.0",
"eslint-config-egg": "^6.0.0",
"eslint-plugin-flowtype": "^2.40.1",

@@ -63,4 +64,4 @@ "eslint-plugin-jest": "^21.3.2",

"husky": "^0.14.1",
"jest": "^21.2.1",
"rollup": "^0.52.2",
"jest": "^22.0.4",
"rollup": "^0.53.0",
"rollup-plugin-babel": "^3.0.2",

@@ -67,0 +68,0 @@ "rollup-plugin-commonjs": "^8.2.6",

@@ -9,2 +9,2 @@ // @flow

import UAParser from 'ua-parser-js';
export {Log, UAParser};
export { Log, UAParser };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc