1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29a88fcd"],{"0d3b":function(e,t,r){var n=r("d039"),a=r("b622"),i=r("c430"),s=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,a=r("23e7"),i=r("83ab"),s=r("0d3b"),u=r("da84"),o=r("37e8"),h=r("6eeb"),c=r("19aa"),l=r("5135"),f=r("60da"),p=r("4df4"),g=r("6547").codeAt,v=r("5fb2"),d=r("d44e"),m=r("9861"),w=r("69f3"),y=u.URL,b=m.URLSearchParams,k=m.getState,R=w.set,L=w.getterFor("URL"),U=Math.floor,S=Math.pow,A="Invalid authority",q="Invalid scheme",B="Invalid host",P="Invalid port",j=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,E=/\d/,I=/^(0x|0X)/,C=/^[0-7]+$/,F=/^\d+$/,O=/^[\dA-Fa-f]+$/,T=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,J=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,$=/[\u0009\u000A\u000D]/g,M=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return B;if(r=z(t.slice(1,-1)),!r)return B;e.host=r}else if(Y(e)){if(t=v(t),T.test(t))return B;if(r=N(t),null===r)return B;e.host=r}else{if(D.test(t))return B;for(r="",n=p(t),a=0;a<n.length;a++)r+=V(n[a],X);e.host=r}},N=function(e){var t,r,n,a,i,s,u,o=e.split(".");if(o.length&&""==o[o.length-1]&&o.pop(),t=o.length,t>4)return e;for(r=[],n=0;n<t;n++){if(a=o[n],""==a)return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=I.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)s=0;else{if(!(10==i?F:8==i?C:O).test(a))return e;s=parseInt(a,i)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=S(256,5-t))return null}else if(s>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*S(256,3-n);return u},z=function(e){var t,r,n,a,i,s,u,o=[0,0,0,0,0,0,0,0],h=0,c=null,l=0,f=function(){return e.charAt(l)};if(":"==f()){if(":"!=e.charAt(1))return;l+=2,h++,c=h}while(f()){if(8==h)return;if(":"!=f()){t=r=0;while(r<4&&O.test(f()))t=16*t+parseInt(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;n=0;while(f()){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!E.test(f()))return;while(E.test(f())){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;l++}o[h]=256*o[h]+a,n++,2!=n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;o[h++]=t}else{if(null!==c)return;l++,h++,c=h}}if(null!==c){s=h-c,h=7;while(0!=h&&s>0)u=o[h],o[h--]=o[c+s-1],o[c+--s]=u}else if(8!=h)return;return o},Z=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=U(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=Z(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},X={},G=f({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),Q=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var r=g(e,0);return r>32&&r<127&&!l(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return l(W,e.scheme)},_=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&j.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=functio
|