PageSourceSearch

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

js optus.com.au collected 2026-09-24 08:28:20 UTC 14,217 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_lux2_ssr_catalogue_sfcc=self.webpackChunk_lux2_ssr_catalogue_sfcc||[]).push([["5093"],{43627:function(n,t,e){function r(n,t,e){return t.hasOwnProperty(e)!==n.hasOwnProperty(e)||typeof t[e]!=typeof n[e]}e.d(t,{OM:function(){return d},Ay:function(){return s},sx:function(){return f},Fn:function(){return g},IJ:function(){return m}});let o=(n,t,e,r,o)=>{switch(typeof n[e]){case"object":case"function":if(r.push(n),o.push(t),!i(n[e],t[e],r,o))return!1;r.pop(),o.pop();break;default:if(n[e]!==t[e])return!1}return!0};function i(n,t,e,i){let a;if(isNaN(n)&&isNaN(t)&&"number"==typeof n&&"number"==typeof t||n===t)return!0;if("function"==typeof n&&"function"==typeof t||n instanceof Date&&t instanceof Date||n instanceof RegExp&&t instanceof RegExp||n instanceof String&&t instanceof String||n instanceof Number&&t instanceof Number)return n.toString()===t.toString();if(!(n instanceof Object&&t instanceof Object)||n.isPrototypeOf(t)||t.isPrototypeOf(n)||n.constructor!==t.constructor||n.prototype!==t.prototype||e.indexOf(n)>-1||i.indexOf(t)>-1)return!1;for(a in t)if(r(n,t,a))return!1;for(a in n)if(r(n,t,a)||!o(n,t,a,e,i))return!1;return!0}var a=e(11759);let c="Service",l="My Account",u=(0,a.zk)();function s(n,t=!1){if(u.dataLayer||(u.dataLayer=[]),t&&u.dataLayer.length>0){let t=u.dataLayer[u.dataLayer.length-1];if(function(){let n,t;if(arguments.length<1)return!1;for(n=1,t=arguments.length;n<t;n++){let t=[],e=[];if(!i(arguments[0],arguments[n],t,e))return!1}return!0}(t,n))return t}return u.dataLayer.push(n)}let f=(n,t)=>{s(Object.assign({event:n},t))},d=n=>{s({interactionText:n.text,interactionClickElement:n.clickElement,interactionTarget:n.target,event:"analyticsDataCapture"})},g=({transactionBusinessArea:n=c,transactionSolution:t=l,formFieldId:e="",formId:r="",errorMessageDisplayed:o,uiComponent:i=""})=>{var a,f;s({transactionBusinessArea:n,transactionSolution:t,transactionErrorLayer:"view",formFieldId:e,formId:r,errorMessageDisplayed:o,onPage:null!=(a=u.document.URL)?a:"",pageDocumentTitle:`Javascript - ${null!=(f=u.document.title)?f:""}`,event:"analyticsErrorTracking",uiComponent:i})},m=({interactionText:n,interactionClickElement:t,interactionElementId:e,interactionTarget:r})=>{s({event:"analyticsInteractionTracking",interactionText:n,interactionClickElement:t,interactionElementId:e,interactionTarget:r})}},75718:function(n,t,e){e.r(t),e.d(t,{default:function(){return O},CallToActionList:function(){return w}});var r=e(41594),o=e.n(r),i=e(74701),a=e(87876),c=e(8162),l=e(55509),u=e(25390),s=e(46147),f=e(41217);function d(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function g(){var n=d(["\n    display: flex;\n    align-items: center;\n    justify-content: ",";\n\n    ","\n    ","\n\n    &:last-child {\n      margin-bottom: 0;\n      margin-right: 0;\n      ",";\n\n      @media (max-width: ",") {\n        width: 100%;\n      }\n    }\n  "]);return g=function(){return n},n}function m(){var n=d(["\n    @media (min-width: ",") {\n      display: flex;\n      flex-wrap: wrap;\n      flex-direction: ",";\n      ",";\n    }\n  "]);return m=function(){return n},n}function p(){var n=d(["\n    margin-right: ",";\n  "]);return p=function(){return n},n}var v="\n  margin-bottom: ".concat(f.Ay.small,";\n  margin-right: ").concat((0,l.A)(15),";\n  line-height: 0;\n\n  a {\n    margin: 0;\n  }\n"),y="\n a.primary{\n    background-color: ".concat(s.D9,";\n    color: ").concat(s.Ql,";\n  }\n"),h={CTAWrapper:c.default.div(g(),function(n){switch(n.ctaAlignment){case"left":default:return"flex-start";case"center":return"center";case"right":return"flex-end"}},function(n){return n.addPadding?"".concat(v):""},y,function(n){return n.isFullWidthButton&&"\n        > :first-child {\n         flex: 1;\n         }\n      "},u.DK),CtaListWrapper:c.default.div(m(),u.DK,function(n){return n.isRow?"row":"column"},function(n){var t=n.isRow,e=n.rowGroupPosition;return t&&"\n        column-gap: ".concat(f.Ay.small,";\n        align-items: center;\n        justify-content: ").concat(e,";\n      ")}),IconWrapper:c.default.div(p(),f.Ay.xsmall)},b=(0,r.memo)(function(n){var t=n.componentId,e=n.type,r=n.text,c=n.label,l=n.link,u=n.target,s=n.style,f=n.icon,d=n.textColor,g=n.borderColor,m=n.backgroundColor,p=n.addPadding,v=n.ctaAlignment,y=n.smoothScroll,b=n.singleFullWidth;return o().createElement(h.CTAWrapper,{className:"cta",addPadding:void 0!==p&&p,ctaAlignment:void 0===v?"center":v,isFullWidthButton:void 0!==b&&b&&"button"===e},(null==f?void 0:f.name)&&o().createElement(h.IconWrapper,null,o().createElement(i.default,{name:f.name,size:f.size,color:f.color,alignment:f.alignment})),o().createElement(a.A,{componentId:t,href:l,className:"".concat(e," ").concat(s),target:u,role:e,ariaLabel:c,textColor:null==d?void 0:d.color,borderColor:null==g?void 0:g.color,textHoverColor:null==d?void 0:d.hoverColor,backgroundColor:null==m?void 0:m.color,backgroundHoverColor:null==m?void 0:m.hoverColor,smoothScroll:y},r))}),w=function(n){var t=n.cta,e=void 0===t?[]:t,r=n.addPadding,i=void 0!==r&&r,a=n.isRow,c=void 0!==a&&a;return e.length?o().createElement(h.CtaListWrapper,{isRow:c,rowGroupPosition:e[0].ctaAlignment||"center"},e.map(function(n,t){var r,a;return o().createElement(b,(r=function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.forEach(function(t){var r;r=e[t],t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r})}return n}({},n),a=a={key:t,addPadding:i,ctaAlignment:c?e[0].ctaAlignment:n.ctaAlignment,singleFullWidth:1===e.length&&n.singleFullWidth},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):(function(n){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t.push.apply(t,e)}return t}
1)(Object(a)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(a,n))}),r))})):o().createElement(o().Fragment,null)},O=(0,r.memo)(w)},74701:function(n,t,e){e.r(t),e.d(t,{urlSvgPath:function(){return P},default:function(){return k}});var r=e(45896),o=e(3760),i=e(41594),a=e.n(i),c=e(51949),l=e(46147),u=e(8162),s=e(55509),f=e(98352);function d(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function g(){var n=d(["\n  display: flex;\n  align-items: center;\n  justify-content: ",";\n"]);return g=function(){return n},n}function m(){var n=d(["\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  width: ",";\n  height: ",";\n\n  svg {\n    width: inherit;\n    height: inherit;\n    fill: ",";\n    stroke-width: 0%;\n\n    * {\n      stroke: ",";\n    }\n  }\n"]);return m=function(){return n},n}var p=function(n){var t=n,e=f.A[n];return"string"==typeof n&&e&&(t=e),(0,s.A)(Number(t))},v={"text-center":"center","text-left":"flex-start"},y=u.default.div(g(),function(n){return v[n.alignment]}),h=u.default.span(m(),function(n){return p(n.size)},function(n){return p(n.size)},function(n){return n.fill},function(n){var t=n.removeBorderFill,e=n.fill;return t?"none":e});function b(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function w(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function O(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},r=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.forEach(function(t){w(n,t,e[t])})}return n}var j=/^beam\//;window.svgCache=JSON.parse(sessionStorage.getItem("svg-cache")||"{}");var P=function(n,t){if(!n||""===n.trim())throw Error("svgName cannot be empty");if(n.match(/^(?:https?:\/)?\//))return n;if(j.test(n)){if(!window.cdnPath)throw Error("Unable to fetch Beam Icon: cdnPath is not configured");return"".concat(window.cdnPath,"/").concat(n.toLowerCase(),".svg")}var e="";return window.cdnPath?e=window.cdnPath:t&&(e="https://".concat(t,"/LUX2/assets/icons")),"".concat(e,"/").concat(n.toLowerCase(),".svg")},x=function(n,t,e,r){return e?n.replace(/<svg([^>]+)>/,function(n,t){return"<svg aria-labelledby=".concat(e.titleId," ").concat(t,"><title id=").concat(e.titleId,">").concat(r,"</title>")}):(t&&(n=n.replace(/<svg([^>]+)>/,function(n,e){return"<svg ".concat(e," aria-hidden=").concat(t," focusable=").concat(!t,">")})),n)},C=function(n,t,e,r,o){var i,a,c,l,u;return(l=null==(i=window.svgCache)?void 0:i[n],null!=(u=Function)&&"u">typeof Symbol&&u[Symbol.hasInstance]?!!u[Symbol.hasInstance](l):l instanceof u)?(window.svgCache[n](function(n){t(x(n,e,r,o))}),!0):null!=(a=window.svgCache)&&!!a[n]&&(t(x(null==(c=window.svgCache)?void 0:c[n],e,r,o)),!0)},S=function(n){var t=n.name,e=n.setSvg,r=n.screenReaderInfo,o=n.text,i=n.fetchDI,a=n.host,c=n.controller,l=n.ariaHidden;if(t){if(C(t,e,l,r,o))return function(){};window.svgCache[t]=function(n){window.svgCache[t].callbacks.push(n)},window.svgCache[t].callbacks=[],i(P(t,a),{cache:"force-cache",signal:null==c?void 0:c.signal}).then(function(n){if(!n.ok)throw Error("Could not fetch ".concat(t,".svg (").concat(n.status,")"));return n.text()}).then(function(n){e(x(n,l,r,o)),window.svgCache[t].callbacks.forEach(function(t){t(n)}),window.svgCache[t]=n;var i=JSON.parse(sessionStorage.getItem("svg-cache")||"{}");i[t]=n,sessionStorage.setItem("svg-cache",JSON.stringify(i)),c=null}).catch(function(){var n;null==(n=window.svgCache)||delete n[t],console.error("Failed to fetch icon")})}return function(){var n,e,r,o;t&&(null==(r=window.svgCache)||null==(e=r[t])||null==(n=e.callbacks)?void 0:n.length)||(null==(o=window.svgCache)||delete o[t||""],null==c||c.abort())}},A=function(n){var t,e,u,s,f=n.name||n.type,d=n.host,g=void 0===d?"cdn.optusdigital.com":d,m=n.size,p=void 0===m?70:m,v=n.alignment,j=n.removeBorderFill,P=n.screenReaderInfo,x=n.text,C=n.ariaHidden,A=void 0===C||C,k=n.ariaLabel,I=n.iconLibrary,E=void 0===I?"legacy":I,L=n.beamIconType,D=void 0===L?o.kQ.default:L,N=n.provider,z=n.filled,T="beam"===E?n.color||n.fill:n.color||n.fill||l.Ql,F=n.fetchDI||fetch,W=function(n){if(Array.isArray(n))return n}(t=(0,i.useState)())||function(n){var t,e,r=null==n?null:"u">typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(n){a=!0,e=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw e}}return o}}(t)||function(n){if(n){if("string"==typeof n)return b(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(n,2)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),R=W[0],_=W[1];(0,i.useEffect)(function(){"legacy"===E&&S({name:f,setSvg:_,screenReaderInfo:P,ariaHidden:A,text:x,fetchDI:F,host:g,controller:new AbortController})},[f,g]);var M=(0,i.useMemo)(function(){return c.nr&&c.un?{role:"img","aria-label":x}:{}},[x]),H=(w(s={},o.kQ.default,{type:D,name:f,color:T}),w(s,o.kQ.alert,{type:D,name:f,color:T}),w(s,o.kQ.payment,{type:D,provider:N}),s),B="beam"===E?a().createElement(r.A,(e=O({},H[D]),u=u={size:p,title:x,filled:z,ariaLabel:k,ariaHidden:A},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(u)):(function(n){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t.push.apply(t,e)}return t})(Object(u)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(u,n))}),e)):a().createElement(h,O({className:"components-icon ".concat(f),"data-testid":"components-icon",fill:T,removeBorderFill:void 0!==j&&j,size:p,dangerouslySetInnerHTML:{__html:R||"<svg></svg>"}},M));return f||"beam"===E?a().createElement(y,{className:"icon-wrapper","data-testid":"icon-wrapper",alignment:void 0===v?"text-center":v,"aria-hidden":A},B):null};A.legacyName="ux-icon";var k=A},98352:function(n,t){t.A={xs:14,s:16,m:20,l:30,xl:40,"2xl":60,default:70,"3xl":80,"4xl":100,xxl:120}},51949:function(n,t,e){function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}e.d(t,{U0:function(){return d},m0:function(){return l},nr:function(){return c},uF:function(){return g},un:function(){return s},zG:function(){return f}});var o=(0,e(98951).zk)().navigator,i={macos:/(macintosh|macintel|macppc|mac68k|macos)/i,ios:/(iphone|ipad|ipod)/i,windows:/(win32|win64|windows|wince)/i,android:/android/i,linux:/linux/i},a=function(){var n=o.userAgent.toLowerCase();return(Object.entries(i).find(function(t){return((function(n){if(Array.isArray(n))return n})(t)||function(n){var t,e,r=null==n?null:"u">typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(n){a=!0,e=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw e}}return o}}(t)||function(n){if(n){if("string"==typeof n)return r(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(n,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1].test(n)})||"miscellaneous")[0]},c=/Apple/.test(o.vendor),l="android"===a(),u=function(n){return n.platform},s=/iPad|iPhone|iPod/.test(o.userAgent)||"MacIntel"===u(o)&&o.maxTouchPoints>1,f=o.maxTouchPoints>2&&/MacIntel/.test(u(o)),d="macos"===a(),g="windows"===a();a()}}]);

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.