PageSourceSearch

https://www.telmore.dk/mit-telmore/js/3655.50140567.js

js telmore.dk collected 2026-10-02 06:11:47 UTC 10,350 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunk_hubble_selfservice"]=self["webpackChunk_hubble_selfservice"]||[]).push([[3655],{23655:function(t,e,a){a.r(e),a.d(e,{default:function(){return b}});var r=a(18412),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("modal-for-recharge-form",{attrs:{editAmountDialog:t.editAmountDialog,modalDialogTitle:"Rediger beløb"},on:{closeDialog:function(e){return t.cancelFlow()}}},[a(r.A,{attrs:{slot:"rechargeForm"},slot:"rechargeForm"},[a("recharge",{attrs:{minVal:t.min,maxVal:t.max,showSubmitButton:t.showSubmitButton(),submitButtonText:t.submitButtonText,boundaryConditionErrorMessage:t.boundaryConditionErrorMessage},on:{submitButtonClicked:function(e){return t.setAmount(e)}}},[a(r.A,{staticClass:"text-left",attrs:{slot:"automatic-payment-subscribe-title"},slot:"automatic-payment-subscribe-title"})],1)],1)],1)},n=[],o=a(32150),s=a(30705),l=a(33760),u=a(90020),c=a(75122),m=a(63198),d=a(85681),h=a(36165),g=a(357),A={data(){return{editAmountDialog:!0,min:100,max:1e3,activatorText:this.getActivatorTextForReadMore(),dialogTitle:this.getDialogTitleForReadMore(),textFieldLabel:"Indtast beløb i hele kroner",submitButtonText:"OK"}},components:{ModalForRechargeForm:s.A,Recharge:l.A},mixins:[c.A,u.A],computed:{boundaryConditionErrorMessage(){return"Beløbet skal være mellem "+this.min+" og "+this.max+" kr., samt være angivet i hele kroner."}},methods:{setAmount(t){this.addPaymentItem(new g.K("AP","Automatisk betaling -  - Ændring af beløb",h.ZQ,t)),this.addFlowData(m.RECHARGE_AMOUNT,t),this.validate().then(()=>{this.hasFlowStatus(d.VALID)&&this.nextStep()})},showSubmitButton(){return!(o.r.match(/Android/i)||o.r.match(/webOS/i)||o.r.match(/iPhone/i)||o.r.match(/iPad/i)||o.r.match(/iPod/i)||o.r.match(/BlackBerry/i)||o.r.match(/Windows Phone/i)||window.innerWidth<=800)}}},f=A,y=a(81656),p=(0,y.A)(f,i,n,!1,null,null,null),b=p.exports},30705:function(t,e,a){a.d(e,{A:function(){return A}});var r=a(375),i=a(47210),n=a(98834),o=a(51526),s=a(54155),l=a(18412),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(l.A,{staticClass:"justify-center"},[a(s.A,{attrs:{"max-width":"256","content-class":"bg-white"},model:{value:t.editAmountDialogModel,callback:function(e){t.editAmountDialogModel=e},expression:"editAmountDialogModel"}},[a(i.A,{attrs:{"data-qa":"recharge-dialog"}},[a(n.ri,{staticClass:"pa-0"},[a(l.A,{staticClass:"flex-column"},[a(o.A,{staticClass:"mt-1"},[a(l.A,{staticClass:"color-blue-100"},[a(o.A,{attrs:{cols:"1"}},[a(r.A,{staticClass:"mr-0",attrs:{icon:"","data-qa":"recharge-close-button","data-track-id":"recharge-close-button"},nativeOn:{click:function(e){return t.closeDialog.apply(null,arguments)}}},[a("font-awesome-icon",{attrs:{"data-track-id":"recharge-close-button",icon:["far","times"],"fixed-width":"",size:"lg"}})],1)],1),a(o.A,{staticClass:"text-center grow mt-4 mb-2"},[a("font-awesome-icon",{staticClass:"size-37",attrs:{icon:["far","credit-card"]}})],1),a(o.A,{attrs:{cols:"1"}})],1)],1),a(o.A,[a(l.A,[a(o.A,{staticClass:"text-center grow subtitle-type-2 color-blue-100 text-uppercase"},[a("span",[t._v(t._s(t.modalDialogTitle))])])],1)],1),a(o.A,[a(l.A,[a(o.A,{staticClass:"text-center grow body-2 mt-2"},[t._v(" Indtast beløb ")])],1)],1)],1)],1),a(n.OQ,{staticClass:"pt-0"},[t._t("rechargeForm")],2)],1)],1)],1)},c=[],m={data(){return{}},props:{editAmountDialog:{type:Boolean,default:!1},modalDialogTitle:{type:String,default:"Tank op"}},computed:{editAmountDialogModel(){return this.editAmountDialog}},methods:{closeDialog(){this.$emit("closeDialog")}},beforeDestroy(){this.$off("editAmountDialog")}},d=m,h=a(81656),g=(0,h.A)(d,u,c,!1,null,"33a5f40a",null),A=g.exports},33760:function(t,e,a){a.d(e,{A:function(){return p}});var r=a(375),i=a(51526),n=a(1770),o=a(58230),s=a(18412),l=a(83406),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(i.A,[a(o.A,{ref:"rechargeForm",attrs:{autocomplete:"off",novalidate:""},on:{submit:function(e){return e.preventDefault(),t.submitButtonClicked.apply(null,arguments)}},model:{value:t.rechargeFormValid,callback:function(e){t.rechargeFormV
1alid=e},expression:"rechargeFormValid"}},[t._t("automatic-payment-subscribe-title"),t.predefinedRecharge?a(s.A,{staticClass:"predefinedRecharge"},t._l(t.predefinedRechargeAmounts,function(e,n){return a(i.A,{key:n,staticClass:"text-center",attrs:{cols:"6"}},[a(r.A,{staticClass:"font-eb",attrs:{disabled:!t.getOnlineStatus,color:"secondary",large:""},on:{click:function(a){return t.autoFillValue(e)}}},[t._v(t._s(e)+" kr.")])],1)}),1):t._e(),t.predefinedRecharge?a(s.A,{staticClass:"justify-center my-6"},[a(i.A,{staticClass:"px-4"},[a(n.A,{staticClass:"mt-4"})],1)],1):t._e(),a(s.A,{staticClass:"justify-center mb-2"},[a(i.A,[a(l.A,{staticClass:"remove-spinners",class:t.rechargeAmount.length>5?"font-size-18 color-white-important":"h-2",attrs:{label:t.textFieldLabelComputed,name:"input-1",suffix:"kr.",type:"number",pattern:"[0-9]*",min:"0",disabled:!t.getOnlineStatus,hint:t.hint,rules:[t.rules.required,t.rules.rechargeAmountValRange,t.rules.shouldBePositiveInteger,t.rules.shouldBePositiveFloat],"persistent-hint":"","data-qa":"recharge-amount-input"},nativeOn:{keydown:function(e){return t.onKeyDown.apply(null,arguments)}},model:{value:t.rechargeAmount,callback:function(e){t.rechargeAmount=e},expression:"rechargeAmount"}})],1)],1),a(s.A,{staticClass:"justify-center"},[a(i.A,{staticClass:"text-center"},[a(r.A,{staticClass:"font-eb no-text-transform",attrs:{disabled:!t.rechargeFormValid||!t.getOnlineStatus,dark:"",type:"submit",color:"secondary",block:"",rounded:"","data-qa":"recharge-button"}},[t._v(t._s(t.submitButtonText))])],1)],1)],2)],1)},c=[],m=a(95353),d=a(13220),h=a(90020),g={props:{predefinedRechargeAmounts:{type:Array,default:function(){return[]}},hasRechargeAmount:{type:Boolean,default:!1},minVal:{type:Number,default:null},maxVal:{type:Number,default:null},amountPrecision:{type:Number,default:0},textFieldLabel:{type:String,default:""},hintForTextField:{type:String,default:""},submitButtonText:{type:String,default:"Tilmeld"},boundaryConditionErrorMessage:{type:String,default:""},showSubmitButton:{type:Boolean,default:!0}},mixins:[d.A,h.A],data(){return{recharge:"",rechargeAmount:"",predefinedRecharge:this.hasRechargeAmount,conditionalValName:"shouldBePositiveInteger",checkbox:!1,rechargeFormValid:!1,requiredErrorMessage:"Indtast venligst et beløb"}},computed:{getOnlineStatus(){return this.$store.getters["OfflineStore/getCurrentstatus"]},hint(){if(""!==this.hintForTextField){let t=0,e="";return t=null!==this.rechargeAmount&&void 0!==this.rechargeAmount&&""!==this.rechargeAmount?parseFloat(this.rechargeAmount)+parseFloat(this.$store.getters["UsageStore/getBalance"]):this.$store.getters["UsageStore/getBalance"],null!==t&&void 0!==t&&(t=t.toFixed(2),e=this.hintForTextField+" "+t.toString().replace(".",",").replace(/\B(?=(\d{3})+(?!\d))/g,".")+" kr."),e}return""},textFieldLabelComputed(){return this.getOnlineStatus?this.textFieldLabel:"XXXX"}},mounted(){this.isMobilePayCallbackReceived&&this.isRechargePaymentCallback&&this.completeRefillPayment()},methods:{...(0,m.i0)({getConnectivityStatus:"OfflineStore/getOnlineStatus"}),autoFillValue(t){this.rechargeAmount=t},submitButtonClicked(){this.rechargeFormValid&&(sessionStorage.setItem("RechargeVal",this.rechargeAmount),this.$emit("submitButtonClicked",this.rechargeAmount),this.$emit("rechargeSubmit",this.rechargeAmount))},onKeyDown(t){if(this.rechargeAmount&&this.rechargeAmount.length>=7&&(t.keyCode>=48&&t.keyCode<=57||t.keyCode>=96&&t.keyCode<=105))return t.preventDefault(),!1}}},A=g,f=a(81656),y=(0,f.A)(A,u,c,!1,null,"560984fa",null),p=y.exports},90020:function(t,e,a){var r=a(33715),i=a(39838),n=a(1633),o=a(95353),s=a(7081),l=a(51333),u=a(53533);e.A={mixins:[u.A],data(){return{}},computed:{isMobilePayCallbackReceived(){return"mobilePay"===this.$route.query.paymentType&&null!==this.$route.query.paymentRef},isRechargePaymentCallback(){return"ACCOUNT_RECHARGE"===this.$route.query.orderType},isPaymentSubscribeCallback(){return"ACCOUNT_PAYMENT_SUBSCRIBE"===this.$route.query.orderType}},methods:{...(0,o.i0)({fetchBalance:"UsageStore/fetchBalance"}),getActivatorTextForReadMore(){return r.P.$t("payment.automaticPaymentID.A
1CTIVATOR_TEXT_FOR_READ_MORE")},getActivatorIconForReadMore(){return r.P.$t("payment.automaticPaymentID.ACTIVATOR_ICON_FOR_READ_MORE")},getDialogTitleForReadMore(){return r.P.$t("payment.automaticPaymentID.DIALOG_TITLE_FOR_READ_MORE")},getVideoIdAPForReadMore(){return r.P.$t("payment.automaticPaymentID.VIDEOID_AP")},getVideoIdNotAPForReadMore(){return r.P.$t("payment.automaticPaymentID.VIDEOID_NOT_AP")},getHeadingForReadMore(){return r.P.$t("payment.automaticPaymentID.HEADING_FOR_READ_MORE")},getBodyCopyForReadMore(){return r.P.$t("payment.automaticPaymentID.BODYCOPY_FOR_READ_MORE")},getConfirmationMsgToDeregisterAP(){return r.P.$t("payment.automaticPaymentID.CONFIRMATION_MESSAGE")},getSuccessMsgToDeregisterAP(){return r.P.$t("payment.automaticPaymentID.SUCCESS_MESSAGE_FOR_SUCCESSFUL_DEREGISTER")},getTextFieldLabelToRegisterAP(){return r.P.$t("payment.automaticPaymentID.TEXT_FIELD_LABEL_TO_REGISTER_AP")},getTextFieldLabelToRefill(){return r.P.$t("payment.automaticPaymentID.TEXT_FIELD_LABEL_TO_TANK_UP")},getHintTextForRefill(){return r.P.$t("payment.automaticPaymentID.HINT_TEXT_FOR_TANK_UP")},getAMPaymentsNotAvailableMessage(t){return r.P.$t("payment.accountManagerPayments.notAvailable."+t)},completeRefillPayment(){if(this.isMobilePayCallbackReceived&&this.isRechargePaymentCallback){const t=window.localStorage.getItem("userName"),e=this.$route.query.paymentRef;n.A.completeRefill(t,e).then(t=>{this.fetchBalance(s.A.getUserName()),this.handleRefillPaymentNotification("VALID"===t.status)}).catch(()=>{this.handleRefillPaymentNotification(!1)}).then(()=>{const t=this.getFilteredQueryParam();if((0,l.kr)()){const e={...t,t:(0,l.kE)()};this.$router.replace({query:e})}else this.$router.replace({query:t})})}},handleRefillPaymentNotification(t){t?i.wD({message:"Optankning gennemført. Saldoen vil lige straks være opdateret.",hasActionButton:!0,notificationType:"success",icon:["far","receipt"]}):i.wD({message:"Optankningen blev ikke gennemført. Betalingen blev afbrudt. Prøv eventuelt igen.",hasActionButton:!0,notificationType:"error"})}}}}}]);
2//# sourceMappingURL=3655.50140567.js.map

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.