PageSourceSearch

https://www.playgunlake.com/playgunlake_gunlake-theme/js/app-out/t…tions-history.1f504c43b11788a629d5.chunk.js

js playgunlake.com collected 2026-10-02 15:04:36 UTC 3,241 bytes, 2 lines download raw bytes

1export const __webpack_id__=3416;export const __webpack_ids__=[3416];export const __webpack_modules__={48639:(e,t,o)=>{o.r(t),o.d(t,{TermsAndConditionsHistory:()=>v,TermsAndConditionsHistoryBare:()=>b,default:()=>w});var n={};o.r(n),o.d(n,{defaultState:()=>m,reducer:()=>N});var s,i=o(45932),r=o.n(i),a=o(74848),_=o(96540),c=o(27932),d=o(37489),T=o(57182),I=o(46792),D=o(74294),O=o(1932);!function(e){e.TERMS_AND_CONDITIONS_HISTORY_DATA_UPDATE="TERMS_AND_CONDITIONS_HISTORY:DATA:UPDATE",e.TERMS_AND_CONDITIONS_HISTORY_IS_LOADING_TOGGLE="TERMS_AND_CONDITIONS_HISTORY:IS_LOADING:TOGGLE"}(s||(s={}));const m={isLoading:!0,history:[]},N=e=>(0,O.jM)(((t,o)=>{switch(o.type){case s.TERMS_AND_CONDITIONS_HISTORY_DATA_UPDATE:case s.TERMS_AND_CONDITIONS_HISTORY_DATA_UPDATE+e:Object.assign(t,{history:o.payload});break;case s.TERMS_AND_CONDITIONS_HISTORY_IS_LOADING_TOGGLE:case s.TERMS_AND_CONDITIONS_HISTORY_IS_LOADING_TOGGLE+e:Object.assign(t,{isLoading:o.payload})}}),m),{withDynamicReducer:l,useDynamicReducerSelector:S,useDynamicReducerDispatch:A}=(0,D.X)("TermsAndConditionsHistory",n),y={tableBodyRowContainer:"TermsAndConditionsHistory__tableBodyRowContainer--2mc",tableBodyRowColumn:"TermsAndConditionsHistory__tableBodyRowColumn--3KH",time:"TermsAndConditionsHistory__time--1DS",version:"TermsAndConditionsHistory__version--3XJ"};var u=o(27411),p=o(20214),R=o(13646),C=o(27474);const E=e=>({type:s.TERMS_AND_CONDITIONS_HISTORY_IS_LOADING_TOGGLE,payload:e});var H=function(e,t,o,n){return new(o||(o=Promise))((function(s,i){function r(e){try{_(n.next(e))}catch(e){i(e)}}function a(e){try{_(n.throw(e))}catch(e){i(e)}}function _(e){e.done?s(e.value):function(e){return e instanceof o?e:new o((function(t){t(e)}))}(e.value).then(r,a)}_((n=n.apply(e,t||[])).next())}))};const h=()=>{const e=(0,u.a)(),t=A(),{showComponentError:o}=(0,R.z)(),n=(0,p.Z)();return(0,_.useCallback)((()=>H(void 0,void 0,void 0,(function*(){t(E(!0)),(()=>(0,C.t)({ID:35790,responses:[35791,35792],description:"Get player Terms and Conditions history"}))().then((o=>{e()&&t((e=>({type:s.TERMS_AND_CONDITIONS_HISTORY_DATA_UPDATE,payload:e}))((e=>{var t;return(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.playerAcceptedTerms.reverse().map((e=>Object.assign({id:crypto.randomUUID()},e))))||[]})(o)))})).catch((t=>{e()&&o(n(t))})).finally((()=>{e()&&t(E(!1))}))}))),[t,n,o,e])},b=()=>{const e=(()=>{const e=(0,I.k)(),t=(0,T.N)(),o=S(r()("history")),n=(0,_.useCallback)((o=>{const{tcVersion:n,acceptDateTime:s}=o;return[{id:"0",content:e.getDateTimeShort(e.parseImsDate(s)),className:y.time},{id:"1",content:`${t("playtech.mobile.system.termsAndConditionsHistory.version")} ${n}`,className:y.version}]}),[e,t]);return(0,_.useMemo)((()=>({tableView:{rows:o.map((e=>({id:e.id,rowCells:n(e)})))}})),[n,o])})(),t=h(),o=(0,T.N)(),n=S(r()("isLoading"));return(0,_.useEffect)((()=>{t()}),[t]),(0,a.jsx)(c.XI,{classNames:y,isLoading:n,tableData:e,tableRowView:c.ff.TABLE,className:"cms-terms-and-conditions-history",headerFormName:"TERMS_AND_CONDITIONS_HISTORY_FILTERS",emptyTitle:o("playtech.mobile.system.termsAndConditionsHistory.empty")})},v=(0,d.m)({isForLoggedIn:!0})(l()(b)),w=v}};
2//# sourceMappingURL=terms-and-conditions-history.1f504c43b11788a629d5.chunk.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.