PageSourceSearch

https://www.lotto-bw.de/static/gamebroker_3/de/app/component-flutt…ipt-component.ea456a83b770e5de6ef0.chunk.js

js lotto-bw.de collected 2026-10-02 03:22:51 UTC 6,381 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([["component-flutter-web-components-basket-basket-submission-prereceipt-component"],{bVEO:function(t,e,i){i.r(e),function(t){i.d(e,"BasketSubmissionPrereceiptComponent",(function(){return $}));var o=i("LvDl"),n=i.n(o),s=i("JJbp"),r=i("yq49"),c=i("nh3e"),a=i("/jWx"),h=i("w7zx"),u=i("d6po"),l=i("7ufS"),p=i("UHzu"),d=i("T14I"),m=i("VvVE"),b=i("L556"),f=i("a/yf"),k=i("Q4g+"),y=i("95yl"),P=function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r},g=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},$=function(){function e(t){this.$root=t}return e.prototype.onInit=function(){this.initElements(),this.initEventListeners(),this.initParts(),this.initGameSessionStatus(),this.$checkbox.is(":checked")&&this.onCheckboxClicked()},e.prototype.initElements=function(){this.$prereceiptForm=this.$root.find("form"),this.$checkbox=this.$prereceiptForm.find("input#confirmgr"),this.$checkboxButton=this.$prereceiptForm.find(".c-checkbox__button"),this.$checkboxLabel=this.$prereceiptForm.find(".c-checkbox__label"),this.$submitButton=this.$root.find(".c-price-tile__gamingrules button"),this.$submitButtonContainer=t(document).find(".c-price-tile__button-container"),this.$stickySubmitButton=t("[data-submit-prereceipt-gamingrules]"),this.$slotgamesOnlyError=t(".h-info-desktop-grey-mobile-red"),this.$voucherInput=t('input[name="voucher"]'),n.a.isEmpty(this.data.sessionStatus)||(this.sessionStatus=this.data.sessionStatus,this.hasCooldown=(3==this.sessionStatus.showBreakNotice||4==this.sessionStatus.showBreakNotice)&&this.sessionStatus.breakDurations[4]>0)},e.prototype.initEventListeners=function(){var t=this;this.$checkbox.on("click",(function(){return t.onCheckboxClicked()})),this.$checkboxButton.on("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t.$checkbox.trigger("click"))})),this.$stickySubmitButton.on("click",(function(e){e.stopPropagation(),u.SiteManager.getInstance().Application.is24hBlocked?Object(y.showPanicDialog)():(t.$prereceiptForm.trigger("submit"),Object(l.setLoadingState)(t.$stickySubmitButton))})),this.$submitButton.on("click",(function(e){return e.stopPropagation(),u.SiteManager.getInstance().Application.is24hBlocked?(e.preventDefault(),Object(y.showPanicDialog)(),!1):!(t.voucherPart.isFilledButNotRedeemed()||t.$voucherInput.is(":focus")&&""==t.$voucherInput.val())||(t.openVoucherRedeemDialog(),!1)})),this.$submitButtonContainer.on("click",(function(){t.hasCooldown||t.$checkbox.is(":disabled")||t.focusError()})),this.$prereceiptForm.on("submit",(function(){return t.onFormSubmit()}))},e.prototype.onCheckboxClicked=function(){this.data.isSlotGamesOnly||(this.$checkbox.val(this.$checkbox.is(":checked")?"true":"false"),this.$submitButton.prop("disabled",!this.$checkbox.is(":checked")),this.$stickySubmitButton.prop("disabled",!this.$checkbox.is(":checked")),this.$checkboxButton.removeClass("focused"),this.$checkboxLabel.removeClass("focused"),this.$checkboxButton.attr("aria-checked",""+this.$checkbox.is(":checked")))},e.prototype.onFormSubmit=function(){return u.SiteManager.getInstance().Application.is24hBlocked?(Object(y.showPanicDialog)(),!1):!this.voucherPart.isFilledButNotRedeemed()||(this.openVoucherRedeemDialog(),!1)},e.prototype.initParts=function(){var t=this;if(this.voucherPart=new f.VoucherRedeemPart(this.$root.find(".c-prereceipt-voucher-tile"),new c.Voucher(this.data.voucher),Object(p.createFieldValidator)(this.$root.find(".c-prereceipt-voucher-tile .c-voucher"),a.ValueValidationService.getFieldValidatorOptions({errorElementHTML:'<p class="c-error-text"></p>',errorElementSelector:"p.c-error-text",errorClassOnContainer:"c-text-field-primary--invalid"}),a.RuleSet.VOUCHER)[0],new h.VoucherService,!1,this.data.recaptcha.enabled,this.data.recaptcha.key),this.pricePart=new b.PricePart(this.$root.find("#price-tile")),this.paymentPart=new m.PaymentPart(this.$root.find("#payment-selection"),this.data.dispoamount,this.data.dispoLotto,this.data.dispoKeno),this.paymentPart.collapsePaymentDetails(),this.voucherPart.getCurrent().isRedeemed()){this.voucherPart.showSuccessOverlay();var e=this.voucherPart.getCurrent();this.pricePart.update(e.BasketAmount,e.BasketItemsAmount,e.BasketFeeAmount,e.Discount),this.paymentPart.collapsePaymentDetails(),this.paymentPart.update(e),this.paymentPart.updatePaymentSelectionPrices(e.BasketAmountLotto,e.BasketAmountHazard,e.Payment)}this.voucherPart.getChanges().subscribe((function(e){e.hasError()||(t.pricePart.update(e.BasketAmount,e.BasketItemsAmount,e.BasketFeeAmount,e.Discount),t.paymentPart.collapsePaymentDetails(),t.paymentPart.update(e),t.paymentPart.updatePaymentSelectionPrices(e.BasketAmountLotto,e.BasketAmountHazard,e.Payment))}))}
1,e.prototype.focusError=function(){this.$slotgamesOnlyError.length>0?t(window).scrollTop(t(".h-info-desktop-grey-mobile-red").offset().top-t(window).height()/2):(this.$checkboxButton.addClass("focused"),this.$checkboxLabel.addClass("focused"),t(window).scrollTop(t(".c-checkbox").offset().top-t(window).height()/2))},e.prototype.initGameSessionStatus=function(){n.a.isEmpty(this.data.sessionStatus)||this.hasCooldown&&Object(y.openInfoDialogWithTimer)(r.DialogTitle.ERROR,[null,"Bitte gedulden Sie sich noch <span data-cooldown-timer>"+this.sessionStatus.breakDurations[4]+"</span> Sekunden"],this.sessionStatus.breakDurations[4],!0,!this.data.isSlotGamesOnly&&!this.data.hasRulesToConfirm,"Es geht gleich weiter...",!1,"OK",null,(function(){return k.PopUpService.hidePrimaryModalAndRedirect("basketlist")}),null,(function(){return k.PopUpService.hidePrimaryModalAndRedirect()}))},e.prototype.openVoucherRedeemDialog=function(){var t=this;Object(y.openInfoDialog)("Hinweis",["",'Bitte klicken Sie auf "Einlösen" um Ihren Gutscheincode jetzt einzulösen.'],null,!1,"Abbrechen",null,"Einlösen",null,null,(function(){t.voucherPart.redeem(),k.PopUpService.hidePrimaryModal()}),null,!1)},e=P([Object(s.ViewComponent)({data:"basket-pre-receipt",schema:d.CUSTOM_PRERECEIPT_SCHEMA}),g("design:paramtypes",[Object])],e)}()}.call(this,i("8dy7"))}}]);

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.