PageSourceSearch

https://www.lottoland.gi/en_GI/skins/lottoland/js/lotteries/tippengine.min-10cd55652a7946a0.js

js lottoland.gi collected 2026-10-07 21:32:11 UTC 2,975 bytes, 1 lines download raw bytes

1"use strict";window.ll=window.ll||{},window.ll.lottery=window.ll.lottery||{},window.ll.lottery.tippengine=function(e,t){const a=t?[t]:document.querySelectorAll(".l-tippengine-container."+e);[].forEach.call(a,(function(e){const t="true"===e.dataset.external,a=$(e).data(),i=a.config,n=a.messages,r={lotteryId:a.lotteryid,skin:a.skin,locale:a.locale,localePrefix:dla.resources.localePrefix,readOnly:!0===a.readonly,mobile:!0===a.mobile,urlGenerator:t};let l=a.drawState?{state:a.drawState,numbers:a.drawNumbers,additionalNumbers:a.drawAdditionalNumbers,participationState:a.participationState,drawDate:a.drawDate}:{participationState:a.participationState,drawDate:a.drawDate},o={participationState:a.relatedParticipationState,drawDate:a.relatedDrawDate},c={participationState:a.dependantParticipationState,drawDate:a.dependantDrawDate};const d=!!a.shoppingCart,s=a.event?a.event:null,u=e.querySelector('[id$="-tippengine"]'),p=t?document.querySelector(".js-ticket-data"):e.querySelector(".js-ticket-data"),y=e.querySelector(".js-ticket-submit"),m=p?JSON.parse(p.value):{},w=e.querySelector(".js-readOnly-firstDraw"),g=e.querySelector(".js-ticket-id"),S=e.querySelector(".js-ticketEventId"),k=e.querySelector(".js-ticketEventTip"),f=e=>parseInt(e,10)||"",v=(e,t)=>{e&&t&&(e.value=f(t.bettingTip))};w&&(m.readOnlyFirstDraw=JSON.parse(w.value)),s&&(k&&(m.bettingTip=f(k.value)),S&&(S.value=s.mediaCode)),u.addEventListener("submit",(function(e){p.value=JSON.stringify(e.detail.ticket),g.value=e.detail.ticket.ticketID,v(k,e.detail.ticket),y&&y.click()})),r.urlGenerator&&u.addEventListener("productChange",(function(e){document.querySelector(".js-ticket-data").value=JSON.stringify(e.detail.ticket)})),r.mobile&&(dla.helper.onAvailability(["lotteryCMSNavigation"],(function(){dla.lotteryCMSNavigation.init(r.lotteryId)})),u.addEventListener("productChange",(function(e){try{dla.helper.onAvailability(["paymentChecker","payment-promotion"],(function(){const t=dla.payment.getInstance("paymentChecker");if(t){Array.from(document.querySelectorAll("[name$=-ticketData]")).forEach((function(t){t.value=JSON.stringify(e.detail.ticket)})),Array.from(document.querySelectorAll(".js-ticketEventTip")).forEach(t=>v(t,e.detail.ticket)),document.querySelector("[name$=-ticketType]").value=e.detail.name,t.getModel().setPrice(e.detail.total)}}))}catch(e){}})),u.addEventListener("subscriptionChanged",(function(e){try{dla.helper.onAvailability("paymentChecker",(function(){const t=dla.payment.getInstance("paymentChecker");t&&t.getModel().setSubscription(e.detail.subscription)}))}catch(e){}}))),window.ll.lottery.renderTippEngine({lotteryName:r.lotteryId,container:u,ticket:m,draw:l,dependantDraw:c,relatedDraw:o,skin:r.skin,locale:r.locale,localePrefix:r.localePrefix,readOnly:r.readOnly,develop:!1,urlGenerator:t,apiConfig:i,messages:n,shoppingCart:d,bettingData:s}),jQuery(e).closest(".switchingContainer").css("height","auto")}))},$(window).trigger("available","tippengineV2Integration");

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.