PageSourceSearch

https://dex.guru/static/js/312.c3915de6.js

js dex.guru collected 2026-10-02 10:59:46 UTC 9,139 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdexguru=self.webpackChunkdexguru||[]).push([[312],{57774:(e,t,r)=>{r.d(t,{i:()=>n});const n="abi/5.7.0"},13699:(e,t,r)=>{r.d(t,{R:()=>b,$:()=>v});var n=r(80928),o=r(99138),s=r(78663),i=r(57774),l=r(47069),a=r(625),c=r(3388),u=r(73039),h=r(87179),d=r(73333),f=r(68280),p=r(11487),y=r(40204),m=r(56286),g=r(20694);const w=new s.Logger(i.i),E=new RegExp(/^bytes([0-9]*)$/),R=new RegExp(/^(u?int)([0-9]*)$/);class b{constructor(e){(0,o.defineReadOnly)(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new a.w(e.name);case"bool":return new u.Y(e.name);case"string":return new y.i(e.name);case"bytes":return new h.d(e.name);case"array":return new c.$b(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new m.a((e.components||[]).map((e=>this._getCoder(e))),e.name);case"":return new f.Q(e.name)}let t=e.type.match(R);if(t){let r=parseInt(t[2]||"256");return(0===r||r>256||r%8!==0)&&w.throwArgumentError("invalid "+t[1]+" bit length","param",e),new p.e(r/8,"int"===t[1],e.name)}if(t=e.type.match(E),t){let r=parseInt(t[1]);return(0===r||r>32)&&w.throwArgumentError("invalid bytes length","param",e),new d.Y(r,e.name)}return w.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,t){return new l.Ej(e,this._getWordSize(),this.coerceFunc,t)}_getWriter(){return new l.QV(this._getWordSize())}getDefaultValue(e){const t=e.map((e=>this._getCoder(g._R.from(e))));return new m.a(t,"_").defaultValue()}encode(e,t){e.length!==t.length&&w.throwError("types/values length mismatch",s.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});const r=e.map((e=>this._getCoder(g._R.from(e)))),n=new m.a(r,"_"),o=this._getWriter();return n.encode(o,t),o.data}decode(e,t,r){const o=e.map((e=>this._getCoder(g._R.from(e))));return new m.a(o,"_").decode(this._getReader((0,n.arrayify)(t),r))}}const v=new b},14262:(e,t,r)=>{r.r(t),r.d(t,{_fetchData:()=>p,fetchJson:()=>y,poll:()=>m});var n=r(43557),o=r(80928),s=r(99138),i=r(22172),l=r(78663);var a=function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{a(n.next(e))}catch(t){s(t)}}function l(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,l)}a((n=n.apply(e,t||[])).next())}))};function c(e,t){return a(this,void 0,void 0,(function*(){null==t&&(t={});const r={method:t.method||"GET",headers:t.headers||{},body:t.body||void 0};
1if(!0!==t.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=t.fetchOptions){const e=t.fetchOptions;e.mode&&(r.mode=e.mode),e.cache&&(r.cache=e.cache),e.credentials&&(r.credentials=e.credentials),e.redirect&&(r.redirect=e.redirect),e.referrer&&(r.referrer=e.referrer)}const n=yield fetch(e,r),s=yield n.arrayBuffer(),i={};return n.headers.forEach?n.headers.forEach(((e,t)=>{i[t.toLowerCase()]=e})):n.headers.keys().forEach((e=>{i[e.toLowerCase()]=n.headers.get(e)})),{headers:i,statusCode:n.status,statusMessage:n.statusText,body:(0,o.arrayify)(new Uint8Array(s))}}))}var u=function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{a(n.next(e))}catch(t){s(t)}}function l(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,l)}a((n=n.apply(e,t||[])).next())}))};const h=new l.Logger("web/5.7.0");function d(e){return new Promise((t=>{setTimeout(t,e)}))}function f(e,t){if(null==e)return null;if("string"===typeof e)return e;if((0,o.isBytesLike)(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return(0,i.ZN)(e)}catch(r){}return(0,o.hexlify)(e)}return e}function p(e,t,r){const o="object"===typeof e&&null!=e.throttleLimit?e.throttleLimit:12;h.assertArgument(o>0&&o%1===0,"invalid connection throttle limit","connection.throttleLimit",o);const a="object"===typeof e?e.throttleCallback:null,p="object"===typeof e&&"number"===typeof e.throttleSlotInterval?e.throttleSlotInterval:100;h.assertArgument(p>0&&p%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",p);const y="object"===typeof e&&!!e.errorPassThrough,m={};let g=null;const w={method:"GET"};let E=!1,R=12e4;if("string"===typeof e)g=e;else if("object"===typeof e){if(null!=e&&null!=e.url||h.throwArgumentError("missing URL","connection.url",e),g=e.url,"number"===typeof e.timeout&&e.timeout>0&&(R=e.timeout),e.headers)for(const t in e.headers)m[t.toLowerCase()]={key:t,value:String(e.headers[t])},["if-none-match","if-modified-since"].indexOf(t.toLowerCase())>=0&&(E=!0);if(w.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==g.substring(0,6)&&!0!==e.allowInsecureAuthentication&&h.throwError("basic authentication requires a secure https url",l.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:g,user:e.user,password:"[REDACTED]"});const t=e.user+":"+e.password;m.authorization={key:"Authorization",value:"Basic "+(0,n.c)((0,i.Y0)(t))}}null!=e.skipFetchSetup&&(w.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(w.fetchOptions=(0,s.shallowCopy)(e.fetchOptions))}const b=new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$","i"),v=g?g.match(b):null;if(v)try{const e={statusCode:200,statusMessage:"OK",headers:{"content-type":v[1]},body:(0,n.J)(v[2])};let t=e.body;return r&&(t=r(e.body,e)),Promise.resolve(t)}catch(S){h.throwError("processing response error",l.Logger.errors.SERVER_ERROR,{body:f(v[1],v[2]),error:S,requestBody:null,requestMethod:"GET",url:g})}t&&(w.method="POST",w.body=t,null==m["content-type"]&&(m["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==m["content-length"]&&(m["content-length"]={key:"Content-Length",value:String(t.length)}));const C={};Object.keys(m).forEach((e=>{const t=m[e];C[t.key]=t.value})),w.headers=C;const _=function(){let e=null;return{promise:new Promise((function(t,r){R&&(e=setTimeout((()=>{null!=e&&(e=null,r(h.makeError("timeout",l.Logger.errors.TIMEOUT,{requestBody:f(w.body,C["content-type"]),requestMethod:w.method,timeout:R,url:g})))}),R))})),cancel:function(){null!=e&&(clearTimeout(e),e=null)}}}(),L=function(){return u(this,void 0,void 0,(function*(){for(let e=0;e<o;e++){let t=null;try{if(t=yield c(g,w),e<o)if(301===t.statusCode||302===t.statusCode){const e=t.headers.location||"";if("GET"===w.method&&e.match(/^https:/)){g=t.headers.location;continue}}else if(429===t.statusCode){let r=!0;if(a&&(r=yield a(e,g)),r){let r=0;const n=t.headers["retry-after"];r="string"===typeof n&&n.match(/^[1-9][0-9]*$/)?1e3*parseInt(n):p*parseInt(String(Math.random()*Math.pow(2,e))),yield d(r);continue}}}catch(S){t=S.response,null==t&&(_.cancel(),h.throwError("missing response",l.Logger.errors.SERVER_ERROR,{requestBody:f(w.body,C["content-type"]),requestMethod:w.method,serverError:S,url:g}))}let n=t.body;if(E&&304===t.statusCode?n=null:!y&&(t.statusCode<200||t.statusCode>=300)&&(_.cancel(),h.throwError("bad response",l.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:f(n,t.headers?t.headers["content-type"]:null),requestBody:f(w.body,C["content-type"]),requestMethod:w.method,url:g})),r)try{const e=yield r(n,t);return _.cancel(),e}catch(S){if(S.throttleRetry&&e<o){let t=!0;
1if(a&&(t=yield a(e,g)),t){const t=p*parseInt(String(Math.random()*Math.pow(2,e)));yield d(t);continue}}_.cancel(),h.throwError("processing response error",l.Logger.errors.SERVER_ERROR,{body:f(n,t.headers?t.headers["content-type"]:null),error:S,requestBody:f(w.body,C["content-type"]),requestMethod:w.method,url:g})}return _.cancel(),n}return h.throwError("failed response",l.Logger.errors.SERVER_ERROR,{requestBody:f(w.body,C["content-type"]),requestMethod:w.method,url:g})}))}();return Promise.race([_.promise,L])}function y(e,t,r){let n=null;if(null!=t){n=(0,i.Y0)(t);const r="string"===typeof e?{url:e}:(0,s.shallowCopy)(e);if(r.headers){0!==Object.keys(r.headers).filter((e=>"content-type"===e.toLowerCase())).length||(r.headers=(0,s.shallowCopy)(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};e=r}return p(e,n,((e,t)=>{let n=null;if(null!=e)try{n=JSON.parse((0,i.ZN)(e))}catch(o){h.throwError("invalid JSON",l.Logger.errors.SERVER_ERROR,{body:e,error:o})}return r&&(n=r(n,t)),n}))}function m(e,t){return t||(t={}),null==(t=(0,s.shallowCopy)(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise((function(r,n){let o=null,s=!1;const i=()=>!s&&(s=!0,o&&clearTimeout(o),!0);t.timeout&&(o=setTimeout((()=>{i()&&n(new Error("timeout"))}),t.timeout));const l=t.retryLimit;let a=0;!function o(){return e().then((function(e){if(void 0!==e)i()&&r(e);else if(t.oncePoll)t.oncePoll.once("poll",o);else if(t.onceBlock)t.onceBlock.once("block",o);else if(!s){if(a++,a>l)return void(i()&&n(new Error("retry limit reached")));let e=t.interval*parseInt(String(Math.random()*Math.pow(2,a)));e<t.floor&&(e=t.floor),e>t.ceiling&&(e=t.ceiling),setTimeout(o,e)}return null}),(function(e){i()&&n(e)}))}()}))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.