1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3abba25d"],{"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"),o=r("da84"),u=r("37e8"),c=r("6eeb"),h=r("19aa"),l=r("5135"),f=r("60da"),p=r("4df4"),d=r("6547").codeAt,g=r("5fb2"),m=r("d44e"),v=r("9861"),b=r("69f3"),y=o.URL,w=v.URLSearchParams,L=v.getState,U=b.set,k=b.getterFor("URL"),R=Math.floor,S=Math.pow,A="Invalid authority",x="Invalid scheme",O="Invalid host",q="Invalid port",B=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,$=/\d/,E=/^(0x|0X)/,D=/^[0-7]+$/,P=/^\d+$/,j=/^[\dA-Fa-f]+$/,T=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,I=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,F=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Q=/[\u0009\u000A\u000D]/g,H=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return O;if(r=J(t.slice(1,-1)),!r)return O;e.host=r}else if(K(e)){if(t=g(t),T.test(t))return O;if(r=V(t),null===r)return O;e.host=r}else{if(I.test(t))return O;for(r="",n=p(t),a=0;a<n.length;a++)r+=_(n[a],z);e.host=r}},V=function(e){var t,r,n,a,i,s,o,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),t=u.length,t>4)return e;for(r=[],n=0;n<t;n++){if(a=u[n],""==a)return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=E.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)s=0;else{if(!(10==i?P:8==i?D:j).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(o=r.pop(),n=0;n<r.length;n++)o+=r[n]*S(256,3-n);return o},J=function(e){var t,r,n,a,i,s,o,u=[0,0,0,0,0,0,0,0],c=0,h=null,l=0,f=function(){return e.charAt(l)};if(":"==f()){if(":"!=e.charAt(1))return;l+=2,c++,h=c}while(f()){if(8==c)return;if(":"!=f()){t=r=0;while(r<4&&j.test(f()))t=16*t+parseInt(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;n=0;while(f()){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!$.test(f()))return;while($.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++}u[c]=256*u[c]+a,n++,2!=n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;u[c++]=t}else{if(null!==h)return;l++,c++,h=c}}if(null!==h){s=c-h,c=7;while(0!=c&&s>0)o=u[c],u[c--]=u[h+s-1],u[h+--s]=o}else if(8!=c)return;return u},M=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},N=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=R(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=M(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},z={},Z=f({},z,{" ":1,'"':1,"<":1,">":1,"`":1}),X=f({},Z,{"#":1,"?":1,"{":1,"}":1}),Y=f({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),_=function(e,t){var r=d(e,0);return r>32&&r<127&&!l(t,e)?e:encodeURIComponent(e)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},K=function(e){return l(G,e.scheme)},W=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&&B.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
|