PageSourceSearch

https://blue.kumparan.com/dist/36995391980363e903db.chunk.ff750022b8943758ea13.mod.js

js kumparan.com collected 2026-09-24 08:54:25 UTC 37,477 bytes, 1 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["DesktopPageWrapper","Notification-NotificationHandler"],{"2958114fdaad8eefd6db":(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var a=n("f29b77cd1c7382d8894a"),i=n("657568e21c4ac254e368");class o extends i.A{}o.mutation={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"MarkReadAllUnreadNotificationsV2"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"markReadAllUnreadNotificationsRequest"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"MarkReadAllUnreadNotificationsRequest"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"MarkReadAllUnreadNotificationsV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"markReadAllUnreadNotificationsRequest"},value:{kind:"Variable",name:{kind:"Name",value:"markReadAllUnreadNotificationsRequest"}}}],directives:[]}]}}],loc:{start:0,end:283,source:{body:"\n    mutation MarkReadAllUnreadNotificationsV2(\n      $markReadAllUnreadNotificationsRequest: MarkReadAllUnreadNotificationsRequest!\n    ) {\n      MarkReadAllUnreadNotificationsV2(\n        markReadAllUnreadNotificationsRequest: $markReadAllUnreadNotificationsRequest\n      )\n    }\n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};var r=n("1a370ceb54eb2bfdaefd"),s=n("3e4b07bd1ae402772400");const c=e=>{const t={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const n=e.name.value;return!t[n]&&(t[n]=!0,!0)}))};class l extends r.A{}l.query={kind:"Document",definitions:c([{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindCurrentUserUnreadNotificationCountV2"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindCurrentUserUnreadNotificationCountV2"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"UnreadNotifications"},directives:[]}]}}]}}].concat(s.Sr.definitions)),loc:{start:0,end:155,source:{body:"\n    query FindCurrentUserUnreadNotificationCountV2 {\n      FindCurrentUserUnreadNotificationCountV2 {\n        ...UnreadNotifications\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};var d=n("b36dd10eceececbf25c0"),u=n("9e3202fa57e5ae38767f"),f=n("ae65e2d32bc182b6b7d2"),m=n("fbc3b4396bb496661dae"),p=n("c98c01de6a54a0cba3e2"),b=n("a1ca5acfbf0478960314");const h={types:["PINNED_COMMENT","LIKE","COMMENT","MENTION","FOLLOW","TOP_COMMENT","REPORT"]};class g extends a.Component{constructor(){super(...arguments),this.notificationCountUpdater=e=>{const{client:t}=this.props;try{const n=t.readQuery({query:l.query}),a=n&&n.FindCurrentUserUnreadNotificationCountV2;a&&t.writeQuery({query:l.query,data:{FindCurrentUserUnreadNotificationCountV2:{...a,all:a.all-a[e.toLowerCase()],[e.toLowerCase()]:0}}})}catch(e){}},this.markReadAllUnreadNotificationsHandler=(e,t)=>e({variables:{markReadAllUnreadNotificationsRequest:{section:t}},optimisticResponse:{MarkReadAllUnreadNotificationsV2:!0},update:(e,n)=>{let{data:a}=n;try{if(a&&a.MarkReadAllUnreadNotificationsV2){const{query:n}=f.A,a={size:10,cursorType:"PAGE",cursor:"1",section:t,filter:h},i=e.readQuery({query:n,variables:a});if(i&&i.FindCurrentUserNotificationFeed){const t=i.FindCurrentUserNotificationFeed.edges.map((e=>({...e,isSeen:!0})));e.writeQuery({query:n,variables:a,data:{...i,FindCurrentUserNotificationFeed:{...i.FindCurrentUserNotificationFeed,edges:t}}})}}}catch(e){}}})}render(){const{location:e}=this.props;return(0,b.jsx)(d.A,{query:d.A.query,children:t=>{let{data:n,loading:a}=t;return n&&n.FindCurrentUser?(0,b.jsx)(l,{query:l.query,notifyOnNetworkStatusChange:!0,context:{singleFetch:!0},pollInterval:e.pathname!==p.i.NOTIFICATIONS_ROOT?3e4:void 0,children:e=>{let{data:t,loading:n}=e;return(0,b.jsx)(o,{mutation:o.mutation,children:e=>{const i=t&&t.FindCurrentUserUnreadNotificationCountV2?t.FindCurrentUserUnreadNotificationCountV2:null;return this.props.children({allUnreadNotificationCount:i,markReadAllUnreadNotifications:t=>
1this.markReadAllUnreadNotificationsHandler(e,t),notificationCountUpdater:this.notificationCountUpdater,loading:a||n})}})}}):this.props.children({allUnreadNotificationCount:null,markReadAllUnreadNotifications:()=>{},notificationCountUpdater:()=>{},loading:a})}})}}const x=(0,u.A)((0,m.A)(g))},"3fc2fa1ee2a9340cebf9":(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var a=n("f29b77cd1c7382d8894a"),i=n("b5040a162a4a4dde67e6"),o=n("aab7660251ee0163f01e"),r=n("b75869fa0ee55381231c"),s=n("22b3658eb523582dd26f"),c=n("fba30acf371e30c980ab"),l=n("bb5aff9364e47ba361f7"),d=n("62dafb95f1b8d6c00e95"),u=n("ab03b086c9962d3dc659"),f=n("b8d0ee998ea68c6abe46"),m=n("b687b6d645d86f7341e4"),p=n("c98c01de6a54a0cba3e2"),b=n("115c2773c4258b295e8c"),h=n("a1ca5acfbf0478960314");const g=(0,s.Ay)({resolved:{},chunkName:()=>"TopicRenderer",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e("TopicRenderer").then(n.bind(n,"2996be2afa9ddd10061c")),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>"2996be2afa9ddd10061c"}),x=(0,i.Ay)(o.A).withConfig({componentId:"sc-quaqv4-0"})(["min-height:100px;max-height:","px;overflow:visible;visibility:visible;position:absolute;z-index:999;width:","px;top:45px;left:0px;overflow-y:auto;overflow-x:hidden;"],450,624),v=i.Ay.form.withConfig({componentId:"sc-quaqv4-1"})(["width:fit-content;position:relative;display:inline-block;margin-left:40px;"]),k=e=>{const t=(0,l.zy)(),n=(0,l.Zp)(),i=(0,c.A)(),o=(0,b.tU)([p.i.SEARCH_RESULT]),s=o?.params?.query||"",[k,y]=a.useState(""),[C]=(0,d.d7)(k,300),[A,N]=a.useState(!1),T=a.useRef(null),_=a.useCallback((t=>{N(t),e.setOverlay({showOverlay:t,overlayMarginTop:"56px"})}),[]);a.useEffect((()=>{s&&y((0,m.A)(s))}),[s]),a.useEffect((()=>{t.pathname===p.i.SEARCH_ROOT&&(k.length>=3?_(!0):_(!1))}),[k,t.pathname]);const R=a.useCallback((()=>{y(""),_(!1)}),[]),w=a.useCallback((e=>{setTimeout((()=>{e.stopPropagation(),T.current&&!T.current.contains(e.target)&&_(!1)}),100)}),[T]),O=a.useCallback((()=>{t.pathname===p.i.SEARCH_ROOT?k.length>=3&&N(!0):n(p.i.SEARCH_ROOT),i.trackEvent({name:f.f7.CLICK_SEARCH_BAR,context:{menu_name:f.MY.SEARCH}})}),[t.pathname,k.length,i,n]),E=a.useCallback((e=>{if("Enter"===e.key){R();const t=e.currentTarget.value;t.length>0&&(n((0,l.tW)(p.i.SEARCH_RESULT,{query:t})),i.trackEvent({name:f.f7.CLICK_SEARCH,context:{keyword:t}}))}}),[R,n,i]),S=a.useCallback((()=>{y(""),t.pathname!==p.i.SEARCH_ROOT&&n(p.i.SEARCH_ROOT)}),[n,t.pathname]),j=a.useCallback((e=>{const a=e.currentTarget.value;y(a),t.pathname!==p.i.SEARCH_ROOT&&n(p.i.SEARCH_ROOT)}),[n,t.pathname]),L=a.useCallback((e=>{e.preventDefault()}),[]);return a.useEffect((()=>(A&&document.addEventListener("mousedown",w),()=>{document.removeEventListener("mousedown",w)})),[w,A]),(0,h.jsxs)(v,{ref:T,autoComplete:"off",role:"search",onSubmit:L,children:[(0,h.jsx)(r.A,{as:"label",htmlFor:"track_search_keyword",visuallyHidden:!0,children:"Pencarian"}),(0,h.jsx)(u.A,{size:"small",componentWidth:"320px",value:k,onFocus:()=>{O()},onKeyPress:E,deleteInputValue:S,onChange:j,autoFocus:t.pathname===p.i.SEARCH_ROOT,autoComplete:"off",name:"desktop-search"}),A&&(0,h.jsx)(x,{backgroundColorScheme:"primary",bordered:!0,borderRadius:0,overflowY:"auto",scrollbarType:"primary",depth:2,children:(0,h.jsx)(g,{value:C,onLeave:R})})]})}},"4a7c23c4a93e10580c47":(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n("d518909bf6561866660f"),i=n("f29b77cd1c7382d8894a"),o=n("aab7660251ee0163f01e"),r=n("b75869fa0ee55381231c"),s=n("e736f03a98981fbcb5a9"),c=n("a1ca5acfbf0478960314");const l=e=>{const t=(0,a.c)(15),n=Boolean(e.label&&!e.hideLabel),i=`category-compartment-${e.label}`,l=n?48:"auto",d=n?48:98;let u,f,m,p;return t[0]!==e.logo||t[1]!==l||t[2]!==d?(u=(0,c.jsx)("img",{loading:"lazy",src:e.logo,height:l,width:d}),t[0]=e.logo,t[1]=l,t[2]=d,t[3]=u):u=t[3],t[4]!==e.label||t[5]!==n?(f=n?(0,c.jsx)(o.A,{marginTop:8,children:(0,c.jsx)(r.A,{size:"micro",children:e.label})}):null,t[4]=e.label,t[5]=n,t[6]=f):f=t[6],t[7]!==i||t[8]!==u||t[9]!==f?(m=(0,c.jsxs)(o.A,{display:"flex",flexDirection:"column",flexAlignItems:"center",flexJustifyContent:"center",marginX:4,marginY:10,height:98,width:98,qaTag:i,children:[u,f]}),t[7]=i,t[8]=u,t[9]=f,t[10]=m):m=t[10],t[11]!==e.onClick||t[12]!==e.path||t[13]!==m?(p=(0,c.jsx)(s.A,{to:e.path,onClick:e.onClick,children:m}
1),t[11]=e.onClick,t[12]=e.path,t[13]=m,t[14]=p):p=t[14],p},d=i.memo(l)},"62dafb95f1b8d6c00e95":(e,t,n)=>{"use strict";n.d(t,{d7:()=>r});var a=n("f29b77cd1c7382d8894a");function i(e,t){return e===t}function o(e){return"function"==typeof e?function(){return e}:e}function r(e,t,n){var r,s,c=n&&n.equalityFn||i,l=(r=(0,a.useState)(o(e)),s=r[1],[r[0],(0,a.useCallback)((function(e){return s(o(e))}),[])]),d=l[0],u=l[1],f=function(e,t,n){var i=this,o=(0,a.useRef)(null),r=(0,a.useRef)(0),s=(0,a.useRef)(null),c=(0,a.useRef)([]),l=(0,a.useRef)(),d=(0,a.useRef)(),u=(0,a.useRef)(e),f=(0,a.useRef)(!0);(0,a.useEffect)((function(){u.current=e}),[e]);var m=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var p=!!(n=n||{}).leading,b=!("trailing"in n)||!!n.trailing,h="maxWait"in n,g=h?Math.max(+n.maxWait||0,t):null;(0,a.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var x=(0,a.useMemo)((function(){var e=function(e){var t=c.current,n=l.current;return c.current=l.current=null,r.current=e,d.current=u.current.apply(n,t)},n=function(e,t){m&&cancelAnimationFrame(s.current),s.current=m?requestAnimationFrame(e):setTimeout(e,t)},a=function(e){if(!f.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||h&&e-r.current>=g},x=function(t){return s.current=null,b&&c.current?e(t):(c.current=l.current=null,d.current)},v=function e(){var i=Date.now();if(a(i))return x(i);if(f.current){var s=t-(i-o.current),c=h?Math.min(s,g-(i-r.current)):s;n(e,c)}},k=function(){var u=Date.now(),m=a(u);if(c.current=[].slice.call(arguments),l.current=i,o.current=u,m){if(!s.current&&f.current)return r.current=o.current,n(v,t),p?e(o.current):d.current;if(h)return n(v,t),e(o.current)}return s.current||n(v,t),d.current};return k.cancel=function(){s.current&&(m?cancelAnimationFrame(s.current):clearTimeout(s.current)),r.current=0,c.current=o.current=l.current=s.current=null},k.isPending=function(){return!!s.current},k.flush=function(){return s.current?x(Date.now()):d.current},k}),[p,h,t,g,b,m]);return x}((0,a.useCallback)((function(e){return u(e)}),[u]),t,n),m=(0,a.useRef)(e);return c(m.current,e)||(f(e),m.current=e),[d,f]}},"9d7e7efc514116064b6f":e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},"9e3202fa57e5ae38767f":(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n("d518909bf6561866660f"),i=(n("f29b77cd1c7382d8894a"),n("9f94a4dae3f49947c92d")),o=n("35f8d31c77512c7ad5f8"),r=n.n(o),s=n("a1ca5acfbf0478960314");const c=e=>r()((t=>{const n=(0,a.c)(3),o=(0,i.m)(),r=t;let c;return n[0]!==o||n[1]!==r?(c=(0,s.jsx)(e,{...r,client:o}),n[0]=o,n[1]=r,n[2]=c):c=n[2],c}),e,{})},ae65e2d32bc182b6b7d2:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n("1a370ceb54eb2bfdaefd"),i=n("3e4b07bd1ae402772400");const o=e=>{const t={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const n=e.name.value;return!t[n]&&(t[n]=!0,!0)}))};class r extends a.A{}r.query={kind:"Document",definitions:o([{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindCurrentUserNotificationFeed"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursor"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursorType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CursorType"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"section"}},type:{kind:"NamedType",name:{kind:"Name",value:"NotificationSection"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"size"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"10"},directives:[]}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"NotificationFilterInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindCurrentUserNotificationFeed"},arguments:[{kind:"Argument",name:{kind:"Name",value:"cursor"},value:{kind:"Variable",name:{kind:"Name",value:"cursor"}}},{kind:"Argument",name:{kind:"Name",value:"cursorType"},value:{kind:"Variable",name:{kind:"Name",value:"cursorType"}}},{kind:"Argument",name:{kind:"Name",value:"section"},value:{kind:"Variable",name:{kind:"Name",value:"section"}}},{kind:"Argument",name:{kind:"Name",value:"size"},value:{kind:"Variable",name:{kind:"Name",value:"size"}}},{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"NotificationCursor"},directives:[]}]}}]}}].concat(i.o1.definitions)),loc:{start:0,end:429,source:{body:"\n    query FindCurrentUserNotificationFeed(\n      $cursor: String!\n      $cursorType: CursorType!\n      $section: NotificationSection\n      $size: Int = 10\n      $filter: NotificationFilterInput\n    ) {\n      FindCurrentUserNotificationFeed(\n        cursor: $cursor\n        cursorType: $cursorType\n        section: $section\n        size: $size\n        filter: $filter\n      ) {\n        ...NotificationCursor\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}}},b55466e791566ef2693c:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Pe});var a=n("d518909bf6561866660f"),i=n("f29b77cd1c7382d8894a"),o=n("b5040a162a4a4dde67e6"),r=n("091c7064ee1d0ff897b5"),s=n("aab7660251ee0163f01e"),c=n("bb5aff9364e47ba361f7"),l=n("28f2a1b51cd33d84934d"),d=n("cc710c3175d755559397"),u=n("5b7075090da2a1cfb431"),f=n("20e8727cdfbb2d8632c7"),m=n("6e9a29e0eb3112f51e68"),p=n("3a9b9ab81188b68b9473"),b=n.n(p),h=n("b75869fa0ee55381231c"),g=n("96ebc10b94fc879551e3"),x=n("a1ca5acfbf0478960314"),v="left: 50%; transform: translateX(-50%);",k="top: 50%; transform: translateY(-50%);",y=function(e,t){return void 0===t&&(t=0),`${e}: calc(100% + ${t}px);`},C={top:`${v} ${y("bottom",10)}`,right:`${k} ${y("left",10)}`,bottom:`${v} ${y("top",10)}`,left:`${k} ${y("right",10)}`,"top-left":`${y("bottom",10)} left: 0;`,"top-right":` ${y("bottom",10)} right: 0;`,"bottom-left":`${y("top",10)} left: 0;`,"bottom-right":`${y("top",10)} right: 0;`},A=`\n  ${v}\n  border-right: 8px solid transparent;\n  border-left: 8px solid transparent;\n`,N=`\n  ${k}\n  border-top: 8px solid transparent;\n  border-bottom: 8px solid transparent;`,T=e=>`\n  ${y(e)}\n  ${"top"===e||"bottom"===e?A:N}\n  \n  border-${e}-width: 8px;\n  border-${e}-style: solid;\n`,_={top:`${T("top")}`,right:`${T("right")}`,bottom:`${T("bottom")}`,left:`${T("left")}`,"top-left":`${T("top")} left: 10px;`,"top-right":`${T("top")} left: calc(100% - 15px);`,"bottom-left":`${T("bottom")} left: 10px;`,"bottom-right":`${T("bottom")} left: calc(100% - 15px);`},R=o.Ay.div.withConfig({displayName:"TranslationTooltipweb__TooltipWrapper",componentId:"sc-i0dj80-0"})(["display:inline-block;position:relative;",";"],(e=>e.$isShow?(0,o.AH)(["z-index:889;"]):(0,o.AH)([""]))),w=(0,o.Ay)(s.A).withConfig({displayName:"TranslationTooltipweb__TooltipContentWrapper",componentId:"sc-i0dj80-1"})(["position:absolute;background-color:",";border-radius:4px;width:-moz-max-content;width:-webkit-max-content;width:-o-max-content;width:intrinsic;",";",";min-width:100%;cursor:pointer;display:flex;justify-content:space-between;&:before{content:'';position:absolute;height:0;width:0;",";",";}"],(e=>e.backgroundColor?u.T[e.backgroundColor]:u.T[e.theme.tooltip.background]),(e=>e.$isShow?(0,o.AH)(["z-index:889;"]):""),(e=>e.$tooltipPosition?C[e.$tooltipPosition]:""),(e=>e.$showPointer&&e.$tooltipPosition?_[e.$tooltipPosition]:""),(e=>(0,o.AH)(["border-","-color:",";"],e.$tooltipPosition.includes("-")?e.$tooltipPosition.substr(0,e.$tooltipPosition.indexOf("-")):e.$tooltipPosition,e.backgroundColor?u.T[e.backgroundColor]:u.T[e.theme.tooltip.background])));class O extends i.Component{constructor(){super(...arguments),this.state={isShow:!1},this.componentDidMount=()=>{this.timeout=setTimeout((()=>{this.setState({isShow:!1})}),3e3),document&&"undefined"!=typeof document&&document.addEventListener("mousedown",this.handleClickOutside)}
1,this.timeout=void 0,this.tooltipRef=void 0,this.tooltipWrapperRef=e=>{e&&(this.tooltipRef=e)},this.handleClickOutside=e=>{this.tooltipRef&&!this.tooltipRef.contains(e.target)&&this.closeTooltip()},this.openTooltip=()=>{clearTimeout(this.timeout),this.timeout=setTimeout((()=>{this.setState({isShow:!0})}),100)},this.closeTooltip=()=>{clearTimeout(this.timeout),this.timeout=setTimeout((()=>{this.setState({isShow:!1})}),100)}}static getDerivedStateFromProps(e,t){return void 0===t.isShow?void 0!==e.showAtLoad?{isShow:e.showAtLoad}:{isShow:!1}:{}}componentWillUnmount(){document&&"undefined"!=typeof document&&document.removeEventListener("mousedown",this.handleClickOutside),clearTimeout(this.timeout)}render(){var{children:e,title:t,position:n="bottom",backgroundColor:a,showPointer:i=!0,titleColor:o,noWrap:r,textStyle:c,viewStyle:l}=this.props,{isShow:d}=this.state;return(0,x.jsx)(g.A,{children:u=>(0,x.jsxs)(R,{$isShow:d,ref:this.tooltipWrapperRef,children:[(0,x.jsx)(s.A,{cursor:"pointer",onMouseOver:this.openTooltip,onMouseLeave:this.closeTooltip,children:e}),d&&(0,x.jsx)(w,b()({padding:[4,8],maxWidth:r?void 0:"300px",$isShow:d,$tooltipPosition:n,backgroundColor:a,$showPointer:i},l,{children:"string"==typeof t?(0,x.jsx)(h.A,b()({color:o||u.tooltip.title||"white",whiteSpace:r?"nowrap":void 0},c,{children:t})):t}))]})})}}const E=O;var S=n("f2fc75478663f1a49538"),j=n("d0ed015358e51d95ca9c"),L=n("fba30acf371e30c980ab"),U=n("b0c70e1a33943c467e58"),I=n("71310b22b7d4d660636f"),D=n("f547977bbf46a12bed87"),M=n("2958114fdaad8eefd6db"),P=n("b36dd10eceececbf25c0"),$=n("634b46640514de127022"),F=n("0b3c9c2425ed10d1b246"),q=n("428f934fe00e7b629e61"),V=n("4181f7cb9ac8274a8700"),H=n("2764bf7d9f6cd9b4ff18"),K=n("b7359c99c0e32a549fcb"),z=n("655cf2f414d113fd256d"),B=n("b8d0ee998ea68c6abe46"),W=n("57c5e1d205929927adfe"),Y=n("fe5e811fa0a3527ab570"),G=n("5f45d096868bdb43893a"),Q=n("1a1d590671d19b837efc");const J=e=>{let{setOverlay:t,popoverContentRef:n,moreButtonRef:a,handleMouseLeaveFromMoreButton:r}=e;const l=(0,c.zy)(),d=(0,K.WH)(),{channelConfig:u}=i.useContext(z.K),f=(0,o.DP)(),{data:m,loading:p}=(0,V.I)(H.A.query,{ssr:!1,variables:{userAliasID:""}}),b=i.useMemo((()=>m&&m.FindChannelsOrderByUserAliasID?m.FindChannelsOrderByUserAliasID.map(((e,t)=>{const n=`/channel/${e.slug}`;return{id:e.id,key:e.slug,onClick:()=>{d({eventName:B.f7.CLICK_CHANNEL,menuName:e.name.toLowerCase(),objectPosition:t+1,totalPosition:b.length+1,card:B.sl.HEADER,additionalInfo:e.id})},to:n,name:e.name}})):[]),[m,d]),h=i.useCallback((()=>{d({eventName:B.f7.VIEW_POPOVER,objectPosition:b.length+1,totalPosition:b.length+1,card:B.sl.POPOVER_NAVBAR});const e=n?.current;e&&(e.style.display="block"),t({showOverlay:!0,overlayMarginTop:"90px"})}),[d,n,t,b.length]),g=i.useMemo((()=>[...p?Array.from(Array(10).keys()).map((e=>(0,x.jsx)(W.A,{to:"/",placeholder:!0,$active:!1,padding:"0 8px",children:"Loading"},e))):b.map(((e,t)=>{const n=l?.pathname===e.to;return(0,x.jsx)(Y.A,{as:"li",eventName:B.f7.SCROLL_VIEW_MENU,cardType:B.sl.NAVBAR,context:{menu_name:e.name.toLowerCase(),object_position:t+1,total_menu:b.length+1,additional_info:e.id},width:"fit-content",children:(0,x.jsx)(W.A,{$active:n,onClick:e.onClick,to:e.to,padding:"0 8px",children:e.name})},e.key)})),(0,x.jsx)("div",{ref:a,children:(0,x.jsx)(W.A,{as:"div",style:{cursor:"pointer"},padding:"0 8px",placeholder:p,onClick:h,onMouseEnter:h,onMouseLeave:r,addOn:{position:"right",content:e=>(0,x.jsx)(s.A,{opacity:.6,children:(0,x.jsx)(q.A,{name:"more-vertical",size:"x-small",tintColor:e?.color||"primary"})})},children:"Lainnya"})},"other")]),[p,l.pathname,b,a,h,r,f.common.component.text]);return(0,x.jsx)(s.A,{as:"nav",qaTag:"main-menu","aria-label":"headermain menu",flexJustifyContent:"center",flexAlignItems:"center",width:"100%",padding:[0,12],style:u?.colors?.primary?{backgroundColor:u?.colors?.primary}:void 0,children:(0,x.jsx)(G.B,{width:Q.UE,flexJustifyContent:"space-between",children:g})})};var Z=n("e736f03a98981fbcb5a9"),X=n("4a7c23c4a93e10580c47"),ee=n("b507e294b2fe7081df27"),te=n("c98c01de6a54a0cba3e2");const ne=[Object.entries({"Tentang Kami":"https://showcase.kumparan.com/about-us","Pedoman Media Siber":"https://showcase.kumparan.com/pedoman-media-siber","Ketentuan & Kebijakan Privasi":te.i.TERMS_AND_CON
1DITION,"Panduan Komunitas":"https://showcase.kumparan.com/panduan-komunitas","Peringkat Penulis":Q.nI,"Cara Menulis di kumparan":Q.iY,"Informasi Kerja Sama":Q.Vm,Bantuan:"https://showcase.kumparan.com/bantuan",Iklan:"https://showcase.kumparan.com/collaboration",Karir:"https://kumparan.darwinbox.com/ms/candidatev2/main/careers/home"}),Object.entries({Instagram:"https://www.instagram.com/kumparancom/",Facebook:"https://www.facebook.com/kumparancom/",Tiktok:"https://www.tiktok.com/@kumparan",Youtube:"https://www.youtube.com/channel/UCm2Fz7aL464TC_0uG_yagng",Whatsapp:"https://www.whatsapp.com/channel/0029VaG5fW9EquiTFt1ZjN1r",X:"https://x.com/kumparan"})],ae=(new Date).getFullYear(),ie=e=>{const t=(0,o.DP)(),{tracking:n,onMenuItemClick:a}=e,{getUrl:r}=(0,j.Ee)(),l=i.useCallback((e=>{let{eventName:t,menuName:i,cardName:o}=e;return()=>{a&&a(),n&&n.trackEvent({name:t,context:{menu_name:i,...o?{card_name:o}:{},object_position:12,total_position:12}})}}),[n,a]),d=i.useMemo((()=>[{label:"Breaking News",path:te.i.BREAKING_NEWS,logo:r(`assets/logos/breaking-news-category-v2-${"dark"===t.type?"white":"color"}.png`),hideLabel:!0},{label:"Video Story",path:(0,c.tW)(te.i.VIDEO,{tab:""}),logo:r("assets/logos/category-video.png")},{label:"Galeri Foto",path:(0,c.tW)(te.i.TOPIC_DETAIL,{slug:"galeri-foto"}),logo:r("assets/logos/category-picture.png")},{label:"Kabar Daerah",path:te.i.KABAR_DAERAH,logo:r("assets/logos/category-kabar-daerah.png")},{label:"Polling",path:(0,c.tW)(te.i.TOPIC_DETAIL,{slug:"polling-kumparan"}),logo:r("assets/logos/category-polling.png")},{label:"Zodiak",path:(0,c.tW)(te.i.TOPIC_DETAIL,{slug:"zodiak"}),logo:r("assets/logos/category-zodiac.png")}]),[r,t.type]);return(0,x.jsxs)(s.A,{flexDirection:"row","aria-label":"popover menu",backgroundColorScheme:"primary",width:"1024px",margin:[0,"auto"],padding:[32,20,60],children:[(0,x.jsx)(s.A,{flex:1,as:"nav",marginRight:60,children:(0,x.jsx)(G.B,{style:{display:"grid",gridTemplateColumns:"98px 98px 98px"},children:d.map((e=>(0,x.jsx)(G.L,{children:(0,x.jsx)(X.A,{label:e.label,path:e.path,logo:e.logo,hideLabel:e.hideLabel,onClick:l({eventName:B.f7.CLICK_CATEGORY,menuName:e.label.toLowerCase(),cardName:B.dU.CATEGORY})})},e.label)))})}),ne.map(((e,t)=>(0,x.jsx)(s.A,{as:"nav",flex:1,flexDirection:"column",flexAlignSelf:"flex-start",children:(0,x.jsx)(G.B,{flexDirection:"column",children:e.map((e=>{let[t,n]=e;return(0,x.jsx)(G.L,{children:(0,x.jsx)(Z.A,{to:n,onClick:l({eventName:B.f7.CLICK_POPOVER_MENU,menuName:t.toLowerCase()}),children:(0,x.jsx)(h.A,{size:"micro",children:t})})},t)}))})},t.toString()))),(0,x.jsxs)(s.A,{as:"footer","aria-label":"footer",flexDirection:"column",flex:1,children:[(0,x.jsx)(h.A,{as:"small",size:"micro",colorScheme:"secondary","aria-label":"copyright",style:{marginBottom:10},children:`${ae} © PT Dynamo Media Network`}),(0,x.jsx)(h.A,{as:"small",qaTag:"app-version",size:"micro",colorScheme:"secondary","aria-label":`App Version ${ee.A.appVersion}`,children:`Version ${ee.A.appVersion}`})]})]})},oe=(0,U.A)({card:B.sl.POPOVER_NAVBAR})(i.memo(ie));var re=n("5ce911b8628777ed96f7"),se=n("8081a71de78a2e9ed7e2"),ce=n("35e0d42739db2e0198be"),le=n("8d07f5b83b44c2a2e7d2"),de=n("4164c86128581d2bd7f5"),ue=n("df940377195535a3ef74");const fe=(0,o.Ay)(s.A).withConfig({componentId:"sc-mg7twj-0"})(["min-height:100px;max-height:","px;overflow:visible;display:none;position:absolute;z-index:999;width:",";top:85px;left:0px;overflow-y:auto;overflow-x:hidden;"],450,"100%"),me=e=>{const t=(0,a.c)(28),{children:n,setOverlay:o}=e,{loading:r,menus:s,runningNews:c,story:l,isDetailStoryPage:d}=(0,se.A)(),u=i.useRef(null),f=i.useRef(null);let m;t[0]!==o?(m=()=>{const e=u?.current;e.style.display="none",o({showOverlay:!1,overlayMarginTop:"90px"})},t[0]=o,t[1]=m):m=t[1];const p=m;let b;t[2]!==p?(b=e=>{e.stopPropagation();const t=f?.current;(e.relatedTarget instanceof Element&&t&&!t.contains(e.relatedTarget)||!t.contains(e.relatedTarget.offsetParent))&&p()},t[2]=p,t[3]=b):b=t[3];const h=b;let g;t[4]!==p?(g=e=>{e.stopPropagation();const t=u?.current;e.relatedTarget instanceof Element&&t&&!t.contains(e.relatedTarget)&&p()},t[4]=p,t[5]=g):g=t[5];const v=g,k=s&&s.length;let y,C,A,N,T,_;return t[6]!==v||t[7]!==o?(y=(0,x.jsx)(J,{moreButtonRef:f,setOverlay:o,popoverContentRef:u,handleMouseLeaveFromMoreButton:v}),t[6]=v,t[7]=o,t[8]=y):y=t[8],t[9]!==d||t[10]!==c?.id||t[11]!==c?.isPinned||t[12]!==s||t[13]!==r||t[14]!==k||t[15]!==l?(C=r?null:k?(0,x.jsx)(le.A,{card:B.sl.SUB_NAVBAR,context:{pin_collection:c?.isPinned?"yes":"no",source:d?l?.id:c?.id,...d&&l?.id?{story_id:l.id,story_type:(0,de.W0)(l),additional_info:c?.id}:{}},children:(0,x.jsx)(ce.A,{menus:s})}):(0,x.jsx)(re.A,{}),t[9]=d,t[10]=c?.id,t[11]=c?.isPinned,t[12]=s,t[13]=r,t[14]=k,t[15]=l,t[16]=C):C=t[16],t[17]===Symbol.for("react.memo_cache_sentinel")?(A=(0,x.jsx)(ue.A,{}),t[17]=A):A=t[17],t[18]!==p?(N=(0,x.jsx)(oe,{onMenuItemClick:p}
1),t[18]=p,t[19]=N):N=t[19],t[20]!==h||t[21]!==N?(T=(0,x.jsx)(fe,{ref:u,qaTag:"more-popover-menu",backgroundColorScheme:"primary",onMouseLeave:h,children:N}),t[20]=h,t[21]=N,t[22]=T):T=t[22],t[23]!==n||t[24]!==y||t[25]!==C||t[26]!==T?(_=(0,x.jsxs)(x.Fragment,{children:[y,C,A,n,T]}),t[23]=n,t[24]=y,t[25]=C,t[26]=T,t[27]=_):_=t[27],_};var pe=n("d3a38eacfe1cd810fcb5"),be=n("d92f2c125e9dc74d2325"),he=n("3fc2fa1ee2a9340cebf9"),ge=n("3eb5d0f2405221bea920");const xe=e=>{const t=(0,a.c)(11),{themeState:n,setThemeState:o}=i.useContext(ge.D),r=(0,L.A)();let s;t[0]!==o||t[1]!==n||t[2]!==r?(s=()=>{let e,t;"light"===n?(e=B.f7.CLICK_TURN_ON_DARK_MODE,t=B.MY.DARK_MODE,o("dark")):(e=B.f7.CLICK_TURN_OFF_DARK_MODE,t=B.MY.LIGHT_MODE,o("light")),r.trackEvent({name:e,context:{menu_name:t.toLowerCase()}})},t[0]=o,t[1]=n,t[2]=r,t[3]=s):s=t[3];const c=s,l="dark"===n?"Mode Terang":"Mode Gelap",d="dark"===n?"sun":"moon";let u,f;return t[4]!==c||t[5]!==e.qaTag||t[6]!==d?(u=(0,x.jsx)(m.A,{qaTag:e.qaTag,icon:d,noPadding:!0,iconColor:"secondary",variant:"text",onClick:c}),t[4]=c,t[5]=e.qaTag,t[6]=d,t[7]=u):u=t[7],t[8]!==l||t[9]!==u?(f=(0,x.jsx)(E,{title:l,position:"bottom",children:u}),t[8]=l,t[9]=u,t[10]=f):f=t[10],f};var ve=n("1eba9946e9246c62d311"),ke=n("ea11a6f3602d91f2ce66"),ye=n("3ad1a6422baf33768ecd");const Ce=o.Ay.div.withConfig({componentId:"sc-1qeynwo-0"})(["z-index:888;transition:opacity 0.1s;position:fixed;top:0;right:0;bottom:0;left:0;background:",";opacity:0.8;margin-top:",";"],(e=>u.T[e.theme.modal.overlay]),(e=>e.$marginTop)),Ae=e=>{const t=(0,a.c)(27),{user:n,currentUserLoading:o,refetchCurrentUser:r,tracking:c}=e,{t:l}=i.useMemo((()=>({t:null})),[]);let d;t[0]!==c||t[1]!==n?(d=()=>{n&&c&&c.trackEvent({name:B.f7.CLICK_PROFILE,context:{profile_type:n.__typename.toLowerCase(),profile_id:n.id}})},t[0]=c,t[1]=n,t[2]=d):d=t[2];const u=d;let p;t[3]!==c||t[4]!==n?(p=()=>{n&&c&&c.trackEvent({name:B.f7.CLICK_EDIT_PROFILE,context:{profile_type:n.__typename.toLowerCase(),profile_id:n.id}})},t[3]=c,t[4]=n,t[5]=p):p=t[5];const b=p;let h;t[6]!==c?(h=()=>{c&&c.trackEvent({name:B.f7.CLICK_MENU,context:{menu_name:B.MY.MENU_PROFILE_SETTINGS}})},t[6]=c,t[7]=h):h=t[7];const g=h;let v;t[8]!==c?(v=()=>{F.A.requireLogin(),c&&c.trackEvent({name:B.f7.CLICK_LOGIN,context:{menu_name:B.MY.LOGIN}})},t[8]=c,t[9]=v):v=t[9];const k=v;if(n&&r){const e=n?.profilePictureMedia?.externalURL?void 0:n.name,a=n?.profilePictureMedia?.externalURL||void 0,i=`${n?.profilePictureMedia?.externalURL?"user-profile":n.name}-avatar`;let o,c;return t[10]!==e||t[11]!==a||t[12]!==i?(o=(0,x.jsx)(f.A,{qaTag:"hd-pic-user",size:"mini",name:e,src:a,alt:i}),t[10]=e,t[11]=a,t[12]=i,t[13]=o):o=t[13],t[14]!==b||t[15]!==g||t[16]!==u||t[17]!==r||t[18]!==o||t[19]!==n?(c=(0,x.jsx)(s.A,{position:"relative",paddingRight:24,children:(0,x.jsx)(D.A,{user:n,refetchCurrentUser:r,profileOnClick:u,editProfileOnClick:b,popoverChildrenClick:g,children:o})}),t[14]=b,t[15]=g,t[16]=u,t[17]=r,t[18]=o,t[19]=n,t[20]=c):c=t[20],c}let y,C;return t[21]!==l?(y="Masuk",t[21]=l,t[22]=y):y=t[22],t[23]!==o||t[24]!==k||t[25]!==y?(C=(0,x.jsx)(m.A,{qaTag:"hd-login",variant:"primary",size:"x-small",disabled:o,onClick:k,children:y}),t[23]=o,t[24]=k,t[25]=y,t[26]=C):C=t[26],C},Ne=i.memo((e=>{const t=(0,a.c)(3),{user:n,tracking:i}=e;let o;return t[0]!==i||t[1]!==n?(o=(0,x.jsx)(M.default,{children:e=>{const{allUnreadNotificationCount:t,notificationCountUpdater:a,loading:o}=e;return(0,x.jsxs)(s.A,{flexDirection:"row",children:[(0,x.jsx)(E,{title:"Notifikasi",position:"bottom",children:(0,x.jsx)(m.A,{to:"/notifications",qaTag:"hd-notification",icon:"notification",iconColor:"secondary",noPadding:!0,disabled:o,variant:"text",onClick:()=>{i&&i.trackEvent({name:B.f7.CLICK_NOTIFICATION,context:{menu_name:B.MY.NOTIFICATION,badge_number:t?t.all:0}}),a(ke.deZ.STORY),n||F.A.requireLogin({ref:{route:te.i.NOTIFICATIONS_ROOT}})}})}),t&&t.all>0&&(0,x.jsx)(s.A,{position:"absolute",margin:[-8,0,0,20],children:(0,x.jsx)(S.A,{backgroundColor:"red",size:"xs",text:t.all>99?"99+":0!==t.all?`${t.all}`:void 0})})]})}}),t[0]=i,t[1]=n,t[2]=o):o=t[2],o})),Te=i.memo((e=>{const t=(0,a.c)(8),{user:n,tracking:o}=e,{t:r}=i.useMemo((()=>({t:null})),[]),c=i.useContext($.Ay);let l;t[0]!==c||t[1]!==o||t[2]!==n?(l=()=>{n?c.toggle():F.A.requireLogin({ref:{action:{actionName:"CREATE_STORY",variables:{hasFailedCreateStory:!0}}}}),o&&o.trackEvent({name:B.f7.CLICK_CREATE_STORY,context:{menu_name:B.MY.STORY_EDITOR}})},t[0]=c,t[1]=o,t[2]=n,t[3]=l):l=t[3];const d=l;let u,f;return t[4]===Symbol.for("react.memo_cache_sentinel")?(u=[te.i.EDITOR],t[4]=u):u=t[4],t[5]!==d||t[6]!==r?(f=(0,x.jsx)(I.Rt,{paths:u,children:e=>e?(0,x.jsx)(x.Fragment,{}):(0,x.jsx)(s.A,{paddingLeft:8,children:(0,x.jsx)(m.A,{qaTag:"create-story",variant:"primary",size:"x-small",onClick:d,children:"Buat Tulisan"})})}),t[5]=d,t[6]=r,t[7]=f):f=t[7],f})),_e=e=>{const t=(0,a.c)(29),n=(0,L.A)(),r=(0,c.zy)();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l={showOverlay:!1,overlayMarginTop:""},t[0]=l):l=t[0];const[d,u]=i.useState(l),{showOverlay:f,overlayMarginTop:p}=d,b=(0,be.u5)(),h=i.useContext(j.wb),g=i.useContext($.Ay),v=(0,o.DP)(),{getLogo:k,getLink:y}
1=i.useContext(pe.L),[C,A]=i.useState(""),{isKumparanPlus:N}=(0,ve.A)();let T;t[1]!==k||t[2]!==N||t[3]!==v.type||t[4]!==h?(T=k(v.type,N,h),t[1]=k,t[2]=N,t[3]=v.type,t[4]=h,t[5]=T):T=t[5];const _=T;let R;t[6]!==y||t[7]!==N?(R=y(N),t[6]=y,t[7]=N,t[8]=R):R=t[8];const w=R;let O,S,U;t[9]!==g||t[10]!==r||t[11]!==C?(O=()=>{if("/editor"===r.pathname)e:switch(C){case"createStory":g.toggle();break e;case"login":F.A.requireLogin()}},S=[C,r,g],t[9]=g,t[10]=r,t[11]=C,t[12]=O,t[13]=S):(O=t[12],S=t[13]),i.useEffect(O,S),t[14]!==n?(U=()=>{n&&n.trackEvent({name:B.f7.CLICK_LOGO})},t[14]=n,t[15]=U):U=t[15];const I=U;let D;t[16]!==n?(D=()=>{n&&n.trackEvent({name:B.f7.CLICK_HOME,card:B.sl.HEADER,context:{menu_name:B.MY.HOME}})},t[16]=n,t[17]=D):D=t[17];const M=D;let q,V;return t[18]===Symbol.for("react.memo_cache_sentinel")?(q=e=>{e.FindCurrentUser?A("createStory"):A("login")},t[18]=q):q=t[18],t[19]!==I||t[20]!==M||t[21]!==w||t[22]!==_||t[23]!==p||t[24]!==e.showNavigation||t[25]!==b?.header||t[26]!==f||t[27]!==n?(V=(0,x.jsx)(P.A,{onCompleted:q,query:P.A.query,errorPolicy:"ignore",children:t=>{const{data:a,loading:i,refetch:o}=t,r=a&&a.FindCurrentUser||null;return(0,x.jsxs)(s.A,{top:0,right:0,left:0,zIndex:1112,position:"fixed",as:"header",width:"100%",ref:b?.header,qaTag:"header-section",flexDirection:"column",backgroundColorScheme:"primary",flexAlignItems:"center",flexJustifyContent:"center",borderBottomWidth:1,children:[(0,x.jsx)(ye.A,{qaTag:"hd-logo",to:w,variant:"desktop",logo:_,handler:I,centerContent:(0,x.jsx)(he.A,{setOverlay:u}),rightContent:(0,x.jsx)(s.A,{as:"nav",flex:1,flexJustifyContent:"flex-end",flexAlignItems:"center",flexDirection:"row","aria-label":"user menu",children:(0,x.jsxs)(G.B,{flexDirection:"row",children:[(0,x.jsx)(G.L,{marginRight:32,children:(0,x.jsx)(E,{title:"Beranda",position:"bottom",children:(0,x.jsx)(m.A,{to:"/",qaTag:"hd-home",icon:"home",iconColor:"secondary",noPadding:!0,variant:"text",onClick:M})})}),(0,x.jsx)(G.L,{marginRight:32,children:(0,x.jsx)(xe,{qaTag:"hd-theme"})}),(0,x.jsx)(G.L,{marginRight:32,children:(0,x.jsx)(Ne,{user:r,tracking:n})}),(0,x.jsx)(G.L,{children:(0,x.jsx)(Ae,{user:r,refetchCurrentUser:o,tracking:n,currentUserLoading:i})}),(0,x.jsx)(G.L,{children:(0,x.jsx)(Te,{user:r,tracking:n})})]})})}),e.showNavigation&&(0,x.jsx)(me,{setOverlay:u,children:f?(0,x.jsx)(Ce,{$marginTop:p}):void 0})]})}}),t[19]=I,t[20]=M,t[21]=w,t[22]=_,t[23]=p,t[24]=e.showNavigation,t[25]=b?.header,t[26]=f,t[27]=n,t[28]=V):V=t[28],V},Re=(0,U.A)({card:B.sl.HEADER})(i.memo(_e));var we=n("8a0ed4342090d7626ea6"),Oe=n("bea6eb36743957412551"),Ee=n("84818c69c50c8161b255"),Se=n("1cf1d83997111371830b"),je=n("d4fc55c37adbf8528666"),Le=n("f7b12b9aa68c9dd27eb5"),Ue=n("621dde463fc58224a5a9"),Ie=n("7d8b54e20c88e099a77c"),De=n("115c2773c4258b295e8c"),Me=n("f524fb02d4baab46d7e5");const Pe=e=>{const t=(0,a.c)(13);i.useContext(z.K);const n=(0,o.DP)(),{pageTheming:u}=i.useContext(ge.D);let f;(0,c.zy)(),t[0]===Symbol.for("react.memo_cache_sentinel")?(f=[te.i.SNAP],t[0]=f):f=t[0];const m=(0,De.tU)(f),p=(0,De.tU)(Ie.A),{show:b}=i.useContext(Oe.nu),h=(0,be.u5)(),g=h?.header;let v;t[1]!==g?(v={targetRef:g,refreshMode:"debounce",refreshRate:0},t[1]=g,t[2]=v):v=t[2];const{height:k}=(0,l.A)(v);let y;y=k&&k>124?k:b?124:56;const C=y;let A,N;return t[3]===Symbol.for("react.memo_cache_sentinel")?(A=[te.i.EDITOR],t[3]=A):A=t[3],t[4]!==k||t[5]!==C||t[6]!==p||t[7]!==m||t[8]!==u||t[9]!==e.children||t[10]!==b||t[11]!==n?(N=(0,x.jsx)(I.Rt,{paths:A,children:t=>(0,x.jsx)(d.Ay,{top:`${k}px`,children:a=>(0,x.jsx)(Me.Ay,{children:(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(we.A,{}),(0,x.jsx)(r.mg,{title:ee.A.app.title}),(0,x.jsx)(Ee.A,{}),(0,x.jsx)(Le.A,{}),(0,x.jsx)(Se.A,{}),!t&&!p&&!m&&(0,x.jsx)(Re,{showNavigation:b}),p&&(0,x.jsx)(Ue.A,{}),a,(0,x.jsx)(I.Rt,{paths:[...je.b,...Ie.A,te.i.HOMEPAGE,te.i.KUMPLUS_DETAIL,te.i.MY_CONTENT,te.i.SEARCH_ROOT,te.i.SEARCH_RESULT,te.i.CHANNEL,te.i.CHANNEL_VIDEO,te.i.VIDEO,te.i.AUDIO_STORY_DETAIL_PAGE],children:a=>{let i;return i=t?{backgroundColor:n.editor.background,marginTop:0}:a?{style:{background:u.backgroundColor,marginTop:C-5}}:p?{style:{background:u.backgroundColor,marginTop:0}}:m?{style:{background:u.backgroundColor,marginTop:0},minHeight:"100vh"}:{maxWidth:1024,padding:[40,20,20,20],margin:[0,"auto"],style:{background:u.backgroundColor,marginTop:C-5},paddingBottom:10},(0,x.jsx)(s.A,{as:"main",minHeight:`calc(100vh - ${C}px)`,...i,qaTag:"main-section",children:e.children})}})]})})})}),t[4]=k,t[5]=C,t[6]=p,t[7]=m,t[8]=u,t[9]=e.children,t[10]=b,t[11]=n,t[12]=N):N=t[12],N}},bfff0e739a12e3c1cbba:(e,t,n)=>{var a=n("56a231a69ee6036c531c");e.exports=function(e,t){if(null==e)return{};var n,i,o=a(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports}
1,def236bd11e7b3df0638:(e,t,n)=>{var a=n("9d7e7efc514116064b6f").default;e.exports=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},f44c347091b42c843047:(e,t,n)=>{var a=n("f7d87f63cbade52e22fb");e.exports=function(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},f7d87f63cbade52e22fb:(e,t,n)=>{var a=n("9d7e7efc514116064b6f").default,i=n("def236bd11e7b3df0638");e.exports=function(e){var t=i(e,"string");return"symbol"==a(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports}}]);

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.