PageSourceSearch

https://hstalks.com/static/global/js/jskit.0c3dfe7878f1.js

js hstalks.com collected 2026-09-24 18:12:54 UTC 15,479 bytes, 1 lines download raw bytes

1require=function r(o,i,u){function s(t,e){if(!i[t]){if(!o[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=i[t]={exports:{}},o[t][0].call(n.exports,function(e){return s(o[t][1][e]||e)},n,n.exports,r,o,i,u)}return i[t].exports}for(var c="function"==typeof require&&require,e=0;e<u.length;e++)s(u[e]);return s}({"jskit/general/Ajax":[function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=e("jquery");function o(){this._numActiveRequests=0,this._requestQueue=[],this._customDequeueFunction=null,this._cancelQueueOnError=!0,this._useAutomaticWaitCursor=!1,this._globalErrorHandler=null,void 0!==o._defaultSettings.useAutomaticWaitCursor&&this.useAutomaticWaitCursor(o._defaultSettings.useAutomaticWaitCursor),void 0!==o._defaultSettings.globalErrorHandler&&this.installGlobalErrorHandler(o._defaultSettings.globalErrorHandler)}s(document).ajaxSend(function(e,t,n){var r,o;/^(GET|HEAD|OPTIONS|TRACE)$/.test(n.type)||(n=n.url,r="//"+document.location.host,o=document.location.protocol+r,n!=o&&n.slice(0,o.length+1)!=o+"/"&&n!=r&&n.slice(0,r.length+1)!=r+"/"&&/^(\/\/|http:|https:).*/.test(n))||t.setRequestHeader("X-CSRFToken",(e=>{var t=null;if(document.cookie&&""!=document.cookie)for(var n=document.cookie.split(";"),r=0;r<n.length;r++){var o=s.trim(n[r]);if(o.substring(0,e.length+1)==e+"="){t=decodeURIComponent(o.substring(e.length+1));break}}return t})("csrftoken"))}),o._defaultSettings={},o.setDefaultSettings=function(e){o._defaultSettings={useAutomaticWaitCursor:e.useAutomaticWaitCursor,globalErrorHandler:e.globalErrorHandler}},o.prototype.useAutomaticWaitCursor=function(e){this._useAutomaticWaitCursor=!!e},o.prototype.showWaitCursor=function(e){e?s("*").css({cursor:"wait"}):s("*").css({cursor:""})},o.prototype.installGlobalErrorHandler=function(e){this._globalErrorHandler=e&&!0!==e?e:this.defaultGlobalErrorHandler},o.prototype.defaultGlobalErrorHandler=function(e,t,n,r){alert("There was a problem retrieving the information. Please try again or reload the page.")},o.prototype.cancelQueueOnError=function(e){this._cancelQueueOnError=!!e},o.prototype.setCustomDequeueFunction=function(e){this._customDequeueFunction=e},o.prototype.disableHTMLElements=function(e){if(e){var t=s(e);t.attr("disabled","disabled").addClass("disabled");for(var n=0;n<t.length;n++){var r=t.get(n);r.disabledOnclick=r.onclick,r.onclick=function(e){return e.preventDefault(),!1}}}},o.prototype.enableHTMLElements=function(e){if(e){var t=s(e);t.removeAttr("disabled").removeClass("disabled");for(var n=0;n<t.length;n++){var r=t.get(n);r.disabledOnclick?r.onclick=r.disabledOnclick:r.onclick=null,r.disabledOnclick=void 0}}},o.prototype._determineEncoderAndContentType=function(e,t,n){return"url"==(n=null==n?"object"==r(t)?"GET"==e?"url":"json":"text":n)?["url","application/x-www-form-urlencoded"]:"json"==n||null==n&&"object"==r(t)?["json","application/json"]:["text","text/plain"]},o.prototype.encode=function(e,t){if(null!=e&&""!==e){if("string"==typeof e)return e;if("url"==t){var n,r="";for(n in e)for(var o=e[n]instanceof Array?e[n]:[e[n]],i=0;i<o.length;i++)r&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(null==o[i]?"":o[i]);return r}if("json"==t)return JSON.stringify(e)}return""},o.prototype.decode=function(e,t){if("url"!=t)return"json"==t?JSON.parse(e):e;var n,r=(o=decodeURI(e)).split("&"),o={};for(n in r){var i=r[n],u=i.indexOf("=");u<0||(o[i.substring(0,u)]=i.substring(u+1))}return o},o.prototype.numActiveRequests=function(){return this._numActiveRequests},o.prototype.get=function(e){return e.method="GET",this.sendRequest(e)},o.prototype.post=function(e){return e.method="POST",this.sendRequest(e)},o.prototype.queueGet=function(e){e.method="GET",this.queueRequest(e)},o.prototype.queuePost=function(e){e.method="POST",this.queueRequest(e)},o.prototype.sendRequest=function(o){var i=this,e=(i.disableHTMLElements(o.disable),o.form&&(o.data={},s.each(s(o.form).serializeArray(),function(e,t){o.data[t.name]=t.value})),i._determineEncoderAndContentType(o.method,o.data,o.encoder)),e=(o.encoder=e[0],e[1]),u=(void 0===o.decoder&&(o.decoder=o.encoder),{type:o.method||"GET",url:o.url,contentType:e,data:this.encode(o.data,o.encoder),dataType:"text"});return u.errorFn=function(e,t,n){"abort"!==t&&(u.hasBeenRetried?(o.error&&o.error(n,t,e,o),i._globalErrorHandler&&i._globalErrorHandler(n,t,e,o)):(u.hasBeenRetried=!0,u.skipNextComplete=!0,s.ajax(u).fail(u.errorFn).done(u.successFn).always(u.completeFn)))},u.successFn=function(e,t,n){e=i.decode(e,o.decoder),o.success&&o.success(e,t,n,o)},u.completeFn=function(e,t,n){var r;u.skipNextComplete?u.skipNextComplete=!1:(i.enableHTMLElements(o.disable),i._numActiveRequests--,i._useAutomaticWaitCursor&&0==i._numActiveRequests&&i.showWaitCursor(!1),r=null,r="string"==typeof n?e:n,o.complete&&o.complete(t,r,o),i._dispatchNextQueuedRequestIfIdle())},i._numActiveRequests++,i._useAutomaticWaitCursor&&i.showWaitCursor(!0),s.ajax(u).fail(u.errorFn).done(u.successFn).always(u.completeFn)},o.prototype.queueRequest=function(e){var o=this,i=e.error;e.error=function(e,t,n,r){(r.cancelQueueOnError||void 0===r.cancelQueueOnError&&o._cancelQueueOnError)&&o.clearAllQueuedRequests(),i&&i(e,t,n,r)},o._enqueueNewAjaxRequest(e)},o.prototype.clearAllQueuedRequests=function(){this._requestQueue=[]},o.prototype._enqueueNewAjaxRequest=function(e){this._requestQueue.push(e),this._dispatchNextQueuedRequestIfIdle()},o.prototype._dispatchNextQueuedRequestIfIdle=function(){var e=null;0==this._numActiveRequests&&0<this._requestQueue.length&&(e=this._customDequeueFunction?this._customDequeueFunction(this._requestQueue):this._requestQueue.shift(),this.sendRequest(e))},t.exports=o},{jquery:void 0}],"jskit/general/Cookie":[function(e,t,n){var r="cookie_privacy_state",o={PrivacyState:{essential:"essential",functional:"functional",performance:"performance",marketing:"marketing"},hasCookiePrivacyPopupCompleted:function(){var e=o.getCookie(r);return!e||-1===e.indexOf(o.PrivacyState.essential)},getCookiePrivacyState:function(){var e=o.getCookie(r);return{essential:!0,functional:-1!==e.indexOf(o.PrivacyState.functional),performance:-1!==e.indexOf(o.PrivacyState.performance),marketing:-1!==e.indexOf(o.PrivacyState.marketing)}}
1,setCookiePrivacyState:function(t){var e=Object.keys(o.PrivacyState).slice(1).filter(function(e){return-1!==t.indexOf(e)});e.unshift(o.PrivacyState.essential),o.setCookie(r,e.join(),180)},clearCookiePrivacyState:function(){o.clearCookie(r)},setCookieForPrivacyLevel:function(e,t,n,r){return!!o.getCookiePrivacyState()[e]&&(o.setCookie(t,n,r),!0)},setCookie:function(e,t,n){var r,o="";n&&((r=new Date).setTime(r.getTime()+24*n*60*60*1e3),o="; expires="+r.toGMTString()),document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+o+"; path=/"},getCookie:function(e,t){for(var n=e+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i,u=r[o];" "==u.charAt(0);)u=u.substring(1,u.length);if(0==u.indexOf(n))return i=u.substring(n.length,u.length),t||void 0===t?decodeURIComponent(i):i}return null},clearCookie:function(e){o.setCookie(e,"",-1)}};t.exports=o},{}],"jskit/general/Interface":[function(e,t,n){function r(e,t){e=i.string(e),t=i.object(t),this._name=e,this._functionList=o.functions(t),this._functionObj=o.pick(t,this._functionList)}var o=e("underscore"),i=e("./TypeCheck");r.prototype.getName=function(){return this._name},r.prototype.getFunctions=function(){return this._functionObj},r.prototype.getFunctionList=function(){return this._functionList},r.prototype.isImplementedBy=function(e){if(!o.isObject(e))return!1;for(var t=0;t<this._functionList.length;t++){var n=this._functionList[t];if(!o.isFunction(e[n]))return!1}return!0},t.exports=r},{"./TypeCheck":"jskit/general/TypeCheck",underscore:void 0}],"jskit/general/Notifier":[function(e,t,n){var r=e("./TypeCheck"),e={_listeners:{},_pendingNotifications:[],_isNotifying:!1,registerListener:function(e,t){e=r.string(e),t=r.func(t),void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t)},unregisterListener:function(e,t){e=r.string(e),t=r.func(t),void 0!==this._listeners[e]&&0<=(t=this._listeners[e].lastIndexOf(t))&&this._listeners[e].splice(t,1)},sendNotification:function(e,t,n){e=r.string(e),t=r.object(t,{}),(n=r.kwargs(n)).immediate=r.bool(n.immediate,!1),n.immediate?this._invokeListenersForNotification(e,t):(this._pendingNotifications.push([e,t]),this.isNotifying||this._processQueuedNotifications())},_processQueuedNotifications:function(){for(this._isNotifying=!0;0<this._pendingNotifications.length;
1){var e=this._pendingNotifications.shift();this._invokeListenersForNotification(e[0],e[1])}this._isNotifying=!1},_invokeListenersForNotification:function(t,n){void 0!==this._listeners[t]&&this._listeners[t].forEach(function(e){e(t,n)})}};t.exports=e},{"./TypeCheck":"jskit/general/TypeCheck"}],"jskit/general/PublicAPI":[function(e,t,n){var r=e("underscore"),o={_KEY:"__public_api__",listObjectFunctions:function(e,t){var n=r.functions(e);return n=t?r.filter(n,t.bind(null,e)):n},listPublicObjectFunctions:function(e){return o.listObjectFunctions(e,function(e,t){return"_"!==t[0]})},listOwnPublicObjectFunctions:function(e){return o.listObjectFunctions(e,function(e,t){return"_"!==t[0]&&e.hasOwnProperty(t)})},listPublicReactComponentFunctions:function(e){return o.listObjectFunctions(e,function(e,t){return"getDOMNode"!==t&&"_"!==t[0]&&e.hasOwnProperty(t)})},definePublicAPI:function(t,e){if(!r.isArray(e))throw new Error('PublicAPI.definePublicAPI(): "funcNameList" parameter must be an array of string function names.');e=r.map(e,function(e){if(!t[e])throw new Error('PublicAPI.definePublicAPI(): No such property "'+e+'" defined on the object.');if(r.isFunction(t[e]))return e;throw new Error('PublicAPI.definePublicAPI(): Property "'+e+'" is not a function.')});void 0===t[o._KEY]?Object.defineProperty(t,o._KEY,{configurable:!1,enumerable:!1,writable:!0,value:e}):t[o._KEY]=r.union(t[o._KEY],e)},listPublicAPI:function(e){return e[o._KEY]||[]},importPublicAPI:function(t,n){var e=o.listPublicAPI(t);r.each(e,function(e){n[e]=t[e].bind(t)}),o.definePublicAPI(n,e)}};t.exports=o},{underscore:void 0}],"jskit/general/TypeCheck":[function(e,t,n){var r=e("underscore"),o={_standardCheckFactory:function(n,r){return function(e,t){if(void 0!==t&&null==e)return t;if(r(e))return e;throw new Error("TypeCheck: Expected "+n+".")}}};o.bool=o._standardCheckFactory("boolean",r.isBoolean),o.string=o._standardCheckFactory("string",r.isString),o.number=o._standardCheckFactory("number",r.isFinite),o.array=o._standardCheckFactory("Array",r.isArray),o.object=o._standardCheckFactory("object",r.isObject),o.func=o._standardCheckFactory("function",r.isFunction),o.date=o._standardCheckFactory("Date",r.isDate),o.regExp=o._standardCheckFactory("RegExp",r.isRegExp),o.kwargs=function(e){return r.clone(o.object(e,{}))},o.implementsInterface=function(e,t,n){if(!t||!t.isImplementedBy)throw new Error("TypeCheck: theInterface argument must be an Interface instance.");if(void 0!==n&&null==e)return n;if(t.isImplementedBy(e))return e;throw new Error("TypeCheck: Expected "+t.getName()+".")},t.exports=o},{underscore:void 0}],"jskit/general/URLHistory":[function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=e("underscore"),e={currentURL:function(){return window.location.toString()},updateQueryString:function(e,t,n,r){e=e||this.currentURL();var o=this.parseURL(e),i=o.params,o=void 0===r?o.hash:r,r=(n&&n.length&&(i=u.omit(i,n)),t&&(i=u.extend({},i,t)),e.split("?")[0].split("#")[0]);return u.isEmpty(i)||(r=r+"?"+this.objectToQueryString(i)),r=o?r+"#"+o:r},replaceQueryString:function(e,t){var n=e.split("#"),e=e.split("?")[0].split("#")[0];return null!=t&&""!==t&&(e+="?"+t),1<n.length&&(e+="#"+n[1]),e}};e.parseURL=function(e){void 0===e&&(e=this.currentURL());var i=document.createElement("a");return{source:i.href=e,protocol:i.protocol.replace(":",""),host:i.hostname,port:i.port,query:i.search,params:(()=>{for(var e,t={},n=i.search.replace(/^\?/,"").split("&"),r=n.length,o=0;o<r;o++)n[o]&&(e=n[o].split("="),t[decodeURIComponent(e[0])]=void 0!==e[1]?decodeURIComponent(e[1]):null);return t})(),file:(i.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:i.hash.replace("#",""),path:i.pathname.replace(/^([^\/])/,"/$1"),relative:(i.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:i.pathname.replace(/^\//,"").split("/")}},e.objectToQueryString=function(e){var t,n=[];for(t in e)if(e.hasOwnProperty(t))if(null==e[t])n.push(encodeURIComponent(t));else if(e[t]instanceof Array)for(var r=0;r<e[t].length;r++)n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t][r]));else n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n.join("&")},e.queryStringToObject=function(e){return void 0===e&&(e=this.currentURL()),this.parseURL(e).params},e.addStateChangeListener=function(t){var n=this;window.addEventListener&&window.addEventListener("popstate",function(e){t(n.currentURL())})},e.pushState=function(e,t){this._updateBrowserState("pushState",e,t)},e.replaceState=function(e,t){this._updateBrowserState("replaceState",e,t)},e._updateBrowserState=function(e,t,n){n=n||"","object"===o(t)&&(r=this.objectToQueryString(t),t=this.replaceQueryString(this.currentURL(),r));var r=this.parseURL();t!==r.source&&t!==r.relative&&window.history&&window.history[e]&&window.history[e](null,n,t)},t.exports=e},{underscore:void 0}],"jskit/general/Utils":[function(e,t,n){var o={findLastIndex:function(e,t,n){n&&(t=t.bind(n));for(var r=e.length-1;0<=r;r--)if(t(e[r],r,e))return r;return-1},listClassMethodNames:function(r,e){for(var t=[],n=Object.getPrototypeOf(r),o=e?Object.prototype:Object.getPrototypeOf(n);n!==o;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t.sort().filter(function(e,t,n){return e!=n[t+1]&&"function"==typeof r[e]})},autoBindClass:function(t,e){var n=(e=e||{}).followPrototype||!1,r=e.prefixes||null,e=o.listClassMethodNames(t,n).filter(function(t){return"constructor"!==t&&(!r||r.s
1ome(function(e){return 0===t.indexOf(e)}))});return e.forEach(function(e){t[e]=t[e].bind(t)}),e}};t.exports=o},{}],"jskit/react/ReactUtils":[function(i,e,t){var u=i("react"),s=i("react-dom"),c=i("underscore"),a=i("jquery"),n={renderComponent:function(t,n,r,o){o=o||"default",a(document).ready(function(){var e=n,e=(c.isFunction(e)||(e=i(n)[o]),u.createElement(e,r));s.render(e,document.getElementById(t))})},escapeHTML:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},cssClass:function(){var n=[];return c.each(arguments,function(e){c.isObject(e)?c.each(e,function(e,t){e&&n.push(t.toString().trim())}):e&&n.push(e.toString().trim())}),n.join(" ")},createSelectOptionList:function(e,t){c.isArray(e)||(e=c.pairs(e));e=c.map(e,function(e){return u.createElement("option",{key:e[0],value:e[0]},e[1])});return void 0!==t&&e.unshift(u.createElement("option",{key:"",value:""},t)),e}};e.exports=n},{jquery:void 0,react:void 0,"react-dom":void 0,underscore:void 0}]},{},[]);

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.