PageSourceSearch

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

js kumparan.com collected 2026-09-24 08:54:41 UTC 28,375 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["default-src_app_Video_components_HorizontalVideoListView_tsx"],{"2bdb9672e2eef60edbd5":(e,n,a)=>{a.r(n),a.d(n,{default:()=>O});var t=a("d518909bf6561866660f"),i=a("f29b77cd1c7382d8894a"),r=a("b5040a162a4a4dde67e6"),o=a("ed9b60f89fa3151e5777"),d=a("aab7660251ee0163f01e"),l=a("fba30acf371e30c980ab"),s=a("e1548a2235452750dfbd"),c=a("b0c70e1a33943c467e58"),u=a("428f934fe00e7b629e61"),m=a("b75869fa0ee55381231c"),_=a("e736f03a98981fbcb5a9"),p=a("fe5e811fa0a3527ab570"),b=a("c98c01de6a54a0cba3e2"),f=a("b8d0ee998ea68c6abe46"),k=a("bb5aff9364e47ba361f7"),v=a("a1ca5acfbf0478960314");const y=e=>{const n={card_position:e.cardPosition+1,object_position:e.index+1,card_name:f.dU.VIDEO_STORY};return e.activeTopicName&&(n.tab=e.activeTopicName),n},h=(0,c.A)((e=>({context:y(e)||{}})))((e=>{const n=(0,t.c)(11);let a,i,r,o,l;return n[0]!==e.channelSlug?(a=e.channelSlug?(0,k.tW)(b.i.CHANNEL_VIDEO,{slug:e.channelSlug}):(0,k.tW)(b.i.VIDEO,{tab:""}),n[0]=e.channelSlug,n[1]=a):a=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,v.jsx)(u.A,{name:"news-card-video-v2",size:"large"}),n[2]=i):i=n[2],n[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,v.jsx)(d.A,{marginTop:16,children:(0,v.jsx)(m.A,{color:"white",size:"small",children:"Lihat Video Lainnya"})}),n[3]=r):r=n[3],n[4]!==e.height||n[5]!==e.width?(o=(0,v.jsxs)(d.A,{backgroundColor:"black",width:e.width,height:e.height,bordered:!0,display:"flex",flexJustifyContent:"center",flexAlignItems:"center",flexDirection:"column",children:[i,r]}),n[4]=e.height,n[5]=e.width,n[6]=o):o=n[6],n[7]!==e.onClick||n[8]!==a||n[9]!==o?(l=(0,v.jsx)(p.A,{eventName:f.f7.SCROLL_VIEW_LOAD_MORE,cardType:f.sl.VIDEO_STORY_CARD,children:(0,v.jsx)(_.A,{to:a,onClick:e.onClick,children:o})}),n[7]=e.onClick,n[8]=a,n[9]=o,n[10]=l):l=n[10],l}));var g=a("804fb1919e45878352c0"),S=a("dff83f4a40c69631e033"),C=a("525baf55a285a81c829d"),N=a("ac5b10de9b087b1d7de0");const T=(0,r.Ay)(o.A).withConfig({componentId:"sc-1l8j8xg-0"})(["",""],(e=>e.$isDetailStory?(0,r.AH)(["div:nth-child(3){left:5px;}div:nth-child(4){right:5px;}"]):"")),V=new Set(["SHOW BASED ON SLIDE","HIDE OVERFLOW","CONTROL OVER CONTAINER"]),A=Array.from(Array(10)),D=e=>{const n=(0,t.c)(76),{title:a,cardPosition:r,hideSeeMoreButton:o,headerLineColor:c}=e,u=i.useContext(g.ob),m=(0,l.A)(),_=u?200:150,p=!e.channelSlug;let y,D;n[0]!==e.excludeLongDurationVideo||n[1]!==p?(y={includePinned:p,excludeLongDurationVideo:e.excludeLongDurationVideo},n[0]=e.excludeLongDurationVideo,n[1]=p,n[2]=y):y=n[2],n[3]!==e.channelSlug||n[4]!==e.topicSlug||n[5]!==y?(D={variables:{size:10,topicSlug:e.topicSlug,channelSlug:e.channelSlug,filters:y},notifyOnNetworkStatusChange:!0,ssr:!1},n[3]=e.channelSlug,n[4]=e.topicSlug,n[5]=y,n[6]=D):D=n[6];const{feed:O,feedCursorInfo:x,feedLoading:F,onFetchMore:I}=(0,N.A)(D),E=x?.nextCursor||"",L=!!x?.hasMore;let w;if(u){let e;n[7]===Symbol.for("react.memo_cache_sentinel")?(e=new Set(V).add("SHOW CONTROL"),n[7]=e):e=n[7],w=e}else w=V;const R=w;let $;n[8]!==O?($=O?.slice(0,10)||[],n[8]=O,n[9]=$):$=n[9];const M=$;let z;n[10]!==m?(z=()=>{m.trackEvent({name:f.f7.CLICK_LOAD_MORE,card:f.sl.CARD_HEADER,context:{card_name:f.dU.VIDEO_STORY}})},n[10]=m,n[11]=z):z=n[11];const P=z;let j;n[12]!==m?(j=()=>{m.trackEvent({name:f.f7.CLICK_LOAD_MORE,card:f.sl.VIDEO_STORY_CARD,context:{card_name:f.dU.VIDEO_STORY}})},n[12]=m,n[13]=j):j=n[13];const q=j;let H;n[14]!==F||n[15]!==L||n[16]!==E||n[17]!==I||n[18]!==m?(H=()=>{!F&&L&&E&&(m&&m.trackEvent({name:f.f7.AUTO_LOAD_MORE}),I())},n[14]=F,n[15]=L,n[16]=E,n[17]=I,n[18]=m,n[19]=H):H=n[19];const B=H;let Y;n[20]!==O||n[21]!==B?(Y={stories:O,onLoadMoreVideoHandler:B},n[20]=O,n[21]=B,n[22]=Y):Y=n[22];const{handleOpen:U,renderVideoStoryCarouselModal:W}=(0,S.A)(Y);let Q;if(n[23]!==r||n[24]!==_||n[25]!==F||n[26]!==U||n[27]!==o||n[28]!==q||n[29]!==e.channelSlug||n[30]!==e.titleColor||n[31]!==M){if(Q=F||0===M.length?A.map(((e,n)=>(0,v.jsx)(s.A,{type:"PLACEHOLDER",width:_},n))):M.slice(0,10).map(((n,a)=>(0,v.jsx)(s.A,{type:"VIDEO_CARD",cardPosition:r,index:a,story:n,width:_,handleClick:()=>U(a),textColor:e.titleColor,hidePinIcon:!!e.channelSlug},n.id))),!o&&M.length&&!F){const a=1.778*_,t=r||0;let i;n[33]!==_||n[34]!==q||n[35]!==e.channelSlug||n[36]!==t||n[37]!==a||n[38]!==M.length?(i=(0,v.jsx)(h,{width:_,height:a,cardPosition:t,index:M.length,onClick:q,channelSlug:e.channelSlug},"video-load-more"),n[33]=_,n[34]=q,n[35]=e.channelSlug,n[36]=t,n[37]=a,n[38]=M.length,n[39]=i):i=n[39],Q.push(i)}n[23]=r,n[24]=_,n[25]=F,n[26]=U,n[27]=o,n[28]=q,n[29]=e.channelSlug,n[30]=e.titleColor,n[31]=M,n[32]=Q}else Q=n[32];const G=Q;if(e.isDetailTopic&&(0===M?.length||M?.length<5))return null;let K,J,X;n[40]!==e.appearance?.sectionStyle?(K=e.appearance?.sectionStyle||{},n[40]=e.appearance?.sectionStyle,n[41]=K):K=n[41],n[42]!==o||n[43]!==e.channelSlug?(J=o?void 0:e.channelSlug?(0,k.tW)(b.i.CHANNEL_VIDEO,{slug:e.channelSlug}):(0,k.tW)(b.i.VIDEO,{tab:""}),n[42]=o,n[43]=e.channelSlug,n[44]=J):J=n[44],n[45]!==J||n[46]!==a?(X={to:J,title:a},n[45]=J,n[46]=a,n[47]=X):X=n[47];const Z=u?e.titleColor:void 0;let ee;n[48]!==c||n[49]!==Z?(ee={line:c,title:Z},n[48]=c,n[49]=Z,n[50]=ee):ee=n[50];const ne=e.appearance?.removeTitlePaddingX;
1let ae,te,ie;n[51]!==ee||n[52]!==ne?(ae={hideHeaderSeparator:!0,hexColor:ee,removeTitlePaddingX:ne},n[51]=ee,n[52]=ne,n[53]=ae):ae=n[53],n[54]!==P||n[55]!==X||n[56]!==ae?(te=(0,v.jsx)(C.A,{data:X,onClick:P,appearance:ae}),n[54]=P,n[55]=X,n[56]=ae,n[57]=te):te=n[57],n[58]===Symbol.for("react.memo_cache_sentinel")?(ie=(0,v.jsx)("div",{}),n[58]=ie):ie=n[58];const re=_+15,oe=`${_}px`,de=1.4*_,le=e.framePadding?e.framePadding:u?void 0:"8px 16px",se=u?4:3,ce=u?0:15;let ue,me,_e;return n[59]!==R||n[60]!==e.isDetailStory||n[61]!==re||n[62]!==oe||n[63]!==de||n[64]!==le||n[65]!==se||n[66]!==ce||n[67]!==G?(ue=(0,v.jsx)(T,{qaTag:"video-list",$isDetailStory:e.isDetailStory,controlType:"PRIMARY",header:ie,itemWidth:re,slideWidth:oe,itemHeight:de,framePadding:le,slideToShow:se,cellSpacing:ce,configs:R,children:G}),n[59]=R,n[60]=e.isDetailStory,n[61]=re,n[62]=oe,n[63]=de,n[64]=le,n[65]=se,n[66]=ce,n[67]=G,n[68]=ue):ue=n[68],n[69]!==W?(me=W(),n[69]=W,n[70]=me):me=n[70],n[71]!==te||n[72]!==ue||n[73]!==me||n[74]!==K?(_e=(0,v.jsxs)(d.A,{...K,width:"100%",as:"section",flexDirection:"column",children:[te,ue,me]}),n[71]=te,n[72]=ue,n[73]=me,n[74]=K,n[75]=_e):_e=n[75],_e},O=i.memo(D)},"4201f1dcbcc7857e8724":(e,n,a)=>{a.d(n,{A:()=>l});var t=a("d518909bf6561866660f"),i=a("03f253e0b7b4f4a55f45"),r=a("f29b77cd1c7382d8894a"),o=a("e6f57b1e5cd887dccea2");const d=["Googlebot","Googlebot-Image","Google-InspectionTool","DisabledVideoStoryOnboardingUserAgent"],l=()=>{const e=(0,t.c)(11);let n;if(e[0]===Symbol.for("react.memo_cache_sentinel")){const a=(new o.O).getUA();n=!!a&&d.some((e=>a.includes(e))),e[0]=n}else n=e[0];const a=n;let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l={skip:a},e[1]=l):l=e[1];const[s,c]=(0,i.A)("show-vertical-video-story-onboarding",null,l);let u,m,_;e[2]!==c||e[3]!==s?(u=()=>{null!==s||a||c(!0)},m=[a,c,s],e[2]=c,e[3]=s,e[4]=u,e[5]=m):(u=e[4],m=e[5]),r.useEffect(u,m),e[6]!==c?(_=()=>{c(!1)},e[6]=c,e[7]=_):_=e[7];const p=_,b=!!s;let f;return e[8]!==p||e[9]!==b?(f=[b,p],e[8]=p,e[9]=b,e[10]=f):f=e[10],f}},"4a97ca0fb94355aee650":(e,n,a)=>{a.d(n,{$:()=>s});var t=a("d518909bf6561866660f"),i=a("1a370ceb54eb2bfdaefd"),r=a("4181f7cb9ac8274a8700"),o=a("bdfbc20b320bfd5aaf09");const d=e=>{const n={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!n[a]&&(n[a]=!0,!0)}))};class l extends i.A{}l.defaultContext={deduplicate:!0},l.query={kind:"Document",definitions:d([{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindContentFeedByTopicSlug"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"topicSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedFilter"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursor"}},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:"size"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"10"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortType"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedSortType"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"publishedDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindContentFeedByTopicSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"topicSlug"},value:{kind:"Variable",name:{kind:"Name",value:"topicSlug"}}},{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}},{kind:"Argument",name:{kind:"Name",value:"size"},value:{kind:"Variable",name:{kind:"Name",value:"size"}}},{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:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}},{kind:"Argument",name:{kind:"Name",value:"publishedDate"},value:{kind:"Variable",name:{kind:"Name",value:"publishedDate"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentFeedCursor"},directives:[]}]}}]}}].concat(o.wJ.definitions)),loc:{start:0,end:537,source:{body:"\n    query FindContentFeedByTopicSlug(\n      $topicSlug: String!\n      $filter: ContentFeedFilter\n      $cursor: String\n      $cursorType: CursorType!\n      $size: Int = 10\n      $sortType: ContentFeedSortType\n      $publishedDate: String\n    ) {\n      FindContentFeedByTopicSlug(\n        topicSlug: $topicSlug\n        filter: $filter\n        size: $size\n        cursor: $cursor\n        cursorType: $cursorType\n        sortType: $sortType\n        publishedDate: $publishedDate\n      ) {\n        ...ContentFeedCursor\
1n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};const s=e=>{const n=(0,t.c)(2);let a;return n[0]!==e?(a={context:l.defaultContext,...e},n[0]=e,n[1]=a):a=n[1],(0,r.I)(l.query,a)}},ac5b10de9b087b1d7de0:(e,n,a)=>{a.d(n,{A:()=>s,T:()=>l});var t=a("f29b77cd1c7382d8894a"),i=a("ea11a6f3602d91f2ce66"),r=a("d7cd349d8b923352488b"),o=a("4a97ca0fb94355aee650"),d=a("eb403576c16f1b222b84");const l={persistedQuery:!0,deduplicate:!0},s=e=>{let{variables:n,notifyOnNetworkStatusChange:a,ssr:s}=e;const{topicSlug:c,channelSlug:u,filters:m,..._}=n,p=t.useRef((new Date).toISOString()),b=t.useMemo((()=>c?"topic":u?"channel":"all"),[u,c]),{data:f,loading:k,refetch:v,fetchMore:y,variables:h,error:g}=(0,r.T)({variables:{channelSlug:u||"",cursor:"1",size:_.size||10,cursorType:i.x1u.PAGE,sortType:_.sortType,filter:{includePinned:!1,...m||{},storyTypes:[i.nLo.VIDEO_STORY]}},skip:"channel"!==b,notifyOnNetworkStatusChange:a,ssr:s,context:l}),{data:S,loading:C,refetch:N,fetchMore:T,variables:V,error:A}=(0,o.$)({variables:{topicSlug:c||"",cursor:"1",size:_.size||10,cursorType:i.x1u.PAGE,sortType:_.sortType,filter:{includePinned:!0,...m||{},storyTypes:[i.nLo.VIDEO_STORY]}},skip:"topic"!==b,notifyOnNetworkStatusChange:a,ssr:s,context:l}),{data:D,loading:O,refetch:x,fetchMore:F,variables:I,error:E}=(0,d.Q)({variables:{cursor:"1",size:_.size||10,cursorType:i.x1u.PAGE,sortType:_.sortType,filters:{includePinned:!0,...m||{},storyTypes:[i.nLo.VIDEO_STORY]}},skip:"all"!==b,notifyOnNetworkStatusChange:a,ssr:s,context:l}),L=k||C||O,{feed:w,feedCursorInfo:R,feedVariables:$,feedError:M}=t.useMemo((()=>{let e=[],n=null;return"channel"===b?(e=f?.FindContentFeedByChannelSlug.edges||[],n=f?.FindContentFeedByChannelSlug.cursorInfo):"topic"===b?(e=S?.FindContentFeedByTopicSlug.edges||[],n=S?.FindContentFeedByTopicSlug.cursorInfo):"all"===b&&(e=D?.FindContentFeed.edges||[],n=D?.FindContentFeed.cursorInfo),{feed:e.map((e=>"VideoStory"===e.object.__typename?e.object:null)).filter((e=>null!==e)),feedCursorInfo:n,feedVariables:"channel"===b?h:"topic"===b?V:I,feedError:"channel"===b?g:"topic"===b?A:E}}),[D,E,I,f,g,h,b,S,A,V]),z=t.useCallback((e=>{p.current=(new Date).toISOString(),"channel"!==b?"topic"!==b?x({...I,cursor:"1"}):N({...V,cursor:"1",topicSlug:e}):v({...h,cursor:"1"})}),[I,h,b,x,v,N,V]),P=t.useCallback((e=>{if(w.length>0&&R&&R.hasMore&&R.nextCursor&&!L)switch(e?.(),b){case"channel":R?.nextCursor&&y({variables:{...h,cursor:R.nextCursor}});break;case"topic":R?.nextCursor&&T({variables:{...V,cursor:R.nextCursor}});break;case"all":R?.nextCursor&&F({variables:{...I,cursor:R.nextCursor}})}}),[w.length,R,L,b,h,V,I]);return{feed:w,feedCursorInfo:R,feedLoading:L,feedVariables:$,refetchFeed:z,onFetchMore:P,feedError:M}}},d7cd349d8b923352488b:(e,n,a)=>{a.d(n,{T:()=>s});var t=a("d518909bf6561866660f"),i=a("1a370ceb54eb2bfdaefd"),r=a("4181f7cb9ac8274a8700"),o=a("bdfbc20b320bfd5aaf09");const d=e=>{const n={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!n[a]&&(n[a]=!0,!0)}))};class l extends i.A{}l.defaultContext={deduplicate:!0},l.query={kind:"Document",definitions:d([{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindContentFeedByChannelSlug"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"channelSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filter"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedFilter"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursor"}},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:"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:"sortType"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedSortType"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindContentFeedByChannelSlug"},arguments:[{kind:"Argument",name:{kind:"Name",value:"channelSlug"},value:{kind:"Variable",name:{kind:"Name",value:"channelSlug"}}},{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"filter"}}},{kind:"Argument",name:{kind:"Name",value:"size"},value:{kind:"Variable",name:{kind:"Name",value:"size"}}},{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:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentFeedCursor"},directives:[]}]}}]}}].concat(o.wJ.definitions)),loc:{start:0,end:480,source:{body:"\n    query FindContentFeedByChannelSlug(\n      $channelSlug: String!\n      $filter: ContentFeedFilter\n      $cursor: String\n      $cursorType: CursorType!\n      $size: Int = 10\n      $sortType: ContentFeedSortType\n    ) {\n      FindContentFeedByChannelSlug(\n        channelSlug: $channelSlug\n        filter: $filter\n        size: $size\n        cursor: $cursor\n        cursorType: $cursorType\n        sortType: $sortType\n      ) {\n        ...ContentFeedCursor\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};const s=e=>{const n=(0,t.c)(2);let a;return n[0]!==e?(a={context:l.defaultContext,...e},n[0]=e,n[1]=a):a=n[1],(0,r.I)(l.query,a)}},dff83f4a40c69631e033:(e,n,a)=>{a.d(n,{A:()=>h,p:()=>y});var t=a("d518909bf6561866660f"),i=a("f29b77cd1c7382d8894a"),r=a("22b3658eb523582dd26f"),o=a("804fb1919e45878352c0"),d=a("d86a996c31a874d86765"),l=a("bb5aff9364e47ba361f7"),s=a("c98c01de6a54a0cba3e2"),c=a("4201f1dcbcc7857e8724"),u=a("60082cf4399c92435393"),m=a("ded326c9d40c08be05f5"),_=a("a1ca5acfbf0478960314");const p=(0,r.Ay)({resolved:{},chunkName:()=>"components-MobileVideoStoryCarouselView",isReady(e){const n=this.resolve(e);return!0===this.resolved[n]&&!!a.m[n]},importAsync:()=>Promise.all([a.e("@apollo"),a.e("slate"),a.e("vendors-node_modules_pnpm_date-fns_3_6_0_node_modules_date-fns_format_mjs-node_modules_pnpm_d-26cac1"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-ebc226"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-128d0b"),a.e("vendors-node_modules_pnpm_babel-runtime_6_26_0_node_modules_babel-runtime_helpers_classCallCh-8a8a95"),a.e("vendors-node_modules_pnpm_gurukumparan_utils_0_34_0_node_modules_gurukumparan_utils_esm_funct-80db72"),a.e("vendors-node_modules_pnpm_gurukumparan_slate-plugins_1_21_22__types_react-dom_19_2_3__types_r-ef17b6"),a.e("vendors-node_modules_pnpm_gurukumparan_slate-plugins_1_21_29__types_react-dom_19_2_3__types_r-097dd6"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-a96ea8"),a.e("vendors-node_modules_pnpm_gurukumparan_utils_0_34_0_node_modules_gurukumparan_utils_esm_regex-2ecdb8"),a.e("default-src_fragments_story_compactStoryFragments_ts"),a.e("default-src_app_Story_Queries_CreateLikeMutation_ts-src_app_Story_Queries_IsCurrentUserLikeOb-6d5e28"),a.e("default-src_app_Comment_CommentList_tsx"),a.e("default-src_app_Comment_AbsoluteCommentSection_tsx-src_app_Common_Semantic_ListView_tsx-src_a-73560d"),a.e("components-MobileVideoStoryCarouselView")]).then(a.bind(a,"c01be96cf6bebc1f6399")),requireAsync(e){const n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then((e=>(this.resolved[n]=!0,e)))},requireSync(e){const n=this.resolve(e);return a(n)},resolve:()=>"c01be96cf6bebc1f6399"}),b=(0,r.Ay)({resolved:{},chunkName:()=>"components-DesktopVideoStoryCarouselModal",isReady(e){const n=this.resolve(e);return!0===this.resolved[n]&&!!a.m[n]},importAsync:()=>a.e("components-DesktopVideoStoryCarouselModal").then(a.bind(a,"407e22ff9d06291e182a")),requireAsync(e){const n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then((e=>(this.resolved[n]=!0,e)))},requireSync(e){const n=this.resolve(e);return a(n)},resolve:()=>"407e22ff9d06291e182a"}),f=(0,r.Ay)({resolved:{},chunkName:()=>"components-DesktopVideoStoryCarouselView",isReady(e){const n=this.resolve(e);return!0===this.resolved[n]&&!!a.m[n]},importAsync:()=>Promise.all([a.e("@apollo"),a.e("slate"),a.e("vendors-node_modules_pnpm_date-fns_3_6_0_node_modules_date-fns_format_mjs-node_modules_pnpm_d-26cac1"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-ebc226"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-128d0b"),a.e("vendors-node_modules_pnpm_babel-runtime_6_26_0_node_modules_babel-runtime_helpers_classCallCh-8a8a95"),a.e("vendors-node_modules_pnpm_gurukumparan_utils_0_34_0_node_modules_gurukumparan_utils_esm_funct-80db72"),a.e("vendors-node_modules_pnpm_gurukumparan_slate-plugins_1_21_22__types_react-dom_19_2_3__types_r-ef17b6"),a.e("vendors-node_modules_pnpm_gurukumparan_slate-plugins_1_21_29__types_react-dom_19_2_3__types_r-097dd6"),a.e("vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-a96ea8"),a.e("vendors-node_modules_pnpm_gurukumparan_utils_0_34_0_node_modules_gurukumparan_utils_esm_regex-2ecdb8"),a.e("default-src_fragments_story_compactStoryFragments_ts"),a.e("default-src_app_Story_Queries_CreateLikeMutation_ts-src_app_Story_Queries_IsCurrentUserLikeOb-6d5e28"),a.e("default-src_app_Comment_CommentList_tsx"),a.e("default-src_app_Comment_AbsoluteCommentSection_tsx-src_app_Common_Semantic_ListView_tsx-src_a-73560d"),a.e("components-DesktopVideoStoryCarouselView")]).then(a.bind(a,"fb2193eaebd05caf3158")),requireAsync(e){const n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then((e=>(this.resolved[n]=!0,e)))},requireSync(e){const n=this.resolve(e);return a(n)},resolve:()=>"fb2193eaebd05caf3158"}),k=e=>{const{stories:n,setInitialIndex:a,onLoadMoreVideoHandler:t,showOnboarding:r,closeOnboarding:s,initialIndex:c}=e,m=i.useContext(o.ob),k=(0,l.zy)(),v=(0,u.SK)(),y=(0,l.Zp)(),h=i.useRef(!1),g=i.useCallback((e=>()=>{requestAnimationFrame((()=>
1{if(h.current)return;h.current=!0,a(null);const n=v?.getSize()||0,t=n&&n>=2?v?.stack.at(n-2)?.pathname:null;"close"===e?y(-1):"back"===e&&window.history.replaceState(null,"",t||k.pathname)})),"push"!==e&&v?.popStack()}),[k.pathname,a,v]);return i.useEffect((()=>{const e=g("back"),n=g("push");return window.addEventListener("popstate",e),window.addEventListener("pushState",n),()=>{requestAnimationFrame((()=>{window.removeEventListener("popstate",e),window.removeEventListener("pushState",n)}))}}),[g]),(0,_.jsx)(d.A,{children:m?(0,_.jsx)(f,{stories:n,initialIndex:c,onLoadMoreVideoHandler:t,onClose:g("close"),showOnboarding:r,closeOnboarding:s,carouselWrapperComponent:b}):(0,_.jsx)(p,{stories:n,initialIndex:c,onClose:g("close"),onLoadMoreVideoHandler:t,showOnboarding:r,closeOnboarding:s})})},v=e=>{const n=(0,t.c)(12),{saveScrollPosition:a}=(0,m.R)(),{stories:r,onLoadMoreVideoHandler:o}=e,[d,u]=(0,c.A)(),[p,b]=i.useState(null);let f;n[0]!==u||n[1]!==p||n[2]!==o||n[3]!==d||n[4]!==r?(f=()=>"number"==typeof p&&r?.length&&r[p]&&(0,_.jsx)(k,{stories:r,setInitialIndex:b,onLoadMoreVideoHandler:o,showOnboarding:d,closeOnboarding:u,initialIndex:p}),n[0]=u,n[1]=p,n[2]=o,n[3]=d,n[4]=r,n[5]=f):f=n[5];const v=f;let y;n[6]!==a||n[7]!==r?(y=e=>{const n=r&&r[e]?r[e]:null;n&&requestAnimationFrame((()=>{a(),b(e),window.history.pushState(null,"",(0,l.tW)(s.i.VIDEO_STORY,{author:n.publisher?n.publisher.slug:n.author.username,id:n.id}))}))},n[6]=a,n[7]=r,n[8]=y):y=n[8];const h=y;let g;return n[9]!==h||n[10]!==v?(g={renderVideoStoryCarouselModal:v,handleOpen:h},n[9]=h,n[10]=v,n[11]=g):g=n[11],g},y=e=>{const n=(0,t.c)(11);let a,i;n[0]!==e?(({children:a,...i}=e),n[0]=e,n[1]=a,n[2]=i):(a=n[1],i=n[2]);const{handleOpen:r,renderVideoStoryCarouselModal:o}=v(i);let d,l,s;return n[3]!==a||n[4]!==r?(d=a({handleOpen:r}),n[3]=a,n[4]=r,n[5]=d):d=n[5],n[6]!==o?(l=o(),n[6]=o,n[7]=l):l=n[7],n[8]!==d||n[9]!==l?(s=(0,_.jsxs)(_.Fragment,{children:[d,l]}),n[8]=d,n[9]=l,n[10]=s):s=n[10],s},h=v},e1548a2235452750dfbd:(e,n,a)=>{a.d(n,{A:()=>u});var t=a("f29b77cd1c7382d8894a"),i=a("b0c70e1a33943c467e58"),r=a("ce8745cab70428008374"),o=a("b8d0ee998ea68c6abe46"),d=a("fe5e811fa0a3527ab570"),l=a("a1ca5acfbf0478960314");const s=e=>{if("VIDEO_CARD"===e.type){const n={...e.cardPosition?{card_position:e.cardPosition+1}:{},object_position:e.index+1,card_name:o.dU.VIDEO_STORY,video_story_id:e.story.id,video_id:e.story.video.id,comment_count:e.story.statistic.commentCount,like_count:e.story.statistic.likeCount,pin_story:e.story.isPinned?"yes":"no",channel_name:e.story.channel.name,...e.story.topics&&e.story.topics?.length>0?{topic_name:e.story.topics.map((e=>`"${e.name}"`)).join()}:{},...e.additionalInfo?{additional_info:e.additionalInfo}:{}};return e.activeTopicName&&(n.tab=e.activeTopicName),n}return{}},c=e=>{const{tracking:n}=e,a=new Set,i=t.useCallback((e=>{let a="";switch(e){case"THUMBNAIL":a="thumbnail";break;case"AUTHOR_NAME":a="author";break;case"TITLE":a="title"}n&&n.trackEvent({name:o.f7.CLICK_VIDEO_STORY,card:o.sl.VIDEO_STORY_CARD,context:{user_click:a}})}),[n]),s=t.useCallback((n=>{"VIDEO_CARD"===e.type&&(e.handleClick&&e.handleClick(n),i(n))}),[i,e]);if("PLACEHOLDER"===e.type){const{width:n}=e;return(0,l.jsx)(r.A,{width:n,configs:a.add("PLACEHOLDER"),duration:0,footer:{title:"Sedang memuat",author:{name:"Sedang memuat",path:""}}})}const{story:c,width:u,textColor:m,hidePinIcon:_}=e,{title:p,isPinned:b,author:f,publisher:k}=c,{posterMedia:v}=c.video,y=k?k.slug:f.username,h=k?k.name:f.name,g=k?k.isVerified:f.isVerified;return b&&!_&&a.add("PINNED"),(0,l.jsx)(d.A,{eventName:o.f7.SCROLL_VIEW_VIDEO_STORY,cardType:o.sl.VIDEO_STORY_CARD,children:(0,l.jsx)(r.A,{onClick:s,configs:a,width:u,image:v.externalURL,duration:1e3*c.video.duration,footer:{title:p,author:{name:h,path:`/${y}`,flags:g?new Set(["VERIFIED"]):void 0},color:m}})})},u=(0,i.A)((e=>({context:s(e)})))(t.memo(c))},eb403576c16f1b222b84:(e,n,a)=>{a.d(n,{Q:()=>s});var t=a("d518909bf6561866660f"),i=a("1a370ceb54eb2bfdaefd"),r=a("4181f7cb9ac8274a8700"),o=a("bdfbc20b320bfd5aaf09");const d=e=>{const n={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!n[a]&&(n[a]=!0,!0)}))};class l extends i.A{}l.defaultContext={deduplicate:!0},l.query={kind:"Document",definitions:d([{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindContentFeed"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"filters"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedFilter"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursor"}},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:"size"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"10"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortType"}},type:{kind:"NamedType",name:{kind:"Name",value:"ContentFeedSortType"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindContentFeed"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filters"},value:{kind:"Variable",name:{kind:"Name",value:"filters"}}},{kind:"Argument",name:{kind:"Name",value:"size"},value:{kind:"Variable",name:{kind:"Name",value:"size"}}},{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:"sortType"},value:{kind:"Variable",name:{kind:"Name",value:"sortType"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentFeedCursor"},directives:[]}]}}]}}].concat(o.wJ.definitions)),loc:{start:0,end:395,source:{body:"\n    query FindContentFeed(\n      $filters: ContentFeedFilter\n      $cursor: String\n      $cursorType: CursorType!\n      $size: Int = 10\n      $sortType: ContentFeedSortType\n    ) {\n      FindContentFeed(\n        filters: $filters\n        size: $size\n        cursor: $cursor\n        cursorType: $cursorType\n        sortType: $sortType\n      ) {\n        ...ContentFeedCursor\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};const s=e=>{const n=(0,t.c)(2);let a;return n[0]!==e?(a={context:l.defaultContext,...e},n[0]=e,n[1]=a):a=n[1],(0,r.I)(l.query,a)}}}]);

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.