PageSourceSearch

https://casino.netbet.gr/build/app/client/chunk.component.popup.WidgetValentinesPopup.d16242f6fc3e3fd9.js

js netbet.gr collected 2026-10-01 12:21:50 UTC 4,590 bytes, 2 lines download raw bytes

1/*! LICENSE: chunk.component.popup.WidgetValentinesPopup.d16242f6fc3e3fd9.js.LICENSE.txt */
2"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2196],{52426(e,t,a){var l=a(96540),n=a(22450);a.d(t,{},{H:e=>{let{tag:t="div",html:a,...i}=e,s=(0,n.s)(a),c=(0,l.useMemo)(()=>({__html:s}),[s]);return l.createElement(t,{...i,dangerouslySetInnerHTML:c})}})},89202(e,t,a){a.r(t),a.d(t,{WidgetValentinesPopup:()=>f,default:()=>x});var l=a(96540),n=a(69409),i=a(72099),s=a(11739),c=a(969),r=a(46387),d=a(25831),o=a(43967),g=a(8356),m=a(49486),v=a(78227);let u={valentines:"LTD_kkzmVxQjaBqf","valentines-game":"XcjmO9ovg4qkgUD5",fadeIn:"tyt964JYiMciA5UU","widget-box":"PBqtrYXKbhwq0bjs","v-card":"gpY787R57kgOaiJK","btn-wrap":"_8IDNiK1oRUzWMmw",active:"EnZzntgO2PkqE6I0",zoomInOutCard:"_EYQ0Mslmgh19Eo4","prize-content":"uujEDxSJZxknBdef","text-modal":"ozNMOi5RElkvpMN2",zoomInCard:"lilVt5NVQQ5HUfx7","wdgt-tx":"hHAivXqDM_oCmkPF","wdgt-tx-sm":"Jkt9qu26IcoxgtDV",small:"zLB7hSqEJ4gY6pPT","widget-logo":"fLcPJnnAfQc9Vja0"};var E=a(32485),p=a.n(E),w=a(52426),b=a(4355);let f=()=>{let e=(0,n.wA)(),{translate:t}=(0,c.c)(),a=(0,r.M)(),E=(0,n.d4)(o.Os),f=(0,n.d4)(m.Fu6),[x,A]=(0,l.useState)(!1),[N,P]=(0,l.useState)(!1),k=l.createRef();(0,l.useEffect)(()=>{e((0,d.jo)())},[]);let _=(0,l.useCallback)(()=>{!x&&(A(!0),e((0,g.oP)(a.widget.campaign_id.toString())),a.options.callback&&a.options.callback())},[x,k]);(0,l.useEffect)(()=>{x&&E&&setTimeout(()=>P(!0),300)},[x,E]);let D=(0,l.useMemo)(()=>[i.J.BR,i.J.GR,i.J.EN,i.J.MX,i.J.DE,i.J.FI,i.J.FR,i.J.JA,i.J.RO,i.J.CA,i.J.ES,i.J.DK].includes(f)?`https://img.netbet.com/gms/images-marketing/global/valentines-widget/logo-${f}.png`:"https://img.netbet.com/gms/images-marketing/global/valentines-widget/logo-en.png",[f]);return l.createElement(v.x,{description:t(s.v.POPUPS,"open-the-love-card-and-get-your-prize"),logo:D,widgetBoxRef:k,className:u["valentines-game"]},l.createElement("div",{className:p()(u["widget-box"],{[u.active]:x})},l.createElement("div",{className:u["v-card"]},l.createElement("img",{src:"https://img.netbet.com/casino/widgets/valentines/Closed_Card.png",alt:""})),l.createElement("div",{className:u["btn-wrap"]},!N&&l.createElement("button",{className:u["wgt-btn"],id:u["wdgt-trigger"],onClick:_},t(s.v.POPUPS,"open-it")),l.createElement(b.A,{isPlayed:N,className:"valentine",withWrapper:!1})),l.createElement("div",{className:p()(u["prize-content"],{[u.active]:x}),id:"prize"},E&&l.createElement("div",{className:p()(u["text-modal"],{[u.small]:!!E.disclosure})},l.createElement("img",{src:"https://img.netbet.com/casino/widgets/valentines/OPENED_CARD.png",alt:""}),l.createElement(w.H,{html:E.disclosure?E.description+E.disclosure:E.description})))))},x=f},4355(e,t,a){a.d(t,{A:()=>g});var l=a(96540),n=a(79825),i=a(69409);let s={"btn-wrap":"LiYsj9e8MZ4tpE34","card-game-button":"YKcaruHrhVw2x7pI","gift-box-button":"BvQAllzoTy8ctbwb","ladder-button":"o465EXyPCQVGdIGx","netpoint-reel-button":"jXuYgkcnsrgiSwDP","wheel-spins-button":"WUdPTkq9BKAYWMU3"};var c=a(11739),r=a(969),d=a(32485),o=a.n(d);let g=e=>{let{isPlayed:t,className:a,withWrapper:d=!0}=e,g=(0,i.wA)(),{translate:m}=(0,r.c)(),v=(0,l.useCallback)(()=>{g((0,n.ip)())},[]);return t?l.createElement("div",{className:o()(d&&s["btn-wrap"],d&&s[`${a}-button`])},l.createElement("button",{onClick:v},m(c.v.POPUPS,"close-and-play"))):null}},78227(e,t,a){a.d(t,{x:()=>o});var l=a(96540),n=a(69409),i=a(79825),s=a(32485),c=a.n(s);let r={widget:"lEWdSCrXn00qOF2x",close:"oJ5O1mduZYAoGH8E","widget-game":"Gv0DKO_j3cMyVTq0","widget-logo":"SBxAe_cvag6g4PXR","widget-desc":"DFA0Gy1yd2EsgDcT",btn:"x8qQTredG8Mvxwdh"};var d=a(52426);let o=l.forwardRef((e,t)=>{let{logo:a,description:s,hideCloseButton:o,className:g,boxClassName:m,children:v}=e,u=(0,n.wA)(),E=(0,l.useCallback)(()=>{u((0,i.ip)())},[]);return l.createElement("div",{className:r.widget},!o&&l.createElement("div",{id:r.close,onClick:E},"X"),l.createElement("div",{className:c()(r["widget-game"],g)},a&&l.createElement("div",{className:c()(r["widget-logo"],"widget-logo-specific")},l.createElement("img",{src:a,alt:""})),s&&l.createElement(d.H,{tag:"p",className:c()(r["widget-desc"],"widget-desc-specific"),html:s}),l.createElement("div",{className:c()(r["widget-box"],"widget-box",m),ref:t},v)))})},22450(e,t,a){var l=a(69409),n=a(50042),i=a(96540);a.d(t,{},{s:e=>{let t=(0,l.d4)(n.fn);return(0,i.useMemo)(()=>{let a=e;return a&&-1!==a.indexOf('href="#')&&(a=a.replace(/href="#/g,`href="${t}#`)),a},[e])}})},46387(e,t,a){var l=a(69409),n=a(42480);a.d(t,{},{M:()=>(0,l.d4)(n.iQ)})}}]);

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.