(function(){var e={5284:function(e,n,t){"use strict";t.r(n),n["default"]={message:e=>{const{normalize:n}=e;return n(["أهلا global"])}}},3482:function(e,n,t){"use strict";t.r(n),n["default"]={message:e=>{const{normalize:n}=e;return n(["hello Global Localized Message"])}}},3800:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var a=t(9150);function o(){const{t:e}=(0,a.QT)({inheritLocale:!0,useScope:"local"});return{t:e}}},4518:function(e,n,t){"use strict";var a=t(9963),o=t(6252);function r(e,n,t,a,r,i){const c=(0,o.up)("main-layout");return(0,o.wg)(),(0,o.j4)(c)}var i=t(3577);function c(e,n,t,a,r,c){const s=(0,o.up)("stc-header"),l=(0,o.up)("router-view"),u=(0,o.up)("stc-footer");return(0,o.wg)(),(0,o.iD)("div",{class:"layout",style:(0,i.j5)(c.styleLocalization())},[(0,o.Wm)(s,{isLight:r.isLight},null,8,["isLight"]),(0,o._)("main",null,[(0,o.Wm)(l)]),(0,o.Wm)(u)],4)}var s=t(3017);const l=e=>((0,o.dD)("data-v-42bc9c17"),e=e(),(0,o.Cn)(),e),u={class:"light"},d=["v-model"],f={class:"heading"},m=l((()=>(0,o._)("a",{href:"https://www.stc.com.sa",title:"stc",class:"logo",target:"_blank"},[(0,o._)("img",{src:s})],-1))),p=l((()=>(0,o._)("i",{class:"icon-Internet"},null,-1)));function h(e,n,t,a,r,c){return(0,o.wg)(),(0,o.iD)("header",u,[(0,o._)("div",{class:"container","v-model":e.$i18n.locale},[(0,o._)("div",f,[m,(0,o._)("button",{class:"lang",onClick:n[0]||(n[0]=e=>c.changeLanguage())},[p,(0,o._)("span",null,(0,i.zw)(a.t("lang")),1)])])],8,d)])}var g=t(3800),b={name:"stcHeader",props:["isLight"],setup(){const{t:e}=(0,g.Z)();return{t:e}},data(){return{lang:this.$i18n.locale}},methods:{changeLanguage(){"ar"!==this.lang?this.lang="ar":this.lang="en",localStorage.setItem("lang",this.lang),this.$i18n.locale=this.lang}}};function v(e){e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{en:{lang:e=>{const{normalize:n}=e;return n(["العربية"])}},ar:{lang:e=>{const{normalize:n}=e;return n(["English"])}}}})}var y=t(3744);"function"===typeof v&&v(b);const _=(0,y.Z)(b,[["render",h],["__scopeId","data-v-42bc9c17"]]);var w=_,P=t(9206);const S=e=>((0,o.dD)("data-v-5a692574"),e=e(),(0,o.Cn)(),e),k={class:"container"},O=["v-model"],L=S((()=>(0,o._)("a",{href:"https://www.stc.com.sa",title:"stc",class:"logo",target:"_blank"},[(0,o._)("img",{src:P})],-1)));function C(e,n,t,a,r,c){return(0,o.wg)(),(0,o.iD)("footer",null,[(0,o._)("div",k,[(0,o._)("div",{class:"copyrights","v-model":e.$i18n.locale},[L,(0,o._)("p",null,(0,i.zw)(a.t("copyrights"))+" - "+(0,i.zw)((new Date).getFullYear()),1)],8,O)])])}var E={name:"stc-footer",setup(){const{t:e}=(0,g.Z)();return{t:e}}};function j(e){e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{en:{copyrights:e=>{const{normalize:n}=e;return n(["Copyright © stc. All rights reserved."])}},ar:{copyrights:e=>{const{normalize:n}=e;return n([" الحقوق محفوظه © stc "])}}}})}"function"===typeof j&&j(E);const A=(0,y.Z)(E,[["render",C],["__scopeId","data-v-5a692574"]]);var N=A,T={name:"main-layout",components:{StcFooter:N,StcHeader:w},data(){return{isLight:!0}},methods:{styleLocalization(){return"ar"===this.$i18n.locale?"direction: rtl;":"direction: ltr;"}}};const z=(0,y.Z)(T,[["render",c],["__scopeId","data-v-fdc618a0"]]);var D=z,x={components:{MainLayout:D}};const I=(0,y.Z)(x,[["render",r]]);var R=I,F=t(1120),M=t(9150);function Z(){const e=t(8973),n={};return e.keys().forEach((t=>{const a=t.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){const o=a[1];n[o]=e(t).default}})),n}var B=(0,M.o)({legacy:!1,locale:"ar",fallbackLocale:"en",globalInjection:!0,messages:Z()}),U=t(9669),$=t.n(U);$().defaults.baseURL="https://lp.stc.com.sa/api/api";let q="en";$().interceptors.request.use((function(e){return q=e.headers["Accept-Language"],e}),(function(e){return Promise.reject(e)})),$().interceptors.response.use((e=>e),(e=>("INTERNAL_SERVER_ERROR"!=e.response.data.code&&"ERROR_FROM_BACKEND"!=e.response.data.code||(e.response.data.message="ar"==q?"عذرا هذه الخدمة غير متوفرة حاليا":"Sorry This service is not available right now"),Promise.reject(e))));var H=$();t(9755),t(3734);(0,a.ri)(R).use(B).use(F.Z,H).mount("#app")},1120:function(e,n,t){"use strict";var a=t(2201);const o=[{path:"/netflix/:lang",name:"netflix",component:()=>t.e(656).then(t.bind(t,2656))},{path:"/pp/customer/new/:lang",name:"Data SIM",component:()=>Promise.all([t.e(632),t.e(68)]).then(t.bind(t,9901))},{path:"/ps/customer/new/:lang",name:"Data SIM2",component:()=>Promise.all([t.e(632),t.e(714)]).then(t.bind(t,1372))},{path:"/pp/sim/consumption/:lang",name:"Sim Consumption",component:()=>Promise.all([t.e(190),t.e(329)]).then(t.bind(t,8e3))},{path:"/ps/sim/consumption/:lang",name:"Sim Consumption2",component:()=>Promise.all([t.e(190),t.e(528)]).then(t.bind(t,9501))},{path:"/sim/validity/:lang",name:"Sim Validity",component:()=>t.e(326).then(t.bind(t,3326))},{path:"/gaming/:lang",name:"Gaming",component:()=>t.e(359).then(t.bind(t,3359))},{path:"/ps/sim/dataoffers/:lang",name:"Postpaid Offers",component:()=>t.e(937).then(t.bind(t,3937))},{path:"/bill-info",name:"Bill Info",component:()=>Promise.all([t.e(252),t.e(419),t.e(363),t.e(273)]).then(t.bind(t,5801))},{path:"/bill-payment",name:"Bill Payment",component:()=>Promise.all([t.e(252),t.e(419),t.e(709)]).then(t.bind(t,3928))},{path:"/payment/confirmation",name:"Payment confirmation",component:()=>Promise.all([t.e(252),t.e(860)]).then(t.bind(t,5860))},{path:"/payment/auth",name:"Payment Auth",component:()=>t.e(382).then(t.bind(t,8382))},{path:"/payment/mpgsform",name:"Payment form",component:()=>t.e(678).then(t.bind(t,3678))},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>Promise.all([t.e(252),t.e(856)]).then(t.bind(t,1856))},{path:"/sawa-recharge",name:"Sawa Recharge",component:()=>Promise.all([t.e(252),t.e(419),t.e(302)]).then(t.bind(t,8488))},{path:"/payment-links/:event",name:"Payment Links",component:()=>Promise.all([t.e(252),t.e(419),t.e(22)]).then(t.bind(t,3466))},{path:"/sawa-ziyara",name:"Sawa Ziyara",component:()=>Promise.all([t.e(252),t.e(138),t.e(111)]).then(t.bind(t,1642))},{path:"/fingerprint",name:"Fingerprint",component:()=>t.e(833).then(t.bind(t,2833))},{path:"/forget-password",name:"Forget Password",component:()=>Promise.all([t.e(252),t.e(138),t.e(420)]).then(t.bind(t,1556))},{path:"/sms-bill-payment",name:"SMS Bill Payment",component:()=>Promise.all([t.e(252),t.e(419),t.e(363),t.e(109)]).then(t.bind(t,2794))},{path:"/dcb-subscription",name:"DCB Subscription",component:()=>t.e(490).then(t.bind(t,5490))},{path:"/internal-dcb-subscription/:dcbType",name:"Internal Subscription",component:()=>t.e(531).then(t.bind(t,5531))},{path:"/nafath-otu",name:"Nafath OTU",component:()=>Promise.all([t.e(252),t.e(276)]).then(t.bind(t,276))}],r=(0,a.p7)({history:(0,a.r5)(),routes:o});n["Z"]=r},8973:function(e,n,t){var a={"./ar.json":5284,"./en.json":3482};function o(e){var n=r(e);return t(n)}function r(e){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=r,e.exports=o,o.id=8973},3017:function(e,n,t){"use strict";e.exports=t.p+"img/stc_dark_id.65e2d419.svg"},9206:function(e,n,t){"use strict";e.exports=t.p+"img/stc_logo.9d68f3ee.svg"}},n={};function t(a){var o=n[a];if(void 0!==o)return o.exports;var r=n[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}t.m=e,function(){var e=[];t.O=function(n,a,o,r){if(!a){var i=1/0;for(u=0;u<e.length;u++){a=e[u][0],o=e[u][1],r=e[u][2];for(var c=!0,s=0;s<a.length;s++)(!1&r||i>=r)&&Object.keys(t.O).every((function(e){return t.O[e](a[s])}))?a.splice(s--,1):(c=!1,r<i&&(i=r));if(c){e.splice(u--,1);var l=o();void 0!==l&&(n=l)}}return n}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[a,o,r]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,a){return t.f[a](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{22:"a36eb6fc",68:"d0987e95",109:"9940ef80",111:"7c7bad4e",138:"de1193f5",190:"b7b534ac",252:"5de74f7f",273:"10f5ca17",276:"cf821f92",302:"7237eb14",326:"aca621e3",329:"faf86599",359:"75c2df5b",363:"b22533eb",382:"92c8052e",419:"3340d283",420:"5a5d9d74",490:"6a958736",528:"234597fa",531:"60543984",632:"52632b58",656:"cc71cd27",678:"4f381250",709:"061f4170",714:"50f7bd04",833:"eab1a518",856:"0d3e519f",860:"8abc7639",937:"5f21483e"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{22:"de5d17b9",68:"9ddef809",109:"aa279dc1",111:"e5605aeb",273:"709c0fb1",276:"4797bc4c",302:"76e5b83f",326:"c50c4843",329:"4bc602a1",359:"ffdd88a4",420:"f462ddb9",490:"b8546fa2",528:"81004a32",531:"eb00c713",656:"3eabd43d",709:"05a3bc28",714:"dbd45ca0",833:"cf9fa06b",856:"fe344147",860:"957015b9",937:"bd8e1bda"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="stc-landing:";t.l=function(a,o,r,i){if(e[a])e[a].push(o);else{var c,s;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==a||d.getAttribute("data-webpack")==n+r){c=d;break}}c||(s=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,t.nc&&c.setAttribute("nonce",t.nc),c.setAttribute("data-webpack",n+r),c.src=a),e[a]=[o];var f=function(n,t){c.onerror=c.onload=null,clearTimeout(m);var o=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((function(e){return e(t)})),n)return n(t)},m=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),s&&document.head.appendChild(c)}}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){t.p="/"}(),function(){if("undefined"!==typeof document){var e=function(e,n,t,a,o){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css";var i=function(t){if(r.onerror=r.onload=null,"load"===t.type)a();else{var i=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.href||n,s=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=c,r.parentNode.removeChild(r),o(s)}};return r.onerror=r.onload=i,r.href=n,t?t.parentNode.insertBefore(r,t.nextSibling):document.head.appendChild(r),r},n=function(e,n){for(var t=document.getElementsByTagName("link"),a=0;a<t.length;a++){var o=t[a],r=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(r===e||r===n))return o}var i=document.getElementsByTagName("style");for(a=0;a<i.length;a++){o=i[a],r=o.getAttribute("data-href");if(r===e||r===n)return o}},a=function(a){return new Promise((function(o,r){var i=t.miniCssF(a),c=t.p+i;if(n(i,c))return o();e(a,c,null,o,r)}))},o={143:0};t.f.miniCss=function(e,n){var t={22:1,68:1,109:1,111:1,273:1,276:1,302:1,326:1,329:1,359:1,420:1,490:1,528:1,531:1,656:1,709:1,714:1,833:1,856:1,860:1,937:1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=a(e).then((function(){o[e]=0}),(function(n){throw delete o[e],n})))}}}(),function(){var e={143:0};t.f.j=function(n,a){var o=t.o(e,n)?e[n]:void 0;if(0!==o)if(o)a.push(o[2]);else{var r=new Promise((function(t,a){o=e[n]=[t,a]}));a.push(o[2]=r);var i=t.p+t.u(n),c=new Error,s=function(a){if(t.o(e,n)&&(o=e[n],0!==o&&(e[n]=void 0),o)){var r=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+n+" failed.\n("+r+": "+i+")",c.name="ChunkLoadError",c.type=r,c.request=i,o[1](c)}};t.l(i,s,"chunk-"+n,n)}},t.O.j=function(n){return 0===e[n]};var n=function(n,a){var o,r,i=a[0],c=a[1],s=a[2],l=0;if(i.some((function(n){return 0!==e[n]}))){for(o in c)t.o(c,o)&&(t.m[o]=c[o]);if(s)var u=s(t)}for(n&&n(a);l<i.length;l++)r=i[l],t.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return t.O(u)},a=self["webpackChunkstc_landing"]=self["webpackChunkstc_landing"]||[];a.forEach(n.bind(null,0)),a.push=n.bind(null,a.push.bind(a))}();var a=t.O(void 0,[998],(function(){return t(4518)}));a=t.O(a)})();
//# sourceMappingURL=app.90422174.js.map