PageSourceSearch

https://kwiff.com/static/js/1375.1104e98c.chunk.js

js kwiff.com collected 2026-09-24 09:33:33 UTC 10,945 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[1375,3756],{23454(a,e,t){t.d(e,{$B:()=>c,P:()=>l,bv:()=>d,jL:()=>i});var o=t(25979),s=t(29011),n=t(56460),r=t(17663);const i=(0,s.Ay)("div")(a=>{let{theme:e}=a;return{height:48,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",backgroundColor:e.palette.common.white,"&.wa-padding":{padding:e.spacing(1.5)},"&.wa-odds":{backgroundColor:e.palette.grey[100]}}}),d=(0,s.Ay)(o.A)(()=>({padding:0,margin:0,width:"100%"})),c=(0,s.Ay)("div")(a=>{let{theme:e}=a;return{display:"flex",flexDirection:"column",gap:e.spacing(1.5),height:"100%",width:"inherit",padding:e.spacing(2.5,1.5)}}),l=(0,s.Ay)(r.A)(()=>({height:"calc(100% - ".concat(n.G8,"px)"),"&.wa-transaction-history-page":{height:"calc(100% - ".concat(n.G8,"px - ").concat(n.bG,"px)")}}))},25734(a,e,t){t.d(e,{A:()=>u});var o=t(25979),s=t(2046),n=t(29011),r=t(9950),i=t(89288),d=t(45546),c=t(64559),l=t(24041),p=t(44414);const w=(0,n.Ay)(l.A)(a=>{let{theme:e}=a;return{margin:e.spacing(.5)}}),g=(0,n.Ay)(o.A)(()=>({padding:0,margin:0,width:"100%"})),u=a=>{let{autoComplete:e,password:t,fieldLabelTextId:o,fieldDataTestId:n,visibilityIconDataTestId:u,hasPasswordError:h,passwordErrorTextId:b,onKeyPress:m,onPasswordChange:f,onBlur:x}=a;const{formatMessage:A}=(0,i.A)(),[C,P]=(0,r.useState)(!1),R=(0,r.useCallback)(()=>{P(a=>!a)},[]),y=(0,r.useCallback)(a=>{f(a.target.value)},[f]);return(0,p.jsxs)(g,{children:[(0,p.jsx)(c.A,{autoComplete:e,"data-testid":n,id:n,value:t,onKeyPress:m,onBlur:x,error:h,onChange:y,margin:"none",variant:"filled",type:C?d.Ih.TEXT:d.Ih.PASSWORD,label:A({id:o}),className:"wa-filled-light-grey wa-no-border",slotProps:{input:{endAdornment:(0,p.jsx)(s.A,{position:"end","data-testid":u,onClick:R,children:C?(0,p.jsx)(l.A,{className:"wa-font-size-14 wa-font-weight-400 wa-color-text-secondary wa-cursor-pointer",children:A({id:"common.hide"}).toUpperCase()}):(0,p.jsx)(l.A,{className:"wa-font-size-14 wa-font-weight-400 wa-color-text-secondary wa-cursor-pointer",children:A({id:"common.show"}).toUpperCase()})}),disableUnderline:!0,classes:{root:"wa-input-root",input:"wa-input"}},inputLabel:{classes:{root:"wa-input-label-root"}}}}),h&&b&&(0,p.jsx)(w,{className:"wa-font-size-11 wa-color-red","data-testid":"".concat(n,"-error"),children:A({id:b})})]})}},28127(a,e,t){t.d(e,{N:()=>d});var o=t(89379),s=t(4602),n=t(29011),r=t(43568),i=t(56460);const d=(0,n.Ay)("div")(a=>{let{theme:e}=a;return{"&.wa-root":{[e.breakpoints.down(e.breakpoints.values.lg)]:{backgroundColor:e.palette.profile.backgroundColor},[e.breakpoints.up(e.breakpoints.values.lg)]:{height:"100%",minHeight:"100%",overflow:"hidden"}},"&.wa-content":{display:"flex",flexDirection:"column",gap:e.spacing(1.5),padding:e.spacing(2.5,1.5),"&.wa-bottom-bar-padding-without-betslip":{paddingBottom:parseInt(e.spacing(2.5),10)+i.K2,"&.wa-no-padding":{paddingBottom:i.K2}},"&.wa-bottom-bar-padding-with-betslip":{paddingBottom:parseInt(e.spacing(2.5),10)+i.K2+i.iz,"&.wa-no-padding":{paddingBottom:i.K2+i.iz}}},"&.wa-row-space-between":{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},"&.wa-section":{backgroundColor:i.Hm.LIGHT_GREY_GLASS,padding:e.spacing(2),borderRadius:i.ax[8]},"&.wa-row":{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:e.spacing(1.5)},"&.wa-selected":(0,o.A)({willChange:"background-color",backgroundColor:e.palette.profile.selectedBackgroundColor,borderRadius:i.ax[8]},(0,r.Ht)({strokeSize:1.5,animate:!1,gradient:{degrees:"104.04deg",startColor:e.palette.profile.selectedGradientStart,endColor:e.palette.profile.selectedGradientEnd,startPercentage:"0%",endPercentage:"100%"}})),"&.wa-collapse-sub-section":{borderBottomLeftRadius:i.ax[8],borderBottomRightRadius:i.ax[8],backgroundColor:e.palette.profile.subSectionBackgroundColor},"&.wa-sub-sub-item-row":{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderRadius:i.ax[12],backgroundColor:i.Hm.LIGHT_GREY_GLASS,padding:e.spacing(1.5),cursor:"pointer"},"&.wa-border-radius-8":{borderRadius:i.ax[8]},"&.wa-border-radius-12":{borderRadius:i.ax[12]},"&.wa-cursor-pointer":{cursor:"pointer"},"&.wa-cursor-default":{cursor:"default"},"&.wa-padding-12":{padding:e.spacing(1.5)},"&.wa-padding-16":{padding:e.spacing(2)},"&.wa-padding-8-20":{padding:e.spacing(1,2.5)},"&.wa-padding-24-20":{padding:e.spacing(3,2.5)},"&.wa-padding-16-20":{padding:e.spacing(2,2.5)},"&.wa-padding-12-16":{padding:e.spacing(1.5,2)},"&.wa-padding-20-12":{padding:e.spacing(2.5,1.5)},"&.wa-justify-content-space-between":{justifyContent:"space-between"},"&.wa-gap-4":{gap:e.spacing(.5)},"&.wa-gap-8":{gap:e.spacing(1)},"&.wa-gap-16":{gap:e.spacing(3)},"&.wa-gap-20":{gap:e.spacing(2.5)},"&.wa-gap-24":{gap:e.spacing(3)},"&.wa-no-gap":{gap:0}
1,"&.wa-no-padding":{padding:0},"&.wa-no-top-padding":{paddingTop:0},"&.wa-no-bottom-border-radius":{borderBottomLeftRadius:i.ax[0],borderBottomRightRadius:i.ax[0]},"&.wa-padding-bottom-12":{paddingBottom:e.spacing(1.5)},"&.wa-notice":{backgroundColor:(0,s.X4)(i.Hm.SPOTLIGHT_RED,.08),borderRadius:i.ax[12],padding:e.spacing(1.5),border:"1px solid ".concat((0,s.X4)(i.Hm.SPOTLIGHT_RED,.2))}}})},41375(a,e,t){t.r(e),t.d(e,{default:()=>O});var o=t(48205),s=t(14857),n=t(48738),r=t.n(n),i=t(9950),d=t(89288),c=t(23242),l=t(56127);var p=t(11832),w=t(47562);let g=function(a){return a.CURRENT_PASSWORD="currentPassword",a.NEW_PASSWORD="newPassword",a.CONFIRM_NEW_PASSWORD="confirmPassword",a}({});var u=t(49435),h=t(48075),b=t(62714),m=t(63701),f=t(75106),x=t(45823),A=t(31730),C=t(24041),P=t(24135),R=t(81403),y=t(25734),k=t(23454),I=t(28127),S=t(44414);const O=a=>{let{onGoBack:e}=a;const t=(0,s.A)(),{formatMessage:n}=(0,d.A)(),O=(0,i.useRef)(!0),[N]=(0,p.A)(),[_]=(0,w.A)(),[j,E]=(0,i.useState)(""),[v,T]=(0,i.useState)(""),[D,B]=(0,i.useState)(""),[L,G]=(0,i.useState)(!1),M=(0,i.useCallback)((a,e)=>{switch(a){case g.NEW_PASSWORD:T(e);break;case g.CURRENT_PASSWORD:E(e);break;case g.CONFIRM_NEW_PASSWORD:B(e)}},[]),W=(0,i.useCallback)(a=>{E(a)},[]),z=(0,i.useCallback)(a=>e=>{G(!1),M(a,e||"")},[M]),F=(0,i.useCallback)(()=>G(!!(0,x.a$)(v,D)),[D,v]),H=(0,i.useCallback)(async()=>{if(""!==D&&""!==v&&""!==j)try{await(async(a,e)=>{const t=await(0,l.S)(c.Zq,{currentPassword:a,newPassword:e});if(t.error&&t.error.notification&&t.error.notification.userFriendlyMessage)throw new Error(t.error.notification.userFriendlyMessage)})(j,v),(0,m.V)(h.R7.APP.PROFILE.ROOT),N&&b.P.navigate(h.R7.APP.PROFILE.ROOT)}catch(a){(0,f.mc)(a.message,{closeOnClick:!0})}},[D,j,v,N]),K=(0,i.useCallback)(a=>{"Enter"===a.key&&H()},[H]),U=(0,i.useCallback)(()=>{e?e():((0,m.V)(h.R7.APP.PROFILE.ROOT),b.P.navigate(h.R7.APP.PROFILE.ROOT))},[e]);return(0,i.useEffect)(()=>{O.current&&(O.current=!1,(0,m.V)(h.R7.APP.PROFILE.PASSWORD))},[]),(0,S.jsx)(o.A,{direction:"left",in:!0,mountOnEnter:!0,unmountOnExit:!0,timeout:t.transitions.duration.short,children:(0,S.jsxs)(I.N,{className:"wa-root","data-testid":"change-password",children:[(0,S.jsx)(R.A,{title:n({id:"common.change_password"}),onGoBack:U,className:"wa-header-button"}),(0,S.jsx)(k.P,{children:(0,S.jsxs)(I.N,{className:r()("wa-content wa-gap-24",{"wa-bottom-bar-padding-without-betslip":N&&!_,"wa-bottom-bar-padding-with-betslip":_}),children:[(0,S.jsxs)(I.N,{className:"wa-content wa-no-padding",children:[(0,S.jsx)(C.A,{className:"wa-font-size-14 wa-font-weight-800 wa-color-text-main",children:n({id:"profile.change_password.current_password"})}),(0,S.jsx)(y.A,{password:j,onKeyPress:K,onPasswordChange:W,fieldLabelTextId:"profile.change_password.enter_current_password",fieldDataTestId:"change-password-current-password",visibilityIconDataTestId:"change-password-current-toggle-show-password",hasPasswordError:!(""===j)&&!(0,u.O_)(j)})]}),(0,S.jsxs)(I.N,{className:"wa-content wa-no-padding",children:[(0,S.jsx)(C.A,{className:"wa-font-size-14 wa-font-weight-800 wa-color-text-main",children:n({id:"profile.change_password.create_a_new_password"})}),(0,S.jsx)(y.A,{password:v,onKeyPress:K,onPasswordChange:z(g.NEW_PASSWORD),fieldLabelTextId:"profile.change_password.enter_new_password",fieldDataTestId:"change-password-new-password",visibilityIconDataTestId:"change-password-new-toggle-show-password",hasPasswordError:!(""===v)&&!(0,u.w3)(v),passwordErrorTextId:(0,u.VE)()}),(0,S.jsx)(y.A,{password:D,onKeyPress:K,onPasswordChange:z(g.CONFIRM_NEW_PASSWORD),fieldLabelTextId:"profile.change_password.confirm_new_password",fieldDataTestId:"change-password-confirm-password",visibilityIconDataTestId:"change-password-confirm-toggle-show-password",hasPasswordError:L,passwordErrorTextId:"signup.password.mismatch",onBlur:F})]}),(0,S.jsx)(A.A,{"data-testid":"change-password-change-password-button",className:"wa-button-with-text wa-width-auto wa-button-width-100",type:P.j.PRIMARY,text:n({id:"common.change_password"}
1),disabled:""===D||""===v||""===j||D!==v||!(0,u.w3)(v),onClick:H})]})})]})})}},81403(a,e,t){t.d(e,{A:()=>h});var o=t(89379),s=t(14857),n=t(29011),r=t(45546),i=t(56460),d=t(24041),c=t(75492),l=t(15455),p=t(25518),w=t(44414);const g=(0,n.Ay)("div")(a=>{let{theme:e}=a;return{"&.wa-header-wrapper":{backgroundColor:e.palette.profile.solidBackgroundColorLayer,position:"sticky",top:0,zIndex:100,[e.breakpoints.down(e.breakpoints.values.lg)]:{top:"calc(".concat(i.uC,"px + var(--safe-area-top, 0px))")}},"&.wa-root":{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",position:"relative",backgroundColor:e.palette.profile.subSectionTopBarBackgroundColor,padding:e.spacing(1,1.5),borderRadius:0,height:i.G8,width:"100%"},"&.wa-left-side":{display:"flex",flexDirection:"row",alignItems:"center",gap:e.spacing(1.5)},"&.wa-header-action":{color:e.palette.common.white}}}),u=(0,n.Ay)(d.A)({position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxWidth:"calc(100% - 96px)",textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",pointerEvents:"none"}),h=a=>{let{title:e,onGoBack:t,renderAction:n,centerTitle:h}=a;const b=(0,s.A)();return(0,w.jsx)(g,{className:"wa-header-wrapper",children:(0,w.jsxs)(g,{"data-testid":"header-button",id:"header-button",className:"wa-root",children:[(0,w.jsxs)(g,{className:"wa-left-side",children:[(0,w.jsx)(c.A,{type:r.B2.COMMON,componentSize:i.Ev.COMMON.NORMAL.intermediarySize,iconSize:i.Ev.COMMON.NORMAL.iconSize,"data-testid":"go-back-button",onClick:t,children:(0,w.jsx)(p.M,(0,o.A)((0,o.A)({},l.lS[20]),{},{color:b.palette.common.white}))}),!h&&(0,w.jsx)(d.A,{"data-testid":"header-button-title",id:"title",className:"wa-font-size-14 wa-color-text-main wa-font-weight-800",children:e})]}),h&&(0,w.jsx)(u,{"data-testid":"header-button-title",id:"title",className:"wa-font-size-14 wa-color-text-main wa-font-weight-800",children:e}),n&&(0,w.jsx)(g,{"data-testid":"header-button-action",className:"wa-header-action",children:n()})]})})}}}]);

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.