hotime/example/tpt/wx/js/chunk-57ef77d8.22591aa2.js
2022-03-03 21:23:57 +08:00

2 lines
14 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57ef77d8"],{"2b3d":function(e,t,r){"use strict";r("3ca3");var n,s=r("23e7"),a=r("83ab"),i=r("0d3b"),o=r("da84"),h=r("0366"),u=r("e330"),f=r("37e8"),l=r("6eeb"),c=r("19aa"),p=r("1a2d"),m=r("60da"),g=r("4df4"),d=r("4dae"),v=r("6547").codeAt,w=r("5fb2"),b=r("577e"),P=r("d44e"),y=r("9861"),S=r("69f3"),U=S.set,k=S.getterFor("URL"),H=y.URLSearchParams,L=y.getState,R=o.URL,q=o.TypeError,B=o.parseInt,A=Math.floor,C=Math.pow,O=u("".charAt),x=u(/./.exec),z=u([].join),j=u(1..toString),I=u([].pop),F=u([].push),E=u("".replace),$=u([].shift),J=u("".split),M=u("".slice),N=u("".toLowerCase),T=u([].unshift),D="Invalid authority",G="Invalid scheme",K="Invalid host",Q="Invalid port",V=/[a-z]/i,W=/[\d+-.a-z]/i,X=/\d/,Y=/^0x/i,Z=/^[0-7]+$/,_=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,se=/[\t\n\r]/g,ae=function(e){var t,r,n,s,a,i,o,h=J(e,".");if(h.length&&""==h[h.length-1]&&h.length--,t=h.length,t>4)return e;for(r=[],n=0;n<t;n++){if(s=h[n],""==s)return e;if(a=10,s.length>1&&"0"==O(s,0)&&(a=x(Y,s)?16:8,s=M(s,8==a?1:2)),""===s)i=0;else{if(!x(10==a?_:8==a?Z:ee,s))return e;i=B(s,a)}F(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=C(256,5-t))return null}else if(i>255)return null;for(o=I(r),n=0;n<r.length;n++)o+=r[n]*C(256,3-n);return o},ie=function(e){var t,r,n,s,a,i,o,h=[0,0,0,0,0,0,0,0],u=0,f=null,l=0,c=function(){return O(e,l)};if(":"==c()){if(":"!=O(e,1))return;l+=2,u++,f=u}while(c()){if(8==u)return;if(":"!=c()){t=r=0;while(r<4&&x(ee,c()))t=16*t+B(c(),16),l++,r++;if("."==c()){if(0==r)return;if(l-=r,u>6)return;n=0;while(c()){if(s=null,n>0){if(!("."==c()&&n<4))return;l++}if(!x(X,c()))return;while(x(X,c())){if(a=B(c(),10),null===s)s=a;else{if(0==s)return;s=10*s+a}if(s>255)return;l++}h[u]=256*h[u]+s,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==c()){if(l++,!c())return}else if(c())return;h[u++]=t}else{if(null!==f)return;l++,u++,f=u}}if(null!==f){i=u-f,u=7;while(0!=u&&i>0)o=h[u],h[u--]=h[f+i-1],h[f+--i]=o}else if(8!=u)return;return h},oe=function(e){for(var t=null,r=1,n=null,s=0,a=0;a<8;a++)0!==e[a]?(s>r&&(t=n,r=s),n=null,s=0):(null===n&&(n=a),++s);return s>r&&(t=n,r=s),t},he=function(e){var t,r,n,s;if("number"==typeof e){for(t=[],r=0;r<4;r++)T(t,e%256),e=A(e/256);return z(t,".")}if("object"==typeof e){for(t="",n=oe(e),r=0;r<8;r++)s&&0===e[r]||(s&&(s=!1),n===r?(t+=r?":":"::",s=!0):(t+=j(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ue={},fe=m({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),le=m({},fe,{"#":1,"?":1,"{":1,"}":1}),ce=m({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var r=v(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(e,t){var r;return 2==e.length&&x(V,O(e,0))&&(":"==(r=O(e,1))||!t&&"|"==r)},de=function(e){var t;return e.length>1&&ge(M(e,0,2))&&(2==e.length||"/"===(t=O(e,2))||"\\"===t||"?"===t||"#"===t)},ve=function(e){return"."===e||"%2e"===N(e)},we=function(e){return e=N(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},be={},Pe={},ye={},Se={},Ue={},ke={},He={},Le={},Re={},qe={},Be={},Ae={},Ce={},Oe={},xe={},ze={},je={},Ie={},Fe={},Ee={},$e={},Je=function(e,t,r){var n,s,a,i=b(e);if(t){if(s=this.parse(i),s)throw q(s);this.searchParams=null}else{if(void 0!==r&&(n=new Je(r,!0)),s=this.parse(i,null,n),s)throw q(s);a=L(new H),a.bindURL(this),this.searchParams=a}};Je.prototype={type:"URL",parse:function(e,t,r){var s,a,i,o,h=this,u=t||be,f=0,l="",c=!1,m=!1,v=!1;e=b(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=E(e,ne,"")),e=E(e,se,""),s=g(e);while(f<=s.length){switch(a=s[f],u){case be:if(!a||!x(V,a)){if(t)return G;u=ye;continue}l+=N(a),u=Pe;break;case Pe:if(a&&(x(W,a)||"+"==a||"-"==a||"."==a))l+=N(a);else{if(":"!=a){if(t)return G;l="",u=ye,f=0;continue}if(t&&(h.isSpecial()!=p(me,l)||"file"==l&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=l,t)return void(h.isSpecial()&&me[h.scheme]==h.port&&(h.port=null));l="","file"==h.scheme?u=Oe:h.isSpecial()&&r&&r.scheme==h.scheme?u=Se:h.isSpecial()?u=Le:"/"==s[f+1]?(u=Ue,f++):(h.cannotBeABaseURL=!0,F(h.path,""),u=Fe)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!=a)return G;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=d(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,u=$e;break}u="file"==r.scheme?Oe:ke;continue;case Se:if("/"!=a||"/"!=s[f+1]){u=ke;continue}u=Re,f++;break;case Ue:if("/"==a){u=qe;break}u=Ie;continue;case ke:if(h.scheme=r.scheme,a==n)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())u=He;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query="",u=Ee;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.path.length--,u=Ie;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=d(r.path),h.query=r.query,h.fragment="",u=$e}break;case He:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,u=Ie;continue}u=qe}else u=Re;break;case Le:if(u=Re,"/"!=a||"/"!=O(l,f+1))continue;f++;break;case Re:if("/"!=a&&"\\"!=a){u=qe;continue}break;case qe:if("@"==a){c&&(l="%40"+l),c=!0,i=g(l);for(var w=0;w<i.length;w++){var P=i[w];if(":"!=P||v){var y=pe(P,ce);v?h.password+=y:h.username+=y}else v=!0}l=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(c&&""==l)return D;f-=g(l).length+1,l="",u=Be}else l+=a;break;case Be:case Ae:if(t&&"file"==h.scheme){u=ze;continue}if(":"!=a||m){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==l)return K;if(t&&""==l&&(h.includesCredentials()||null!==h.port))return;if(o=h.parseHost(l),o)return o;if(l="",u=je,t)return;continue}"["==a?m=!0:"]"==a&&(m=!1),l+=a}else{if(""==l)return K;if(o=h.parseHost(l),o)return o;if(l="",u=Ce,t==Ae)return}break;case Ce:if(!x(X,a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=l){var S=B(l,10);if(S>65535)return Q;h.port=h.isSpecial()&&S===me[h.scheme]?null:S,l=""}if(t)return;u=je;continue}return Q}l+=a;break;case Oe:if(h.scheme="file","/"==a||"\\"==a)u=xe;else{if(!r||"file"!=r.scheme){u=Ie;continue}if(a==n)h.host=r.host,h.path=d(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=d(r.path),h.query="",u=Ee;else{if("#"!=a){de(z(d(s,f),""))||(h.host=r.host,h.path=d(r.path),h.shortenPath()),u=Ie;continue}h.host=r.host,h.path=d(r.path),h.query=r.query,h.fragment="",u=$e}}break;case xe:if("/"==a||"\\"==a){u=ze;break}r&&"file"==r.scheme&&!de(z(d(s,f),""))&&(ge(r.path[0],!0)?F(h.path,r.path[0]):h.host=r.host),u=Ie;continue;case ze:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&ge(l))u=Ie;else if(""==l){if(h.host="",t)return;u=je}else{if(o=h.parseHost(l),o)return o;if("localhost"==h.host&&(h.host=""),t)return;l="",u=je}continue}l+=a;break;case je:if(h.isSpecial()){if(u=Ie,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=n&&(u=Ie,"/"!=a))continue}else h.fragment="",u=$e;else h.query="",u=Ee;break;case Ie:if(a==n||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(we(l)?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||F(h.path,"")):ve(l)?"/"==a||"\\"==a&&h.isSpecial()||F(h.path,""):("file"==h.scheme&&!h.path.length&&ge(l)&&(h.host&&(h.host=""),l=O(l,0)+":"),F(h.path,l)),l="","file"==h.scheme&&(a==n||"?"==a||"#"==a))while(h.path.length>1&&""===h.path[0])$(h.path);"?"==a?(h.query="",u=Ee):"#"==a&&(h.fragment="",u=$e)}else l+=pe(a,le);break;case Fe:"?"==a?(h.query="",u=Ee):"#"==a?(h.fragment="",u=$e):a!=n&&(h.path[0]+=pe(a,ue));break;case Ee:t||"#"!=a?a!=n&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":pe(a,ue)):(h.fragment="",u=$e);break;case $e:a!=n&&(h.fragment+=pe(a,fe));break}f++}},parseHost:function(e){var t,r,n;if("["==O(e,0)){if("]"!=O(e,e.length-1))return K;if(t=ie(M(e,1,-1)),!t)return K;this.host=t}else if(this.isSpecial()){if(e=w(e),x(te,e))return K;if(t=ae(e),null===t)return K;this.host=t}else{if(x(re,e))return K;for(t="",r=g(e),n=0;n<r.length;n++)t+=pe(r[n],ue);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(me,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ge(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,s=e.host,a=e.port,i=e.path,o=e.query,h=e.fragment,u=t+":";return null!==s?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=he(s),null!==a&&(u+=":"+a)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?i[0]:i.length?"/"+z(i,"/"):"",null!==o&&(u+="?"+o),null!==h&&(u+="#"+h),u},setHref:function(e){var t=this.parse(e);if(t)throw q(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Me(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+he(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",be)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=pe(t[r],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=pe(t[r],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?he(e):he(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Be)},getHostname:function(){var e=this.host;return null===e?"":he(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=b(e),""==e?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+z(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,je))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=b(e),""==e?this.query=null:("?"==O(e,0)&&(e=M(e,1)),this.query="",this.parse(e,Ee)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=b(e),""!=e?("#"==O(e,0)&&(e=M(e,1)),this.fragment="",this.parse(e,$e)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Me=function(e){var t=c(this,Ne),r=arguments.length>1?arguments[1]:void 0,n=U(t,new Je(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ne=Me.prototype,Te=function(e,t){return{get:function(){return k(this)[e]()},set:t&&function(e){return k(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&f(Ne,{href:Te("serialize","setHref"),origin:Te("getOrigin"),protocol:Te("getProtocol","setProtocol"),username:Te("getUsername","setUsername"),password:Te("getPassword","setPassword"),host:Te("getHost","setHost"),hostname:Te("getHostname","setHostname"),port:Te("getPort","setPort"),pathname:Te("getPathname","setPathname"),search:Te("getSearch","setSearch"),searchParams:Te("getSearchParams"),hash:Te("getHash","setHash")}),l(Ne,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),R){var De=R.createObjectURL,Ge=R.revokeObjectURL;De&&l(Me,"createObjectURL",h(De,R)),Ge&&l(Me,"revokeObjectURL",h(Ge,R))}P(Me,"URL"),s({global:!0,forced:!i,sham:!a},{URL:Me})},"4df4":function(e,t,r){"use strict";var n=r("da84"),s=r("0366"),a=r("c65b"),i=r("7b0b"),o=r("9bdd"),h=r("e95a"),u=r("68ee"),f=r("07fa"),l=r("8418"),c=r("9a1f"),p=r("35a1"),m=n.Array;e.exports=function(e){var t=i(e),r=u(this),n=arguments.length,g=n>1?arguments[1]:void 0,d=void 0!==g;d&&(g=s(g,n>2?arguments[2]:void 0));var v,w,b,P,y,S,U=p(t),k=0;if(!U||this==m&&h(U))for(v=f(t),w=r?new this(v):m(v);v>k;k++)S=d?g(t[k],k):t[k],l(w,k,S);else for(P=c(t,U),y=P.next,w=r?new this:[];!(b=a(y,P)).done;k++)S=d?o(P,g,[b.value,k],!0):b.value,l(w,k,S);return w.length=k,w}},"5fb2":function(e,t,r){"use strict";var n=r("da84"),s=r("e330"),a=2147483647,i=36,o=1,h=26,u=38,f=700,l=72,c=128,p="-",m=/[^\0-\u007E]/,g=/[.\u3002\uFF0E\uFF61]/g,d="Overflow: input needs wider integers to process",v=i-o,w=n.RangeError,b=s(g.exec),P=Math.floor,y=String.fromCharCode,S=s("".charCodeAt),U=s([].join),k=s([].push),H=s("".replace),L=s("".split),R=s("".toLowerCase),q=function(e){var t=[],r=0,n=e.length;while(r<n){var s=S(e,r++);if(s>=55296&&s<=56319&&r<n){var a=S(e,r++);56320==(64512&a)?k(t,((1023&s)<<10)+(1023&a)+65536):(k(t,s),r--)}else k(t,s)}return t},B=function(e){return e+22+75*(e<26)},A=function(e,t,r){var n=0;e=r?P(e/f):e>>1,e+=P(e/t);while(e>v*h>>1)e=P(e/v),n+=i;return P(n+(v+1)*e/(e+u))},C=function(e){var t=[];e=q(e);var r,n,s=e.length,u=c,f=0,m=l;for(r=0;r<e.length;r++)n=e[r],n<128&&k(t,y(n));var g=t.length,v=g;g&&k(t,p);while(v<s){var b=a;for(r=0;r<e.length;r++)n=e[r],n>=u&&n<b&&(b=n);var S=v+1;if(b-u>P((a-f)/S))throw w(d);for(f+=(b-u)*S,u=b,r=0;r<e.length;r++){if(n=e[r],n<u&&++f>a)throw w(d);if(n==u){var H=f,L=i;while(1){var R=L<=m?o:L>=m+h?h:L-m;if(H<R)break;var C=H-R,O=i-R;k(t,y(B(R+C%O))),H=P(C/O),L+=i}k(t,y(B(H))),m=A(f,S,v==g),f=0,v++}}f++,u++}return U(t,"")};e.exports=function(e){var t,r,n=[],s=L(H(R(e),g,"."),".");for(t=0;t<s.length;t++)r=s[t],k(n,b(m,r)?"xn--"+C(r):r);return U(n,".")}},"9bdd":function(e,t,r){var n=r("825a"),s=r("2a62");e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(i){s(e,"throw",i)}}}}]);
//# sourceMappingURL=chunk-57ef77d8.22591aa2.js.map