PageSourceSearch

https://www.optus.com.au/etc.clientlibs/aem-oca/clientlibs/clientl…/resources/1456.3f506ff256d1382c.js

js optus.com.au collected 2026-09-24 08:26:18 UTC 9,742 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_lux2_ssr_catalogue_sfcc=self.webpackChunk_lux2_ssr_catalogue_sfcc||[]).push([["1456"],{43627:function(t,e,r){function n(t,e,r){return e.hasOwnProperty(r)!==t.hasOwnProperty(r)||typeof e[r]!=typeof t[r]}r.d(e,{OM:function(){return y},Ay:function(){return f},sx:function(){return s},Fn:function(){return m},IJ:function(){return p}});let o=(t,e,r,n,o)=>{switch(typeof t[r]){case"object":case"function":if(n.push(t),o.push(e),!i(t[r],e[r],n,o))return!1;n.pop(),o.pop();break;default:if(t[r]!==e[r])return!1}return!0};function i(t,e,r,i){let a;if(isNaN(t)&&isNaN(e)&&"number"==typeof t&&"number"==typeof e||t===e)return!0;if("function"==typeof t&&"function"==typeof e||t instanceof Date&&e instanceof Date||t instanceof RegExp&&e instanceof RegExp||t instanceof String&&e instanceof String||t instanceof Number&&e instanceof Number)return t.toString()===e.toString();if(!(t instanceof Object&&e instanceof Object)||t.isPrototypeOf(e)||e.isPrototypeOf(t)||t.constructor!==e.constructor||t.prototype!==e.prototype||r.indexOf(t)>-1||i.indexOf(e)>-1)return!1;for(a in e)if(n(t,e,a))return!1;for(a in t)if(n(t,e,a)||!o(t,e,a,r,i))return!1;return!0}var a=r(11759);let u="Service",l="My Account",c=(0,a.zk)();function f(t,e=!1){if(c.dataLayer||(c.dataLayer=[]),e&&c.dataLayer.length>0){let e=c.dataLayer[c.dataLayer.length-1];if(function(){let t,e;if(arguments.length<1)return!1;for(t=1,e=arguments.length;t<e;t++){let e=[],r=[];if(!i(arguments[0],arguments[t],e,r))return!1}return!0}(e,t))return e}return c.dataLayer.push(t)}let s=(t,e)=>{f(Object.assign({event:t},e))},y=t=>{f({interactionText:t.text,interactionClickElement:t.clickElement,interactionTarget:t.target,event:"analyticsDataCapture"})},m=({transactionBusinessArea:t=u,transactionSolution:e=l,formFieldId:r="",formId:n="",errorMessageDisplayed:o,uiComponent:i=""})=>{var a,s;f({transactionBusinessArea:t,transactionSolution:e,transactionErrorLayer:"view",formFieldId:r,formId:n,errorMessageDisplayed:o,onPage:null!=(a=c.document.URL)?a:"",pageDocumentTitle:`Javascript - ${null!=(s=c.document.title)?s:""}`,event:"analyticsErrorTracking",uiComponent:i})},p=({interactionText:t,interactionClickElement:e,interactionElementId:r,interactionTarget:n})=>{f({event:"analyticsInteractionTracking",interactionText:t,interactionClickElement:e,interactionElementId:r,interactionTarget:n})}},52362:function(t,e,r){r.d(e,{Ay:function(){return a}});let n=(0,r(11759).zk)(),o=n.console,i=["error","warn","info","log","debug"];class a{constructor(t,e=null){this.name=t,this.prefix=e||`[${t}] `,this._config={}}debug(...t){this.write(5,t)}log(...t){this.write(4,t)}info(...t){this.write(3,t)}warn(...t){this.write(2,t)}error(...t){this.write(1,t)}write(t,e){let r=this.config();if(r[this.name]&&!(r[this.name]<t))return o&&o[i[t-1]](this.prefix,...e)}config(){if((!this.lastChecked||this.lastChecked+1e3<new Date().valueOf())&&n.localStorage){let t=n.localStorage.getItem("Logger");this._config=JSON.parse(t||"{}"),this.lastChecked=new Date().valueOf()}return this._config}}},86123:function(t,e,r){r.d(e,{A:function(){return c}});for(var n,o=new Uint8Array(16),i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,a=[],u=0;u<256;++u)a.push((u+256).toString(16).substr(1));var l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(a[t[e+0]]+a[t[e+1]]+a[t[e+2]]+a[t[e+3]]+"-"+a[t[e+4]]+a[t[e+5]]+"-"+a[t[e+6]]+a[t[e+7]]+"-"+a[t[e+8]]+a[t[e+9]]+"-"+a[t[e+10]]+a[t[e+11]]+a[t[e+12]]+a[t[e+13]]+a[t[e+14]]+a[t[e+15]]).toLowerCase();if(!("string"==typeof r&&i.test(r)))throw TypeError("Stringified UUID is invalid");return r},c=function(t,e,r){var i=(t=t||{}).random||(t.rng||function(){if(!n&&!(n="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"u">typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){r=r||0;for(var a=0;a<16;++a)e[r+a]=i[a];return e}return l(i)}},72131:function(t,e,r){r.r(e),r.d(e,{default:function(){return w},logger:function(){return h}});var n=r(41594),o=r.n(n),i=r(86123),a=r(52362);function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l=function(){var t;function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");u(this,"storage",void 0),u(this,"timeout",void 0),this.storage=t,this.timeout=r}return t=[{key:"setItem",value:function(t,e){this.storage.setItem(t,JSON.stringify({value:e,time:new Date().toISOString()}))}},{key:"getItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.timeout,r=this.storage.getItem(t);if(!r)return"";var n=JSON.parse(r),o=new Date,i=new Date(n.time);return o.valueOf()-i.valueOf()>e?(this.storage.removeItem(t),""):n.value}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),e}(),c=!1,f=function(t,e){if(!c)if(window.optimizelySdkId&&window.optimizelySdk){var r=optimizelySdkId;c=window.optimizelySdk.createInstance({sdkKey:r,datafile:null,errorHandler:{handleError:e}})}else t.log("Waiting for Optimizely to load"),setTimeout(f,100,t),e()},s=o().createContext({}),y=r(43627);function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var p=function(t){var e,r=t.version,i=t.children,a=function(t){if(Array.isArray(t))return t}
1(e=(0,n.useState)(!1))||function(t){var e,r,n=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(t);!(i=(e=n.next()).done)&&(o.push(e.value),2!==o.length);i=!0);}catch(t){a=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e)||function(t){if(t){if("string"==typeof t)return m(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return m(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=a[0],l=a[1],c=(0,n.useContext)(s),f=c.projectName,p=c.variation;return(0,n.useEffect)(function(){if(!u&&p){var t={event:"campaign-decided",optimizelyAttributes:{eventAction:"".concat(f," - ").concat(p),eventLabel:"Entry"}};(0,y.Ay)(t),l(!0)}},[p,u]),p&&r===p?o().createElement(o().Fragment,null,i):null};function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var v=function(t){var e,r=t.projectName,i=t.value,a=t.children,u=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(i||""))||function(t){var e,r,n=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(t);!(i=(e=n.next()).done)&&(o.push(e.value),2!==o.length);i=!0);}catch(t){a=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e)||function(t){if(t){if("string"==typeof t)return d(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return d(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=u[0],c=u[1];return o().createElement(s.Provider,{value:{projectName:r||"",variation:l,setVariation:c}},a)};function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}var h=new a.Ay("Optimizely"),b=function(t){var e=t.projectName,r=t.defaultComponent,a=t.featuredComponents,u=t.children,y=t.timeout,m=void 0===y?200:y,p=t.cacheTime,d=(0,n.useContext)(s),v=d.setVariation,g=d.variation,b=new l(localStorage,6e4*(void 0===p?540:p)),w=function(){return v("default")};return((0,n.useEffect)(function(){g&&b.setItem("optimizely_".concat(e),g)},[g]),(0,n.useEffect)(function(){var t=b.getItem("optimizely_".concat(e));if(t)return v(t),!0;f(h,w);var r=setTimeout(function(){o.disconnect()},m),n=function(){window.optimizelySdkId&&window.optimizelySdk&&a()},o=new MutationObserver(n),a=function(){if(!c)return h.log("optimizely not yet loaded"),setTimeout(a,100),!0;clearTimeout(r),h.log("optimizely loaded");var t=localStorage.getItem("optimizelyUserId");t||(t=(0,i.A)(),localStorage.setItem("optimizelyUserId",t));var n=null==c?void 0:c.createUserContext(t),o=null==n?void 0:n.decide(e);return(null==o?void 0:o.variationKey)&&(v(null==o?void 0:o.variationKey),h.log("Decision variation set by optimizely, version set by that.",o)),!1};return n(),o.observe(document.body,{childList:!0,subtree:!0}),function(){clearTimeout(r)}},[]),r&&a)?o().createElement(o().Fragment,null,"default"===g?r:a[g]):o().createElement(o().Fragment,null,u)},w=function(t){return t.version?o().createElement(p,{version:t.version},t.children):o().createElement(v,g({},t),o().createElement(b,g({},t)))}}}]);

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.