PageSourceSearch

https://www.hallosophia.com/static/js/42820.a95351a0.chunk.js

js hallosophia.com collected 2026-10-04 22:38:41 UTC 7,858 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksophia=self.webpackChunksophia||[]).push([[42820],{23717:function(t,e,n){function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}n.r(e),n.d(e,{default:function(){return q}});var i=[],r=i.forEach,a=i.slice;function s(t){return r.call(a.call(arguments,1),(function(e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n])})),t}function u(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":o(XMLHttpRequest))}var c,f,l,d=n.p+"static/media/getFetch.40f37ddea2378391108f.cjs",p=n.t(d);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}"function"===typeof fetch&&(c="undefined"!==typeof n.g&&n.g.fetch?n.g.fetch:"undefined"!==typeof window&&window.fetch?window.fetch:fetch),u()&&("undefined"!==typeof n.g&&n.g.XMLHttpRequest?f=n.g.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(f=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof n.g&&n.g.ActiveXObject?l=n.g.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(l=window.ActiveXObject)),c||!p||f||l||(c=d||p),"function"!==typeof c&&(c=void 0);var h=function(t,e){if(e&&"object"===y(e)){var n="";for(var o in e)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);if(!n)return t;t=t+(-1!==t.indexOf("?")?"&":"?")+n.slice(1)}return t},v=function(t,e,n){c(t,e).then((function(t){if(!t.ok)return n(t.statusText||"Error",{status:t.status});t.text().then((function(e){n(null,{status:t.status,data:e})})).catch(n)})).catch(n)},m=!1,g=function(t,e,n,o){return"function"===typeof n&&(o=n,n=void 0),o=o||function(){},c&&0!==e.indexOf("file:")?function(t,e,n,o){t.queryStringParams&&(e=h(e,t.queryStringParams));var i=s({},"function"===typeof t.customHeaders?t.customHeaders():t.customHeaders);n&&(i["Content-Type"]="application/json");var r="function"===typeof t.requestOptions?t.requestOptions(n):t.requestOptions,a=s({method:n?"POST":"GET",body:n?t.stringify(n):void 0,headers:i},m?{}:r);try{v(e,a,o)}catch(u){if(!r||0===Object.keys(r).length||!u.message||u.message.indexOf("not implemented")<0)return o(u);try{Object.keys(r).forEach((function(t){delete a[t]})),v(e,a,o),m=!0}catch(c){o(c)}}}(t,e,n,o):u()||"function"===typeof ActiveXObject?function(t,e,n,o){n&&"object"===y(n)&&(n=h("",n).slice(1)),t.queryStringParams&&(e=h(e,t.queryStringParams));try{var i;(i=f?new f:new l("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",e,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,n&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var r=t.customHeaders;if(r="function"===typeof r?r():r)for(var a in r)i.setRequestHeader(a,r[a]);i.onreadystatechange=function(){i.readyState>3&&o(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(n)}catch(s){console&&console.log(s)}}(t,e,n,o):void o(new Error("No fetch and no xhr implementation found!"))};function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,O(o.key),o)}}function O(t){var e=function(t,e){if("object"!==b(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==b(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===b(e)?e:String(e)}var S=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:function(t){return JSON.parse(t)},stringify:JSON.stringify,parsePayload:function(t,e,n){return function(t,e,n){return(e=O(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n||"")},parseLoadPayload:function(t,e){},request:g,reloadInterval:"undefined"===typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},P=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.services=e,this.options=n,this.allOptions=o,this.type="backend",this.init(e,n,o)}var e,n,o;return e=t,n=[{key:"init",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=t,this.options=s(n,this.options||{},S()),this.allOptions=o,this.services&&this.options.reloadInterval&&setInterval((function(){return e.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(t,e,n){this._readAny(t,t,e,e,n)}},{key:"read",value:function(t,e,n){this._readAny([t],t,[e],e,n)}},{key:"_readAny",value:function(t,e,n,o,i){var r,a=this,s=this.options.loadPath;"function"===typeof this.options.loadPath&&(s=this.options.loadPath(t,n)),(s=function(t){return!!t&&"function"===typeof t.then}(r=s)?r:Promise.resolve(r)).then((function(r){if(!r)return i(null,{});var s=a.services.interpolator.interpolate(r,{lng:t.join("+"),ns:n.join("+")});a.loadUrl(s,i,e,o)}))}},{key:"loadUrl",value:function(t,e,n,o){var i=this,r="string"===typeof n?[n]:n,a="string"===typeof o?[o]:o,s=this.options.parseLoadPayload(r,a);
1this.options.request(this.options,t,s,(function(r,a){if(a&&(a.status>=500&&a.status<600||!a.status))return e("failed loading "+t+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return e("failed loading "+t+"; status code: "+a.status,!1);if(!a&&r&&r.message&&r.message.indexOf("Failed to fetch")>-1)return e("failed loading "+t+": "+r.message,!0);if(r)return e(r,!1);var s,u;try{s="string"===typeof a.data?i.options.parse(a.data,n,o):a.data}catch(c){u="failed parsing "+t+" to json"}if(u)return e(u,!1);e(null,s)}))}},{key:"create",value:function(t,e,n,o,i){var r=this;if(this.options.addPath){"string"===typeof t&&(t=[t]);var a=this.options.parsePayload(e,n,o),s=0,u=[],c=[];t.forEach((function(n){var o=r.options.addPath;"function"===typeof r.options.addPath&&(o=r.options.addPath(n,e));var f=r.services.interpolator.interpolate(o,{lng:n,ns:e});r.options.request(r.options,f,a,(function(e,n){s+=1,u.push(e),c.push(n),s===t.length&&"function"===typeof i&&i(u,c)}))}))}}},{key:"reload",value:function(){var t=this,e=this.services,n=e.backendConnector,o=e.languageUtils,i=e.logger,r=n.language;if(!r||"cimode"!==r.toLowerCase()){var a=[],s=function(t){o.toResolveHierarchy(t).forEach((function(t){a.indexOf(t)<0&&a.push(t)}))};s(r),this.allOptions.preload&&this.allOptions.preload.forEach((function(t){return s(t)})),a.forEach((function(e){t.allOptions.ns.forEach((function(t){n.read(e,t,"read",null,null,(function(o,r){o&&i.warn("loading namespace ".concat(t," for language ").concat(e," failed"),o),!o&&r&&i.log("loaded namespace ".concat(t," for language ").concat(e),r),n.loaded("".concat(e,"|").concat(t),o,r)}))}))}))}}}],n&&w(e.prototype,n),o&&w(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();P.type="backend";var q=P}}]);
2//# sourceMappingURL=42820.a95351a0.chunk.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.