1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="844b392b-84a7-4013-966b-01103a8e0619",e._sentryDebugIdIdentifier="sentry-dbid-844b392b-84a7-4013-966b-01103a8e0619")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7,2388,6359],{16359:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var i=n(95155),a=n(43597),r=n(50910),l=n(73321),o=n(56472),s=n(40538),d=n(18894),u=n(26830),c=n(92388),m=n(78254),h=n(48364),f=n(42126),y=n(82599),g=n.n(y);let v=({gamesList:e,term:t})=>{let n=(0,r.c)("search"),y=(0,l.useParams)(),v=y?.term,k=e?.games||[],[b,{data:p,loading:$,called:w,fetchMore:N}]=(0,a._)(g(),{notifyOnNetworkStatusChange:!0}),x=p?.gamesList?.games||[],S=k?.length+x?.length>(e?.totalCount||0);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.xA,{sx:{gridTemplateColumns:["repeat(1, 1fr)",null,"repeat(3, 1fr)"],marginBottom:["24px",null,"40px"]},children:[...k,...x].map((e,t)=>(0,i.jsxs)(f.Tk,{alignItems:"flex-start",justifyContent:"space-between",width:"100%",height:"100%",padding:"xxxs",borderRadius:"sm",backgroundColor:"neutralHighLight",transition:"box-shadow 0.2s ease-in-out",_hover:{boxShadow:"level1"},children:[(0,i.jsxs)(f.so,{width:"100%",alignItems:"center",justifyContent:"space-between",marginBottom:"md",gap:"xxs",children:[e?.contentTags?.[0]&&(0,i.jsx)(o.Ex,{variant:"primary",sx:{whiteSpace:"break-spaces"},children:e?.contentTags[0].title}),e?.createdAt&&(0,i.jsx)(c.default,{date:e.createdAt,format:d.ow.withDayMonthAndYear,className:(0,h.AH)({color:"brandPrimaryPure",fontSize:"xxs",fontWeight:"semibold",textTransform:"uppercase"})})]}),(0,i.jsx)(u.A,{href:`/${s.bw.CASINO}/${s.bw.GAMES}/${e.slug}`,title:e?.gameName||"",children:(0,i.jsx)(o.EY,{sx:{color:"green.90",fontSize:"xl",fontWeight:600,display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"3",overflow:"hidden"},children:e?.gameName})})]},`${e.id}-${t}`))}),S&&(0,i.jsx)(f.so,{justifyContent:"center",children:(0,i.jsx)(m.A,{label:n("sections.games.title")||"",fetchMore:w?()=>{N({variables:{term:v||t,offset:(x?.length||0)+6},updateQuery:(e,{fetchMoreResult:t})=>{let n=t?.gamesList;return t?{gamesList:{games:[...e?.gamesList?.games||[],...n?.games||[]],totalCount:n?.totalCount||0}}:e}})}:()=>b({variables:{term:v||t,offset:6}}),loading:$})})]})}},18894:(e,t,n)=>{"use strict";n.d(t,{Yq:()=>o,ow:()=>a});var i,a=((i={}).default="default",i.shortDate="shortDate",i.defaultWithYear="defaultWithYear",i.fullDate="fullDate",i.fullDateWithTime="fullDateWithTime",i.dateOnly="dateOnly",i.timeOnly="timeOnly",
1i.withDayMonthAndYear="withDayMonthAndYear",i.withWeekday="withWeekday",i.withDayMonthAndTime="withDayMonthAndTime",i.withDayMonthYearAndTime="withDayMonthYearAndTime",i.withOnlyDayMonth="withOnlyDayMonth",i.dateOnlyNumeric="dateOnlyNumeric",i.shortTime="shortTime",i.withNumberMonthAndYear="withNumberMonthAndYear",i.withFullDateAndTime="withFullDateAndTime",i.weekdayOnly="weekdayOnly",i.defaultWithFullMonth="defaultWithFullMonth",i);let r="America/Sao_Paulo",l="pt-br",o=(e,t)=>{let n,i,a=new Date(e);if(isNaN(a.getTime()))return"";let{monthDay:o,hours:s,minutes:d,monthInNumber:u,year:c,shortWeekday:m,longWeekday:h,shortMonth:f,longMonth:y}=(n=new Intl.DateTimeFormat(l,{timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(a),{monthDay:(i=e=>n.find(t=>t.type===e)?.value||"")("day"),hours:i("hour"),minutes:i("minute"),monthInNumber:i("month"),year:Number(i("year")),shortWeekday:a.toLocaleString(l,{weekday:"short",timeZone:r}),longWeekday:a.toLocaleString(l,{weekday:"long",timeZone:r}),shortMonth:a.toLocaleString(l,{month:"short",timeZone:r}),longMonth:a.toLocaleString(l,{month:"long",timeZone:r})}),g={dateOnly:`${h}, ${o} de ${y}`,timeOnly:`${s}:${d}`,fullDate:`${h}, ${o} de ${y} de ${c}`,fullDateWithTime:`${o} de ${y} de ${c}. \xe0s ${s}:${d}`,withDayMonthAndYear:`${o} de ${y} de ${c}`,withWeekday:`${m} ${o} de ${y}, ${s}:${d}`,withDayMonthAndTime:`${o}/${u} \xe0s ${s}:${d}`,withDayMonthYearAndTime:`${o}/${u}/${c} \xe0s ${s}:${d}`,withFullDateAndTime:`${o}/${u}/${c.toString().slice(-2)} \xe0s ${s}:${d}`,withOnlyDayMonth:`${o}/${u}`,dateOnlyNumeric:`${o}/${u}/${c}`,defaultWithYear:`${o} de ${f} \xe0s ${s}:${d} de ${c}`,shortDate:`${m} ${f} ${o}, ${c}`,withNumberMonthAndYear:`${o} de ${y}, ${c}`,weekdayOnly:`${h}`,shortTime:a.toLocaleString("pt-BR",{hour:"numeric",minute:"numeric",hour12:!1,timeZone:r}),defaultWithFullMonth:`${o} de ${y} \xe0s ${s}:${d}`,default:`${o} de ${f} ${s}:${d}`};return g[t]||g.default}},26093:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(95155),a=n(48364),r=n(42126);let l=({height:e=120,size:t=30})=>(0,i.jsx)(r.so,{justifyContent:"center",alignItems:"center",style:{minHeight:e},children:(0,i.jsx)("div",{style:{width:t,height:t},className:(0,a.AH)({border:"4px solid yellow",borderColor:"brandPrimaryMedium",borderRightColor:"brandPrimaryPure",borderRadius:"full",animation:"spin 1s linear infinite"})})})},34491:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var i=n(12115);let a=n(63453).S?i.useLayoutEffect:i.useEffect},43048:(e,t,n)=>{"use strict";n.d(t,{r:()=>f});var i,a=n(12115),r=n(23315),l=n(63453),o=n(22873),s=n(46231);let d=!1,u=(i||(i=n.t(a,2))).useSyncExternalStore,c="ReactNative"==(0,o.n)(()=>navigator.product),m=(0,o.n)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,h=(l.S||c)&&!m,f=u||((e,t,n)=>{let i=t();r.g&&!d&&i!==t()&&(d=!0,s.V1.error(34));let[{inst:l},o]=a.useState({inst:{value:i,getSnapshot:t}});return h?a.useLayoutEffect(()=>{Object.assign(l,{value:i,getSnapshot:t}),y(l)&&o({inst:l})},[e,i,t]):Object.assign(l,{value:i,getSnapshot:t}),a.useEffect(()=>(y(l)&&o({inst:l}),e(function(){y(l)&&o({inst:l})})),[e]),i});function y({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}},43597:(e,t,n)=>{"use strict";let i;n.d(t,{_:()=>g});var a=n(98535),r=n(12115),l=n(89429),o=n(34395),s=n(65814),d=n(46231);function u(){}var c=n(79405),m=n(34491),h=n(99807),f=n(43048);let y=["refetch","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],g=function(e,t){let n=(0,h.m)(t?.client),l=r.useRef(void 0),s=r.useRef(void 0),g=(0,c.k)(()=>t,[t]),k=(i||(i=r.createContext(null)),r.useCallback(()=>{let e=console.error;try{return console.error=u,r.useContext(i),!0}catch(e){return!1}finally{console.error=e}},[]));function b(){return n.watchQuery({...t,query:e,initialFetchPolicy:t?.fetchPolicy,fetchPolicy:"standby",[o._K]:!0})}let[p,$]=r.useState(n),[w,N]=r.useState(b);p!==n&&($(n),N(b()));let x=r.useCallback((e,t)=>{let n=s.current?.data;n&&!(0,a.L)(n,e.data)&&(l.current=n),s.current=e,t()},[]),S=(0,f.r)(r.useCallback(e=>{let t=w.subscribe(t=>{(0,a.L)(s.current,t)||x(t,e)});return()=>{t.unsubscribe()}},[w,x]),()=>s.current||v,()=>v),D=r.useMemo(()=>{let e={};for(let t of y)e[t]=function(...e){return(0,d.V1)(s.current,29,t),w[t](...e)};return e},[w]);r.useEffect(()=>{let n={query:e,errorPolicy:g?.errorPolicy,refetchOn:g?.refetchOn,refetchWritePolicy:g?.refetchWritePolicy,returnPartialData:g?.returnPartialData,notifyOnNetworkStatusChange:g?.notifyOnNetworkStatusChange,pollInterval:g?.pollInterval,nextFetchPolicy:t?.nextFetchPolicy,skipPollAttempt:t?.skipPollAttempt};"standby"!==w.options.fetchPolicy&&g?.fetchPolicy&&(n.fetchPolicy=g.fetchPolicy),w.applyOptions(n)},[e,w,g,t?.nextFetchPolicy,t?.skipPollAttempt]);let T=r.useCallback((...e)=>{(0,d.V1)(!k(),30);let[t]=e,n=w.options.fetchPolicy;return"standby"===n&&(n=w.options.initialFetchPolicy),w.reobserve({fetchPolicy:n,variables:t?.variables,context:t?.context??{}})},[w,k]),A=r.useRef(T);return(0,m.E)(()=>{A.current=T}),[r.useCallback((...e)=>A.current(...e),[]),r.useMemo(()=>{let{partial:e,...t}=S;return{...D,...t,client:n,previousData:l.current,variables:w.variables,observable:w,called:!!s.current}},[n,S,D,w])]},v=(0,s.G)({data:void 0,dataState:"empty",loading:!1,networkStatus:l.p.ready,partial:!0})},63453:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});let i="function"==typeof(0,n(22873).n)(()=>window.document.createElement)}
1,78254:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(95155),a=n(50910),r=n(37623),l=n(26093);let o=({fetchMore:e,label:t,loading:n=!1})=>{let o=(0,a.c)("search");return(0,i.jsx)(i.Fragment,{children:n?(0,i.jsx)(l.A,{height:10}):(0,i.jsx)("button",{onClick:e,disabled:n,className:(0,r.V)({variant:"secondary"}),children:o("loadMore",{section:t??""})})})}},79405:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(98535),a=n(12115);function r(e,t){let n=a.useRef(void 0);return n.current&&(0,i.L)(n.current.deps,t)||(n.current={value:e(),deps:t}),n.current.value}},82599:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CasinoGamesList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"term"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gamesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"term"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"6"}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"games"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gameName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gameImage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contentTags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contentType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:322}};t.loc.source={body:"query CasinoGamesList($term: String!, $offset: Int!) {\n gamesList(searchTerm: $term, limit: 6, offset: $offset) {\n totalCount\n games {\n id\n description\n gameName\n gameImage\n slug\n status\n contentTags {\n id\n contentType\n slug\n title\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function i(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}t.definitions.forEach(function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(t){e(t,n)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(t){e(t,n)}),t.definitions&&t.definitions.forEach(function(t){e(t,n)})}(e,t),n[e.name.value]=t}}),e.exports=t,e.exports.CasinoGamesList=function(e,t){var a={kind:e.kind,definitions:[i(e,t)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=n[t]||new Set,l=new Set,o=new Set;for(r.forEach(function(e){o.add(e)});o.size>0;){var s=o;o=new Set,s.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){o.add(e)}))})}return l.forEach(function(t){var n=i(e,t);n&&a.definitions.push(n)}),a}(t,"CasinoGamesList")}
1,92388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var i=n(95155),a=n(18894);let r=({date:e,format:t=a.ow.default,complementText:n="",className:r=""})=>{let l=e?(0,a.Yq)(e,t):"",o=e?(0,a.Yq)(e,a.ow.defaultWithYear):"";return(0,i.jsxs)("time",{title:o,className:r,children:[l," ",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.