1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc0573a8-b9ce-402e-a008-1b1230228327",e._sentryDebugIdIdentifier="sentry-dbid-cc0573a8-b9ce-402e-a008-1b1230228327")}catch(e){}}();import{i as e}from"./find-BizCUjDy.js";function t(e){return e!=e}function r(r,n){return!(null==r||!r.length)&&function(r,n,o){return n==n?function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}(r,n,o):e(r,t,o)}(r,n,0)>-1}function n(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}var o=class extends Error{constructor(e){super("Status code "+e.status+" received from server."),this.name="RequestError",this.response=e}};function i(e){return"RequestError"===e.name&&422===e.response.status}var s=Object.prototype.toString,c=new Set(["network error","Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Load failed","Network request failed","The network connection was lost."]),a=new Set(["TypeError","ApolloError"]);function u(e){return!(!e||(t=e,"[object Error]"!==s.call(t))||!a.has(e.name)||"string"!=typeof e.message)&&("Load failed"===e.message?void 0===e.stack:c.has(e.message));var t}function f(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var d=function e(t,r){function n(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=f({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+i}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),s=i.slice(1).join("=");try{var c=decodeURIComponent(i[0]);if(n[c]=t.read(s,c),e===c)break}catch(a){}}return e?n[e]:n}},remove:function(e,t){n(e,"",f({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,f({},this.attributes,t))},withConverter:function(t){return e(f({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),l={"X-XSRF-TOKEN":d.get("XSRF-TOKEN")},p=(e,t,r,n)=>{const s={"Content-Type":"application/json","X-viaLibri-Use-JS-Redirects":"true",...l};return fetch(t,{method:e,body:JSON.stringify(n),credentials:"include",headers:s}).then((e=>{if(e.status>=400)throw new o(e);return e})).catch((e=>{if(i(e)||r(),!u(e))throw e}))},h=(e,t,r=null,n="genericPostError")=>p("POST",e,(()=>t(n)),r),g=(e,t,r=null,n="genericPostError")=>p("DELETE",e,(()=>t(n)),r);export{n as a,i,g as n,r as o,h as r,l as t}; 2//# sourceMappingURL=http-C9E3G6m1.js.map
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.