PageSourceSearch

https://www.converse.in/23.4eddaa8221c36091fbc2.js

js converse.in collected 2026-10-04 13:27:14 UTC 14,428 bytes, 1 lines download raw bytes

vendor: 4,669 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"+qE3":function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise(function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&y(e,"error",t,r)}(e,o,{once:!0})})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var o,i,s;if(c(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),void 0===s)s=i[t]=r,++e._eventsCount;else if("function"==typeof s?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=f(e))>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,console&&console.warn}return e}function v(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):d(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function d(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return f(this)},a.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)i(u,this,t);else{var c=u.length,f=d(u,c);for(r=0;r<c;++r)i(f[r],this,t)}return!0},a.prototype.addListener=function(e,t){return l(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return l(this,e,t,!0)},a.prototype.once=function(e,t){return c(t),this.on(e,v(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,v(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,n,o,i,s;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit
1("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},"+sVj":function(e,t,r){"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,s=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw s}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",function(){return s});var i=function(e,t){var r=e.graphQLErrors,n=e.message;return r&&r.length?t||r.map(function(e){return e.message}).join(", "):n},s=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=[],s=n(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;a&&o.push(i(a,r))}}catch(e){s.e(e)}finally{s.f()}return o.join(", ")}},"9Y5d":function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r("q1tI"),o=function(e){var t=e.onClick,r=e.value_index;return{handleClick:Object(n.useCallback)(function(){t(r)},[r,t])}}},HTR8:function(e,t,r){"use strict";var n=r("J4zp"),o=r.n(n);t.a=function(e){if(null==e||!Array.isArray(e))throw new Error("Expected `callbacks` to be array.");return function(t,r){for(var n=null,i=0;i<e.length;i++){var s=e[i];if(null==s||!Array.isArray(s)&&"function"!=typeof s)throw new Error("Expected `callbacks["+i+"]` to be array or function.");if(Array.isArray(s)){var a=o()(s,2),u=a[0],c=a[1];if("function"!=typeof u)throw new Error("Expected `callbacks["+i+"][0]` to be function.");n=u(t,r,c)}else n=s(t,r);if(n)break}return n}}},NVgn:function(e,t,r){"use strict";var n=r("JPst"),o=r.n(n)()(function(e){return e[1]});o.push([e.i,".errorMessage-root-uB8 {\n}\n\n.errorMessage-errorMessage-pas {\n}\n",""]),o.locals={root:"errorMessage-root-uB8",errorMessage:"errorMessage-errorMessage-pas font-semibold leading-normal text-error text-sm"},t.a=o},TsSr:function(e,t,r){"use strict";var n=r("q1tI"),o=r("i8i4"),i=r("17x9"),s=function(e){var t=e.children,r=e.container,i=!globalThis.document,s=Object(n.useMemo)(function(){return i?null:r instanceof HTMLElement?r:document.getElementById("root")},[r,i]);return i?null:Object(o.createPortal)(t,s)};t.a=s,s.propTypes={children:i.node,container:i.object}},YXm5:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(e){return"ConfigurableProduct"===(null==e?void 0:e.__typename)}},aWSu:function(e,t,r){"use strict";var n=r("JPst"),o=r.n(n)()(function(e){return e[1]});
1o.push([e.i,"",""]),o.locals={},t.a=o},c3RJ:function(e,t,r){"use strict";var n=r("J4zp"),o=r.n(n),i=r("q1tI"),s=r("8UhI");t.a=function(e){var t=Object(i.useState)(!0),r=o()(t,2),n=r[0],a=r[1],u=console.warn,c=/^Attempting to get field (.*) but it does not exist$/g;n&&(console.warn=function(e){e.match(c)||u(e)}),Object(i.useEffect)(function(){a(!1)},[]);var f=Object(s.k)(e);return n&&(console.warn=u),f}},dTQg:function(e,t,r){"use strict";var n=r("q1tI"),o=r.n(n),i=r("17x9"),s=r("+sVj"),a=r("dDsW"),u={behavior:"smooth",block:"center"},c=r("y1Xp"),f=r("LboF"),l=r.n(f),v=r("NVgn"),p={injectType:"singletonStyleTag",insert:"head",singleton:!0},h=(l()(v.a,p),v.a.locals||{}),d=o.a.forwardRef(function(e,t){var r=e.children,n=Object(c.a)(h,e.classes);return o.a.createElement("div",{className:n.root,ref:t},o.a.createElement("span",{className:n.errorMessage},r))}),y=d;d.propTypes={classes:Object(i.shape)({root:i.string,errorMessage:i.string}),children:i.node};var m=r("aWSu"),g={injectType:"singletonStyleTag",insert:"head",singleton:!0},b=(l()(m.a,g),m.a.locals||{}),w=function(e){var t=e.classes,r=e.errors,i=e.scrollOnError,f=function(e){var t=e.errors,r=e.allowErrorMessages,o=Object(a.a)().formatMessage;return{errorMessage:Object(n.useMemo)(function(){var e=r?"":o({id:"formError.errorMessage",defaultMessage:"An error has occurred. Please check the input and try again."});return Object(s.a)(t,e)},[t,o,r])}}({errors:r,allowErrorMessages:e.allowErrorMessages}).errorMessage,l=Object(n.useRef)(null);!function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;Object(n.useEffect)(function(){e.current&&e.current instanceof HTMLElement&&t&&e.current.scrollIntoView(r)},[r,e,t])}(l,i&&f);var v=Object(c.a)(b,t);return f?o.a.createElement(y,{classes:v,ref:l},f):null};t.a=w;w.propTypes={classes:Object(i.shape)({root:i.string,errorMessage:i.string}),errors:Object(i.arrayOf)(Object(i.instanceOf)(Error)),scrollOnError:i.bool,allowErrorMessages:i.bool},w.defaultProps={scrollOnError:!0}},t9Vx:function(e,t,r){"use strict";r.d(t,"a",function(){return u});var n=r("J4zp"),o=r.n(n),i=r("xYpT");function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.item,a=n.variants;if(!r){r=new Map;var u,c=s(n.configurable_options);try{for(c.s();!(u=c.n()).done;){var f=u.value;r.set(Number(f.attribute_id),f.attribute_code)}}catch(e){c.e(e)}finally{c.f()}}var l=Array.from(t,function(e){var t=o()(e,2);return{option_id:t[0],option_value:t[1]}}),v=Object(i.a)({variants:a,optionCodes:r,optionSelections:t});return v?(Object.assign(e,{options:l,parentSku:n.sku,item:Object.assign({},v.product)}),e):e}},xYpT:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r("J4zp"),o=r.n(n);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var a=function(e){var t=e.variants,r=e.optionCodes,n=e.optionSelections;return t.find(function(e){var t,s=e.attributes,a=e.product,u=(s||[]).reduce(function(e,t){var r=t.code,n=t.value_index;return new Map(e).set(r,n)},new Map),c=i(n);try{for(c.s();!(t=c.n()).done;){var f=o()(t.value,2),l=f[0],v=f[1],p=r.get(l),h=a[p]===v,d=u.get(p)===v;if(!h&&!d)return!1}}catch(e){c.e(e)}finally{c.f()}return!0})}},xqS9:function(e,t,r){"use strict";r.d(t,"a",function(){return o}
1);var n=["SimpleProduct","ConfigurableProduct"],o=function(e){return n.includes(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.