1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-f3a014"],{"0233a4d3d751c200c483":(e,t,i)=>{"use strict";i.d(t,{A:()=>r});const r=i("c326090717a3025db9f4").A},"242e2aebd6419ccb4bfc":(e,t,i)=>{"use strict";i.d(t,{A:()=>r});const r=e=>{var t=new Date(1e3*e),i=t.getUTCHours(),r=t.getUTCMinutes(),a=t.getSeconds();return`${i>0?`${String(i).padStart(2,"0")}:`:""}${String(r).padStart(2,"0")}:${String(a).padStart(2,"0")}`}},"33c81e25cf4fd82636d1":(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var r=i("480e0c6bd3c5afe85186"),a=i("8242b4394b0bfacfc5b8"),o=i("6ca4d0b0296c7ec157e5"),n=i("82aa9fe1294c6f2a9955"),l="Asia/Jakarta";const c=(e,t,i)=>{var c=(null==i?void 0:i.withoutSuffix)||!0,s=(null==i?void 0:i.withoutDistance)||!1,d=null!=i&&i.withTimeZoneSuffix?" WIB":"",f="string"==typeof e?new Date(e):e,h=t||"d MMMM yyyy";return s?`${(0,o.GP)((0,o.L_)(f,l),h,{locale:n.A,timeZone:l})}${d}`:0===(0,r.c)(f,Date.now())?`${(0,a.k)(f,Date.now(),{locale:n.A,addSuffix:!c})}${null!=i&&i.withAfterwardsCopyIfLessThanOneDay?" lalu":""}`:`${(0,o.GP)((0,o.L_)(f,l),h,{locale:n.A,timeZone:l})}${d}`}},"35f663dee24a52ddbac2":(e,t,i)=>{"use strict";i.d(t,{E:()=>r});var r=(e,t,i,r)=>{var a=new URL(e);return a.searchParams.append("api_key",t),a.searchParams.append("url",i),r&&Object.keys(r).forEach((e=>{if(r){var t=r[e];a.searchParams.append(e,t)}})),a.href}},"36d124526c65d911e090":(e,t,i)=>{"use strict";i.d(t,{RP:()=>a,S8:()=>o,WU:()=>n});var r=i("30b7c733d6bb469b6785"),a=e=>((0,r.xi)().exec(e)||[])[2],o=(e,t)=>{var i=(0,r.CK)(t).exec(e)||[];return i[3]&&i[2]?{code:i[3],type:i[2].replace("reels","reel")}:void 0},n=e=>{var t=(0,r._S)().exec(e)||[];return t.length>=3?{host:t[1],subPath:t[2],contentPath:t[3]}:null}},"4d7cc6abc0bb87d316b8":(e,t,i)=>{"use strict";i.d(t,{A:()=>l}),i("f29b77cd1c7382d8894a");var r=i("b5040a162a4a4dde67e6"),a=i("5b7075090da2a1cfb431"),o=i("a1ca5acfbf0478960314"),n=r.Ay.div.withConfig({displayName:"LoadingDotweb__LoadingWrapper",componentId:"sc-1n9fe19-0"})(["span{display:inline-block;width:10px;height:10px;border-radius:100%;background-color:",";margin:4px 2px;opacity:0;}span:nth-child(1){animation:opacitychange 1s ease-in-out infinite;}span:nth-child(2){animation:opacitychange 1s ease-in-out 0.33s infinite;}span:nth-child(3){animation:opacitychange 1s ease-in-out 0.66s infinite;}@keyframes opacitychange{0%,100%{opacity:0;}60%{opacity:1;}}"],(e=>e.$color?a.T[e.$color]:a.T[e.theme.scheme.accent]));const l=e=>(0,o.jsxs)(n,{$color:e.color,children:[(0,o.jsx)("span",{}),(0,o.jsx)("span",{}),(0,o.jsx)("span",{})]})},"4e403dad3fe3ce22a0de":e=>{e.exports=function(e,t,i,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer?(Object.defineProperty(e,t,o),null):o},e.exports.__esModule=!0,e.exports.default=e.exports},"7cb0b43f466b2b971ec7":(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var r=i("3a9b9ab81188b68b9473"),a=i.n(r),o=i("f29b77cd1c7382d8894a"),n=i("b5040a162a4a4dde67e6"),l=i("5b7075090da2a1cfb431"),c=i("b75869fa0ee55381231c"),s=i("b9a172f6a82b8ca4cb55"),d=i("aab7660251ee0163f01e"),f=i("e736f03a98981fbcb5a9"),h={small:{fontSize:"regular",height:"12px",description:"small",top:"32%"},regular:{fontSize:"extra-large",height:"18px",description:"small",top:"25%"},large:{fontSize:"display-small",height:"24px",description:"small",top:"20%"}},u=i("a1ca5acfbf0478960314"),p=(0,n.Ay)(d.A).withConfig({displayName:"Headingweb__Wrapper",componentId:"sc-y06zcr-0"})(["&::before{content:'';position:absolute;left:0;width:6px;display:flex;justify-content:center;align-items:center;vertical-align:middle;"," height:",";background:",";}"],(e=>e.$isRounded?(0,n.AH)(["border-radius:2px;"]):(0,n.AH)([""])),(e=>e.$height),(e=>e.$color)),b=(0,n.Ay)(c.A).withConfig({displayName:"Headingweb__CustomText",componentId:"sc-y06zcr-1"})(["color:",";"],(e=>e.$color)),g=o.memo((e=>{var t=(0,n.DP)();return"string"==typeof e.children?(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(b,{$color:e.titleColor?e.titleColor:"full-color"===e.variant&&e.hexColor?e.hexColor:l.T[t.heading.title],as:e.as,qaTag:e.qaTag,placeholder:e.placeholder,size:e.size?h[e.size].fontSize:h.regular.fontSize,fontWeight:"bold",color:t.heading.title,children:e.children})}):(0,u.jsx)(s.A,{as:e.as,children:e.children})}));const m=e=>{var t=(0,n.DP)(),i=o.useMemo((()=>({paddingY:8,paddingLeft:12,flexAlignItems:"center",position:"relative",flexJustifyContent:"space-between",$height:`${e.size?h[e.size].height:h.regular.height}`,$top:`${e.size?h[e.size].top:h.regular.top}`,$color:["full-color","colored-line"].includes(e.variant)&&e.hexColor?e.hexColor:"red"===e.variant?l.T.red:l.T.cyanDark,$isRounded:["full-color","colored-line"].includes(e.variant)})),[e]);return(0,u.jsxs)(d.A,{children:[(0,u.jsxs)(d.A,{width:"100%",flexDirection:"row",flexAlignItems:"center",children:[(0,u.jsx)(p,a()({flex:1},i,{flexAlignItems:"center",children:e.to?(0,u.jsx)(f.A,{to:e.to,onClick:e.onClick,children:(0,u.jsx)(g,a()({},e))}):(0,u.jsx)(g,a()({},e))})),(0,u.jsx)(d.A,{children:e.rightElement?e.to?(0,u.jsx)(f.A,{to:e.to,onClick:e.onClick,children:e.rightElement}):e.rightElement:null})]}),e.description?e.to?(0,u.jsxs)(f.A,{to:e.to,onClick:e.onClick,children:[(0,u.jsx)(c.A,{color:t.heading.description,placeholder:e.placeholder,size:e.size?h[e.size].description:h.regular.description,children:e.description})," "]}):(0,u.jsx)(x,{color:t.heading.description,placeholder:e.placeholder,size:e.size?h[e.size].description:h.regular.description,children:e.description}):null]})};var x=(0,n.Ay)(c.A).withConfig({displayName:"Headingweb___StyledText",componentId:"sc-y06zcr-2"})(["margin-bottom:16px;"])},"8242b4394b0bfacfc5b8":(e,t,i)=>{"use strict";i.d(t,{k:()=>d});var r=i("658ca0ed0adfeff9cc61"),a=i("f60c2b1da1615ad32fce"),o=i("864f68139c3bb0a9cdde"),n=i("4caaf171bc7786551edb"),l=i("3660eb65d405323cd987"),c=i("89527cba8aeb3c8b529f"),s=i("b1361e26c433ec65a4ce");function d(e,t,i){const d=(0,a.q)(),f=i?.locale??d.locale??r.c,h=(0,l.z)(e,t);if(isNaN(h))throw new RangeError("Invalid time value");const u=Object.assign({},i,{addSuffix:i?.addSuffix,comparison:h});let p,b;h>0?(p=(0,s.a)(t),b=(0,s.a)(e)):(p=(0,s.a)(e),b=(0,s.a)(t));const g=(0,o.u)(i?.roundingMethod??"round"),m=b.getTime()-p.getTime(),x=m/c.Cg,y=(m-((0,n.G)(b)-(0,n.G)(p)))/c.Cg,
1w=i?.unit;let v;if(v=w||(x<1?"second":x<60?"minute":x<c.F6?"hour":y<c.Nw?"day":y<c.Ks?"month":"year"),"second"===v){const e=g(m/1e3);return f.formatDistance("xSeconds",e,u)}if("minute"===v){const e=g(x);return f.formatDistance("xMinutes",e,u)}if("hour"===v){const e=g(x/60);return f.formatDistance("xHours",e,u)}if("day"===v){const e=g(y/c.F6);return f.formatDistance("xDays",e,u)}if("month"===v){const e=g(y/c.Nw);return 12===e&&"month"!==w?f.formatDistance("xYears",1,u):f.formatDistance("xMonths",e,u)}{const e=g(y/c.Ks);return f.formatDistance("xYears",e,u)}}},"914b5ce92ce2e8a8f65e":(e,t,i)=>{"use strict";i.d(t,{d:()=>a});var r=i("b1361e26c433ec65a4ce");function a(e,t){const i=(0,r.a)(e),a=(0,r.a)(t);return i.getTime()>a.getTime()}},"989b2e1d37900f62b801":(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var r=i("3a9b9ab81188b68b9473"),a=i.n(r),o=i("56a231a69ee6036c531c"),n=i.n(o),l=i("f29b77cd1c7382d8894a"),c=i("aab7660251ee0163f01e"),s=i("b75869fa0ee55381231c"),d=i("1d5d5dc09200215f7d28"),f=i("a1ca5acfbf0478960314"),h=["injections","insertElement","children","configs","header","backgroundColor","contentHeight","qaTag","footer"];const u=e=>{for(var{injections:t,insertElement:i,children:r,configs:o,header:u,backgroundColor:p,contentHeight:b,qaTag:g,footer:m}=e,x=n()(e,h),y=new Map(t),w=0,v=[],A=l.Children.toArray(r),_=o&&o.has("SET AS A BOX")||!1,C=o&&o.has("NO HEADER PADDING")||!1,k=o&&o.has("NO PADDING SEPARATOR")||!1,S=[];A.length+y.size>0;){var j=y.get(w),T=i&&i(w);if(j)y.delete(w),S.push({type:"INJECTED",node:j});else if(T)S.push({type:"INJECTED",node:T});else{var D=A.shift();v.push(w),S.push({type:"CHILD",node:D})}w+=1}var O=S.map(((e,t)=>{var i=t===S.length-1;return(0,f.jsxs)(l.Fragment,{children:[o&&o.has("SHOW INDEX")?(0,f.jsxs)(c.A,{flexDirection:"row",paddingX:_?12:20,paddingY:_?12:16,children:[(0,f.jsx)(c.A,{paddingRight:12,children:(0,f.jsxs)(s.A,{color:"red",fontWeight:"bold",children:[`${t+1}`,"."]})}),(0,f.jsx)(c.A,{width:"100%",children:e.node})]}):o&&o.has("SHOW CHILD PADDING Y")?(0,f.jsx)(c.A,{paddingY:16,children:e.node}):e.node,o&&"CHILD"===e.type&&o.has("HIDE CHILD ITEM SEPARATOR")||o&&"INJECTED"===e.type&&o.has("HIDE INJECTION SEPARATOR")||i?null:(0,f.jsx)(c.A,{flex:1,paddingX:_||k?0:20,children:(0,f.jsx)(d.A,{})})]},t.toString())}));return(0,f.jsxs)(c.A,a()({qaTag:g,flex:1,flexDirection:"column",backgroundColorScheme:"primary",bordered:_,backgroundColor:p},x,{children:[u&&(0,f.jsxs)(c.A,{paddingX:_||C?0:20,children:[u,e.configs&&e.configs.has("HIDE HEADER SEPARATOR")?null:(0,f.jsx)(d.A,{})]}),(0,f.jsx)(c.A,{position:"relative",height:b,children:o&&o.has("SCROLLABLE")?(0,f.jsx)(c.A,{overflowY:"auto",overflowX:"hidden",scrollbarType:"primary",height:"100%",children:O}):O}),m]}))}},a57a5aaeb57ad7648617:(e,t,i)=>{"use strict";t.BB=function(e,t,i){return!(0,r.shallowEqualWithoutFunctions)(e.props,t)||!(0,r.shallowEqualWithoutFunctions)(e.state,i)};var r=i("e299d793648d73273671")},adf1915f44e60933e921:(e,t,i)=>{"use strict";i.d(t,{f:()=>s});var r=i("36d124526c65d911e090"),a=i("9db61b17f4025e6982b7"),o=i("ebc6b84ed9f4eaf741da"),n=i("258612d085f9daa406fe"),l=/^(https?:\/\/)?stories\.nws\.ai/i,c=/(((?:s)?:\/\/?(tiktok\.com\/.*|www\.tiktok\.com\/.*)))/i,s=e=>{if(l.test(e))return{type:"nws"};if(c.test(e))return{type:"tiktok"};var[t,i]=(0,o.W)(e);if(t&&i)return{type:"kumparan_post",path:t,slug:i};if((0,n.b8)(e))return{type:"facebook"};var s=(0,r.S8)(e);if(s)return{type:"instagram",code:s.code,postType:s.type};var d=(0,a.qT)(e)?(0,r.RP)(e):void 0;return d?{type:"twitter",id:d}:(0,a.yk)(e)?{type:"youtube"}:{type:"unknown"}}},c0ecfd09373498c0b497:e=>{e.exports=function(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})},e.exports.__esModule=!0,e.exports.default=e.exports},c326090717a3025db9f4:(e,t,i)=>{"use strict";i.d(t,{W:()=>m,A:()=>v});var r=i("3a9b9ab81188b68b9473"),a=i.n(r),o=i("56a231a69ee6036c531c"),n=i.n(o),l=i("f29b77cd1c7382d8894a"),c=i("b5040a162a4a4dde67e6"),s=i("b75869fa0ee55381231c"),d=i("73c1b0ab490e5400f9f1"),f=i("e736f03a98981fbcb5a9"),h=i("da3c5500d6a4eff16c29"),u={primary:{background:"gray90",text:"white",icon:"white"},secondary:{background:"gray20",text:"gray90",icon:"gray60"},link:{background:"smokeDark",text:"blueDark",icon:"blueDark"},custom:{background:"red",text:"white",icon:"white"}},p={primary:{background:"gray20",text:"gray90",icon:"gray90"},secondary:{background:"gray80",text:"white",icon:"white"},link:{background:"smokeDark",text:"blueDark",icon:"blueDark"},custom:{background:"red",text:"white",icon:"white"}},b=i("a1ca5acfbf0478960314"),g=["contentPosition","children"],m=l.memo((e=>{var{className:t,id:i,link:r,qaTag:a,title:o,onClick:n,placeholder:g,onClose:m,variant:x="link",backgroundColor:y,textColor:w,textWhiteSpace:v,disabled:A,containerStyle:_,openInNewTab:C}=e,{t:k}=l.useMemo((()=>({t:null})),[]),S=(0,c.DP)(),j=l.useMemo((()=>"dark"===S.type?p:u),[S.type]);return(0,b.jsx)(f.A,{className:t,disabled:A||g,id:i||void 0,to:r,qaTag:a,openInNewTab:C,onClick:n,children:(0,b.jsxs)(d.A,{flexDirection:"row",borderRadius:41,backgroundColor:"custom"!==x?j[x].background:y||j.custom.background,padding:[8,16],flexAlignItems:"center",style:_,children:[(0,b.jsx)(d.A,{marginRight:m?8:0,flexAlignItems:"center",children:(0,b.jsx)(s.A,{qaTag:`label-${String(a)}`,placeholder:g,size:"small",fontWeight:"medium",whiteSpace:v,color:"custom"!==x?j[x].text:w||j.custom.text,children:g?"Sedang memuat":o||""})}),m&&(0,b.jsx)(h.Ay,{size:"x-small",tintColor:"custom"!==x?j[x].icon:w||j.custom.icon,name:"close"})]})})}));m.displayName="TagItem";var x=e=>(0,b.jsx)(d.A,{padding:[0,4,4,0],flexGrow:0,flexShrink:0,flexBasis:"auto",children:e}),y=new Map([["left","flex-start"],["center","center"],["right","flex-end"]]),w=l.memo((e=>{var{contentPosition:t="left",children:i}=e,r=n()(e,g);return(0,b.jsx)(d.A,a()({marginBottom:24,flexDirection:"row",flexWrap:"wrap",flexAlignItems:"flex-start",flexJustifyContent:y.get(t)?y.get(t):"flex-start"},r,{children:l.Children.map(i,x)}))}));w.displayName="Tags";const v=w},ce8745cab70428008374:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var r=i("b5040a162a4a4dde67e6"),a=i("f29b77cd1c7382d8894a"),o=i("0b141510cdf3dde304fd"),n=i("fce7d0517717ad19466d"),l=i("e736f03a98981fbcb5a9"),c=i("73c1b0ab490e5400f9f1"),s=i("b55bd036dc6d82dcee86"),d=i("5b7075090da2a1cfb43
11"),f=i("da3c5500d6a4eff16c29"),h=i("b75869fa0ee55381231c"),u=i("242e2aebd6419ccb4bfc"),p=i("d0ed015358e51d95ca9c"),b=i("a1ca5acfbf0478960314"),g=e=>{var t,i,{image:g,width:m,footer:w,path:v,duration:A,onClick:_,configs:C}=e,{toCDN:k}=(0,p.Ee)(),S=(0,r.DP)(),j=m?`${m}px`:"100%",T=m?1.778*m+"px":"178%",D="string"==typeof g&&g?k(g,"best",480,[9,16]):"",O=(null==C?void 0:C.has("PLACEHOLDER"))||!D,I=null==C?void 0:C.has("PINNED"),N=a.useMemo((()=>O?"00:00":A?(0,u.A)(A/1e3):void 0),[O,A]),E=null==w||null==(t=w.author.flags)?void 0:t.has("VERIFIED"),$=a.useCallback((e=>()=>{_&&_(e)}),[_]),z=a.useMemo((()=>e.path?l.A:c.A),[e.path]);return(0,b.jsxs)(c.A,{qaTag:"video-story-card",position:"relative",maxWidth:j,children:[(0,b.jsx)(z,{to:v,onClick:$("THUMBNAIL"),cursor:"pointer",children:(0,b.jsxs)(c.A,{position:"relative",marginBottom:6,borderRadius:6,qaTag:"image",width:j,height:T,children:[(0,b.jsx)(n.A,{src:D,placeholder:null,children:e=>(0,b.jsx)(s.A,{qaTag:"video-story-cover",background:O||!e?d.T[S.common.component.placeholder]:`url(${e}
1)`,height:T,width:j})}),(0,b.jsxs)(c.A,{position:"absolute",display:"flex",bottom:0,left:0,width:"100%",flexAlignItems:"end",flexJustifyContent:"space-between",children:[(0,b.jsx)(f.Ay,{name:"news-card-video-v2"}),N?(0,b.jsx)(c.A,{backgroundColor:"gray90",padding:[4,6],borderRadius:6,margin:6,children:(0,b.jsx)(h.A,{qaTag:"video-duration",size:"micro",color:"white",children:N})}):null]}),I?(0,b.jsx)(c.A,{position:"absolute",flexJustifyContent:"center",flexAlignItems:"center",width:32,height:32,backgroundColor:"black",borderRadius:25,right:"8px",top:"8px",children:(0,b.jsx)(f.Ay,{name:"pin-fill",size:"small"})}):null]})}),w?(0,b.jsxs)(c.A,{children:[(0,b.jsx)(z,{to:v,onClick:$("TITLE"),cursor:"pointer",children:(0,b.jsx)(x,{qaTag:"video-story-title",size:"small",fontWeight:"bold",textAlign:"left",breakWord:!0,placeholder:O,$_css:w.color?(0,r.AH)(["color:",";"],(i=w.color,i&&i.__wyw_meta?"."+i.__wyw_meta.className:i)):(0,r.AH)([""]),children:w.title})}),(0,b.jsx)(c.A,{display:"flex",children:(0,b.jsx)(o.A,{nameSingleLine:!0,alignContentToCenter:!0,to:v,onNavigateTo:$("AUTHOR_NAME"),name:(0,b.jsx)(c.A,{marginTop:4,children:(0,b.jsx)(y,{qaTag:"video-story-publisher",size:"small",colorScheme:"secondary",placeholder:O,$_css2:w.color?(0,r.AH)(["color:",";"],(e=>e&&e.__wyw_meta?"."+e.__wyw_meta.className:e)(w.color)):(0,r.AH)([""]),children:w.author.name})}),badgePosition:"after-name",badge:E?(0,b.jsx)(c.A,{flexDirection:"row",marginLeft:6,flexAlignItems:"center",children:(0,b.jsx)(f.Ay,{qaTag:"video-story-publisher-verified",name:"verified-round",size:"micro"})}):null})})]}):null]})};const m=a.memo(g);var x=(0,r.Ay)(h.A)`${e=>e.$_css}`,y=(0,r.Ay)(h.A).withConfig({displayName:"VideoStoryCardweb___StyledText2",componentId:"sc-1i7iaoe-0"})(["",""],(e=>e.$_css2))},d7868053e60ade52aa33:e=>{e.exports=function(e,t){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")},e.exports.__esModule=!0,e.exports.default=e.exports},da3c5500d6a4eff16c29:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>r});const r=i("428f934fe00e7b629e61").A},e299d793648d73273671:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowEqualWithoutFunctions=function(e,t){if(e===t)return!0;var r=Object.keys(e),a=Object.keys(t),o=r.length;if(o!==a.length)return!1;for(var n=-1;++n<o;){var l=r[n];if(!i.call(t,l))return;var c=e[l],s=t[l];if(("function"!=typeof c||"function"!=typeof s)&&c!==s)return!1}return!0};var i=Object.prototype.hasOwnProperty},ebc6b84ed9f4eaf741da:(e,t,i)=>{"use strict";i.d(t,{E:()=>c,W:()=>n});var r=["event","editor","collection-catalogue","collection","kumparan-plus","pilpres","promote","search","report","channel","topic","trending","profile","page"],a=["response","liked"],o=/(?:https?:\/\/)?(?:(?:www|m)\.)?kumparan.com(\/(.+?)\/([^?]*))/i,n=e=>{if(!e)return[null,null];var t=o.exec(e),i=t&&t[1],n=t&&t[2],l=t&&t[3],c=n&&l&&!r.includes(n)&&!a.some((e=>l.startsWith(`${e}/`)));return c?[i,l]:[null,null]},l=["/1","/2","/3","/4","/full"],c=e=>{var t=e.lastIndexOf("/"),i=e.substr(t);return l.some((e=>e===i))?e.substr(0,t):e}},ed9b60f89fa3151e5777:(e,t,i)=>{"use strict";i.d(t,{A:()=>D});var r,a=i("3a9b9ab81188b68b9473"),o=i.n(a),n=i("56a231a69ee6036c531c"),l=i.n(n),c=i("f29b77cd1c7382d8894a"),s=i("b5040a162a4a4dde67e6"),d=i("428f934fe00e7b629e61"),f=i("aab7660251ee0163f01e"),h=i("6e9a29e0eb3112f51e68"),u=i("5b7075090da2a1cfb431"),p=i("a57fb3f26567f329b043"),b=i.n(p),g=i("68352836edd3bb1dc9c3"),m=i("a1ca5acfbf0478960314"),x=["configs","header","children","slideWidth","itemHeight","itemWidth","slideToShow","actionHandler","cellSpacing","framePadding","qaTag","controlType","controlOffset"],y=(0,s.AH)([".glider-dots{}.glider-dot{height:3px;width:10px;margin:0 2px;border:unset;border-radius:3px;background-color:",";&.active{background-color:",";}}"],(r=u.T.white)&&r.__wyw_meta?"."+r.__wyw_meta.className:r,(e=>e&&e.__wyw_meta?"."+e.__wyw_meta.className:e)(u.T.blue)),w=(0,s.Ay)(f.A).withConfig({displayName:"HorizontalScrollViewweb__DotsContainer",componentId:"sc-14t1ino-0"})(["",""],(e=>e&&e.__wyw_meta?"."+e.__wyw_meta.className:e)(y)),v=(0,s.Ay)(f.A).withConfig({displayName:"HorizontalScrollViewweb__SliderWrapper",componentId:"sc-14t1ino-1"})(["box-sizing:border-box;display:block;height:inherit;position:relative;width:100%;"]),A=s.Ay.div.withConfig({displayName:"HorizontalScrollViewweb__Frame",componentId:"sc-14t1ino-2"})(["box-sizing:border-box;display:block;height:100%;position:relative;.glider-custom-style{overflow-x:scroll;scrollbar-width:0px;&::-webkit-scrollbar{height:0;width:0;display:none;}-ms-overflow-style:none;scrollbar-width:none;}",""],(e=>e&&e.__wyw_meta?"."+e.__wyw_meta.className:e)(y)),_=s.Ay.div.withConfig({displayName:"HorizontalScrollViewweb__GliderTrack",componentId:"sc-14t1ino-3"})(["width:100%;margin:",";padding:0;display:flex;z-index:1;"],(e=>e.$framePadding?e.$framePadding:e.$hideOverflow?"0px":"0px 8px")),C=s.Ay.div.withConfig({displayName:"HorizontalScrollViewweb__Pane",componentId:"sc-14t1ino-4"})(["margin:",";background:none;display:flex;"],(e=>`0px ${(void 0!==e.$cellSpacing||0===e.$cellSpacing?e.$cellSpacing:8)/2}px`)),k=s.Ay.div.withConfig({displayName:"HorizontalScrollViewweb__ControlWrapper",componentId:"sc-14t1ino-5"})(["position:absolute;top:50%;transform:translateY(-50%);z-index:10;box-shadow:",";border-radius:3px;",";&.disabled{visibility:hidden;}"],(e=>e&&e.__wyw_meta?"."+e.__wyw_meta.className:e)(g.u0[4]),(e=>
1"left"===e.$position?(0,s.AH)(["left:",";"],e.$controlOffset?e.$controlOffset:0):(0,s.AH)(["right:",";"],e.$controlOffset?e.$controlOffset:0))),S=e=>{var t=c.useMemo((()=>(0,m.jsx)(d.A,{name:"left"===e.position?"chevron-back":"chevron-next",tintColor:"white"})),[e.position]);return c.useMemo((()=>{if(e.hideRenderControl)return null;var i="left"===e.position?"carousel-left-control":"carousel-right-control";return"PRIMARY"===e.controlType?(0,m.jsx)(O,{qaTag:i,marginLeft:"left"===e.position&&e.controlOverContainer?-12:void 0,marginRight:"right"===e.position&&e.controlOverContainer?-12:void 0,$_css:e.isUncenterControl?"-120px":0,children:(0,m.jsx)(h.A,{icon:"left"===e.position?"chevron-back":"chevron-next",iconColor:"white",variant:"primary",onClick:e.onClick})}):(0,m.jsx)(I,{qaTag:i,depth:4,width:"24px",height:"50px",flex:1,verticalAlign:"middle",onClick:e.onClick,$_css2:e.isUncenterControl?"-120px":0,children:t})}),[e,t])},j=c.memo(S),T=c.forwardRef(((e,t)=>{var{configs:i,header:r,children:a,slideWidth:n,itemHeight:s,itemWidth:d,slideToShow:h=1,actionHandler:u,cellSpacing:p,framePadding:g,qaTag:y,controlType:S,controlOffset:T}=e,D=l()(e,x),O=c.useRef(null),I=c.useRef(null),N=c.useRef(null),E=c.useRef(null),$=c.useRef({prevDot:0,prevSlide:0}),{isEnableSwiping:z,isUncenterControl:H,isEnableControl:R,isShowIndicator:P,initialSlideWidth:W,initialSlideHeight:L,hideOverflow:q,showBasedOnSlide:M,controlOverContainer:B}=c.useMemo((()=>({isEnableSwiping:i&&i.has("SWIPING")||!1,isUncenterControl:i&&i.has("UNCENTER CONTROL")||!1,isEnableControl:i&&i.has("SHOW CONTROL")&&c.Children.count(a)>h||!1,isShowIndicator:i&&i.has("SHOW INDICATOR")||!1,initialSlideWidth:d||100,initialSlideHeight:s||100,hideOverflow:i&&i.has("HIDE OVERFLOW")||!1,showBasedOnSlide:i&&i.has("SHOW BASED ON SLIDE")||!1,controlOverContainer:i&&i.has("CONTROL OVER CONTAINER")||!1})),[a,i,s,d,h]),[U,V]=c.useState(!1),F=c.useCallback((e=>{N.current=e,V(Boolean(N.current&&I.current))}),[]),G=c.useCallback((e=>{I.current=e,V(Boolean(N.current&&I.current))}),[]),J=c.useCallback((e=>{E.current=e}),[]);return c.useImperativeHandle(t,(()=>({resetState:()=>{O.current&&O.current.scrollItem(0,!0)}}))),(0,m.jsxs)(f.A,o()({flex:1,flexDirection:"column",width:"100%",position:"relative"},D,{children:[q?r:(0,m.jsx)(f.A,{marginX:20,children:r}),(0,m.jsx)(f.A,{qaTag:y,flex:1,marginTop:r?16:0,children:(0,m.jsx)(v,{flex:1,overflow:"visible",children:(0,m.jsx)(A,{$hideOverflow:q,children:(0,m.jsx)(b(),{ref:O,scrollLock:!0,slidesToShow:h,slidesToScroll:"auto",scrollToSlide:0,className:"glider-custom-style",hasDots:P,dots:E.current,hasArrows:R,arrows:{prev:N.current,next:I.current},draggable:z,duration:.5,itemWidth:W,exactWidth:!!n,skipTrack:!0,onAnimated:e=>{var t=e.detail.type;if("dot"===t){var i=u&&u.get("ON DOT CLICK");i&&i({previousDot:$.current.prevDot,activeCell:e.detail.value}),$.current.prevDot=e.detail.value}if("slide"===t||"arrow"===t){var r=u&&u.get("ON SWIPE");if("number"==typeof e.detail.value)r&&r({previousDot:$.current.prevSlide,activeCell:e.detail.value}),$.current.prevSlide=e.detail.value;else if("string"==typeof e.detail.value){var a=$.current.prevSlide+("next"===e.detail.value?1:-1);r&&r({previousDot:$.current.prevSlide,activeCell:a}),$.current.prevSlide=a}}},children:(0,m.jsx)(_,{$framePadding:g,$hideOverflow:q,children:c.Children.map(a,((e,t)=>(0,m.jsx)(C,{"data-qa-id":"carousel-pane",$cellSpacing:p,className:`glider-slide ${t}`,children:e},`pane-${t}`)))})})})})}),R&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(k,{$position:"left",$controlOffset:T,ref:F,children:(0,m.jsx)(j,{controlType:S,onClick:()=>{},controlOverContainer:B,position:"left",isUncenterControl:H})}),(0,m.jsx)(k,{$position:"right",$controlOffset:T,ref:G,children:(0,m.jsx)(j,{controlType:S,onClick:()=>{},controlOverContainer:B,position:"right",isUncenterControl:H})})]}),P&&(0,m.jsx)(f.A,{position:"absolute",display:"flex",flexJustifyContent:"center",flexAlignItems:"center",bottom:0,left:0,right:0,height:"24px",flexDirection:"column",children:(0,m.jsx)(f.A,{zIndex:10,children:(0,m.jsx)(w,{ref:J})})})]}))}));T.displayName="HorizontalScrollView";const D=c.memo(T);var O=(0,s.Ay)(f.A).withConfig({displayName:"HorizontalScrollViewweb___StyledView",componentId:"sc-14t1ino-6"})(["margin-top:",";"],(e=>e.$_css)),I=(0,s.Ay)(f.A).withConfig({displayName:"HorizontalScrollViewweb___StyledView2",componentId:"sc-14t1ino-7"})(["background:rgba(0,0,0,0.4);cursor:pointer;margin-top:",";"],(e=>e.$_css2))}}]);
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.