All Downloads are FREE. Search and download functionalities are using the official Maven repository.

netty-server-ui.v1.js.360.b7d26a0b.js Maven / Gradle / Ivy

The newest version!
"use strict";(self.webpackChunkwu_smart_agent_network=self.webpackChunkwu_smart_agent_network||[]).push([[360],{32321:(e,t,r)=>{r.d(t,{Z:()=>n});const n={description:"系统设置",type:"1",icon:"Settings",name:"系统设置"}},77360:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var n=r(83986),a=r(93540),s=(r(62506),r(70560),r(49693),r(60228),r(47522),r(21694),r(76265),r(78730),r(79307),r(98858),r(61318),r(33228),r(34284),r(66252)),i=r(3577),o=r(49963),u=r(2262),l=r(32321),h={class:"vu_content"},c=function(e){return(0,s.dD)("data-v-5a497a00"),e=e(),(0,s.Cn)(),e}((function(){return(0,s._)("span",null,"添加请求头",-1)})),f=["id","src"],p={class:"content-item"},d={data:function(){return{description:"动态iframe",buttons:{search:{name:"查询"},add:{name:"添加"},edit:{name:"编辑"},del:{name:"删除"},dictionaryData:{name:"查看翻译详细数据",toPath:!0}},type:"1",icon:"Microphone",name:"动态iframe",parentMenu:l.Z}}};const m=Object.assign(d,{__name:"DynamicIframe",setup:function(e){var t=(0,u.iH)([]),r=function(e,t,r){var n=r.src,a=new XMLHttpRequest;a.open("GET",n,!0),a.responseType="blob",a.setRequestHeader("Accept","*/*"),t.forEach((function(e){a.setRequestHeader(e[0],e[1])})),a.onreadystatechange=function(){a.readyState===a.DONE&&(console.log("xhr.response",a.response),200===a.status&&(e.src=URL.createObjectURL(a.response)))},a.send()};(0,s.bv)((0,a.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))));return function(e,n){var a=(0,s.up)("el-input"),u=(0,s.up)("el-button"),l=(0,s.up)("el-empty"),d=(0,s.up)("el-form-item");return(0,s.wg)(),(0,s.iD)("div",h,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(t.value,(function(e){return(0,s.wg)(),(0,s.iD)("view",{key:e.id,class:"content-item"},[(0,s._)("span",null,"窗口"+(0,i.zw)(e.id),1),(0,s.Wm)(a,{modelValue:e.tilt,"onUpdate:modelValue":function(t){return e.tilt=t},placeholder:"窗口描述",clearable:""},null,8,["modelValue","onUpdate:modelValue"]),(0,s._)("div",null,[c,(0,s.Wm)(u,{onClick:function(t){return r=e.headers,console.log("当前iframe请求头"+r),void r.push({name:"",value:""});var r},type:"primary",style:{float:"right"}},{default:(0,s.w5)((function(){return[(0,s.Uk)("增加 ")]})),_:2},1032,["onClick"]),(0,s.wy)((0,s.Wm)(l,null,null,512),[[o.F8,0===e.headers.length]]),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.headers,(function(t,n){return(0,s.wg)(),(0,s.j4)(d,{key:n},{default:(0,s.w5)((function(){return[(0,s.Wm)(a,{modelValue:e.headers[n].name,"onUpdate:modelValue":function(t){return e.headers[n].name=t},placeholder:"请求头key"},null,8,["modelValue","onUpdate:modelValue"]),(0,s.Wm)(a,{modelValue:e.headers[n].value,"onUpdate:modelValue":function(t){return e.headers[n].value=t},placeholder:""},null,8,["modelValue","onUpdate:modelValue"]),(0,s.Wm)(u,{onClick:function(t){return function(e,t){var n=e.headers;console.log("当前iframe请求头"+n),n.splice(t,1);var a=document.querySelector("#"+e.dynamicIframeId);r(a,[["token1","header"]],e)}(e,n)},type:"danger",style:{float:"right"}},{default:(0,s.w5)((function(){return[(0,s.Uk)("删除 ")]})),_:2},1032,["onClick"])]})),_:2},1024)})),128))]),(0,s.Wm)(a,{modelValue:e.src,"onUpdate:modelValue":function(t){return e.src=t},placeholder:"窗口地址",clearable:""},null,8,["modelValue","onUpdate:modelValue"]),(0,s._)("iframe",{id:e.dynamicIframeId,src:e.src,style:{height:"100%",width:"100%",margin:"0",border:"0"},frameborder:"0",scrolling:"no"},"\n            ",8,f),(0,s.Wm)(u,{onClick:function(t){return n=e,a=document.querySelector("#"+n.dynamicIframeId),void r(a,[["token1","header"]],n);var n,a}},{default:(0,s.w5)((function(){return[(0,s.Uk)(" 预览 ")]})),_:2},1032,["onClick"])])})),128)),(0,s._)("view",p,[(0,s.Wm)(u,{type:"primary",onClick:n[0]||(n[0]=function(e){return console.log("111"),void t.value.push({id:"默认ID",src:"https://www.baidu.com",tilt:"默认表头",headers:[],dynamicIframeId:"dynamicIframeId_2"})})},{default:(0,s.w5)((function(){return[(0,s.Uk)("添加iframe ")]})),_:1})])])}}});const v=(0,r(48118).Z)(m,[["__scopeId","data-v-5a497a00"]])},21055:(e,t,r)=>{var n=r(54071),a=r(22615),s=r(90690),i=r(71228),o=r(93292),u=r(19429),l=r(6310),h=r(76522),c=r(5185),f=r(91664),p=Array;e.exports=function(e){var t=s(e),r=u(this),d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,d>2?arguments[2]:void 0));var g,y,w,b,k,U,P=f(t),R=0;if(!P||this===p&&o(P))for(g=l(t),y=r?new this(g):p(g);g>R;R++)U=v?m(t[R],R):t[R],h(y,R,U);else for(k=(b=c(t,P)).next,y=r?new this:[];!(w=a(k,b)).done;R++)U=v?i(b,m,[w.value,R],!0):w.value,h(y,R,U);return y.length=R,y}},50382:(e,t,r)=>{var n=r(9015),a=Math.floor,s=function(e,t){var r=e.length,u=a(r/2);return r<8?i(e,t):o(e,s(n(e,0,u),t),s(n(e,u),t),t)},i=function(e,t){for(var r,n,a=e.length,s=1;s0;)e[n]=e[--n];n!==s++&&(e[n]=r)}return e},o=function(e,t,r,n){for(var a=t.length,s=r.length,i=0,o=0;i{var n=r(85027),a=r(72125);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){a(e,"throw",t)}}},6045:(e,t,r)=>{var n=r(11880);e.exports=function(e,t,r){for(var a in t)n(e,a,t[a],r);return e}},98494:(e,t,r)=>{var n=r(23691),a=TypeError;e.exports=function(e,t){if(!delete e[t])throw new a("Cannot delete property "+n(t)+" of "+n(e))}},6430:(e,t,r)=>{var n=r(68844),a=2147483647,s=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",u=RangeError,l=n(i.exec),h=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),p=n([].join),d=n([].push),m=n("".replace),v=n("".split),g=n("".toLowerCase),y=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;)e=h(e/35),n+=36;return h(n+36*e/(e+38))},b=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r=55296&&a<=56319&&r=i&&nh((a-l)/k))throw new u(o);for(l+=(b-i)*k,i=b,r=0;ra)throw new u(o);if(n===i){for(var U=l,P=36;;){var R=P<=m?1:P>=m+26?26:P-m;if(U{var n=r(3689),a=r(44201),s=r(67697),i=r(53931),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),i&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(i||!s)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"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"!==n||"x"!==new URL("http://x",void 0).host}))},62506:(e,t,r)=>{var n=r(79989),a=r(90690),s=r(27578),i=r(68700),o=r(6310),u=r(5649),l=r(55565),h=r(27120),c=r(76522),f=r(98494),p=r(29042)("splice"),d=Math.max,m=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var r,n,p,v,g,y,w=a(this),b=o(w),k=s(e,b),U=arguments.length;for(0===U?r=n=0:1===U?(r=0,n=b-k):(r=U-2,n=m(d(i(t),0),b-k)),l(b+r-n),p=h(w,n),v=0;vb-n+r;v--)f(w,v-1)}else if(r>n)for(v=b-n;v>k;v--)y=v+r-1,(g=v+n-1)in w?w[y]=w[g]:f(w,y);for(v=0;v{r(752);var n=r(79989),a=r(19037),s=r(22615),i=r(68844),o=r(67697),u=r(76837),l=r(11880),h=r(62148),c=r(6045),f=r(55997),p=r(30974),d=r(618),m=r(767),v=r(69985),g=r(36812),y=r(54071),w=r(50926),b=r(85027),k=r(48999),U=r(34327),P=r(25391),R=r(75684),S=r(5185),L=r(91664),q=r(27807),H=r(21500),x=r(44201),C=r(50382),B=x("iterator"),I="URLSearchParams",_=I+"Iterator",A=d.set,z=d.getterFor(I),O=d.getterFor(_),E=Object.getOwnPropertyDescriptor,V=function(e){if(!o)return a[e];var t=E(a,e);return t&&t.value},j=V("fetch"),D=V("Request"),F=V("Headers"),M=D&&D.prototype,W=F&&F.prototype,T=a.RegExp,Z=a.TypeError,$=a.decodeURIComponent,G=a.encodeURIComponent,N=i("".charAt),Q=i([].join),J=i([].push),K=i("".replace),Y=i([].shift),X=i([].splice),ee=i("".split),te=i("".slice),re=/\+/g,ne=Array(4),ae=function(e){return ne[e-1]||(ne[e-1]=T("((?:%[\\da-f]{2}){"+e+"})","gi"))},se=function(e){try{return $(e)}catch(t){return e}},ie=function(e){var t=K(e,re," "),r=4;try{return $(t)}catch(e){for(;r;)t=K(t,ae(r--),se);return t}},oe=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return ue[e]},he=function(e){return K(G(e),oe,le)},ce=p((function(e,t){A(this,{type:_,target:z(e).entries,index:0,kind:t})}),I,(function(){var e=O(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,q(void 0,!0);var n=t[r];switch(e.kind){case"keys":return q(n.key,!1);case"values":return q(n.value,!1)}return q([n.key,n.value],!1)}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(k(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===N(e,0)?te(e,1):e:U(e)))};fe.prototype={type:I,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,i,o,u,l=this.entries,h=L(e);if(h)for(r=(t=S(e,h)).next;!(n=s(r,t)).done;){if(i=(a=S(b(n.value))).next,(o=s(i,a)).done||(u=s(i,a)).done||!s(i,a).done)throw new Z("Expected sequence with length 2");J(l,{key:U(o.value),value:U(u.value)})}else for(var c in e)g(e,c)&&J(l,{key:c,value:U(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,a=ee(e,"&"),s=0;s0?arguments[0]:void 0));o||(this.size=e.entries.length)},de=pe.prototype;if(c(de,{append:function(e,t){var r=z(this);H(arguments.length,2),J(r.entries,{key:U(e),value:U(t)}),o||this.length++,r.updateURL()},delete:function(e){for(var t=z(this),r=H(arguments.length,1),n=t.entries,a=U(e),s=r<2?void 0:arguments[1],i=void 0===s?s:U(s),u=0;ut.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=z(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),a=0;a1?ge(arguments[1]):{})}}),v(D)){var ye=function(e){return m(this,M),new D(e,arguments.length>1?ge(arguments[1]):{})};M.constructor=ye,ye.prototype=M,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:pe,getState:z}},98858:(e,t,r)=>{var n=r(11880),a=r(68844),s=r(34327),i=r(21500),o=URLSearchParams,u=o.prototype,l=a(u.append),h=a(u.delete),c=a(u.forEach),f=a([].push),p=new o("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&n(u,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var n=[];c(this,(function(e,t){f(n,{key:t,value:e})})),i(t,1);for(var a,o=s(e),u=s(r),p=0,d=0,m=!1,v=n.length;p{var n=r(11880),a=r(68844),s=r(34327),i=r(21500),o=URLSearchParams,u=o.prototype,l=a(u.getAll),h=a(u.has),c=new o("a=1");!c.has("a",2)&&c.has("a",void 0)||n(u,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var n=l(this,e);i(t,1);for(var a=s(r),o=0;o{r(2625)},33228:(e,t,r)=>{var n=r(67697),a=r(68844),s=r(62148),i=URLSearchParams.prototype,o=a(i.forEach);n&&!("size"in i)&&s(i,"size",{get:function(){var e=0;return o(this,(function(){e++})),e},configurable:!0,enumerable:!0})},79391:(e,t,r)=>{r(21694);var n,a=r(79989),s=r(67697),i=r(76837),o=r(19037),u=r(54071),l=r(68844),h=r(11880),c=r(62148),f=r(767),p=r(36812),d=r(45394),m=r(21055),v=r(9015),g=r(10730).codeAt,y=r(6430),w=r(34327),b=r(55997),k=r(21500),U=r(2625),P=r(618),R=P.set,S=P.getterFor("URL"),L=U.URLSearchParams,q=U.getState,H=o.URL,x=o.TypeError,C=o.parseInt,B=Math.floor,I=Math.pow,_=l("".charAt),A=l(/./.exec),z=l([].join),O=l(1..toString),E=l([].pop),V=l([].push),j=l("".replace),D=l([].shift),F=l("".split),M=l("".slice),W=l("".toLowerCase),T=l([].unshift),Z="Invalid scheme",$="Invalid host",G="Invalid port",N=/[a-z]/i,Q=/[\d+-.a-z]/i,J=/\d/,K=/^0x/i,Y=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ae=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,se=/[\t\n\r]/g,ie=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)T(t,e%256),e=B(e/256);return z(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,s=0;s<8;s++)0!==e[s]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=s),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=O(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},oe={},ue=d({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),le=d({},ue,{"#":1,"?":1,"{":1,"}":1}),he=d({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var r=g(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2===e.length&&A(N,_(e,0))&&(":"===(r=_(e,1))||!t&&"|"===r)},de=function(e){var t;return e.length>1&&pe(M(e,0,2))&&(2===e.length||"/"===(t=_(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===W(e)},ve={},ge={},ye={},we={},be={},ke={},Ue={},Pe={},Re={},Se={},Le={},qe={},He={},xe={},Ce={},Be={},Ie={},_e={},Ae={},ze={},Oe={},Ee=function(e,t,r){var n,a,s,i=w(e);if(t){if(a=this.parse(i))throw new x(a);this.searchParams=null}else{if(void 0!==r&&(n=new Ee(r,!0)),a=this.parse(i,null,n))throw new x(a);(s=q(new L)).bindURL(this),this.searchParams=s}};Ee.prototype={type:"URL",parse:function(e,t,r){var a,s,i,o,u,l=this,h=t||ve,c=0,f="",d=!1,g=!1,y=!1;for(e=w(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=j(e,ne,""),e=j(e,ae,"$1")),e=j(e,se,""),a=m(e);c<=a.length;){switch(s=a[c],h){case ve:if(!s||!A(N,s)){if(t)return Z;h=ye;continue}f+=W(s),h=ge;break;case ge:if(s&&(A(Q,s)||"+"===s||"-"===s||"."===s))f+=W(s);else{if(":"!==s){if(t)return Z;f="",h=ye,c=0;continue}if(t&&(l.isSpecial()!==p(fe,f)||"file"===f&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=f,t)return void(l.isSpecial()&&fe[l.scheme]===l.port&&(l.port=null));f="","file"===l.scheme?h=xe:l.isSpecial()&&r&&r.scheme===l.scheme?h=we:l.isSpecial()?h=Pe:"/"===a[c+1]?(h=be,c++):(l.cannotBeABaseURL=!0,V(l.path,""),h=Ae)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!==s)return Z;if(r.cannotBeABaseURL&&"#"===s){l.scheme=r.scheme,l.path=v(r.path),l.query=r.query,l.fragment="",l.cannotBeABaseURL=!0,h=Oe;break}h="file"===r.scheme?xe:ke;continue;case we:if("/"!==s||"/"!==a[c+1]){h=ke;continue}h=Re,c++;break;case be:if("/"===s){h=Se;break}h=_e;continue;case ke:if(l.scheme=r.scheme,s===n)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query;else if("/"===s||"\\"===s&&l.isSpecial())h=Ue;else if("?"===s)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query="",h=ze;else{if("#"!==s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.path.length--,h=_e;continue}l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query,l.fragment="",h=Oe}break;case Ue:if(!l.isSpecial()||"/"!==s&&"\\"!==s){if("/"!==s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,h=_e;continue}h=Se}else h=Re;break;case Pe:if(h=Re,"/"!==s||"/"!==_(f,c+1))continue;c++;break;case Re:if("/"!==s&&"\\"!==s){h=Se;continue}break;case Se:if("@"===s){d&&(f="%40"+f),d=!0,i=m(f);for(var b=0;b65535)return G;l.port=l.isSpecial()&&P===fe[l.scheme]?null:P,f=""}if(t)return;h=Ie;continue}return G}f+=s;break;case xe:if(l.scheme="file","/"===s||"\\"===s)h=Ce;else{if(!r||"file"!==r.scheme){h=_e;continue}switch(s){case n:l.host=r.host,l.path=v(r.path),l.query=r.query;break;case"?":l.host=r.host,l.path=v(r.path),l.query="",h=ze;break;case"#":l.host=r.host,l.path=v(r.path),l.query=r.query,l.fragment="",h=Oe;break;default:de(z(v(a,c),""))||(l.host=r.host,l.path=v(r.path),l.shortenPath()),h=_e;continue}}break;case Ce:if("/"===s||"\\"===s){h=Be;break}r&&"file"===r.scheme&&!de(z(v(a,c),""))&&(pe(r.path[0],!0)?V(l.path,r.path[0]):l.host=r.host),h=_e;continue;case Be:if(s===n||"/"===s||"\\"===s||"?"===s||"#"===s){if(!t&&pe(f))h=_e;else if(""===f){if(l.host="",t)return;h=Ie}else{if(o=l.parseHost(f))return o;if("localhost"===l.host&&(l.host=""),t)return;f="",h=Ie}continue}f+=s;break;case Ie:if(l.isSpecial()){if(h=_e,"/"!==s&&"\\"!==s)continue}else if(t||"?"!==s)if(t||"#"!==s){if(s!==n&&(h=_e,"/"!==s))continue}else l.fragment="",h=Oe;else l.query="",h=ze;break;case _e:if(s===n||"/"===s||"\\"===s&&l.isSpecial()||!t&&("?"===s||"#"===s)){if(".."===(u=W(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"===s||"\\"===s&&l.isSpecial()||V(l.path,"")):me(f)?"/"===s||"\\"===s&&l.isSpecial()||V(l.path,""):("file"===l.scheme&&!l.path.length&&pe(f)&&(l.host&&(l.host=""),f=_(f,0)+":"),V(l.path,f)),f="","file"===l.scheme&&(s===n||"?"===s||"#"===s))for(;l.path.length>1&&""===l.path[0];)D(l.path);"?"===s?(l.query="",h=ze):"#"===s&&(l.fragment="",h=Oe)}else f+=ce(s,le);break;case Ae:"?"===s?(l.query="",h=ze):"#"===s?(l.fragment="",h=Oe):s!==n&&(l.path[0]+=ce(s,oe));break;case ze:t||"#"!==s?s!==n&&("'"===s&&l.isSpecial()?l.query+="%27":l.query+="#"===s?"%23":ce(s,oe)):(l.fragment="",h=Oe);break;case Oe:s!==n&&(l.fragment+=ce(s,ue))}c++}},parseHost:function(e){var t,r,n;if("["===_(e,0)){if("]"!==_(e,e.length-1))return $;if(t=function(e){var t,r,n,a,s,i,o,u=[0,0,0,0,0,0,0,0],l=0,h=null,c=0,f=function(){return _(e,c)};if(":"===f()){if(":"!==_(e,1))return;c+=2,h=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=r=0;r<4&&A(ee,f());)t=16*t+C(f(),16),c++,r++;if("."===f()){if(0===r)return;if(c-=r,l>6)return;for(n=0;f();){if(a=null,n>0){if(!("."===f()&&n<4))return;c++}if(!A(J,f()))return;for(;A(J,f());){if(s=C(f(),10),null===a)a=s;else{if(0===a)return;a=10*a+s}if(a>255)return;c++}u[l]=256*u[l]+a,2!=++n&&4!==n||l++}if(4!==n)return;break}if(":"===f()){if(c++,!f())return}else if(f())return;u[l++]=t}else{if(null!==h)return;c++,h=++l}}if(null!==h)for(i=l-h,l=7;0!==l&&i>0;)o=u[l],u[l--]=u[h+i-1],u[h+--i]=o;else if(8!==l)return;return u}(M(e,1,-1)),!t)return $;this.host=t}else if(this.isSpecial()){if(e=y(e),A(te,e))return $;if(t=function(e){var t,r,n,a,s,i,o,u=F(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n1&&"0"===_(a,0)&&(s=A(K,a)?16:8,a=M(a,8===s?1:2)),""===a)i=0;else{if(!A(10===s?X:8===s?Y:ee,a))return e;i=C(a,s)}V(r,i)}for(n=0;n=I(256,5-t))return null}else if(i>255)return null;for(o=E(r),n=0;n1?arguments[1]:void 0,n=R(t,new Ee(e,!1,r));s||(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())},je=Ve.prototype,De=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&(c(je,"href",De("serialize","setHref")),c(je,"origin",De("getOrigin")),c(je,"protocol",De("getProtocol","setProtocol")),c(je,"username",De("getUsername","setUsername")),c(je,"password",De("getPassword","setPassword")),c(je,"host",De("getHost","setHost")),c(je,"hostname",De("getHostname","setHostname")),c(je,"port",De("getPort","setPort")),c(je,"pathname",De("getPathname","setPathname")),c(je,"search",De("getSearch","setSearch")),c(je,"searchParams",De("getSearchParams")),c(je,"hash",De("getHash","setHash"))),h(je,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),h(je,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),H){var Fe=H.createObjectURL,Me=H.revokeObjectURL;Fe&&h(Ve,"createObjectURL",u(Fe,H)),Me&&h(Ve,"revokeObjectURL",u(Me,H))}b(Ve,"URL"),a({global:!0,constructor:!0,forced:!i,sham:!s},{URL:Ve})},78730:(e,t,r)=>{r(79391)}}]);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy