PageSourceSearch

https://www.kontrata.net/_next/static/chunks/10613.d99b087b182fb3fb.js

js kontrata.net collected 2026-10-09 05:22:14 UTC 13,058 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10613,19324],{7443:function(e,t,r){"use strict";var n=r(83454);r(91479);var i=r(67294),s=i&&"object"==typeof i&&"default"in i?i:{default:i},o=void 0!==n&&n.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,s=void 0===i?o:i;u(l(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&u(l(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},c={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return c[n]||(c[n]="jsx-"+d(e+"-"+r)),c[n]}function m(e,t){var r=e+t;return c[r]||(c[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),c[r]}var p=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=n||new a({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=s,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=h(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return m(i,e)}):[m(i,t)]}}return{styleId:h(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=i.createContext(null);f.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,_=new p;function y(e){var t=_||i.useContext(f);return t&&v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=y},40645:function(e,t,r){"use strict";e.exports=r(7443).style},19324:function(e,t,r){"use strict";r.r(t);var n=r(85893),i=r(67294);t.default=e=>{let{children:t,delay:r=300}=e,[s,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{o(!0)},r);return()=>clearTimeout(e)},[]),(0,n.jsx)("div",{className:"transition-opacity duration-500 ".concat(s?"opacity-100":"opacity-0"),children:t})}},10613:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return S}});var n=r(85893),i=r(14430),s=r.n(i),o=r(40645),l=r.n(o);r(67294);
1var a=r(98778),u=r(19324),d=r(34599),c=r(51512),h=r(56399),m=r(94929),p=r(96986),f=r(76554),v=r(78886);let _=async()=>{var e,t,r,n;try{let{data:r}=await p.Z.post(f.P.RULES_VIEW,{_method:"PATCH"});return{status:null!==(t=null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.success)&&void 0!==t&&t,message:""}}catch(e){return{status:!1,message:(0,v.t)(e,"Terjadi kesalahan view rules."),error_code:null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.error_code}}};var y=r(94684),x=r(88767),S=()=>{var e;let{t}=(0,m.$G)("common"),{closeBottomSheet:r,dataPages:i,groupName:o,setBottomSheetView:p}=(0,d.l8)(),{mutate:v}=(0,c._)(),S=(null==i?void 0:null===(e=i.find(e=>(null==e?void 0:e.name)==="rules"))||void 0===e?void 0:e.value)||"",g=(0,x.useQueryClient)(),b=()=>{g.invalidateQueries({queryKey:[f.P.USER_PROFILE]})},R=async()=>{var e,t;try{let t=await _();(null==t?void 0:t.status)?(b(),p(""),r()):null===(e=(0,y.Am)())||void 0===e||e.error((null==t?void 0:t.message)||"Internal Server Error",{toastId:"rules-view-error"})}catch(e){null===(t=(0,y.Am)())||void 0===t||t.error((null==e?void 0:e.message)||"Internal Server Error",{toastId:"rules-view-error"}),console.error("Kesalahan tak terduga di ReadRules:",e)}};return(0,n.jsx)(u.default,{children:(0,n.jsx)("div",{className:(0,h.cn)("relative z-[132px] flex flex-col rounded-t-[20px] max-h-[calc(100vh-120px)] text-xs",s().className,"lx"===o&&"bg-lx-background-500","titan"===o&&"bg-gray-900"),children:(0,n.jsxs)("div",{"data-body-scroll-lock-ignore":!0,className:"jsx-585c5b517cd48f12 overflow-y-auto px-[18px] pt-[18px] pb-[86px]",children:[(0,n.jsx)("div",{className:"jsx-585c5b517cd48f12 flex flex-col w-full",children:(0,n.jsx)("h3",{className:"jsx-585c5b517cd48f12 capitalize text-[16px] text-center font-semibold text-lx-text-color mb-[12px]",children:"peraturan"})}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:S},className:"jsx-585c5b517cd48f12 text-[12px] font-normal text-lx-text-color mb-[16px]"}),(0,n.jsxs)("div",{className:"jsx-585c5b517cd48f12 "+((0,h.cn)("absolute bottom-0 left-0 w-full h-[68px] flex gap-x-3 items-center justify-between","lx"===o&&"bg-lx-background-600 px-lx-mobile","titan"===o&&"bg-gray-950 px-mobile grid grid-cols-2 gap-x-1")||""),children:[(0,n.jsx)(a.Z,{variant:"link",className:"h-8 text-xs font-medium text-lx-text-color/50",onClick:()=>{p(""),r(),v()},children:t("common:text-refuse")}),(0,n.jsx)(a.Z,{variant:"lx"===o?"revamp-lx-primary":"primary",className:"h-8 text-xs font-medium",type:"button",onClick:()=>{R()},children:t("common:text-accept")})]}),(0,n.jsx)(l(),{id:"585c5b517cd48f12",children:"ol{display:block;list-style-type:decimal;-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:0;margin-block-end:0;-webkit-margin-start:0px;-moz-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;-moz-margin-end:0px;margin-inline-end:0px;-webkit-padding-start:18px;-moz-padding-start:18px;padding-inline-start:18px;unicode-bidi:-webkit-isolate;unicode-bidi:-moz-isolate;unicode-bidi:isolate}li{display:list-item;text-align:-webkit-match-parent;unicode-bidi:-webkit-isolate;unicode-bidi:-moz-isolate;unicode-bidi:isolate}"})]})})})}},51512:function(e,t,r){"use strict";r.d(t,{_:function(){return m}});var n=r(34599),i=r(76554),s=r(96986),o=r(22779),l=r(55762),a=r(88767),u=r(94929),d=r(65931),c=r(94684);async function h(){return s.Z.delete(i.P.LOGIN)}let m=()=>{let{t:e}=(0,u.$G)("common"),{unauthorize:t,setPinVerified:r,setHasPin:i,closeModal:s,closeBottomSheet:m}=(0,n.l8)();return(0,a.useMutation)(()=>h(),{onSuccess:e=>{o.e.remove(l.RY.AuthToken),o.e.remove(l.RY.AuthPin),o.e.remove(l.RY.User),o.e.remove(l.RY.SelectedGame),o.e.remove(l.RY.hasPin),r(!1),i(!1),s(),m(),t(),(0,d.oN)(),window.location.href="/"},onError:e=>{var n,a,u,h;(0,d.oN)(),o.e.remove(l.RY.AuthToken),o.e.remove(l.RY.AuthPin),o.e.remove(l.RY.User),o.e.remove(l.RY.SelectedGame),o.e.remove(l.RY.hasPin),r(!1),i(!1),s(),m(),t();let p=null==e?void 0:null===(u=e.response)||void 0===u?void 0:null===(a=u.data)||void 0===a?void 0:null===(n=a.errors)||void 0===n?void 0:n._error;null===(h=(0,c.Am)())||void 0===h||h.error(p,{bodyStyle:{whiteSpace:"pre-wrap"},toastId:"logout"}),window.location.href="/"}})}},78886:function(e,t,r){"use strict";r.d(t,{t:function(){return n}});let n=(e,t)=>{var r,n,i,s,o,l,a,u;return(null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:null===(r=n.errors)||void 0===r?void 0:r._error)?Array.isArray(null==e?void 0:null===(u=e.response)||void 0===u?void 0:null===(a=u.data)||void 0===a?void 0:null===(l=a.errors)||void 0===l?void 0:l._error)?e.response.data.errors._error[0]:e.response.data.errors._error:"string"==typeof(null==e?void 0:null===(o=e.response)||void 0===o?void 0:null===(s=o.data)||void 0===s?void 0:s.message)?e.response.data.message:"string"==typeof(null==e?void 0:e.message)?e.message:t}},91479:function(){},14430:function(e){e.exports={style:{fontFamily:"'__Inter_d8ebd1', '__Inter_Fallback_d8ebd1'",fontStyle:"normal"},className:"__className_d8ebd1"}}}]);

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.